:root {
  --brown-900: #2c1810;
  --brown-700: #5c3d2e;
  --brown-500: #8b5e3c;
  --burgundy: #7c2d40;
  --burgundy-light: #a8435a;
  --gold: #c9a227;
  --gold-light: #e0bc4a;
  --cream: #faf6f0;
  --cream-dark: #f0e8dc;
  --text: #2a2118;
  --text-muted: #6b5d4f;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(44, 24, 16, 0.12);
  --shadow-sm: 0 8px 24px rgba(44, 24, 16, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1140px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 24, 16, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brown-900);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--burgundy), var(--brown-700));
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--burgundy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(201, 162, 39, 0.45);
}

.btn-secondary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(124, 45, 64, 0.25);
}

.btn-secondary:hover {
  background: var(--brown-900);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy-light);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 1.15rem 2.4rem;
  font-size: 1.12rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brown-900);
}

.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(168, 67, 90, 0.12), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(201, 162, 39, 0.1), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(124, 45, 64, 0.1);
  color: var(--burgundy);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  color: var(--brown-900);
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--burgundy);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--burgundy);
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  max-width: 230px;
}

.hero-card strong {
  display: block;
  color: var(--brown-900);
  margin-bottom: 0.25rem;
}

.hero-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--brown-900);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.bg-white {
  background: var(--white);
}

.bg-dark {
  background: linear-gradient(160deg, var(--brown-900), var(--burgundy));
  color: var(--white);
}

.bg-dark .section-label {
  color: var(--gold-light);
}

.bg-dark .section-header h2,
.bg-dark h3 {
  color: var(--white);
}

.bg-dark .section-header p,
.bg-dark p {
  color: rgba(255, 255, 255, 0.82);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(44, 24, 16, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(124, 45, 64, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.card h3 {
  font-size: 1.12rem;
  color: var(--brown-900);
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-900);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content-block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brown-900);
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--burgundy);
  font-weight: 700;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.info-box {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--burgundy);
}

.info-box h3 {
  font-size: 1.05rem;
  color: var(--brown-900);
  margin-bottom: 0.75rem;
}

.info-box p,
.info-box li {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.info-box ul {
  padding-left: 1.1rem;
  margin-top: 0.5rem;
}

.info-box li {
  margin-bottom: 0.35rem;
}

.cost-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.cost-table th,
.cost-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
}

.cost-table th {
  background: var(--brown-900);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}

.cost-table td {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cost-table tr:last-child td {
  border-bottom: none;
}

.cost-table td:last-child {
  font-weight: 700;
  color: var(--burgundy);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(44, 24, 16, 0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-900);
  text-align: left;
}

.faq-question span {
  font-size: 1.25rem;
  color: var(--burgundy);
  transition: transform 0.25s;
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.35rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.faq-item.open .faq-answer {
  max-height: 320px;
}

.cta-banner {
  background: linear-gradient(135deg, var(--burgundy), var(--brown-900));
  border-radius: 28px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "📚";
  position: absolute;
  font-size: 8rem;
  opacity: 0.06;
  top: -1rem;
  right: 2rem;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 540px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  font-size: 1.15rem;
  padding: 1.15rem 2.5rem;
}

.site-footer {
  background: var(--brown-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: none;
}

.floating-cta.visible {
  display: block;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav .btn-secondary {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(44, 24, 16, 0.08);
    box-shadow: var(--shadow-sm);
  }

  .cards-grid,
  .steps,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .floating-cta {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .floating-cta .btn {
    width: 100%;
  }
}
