/* Agua Sirem — página pública */
:root {
  --azul-900: #021a3f;
  --azul-800: #05296a;
  --azul-700: #0a3f9c;
  --azul: #0a5bc4;
  --azul-400: #2f8cf0;
  --aqua: #19c2e6;
  --aqua-200: #a9ecfa;
  --hielo: #eef7ff;
  --niebla: #f6fafe;
  --tinta: #0b1b33;
  --texto: #3d4f6b;
  --suave: #5a6b85;
  --linea: #dce8f5;
  --blanco: #fff;
  --grad: linear-gradient(135deg, #0a3f9c 0%, #0a5bc4 45%, #19c2e6 100%);
  --sombra-s: 0 2px 10px rgba(5, 41, 106, .06);
  --sombra-m: 0 14px 40px -12px rgba(5, 41, 106, .22);
  --sombra-l: 0 40px 80px -30px rgba(5, 41, 106, .38);
  --radio: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ancho: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--aqua-200); color: var(--azul-900); }

main { overflow-x: clip; }
.contenedor { width: min(100% - 40px, var(--ancho)); margin-inline: auto; }
.seccion { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.salto { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--azul); padding: 10px 16px; border-radius: 10px; z-index: 200; }
.salto:focus { left: 8px; }

/* Tipografía */
.display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--tinta);
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.2; }
.display em { font-style: normal; color: var(--azul); }
.etiqueta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--azul);
}
.etiqueta::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--aqua); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--texto); max-width: 56ch; }
.cabecera-seccion { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; display: grid; gap: 16px; justify-items: center; }

/* Botones */
.btn {
  --bg: var(--azul); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  background: var(--bg); color: var(--fg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primario { background: var(--azul); box-shadow: 0 6px 16px -8px rgba(10, 91, 196, .45); }
.btn-primario:hover { background: var(--azul-700); box-shadow: 0 12px 24px -10px rgba(10, 91, 196, .55); }
.btn-claro { --bg: #fff; --fg: var(--azul-800); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); }
.btn-cristal { --bg: rgba(255, 255, 255, .12); --fg: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-cristal:hover { --bg: rgba(255, 255, 255, .22); }
.btn-linea { --bg: transparent; --fg: var(--azul); border: 1.5px solid var(--linea); }
.btn-linea:hover { border-color: var(--azul); }
.btn-bloque { width: 100%; }
.onda-clic { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: onda .6s linear; pointer-events: none; z-index: -1; }
@keyframes onda { to { transform: scale(4); opacity: 0; } }

/* Barra de progreso */
.progreso { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* Cabecera */
.cabecera { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px 0; transition: padding .3s var(--ease), background-color .3s, box-shadow .3s; }
.cabecera .fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; position: relative; width: 156px; aspect-ratio: 520 / 241; flex: none; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.logo .logo-color { opacity: 0; }
.cabecera.fija { padding: 8px 0; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--linea), var(--sombra-s); }
.cabecera.fija .logo .logo-color { opacity: 1; }
.cabecera.fija .logo .logo-blanco { opacity: 0; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { position: relative; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .88); border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .14); }
.nav a.activo:not(.btn) { color: #fff; background: rgba(255, 255, 255, .18); }
.cabecera.fija .nav a:not(.btn) { color: var(--texto); }
.cabecera.fija .nav a:not(.btn):hover, .cabecera.fija .nav a.activo:not(.btn) { color: var(--azul); background: var(--hielo); }
.nav .btn { margin-left: 10px; padding: 12px 20px; }
.cabecera:not(.fija) .nav .btn { background: #fff; color: var(--azul-800); box-shadow: none; }
.hamburguesa { display: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .16); position: relative; }
.cabecera.fija .hamburguesa { background: var(--hielo); }
.hamburguesa span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.cabecera.fija .hamburguesa span { background: var(--azul-800); }
.hamburguesa span:nth-child(1) { top: 16px; }
.hamburguesa span:nth-child(2) { top: 22px; }
.hamburguesa span:nth-child(3) { top: 28px; }
.menu-abierto .hamburguesa span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-abierto .hamburguesa span:nth-child(2) { opacity: 0; }
.menu-abierto .hamburguesa span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: 130px 0 170px; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 600px at 82% 18%, rgba(25, 194, 230, .55), transparent 60%),
    radial-gradient(700px 500px at 8% 92%, rgba(47, 140, 240, .5), transparent 60%),
    linear-gradient(160deg, var(--azul-900) 0%, var(--azul-800) 38%, var(--azul) 100%);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .12) 35%, #000 70%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .12) 35%, #000 70%); }
.hero .rejilla { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero .display { color: #fff; }
.hero .display em { font-style: italic; font-weight: 500; color: var(--aqua-200); }
.hero .etiqueta { color: var(--aqua-200); }
.hero .lead { color: rgba(255, 255, 255, .84); margin-top: 22px; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-datos { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-datos li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.hero-datos svg { width: 20px; height: 20px; color: var(--aqua-200); flex: none; }
.titulo-linea { display: block; overflow: hidden; padding-bottom: .08em; }
.titulo-linea > span { display: inline-block; transform: translateY(110%); animation: subir 1s var(--ease) forwards; }
.titulo-linea:nth-child(2) > span { animation-delay: .12s; }
@keyframes subir { to { transform: none; } }

.escena { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1200px; }
.halo { position: absolute; width: min(88%, 460px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), rgba(169, 236, 250, .16) 45%, transparent 70%); border: 1px solid rgba(255, 255, 255, .25); }
.halo::before, .halo::after { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .25); animation: girar 40s linear infinite; }
.halo::after { display: none; }
@keyframes girar { to { transform: rotate(360deg); } }
.botellon { position: relative; height: clamp(380px, 52vw, 560px); width: auto; filter: drop-shadow(0 40px 40px rgba(2, 26, 63, .55)); animation: flotar 7s ease-in-out infinite; will-change: transform; }
@keyframes flotar { 50% { translate: 0 -16px; rotate: 1.2deg; } }
.ficha {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px; color: var(--tinta);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  box-shadow: var(--sombra-l); font-size: .82rem; line-height: 1.3; will-change: transform;
}
.ficha b { display: block; font-size: 1.05rem; color: var(--azul-800); font-family: var(--display); }
.ficha i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--hielo); color: var(--azul); flex: none; }
.ficha i svg { width: 20px; height: 20px; }
.ficha-1 { top: 6%; left: -10%; }
.ficha-2 { top: 40%; right: -4%; }
.ficha-3 { bottom: 4%; left: 8%; }
.olas { position: absolute; inset: auto 0 -1px 0; height: 150px; width: 100%; pointer-events: none; }
.olas use { animation: ola 14s cubic-bezier(.55, .5, .45, .5) infinite; }
.olas use:nth-of-type(1) { animation-delay: -2s; animation-duration: 9s; fill: rgba(255, 255, 255, .25); }
.olas use:nth-of-type(2) { animation-delay: -4s; animation-duration: 13s; fill: rgba(255, 255, 255, .45); }
.olas use:nth-of-type(3) { animation-delay: -6s; animation-duration: 17s; fill: #fff; }
@keyframes ola { from { transform: translate3d(-90px, 0, 0); } to { transform: translate3d(85px, 0, 0); } }

/* Aparición al hacer scroll */
.js [data-ver] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-ver="izq"] { transform: translateX(-36px); }
.js [data-ver="der"] { transform: translateX(36px); }
.js [data-ver="zoom"] { transform: scale(.94); }
.js [data-ver].visto { opacity: 1; transform: none; }

/* Cuidar + video */
.cuidar .rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.cuidar .texto { display: grid; gap: 22px; justify-items: start; }
.marco { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 3; max-height: 420px; width: 100%; box-shadow: var(--sombra-l); background: var(--azul-900); }
.marco img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.marco:hover img { transform: scale(1.06); }
.marco::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 26, 63, .3), rgba(2, 26, 63, .75)); pointer-events: none; }
.reproducir { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #fff; font-weight: 700; width: 100%; }
.reproducir span { position: absolute; left: 0; right: 0; top: calc(50% + 62px); text-align: center; text-shadow: 0 2px 10px rgba(2, 26, 63, .8); }
.reproducir i { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--azul); box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: pulso 2.2s infinite; transition: transform .35s var(--ease); }
.reproducir:hover i { transform: scale(1.08); }
.reproducir svg { width: 34px; height: 34px; }
@keyframes pulso { 70% { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.sello { position: absolute; left: 20px; bottom: 20px; z-index: 3; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); color: #fff; font-size: .82rem; font-weight: 600; }

/* Cifras */
.nosotros { background: var(--niebla); }
.cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.cifra { padding: 6px 26px; border-left: 1px solid var(--linea); }
.cifra:first-child { border-left: 0; padding-left: 0; }
.cifra b { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-weight: 600; color: var(--azul-700); font-variant-numeric: tabular-nums; }
.cifra span { display: block; margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--suave); }
.porque { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.porque .foto { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--sombra-l); }
.porque .foto img { width: 100%; height: 100%; object-fit: cover; }
.porque .texto { display: grid; gap: 22px; justify-items: start; }
.ventajas { display: grid; width: 100%; border-top: 1px solid var(--linea); }
.ventajas li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--linea); font-weight: 600; color: var(--tinta); transition: padding-left .35s var(--ease); }
.ventajas li:hover { padding-left: 8px; }
.ventajas i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--azul); color: #fff; flex: none; }
.ventajas svg { width: 15px; height: 15px; }

/* Proceso */
.proceso .rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.pasos { display: grid; gap: 12px; align-content: center; }
.paso { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; text-align: left; padding: 22px 24px; border-radius: var(--radio); border: 1px solid var(--linea); background: #fff; position: relative; overflow: hidden; transition: border-color .3s, box-shadow .4s var(--ease), background-color .3s; width: 100%; }
.paso:hover { border-color: var(--azul-400); }
.paso .num { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--hielo); color: var(--azul); font-family: var(--display); font-weight: 600; font-size: 1.15rem; transition: background .3s, color .3s; }
.paso h3 { font-size: 1.08rem; color: var(--tinta); font-weight: 700; align-self: center; }
.paso p { grid-column: 2; font-size: .94rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.paso[aria-selected="true"] { border-color: transparent; box-shadow: var(--sombra-m); }
.paso[aria-selected="true"] .num { background: var(--azul); color: #fff; }
.paso[aria-selected="true"] p { max-height: 300px; opacity: 1; }
.paso .barra { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.paso[aria-selected="true"] .barra.corre { animation: llenar var(--dur, 6s) linear forwards; }
@keyframes llenar { to { transform: scaleX(1); } }
.visor { position: relative; border-radius: 32px; min-height: 440px; overflow: hidden; color: #fff; display: grid; place-items: center; padding: 40px; background: linear-gradient(165deg, var(--azul-900), var(--azul-700) 60%, var(--azul-400)); box-shadow: var(--sombra-l); }
.visor::before { content: ""; position: absolute; inset: 0; background: url("../img/web/burbujas.webp") center / cover; opacity: .28; mix-blend-mode: screen; }
.gota { position: relative; width: min(60%, 230px); }
.gota svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 24px 30px rgba(2, 26, 63, .5)); }
.gota .nivel { transition: transform 1.1s var(--ease); transform-box: fill-box; }
.gota .ondita { animation: ola 5s ease-in-out infinite alternate; }
.visor-pie { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.visor-pie b { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.visor-pie span { font-size: .85rem; font-weight: 600; opacity: .85; text-align: right; }
.particulas i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); opacity: 1; transition: opacity 1s, transform 1.2s var(--ease); }
.visor[data-paso="1"] .particulas i:nth-child(-n+4),
.visor[data-paso="2"] .particulas i:nth-child(-n+8),
.visor[data-paso="3"] .particulas i { opacity: 0; transform: translateY(-40px) scale(.2); }

/* Productos */
.productos { background: linear-gradient(180deg, #fff, var(--niebla)); }
.tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1400px; }
.producto { position: relative; display: flex; flex-direction: column; border-radius: 28px; background: #fff; border: 1px solid var(--linea); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .5s var(--ease), border-color .3s, transform .5s var(--ease); will-change: transform; }
.producto:hover { box-shadow: var(--sombra-l); border-color: transparent; }
.producto .vitrina { position: relative; height: 290px; padding-top: 36px; display: grid; place-items: center; background: radial-gradient(circle at 50% 110%, #cfe9ff, var(--hielo) 55%, #fff 100%); overflow: hidden; }
.producto .vitrina::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: rgba(255, 255, 255, .7); bottom: -70px; transition: transform .8s var(--ease); }
.producto:hover .vitrina::before { transform: scale(1.35); }
.producto .vitrina img { position: relative; max-height: 200px; width: auto; max-width: 68%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(5, 41, 106, .25)); transition: transform .7s var(--ease); transform: translateZ(40px); }
.producto:hover .vitrina img { transform: translateZ(60px) translateY(-8px) scale(1.06) rotate(-2deg); }
.insignia { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--azul-700); border: 1px solid var(--linea); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.producto .cuerpo { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; flex: 1; }
.producto h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: var(--tinta); line-height: 1.2; }
.producto p { font-size: .94rem; flex: 1; }
.producto .pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 18px; border-top: 1px dashed var(--linea); }
.precio { font-family: var(--display); font-size: 1.9rem; font-weight: 600; color: var(--azul-800); line-height: 1; }
.precio small { font-family: var(--sans); font-size: .8rem; font-weight: 700; color: var(--suave); margin-right: 4px; }
.producto .btn { padding: 12px 18px; font-size: .9rem; }

/* Calculadora */
.calculadora { margin-top: clamp(40px, 6vw, 72px); border-radius: 32px; padding: clamp(26px, 4vw, 48px); background: #fff; border: 1px solid var(--linea); box-shadow: var(--sombra-m); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.calculadora .texto { display: grid; gap: 14px; }
.control { margin-top: 10px; }
.control label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--tinta); margin-bottom: 14px; }
.control output { font-family: var(--display); font-size: 1.6rem; color: var(--azul); }
input[type="range"] { --p: 30%; -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--azul) 0, var(--aqua) var(--p), var(--linea) var(--p)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--azul); box-shadow: 0 6px 14px rgba(10, 91, 196, .35); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--azul); box-shadow: 0 6px 14px rgba(10, 91, 196, .35); }
.personas { display: flex; gap: 4px; margin-top: 16px; min-height: 30px; flex-wrap: wrap; color: var(--azul-400); }
.personas svg { width: 24px; height: 24px; animation: brotar .4s var(--ease) both; }
@keyframes brotar { from { transform: scale(0) translateY(8px); opacity: 0; } }
.resultado { border-radius: 24px; padding: 28px; color: #fff; background: var(--grad); position: relative; overflow: hidden; display: grid; gap: 18px; }
.resultado::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -80px; top: -90px; background: rgba(255, 255, 255, .12); }
.resultado .grande { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.resultado .grande small { font-family: var(--sans); font-size: 1rem; font-weight: 600; opacity: .9; margin-left: 8px; }
.resultado dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.resultado dl div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .14); }
.resultado dt { font-size: .76rem; font-weight: 600; opacity: .85; }
.resultado dd { margin: 2px 0 0; font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.resultado .btn { position: relative; z-index: 1; }
.nota { font-size: .8rem; color: var(--suave); }

/* Compromiso */
.compromiso { color: #fff; background: var(--azul-900); overflow: hidden; }
.compromiso .fondo { position: absolute; inset: -12% 0; background: url("../img/web/servir.webp") center / cover; opacity: .55; will-change: transform; }
.compromiso::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(2, 26, 63, .95) 35%, rgba(2, 26, 63, .45)); }
.compromiso .rejilla { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.compromiso .display { color: #fff; }
.compromiso .display em { color: var(--aqua-200); }
.compromiso .etiqueta { color: var(--aqua-200); }
.compromiso .lead { color: rgba(255, 255, 255, .8); }
.compromiso .texto { display: grid; gap: 22px; justify-items: start; }
.metricas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metrica { padding: 26px 22px; border-radius: var(--radio); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.metrica:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .35); }
.metrica i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: rgba(169, 236, 250, .18); color: var(--aqua-200); margin-bottom: 16px; }
.metrica svg { width: 24px; height: 24px; }
.metrica b { display: block; font-size: 1.05rem; }
.metrica span { font-size: .88rem; color: rgba(255, 255, 255, .72); }

/* Contacto */
.contacto .rejilla { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contacto .texto { display: grid; gap: 20px; }
.medios { display: grid; gap: 12px; margin-top: 8px; }
.medio { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--linea); background: #fff; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
a.medio:hover { transform: translateY(-3px); box-shadow: var(--sombra-m); border-color: transparent; }
.medio i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--hielo); color: var(--azul); flex: none; }
.medio svg { width: 22px; height: 22px; }
.medio small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); }
.medio b { color: var(--tinta); font-size: 1.02rem; word-break: break-word; }
.formulario { border-radius: 32px; padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--linea); box-shadow: var(--sombra-m); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campo { position: relative; }
.campo.ancho, .formulario .btn, .formulario .estado { grid-column: 1 / -1; }
.campo input, .campo textarea { width: 100%; font: inherit; color: var(--tinta); padding: 24px 18px 10px; border-radius: 16px; border: 1.5px solid var(--linea); background: var(--niebla); transition: border-color .25s, box-shadow .25s, background-color .25s; }
.campo textarea { min-height: 150px; resize: vertical; }
.campo label { position: absolute; left: 19px; top: 17px; color: var(--suave); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s; }
.campo input:focus, .campo textarea:focus { outline: 0; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 5px rgba(10, 91, 196, .12); }
.campo input:focus + label, .campo input:not(:placeholder-shown) + label,
.campo textarea:focus + label, .campo textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); color: var(--azul); font-weight: 700; }
.campo input:user-invalid, .campo textarea:user-invalid { border-color: #e5484d; }
.trampa { position: absolute; left: -9999px; }
.estado { display: none; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: .94rem; }
.estado.ok { display: flex; background: #e8f8ef; color: #12693c; }
.estado.error { display: flex; background: #fdecec; color: #a4262c; }
.estado a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.girando { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: girar .7s linear infinite; }

/* Llamado final */
.cta { padding: 0 0 clamp(72px, 10vw, 120px); }
.cta .caja { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 6vw, 72px); color: #fff; background: var(--grad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; box-shadow: var(--sombra-l); }
.cta .caja::before, .cta .caja::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta .caja::before { width: 380px; height: 380px; right: -110px; top: -180px; }
.cta .caja::after { width: 220px; height: 220px; left: 30%; bottom: -150px; }
.cta .display { color: #fff; max-width: 22ch; position: relative; z-index: 1; }
.cta .btn { position: relative; z-index: 1; padding: 18px 30px; font-size: 1.05rem; }

/* Pie */
.pie-sitio { background: var(--azul-900); color: rgba(255, 255, 255, .7); padding: 72px 0 28px; }
.pie-sitio .rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.pie-sitio img { width: 150px; margin-bottom: 18px; }
.pie-sitio h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.pie-sitio li { margin-bottom: 10px; }
.pie-sitio a { transition: color .2s; }
.pie-sitio a:hover { color: #fff; }
.pie-sitio .credito { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pie-fin { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; padding-right: 84px; }

.flotante-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(18, 140, 70, .7); transition: transform .35s var(--ease); }
.flotante-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: aro 2.4s 3; }
@keyframes aro { to { transform: scale(1.6); opacity: 0; } }
.flotante-wa:hover { transform: scale(1.1); }
.flotante-wa svg { width: 30px; height: 30px; }
.medio-wa i { background: #e7f9ee; color: #128c46; }

/* Video */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(2, 26, 63, .82); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.abierto { opacity: 1; visibility: visible; }
.modal .lienzo { position: relative; width: min(100%, 980px); transform: scale(.92); transition: transform .45s var(--ease); }
.modal.abierto .lienzo { transform: none; }
.modal video { width: 100%; max-height: 80vh; border-radius: 22px; background: #000; box-shadow: var(--sombra-l); }
.cerrar { position: absolute; right: 0; top: -54px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease); }
.cerrar:hover { background: rgba(255, 255, 255, .3); transform: rotate(90deg); }
.cerrar svg { width: 20px; height: 20px; }

/* Adaptable */
@media (max-width: 980px) {
  .hero { padding: 110px 0 110px; }
  .hero canvas { -webkit-mask-image: none; mask-image: none; opacity: .5; }
  .olas { height: 90px; }
  .hero .rejilla, .cuidar .rejilla, .porque, .proceso .rejilla, .compromiso .rejilla, .contacto .rejilla, .calculadora { grid-template-columns: minmax(0, 1fr); }
  .escena { min-height: 420px; }
  .cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .cifra:nth-child(odd) { border-left: 0; padding-left: 0; }
  .tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .porque .foto { aspect-ratio: 16 / 10; }
  .marco { aspect-ratio: 16 / 11; }
  .visor { min-height: 380px; }
  .pie-sitio .rejilla { grid-template-columns: 1fr 1fr; }

  .hamburguesa { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 10px; background: linear-gradient(160deg, var(--azul-900), var(--azul)); clip-path: circle(0 at calc(100% - 44px) 38px); transition: clip-path .6s var(--ease); visibility: hidden; }
  .menu-abierto .nav { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
  .nav a:not(.btn), .cabecera.fija .nav a:not(.btn) { color: #fff; font-family: var(--display); font-size: 2rem; padding: 10px 24px; background: none; }
  .nav .btn, .cabecera .nav .btn { margin: 18px 0 0; padding: 16px 28px; background: #fff; color: var(--azul-800); }
  .menu-abierto .hamburguesa { background: rgba(255, 255, 255, .16); }
  .menu-abierto .hamburguesa span { background: #fff; }
  .menu-abierto .logo .logo-blanco { opacity: 1 !important; }
  .menu-abierto .logo .logo-color { opacity: 0 !important; }
  .menu-abierto .logo { z-index: 2; }
  .menu-abierto.cabecera { background: none; box-shadow: none; backdrop-filter: none; }
}
@media (max-width: 640px) {
  .tarjetas, .formulario, .pie-sitio .rejilla { grid-template-columns: minmax(0, 1fr); }
  .metrica { padding: 16px; }
  .metrica i { width: 40px; height: 40px; margin-bottom: 12px; }
  .cabecera-seccion { text-align: left; justify-items: start; margin-inline: 0; }
  .olas { height: 70px; }
  .hero { padding-bottom: 90px; }
  .hero-datos { flex-direction: column; align-items: flex-start; margin-top: 32px; }
  .producto .vitrina { height: 210px; padding-top: 30px; }
  .producto .vitrina img { max-height: 150px; }
  .escena { min-height: 300px; }
  .botellon { height: 270px; }
  .ficha { display: none; }
  .hero-acciones .btn { flex: 1 1 100%; }
  .cifra { padding: 4px 14px; }
  .cifra b { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .cifras { gap: 12px; }
  .sello { display: none; }
  .marco { aspect-ratio: 1; }
  .paso { padding: 18px; gap: 6px 14px; }
  .visor-pie b { font-size: 2rem; }
  .resultado dl { grid-template-columns: 1fr; }
  .cta .caja { text-align: center; justify-content: center; }
  .logo { width: 128px; }
  .flotante-wa { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .flotante-wa svg { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-ver] { opacity: 1; transform: none; }
  .titulo-linea > span { transform: none; }
}
