/* ==========================================================
   Inchcape Retail — Transición Pracodidacol
   Manual Retail Americas: Dark Blue #001A41 · Eco Blue #18BDE6
   Ancho fluido (100%). El diseño aprobado se reproduce a 1280px
   (--gutter = 64px ahí) y respira en pantallas mayores. Responsive < 1024 / < 720.
   ========================================================== */

:root {
  --navy: #001a41;
  --cyan: #18bde6;
  --cyan-dark: #0a9cc4;
  --grey: #848a8c;
  --grey-dark: #394650;
  --line: #e8ecf2;
  --chip-light: #f5f7fa;
  /* Gutter lateral fluido: = 64px a 1280px (diseño aprobado), crece en pantallas grandes */
  --gutter: clamp(20px, 5vw, 120px);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #edeef0;
  font-family: "Jost", "Avant Garde Gothic Pro", Helvetica, Arial, sans-serif;
  color: var(--navy);
}
img {
  max-width: 100%;
}
a {
  color: var(--navy);
}
a:hover {
  color: var(--cyan);
}

.site-shell {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 2px 30px rgba(0, 26, 65, 0.1);
  position: relative;
  overflow-x: clip; /* clip (no 'hidden') para no romper el header sticky */
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  padding: 11px 24px;
  border-radius: 20px 20px 20px 0; /* contenedor del manual: 3 vértices curvos */
  transition: filter 0.2s ease;
}
.btn:hover {
  filter: brightness(1.06);
}
.btn-cyan {
  background: var(--cyan);
  color: var(--navy);
}
.btn-cyan:hover {
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: #ffffff;
  font-size: 15.5px;
  padding: 14px 36px;
}
.btn-navy:hover {
  color: #ffffff;
}
.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  color: #ffffff;
}
.btn-outline {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid #c9d1dc;
  padding: 12px 30px;
  font-size: 14px;
  border-radius: 18px 18px 18px 0;
}
.btn-lg {
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 24px 24px 24px 0;
}

/* ---------- Trayecto (línea segmentada + punto) ---------- */
.trayecto {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trayecto .tr-line {
  width: 34px;
  border-top: 3px dashed var(--cyan);
}
.trayecto .tr-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
}
.trayecto .tr-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--grey);
}
.trayecto .tr-label.light {
  color: rgba(255, 255, 255, 0.6);
}
.trayecto.sm .tr-line {
  width: 26px;
  border-top-width: 2px;
}
.trayecto.sm .tr-dot {
  width: 7px;
  height: 7px;
}

/* ---------- Dots y orbs ---------- */
.dots {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.dots-hero-tr {
  top: 44px;
  right: 56px;
  width: 280px;
  height: 190px;
  background-image: radial-gradient(
    circle,
    rgba(24, 189, 230, 0.4) 2.5px,
    transparent 3px
  );
  background-size: 26px 26px;
}
.dots-hero-bl {
  bottom: 60px;
  left: 44px;
  width: 190px;
  height: 140px;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.14) 2.5px,
    transparent 3px
  );
  background-size: 26px 26px;
}
.dots-contacto {
  bottom: 28px;
  right: 28px;
  width: 150px;
  height: 110px;
  background-image: radial-gradient(
    circle,
    rgba(24, 189, 230, 0.35) 2px,
    transparent 2.5px
  );
  background-size: 22px 22px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.orb-hero-tl {
  left: -160px;
  top: -160px;
  width: 440px;
  height: 440px;
  border: 2px solid rgba(24, 189, 230, 0.35);
  box-shadow: 0 0 90px rgba(24, 189, 230, 0.15) inset;
}
.orb-hero-br {
  right: -120px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(24, 189, 230, 0.25);
}
.orb-footer {
  top: -130px;
  right: -130px;
  width: 320px;
  height: 320px;
  border: 2px solid rgba(24, 189, 230, 0.25);
}

/* Figuras decorativas para secciones claras (exp, marcas, contacto) */
.exp .section-head,
.exp .exp-grid,
.marcas .section-head,
.marcas .marcas-carousel,
.contacto .contacto-box {
  position: relative;
  z-index: 1;
}
.dots-exp-tr {
  top: 0;
  right: 52px;
  width: 240px;
  height: 165px;
  background-image: radial-gradient(
    circle,
    rgba(24, 189, 230, 0.2) 2.5px,
    transparent 3px
  );
  background-size: 26px 26px;
}
.orb-exp-br {
  right: -150px;
  bottom: -170px;
  width: 380px;
  height: 380px;
  border: 2px solid rgba(24, 189, 230, 0.3);
  box-shadow: 0 0 90px rgba(24, 189, 230, 0.12) inset;
}
.dots-marcas-bl {
  bottom: 48px;
  left: 44px;
  width: 200px;
  height: 150px;
  background-image: radial-gradient(
    circle,
    rgba(24, 189, 230, 0.45) 2.5px,
    transparent 3px
  );
  background-size: 26px 26px;
}
.orb-marcas-tl {
  left: -160px;
  top: -150px;
  width: 360px;
  height: 360px;
  border: 2px solid rgba(24, 189, 230, 0.28);
}
.orb-contacto-br {
  right: -150px;
  top: -150px;
  width: 360px;
  height: 360px;
  border: 2px solid rgba(24, 189, 230, 0.26);
  box-shadow: 0 0 90px rgba(24, 189, 230, 0.1) inset;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 80px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
  gap: 32px;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 26, 65, 0.1);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
  flex-shrink: 0;
}
.brand-logo {
  height: 48px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex: none;
  flex-shrink: 0;
  display: block;
}
.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}
.site-nav > a,
.site-nav > .nav-item > .nav-link {
  text-decoration: none;
  color: var(--navy);
}
.site-nav > a:hover,
.site-nav > .nav-item:hover > .nav-link,
.site-nav > .nav-item:focus-within > .nav-link {
  color: var(--cyan-dark);
}
.site-nav > a.btn:hover {
  color: var(--navy);
}

/* ---------- Submenús del header ---------- */
.nav-item.has-submenu {
  position: relative;
  display: flex;
  align-items: center;
}
/* Puente invisible: mantiene el :hover mientras el cursor viaja del
   trigger al submenú a través del hueco. */
.nav-item.has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  width: 240px; /* >= min-width del submenú, lo cubre de sobra */
  height: 12px; /* = offset vertical del submenú */
  pointer-events: auto;
}
.nav-item.has-submenu > .nav-link {
  background: none;
  border: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  transition: color 0.18s ease;
}
.nav-item.has-submenu > .nav-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}
/* Flecha ▾ hecha con bordes: cierra (apunta abajo) → abierta (apunta arriba) */
.nav-arrow {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.7;
  transition:
    transform 0.2s ease,
    margin-top 0.2s ease,
    opacity 0.18s ease;
}
.nav-item.has-submenu:hover > .nav-link .nav-arrow,
.nav-item.has-submenu:focus-within > .nav-link .nav-arrow,
.nav-item.has-submenu.open > .nav-link .nav-arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
  opacity: 1;
}
.submenu {
  position: absolute;
  top: calc(100% + 12px); /* hueco bajo el trigger, puenteado por ::after */
  left: -12px; /* pequeño desplazamiento a la izquierda */
  min-width: 220px;
  background: #ffffff; /* mismo color que el header */
  border: 1.5px solid var(--line);
  border-radius: 16px 16px 16px 0;
  box-shadow: 0 18px 44px rgba(0, 26, 65, 0.18);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 400;
}
.nav-item.has-submenu:hover > .submenu,
.nav-item.has-submenu:focus-within > .submenu,
.nav-item.has-submenu.open > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.submenu a {
  text-decoration: none;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 10px 10px 10px 0;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.submenu a:hover,
.submenu a:focus-visible {
  background: var(--chip-light);
  color: var(--cyan-dark);
  outline: none;
}
.nav-link--solo {
  color: var(--navy);
}
.nav-cta {
  /* hereda .btn .btn-cyan — solo ajusta espaciado si hace falta */
  margin-left: 4px;
}

/* Botón hamburguesa (visible solo en responsive ≤1024) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.nav-toggle:hover {
  background: var(--chip-light);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition:
    transform 0.28s ease,
    opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: clamp(28px, 6svh, 84px) var(--gutter) clamp(36px, 7svh, 92px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* El banner ocupa exactamente el viewport menos el header sticky (80px desktop):
     altura fija + tope máximo para que no pida scroll. svh evita el salto
     por la barra del navegador en móvil. */
  height: calc(100vh - 80px);
  height: calc(100svh - 80px);
  max-height: calc(100vh - 80px);
  max-height: calc(100svh - 80px);
  min-height: 0;
}
.halo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(400px, 44svh);
  width: 100%;
}
.halo {
  /* Fuera del flujo (centrado absoluto): decora sin inflar la altura del stage.
     El scale de la animación sigue funcionando sobre transform. */
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  transform: scale(0.12);
  opacity: 0;
}
.halo-1 {
  width: min(430px, 52svh);
  height: min(430px, 52svh);
  filter: drop-shadow(0 0 4px rgba(24, 189, 230, 0.55))
    drop-shadow(0 0 18px rgba(24, 189, 230, 0.25))
    drop-shadow(0 0 60px rgba(24, 189, 230, 0.12));
  transition:
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease;
}
.halo-1__isotipo {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.halo-2 {
  width: min(560px, 68svh);
  height: min(560px, 68svh);
  border: 1.5px dashed rgba(24, 189, 230, 0.3);
  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1s ease;
}
.praco-wrap {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.praco-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 7px;
  color: white;
}
.praco-chip {
  background: #ffffff;
  border-radius: 28px 28px 28px 0;
  padding: 22px 36px;
  transition: filter 1s ease;
}
.praco-chip img {
  width: 250px;
  display: block;
}
.new-brand {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.new-brand-trayecto {
  display: none;
  align-items: center;
  gap: 8px;
}
.new-brand-trayecto .tr-line {
  display: block;
  width: 30px;
  border-top: 2px dashed var(--cyan);
}
.new-brand-trayecto .tr-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.new-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.kicker {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 7px;
  color: white;
}
.new-brand-logo {
  height: min(110px, 15svh);
  display: block;
  max-width: none;
}
.hero-copy {
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  margin: clamp(12px, 2.5svh, 28px) 0 0;
  font-size: clamp(28px, 2vw + 2.4svh, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: white;
}
.hero-title .accent {
  color: var(--cyan);
}
.hero-copy p {
  max-width: 640px;
  margin: clamp(10px, 2svh, 18px) 0 0;
  font-size: clamp(15px, 1.1vw + 1.2svh, 20px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.replay {
  position: absolute;
  bottom: 20px;
  right: 26px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  cursor: pointer;
  font-family: inherit;
}

/* Estados de la animación (los aplica js/main.js) */
.hero.phase-1 .praco-chip,
.hero.phase-2 .praco-chip,
.hero.phase-3 .praco-chip {
  filter: grayscale(1);
}
.hero.phase-1 .halo,
.hero.phase-2 .halo {
  transform: scale(1);
  opacity: 1;
}
.hero.phase-1 .praco-wrap {
  opacity: 0.5;
}
.hero.phase-2 .praco-wrap {
  opacity: 0;
  transform: scale(0.6);
}
.hero.phase-2 .new-brand {
  opacity: 1;
  transform: scale(1);
}
.hero.phase-2 .hero-copy {
  opacity: 1;
}

/* ---------- Hero fase 3: banner carrusel (diseño propuesta 5a) ---------- */
/* Fondo: slides + velo de marca, invisibles hasta phase-3 */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    96deg,
    rgba(0, 26, 65, 0.95) 0%,
    rgba(0, 26, 65, 0.82) 34%,
    rgba(0, 26, 65, 0.3) 68%,
    rgba(0, 26, 65, 0.14) 100%
  );
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 1s ease,
    transform 6s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
}
/* El contenido queda por encima del velo */
.halo-stage,
.hero-copy,
.carousel-ui,
.carousel-arrows {
  position: relative;
  z-index: 2;
}
/* Morfología a banner: de centrado a anclado a la izquierda */
.hero.phase-3 {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  /* Altura fija + tope máximo: el banner nunca supera el viewport menos el header (80px) */
  height: calc(100vh - 80px);
  height: calc(100svh - 80px);
  max-height: calc(100vh - 80px);
  max-height: calc(100svh - 80px);
  min-height: 0;
  padding-top: clamp(32px, 7svh, 72px);
  padding-bottom: clamp(100px, 15svh, 132px);
  transition:
    padding 0.8s ease,
    height 0.8s ease,
    max-height 0.8s ease;
}
.hero.phase-3 .halo,
.hero.phase-3 .praco-wrap {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}
.hero.phase-3 .halo-stage {
  place-items: start;
  justify-items: start;
  min-height: min(150px, 20svh);
  width: min(660px, 100%);
  margin-bottom: 14px;
  transition:
    min-height 0.8s ease,
    margin 0.8s ease;
}
.hero.phase-3 .new-brand {
  opacity: 1;
  transform: none;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.hero.phase-3 .new-brand-trayecto {
  display: flex;
}
.hero.phase-3 .new-brand-stack {
  align-items: flex-start;
  gap: 7px;
}
.hero.phase-3 .kicker {
  font-size: 10.5px;
  letter-spacing: 4px;
  color: var(--cyan);
  transition:
    font-size 0.8s ease,
    letter-spacing 0.8s ease;
}
.hero.phase-3 .new-brand-logo {
  height: 52px;
  transition: height 0.8s ease;
}
.hero.phase-3 .hero-copy {
  opacity: 1;
  align-items: flex-start;
}
.hero.phase-3 .hero-title {
  margin-top: 0;
  max-width: 620px;
  font-size: clamp(34px, 3.4vw + 3svh, 60px);
  letter-spacing: -2.2px;
  line-height: 1.04;
  text-align: left;
  transition:
    font-size 0.8s ease,
    letter-spacing 0.8s ease;
}
.hero.phase-3 .hero-copy p {
  max-width: 520px;
  margin-top: 24px;
  font-size: clamp(15px, 1vw + 1.4svh, 17px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}
.hero.phase-3 .hero-slides,
.hero.phase-3 .hero-veil {
  opacity: 1;
}
/* Atenúa los orbes navy para que no compitan con la foto */
.hero.phase-3 .orb-hero-tl,
.hero.phase-3 .orb-hero-br {
  opacity: 0.5;
}

/* Controles del carrusel (propuesta 5a): ocultos hasta phase-3 */
.carousel-ui {
  position: absolute;
  left: var(--gutter);
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.carousel-dot {
  background: none;
  border: none;
  padding: 12px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: inherit;
}
.carousel-dot span {
  display: block;
  height: 3px;
  width: 18px;
  background: rgba(255, 255, 255, 0.35);
  transition:
    width 0.4s ease,
    background 0.4s ease;
}
.carousel-dot.active span {
  width: 46px;
  background: var(--cyan);
}
.carousel-dot:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
.carousel-counter {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.55);
}
.carousel-arrows {
  position: absolute;
  right: var(--gutter);
  bottom: 44px;
  display: flex;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.carousel-arrow {
  font-family: inherit;
  cursor: pointer;
  width: 52px;
  height: 52px;
  border-radius: 16px 16px 16px 0;
  font-size: 17px;
  line-height: 1;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}
.carousel-arrow.prev {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 26, 65, 0.45);
  color: #ffffff;
}
.carousel-arrow.next {
  border: 1px solid rgba(24, 189, 230, 0.6);
  background: var(--cyan);
  color: var(--navy);
}
.carousel-arrow:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.carousel-arrow:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 3;
}
.hero-progress-bar {
  height: 100%;
  width: 33%;
  background: var(--cyan);
  transition: width 0.5s ease;
}
.hero.phase-3 .carousel-ui,
.hero.phase-3 .carousel-arrows,
.hero.phase-3 .hero-progress {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.hero.phase-3 .carousel-ui,
.hero.phase-3 .carousel-arrows {
  pointer-events: auto;
}
/* Los dots/flechas no son interactivos antes de phase-3 */
.hero:not(.phase-3) .carousel-ui,
.hero:not(.phase-3) .carousel-arrows {
  visibility: hidden;
}
.hero.phase-3 .carousel-ui,
.hero.phase-3 .carousel-arrows {
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.01s linear;
    transform: none;
  }
  .hero-slide.active {
    transform: none;
  }
  .hero.phase-3,
  .hero.phase-3 .halo-stage,
  .hero.phase-3 .new-brand-logo,
  .hero.phase-3 .hero-title {
    transition: none;
  }
}

/* ---------- Marcas ---------- */
.marcas {
  position: relative;
  overflow: hidden;
  padding: 84px var(--gutter);
  background-color: #f4f8fc;
  background-image:
    radial-gradient(
      circle at 88% 6%,
      rgba(24, 189, 230, 0.24),
      rgba(24, 189, 230, 0) 46%
    ),
    radial-gradient(
      circle at 6% 100%,
      rgba(24, 189, 230, 0.16),
      rgba(24, 189, 230, 0) 44%
    ),
    radial-gradient(rgba(24, 189, 230, 0.1) 1px, transparent 1.4px);
  background-size:
    auto,
    auto,
    26px 26px;
  background-position:
    0 0,
    0 0,
    0 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 32px;
}
.section-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-title h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--navy);
  line-height: 1.1;
}
.section-title .accent {
  color: var(--cyan);
}
.section-intro {
  max-width: 380px;
  margin: 0;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--grey-dark);
  text-align: right;
}
/* Carrusel de marcas: una sola línea, auto-scroll infinito (formato inchcape.com.co) */
.marcas-carousel {
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.marcas-track {
  display: flex;
  width: max-content;
  animation: marcas-scroll 45s linear infinite;
}
.marcas-carousel:hover .marcas-track,
.marcas-carousel:focus-within .marcas-track {
  animation-play-state: paused;
}
.marcas-set {
  display: flex;
  align-items: center;
  gap: 76px;
  padding-right: 76px;
}
.marca-logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 64px;
  opacity: 0.68;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.marca-logo:hover,
.marca-logo:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}
.marca-logo img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}
@keyframes marcas-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marcas-track {
    animation: none;
    width: 100%;
  }
  .marcas-set {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 52px;
    padding-right: 0;
  }
  .marcas-set[aria-hidden="true"] {
    display: none;
  }
  .marcas-carousel {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* chips de marca (compartidos con las tabs de campañas de servicio) */
.chip-dark {
  background: var(--navy);
}
.chip-light {
  background: var(--chip-light);
}
.mini-line {
  width: 16px;
  border-top: 2px dashed var(--cyan);
}
.mini-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- Contacto ---------- */
.contacto {
  position: relative;
  overflow: hidden;
  padding: 84px var(--gutter);
  background-color: #f4f8fc;
  background-image:
    radial-gradient(
      circle at 10% 0%,
      rgba(24, 189, 230, 0.24),
      rgba(24, 189, 230, 0) 46%
    ),
    radial-gradient(
      circle at 96% 90%,
      rgba(24, 189, 230, 0.16),
      rgba(24, 189, 230, 0) 44%
    ),
    radial-gradient(rgba(24, 189, 230, 0.1) 1px, transparent 1.4px);
  background-size:
    auto,
    auto,
    26px 26px;
  background-position:
    0 0,
    0 0,
    0 0;
}
.contacto-box {
  display: flex;
  border-radius: 44px 44px 44px 0;
  overflow: hidden;
  border: 1.5px solid var(--line);
}
.contacto-side {
  width: 400px;
  flex: none;
  background: var(--navy);
  color: #ffffff;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.contacto-side h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
}
.contacto-side p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}
.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  font-size: 15px;
}
.contacto-datos .tel {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
}
.contacto-datos .mail {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.contacto-form {
  flex: 1;
  background: linear-gradient(160deg, #ffffff 0%, #eaf4fb 100%);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.contacto-form input:not([type="checkbox"]),
.contacto-form select,
.contacto-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 13px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px 14px 14px 0;
  color: var(--navy);
  background: #ffffff;
  width: 100%;
}
.contacto-form select {
  padding: 13px 14px;
  color: var(--grey-dark);
}
.contacto-form textarea {
  resize: vertical;
}
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: -1px;
}
.contacto-form .full {
  grid-column: 1 / -1;
}
.habeas {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--grey-dark);
  cursor: pointer;
}
.habeas input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  flex: none;
}
.link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  color: var(--cyan-dark);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.warn {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: #b4231f;
}
.sent {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: #5b8a00;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #ffffff;
  padding: 56px var(--gutter) 28px;
  position: relative;
  overflow: hidden;
}
.footer-top {
  display: flex;
  gap: 72px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand {
  width: 300px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand img {
  height: 28px;
  display: block;
  align-self: flex-start;
}
.footer-brand p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}
.footer-legal {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 44px;
  font-size: 13.5px;
  font-weight: 300;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.5;
}
.footer-legal a:hover {
  color: var(--cyan);
}
.footer-bottom {
  padding-top: 22px;
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Modal ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 26, 65, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.show {
  display: flex;
}
.modal-card {
  width: 560px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 28px 28px 28px 0;
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.modal-card p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--grey-dark);
}
.modal-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-dark);
}
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

/* ==========================================================
   BOTÓN FLOTANTE WHATSAPP
   Discreto, fijo abajo a la derecha, con pulse suave.
   Se eleva sobre el banner de consentimiento cuando éste está visible.
   ========================================================== */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow:
    0 6px 18px rgba(37, 211, 102, 0.32),
    0 1px 3px rgba(0, 26, 65, 0.18);
  z-index: 950;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    bottom 0.3s ease,
    opacity 0.25s ease,
    visibility 0s linear 0s;
  animation: whatsapp-fab-enter 0.45s ease 0.6s both;
}
/* Oculto SOLO cuando el banner se ve al 100% (hero íntegro en pantalla):
   en cuanto se recorta —aunque sea parcialmente— aparece. Así no se confunde
   con las flechas del carrusel. Lo alterna js/main.js con IntersectionObserver. */
.whatsapp-fab--hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.2s ease,
    bottom 0.3s ease,
    opacity 0.25s ease,
    visibility 0s linear 0.25s;
}
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 10px 22px rgba(37, 211, 102, 0.4),
    0 2px 4px rgba(0, 26, 65, 0.22);
  outline: none;
}
.whatsapp-fab:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 0 0 5px #25d366,
    0 10px 22px rgba(37, 211, 102, 0.4);
}
.whatsapp-fab:active {
  transform: translateY(0) scale(0.98);
}
.whatsapp-fab__icon {
  width: 28px;
  height: 28px;
  display: block;
  position: relative;
  z-index: 2;
}
/* Anillo de pulse: dos ondas desfasadas para que se sienta vivo pero suave */
.whatsapp-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.45;
  z-index: 1;
  animation: whatsapp-fab-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
.whatsapp-fab__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: whatsapp-fab-pulse 2.6s ease-out 1.3s infinite;
}
/* Elevar el acceso flotante cuando el banner ocupa la zona inferior. */
body.cookie-banner-open .whatsapp-fab {
  bottom: 130px;
}
@keyframes whatsapp-fab-pulse {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  70% {
    opacity: 0;
  }
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}
@keyframes whatsapp-fab-enter {
  from {
    transform: translateY(20px) scale(0.6);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab,
  .whatsapp-fab__pulse,
  .whatsapp-fab__pulse::after {
    animation: none;
  }
  .whatsapp-fab {
    transition: none;
  }
  .whatsapp-fab__pulse {
    display: none;
  }
}
@media (max-width: 720px) {
  .whatsapp-fab {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-fab__icon {
    width: 26px;
    height: 26px;
  }
  body.cookie-banner-open .whatsapp-fab {
    bottom: 170px;
  }
}

/* ==========================================================
   CAMPAÑAS DE SERVICIO
   ========================================================== */
.page-hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 64px var(--gutter) 58px;
}
.dots-page {
  top: 30px;
  right: 56px;
  width: 240px;
  height: 150px;
  background-image: radial-gradient(
    circle,
    rgba(24, 189, 230, 0.4) 2.5px,
    transparent 3px
  );
  background-size: 26px 26px;
}
.orb-page {
  right: -140px;
  bottom: -220px;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(24, 189, 230, 0.28);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.breadcrumb .bc-line {
  width: 14px;
  border-top: 2px dashed rgba(24, 189, 230, 0.7);
}
.breadcrumb .current {
  color: var(--cyan);
}
.page-hero h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #ffffff;
  line-height: 1.05;
}
.page-hero .trayecto {
  margin-top: 22px;
}
.page-hero .tr-line {
  width: 44px;
}
.page-hero__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.page-hero__intro {
  margin: 0;
  max-width: 380px;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
/* Variante amplia (Centros de Experiencia): texto introductorio más grande */
.page-hero__intro--lg {
  max-width: 460px;
  font-size: 19px;
  line-height: 1.65;
}

.campanas-intro {
  padding: 56px var(--gutter) 40px;
  background-color: #f4f8fc;
  background-image:
    radial-gradient(
      circle at 90% 12%,
      rgba(24, 189, 230, 0.1),
      rgba(24, 189, 230, 0) 42%
    ),
    radial-gradient(rgba(24, 189, 230, 0.06) 1px, transparent 1.4px);
  background-size:
    auto,
    26px 26px;
  background-position:
    0 0,
    0 0;
}
.campanas-intro p {
  max-width: 900px;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--grey-dark);
}
.campanas-intro strong {
  font-weight: 600;
  color: var(--navy);
}
.campanas-intro .nota {
  margin: 0;
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.65;
  color: var(--grey);
}

.campanas-body {
  display: flex;
  gap: 28px;
  padding: 0 var(--gutter) 72px;
  align-items: flex-start;
  background-color: #f4f8fc;
  background-image: radial-gradient(
    rgba(24, 189, 230, 0.06) 1px,
    transparent 1.4px
  );
  background-size: 26px 26px;
  background-position: 0 0;
}
.tabs-marcas {
  width: 300px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tab-marca {
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 16px 16px 16px 0;
  background: #ffffff;
  text-align: left;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.tab-marca:hover {
  border-color: var(--cyan);
}
.tab-marca .tab-chip {
  width: 76px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 10px 0;
}
.tab-marca .tab-chip img {
  width: auto;
  max-width: 80%;
  object-fit: contain;
  display: block;
}
.tab-marca .tab-chip .initials {
  font-weight: 700;
  font-size: 15px;
  color: var(--grey);
}
.tab-marca .tab-name {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  color: var(--navy);
}
.tab-marca.active {
  background: var(--navy);
  border-color: var(--navy);
}
.tab-marca.active .tab-name {
  color: #ffffff;
}

.tab-panels {
  flex: 1;
  min-width: 0;
}
.tab-panel {
  display: none;
  border: 1.5px solid var(--line);
  border-radius: 32px 32px 32px 0;
  overflow: hidden;
}
.tab-panel.active {
  display: block;
}
.panel-head {
  background: var(--navy);
  padding: 34px 44px;
  position: relative;
  overflow: hidden;
}
.panel-head .dots-panel {
  top: 18px;
  right: 40px;
  width: 150px;
  height: 90px;
  background-image: radial-gradient(
    circle,
    rgba(24, 189, 230, 0.35) 2px,
    transparent 2.5px
  );
  background-size: 22px 22px;
}
.panel-head .eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}
.panel-head .panel-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #ffffff;
  line-height: 1.1;
}
.panel-body {
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.panel-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.panel-block .label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}
.panel-block iframe {
  width: 100%;
  height: 150px;
  border: 1.5px solid var(--line);
  border-radius: 14px 14px 14px 0;
  background: #ffffff;
}
.btn-recall {
  text-decoration: none;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 30px;
  border-radius: 20px 20px 20px 0;
}
.btn-recall:hover {
  color: var(--navy);
  filter: brightness(1.06);
}
.btn-recall .mini-line {
  border-top-color: var(--navy);
}
.btn-recall .mini-dot {
  background: var(--navy);
}
.agenda {
  background: var(--chip-light);
  border-radius: 20px 20px 20px 0;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agenda-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.agenda-head .tr-line {
  width: 22px;
  border-top: 3px dashed var(--cyan);
}
.agenda-head .tr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.agenda-head .agenda-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--navy);
}
.agenda-datos {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.agenda-dato {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.agenda-dato .k {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--grey);
}
.agenda-dato a {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  max-width: 420px;
  word-break: break-word;
}

.cta-band {
  background: var(--navy);
  padding: 44px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.orb-cta {
  left: -120px;
  top: -160px;
  width: 320px;
  height: 320px;
  border: 2px solid rgba(24, 189, 230, 0.25);
}
.cta-band h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #ffffff;
  max-width: 720px;
  position: relative;
}
.cta-band .btn {
  position: relative;
  flex: none;
}

/* ---------- Botón dark del menú (Inchcape Usados) ---------- */
.btn-dark {
  background: var(--navy);
  color: #ffffff;
}
/* La regla .site-nav > a pinta el texto de navy; forzamos blanco
     para que la letra siempre sea visible sobre el fondo oscuro. */
.site-nav > a.btn.btn-dark {
  color: #ffffff;
  background: var(--navy);
}
.btn-dark:hover,
.site-nav > a.btn.btn-dark:hover {
  color: #ffffff;
  filter: brightness(1.14);
}

/* ---------- Submenú agrupado / anidado (Comerciales: Camiones / Vans) ---------- */
.submenu-group {
  position: relative;
}
.submenu-group + .submenu-group {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 4px;
}
/* Puente hover para no perder el :hover al pasar del trigger al panel */
.submenu-group.has-submenu::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 14px;
  pointer-events: auto;
}
.submenu-group__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: none;
  border: none;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 10px 10px 10px 0;
  text-align: left;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.submenu-group__trigger:hover,
.submenu-group.has-submenu.open > .submenu-group__trigger {
  background: var(--chip-light);
  color: var(--cyan-dark);
}
.submenu-group__trigger .nav-arrow {
  transform: rotate(-45deg);
  margin-top: 0;
  opacity: 0.7;
  transition:
    transform 0.2s ease,
    opacity 0.18s ease;
}
.submenu-group.has-submenu:hover > .submenu-group__trigger .nav-arrow,
.submenu-group.has-submenu:focus-within > .submenu-group__trigger .nav-arrow,
.submenu-group.has-submenu.open > .submenu-group__trigger .nav-arrow {
  transform: rotate(-45deg);
  opacity: 1;
}
/* Segundo nivel: panel a la derecha del trigger (desktop) */
.submenu--level2 {
  position: absolute;
  top: -8px;
  left: calc(100% - 6px);
  min-width: 210px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 16px 16px 16px 0;
  box-shadow: 0 18px 44px rgba(0, 26, 65, 0.18);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 400;
}
.submenu-group.has-submenu:hover > .submenu--level2,
.submenu-group.has-submenu:focus-within > .submenu--level2,
.submenu-group.has-submenu.open > .submenu--level2 {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* ---------- Experiencia automotriz (home) ---------- */
.exp {
  position: relative;
  overflow: hidden;
  padding: 84px var(--gutter);
  background-color: #f4f8fc;
  background-image:
    radial-gradient(
      circle at 85% 8%,
      rgba(24, 189, 230, 0.24),
      rgba(24, 189, 230, 0) 46%
    ),
    radial-gradient(
      circle at 10% 96%,
      rgba(24, 189, 230, 0.16),
      rgba(24, 189, 230, 0) 44%
    ),
    radial-gradient(rgba(24, 189, 230, 0.1) 1px, transparent 1.4px);
  background-size:
    auto,
    auto,
    26px 26px;
  background-position:
    0 0,
    0 0,
    0 0;
  border-top: 1px solid var(--line);
}
.exp .section-head {
  margin-bottom: 48px;
  /* Igual que en móvil: un ítem debajo del otro, alineado a la izquierda */
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.exp .section-intro {
  text-align: left;
  max-width: 560px;
}
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.exp-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.exp-col h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--navy);
  line-height: 1.15;
}
.reel {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px 20px 20px 0;
  overflow: hidden;
  background: var(--chip-light);
  box-shadow: 0 8px 24px rgba(0, 26, 65, 0.12);
  position: relative;
}
.reel iframe,
.reel video,
.reel img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}
.reel-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 16px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(0, 26, 65, 0.82));
}

/* ---------- Centros de experiencia (página) ---------- */
.sedes-section {
  padding: 0 var(--gutter) 88px;
  background-color: #f4f8fc;
  background-image:
    radial-gradient(
      circle at 92% 4%,
      rgba(24, 189, 230, 0.12),
      rgba(24, 189, 230, 0) 40%
    ),
    radial-gradient(rgba(24, 189, 230, 0.06) 1px, transparent 1.4px);
  background-size:
    auto,
    26px 26px;
  background-position:
    0 0,
    0 0;
}

/* Barra de filtros por categoría */
.sedes-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0 36px;
}
.sedes-toolbar__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--grey);
}
.sedes-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.sede-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 10px 9px 18px;
  border-radius: 20px 20px 20px 0;
  box-shadow: 0 2px 10px rgba(0, 26, 65, 0.05);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.sede-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan-dark);
  transform: translateY(-2px);
}
.sede-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--chip-light);
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 700;
}
.sede-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}
.sede-chip.active .sede-chip__count {
  background: var(--cyan);
  color: var(--navy);
}

/* Grilla de tarjetas de centros */
.sedes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.sede-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 24px 24px 24px 0;
  background: #ffffff;
  padding: 24px 26px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.sede-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 26, 65, 0.08);
}
.sede-card[hidden] {
  display: none;
}
.sede-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}
.sede-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--cyan-dark);
  background: var(--chip-light);
  padding: 4px 12px;
  border-radius: 999px;
}
.sede-card__nombre {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.sede-card__marcas {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--grey);
  line-height: 1.5;
}
.sede-card__dir {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--grey-dark);
  line-height: 1.5;
}
.sede-card__horarios {
  margin-top: 6px;
  padding: 12px 14px;
  background: var(--chip-light);
  border-radius: 14px 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sede-card__horarios-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--grey);
  margin-bottom: 2px;
}
.sede-card__horario {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--grey-dark);
}
.sede-card__dia {
  font-weight: 600;
  color: var(--navy);
}
.sede-card__tels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sede-card__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.sede-card__tel:hover {
  border-color: var(--cyan);
  background: var(--chip-light);
  color: var(--cyan-dark);
  transform: translateY(-2px);
}
.sede-card__tel-tipo {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--cyan-dark);
  background: var(--chip-light);
  padding: 3px 8px;
  border-radius: 999px;
}
.sede-card__tel-num {
  letter-spacing: 0.3px;
}
.sede-card__icon {
  width: 15px;
  height: 15px;
  flex: none;
}
.sede-card__actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sede-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: var(--navy);
  padding: 9px 18px;
  border-radius: 14px 14px 14px 0;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.sede-card__btn:hover {
  background: #0a2c5c;
  transform: translateY(-2px);
}
.sede-card__btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.sede-card__btn-text small {
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.4px;
}
.sede-card__btn--ghost {
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--line);
}
.sede-card__btn--ghost:hover {
  background: var(--chip-light);
  border-color: var(--cyan);
  color: var(--cyan-dark);
}
.sedes-empty {
  text-align: center;
  font-size: 15px;
  color: var(--grey);
  padding: 48px 0 8px;
}

/* ==========================================================
     RESPONSIVE
   Desktop (>1024px) queda intacto — solo se ajusta debajo.
   ========================================================== */
@media (max-width: 1024px) {
  .site-header {
    padding: 0 32px;
    height: 72px;
  }
  .brand-logo {
    height: 44px;
  }
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 32px;
    left: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(280px, calc(100vw - 64px));
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 16px 16px 16px 0;
    box-shadow: 0 18px 44px rgba(0, 26, 65, 0.18);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0s linear 0.2s;
    z-index: 300;
  }
  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .site-nav > a {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15.5px;
  }
  .site-nav > a:hover {
    background: var(--chip-light);
    color: var(--navy);
  }
  .site-nav .btn {
    margin-top: 6px;
    text-align: center;
    font-size: 15px;
  }
  /* Submenús en móvil: se expanden inline, NO flotan */
  .nav-item.has-submenu {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-item.has-submenu::after {
    display: none; /* sin puente: el submenú va inline */
  }
  .nav-item.has-submenu > .nav-link {
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15.5px;
  }
  .nav-item.has-submenu > .nav-link:hover,
  .nav-item.has-submenu.open > .nav-link {
    background: var(--chip-light);
    color: var(--navy);
  }
  .submenu {
    position: static;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0 8px 14px;
    min-width: 0;
    gap: 0;
    /* En móvil se muestra/oculta con .open, no con opacity */
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }
  .nav-item.has-submenu.open > .submenu {
    display: flex;
  }
  .submenu a {
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 14.5px;
  }
  /* Segundo nivel en móvil: se expande inline, no flota */
  .submenu--level2 {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 14px;
    min-width: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }
  .submenu-group.has-submenu.open > .submenu--level2 {
    display: flex;
  }
  .submenu-group__trigger {
    font-size: 14.5px;
  }

  .hero {
    padding: clamp(28px, 5svh, 64px) 32px clamp(32px, 6svh, 80px);
    /* Header tablet: 72px — altura fija + tope para no pedir scroll */
    height: calc(100vh - 72px);
    height: calc(100svh - 72px);
    max-height: calc(100vh - 72px);
    max-height: calc(100svh - 72px);
    min-height: 0;
  }
  .halo-stage {
    min-height: min(340px, 40svh);
  }
  .halo-1 {
    width: 340px;
    height: 340px;
  }
  .halo-2 {
    width: 440px;
    height: 440px;
  }
  .praco-chip img {
    width: 200px;
  }
  .hero-title {
    font-size: 34px;
  }
  .new-brand-logo {
    height: 80px;
  }
  /* Banner carrusel en tablet: mantiene anclaje izquierdo, tipografía contenida */
  .hero.phase-3 {
    height: calc(100vh - 72px);
    height: calc(100svh - 72px);
    max-height: calc(100vh - 72px);
    max-height: calc(100svh - 72px);
    min-height: 0;
    padding: clamp(28px, 5svh, 60px) 32px clamp(96px, 14svh, 124px);
  }
  .hero.phase-3 .halo-stage {
    min-height: 120px;
  }
  .hero.phase-3 .hero-title {
    font-size: 42px;
    letter-spacing: -1.4px;
  }
  .hero.phase-3 .new-brand-logo {
    height: 46px;
  }
  .carousel-ui {
    left: 32px;
    bottom: 48px;
  }
  .carousel-arrows {
    right: 32px;
    bottom: 40px;
  }

  .marcas {
    padding: 64px 32px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 34px;
  }
  .section-intro {
    text-align: left;
    max-width: 560px;
  }
  .section-title h2 {
    font-size: 36px;
  }

  .contacto {
    padding: 0 32px 64px;
  }
  .contacto-box {
    flex-direction: column;
    border-radius: 32px 32px 32px 0;
  }
  .contacto-side {
    width: 100%;
    padding: 40px 32px;
  }
  .contacto-form {
    padding: 40px 32px;
  }

  .site-footer {
    padding: 48px 32px 24px;
  }
  .footer-top {
    flex-direction: column;
    gap: 36px;
  }
  .footer-brand {
    width: auto;
  }

  /* Campañas */
  .page-hero {
    padding: 52px 32px 46px;
  }
  .page-hero h1 {
    font-size: 42px;
  }
  .campanas-intro {
    padding: 44px 32px 32px;
  }
  .campanas-body {
    flex-direction: column;
    padding: 0 32px 56px;
  }
  .tabs-marcas {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .tab-marca {
    flex: 1 1 220px;
  }
  .tab-panels {
    width: 100%;
  }
  .panel-head,
  .panel-body {
    padding-left: 32px;
    padding-right: 32px;
  }
  .cta-band {
    padding: 36px 32px;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 20px;
    height: 66px;
  }
  .brand-logo {
    height: 40px;
  }
  .site-nav {
    right: 20px;
    width: min(280px, calc(100vw - 40px));
  }

  .hero {
    padding: clamp(24px, 4svh, 48px) 20px clamp(32px, 6svh, 72px);
    /* Header móvil: 66px — altura fija + tope para no pedir scroll */
    height: calc(100vh - 66px);
    height: calc(100svh - 66px);
    max-height: calc(100vh - 66px);
    max-height: calc(100svh - 66px);
    min-height: 0;
  }
  .halo-stage {
    min-height: min(320px, 38svh);
  }
  .halo-stage {
    min-height: 320px;
  }
  .halo-1 {
    width: 260px;
    height: 260px;
  }
  .halo-2 {
    width: 330px;
    height: 330px;
  }
  .praco-chip {
    padding: 16px 24px;
    border-radius: 20px 20px 20px 0;
  }
  .praco-wrap {
    gap: 10px;
  }
  .praco-label {
    font-size: 12px;
    letter-spacing: 5px;
  }
  .praco-chip img {
    width: 160px;
  }
  .kicker {
    font-size: 12px;
    letter-spacing: 5px;
  }
  .new-brand-logo {
    height: 56px;
  }
  .hero-title {
    font-size: 27px;
  }
  .hero-copy p {
    font-size: 17px;
  }
  .dots-hero-tr {
    width: 160px;
    height: 110px;
    right: 16px;
    top: 24px;
  }
  .dots-hero-bl {
    display: none;
  }
  /* Banner carrusel en móvil: apila controles para que no choquen */
  .hero.phase-3 {
    height: calc(100vh - 66px);
    height: calc(100svh - 66px);
    max-height: calc(100vh - 66px);
    max-height: calc(100svh - 66px);
    min-height: 0;
    padding: clamp(24px, 4svh, 48px) 20px clamp(96px, 16svh, 148px);
  }
  .hero.phase-3 .halo-stage {
    min-height: 110px;
  }
  .hero.phase-3 .hero-title {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .hero.phase-3 .hero-copy p {
    font-size: 16px;
  }
  .hero.phase-3 .new-brand-logo {
    height: 40px;
  }
  .carousel-ui {
    left: 20px;
    bottom: 44px;
    gap: 14px;
  }
  .carousel-arrows {
    right: 20px;
    bottom: 36px;
  }
  .carousel-arrow {
    width: 46px;
    height: 46px;
  }
  /* En móvil el REPETIR estorba a las flechas abajo: se sube arriba a la derecha solo en el banner */
  .hero.phase-3 .replay {
    top: 14px;
    bottom: auto;
    right: 14px;
  }

  .marcas {
    padding: 52px 20px;
  }
  .section-title h2 {
    font-size: 30px;
  }
  .marca-logo {
    width: 120px;
    height: 52px;
  }
  .marca-logo img {
    max-height: 36px;
  }
  .marcas-set {
    gap: 52px;
    padding-right: 52px;
  }

  .contacto {
    padding: 0 20px 52px;
  }
  .contacto-side {
    padding: 34px 24px;
  }
  .contacto-side h2 {
    font-size: 30px;
  }
  .contacto-form {
    padding: 34px 24px;
    grid-template-columns: 1fr;
  }
  .contacto-form input,
  .contacto-form select,
  .contacto-form textarea {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding: 40px 20px 20px;
  }
  .footer-legal {
    grid-template-columns: 1fr;
  }

  .modal-card {
    padding: 28px 24px;
  }
  .modal-actions {
    flex-wrap: wrap;
  }

  /* Campañas */
  .page-hero {
    padding: 44px 20px 40px;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .page-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .page-hero__intro {
    max-width: 560px;
  }
  .dots-page {
    width: 130px;
    height: 90px;
    right: 12px;
    top: 18px;
  }
  .campanas-intro {
    padding: 36px 20px 24px;
  }
  .campanas-body {
    padding: 0 20px 48px;
  }
  .tab-marca {
    flex: 1 1 100%;
  }
  .panel-head,
  .panel-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  .panel-head .panel-title {
    font-size: 30px;
  }
  .agenda {
    padding: 20px;
  }
  .agenda-datos {
    gap: 20px;
    flex-direction: column;
  }
  .cta-band {
    padding: 32px 20px;
  }
  .cta-band h3 {
    font-size: 20px;
  }
}

/* ---------- Responsive: nuevos componentes ---------- */
@media (max-width: 1024px) {
  .exp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .exp-col .reel {
    max-width: 420px;
  }
}
@media (max-width: 720px) {
  .exp {
    padding: 56px 20px;
  }
  .exp-col h3 {
    font-size: 22px;
  }
  .reel {
    max-width: 320px;
  }
  .sedes-section {
    padding: 0 20px 64px;
  }
  .sedes-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hero: viewports muy bajos (landscape) ----------
   Con poca altura no cabe todo: se libera la altura fija y se permite scroll. */
@media (max-height: 640px) {
  .hero,
  .hero.phase-3 {
    height: auto;
    max-height: none;
  }
}
