/* ==========================================================
   Holia Studio · estilos
   Mobile first: lo básico es para móvil; los @media amplían.
   Concepto: ámbar = lo humano · cian = la IA.
   ========================================================== */

/* ---------- Fuentes (alojadas en el propio servidor, sin Google) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/spacegrotesk-latin.woff2") format("woff2");
  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: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/spacegrotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/dmsans-latin.woff2") format("woff2");
  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: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/dmsans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Marca ---------- */
:root {
  /* Colores del cielo del vídeo (nubes crema y azul pálido) */
  --fondo: #ECE6DC;
  --superficie: #E1E5E6;
  --tarjeta: #F6F2EB;
  --linea: #D3CCC0;
  --texto: #15202E;
  --texto-suave: #4A5563;
  --humano: #8F4F00;   /* ámbar (oscurecido para leerse sobre claro) */
  --ia: #066482;       /* cian (oscurecido para leerse sobre claro) */
  --ia-hover: #0884AA;
  --sobre-color: #FFFFFF;   /* texto sobre botones de color */
  --error: #B3261E;
  --ok: #1E7A4C;

  --f-titulos: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texto: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radio: 20px;
  --radio-sm: 12px;
  --gutter: 20px;
  --max: 1120px;
  --max-narrow: 720px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--fondo);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--f-titulos);
  font-weight: 600;
  color: var(--texto);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ia); text-underline-offset: .15em; }
a:hover { color: var(--ia-hover); }

img, svg, canvas { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--ia);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--ia);
  color: var(--sobre-color);
  padding: .6em 1em;
  border-radius: var(--radio-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: var(--max-narrow); }

.text-ai { color: var(--ia); }
.text-human { color: var(--humano); }
.text-muted { color: var(--texto-suave); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 1.1em;
  font-family: var(--f-titulos);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ia);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ia);
  box-shadow: 0 0 12px var(--ia);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-family: var(--f-titulos);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease, color .2s ease;
}
.btn--primary {
  background: var(--ia);
  color: var(--sobre-color);
  box-shadow: 0 0 0 0 rgba(6, 100, 130, 0);
}
.btn--primary:hover {
  background: var(--ia-hover);
  color: var(--sobre-color);
  box-shadow: 0 0 32px rgba(6, 100, 130, .45);
}
.btn--primary:active { transform: translateY(1px); }
.btn--ghost {
  background: rgba(21, 32, 46, .04);
  border-color: rgba(21, 32, 46, .28);
  color: var(--texto);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(21, 32, 46, .08); color: var(--texto); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(236, 230, 220, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 32, 46, .08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  text-decoration: none;
}
.site-header__logo:hover { color: var(--texto); }
.site-header__logo img { height: 34px; width: auto; }
.site-header__name {
  font-family: var(--f-titulos);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -.02em;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
}
.lang__btn {
  min-width: 44px;
  min-height: 36px;
  padding: 0 .7em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--texto-suave);
  font: inherit;
  font-family: var(--f-titulos);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}
.lang__btn:hover { color: var(--texto); }
.lang__btn[aria-pressed="true"] { background: var(--texto); color: var(--fondo); }

/* Las páginas sin hero necesitan hueco para la cabecera fija */
body:not(.has-hero) main { padding-top: 64px; }

/* ==========================================================
   HERO 3D (scroll)
   La sección mide varias pantallas; dentro, .hero3d__sticky se queda
   fija mientras main.js avanza los fotogramas según el scroll.
   ========================================================== */
.hero3d {
  position: relative;
  height: 340vh;
  height: 340svh;
}
.hero3d__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--fondo);
}
.hero3d__poster,
.hero3d__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero3d__poster {
  object-fit: cover;
  object-position: 50% 30%;
}
/* Móvil en vertical: hay un vídeo vertical propio (assets/hero/v) que llena la pantalla */
@media (orientation: portrait) and (max-width: 899px) {
  .hero3d { height: 260vh; height: 260svh; }
  .hero3d__poster { object-position: 50% 30%; }
  .hero3d__shade {
    background:
      linear-gradient(to bottom, rgba(236, 230, 220, .7) 0%, rgba(236, 230, 220, 0) 14%),
      linear-gradient(to top, rgba(236, 230, 220, 1) 0%, rgba(236, 230, 220, .9) 38%, rgba(236, 230, 220, 0) 62%);
  }
  .hero3d__copy { bottom: max(28px, 4vh); }
  .hero3d__subtitle { font-size: 1rem; margin-bottom: 1.3em; }
  .hero3d__beats { bottom: max(64px, 10vh); }
}
.hero3d.is-ready .hero3d__poster { opacity: 0; }

/* Oscurece arriba y abajo para que el texto se lea sobre la imagen */
.hero3d__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(236, 230, 220, .85) 0%, rgba(236, 230, 220, 0) 22%),
    linear-gradient(to top, rgba(236, 230, 220, 1) 0%, rgba(236, 230, 220, .85) 32%, rgba(236, 230, 220, 0) 55%);
}

.hero3d__copy {
  position: absolute;
  left: 0; right: 0;
  bottom: max(40px, 6vh);
  z-index: 2;
  will-change: opacity, transform;
}
.hero3d__title {
  font-size: clamp(2.3rem, 9.5vw, 4.5rem);
  max-width: 13ch;
  margin-bottom: .35em;
}
.hero3d__subtitle {
  max-width: 34em;
  color: var(--texto-suave);
  font-size: 1.0625rem;
  margin-bottom: 1.6em;
}
.hero3d__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 720px) {
  .hero3d__title { max-width: none; }
  .hero3d__subtitle { font-size: 1.125rem; }
}

/* Frases que aparecen mientras las manos se acercan */
.hero3d__beats {
  position: absolute;
  left: 0; right: 0;
  bottom: max(80px, 12vh);
  z-index: 2;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  list-style: none;
  pointer-events: none;
}
.hero3d__beat {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  font-family: var(--f-titulos);
  font-weight: 600;
  font-size: clamp(1.75rem, 7vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

.hero3d__hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--f-titulos);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.hero3d__hint-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--ia), transparent);
  animation: hint 1.8s ease-in-out infinite;
  transform-origin: top;
}
@media (max-width: 719px) { .hero3d__hint { display: none; } }
@keyframes hint {
  0% { transform: scaleY(0); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Sin JS o con "reducir movimiento": hero normal de una pantalla con la imagen final */
.hero3d.is-static { height: auto; }
.hero3d.is-static .hero3d__sticky { position: relative; min-height: 100vh; min-height: 100svh; }
.hero3d.is-static .hero3d__beats,
.hero3d.is-static .hero3d__hint { display: none; }

/* ---------- Secciones ---------- */
.section { padding: 80px 0; position: relative; }
.section--surface {
  background: var(--superficie);
  border-top: 1px solid rgba(21, 32, 46, .04);
  border-bottom: 1px solid rgba(21, 32, 46, .04);
}
.section__title { font-size: clamp(1.9rem, 6.5vw, 3rem); max-width: 20ch; }

.lead { font-size: 1.1875rem; color: var(--texto-suave); }

.card {
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 24px;
  color: var(--texto);
}

/* Problema */
.problem__text {
  font-family: var(--f-titulos);
  font-weight: 600;
  font-size: clamp(1.6rem, 6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  max-width: 24em;
}

/* Cómo funciona */
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.steps__item { position: relative; overflow: hidden; }
.steps__num {
  display: block;
  margin-bottom: 20px;
  font-family: var(--f-titulos);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .1em;
  color: var(--ia);
}
.steps__title { font-size: 1.375rem; margin-bottom: .4em; }
.steps__item p { color: var(--texto-suave); }
.steps__item::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--humano), var(--ia));
  opacity: .7;
}

/* Demo */
.demo { padding: 24px; display: grid; gap: 20px; }
.demo__text { margin: 0; color: var(--texto-suave); }
.demo__call { justify-self: start; }
.demo__wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 64px;
}
.demo__wave span {
  width: 4px;
  height: 30%;
  border-radius: 4px;
  background: linear-gradient(to top, var(--humano), var(--ia));
  animation: wave 1.4s ease-in-out infinite;
}
.demo__wave span:nth-child(3n) { animation-delay: -.3s; }
.demo__wave span:nth-child(3n+1) { animation-delay: -.7s; }
.demo__wave span:nth-child(4n) { animation-delay: -1.1s; }
.demo__wave span:nth-child(5n) { animation-delay: -.5s; }
@keyframes wave {
  0%, 100% { height: 18%; }
  50% { height: 100%; }
}
/* La onda solo se mueve mientras suena el audio */
.demo:not(.is-playing) .demo__wave span { animation-play-state: paused; }

/* Qué incluye */
.features {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.feature__icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: var(--radio-sm);
  background: rgba(6, 100, 130, .1);
  border: 1px solid rgba(6, 100, 130, .25);
  fill: var(--ia);
}
.feature__title { font-size: 1.25rem; margin-bottom: .35em; }
.feature p { color: var(--texto-suave); }

/* ---------- Calculadora ---------- */
.calc { display: grid; gap: 32px; margin-top: 40px; }
.calc__controls { display: grid; gap: 28px; }

.field-range__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.field-range__head label { font-weight: 500; }
.field-range__value {
  flex: none;
  min-width: 3ch;
  text-align: right;
  font-family: var(--f-titulos);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ia);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --pct: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--ia) var(--pct), var(--linea) var(--pct));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--linea); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--ia); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--texto);
  border: 0;
  box-shadow: 0 0 0 4px rgba(6, 100, 130, .35), 0 0 18px rgba(6, 100, 130, .5);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--texto);
  border: 0;
  box-shadow: 0 0 0 4px rgba(6, 100, 130, .35), 0 0 18px rgba(6, 100, 130, .5);
}
input[type="range"]:focus-visible { outline-offset: 6px; }

.calc__result {
  position: relative;
  background: radial-gradient(120% 90% at 50% 0%, rgba(6, 100, 130, .14), transparent 60%), var(--superficie);
  border: 1px solid rgba(6, 100, 130, .25);
  border-radius: var(--radio);
  padding: 28px 24px;
  text-align: center;
}
.calc__result-text { font-size: 1.125rem; margin-bottom: .6em; }
.calc__amount {
  display: block;
  margin: .1em 0;
  font-family: var(--f-titulos);
  font-weight: 700;
  font-size: clamp(2.9rem, 13vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--humano);
  font-variant-numeric: tabular-nums;
}
.calc__note { font-size: .875rem; color: var(--texto-suave); margin-bottom: 1.4em; }

/* ---------- Tu equipo ---------- */
.eyebrow--human { color: var(--humano); }
.eyebrow--human::before { background: var(--humano); box-shadow: 0 0 12px var(--humano); }

.team { display: grid; gap: 40px; }
.team .lead { font-size: 1.125rem; }

.gains { border-color: rgba(143, 79, 0, .25); }
.gains__title { font-size: 1.25rem; margin-bottom: 1em; }
.gains__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gains__list li {
  position: relative;
  padding-left: 32px;
  color: var(--texto-suave);
}
.gains__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(143, 79, 0, .14);
  border: 1px solid rgba(143, 79, 0, .45);
}
.gains__list li::after {
  content: "";
  position: absolute;
  left: 7px; top: calc(.2em + 5px);
  width: 5px; height: 9px;
  border: solid var(--humano);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.gains__list .gains__owner {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--linea);
  color: var(--texto);
  font-weight: 500;
}
.gains__list .gains__owner::before,
.gains__list .gains__owner::after { top: calc(18px + .2em); }
.gains__list .gains__owner::after { top: calc(18px + .2em + 5px); }

/* ---------- Formulario ---------- */
.form { display: grid; gap: 20px; padding: 28px 24px; margin-top: 32px; }

.field { display: grid; gap: 6px; }
.field label, .field-group legend { font-weight: 500; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: .7em .9em;
  border: 1px solid #B5AD9F;
  border-radius: var(--radio-sm);
  background: var(--fondo);
  color: var(--texto);
  font: inherit;
}
.field input:focus-visible { outline-offset: 1px; border-color: var(--ia); }
.field input[aria-invalid="true"] { border-color: var(--error); }

.field-group { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; }
.field-group legend { padding: 0; margin-bottom: 2px; }
.field-group__hint { font-size: .9375rem; color: var(--texto-suave); margin: -8px 0 0; }

.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ia); }
.field--check label { font-weight: 400; }

.field__error { margin: -6px 0 0; color: var(--error); font-size: .9375rem; font-weight: 500; }

.form__status { margin: 0; padding: 14px 16px; border-radius: var(--radio-sm); font-weight: 500; }
.form__status--ok { background: rgba(30, 122, 76, .12); color: var(--ok); border: 1px solid rgba(30, 122, 76, .3); }
.form__status--error { background: rgba(179, 38, 30, .1); color: var(--error); border: 1px solid rgba(179, 38, 30, .3); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 32px; }
.faq__item {
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: var(--radio-sm);
}
.faq__item[open] { border-color: rgba(6, 100, 130, .3); }
.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-family: var(--f-titulos);
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radio-sm);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--linea);
  color: var(--ia);
  font-size: 1.25rem;
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 20px 20px; margin: 0; color: var(--texto-suave); }

/* ---------- Animación de entrada de secciones ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Pie ---------- */
.site-footer {
  border-top: 1px solid var(--linea);
  color: var(--texto-suave);
  padding: 32px 0;
  font-size: .9375rem;
}
.site-footer a { color: var(--texto); }
.site-footer a[href^="tel:"] { white-space: nowrap; }
.site-footer__inner { display: grid; gap: 8px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Páginas legales ---------- */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 7vw, 3rem); }
.legal h2 { font-size: 1.375rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--texto-suave); }
.legal strong { color: var(--texto); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .updated { font-size: .9375rem; }

/* ==========================================================
   Tablet y escritorio
   ========================================================== */
@media (min-width: 720px) {
  :root { --gutter: 32px; }

  .section { padding: 120px 0; }

  .steps, .features { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { padding: 32px; }
  .form { padding: 36px; }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 960px) {
  .team { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
  .calc { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; padding: 40px; }
  .calc__result { padding: 40px 32px; }
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 6px 24px rgba(21, 32, 46, .25);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid var(--ia); outline-offset: 3px; }
/* En móvil, hueco al final para que el botón no tape los enlaces del pie */
@media (max-width: 719px) { .site-footer { padding-bottom: 88px; } }
@media (min-width: 720px) { .wa-float { right: 24px; bottom: 24px; } }
