/* ==========================================================================
   Trasteros Urbanos — Home
   ========================================================================== */

:root {
  --azul: #4145A0;
  --rojo: #BF1A37;
  --amarillo: #F5B841;
  --amarillo-hover: #ffc95c;
  --navy: #14163F;
  --grad-iso: linear-gradient(160deg, #2E3192 0%, #4145A0 55%, #5A3C95 80%, #8A3570 100%); /* degradado del isotipo, dominante azul */
  --texto: #15172E;
  --texto-2: #3A3D5C;
  --gris: #5B5E7A;
  --gris-claro: #8A8CA5;
  --fondo: #F5F5FA;
  --fondo-2: #F1F1F8;
  --borde: #E4E4EF;
  --borde-2: #E1E1EE;
  --verde: #1C7A4A;
  --verde-bg: #E3F5EA;

  /* FuturaFuturisC no trae tildes ni ñ: esas letras salen de Futura (si está instalada) o Jost */
  --f-display: 'FuturaFuturisC', Futura, 'Futura PT', Jost, sans-serif;
  --f-body: Inter, system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--texto);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--azul); text-decoration: none; }
a:hover { color: var(--rojo); }
img { display: block; max-width: 100%; }

/* ---------- Utilidades ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.stack { display: flex; flex-direction: column; }
.display { font-family: var(--f-display); font-weight: 500; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--rojo);
}
.eyebrow--amarillo { color: var(--amarillo); }
.eyebrow--azul { color: var(--azul); }

.h2 {
  margin: 0; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(36px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.02em;
}
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--gris); text-wrap: pretty; }

.section { padding: var(--section-y) 0; }
.section--gris { background: var(--fondo); }
.section--blanco { background: #fff; }
.section--navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 64px);
}

/* Imágenes de fondo / huecos para foto */
.media { position: absolute; inset: 0; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 600; transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.btn--azul { background: var(--azul); color: #fff; padding: 16px 28px; }
.btn--azul:hover { background: var(--rojo); color: #fff; }
.btn--blanco { background: #fff; color: var(--navy); padding: 16px 28px; }
.btn--blanco:hover { background: var(--amarillo); color: var(--navy); }
.btn--outline { background: #fff; color: var(--navy); padding: 15px 24px; border: 1px solid #D6D6E6; }
.btn--outline:hover { border-color: var(--azul); color: var(--azul); }

.badge {
  align-self: flex-start;
  background: var(--amarillo); color: var(--navy);
  font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
}

.btn--amarillo { background: var(--amarillo); color: var(--navy); padding: 14px 26px; }
.btn--amarillo:hover { background: var(--amarillo-hover); color: var(--navy); }

/* Botón píldora con flecha (todos los botones con flecha) */
.btn-pill {
  display: inline-flex; align-items: center; gap: 16px; flex: none;
  background: #fff; color: var(--navy);
  padding: 6px 6px 6px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500;
  transition: background .25s, color .25s;
}
.btn-pill:hover { background: var(--amarillo); color: var(--navy); }
.btn-pill__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.btn-pill:hover .btn-pill__icon { transform: rotate(45deg); }
/* Cuando el botón es un <button> (formularios): quitar el borde y la fuente por defecto del navegador */
button.btn-pill { border: 0; cursor: pointer; font-family: var(--f-body); line-height: normal; -webkit-appearance: none; appearance: none; }
button.btn-pill:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-pill--dark { background: var(--navy); color: #fff; }
.btn-pill--dark .btn-pill__icon { background: #fff; color: var(--navy); }
.btn-pill--sm { gap: 10px; padding: 4px 4px 4px 18px; font-size: 14px; font-weight: 600; }
.btn-pill--sm .btn-pill__icon { width: 34px; height: 34px; font-size: 14px; }

/* Botón circular magnético */
.btn-circle {
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 500;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .25s;
  will-change: transform;
}
.btn-circle:hover { background: var(--azul); color: #fff; }

/* ==========================================================================
   01 HERO
   ========================================================================== */
.hero {
  /* Margen lateral amplio: el contenido llega casi hasta las líneas verticales */
  --hero-pad: clamp(20px, 5vw, 80px);
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff; background: var(--navy); overflow: hidden;
}
.hero__bg { position: absolute; inset: -40px 0; will-change: transform; background: var(--navy); }
/* Slider de fondo: fundido lento entre fotos con un zoom muy sutil (sin flechas ni puntos) */
.hero__bg img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--m, 60% 30%);
  opacity: 0; transform: scale(1);
  transition: opacity 2.2s ease, transform 0s linear 2.2s;
}
.hero__bg img.is-active {
  opacity: 1; transform: scale(1.06);
  transition: opacity 2.2s ease, transform 9s linear;
}
.hero__bg img:first-child { animation: hero-bg 1.6s cubic-bezier(.2, .8, .2, 1) both; }
/* Escritorio: cada foto lleva su encuadre (--w ancho, --l desplazamiento, --y altura)
   para que la caja y el móvil/tablet queden en el hueco entre el texto y las tarjetas */
@media (min-width: 1101px) {
  .hero__bg { container-type: size; }
  .hero__bg img {
    width: var(--w, 130%); max-width: none; left: var(--l, -30%);
    object-fit: var(--fit, cover); object-position: var(--pos, 50% var(--y, 20%));
    -webkit-mask-image: var(--mask, none); mask-image: var(--mask, none);
  }
  /* Foto completa (sin recorte): --ratio = ancho/alto de la foto, --x = posición horizontal (0 izquierda, 1 derecha).
     Sus bordes se funden con el fondo (--fl izquierdo, --fr derecho) */
  .hero__bg img.is-full {
    --iw: calc(var(--ratio, 1.5) * 100cqh);
    --a: calc((100% - var(--iw)) * var(--x, 1));
    --b: calc(var(--a) + var(--iw));
    --fit: contain; --pos: calc(var(--x, 1) * 100%) 50%;
    --mask: linear-gradient(90deg, transparent var(--a), #000 calc(var(--a) + var(--fl, 180px)), #000 calc(var(--b) - var(--fr, 0px)), transparent var(--b));
  }
}
/* Mismo filtro para la home y las cabeceras de las páginas internas */
.hero__overlay, .page-hero__overlay {
  background:
    linear-gradient(180deg, rgba(20,22,63,.55) 0%, rgba(20,22,63,.25) 40%, rgba(20,22,63,.7) 100%),
    linear-gradient(100deg, rgba(20,22,63,.75) 0%, rgba(65,69,160,.35) 100%);
}

/* Líneas verticales decorativas (pegadas a los bordes de la pantalla) */
.hero__lines {
  position: absolute; inset: 0 clamp(14px, 2.8vw, 52px); pointer-events: none; z-index: 1;
}
.hero__line {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: rgba(255,255,255,.16);
  transform-origin: top; animation: line-y 1.4s cubic-bezier(.65, 0, .35, 1) .1s both;
}
.hero__line--left { left: 0; }
.hero__line--right { right: 0; }

/* Nav: fija; se oculta al bajar y reaparece al subir */
.nav {
  --hero-pad: clamp(20px, 5vw, 80px);
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), background .3s, box-shadow .3s;
}
.nav.is-solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -18px rgba(20,22,63,.35);
}
.nav.is-solid .nav__line { background: rgba(20,22,63,.1); }
.nav.is-solid .nav__menu { border-color: rgba(20,22,63,.12); background: rgba(20,22,63,.03); }
.nav.is-solid .nav__link { color: var(--texto-2); }
.nav.is-solid .nav__link:hover, .nav.is-solid .nav__link[aria-current="page"] { background: var(--fondo-2); color: var(--navy); box-shadow: none; }
.nav.is-solid .nav__phone { background: var(--navy); color: #fff; }
.nav.is-solid .nav__phone:hover { background: var(--azul); color: #fff; }
.nav.is-hidden { transform: translateY(-100%); }
.nav:focus-within { transform: none; }
.nav__inner {
  max-width: 1840px; margin: 0 auto; padding: 22px var(--hero-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  animation: fade 1s ease .3s both;
  transition: padding .3s;
}
.nav.is-solid .nav__inner { padding-top: 12px; padding-bottom: 12px; }
.nav__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255,255,255,.16);
  transform-origin: left; animation: line-x 1.4s cubic-bezier(.65, 0, .35, 1) .2s both;
}
/* Logo completo arriba; al hacer scroll (nav sólida) se cambia por el isotipo */
.nav__logo { position: relative; display: block; flex: none; }
.nav__logo img { width: auto; transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.nav__logo-full { height: 64px; }
.nav__logo-iso { position: absolute; left: 0; top: 50%; height: 40px; opacity: 0; transform: translateY(-50%) scale(.8); }
.nav.is-solid .nav__logo-full { opacity: 0; transform: scale(.85); }
/* Con scroll la barra pasa a blanca y se muestra el isotipo a color */
.nav__logo-color { position: absolute; left: 0; top: 50%; height: 40px; opacity: 0; transform: translateY(-50%) scale(.85); }
.nav.is-solid .nav__logo-color { opacity: 1; transform: translateY(-50%); }
.nav.is-solid .nav__logo { height: 40px; width: 40px; }

.nav__menu {
  display: flex; align-items: center; gap: 4px;
  height: 64px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  border: 0; background: transparent; cursor: pointer;
  font: 400 16px var(--f-body); color: rgba(255,255,255,.85);
  transition: background .2s, color .2s;
}
.nav__link:hover { background: rgba(255,255,255,.12); color: #fff; }

.nav__phone {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 54px; padding: 0 24px; border-radius: 999px;
  background: #fff; color: var(--navy); font-size: 16px; font-weight: 500;
  transition: background .2s;
}
.nav__phone:hover { background: var(--amarillo); color: var(--navy); }

@media (max-width: 760px) {
  .nav__inner { padding: 16px var(--gutter); gap: 8px; }
  .nav.is-solid .nav__inner { padding: 10px var(--gutter); }
  .nav__logo-full { height: 48px; }
  .nav__logo-iso { height: 34px; }
  .nav__menu { height: 50px; padding: 0 4px; gap: 0; }
  .nav__link { height: 40px; padding: 0 12px; font-size: 14px; }
  .nav__phone { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .nav__phone span { display: none; }
  .nav.is-solid .nav__logo { height: 34px; width: 34px; }
  .nav__logo-color { height: 34px; }
}
@media (max-width: 440px) {
  .nav__link--contacto { display: none; }
}

/* Contenido hero */
.hero__content {
  position: relative; z-index: 2; flex: 1;
  width: 100%; max-width: 1840px; margin: 0 auto;
  padding: calc(108px + clamp(16px, 3vh, 48px)) var(--hero-pad) clamp(96px, 13vh, 120px);
  /* Texto a la izquierda, tarjetas a la derecha y la foto respirando en medio */
  display: grid; grid-template-columns: minmax(0, 640px) auto; justify-content: space-between; align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__copy > *, .mosaic .hcard { animation: rise 1s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) both; }
.hero__kicker { font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.hero__title {
  margin: 0; max-width: 820px;
  font-family: var(--f-display); font-weight: 700; /* FuturaFuturisC-Bold */
  font-size: clamp(42px, 4.3vw, 66px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
.hero__text {
  margin: 0; max-width: 620px;
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(255,255,255,.88); text-wrap: pretty;
}
.hero__cta { margin-top: 8px; }
/* Puntos clave bajo el CTA */
.hero__points {
  margin: 20px 0 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 26px;
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.9); white-space: nowrap; }
.hero__points svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--amarillo); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) {
  .hero__points { grid-template-columns: repeat(2, auto); gap: 12px 20px; }
  .hero__points li { white-space: normal; }
}

/* Mosaico de tarjetas y fotos */
.mosaic {
  display: grid; grid-template-columns: 370px 260px; gap: 16px; align-items: start;
  color: var(--texto);
}
.mosaic__col { display: flex; flex-direction: column; gap: 16px; }
.mosaic__col--down { margin-top: 140px; }
.hcard {
  border-radius: 26px; padding: 22px;
  background: #fff; box-shadow: 0 30px 60px -30px rgba(10,12,40,.55);
  display: flex; flex-direction: column; gap: 14px;
}
.hcard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hcard__label { font-size: 12px; color: var(--gris); }
.hcard__status {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--verde-bg); color: var(--verde); font-size: 11px; font-weight: 600;
}
.hcard__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hcard__price { font-family: var(--f-display); font-weight: 500; font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.hcard__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 4px; border-radius: 14px; background: var(--fondo-2); }
.hcard__tab {
  border: 0; background: transparent; cursor: pointer;
  padding: 9px 0; border-radius: 10px;
  font: 500 12.5px var(--f-body); color: var(--gris);
  transition: background .2s, color .2s, box-shadow .2s;
}
.hcard__tab:hover { color: var(--texto); }
.hcard__tab[aria-pressed="true"] { background: #fff; color: var(--azul); font-weight: 600; box-shadow: 0 2px 8px -4px rgba(10,12,40,.3); }
.hcard__size { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hcard__size strong { font-size: 15px; }
.hcard__size span { font-size: 12px; line-height: 1.4; color: var(--gris); }

/* Tarjeta de precio ampliada: ocupa toda la columna */
.hcard--precio { padding: 26px; gap: 18px; }
.hcard--precio .hcard__label { font-size: 13px; }
.hcard--precio .hcard__price { font-size: 36px; }
.hcard--precio .hcard__tab { padding: 11px 0; font-size: 13.5px; }
.hcard--precio .hcard__size strong { font-size: 17px; }
.hcard--precio .hcard__size span { font-size: 13px; }

/* Zona del tamaño: protagonista de la tarjeta de precio */
.hcard__stage {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 150px; padding: 20px; border-radius: 18px; background: var(--fondo-2);
}
.hcard--precio .hcard__size { gap: 4px; }
.hcard__size-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-claro); }
.hcard--precio .hcard__size strong { font-family: var(--f-display); font-weight: 700; font-size: 34px; white-space: nowrap; line-height: 1; letter-spacing: -.01em; color: var(--azul); }
.hcard--precio .hcard__size span:last-child { font-size: 13px; line-height: 1.45; color: var(--gris); max-width: 170px; }
.hcard__stage.is-swapping .hcard__size { animation: size-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes size-in { from { opacity: 0; transform: translateY(8px); } }
/* Plano: el cuadrado azul crece según el tamaño elegido */
.hcard__plan {
  flex: none; position: relative; width: 104px; height: 104px; border-radius: 12px;
  border: 1.5px dashed #C9CAE3; background: #fff;
}
.hcard__fill {
  position: absolute; left: 8px; bottom: 8px; width: calc((100% - 16px) * var(--fill) / 100); aspect-ratio: 1;
  border-radius: 6px; background: var(--azul);
  transition: width .5s cubic-bezier(.2, .8, .2, 1);
}
.hcard__cta { justify-content: space-between; padding: 5px 5px 5px 22px; font-size: 15px; font-weight: 600; }
.hcard__cta .btn-pill__icon { width: 38px; height: 38px; font-size: 15px; }

.hcard--dl { background: var(--azul); color: #fff; gap: 12px; }
.hcard--dl .hcard__label { color: rgba(255,255,255,.7); }
.hcard__dl-title { font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.08; letter-spacing: -.01em; }
.hcard__stores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.hcard__store {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; border-radius: 999px; background: #fff; color: var(--navy);
  font-size: 12px; font-weight: 600; white-space: nowrap;
  transition: background .2s;
}
.hcard__store:hover { background: var(--amarillo); color: var(--navy); }
.hcard__store svg { width: 15px; height: 15px; fill: currentColor; flex: none; }

.hcard--app { background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.12); }
.hcard--app .hcard__label { color: rgba(255,255,255,.65); }
.hcard__dot { width: 9px; height: 9px; border-radius: 50%; background: #34D17A; box-shadow: 0 0 0 4px rgba(52,209,122,.2); }
.hcard__open { font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1; }
.hcard__place {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.07);
}
.hcard__place svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--amarillo); stroke-width: 1.8; }
.hcard__place span { display: flex; flex-direction: column; font-size: 12px; color: rgba(255,255,255,.65); }
.hcard__place strong { font-size: 13px; color: #fff; font-weight: 600; }


@media (max-width: 1100px) {
  .hero__content { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); max-width: 640px; }
}
@media (max-width: 600px) {
  .hero__content { padding-top: calc(82px + 40px); }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic__col { display: contents; }
  .mosaic__col--down { margin-top: 0; }
}

/* Botón scroll */
.hero__bottom { position: relative; z-index: 2; }
.hero__scroll { position: relative; height: 1px; margin-bottom: clamp(64px, 9vh, 96px); display: flex; align-items: center; justify-content: center; }
.hero__scroll-line {
  position: absolute; top: 0; height: 1px; width: calc(50% - 68px);
  background: rgba(255,255,255,.16);
  animation: line-x 1.2s cubic-bezier(.65, 0, .35, 1) 1.2s both;
}
.hero__scroll-line--left { left: 0; transform-origin: right; }
.hero__scroll-line--right { right: 0; transform-origin: left; }
.hero__scroll-btn {
  position: absolute; top: 50%; left: 50%;
  width: 136px; height: 136px; margin: -68px 0 0 -68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: pop .9s cubic-bezier(.2, .8, .2, 1) 1.1s both;
  transition: background .25s;
}
.hero__scroll-btn:hover { background: rgba(255,255,255,.22); color: #fff; }

@media (max-width: 760px) {
  .hero__scroll-btn { width: 104px; height: 104px; margin: -52px 0 0 -52px; font-size: 13px; }
  .hero__scroll-line { width: calc(50% - 52px); }
}

/* ==========================================================================
   HERO VERSIÓN CLARA (index-white.html)
   Fondo blanco con la foto difuminada a la derecha; textos y botones en colores corporativos
   ========================================================================== */
.hero--white { background: #fff; color: var(--texto); }
.hero--white .hero__bg { background: #fff; }
.hero--white .hero__overlay {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,.55) 62%, rgba(255,255,255,.18) 100%),
    linear-gradient(180deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 24%, rgba(255,255,255,0) 70%, #fff 100%);
}
.hero--white .hero__line, .hero--white .hero__scroll-line { background: rgba(20,22,63,.1); }
.hero--white .hero__kicker { color: var(--rojo); font-weight: 600; }
.hero--white .hero__title { color: var(--navy); }
.hero--white .hero__accent { color: var(--azul); }
.hero--white .hero__text { color: var(--texto-2); }
.hero--white .hero__cta .btn-pill { background: var(--azul); color: #fff; }
.hero--white .hero__cta .btn-pill:hover { background: var(--navy); color: #fff; }
.hero--white .hero__cta .btn-pill__icon { background: var(--amarillo); color: var(--navy); }
.hero--white .hero__points { border-top-color: rgba(20,22,63,.12); }
.hero--white .hero__points li { color: var(--texto); }
.hero--white .hero__points svg { stroke: var(--azul); }
.hero--white .hcard { box-shadow: 0 30px 60px -30px rgba(20,22,63,.35); }
.hero--white .hcard--precio { border: 1px solid var(--borde); }
.hero--white .hero__scroll-btn {
  color: var(--navy); background: rgba(255,255,255,.75); border-color: rgba(20,22,63,.14);
}
.hero--white .hero__scroll-btn:hover { background: var(--fondo); color: var(--navy); }

/* Navegación clara (sobre fondo blanco) */
.nav--light .nav__line { background: rgba(20,22,63,.1); }
.nav--light .nav__menu { border-color: rgba(20,22,63,.12); background: rgba(255,255,255,.7); }
.nav--light .nav__link { color: var(--texto-2); }
.nav--light .nav__link:hover { background: var(--fondo); color: var(--navy); }
.nav--light .nav__phone { background: var(--navy); color: #fff; }
.nav--light .nav__phone:hover { background: var(--azul); color: #fff; }
.nav--light.is-solid { background: rgba(255,255,255,.9); box-shadow: 0 10px 30px -18px rgba(20,22,63,.35); }

/* ==========================================================================
   CABECERA DE PÁGINAS INTERNAS
   Foto a todo el ancho, título grande abajo a la izquierda y descripción a la derecha
   ========================================================================== */
.page-hero {
  --hero-pad: clamp(20px, 5vw, 80px);
  position: relative; min-height: clamp(560px, 88vh, 920px);
  display: flex; flex-direction: column;
  color: #fff; background: var(--navy); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: hero-bg 1.6s cubic-bezier(.2, .8, .2, 1) both; }
.page-hero__content {
  position: relative; z-index: 2; margin-top: auto;
  width: 100%; max-width: 1840px; margin-left: auto; margin-right: auto;
  padding: 160px var(--hero-pad) clamp(120px, 15vh, 150px);
}
.page-hero__content > * { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.page-hero__content > .page-hero__row { animation-delay: .15s; }
.page-hero__row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end; gap: clamp(28px, 5vw, 96px);
}
.page-hero__title {
  margin: 0; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(44px, 5.8vw, 92px); line-height: 1; letter-spacing: -.02em; text-wrap: balance;
}
.page-hero__text {
  margin: 0; justify-self: end; max-width: 520px;
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: rgba(255,255,255,.88); text-wrap: pretty;
}
/* Línea horizontal decorativa bajo el contenido */
.page-hero__line {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(64px, 9vh, 88px); height: 1px;
  background: rgba(255,255,255,.16);
  transform-origin: left; animation: line-x 1.4s cubic-bezier(.65, 0, .35, 1) .3s both;
}
.breadcrumb {
  display: flex; gap: 10px; margin-bottom: 22px;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--amarillo); }
.breadcrumb [aria-current] { color: #fff; }
@media (max-width: 860px) {
  .page-hero__row { grid-template-columns: 1fr; }
  .page-hero__text { justify-self: start; }
}

/* Intro de páginas internas: título a la izquierda, texto a la derecha, tarjetas de usos debajo */
.page-intro__inner { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.page-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.page-intro__head { display: flex; flex-direction: column; gap: 16px; }
.usos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uso {
  padding: 28px; border-radius: 22px; background: var(--fondo);
  display: flex; flex-direction: column; gap: 10px;
  transition: background .3s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.uso:hover { background: #EEEEF8; transform: translateY(-4px); }
.uso .feature__icon { margin-bottom: 8px; background: #fff; }
.uso__title { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 22px; }
.uso__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--gris); }
.galeria.galeria--page { padding-top: var(--section-y); }

/* Ventajas en páginas internas: columna fija con texto e imagen + rejilla con líneas */
.incl-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.incl-split__aside { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.incl-split__img { width: 100%; margin-top: 12px; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--fondo); }
.incl-split__img img { width: 100%; height: 100%; object-fit: cover; }
.incl-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--borde); border-left: 1px solid var(--borde);
}
.incl {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--borde); border-bottom: 1px solid var(--borde);
  transition: background .3s;
}
.incl:hover { background: var(--fondo); }
.incl .feature__icon { margin: 0; }
.incl__title { margin: 0 0 8px; font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.incl__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--gris); }
@media (max-width: 960px) {
  .incl-split { grid-template-columns: 1fr; }
  .incl-split__aside { position: static; }
}
@media (max-width: 560px) {
  .incl-grid { grid-template-columns: 1fr; }
}

/* Formulario de contacto: foto a la izquierda (sangrada) y formulario sobre azul oscuro */
.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; }
.cform {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--navy); color: #fff; padding: clamp(24px, 3vw, 40px) 0;
}
.cform__media { position: relative; min-height: 640px; border-radius: 0 28px 28px 0; overflow: hidden; background: rgba(255,255,255,.06); }
.cform__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cform__body { padding: clamp(40px, 6vw, 96px) clamp(24px, 6vw, 120px); align-self: center; max-width: 760px; }
.cform__title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 5vw, 76px); line-height: 1; letter-spacing: -.02em; }
.cform__lead { margin: 18px 0 40px; font-size: 18px; color: rgba(255,255,255,.85); }
.cform__form { display: flex; flex-direction: column; gap: 32px; }
.cform__group { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cform__group legend { padding: 0; margin-bottom: 14px; font-size: 16px; font-weight: 600; color: #fff; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform__field { display: block; }
.cform__field input, .cform__field select, .cform__field textarea {
  width: 100%; padding: 16px 20px; border-radius: 12px;
  font: 400 16px var(--f-body); color: #fff;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.16);
  transition: border-color .2s, background .2s;
}
.cform__field textarea { resize: vertical; min-height: 150px; }
.cform__field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='white' stroke-opacity='.7' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}
.cform__field select option { color: var(--texto); }
.cform__field ::placeholder { color: rgba(255,255,255,.55); }
.cform__field input:focus, .cform__field select:focus, .cform__field textarea:focus {
  outline: none; border-color: var(--amarillo); background: rgba(255,255,255,.07);
}
.cform__field .is-invalid, .cform__field input.is-invalid { border-color: #FF6B81; }
.cform__check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.8); cursor: pointer; }
.cform__check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--amarillo); flex: none; }
.cform__check a { color: #fff; text-decoration: underline; }
.cform__check.is-invalid span { color: #FF9AA9; }
.cform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cform__status { margin: 0; font-size: 14px; color: rgba(255,255,255,.8); }
.cform__status:empty { display: none; }
/* Aviso tras enviar: franja con icono (verde si se envió, roja si falló) */
.cform__status--ok, .cform__status--error {
  flex-basis: 100%; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 14px; border-left: 5px solid;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  animation: cform-aviso .4s cubic-bezier(.2,.8,.2,1);
}
.cform__status--ok::before, .cform__status--error::before {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 18px;
}
.cform__status--ok { background: var(--verde-bg); color: var(--verde); border-color: var(--verde); }
.cform__status--ok::before {
  background-color: var(--verde);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.cform__status--error { background: #FDE8EC; color: var(--rojo); border-color: var(--rojo); }
.cform__status--error::before {
  background-color: var(--rojo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.5'/%3E%3C/svg%3E");
}
@keyframes cform-aviso { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .cform__status--ok, .cform__status--error { animation: none; } }
@media (max-width: 960px) {
  .cform { grid-template-columns: 1fr; padding-top: 0; }
  .cform__media { min-height: 320px; border-radius: 0 0 28px 28px; }
}
@media (max-width: 560px) {
  .cform__row { grid-template-columns: 1fr; }
}

/* Cabecera de contacto: fondo azul oscuro con la navegación, foto sangrada a la izquierda y formulario */
.contact-hero { position: relative; background: var(--navy); color: #fff; padding-top: calc(108px + clamp(20px, 3vw, 40px)); }
.contact-hero .cform { position: relative; z-index: 2; padding: 0 0 clamp(48px, 6vw, 96px); }
/* Foto completa, sin recorte: la caja toma la proporción de la imagen y acompaña al scroll */
.contact-hero .cform__media { min-height: 0; aspect-ratio: 928 / 1152; align-self: start; position: sticky; top: 120px; }
.contact-hero .cform__body { align-self: start; padding-top: clamp(24px, 5vw, 88px); }
.contact-hero .cform__title { font-size: clamp(44px, 5.4vw, 84px); }
/* Líneas decorativas por encima de la foto (no se cortan) */
.contact-hero .hero__lines { z-index: 3; }
/* Línea horizontal inferior, entre la foto y el final de la cabecera */
.contact-hero .page-hero__line { bottom: clamp(24px, 2.8vw, 44px); }
.cform__crumb { margin-bottom: 22px; }
.cform__meta { margin: -24px 0 40px; font-size: 14px; color: rgba(255,255,255,.65); }
.cform__meta a { color: #fff; font-weight: 600; }
.cform__meta a:hover { color: var(--amarillo); }
@media (max-width: 960px) {
  .contact-hero .cform__media { min-height: 0; position: static; border-radius: 0 28px 28px 0; margin-right: var(--gutter); }
}

/* Tarjetas de contacto */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card {
  padding: 28px; border-radius: 22px; background: var(--fondo); color: var(--texto);
  display: flex; flex-direction: column; gap: 6px;
  transition: background .3s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
a.contact-card:hover { color: var(--texto); background: #EEEEF8; transform: translateY(-4px); }
.contact-card .feature__icon { margin-bottom: 14px; background: #fff; }
.contact-card__label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-claro); }
.contact-card__value { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.contact-card__note { font-size: 14px; color: var(--gris); }
.contact-card--dark { background: var(--grad-iso); color: #fff; position: relative; isolation: isolate; overflow: hidden; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
/* Hover: capa con un degradado más luminoso que aparece por encima del fondo */
.contact-card--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: linear-gradient(160deg, #4145A0 0%, #5257C8 50%, #7440A0 82%, #A8325E 100%);
}
a.contact-card--dark:hover { background: var(--grad-iso); color: #fff; box-shadow: 0 20px 40px -18px rgba(46, 49, 146, .7); }
a.contact-card--dark:hover::before { opacity: 1; }
/* La animación de entrada fija transform: none; aquí se recupera la elevación al pasar el ratón */
.js a.contact-card[data-reveal].is-visible:hover { transform: translateY(-4px); }
.contact-card--dark .feature__icon { background: rgba(255,255,255,.12); transition: background .3s; }
.contact-card--dark .feature__icon svg { stroke: #fff; transition: stroke .3s; }
a.contact-card--dark:hover .feature__icon { background: #fff; }
a.contact-card--dark:hover .feature__icon svg { stroke: var(--azul); }
.contact-card--dark .contact-card__label, .contact-card--dark .contact-card__note { color: rgba(255,255,255,.85); }

@media (max-width: 1100px) {
  .usos, .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .page-intro { grid-template-columns: 1fr; }
  .usos, .contact-cards { grid-template-columns: 1fr; }
}

/* Enlace del menú de la página actual */
.nav__link[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }

/* ==========================================================================
   02 INTRO
   ========================================================================== */
.intro { background: #fff; padding: clamp(110px, 12vw, 160px) 0 clamp(64px, 8vw, 104px); }
.intro__title {
  margin: 0; max-width: 1100px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -.02em;
  color: var(--texto);
}
.intro__t1 { color: #C9CAD6; }
.intro__t2 { color: #9C9EB2; }
.intro__row {
  margin-top: clamp(56px, 8vw, 120px);
  display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
}
.intro__copy { display: flex; flex-direction: column; gap: 28px; max-width: 560px; }
.intro__btn-wrap { padding: 40px; margin: -40px; }
/* Logo a color grande en lugar del botón circular */
.intro__brand { display: block; width: auto; height: clamp(140px, 14vw, 210px); }
.intro__avatars { display: flex; }
.intro__avatars img {
  width: 68px; height: 68px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; margin-left: -14px;
}
.intro__avatars img:first-child { margin-left: 0; }
/* Claim de la marca */
.intro__claim {
  margin: 0;
  font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.3;
  color: var(--navy);
}
.intro__claim span { color: var(--azul); }
.intro__copy .intro__claim + .intro__text { margin-top: -16px; }
.intro__text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--gris); }
.intro__logos {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
  justify-items: center;
}
.intro__logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 700; font-size: 21px; color: #A3A5B8;
  transition: color .25s;
}
.intro__logo:hover { color: var(--azul); }
.intro__logo svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Animaciones
   ========================================================================== */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(3rem); } }
@keyframes pop { from { transform: scale(0); } }
@keyframes line-x { from { transform: scaleX(0); } }
@keyframes line-y { from { transform: scaleY(0); } }
@keyframes hero-bg { from { filter: blur(30px); transform: scale(1.08); } }

/* Aparición al hacer scroll */
.js [data-reveal] {
  opacity: 0; filter: blur(5px); transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1), filter .9s;
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; filter: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; filter: none; transform: none; }
  html.js .extras { height: auto; }
}

/* ==========================================================================
   03 PRECIOS
   ========================================================================== */
.precios__inner { display: flex; flex-direction: column; gap: 48px; }
.precios__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.precios__intro { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }

.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.size {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 28px; border-radius: 24px;
  background: #fff; color: var(--texto); border: 1px solid var(--borde);
}
.size__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.size__m2 { font-size: 14px; font-weight: 600; opacity: .75; }
.size__box {
  height: 120px; border-radius: 16px; background: var(--fondo-2);
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 16px;
}
.size__fill { display: block; aspect-ratio: 1; border-radius: 6px; background: var(--azul); max-height: 88px; }
.size__name { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 32px; line-height: 1; }
.size__fits { margin: 0; font-size: 15px; line-height: 1.55; opacity: .8; flex: 1; }
.size__price { display: flex; align-items: baseline; gap: 6px; }
.size__price small { font-size: 14px; opacity: .7; }
.size__price strong { font-family: var(--f-display); font-size: 30px; font-weight: 500; }
.size__cta {
  text-align: center; padding: 14px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--navy); color: #fff; transition: opacity .2s;
}
.size__cta:hover { opacity: .88; color: #fff; }

.size--popular { background: var(--azul); color: #fff; border-color: var(--azul); }
.size--popular .size__box { background: rgba(255,255,255,.1); }
.size--popular .size__fill { background: var(--amarillo); }
.size--popular .size__cta { background: var(--amarillo); color: var(--navy); }
.size--popular .size__cta:hover { color: var(--navy); }

.precios__help { align-self: center; font-weight: 600; font-size: 16px; color: var(--azul); }

/* ==========================================================================
   04 INCLUYE
   ========================================================================== */
.incluye__inner { display: flex; flex-direction: column; gap: 56px; }
.incluye__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.incluye__intro { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }

/* Características: texto a los lados, imagen al centro */
.features {
  display: grid; grid-template-columns: 1fr 1.45fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: stretch;
}
.features__col { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; background: #EEEEF8;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--azul); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature__title { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 23px; letter-spacing: -.01em; }
.feature__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--gris); }
.features__img { border-radius: 24px; overflow: hidden; min-height: 520px; background: var(--fondo); }
.features__img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) {
  .features { grid-template-columns: 1fr 1fr; }
  .features__img { grid-column: 1 / -1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   04b FURGONETA Y RECOGIDA
   Sección fija mientras se hace scroll: dos paneles entran desde los lados
   y tapan la foto. JS fija --slide (0→1) y --content (0→1).
   ========================================================================== */
.extras { --slide: 1; --content: 1; --g: clamp(12px, 2vw, 30px); position: relative; background: #fff; color: #fff; }
.js .extras { height: 280vh; --slide: 0; --content: 0; }
.extras__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* Tarjeta central con la foto: se estrecha a medida que entran los paneles
   (siempre a --g de distancia de ellos) hasta desaparecer entre los dos */
.extras__intro {
  --edge: max(var(--g), calc(var(--slide) * (50% + var(--g) / 2)));
  position: absolute; top: var(--g); bottom: var(--g); left: var(--edge); right: var(--edge);
  border-radius: clamp(18px, 1.8vw, 28px); overflow: hidden; background: var(--navy);
  opacity: calc((1 - var(--slide)) * 25);
}
/* Foto y texto con el ancho de la pantalla: se recortan, no se deforman */
.extras__intro .media { left: 50%; right: auto; width: 100vw; transform: translateX(-50%); }
.extras__intro .overlay { background: linear-gradient(180deg, rgba(20,22,63,.86), rgba(20,22,63,.78)); }
.extras__intro-body {
  position: absolute; top: 50%; left: 50%; width: min(900px, 100vw);
  translate: -50% -50%; padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
  transform: scale(calc(1 - var(--slide) * .08));
}
.extras__title {
  margin: 0; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance;
}

.extras__panel {
  position: absolute; top: var(--g); bottom: var(--g); width: calc(50% - var(--g) * 1.5);
  display: flex; align-items: flex-end; overflow: hidden;
  border-radius: clamp(18px, 1.8vw, 28px);
  will-change: transform;
}
.extras__panel--left { left: var(--g); background: var(--azul); transform: translateX(calc((var(--slide) - 1) * (100% + var(--g) * 2))); }
.extras__panel--right { right: var(--g); background: var(--rojo); transform: translateX(calc((1 - var(--slide)) * (100% + var(--g) * 2))); }
.extras__panel--left::after, .extras__panel--right::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.extras__panel--left::after { background: linear-gradient(180deg, rgba(65,69,160,.2) 0%, rgba(65,69,160,.45) 40%, rgba(20,22,63,.94) 100%); }
.extras__panel--right::after { background: linear-gradient(180deg, rgba(191,26,55,.2) 0%, rgba(191,26,55,.45) 40%, rgba(80,10,25,.94) 100%); }
.extras__panel .media img { transform: scale(calc(1.12 - var(--slide) * .12)); }

.extras__body {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  padding: clamp(28px, 5vw, 72px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  opacity: var(--content); transform: translateY(calc((1 - var(--content)) * 32px));
}
.extras__panel--right .extras__body { margin-left: auto; }
.extras__icon {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
}
.extras__icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.extras__panel-title { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.02em; }
.extras__panel-text { margin: 0 0 8px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 420px; }

/* Móvil: los paneles entran desde arriba y desde abajo */
@media (max-width: 760px) {
  .extras__panel { width: auto; left: var(--g); right: var(--g); }
  .extras__intro {
    --edge: max(var(--g), calc(var(--slide) * (50% + var(--g) / 2)));
    left: var(--g); right: var(--g); top: var(--edge); bottom: var(--edge);
  }
  .extras__panel--left { top: var(--g); bottom: calc(50% + var(--g) / 2); transform: translateY(calc((var(--slide) - 1) * (100% + var(--g) * 2))); }
  .extras__panel--right { top: calc(50% + var(--g) / 2); bottom: var(--g); transform: translateY(calc((1 - var(--slide)) * (100% + var(--g) * 2))); }
  .extras__body { gap: 10px; padding: 24px var(--gutter); }
  .extras__icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 0; }
  .extras__icon svg { width: 24px; height: 24px; }
  .extras__panel-text { font-size: 15px; margin-bottom: 4px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .extras__icon { display: none; }
}


/* ==========================================================================
   05 CÓMO FUNCIONA
   ========================================================================== */
.pasos__grid { gap: clamp(40px, 6vw, 80px); align-items: center; }
.pasos__copy { display: flex; flex-direction: column; gap: 32px; }
.pasos__head { display: flex; flex-direction: column; gap: 16px; }
.pasos__list { display: flex; flex-direction: column; }
.paso {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14);
}
.paso__n { font-family: var(--f-display); font-size: 40px; line-height: 1; color: var(--amarillo); }
.paso__body { display: flex; flex-direction: column; gap: 6px; }
.paso__title { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 24px; }
.paso__text { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.75); }
.pasos__copy .btn-pill { align-self: flex-start; }
.pasos__photo {
  position: relative; aspect-ratio: 4 / 5; max-height: 640px;
  border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.06);
}

/* ==========================================================================
   06 QUÉ TAMAÑO
   ========================================================================== */
.tamano__grid { align-items: start; }
.tamano__copy { display: flex; flex-direction: column; gap: 24px; }
.situations { display: flex; flex-direction: column; gap: 10px; }
.situation {
  text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 22px; border-radius: 16px; font: 500 16px var(--f-body);
  background: #fff; color: var(--texto); border: 1px solid var(--borde-2);
  transition: background .2s, color .2s, border-color .2s;
}
.situation::after { content: "○"; font-size: 18px; }
.situation.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.situation.is-active::after { content: "●"; }

.rec {
  background: var(--azul); color: #fff; border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 24px; min-height: 100%;
}
.rec__label { font-size: 14px; color: rgba(255,255,255,.75); }
.rec__size { font-family: var(--f-display); font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 500; }
.rec__m2 { font-size: 22px; color: var(--amarillo); font-weight: 600; }
.rec__bars {
  height: 180px; border-radius: 20px; background: rgba(255,255,255,.08);
  border: 1px dashed rgba(255,255,255,.3);
  display: flex; align-items: flex-end; padding: 20px; gap: 12px;
}
.rec__bar { flex: 1; border-radius: 8px; background: rgba(255,255,255,.15); transition: background .25s; }
.rec__bar.is-on { background: var(--amarillo); }
.rec .btn--blanco { align-self: flex-start; }
.rec__help { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.8); }
.rec__help a { color: var(--amarillo); font-weight: 600; }

/* ==========================================================================
   07 PARTICULARES / EMPRESAS
   ========================================================================== */
.segmentos { background: #fff; color: var(--texto); }
.segmentos__inner { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.segmentos__head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.segmentos__title {
  margin: 0; max-width: 900px;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.02em;
}
/* Palabras que se iluminan al hacer scroll (JS fija --lit en cada una) */
.segmentos__title .w { color: rgba(21,23,46, calc(.16 + var(--lit, 1) * .84)); transition: color .2s linear; }

.segmentos__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.segmento {
  position: relative; color: #fff; min-height: clamp(520px, 50vw, 680px);
  border-radius: 24px; overflow: hidden; background: var(--navy);
  display: flex; align-items: flex-end;
}
.segmento .media img { object-position: 50% 25%; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.segmento.is-active .media img { transform: scale(1.04); }
.segmento .overlay { background: linear-gradient(180deg, rgba(20,22,63,0) 25%, rgba(20,22,63,.55) 55%, rgba(14,16,48,.96) 100%); }

.segmento__body {
  position: relative; z-index: 1; width: 100%;
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 14px;
}
.segmento__text {
  margin: 0; max-width: 420px;
  font-family: var(--f-body); font-weight: 400; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.88);
}
/* El botón solo se muestra en la tarjeta activa: se pliega y sube al activarse */
.segmento__cta {
  display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(24px);
  transition: grid-template-rows .5s cubic-bezier(.2, .8, .2, 1), opacity .35s, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.segmento__cta > * { min-height: 0; overflow: hidden; }
.segmento.is-active .segmento__cta { grid-template-rows: 1fr; opacity: 1; transform: none; }
.segmento__cta .btn-pill { margin-top: 8px; justify-content: space-between; }

.btn-pill--amarillo { background: var(--amarillo); color: var(--navy); font-weight: 600; }
.btn-pill--amarillo:hover { background: var(--amarillo-hover); color: var(--navy); }

/* Móvil / táctil: ambas tarjetas abiertas */
@media (max-width: 860px), (hover: none) {
  .segmento .segmento__cta { grid-template-rows: 1fr; opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .segmentos__cards { grid-template-columns: 1fr; }
  .segmento { min-height: 480px; }
}

/* ==========================================================================
   07b GALERÍA
   ========================================================================== */
.galeria { padding-top: 0; }
.galeria__inner { display: flex; flex-direction: column; }
.galeria__head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.galeria__head--center { align-items: center; text-align: center; margin: 0 auto; }
.galeria__grid {
  /* Mosaico tipo bento a todo el ancho: solo fotos */
  margin-top: 40px; padding: 0 clamp(12px, 1.6vw, 24px);
  display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: clamp(170px, 15vw, 290px);
  gap: clamp(10px, 1.2vw, 18px);
}
.galeria__item {
  position: relative; overflow: hidden; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 18px; background: var(--fondo);
}
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.galeria__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(20,22,63,.35)); opacity: 0; transition: opacity .4s;
}
.galeria__item:hover img, .galeria__item:focus-visible img { transform: scale(1.05); }
.galeria__item:hover::after { opacity: 1; }
.galeria__item:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
/* Colocación: una banda de 2 filas con la foto grande en el centro */
.g-a   { grid-area: 1 / 1; }
.g-big { grid-area: 1 / 2 / 3 / 4; }
.g-c   { grid-area: 1 / 4 / 2 / 6; }
.g-d   { grid-area: 2 / 1; }
.g-e   { grid-area: 2 / 4; }
.g-f   { grid-area: 2 / 5; }
@media (max-width: 760px) {
  .galeria__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .galeria__item { border-radius: 12px; grid-area: auto; }
  .g-big { grid-column: span 2; grid-row: span 2; }
  .galeria__grid { grid-auto-flow: dense; }
  .g-c { grid-column: span 2; }
}

/* Visor de fotos */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10,11,32,.95); color: #fff; overflow: hidden;
}
.lightbox[open] { display: block; animation: fade .3s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox__viewport { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.lightbox__viewport.is-dragging { cursor: grabbing; }
/* Carril de 3 fotos; la del centro es la visible. Al pasar se desliza con suavidad */
.lightbox__track {
  display: flex; height: 100%; width: 300%;
  transform: translate3d(calc(-100% / 3 + var(--dx, 0px)), 0, 0);
  transition: transform .55s cubic-bezier(.22, .8, .24, 1);
}
.lightbox__viewport.is-dragging .lightbox__track, .lightbox__track.no-anim { transition: none; }
.lightbox__slide {
  flex: none; width: calc(100% / 3); margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 72px 88px;
}
.lightbox__slide img {
  max-width: min(1200px, 100%); max-height: calc(100vh - 170px); border-radius: 14px; object-fit: contain;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); pointer-events: none;
}
.lightbox__slide figcaption { font-size: 15px; color: rgba(255,255,255,.8); text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 20px; right: 20px; width: 48px; height: 48px; font-size: 28px; }
.lightbox__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 32px; line-height: 1; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__count { position: absolute; z-index: 2; top: 32px; left: 28px; font-size: 14px; color: rgba(255,255,255,.7); letter-spacing: .08em; }
@media (max-width: 760px) {
  .lightbox__slide { padding: 72px 12px 96px; }
  .lightbox__nav { top: auto; bottom: 24px; margin-top: 0; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}

/* ==========================================================================
   08 DÓNDE ESTAMOS
   ========================================================================== */
.donde__grid { align-items: stretch; }
.donde__copy { display: flex; flex-direction: column; gap: 24px; }
.donde__copy .lead { font-size: 17px; }
.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zone { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--borde-2); font-size: 14px; font-weight: 500; }
.address { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--borde-2); }
.address small { font-size: 13px; color: var(--gris); }
.address strong { font-weight: 600; font-size: 16px; }
.donde__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.donde__btns .btn--azul { padding: 15px 24px; }
.map { min-height: 440px; border-radius: 28px; overflow: hidden; background: var(--borde); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: saturate(.8); }

/* ==========================================================================
   09 OPINIONES
   ========================================================================== */
.opiniones__inner { display: flex; flex-direction: column; gap: 40px; }
.opiniones__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.opiniones__title { display: flex; flex-direction: column; gap: 12px; }
.rating { font-size: 17px; color: var(--gris); }
.rating strong { color: var(--texto); }
.rating .star { color: var(--amarillo); }
.opiniones__all { font-weight: 600; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.review { margin: 0; padding: 32px; border-radius: 24px; border: 1px solid var(--borde); display: flex; flex-direction: column; gap: 20px; background: #fff; }
.review__stars { color: var(--amarillo); letter-spacing: 3px; font-size: 18px; }
.review__text { margin: 0; flex: 1; font-size: 17px; line-height: 1.6; color: var(--texto-2); }
.review__author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--borde); }
.review__avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #EEEEF8; color: var(--azul); font-family: var(--f-display); font-weight: 700; font-size: 18px;
}
.review__author span:last-child { display: flex; flex-direction: column; font-size: 13px; color: var(--gris-claro); }
.review__author strong { font-size: 15px; color: var(--texto); font-weight: 600; }
.review--score { background: var(--grad-iso); background-origin: border-box; border-color: transparent; color: #fff; justify-content: center; }
.review__score { font-family: var(--f-display); font-weight: 700; font-size: 84px; line-height: .9; }
.review--score .review__stars { font-size: 22px; }
.review__count { margin: 0; font-size: 16px; color: rgba(255,255,255,.85); }
.review--score .btn-pill { align-self: flex-start; margin-top: 8px; }

/* ==========================================================================
   10 FAQ
   ========================================================================== */
.faq__inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: flex-start; }
.faq__intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.faq__intro .lead { font-size: 17px; }
.faq__intro a { font-weight: 600; }
.faq__list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border-radius: 18px; border: 1px solid var(--borde); overflow: hidden; }
.faq-item__q {
  width: 100%; text-align: left; cursor: pointer; border: 0; background: transparent;
  padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 600 17px var(--f-body); color: var(--texto);
}
.faq-item__sign {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--fondo-2); color: var(--azul);
  transition: background .2s, color .2s, transform .45s cubic-bezier(.2, .8, .2, 1);
}
/* "+" dibujado con dos barras para que quede centrado exacto; al abrir gira a "×" */
.faq-item__sign::before, .faq-item__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor;
}
.faq-item__sign::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__sign { background: var(--azul); color: #fff; transform: rotate(135deg); }
/* Respuesta: se despliega animando la altura (0fr → 1fr) */
.faq-item__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s cubic-bezier(.2, .8, .2, 1);
}
.faq-item__a > p {
  min-height: 0; overflow: hidden; margin: 0; padding: 0 24px;
  font-size: 16px; line-height: 1.6; color: var(--gris);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1), padding .5s cubic-bezier(.2, .8, .2, 1);
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
/* Textos pendientes de confirmar con el cliente (quitar antes de publicar) */
.pendiente { color: #E00000; font-weight: 500; }
.faq-item.is-open .faq-item__a > p { padding-bottom: 24px; opacity: 1; transform: none; transition-delay: 0s, 0s, 0s; }
.faq-item { transition: border-color .3s, box-shadow .3s; }
.faq-item.is-open { border-color: #D6D7EC; box-shadow: 0 14px 30px -22px rgba(20,22,63,.35); }

/* ==========================================================================
   11 CTA FINAL
   ========================================================================== */
/* Degradado vertical: oscuro → azul corporativo → azul del footer (se funde con él) */
.cta-final {
  position: relative; overflow: hidden;
  padding: clamp(110px, 14vw, 180px) var(--gutter) clamp(140px, 16vw, 220px);
  background: linear-gradient(180deg,
    #0B0C26 0%, var(--navy) 20%, #222574 44%, #262974 55%, #222574 70%, var(--navy) 100%);
  color: #fff; text-align: center;
}
/* Brillo suave en el centro */
.cta-final::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: min(900px, 90vw); height: 420px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90,95,200,.28), transparent);
  pointer-events: none;
}
/* Isotipo grande solo en trazo, como marca de agua */
/* Isotipo grande en trazo, a la izquierda y cortado por el borde (como marca de agua) */
.cta-final__iso {
  --iso-w: clamp(440px, 36vw, 780px);
  position: absolute; top: 50%; left: calc(var(--iso-w) * -.43);
  width: var(--iso-w); height: auto;
  transform: translateY(-51%);
  fill: none; stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round;
  opacity: .1; pointer-events: none;
}
@media (max-width: 760px) {
  .cta-final__iso { display: none; }
}
.cta-final__body {
  position: relative; max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.cta-final__title {
  margin: 0; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(42px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
.cta-final__text { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.78); }
.cta-final .btn-pill { margin-top: 10px; }
.cta-final__alt { font-size: 15px; color: rgba(255,255,255,.75); }
.cta-final__alt a { color: #fff; font-weight: 600; }
.cta-final__alt a:hover { color: var(--amarillo); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 72px 0 32px; font-size: 14px; }
.footer__inner { display: flex; flex-direction: column; gap: 56px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; line-height: 1.5; }
.footer__col--brand { gap: 16px; }
.footer__logo { width: 96px; height: auto; }
.footer__title { color: #fff; font-weight: 600; }
.footer a { color: rgba(255,255,255,.75); transition: color .2s; }
.footer a:hover { color: var(--amarillo); }
.footer__zones { line-height: 1.8; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px;
}
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer__credit { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(10,12,40,.45);
  animation: pop .6s cubic-bezier(.2, .8, .2, 1) 1.4s both;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .2s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: wa-ring 2.4s ease-out 2s infinite;
}
.wa-float:hover { transform: scale(1.08); background: #1EBE5A; color: #fff; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
@keyframes wa-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 760px) {
  .wa-float { width: 54px; height: 54px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ==========================================================================
   05b APP
   ========================================================================== */
.app__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
/* Imagen a la izquierda en escritorio; en móvil el texto va primero */
.app__visual { order: -1; }
.app__copy { display: flex; flex-direction: column; gap: 22px; }
.app__list { margin: 4px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.app__list li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--texto-2); }
.app__check {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: #EEEEF8; position: relative;
}
.app__check::after {
  content: ""; position: absolute; left: 10px; top: 7px; width: 6px; height: 11px;
  border: solid var(--azul); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.app__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 24px 0 18px; border-radius: 16px;
  background: var(--navy); color: #fff;
  transition: background .25s, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.store:hover { background: var(--azul); color: #fff; transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; font-size: 18px; font-weight: 600; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 400; opacity: .75; }

.app__visual {
  position: relative; min-height: 600px;
  display: flex; align-items: center; justify-content: center; padding: 40px 24px;
}
/* Halo suave detrás del móvil */
.app__visual::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(520px, 90%); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(65,69,160,.22), rgba(65,69,160,0));
}
.phone {
  position: relative; width: 300px; padding: 10px; border-radius: 48px;
  background: #0E1030; box-shadow: 0 50px 90px -40px rgba(20,22,63,.65), inset 0 0 0 1px rgba(255,255,255,.12);
  transform: rotate(-3deg);
}
.phone__screen { position: relative; aspect-ratio: 202 / 390; border-radius: 38px; overflow: hidden; background: #F1F1F1; }
/* La captura trae su propio marco gris: se amplía un poco para recortarlo */
.phone__screen img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }

@media (max-width: 900px) {
  .app__grid { grid-template-columns: 1fr; }
  .app__visual { order: 0; }
  .app__visual { min-height: 0; }
  .phone { width: 260px; }
}

/* ==========================================================================
   AJUSTES MÓVIL (revisión responsive)
   ========================================================================== */
@media (max-width: 600px) {
  /* Hero: más corto. La app y el acceso 24/7 ya tienen su sección más abajo */
  .mosaic .hcard--dl, .mosaic .hcard--app { display: none; }
  .hero__points { grid-template-columns: 1fr 1fr; gap: 12px 14px; padding-top: 18px; }
  .hero__points li { font-size: 13.5px; align-items: flex-start; line-height: 1.35; }
  .hero__points svg { margin-top: 1px; }

  /* Intro: isotipo más contenido y sin márgenes negativos */
  .intro__btn-wrap { padding: 0; margin: 0; }
  .intro__brand { height: 110px; }
  .intro__logos { grid-template-columns: 1fr 1fr; gap: 20px 12px; justify-items: start; }
  .intro__logo { font-size: 16px; gap: 8px; }
  .intro__logo svg { width: 22px; height: 22px; }

  /* Tamaños: carrusel horizontal en lugar de 4 tarjetas apiladas */
  .sizes {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
    scrollbar-width: none;
  }
  .sizes::-webkit-scrollbar { display: none; }
  .size { flex: 0 0 82%; scroll-snap-align: center; }
  .size__box { height: 96px; }

  /* Botones de las tiendas en una fila */
  .app__stores { flex-wrap: nowrap; }
  .store { flex: 1; height: 54px; padding: 0 12px; gap: 8px; justify-content: center; }
  .store span { font-size: 15px; }
  .store small { font-size: 10px; }

  /* Botón de las tarjetas Particulares / Empresas */
  .segmento__cta .btn-pill { font-size: 14px; padding-left: 20px; }

  /* Pie: el crédito pasa a su propia línea sin la barra separadora;
     espacio extra abajo para que el botón de WhatsApp no tape los enlaces */
  .footer { padding-bottom: 28px; }
  .footer__credit { padding-left: 0; border-left: 0; width: 100%; }
  .wa-float { right: 14px; bottom: 14px; }
}
@media (max-width: 600px) {
  /* Tarjetas de usos, ventajas y contacto: icono a la izquierda para que ocupen menos alto */
  .uso, .incl, .contact-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px; }
  .uso .feature__icon, .incl .feature__icon, .contact-card .feature__icon { flex: none; width: 44px; height: 44px; margin: 0; }
  .uso > :not(.feature__icon), .contact-card > :not(.feature__icon) { min-width: 0; }
  .uso { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; }
  .uso .feature__icon { grid-row: span 2; }
  .contact-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; }
  .contact-card .feature__icon { grid-row: span 3; }
  .uso__title, .incl__title { font-size: 19px; }
  .incl__title { margin-bottom: 4px; }
  .contact-card__value { font-size: 19px; }
  .usos, .contact-cards { gap: 12px; }
}
@media (max-width: 960px) {
  /* Contacto: en móvil la foto pasa a banner para que el formulario aparezca antes */
  .contact-hero .cform__media { aspect-ratio: 16 / 9; }
  .contact-hero .cform__media img { object-position: 40% 45%; }
  .contact-hero .cform__body { padding-top: 28px; }
}

/* ==========================================================================
   MENÚ MÓVIL (hamburguesa)
   ========================================================================== */
.nav__burger, .nav__drawer { display: none; }
@media (max-width: 760px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__inner { position: relative; z-index: 2; }
  .nav__burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.12); color: #fff;
    transition: background .25s, color .25s;
  }
  .nav__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
  .nav.is-solid .nav__burger { background: var(--navy); color: #fff; }
  .nav.is-open .nav__burger { background: rgba(255,255,255,.14); color: #fff; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Panel a pantalla completa */
  .nav__drawer {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; inset: 0; z-index: 1; height: 100vh; height: 100dvh;
    padding: 110px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--navy); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1), visibility .35s;
  }
  .nav.is-open .nav__drawer { opacity: 1; visibility: visible; transform: none; }
  .nav__drawer-links { display: flex; flex-direction: column; }
  .nav__drawer-links a {
    padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12);
    font-family: var(--f-display); font-weight: 500; font-size: 34px; line-height: 1.1; color: #fff;
  }
  .nav__drawer-links a[aria-current="page"] { color: var(--amarillo); }
  .nav__drawer-phone {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    padding: 16px 24px; border-radius: 999px; background: var(--amarillo); color: var(--navy);
  }
  .nav__drawer-phone:hover { color: var(--navy); background: var(--amarillo-hover); }
  .nav__drawer-phone span { display: flex; flex-direction: column; font-size: 20px; font-weight: 700; line-height: 1.1; }
  .nav__drawer-phone small { font-size: 12px; font-weight: 500; opacity: .75; }

  /* Con el menú abierto la barra se mantiene visible y en azul oscuro, con el logo blanco */
  .nav.is-open { transform: none !important; background: var(--navy); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-open .nav__line { background: rgba(255,255,255,.12); }
  .nav.is-open.is-solid .nav__logo-color { opacity: 0; }
  .nav.is-open.is-solid .nav__logo-iso { opacity: 1; transform: translateY(-50%); }
}

/* ==========================================================================
   AJUSTES MÓVIL (2ª revisión)
   ========================================================================== */
@media (max-width: 600px) {
  /* Intro: el isotipo encima del titular */
  .intro .container { display: flex; flex-direction: column; }
  .intro__row { display: contents; }
  .intro__btn-wrap { order: -1; margin-bottom: 28px; }
  .intro__brand { height: 84px; }
  .intro__copy { margin-top: 40px; }

  /* Zonas: etiquetas más pequeñas (caben en 3 líneas) */
  .zones { gap: 6px; }
  .zone { padding: 6px 10px; font-size: 12px; }

  /* Bloque final: menos espacio entre el texto y el pie */
  .cta-final { padding-top: 88px; padding-bottom: 72px; }
}
/* Contacto: entrada automática de la foto y el formulario (sin depender del scroll) */
.contact-hero .cform__media, .contact-hero .cform__body { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.contact-hero .cform__body { animation-delay: .12s; }
/* Contacto en móvil: la foto pasa a ser el fondo de toda la cabecera y el formulario va encima */
@media (max-width: 960px) {
  .contact-hero .cform { position: static; display: block; padding-bottom: 72px; }
  .contact-hero .cform__media {
    position: absolute; inset: 0; z-index: 0;
    aspect-ratio: auto; margin: 0; border-radius: 0; min-height: 0; align-self: auto; justify-self: auto;
  }
  .contact-hero .cform__media img { object-position: 40% 30%; }
  /* Capa extra para que el formulario se lea bien sobre la foto */
  .contact-hero .cform__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,16,48,0) 0%, rgba(14,16,48,.2) 30%, rgba(14,16,48,.6) 60%, rgba(14,16,48,.8) 100%);
  }
  .contact-hero .cform__body { position: relative; z-index: 2; padding-top: 24px; }
  .contact-hero .cform__field input, .contact-hero .cform__field select, .contact-hero .cform__field textarea {
    background: rgba(14,16,48,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
}

/* ==========================================================================
   VÍDEOS AMBIENTALES (Cómo funciona)
   ========================================================================== */
.media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.video-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(20,22,63,.55); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.video-toggle:hover { background: rgba(20,22,63,.8); }
.video-toggle:active { transform: scale(.94); }
.video-toggle:focus-visible { outline: 2px solid var(--amarillo); outline-offset: 3px; }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle__pause { display: none; }
.media--video.is-playing .video-toggle__pause { display: block; }
.media--video.is-playing .video-toggle__play { display: none; }

/* ==========================================================================
   PÁGINAS LEGALES
   Cabecera compacta con foto, índice lateral fijo y texto a una columna
   ========================================================================== */
.page-hero--legal { min-height: 0; }
.page-hero--legal .page-hero__bg img { object-position: 50% 40%; }
.page-hero--legal .page-hero__content { padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero--legal .page-hero__title { font-size: clamp(40px, 5vw, 76px); }

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 120px; max-height: calc(100vh - 150px); overflow-y: auto; font-size: 14px; }
.legal__toc-title { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo); }
.legal__toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--borde); }
.legal__toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--gris); line-height: 1.4; transition: color .2s, border-color .2s; }
.legal__toc a:hover { color: var(--azul); border-left-color: var(--azul); }

.legal__body { max-width: 760px; font-size: 16px; line-height: 1.75; color: var(--texto-2); }
.legal__body h2 {
  margin: 56px 0 16px; scroll-margin-top: 110px;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--navy);
}
.legal__body p { margin: 0 0 16px; }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; }
.legal__body li { margin-bottom: 8px; }
.legal__body li::marker { color: var(--azul); }
.legal__body strong { color: var(--texto); font-weight: 600; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }
.legal__updated { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--fondo); font-size: 13px; color: var(--gris); }

.legal__card { margin: 8px 0 16px; padding: 8px 24px; border-radius: 22px; background: var(--fondo); }
.legal__card div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--borde); }
.legal__card div:last-child { border-bottom: 0; }
.legal__card dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gris-claro); padding-top: 2px; }
.legal__card dd { margin: 0; color: var(--texto); overflow-wrap: anywhere; }

.legal__table { margin: 8px 0 20px; overflow-x: auto; border: 1px solid var(--borde); border-radius: 16px; }
.legal__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.legal__table th, .legal__table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--borde); }
.legal__table th { background: var(--fondo); color: var(--navy); font-weight: 600; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { display: none; }
}
@media (max-width: 560px) {
  .legal__card { padding: 4px 18px; }
  .legal__card div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   PÁGINA DE EMPRESAS: MISMA IDENTIDAD, OTRA ESTRUCTURA
   Colores, iconos y cabecera iguales que en Particulares; cambian los layouts:
   secciones en espejo.
   ========================================================================== */

/* Servicios: la columna con texto e imagen pasa a la derecha */
@media (min-width: 961px) {
  .page-empresas .incl-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .page-empresas .incl-split__aside { order: 2; }
}

/* Cómo funciona: el vídeo a la izquierda */
@media (min-width: 961px) {
  .pasos--inv .pasos__photo { order: -1; }
}

/* Galería: mosaico en espejo, con la foto grande a la izquierda */
@media (min-width: 761px) {
  .page-empresas .g-big { grid-area: 1 / 1 / 3 / 3; }
  .page-empresas .g-a   { grid-area: 1 / 3; }
  .page-empresas .g-c   { grid-area: 1 / 4 / 2 / 6; }
  .page-empresas .g-d   { grid-area: 2 / 3; }
  .page-empresas .g-e   { grid-area: 2 / 4; }
  .page-empresas .g-f   { grid-area: 2 / 5; }
}
