/* Mail Retention · estilos v5
   Identidad: el logo es una M dibujada como un sobre, apoyada en una línea manila.
   Ese es el hilo conductor de toda la página:
   - la solapa del sobre (una V) se dobla sobre los bloques verde bosque clave;
   - la línea manila subraya etiquetas, iconos y pasos.
   Paleta: salvia + blanco roto + verde bosque, con manila solo como acento.
   Tipografía: Newsreader (titulares y cifras) + Geist (texto e interfaz). Autoalojadas. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Color */
  --paper: #e7ece7;          /* salvia */
  --surface: #f5f7f3;        /* blanco roto */
  --white: #ffffff;
  --ink: #15201c;
  --ink-soft: #3a4842;
  --ink-muted: #53615a;
  --forest: #1d5a46;
  --forest-deep: #143f31;
  --forest-night: #0f3127;
  --on-dark: #e7ece7;
  --on-dark-soft: #bfcec6;
  --line: #cfd8d1;
  --line-strong: #7d8f85;
  --manila: #e5c46b;
  --manila-soft: #f3e4b9;
  --manila-deep: #c9a443;
  --error: #a3271f;

  /* Grano de papel muy sutil (SVG en data URI: permitido por la CSP, img-src data:) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .13 0 0 0 0 .11 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Tipografía */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  /* Escala fluida (8 pasos) */
  --text-xs: 0.8125rem;                                         /* 13 */
  --text-sm: 0.9375rem;                                         /* 15 */
  --text-base: 1.0625rem;                                       /* 17 */
  --text-lg: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);         /* 18–20 */
  --text-xl: clamp(1.25rem, 1.12rem + 0.55vw, 1.625rem);        /* 20–26 */
  --text-2xl: clamp(1.875rem, 1.45rem + 1.8vw, 3rem);           /* 30–48 */
  --text-3xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);          /* 36–60 */
  --text-4xl: clamp(2.5rem, 1.6rem + 3.9vw, 4.75rem);           /* 40–76 */

  --leading-tight: 1.06;
  --leading-snug: 1.3;
  --leading-body: 1.6;

  /* Espaciado (base 4/8 px) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section: clamp(4.5rem, 2.8rem + 6.5vw, 8rem);
  --head-gap: clamp(2.5rem, 2rem + 2vw, 4rem);

  /* Forma: 3 radios, 3 sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(21 32 28 / 0.06);
  --shadow-md: 0 1px 2px rgb(21 32 28 / 0.05), 0 14px 34px -18px rgb(21 32 28 / 0.28);
  --shadow-lg: 0 2px 4px rgb(21 32 28 / 0.06), 0 30px 60px -28px rgb(21 32 28 / 0.45);

  --wrap: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* El footer queda abajo también en páginas cortas (gracias, 404) */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
main { flex: 1 0 auto; }

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

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}
h2 { font-size: var(--text-2xl); }
h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }

a { color: var(--forest); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 3px;
}

.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: absolute; left: var(--space-4); top: -4rem; z-index: 100;
  padding: var(--space-2) var(--space-4); background: var(--ink); color: var(--white);
  border-radius: var(--radius-sm);
}
.skip:focus { top: var(--space-4); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 3rem;
  padding: 0 1.375rem;
  font: inherit; font-size: var(--text-sm); font-weight: 560; line-height: 1.2; letter-spacing: -0.005em;
  color: var(--white);
  background: var(--forest);
  border: 1px solid var(--forest-deep);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 1px 2px rgb(21 32 28 / 0.12), 0 6px 16px -10px rgb(20 63 49 / 0.7);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s var(--ease);
}
.btn:hover { color: var(--white); background: var(--forest-deep); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.2); }
.btn:focus-visible { outline-offset: 3px; border-radius: var(--radius-sm); }
.btn--ghost {
  color: var(--ink); background: rgb(255 255 255 / 0.4);
  border-color: var(--line-strong); box-shadow: none;
}
.btn--ghost:hover { color: var(--ink); background: var(--white); border-color: var(--ink); }
.btn--manila {
  color: var(--ink); background: var(--manila); border-color: var(--manila-deep);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 8px 20px -12px rgb(0 0 0 / 0.6);
}
.btn--manila:hover { color: var(--ink); background: #edd38e; }
.btn--small { min-height: 2.5rem; padding: 0 var(--space-4); }
.btn--large { min-height: 3.375rem; padding: 0 1.75rem; font-size: var(--text-base); }

/* ---------- Etiqueta de sección (versalitas + línea manila del logo) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.625rem;
  margin: 0 0 var(--space-4);
  font-size: var(--text-base); font-weight: 600; line-height: 1;
  font-variant-caps: all-small-caps; letter-spacing: 0.08em;
  color: var(--forest);
}
.eyebrow::before {
  content: ""; flex: none; width: 1.75rem; height: 2px; border-radius: 2px; background: var(--manila);
}
.eyebrow--light { color: var(--manila); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgb(21 32 28 / 0.55);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}

.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo img { width: auto; height: 1.625rem; }
@media (min-width: 1000px) { .logo img { height: 1.75rem; } }

.nav-toggle {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block; width: 1.1rem; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  display: none;
  padding: var(--space-2) var(--gutter) var(--space-6);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgb(21 32 28 / 0.5);
}
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.nav li a {
  display: block; padding: var(--space-4) 0;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-serif); font-weight: 500; font-size: var(--text-xl); letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.nav li a:hover { color: var(--forest); }
.nav .btn { width: 100%; min-height: 3.25rem; font-size: var(--text-base); }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; align-items: center; gap: var(--space-5);
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav ul { display: flex; gap: var(--space-1); margin: 0; }
  .nav li a {
    position: relative; white-space: nowrap;
    padding: var(--space-2) var(--space-2); border: 0;
    font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0;
    color: var(--ink-soft);
  }
  .nav li a::after {
    content: ""; position: absolute; left: var(--space-2); right: var(--space-2); bottom: 2px;
    height: 2px; border-radius: 2px; background: var(--manila);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav li a:hover { color: var(--ink); }
  .nav li a:hover::after { transform: scaleX(1); }
  .nav .btn { width: auto; min-height: 2.5rem; font-size: var(--text-sm); }
}
@media (min-width: 1200px) {
  .nav ul { gap: var(--space-2); }
  .nav li a { padding-inline: var(--space-3); }
  .nav li a::after { left: var(--space-3); right: var(--space-3); }
}

/* ---------- Secciones genéricas ---------- */
.section { position: relative; padding-block: var(--section); }
.section__head { margin-bottom: var(--head-gap); max-width: 46rem; }
.section__head h2 { margin-bottom: var(--space-4); max-width: 22ch; }
.section__head > p:not(.eyebrow) { color: var(--ink-soft); font-size: var(--text-lg); line-height: 1.55; max-width: 58ch; }
@media (min-width: 768px) {
  .section__head--center { margin-inline: auto; text-align: center; }
  .section__head--center h2, .section__head--center > p { margin-inline: auto; }
}

.split { display: grid; gap: var(--space-7); }
.split > * { min-width: 0; }
.split__head h2 { margin-bottom: var(--space-4); }
.split__head > p:not(.eyebrow) { color: var(--ink-soft); font-size: var(--text-lg); line-height: 1.55; }
@media (min-width: 1000px) {
  .split { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
  .split__head { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
}

.section__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-5);
  margin-top: var(--head-gap); text-align: center;
}
.section__cta p { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); }

/* Fondos con ritmo: salvia / blanco roto / verde bosque */
.hero, .steps, .pricing, .why, .contact { background: var(--grain), var(--paper); }
.problem, .includes, .sectors, .faq { background: var(--grain), var(--surface); }

/* ---------- Solapa del sobre: la firma visual ----------
   Una V del color de la sección anterior se dobla sobre el bloque verde,
   con un canto manila, como la solapa de un sobre. */
.flap-top { --flap-h: clamp(2.25rem, 1rem + 5vw, 5.5rem); --flap-from: var(--paper); padding-top: calc(var(--section) + var(--flap-h) * 0.6); }
.flap-top::before,
.flap-top::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.flap-top::before { height: calc(var(--flap-h) + 4px); background: var(--manila); }
.flap-top::after { height: var(--flap-h); background: var(--flap-from); }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 4.5rem));
  padding-bottom: clamp(4rem, 2.5rem + 5vw, 7rem);
  overflow: clip;
}
.hero__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4rem); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  font-weight: 560; font-size: var(--text-xs); line-height: 1.35; letter-spacing: 0.005em;
  color: var(--forest-deep);
  background: rgb(255 255 255 / 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero__kicker::before {
  content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--manila); box-shadow: 0 0 0 3px rgb(229 196 107 / 0.35);
}
.hero__title {
  font-size: var(--text-4xl);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  max-width: 13ch;
}
.hero__lead { font-size: var(--text-lg); line-height: 1.6; color: var(--ink-soft); max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__note {
  display: flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-5); font-size: var(--text-sm); color: var(--ink-muted);
}
.hero__note::before {
  content: ""; flex: none; width: 1rem; height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a46' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero__media { position: relative; margin: 0; }
.hero__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgb(21 32 28 / 0.08);
  outline-offset: -1px;
}

/* Tarjeta de email respondido y aviso de reunión: ilustración en HTML/CSS */
.hero__mail {
  position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3);
  max-width: 22rem;
  padding: var(--space-4) var(--space-4) var(--space-4);
  background: var(--white);
  border: 1px solid rgb(21 32 28 / 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm); line-height: 1.45;
}
.hero__mail::before {
  /* canto manila superior, como la línea del logo */
  content: ""; position: absolute; left: var(--space-4); right: var(--space-4); top: -1px;
  height: 3px; border-radius: 0 0 3px 3px; background: var(--manila);
}
.mail__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.mail__avatar {
  flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  font-size: var(--text-xs); font-weight: 650; letter-spacing: 0.02em;
  color: var(--forest-deep); background: var(--paper); border: 1px solid var(--line);
}
.mail__from { display: grid; min-width: 0; line-height: 1.3; }
.mail__from b { font-weight: 600; color: var(--ink); }
.mail__from span { font-size: var(--text-xs); color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail__time { margin-left: auto; align-self: start; font-size: var(--text-xs); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.mail__subject { margin: 0 0 var(--space-1); font-weight: 600; font-size: var(--text-xs); color: var(--ink-soft); }
.mail__body { margin: 0; font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.35; color: var(--ink); }

.hero__notice {
  position: absolute; top: var(--space-3); right: var(--space-3);
  display: flex; align-items: center; gap: var(--space-3);
  padding: 0.625rem 1rem 0.625rem 0.625rem;
  background: var(--forest-deep); color: var(--on-dark);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: var(--text-xs); line-height: 1.3;
}
.notice__icon {
  flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--manila) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315201c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 55% no-repeat;
}
.notice__text { display: grid; }
.notice__text b { color: var(--white); font-size: var(--text-sm); }
.notice__text span { color: var(--on-dark-soft); white-space: nowrap; }

@media (min-width: 600px) and (max-width: 999px) {
  .hero__media img { aspect-ratio: 16 / 11; }
  .hero__mail { left: var(--space-5); bottom: var(--space-5); padding: var(--space-5); }
  .hero__notice { top: var(--space-5); right: var(--space-5); }
}
@media (max-width: 479px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (max-width: 419px) {
  .hero__kicker { font-size: 0.75rem; letter-spacing: 0; }
  .hero__mail { padding: var(--space-3); }
  .mail__body { font-size: 1rem; }
  .hero__notice { padding-right: 0.75rem; }
}

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: var(--space-8); }
  .hero__media img { aspect-ratio: 4 / 5; }
  .hero__mail { left: calc(var(--space-6) * -1); right: auto; bottom: var(--space-6); width: min(22rem, 92%); padding: var(--space-5); }
  .hero__notice { top: var(--space-6); right: calc(var(--space-5) * -1); }
}

/* Única secuencia de entrada de la página */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .14s; }
  .hero__copy > :nth-child(4) { animation-delay: .22s; }
  .hero__copy > :nth-child(5) { animation-delay: .3s; }
  .hero__media img { animation: fade 1s ease .15s both; }
  .hero__mail { animation: rise .8s var(--ease) .65s both; }
  .hero__notice { animation: pop .6s var(--ease) 1.25s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.96); } to { opacity: 1; transform: none; } }

/* Aparición al hacer scroll: .reveal solo la pone el JS */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* ---------- Problema ---------- */
.problem__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-6) var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.problem__list li { padding-top: var(--space-5); border-top: 1px solid var(--line-strong); }
.problem__list h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2;
}
.problem__list p { color: var(--ink-soft); }

/* ---------- Cómo funciona (secuencia real: numerada) ----------
   Móvil: línea vertical con marcadores. Escritorio: zigzag alrededor de una línea central. */
.timeline {
  --marker: 2.75rem;
  position: relative;
  list-style: none; margin: 0 auto; padding: 0;
  counter-reset: step;
  display: grid; gap: var(--space-5);
  max-width: 64rem;
}
.timeline::before {
  content: ""; position: absolute; top: var(--space-4); bottom: var(--space-4);
  left: calc(var(--marker) / 2 - 1px); width: 2px;
  background: repeating-linear-gradient(to bottom, var(--line-strong) 0 6px, transparent 6px 12px);
  opacity: .55;
}
.timeline__step {
  counter-increment: step;
  position: relative;
  display: grid; grid-template-columns: var(--marker) minmax(0, 1fr); column-gap: var(--space-4); row-gap: var(--space-2);
  align-items: start;
}
.timeline__step::before {
  content: counter(step);
  grid-column: 1; grid-row: 1 / span 2;
  width: var(--marker); height: var(--marker);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 500; font-size: 1.375rem; line-height: 1;
  font-variant-numeric: lining-nums;
  color: var(--white); background: var(--forest);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--paper);
  position: relative; z-index: 1;
}
.timeline__step:last-child::before { background: var(--manila); color: var(--ink); }
.timeline__when {
  grid-column: 2; grid-row: 1; justify-self: start; align-self: center;
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: var(--text-xs); font-weight: 650; letter-spacing: 0.02em; line-height: 1.2;
  color: var(--forest-deep);
  background: var(--manila-soft);
  border: 1px solid rgb(201 164 67 / 0.45);
  border-radius: 999px;
}
.timeline__body {
  grid-column: 2; grid-row: 2;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.timeline__body h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2;
}
.timeline__body p { color: var(--ink-soft); font-size: var(--text-base); line-height: 1.6; max-width: 52ch; }
@media (max-width: 599px) {
  .timeline { --marker: 2.25rem; }
  .timeline__step { column-gap: var(--space-3); }
  .timeline__step::before { font-size: 1.125rem; box-shadow: 0 0 0 4px var(--paper); }
  .timeline__body { padding: var(--space-4); }
  .timeline__body p { font-size: var(--text-sm); }
}

@media (min-width: 900px) {
  .timeline { --marker: 3.25rem; gap: var(--space-2); }
  .timeline::before { left: calc(50% - 1px); }
  .timeline__step {
    grid-template-columns: minmax(0, 1fr) var(--marker) minmax(0, 1fr);
    column-gap: var(--space-6); align-items: center;
  }
  .timeline__step::before { grid-column: 2; grid-row: 1; font-size: 1.5rem; }
  .timeline__step:nth-child(odd) .timeline__body { grid-column: 1; grid-row: 1; }
  .timeline__step:nth-child(odd) .timeline__when { grid-column: 3; grid-row: 1; justify-self: start; }
  .timeline__step:nth-child(even) .timeline__body { grid-column: 3; grid-row: 1; }
  .timeline__step:nth-child(even) .timeline__when { grid-column: 1; grid-row: 1; justify-self: end; }
  .timeline__body { padding: var(--space-6); }
  /* Conector desde la tarjeta al marcador */
  .timeline__body { position: relative; }
  .timeline__body::after {
    content: ""; position: absolute; top: 50%; width: var(--space-6); height: 2px; background: var(--manila);
  }
  .timeline__step:nth-child(odd) .timeline__body::after { left: 100%; }
  .timeline__step:nth-child(even) .timeline__body::after { right: 100%; }
  .timeline__when { font-size: var(--text-sm); padding: 0.4rem 0.9rem; }
}

/* ---------- Qué incluye ---------- */
.features {
  margin: 0;
  display: grid; gap: var(--space-6) var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.feature {
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: var(--space-4); align-content: start;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.feature img { grid-row: 1 / span 2; width: 2.75rem; height: 2.75rem; padding: 0.375rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.feature dt { font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.01em; line-height: 1.3; margin-bottom: var(--space-2); align-self: center; }
.feature dd { grid-column: 2; margin: 0; color: var(--ink-soft); max-width: 46ch; }
@media (min-width: 640px) {
  .feature { grid-template-columns: 1fr; row-gap: 0; }
  .feature img { grid-row: auto; width: 3rem; height: 3rem; margin-bottom: var(--space-4); }
  .feature dd { grid-column: 1; }
}

/* ---------- Precios ---------- */
.pricing__grid { display: grid; gap: var(--space-5); align-items: start; }
.pricing__grid > * { min-width: 0; }
@media (min-width: 1000px) { .pricing__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); } }

/* El presupuesto: la pieza protagonista, como un documento */
.quote {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
  box-shadow: var(--shadow-lg);
}
.quote::before {
  content: ""; position: absolute; left: clamp(1.25rem, 0.75rem + 2.5vw, 3rem); top: -1px;
  width: 4.5rem; height: 4px; border-radius: 0 0 4px 4px; background: var(--manila);
}
.quote__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-1) var(--space-5);
  padding-bottom: var(--space-4); margin-bottom: var(--space-1);
  border-bottom: 3px double var(--ink);
}
.quote__head h3 { font-family: var(--font-serif); font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.quote__head p { margin: 0; font-size: var(--text-xs); color: var(--ink-muted); }
.quote__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.quote__table thead th {
  padding: var(--space-3) 0; font-size: var(--text-xs); font-weight: 560; color: var(--ink-muted); text-align: left;
  border-bottom: 1px solid var(--line);
}
.quote__table thead th:last-child { text-align: right; }
.quote__table tbody th, .quote__table td {
  padding: var(--space-5) 0; vertical-align: top; border-bottom: 1px dashed var(--line); font-weight: 400; text-align: left;
}
.quote__table td { padding-left: var(--space-4); white-space: nowrap; text-align: right; }
.quote__item {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  font-weight: 600; font-size: var(--text-lg); margin-bottom: var(--space-1);
}
.quote__desc { display: block; color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.55; max-width: 46ch; }
.quote__amount {
  display: block;
  font-family: var(--font-serif); font-weight: 500; font-size: var(--text-2xl);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.025em; line-height: 1;
}
.quote__unit { display: block; margin-top: var(--space-2); font-size: var(--text-xs); color: var(--ink-muted); }
.tag {
  display: inline-flex; align-items: center;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.4;
  color: var(--forest-deep); background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px;
}
.tag--manila { background: var(--manila-soft); border-color: rgb(201 164 67 / 0.5); }
.quote__nopay {
  display: flex; align-items: flex-start; gap: var(--space-3);
  max-width: none;
  margin: var(--space-5) 0 0; padding: var(--space-4);
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm); line-height: 1.5; color: var(--ink-soft);
}
.quote__nopay strong { color: var(--ink); }
.quote__nopay-icon {
  flex: none; width: 1.5rem; height: 1.5rem; margin-top: -0.05rem; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 50% no-repeat;
}
.quote__foot { margin: var(--space-3) 0 0; font-size: var(--text-xs); color: var(--ink-muted); }
@media (max-width: 419px) {
  .quote__table thead { display: none; }
  .quote__table tbody tr { display: grid; grid-template-columns: 1fr; border-bottom: 1px dashed var(--line); padding: var(--space-5) 0; }
  .quote__table tbody th, .quote__table td { display: block; padding: 0; border: 0; text-align: left; }
  .quote__table td { display: flex; align-items: baseline; gap: var(--space-2); margin-top: var(--space-3); }
  .quote__unit { margin: 0; }
}

/* La calculadora: herramienta secundaria, integrada */
.calc {
  display: grid; gap: var(--space-5); align-content: start;
  padding: clamp(1.25rem, 0.9rem + 1.8vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.calc > * { min-width: 0; }
.calc__intro h3 { margin-bottom: var(--space-2); font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.015em; }
.calc__intro p { color: var(--ink-soft); font-size: var(--text-sm); }
.calc__form { display: grid; gap: var(--space-5); align-content: start; }
.calc__field { display: grid; gap: var(--space-2); min-width: 0; }
.calc__label-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); }
.calc__form label { font-weight: 560; font-size: var(--text-base); line-height: 1.35; }
.calc__form output {
  flex: none; min-width: 2ch; text-align: right;
  font-family: var(--font-serif); font-size: 2.25rem; font-weight: 500; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums; color: var(--forest);
}
.calc__scale { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--ink-muted); font-variant-numeric: tabular-nums; }

.calc input[type="range"] {
  --fill: 26.67%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2rem; margin: 0; background: transparent; cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(to right, var(--forest) 0 var(--fill), var(--line) var(--fill) 100%);
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 1.75rem; height: 1.75rem; margin-top: calc(4px - 0.875rem);
  border-radius: 50%; background: var(--white); border: 3px solid var(--forest);
  box-shadow: 0 2px 6px rgb(21 32 28 / 0.25);
}
.calc input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
.calc input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--forest); }
.calc input[type="range"]::-moz-range-thumb {
  width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--white); border: 3px solid var(--forest);
  box-shadow: 0 2px 6px rgb(21 32 28 / 0.25);
}
.calc input[type="range"]:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; border-radius: 999px; }

.calc__result {
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-variant-numeric: tabular-nums;
}
.calc__figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: var(--space-4); }
.calc__fig { display: grid; align-content: start; gap: var(--space-1); margin: 0; }
.calc__k { font-size: var(--text-sm); font-weight: 560; color: var(--ink-soft); line-height: 1.35; }
.calc__fig strong {
  font-family: var(--font-serif); font-size: clamp(2.25rem, 1.9rem + 1.4vw, 2.875rem); font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.025em; line-height: 1; color: var(--ink);
}
.calc__fig--accent strong { color: var(--forest); }
.calc__note { font-size: var(--text-xs); color: var(--ink-muted); }
.calc__bar {
  position: relative; height: 10px; margin: var(--space-5) 0 var(--space-3);
  background: var(--manila-soft); border-radius: 999px; overflow: hidden;
}
.calc__bar-fill {
  --share: 7.95%;
  position: absolute; inset: 0 auto 0 0; width: var(--share); min-width: 4px;
  background: var(--forest); border-radius: 999px;
  transition: width .35s var(--ease);
}
.calc__verdict { margin: 0; font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.5; }

.calc__form select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.625rem 2.75rem 0.625rem 1rem;
  font: inherit; font-size: var(--text-lg); font-weight: 560; color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) and (max-width: 999px) {
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-6); align-items: start; }
  .calc__intro { grid-column: 1 / -1; }
}

/* ---------- Llamada cualificada (bloque verde bosque) ---------- */
.qualified {
  --flap-from: var(--paper);
  background: var(--grain), radial-gradient(120% 80% at 50% 0%, var(--forest) 0%, var(--forest-deep) 55%, var(--forest-night) 100%);
  color: var(--on-dark);
}
.qualified h2 { color: var(--white); }
.qualified .section__head > p:not(.eyebrow) { color: var(--on-dark-soft); }
.qualified a { color: var(--white); }
.qualified :focus-visible { outline-color: var(--manila); }
.checks {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  max-width: 64rem;
}
.checks li {
  position: relative;
  padding: var(--space-5) var(--space-5) var(--space-5) 4.25rem;
  font-size: var(--text-lg); line-height: 1.5; color: var(--on-dark-soft);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(231 236 231 / 0.14);
  border-radius: var(--radius-md);
}
.checks li::before {
  content: "";
  position: absolute; left: var(--space-5); top: var(--space-5);
  width: 1.875rem; height: 1.875rem;
  border-radius: 50%;
  background: var(--manila)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315201c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 58% no-repeat;
  box-shadow: 0 0 0 5px rgb(229 196 107 / 0.16);
}
.checks strong { display: block; margin-bottom: var(--space-1); color: var(--white); font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.qualified__rule {
  display: flex; align-items: center; justify-content: center; gap: var(--space-4);
  max-width: none;
  margin: var(--space-7) 0 0;
  font-family: var(--font-serif); font-size: var(--text-3xl); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.05; color: var(--manila); text-align: center;
}
.qualified__rule::before, .qualified__rule::after {
  content: ""; flex: 1 1 0; max-width: 8rem; height: 2px; background: rgb(229 196 107 / 0.5); border-radius: 2px;
}
@media (max-width: 479px) {
  .checks li { padding: var(--space-4) var(--space-4) var(--space-4) 3.75rem; }
  .checks li::before { left: var(--space-4); top: var(--space-4); }
  .qualified__rule::before, .qualified__rule::after { display: none; }
}

/* ---------- Sectores ---------- */
.sectors__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
}
.sector {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.sector img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--line);
  transition: transform .6s var(--ease);
}
.sector__body { position: relative; padding: var(--space-5); border-top: 3px solid var(--manila); }
.sector h3 { margin-bottom: var(--space-2); font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.sector p { color: var(--ink-soft); font-size: var(--text-base); line-height: 1.6; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sector:hover img { transform: scale(1.035); }
/* Móvil: tarjetas compactas, imagen baja (nada de 4 fotos gigantes apiladas) */
@media (max-width: 559px) {
  .sectors__grid { gap: var(--space-4); }
  .sector img { aspect-ratio: 5 / 2; }
  .sector__body { padding: var(--space-4); }
  .sector h3 { font-size: var(--text-lg); }
  .sector p { font-size: var(--text-sm); }
}
@media (min-width: 560px) {
  .sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector img { aspect-ratio: 16 / 10; }
}
@media (min-width: 1100px) {
  .sectors__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sector img { aspect-ratio: 4 / 3; }
  .sector p { font-size: var(--text-sm); }
}

/* ---------- Por qué Mail Retention ---------- */
.why__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.why__list li {
  padding: var(--space-5);
  background: rgb(255 255 255 / 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.why__list img { width: 3rem; height: 3rem; margin-bottom: var(--space-4); padding: 0.375rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.why__list h3 { margin-bottom: var(--space-2); font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.why__list p { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  position: relative;
  display: block;
  padding: var(--space-5) 3.5rem var(--space-5) 0;
  font-weight: 560; font-size: var(--text-lg); line-height: 1.4; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
  transition: color .15s ease;
}
.faq__list summary::-webkit-details-marker { display: none; }
/* Icono +/−: un círculo con barra horizontal (::before) y una barra vertical que gira (::after) */
.faq__list summary::before,
.faq__list summary::after {
  content: ""; position: absolute; top: 50%; right: 0;
}
.faq__list summary::before {
  width: 2.25rem; height: 2.25rem; margin-top: -1.125rem;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: linear-gradient(var(--ink), var(--ink)) center / 0.75rem 2px no-repeat;
  transition: background-color .2s ease, border-color .2s ease;
}
.faq__list summary::after {
  right: calc(1.125rem - 1px); width: 2px; height: 0.75rem; margin-top: -0.375rem;
  background: var(--ink); border-radius: 1px;
  transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::before { background-color: var(--manila); border-color: var(--manila-deep); }
.faq__list summary:hover { color: var(--forest); }
.faq__list summary:hover::before { background-color: var(--white); }
.faq__list details[open] summary:hover::before { background-color: var(--manila); }
.faq__list summary:focus-visible { outline-offset: 4px; }
.faq__a { padding: 0 3.5rem var(--space-5) 0; color: var(--ink-soft); }
.faq__a p { max-width: 62ch; }
.faq__a p + p { margin-top: calc(var(--space-2) * -1); }
@media (max-width: 479px) { .faq__a { padding-right: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .faq__list details[open] .faq__a { animation: rise .35s var(--ease) both; }
}

/* ---------- Contacto ---------- */
.contact__hours {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* Calendly embebido: tarjeta blanca con el acento manila del resto de la web.
   La altura es fija a propósito: el iframe de Calendly gestiona su propio
   contenido; overflow:hidden evita una doble barra de scroll. */
.booking {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.booking::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--manila);
}
.booking__fallback {
  margin: 0;
  padding: var(--space-4) var(--space-5) 0;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  text-align: center;
}
.booking__fallback a { font-weight: 560; }
.booking__frame {
  min-width: 320px;
  width: 100%;
  min-height: 1100px;
  overflow: hidden;
}
.booking__frame .calendly-inline-widget,
.booking__frame iframe {
  display: block;
  width: 100%;
  min-width: 320px;
  min-height: 1100px;
  border: 0;
}
@media (max-width: 699px) {
  .booking__frame,
  .booking__frame .calendly-inline-widget,
  .booking__frame iframe {
    min-height: 1040px;
  }
}

.form--secondary { margin-top: var(--space-7); max-width: 46rem; }


/* El bloque CTA es un sobre: verde bosque con la solapa doblada y canto manila */
.envelope {
  --flap-h: clamp(3.5rem, 2.5rem + 3vw, 5rem);
  position: relative;
  padding: calc(var(--flap-h) + var(--space-5)) clamp(1.5rem, 1rem + 2.5vw, 3rem) clamp(1.75rem, 1rem + 2.5vw, 3rem);
  color: var(--on-dark);
  background: var(--grain), linear-gradient(170deg, var(--forest) 0%, var(--forest-deep) 60%, var(--forest-night) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.envelope::before,
.envelope::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.envelope::before { height: calc(var(--flap-h) + 3px); background: var(--manila); }
.envelope::after { height: var(--flap-h); background: linear-gradient(180deg, #2a6c56, var(--forest)); }
.contact__main h2 {
  font-size: var(--text-3xl); letter-spacing: -0.03em; line-height: 1.02;
  margin-bottom: var(--space-5); max-width: 13ch; color: var(--white);
}
.contact__main > p { font-size: var(--text-lg); line-height: 1.6; color: var(--on-dark-soft); max-width: 40ch; }
.contact__main > p:not(.eyebrow) { margin-bottom: var(--space-6); }
.contact__main .btn { width: 100%; max-width: 22rem; }
.contact__main .contact__micro { margin: var(--space-3) 0 0; font-size: var(--text-sm); color: var(--on-dark-soft); }
.contact__main .contact__alt {
  margin: var(--space-6) 0 0; padding-top: var(--space-5);
  border-top: 1px solid rgb(231 236 231 / 0.16);
  font-size: var(--text-sm);
}
.contact__alt a { color: var(--white); font-weight: 560; overflow-wrap: anywhere; }
.contact__alt a:hover { color: var(--manila); }
.envelope :focus-visible { outline-color: var(--manila); }

.form {
  display: grid; gap: var(--space-4);
  padding: clamp(1.25rem, 0.9rem + 2.2vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form > * { min-width: 0; }
.form h3 { margin-bottom: var(--space-2); font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: var(--space-2); min-width: 0; }
.field label { font-weight: 560; font-size: var(--text-sm); }
.field__opt { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea, .calc__form select {
  width: 100%;
  min-height: 3rem;
  padding: 0.6875rem 0.875rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select, .calc__form select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.75rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a46' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.875rem center / 1.125rem no-repeat;
  text-overflow: ellipsis;
}
.calc__form select { font-size: var(--text-lg); font-weight: 560; min-height: 3.25rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover, .calc__form select:hover { border-color: var(--ink-soft); }
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .calc__form select:focus-visible {
  outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest);
  box-shadow: 0 0 0 4px rgb(29 90 70 / 0.12);
}
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgb(163 39 31 / 0.1); }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--space-3); }
.field--check input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0.15rem 0 0; accent-color: var(--forest); box-shadow: none; }
.field--check label { font-weight: 400; color: var(--ink-soft); }
.form__status { margin: 0; font-size: var(--text-sm); min-height: 1.5em; }
.form__status.is-error { color: var(--error); font-weight: 600; }
.form .btn { justify-self: start; }
@media (max-width: 599px) { .form .btn { justify-self: stretch; } }

/* ---------- CTA móvil (barra inferior) ---------- */
.mobile-cta {
  position: fixed; left: var(--space-3); right: var(--space-3); bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 3.25rem;
  font-weight: 600; font-size: var(--text-base); text-decoration: none;
  color: var(--white); background: var(--forest);
  border: 1px solid var(--forest-deep);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 14px 30px -10px rgb(15 49 39 / 0.6);
  visibility: hidden; opacity: 0; transform: translateY(130%);
  transition: transform .35s var(--ease), opacity .25s ease, visibility 0s linear .35s;
}
.mobile-cta::after {
  content: ""; width: 2rem; height: 2px; margin-left: var(--space-2); background: var(--manila); border-radius: 2px;
}
.mobile-cta.is-visible { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-cta:hover { color: var(--white); background: var(--forest-deep); }
.mobile-cta:focus-visible { outline-color: var(--manila); outline-offset: 3px; }
@media (min-width: 1000px) { .mobile-cta { display: none; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grain), var(--ink);
  color: var(--on-dark-soft); font-size: var(--text-sm);
}
.site-footer__top {
  display: grid; gap: var(--space-6);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--space-6);
}
.site-footer__brand { display: inline-flex; justify-self: start; }
.site-footer__brand img { width: auto; height: 1.875rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-5); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--manila); }
.site-footer :focus-visible { outline-color: var(--manila); }
.site-footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); }
.site-footer__mail { font-family: var(--font-serif); font-size: var(--text-xl); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.site-footer .btn--manila, .site-footer .btn--manila:hover { color: var(--ink); text-decoration: none; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3) var(--space-6);
  padding-block: var(--space-5) var(--space-6);
  border-top: 1px solid rgb(231 236 231 / 0.14);
}
.site-footer__copy { margin: 0; color: var(--on-dark-soft); }
@media (max-width: 999px) { .site-footer { padding-bottom: 4.5rem; } }
@media (min-width: 700px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-7); }
  .site-footer__nav { grid-column: 1 / -1; grid-row: 2; padding-top: var(--space-5); border-top: 1px solid rgb(231 236 231 / 0.14); }
  .site-footer__nav ul { display: flex; gap: var(--space-2) var(--space-6); }
  .site-footer__contact { justify-content: flex-end; }
}
@media (min-width: 1200px) {
  .site-footer__top { grid-template-columns: auto minmax(0, 1fr) auto; }
  .site-footer__nav { grid-column: 2; grid-row: 1; padding-top: 0; border-top: 0; }
  .site-footer__nav ul { justify-content: center; gap: var(--space-2) var(--space-5); }
}

/* ---------- Páginas secundarias (legales, gracias, 404) ---------- */
.page {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 5rem)); padding-bottom: var(--section); min-height: 70vh;
  background: var(--grain), var(--paper);
}
.page .wrap { max-width: 48rem; }
.page h1 { font-size: var(--text-3xl); letter-spacing: -0.03em; margin-bottom: var(--space-5); }
.page h2 { font-size: var(--text-xl); margin: var(--space-7) 0 var(--space-3); }
.page ul { padding-left: 1.25rem; }
.page li { margin-bottom: var(--space-2); }
.page .lead { font-size: var(--text-lg); color: var(--ink-soft); }
.page--center .wrap { text-align: center; }
.page--center p { margin-inline: auto; }
.pending { background: var(--manila); padding: 0 0.25em; border-radius: 3px; font-weight: 600; }
.notice {
  padding: var(--space-4) var(--space-5); margin-bottom: var(--space-6);
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--manila);
  border-radius: var(--radius-sm);
}
.page .btn { margin-top: var(--space-4); }
.page table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin: var(--space-4) 0; }
.page th, .page td { text-align: left; padding: var(--space-2) var(--space-2); border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }
.page__back { margin-top: var(--space-6); }
.site-header--simple .nav {
  position: static; display: flex; padding: 0; background: none; border: 0; box-shadow: none;
}
.site-header--simple .nav .btn { width: auto; min-height: 2.5rem; font-size: var(--text-sm); }
