/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.csec-theme {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #261010;
  background-color: #faf8f7;
}

/* Layout */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background-color: #f3eceb;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.csec-strip {
  height: 4px;
  background: linear-gradient(90deg, #8b0000 0, #cc3333 35%, #8b0000 70%, #4b0000 100%);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 10px 0;
  column-gap: 16px;
}

/* Logo & badge */
.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 56px;
  width: auto;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f8eaea;
  font-size: 0.78rem;
  color: #4a0404;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #28a745;
}

.badge-text {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Nav */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: #2b1717;
  padding: 6px 8px;
  border-radius: 999px;
}

.main-nav a:hover {
  background: #f6e2e0;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease;
}

.btn-primary {
  background: #8b0000;
  color: #ffffff;
  padding: 10px 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: #6b0000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  background: #ffffff;
  color: #2b1717;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #d3b3b0;
}

.btn-secondary:hover {
  background: #fdf3f1;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 56px;
  background: radial-gradient(circle at top left, #f3dede, #faf8f7 48%, #ffffff 100%);
  overflow: hidden;
}

.hero-diagonal {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 2.1rem;
  margin: 0 0 12px;
  color: #4b0000;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  background: #f8eaea;
  color: #5b0505;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.hero-badge-pill {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #8b0000;
}

.hero-copy p {
  margin: 0 0 16px;
  color: #5a2727;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-support-text {
  font-size: 0.9rem;
  color: #5a2727;
  margin-top: 8px;
}

/* Hero panel */
.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-panel-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  max-width: 320px;
  border: 1px solid #e5d4d2;
}

.hero-panel-box h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #4b0000;
}

.hero-panel-box p {
  font-size: 0.9rem;
  color: #5a2727;
}

.hero-highlight {
  margin-top: 10px;
  font-weight: 600;
  color: #8b0000;
}

/* Section titles */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  margin: 0 0 16px;
  color: #4b0000;
}

.section-title-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #8b0000;
}

/* Section text */
.section p {
  max-width: 700px;
  color: #5a2727;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(220, 190, 187, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  border-color: rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #300303;
}

/* Values special */
.soft-panel-background {
  background: radial-gradient(circle at top left, #f7d0d0, #6b0000 36%, #2b0000 100%);
  color: #ffffff;
}

.soft-panel-background .section-title {
  color: #ffffff;
}

.soft-panel-background p {
  color: #fbeeee;
}

.soft-panel-background .card {
  background: rgba(18, 2, 2, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
}

.soft-panel-background .card h3,
.soft-panel-background .card p {
  color: #ffffff;
}

.value-card {
  border-top: 3px solid #cc3333;
}

/* Three columns */
.three-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

/* Pricing note */
.pricing-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8eaea;
  border: 1px solid #e2bcbc;
  font-size: 0.93rem;
}

.fee-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #7b3a3a;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.contact-form .form-row {
  margin-bottom: 12px;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: #3b0000;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d5bcbc;
  font: inherit;
}

.checkbox-row label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.85rem;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 2px;
}

.form-status {
  font-size: 0.85rem;
  margin-top: 6px;
}

/* Footer */
.site-footer {
  margin-top: 32px;
  background: #210101;
  color: #fbeeee;
  font-size: 0.85rem;
}

.footer-strip {
  background: linear-gradient(90deg, #8b0000 0, #cc3333 50%, #8b0000 100%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 16px 24px;
}

.footer-branch {
  text-align: right;
}

/* Responsive */
@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto auto;
    row-gap: 8px;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .section {
    padding: 48px 0;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    text-align: left;
  }

  .footer-branch {
    text-align: left;
  }
}
