/* ─── Benzin local font-face ───────────────────────── */
@font-face {
  font-family: 'Benzin';
  src: url('../fonts/Benzin-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benzin';
  src: url('../fonts/Benzin-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benzin';
  src: url('../fonts/Benzin-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benzin';
  src: url('../fonts/Benzin-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benzin';
  src: url('../fonts/Benzin-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ─── AZO Brand Styles ─────────────────────────────── */

:root {
  --azo-blue:   #1A48F5;   /* brand blue principal */
  --azo-navy:   #14265e;   /* navy blue (antes negro) */
  --azo-accent: #1A48F5;   /* mismo brand blue — consistencia total */
  --azo-hover:  #0F35D4;   /* hover state (10% más oscuro) */
  --azo-ice:    #EBF0FF;   /* fondo muy claro */
  --azo-sky:    #C5D3FF;   /* bordes y tags */
  --azo-gray:   #F4F6FA;   /* secciones alternas */
  --azo-mid:    #5A6E99;   /* texto secundario */
}

/* ─── Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

/* ─── Full-page scroll snap ─────────────────────────── */
.snap-container {
  /* El snap vive en el scroll principal del documento */
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  height: 100dvh;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}

/* Desktop: snap manejado por JS (direccional/sensible). Móvil: proximity por touch. */
html { scroll-snap-type: none; }
@media (max-width: 767px) {
  html { scroll-snap-type: y proximity; }
}

body { font-family: 'Inter', system-ui, sans-serif; }

/* ─── Header ───────────────────────────────────────── */
#header {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
#header.scrolled {
  background: rgba(26, 72, 245, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
#header.scrolled .logo-dot {
  background: #fff;
}

/* Header sobre secciones claras — fondo transparente, textos oscuros */
#header.light-mode { background: transparent !important; backdrop-filter: none !important; box-shadow: none !important; }
#header.light-mode .nav-link { color: var(--azo-navy); }
#header.light-mode .nav-link:hover { color: var(--azo-blue); }
#header.light-mode .azo-logo span { color: var(--azo-blue); }
#header.light-mode .logo-dot { background: var(--azo-blue); }

/* Header sobre secciones oscuras — fondo transparente, textos blancos, logo blanco */
#header.dark-mode { background: transparent !important; backdrop-filter: none !important; box-shadow: none !important; }
#header.dark-mode .nav-link { color: #fff; }
#header.dark-mode .nav-link:hover { color: #fff; }

/* Header con barra blanca sólida (p.ej. distribución) — texto/logo navy */
#header.white-mode { background: #fff !important; backdrop-filter: none !important; box-shadow: none !important; }
#header.white-mode .nav-link { color: var(--azo-navy); }
#header.white-mode .menu-toggle { color: var(--azo-navy); }

/* Botón hamburguesa — sigue el tema del header */
.menu-toggle { color: #fff; position: relative; z-index: 60; transition: color 0.2s, opacity 0.2s; }
.menu-toggle:hover { opacity: 0.7; }
#header.light-mode .menu-toggle { color: var(--azo-navy); }
#header.dark-mode .menu-toggle { color: #fff; }

.nav-link {
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--azo-accent);
  transition: right 0.25s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { right: 0; }

/* ─── Menú overlay full-screen — efecto "vaso llenándose" ─── */
#mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1530;
  z-index: 45;
  pointer-events: none;
  /* cerrado: recortado desde arriba (vacío). Se revela desde abajo */
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.75s cubic-bezier(0.45, 0, 0.15, 1);
}
#mobile-menu.open {
  pointer-events: auto;
  clip-path: inset(0 0 0 0);
}
#mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.mobile-link {
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  display: block;
  padding: 0.55rem 0;
  font-size: clamp(1.7rem, 5.5vw, 2.8rem);
  line-height: 1.15;
  color: rgba(255,255,255,0.95);
  /* aparición escalonada al llenarse */
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1), color 0.2s;
}
.mobile-link:hover { color: #fff; }
.mobile-cta { color: var(--azo-blue); margin-top: 0.6rem; }
#mobile-menu.open .mobile-link { opacity: 1; transform: translateY(0); }
#mobile-menu.open li:nth-child(1) .mobile-link { transition-delay: 0.30s; }
#mobile-menu.open li:nth-child(2) .mobile-link { transition-delay: 0.38s; }
#mobile-menu.open li:nth-child(3) .mobile-link { transition-delay: 0.46s; }
#mobile-menu.open li:nth-child(4) .mobile-link { transition-delay: 0.56s; }

/* Botón: swap hamburguesa ↔ X */
.menu-toggle .icon-close { display: none; }
#header.menu-open .menu-toggle .icon-bars { display: none; }
#header.menu-open .menu-toggle .icon-close { display: block; }
/* Sobre el overlay navy el botón siempre va blanco */
#header.menu-open .menu-toggle { color: #fff; }
/* Ocultar el cluster flotante mientras el menú está abierto */
body.menu-open .float-cluster { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }

/* Logo */
.azo-logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.azo-logo-img {
  height: 32px;
  width: auto;
  display: block;
}
/* Swap logo: tipografía (sin burbuja) — navy sobre fondos claros, blanca sobre oscuros */
.azo-logo-img.logo-white { display: none; }
.azo-logo-corner.on-dark .logo-default,
.azo-logo-corner.menu-open .logo-default { display: none; }
.azo-logo-corner.on-dark .logo-white,
.azo-logo-corner.menu-open .logo-white { display: block; }
.azo-logo-corner {
  display: flex;
  align-items: center;
}
/* Logo + hamburguesa por encima del overlay del menú */
#header nav { position: relative; z-index: 60; }
.logo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--azo-accent);
}

/* ─── Buttons ──────────────────────────────────────── */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--azo-blue);
  color: #fff;
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary-dark:hover { background: var(--azo-hover); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--azo-blue);
  color: #fff;
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  border-radius: 9999px;
  border: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--azo-hover);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: #fff;
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  border-radius: 9999px;
  border: 1.5px solid #fff;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: #fff;
  color: var(--azo-blue);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  border-radius: 9999px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* ─── Hero ─────────────────────────────────────────── */
.hero-section {
  background: var(--azo-navy);
  /* dvh = dynamic viewport height: respeta la barra del browser en móvil */
  height: 100dvh;
  min-height: 560px; /* floor para pantallas muy pequeñas */
}

/* Video siempre llena el contenedor */
.hero-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Texto hero responsive */
.hero-h1 {
  font-size: clamp(1.5rem, 3.8vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  max-width: 20em;
}

.hero-section .hero-subtitle {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  line-height: 1.75;
  max-width: 68ch;
  font-weight: 400;
  opacity: 0.72;
}

/* Padding inferior del contenido */
.hero-section .hero-content {
  padding-bottom: clamp(2rem, 5vh, 5rem);
}

.hero-overlay {
  background: linear-gradient(
    to top,
    rgba(3, 15, 43, 0.72) 0%,
    rgba(3, 15, 43, 0.15) 45%,
    rgba(3, 15, 43, 0.35) 100%
  );
}


/* ─── Animations ───────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fade-up 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ─── Value cards ──────────────────────────────────── */
/* ─── Intro section layout ─────────────────────────── */
/* Sección tall para scroll storytelling */
.intro-section {
  position: relative;
  height: 250vh;
  background: #fff;
}
/* Wrapper sticky que se queda en pantalla mientras scrolleas */
.intro-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 97% 7%, rgba(0,163,224,0.13) 0%, transparent 40%);
}
.intro-hero-title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--azo-navy);
  text-align: center;
  padding: 0 2rem;
  will-change: transform;
  position: relative;
  z-index: 5;
}
.intro-hero-title em {
  font-style: normal;
  color: var(--azo-blue);
}
/* Escenario que llena la pantalla */
.intro-stage {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
/* Copys de agua / hielo — misma posición baja y congruente */
.stage-caption {
  position: absolute;
  left: 50%;
  bottom: 16%;
  transform: translateX(-50%) translateY(14px);
  width: min(90%, 460px);
  text-align: center;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.stage-caption.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Tubería de purificación ─────────────────────── */
.purif {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 1000px);
  transition: opacity 0.4s ease;
}
/* Capa del hielo, superpuesta */
.intro-ice {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.intro-ice img {
  height: 46vh;
  width: auto;
  display: block;
}
.intro-ice.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.intro-ice-title {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  color: var(--azo-navy);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.intro-ice-desc {
  font-size: 0.95rem;
  color: var(--azo-mid);
  line-height: 1.6;
}
/* Riel de la tubería */
.purif-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: #e6ebf5;
  overflow: hidden;
}
/* Agua que avanza */
.purif-fill {
  position: absolute;
  inset: 0 calc(100% - var(--fill, 0%)) 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #8fb0ff 0%, var(--azo-blue) 100%);
  transition: inset 0.08s linear;
}
/* Etapas distribuidas sobre el riel */
.purif-stages {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}
.purif-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Nodo (círculo) en el riel */
.purif-node {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d4ddf0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.purif-drop {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4ddf0;
  transition: background 0.3s, transform 0.3s;
}
/* Etiqueta de cada etapa, alternando arriba/abajo */
.purif-label {
  position: absolute;
  width: 160px;
  text-align: center;
  opacity: 0.35;
  transition: opacity 0.35s, transform 0.35s;
}
.purif-stage:nth-child(odd) .purif-label  { bottom: 38px; }
.purif-stage:nth-child(even) .purif-label { top: 38px; }
.purif-step {
  display: block;
  font-size: 0.7rem;
  color: var(--azo-blue);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.purif-name {
  font-size: 1rem;
  font-weight: 400;
  color: var(--azo-navy);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.purif-desc {
  font-size: 0.78rem;
  color: var(--azo-mid);
  line-height: 1.3;
}
/* Estado activo cuando el agua llega */
.purif-stage.active .purif-node {
  border-color: var(--azo-blue);
  box-shadow: 0 0 0 5px rgba(26,72,245,0.12);
  transform: scale(1.15);
}
.purif-stage.active .purif-drop {
  background: var(--azo-blue);
}
.purif-stage.active .purif-label {
  opacity: 1;
}

/* ── Tubería vertical en mobile ── */
@media (max-width: 640px) {
  .purif {
    width: auto;
    left: 2.25rem;
    right: auto;
    transform: translateY(-50%);
  }
  .purif-track {
    width: 6px;
    height: 62vh;
    max-height: 460px;
  }
  .purif-fill {
    inset: 0 0 calc(100% - var(--fill, 0%)) 0;
    background: linear-gradient(180deg, #8fb0ff 0%, var(--azo-blue) 100%);
  }
  .purif-stages {
    top: 0; bottom: 0; left: 50%; right: auto;
    transform: translateX(-50%);
    flex-direction: column;
    height: 100%;
  }
  /* Etiquetas a la derecha de cada nodo */
  .purif-stage:nth-child(odd) .purif-label,
  .purif-stage:nth-child(even) .purif-label {
    top: 50%;
    bottom: auto;
    left: 1.6rem;
    transform: translateY(-50%);
    text-align: left;
    width: min(58vw, 240px);
  }
  /* La tubería vertical ya lista las 5 etapas: el resumen sobra y se monta */
  #purif-caption { display: none; }
}

/* ─── Stat cards ───────────────────────────────────── */
.stat-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #E8EEF4;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stat-number {
  font-size: 2.25rem;
  line-height: 1;
  color: var(--azo-navy);
  font-family: 'Benzin', sans-serif;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--azo-mid);
  font-weight: 500;
}

/* ─── Product tabs ─────────────────────────────────── */
.product-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid #D1DFE8;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--azo-mid);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.product-tab:hover {
  border-color: var(--azo-blue);
  color: var(--azo-blue);
}
.product-tab.active {
  background: var(--azo-blue);
  border-color: var(--azo-blue);
  color: #fff;
}

/* ─── Product cards ────────────────────────────────── */
.product-card {
  border-radius: 1rem;
  border: 1px solid #E8EEF4;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 10px 40px rgba(0,87,168,0.1);
  transform: translateY(-2px);
}
.product-card.featured { border-color: var(--azo-sky); }
.product-card.info-card { background: var(--azo-gray); }

.product-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--azo-ice);
}
.product-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-img-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--azo-blue);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.product-img-placeholder svg { width: 60px; height: 80px; }
.product-img-placeholder.ice svg { width: 80px; height: 80px; }
/* hide placeholder if real image loads */
.product-img-wrap:not(.no-img) .product-img-placeholder { display: none; }
.product-img-wrap.no-img .product-img { display: none; }
.product-img-wrap.no-img .product-img-placeholder { display: flex; }

.product-info { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.product-info h3 { font-size: 1rem; }
.product-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  background: var(--azo-ice);
  color: var(--azo-blue);
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* ─── Eventos section ──────────────────────────────── */
.eventos-bg-deco {
  background-image: radial-gradient(circle at 80% 20%, rgba(0,163,224,0.12) 0%, transparent 50%),
                    radial-gradient(circle at 10% 80%, rgba(0,87,168,0.2) 0%, transparent 40%);
}
.evento-card {
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.evento-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(0,163,224,0.06));
}

/* ─── Sostenibilidad ───────────────────────────────── */
.big-stat-wrap { position: relative; display: flex; align-items: flex-start; }

.sust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--azo-ice);
  border: 1px solid var(--azo-sky);
  text-align: center;
}

/* ─── Distribution / Route ─────────────────────────── */
/* ─── Sostenibilidad ───────────────────────────────── */
.sost-section {
  position: relative;
  height: 100dvh;
  min-height: 560px;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  overflow: hidden;
  background: #0a1019;
}
/* Fondo full-bleed */
.sost-bg,
.sost-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.sost-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5,10,18,0.18) 0%, rgba(5,10,18,0.05) 35%, transparent 60%),
    linear-gradient(to top, rgba(5,10,18,0.30) 0%, transparent 45%);
  z-index: 1;
}
/* Contenido principal — abajo izquierda */
.sost-content {
  position: absolute;
  left: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(2.5rem, 8vh, 5rem);
  z-index: 2;
  max-width: 520px;
}
.sost-eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azo-sky);
  margin-bottom: 1rem;
}
.sost-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.sost-intro {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 44ch;
}
/* Stat de energía — arriba derecha */
.sost-stat-box {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  top: clamp(7rem, 18vh, 11rem);
  z-index: 2;
  text-align: right;
  max-width: 280px;
}
.sost-stat {
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.sost-stat span:last-child {
  font-size: 0.4em;
  color: var(--azo-sky);
  vertical-align: super;
}
.sost-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .sost-content { left: 1.5rem; right: 1.5rem; bottom: 2.5rem; max-width: none; }
  /* dejar libre la esquina inferior derecha para los botones flotantes */
  .sost-intro { max-width: calc(100% - 5rem); }
  .sost-stat-box { right: 1.5rem; top: 6rem; }
  .sost-stat { font-size: clamp(3rem, 16vw, 5rem); }
}

/* ─── Marca Blanca ─────────────────────────────────── */
.wb-section {
  position: relative;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background: radial-gradient(circle at 3% 97%, rgba(0,163,224,0.14) 0%, transparent 40%), #fff;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.wb-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 4rem;
  gap: 1.5rem;
  z-index: 2;
}

.wb-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--azo-mid);
  letter-spacing: 0.04em;
}
.wb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--azo-blue);
  flex-shrink: 0;
}

.wb-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: var(--azo-navy);
  line-height: 1.1;
}
.wb-title em { font-style: normal; color: var(--azo-blue); }

.wb-body {
  font-size: 1rem;
  color: var(--azo-mid);
  line-height: 1.7;
  max-width: 38ch;
}

.wb-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  padding: 0; margin: 0;
}
.wb-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--azo-navy);
}
.wb-check {
  color: var(--azo-blue);
  font-weight: 700;
  flex-shrink: 0;
}

.wb-cta { align-self: flex-start; margin-top: 0.5rem; }

.wb-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.wb-image picture,
.wb-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .wb-section { flex-direction: column-reverse; height: auto; min-height: 100dvh; }
  .wb-image { flex: 0 0 45vh; min-height: 260px; position: relative; }
  .wb-content { flex: 1; padding: 2rem 1.25rem 2.5rem; }
}

/* ─── Distribución: mapa + panel ──────────────────── */
.dist-section {
  display: flex;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background: #f4f6fa;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  position: relative;
}

/* Map half — full width, fills section */
.dist-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

/* Panel half — full column on the right */
.dist-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: radial-gradient(circle at 95% 97%, rgba(0,163,224,0.13) 0%, transparent 45%), #ffffff;
  padding: 12rem 2rem 2rem;
  gap: 1.25rem;
  border-left: none;
  border-radius: 0;
  box-shadow: -12px 0 40px rgba(20,38,94,0.10);
  z-index: 1;
}

.dist-title {
  font-size: clamp(2.1rem, 2.8vw, 3rem);
  font-weight: 400;
  color: var(--azo-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.dist-title em { font-style: normal; color: var(--azo-blue); }

.dist-subtitle {
  font-size: 0.88rem;
  color: var(--azo-mid);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Lista de locaciones — lenguaje editorial como el hero */
.dist-cards {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.dist-card-head {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0.55rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.dist-card-dot,
.dist-card-toggle { display: none; }

.dist-card-name {
  flex: 1;
  font-family: 'Benzin', sans-serif;
  font-size: clamp(1.45rem, 1.9vw, 1.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--azo-navy);
  transition: color 0.2s;
}
.dist-card-head:hover .dist-card-name,
.dist-card.open .dist-card-name { color: var(--azo-blue); }

.dist-card-body {
  padding: 0.4rem 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dist-card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azo-blue);
  margin-bottom: 0.25rem;
}

.dist-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--azo-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.dist-info-row:hover { color: var(--azo-navy); }

.dist-info-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(26, 72, 245, 0.10);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--azo-blue);
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.dist-info-icon svg { width: 15px; height: 15px; }

.dist-maps-link {
  font-size: 0.8rem;
  color: var(--azo-blue);
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.25rem;
  display: inline-block;
  transition: opacity 0.2s;
}
.dist-maps-link:hover { opacity: 0.7; }

/* Marcador Leaflet AZO */
.azo-marker {
  width: 36px;
  height: 44px;
  background: var(--azo-blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26,72,245,0.35);
}
.azo-marker span {
  transform: rotate(45deg);
  font-family: 'Benzin', sans-serif;
  font-size: 0.45rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  max-width: 28px;
}

/* Mobile: stack */
@media (max-width: 767px) {
  /* Apilar: mapa arriba, panel abajo (los hijos son absolute en desktop) */
  .dist-section {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  .dist-map {
    position: relative;
    inset: auto;
    width: 100%;
    height: 40vh;
    min-height: 240px;
  }
  .dist-panel {
    position: relative;
    inset: auto;
    top: auto; right: auto; bottom: auto;
    width: 100%;
    padding: 2.5rem 1.5rem 3.5rem;
    box-shadow: none;
  }
}

/* ─── Contacto / CTA ───────────────────────────────── */
.contacto-deco {
  background-image:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(0,163,224,0.15) 0%, transparent 35%);
}

/* Info de contacto minimalista */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contacto-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.contacto-info-label {
  font-size: 0.78rem;
  color: var(--azo-mid);
}
.contacto-info-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--azo-navy);
  transition: color 0.2s;
}
a.contacto-info-value:hover { color: var(--azo-blue); }

/* Formulario minimalista (sin tarjeta) */
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ─── Form ─────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--azo-navy);
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  padding: 0.8rem 1.35rem;
  border: 1.5px solid var(--azo-blue);
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--azo-navy);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
textarea.form-input { border-radius: 1.5rem; }
.form-input::placeholder { color: #A9BFCF; }
.form-input:focus {
  border-color: var(--azo-blue);
  box-shadow: 0 0 0 3px rgba(26,72,245,0.16);
}

/* ─── Footer V2 ────────────────────────────────────── */

/* ─── Footer ──────────────────────────────────────────── */
/* Bloque final: contacto + footer en una pantalla con degradado */
.end-block {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.contacto-block {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4rem 0 1.5rem;
}

.footer-root {
  position: relative;
  background: #ffffff;
  border-top: 1px solid rgba(20,38,94,0.08);
  padding: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-logo-img {
  height: 26px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--azo-mid);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--azo-mid);
}

.footer-social {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
.footer-social-icon {
  color: var(--azo-blue);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}
.footer-social-icon:hover { color: var(--azo-navy); transform: translateY(-2px); }

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
}
.footer-bottom-links a {
  color: var(--azo-mid);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--azo-blue); }

@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 5rem; /* despeja los botones flotantes */
  }
  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* WhatsApp flotante */
/* Cluster de botones flotantes */
.float-cluster {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-float {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}

.calc-float-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--azo-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.calc-float-btn:hover {
  transform: scale(1.08);
}

/* ─── Product Showcase Section ─────────────────────── */

/* ─── Product Viewer (nuevo layout) ───────────────── */
.pv-section {
  display: grid;
  grid-template-columns: 100px 1fr 130px;
  grid-template-rows: 1fr auto;
  background: #fff;
  position: relative;
}
/* Glow celeste DELANTE de la imagen (la foto trae fondo blanco y se veía el cuadro) */
.pv-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle at 2% 98%, rgba(0,163,224,0.14) 0%, transparent 42%);
}

/* Izquierda: Agua / Hielo */
.pv-cats {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0 0 1.5rem;
  gap: 0.5rem;
}
.pv-cat {
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  color: var(--azo-mid);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0.25rem 0;
  transition: color 0.2s;
  writing-mode: horizontal-tb;
  position: relative;
}
.pv-cat::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--azo-blue);
  transition: height 0.25s ease;
  border-radius: 2px;
}
.pv-cat.active { color: var(--azo-navy); }
.pv-cat.active::before { height: 100%; }
.pv-cat:hover:not(.active) { color: var(--azo-navy); }

.pv-calc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--azo-blue);
  color: #fff;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.pv-calc-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.pv-calc-btn.hidden { display: none; }

/* Centro: imagen */
.pv-stage {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
}
.pv-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.pv-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.pv-slide picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.pv-slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  padding: 3rem 2rem;
}
/* Hielo en bolsa: más chico para que se vea proporcional a las botellas */
.pv-slide[data-product="6"] img {
  max-height: 70%;
  max-width: 60%;
}

/* Derecha: versiones */
.pv-sizes {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.5rem 0 1rem;
  gap: 0.1rem;
}
.pv-size {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem 0;
  text-align: left;
  transition: opacity 0.2s;
}
.pv-size-num {
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.3vw, 1.15rem);
  color: #ccc;
  transition: color 0.2s;
  line-height: 1;
}
.pv-size-unit {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #ccc;
  transition: color 0.2s;
}
.pv-size.active .pv-size-num,
.pv-size:hover .pv-size-num { color: var(--azo-navy); }
.pv-size.active .pv-size-unit,
.pv-size:hover .pv-size-unit { color: var(--azo-blue); }
.pv-size.active {
  border-bottom-color: #eee;
}

/* Abajo: nombre grande */
.pv-name-bar {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 1rem 2rem 4rem;
}
.pv-name-label {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--azo-navy);
  line-height: 1;
}
.pv-name-label em {
  font-style: normal;
  font-size: 0.45em;
  color: var(--azo-blue);
  letter-spacing: 0.08em;
  text-transform: none;
  vertical-align: middle;
}
.pv-name-cat {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azo-mid);
  text-align: center;
}

/* Mobile */
@media (max-width: 640px) {
  .pv-section {
    grid-template-columns: 70px 1fr;
    grid-template-rows: 1fr auto auto;
  }
  .pv-sizes {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-top: 1px solid #eee;
    padding: 0.75rem 1rem;
    gap: 0;
  }
  .pv-size { padding: 0.5rem 0.75rem; border-bottom: none; }
  .pv-name-bar { grid-row: 3; }
}

/* ─── Responsive tweaks ────────────────────────────── */
@media (max-width: 640px) {
  .route-points { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .route-line { display: none; }
  .route-point { flex: 0 0 calc(33% - 1rem); }
}

/* ─── Calculadora de Hielo (drawer) ────────────────── */
.calc-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  opacity: 1;
  transition: opacity 0.25s;
}
.calc-overlay.hidden { display: none; }

.calc-box {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 100%;
  background: #fff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  gap: 1.5rem;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}

.calc-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  color: var(--azo-mid);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.calc-close:hover { background: #e5e7eb; }

.calc-title {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--azo-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azo-mid);
}

.calc-number-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calc-num-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: none;
  font-size: 1.2rem;
  color: var(--azo-navy);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.calc-num-btn:hover { border-color: var(--azo-blue); color: var(--azo-blue); }

.calc-num-input {
  width: 80px;
  text-align: center;
  font-family: 'Benzin', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--azo-navy);
  border: none;
  outline: none;
  background: none;
  -moz-appearance: textfield;
}
.calc-num-input::-webkit-outer-spin-button,
.calc-num-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.calc-unit {
  font-size: 0.85rem;
  color: var(--azo-mid);
}

.calc-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.calc-pill {
  flex: 1;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  border: 1.5px solid #e5e7eb;
  background: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--azo-navy);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  line-height: 1.2;
}
.calc-pill span {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--azo-mid);
}
.calc-pill.active {
  border-color: var(--azo-blue);
  background: #EBF0FF;
  color: var(--azo-blue);
}
.calc-pill.active span { color: var(--azo-blue); opacity: 0.7; }
.calc-pill:hover:not(.active) { border-color: var(--azo-mid); color: var(--azo-navy); }

.calc-result {
  background: #f8f9ff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.calc-result-num {
  font-size: 3rem;
  font-weight: 400;
  color: var(--azo-blue);
  line-height: 1;
  letter-spacing: -0.03em;
}

.calc-result-unit {
  font-size: 1rem;
  color: var(--azo-mid);
}

.calc-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.calc-wa-btn:hover { opacity: 0.88; }
