/* ==========================================================================
   ED SANTOS · Rediseño 2026
   Sistema: 8px · Geist · un radio (12px) · Lucide 1.5 · easing (0.4,0,0.2,1)
   ========================================================================== */

:root {
  /* Neutrales (sin #000 / #fff en fondos grandes) */
  --bg: #fafaf9;
  --bg-tint: #f2f4ef;
  --surface: #ffffff;
  --ink: #0f1712;
  --ink-2: #2b352f;
  --muted: #5b6660;
  --line: #e4e7e1;
  --line-strong: #d2d8cf;
  --input-border: #858e87; /* 3.4:1 sobre blanco (WCAG 1.4.11) */
  --placeholder: #6b756f;  /* 4.8:1 sobre blanco */

  /* Primario: verde bosque del logo, desaturado */
  --primary: #163a27;
  --primary-hover: #1f4b33;
  --primary-active: #102c1d;
  --on-primary: #f5f7f3;
  --primary-ring: rgba(22, 58, 39, 0.14);

  /* Acento y estados */
  --gold: #a3782a;
  --success: #2f7a4f;
  --warning: #9a6212;
  --error: #b3412f;

  /* Oscuro (sección reseñas) */
  --dark: #0d1410;
  --dark-2: #151e19;
  --dark-line: rgba(238, 241, 236, 0.08);
  --on-dark: #eef1ec;
  --on-dark-muted: #9aa69f;

  /* Otoño (solo toast estacional) */
  --autumn-bg: #f7f0e6;
  --autumn-ink: #8f4a2a;

  /* Forma */
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 18, 0.05), 0 4px 12px rgba(15, 23, 18, 0.05);
  --shadow-lg: 0 1px 2px rgba(15, 23, 18, 0.04), 0 8px 24px rgba(15, 23, 18, 0.06), 0 32px 72px rgba(15, 23, 18, 0.10);

  /* Movimiento */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-base: 200ms;
  --t-space: 300ms;

  /* Tipografía */
  --font: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --nav-h: 64px;
  --gutter: 24px;
  interpolate-size: allow-keywords;
}

@media (min-width: 960px) {
  :root { --gutter: 32px; }
}

/* ---------- Fuentes (auto-alojadas, SIL OFL 1.1 · ver fonts/OFL.txt) ---------- */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--primary); color: var(--on-primary); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.reviews :focus-visible { outline-color: var(--on-dark); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.link { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--t-base) var(--ease); }
.link:hover { color: var(--primary); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 16px; background: var(--ink); color: var(--on-primary); border-radius: var(--radius); transform: translateY(-200%); transition: transform var(--t-space) var(--ease); }
.skip:focus { transform: none; }

.container { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 24px; height: 24px; }
.icon--star, .stars .icon { fill: currentColor; stroke: none; }

/* ---------- Escala tipográfica: 12 · 14 · 16 · 20 · 24 · 32 · 48 · 64 ---------- */
.display { font-size: 48px; line-height: 1.1; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.h2 { font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.body { font-size: 16px; line-height: 1.6; }
.body--muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
.eyebrow { font-family: var(--mono); font-size: 12px; line-height: 1.5; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow--inv { color: var(--on-dark-muted); }
.label { display: block; font-size: 14px; line-height: 1.5; font-weight: 500; margin-bottom: 8px; }

@media (min-width: 960px) {
  .display { font-size: 64px; }
  .h2 { font-size: 48px; line-height: 1.1; }
  .lead { font-size: 20px; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px;
  border-radius: var(--radius);
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .icon { transition: transform var(--t-space) var(--ease); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { background: var(--primary-active); }
.btn--primary:hover .icon:last-child { transform: translateX(2px); }
.btn--ghost { background: rgba(15, 23, 18, 0.05); color: var(--ink); }
.btn--ghost:hover { background: rgba(15, 23, 18, 0.09); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--radius); color: var(--ink-2);
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.icon-btn:hover { background: rgba(15, 23, 18, 0.06); color: var(--ink); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn--sm { width: 32px; height: 32px; }
.icon-btn--inv { color: var(--on-dark); background: rgba(238, 241, 236, 0.06); }
.icon-btn--inv:hover { background: rgba(238, 241, 236, 0.12); color: var(--on-dark); }

/* ---------- Inputs ---------- */
.input {
  width: 100%; height: 48px; padding: 0 16px;
  background: var(--surface); border: 1px solid var(--input-border); border-radius: var(--radius);
  font-size: 16px; line-height: 1.5;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
}
.input::placeholder { color: var(--placeholder); opacity: 1; }
.input:hover { border-color: var(--ink-2); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-ring); }
.input[aria-invalid="true"] { border-color: var(--error); }
textarea.input { height: auto; padding: 12px 16px; resize: vertical; min-height: 96px; }
select.input {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), backdrop-filter var(--t-base) var(--ease);
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(250, 250, 249, 0.94);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom-color: var(--line);
}
.nav.is-dark {
  background: rgba(13, 20, 16, 0.94); border-bottom-color: var(--dark-line);
}
.nav.is-dark .wordmark, .nav.is-dark .wordmark .icon, .nav.is-dark .lang__btn[aria-pressed="true"], .nav.is-dark .nav__menu { color: var(--on-dark); }
.nav.is-dark .nav__links a, .nav.is-dark .lang__btn { color: var(--on-dark-muted); }
.nav.is-dark .nav__links a:hover, .nav.is-dark .lang__btn:hover { color: var(--on-dark); }
.nav.is-dark .btn--primary { background: var(--on-dark); color: var(--ink); }
.nav.is-dark .btn--primary:hover { background: #ffffff; }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.wordmark .icon { color: var(--primary); }
.nav__links { display: none; gap: 32px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color var(--t-base) var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions .btn { display: none; }
.lang { display: flex; align-items: center; margin-right: 8px; }
.lang__btn { height: 32px; padding: 0 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); border-radius: var(--radius); transition: color var(--t-base) var(--ease); }
.lang__btn:hover { color: var(--ink); }
.lang__btn[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.mobile-menu { display: grid; padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--line); }

@media (min-width: 480px) { .nav__actions .btn { display: inline-flex; } }
@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__menu { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.section-head { margin-bottom: 32px; max-width: 640px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head--tight { margin-bottom: 16px; }
@media (min-width: 960px) {
  .section { padding: 128px 0; }
  .section-head { margin-bottom: 48px; }
  .section-head--tight { margin-bottom: 24px; }
}

/* ==========================================================================
   HERO + SERVICES (Scroll World)
   Por defecto: layout estático (sin JS / reduced motion).
   html.is-flight: escenario 3D fijado con GSAP ScrollTrigger.
   ========================================================================== */
.flight__media { display: none; }

.hero { padding-top: calc(var(--nav-h) + 32px); }
.hero__inner { display: flex; flex-direction: column; }
.hero__top { display: grid; gap: 24px; }
.hero__headline .eyebrow { margin-bottom: 16px; }
.hero__aside { display: flex; flex-direction: column; gap: 24px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li + li::before { content: ""; display: none; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); margin-right: 8px; }
@media (min-width: 480px) { .proof li + li::before { display: block; } }
.proof .icon { width: 16px; height: 16px; color: var(--gold); }

.hero__window {
  position: relative; margin: 32px 0 16px; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-tint); aspect-ratio: 4 / 3;
}
.hero__window { margin-left: 0; margin-right: 0; }
.hero__window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__caption {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  padding: 4px 8px; border-radius: var(--radius);
  background: rgba(15, 23, 18, 0.72); color: #f5f7f3;
  font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.02em;
}

@media (min-width: 960px) {
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero__top { grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
  .hero__window { margin: 48px 0 32px; aspect-ratio: 21 / 9; }
}

/* Services (estático) */
.services { padding: 96px 0; }
.services__head { margin-bottom: 32px; }
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.svc__btn {
  width: 100%; height: 100%; text-align: left;
  display: grid; align-content: start; gap: 8px; padding: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-space) var(--ease);
}
.svc__btn > .icon { color: var(--primary); margin-bottom: 8px; }
@media (max-width: 639px) { .svc__btn > .icon { margin-bottom: 0; } .svc__more { margin-top: 0; } }
.svc__title { font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.svc__desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
.svc__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--primary); }
.svc__more .icon { width: 16px; height: 16px; transition: transform var(--t-space) var(--ease); }
.svc__btn:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.svc__btn:hover .svc__more .icon { transform: translateX(4px); }
.svc__btn:active { transform: translateY(0) scale(0.99); }

@media (min-width: 640px) {
  .services__grid { gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc__btn { padding: 24px; }
}
@media (min-width: 960px) {
  .services { padding: 128px 0; }
  .svc__title { font-size: 20px; }
}

/* ---------- Modo vuelo ---------- */
.is-flight .flight__stage {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  perspective: 1000px; perspective-origin: 50% 40%;
}
.is-flight .flight__media {
  display: block; position: absolute; inset: 0; z-index: 0;
  will-change: clip-path;
}
.is-flight .flight__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
  transform-origin: 50% 18%;
  will-change: transform;
}
.is-flight .flight__sky { position: absolute; inset: 0; background: var(--bg); opacity: 0; }
/* Cielo vectorial: se ve nítido a cualquier zoom (sustituye a la foto en la parte final del vuelo) */
.flight__air { display: none; }
.is-flight .flight__air {
  display: block; position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(180deg, #9fc4e8 0%, #c3dbf1 45%, #e6eff8 80%, var(--bg) 100%);
}
.cloud-layer { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 45%; will-change: transform, opacity; }

.is-flight .hero { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d; }
.is-flight .hero__inner { height: 100%; transform-style: preserve-3d; }
.is-flight .hero__top { will-change: transform, opacity; }
.is-flight .hero__window { flex: 1 1 auto; min-height: 160px; aspect-ratio: auto; background: transparent; }
.is-flight .hero__window img { opacity: 0; }

.is-flight .services {
  position: absolute; inset: 0; z-index: 2; padding: calc(var(--nav-h) + 16px) 0 24px;
  display: flex; align-items: center;
  pointer-events: none; transform-style: preserve-3d;
}
.is-flight .services.is-live { pointer-events: auto; }
.is-flight .services__inner, .is-flight .services__grid { transform-style: preserve-3d; }
.is-flight .svc, .is-flight .services__head { will-change: transform, opacity; }
.is-flight .hero.is-gone { pointer-events: none; }

@media (max-width: 959px) and (max-height: 760px) {
  .is-flight .proof { display: none; }
}
@media (max-width: 639px) and (max-height: 720px) {
  .is-flight .svc__desc { display: none; }
  .is-flight .services__head .h2 { font-size: 24px; }
}

/* ---------- Process ---------- */
.steps { display: grid; gap: 32px; }
.step { border-top: 1px solid var(--line); padding-top: 24px; }
.step__num { display: block; font-family: var(--mono); font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.step .h3 { margin-bottom: 8px; }
.step .body { color: var(--muted); max-width: 36ch; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- Areas ---------- */
.areas { display: grid; gap: 48px; align-items: center; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cities li {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
}
.cities .icon { width: 16px; height: 16px; color: var(--primary); }
.checker { padding: 24px; }
.checker .label { margin-bottom: 4px; font-size: 16px; font-weight: 600; }
.checker__row { display: flex; gap: 8px; margin-top: 16px; }
.checker__row .input { flex: 1; min-width: 0; }
.checker__result { min-height: 21px; margin-top: 12px; color: var(--muted); transition: color var(--t-base) var(--ease); }
.checker__result.is-ok { color: var(--success); }
.checker__result.is-no { color: var(--warning); }
.checker__result a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) {
  .areas { grid-template-columns: 7fr 5fr; gap: 64px; }
  .checker { padding: 32px; }
}

/* ==========================================================================
   REVIEWS · Deck 3D
   ========================================================================== */
.reviews { background: var(--dark); color: var(--on-dark); }
.reviews__pin { padding: 96px 0; }
.reviews__inner { display: grid; gap: 32px; }
.reviews__head { margin-bottom: 0; }
.reviews__note { display: none; color: var(--on-dark-muted); margin-top: 16px; }
@media (min-width: 640px) { .reviews__note { display: block; } }

.deck {
  --peek: 16px;
  position: relative; height: 320px;
  perspective: 1200px; transform-style: preserve-3d;
  outline: none; border-radius: var(--radius);
}
.deck:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 8px; }
.review {
  position: absolute; top: 0; left: 0;
  width: calc(100% - 3 * var(--peek)); height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 24px;
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 16px 48px rgba(0, 0, 0, 0.28);
  transform-origin: 50% 50%;
  transition: transform var(--t-space) cubic-bezier(0.4, 0, 0.2, 1), opacity var(--t-space) cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  user-select: none;
}
.review::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: var(--dark); opacity: var(--dim, 0);
  transition: opacity var(--t-space) var(--ease);
}
.review.is-behind { cursor: pointer; }
.stars { display: flex; gap: 4px; color: #c9a14a; }
.stars .icon { width: 16px; height: 16px; }
.review__quote { font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -0.02em; text-wrap: pretty; }
.review__who { display: flex; flex-direction: column; font-size: 14px; line-height: 1.5; }
.review__who span { color: var(--on-dark-muted); }

.deck__controls { display: flex; align-items: center; gap: 16px; }
.deck__count { font-family: var(--mono); font-size: 14px; color: var(--on-dark-muted); min-width: 64px; text-align: center; }
.deck__count [data-deck-current] { color: var(--on-dark); }

@media (min-width: 960px) {
  .reviews__pin { padding: 128px 0; }
  .reviews__inner { grid-template-columns: 5fr 7fr; column-gap: 64px; row-gap: 32px; align-items: center; }
  .reviews__head { grid-row: span 2; }
  .deck { --peek: 48px; height: 360px; }
  .review { padding: 32px; width: min(520px, calc(100% - 3 * var(--peek))); }
  .review__quote { font-size: 24px; }
}

/* Pin (JS) */
.is-flight .reviews__pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 16px) 0 32px; }
.is-flight .reviews__inner { width: 100%; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 32px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: -0.01em;
  transition: color var(--t-base) var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--primary); }
.qa summary .icon { color: var(--muted); transition: transform var(--t-space) var(--ease); }
.qa[open] summary .icon { transform: rotate(45deg); }
.qa p { padding-bottom: 24px; max-width: 60ch; }
.qa::details-content {
  height: 0; overflow: clip;
  transition: height var(--t-space) var(--ease), content-visibility var(--t-space) allow-discrete;
}
.qa[open]::details-content { height: auto; }
@media (min-width: 960px) {
  .faq { grid-template-columns: 5fr 7fr; gap: 64px; }
  .faq__head { margin-bottom: 0; }
  .faq__head .body { margin-top: 16px; }
  .qa summary { font-size: 20px; }
}
.faq__head .body { margin-top: 16px; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 48px; align-items: start; }
.channels { margin-top: 32px; border-top: 1px solid var(--line); }
.channels li > * {
  display: flex; align-items: center; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px; font-weight: 500;
}
.channels a { transition: color var(--t-base) var(--ease); }
.channels a:hover { color: var(--primary); }
.channels .icon { color: var(--primary); }
.channels small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.04em; color: var(--muted); }
.form { padding: 24px; }
.form__grid { display: grid; gap: 16px; }
.form__title { margin-bottom: 4px; }
.form__req { margin-bottom: 24px; }
.consent { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; row-gap: 4px; align-items: start; }
.consent__box { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); cursor: pointer; }
.consent__box[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.consent__label { cursor: pointer; color: var(--ink-2); }
.consent__more { grid-column: 2; }
.form__error { min-height: 21px; margin: 16px 0 8px; color: var(--error); }
.form__note { margin-top: 12px; text-align: center; }
@media (min-width: 640px) {
  .form { padding: 32px; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .contact { grid-template-columns: 5fr 7fr; gap: 64px; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer__address { display: grid; gap: 4px; margin-top: 12px; font-style: normal; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); max-width: 520px; }
.footer__links a { transition: color var(--t-base) var(--ease); }
.footer__links a:hover { color: var(--ink); }
.footer__copy { width: 100%; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .steps [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.js .steps [data-reveal]:nth-child(3) { transition-delay: 160ms; }

/* ==========================================================================
   SHEET (detalles de servicio)
   ========================================================================== */
.sheet {
  width: calc(100% - 32px); max-width: 480px; padding: 0; border: 0;
  border-radius: var(--radius); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(8px) scale(0.98);
  transition: opacity var(--t-base) var(--ease), transform var(--t-space) var(--ease), overlay var(--t-space) allow-discrete, display var(--t-space) allow-discrete;
}
.sheet[open] { opacity: 1; transform: none; }
@starting-style { .sheet[open] { opacity: 0; transform: translateY(8px) scale(0.98); } }
.sheet::backdrop { background: rgba(13, 20, 16, 0); transition: background-color var(--t-space) var(--ease), overlay var(--t-space) allow-discrete, display var(--t-space) allow-discrete; }
.sheet[open]::backdrop { background: rgba(13, 20, 16, 0.32); }
@starting-style { .sheet[open]::backdrop { background: rgba(13, 20, 16, 0); } }
.sheet__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px; }
.sheet__body .btn { margin-top: 8px; }
.sheet__close { position: absolute; top: 16px; right: 16px; }

/* ==========================================================================
   TOAST · Acción de Gracias
   ========================================================================== */
.toast {
  position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 60;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.98);
  transition: opacity var(--t-base) var(--ease), transform var(--t-space) var(--ease);
}
.toast[hidden] { display: none; }
.toast.is-in { opacity: 1; transform: none; }
@media (max-width: 639px) {
  .toast__art { height: 48px; }
  .toast__date { bottom: 8px; }
  .toast__body { padding: 16px 20px 20px; }
  .toast__text { display: none; }
  .toast__actions { margin-top: 12px; }
}
@media (min-width: 640px) { .toast { left: auto; right: 24px; bottom: 24px; width: 360px; } }

.toast__art {
  position: relative; height: 72px; overflow: hidden;
  background: linear-gradient(180deg, var(--autumn-bg), #fbf7f1);
  border-bottom: 1px solid #efe6d9;
}
.toast__date {
  position: absolute; left: 24px; bottom: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--autumn-ink);
}
.fall {
  position: absolute; top: -20px; left: var(--x);
  width: 16px; height: 16px; color: var(--c);
  animation: leaf-fall var(--t) linear var(--d) infinite;
  opacity: 0;
}
.fall--1 { --x: 12%; --d: 0s;   --t: 5.2s; --r: -30deg; --c: #c2703d; }
.fall--2 { --x: 30%; --d: 1.6s; --t: 6.4s; --r: 40deg;  --c: #b8892f; }
.fall--3 { --x: 52%; --d: 0.8s; --t: 5.8s; --r: -60deg; --c: #9c4a2f; }
.fall--4 { --x: 70%; --d: 2.4s; --t: 6s;   --r: 20deg;  --c: #c2703d; }
.fall--5 { --x: 88%; --d: 3.2s; --t: 5.4s; --r: -15deg; --c: #b8892f; }
.fall svg { width: 100%; height: 100%; fill: currentColor; fill-opacity: 0.22; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes leaf-fall {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate(var(--r)); }
  12%  { opacity: 1; }
  35%  { transform: translate3d(10px, 34px, 0) rotate(calc(var(--r) + 70deg)); }
  65%  { transform: translate3d(-8px, 62px, 0) rotate(calc(var(--r) + 150deg)); }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(6px, 100px, 0) rotate(calc(var(--r) + 220deg)); }
}
.toast__body { padding: 20px 24px 24px; }
.toast__eyebrow { font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: var(--autumn-ink); margin-bottom: 4px; }
.toast__title { font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.toast__actions { display: flex; gap: 8px; margin-top: 16px; }
.toast__x { position: absolute; top: 8px; right: 8px; color: var(--autumn-ink); }
.toast__x:hover { background: rgba(143, 74, 42, 0.08); color: var(--autumn-ink); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; scroll-behavior: auto !important; }
  .fall { opacity: 1; top: 24px; transform: rotate(var(--r)); }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   PÁGINAS LEGALES
   ========================================================================== */
.legal-page .nav { background: rgba(250, 250, 249, 0.94); border-bottom-color: var(--line); }
.legal { padding: calc(var(--nav-h) + 48px) 0 96px; }
.legal__inner { max-width: 720px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 32px; }
.legal__back:hover { color: var(--ink); }
.legal__back .icon { width: 16px; height: 16px; }
.legal h1 { font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 8px; }
.legal__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.legal__summary { padding: 16px 20px; background: var(--bg-tint); border-radius: var(--radius); margin-bottom: 32px; color: var(--ink-2); }
.legal h2 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 24px; margin-top: 12px; display: grid; gap: 8px; }
.legal a:not(.btn):not(.legal__back) { text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; color: var(--ink); }
.legal code { font-family: var(--mono); font-size: 14px; }
.legal [lang]:not(.is-active-lang) { }
.legal-page [data-legal-lang][hidden] { display: none; }
@media (min-width: 960px) { .legal h1 { font-size: 48px; line-height: 1.1; } }
/* Visibilidad por idioma en páginas legales (sin JS se muestra inglés) */
html:not([lang="es"]) .legal-page [data-l="es"],
html:not([lang="es"]) .legal-page [data-legal-lang="es"],
html[lang="es"] .legal-page [data-l="en"],
html[lang="es"] .legal-page [data-legal-lang="en"] { display: none; }
.footer__links [aria-current="page"] { color: var(--ink); font-weight: 500; }
.contact > *, .areas > *, .faq > *, .reviews__inner > * { min-width: 0; }
.channels span, .footer__address span { overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .btn { white-space: normal; height: auto; min-height: 48px; padding-top: 12px; padding-bottom: 12px; text-align: center; line-height: 1.5; }
  .btn--sm { min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
}

/* ==========================================================================
   RESEÑAS · formulario y estado
   ========================================================================== */
.deck__controls[hidden] { display: none; }
.reviews__stats { margin-top: 16px; font-family: var(--mono); font-size: 14px; color: var(--on-dark); }
.reviews__stats[hidden] { display: none; }
.reviews__cta { margin-top: 24px; display: grid; gap: 12px; justify-items: start; }
.reviews__policy { color: var(--on-dark-muted); max-width: 40ch; }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #ffffff; }
.deck__empty {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px;
  border: 1px dashed rgba(238, 241, 236, 0.2); border-radius: var(--radius); color: var(--on-dark-muted);
}
.stars .icon.is-empty { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 0.6; }

.sheet--form { max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto; }
.rv__intro { margin: 8px 0 24px; }
.rv__form { display: grid; gap: 16px; width: 100%; }
.rv__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .rv__row { grid-template-columns: 1fr 1fr; } }
.rv__hint { margin-top: 4px; }
.rv__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sheet--form .sheet__body { align-items: stretch; }
.sheet--form .rv { width: 100%; }

.rating { border: 0; padding: 0; margin: 0; min-width: 0; }
.rating__stars { display: flex; gap: 4px; }
.rating__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating__star { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; transition: background-color var(--t-base) var(--ease); }
.rating__star svg { width: 28px; height: 28px; fill: transparent; stroke: var(--input-border); stroke-width: 1.5; stroke-linejoin: round; transition: fill var(--t-fast) var(--ease), stroke var(--t-fast) var(--ease); }
.rating__star:hover { background: rgba(15, 23, 18, 0.05); }
.rating__stars .rating__star:has(~ .rating__input:checked) svg,
.rating__stars .rating__input:checked + .rating__star svg { fill: var(--gold); stroke: var(--gold); }
.rating__input:focus-visible + .rating__star { outline: 2px solid var(--primary); outline-offset: 2px; }
.rating[aria-invalid="true"] .rating__star svg { stroke: var(--error); }

.rv-done { display: grid; justify-items: start; gap: 12px; width: 100%; }
.rv-done[hidden] { display: none; }
.rv-done__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: #e8f3ec; color: var(--success); }
.rv-done .h3:focus { outline: none; }
[data-review-submit][aria-busy="true"] { opacity: 0.7; pointer-events: none; }
