/* =====================================================================
   MALLAS ROGG | Landing premium
   Metodología: mobile first (base = móvil, se amplía con min-width)
   Tema: oscuro, bloqueado en toda la página (un solo acento: azul de marca)
   Radios (sistema único):  12px campos/chips · 22px tarjetas · pill botones
   Capas z-index (escala global): header 100 · menú 90 · wa 80 · progreso 110 · loader 1000
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  color-scheme: dark;

  /* Fondos (azul tinta, nunca negro puro) */
  --ink-950: #040812;
  --ink-900: #070d1b;
  --ink-850: #0a1224;
  --ink-800: #0e1830;
  --ink-700: #15233f;

  /* Marca: azul del logo */
  --brand-700: #1b4aa6;
  --brand-600: #2563c9;
  --brand-500: #3b7be0;
  --brand-400: #5b98f0;
  --brand-300: #8ec0f7;
  --brand-200: #bfdcfb;

  /* Texto */
  --text:   #e9f0fb;
  --text-2: #a9b8d1;
  --text-3: #8191ad;

  /* Líneas */
  --line:        rgba(143, 178, 235, .14);
  --line-strong: rgba(143, 178, 235, .28);

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

  /* Radios */
  --r-sm: 12px;
  --r-md: 22px;
  --r-pill: 999px;

  /* Layout */
  --gutter: clamp(20px, 5vw, 48px);
  --container: 1240px;
  --header-h: 68px;

  /* Movimiento */
  --ease:    cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  /* Capas */
  --z-header: 100;
  --z-menu: 90;
  --z-wa: 80;
  --z-progress: 110;
  --z-loader: 1000;
}

/* ---------- 2. RESET Y BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--ink-700) var(--ink-950);
}
body {
  background: var(--ink-900);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
address { font-style: normal; }
::selection { background: var(--brand-600); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-300); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Lenis (scroll suave) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Bloqueo de scroll mientras carga */
html.is-loading, html.is-loading body { overflow: hidden; }

/* ---------- 3. UTILIDADES ---------- */
.container { width: min(100% - (2 * var(--gutter)), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 48px; pointer-events: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: calc(var(--z-loader) + 1);
  padding: .8rem 1.2rem; background: var(--brand-600); color: #fff;
  border-radius: var(--r-pill); font-weight: 600; transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-300); margin-bottom: 1.2rem;
}
.h2 {
  font-size: clamp(2.05rem, 6.6vw, 4.1rem);
  line-height: 1.04; letter-spacing: -.038em; font-weight: 700;
  color: #fff; text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--brand-300); }
.lead {
  margin-top: 1.3rem; max-width: 38rem;
  font-size: clamp(1.02rem, 2.3vw, 1.18rem); color: var(--text-2);
}
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 6vw, 76px); }

/* ---------- 4. BOTONES ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .95rem 1.55rem; min-height: 50px;
  border-radius: var(--r-pill);
  font-size: .98rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.1;
  white-space: nowrap; text-align: center;
  translate: var(--tx) var(--ty);       /* propiedad independiente: no choca con el revelado (transform) */
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease), color .35s var(--ease),
              translate .35s var(--ease), transform .35s var(--ease);
}
.btn i { font-size: 1.15em; transition: transform .4s var(--ease); }
.btn:hover i.ph-arrow-up-right { transform: translate(3px, -3px); }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 56px; padding: 1.05rem 1.8rem; font-size: 1.02rem; }
.btn--sm { min-height: 42px; padding: .65rem 1.2rem; font-size: .9rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--brand-600); color: #fff;
  box-shadow: 0 14px 34px -14px rgba(37, 99, 201, .9), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary::before {              /* brillo que cruza el botón al pasar el cursor */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn--primary:hover { background: #2d6dd6; box-shadow: 0 18px 44px -12px rgba(59, 123, 224, .85), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn--primary:hover::before { transform: translateX(130%); }

.btn--ghost {
  background: rgba(255, 255, 255, .05); color: var(--text);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--brand-300); }

/* ---------- 5. LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: grid; place-items: center; color: var(--text);
}
.loader__panel {
  position: absolute; left: 0; right: 0; height: 50.2%;
  background: var(--ink-950);
  transition: transform 1.15s var(--ease-io);
}
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader::before {                     /* malla de rombos tenue, como un cerco visto de frente */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    repeating-linear-gradient(45deg, transparent 0 46px, rgba(142, 192, 247, .07) 46px 47px),
    repeating-linear-gradient(-45deg, transparent 0 46px, rgba(142, 192, 247, .07) 46px 47px);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 50%, #000, transparent 100%);
          mask-image: radial-gradient(60% 55% at 50% 50%, #000, transparent 100%);
  transition: opacity .5s ease;
}
.loader__core {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center;
  transition: opacity .5s ease, transform .7s var(--ease);
}
.loader__spinner { position: relative; width: 128px; height: 128px; display: grid; place-items: center; }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__ring--a { animation: spin 1.5s linear infinite; }
.loader__ring--b { animation: spin 12s linear infinite reverse; }
.loader__emblem { width: 62px; height: 62px; animation: emblemPulse 2.4s ease-in-out infinite; }
.loader__brand {
  display: flex; align-items: baseline; gap: .55rem; margin-top: 1.7rem;
  font-style: italic; line-height: 1;
}
.loader__brand span { font-size: .8rem; letter-spacing: .3em; color: var(--brand-300); font-weight: 400; }
.loader__brand strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.loader__meter {
  display: flex; align-items: center; gap: .9rem;
  width: min(250px, 66vw); margin-top: 1.5rem;
  font-family: var(--mono); font-size: .8rem; color: var(--brand-200);
}
.loader__bar { flex: 1; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(142, 192, 247, .18); }
.loader__bar i {
  display: block; height: 100%; width: 100%;
  transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
}
.loader__count { min-width: 3.4ch; text-align: right; }
.loader__count b { font-weight: 500; }
.loader__status { margin-top: 1rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: var(--text-3); }

.loader.is-leaving .loader__panel--top { transform: translateY(-100%); }
.loader.is-leaving .loader__panel--bottom { transform: translateY(100%); }
.loader.is-leaving .loader__core { opacity: 0; transform: scale(.92); }
.loader.is-leaving::before { opacity: 0; }
.loader.is-done { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes emblemPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* ---------- 6. PROGRESO DE LECTURA ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: var(--z-progress); pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-600), var(--brand-300));
}

/* ---------- 7. HEADER Y NAVEGACIÓN ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 60px;
  background: rgba(7, 13, 27, .72); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__emblem { width: 38px; height: 38px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand__emblem { transform: rotate(90deg); }
.brand__word { display: flex; flex-direction: column; line-height: 1; font-style: italic; }
.brand__word span { font-size: .64rem; letter-spacing: .34em; color: var(--brand-300); font-weight: 400; margin-bottom: .22rem; }
.brand__word strong {
  font-size: 1.42rem; font-weight: 800; letter-spacing: -.025em;
  background: linear-gradient(180deg, #fff, var(--brand-300));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.nav__links, .nav__cta { display: none; }
.nav__links a {
  position: relative; display: block; padding: .5rem .2rem;
  font-size: .9rem; font-weight: 500; color: var(--text-2);
  transition: color .3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px;
  background: var(--brand-400); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.burger { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(10, 18, 36, .5); z-index: calc(var(--z-menu) + 1); }
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Menú móvil: se abre como un círculo desde el botón */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink-950);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 46px, rgba(142, 192, 247, .05) 46px 47px),
    repeating-linear-gradient(-45deg, transparent 0 46px, rgba(142, 192, 247, .05) 46px 47px);
  clip-path: circle(0 at calc(100% - 43px) 34px);
  visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
  display: flex; align-items: center;
}
.menu.is-open { clip-path: circle(150vmax at calc(100% - 43px) 34px); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu__inner { width: min(100% - (2 * var(--gutter)), 560px); margin-inline: auto; display: flex; flex-direction: column; gap: 2.2rem; }
.menu__inner ul { display: flex; flex-direction: column; gap: .3rem; }
.menu__inner li a {
  display: block; padding: .35rem 0;
  font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; color: #fff;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.menu__inner li a:hover { color: var(--brand-300); }
.menu.is-open .menu__inner li a { opacity: 1; transform: none; }
.menu.is-open li:nth-child(1) a { transition-delay: .25s; }
.menu.is-open li:nth-child(2) a { transition-delay: .31s; }
.menu.is-open li:nth-child(3) a { transition-delay: .37s; }
.menu.is-open li:nth-child(4) a { transition-delay: .43s; }
.menu.is-open li:nth-child(5) a { transition-delay: .49s; }
.menu.is-open li:nth-child(6) a { transition-delay: .55s; }
.menu__foot { display: flex; flex-direction: column; gap: 1rem; opacity: 0; transition: opacity .6s var(--ease) 0s; }
.menu.is-open .menu__foot { opacity: 1; transition-delay: .65s; }
.menu__foot p { font-family: var(--mono); font-size: .85rem; color: var(--text-3); }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 36px) 0 64px;
  overflow: hidden;                  /* contiene los orbes de luz */
  clip-path: inset(0);               /* recorta el fondo fijo a esta sección (funciona también en iOS) */
}
.hero__bg {
  position: fixed; inset: 0; z-index: -4;
  background: var(--ink-900) url('img/hero-concertina-malla-gris.webp') 58% center / cover no-repeat;
  transform: scale(1.04);
}
.hero__tint { position: absolute; inset: 0; z-index: -3; background: #1b4fb3; mix-blend-mode: multiply; opacity: .55; }
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 8, 18, .82) 0%, rgba(4, 8, 18, .6) 38%, rgba(7, 13, 27, .78) 78%, var(--ink-900) 100%);
}
.hero__orb {
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  width: 70vmax; height: 70vmax; filter: blur(40px); will-change: transform;
}
.hero__orb--a { top: -35%; left: -25%; background: radial-gradient(circle, rgba(59, 123, 224, .42), transparent 62%); animation: orbA 19s ease-in-out infinite alternate; }
.hero__orb--b { bottom: -45%; right: -30%; background: radial-gradient(circle, rgba(142, 192, 247, .24), transparent 62%); animation: orbB 23s ease-in-out infinite alternate; }
@keyframes orbA { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(14%, 10%, 0) scale(1.18); } }
@keyframes orbB { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-12%, -8%, 0) scale(.92); } }

.hero__mesh {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  /* más tenue detrás del texto para no competir con la lectura */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.5) 42%, #000 78%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.5) 42%, #000 78%);
}

.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.hero__tag {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .42rem 1rem .42rem .5rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: rgba(10, 18, 36, .55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .84rem; font-weight: 500; color: var(--brand-200);
}
.hero__tag svg { width: 24px; height: 24px; }

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.3rem, 9vw, 4.9rem);
  line-height: 1.03; letter-spacing: -.042em; font-weight: 700; color: #fff;
  text-wrap: balance;
}
.line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.line__in { display: block; }

/* Frase rotativa: constante, vertical, sin cursor parpadeante */
.rotator { display: grid; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; color: var(--brand-300); }
.rotator__w {
  grid-area: 1 / 1; display: block;
  opacity: 0; transform: translateY(105%);
  transition: transform .95s var(--ease), opacity .6s ease;
}
.rotator__w.is-active { opacity: 1; transform: none; }
.rotator__w.is-prev { opacity: 0; transform: translateY(-105%); }

.hero__lead { margin-top: 1.6rem; max-width: 34rem; font-size: clamp(1.04rem, 2.4vw, 1.22rem); color: var(--text-2); }
.hero__cta { margin-top: 2.2rem; display: flex; flex-direction: column; gap: .8rem; width: 100%; }
.hero__cta .btn { width: 100%; }

/* Entrada del hero (se dispara cuando termina el loader) */
.js .hero__tag, .js .hero__lead, .js .hero__cta { opacity: 0; transform: translateY(26px); }
.js .line__in { transform: translateY(112%); }
.js .hero__bg { transform: scale(1.2); }
.is-ready .hero__bg { animation: heroSettle 2.6s var(--ease) both, heroBreathe 28s ease-in-out 2.6s infinite alternate; }
.is-ready .hero__tag { opacity: 1; transform: none; transition: opacity 1s var(--ease) .1s, transform 1s var(--ease) .1s; }
.is-ready .line__in { transform: none; transition: transform 1.3s var(--ease); }
.is-ready .line:nth-child(1) .line__in { transition-delay: .25s; }
.is-ready .line:nth-child(2) .line__in { transition-delay: .4s; }
.is-ready .hero__lead { opacity: 1; transform: none; transition: opacity 1s var(--ease) .7s, transform 1s var(--ease) .7s; }
.is-ready .hero__cta { opacity: 1; transform: none; transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s; }
@keyframes heroSettle { from { transform: scale(1.2); } to { transform: scale(1.04); } }
@keyframes heroBreathe { from { transform: scale(1.04); } to { transform: scale(1.11); } }

/* ---------- 9. CINTA DE SERVICIOS (único marquee) ---------- */
.ribbon { overflow: hidden; background: var(--ink-900); border-block: 1px solid var(--line); padding-block: 1.5rem; }
.ribbon__track { display: flex; width: max-content; animation: ribbon 55s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__list { display: flex; align-items: center; flex: none; }
.ribbon__list li {
  display: flex; align-items: center; white-space: nowrap;
  padding-left: 2.4rem;
  font-size: clamp(1.9rem, 5.2vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; color: var(--text);
}
.ribbon__list li::after {            /* rombo separador, eco de la malla */
  content: ''; flex: none; width: .3em; height: .3em; margin-left: 2.4rem;
  border: 2px solid var(--brand-500); transform: rotate(45deg);
}
.ribbon__list li.is-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(191, 220, 251, .5); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- 10. NOSOTROS ---------- */
.statement { background: var(--ink-900); padding-bottom: clamp(48px, 6vw, 90px); }
.statement__text {
  max-width: 26em;
  font-size: clamp(1.75rem, 5.6vw, 3.7rem);
  line-height: 1.12; letter-spacing: -.034em; font-weight: 600; color: #fff;
}
.facts { display: grid; gap: 0; margin-top: clamp(48px, 8vw, 96px); }
.fact {
  display: flex; flex-direction: column-reverse; gap: .5rem;
  padding-block: 1.6rem; border-top: 1px solid var(--line);
}
.fact__num {
  font-size: clamp(3.4rem, 10vw, 5.6rem); font-weight: 700; line-height: .95;
  letter-spacing: -.05em; color: var(--brand-300); font-variant-numeric: tabular-nums;
}
.fact__label { font-size: 1rem; color: var(--text-2); }

/* Revelado palabra por palabra (lo controla el script) */
.sw { transition: opacity .2s linear; }

/* ---------- 11. SERVICIOS (bento de 7 celdas) ---------- */
.services { padding-top: clamp(56px, 7vw, 100px); background: linear-gradient(180deg, var(--ink-900), var(--ink-850) 40%, var(--ink-900)); }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }

.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 340px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--ink-800);
  transition: border-color .5s var(--ease), transform .6s var(--ease);
}
.tile:hover { border-color: var(--line-strong); }
.tile::before {                       /* velo para que el texto siempre se lea */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0) 22%, rgba(4, 8, 18, .93) 100%);
}
.tile__media { position: absolute; inset: 0; z-index: -2; transition: transform 1.3s var(--ease); }
.tile:hover .tile__media { transform: scale(1.06); }
.tile__img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.tile__img--wire { object-position: 22% 28%; transform-origin: 22% 28%; }
.tile--a .tile__img { object-position: 50% 35%; }
.tile--b .tile__img { object-position: 50% 40%; }
.tile--e .tile__img { object-position: 50% 62%; }

.tile__body { width: 100%; padding: 1.6rem; padding-right: 4.6rem; }
.tile__icon { display: block; font-size: 1.6rem; color: var(--brand-300); margin-bottom: .9rem; }
.tile__title { font-size: 1.45rem; font-weight: 650; letter-spacing: -.025em; color: #fff; line-height: 1.15; }
.tile__body p { margin-top: .5rem; max-width: 36ch; font-size: .96rem; color: var(--text-2); }
.tile__link::after { content: ''; position: absolute; inset: 0; z-index: 3; }
.tile__go {
  position: absolute; right: 1.3rem; bottom: 1.3rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; color: #fff;
  border: 1px solid var(--line-strong); background: rgba(10, 18, 36, .55);
  transition: background-color .4s var(--ease), transform .5s var(--ease), border-color .4s;
}
.tile:hover .tile__go { background: var(--brand-600); border-color: var(--brand-400); transform: rotate(45deg); }

/* Celdas sin foto: arte en CSS puro */
.tile__art { position: absolute; inset: 0; z-index: -2; }
.tile--wire { background: radial-gradient(120% 90% at 100% 0%, rgba(59, 123, 224, .3), transparent 62%), var(--ink-850); }
.tile--wire .tile__art { background: repeating-linear-gradient(180deg, transparent 0 28px, rgba(142, 192, 247, .16) 28px 29px); }
.tile--wire .tile__art::after {       /* pulso eléctrico que recorre los cables */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(142, 192, 247, .95), transparent) no-repeat;
  background-size: 34% 100%; background-position: -50% 0;
  -webkit-mask-image: repeating-linear-gradient(180deg, transparent 0 28px, #000 28px 29px);
          mask-image: repeating-linear-gradient(180deg, transparent 0 28px, #000 28px 29px);
  animation: pulseX 3.4s linear infinite;
}
@keyframes pulseX { from { background-position: -50% 0; } to { background-position: 150% 0; } }

.tile--grid { background: linear-gradient(135deg, #0f2a5e 0%, var(--ink-850) 70%); }
.tile--grid .tile__art {
  background-image:
    linear-gradient(rgba(142, 192, 247, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 192, 247, .2) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(90% 90% at 80% 10%, #000, transparent 75%);
          mask-image: radial-gradient(90% 90% at 80% 10%, #000, transparent 75%);
  animation: gridDrift 16s linear infinite;
}
@keyframes gridDrift { to { background-position: 36px 36px; } }

.tile--g { min-height: 0; background: linear-gradient(120deg, #11306b, var(--ink-850) 62%); }
.tile--g::before { display: none; }
.tile__body--row { display: flex; flex-direction: column; gap: 1.4rem; padding: 1.8rem; padding-right: 1.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem .95rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04);
  font-size: .92rem; font-weight: 500; color: var(--text);
}
.chips i { color: var(--brand-300); font-size: 1.1rem; }

.cta-row { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; }
.cta-row .btn { width: 100%; }
.cta-row__note { font-size: .9rem; color: var(--text-3); }

/* Foco de luz que sigue al cursor (lo alimenta el script) */
.spot { --mx: 50%; --my: 50%; }
.spot::after {
  content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(142, 192, 247, .17), transparent 62%);
  opacity: 0; transition: opacity .5s ease;
}
.spot:hover::after { opacity: 1; }

/* ---------- 12. BANDA CON FOTO FIJA ---------- */
.band {
  position: relative; isolation: isolate; min-height: 82svh;
  display: grid; place-items: center; text-align: center;
  padding-block: 96px; clip-path: inset(0);
}
.band__bg {
  position: fixed; inset: 0; z-index: -2;
  background: var(--ink-900) url('img/cinta-privacidad-guinda.webp') 24% center / cover no-repeat;
}
.band__bg::after { content: ''; position: absolute; inset: 0; background: #1b4fb3; mix-blend-mode: multiply; opacity: .5; }
.band__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--ink-900) 0%, transparent 22%, transparent 78%, var(--ink-900) 100%),
    radial-gradient(75% 70% at 50% 50%, rgba(4, 8, 18, .5), rgba(4, 8, 18, .86));
}
.band__inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.band__title {
  max-width: 14ch; font-size: clamp(2.5rem, 9.4vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.045em; font-weight: 700; color: #fff; text-wrap: balance;
}
.band__text { max-width: 30rem; font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--text); }
.band__inner .btn { margin-top: .6rem; }

/* ---------- 13. CONFIGURADOR DE COLOR ---------- */
.colors { background: var(--ink-900); }
.colors__grid { display: grid; gap: 2.6rem; align-items: center; }
.colors__stage { margin: 0; }
.colors__frame {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--ink-800);
  box-shadow: 0 40px 80px -40px rgba(37, 99, 201, .55);
}
.colors__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.1);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.colors__img.is-active { opacity: 1; transform: scale(1); }
.colors__stage figcaption { margin-top: 1rem; font-size: .92rem; color: var(--text-3); }

.swatches { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.swatch {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .6rem 1.25rem .6rem .6rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03);
  font-size: 1rem; font-weight: 500; color: var(--text);
  transition: border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.swatch:hover { border-color: var(--brand-300); transform: translateY(-2px); }
.swatch__chip {
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .45), transparent 42%), var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.swatch.is-active { border-color: var(--brand-400); background: rgba(59, 123, 224, .16); box-shadow: 0 0 0 3px rgba(59, 123, 224, .22); }
.colors__cta { margin-top: 2rem; }
.colors__cta .btn { width: 100%; }

/* ---------- 14. PROCESO ---------- */
.process { background: var(--ink-850); border-block: 1px solid var(--line); overflow-x: clip; }
.process__pin { padding-block: clamp(88px, 12vw, 140px); }
.process__head { margin-bottom: clamp(32px, 5vw, 60px); }
.process__viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch;
}
.process__viewport::-webkit-scrollbar { display: none; }
.process__track { display: flex; gap: 14px; width: max-content; }
.step {
  position: relative; flex: 0 0 min(82vw, 360px); scroll-snap-align: start;
  min-height: 330px; padding: 1.8rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .8rem;
  border-radius: var(--r-md); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 35, 63, .75), rgba(10, 18, 36, .75));
}
.step__icon { position: absolute; top: 1.7rem; left: 1.8rem; font-size: 2.1rem; color: var(--brand-300); }
.step__title { font-size: clamp(1.9rem, 5vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; color: #fff; }
.step p { font-size: 1rem; color: var(--text-2); max-width: 30ch; }
.step--cta {
  justify-content: space-between; border-color: rgba(142, 192, 247, .35);
  background: linear-gradient(145deg, #1f52b6, #0f2860);
}
.step--cta .step__title { font-size: clamp(1.7rem, 4.4vw, 2.1rem); max-width: 12ch; }
.process__bar { display: none; height: 2px; margin-top: 2.4rem; background: var(--line); border-radius: 2px; overflow: hidden; }
.process__bar span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--brand-600), var(--brand-300)); }

/* Modo scroll horizontal fijado (lo activa el script en escritorio) */
.process.is-pan .process__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 96px 56px; }
.process.is-pan .process__viewport { overflow: visible; scroll-snap-type: none; padding-inline: 0; }
.process.is-pan .process__track {
  gap: 20px;
  padding-inline: calc((100% - min(100% - (2 * var(--gutter)), var(--container))) / 2);
}
.process.is-pan .step { flex-basis: clamp(320px, 29vw, 440px); min-height: 380px; }
.process.is-pan .process__bar { display: block; }

/* ---------- 15. POR QUÉ MALLAS ROGG ---------- */
.why { background: var(--ink-900); }
.why__grid { display: grid; gap: 3rem; }
.why__emblem { width: 76px; height: 76px; margin-bottom: 2rem; animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(37, 99, 201, .45)); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(4deg); } }
.why__list { display: grid; gap: 14px; }
.why-item {
  position: relative; overflow: hidden;
  display: flex; gap: 1.3rem; align-items: flex-start;
  padding: 1.8rem 1.5rem; border-radius: var(--r-md);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  transition: border-color .5s var(--ease), background-color .5s var(--ease);
}
.why-item:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.why-item__icon {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: var(--r-sm); font-size: 1.5rem; color: var(--brand-300);
  background: rgba(59, 123, 224, .14); border: 1px solid var(--line-strong);
}
.why-item h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -.025em; color: #fff; }
.why-item p { margin-top: .45rem; color: var(--text-2); }

/* ---------- 16. PREGUNTAS FRECUENTES ---------- */
.faq { background: var(--ink-850); }
.faq__wrap { max-width: 880px; }
.faq__list { display: grid; gap: 10px; margin-top: clamp(32px, 5vw, 56px); }
.faq-item { border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .4s, background-color .4s; }
.faq-item.is-open { border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  padding: 1.25rem 1.4rem; text-align: left; border-radius: var(--r-md);
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; color: #fff;
}
.faq-item__q i { flex: none; font-size: 1.1rem; color: var(--brand-300); transition: transform .5s var(--ease); }
.faq-item.is-open .faq-item__q i { transform: rotate(135deg); }
.faq-item__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease); }
.js .faq-item__a { grid-template-rows: 0fr; }
.js .faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding: 0 1.4rem 1.35rem; max-width: 62ch; color: var(--text-2); }
.faq__more { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; margin-top: 2.4rem; }
.faq__more p { font-size: 1.05rem; color: var(--text); font-weight: 500; }

/* ---------- 17. CONTACTO ---------- */
.contact { background: var(--ink-900); overflow: hidden; }
.contact::before {
  content: ''; position: absolute; top: -20%; right: -25%; width: 70vmax; height: 70vmax; pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 201, .22), transparent 62%);
}
.contact__grid { position: relative; display: grid; gap: 3rem; }
.channels { display: grid; gap: 10px; margin-top: 2.2rem; }
.channel {
  display: flex; align-items: center; gap: 1rem; padding: .95rem 1.1rem;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  color: #fff; font-weight: 500; transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .4s var(--ease);
}
.channel:hover { border-color: var(--brand-400); background: rgba(59, 123, 224, .12); transform: translateX(4px); }
.channel > i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); font-size: 1.3rem; color: var(--brand-300); background: rgba(59, 123, 224, .14); }
.channel span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.channel small { font-size: .78rem; font-weight: 400; color: var(--text-3); }
.address { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.6rem; color: var(--text-2); }
.address i { font-size: 1.4rem; color: var(--brand-300); margin-top: .1rem; }
.map { margin-top: 1.4rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--ink-800); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.75) contrast(.92) brightness(.92); }

/* Formulario */
.form {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 1.15rem;
  padding: 1.6rem; border-radius: var(--r-md); border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(21, 35, 63, .8), rgba(10, 18, 36, .9));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 50px 90px -50px rgba(37, 99, 201, .6);
}
.form__title { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.field-row { display: grid; gap: 1.15rem; }
.field label { font-size: .88rem; font-weight: 500; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: rgba(4, 8, 18, .6);
  color: #fff; font: inherit; font-size: 1rem; line-height: 1.4;
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-400); background: rgba(4, 8, 18, .85);
  box-shadow: 0 0 0 4px rgba(91, 152, 240, .22);
}
.select { position: relative; }
.select select { padding-right: 2.8rem; cursor: pointer; }
.select select option { background: var(--ink-800); color: #fff; }
.select i { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--brand-300); }
.field__hint { font-size: .82rem; color: var(--text-3); }
.field__error { display: none; font-size: .85rem; color: #ffb4b4; }
.field.has-error .field__error { display: block; }
.field.has-error input, .field.has-error select { border-color: #ff8f8f; }
.form__status { font-size: .88rem; color: var(--text-3); text-align: center; }
.form__status a { color: var(--brand-300); text-decoration: underline; text-underline-offset: 3px; }
.form__status.is-ok { color: var(--brand-200); }
.form .btn { margin-top: .4rem; }

/* ---------- 18. FOOTER ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink-950); border-top: 1px solid var(--line); padding-top: clamp(72px, 10vw, 128px); }
.footer__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line);
  font-size: clamp(2.1rem, 8vw, 5.8rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: #fff;
  transition: color .5s var(--ease);
}
.footer__cta i {
  flex: none; display: grid; place-items: center;
  width: 1.15em; height: 1.15em; border-radius: 50%; font-size: .62em;
  border: 1px solid var(--line-strong); transition: background-color .5s var(--ease), transform .6s var(--ease), border-color .5s;
}
.footer__cta:hover { color: var(--brand-300); }
.footer__cta:hover i { background: var(--brand-600); border-color: var(--brand-400); color: #fff; transform: rotate(45deg); }

.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 1.5rem; padding-block: clamp(40px, 6vw, 72px); }
.footer__brand, .footer__col--contact { grid-column: 1 / -1; }
.footer__brand p { margin-top: 1.2rem; max-width: 34ch; color: var(--text-3); }
.footer__col h2 { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-300); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: .65rem; }
.footer__col li { font-size: .95rem; color: var(--text-3); overflow-wrap: anywhere; }
.footer__col a { color: var(--text-2); transition: color .3s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-direction: column; gap: .5rem; padding-bottom: 2rem; font-size: .86rem; color: var(--text-3); }
.footer__mark {
  margin-top: 1rem; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font-size: clamp(2.6rem, 12.2vw, 13rem); font-weight: 800; font-style: italic; line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(142, 192, 247, .2);
  transform: translateY(14%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
}

/* ---------- 19. WHATSAPP FLOTANTE ---------- */
.wa {
  position: fixed; z-index: var(--z-wa);
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .8rem;
}
.wa__btn {
  position: relative; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem; color: #062613; background: #25d366;
  box-shadow: 0 16px 36px -10px rgba(37, 211, 102, .65);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.wa__btn:hover { transform: scale(1.08) translateY(-3px); box-shadow: 0 22px 44px -10px rgba(37, 211, 102, .8); }
.wa__btn i { position: relative; z-index: 1; }
.wa__ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(37, 211, 102, .55); animation: waRing 2.8s ease-out infinite; }
.wa__ring--2 { animation-delay: 1.4s; }
@keyframes waRing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }
.wa__tip {
  order: -1; max-width: 190px; padding: .7rem 1rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: rgba(10, 18, 36, .94);
  font-size: .9rem; font-weight: 500; color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateX(14px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.wa__tip.is-show { opacity: 1; transform: none; }
@media (max-width: 767px) { .wa__tip { display: none; } }

/* ---------- 20. REVELADO AL HACER SCROLL ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Titulares: cada palabra sube desde una máscara */
.sp { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.sp__in { display: inline-block; }
.js [data-split] .sp__in { transform: translateY(112%); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-split].is-in .sp__in { transform: none; }

/* ---------- 21. RESPONSIVE (mobile first: solo se amplía) ---------- */
@media (min-width: 600px) {
  .hero__cta { flex-direction: row; width: auto; }
  .hero__cta .btn { width: auto; }
  .cta-row .btn, .colors__cta .btn { width: auto; }
  .channels { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); column-gap: 2.4rem; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 380px; }
  .tile--a { grid-column: span 2; min-height: 440px; }
  .tile--a .tile__img { object-position: 50% 42%; }
  .tile--g { grid-column: span 1; min-height: 0; }
  .tile__body--row { height: 100%; justify-content: space-between; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .colors__grid { grid-template-columns: 1.15fr .85fr; gap: 4.5rem; }
  .why__grid { grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: start; }
  .why__intro { position: sticky; top: 120px; }
  .why-item { padding: 2rem 1.9rem; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .form { padding: 2.4rem; }
  .footer__cols { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
  .footer__brand, .footer__col--contact { grid-column: auto; }
}

@media (min-width: 1024px) {
  .nav__links { display: flex; align-items: center; gap: 1.6rem; }
  .nav__cta { display: inline-flex; }
  .burger, .menu { display: none; }
  .hero__veil {
    background:
      linear-gradient(90deg, rgba(4, 8, 18, .9) 0%, rgba(4, 8, 18, .62) 48%, rgba(4, 8, 18, .2) 100%),
      linear-gradient(180deg, rgba(4, 8, 18, .55) 0%, transparent 28%, transparent 72%, var(--ink-900) 100%);
  }
  .hero__title { font-size: clamp(3.2rem, 5.4vw, 4.9rem); }
  .hero__title .line__in, .hero__title .rotator__w { white-space: nowrap; }
}

@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; gap: 16px; }
  .tile { min-height: 300px; }
  .tile--a { grid-column: 1 / span 5; grid-row: 1 / span 2; min-height: 616px; }
  .tile--a .tile__img { object-position: 50% 24%; }
  .tile--b { grid-column: 6 / span 7; }
  .tile--c { grid-column: 6 / span 4; }
  .tile--d { grid-column: 10 / span 3; }
  .tile--e { grid-column: 1 / span 7; }
  .tile--f { grid-column: 8 / span 5; }
  .tile--g { grid-column: 1 / -1; min-height: 0; }
  .tile__body--row { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.2rem 2.6rem; }
  .tile__title { font-size: 1.6rem; }
}

@media (hover: none) {
  .spot::after { display: none; }
}

/* ---------- 22. PREFERENCIAS DEL USUARIO ---------- */
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled, .hero__tag, .btn--ghost, .form { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-scrolled { background: var(--ink-900); }
  .form { background: var(--ink-800); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .ribbon__track { animation: none; }
  .js [data-reveal], .js [data-split] .sp__in, .js .line__in,
  .js .hero__tag, .js .hero__lead, .js .hero__cta { opacity: 1; transform: none; }
}
