/* =============================================================
   Fusión Serrana · v2 (rediseño del cliente)
   1. Tokens
   ============================================================= */
:root {
  /* franjas de marca: del agua a la tierra */
  --s1: #9abbe4; --s2: #6aa8de; --s3: #569f98; --s4: #68ab6a;
  --s5: #739f4e; --s6: #bc9c69; --s7: #84603b; --s8: #5e3e1b;

  --deep: #061a1d;
  --ink: #082024;
  --teal-900: #0a292c;
  --teal-800: #0d363a;
  --teal-700: #10464b;
  --teal-600: #155a5e;
  --aqua: #2bbe88;
  --aqua-2: #2bb7af;
  --sky: #6fd3e0;
  --cream: #f6f3ec;
  --paper: #fbfaf7;
  --text: #0b1d1f;
  --muted: #3d4b4d;
  --eyebrow: #1d7a5c;
  --line: rgba(8, 32, 36, .14);

  --grad-aqua: linear-gradient(90deg, var(--aqua), var(--aqua-2));
  --grad-stripes: linear-gradient(90deg, var(--s1) 0 12.5%, var(--s2) 0 25%, var(--s3) 0 37.5%, var(--s4) 0 50%, var(--s5) 0 62.5%, var(--s6) 0 75%, var(--s7) 0 87.5%, var(--s8) 0);
  --grad-deep: linear-gradient(100deg, var(--ink) 0%, var(--teal-900) 35%, var(--teal-800) 65%, var(--teal-700) 100%);

  --display: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --condensed: "Bebas Neue", "Anton", "Arial Narrow", sans-serif;
  --sans: "Josefin Sans", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 26px;
  --shadow-card: 6px 8px 16px -6px rgba(6, 26, 29, .45), 0 1px 2px rgba(6, 26, 29, .06);
  --shadow-lift: 10px 18px 34px -12px rgba(6, 26, 29, .45);
  --shadow-photo: 8px 10px 22px -6px rgba(0, 0, 0, .5);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h: 84px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 70px; }
body {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 600; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1; font-weight: 400; }
::selection { background: var(--aqua); color: #fff; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; padding: .6rem 1rem; background: #fff; color: var(--ink); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.2em; height: 1.2em; flex: none; }
.chev { width: 1em; height: 1em; flex: none; color: var(--aqua); }
.stripes { height: 8px; background: var(--grad-stripes); }
.stripes--mini { display: inline-block; flex: none; width: 150px; height: 13px; border-radius: 8px; position: relative; overflow: hidden; }
.stripes--mini::after { /* brillo que recorre la barra, como agua corriendo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.65) 50%, transparent 80%);
  transform: translateX(-120%);
}
.is-visible > .stripes--mini::after, .eyebrow.is-visible .stripes--mini::after { animation: sheen 1.6s .3s var(--ease-soft) forwards; }
@keyframes sheen { to { transform: translateX(120%); } }
.stripes--band { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 10px; }
.rule { border: 0; height: 1px; background: rgba(8,32,36,.35); }

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  display: flex; align-items: center; gap: 1.4rem;
  font-family: var(--sans); font-weight: 400; font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow);
  margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
}
.eyebrow--center { justify-content: center; }
.eyebrow--plain { gap: 0; margin-top: 2.6rem; margin-bottom: 1.2rem; }
.eyebrow--light { color: #bfe9ee; }
.title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: .005em;
}
.title--center { text-align: center; }
.title--sm { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.title em, .hero-title em, .svc--cta em {
  font-style: normal;
  background: linear-gradient(90deg, var(--aqua), var(--aqua-2), #5fd6c6, var(--aqua));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: waterSheen 9s linear infinite;
}
@keyframes waterSheen { to { background-position: 300% 0; } }
.body { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 54ch; }
.body b { color: var(--text); }
.body + .body { margin-top: 1.2rem; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 62px; padding: .9rem 2rem;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1.1rem;
  transform: translate(var(--bx), var(--by));
  transition: transform .5s var(--ease-out), box-shadow .45s var(--ease-out);
  white-space: nowrap;
}
.btn-sm { min-height: 44px; padding: .5rem 1.3rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-water {
  color: #fff;
  background: linear-gradient(90deg, #2fc77f, #2bb7af 55%, #35a9d6);
  background-size: 200% 100%;
  box-shadow: 0 12px 28px -12px rgba(43, 190, 136, .8);
  transition: transform .5s var(--ease-out), box-shadow .45s var(--ease-out), background-position .8s var(--ease-out);
}
.btn-water:hover { background-position: 100% 0; box-shadow: 0 16px 34px -12px rgba(43, 183, 175, .9); }
.btn-water .chev { color: #fff; }
.btn .ripple { /* onda al hacer clic */
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  background: rgba(255,255,255,.45);
  animation: rippleOut .8s var(--ease-out) forwards;
}
@keyframes rippleOut { from { transform: scale(0); opacity: 1; } to { transform: scale(26); opacity: 0; } }

.round-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-card);
  transition: background .3s, color .3s, transform .4s var(--ease-out);
}
.round-btn svg { width: 22px; height: 22px; }
.round-btn[data-car-prev] svg { transform: rotate(180deg); }
.round-btn:hover { background: var(--teal-800); color: #fff; transform: translateY(-2px); }
.round-btn:hover svg { color: #fff; }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* Fondo "agua profunda" + curvas que se mueven */
.water-dark { position: relative; background: var(--grad-deep); color: #fff; isolation: isolate; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.water-light { /* luz que se filtra en el agua y sigue al cursor */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--lx, 70%) var(--ly, 30%), rgba(111, 211, 224, .14), transparent 60%),
    radial-gradient(900px circle at 85% 0%, rgba(43, 183, 175, .12), transparent 60%);
  transition: background-position .3s;
}

/* Olas animadas entre secciones */
.waves { position: absolute; left: 0; right: 0; height: clamp(60px, 9vw, 130px); pointer-events: none; z-index: 2; }
.waves svg { width: 100%; height: 100%; }
.waves--bottom { bottom: -1px; }
.waves--top { top: -1px; }
.wv { animation: waveX 22s linear infinite; }
.wv1 { fill: rgba(111, 211, 224, .12); animation-duration: 16s; }
.wv2 { fill: rgba(43, 183, 175, .16); animation-duration: 26s; animation-direction: reverse; }
.wv3, .wv-cream { fill: var(--cream); animation-duration: 34s; }
@keyframes waveX { to { transform: translateX(-720px); } }

/* Píldoras de foto (forma del logo) */
.pill {
  position: relative; border-radius: 999px; overflow: hidden;
  box-shadow: var(--shadow-photo);
  isolation: isolate;
}
.pill img { width: 100%; height: 100%; object-fit: cover; }
/* entrada "llenado de agua": la foto aparece de abajo hacia arriba con borde ondulado */
.js .pill[data-fill] {
  -webkit-mask: linear-gradient(#000, #000) bottom / 100% 0% no-repeat;
          mask: linear-gradient(#000, #000) bottom / 100% 0% no-repeat;
}
.js .pill[data-fill].is-filled {
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  transition: -webkit-mask-size 1.6s var(--ease-out), mask-size 1.6s var(--ease-out);
}
.js:not(.is-ready) .pill--hero.is-filled { -webkit-mask-size: 100% 0%; mask-size: 100% 0%; }
.js .pill--hero.is-filled { transition-delay: .35s; }
.js .pill[data-fill] img { transform: scale(1.12); transition: transform 2.2s var(--ease-out); }
.js .pill[data-fill].is-filled img { transform: scale(1); }
.pill::after { /* brillo de superficie */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 150% 0;
  transition: background-position 1.4s var(--ease-out);
}
.pill:hover::after { background-position: -50% 0; }

/* =============================================================
   6. Splash, progreso, nav, menú
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--grad-deep);
  transition: clip-path 1.1s var(--ease-out), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 3s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; } }
.splash-inner { display: grid; justify-items: center; gap: 1.6rem; }
.splash-inner img { width: 74px; opacity: 0; transform: translateY(10px); animation: splashIn .9s .1s var(--ease-out) forwards; }
.splash-bar { width: 160px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.splash-bar span { display: block; height: 100%; background: var(--grad-stripes); transform-origin: left; transform: scaleX(0); animation: splashLoad 1.2s .2s var(--ease-out) forwards; }
@keyframes splashIn { to { opacity: 1; transform: none; } }
@keyframes splashLoad { to { transform: scaleX(1); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: var(--grad-stripes); transform-origin: left; transform: scaleX(0); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); color: #fff;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease-out), height .4s var(--ease-out);
}
.nav.is-scrolled { height: 68px; background: rgba(8, 32, 36, .94); box-shadow: 0 12px 30px -18px rgba(0,0,0,.7); }
@supports (backdrop-filter: blur(10px)) {
  .nav.is-scrolled { background: rgba(8, 32, 36, .72); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); }
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.nav-brand { margin-right: auto; }
.nav-brand img { height: 42px; width: auto; transition: transform .5s var(--ease-out), height .4s var(--ease-out); }
.nav.is-scrolled .nav-brand img { height: 36px; }
.nav-brand:hover img { transform: translateY(-2px); }
.nav-links { display: none; gap: 2.2rem; font-weight: 400; font-size: 1.05rem; }
.nav-links a { position: relative; padding: .4rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad-aqua); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: none; align-items: center; gap: .9rem; }
.nav-cta {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem 1.2rem .5rem .8rem; border-radius: 999px;
  background: var(--grad-aqua); font-weight: 500; font-size: .98rem;
  transform: translate(var(--bx), var(--by));
  transition: transform .5s var(--ease-out), box-shadow .4s;
  box-shadow: 0 8px 22px -10px rgba(43,190,136,.9);
}
.nav-cta:hover { box-shadow: 0 12px 26px -10px rgba(43,190,136,1); }
.nav-cta-dot { width: 13px; height: 13px; border-radius: 50%; background: #fff; position: relative; }
.nav-cta-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: dotRing 2.4s var(--ease-soft) infinite; }
@keyframes dotRing { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.nav-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; transition: transform .4s var(--ease-out), color .3s; }
.nav-icon svg { width: 24px; height: 24px; }
.nav-icon:hover { transform: translateY(-2px); color: var(--sky); }
.nav-burger { width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.nav-burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; color: #fff; background: var(--grad-deep);
  display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
  clip-path: circle(0% at calc(100% - 46px) 42px); transition: clip-path .8s var(--ease-out);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 46px) 42px); }
.menu[hidden] { display: none; }
.menu-topo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.menu nav { position: relative; display: grid; gap: .4rem; }
.menu nav a { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.6rem, 12vw, 4.2rem); line-height: 1.08; display: flex; align-items: baseline; gap: 1rem; }
.menu nav a small { font-family: var(--sans); font-size: .9rem; color: var(--aqua); }
.menu .stripes { position: relative; margin-top: 2.5rem; border-radius: 6px; }

/* =============================================================
   7. Secciones
   ============================================================= */
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 7.5rem); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 2.5rem) 0 clamp(7rem, 12vw, 10rem);
  overflow: clip;
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 3.5rem; align-items: center; }
.kicker {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--condensed); font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: .06em;
  margin-bottom: 1.6rem; color: #fff;
}
.kicker .chev { width: 1.15em; height: 1.15em; }
.kicker i { font-style: normal; opacity: .8; }
.hero-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: .005em;
  color: #fff;
}
.hero-title .split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .split-word > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 200ms); }
.is-ready .hero-title .split-word > span { transform: none; }
.hero-title em .split-word > span {
  background: linear-gradient(90deg, var(--aqua), var(--aqua-2), #5fd6c6, var(--aqua));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: waterSheen 9s linear infinite;
}
.hero-sub { margin-top: .9rem; font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.45rem); letter-spacing: .03em; text-transform: uppercase; }
.hero-lead { margin-top: 2rem; max-width: 50ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); font-weight: 400; color: rgba(255,255,255,.88); }
.hero-lead strong { color: #fff; }
.hero-ctas { margin-top: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .7rem 2.2rem; margin-top: 2.4rem; font-size: 1.05rem; font-weight: 400; }
.hero-trust li { display: flex; align-items: center; gap: .5rem; }
.hero-trust b { font-weight: 700; }

.hero-visual { position: relative; width: min(400px, 82%); margin-inline: auto; }
.pill--hero { aspect-ratio: 330 / 530; max-height: calc(100svh - var(--nav-h) - 8rem); margin-inline: auto; }
.pill-ring { /* anillo de agua que respira alrededor de la foto */
  position: absolute; inset: -14px; z-index: -1; border-radius: 999px;
  border: 1px solid rgba(111, 211, 224, .35);
  animation: breathe 6s ease-in-out infinite;
}
.hero-visual::before, .hero-visual::after {
  content: ""; position: absolute; inset: -28px; border-radius: 999px; pointer-events: none;
  border: 1px solid rgba(111, 211, 224, .18);
  animation: breathe 6s 1.2s ease-in-out infinite;
}
.hero-visual::after { inset: -48px; border-color: rgba(111, 211, 224, .09); animation-delay: 2.4s; }
@keyframes breathe { 50% { transform: scale(1.025); opacity: .4; } }

/* ---------- MARQUEE ---------- */
.marquee { position: relative; background: var(--cream); overflow: hidden; padding-block: 1.8rem 1.6rem; }
.marquee::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 2px; background: var(--ink); max-width: 1180px; margin-inline: auto; }
.marquee-track { display: flex; align-items: center; gap: 1.6rem; width: max-content; will-change: transform; }
.marquee span { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.2px rgba(8, 32, 36, .55); }
.marquee .chev { width: 1.6rem; height: 1.6rem; }

/* ---------- CÓMO TRABAJAMOS ---------- */
.process .title { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.steps { display: grid; gap: 3.2rem 1.6rem; }
.step {
  position: relative; text-align: center;
  padding: 3.6rem 1.8rem 2.4rem;
  border: 1px solid rgba(43, 190, 136, .55); border-radius: 30px;
  background: transparent;
  transition: transform .5s var(--ease-out), background .5s, box-shadow .5s var(--ease-out);
}
.step:hover { background: #fff; box-shadow: var(--shadow-lift); }
.step-num {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-deep); color: #fff;
  font-family: var(--display); font-size: 2rem;
  overflow: hidden; isolation: isolate;
}
.step-num::before { /* el número se "llena" de agua */
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -60%; height: 100%; z-index: -1;
  background: linear-gradient(180deg, rgba(43,183,175,.9), rgba(43,190,136,.9));
  border-radius: 40%;
  transform: translateY(70%);
  transition: transform 1.2s var(--ease-out);
  animation: spinWater 7s linear infinite;
}
.step.is-visible .step-num::before, .step:not(.reveal) .step-num::before { transform: translateY(18%); }
.step:hover .step-num::before { transform: translateY(0); }
@keyframes spinWater { to { rotate: 360deg; } }
.step h3 { font-family: var(--display); font-size: 1.65rem; text-transform: uppercase; color: var(--ink); margin-bottom: 1.4rem; }
.step p { font-size: 1rem; color: var(--muted); max-width: 30ch; margin-inline: auto; }
.step b { color: var(--text); }
.flow-line { position: relative; height: 10px; margin-top: clamp(3rem, 6vw, 4.5rem); border-radius: 0; background: rgba(8,32,36,.06); overflow: hidden; }
.flow-line span { position: absolute; inset: 0; background: var(--grad-stripes); transform-origin: left; transform: scaleX(0); }
.flow-line span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); width: 30%; animation: flowShine 3.2s linear infinite; }
@keyframes flowShine { from { transform: translateX(-100%); } to { transform: translateX(400%); } }

/* ---------- SERVICIOS ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
.pill--photo { aspect-ratio: 330 / 530; width: min(340px, 80%); margin-inline: auto; }
.split-copy .title { margin-bottom: 2rem; }
.svc-grid { display: grid; gap: 1.6rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.svc {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 2.6rem 2rem 2.2rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.svc::before { /* pestaña de color arriba (como el diseño) que se extiende al hover */
  content: ""; position: absolute; top: 0; left: 30px; width: 62px; height: 6px; background: var(--c);
  transition: width .6s var(--ease-out), left .6s var(--ease-out);
}
.svc:hover::before { left: 0; width: 100%; }
.svc::after { /* reflejo que sigue al cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 16%, transparent), transparent 65%);
}
.svc:hover { box-shadow: var(--shadow-lift); }
.svc:hover::after { opacity: 1; }
.svc-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--c); color: #fff; margin-bottom: 1.6rem;
  transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.svc-ico svg { width: 24px; height: 24px; opacity: .95; }
.svc:hover .svc-ico { transform: translateY(-3px) rotate(-6deg); border-radius: 50% 50% 50% 14px; }
.svc h3 { font-family: var(--display); font-size: 1.55rem; text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; }
.svc p { font-size: 1rem; color: var(--muted); }
.svc--cta { color: #fff; padding: 0; background: var(--grad-deep); }
.svc--cta::before { left: 0; width: 100%; height: 10px; background: var(--grad-stripes); }
.svc--cta .topo { z-index: 0; opacity: .8; }
.svc-cta-body { position: relative; z-index: 1; padding: 2.8rem 2rem 2.2rem; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.svc--cta h3 { color: #fff; font-size: 2rem; line-height: 1.05; margin: 0; }
.svc--cta p { color: rgba(255,255,255,.85); }
.svc--cta b { color: #fff; }
.svc--cta .btn { align-self: flex-start; margin-top: .4rem; }
.extra-pills { display: grid; gap: 1.2rem; margin-top: 2.6rem; justify-content: center; }
.extra-pills li {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  min-width: min(340px, 100%); padding: 1.1rem 2rem; border-radius: 22px;
  background: #fff; box-shadow: var(--shadow-card);
  font-weight: 400; letter-spacing: .06em; text-transform: uppercase; font-size: .98rem;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.extra-pills li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.extra-pills .chev { width: 1.3em; height: 1.3em; transition: transform .5s var(--ease-out); }
.extra-pills li:hover .chev { transform: translateX(4px); }

/* ---------- PRODUCTOS ---------- */
.products { padding-top: clamp(2.5rem, 5vw, 4rem); }
.products-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.carousel-nav { display: flex; gap: .8rem; }
.carousel {
  display: flex; gap: 1.3rem; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory;
  padding: 1.2rem max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))) 2.6rem;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging * { pointer-events: none; }
.prod {
  flex: 0 0 min(280px, 76vw); scroll-snap-align: start;
  padding: 1rem 1rem 1.6rem; border-radius: 22px;
  background: #fff; border: 1px solid rgba(8,32,36,.06);
  box-shadow: 0 6px 20px -14px rgba(8,32,36,.4);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
  user-select: none;
}
.prod:hover { box-shadow: var(--shadow-lift); }
.prod-img { position: relative; aspect-ratio: 1; border-radius: 16px; background: #f1f4f3; display: grid; place-items: center; overflow: hidden; margin-bottom: 1.2rem; }
.prod-img::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #d6efee 0%, #cbeae9 60%, transparent 61%); }
.prod-ripple, .prod-ripple::before, .prod-ripple::after { /* ondas concéntricas al pasar el mouse */
  content: ""; position: absolute; left: 50%; top: 50%; width: 72%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 1px solid rgba(43,183,175,.5); opacity: 0;
}
.prod-ripple::before, .prod-ripple::after { width: 100%; }
.prod:hover .prod-ripple { animation: ripple 2.4s var(--ease-soft) infinite; }
.prod:hover .prod-ripple::before { animation: ripple 2.4s .8s var(--ease-soft) infinite; }
.prod:hover .prod-ripple::after { animation: ripple 2.4s 1.6s var(--ease-soft) infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.prod-img img { position: relative; width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease-out); }
.prod:hover .prod-img img { transform: translateY(-5px) scale(1.05); }
.prod-tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-2); background: rgba(43,183,175,.12); padding: .35rem .7rem .25rem; border-radius: 999px; margin-bottom: .8rem; }
.prod h3 { font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; color: var(--ink); margin-bottom: .45rem; }
.prod p { font-size: .95rem; color: var(--muted); }
.supplies { display: grid; gap: 1.2rem; padding: 1.8rem 2rem; border-radius: 26px; background: var(--ink); color: #fff; }
.supplies h3 { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; white-space: nowrap; }
.supplies ul { display: flex; flex-wrap: wrap; gap: .55rem; }
.supplies li { padding: .5rem 1rem .4rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: .92rem; font-weight: 400; color: rgba(255,255,255,.85); transition: background .3s, border-color .3s, color .3s; }
.supplies li:hover { background: rgba(43,183,175,.18); border-color: var(--aqua-2); color: #fff; }
.catalog {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.2rem 1.4rem;
  margin-top: 1.4rem; padding: 1.5rem 1.8rem; border-radius: 26px;
  background: #fff; box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.catalog:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.catalog-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-deep); color: #a8dde3; }
.catalog-ico svg { width: 28px; height: 28px; }
.catalog-text strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; color: var(--ink); }
.catalog-text small { font-size: .98rem; color: var(--muted); }
.catalog-btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 720px) { .catalog { grid-template-columns: auto 1fr auto; } .catalog-btn { grid-column: auto; } }

/* ---------- BANNER ---------- */
.banner { position: relative; overflow: clip; min-height: clamp(620px, 92vh, 900px); display: grid; align-items: center; text-align: center; background: #1b3a3c; }
.banner-media { position: absolute; inset: -12% 0; }
.banner-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
/* sólo la franja del agua (parte baja de la foto) recibe la ondulación */
.banner-reflection {
  position: absolute; left: 0; right: 0; top: 56%; bottom: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 22%); mask: linear-gradient(180deg, transparent 0%, #000 22%);
}
.banner-reflection img { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(100% / 0.44); max-width: none; object-fit: cover; object-position: center 60%; }
.banner-reflection.is-on img { filter: url(#water-ripple); }
.banner-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246,243,236,.35) 0%, rgba(246,243,236,.5) 45%, rgba(246,243,236,.2) 75%, rgba(246,243,236,0) 100%); }
.banner-inner { position: relative; z-index: 2; padding-block: 6rem 9rem; display: grid; justify-items: center; }
.banner-mark { width: clamp(110px, 14vw, 190px); margin-bottom: 2.4rem; filter: drop-shadow(0 10px 24px rgba(0,0,0,.25)); }
.banner-title { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.12; color: var(--ink); max-width: 34ch; text-shadow: 0 1px 18px rgba(246,243,236,.55); }
.banner p { margin-top: 1.1rem; font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 400; color: var(--ink); }
.waves--cream { height: clamp(50px, 7vw, 100px); }

/* ---------- EQUIPO ---------- */
.team-sec { padding-top: clamp(3rem, 6vw, 5rem); }
.pill--team { aspect-ratio: 330 / 530; width: min(340px, 80%); }
.pill--team img { object-position: 38% center; }

/* ---------- MARCAS ---------- */
.brands { padding-top: 0; }
.brands .rule:first-child { margin-bottom: 2.5rem; }
.brands .title { margin-bottom: 1.6rem; }
.brand-grid { display: grid; gap: 1.1rem; justify-content: center; }
.brand-grid--main { grid-template-columns: repeat(2, minmax(0, 170px)); }
.brand-grid--more { grid-template-columns: repeat(2, minmax(0, 150px)); }
.brand-grid li {
  aspect-ratio: 1; display: grid; place-items: center; padding: .9rem;
  border-radius: 24px; background: #fff; border: 1px solid rgba(8,32,36,.1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.brand-grid img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .5s, opacity .5s, transform .6s var(--ease-out); mix-blend-mode: multiply; }
.brand-grid li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.brand-grid li:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.originals { text-align: center; margin: clamp(3rem, 6vw, 4.5rem) 0 2.4rem; }
.originals p { margin-top: .8rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #5a6668; font-size: clamp(.95rem, 1.3vw, 1.1rem); max-width: 46ch; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { padding-top: 1rem; padding-bottom: clamp(7rem, 12vw, 10rem); }
.faq-grid { display: grid; gap: 2.5rem; }
.faq-intro .title { margin-bottom: 1.4rem; }
.faq-list { display: grid; gap: 1.2rem; }
.faq details { border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); transition: box-shadow .4s, transform .5s var(--ease-out); }
.faq details:hover { transform: translateX(4px); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem .6rem; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%232bb7af' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .45s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details:not([open]) summary { padding-bottom: 1.3rem; }
.faq-a p { padding: 0 1.6rem 1.4rem; font-size: .98rem; color: var(--muted); }

/* ---------- CONTACTO ---------- */
.contact { padding-top: clamp(7rem, 12vw, 10rem); overflow: clip; }
.contact .waves--top { z-index: 1; }
.contact-inner { position: relative; z-index: 1; padding-bottom: clamp(4rem, 8vw, 6rem); }
.contact-grid { display: grid; gap: 1.8rem; align-items: start; }
.contact-side { display: grid; gap: 1.2rem; }
.glass {
  display: block; padding: 1.6rem 1.6rem; border-radius: 26px;
  background: rgba(43, 140, 140, .32); border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-photo);
  transition: transform .5s var(--ease-out), background .4s;
}
@supports (backdrop-filter: blur(10px)) {
  .glass { background: rgba(43, 140, 140, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.glass:hover { transform: translateY(-4px); background: rgba(43, 160, 160, .3); }
.person-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; background: var(--grad-deep); box-shadow: 3px 4px 8px rgba(0,0,0,.4); margin-bottom: 1rem; }
.person-ico svg { width: 26px; height: 26px; color: #a8dde3; }
.person h3 { font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; }
.person p { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: .1rem; }
.person-wa { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem; padding: .55rem 1.1rem .5rem; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 500; font-size: 1.1rem; letter-spacing: .02em; transition: background .3s, color .3s; }
.person-wa:hover { background: #25d366; color: #052e18; }
.mail small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: .4rem; }
.mail span { display: flex; align-items: center; gap: .7rem; font-size: 1.05rem; word-break: break-all; }
.mail .i { width: 30px; height: 30px; opacity: .8; }

.quote { position: relative; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 36px; background: var(--cream); color: var(--text); display: grid; gap: 1.05rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.quote h3 { font-family: var(--display); font-size: 2rem; text-transform: uppercase; color: var(--ink); }
.quote-sub { font-size: .92rem; color: var(--muted); margin-top: -.6rem; }
.field { display: grid; gap: .45rem; font-size: .92rem; font-weight: 500; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem .8rem; border-radius: 12px; border: 1px solid rgba(8,32,36,.12); background: #fff;
  font-weight: 400; font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--aqua-2); box-shadow: 0 0 0 4px rgba(43,183,175,.16); }
.field.is-invalid input { border-color: #d14b4b; box-shadow: 0 0 0 4px rgba(209,75,75,.12); }
.need { display: grid; gap: .5rem; padding: .4rem; border-radius: 14px; background: #fff; border: 1px solid rgba(8,32,36,.12); grid-template-columns: repeat(3, 1fr); }
.need label { position: relative; cursor: pointer; }
.need input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.need span { display: block; text-align: center; padding: .7rem .4rem .6rem; border-radius: 10px; font-size: .92rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: background .35s, color .35s, box-shadow .35s; }
.need input:checked + span { background: var(--grad-deep); color: #fff; box-shadow: 0 8px 18px -10px rgba(8,32,36,.8); }
.need input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.form-msg { font-size: .9rem; color: var(--eyebrow); min-height: 1.2em; text-align: center; }

.logo-card { position: relative; display: grid; place-items: center; padding: 2.6rem 2rem; border-radius: 36px; background: linear-gradient(160deg, var(--teal-700), var(--ink)); box-shadow: var(--shadow-photo); overflow: hidden; min-height: 360px; }
.logo-card-glow { position: absolute; inset: -30%; background: radial-gradient(closest-side, rgba(111,211,224,.22), transparent); animation: glow 8s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(10%, 8%) scale(1.1); } }
.logo-card img { position: relative; width: min(170px, 55%); filter: drop-shadow(0 26px 30px rgba(0,0,0,.5)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }

.footer { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-block: 2rem; font-size: .92rem; color: rgba(255,255,255,.7); }
.footer-inner img { height: 34px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer a:hover { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7);
  transform: scale(0); transition: transform .6s var(--ease-out);
}
.wa-fab.is-shown { transform: scale(1); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: dotRing 2.6s var(--ease-soft) infinite; }

/* =============================================================
   8. Reveals y tilt
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.js .pill.reveal { transform: none; }
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); }
[data-tilt]:hover { --ty: -6px; }

/* =============================================================
   9. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .brand-grid--more { grid-template-columns: repeat(3, minmax(0, 150px)); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .extra-pills { grid-template-columns: repeat(2, minmax(0, 340px)); }
}
@media (max-width: 539px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-trust { gap: .6rem 1.4rem; font-size: .98rem; }
}
@media (min-width: 720px) {
  .brand-grid--main { grid-template-columns: repeat(4, minmax(0, 170px)); }
  .brand-grid--more { grid-template-columns: repeat(5, minmax(0, 150px)); }
  .supplies { grid-template-columns: auto 1fr; align-items: center; gap: 2.5rem; }
}
@media (min-width: 960px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-burger { display: none; }
  .hero-inner { grid-template-columns: 1.35fr .75fr; gap: 3rem; }
  .hero-visual { width: 100%; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .split { grid-template-columns: .8fr 1.2fr; gap: 5rem; }
  .split--reverse { grid-template-columns: 1.2fr .8fr; }
  .pill--photo, .pill--team { width: 100%; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 2.2rem; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .faq-intro { position: sticky; top: 110px; align-self: start; }
  .contact-grid { grid-template-columns: .85fr 1.25fr .9fr; gap: 2rem; }
  .logo-card { min-height: 100%; }
}

/* =============================================================
   10. Movimiento reducido: sólo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wv, .logo-card-glow, .logo-card img, .pill-ring, .hero-visual::before, .hero-visual::after, .step-num::before, .flow-line span::after { animation: none; }
}
