/* =====================================================================
   ASESORÍAS COZUMEL — Hoja de estilos
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Navy del logo — ancla cromática */
  --ink:        #0F2540;
  --ink-soft:   #1E3A5F;
  --ink-line:   #2A4A75;

  /* Blancos fríos: tinte muy ligero de azul, no crema */
  --paper:      #F8FAFB;
  --paper-pure: #FFFFFF;

  /* Grises azulados (antes arenas cálidas) */
  --sand:       #D9E2EA;
  --sand-soft:  #EBF1F6;

  /* Teal Caribe profundo (antes coral terracota) */
  --coral:      #1A7A6E;
  --coral-soft: #7FB8B0;

  /* Grises de texto, fríos */
  --ash:        #5C6B7A;
  --ash-soft:   #8895A4;

  --ok:         #4F7A4A;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --maxw:       1200px;
  --maxw-prose: 720px;
  --gutter:     clamp(1.25rem, 4vw, 2.5rem);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(15, 37, 64, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 37, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 37, 64, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--coral); }
button { font: inherit; cursor: pointer; }

/* ---------- 3. Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
}
h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0;
  font-variation-settings: normal;
}

/* Italics: more expressive — full SOFT axis, optical sizing for display */
em, i, .italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
}
h1 em, h2 em {
  color: var(--coral);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* In-prose italics for emphasis */
.lede em, .prose em, p em {
  color: var(--coral);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 100;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.eyebrow--ink { color: var(--ink-soft); }
.eyebrow--ash { color: var(--ash); }

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 400;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); }

.mono { font-family: var(--font-mono); }

/* Drop cap — editorial style, first letter of opening paragraph */
.dropcap::first-letter,
.has-dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4.8em;
  line-height: 0.82;
  margin: 0.08em 0.12em -0.05em -0.04em;
  color: var(--coral);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* Pull quote — for editorial drama in long pages */
.pullquote {
  margin: 4rem auto;
  max-width: 720px;
  text-align: center;
  position: relative;
  padding: 2.5rem 1.5rem;
}
.pullquote::before {
  content: "“";
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--coral);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-style: italic;
}
.pullquote__body {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.pullquote__cite {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ash);
  font-style: normal;
}

/* Margin note / aside — small editorial annotation */
.aside-note {
  border-left: 2px solid var(--coral);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 36, "SOFT" 100;
  line-height: 1.5;
  max-width: 520px;
}
.aside-note__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
  font-style: normal;
  display: block;
  margin-bottom: 0.4rem;
}

/* ---------- 4. Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--prose { max-width: var(--maxw-prose); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--ink {
  background: var(--ink);
  color: var(--paper);
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--ink .eyebrow { color: var(--coral-soft); }
.section--ink .lead { color: var(--sand); }
.section--sand { background: var(--sand-soft); }
.section--paper-pure { background: var(--paper-pure); }

.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
  .split--equal { grid-template-columns: 1fr 1fr; }
  .split--reverse-mobile { }
}

/* ---------- 5. Compliance Band (signature element) ---------- */
.cband {
  background: var(--ink);
  color: var(--paper);
  padding: 1.1rem 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
}
.cband__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: cband-scroll 50s linear infinite;
}
.cband__item { display: flex; align-items: center; gap: 0.75rem; }
.cband__date { color: var(--coral-soft); text-transform: uppercase; }
.cband__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
@keyframes cband-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cband__track { animation: none; flex-wrap: wrap; white-space: normal; }
}

/* ---------- 6. Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--sand);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 6px;
  flex-shrink: 0;
  min-width: 0;
}
.nav__logo {
  height: 38px;
  width: auto;
  aspect-ratio: 364 / 150;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  max-width: none;
}
@media (min-width: 600px) {
  .nav__logo { height: 44px; }
}
.nav__brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav__brand-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ash);
  margin-top: 4px;
}
.nav__links {
  display: none;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 980px) {
  .nav__links { display: flex; }
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__link.is-active { color: var(--coral); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background .2s var(--ease);
}
.nav__cta:hover { background: var(--coral); color: var(--paper); }
.nav__cta svg { width: 16px; height: 16px; }

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 8px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s var(--ease);
}
@media (min-width: 980px) { .nav__toggle { display: none; } }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--sand);
  padding: 1rem var(--gutter) 1.5rem;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--sand-soft);
  font-size: 1.05rem;
  font-weight: 500;
}
.nav__mobile a:last-child { border-bottom: none; }

/* ---------- 7. Hero ---------- */
.hero {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse at top right, rgba(200, 90, 62, 0.05) 0%, transparent 50%),
    var(--paper);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
}
.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--coral);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
}
.hero__meta-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.hero__meta-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ash);
  margin-top: 6px;
}

/* Hero — visual card (right side) */
.hero__card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral-soft);
  margin-bottom: 1rem;
}
.hero__card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--paper);
  line-height: 1.25;
}
.hero__card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--ink-line);
  gap: 1rem;
}
.hero__card-row:last-child { border-bottom: 1px solid var(--ink-line); }
.hero__card-label {
  font-size: 0.88rem;
  color: var(--sand);
  flex: 1;
}
.hero__card-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--coral-soft);
  white-space: nowrap;
}
.hero__card-footnote {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ash-soft);
  letter-spacing: 0.04em;
}

/* ---------- 8. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.btn--primary {
  background: var(--coral);
  color: var(--paper);
}
.btn--primary:hover { background: #126159; color: var(--paper); transform: translateY(-1px); }
.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink:hover { background: var(--ink-soft); color: var(--paper); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-line);
}
.btn--outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0;
}
.btn--ghost:hover { color: var(--coral); }
.btn--ghost::after {
  content: "→";
  transition: transform .2s var(--ease);
  display: inline-block;
  margin-left: 0.3rem;
}
.btn--ghost:hover::after { transform: translateX(4px); }

/* ---------- 9. Service Cards ---------- */
.svc {
  display: flex;
  flex-direction: column;
  background: var(--paper-pure);
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  padding: 2rem;
  height: 100%;
  transition: all .25s var(--ease);
}
.svc:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.svc__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--coral);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.svc__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.svc__body { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 1.5rem; flex: 1; }
.svc__link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-top: 1px solid var(--sand);
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.svc__link::after { content: "→"; transition: transform .2s var(--ease); }
.svc:hover .svc__link::after { transform: translateX(4px); }
.svc--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.svc--featured .svc__title, .svc--featured .svc__link { color: var(--paper); }
.svc--featured .svc__body { color: var(--sand); }
.svc--featured .svc__num { color: var(--coral-soft); }
.svc--featured .svc__link { border-color: var(--ink-line); }
.svc--featured:hover { background: var(--ink-soft); }

/* ---------- 10. Quick Diagnostic on REPSE page ---------- */
.diag {
  background: var(--paper-pure);
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.diag__q {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--ink);
}
.diag__opts { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.diag__opt {
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.diag__opt:hover { border-color: var(--ink); }
.diag__opt.is-selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.diag__result {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--r-md);
  background: var(--sand-soft);
  font-size: 1rem;
  display: none;
}
.diag__result.is-visible { display: block; }
.diag__result strong { color: var(--coral); }

/* ---------- 11. Stat blocks ---------- */
.stat {
  padding: 2rem;
  border-left: 2px solid var(--coral);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.6rem;
  display: block;
}
.stat__label {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.section--ink .stat__num { color: var(--paper); }
.section--ink .stat__label { color: var(--sand); }
.section--ink .stat { border-left-color: var(--coral); }

/* ---------- 12. Fine / Multa box ---------- */
.fine-box {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fine-box__amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--coral-soft);
  line-height: 1;
}
.fine-box__label { font-size: 1.05rem; color: var(--sand); }
.fine-box__source {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ash-soft);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* ---------- 13. Process / Timeline ---------- */
.process { display: grid; gap: 0; counter-reset: pcount; }
.process__step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--sand);
}
.process__step:last-child { border-bottom: none; }
.process__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--coral);
  letter-spacing: 0.1em;
  padding-top: 0.4rem;
}
.process__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; margin-bottom: 0.5rem; }
.process__body { color: var(--ink-soft); }

/* ---------- 14. Case cards ---------- */
.case {
  background: var(--paper-pure);
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.case__sector {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--coral);
}
.case__title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; font-weight: 500; }
.case__body { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.case__metric { padding-top: 1rem; border-top: 1px solid var(--sand); }
.case__metric-num { font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); font-weight: 500; }
.case__metric-label { font-size: 0.85rem; color: var(--ash); }

/* ---------- 15. Resource cards (lead magnets) ---------- */
.resource {
  display: flex;
  gap: 1.5rem;
  background: var(--paper-pure);
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  align-items: flex-start;
  transition: all .25s var(--ease);
}
.resource:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.resource__icon {
  flex-shrink: 0;
  width: 50px;
  height: 60px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.resource__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: 0.4rem; line-height: 1.25; }
.resource__body { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.7rem; }
.resource__cta { font-size: 0.85rem; font-weight: 500; color: var(--coral); }
.resource__cta::after { content: " ↓"; }

/* ---------- 16. Logos band (text-based, no real logos) ---------- */
.clients-band {
  padding: 3rem 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.clients-band__intro {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ash);
  text-align: center;
  margin-bottom: 2rem;
}
.clients-band__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 4rem;
  align-items: center;
}
.clients-band__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- 17. FAQ ---------- */
.faq__item {
  border-top: 1px solid var(--sand);
  padding: 1.5rem 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--sand); }
.faq__q {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--coral);
  transition: transform .2s var(--ease);
  line-height: 1;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a {
  padding-top: 1rem;
  color: var(--ink-soft);
  max-width: 700px;
}

/* ---------- 18. CTA Section ---------- */
.cta-block {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-block h2 { color: var(--paper); margin-bottom: 1rem; }
.cta-block p { color: var(--sand); max-width: 560px; margin: 0 auto 2rem; }
.cta-block .btn--primary { background: var(--coral); }

/* ---------- 19. Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--sand);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--paper);
  margin-bottom: 0.5rem;
}
.footer__logo {
  height: 48px;
  width: auto;
  aspect-ratio: 364 / 150;
  display: block;
  object-fit: contain;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.footer__tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--coral-soft);
  margin-bottom: 1.5rem;
}
.footer__intro { font-size: 0.93rem; color: var(--ash-soft); max-width: 360px; line-height: 1.5; }
.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral-soft);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer__list a { color: var(--sand); font-size: 0.93rem; }
.footer__list a:hover { color: var(--paper); }
.footer__bottom {
  border-top: 1px solid var(--ink-line);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ash-soft);
}

/* ---------- 20. WhatsApp Float ---------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ---------- 21. Page Header (interior pages) ---------- */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--sand-soft);
}
.page-header__crumbs {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ash);
  margin-bottom: 1.5rem;
}
.page-header__crumbs a { color: var(--ash); }
.page-header__crumbs a:hover { color: var(--ink); }
.page-header h1 { max-width: 760px; margin-bottom: 1rem; }
.page-header__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }

/* ---------- 22. Prose for blog / detail pages ---------- */
.prose { max-width: var(--maxw-prose); margin: 0 auto; }
.prose h2 { margin-top: 3rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.8rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.5rem; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote {
  border-left: 3px solid var(--coral);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  font-style: italic;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--sand-soft);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

/* ---------- 23. Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.max-prose { max-width: var(--maxw-prose); }
.center-block { margin-left: auto; margin-right: auto; }

/* Accessible focus */
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
