/* =========================================================
   ASEAX UNIVERSAL — hoja de estilos
   Concepto: del cristal sucio (intro) a un mundo limpio.
   Tipografía cinética condensada, secciones oscuras/claras
   alternadas y vidrio esmerilado en navegación y pestañas.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* Color */
  --night: #05090f;      /* fondo oscuro principal */
  --night-2: #0a1424;    /* superficies oscuras elevadas */
  --paper: #f2f5f8;      /* superficie clara */
  --white: #ffffff;
  --ink: #0a1e3a;        /* azul marino del logo */
  --ink-soft: #4a5b74;
  --mist: #a9bad0;       /* texto secundario sobre oscuro */
  --line: #d6dee8;
  --line-dark: rgba(255, 255, 255, .14);
  --blue: #1c8df2;       /* azul del logo */
  --blue-ink: #0b62c9;   /* azul AA sobre blanco */
  --glow: #5cc2ff;
  --wa: #25d366;
  --leaf: #4fae36;
  --danger: #ff7b72;

  /* Tipografía */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fs-small: .875rem;
  --fs-body: 1.0625rem;
  --fs-lede: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  --fs-h2: clamp(2.75rem, 1.5rem + 5vw, 6.5rem);
  --fs-hero: clamp(4rem, 1rem + 13vw, 15rem);

  /* Ritmo (escala de 8) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --sec: clamp(96px, 12vw, 176px);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Vidrio */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  --glass-border: rgba(255, 255, 255, .22);
  --glass-blur: blur(22px) saturate(170%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; color-scheme: dark light; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--white);
  background: var(--night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; }

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

.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;
}
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; left: var(--s-2); top: -64px; z-index: 300;
  background: var(--white); color: var(--ink); padding: 10px var(--s-2); border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-2); }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Tipografía display (condensada, estilo deportivo) ---------- */
.display, .sec-title, .hero-title, .marquee, .statement-text, .zones li, .step-n, .tab-panel h3 {
  font-stretch: 68%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .88;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--glow);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.sec-title { font-size: var(--fs-h2); }
.sec-lede { font-size: var(--fs-lede); color: var(--mist); max-width: 46ch; margin-top: var(--s-3); }
.sec-head { margin-bottom: clamp(40px, 6vw, 80px); display: grid; gap: var(--s-2); justify-items: start; }

.light { background: var(--paper); color: var(--ink); }
.light .sec-lede { color: var(--ink-soft); }
.light .eyebrow { color: var(--blue-ink); }

/* ---------- Vidrio ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 70px -30px rgba(0, 0, 0, .6);
}
.glass-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5));
  border-color: rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 24px 60px -24px rgba(10, 30, 58, .3);
  color: var(--ink);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; letter-spacing: .01em;
  transition: transform .35s var(--ease), background-color .2s, box-shadow .35s var(--ease), color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-wa { background: var(--wa); color: #04260f; box-shadow: 0 14px 34px -14px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #3be67c; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 14px 34px -14px rgba(28, 141, 242, .9); }
.btn-primary:hover { background: #3aa2ff; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .6); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* =========================================================
   CABECERA: barra de vidrio con indicador deslizante
   ========================================================= */
.site-header {
  position: fixed; inset: 12px 0 auto; z-index: 100;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.is-intro .site-header { opacity: 0; transform: translateY(-120%); pointer-events: none; }
.header-inner {
  width: min(var(--max), 100% - 24px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  height: 64px; padding: 0 10px 0 var(--s-2); border-radius: 999px;
  background: rgba(8, 16, 30, .72);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 16px 50px -20px rgba(0, 0, 0, .7);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-logo { height: 38px; width: auto; filter: brightness(1.5) drop-shadow(0 0 8px rgba(92, 194, 255, .45)); }
.brand-word { font-stretch: 115%; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: -.01em; }
.brand-word span { color: var(--glow); }

.tabs-track { position: relative; display: flex; gap: 2px; }
.tab-ind {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; pointer-events: none;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 20px -8px rgba(92, 194, 255, .6);
  opacity: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.tab-ind.is-on { opacity: 1; }
.nav a {
  position: relative; z-index: 1;
  text-decoration: none; font-weight: 600; font-size: .95rem; padding: 9px var(--s-2); border-radius: 999px;
  color: rgba(255, 255, 255, .78); transition: color .2s;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: var(--s-1); }
.lang {
  display: inline-grid; place-items: center; height: 44px; min-width: 44px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--glass-border);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-decoration: none;
  transition: background-color .2s;
}
.lang:hover { background: rgba(255, 255, 255, .12); }
.pill {
  display: inline-flex; align-items: center; gap: var(--s-1); height: 44px; padding: 0 18px;
  border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none;
}
.pill-wa { background: var(--white); color: var(--ink); }
.pill-wa svg { color: #128c4a; }
.pill-wa:hover { background: #e7f2ff; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* =========================================================
   INTRO: el scroll limpia el cristal y lo atravesamos
   ========================================================= */
.intro { position: relative; height: 420vh; height: 420svh; background: var(--night); }
.intro-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.intro-zoom {
  position: absolute; inset: 0; transform-origin: 50% 54%;
  will-change: transform, filter;
  background: var(--night) url("../video/intro-poster.jpg") center / cover no-repeat;
}
.intro-zoom video { width: 100%; height: 100%; object-fit: cover; }
.intro-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(3, 8, 16, .7) 100%);
}
.mirror-frame {
  position: absolute; left: 50%; top: 50%;
  width: min(78vw, 1100px); aspect-ratio: 16 / 9.5; max-height: 76vh;
  translate: -50% -50%; border-radius: 26px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 1px rgba(28, 141, 242, .35), inset 0 0 80px rgba(160, 215, 255, .18), 0 0 60px rgba(28, 141, 242, .25);
  opacity: 0; overflow: hidden; pointer-events: none; will-change: transform, opacity;
}
.mirror-sheen {
  position: absolute; inset: -40% -60%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .38) 48%, rgba(255, 255, 255, .08) 53%, transparent 60%);
  transform: translateX(var(--sheen, -60%));
}
.intro-light {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(60% 60% at 50% 46%, #fff 0%, #cfe9ff 40%, var(--night) 100%);
}
.intro-ui { position: absolute; inset: 0; pointer-events: none; }
.intro-hint {
  position: absolute; left: 0; right: 0; bottom: max(40px, 7vh);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; padding: 0 var(--s-2);
}
.intro-hint-title {
  font-stretch: 110%; font-weight: 600; font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
  padding: 12px 22px; border-radius: 999px;
  background: rgba(6, 16, 31, .35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .25);
}
.intro-mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 14px; position: relative; }
.intro-mouse i {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--white); border-radius: 2px; animation: wheel 1.6s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
.intro-skip {
  position: absolute; top: max(18px, env(safe-area-inset-top)); right: 18px; pointer-events: auto;
  text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .28);
  transition: background-color .2s, opacity .3s;
}
.intro-skip:hover { background: rgba(255, 255, 255, .24); }
.intro-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.intro-progress i {
  display: block; height: 100%; width: 100%; background: var(--blue);
  transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--blue);
}
/* Sin video (falló la carga o movimiento reducido): imagen final fija */
.intro-static .intro { height: 100vh; height: 100svh; }
.intro-static .intro-zoom { background-image: url("../video/intro-end.jpg"); }
.intro-static .intro-zoom video, .intro-static .intro-mouse, .intro-static .intro-progress { display: none; }

/* =========================================================
   HERO: imagen a sangre, titular gigante que se disuelve al bajar
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; align-items: end;
  padding: 140px 0 clamp(40px, 6vw, 72px);
}
.hero-bg { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero-bg picture, .contact-bg picture { height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 9, 15, .55) 0%, rgba(5, 9, 15, .1) 35%, rgba(5, 9, 15, .85) 100%),
    linear-gradient(90deg, rgba(5, 9, 15, .7) 0%, transparent 60%);
}
.hero-grid { display: grid; gap: var(--s-4); }
.hero-title { font-size: var(--fs-hero); will-change: transform, opacity, filter; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: block; }
.hero-title .line:nth-child(2) { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero-side { display: flex; justify-content: space-between; align-items: end; gap: var(--s-4) var(--s-5); flex-wrap: wrap; }
.hero-lede { font-size: var(--fs-lede); color: rgba(255, 255, 255, .86); max-width: 42ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card {
  position: absolute; right: var(--gutter); top: 120px;
  width: min(340px, calc(100% - 2 * var(--gutter)));
  padding: 22px var(--s-3); border-radius: var(--r-md); display: grid; gap: 6px;
}
.hero-card strong { font-stretch: 112%; font-size: 1.1rem; }
.hero-card span { font-size: .95rem; color: rgba(255, 255, 255, .8); line-height: 1.5; }
.hero-card a { margin-top: 6px; font-weight: 700; color: var(--glow); text-underline-offset: 4px; }

/* Entrada del hero al salir del cristal: la vista se “acomoda” tras el destello */
.js .hero-bg img { filter: brightness(1.9) saturate(.6); transform: scale(1.12); transition: filter 1.6s var(--ease), transform 2.2s var(--ease); }
.js .hero.is-in .hero-bg img { filter: none; transform: none; }
.js .hero-title .line > span { transform: translateY(105%); transition: transform 1.2s var(--ease); }
.js .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero-side, .js .hero-card { opacity: 0; transform: translateY(18px); transition: opacity .9s .4s, transform 1s .4s var(--ease); }
.js .hero.is-in .hero-title .line > span { transform: none; }
.js .hero.is-in .hero-side, .js .hero.is-in .hero-card { opacity: 1; transform: none; }

/* =========================================================
   MARQUESINA
   ========================================================= */
.marquee {
  overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line-dark);
  font-size: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); padding: var(--s-3) 0;
  background: var(--night);
}
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: .5em; padding-right: .5em; }
.marquee-track i { width: .28em; height: .28em; border-radius: 50%; background: var(--blue); box-shadow: 0 0 20px var(--blue); }
.marquee-track .o { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   DECLARACIÓN: palabras que se encienden y luego se disuelven
   ========================================================= */
.statement { position: relative; height: 240vh; height: 240svh; }
.statement-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 50%, rgba(28, 141, 242, .16), transparent 70%);
}
.statement-text {
  font-size: clamp(2.6rem, 1rem + 6.4vw, 8rem); text-align: center; max-width: 16ch;
  will-change: opacity, transform, filter;
}
.js .statement-text .w { opacity: .14; transition: opacity .25s linear; }
.js .statement-text .w.is-lit { opacity: 1; }
.statement-text .accent { color: var(--glow); }

/* =========================================================
   QUIÉNES SOMOS
   ========================================================= */
.about { padding-block: var(--sec); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid .sec-head { margin-bottom: 0; }
.about-badge { display: flex; align-items: baseline; gap: 12px; margin-top: var(--s-3); }
.about-badge strong { font-stretch: 68%; font-weight: 900; font-size: clamp(3.5rem, 2rem + 5vw, 7rem); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--blue-ink); }
.about-badge span { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.about-text { display: grid; gap: var(--s-2); font-size: var(--fs-lede); color: var(--ink-soft); }
.about-text p:first-child { color: var(--ink); font-weight: 500; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: clamp(48px, 7vw, 96px); }
.mv-card { padding: clamp(24px, 3.5vw, 48px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: var(--s-2); align-content: start; }
.mv-card h3 { font-stretch: 70%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); line-height: .9; color: var(--blue-ink); }
.mv-card p { color: var(--ink-soft); }
.mv-card-dark { background: var(--night); border-color: var(--night); }
.mv-card-dark h3 { color: var(--glow); }
.mv-card-dark p { color: rgba(255, 255, 255, .82); }
.values-head { margin-top: clamp(48px, 7vw, 96px); display: grid; gap: var(--s-1); max-width: 60ch; }
.values-head h3 { font-stretch: 85%; font-weight: 800; text-transform: uppercase; font-size: var(--fs-h3); }
.values-head p { color: var(--ink-soft); }
.values { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-3); }
.values li {
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--ink);
  font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); line-height: 1.1;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.values li:hover { background: var(--ink); color: var(--white); transform: translateY(-3px); }

/* =========================================================
   SERVICIOS: pestañas de vidrio sobre imagen a sangre
   ========================================================= */
.services { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--sec); min-height: 100svh; }
.serv-bg { position: absolute; inset: 0; z-index: -2; }
.serv-bg picture { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.serv-bg picture.is-active { opacity: 1; transform: none; }
.serv-bg img { width: 100%; height: 100%; object-fit: cover; }
.services::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 9, 15, .92) 0%, rgba(5, 9, 15, .7) 50%, rgba(5, 9, 15, .35) 100%),
              linear-gradient(0deg, rgba(5, 9, 15, .8), transparent 40%);
}
.tablist {
  display: inline-flex; padding: 6px; border-radius: 999px; max-width: 100%;
  overflow-x: auto; scrollbar-width: none; margin-bottom: var(--s-5);
}
.tablist::-webkit-scrollbar { display: none; }
.tablist .tab-ind { top: 6px; height: calc(100% - 12px); }
.tablist [role="tab"] {
  position: relative; z-index: 1; flex: none;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; white-space: nowrap;
  color: rgba(255, 255, 255, .72); transition: color .25s;
}
.tablist [role="tab"]:hover, .tablist [role="tab"][aria-selected="true"] { color: var(--white); }
.tab-panel { max-width: 640px; }
.tab-panel h3 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 6rem); margin-bottom: var(--s-3); }
.tab-panel p { font-size: var(--fs-lede); color: rgba(255, 255, 255, .85); max-width: 46ch; }
.tab-panel .btn { margin-top: var(--s-4); }
.tab-thumb { display: none; }
.js .tab-panel:not([hidden]) > * { animation: rise .8s var(--ease) both; }
.js .tab-panel:not([hidden]) > :nth-child(2) { animation-delay: .06s; }
.js .tab-panel:not([hidden]) > :nth-child(3) { animation-delay: .12s; }
.js .tab-panel:not([hidden]) > :nth-child(4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.no-js .tab-panel + .tab-panel { margin-top: var(--s-6); }

/* =========================================================
   PROCESO
   ========================================================= */
.process { padding-block: var(--sec); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); counter-reset: st; }
.step {
  padding: var(--s-4); border-radius: var(--r-lg); background: var(--white);
  border: 1px solid var(--line); display: grid; gap: var(--s-2); align-content: start;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 30, 58, .35); }
.step-n { font-size: clamp(4.5rem, 3rem + 4vw, 8rem); color: transparent; -webkit-text-stroke: 2px var(--blue); }
.step h3 { font-stretch: 85%; font-weight: 800; font-size: var(--fs-h3); text-transform: uppercase; line-height: 1.1; }
.step p { color: var(--ink-soft); }

/* =========================================================
   COBERTURA
   ========================================================= */
.coverage { padding-block: 0 var(--sec); }
.cov-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cov-grid .sec-head { margin-bottom: 0; }
.cov-phone {
  display: inline-block; margin-top: var(--s-2); font-stretch: 75%; font-weight: 900;
  font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); line-height: 1;
  text-decoration: none; color: var(--blue-ink); border-bottom: 3px solid currentColor; padding-bottom: 4px;
}
.cov-phone:hover { color: var(--ink); }
.zones li {
  font-size: clamp(2rem, 1.2rem + 3vw, 4rem); padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); transition: color .3s, padding-left .5s var(--ease);
}
.zones li:hover { color: var(--blue-ink); padding-left: 12px; }

/* =========================================================
   PREGUNTAS FRECUENTES
   ========================================================= */
.faq { padding-block: var(--sec); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-2);
  padding: var(--s-3) 0; font-weight: 700; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px;
  border-right: 2px solid var(--blue-ink); border-bottom: 2px solid var(--blue-ink);
  transform: rotate(45deg); transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { color: var(--ink-soft); padding-bottom: var(--s-3); max-width: 62ch; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { position: relative; padding-block: var(--sec); overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5, 9, 15, .95) 0%, rgba(5, 9, 15, .8) 45%, rgba(5, 9, 15, .45) 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact .sec-lede { margin-bottom: var(--s-4); }
.contact-lines { margin-top: var(--s-5); display: grid; gap: 14px; }
.contact-lines div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.contact-lines dt { color: var(--mist); font-size: var(--fs-small); padding-top: 3px; }
.contact-lines dd { font-weight: 600; overflow-wrap: anywhere; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--glow); }

.form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); display: grid; gap: var(--s-2); }
.form-title { font-stretch: 80%; font-weight: 900; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); text-transform: uppercase; line-height: 1; }
.form-note { color: var(--mist); font-size: .95rem; margin-top: -8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.field label { font-size: var(--fs-small); font-weight: 600; color: #d6e1ef; }
.opt { font-weight: 400; color: var(--mist); }
.field input, .field select, .field textarea {
  width: 100%; font-size: 1rem; color: var(--white);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-sm); padding: 13px 14px; min-height: 50px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option { color: var(--ink); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #7f93ad; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 3px rgba(28, 141, 242, .35);
}
.field.has-error input, .check.has-error .box { border-color: var(--danger); }
.err { color: #ffb4ad; font-size: .85rem; }
.err:empty { display: none; }

/* Autorizaciones (habeas data) */
.consents { border: 0; min-width: 0; display: grid; gap: 12px; padding-top: var(--s-1); border-top: 1px solid var(--line-dark); }
.consents legend { font-size: var(--fs-small); font-weight: 700; padding-top: var(--s-2); margin-bottom: 4px; color: #d6e1ef; }
.check { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; line-height: 1.5; color: #c9d6e6; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check .box {
  position: relative; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px;
  border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06);
  transition: background-color .2s, border-color .2s;
}
.check .box::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px;
  border-right: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(45deg) scale(0); transition: transform .2s var(--ease);
}
.check input:checked + .box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .box { outline: 3px solid var(--glow); outline-offset: 2px; }
.check a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }
.check-wrap { position: relative; }
.privacy-note { font-size: .8rem; line-height: 1.55; color: var(--mist); }
.privacy-note a { color: var(--white); }

.form-status { font-size: .95rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.ok { padding: 14px var(--s-2); border-radius: var(--r-sm); background: rgba(79, 174, 54, .18); border: 1px solid rgba(79, 174, 54, .5); }
.form-status.fail { padding: 14px var(--s-2); border-radius: var(--r-sm); background: rgba(255, 123, 114, .12); border: 1px solid rgba(255, 123, 114, .45); }
.form-status a { color: var(--white); font-weight: 700; }

/* =========================================================
   PIE
   ========================================================= */
.footer { background: var(--night); color: var(--mist); padding: 80px 0 var(--s-4); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-5); }
.footer-brand img { height: 84px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer h2 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer a { text-decoration: none; color: #e6edf6; }
.footer a:hover { color: var(--glow); }
.footer-big {
  font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .8;
  font-size: clamp(4rem, 1rem + 15vw, 17rem); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18);
  margin-top: var(--s-6); text-align: center; user-select: none; white-space: nowrap; overflow: hidden;
}
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: var(--s-4); padding-top: 22px; border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small); color: #7f93ad; padding-right: 72px;
}
.link-btn { color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--white); }

.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #04260f;
  box-shadow: 0 16px 36px -10px rgba(4, 38, 15, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .3s var(--ease), opacity .4s;
}
.wa-float:hover { transform: scale(1.07); }
.is-intro .wa-float { opacity: 0; transform: scale(.6); pointer-events: none; }

/* =========================================================
   APARICIÓN AL HACER SCROLL
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > :nth-child(2) { transition-delay: .1s; }
.js [data-reveal-stagger].is-in > :nth-child(3) { transition-delay: .2s; }
.js [data-reveal-stagger].is-in > :nth-child(4) { transition-delay: .3s; }
.js [data-reveal-stagger].is-in > :nth-child(5) { transition-delay: .4s; }
.js [data-reveal-stagger].is-in > :nth-child(n+6) { transition-delay: .5s; }

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */
.legal-page { background: var(--paper); color: var(--ink); }
.legal-head { background: var(--night); color: var(--white); padding: 150px 0 var(--s-6); }
.legal-head h1 { font-stretch: 70%; font-weight: 900; text-transform: uppercase; line-height: .9; font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); margin-top: var(--s-2); }
.legal-head p { color: var(--mist); margin-top: var(--s-2); }
.legal { padding-block: var(--s-6) var(--sec); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-stretch: 85%; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1.2; margin: var(--s-5) 0 var(--s-2); }
.legal-body h3 { font-size: 1.05rem; margin: var(--s-3) 0 var(--s-1); }
.legal-body p, .legal-body li { color: #22344f; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul, .legal-body ol { padding-left: 1.3em; display: grid; gap: 6px; margin-top: 12px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body a { color: var(--blue-ink); }
.legal-body table { width: 100%; border-collapse: collapse; margin-top: var(--s-2); font-size: .95rem; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body th { background: #e6ecf3; }
.legal-body .todo { background: #fff3c4; padding: 0 4px; border-radius: 4px; }
.legal-toc { margin-top: var(--s-3); padding: var(--s-3); border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.legal-page .site-header { color: var(--white); }
.legal-page .site-header .header-inner { background: rgba(8, 16, 30, .72); }
.legal-head .wrap { max-width: 760px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 9px 12px; }
  .brand-word { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 72px; left: 12px; right: 12px;
    padding: 10px; border-radius: var(--r-md);
    background: rgba(8, 16, 30, .82);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease);
  }
  .nav .tabs-track { flex-direction: column; }
  .nav .tab-ind { display: none; }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { display: block; padding: 14px var(--s-2); font-size: 1.05rem; }
  .nav a[aria-current="true"] { background: rgba(255, 255, 255, .1); }
  .brand-word { display: inline; }

  .cov-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid .sec-head { position: static; }
  .about-grid, .mv { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-card { position: static; margin-top: var(--s-4); }
  .hero { padding-top: 120px; }
  .tab-thumb { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: var(--s-3); }
  .tab-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .serv-bg { display: none; }
  .services::after { background: none; }
  .services { background: var(--night-2); min-height: 0; }
  .statement { height: 200vh; height: 200svh; }
}
@media (max-width: 430px) {
  .brand-word { display: none; }
}
@media (max-width: 560px) {
  .pill-wa span { display: none; }
  .pill-wa { width: 44px; padding: 0; justify-content: center; }
  .brand-logo { height: 32px; }
  .brand-word { font-size: .95rem; }
  .header-inner { padding-left: 12px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-title .line:nth-child(2) { -webkit-text-stroke-width: 1.5px; }
  .field-row, .footer-grid { grid-template-columns: 1fr; }
  .contact-lines div { grid-template-columns: 1fr; gap: 2px; }
  .step { padding: var(--s-3); }
}

/* Sin animaciones si el usuario lo pide: todo visible y estático */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro { height: 100vh; height: 100svh; }
  .intro-zoom { background-image: url("../video/intro-end.jpg"); }
  .intro-zoom video, .intro-mouse { display: none; }
  .statement { height: auto; }
  .statement-stage { position: static; height: auto; padding-block: var(--sec); }
  .marquee { white-space: normal; text-align: center; }
  .marquee-track { display: block; }
  .marquee-track span + span { display: none; }
}
