/* ==========================================================================
   Alternative Care — sitio de marca
   Seis pantallas: inicio, productos, resultados, HydraCare, nosotros, contacto.
   Negro cálido, marfil y oro. Cormorant Garamond (display) + Manrope (texto).
   ========================================================================== */

:root {
  --ink: #0a0907;
  --ink-2: #110f0b;
  --ink-3: #1a1712;
  --line: rgba(245, 239, 227, .14);
  --ivory: #f5efe3;
  --text: #f5efe3;
  --dim: rgba(245, 239, 227, .68);
  --mute: rgba(245, 239, 227, .44);

  --gold: #e0ad24;
  --gold-hi: #f8dc80;
  --gold-deep: #8a6610;
  --gold-grad: linear-gradient(115deg, #fff3c4 0%, #f3cf5c 18%, #c99312 42%, #f7da7a 62%, #b9860f 82%, #f3cf5c 100%);

  --violet: 143, 98, 232;
  --copper: 238, 138, 58;
  --cyan: 46, 164, 230;

  --serif: "Cormorant Garamond", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4.5vw, 72px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::after { /* grano de película */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em, i { font-style: normal; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 400; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 99px; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .num { font-family: var(--serif); font-size: 15px; letter-spacing: .04em; font-weight: 600; display: inline-flex; align-items: center; gap: 12px; font-variant-numeric: lining-nums; }
.eyebrow .num::after { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .6; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.2vw, 68px); line-height: 1; letter-spacing: -.015em; margin-top: 14px; }
.lead { font-size: clamp(15.5px, 1.15vw, 18px); color: var(--dim); max-width: 38em; margin-top: 16px; line-height: 1.6; }
.fine { font-size: 12px; color: var(--mute); margin-top: 16px; }
.gold-text {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShift 9s ease-in-out infinite alternate;
}
@keyframes goldShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- botones ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  transition: transform .5s var(--ease-out), background-color .4s, color .4s, border-color .4s, box-shadow .5s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
.btn--gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--ink); box-shadow: 0 10px 40px -12px rgba(224, 173, 36, .6); }
.btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease-out); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { transform: translateY(-2px); }
.btn--line { border: 1px solid rgba(245, 239, 227, .35); color: var(--text); }
.btn--line:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { transform: translateY(-2px); background: #000; }
.btn--ink-line { border: 1px solid rgba(10, 9, 7, .45); color: var(--ink); }
.btn--ink-line:hover { background: var(--ink); color: var(--ivory); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; align-content: center; gap: 30px; background: var(--ink); transition: opacity .8s var(--ease), visibility .8s; }
.loader__logo { width: 88px; height: auto; animation: loaderIn 1s var(--ease-out) both; filter: drop-shadow(0 0 30px rgba(224, 173, 36, .35)); }
.loader__bar { width: 130px; height: 1px; background: rgba(245, 239, 227, .12); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: loaderBar 1.1s var(--ease) both; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes loaderBar { from { transform: scaleX(0); } }
body.is-loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: var(--nav-h); display: flex; align-items: center; gap: 28px;
  padding: env(safe-area-inset-top) var(--gutter) 0;
  transition: background-color .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10, 9, 7, .66); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav__brand img { width: 40px; height: auto; filter: drop-shadow(0 2px 12px rgba(224, 173, 36, .25)); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; }
.nav__links a { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-current { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; margin-left: auto; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 26px; }
body.menu-open .nav__toggle span:first-child { top: 22.5px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:last-child { top: 22.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 110;
  background: radial-gradient(80% 60% at 80% 10%, rgba(224, 173, 36, .16), transparent 60%), var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 28px + env(safe-area-inset-top)) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-out), visibility .8s;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { font-family: var(--serif); font-size: clamp(36px, 10vw, 60px); line-height: 1.12; font-weight: 500; display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease-out); }
.menu__links small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
body.menu-open .menu__links a { opacity: 1; transform: none; }
body.menu-open .menu__links a:nth-child(2) { transition-delay: .05s; }
body.menu-open .menu__links a:nth-child(3) { transition-delay: .1s; }
body.menu-open .menu__links a:nth-child(4) { transition-delay: .15s; }
body.menu-open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu__foot { display: grid; gap: 10px; font-size: 14px; color: var(--dim); }

/* puntos de sección (escritorio) */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 100; display: grid; gap: 14px; }
.dots a { position: relative; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(245, 239, 227, .45); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.dots a::before { content: attr(data-label); position: absolute; right: 20px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); opacity: 0; transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; }
.dots a:hover::before { opacity: 1; transform: translate(0, -50%); }
.dots a.is-on { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }

/* ---------- pantallas ---------- */
.screen {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 28px) 0 40px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.sec-head .h2 { max-width: 16ch; }

/* paneles de video en 3D */
[data-tilt] { perspective: 1400px; }
.tilt-inner { transform-style: preserve-3d; transition: transform .9s var(--ease-out); }
.panel {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  background: var(--ink-3);
  box-shadow: 0 0 0 1px rgba(248, 220, 128, .35), 0 50px 120px -30px rgba(0, 0, 0, .8), 0 30px 120px -40px rgba(224, 173, 36, .45);
  transform: rotateY(-14deg) rotateX(4deg);
  transition: transform 1s var(--ease-out);
  will-change: transform;
}
.panel__video { width: 100%; height: 100%; object-fit: cover; }
/* si el teléfono bloquea la reproducción automática, se ofrece un play */
.needs-tap { cursor: pointer; }
.needs-tap::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 4;
  width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  background: rgba(10, 9, 7, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23f8dc80'/%3E%3C/svg%3E") 56% 50% / 28px no-repeat;
  border: 1px solid rgba(248, 220, 128, .65);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.panel__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, transparent 28%, transparent 70%, rgba(255, 244, 205, .08) 100%); }

/* ==========================================================================
   0 · INICIO
   ========================================================================== */
.hero { padding-bottom: 60px; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 72% 50%, rgba(224, 173, 36, .16), transparent 70%),
    linear-gradient(90deg, rgba(10, 9, 7, .78) 0%, rgba(10, 9, 7, .25) 50%, rgba(10, 9, 7, .1) 100%),
    linear-gradient(180deg, transparent 70%, var(--ink) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 80px); }
.hero__eyebrow { opacity: 0; transform: translateY(14px); transition: opacity 1s .5s, transform 1.2s var(--ease-out) .5s; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5.6vw, 100px); line-height: .96; letter-spacing: -.02em; margin-top: 18px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease-out); }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.hero__lead { color: var(--dim); max-width: 34em; margin-top: 20px; font-size: clamp(15px, 1.15vw, 17.5px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.hero__stats li { padding: 16px 26px 0 0; display: grid; gap: 2px; }
.hero__stats li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.hero__stats b { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 38px); line-height: 1; font-variant-numeric: lining-nums; color: var(--gold-hi); white-space: nowrap; }
.hero__stats li:last-child b { font-size: clamp(18px, 1.7vw, 27px); padding-top: .2em; }
.hero__stats span { font-size: 11.5px; letter-spacing: .08em; color: var(--mute); }
.hero__lead, .hero__ctas, .hero__stats { opacity: 0; transform: translateY(20px); transition: opacity 1s .7s, transform 1.2s var(--ease-out) .7s; }
body.is-loaded .hero__eyebrow, body.is-loaded .hero__lead, body.is-loaded .hero__ctas, body.is-loaded .hero__stats { opacity: 1; transform: none; }
body.is-loaded .hero__title .line > span { transform: none; }

.hero__stage { position: relative; justify-self: center; width: min(100%, 400px); }
.panel--hero { width: min(28vw, calc((100svh - 190px) * 9 / 16), 400px); margin: 0 auto; opacity: 0; transform: rotateY(-24deg) rotateX(8deg) translateZ(-120px); transition: transform 1.8s var(--ease-out) .2s, opacity 1.2s .2s; }
body.is-loaded .panel--hero { opacity: 1; transform: rotateY(-14deg) rotateX(4deg); }
.hero__float { position: absolute; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); pointer-events: none; opacity: 0; transition: opacity 1.2s 1s; }
body.is-loaded .hero__float { opacity: 1; }
.hero__float--a { width: clamp(64px, 6vw, 104px); left: -14%; top: 8%; rotate: -10deg; animation: bob 7s ease-in-out infinite; }
.hero__float--b { width: clamp(90px, 8.4vw, 150px); right: -12%; bottom: 6%; rotate: 8deg; animation: bob 8s ease-in-out -2s infinite; }
@keyframes bob { 50% { translate: 0 -14px; } }
.hero__next { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 99px; border: 1px solid rgba(245, 239, 227, .35); }
.hero__next i { position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   1 · PRODUCTOS
   ========================================================================== */
.products { --tone: 224, 173, 36; background: var(--ink); }
.products__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: background .9s var(--ease);
  background: radial-gradient(45% 55% at 38% 58%, rgba(var(--tone), .28), transparent 72%), radial-gradient(70% 50% at 50% 110%, rgba(var(--tone), .16), transparent 70%), var(--ink); }
/* video del producto: columna vertical nítida detrás del carrusel, con bordes que se desvanecen */
.products__bgvid {
  position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) + 14%); width: min(44vw, 640px); height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s var(--ease);
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.products__bgvid.is-on { opacity: .42; }
.products__wrap { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head tabs" "main main"; align-items: end; gap: 18px 40px; }
.products .sec-head { grid-area: head; }
.products .sec-head .h2 { font-size: clamp(32px, 3.3vw, 54px); max-width: 20ch; }
.ptabs { grid-area: tabs; }
.products__main { grid-area: main; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(16px, 3vw, 56px); }

.ring { position: relative; height: clamp(340px, calc(100svh - 330px), 600px); perspective: 1200px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.ring.is-dragging { cursor: grabbing; }
.ring__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.ring__item {
  position: absolute; left: 50%; bottom: 16%;
  height: 76%; width: 26%;
  margin-left: -13%;
  display: flex; align-items: flex-end; justify-content: center;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
.ring__item img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
  -webkit-box-reflect: below 2px linear-gradient(transparent 72%, rgba(255, 255, 255, .16));
}
.ring__item--duo { gap: 0; }
.ring__item--duo .ring__back { height: 64%; margin-right: -26%; position: relative; z-index: -1; }
.ring__item--duo img:last-child { height: 92%; }
.ring__item--wide { width: 40%; margin-left: -20%; }
.ring__item--wide img { max-height: 62%; }
.ring__item.is-front img { filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .6)) drop-shadow(0 0 50px rgba(var(--tone), .35)); }
.ring__floor { position: absolute; left: 8%; right: 8%; bottom: 10%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--tone), .28), transparent); filter: blur(8px); transform: rotateX(70deg); pointer-events: none; }
.ring__arrow { position: absolute; top: 46%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: rgba(10, 9, 7, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, border-color .3s; z-index: 5; }
.ring__arrow:hover { background: var(--gold); border-color: var(--gold); }
.ring__arrow:hover svg { stroke: var(--ink); }
.ring__arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--ivory); stroke-width: 1.6; }
.ring__arrow--prev { left: 0; }
.ring__arrow--next { right: 0; }
.ring__hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }

.pinfo { min-height: 380px; }
.pinfo > * { transition: opacity .45s var(--ease), transform .6s var(--ease-out); }
.pinfo.is-swapping > * { opacity: 0; transform: translateY(12px); }
.pinfo__line { font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgb(var(--tone)); }
.pinfo__name { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 3.6vw, 62px); line-height: 1; margin: 12px 0 14px; }
.pinfo__desc { color: var(--dim); font-size: 15px; }
.pinfo__facts { margin-top: 18px; display: grid; }
.pinfo__facts div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.pinfo__facts dt { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.15; font-variant-numeric: lining-nums; }
.pinfo__facts dd { color: var(--dim); font-size: 13px; line-height: 1.45; }
.pinfo__note { font-size: 11.5px; color: var(--mute); margin-top: 10px; min-height: 1em; }
.pinfo__ctas { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.ptabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ptabs button { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); transition: background-color .3s, color .3s, border-color .3s; }
.ptabs button:hover { color: var(--ivory); border-color: rgba(245, 239, 227, .4); }
.ptabs button.is-on { background: rgb(var(--tone)); border-color: rgb(var(--tone)); color: var(--ink); }

/* ==========================================================================
   2 · RESULTADOS (galería curva en 3D)
   ========================================================================== */
.results { background: radial-gradient(60% 50% at 50% 60%, rgba(224, 173, 36, .1), transparent 70%), var(--ink-2); justify-content: space-between; }
.results__head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; }
.results__side p { color: var(--dim); font-size: 15px; max-width: 34em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.filters button { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); transition: background-color .3s, color .3s, border-color .3s; }
.filters button:hover { color: var(--ivory); }
.filters button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.drum { position: relative; height: clamp(340px, 54vh, 580px); margin: 10px 0; perspective: 1000px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.drum.is-dragging { cursor: grabbing; }
.drum::before, .drum::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 3; pointer-events: none; }
.drum::before { left: 0; background: linear-gradient(90deg, var(--ink-2), transparent); }
.drum::after { right: 0; background: linear-gradient(270deg, var(--ink-2), transparent); }
.drum__scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.card {
  position: absolute; left: 50%; top: 50%;
  width: var(--cw, 260px); aspect-ratio: 3 / 4;
  margin-left: calc(var(--cw, 260px) / -2); margin-top: calc(var(--cw, 260px) * -2 / 3);
  border-radius: 20px; overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 0 0 1px rgba(248, 220, 128, .18), 0 30px 60px -20px rgba(0, 0, 0, .7);
  backface-visibility: hidden;
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 9, 7, .78)); pointer-events: none; }
.card span { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1; }
.card[data-clip]::before { content: ""; position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(10, 9, 7, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23f8dc80'/%3E%3C/svg%3E") center/16px no-repeat; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(248, 220, 128, .4); }
.card.is-out { opacity: 0 !important; pointer-events: none; }

.results__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.results__count { font-size: 14px; color: var(--dim); }
.results__count b { font-family: var(--serif); font-size: 30px; color: var(--gold-hi); font-weight: 600; margin-right: 6px; font-variant-numeric: lining-nums; }
.results__count a { color: var(--gold); border-bottom: 1px solid rgba(224, 173, 36, .4); }
.results__nav { display: flex; gap: 8px; }
.rbtn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.rbtn svg { width: 20px; height: 20px; fill: none; stroke: var(--ivory); stroke-width: 1.6; }
.rbtn:hover { background: var(--gold); border-color: var(--gold); }
.rbtn:hover svg { stroke: var(--ink); }

/* visor */
.lightbox { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; align-content: center; gap: 18px; padding: 24px; background: rgba(5, 4, 3, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s; }
.lightbox.is-open { opacity: 1; }
.lightbox__media { width: min(420px, 86vw, calc((100svh - 150px) * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px rgba(248, 220, 128, .3), 0 40px 120px rgba(0, 0, 0, .8); background: var(--ink-3); }
.lightbox__media img, .lightbox__media video { width: 100%; height: 100%; object-fit: cover; }
.lightbox__close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); font-size: 26px; line-height: 1; }
.lightbox__close:hover { background: var(--ivory); color: var(--ink); }

/* ==========================================================================
   3 · HYDRACARE
   ========================================================================== */
.hydra { --c: var(--violet); background: radial-gradient(50% 50% at 25% 50%, rgba(var(--c), .2), transparent 70%), radial-gradient(40% 40% at 85% 85%, rgba(var(--cyan), .1), transparent 70%), var(--ink); transition: background .8s; }
.hydra__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(24px, 5vw, 96px); }
.hydra__media { justify-self: center; }
.panel--hydra { width: min(27vw, calc((100svh - 180px) * 9 / 16), 380px); transform: rotateY(14deg) rotateX(3deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 50px 120px -30px rgba(0, 0, 0, .8), 0 30px 140px -30px rgba(var(--c), .7); }
.hydra__copy .h2 { max-width: 13ch; }
.htabs { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.htabs button { --c: var(--violet); font-family: var(--serif); font-size: 22px; font-weight: 600; padding: 10px 20px; border-radius: 16px; border: 1px solid rgba(var(--c), .4); color: var(--dim); transition: background-color .3s, color .3s, box-shadow .4s; }
.htabs button[data-c="c"] { --c: var(--copper); }
.htabs button[data-c="b"] { --c: var(--cyan); }
.htabs button[aria-selected="true"] { color: var(--ivory); background: rgba(var(--c), .22); box-shadow: 0 0 0 1px rgba(var(--c), .9), 0 10px 40px -10px rgba(var(--c), .8); }
.hpanels { margin-top: 16px; min-height: 170px; }
.hpanel { --c: var(--violet); padding: 20px 24px; border-radius: var(--radius); border: 1px solid rgba(var(--c), .35); background: linear-gradient(160deg, rgba(var(--c), .16), rgba(var(--c), .02) 70%); animation: fadeUp .5s var(--ease-out); }
.hpanel[data-c="c"] { --c: var(--copper); }
.hpanel[data-c="b"] { --c: var(--cyan); }
.hpanel__k { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgb(var(--c)); filter: brightness(1.4); }
.hpanel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 12px; }
.hpanel li { display: flex; gap: 10px; align-items: center; color: var(--dim); font-size: 14.5px; }
.hpanel li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--c)); flex: none; }
.hpanel__note { margin-top: 12px; font-size: 12.5px; color: var(--mute); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.hsteps { display: flex; gap: 8px; margin-top: 16px; counter-reset: s; }
.hsteps li { counter-increment: s; flex: 1; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.hsteps li::before { content: "0" counter(s); display: block; font-family: var(--serif); font-size: 20px; letter-spacing: 0; color: var(--gold-hi); font-variant-numeric: lining-nums; }

/* ==========================================================================
   4 · NOSOTROS
   ========================================================================== */
.about { background: radial-gradient(50% 50% at 20% 60%, rgba(224, 173, 36, .1), transparent 70%), var(--ink-2); }
.about__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.atabs { display: flex; gap: 4px; padding: 5px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.atabs button { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 11px 18px; border-radius: 99px; color: var(--dim); transition: background-color .35s, color .35s; }
.atabs button[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.apanels { margin-top: clamp(20px, 3.4vh, 40px); }
.apanel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 90px); align-items: center; animation: fadeUp .6s var(--ease-out); }
.apanel__media { justify-self: center; width: min(26vw, calc((100svh - 300px) * 9 / 16), 360px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px rgba(248, 220, 128, .3), 0 40px 100px -30px rgba(0, 0, 0, .8); }
.apanel__media img, .apanel__media video { width: 100%; height: 100%; object-fit: cover; }
/* mosaico de fotos reales (Historia) */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.15fr 1fr; gap: 12px; height: min(60vh, 580px); width: 100%; max-width: 560px; justify-self: center; }
.mosaic figure { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 0 0 1px rgba(248, 220, 128, .25), 0 30px 70px -30px rgba(0, 0, 0, .8); }
.mosaic__a { grid-column: 1 / 3; }
.mosaic__a img { object-position: 50% 42%; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 9, 7, .75)); pointer-events: none; }
.mosaic figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.apanel__text h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3vw, 50px); line-height: 1.04; max-width: 16ch; }
.apanel__text p { color: var(--dim); margin-top: 16px; font-size: 15.5px; max-width: 40em; }
.apanel__text b { color: var(--ivory); font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pills li { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(224, 173, 36, .4); color: var(--gold-hi); }
.kv { margin-top: 22px; display: grid; }
.kv div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.kv dt { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.kv dd { color: var(--dim); font-size: 14.5px; }
.apanel--ing { display: block; }
.ing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ing article { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(224, 173, 36, .08), transparent 60%); transition: border-color .4s, transform .6s var(--ease-out); }
.ing article:hover { border-color: rgba(224, 173, 36, .5); transform: translateY(-4px); }
.ing h4 { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.1; }
.ing p { color: var(--dim); font-size: 14px; margin-top: 8px; }
.ing span { display: inline-block; margin-top: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* ==========================================================================
   5 · PROFESIONALES Y CONTACTO
   ========================================================================== */
.contact { color: var(--ink); background: linear-gradient(120deg, #f6d36b 0%, #e0ad24 35%, #c18d12 70%, #e9bf45 100%); justify-content: space-between; padding-bottom: 0; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 85% 20%, rgba(255, 255, 255, .45), transparent 70%); pointer-events: none; }
.contact .eyebrow { color: var(--ink); }
.contact .lead { color: rgba(10, 9, 7, .75); }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 90px); align-items: center; flex: 1; }
.contact .h2 { max-width: 13ch; }
.pills--ink li { border-color: rgba(10, 9, 7, .3); color: var(--ink); }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ccard { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--ink); color: var(--ivory); box-shadow: 0 50px 100px -40px rgba(10, 9, 7, .8); transform: rotateY(-6deg) rotateX(3deg); transition: transform 1s var(--ease-out); }
.ccard__logo { width: 56px; height: auto; margin-bottom: 10px; }
.ccard dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ccard dt { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.ccard dd { margin-top: 4px; font-size: 15px; color: var(--dim); }
.ccard dd a { font-family: var(--serif); font-size: 26px; color: var(--ivory); font-variant-numeric: lining-nums; }
.ccard dd a:hover { color: var(--gold-hi); }
.ccard__tag { font-family: var(--serif); font-size: 22px; margin-top: 18px; color: var(--gold-hi); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 22px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); margin-top: 26px; border-top: 1px solid rgba(10, 9, 7, .2); font-size: 12px; color: rgba(10, 9, 7, .7); }
.foot__fine { flex-basis: 100%; order: 3; font-size: 11px; }
.foot nav { display: flex; gap: 18px; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- WhatsApp flotante ---------- */
.wa { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 100; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); background-size: 200% 100%; color: var(--ink); box-shadow: 0 14px 40px -10px rgba(224, 173, 36, .7), 0 0 0 1px rgba(255, 255, 255, .25) inset; transform: scale(0); transition: transform .7s var(--ease-out); }
body.is-loaded .wa { transform: scale(1); transition-delay: 1.2s; }
body.at-contact .wa { transform: scale(0); transition-delay: 0s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- revelado ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet / teléfono
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .dots { display: none; }
  .hero__stats { grid-template-columns: repeat(2, auto); }
  .hero__stats li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; --radius: 18px; }
  .nav__brand img { width: 34px; }
  .screen { min-height: auto; padding: calc(var(--nav-h) + 26px) 0 56px; }
  .h2 { font-size: clamp(32px, 9vw, 46px); }

  /* inicio */
  .hero { min-height: 100svh; padding-bottom: 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__stage { order: -1; width: 100%; }
  .panel--hero { width: min(48vw, 30svh * 9 / 16 * 1.6, 220px); border-radius: 24px; }
  .hero__lead { font-size: 14.5px; margin-top: 14px; }
  .hero__ctas { margin-top: 20px; }
  .hero__float--a { left: 4%; top: 12%; }
  .hero__float--b { right: 2%; bottom: 4%; }
  .hero__title { font-size: clamp(40px, 11.5vw, 60px); }
  .hero__stats { margin-top: 26px; grid-template-columns: repeat(4, auto); }
  .hero__stats li, .hero__stats li + li { padding: 12px 12px 0 0; border-left: 0; }
  .hero__stats b { font-size: 22px; }
  .hero__stats span { font-size: 10px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__next { display: none; }
  .hero__veil { background: radial-gradient(70% 40% at 50% 26%, rgba(224, 173, 36, .16), transparent 70%), linear-gradient(180deg, rgba(10, 9, 7, .1) 0%, rgba(10, 9, 7, .55) 55%, var(--ink) 100%); }

  /* productos */
  .products__main { grid-template-columns: 1fr; gap: 6px; }
  .ring { height: 46svh; min-height: 300px; }
  .ring__item { width: 46%; margin-left: -23%; }
  .ring__item--wide { width: 62%; margin-left: -31%; }
  .ring__arrow { width: 42px; height: 42px; top: 40%; }
  .pinfo { min-height: 0; }
  .pinfo__name { font-size: clamp(34px, 9.5vw, 46px); }
  .ptabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .ptabs::-webkit-scrollbar { display: none; }
  .ptabs button { flex: none; }
  .products__wrap { grid-template-columns: 1fr; grid-template-areas: "head" "tabs" "main"; gap: 16px; }

  /* resultados */
  .results__head { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .drum { height: 66vw; min-height: 300px; max-height: 460px; }
  .results__foot { flex-direction: column; align-items: flex-start; }

  /* hydracare */
  .hydra__grid { grid-template-columns: 1fr; }
  .panel--hydra { width: min(56vw, 250px); transform: rotateY(10deg) rotateX(3deg); }
  .hpanel ul { grid-template-columns: 1fr; }
  .htabs button { font-size: 19px; padding: 9px 14px; }

  /* nosotros */
  .about__head { flex-direction: column; align-items: flex-start; }
  .atabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .atabs::-webkit-scrollbar { display: none; }
  .atabs button { flex: none; padding: 10px 14px; }
  .apanel { grid-template-columns: 1fr; gap: 24px; }
  .apanel__media { width: min(64vw, 280px); }
  .mosaic { height: 118vw; max-height: 500px; max-width: none; gap: 8px; }
  .mosaic figure { border-radius: 14px; }
  .mosaic figcaption { left: 10px; bottom: 9px; font-size: 9.5px; letter-spacing: .12em; }
  .products__bgvid { left: 0; width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 15%, #000 70%, transparent); }
  .products__bgvid.is-on { opacity: .3; }
  .kv div { grid-template-columns: 1fr; gap: 2px; }
  .ing { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ing article { padding: 16px; }
  .ing h4 { font-size: 20px; }

  /* contacto */
  .contact__grid { grid-template-columns: 1fr; }
  .contact__ctas .btn { flex: 1 1 auto; }
  .ccard { transform: none; }
  .ccard dd a { font-size: 22px; }
  .foot nav { flex-wrap: wrap; }
  .wa { width: 52px; height: 52px; }
}

@media (max-width: 380px) {
  .hero__ctas .btn { padding: 0 16px; letter-spacing: .1em; }
  .ing { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Páginas legales
   ========================================================================== */
.legal { padding: calc(var(--nav-h) + 60px) 0 100px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 7vw, 84px); line-height: 1; margin: 20px 0 14px; }
.legal .upd { color: var(--mute); font-size: 13px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin: 44px 0 10px; color: var(--gold-hi); }
.legal p, .legal li { color: var(--dim); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.legal a { color: var(--gold); border-bottom: 1px solid rgba(224, 173, 36, .4); }
.legal .box { margin-top: 30px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); }
.legal-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); background: rgba(10, 9, 7, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.legal-nav img { width: 36px; height: auto; }
.legal-nav a.back { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.legal-nav a.back:hover { color: var(--gold); }
.legal-foot { background: #050403; border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 12.5px; color: var(--mute); }
.legal-foot .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.legal-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-foot a:hover { color: var(--gold); }
