/* =========================================================
   Peluquería · Torrevieja · Propuesta editorial (MCL) · copia de portafolio
   Crema + champán + tinta. Serif de revista + sans limpia.
   Todo el texto ≥ 4.5:1 (comprobado).
   ========================================================= */

@font-face { font-family: "Instrument Serif"; src: url(../fonts/is-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/is-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/isans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --cream: #F5EFE6;      /* fondo */
  --paper: #FBF8F3;      /* tarjetas */
  --blush: #F0E4DC;      /* banda rosada (sillones del salón) */
  --ink: #1B1613;        /* texto 15.7:1 */
  --ink-2: #4A403A;      /* texto secundario 8.8:1 */
  --muted: #6B5E55;      /* etiquetas 5.5:1 */
  --gold-t: #7A5A2E;     /* dorado para TEXTO 5.5:1 */
  --gold: #B08D57;       /* dorado decorativo (líneas, estrellas) */
  --champ: #D8BE8C;      /* champán sobre negro 10.4:1 */
  --champ-2: #EADBBE;
  --night: #15110F;
  --line: rgba(27, 22, 19, .14);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--champ-2); }
:focus-visible { outline: 2px solid var(--gold-t); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 10001; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Tipos ---------- */
.eyebrow, .folio, .fig, .tag {
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0;
}
.folio { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.folio span, .eyebrow span, .fig span { color: var(--gold-t); font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: .02em; text-transform: none; font-weight: 400; }
.folio::after { content: ""; flex: 0 0 56px; height: 1px; background: var(--gold); }
.h2 {
  font-family: var(--serif); font-weight: 400; margin: 0; color: var(--ink);
  font-size: clamp(2.9rem, 11.5vw, 7rem); line-height: .95; letter-spacing: -.02em; text-wrap: balance;
}
.h2 em, .hero__title em, .final__title em, .pull em, .feature em, .about__quote em { color: var(--gold-t); }
.head { margin-bottom: clamp(2.5rem, 6vw, 5rem); max-width: 60rem; }
.head__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 34rem; margin: 1.4rem 0 0; line-height: 1.55; }
.head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.note { font-size: .95rem; color: var(--muted); margin: 0; }
.link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold); padding: .35rem 0; min-height: 44px; transition: gap .3s var(--ease), color .3s; }
.link:hover { gap: .85rem; color: var(--gold-t); }

/* split-text (JS envuelve palabras) */
.split .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .sw > span { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .9rem 1.6rem; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg);
  font: 600 1rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn svg { flex: none; }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--ink:hover { --bg: #000; }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--gold { --bg: var(--champ); --fg: var(--night); border-color: var(--champ); }
.btn--gold:hover { --bg: var(--champ-2); border-color: var(--champ-2); }
.btn--glass { --bg: rgba(255,255,255,.08); --fg: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { --bg: rgba(255,255,255,.16); }
.btn--sm { min-height: 44px; padding: .7rem 1.2rem; font-size: .95rem; }
.btn--lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Estrellas ---------- */
.stars { position: relative; display: inline-block; line-height: 0; --s: 18px; }
.stars > span { display: inline-flex; gap: 3px; }
.stars svg { width: var(--s); height: var(--s); fill: var(--gold); }
.stars--lg { --s: 26px; }

/* ---------- Intro (cortina) ---------- */
.intro { position: fixed; inset: 0; z-index: 10000; background: var(--cream); display: grid; place-items: center; animation: introUp 1s var(--ease-io) 1.35s forwards; }
.intro__inner { display: grid; justify-items: center; gap: 1rem; }
.intro .mono { width: 112px; height: 112px; border-radius: 50%; opacity: 0; animation: markIn 1s var(--ease) .1s forwards; box-shadow: 0 18px 50px -20px rgba(27,22,19,.5); }
.intro__name { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--ink); opacity: 0; animation: fadeUp .8s var(--ease) .45s forwards; }
.intro__line { width: 120px; height: 1px; background: var(--gold); transform: scaleX(0); animation: line 1s var(--ease-io) .5s forwards; }
@keyframes markIn { from { opacity: 0; transform: scale(.82); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes line { to { transform: scaleX(1); } }
@keyframes introUp { to { transform: translateY(-100%); visibility: hidden; } }
.intro__sub { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--muted); opacity: 0; animation: fadeUp .8s var(--ease) .7s forwards; }
.intro__star { position: absolute; left: 0; top: 0; width: 34px; height: 34px; fill: var(--gold); filter: drop-shadow(0 0 10px rgba(216,190,140,.9)); opacity: 0; animation: shoot 1.25s var(--ease-io) .25s forwards; }
@keyframes shoot { 0% { opacity: 0; transform: translate(12vw, 70vh) scale(.4) rotate(0); } 15% { opacity: 1; } 70% { opacity: 1; transform: translate(calc(50vw + 46px), calc(50vh - 92px)) scale(1) rotate(180deg); } 100% { opacity: 0; transform: translate(calc(50vw + 46px), calc(50vh - 92px)) scale(1.6) rotate(270deg); } }
.no-intro .intro { display: none; }
.hide-s { font-weight: inherit; display: none; }
@media (min-width: 520px) { .hide-s { display: inline; } }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--pad); transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.is-solid { background: rgba(245,239,230,.86); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-height: 44px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand__txt { display: grid; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; }
.brand__sub { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav__links { display: none; }
.nav__cta { display: flex; align-items: center; gap: .5rem; }
.nav__tel { display: none; }
.nav__burger { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; display: grid; place-content: center; gap: 6px; cursor: pointer; padding: 0; }
.nav__burger i { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 850; background: var(--cream); padding: calc(var(--nav-h) + 2rem) var(--pad) 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: .2rem; }
.menu nav a { font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.15; text-decoration: none; border-bottom: 1px solid var(--line); padding: .3rem 0; }
.menu__foot { display: grid; gap: .7rem; }
@media (max-width: 420px) { .nav .btn--sm { padding: .7rem 1rem; } .brand__sub { display: none; } }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto auto; padding-top: calc(var(--nav-h) + 1.4rem); overflow: hidden; }
.glints { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero__copy { position: relative; z-index: 4; padding: 0 var(--pad) 2.2rem; }
.hero__eyebrow { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.hero__title {
  font-family: var(--serif); font-weight: 400; margin: 1.1rem 0 1.2rem;
  font-size: clamp(4.2rem, 22vw, 10.4rem); line-height: .86; letter-spacing: -.035em;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .w > span { display: inline-block; transform: translateY(110%); animation: word 1.05s var(--ease) forwards; }
.hero__title .w:nth-child(1) > span { animation-delay: calc(var(--base, 1.55s) + 0s); }
.hero__title .w:nth-child(2) > span { animation-delay: calc(var(--base, 1.55s) + .09s); }
.hero__title .w:nth-child(3) > span { animation-delay: calc(var(--base, 1.55s) + .18s); }
.hero__title .w:nth-child(4) > span { animation-delay: calc(var(--base, 1.55s) + .27s); }
.hero__title .w:nth-child(5) > span { animation-delay: calc(var(--base, 1.55s) + .40s); }
.no-intro .hero { --base: .15s; }
@keyframes word { to { transform: none; } }
.hero__eyebrow, .hero__lead, .hero__ctas, .rating { opacity: 0; animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(var(--base, 1.55s) + .55s); }
.hero__eyebrow { animation-delay: calc(var(--base, 1.55s) - .05s); }
.hero__ctas { animation-delay: calc(var(--base, 1.55s) + .7s); }
.rating { animation-delay: calc(var(--base, 1.55s) + .85s); }
.hero__lead { font-size: clamp(1.12rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 30rem; margin: 0 0 1.6rem; }
.hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; max-width: 30rem; }
.hero__ctas .btn { padding-left: 1rem; padding-right: 1rem; }
.rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .3rem .7rem; margin-top: 1.4rem; text-decoration: none; min-height: 44px; }
.rating__n { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.rating__t { font-size: .95rem; color: var(--ink-2); border-bottom: 1px solid var(--gold); }
.hero__media { position: relative; z-index: 2; margin: 0; }
.hero__frame { position: relative; overflow: hidden; height: 64svh; min-height: 380px; clip-path: inset(0 0 0 0); animation: frameIn 1.6s var(--ease-io) forwards; animation-delay: calc(var(--base, 1.55s) - .45s); }
@keyframes frameIn { from { clip-path: inset(18% 8% 0 8%); } to { clip-path: inset(0 0 0 0); } }
.hero__parallax { position: absolute; inset: -8% 0; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform-origin: 60% 40%; animation: ken 22s ease-in-out infinite alternate; }
@keyframes ken { from { transform: scale(1.06); } to { transform: scale(1.18) translate(-1.5%, 1%); } }
.hero__media .fig { position: absolute; left: var(--pad); bottom: 1rem; background: var(--paper); padding: .55rem .9rem; border-radius: 999px; z-index: 2; color: var(--ink-2); }
.hero__vert { display: none; }
.hero__inset { position: absolute; right: var(--pad); top: 1.2rem; z-index: 3; width: 29vw; max-width: 150px; text-decoration: none; }
.hero__inset img { width: 100%; aspect-ratio: 455 / 690; object-fit: cover; border: 5px solid var(--paper); box-shadow: 0 20px 40px -14px rgba(27,22,19,.5); }
.hero__inset .fig { display: none; }
.hero__cue { display: none; }

/* Cinta */
.ribbon { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 1.05rem 0; }
.ribbon__track { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; white-space: nowrap; animation: marquee 38s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1; color: var(--ink); }
.ribbon svg { width: 18px; height: 18px; fill: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Prueba social ---------- */
.proof { background: var(--blush); padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; }
.proof__grid { display: grid; gap: 3rem; }
.stat__n { font-family: var(--serif); font-size: clamp(6.5rem, 30vw, 13rem); line-height: .8; margin: 0 0 .9rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__t { margin: .8rem 0 0; font-size: 1.05rem; color: var(--ink-2); line-height: 1.45; }
.stat { border-top: 1px solid rgba(27,22,19,.18); padding-top: 1.6rem; }
.pull { margin: 0; border-top: 1px solid rgba(27,22,19,.18); padding-top: 1.6rem; }
.pull p { font-family: var(--serif); font-size: clamp(2.6rem, 10vw, 4.6rem); line-height: 1; margin: 0 0 1rem; letter-spacing: -.02em; }
.pull footer { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Servicios ---------- */
.services { padding: clamp(5rem, 12vw, 10rem) 0 clamp(4rem, 9vw, 7rem); position: relative; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .9rem; padding: 1.5rem 0 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.svc__n { font-family: var(--serif); font-style: italic; color: var(--gold-t); font-size: 1.15rem; padding-top: .55rem; }
.svc__t { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 8.8vw, 4.6rem); line-height: 1; margin: 0; letter-spacing: -.02em; transition: transform .6s var(--ease), color .3s; }
.svc__t sup { font-size: .4em; color: var(--gold-t); top: -1.2em; margin-left: .1em; }
.svc__d { grid-column: 2; margin: .55rem 0 0; color: var(--ink-2); font-size: 1.05rem; }
.svc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }
.hover-img { display: none; }

/* ---------- Antes / después ---------- */
.ba { background: var(--paper); padding: clamp(5rem, 12vw, 10rem) 0; border-block: 1px solid var(--line); }
.ba__grid { display: grid; gap: 2.4rem; align-items: center; }
.ba__hint { display: flex; align-items: center; gap: .6rem; margin: 1.6rem 0 0; color: var(--muted); font-size: .95rem; }
.ba__hint svg { fill: var(--gold); }
.compare { position: relative; width: 100%; max-width: 470px; margin: 0 auto; aspect-ratio: 455 / 690; overflow: hidden; border-radius: 2px; box-shadow: 0 40px 80px -40px rgba(27,22,19,.45); background: #ddd; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__tag { position: absolute; top: 1rem; z-index: 3; background: rgba(251,248,243,.94); color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .5rem .85rem; border-radius: 999px; pointer-events: none; }
.compare__tag--l { left: 1rem; } .compare__tag--r { right: 1rem; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); z-index: 2; pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.25); }
.compare__handle i { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--paper); box-shadow: 0 10px 30px rgba(0,0,0,.25); display: grid; place-items: center; }
.compare__handle i::before, .compare__handle i::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-top: 1.6px solid var(--ink); border-left: 1.6px solid var(--ink); }
.compare__handle i::before { left: 15px; transform: translateY(-50%) rotate(-45deg); }
.compare__handle i::after { right: 15px; transform: translateY(-50%) rotate(135deg); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; }
.compare:focus-within .compare__handle i { outline: 2px solid var(--gold-t); outline-offset: 3px; }

/* ---------- Galería ---------- */
.gallery { padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem); }
.gallery__track { display: grid; gap: 2.6rem; padding: 0 var(--pad); }
.gallery__intro { display: block; }
.gph { margin: 0; }
.gph--a, .gph--d { margin-inline: calc(var(--pad) * -1); }
.gph--a .fig, .gph--d .fig { padding-inline: var(--pad); }
.gph--b, .gph--e { width: 82%; margin-left: auto; }
.gph__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--blush); }
.gph__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gph .fig { display: block; margin-top: .9rem; color: var(--ink-2); }
.gallery__swipe { display: none; }

/* ---------- Quiénes somos ---------- */
.about { background: var(--blush); padding: clamp(5rem, 12vw, 10rem) 0; }
.about__grid { display: grid; gap: 2.6rem; align-items: center; }
.about__media { overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__quote { margin: 0; }
.about__quote p { font-family: var(--serif); font-size: clamp(2.2rem, 7.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em; margin: 0; }
.about__txt { font-size: 1.12rem; color: var(--ink-2); margin: 1.8rem 0 0; max-width: 34rem; }
.about__txt strong { color: var(--ink); font-weight: 600; }
.about__links { display: flex; gap: 1.6rem; margin-top: 1.4rem; }

/* ---------- Reseñas ---------- */
.reviews { padding: clamp(5rem, 12vw, 10rem) 0; }
.feature { margin: 0 0 3rem; padding: clamp(1.8rem, 5vw, 4rem) 0; border-block: 1px solid var(--line); }
.feature blockquote { margin: 0; }
.feature p { font-family: var(--serif); font-size: clamp(2rem, 6.4vw, 4.2rem); line-height: 1.06; letter-spacing: -.02em; margin: 0; max-width: 22ch; }
.feature figcaption { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.cards { display: grid; gap: 1rem; }
.card { background: var(--paper); border: 1px solid var(--line); padding: 1.6rem 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card p { margin: 0; font-size: 1.06rem; line-height: 1.6; color: var(--ink); flex: 1; }
.card footer { font-weight: 600; font-size: .95rem; }
.card footer span { color: var(--muted); font-weight: 500; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(27,22,19,.35); }

/* ---------- Demo reseñas ---------- */
.demo { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--paper); border-block: 1px solid var(--line); }
.demo__grid { display: grid; gap: 3rem; align-items: center; }
.tag { display: inline-block; border: 1px solid var(--gold); border-radius: 999px; padding: .45rem .9rem; margin-bottom: 1.4rem; color: var(--gold-t); }
.demo .h2 { font-size: clamp(2.5rem, 9.4vw, 5rem); }
.demo__steps { list-style: none; padding: 0; margin: 2rem 0 1.4rem; display: grid; gap: 1rem; max-width: 34rem; }
.demo__steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; font-size: 1.08rem; color: var(--ink-2); line-height: 1.5; }
.demo__steps b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.6rem; color: var(--gold-t); line-height: 1; }
.phone { position: relative; width: min(100%, 360px); margin: 0 auto; padding: 12px; border-radius: 46px; background: var(--night); box-shadow: 0 50px 90px -40px rgba(27,22,19,.6), inset 0 0 0 1.5px #3a302a; }
.phone__screen { border-radius: 36px; background: linear-gradient(180deg, #1f1915, #15110f); color: #fff; min-height: 520px; padding: 2.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; }
.phone__head { display: grid; justify-items: center; gap: .6rem; text-align: center; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(216,190,140,.25); }
.phone__head img { border-radius: 50%; }
.phone__head p { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--champ-2); }
.rv { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1rem; text-align: center; padding-top: 1.2rem; animation: fadeUp .6s var(--ease); }
.rv[hidden] { display: none; }
.rv__q { font-family: var(--serif); font-size: 2.1rem; line-height: 1.05; margin: 0; }
.rv__stars { display: flex; justify-content: center; gap: .25rem; }
.rv__stars button { width: 52px; height: 52px; padding: 6px; background: none; border: 0; cursor: pointer; border-radius: 12px; transition: transform .3s var(--ease); }
.rv__stars svg { width: 100%; height: 100%; fill: transparent; stroke: var(--champ); stroke-width: 1.3; transition: fill .2s; }
.rv__stars button.is-on svg { fill: var(--champ); }
.rv__stars button:hover { transform: scale(1.12); }
.rv__hint, .rv__demo { margin: 0; font-size: .9rem; color: #CDBFAE; }
.rv__big { font-family: var(--serif); font-size: 2.4rem; line-height: 1; margin: 0; color: var(--champ-2); }
.rv__p { margin: 0; color: #E8DFD3; font-size: 1.02rem; }
.rv textarea { width: 100%; border-radius: 16px; border: 1px solid rgba(216,190,140,.45); background: rgba(255,255,255,.06); color: #fff; font: inherit; padding: .9rem 1rem; resize: none; }
.rv textarea::placeholder { color: #B9AC9C; }
.rv__again, .rv__alt { background: none; border: 0; color: #E8DFD3; font: inherit; font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.phone__tag { position: absolute; top: -14px; right: 18px; background: var(--champ); color: var(--night); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 999px; }

/* ---------- Visítanos ---------- */
.visit { padding: clamp(5rem, 12vw, 10rem) 0; }
.visit__grid { display: grid; gap: 2.5rem; }
.status { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; font-weight: 600; font-size: 1.05rem; background: var(--paper); border: 1px solid var(--line); padding: .6rem 1.1rem; border-radius: 999px; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: #9A8F86; }
.status.is-open i { background: #2E7D4F; box-shadow: 0 0 0 0 rgba(46,125,79,.5); animation: ring 2s infinite; }
.status.is-open { color: #1F5C39; }
@keyframes ring { 70% { box-shadow: 0 0 0 12px rgba(46,125,79,0); } 100% { box-shadow: 0 0 0 0 rgba(46,125,79,0); } }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; margin-bottom: 1rem; }
.hours th, .hours td { padding: .85rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 700; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: .6rem; vertical-align: middle; }
.visit__addr { font-style: normal; font-size: 1.1rem; line-height: 1.7; margin: 1.6rem 0; }
.visit__addr a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.visit__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.map { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e4dc; }
.map > img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) saturate(.7) contrast(.95) brightness(1.04); transition: transform 1.4s var(--ease); }
.map:hover > img { transform: scale(1.04); }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 8px rgba(176,141,87,.25), 0 12px 30px rgba(0,0,0,.35); animation: pin 2.4s ease-in-out infinite; }
.map__pin img { border-radius: 50%; }
@keyframes pin { 50% { box-shadow: 0 0 0 18px rgba(176,141,87,0), 0 12px 30px rgba(0,0,0,.35); } }
.map__label { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: var(--paper); color: var(--ink); padding: .7rem 1rem; font-weight: 600; font-size: .95rem; width: fit-content; max-width: calc(100% - 2rem); }
.map__credit { position: absolute; right: .4rem; top: .4rem; background: rgba(251,248,243,.92); color: var(--ink-2); font-size: .7rem; padding: .15rem .4rem; }

/* ---------- CTA final ---------- */
.final { position: relative; background: var(--night); color: #fff; padding: clamp(5rem, 13vw, 10rem) 0; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; z-index: -1; background: radial-gradient(closest-side, rgba(216,190,140,.16), transparent); }
.final__grid { display: grid; gap: 3rem; align-items: center; }
.eyebrow--light { color: var(--champ); margin-bottom: 1.4rem; }
.final__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 13vw, 7.4rem); line-height: .94; letter-spacing: -.03em; margin: 0 0 2.4rem; text-wrap: balance; }
.final__title em { color: var(--champ); }
.final__ctas { display: grid; gap: .7rem; width: 100%; max-width: 30rem; }
.final__fig { margin: 0; }
.final__img { overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.final__img img { width: 100%; height: 100%; object-fit: cover; }
.fig--light { color: #CDBFAE; display: block; margin-top: .9rem; }
.fig--light span { color: var(--champ); }

/* Tarjeta resumen de reseñas */
.card--sum { background: var(--night); color: #fff; border-color: var(--night); text-decoration: none; gap: .8rem; }
.card--sum .card__n { font-family: var(--serif); font-size: 5rem; line-height: .8; }
.card--sum .stars svg { fill: var(--champ); }
.card--sum .card__t { color: #E8DFD3; font-size: 1.02rem; }
.card--sum .card__go { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--champ-2); border-bottom: 1px solid var(--champ); width: fit-content; padding-bottom: .2rem; }

/* ---------- Pie ---------- */
.foot { background: var(--night); color: #E8DFD3; padding: 4rem 0 7rem; border-top: 1px solid rgba(216,190,140,.18); }
.foot__grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(216,190,140,.18); }
.foot__brand { display: flex; align-items: center; gap: 1rem; }
.foot__brand img { border-radius: 50%; }
.foot__name { font-family: var(--serif); font-size: 2rem; line-height: 1; margin: 0; color: #fff; }
.foot__name em { color: var(--champ); }
.foot__h { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--champ); margin: 0 0 .6rem; }
.foot p { margin: 0; line-height: 1.75; }
.foot a { text-decoration-color: rgba(216,190,140,.6); text-underline-offset: 4px; }
.foot__notice { margin-top: 2rem !important; padding: 1rem 1.2rem; border: 1px solid rgba(216,190,140,.4); border-radius: 12px; color: #fff; font-size: .98rem; }
.foot__small { margin-top: 1rem !important; font-size: .85rem; color: #BFB3A4; }

/* Barra móvil */
.dock { position: fixed; left: .75rem; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom)); z-index: 800; display: grid; grid-template-columns: 1.2fr 1fr; gap: .5rem; padding: .5rem; border-radius: 999px; background: rgba(245,239,230,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(27,22,19,.35); transform: translateY(140%); transition: transform .6s var(--ease); }
.dock .btn { min-height: 48px; padding: .7rem .8rem; }
.dock.is-on { transform: none; }

/* Grano + progreso */
.grain { position: fixed; inset: 0; z-index: 950; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 960; background: linear-gradient(90deg, var(--gold), var(--champ)); transform-origin: 0 50%; transform: scaleX(0); }

/* =========================================================
   Tablet / escritorio
   ========================================================= */
@media (min-width: 700px) {
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .pull { grid-column: 1 / -1; }
  .cards { display: block; columns: 2; column-gap: 1rem; }
  .cards .card { break-inside: avoid; margin-bottom: 1rem; }
  .final__ctas { grid-template-columns: 1fr 1fr; max-width: 34rem; }
  .final__ctas .btn:first-child { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --nav-h: 84px; }
  .nav__right { display: flex; align-items: center; gap: 1.6rem; background: rgba(251,248,243,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: .35rem .35rem .35rem 1.7rem; border-radius: 999px; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(27,22,19,.35); }
  .nav__links { display: flex; gap: 1.7rem; }
  .nav__links a { text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; padding: .5rem 0; }
  .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav__tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; padding: .5rem .8rem; min-height: 44px; }
  .nav__burger { display: none; }
  .brand img { width: 44px; height: 44px; }

  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: 1fr; min-height: 100vh; padding-top: 0; }
  .hero__copy { align-self: center; padding: calc(var(--nav-h) + 2rem) 3rem 4rem var(--pad); }
  .hero__title { font-size: clamp(5.4rem, 10vw, 11.2rem); margin: 1.4rem 0 1.8rem; }
  .hero__ctas { display: flex; flex-wrap: wrap; }
  .hero__media { height: 100vh; }
  .hero__frame { height: 100%; min-height: 0; }
  .hero__media .fig { left: 2rem; bottom: 2rem; }
  .hero__vert { display: block; position: absolute; left: -2.3rem; top: calc(var(--nav-h) + 2.5rem); margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: nowrap; }
  .hero__inset { right: auto; top: auto; left: -84px; bottom: 7vh; width: 12vw; max-width: 200px; min-width: 150px; }
  .hero__inset img { border-width: 7px; }
  .hero__inset .fig { display: none; }
  .hero__media .fig { left: auto; right: 2rem; }
  .hero__inset .fig { position: static; padding: 0; }
  .hero__cue { display: block; position: absolute; left: var(--pad); bottom: 2rem; z-index: 5; width: 44px; height: 44px; }
  .hero__cue span { position: absolute; left: 50%; top: 0; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
  .hero__cue span::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ink); animation: cue 2.2s var(--ease-io) infinite; }
  @keyframes cue { to { top: 100%; } }

  .proof__grid { grid-template-columns: .9fr .9fr 1.3fr; gap: 3.5rem; align-items: end; }
  .pull { grid-column: auto; }
  .stat__n { font-size: clamp(8rem, 13vw, 13rem); }

  .svc__row { grid-template-columns: 5rem minmax(0, 1fr) 21rem; align-items: baseline; padding: 2.1rem 0; cursor: default; }
  .svc__d { grid-column: 3; margin: 0; font-size: 1.18rem; color: var(--ink-2); }
  .svc__row:hover .svc__t { transform: translateX(1.2rem); color: var(--gold-t); }
  .hover-img { display: block; position: fixed; left: 0; top: 0; z-index: 20; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85); transition: opacity .4s var(--ease); box-shadow: 0 30px 60px -20px rgba(27,22,19,.45); }
  .hover-img.is-on { opacity: 1; }
  .hover-img img { width: 100%; height: 100%; object-fit: cover; }

  .ba__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .compare { max-width: 470px; }

  .gallery { padding: 0; }
  .gallery__pin { height: 100vh; overflow: hidden; display: flex; align-items: center; }
  .gallery__track { display: flex; gap: 5vw; padding: 0 var(--pad); align-items: center; will-change: transform; }
  .gallery__intro { flex: 0 0 34vw; }
  .gph, .gph--a, .gph--d, .gph--b, .gph--e { margin-inline: 0; width: auto; flex-shrink: 0; }
  .gph--a .fig, .gph--d .fig { padding-inline: 0; }
  .gph__img { width: auto; }
  .gph--a .gph__img { height: 66vh; }
  .gph--b .gph__img { height: 48vh; }
  .gph--b { align-self: flex-end; margin-bottom: 7vh !important; }
  .gph--c .gph__img { height: 58vh; }
  .gph--c { align-self: flex-start; margin-top: 9vh !important; }
  .gph--d .gph__img { height: 52vh; }
  .gph--d { align-self: flex-end; margin-bottom: 4vh !important; margin-right: 6vw !important; }
  .gph:hover .gph__img img { transform: scale(1.05); }

  .about__grid { grid-template-columns: .8fr 1.2fr; gap: 6rem; }

  .cards { display: block; columns: 3; column-gap: 1.2rem; }
  .cards .card { break-inside: avoid; margin-bottom: 1.2rem; }

  .demo__grid { grid-template-columns: 1.15fr .85fr; gap: 5rem; }
  .final__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }

  .visit__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }

  .dock { display: none; }
  .foot { padding-bottom: 3rem; }
}

@media (min-width: 900px) and (hover: none) { .hover-img { display: none; } }

/* Sin JS de galería: que se pueda desplazar igual */
@media (min-width: 900px) {
  html:not(.gsap-ok) .gallery__pin { height: auto; padding: 8rem 0 6rem; }
  html:not(.gsap-ok) .gallery__track { overflow-x: auto; }
}

/* =========================================================
   Movimiento reducido: todo quieto y visible
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .intro { display: none !important; }
  .hero__title .w > span, .hero__eyebrow, .hero__lead, .hero__ctas, .rating { transform: none !important; opacity: 1 !important; animation: none !important; }
  .hero__frame { clip-path: none !important; animation: none !important; }
  .hero__img { animation: none !important; transform: scale(1.04); }
  .ribbon__track { animation: none !important; }
  .glints { display: none; }
}
