/* Clínica Vet · demo Nexunia. Sistema de diseño compartido por todas las páginas.
   Dos mundos: papel crema (lectura) y petróleo (escena). El generador añade al final las variables
   --navy-* y --blue-* derivadas del acento; aquí van valores equivalentes para poder abrir la plantilla sola. */

@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/geist-normal.woff2') format('woff2'); }

:root {
  --navy-950: #0c2a2c; --navy-900: #153c3f; --navy-800: #1d4f52;
  --blue-700: #c26a34; --blue-600: #e08a52; --blue-500: #e79a68; --blue-400: #ecad82; --blue-300: #f3c8aa;
  --blue-200: #f8e1d1; --blue-100: #fbefe5; --blue-50: #fdf7f2;

  --abyss: var(--navy-950);
  --abyss-2: var(--navy-900);
  --abyss-3: var(--navy-800);
  --apricot: var(--blue-600);
  --apricot-hi: var(--blue-400);
  --apricot-lo: var(--blue-700);
  --cream: #f1e8d6;
  --cream-2: #e8dcc3;
  --paper: #f8f3e9;
  --sage: #9db8a4;
  --sage-d: #5f7f6c;
  --text: var(--navy-950);
  --text-2: #476260;
  --on-dark: #f1e8d6;
  --on-dark-2: #b6c5bd;
  --hair-l: rgba(12, 42, 44, .12);
  --hair-d: rgba(241, 232, 214, .14);

  --serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(20px, 4.2vw, 64px);
  --head-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--apricot); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--apricot); color: var(--abyss); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--abyss); color: var(--on-dark); transition: top .2s var(--ease); }
.skip:focus { top: 14px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Grano de papel, fijo y sin eventos */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- Estructura ---------- */
.container { width: min(100% - var(--gut) * 2, 1360px); margin-inline: auto; }
.container--narrow { width: min(100% - var(--gut) * 2, 880px); }
.section { position: relative; padding-block: clamp(80px, 12vw, 168px); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 60rem; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.section__head--row > div { max-width: 56rem; }
.tag { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hair-l); font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); background: rgba(248, 243, 233, .6); }
.tag--light { border-color: var(--hair-d); color: var(--on-dark-2); background: rgba(241, 232, 214, .05); }
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--apricot) 25%, transparent); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.02em; }
.h2 em, .hero__title em { font-style: italic; color: var(--apricot-lo); }
.h2--light { color: var(--on-dark); }
.h2--light em { color: var(--apricot-hi); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 44rem; }
.lead--light { color: var(--on-dark-2); }
.fine { margin-top: 28px; font-size: .78rem; color: var(--text-2); }

/* ---------- Botones: cápsula con isla de icono ---------- */
.btn { --b-bg: var(--abyss); --b-fg: var(--on-dark); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border-radius: 999px; font-weight: 500; font-size: .95rem; line-height: 1; white-space: nowrap; background: var(--b-bg); color: var(--b-fg); border: 1px solid transparent; transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 10px 14px; font-size: .85rem; gap: 8px; }
.btn--lg { padding: 18px 26px; font-size: 1rem; }
.btn:has(.btn__dot) { padding-right: 8px; }
.btn--sm:has(.btn__dot) { padding-right: 6px; }
.btn__dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(12, 42, 44, .14); transition: transform .5s var(--ease), background .4s var(--ease); }
.btn--sm .btn__dot { width: 28px; height: 28px; }
.btn:hover .btn__dot { transform: translate(2px, -2px) scale(1.06); }
.btn--accent { --b-bg: var(--apricot); --b-fg: var(--abyss); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--apricot) 70%, transparent); }
.btn--accent:hover { --b-bg: var(--apricot-hi); }
.btn--ink { --b-bg: var(--abyss); --b-fg: var(--on-dark); }
.btn--ink .btn__dot { background: rgba(241, 232, 214, .14); }
.btn--ink:hover { --b-bg: var(--abyss-3); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--text); border-color: var(--hair-l); }
.btn--ghost:hover { background: rgba(12, 42, 44, .06); }
.btn--glass { --b-bg: rgba(241, 232, 214, .08); --b-fg: var(--on-dark); border-color: var(--hair-d); }
.btn--glass:hover { background: rgba(241, 232, 214, .16); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Doble bisel ---------- */
.bezel { padding: 7px; border-radius: 36px; background: rgba(12, 42, 44, .045); border: 1px solid var(--hair-l); }
.bezel__in { position: relative; border-radius: 29px; background: #fffdf8; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 30px 60px -34px rgba(12, 42, 44, .28); overflow: hidden; }
.bezel--dark { background: rgba(241, 232, 214, .05); border-color: var(--hair-d); }
.bezel--dark .bezel__in { background: var(--abyss-2); box-shadow: inset 0 1px 0 rgba(241, 232, 214, .1), 0 40px 80px -40px rgba(0, 0, 0, .6); color: var(--on-dark); }

/* ---------- Cabecera por fases ---------- */
.head { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding-inline: 12px; pointer-events: none; transition: transform .7s var(--ease), opacity .5s var(--ease); }
.head.is-hidden { transform: translateY(-130%); opacity: 0; }
.head__island { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 12px; border-radius: 999px; color: var(--on-dark); background: rgba(12, 42, 44, .72); border: 1px solid var(--hair-d); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(241, 232, 214, .08); max-width: 100%; transition: padding .6s var(--ease), background .5s var(--ease), border-color .5s var(--ease), gap .6s var(--ease); }
.head[data-phase="page"] .head__island { background: rgba(12, 42, 44, .86); }
.head__brand { display: flex; align-items: center; gap: 10px; padding-right: 8px; flex: none; }
.head__mark { width: 38px; height: 38px; border-radius: 50%; }
.head__word { display: grid; line-height: 1.05; }
.head__word b { font-family: var(--serif); font-weight: 400; font-size: 1.32rem; letter-spacing: -.01em; }
.head__word i { font-style: normal; font-size: .54rem; letter-spacing: .26em; text-transform: uppercase; color: var(--apricot-hi); }
.head__slot { display: grid; grid-template-columns: 0fr; opacity: 0; transition: grid-template-columns .7s var(--ease), opacity .5s var(--ease); min-width: 0; }
.head__slot > * { overflow: hidden; min-width: 0; }
.head[data-phase="top"] .head__slot--nav, .head[data-phase="page"] .head__slot--nav { grid-template-columns: 1fr; opacity: 1; }
.head[data-phase="hero"] .head__slot--live { grid-template-columns: 1fr; opacity: 1; }
.head__nav { display: flex; align-items: center; gap: 2px; }
.head__nav a { padding: 9px 13px; border-radius: 999px; font-size: .86rem; color: var(--on-dark-2); white-space: nowrap; transition: color .3s, background .3s; }
.head__nav a:hover, .head__nav a.is-on { color: var(--on-dark); background: rgba(241, 232, 214, .1); }
.head__live { display: flex; align-items: center; gap: 14px; padding: 0 8px; white-space: nowrap; }
.head__act { display: inline-flex; align-items: baseline; gap: 8px; font-size: .86rem; }
.head__act b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.2rem; color: var(--apricot-hi); }
.head__act span { min-width: 5.4em; }
.head__ecg { width: 84px; height: 24px; color: var(--apricot); overflow: visible; }
.head__ecg-base { opacity: .28; }
.head__ecg-line { stroke-dasharray: 22 78; stroke-dashoffset: 22; animation: ecg-scan calc(var(--beat, .83s) * 2) linear infinite; filter: drop-shadow(0 0 3px var(--apricot)); }
@keyframes ecg-scan { to { stroke-dashoffset: -78; } }
.head__bpm { font-size: .8rem; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.head__bpm b { color: var(--on-dark); font-weight: 600; }
.head__status { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; font-size: .78rem; color: var(--on-dark-2); white-space: nowrap; }
.head__dot { width: 8px; height: 8px; border-radius: 50%; background: #8a8f8c; }
.head__status[data-open="open"] .head__dot { background: #6fe3a0; box-shadow: 0 0 0 0 rgba(111, 227, 160, .6); animation: pulse 2.2s ease-out infinite; }
.head__status[data-open="closed"] .head__dot { background: var(--apricot); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 227, 160, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(111, 227, 160, 0); } }
.head__actions { display: flex; align-items: center; gap: 6px; margin-left: 2px; }
.head__call { --b-fg: var(--on-dark); border-color: var(--hair-d); }
.head__call:hover { background: rgba(241, 232, 214, .1); }
.head__cart { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--on-dark); transition: background .3s; }
.head__cart:hover { background: rgba(241, 232, 214, .1); }
.head__cart-n { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; font-size: .64rem; font-weight: 700; line-height: 17px; text-align: center; color: var(--abyss); background: var(--apricot); }
.head__burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 50%; background: rgba(241, 232, 214, .08); }
.head__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--on-dark); border-radius: 2px; transition: transform .6s var(--ease), top .6s var(--ease); }
.head__burger span:nth-child(1) { top: 17px; }
.head__burger span:nth-child(2) { top: 24px; }
.head__burger[aria-expanded="true"] span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.head__burger[aria-expanded="true"] span:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 38; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gut) 40px; background: rgba(12, 42, 44, .94); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 8px 0; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.05; color: var(--on-dark); border-bottom: 1px solid var(--hair-d); opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.menu__nav a span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--apricot-hi); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu__foot { margin-top: 28px; font-size: .85rem; color: var(--on-dark-2); }

/* ---------- Portada en cinco actos ---------- */
.hero { position: relative; height: 560vh; background: var(--abyss); color: var(--on-dark); }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: radial-gradient(90% 70% at 70% 40%, var(--abyss-3), var(--abyss) 70%); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { position: absolute; inset: 0; display: none; place-items: center; color: var(--on-dark); }
.hero__art { width: min(86vw, 820px); opacity: .9; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(12, 42, 44, .55) 0%, transparent 22%), radial-gradient(110% 80% at 0% 100%, rgba(12, 42, 44, .92) 0%, rgba(12, 42, 44, .55) 42%, transparent 70%); }
.hero__copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-bottom: clamp(70px, 11vh, 130px); pointer-events: none; }
.hero__copy > * { pointer-events: auto; }
.hero__eyebrow { margin-bottom: 20px; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 5.9vw, 6.2rem); line-height: .94; letter-spacing: -.025em; max-width: 12ch; text-wrap: balance; }
.hero__title em { color: var(--apricot-hi); }
.acts { position: relative; width: min(100%, 31rem); height: 9.4rem; margin-top: clamp(18px, 3vh, 32px); }
.act { position: absolute; inset: 0 auto auto 0; width: 100%; padding-left: 62px; opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); pointer-events: none; }
.act.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.act__n { position: absolute; left: 0; top: 2px; font-family: var(--serif); font-style: italic; font-size: 2.1rem; line-height: 1; color: var(--apricot-hi); }
.act__t { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 8px; padding-top: 8px; }
.act__p { color: var(--on-dark-2); font-size: clamp(.98rem, 1.25vw, 1.12rem); line-height: 1.55; }
.act__p strong { color: var(--on-dark); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(14px, 2.4vh, 26px); }
.rail { position: absolute; z-index: 3; right: clamp(14px, 2.4vw, 36px); top: 50%; transform: translateY(-50%); display: grid; gap: 18px; }
.rail__dot { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(241, 232, 214, .28); transition: background .4s, transform .6s var(--ease); }
.rail__dot span { position: absolute; right: 22px; top: 50%; transform: translate(8px, -50%); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark); white-space: nowrap; opacity: 0; transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.rail__dot:hover span, .rail__dot.is-on span { opacity: .0; }
.rail__dot.is-on { background: var(--apricot); transform: scale(1.6); }
.hero__hint { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-2); transition: opacity .5s; }
.hero__hint i { width: 1px; height: 30px; background: linear-gradient(var(--apricot), transparent); animation: hint 2s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero__hint.is-gone { opacity: 0; }
.hero__meter { position: absolute; z-index: 3; right: clamp(48px, 5vw, 84px); bottom: clamp(24px, 5vh, 56px); display: flex; align-items: baseline; gap: 8px; color: var(--on-dark); }
.hero__meter b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .9; font-variant-numeric: tabular-nums; }
.hero__meter span { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--apricot-hi); }

/* Sin WebGL o con movimiento reducido: una portada estática y los actos en rejilla */
html.no-gl .hero, html.reduce .hero { height: auto; }
html.no-gl .hero__pin, html.reduce .hero__pin { position: relative; height: auto; min-height: 100dvh; padding-top: 110px; }
html.no-gl .hero__gl, html.reduce .hero__gl, html.no-gl .rail, html.reduce .rail, html.no-gl .hero__hint, html.reduce .hero__hint, html.no-gl .hero__meter, html.reduce .hero__meter { display: none; }
html.no-gl .hero__fallback, html.reduce .hero__fallback { display: grid; inset: 0 0 auto 0; top: 90px; opacity: .55; }
html.no-gl .hero__copy, html.reduce .hero__copy { position: relative; inset: auto; padding-bottom: 80px; }
html.no-gl .acts, html.reduce .acts { height: auto; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin-top: 40px; }
html.no-gl .act, html.reduce .act { position: relative; opacity: 1; transform: none; filter: none; pointer-events: auto; }

/* ---------- Banda ---------- */
.band { overflow: hidden; background: var(--apricot); color: var(--abyss); border-block: 1px solid rgba(12, 42, 44, .25); }
.band__track { display: flex; align-items: center; gap: 40px; width: max-content; padding-block: 18px; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.2rem); white-space: nowrap; animation: marquee 48s linear infinite; }
.band__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--abyss); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifiesto ---------- */
.manifesto { background: var(--paper); }
.manifesto__text { margin-top: 28px; font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -.015em; }
.manifesto__text .w { color: rgba(12, 42, 44, .2); transition: color .5s var(--ease); }
.manifesto__text .w.is-lit { color: var(--text); }

/* ---------- Servicios ---------- */
.services { background: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--hair-l); font-size: .88rem; color: var(--text-2); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, transform .4s var(--ease); }
.chip:hover { border-color: var(--text); }
.chip.is-on { background: var(--abyss); color: var(--on-dark); border-color: var(--abyss); }
.chip:active { transform: scale(.96); }
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.svc { --mx: 50%; --my: 0%; position: relative; grid-column: span 4; display: flex; flex-direction: column; gap: 14px; min-height: 260px; padding: 26px; border-radius: 28px; background: #fffdf8; border: 1px solid var(--hair-l); overflow: hidden; transition: transform .7s var(--ease), box-shadow .7s var(--ease), opacity .5s var(--ease); }
.svc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--apricot) 22%, transparent), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(12, 42, 44, .45); }
.svc:hover::before { opacity: 1; }
.svc--wide { grid-column: span 6; }
.svc--dark { background: var(--abyss); color: var(--on-dark); border-color: var(--abyss); }
.svc--dark .svc__p, .svc--dark .svc__meta { color: var(--on-dark-2); }
.svc--dark .svc__ic { background: rgba(241, 232, 214, .1); color: var(--apricot-hi); }
.svc.is-off { display: none; }
.svc-grid.is-filtered .svc, .svc-grid.is-filtered .svc--wide { grid-column: span 4; }
.svc__top { display: flex; justify-content: space-between; align-items: start; }
.svc__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: color-mix(in srgb, var(--apricot) 16%, transparent); color: var(--apricot-lo); font-size: 1.5rem; }
.svc__g { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.svc--dark .svc__g { color: var(--apricot-hi); }
.svc__t { font-family: var(--serif); font-weight: 400; font-size: 1.85rem; line-height: 1.04; letter-spacing: -.01em; }
.svc__p { color: var(--text-2); font-size: .95rem; line-height: 1.55; flex: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.svc__meta { font-size: .82rem; color: var(--text-2); }
.svc__meta b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: inherit; line-height: 1; }
.svc--dark .svc__meta b { color: var(--on-dark); }

/* ---------- Cat friendly ---------- */
.cats { background: var(--abyss); color: var(--on-dark); overflow: hidden; }
.cats::before { content: ''; position: absolute; inset: auto -10% -30% 40%; height: 70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--apricot) 26%, transparent), transparent); pointer-events: none; }
.cats__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cats__copy { display: grid; gap: 22px; }
.calm { display: grid; gap: 8px; margin-top: 8px; }
.calm__item { width: 100%; display: flex; align-items: center; gap: 16px; padding: 14px 18px; text-align: left; border-radius: 22px; border: 1px solid var(--hair-d); background: rgba(241, 232, 214, .03); transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.calm__item:hover { background: rgba(241, 232, 214, .07); }
.calm__item:active { transform: scale(.985); }
.calm__item b { display: block; font-weight: 500; font-size: 1rem; }
.calm__item small { display: block; color: var(--on-dark-2); font-size: .84rem; }
.calm__sw { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: rgba(241, 232, 214, .16); transition: background .5s var(--ease); }
.calm__sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--on-dark); transition: transform .6s var(--ease); }
.calm__item[aria-pressed="true"] { border-color: color-mix(in srgb, var(--apricot) 55%, transparent); background: color-mix(in srgb, var(--apricot) 10%, transparent); }
.calm__item[aria-pressed="true"] .calm__sw { background: var(--apricot); }
.calm__item[aria-pressed="true"] .calm__sw::after { transform: translateX(18px); background: var(--abyss); }
.cats__cta { margin-top: 10px; }
.cats__stage { position: relative; }
.room { aspect-ratio: 520 / 600; background: var(--abyss); }
.room__svg { width: 100%; height: 100%; }
.room__sun { transform-origin: 300px 260px; opacity: calc(.25 + var(--calm, 0) * .75); transition: opacity 1s var(--ease); }
.room__cat { transition: transform 1.2s var(--ease); }
.room__tail { transform-origin: 112px 184px; animation: tail 5s ease-in-out infinite; animation-play-state: paused; }
.room__eye { transform-origin: center; transform-box: fill-box; animation: blink 6s infinite; }
.room__steam { opacity: 0; stroke-dasharray: 60; animation: steam 4s ease-in-out infinite; }
.cats__stage[data-calm="1"] .room__tail { animation-play-state: running; }
.cats__stage[data-on-diffuser="1"] .room__steam { opacity: .8; }
@keyframes tail { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(9deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes steam { 0% { stroke-dashoffset: 60; } 100% { stroke-dashoffset: -60; } }
.room__hud { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 24px; background: rgba(12, 42, 44, .8); border: 1px solid var(--hair-d); }
.gauge { position: relative; width: 74px; height: 74px; flex: none; }
.gauge svg { width: 100%; height: 100%; }
#gauge-arc { transition: stroke-dashoffset 1s var(--ease); }
.gauge__n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.gauge__n b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.gauge__n small { font-size: .64rem; color: var(--on-dark-2); }
.room__msg { font-size: .92rem; color: var(--on-dark-2); }
.room__msg strong { color: var(--apricot-hi); font-weight: 600; }

/* ---------- Laboratorio del latido ---------- */
.lab { background: var(--paper); }
.lab__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.lab__card { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(12, 42, 44, .06); }
.seg__b { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; font-weight: 500; color: var(--text-2); transition: color .4s; }
.seg__b.is-on { color: var(--on-dark); }
.seg__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--abyss); transition: transform .7s var(--ease); }
.seg[data-v="gato"] .seg__thumb { transform: translateX(100%); }
.range { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.range b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: 0; text-transform: none; color: var(--text); }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--apricot) var(--fill, 40%), rgba(12, 42, 44, .12) var(--fill, 40%)); outline: none; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--abyss); border: 5px solid var(--cream); box-shadow: 0 0 0 1px var(--abyss), 0 6px 14px -4px rgba(12, 42, 44, .5); cursor: grab; transition: transform .3s var(--ease); }
.slider::-webkit-slider-thumb:active { transform: scale(1.2); }
.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--abyss); border: 5px solid var(--cream); }
.lab__ecg { position: relative; margin-top: 6px; border-radius: 22px; background: var(--abyss); overflow: hidden; }
.lab__ecg canvas { width: 100%; height: 150px; }
.lab__bpm { position: absolute; left: 18px; top: 12px; display: flex; align-items: baseline; gap: 8px; color: var(--on-dark); }
.lab__bpm b { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.lab__bpm span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--apricot-hi); }
.lab__out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.stat { display: grid; gap: 6px; padding: 24px; border-radius: 28px; background: var(--cream); border: 1px solid var(--hair-l); }
.stat--wide { grid-column: 1 / -1; }
.stat__k { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.stat__v { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__v--sm { font-size: 2.2rem; }
.stat__u { font-size: .84rem; color: var(--text-2); }
.life { position: relative; height: 40px; margin-top: 8px; }
.life i { position: absolute; left: 0; top: 6px; height: 6px; width: 40%; border-radius: 6px; background: linear-gradient(90deg, var(--sage), var(--apricot)); transition: width .8s var(--ease); }
.life::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 6px; border-radius: 6px; background: rgba(12, 42, 44, .1); }
.life span { position: absolute; top: 18px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); transform: translateX(-50%); }
.lab__out .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }

/* ---------- Urgencias ---------- */
.urg { background: var(--abyss-2); color: var(--on-dark); }
.urg__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.urg__copy { display: grid; gap: 20px; position: sticky; top: 110px; }
.urg__status { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-size: .86rem; border: 1px solid var(--hair-d); background: rgba(241, 232, 214, .05); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #6fe3a0; }
.pill--closed i { background: var(--apricot); }
.urg__card { padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.urg__list { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.sign { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 18px; border: 1px solid var(--hair-d); cursor: pointer; transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); font-size: .96rem; }
.sign:hover { background: rgba(241, 232, 214, .06); }
.sign input { position: absolute; opacity: 0; pointer-events: none; }
.sign__box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(241, 232, 214, .35); display: grid; place-items: center; color: transparent; transition: background .3s, border-color .3s, color .3s; }
.sign input:checked + .sign__box { background: var(--apricot); border-color: var(--apricot); color: var(--abyss); }
.sign input:focus-visible + .sign__box { outline: 2px solid var(--apricot-hi); outline-offset: 3px; }
.sign:has(input:checked) { border-color: color-mix(in srgb, var(--apricot) 55%, transparent); background: color-mix(in srgb, var(--apricot) 9%, transparent); }
.sign__lv { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sign__lv[data-lv="red"] { background: #ff6b5e; }
.sign__lv[data-lv="amber"] { background: #f2b24c; }
.sign__lv[data-lv="green"] { background: #6fe3a0; }
.urg__result { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 22px; background: rgba(241, 232, 214, .06); border: 1px solid var(--hair-d); transition: background .6s var(--ease), border-color .6s var(--ease); }
.urg__light { flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: rgba(241, 232, 214, .3); box-shadow: 0 0 0 6px rgba(241, 232, 214, .06); transition: background .5s, box-shadow .5s; }
.urg__t { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.urg__p { margin-top: 6px; color: var(--on-dark-2); font-size: .95rem; }
.urg__result[data-level="red"] { background: rgba(255, 107, 94, .1); border-color: rgba(255, 107, 94, .5); }
.urg__result[data-level="red"] .urg__light { background: #ff6b5e; box-shadow: 0 0 0 6px rgba(255, 107, 94, .22), 0 0 30px rgba(255, 107, 94, .6); animation: blip 1.1s ease-in-out infinite; }
.urg__result[data-level="amber"] { background: rgba(242, 178, 76, .1); border-color: rgba(242, 178, 76, .5); }
.urg__result[data-level="amber"] .urg__light { background: #f2b24c; box-shadow: 0 0 0 6px rgba(242, 178, 76, .22); }
.urg__result[data-level="green"] { background: rgba(111, 227, 160, .09); border-color: rgba(111, 227, 160, .45); }
.urg__result[data-level="green"] .urg__light { background: #6fe3a0; box-shadow: 0 0 0 6px rgba(111, 227, 160, .2); }
@keyframes blip { 50% { transform: scale(1.25); } }
.urg__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Equipo ---------- */
.team { background: var(--paper); padding-bottom: clamp(60px, 9vw, 130px); }
.team__rail { display: flex; gap: 16px; padding: 6px var(--gut) 26px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.team__rail::-webkit-scrollbar { display: none; }
.member { --tone: 0; flex: none; width: min(340px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 30px; background: #fffdf8; border: 1px solid var(--hair-l); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -38px rgba(12, 42, 44, .5); }
.member__av { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; font-family: var(--serif); font-size: 2.6rem; color: var(--on-dark); background: radial-gradient(circle at 30% 25%, hsl(calc(160 + var(--tone) * 22) 28% 40%), var(--abyss) 70%); box-shadow: inset 0 0 0 1px rgba(241, 232, 214, .2), 0 16px 30px -18px rgba(12, 42, 44, .7); position: relative; }
.member__av::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--apricot) 50%, transparent); }
.member__n { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.04; }
.member__r { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--apricot-lo); }
.member__b { color: var(--text-2); font-size: .94rem; flex: 1; }
.member__d { font-size: .82rem; color: var(--text-2); padding-top: 12px; border-top: 1px solid var(--hair-l); }
.member .btn { align-self: flex-start; }

/* ---------- Pasaporte ---------- */
.pass { background: var(--cream); overflow: hidden; }
.pass__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 100px); align-items: center; }
.pass__copy { display: grid; gap: 22px; justify-items: start; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.ticks .ic { margin-top: 3px; color: var(--apricot-lo); }
.pass__phone { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 46px; background: var(--abyss); box-shadow: 0 50px 80px -40px rgba(12, 42, 44, .7), inset 0 0 0 1.5px rgba(241, 232, 214, .2); transform: rotate(3deg); transition: transform 1.2s var(--ease); }
.pass__phone:hover .phone { transform: rotate(0); }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #000; z-index: 2; }
.phone__screen { height: 100%; border-radius: 36px; background: var(--paper); padding: 54px 18px 18px; display: grid; align-content: start; gap: 10px; overflow: hidden; }
.pp__top { display: flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.pp__top i { margin-left: auto; width: 22px; height: 22px; border-radius: 5px; background: repeating-conic-gradient(var(--abyss) 0 25%, transparent 0 50%) 0 0 / 7px 7px; }
.pp__id { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: #fffdf8; border: 1px solid var(--hair-l); }
.pp__av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--abyss); color: var(--on-dark); font-family: var(--serif); font-size: 1.4rem; }
.pp__id b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.pp__id small { color: var(--text-2); font-size: .72rem; }
.pp__row { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 11px 12px; border-radius: 14px; background: #fffdf8; border: 1px solid var(--hair-l); font-size: .8rem; }
.pp__row em { font-style: normal; font-size: .68rem; padding: 4px 9px; border-radius: 999px; }
.pp__row .ok { background: rgba(95, 127, 108, .18); color: #2f5a44; }
.pp__row .soon { background: rgba(224, 138, 82, .22); color: #8a431a; }
.pp__row .later { background: rgba(12, 42, 44, .08); color: var(--text-2); }
.pp__bell { display: flex; gap: 10px; align-items: center; margin-top: 4px; padding: 12px; border-radius: 16px; background: var(--abyss); color: var(--on-dark); font-size: .76rem; }
.pp__bell .ic { color: var(--apricot-hi); font-size: 1.4rem; }
.pass__chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; font-size: .84rem; background: #fffdf8; border: 1px solid var(--hair-l); box-shadow: 0 24px 40px -24px rgba(12, 42, 44, .5); animation: floaty 6s ease-in-out infinite; }
.pass__chip .ic { color: var(--sage-d); font-size: 1.2rem; }
.pass__chip--a { top: 18%; left: 0; }
.pass__chip--b { bottom: 16%; right: 0; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- La Botica (teaser) ---------- */
.shop { background: var(--abyss); color: var(--on-dark); overflow: hidden; padding-bottom: clamp(60px, 9vw, 130px); }
.shop::before { content: ''; position: absolute; inset: -20% auto auto -10%; width: 60%; height: 70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--sage) 22%, transparent), transparent); pointer-events: none; }
.shop__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.shop__rail { position: relative; display: flex; gap: 16px; padding: 10px var(--gut) 30px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.shop__rail::-webkit-scrollbar { display: none; }
.shop__cats { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.pcard { --rx: 0deg; --ry: 0deg; position: relative; flex: none; width: min(280px, 72vw); scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 28px; background: rgba(241, 232, 214, .05); border: 1px solid var(--hair-d); overflow: hidden; transition: transform .6s var(--ease), border-color .4s, background .4s; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; }
.pcard:hover { border-color: color-mix(in srgb, var(--apricot) 55%, transparent); background: rgba(241, 232, 214, .08); }
.pcard__img { position: relative; aspect-ratio: 1; background: var(--cream-2); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(12, 42, 44, .78); color: var(--on-dark); }
.pcard__tag--low { background: var(--apricot); color: var(--abyss); }
.pcard__body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.pcard__brand { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--apricot-hi); }
.pcard__name { font-family: var(--serif); font-size: 1.28rem; line-height: 1.1; min-height: 2.8em; }
.pcard__row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.pcard__price { font-family: var(--serif); font-size: 1.6rem; }
.pcard__size { font-size: .76rem; color: var(--on-dark-2); }

/* ---------- Opiniones ---------- */
.voices { background: var(--paper); }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.voice { display: grid; gap: 22px; padding: 30px; border-radius: 30px; background: #fffdf8; border: 1px solid var(--hair-l); }
.voice--hi { background: var(--abyss); color: var(--on-dark); border-color: var(--abyss); margin-top: 28px; }
.voice blockquote { font-family: var(--serif); font-size: 1.55rem; line-height: 1.22; letter-spacing: -.005em; }
.voice figcaption { display: flex; align-items: center; gap: 12px; }
.voice__av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--apricot); color: var(--abyss); font-family: var(--serif); font-size: 1.2rem; }
.voice small { display: block; font-size: .78rem; opacity: .7; }
.voice b { font-weight: 500; font-size: .94rem; }

/* ---------- Te llamamos ---------- */
.call { background: var(--abyss-2); color: var(--on-dark); overflow: hidden; }
.call__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.call__copy { display: grid; gap: 22px; justify-items: start; }
.call__in { padding: clamp(20px, 3vw, 34px); min-height: 280px; }
.call__mount:empty { display: none; }
.demo-call { display: grid; gap: 10px; }
.demo-call[hidden] { display: none; }
.demo-call__badge { width: fit-content; padding: 4px 10px; border-radius: 999px; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--abyss); background: var(--apricot); }
.demo-call__t { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin-bottom: 4px; }
.demo-call label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.demo-call input[type="text"], .demo-call input:not([type]), .demo-call input[type="tel"] { width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--hair-d); background: rgba(12, 42, 44, .5); color: var(--on-dark); font: inherit; }
.demo-call input::placeholder { color: rgba(182, 197, 189, .55); }
.demo-call__ok { display: flex !important; gap: 10px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-size: .82rem !important; line-height: 1.45; }
.demo-call__ok input { margin-top: 3px; accent-color: var(--apricot); }
.demo-call__msg { min-height: 1.4em; font-size: .86rem; color: var(--sage); }
.demo-call__msg.is-err { color: #ffb4a8; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.acc { display: grid; gap: 10px; }
.acc details { border-radius: 24px; background: #fffdf8; border: 1px solid var(--hair-l); transition: background .4s; }
.acc details[open] { background: var(--cream); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair-l); transition: transform .6s var(--ease), background .4s; }
.acc summary i::before, .acc summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); transition: transform .6s var(--ease); }
.acc summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc details[open] summary i { background: var(--abyss); transform: rotate(180deg); }
.acc details[open] summary i::before, .acc details[open] summary i::after { background: var(--on-dark); }
.acc details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.acc p { padding: 0 26px 24px; color: var(--text-2); max-width: 46rem; }

/* ---------- Contacto ---------- */
.contact { background: var(--abyss); color: var(--on-dark); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 100px); align-items: center; }
.contact__main { display: grid; gap: 22px; }
.contact__addr { display: grid; gap: 10px; font-style: normal; }
.contact__addr a { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 20px; border: 1px solid var(--hair-d); transition: background .4s, border-color .4s; }
.contact__addr a:hover { background: rgba(241, 232, 214, .06); border-color: color-mix(in srgb, var(--apricot) 50%, transparent); }
.contact__addr .ic { color: var(--apricot-hi); font-size: 1.4rem; }
.hours { display: grid; gap: 4px; padding: 26px; border-radius: 30px; background: rgba(241, 232, 214, .05); border: 1px solid var(--hair-d); }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hair-d); font-size: .98rem; }
.hours__row:last-child { border-bottom: 0; }
.hours__row.is-today { color: var(--apricot-hi); font-weight: 600; }
.hours__row span:last-child { font-variant-numeric: tabular-nums; }
.hours__note { margin-top: 14px; font-size: .84rem; color: var(--on-dark-2); }

/* ---------- Pie, dock, aviso ---------- */
.foot { background: var(--abyss); color: var(--on-dark-2); border-top: 1px solid var(--hair-d); padding-block: 40px 110px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.foot__brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark); }
.foot__brand span { display: grid; line-height: 1.05; }
.foot__brand b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.foot__brand i { font-style: normal; font-size: .54rem; letter-spacing: .26em; text-transform: uppercase; color: var(--apricot-hi); }
.foot__demo { flex: 1 1 320px; font-size: .82rem; max-width: 40rem; }
.foot__nav { display: flex; gap: 18px; font-size: .86rem; }
.foot__nav a:hover { color: var(--on-dark); }
.dock { display: none; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 96px; transform: translate(-50%, 24px); max-width: min(92vw, 460px); padding: 14px 20px; border-radius: 18px; font-size: .9rem; background: var(--abyss); color: var(--on-dark); border: 1px solid var(--hair-d); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
[data-nexunia-widget] { --nxw-offset-y: 24px; }

/* ---------- Revelado al entrar ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .svc-grid .svc, .js .team__rail .member, .js .shop__rail .pcard { opacity: 0; transform: translateY(26px); }
.js .svc-grid .svc.is-in, .js .team__rail .member.is-in, .js .shop__rail .pcard.is-in { opacity: 1; transform: none; }

/* ---------- Adaptación ---------- */
@media (max-width: 1100px) {
  .head__status { display: none; }
  .head__nav a { padding: 9px 10px; font-size: .82rem; }
  .svc { grid-column: span 6; }
  .svc--wide { grid-column: span 12; }
}
@media (max-width: 920px) {
  .head[data-phase="top"] .head__slot--nav, .head[data-phase="page"] .head__slot--nav { grid-template-columns: 0fr; opacity: 0; }
  .head__burger { display: block; }
  .head__call, .head__book { display: none; }
  .head[data-phase="hero"] .head__slot--live { grid-template-columns: 1fr; opacity: 1; }
  .head__ecg { width: 56px; }
  .cats__grid, .lab__grid, .urg__grid, .pass__grid, .call__grid, .contact__grid { grid-template-columns: 1fr; }
  .urg__copy { position: static; }
  .voices__grid { grid-template-columns: 1fr; }
  .voice--hi { margin-top: 0; }
  .pass__phone { min-height: 520px; }
  .rail { display: none; }
  .dock { position: fixed; z-index: 36; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(12, 42, 44, .88); border: 1px solid var(--hair-d); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
  .dock .btn { flex: 1; --b-fg: var(--on-dark); }
  .dock .btn--ghost { border-color: var(--hair-d); }
  .dock .btn--accent { --b-fg: var(--abyss); }
  [data-nexunia-widget] { --nxw-offset-y: 84px !important; }
  .toast { bottom: 100px; }
}
@media (max-width: 640px) {
  .svc, .svc--wide { grid-column: span 12; }
  .lab__out { grid-template-columns: 1fr; }
  .hero { height: 620vh; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero__copy { padding-bottom: 96px; }
  .hero__cta { flex-wrap: nowrap; gap: 8px; }
  .hero__cta .btn { flex: 1 1 0; padding: 15px 12px; font-size: .88rem; gap: 8px; }
  .hero__cta .btn:has(.btn__dot) { padding-right: 12px; }
  .hero__cta .btn__dot, .hero__cta .hero__shop { display: none; }
  .hero__meter { display: none; }
  .acts { height: 10.4rem; }
  .act { padding-left: 50px; }
  .act__n { font-size: 1.7rem; }
  .head__live { gap: 8px; }
  .head__act span { min-width: 4.4em; }
  .head__bpm { display: none; }
  .room__hud { flex-direction: row; padding: 12px 14px; }
  .acc summary { font-size: 1.25rem; padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .reveal, .js .svc-grid .svc, .js .team__rail .member, .js .shop__rail .pcard { opacity: 1; transform: none; filter: none; }
  .band__track { animation: none; }
}

/* Marca del cliente */
:root {
  --navy-950: #0c2a2c;
  --navy-900: #113d40;
  --navy-800: #185458;
  --blue-700: #d9702b;
  --blue-600: #e08a52;
  --blue-500: #e6a175;
  --blue-400: #edbc9c;
  --blue-300: #f6dfcf;
  --blue-200: #f6dfcf;
  --blue-100: #faede5;
  --blue-50: #fdf6f2;
  --ink: #362012;
  --muted: #816756;
  --line: #f7e8de;
}
