/* DESPEGGA · styles.css
 * Tipografías autoalojadas (SIL OFL): Bricolage Grotesque + Instrument Sans.
 */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #FBF8F1;
  --ivory-2: #F3EEE3;
  --paper: #FFFDF8;
  --night: #0E1A33;
  --night-2: #1B2A4A;
  --night-soft: #43506D;
  --orange: #FF5A1F;
  --orange-deep: #C83D08;   /* naranja para texto pequeño sobre marfil (AA) */
  --line: #DDD5C4;
  --line-night: rgba(251, 248, 241, 0.16);
  --error: #B42318;
  --success: #1E6B45;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 11vw, 144px);
  --radius: 14px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--night);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--orange); color: var(--night); }

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

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--night); color: var(--ivory); padding: 12px 18px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--orange); color: var(--night); }
.btn-accent:hover { background: #FF7440; }
.btn-night { background: var(--night); color: var(--ivory); }
.btn-night:hover { background: var(--night-2); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn[disabled] { cursor: progress; opacity: .8; }

.text-link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px; text-decoration-color: var(--orange);
  padding: 12px 2px;
}
.text-link:hover { text-decoration-color: var(--night); }

/* ---------- Logo ---------- */
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  color: var(--night);
  font-variation-settings: "opsz" 32;
  white-space: nowrap;
}
/* Detalle propio: la doble G se entrelaza y la segunda toma el acento */
.logo-gg { display: inline-flex; margin: 0 .01em; }
.logo-gg span:first-child { position: relative; z-index: 1; }
.logo-gg span:last-child { color: var(--orange); margin-left: -.075em; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; gap: 28px; }
.nav-list a {
  text-decoration: none; font-weight: 500; font-size: .9875rem;
  padding: 10px 0; border-bottom: 2px solid transparent;
}
.nav-list a:hover { border-bottom-color: var(--orange); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 16px;
    background: transparent; color: var(--night);
    border: 1.5px solid var(--night); border-radius: 999px;
    font: 600 .9375rem var(--font-body); cursor: pointer;
  }
  .nav-toggle-icon { position: relative; width: 16px; height: 10px; }
  .nav-toggle-icon span {
    position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .2s ease, top .2s ease;
  }
  .nav-toggle-icon span:first-child { top: 0; }
  .nav-toggle-icon span:last-child { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child { top: 4px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child { top: 4px; transform: rotate(-45deg); }

  /* Sin JavaScript: navegación visible en una fila desplazable */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  html:not(.js) .site-nav { width: 100%; flex-wrap: wrap; gap: 12px 20px; }

  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px var(--gutter) 28px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(14, 26, 51, .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .js .site-nav.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
  }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a {
    display: block; padding: 14px 0; font-family: var(--font-display);
    font-size: 1.375rem; font-weight: 600; border-bottom: 1px solid var(--line);
  }
  .js .site-nav .btn { align-self: flex-start; }
}

/* ---------- Primera pantalla ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 var(--section); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .9375rem; color: var(--night-soft);
  margin-bottom: 28px;
}
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--orange); border-radius: 2px; }

.hero h1 {
  font-size: clamp(2.75rem, 7.4vw, 6.25rem);
  font-weight: 750;
  line-height: .96;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 96;
  max-width: 11ch;
}
.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--night-soft);
  max-width: 34em;
  margin: 32px 0 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Composición ilustrativa */
.demo {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  border-radius: 22px;
  padding: 22px 22px 26px;
  position: relative;
}
.demo-caption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: .8125rem; line-height: 1.4; color: rgba(251, 248, 241, .72);
  padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line-night);
}
.demo-badge {
  background: var(--orange); color: var(--night);
  font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: .8125rem;
}
.demo-stage { position: relative; padding-left: 40px; }
.demo-thread {
  position: absolute; left: 0; top: 12px; bottom: 30px; width: 24px; height: calc(100% - 42px);
  overflow: visible;
}
.demo-thread path {
  fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 5 6;
  vector-effect: non-scaling-stroke;
}
.demo-step { position: relative; }
.demo-step + .demo-step { margin-top: 22px; }
.demo-label {
  display: flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; color: rgba(251, 248, 241, .72);
  margin-bottom: 8px;
}
.demo-num {
  position: absolute; left: -40px; top: -2px;
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--night); border: 2px solid var(--orange); color: var(--ivory);
  font-size: .75rem; font-weight: 700; line-height: 1;
}
.demo-bubble {
  background: var(--ivory); color: var(--night);
  padding: 14px 16px; border-radius: 16px 16px 16px 4px;
  font-size: .9375rem; line-height: 1.45; margin: 0;
}
.demo-answer { display: grid; gap: 7px; margin-bottom: 12px; }
.demo-answer span { height: 7px; border-radius: 4px; background: rgba(251, 248, 241, .18); }
.demo-answer span:nth-child(2) { width: 88%; }
.demo-answer span:nth-child(3) { width: 64%; }
.demo-sponsored {
  border: 1.5px solid rgba(251, 248, 241, .28);
  border-radius: 14px; padding: 14px 16px;
}
.demo-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  color: var(--night); background: rgba(251, 248, 241, .85);
  padding: 2px 8px; border-radius: 4px; margin-bottom: 8px;
}
.demo-ad-title { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; margin: 0 0 2px; }
.demo-ad-text { font-size: .875rem; line-height: 1.45; color: rgba(251, 248, 241, .8); margin: 0 0 12px; }
.demo-ad-cta {
  display: inline-block; margin: 0;
  font-size: .8125rem; font-weight: 700; color: var(--night);
  background: var(--orange); padding: 6px 12px; border-radius: 999px;
}
.demo-card {
  margin: 0; background: var(--paper); color: var(--night);
  border-radius: 14px; padding: 12px 16px;
  display: grid; gap: 6px;
  box-shadow: inset 4px 0 0 var(--orange);
}
.demo-card div { display: flex; justify-content: space-between; gap: 16px; font-size: .875rem; }
.demo-card dt { color: var(--night-soft); }
.demo-card dd { margin: 0; font-weight: 600; text-align: right; }

/* Momento de entrada único: la consulta lleva al anuncio y a la solicitud */
@media (prefers-reduced-motion: no-preference) {
  .demo-step { animation: demo-in .45s cubic-bezier(.2, .7, .2, 1) both; }
  .demo-query { animation-delay: .15s; }
  .demo-ad { animation-delay: .5s; }
  .demo-lead { animation-delay: .85s; }
  .demo-thread path { animation: thread-in 1s .2s ease-out both; }
  @keyframes demo-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes thread-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72;
}
.section-intro { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-intro p, .split-head p { font-size: 1.1875rem; color: var(--night-soft); margin-top: 24px; max-width: 34em; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.split-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.split-head { position: sticky; top: calc(var(--header-h) + 32px); }

/* Auditoría de visibilidad en IA */
.audit { border-top: 1px solid var(--line); }
.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.audit-lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  color: var(--night-soft);
  max-width: 34em;
  margin: 24px 0 36px;
}
.audit-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 48px);
}
.audit-list li { border-top: 3px solid var(--orange); padding-top: 16px; }
.audit-list h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.audit-list p { color: var(--night-soft); font-size: 1rem; }
.audit-method {
  margin: 36px 0 32px; padding-left: 16px;
  border-left: 3px solid var(--line);
  color: var(--night-soft); font-size: .9875rem; max-width: 36em;
}

.report {
  margin: 0;
  background: var(--night); color: var(--ivory);
  border-radius: 22px;
  padding: 22px 22px 26px;
  position: sticky; top: calc(var(--header-h) + 32px);
}
.report-label {
  font-size: .8125rem; font-weight: 600; color: rgba(251, 248, 241, .72);
  margin: 0 0 10px;
}
.report-label-gap { margin-top: 24px; }
.report-bars { display: grid; gap: 12px; }
.report-bars li {
  display: grid; grid-template-columns: 8.5em minmax(0, 1fr) 3.2em;
  align-items: center; gap: 12px; font-size: .875rem;
}
.report-name { color: rgba(251, 248, 241, .86); }
.report-track { height: 10px; border-radius: 999px; background: rgba(251, 248, 241, .14); overflow: hidden; }
.report-fill { display: block; height: 100%; width: var(--v); border-radius: 999px; background: rgba(251, 248, 241, .55); }
.report-value { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.report-bars .is-client .report-name { color: var(--ivory); font-weight: 700; }
.report-bars .is-client .report-fill { background: var(--orange); }
.report-bars .is-client .report-value { color: var(--orange); }
.report-reco {
  margin: 0; background: var(--paper); color: var(--night);
  border-radius: 14px; padding: 12px 16px;
  font-size: .9375rem; line-height: 1.5;
  box-shadow: inset 4px 0 0 var(--orange);
}
@media (prefers-reduced-motion: no-preference) {
  .report-fill { transform-origin: left; animation: bar-in .9s .2s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes bar-in { from { transform: scaleX(0); } to { transform: none; } }
}

.service-cta { margin-top: 32px; }

/* A quién ayudamos */
.fit { border-top: 1px solid var(--line); }
.fit-list li {
  position: relative;
  padding: 28px 0 28px 44px;
  border-top: 1px solid var(--line);
}
.fit-list li:last-child { border-bottom: 1px solid var(--line); }
.fit-list li::before {
  content: ""; position: absolute; left: 0; top: 38px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid var(--orange);
}
.fit-list h3 { font-size: clamp(1.3125rem, 2.1vw, 1.625rem); font-weight: 650; letter-spacing: -0.02em; margin-bottom: 8px; }
.fit-list p { color: var(--night-soft); max-width: 36em; }

/* Servicio */
.service { background: var(--ivory-2); }
.areas {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(32px, 6vw, 96px);
}
.area { border-top: 3px solid var(--night); padding-top: 24px; }
.area h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.area p { color: var(--night-soft); max-width: 32em; }
.note {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline;
  padding: 22px 26px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  max-width: 820px;
}
.note strong { font-family: var(--font-display); font-size: 1.125rem; }

/* Cómo funciona */
.process { background: var(--night); color: var(--ivory); }
.process h2 { max-width: 14ch; }
.steps {
  counter-reset: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(48px, 6vw, 88px);
  position: relative;
}
.step { position: relative; padding-top: 108px; }
.step::before {
  content: ""; position: absolute; left: 0; right: -32px; top: 40px;
  height: 2px; background: var(--line-night);
}
.step:last-child::before { right: 0; }
.step-num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--night); border: 2px solid var(--orange);
  font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--orange);
  font-variation-settings: "opsz" 48;
}
.step h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.step p { color: rgba(251, 248, 241, .78); font-size: 1rem; }
.process-foot {
  margin-top: clamp(48px, 6vw, 80px); padding-top: 28px;
  border-top: 1px solid var(--line-night);
  max-width: 44em; color: rgba(251, 248, 241, .86);
}

/* Sobre DESPEGGA */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 112px); align-items: start;
}
.about-lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.3; letter-spacing: -0.015em;
  margin: 28px 0 24px;
}
.about-agency p:not(.about-lead) { color: var(--night-soft); max-width: 34em; }
.founder {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  font-size: 1.125rem; line-height: 1.65;
}
.founder p:first-child { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.2; }
.founder-sign {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  color: var(--night-soft);
}

/* Preguntas frecuentes */
.faq { border-top: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); font-weight: 600; letter-spacing: -0.015em; }
.faq-list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--night);
  background:
    linear-gradient(var(--night), var(--night)) center / 12px 2px no-repeat,
    linear-gradient(var(--night), var(--night)) center / 2px 12px no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--orange); border-color: var(--orange);
}
.faq-list summary:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq-list summary:focus-visible { outline-offset: 4px; }
.faq-body { padding: 0 56px 28px 0; color: var(--night-soft); max-width: 40em; }

/* Contacto */
.contact { background: var(--night); color: var(--ivory); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px); align-items: start;
}
.contact h2 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.04em; }
.contact-copy p { color: rgba(251, 248, 241, .82); margin-top: 24px; max-width: 30em; font-size: 1.125rem; }
.contact-copy .contact-small { font-size: .9375rem; color: rgba(251, 248, 241, .66); }

.form {
  background: var(--ivory); color: var(--night);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 44px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-wide, .form-summary { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--night-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--night);
  background: var(--paper);
  border: 1.5px solid #B9B1A0;
  border-radius: 10px;
  padding: 13px 14px;
  min-height: 50px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 116px; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--night) 50%),
    linear-gradient(135deg, var(--night) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field input::placeholder { color: #8A8475; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--night-soft); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--night);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, .55);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: .875rem; color: var(--night-soft); margin: 0; }
.field-error { font-size: .875rem; font-weight: 600; color: var(--error); margin: 0; }
.field-error:empty { display: none; }

.form-summary {
  border: 2px solid var(--error); border-radius: 12px;
  padding: 16px 18px; background: #FFF4F1;
}
.form-summary-title { font-weight: 700; margin-bottom: 6px; color: var(--error); }
.form-summary ul { list-style: disc; padding-left: 20px; }
.form-summary a { color: var(--error); font-weight: 600; }

.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--night); flex: none; }
.check label { font-weight: 400; font-size: .9375rem; }
.privacy-pending { font-size: .875rem; color: var(--night-soft); margin: 0; }

.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.form-actions .btn { width: 100%; }
@media (min-width: 620px) { .form-actions .btn { width: auto; } }
.btn.is-loading .btn-label::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-status:empty { display: none; }
.form-status { border-radius: 12px; padding: 16px 18px; font-size: .9375rem; line-height: 1.5; }
.form-status:focus { outline: none; }
.form-status:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.form-status.is-pending { background: var(--ivory-2); border: 2px solid var(--night); }
.form-status.is-success { background: #E9F4EC; border: 2px solid var(--success); color: #12422A; }
.form-status.is-error { background: #FFF4F1; border: 2px solid var(--error); color: #6E1810; }
.form-status a { font-weight: 600; }

/* Pie */
.site-footer { background: var(--night); color: rgba(251, 248, 241, .78); padding: 0 0 48px; }
.footer-inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px 48px; align-items: baseline;
  padding-top: 40px;
  background: linear-gradient(var(--line-night), var(--line-night)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: .9375rem;
}
.logo-footer { color: var(--ivory); font-size: 1.25rem; margin: 0; }
.footer-text { margin: 0; max-width: 44em; }
.footer-copy { margin: 0; }
.footer-contact, .site-footer nav { grid-column: 2 / 3; margin: 0; }
.legal-list { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--ivory); text-underline-offset: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .step:nth-child(2)::before { right: 0; }
}

@media (max-width: 960px) {
  .hero-grid, .split, .about-grid, .contact-grid, .audit-grid { grid-template-columns: minmax(0, 1fr); }
  .split-head, .report { position: static; }
  .hero h1 { max-width: 12ch; }
  .demo, .report { max-width: 560px; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .audit-list { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { padding: 0 0 40px 76px; min-height: 96px; }
  .step:last-child { padding-bottom: 0; }
  .step::before, .step:nth-child(2)::before { left: 26px; right: auto; top: 56px; bottom: 0; width: 2px; height: auto; }
  .step:last-child::before { display: none; }
  .step-num { width: 54px; height: 54px; font-size: 1.5rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-contact, .site-footer nav { grid-column: auto; }
  .faq-body { padding-right: 0; }
}

@media (max-width: 420px) {
  .logo { font-size: 1.3125rem; }
  .demo, .report { padding: 18px 16px 20px; border-radius: 18px; }
  .report-bars li { grid-template-columns: minmax(0, 1fr) 3.2em; row-gap: 4px; }
  .report-name { grid-column: 1 / -1; }
  .demo-stage { padding-left: 34px; }
  .demo-num { left: -34px; }
  .demo-card div { flex-direction: column; gap: 0; }
  .demo-card dd { text-align: left; }
  .note { padding: 18px; }
}

/* ---------- Páginas legales ---------- */
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .wrap { display: flex; align-items: center; min-height: var(--header-h); }
.legal-body { max-width: 820px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--section); }
.legal-body h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.035em; margin-bottom: 12px; }
.legal-body h2 { font-size: 1.375rem; letter-spacing: -0.015em; margin: 40px 0 12px; }
.legal-body p, .legal-body li { color: var(--night-soft); }
.legal-updated { font-size: .9375rem; margin-bottom: 32px; }
.legal-data { display: grid; gap: 8px; margin: 0 0 1em; }
.legal-data strong { color: var(--night); }
.legal-body mark { background: #FFE9A8; color: var(--night); padding: 0 4px; border-radius: 3px; }
.legal-body a:not(.text-link) { text-decoration-color: var(--orange); text-underline-offset: 3px; }
.legal-back { margin-top: 48px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
