/* =============================================================
   Glow Clínica Estética — styles.css
   Arquetipo: Editorial Light Cream (adaptado a estética/bienestar)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f4eee6;
  --bg-2:      #ebe2d6;
  --bg-3:      #e2d6c7;
  --paper:     #fbf8f4;
  --ink:       #231d19;
  --ink-soft:  #3d3530;
  --ink-mute:  #7b6f66;
  --accent:    #b27c6a;   /* rosa arcilla */
  --accent-2:  #8c9380;   /* salvia */
  --accent-deep: #8a5a4a;
  --cream:     #f4eee6;
  --line:      rgba(35,29,25,0.13);
  --line-soft: rgba(35,29,25,0.07);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1320px;
  --sec-pad: clamp(5.5rem, 13vw, 11rem);
  --radius: 22px;

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

@property --mesh-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
em { font-style: italic; }
h1 em, h2 em, h3 em, .serif em { color: var(--accent-deep); font-weight: 400; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 1.5px solid var(--accent-deep); outline-offset: 4px; border-radius: 6px; }

svg path, svg circle { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-mute); }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream); border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.32 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Placeholders de imagen (sustituir por fotos reales en WebP) */
.ph {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 15%, #f3dfd3 0%, transparent 55%),
    radial-gradient(90% 70% at 85% 85%, #d9c3b2 0%, transparent 60%),
    linear-gradient(160deg, #eadccf 0%, #d8c4b4 100%);
}
img.ph { object-fit: cover; }
.ph[data-ph]::after {
  content: attr(data-ph);
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
  color: rgba(35,29,25,.55);
}

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
}
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(178,124,106,.16); }
.kicker-num {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none;
  color: var(--accent-deep); padding-right: .75rem; border-right: 1px solid var(--line);
}
.sec-title { font-size: clamp(2.6rem, 8.4vw, 5.6rem); margin-top: 1.4rem; }
.sec-lede { max-width: 34rem; margin-top: 1.6rem; color: var(--ink-soft); font-size: clamp(1rem, 1.2vw, 1.08rem); font-weight: 300; }
.sec-num { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--accent-deep); }

.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out);
  padding-bottom: 2px;
}
.link-u:hover { background-size: 100% 1px; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 54px; padding: 0 1.7rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; letter-spacing: .02em;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out), transform .5s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .65s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark::before { background: var(--accent-deep); }
.btn-ghost { border: 1px solid rgba(35,29,25,.28); color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--cream); border-color: var(--ink); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light::before { background: var(--accent); }
.btn-light:hover { color: var(--cream); }
.btn-sm { min-height: 42px; padding: 0 1.2rem; font-size: .8rem; }
.btn-wide { width: 100%; }

/* Cursor (solo con ratón) */
.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-ring {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid rgba(138,90,74,.55);
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background-color .5s, border-color .5s;
}
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(178,124,106,.12); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: var(--bg);
  animation: splashOut .9s var(--ease-out) 1.6s forwards;   /* red de seguridad CSS */
}
.splash-mark { font-family: var(--serif); font-size: clamp(3rem, 12vw, 6rem); color: var(--accent-deep); font-weight: 300; opacity: 0; animation: splashIn 1.1s var(--ease-out) .1s forwards; }
.is-loaded .splash { animation: splashOut .9s var(--ease-out) forwards; }
@keyframes splashIn { from { opacity: 0; transform: translateY(14px); letter-spacing: .12em; } to { opacity: 1; transform: none; letter-spacing: 0; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .5s, box-shadow .5s, transform .6s var(--ease-out);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 1rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav.is-solid { background: rgba(244,238,230,.92); box-shadow: 0 1px 0 var(--line-soft); }
@supports (backdrop-filter: blur(10px)) {
  .nav.is-solid { background: rgba(244,238,230,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 6px 18px -8px rgba(138,90,74,.45); transition: transform .8s var(--ease-out); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.04); }
.brand-mark { font-family: var(--serif); font-size: 1.85rem; line-height: 1; color: var(--accent-deep); }
.brand-sub { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
.nav-links { display: none; gap: 2.2rem; font-size: .85rem; }
.nav-cta { display: none; }
.nav-toggle { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-content: center; gap: 5px; }
.nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1px; background: var(--ink); transition: transform .5s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7rem var(--gutter) 2.5rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-out);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(2.2rem, 10vw, 3.2rem); font-weight: 300; line-height: 1.1;
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.menu nav a span { font-family: var(--sans); font-size: .7rem; letter-spacing: .15em; color: var(--accent-deep); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .06s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .12s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .18s; }
.menu-foot { display: grid; gap: 1rem; }
.menu-foot p { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: 7.5rem 0 4.5rem; display: flex; align-items: center; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: -20% -30% auto auto; width: 90vw; height: 90vw; max-width: 1100px; max-height: 1100px;
  border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--mesh-a), #f1d6c8, #e9dcc9, #dfe2d4, #f3d9cf, #f1d6c8);
  filter: blur(80px); opacity: .75;
  animation: meshSpin 26s linear infinite;
}
@keyframes meshSpin { to { --mesh-a: 360deg; } }
.hero-grid { position: relative; display: grid; gap: 3.5rem; }
.hero-title { font-size: clamp(3rem, 13.5vw, 7.6rem); margin-top: 1.6rem; line-height: .98; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { max-width: 30rem; margin-top: 1.8rem; font-size: clamp(1.02rem, 1.3vw, 1.12rem); font-weight: 300; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.4rem; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-call { margin-top: 1.4rem; font-size: .85rem; color: var(--ink-mute); }
.hero-call a { color: var(--ink); }

.hero-visual { position: relative; width: min(100%, 460px); margin-inline: auto; padding: 0 0 2rem 2rem; }
.arch {
  position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(138,90,74,.45);
}
.ph-hero {
  background:
    radial-gradient(60% 45% at 50% 18%, #fff3ea 0%, transparent 70%),
    radial-gradient(80% 60% at 15% 90%, #d6bfae 0%, transparent 65%),
    radial-gradient(70% 60% at 95% 60%, #e9cfc2 0%, transparent 60%),
    linear-gradient(180deg, #efe3d7 0%, #d9c4b3 100%);
  transform: scale(1.08);
}
.arch-mini {
  position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--bg); box-shadow: 0 30px 60px -30px rgba(35,29,25,.35);
}
.ph-mini { background: radial-gradient(circle at 35% 30%, #f6e6dc, #c9ad9a 70%, #b9998a); }
.seal { position: absolute; right: -1rem; top: 8%; width: 108px; aspect-ratio: 1; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: rotate 30s linear infinite; }
.seal text { font-family: var(--sans); font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; fill: var(--ink-soft); }
.seal-core { width: 58%; height: 58%; border-radius: 50%; box-shadow: 0 14px 30px -14px rgba(35,29,25,.45); }
@keyframes rotate { to { transform: rotate(360deg); } }
.ph-hero::after { top: 46%; bottom: auto; left: 12%; right: 12%; text-align: center; }
.hero-cap { position: absolute; right: 0; bottom: .2rem; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }

.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; width: 1px; height: 46px; background: var(--line); overflow: hidden; display: none; }
.scroll-cue span { position: absolute; inset: 0; background: var(--accent-deep); animation: cue 2.4s var(--ease-soft) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Entrada del hero */
.js .hero-in { opacity: 0; transform: translateY(20px); }
.js .hero-title .line > span { transform: translateY(105%); }
.is-ready .hero-in { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) calc(var(--d, 0s) + .2s), transform 1.4s var(--ease-out) calc(var(--d, 0s) + .2s); }
.is-ready .hero-title .line > span { transform: none; transition: transform 1.4s var(--ease-out); }
.is-ready .hero-title .line:nth-child(1) > span { transition-delay: .3s; }
.is-ready .hero-title .line:nth-child(2) > span { transition-delay: .42s; }
.is-ready .hero-title .line:nth-child(3) > span { transition-delay: .54s; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 1.3rem 0; overflow: hidden; background: var(--bg); }
.marquee-track { display: flex; align-items: center; gap: 2.4rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 300; white-space: nowrap; }
.marquee em { color: var(--accent-deep); }
.marquee i { font-style: normal; font-size: .8rem; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifiesto ---------- */
.manifesto { padding-block: var(--sec-pad); }
.manifesto-grid { display: grid; gap: 2rem; }
.manifesto-text { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 5.4vw, 3.4rem); line-height: 1.18; letter-spacing: -.01em; }
.manifesto-text em { color: var(--accent-deep); }
.manifesto-text .w { opacity: .16; transition: opacity .5s var(--ease-soft); }
.manifesto-text .w.is-on { opacity: 1; }

/* ---------- Tratamientos ---------- */
.treatments { position: relative; padding-bottom: var(--sec-pad); }
.sec-head { max-width: 52rem; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.t-list { border-top: 1px solid var(--line); counter-reset: t; }
.t-row {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: 1.1rem; row-gap: .9rem;
  padding: 2rem 0 2.2rem; border-bottom: 1px solid var(--line);
}
.t-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--paper); opacity: 0; transition: opacity .6s var(--ease-out);
}
.t-num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--accent-deep); padding-top: .7rem; }
.t-name { font-size: clamp(2.3rem, 9vw, 5rem); transition: transform .8s var(--ease-out), color .5s; transform-origin: left center; }
.t-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; margin-top: .5rem; grid-column: 3; grid-row: 1; transition: background-color .5s, color .5s, transform .6s var(--ease-out), border-color .5s; }
.t-arrow svg { width: 16px; height: 16px; }
.t-arrow { display: none; }
.t-thumb {
  grid-column: 3; grid-row: 1; width: 64px; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 999px 999px 10px 10px; background: var(--bg-3); margin-top: .3rem;
}
.t-body { grid-column: 2 / 4; max-width: 34rem; }
.t-body p { color: var(--ink-soft); font-weight: 300; }
.t-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.t-tags li { font-size: .74rem; letter-spacing: .03em; padding: .38rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: rgba(251,248,244,.5); }
.t-foot { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
.t-foot p { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; font-weight: 300; }
.t-foot em { color: var(--accent-deep); }
.t-foot .btn { justify-self: start; }

.t-preview {
  position: fixed; top: 0; left: 0; z-index: 60; width: 250px; aspect-ratio: 3 / 4; pointer-events: none;
  border-radius: 999px 999px 18px 18px; overflow: hidden; opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.85); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
  box-shadow: 0 40px 70px -30px rgba(35,29,25,.4); display: none;
}
.t-preview.is-on { opacity: 1; }
.t-preview-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cercanía ---------- */
.near { padding-block: var(--sec-pad); background: var(--bg-2); position: relative; }
.near-grid { display: grid; gap: 3.5rem; }
.near-figure { margin-top: 2.6rem; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; max-width: 420px; }
.ph-near {
  background:
    radial-gradient(70% 50% at 70% 20%, #f7ebe2 0%, transparent 65%),
    radial-gradient(90% 70% at 10% 100%, #bfa592 0%, transparent 60%),
    linear-gradient(170deg, #e5d6c6, #cbb4a2);
  height: calc(100% + 80px); margin-top: -40px;
}
.pillars { display: grid; }
.pillar { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--accent-deep); }
.pillar h3 { font-size: clamp(1.8rem, 5.5vw, 2.5rem); line-height: 1.08; }
.pillar p { margin-top: .9rem; color: var(--ink-soft); font-weight: 300; max-width: 30rem; }

/* ---------- Testimonios ---------- */
.voices { padding-block: var(--sec-pad); text-align: center; overflow: hidden; }
.voices-head { display: grid; justify-items: center; gap: 1.2rem; }
.sample-warn {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #8a3b2a;
  border: 1px dashed rgba(138,59,42,.45); background: rgba(178,124,106,.08); padding: .5rem 1rem; border-radius: 999px;
}
.voices-stage { position: relative; display: grid; max-width: 58rem; margin: 3rem auto 0; padding-top: 3.5rem; }
.voices-quote { position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 9rem; line-height: 1; color: var(--accent); opacity: .35; }
.voice { grid-area: 1 / 1; display: grid; justify-items: center; gap: 1.8rem; }
.sample-tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; color: #8a3b2a;
  background: #f3dcd2; padding: .4rem .8rem; border-radius: 6px;
}
.voice blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 5vw, 3.1rem); line-height: 1.2; }
.voice figcaption { display: grid; gap: .2rem; }
.voice-name { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.voice-meta { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.js .voice { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), visibility 0s .9s; }
.js .voice.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--ease-out) .15s, transform 1.1s var(--ease-out) .15s, visibility 0s; }
.voices-nav { display: none; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 3rem; }
.js .voices-nav { display: flex; }
.v-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .5s, color .5s, border-color .5s; }
.v-btn svg { width: 18px; height: 18px; }
.v-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.v-dots { display: flex; gap: .55rem; }
.v-dots button { width: 26px; height: 26px; display: grid; place-items: center; }
.v-dots button::after { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .6s var(--ease-out), background-color .5s; }
.v-dots button[aria-current="true"]::after { width: 22px; background: var(--accent-deep); }
/* Sin JS: se muestran todos, apilados */
html:not(.js) .voices-stage { gap: 4rem; }
html:not(.js) .voice { grid-area: auto; }

/* ---------- Contacto ---------- */
.contact { padding-block: var(--sec-pad); background: var(--paper); }
.contact-grid { display: grid; gap: 3.5rem; }
.form { display: grid; gap: 1.1rem; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.55rem 0 .7rem; border: 0; border-bottom: 1px solid rgba(35,29,25,.25); border-radius: 0;
  background: transparent; font-size: 1.05rem; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field label {
  position: absolute; left: 0; top: 1.5rem; font-size: 1rem; color: var(--ink-mute); pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease-out), color .4s;
}
.field label span { font-size: .85em; opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-deep); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label,
.field select:valid + label {
  transform: translateY(-1.15rem) scale(.74); color: var(--accent-deep);
}
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent-deep);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field.is-error input, .field.is-error select { border-color: #a5432f; }
.field.is-error label { color: #a5432f; }
.select-caret { position: absolute; right: 0; top: 1.7rem; width: 18px; height: 18px; color: var(--ink-mute); pointer-events: none; }

.check { display: flex; align-items: flex-start; gap: .8rem; margin-top: .6rem; font-size: .85rem; color: var(--ink-soft); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1px solid rgba(35,29,25,.35); border-radius: 6px; display: grid; place-items: center; transition: background-color .4s, border-color .4s; }
.check-box::after { content: ""; width: 9px; height: 5px; border: solid var(--cream); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .4s var(--ease-out); }
.check input:checked + .check-box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check-box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check-box { outline: 1.5px solid var(--accent-deep); outline-offset: 3px; }
.check.is-error .check-box { border-color: #a5432f; }
.form .btn { margin-top: .8rem; min-height: 58px; }
.form-note { font-size: .82rem; color: var(--ink-mute); min-height: 1.4em; }
.form-note.is-ok { color: #5d6b52; }
.form-note.is-error { color: #a5432f; }

.info { display: grid; gap: 2.2rem; align-content: start; }
.wa-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 1.15rem 1.25rem; border-radius: 20px; background: var(--ink); color: var(--cream);
  transition: transform .6s var(--ease-out), background-color .5s;
}
.wa-card:hover { background: var(--accent-deep); transform: translateY(-3px); }
.wa-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(244,238,230,.1); display: grid; place-items: center; }
.wa-icon svg { width: 24px; height: 24px; }
.wa-text { display: grid; line-height: 1.35; }
.wa-text strong { font-weight: 500; }
.wa-text span { font-size: .78rem; opacity: .65; }
.wa-arrow { width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.wa-card:hover .wa-arrow { transform: translate(3px, -3px); }
.info-list { display: grid; }
.info-list div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.info-list div:last-child { border-bottom: 1px solid var(--line); }
.info-list dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); padding-top: .25rem; }
.info-list dd { font-size: .98rem; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 1.4rem; row-gap: .2rem; }
.hours span { white-space: nowrap; }
.hours span:nth-child(odd) { color: var(--ink-soft); }
.footer-bottom a[href^="tel"] { white-space: nowrap; }
@media (max-width: 539px) {
  .info-list div { grid-template-columns: 1fr; gap: .35rem; }
}

.map {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #ece3d8, #e0d3c4); border: 1px solid var(--line-soft);
}
.map-label { position: absolute; left: 1rem; top: 1rem; display: grid; gap: .1rem; padding: .7rem .95rem; border-radius: 14px; background: rgba(251,248,244,.92); font-size: .78rem; line-height: 1.35; box-shadow: 0 10px 24px -14px rgba(35,29,25,.35); }
.map-label strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.map-label span { color: var(--ink-mute); }
.map-actions { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.map-btn { font-size: .78rem; font-weight: 500; padding: .6rem 1rem; border-radius: 999px; background: var(--paper); transition: background-color .4s, color .4s; }
.map-btn:hover { background: var(--ink); color: var(--cream); }
.map-btn-dark { background: var(--ink); color: var(--cream); }
.map-btn-dark:hover { background: var(--accent-deep); }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; filter: saturate(.75) sepia(.12); }
.map.is-live .map-label, .map.is-live .map-pin { display: none; }
.map.is-live .map-actions { z-index: 2; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255,255,255,.75); }
.map-lines path { stroke-width: 7; }
.map-pin { position: absolute; left: 54%; top: 46%; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-deep); box-shadow: 0 0 0 8px rgba(138,90,74,.18); }
.map-pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--accent-deep); animation: pulse 2.8s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.map-link { position: absolute; right: .8rem; bottom: .8rem; font-size: .78rem; font-weight: 500; padding: .55rem .95rem; border-radius: 999px; background: var(--paper); transition: background-color .4s, color .4s; }
.map-link:hover { background: var(--ink); color: var(--cream); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 5rem 0 calc(6.5rem + env(safe-area-inset-bottom)); overflow: hidden; }
.footer-top { display: grid; gap: 1.6rem; justify-items: start; }
.footer-brand { display: flex; align-items: center; gap: 1.4rem; }
.footer-brand img { width: clamp(76px, 18vw, 112px); height: auto; border-radius: 50%; flex: none; }
.footer-claim { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.05; }
.footer-claim em { color: #d7a796; }
.footer-word {
  font-family: var(--serif); font-weight: 300; font-size: clamp(8rem, 38vw, 26rem); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(244,238,230,.22); margin: 3rem 0 2.5rem -.04em; user-select: none;
}
.footer-word em { color: inherit; }
.footer-bottom { display: grid; gap: 1rem; font-size: .78rem; color: rgba(244,238,230,.6); border-top: 1px solid rgba(244,238,230,.14); padding-top: 1.6rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Dock móvil ---------- */
.dock {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 80;
  display: flex; gap: .5rem; padding: .45rem; border-radius: 999px;
  background: rgba(35,29,25,.94); box-shadow: 0 20px 40px -18px rgba(35,29,25,.6);
  transform: translateY(160%); transition: transform .7s var(--ease-out);
}
@supports (backdrop-filter: blur(10px)) { .dock { background: rgba(35,29,25,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.dock.is-on { transform: none; }
.dock-btn { display: grid; place-items: center; min-height: 50px; border-radius: 999px; color: var(--cream); font-size: .92rem; font-weight: 500; }
.dock-call { width: 50px; border: 1px solid rgba(244,238,230,.2); }
.dock-call svg { width: 20px; height: 20px; }
.dock-main { flex: 1; background: var(--accent); transition: background-color .4s; }
.dock-main:active { background: var(--accent-deep); }

/* =============================================================
   7. Effects — reveals
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.t-list .reveal:nth-child(even) { transition-delay: .06s; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .hero-actions .btn { flex: 0 0 auto; }
  .seal { width: 124px; }
}

@media (min-width: 720px) {
  .manifesto-grid { grid-template-columns: 1fr 3fr; gap: 3rem; }
  .t-row { grid-template-columns: 4rem 1fr 1fr auto; column-gap: 2rem; align-items: start; padding: 2.6rem 0; }
  .t-body { grid-column: 3; padding-top: .9rem; }
  .t-arrow { grid-column: 4; grid-row: 1; }
  .t-thumb { grid-column: 4; grid-row: 1; width: 92px; margin-top: 0; }
  .t-foot { grid-template-columns: 1fr auto; align-items: center; }
  .pillar { grid-template-columns: 5rem 1fr; }
  .footer-top { grid-template-columns: 1fr auto; align-items: end; }
  .footer-bottom { grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; }
}

@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .menu { display: none !important; }
  .hero { padding: 8rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.25fr .9fr; align-items: center; gap: 4rem; }
  .hero-visual { margin: 0 0 0 auto; }
  .scroll-cue { display: block; }
  .near-grid { grid-template-columns: .95fr 1.05fr; gap: 6rem; align-items: start; }
  .near-side { position: sticky; top: 7rem; }
  .pillars { padding-top: 1rem; }
  .pillar:nth-child(even) { margin-left: 3.5rem; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 6rem; }
  .contact-head { margin-bottom: 4.5rem; }
  .dock { display: none; }
  .footer { padding-bottom: 3rem; }

  /* Hover editorial de tratamientos (solo ratón) */
  @media (hover: hover) and (pointer: fine) {
    .t-preview { display: block; }
    .t-thumb { display: none; }
    .t-arrow { display: grid; }
    .t-row:hover::before { opacity: 1; }
    .t-row:hover .t-name { transform: translateX(1.2rem); color: var(--accent-deep); }
    .t-row:hover .t-arrow { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: rotate(45deg); }
    .t-list:hover .t-row:not(:hover) .t-name { opacity: .45; }
    .t-name { transition: transform .8s var(--ease-out), color .5s, opacity .5s; }
  }
}

@media (min-width: 1280px) {
  .hero-title { font-size: 7.2rem; }
  .hero-visual { width: 480px; }
  .seal { width: 140px; right: -2.5rem; }
}

/* =============================================================
   9. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none; }
  .map-pin::after, .scroll-cue span { animation: none; }
  .marquee-track { animation-duration: 90s; }
}
