:root {
  --navy: #0c1f3d;
  --navy-2: #16345c;
  --navy-soft: #23436f;
  --gold: #c4a35a;
  --gold-2: #dbbf7a;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #18202c;
  --muted: #5b6574;
  --line: #e4dccb;
  --whatsapp: #128c4a;
  --whatsapp-dark: #0d6e39;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 31, 61, 0.12);
  --radius: 22px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  background: var(--navy);
  color: #d7deea;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
}

.topbar a:hover {
  color: var(--gold-2);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(12, 31, 61, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-2);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-2);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #081224;
  min-height: 640px;
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(115deg, rgba(8, 18, 36, 0.86) 12%, rgba(12, 31, 61, 0.52) 58%, rgba(8, 18, 36, 0.38));
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--gold-2);
  transform: scale(1.15);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: 78px 0 88px;
  align-items: center;
}

.page-banner {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #081224;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.18), rgba(8, 18, 36, 0.42));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  max-width: 14ch;
  margin-bottom: 18px;
}

.lead {
  font-size: 18px;
  color: #d8deea;
  max-width: 54ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-note {
  font-size: 13px;
  color: #c5cedd;
}

.hero-card {
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.form {
  display: grid;
  gap: 10px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--gold);
}

.form textarea {
  min-height: 84px;
  resize: vertical;
}

.form small {
  color: var(--muted);
  font-size: 12px;
}

.stats {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  color: var(--navy);
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: #efe8d8;
}

.section-head {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--navy);
  margin-bottom: 12px;
}

.section-head p,
.prose p {
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.prose h3 {
  font-size: 22px;
  margin: 22px 0 8px;
  color: var(--navy);
}

.prose ul,
.content-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.prose li + li,
.content-card li + li {
  margin-top: 6px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  background: var(--paper);
  border-radius: 18px;
  padding: 18px 18px 18px 20px;
  border: 1px solid var(--line);
}

.feature strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 15px;
}

.card .meta {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: var(--paper);
  border-radius: 20px;
  padding: 22px;
  min-height: 210px;
}

.step em {
  font-style: normal;
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  color: var(--gold);
}

.step h3 {
  margin: 8px 0;
  color: var(--navy);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin-top: 10px;
  color: var(--muted);
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), #23436f);
  color: #fff;
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  margin-bottom: 8px;
}

.cta-band p {
  color: #d5dce8;
}

.page-hero {
  padding: 56px 0 36px;
}

.page-hero p {
  max-width: 70ch;
  color: var(--muted);
  margin-top: 12px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

th {
  background: #f3ecde;
  color: var(--navy);
  font-size: 14px;
}

.content-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.notice {
  background: #fff7e6;
  border: 1px solid #ead7a2;
  color: #6b5420;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14px;
}

.footer {
  background: var(--navy);
  color: #c9d2e0;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer h3,
.footer .logo-text strong {
  color: #fff;
}

.footer a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-size: 13px;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 241, 232, 0.96);
  border-top: 1px solid var(--line);
}

.mobile-cta .btn {
  width: 100%;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 8px;
}

.jump a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.jump a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.program {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 18px;
}

.program h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--navy);
  margin: 6px 0 12px;
}

.program p + p,
.article p + p {
  margin-top: 12px;
}

.program p,
.article p,
.article li {
  color: var(--muted);
}

.article {
  max-width: 820px;
}

.article h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: var(--navy);
  margin: 32px 0 12px;
}

.article h3 {
  margin: 22px 0 8px;
  color: var(--navy);
}

.article ul {
  padding-left: 18px;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  color: var(--navy);
  font-weight: 700;
}

.related a span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #c9d2e0;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #fff;
}

.guide-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #081224;
  color: #fff;
}

.guide-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.guide-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.18) 0%, rgba(8, 18, 36, 0.78) 78%);
}

.guide-hero .container {
  position: relative;
  z-index: 1;
  padding: 90px 0 42px;
}

.guide-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  max-width: 16ch;
}

.guide-hero .lead {
  margin: 12px 0 0;
  max-width: 62ch;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  padding: 48px 0 24px;
  align-items: start;
}

.guide h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
  margin: 40px 0 14px;
}

.guide h3 {
  margin: 26px 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.guide p,
.guide li {
  color: #4a5564;
  font-size: 17px;
}

.guide p + p {
  margin-top: 14px;
}

.guide ul,
.guide ol {
  padding-left: 20px;
  margin: 12px 0 18px;
}

.guide li + li {
  margin-top: 8px;
}

.guide a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.mini-stats div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.mini-stats strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--navy);
}

.mini-stats span {
  color: var(--muted);
  font-size: 13px;
}

.callout {
  background: #fff7e6;
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  padding: 16px 18px;
  margin: 22px 0;
  color: #5c4a1d;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  margin: 28px 0;
}

.mosaic img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}

.mosaic img:first-child {
  height: 100%;
  min-height: 450px;
}

.aside-card {
  position: sticky;
  top: 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.aside-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 10px;
}

.aside-card ol {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

.aside-card a:not(.btn) {
  color: var(--navy-2);
}

.aside-card .btn {
  width: 100%;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 8px;
}

.check-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.check-grid strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.photo-grid figure,
.photo-wide figure {
  margin: 0;
}

.photo-grid img,
.photo-wide img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
}

.photo-wide {
  margin: 26px 0;
}

.photo-wide img {
  height: 360px;
}

.photo-grid figcaption,
.photo-wide figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.guide h2 {
  scroll-margin-top: 96px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links,
  .header .btn {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    background: #fff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .hero-grid,
  .grid-2,
  .cards,
  .steps,
  .stats-grid,
  .footer-grid,
  .cta-band .container,
  .related,
  .guide-layout,
  .mini-stats,
  .mosaic,
  .check-grid,
  .photo-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .photo-wide img {
    height: 220px;
  }

  .guide-hero {
    min-height: 320px;
  }

  .mosaic img,
  .mosaic img:first-child {
    height: 200px;
    min-height: 0;
  }

  .aside-card {
    position: static;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 0;
  }

  .hero-grid,
  .section,
  .cta-band {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .page-banner {
    height: 160px;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 76px;
  }
}
