/* ============================================================
   Nails by MelyG — estilos
   Línea visual del portfolio: burdeos, rosa empolvado, nude y
   blanco roto · Playfair Display + Jost · grano sutil · sin
   píldoras ni círculos decorativos · formas de uña.
   ============================================================ */

:root {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --wine: #662E3A;
  --wine-deep: #4E222C;
  --wine-ink: #3A1820;
  --wine-soft: #7E5560;   /* texto secundario sobre claro (6:1) */
  --wine-line: #D9C3C0;
  --rose: #E0B6B9;
  --rose-soft: #EDD3D4;
  --nude: #D3BAAA;
  --paper: #F3ECE8;
  --paper-2: #FAF6F3;
  --on-wine: #F3ECE8;
  --on-wine-soft: #E6D2D3;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --radius: 2px;
  --nail: 50% 50% 14px 14px / 42% 42% 14px 14px; /* forma de uña */
  --arch: 999px 999px var(--radius) var(--radius);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --shadow-soft: 0 30px 60px -30px rgba(58, 24, 32, .35);
  --bar-h: 0px;
  --header-h: 72px;
}
@media (min-width: 960px) { :root { --header-h: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--wine);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  padding-bottom: var(--bar-h);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--wine); color: var(--on-wine); }

/* grano sutil */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 400;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.18 0 0 0 0 0.23 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.on-wine :focus-visible { outline-color: var(--rose); }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 600; background: var(--wine); color: var(--on-wine); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.on-wine { background: var(--wine); color: var(--on-wine); }
.on-rose { background: var(--rose); }
.on-nude { background: var(--nude); }
.on-white { background: var(--paper-2); }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--wine-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; transform-origin: left; }
.on-wine .eyebrow { color: var(--rose); }

.display, h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.display em, h1 em, h2 em {
  display: block;             /* palabra de acento en su propia línea */
  font-style: italic;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}
h1 { font-size: clamp(52px, 9.4vw, 132px); }
h2 { font-size: clamp(38px, 5.8vw, 76px); }
h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--wine-soft); max-width: 36em; }
.on-wine .lead, .on-wine .muted { color: var(--on-wine-soft); }
.muted { color: var(--wine-soft); }
p { margin: 0 0 1em; }

/* líneas partidas por SplitText */
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 32px;
  border: 1px solid var(--wine); border-radius: var(--radius);
  background: var(--wine); color: var(--on-wine);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .2s var(--ease);
}
/* relleno que sube con forma de uña */
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: -10%; right: -10%; top: 100%; height: 220%;
  background: var(--wine-deep);
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  transition: top .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before { top: -40%; border-radius: 0; }
.btn:active { transform: scale(.97); }
.btn > span, .btn > svg { position: relative; }
.btn--ghost { background: transparent; color: var(--wine); }
.btn--ghost::before { background: var(--wine); }
.btn--ghost:hover { color: var(--on-wine); }
.on-wine .btn { background: var(--on-wine); color: var(--wine); border-color: var(--on-wine); }
.on-wine .btn::before { background: var(--rose); }
.on-wine .btn--ghost { background: transparent; color: var(--on-wine); border-color: var(--on-wine-soft); }
.on-wine .btn--ghost::before { background: var(--on-wine); }
.on-wine .btn--ghost:hover { color: var(--wine); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]::before { display: none; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; padding-bottom: 4px; position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-arrow:hover::after { animation: line-swipe .8s var(--ease); }
@keyframes line-swipe { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 236, 232, .82);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), border-color .4s, background .4s;
}
.site-header.is-scrolled { border-bottom-color: var(--wine-line); background: rgba(243, 236, 232, .9); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .4s var(--ease); }
.site-header.is-scrolled .wrap { height: calc(var(--header-h) - 12px); }
.site-header .progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--wine); transform: scaleX(var(--p, 0)); transform-origin: left; }
.brand { display: inline-flex; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .brand img { height: 40px; }
@media (min-width: 960px) { .brand img { height: 54px; } .is-scrolled .brand img { height: 46px; } }
.nav { display: none; align-items: center; gap: 36px; }
.nav a { text-decoration: none; font-size: 15px; letter-spacing: .04em; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.lang { display: flex; align-items: center; font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.lang button { background: none; border: 0; min-width: 40px; min-height: 44px; cursor: pointer; color: var(--wine-soft); transition: color .3s; }
.lang button:hover { color: var(--wine); }
.lang button[aria-pressed="true"] { color: var(--wine); text-decoration: underline; text-underline-offset: 5px; }
.lang span { color: var(--wine-line); }
.menu-btn { background: none; border: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
.header-cta { display: none; }

@media (min-width: 960px) {
  .nav { display: flex; gap: clamp(20px, 2.6vw, 36px); }
  .menu-btn { display: none; }
  .header-cta { display: inline-flex; min-height: 48px; padding: 0 24px; margin-left: 16px; }
}

/* menú de teléfono: cortina con borde de uña */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--wine); color: var(--on-wine);
  display: flex; flex-direction: column;
  padding: 20px var(--gutter) 32px;
  clip-path: inset(0 0 100% 0 round 0 0 50% 50%);
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s linear .8s;
}
.mobile-menu.open { clip-path: inset(0 0 0 0 round 0); visibility: visible; transition: clip-path .8s var(--ease-in-out); }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.mobile-menu .brand img { height: 42px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 40px; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(36px, 10vw, 48px); text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(243,236,232,.18); display: flex; justify-content: space-between; align-items: baseline;
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mobile-menu nav a small { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; color: var(--rose); }
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu.open nav a:nth-child(1) { transition-delay: .25s; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: .31s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: .37s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: .43s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: .49s; }
.mobile-menu .foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .menu-btn { color: var(--on-wine); }

/* barra fija en teléfono */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 236, 232, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--wine-line);
  transform: translateY(110%);
  transition: transform .5s var(--ease);
}
.mobile-bar.show { transform: none; }
.mobile-bar .btn { flex: 1; }
.mobile-bar .btn--icon { flex: none; width: 56px; padding: 0; }
@media (min-width: 960px) { .mobile-bar { display: none; } }
@media (max-width: 959px) { body.has-bar { --bar-h: 76px; } }

/* ---------- Revelado (respaldo sin GSAP) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
/* cuando GSAP toma el control, él decide */
.has-gsap .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Precarga (primera visita de la sesión) ---------- */
.loader { display: none; }
.js .loader.run {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--wine); color: var(--on-wine);
}
.loader .loader-nail { width: 92px; height: 166px; overflow: hidden; }
.loader .loader-nail .nail-svg { width: 100%; height: auto; margin-top: -8px; }
.loader img { width: 180px; height: auto; }
.loader .count { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: .1em; color: var(--rose); font-variant-numeric: tabular-nums; }

/* mientras arranca el motion no se ve la portada a medias */
.motion-wait [data-hero-title], .motion-wait [data-hero-fade], .motion-wait [data-hero-photo],
.motion-wait [data-hero-tag], .motion-wait .float-nail, .motion-wait .page-hero h1 { visibility: hidden; }
.is-entering .curtain { clip-path: inset(0 0 0 0); }

/* cortina entre páginas */
.curtain {
  position: fixed; inset: 0; z-index: 480; pointer-events: none;
  background: var(--wine);
  clip-path: inset(100% 0 0 0 round 50% 50% 0 0);
}
.curtain.in { pointer-events: auto; clip-path: inset(0 0 0 0 round 0); transition: clip-path .7s var(--ease-in-out); }

/* ---------- Cursor (solo ratón) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 450; pointer-events: none;
    width: 12px; height: 16px; margin: -8px 0 0 -6px;
    background: var(--wine); border-radius: var(--nail);
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s;
    will-change: transform;
  }
  .has-cursor .cursor span { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-wine); opacity: 0; transition: opacity .3s; white-space: nowrap; }
  .has-cursor .cursor.is-link { width: 44px; height: 56px; margin: -28px 0 0 -22px; background: rgba(224, 182, 185, .55); }
  .has-cursor .cursor.is-label { width: 96px; height: 124px; margin: -62px 0 0 -48px; background: var(--wine); }
  .has-cursor .cursor.is-label span { opacity: 1; }
  .has-cursor .cursor.is-hidden { opacity: 0; }
  .on-wine .cursor { background: var(--rose); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 120px); position: relative; }
.hero .wrap { display: grid; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 30px; }
.hero h1 em { color: var(--wine); }
.hero .lead { margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-gift { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 10px 16px 10px 10px; max-width: 100%; border: 1px solid var(--wine-line); background: var(--paper-2); text-decoration: none; color: var(--wine); transition: border-color .3s, box-shadow .4s var(--ease); }
.hero-gift:hover { border-color: var(--wine); box-shadow: 0 16px 30px -22px rgba(58,24,32,.6); }
.hero-gift-card { flex: none; width: 64px; aspect-ratio: 1.6; border-radius: 7px; background: linear-gradient(135deg, #8A4453, #662E3A 55%, #4E222C); display: grid; place-items: center; box-shadow: 0 8px 16px -8px rgba(58,24,32,.7); transform: rotate(-6deg); transition: transform .5s var(--ease); }
.hero-gift:hover .hero-gift-card { transform: rotate(0deg) scale(1.06); }
.hero-gift-card img { width: 64%; height: auto; }
.hero-gift-txt { display: grid; gap: 2px; min-width: 0; }
.hero-gift-txt b { font-weight: 600; font-size: 15px; }
.hero-gift-txt small { font-size: 13px; color: var(--wine-soft); line-height: 1.3; }
.hero-gift > svg { flex: none; width: 20px; height: 20px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; font-size: 15px; color: var(--wine-soft); align-items: center; }
.hero-meta strong { color: var(--wine); font-weight: 500; }
.stars { display: inline-flex; gap: 2px; vertical-align: -2px; margin-right: 6px; }
.stars svg { width: 15px; height: 15px; fill: var(--wine); }
.hero-media { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-photo { position: relative; overflow: hidden; border-radius: var(--arch); aspect-ratio: 11 / 16; background: var(--rose-soft); }
.hero-photo img { width: 100%; height: 115%; object-fit: cover; object-position: center 12%; will-change: transform; }
.hero-media .tag {
  position: absolute; left: -14px; bottom: 44px; z-index: 2;
  background: var(--paper-2); padding: 16px 22px;
  border: 1px solid var(--wine-line);
  font-size: 14px; line-height: 1.35;
  box-shadow: var(--shadow-soft);
}
.hero-media .tag b { display: block; font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1; margin-bottom: 4px; }
.float-nail { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 18px 18px rgba(58, 24, 32, .28)); }
.float-nail .nail-svg { width: 100%; height: auto; }
.float-nail.a { width: 52px; right: -26px; top: 10%; transform: rotate(18deg); }
.float-nail.b { width: 40px; left: -34px; top: 32%; transform: rotate(-24deg); }
.float-nail.c { width: 36px; right: 14%; bottom: -30px; transform: rotate(-8deg); }
/* dedos flotantes: solo la punta, recortada */
.float-nail .crop { overflow: hidden; aspect-ratio: 200 / 250; }
.scroll-cue { display: none; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 7fr 5fr; min-height: calc(100svh - var(--header-h) - 120px); }
  .hero-media { justify-self: end; }
  .hero-media .tag { left: -56px; }
  .scroll-cue { display: flex; align-items: center; gap: 14px; position: absolute; left: var(--gutter); bottom: 28px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--wine-soft); }
  .scroll-cue i { width: 1px; height: 48px; background: var(--wine-line); position: relative; overflow: hidden; }
  .scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--wine); animation: cue 2.2s var(--ease-in-out) infinite; }
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after { animation: none; } }

/* estado abierto / cerrado */
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.status::before { content: ""; width: 9px; height: 12px; border-radius: var(--nail); background: #9A9A9A; flex: none; }
.status.open::before { background: #3F8F5C; box-shadow: 0 0 0 0 rgba(63, 143, 92, .5); animation: pulse 2.4s infinite; }
.status.open b { color: #2F6E46; font-weight: 500; }
.status b { font-weight: 500; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 143, 92, .45); } 70% { box-shadow: 0 0 0 10px rgba(63, 143, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 143, 92, 0); } }
@media (prefers-reduced-motion: reduce) { .status.open::before { animation: none; } }

/* ---------- Marquesina ---------- */
.marquee { overflow: hidden; background: var(--wine); color: var(--on-wine); padding: 26px 0; border-top: 1px solid rgba(243,236,232,.12); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 60px); line-height: 1; white-space: nowrap; padding: 0 .5em; text-transform: uppercase; }
.marquee-group span:nth-child(4n+3) { font-style: italic; text-transform: none; color: var(--rose); }
.marquee-group svg { width: .5em; height: .7em; font-size: clamp(30px, 4.6vw, 60px); flex: none; fill: var(--rose); }
.no-gsap .marquee-track { animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none !important; } }

/* ---------- La técnica ---------- */
.technique .wrap { display: grid; gap: 56px; }
.technique .sticky { align-self: start; }
.technique-photo { margin-top: 44px; overflow: hidden; border-radius: var(--arch); aspect-ratio: 4 / 5; max-width: 420px; background: var(--wine-deep); }
.technique-photo img { width: 100%; height: 118%; object-fit: cover; object-position: center 20%; }
.technique-list { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: t; position: relative; }
.technique-list li { padding: 40px 0 40px; border-top: 1px solid rgba(243,236,232,.22); display: grid; grid-template-columns: 72px 1fr; gap: 10px 18px; transition: opacity .6s var(--ease); }
.technique-list li::before { counter-increment: t; content: "0" counter(t); font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--rose); grid-row: span 2; }
.technique-list h3 { font-size: clamp(26px, 3vw, 36px); }
.technique-list p { margin: 0; color: var(--on-wine-soft); max-width: 30em; }
.has-gsap .technique-list li { opacity: .3; }
.has-gsap .technique-list li.active { opacity: 1; }
.technique-line { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: rgba(243,236,232,.15); display: none; }
.technique-line i { position: absolute; inset: 0; background: var(--rose); transform: scaleY(var(--p, 0)); transform-origin: top; }
@media (min-width: 900px) {
  .technique .wrap { grid-template-columns: 5fr 6fr; gap: 110px; }
  .technique .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
  .technique-list { padding-left: 44px; }
  .technique-line { display: block; }
  .technique-list li { min-height: 44vh; align-content: center; }
}

/* ---------- Fichas de servicio con uña realista ---------- */
.swatches { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 64px; }
@media (min-width: 700px) { .swatches { grid-template-columns: repeat(3, 1fr); } }
.swatch { text-decoration: none; display: flex; flex-direction: column; gap: 18px; perspective: 900px; }
.swatch .stage {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  display: flex; justify-content: center; align-items: flex-end;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.swatch:hover .stage { box-shadow: var(--shadow-soft); }
.swatch .stage.t-wine { background: radial-gradient(120% 80% at 50% 110%, #F1DADB 0%, #E7C7C9 45%, #D9B2B6 100%); }
.swatch .stage.t-rose { background: radial-gradient(120% 80% at 50% 110%, #F6ECE7 0%, #EAD9D2 50%, #DCC3BA 100%); }
.swatch .stage.t-nude { background: radial-gradient(120% 80% at 50% 110%, #EFE3DC 0%, #E0CEC4 50%, #CDB6A8 100%); }
.swatch .stage [data-nail] { width: 62%; margin-bottom: -26%; transition: transform .8s var(--ease); filter: drop-shadow(0 30px 30px rgba(58, 24, 32, .25)); }
.swatch:hover .stage [data-nail] { transform: translateY(-5%) rotate(-2deg); }
.swatch .stage [data-nail] .nail-svg { width: 100%; height: auto; display: block; }
.swatch .stage .tag {
  position: absolute; left: 50%; top: 13%; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  background: rgba(250, 246, 243, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px;
}
.swatch .stage .go {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  width: 48px; height: 60px; border-radius: var(--nail);
  background: var(--wine); color: var(--on-wine); display: grid; place-items: center;
  transform: translateY(20px) scale(.6); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.swatch .stage .go svg { width: 18px; height: 18px; }
.swatch:hover .stage .go, .swatch:focus-visible .stage .go { transform: none; opacity: 1; }
.swatch .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.swatch h3 { font-size: 26px; }
.swatch .price { font-size: 18px; font-weight: 500; white-space: nowrap; }
.swatch .meta { font-size: 15px; color: var(--wine-soft); margin: -10px 0 0; }
@media (max-width: 699px) { .swatch .stage { aspect-ratio: 5 / 4; } .swatch .stage [data-nail] { width: 44%; margin-bottom: -18%; } }

/* ---------- Estudio de color ---------- */
.studio { overflow: clip; }
.studio .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .studio .wrap { grid-template-columns: 7fr 5fr; gap: 72px; } }
.studio-stage {
  position: relative; overflow: hidden; aspect-ratio: 1 / .86; width: 100%;
  border-radius: var(--arch);
  background: radial-gradient(90% 70% at 50% 100%, #F7EDE8 0%, #EBD8D2 55%, #DDC2BC 100%);
  display: flex; justify-content: center; align-items: flex-end;
}
.studio-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(to top, rgba(221, 194, 188, .9), transparent); pointer-events: none; }
.hand { display: flex; align-items: flex-end; justify-content: center; width: 128%; flex: none; margin-bottom: -12%; }
.hand .finger { flex: none; transform-origin: 50% 100%; filter: drop-shadow(0 24px 22px rgba(58, 24, 32, .22)); transition: transform .8s var(--ease); }
.hand .finger .nail-svg { width: 100%; height: auto; display: block; }
.hand .f1 { width: 25%; margin-right: -3.5%; transform: translateY(15%) rotate(-5deg); }
.hand .f2 { width: 26.5%; margin-right: -3.5%; transform: translateY(2%) rotate(-1deg); z-index: 2; }
.hand .f3 { width: 25%; margin-right: -3.5%; transform: translateY(9%) rotate(2.5deg); z-index: 1; }
.hand .f4 { width: 21%; transform: translateY(28%) rotate(7deg); }
.studio-stage:hover .hand .f1 { transform: translateY(13%) rotate(-6deg); }
.studio-stage:hover .hand .f4 { transform: translateY(26%) rotate(8.5deg); }
.studio-stage .label {
  position: absolute; left: 50%; top: 26px; transform: translateX(-50%); z-index: 3;
  text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine-soft);
}
.studio-stage .label b { display: block; font-family: var(--serif); font-size: clamp(18px, 1.9vw, 24px); white-space: nowrap; letter-spacing: 0; text-transform: none; font-style: italic; font-weight: 400; color: var(--wine); margin-top: 4px; }
.studio-panel h2 { margin-bottom: 18px; }
.studio-panel .lead { margin-bottom: 30px; }
.ctrl { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.ctrl legend { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; padding: 0; display: flex; gap: 10px; width: 100%; }
.ctrl legend output { color: var(--wine-soft); letter-spacing: .04em; text-transform: none; font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip .dot {
  display: block; width: 34px; height: 44px; border-radius: var(--nail);
  background: var(--c);
  box-shadow: inset -6px 0 8px rgba(0,0,0,.18), inset 5px 0 6px rgba(255,255,255,.25), 0 0 0 1px rgba(58,24,32,.12);
  position: relative; transition: transform .35s var(--ease);
}
.chip .dot::after { content: ""; position: absolute; left: 28%; top: 16%; width: 16%; height: 50%; border-radius: 99px; background: rgba(255,255,255,.55); filter: blur(1px); }
.chip:hover .dot { transform: translateY(-3px); }
.chip input:checked + .dot { transform: translateY(-4px); box-shadow: inset -6px 0 8px rgba(0,0,0,.18), inset 5px 0 6px rgba(255,255,255,.25), 0 0 0 2px var(--paper-2), 0 0 0 3.5px var(--wine); }
.chip input:focus-visible + .dot { outline: 2px solid var(--wine); outline-offset: 5px; }
.chip.skin .dot::after { display: none; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--wine-line); background: var(--paper); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; font-size: 13px; letter-spacing: .04em; text-align: center; transition: background .3s, color .3s; min-height: 48px; justify-content: center; }
.seg span svg { width: 16px; height: 22px; }
.seg label + label span { border-left: 1px solid var(--wine-line); }
.seg input:checked + span { background: var(--wine); color: var(--on-wine); }
.seg input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: -4px; }
.seg label:hover input:not(:checked) + span { background: var(--rose-soft); }
.studio-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 34px; }
.shuffle { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; padding: 0 6px; text-decoration: underline; text-underline-offset: 5px; }
.shuffle svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.shuffle:hover svg { transform: rotate(180deg); }

/* uña de la precarga / confirmación */
[data-nail] .nail-svg { display: block; }
.nail-svg .n-plate { transition: d .7s var(--ease); }
.nail-svg .n-tip, .nail-svg .n-chrome, .nail-svg .n-matte, .nail-svg .n-gloss { transition: opacity .5s var(--ease); }
.nail-svg .n-tip { opacity: 0; }
.nail-svg[data-finish="french"] .n-tip { opacity: 1; }
.nail-svg .n-chrome { opacity: 0; }
.nail-svg[data-finish="chrome"] .n-chrome { opacity: 1; }
.nail-svg .n-matte { opacity: 0; }
.nail-svg[data-finish="matte"] .n-matte { opacity: 1; }
.nail-svg[data-finish="matte"] .n-gloss { opacity: .12; }
.nail-svg .n-base, .nail-svg .n-tip { transition: fill .5s var(--ease), opacity .5s var(--ease); }
.nail-svg .n-gloss-move { transition: transform .5s var(--ease); }

/* ---------- Looks (scroll horizontal) ---------- */
.looks { overflow: hidden; }
.looks-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.looks-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--edge) 12px; scroll-padding-inline: var(--edge); scrollbar-width: none; }
.looks-track::-webkit-scrollbar { display: none; }
.look { flex: none; width: min(78vw, 400px); scroll-snap-align: start; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.look .ph { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--arch); background: var(--rose-soft); }
.look .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.look:hover .ph img { transform: scale(1.14); }
.look .ph picture { display: block; height: 100%; }
.look .num { position: absolute; left: 20px; bottom: 18px; font-family: var(--serif); font-style: italic; font-size: 20px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.look h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 20px 0 12px; }
.look .inks { display: flex; gap: 14px; flex-wrap: wrap; }
.look .ink { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--wine-soft); }
.look .ink i { width: 14px; height: 18px; border-radius: var(--nail); background: var(--c); box-shadow: inset -3px 0 4px rgba(0,0,0,.2), 0 0 0 1px rgba(58,24,32,.12); }
.looks-foot { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.looks-bar { flex: 1; height: 1px; background: var(--wine-line); position: relative; }
.looks-bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--wine); transform: scaleX(var(--p, .2)); transform-origin: left; }
.looks-nav { display: flex; gap: 8px; }
@media (min-width: 1000px) {
  .has-gsap .looks-track { overflow: visible; scroll-snap-type: none; padding-right: 30vw; }
  .has-gsap .looks-nav { display: none; }
  .has-gsap .looks { padding-top: clamp(72px, 9vh, 110px); padding-bottom: 48px; }
  .has-gsap .looks-head { margin-bottom: 36px; }
  .look { width: clamp(260px, calc((100svh - 470px) * .75), 420px); }
}

/* ficha del look (diálogo) */
.look-dialog { border: 0; padding: 0; max-width: min(980px, calc(100vw - 32px)); width: 100%; background: var(--paper-2); color: var(--wine); box-shadow: 0 40px 120px -20px rgba(58,24,32,.55); }
.look-dialog::backdrop { background: rgba(58, 24, 32, .6); backdrop-filter: blur(6px); }
.look-dialog[open] { animation: dlg-in .6s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.look-dialog .inner { display: grid; }
@media (min-width: 760px) { .look-dialog .inner { grid-template-columns: 1fr 1fr; } }
.look-dialog .pics { display: grid; gap: 4px; background: var(--rose-soft); }
.look-dialog .pics img { width: 100%; height: 100%; max-height: 80vh; object-fit: cover; }
.look-dialog .body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.look-dialog h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.look-dialog .ficha { margin: 24px 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 15px; border-top: 1px solid var(--wine-line); padding-top: 20px; }
.look-dialog .ficha dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine-soft); padding-top: 3px; }
.look-dialog .ficha dd { margin: 0; }
.look-dialog .close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border: 0; background: var(--paper-2); cursor: pointer; display: grid; place-items: center; }
.look-dialog .close svg { width: 22px; height: 22px; }
.look-dialog .step-actions { margin-top: auto; padding-top: 24px; }

/* ---------- Cursos teaser ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; } }
.facts { display: flex; flex-wrap: wrap; gap: 32px 48px; margin: 32px 0 40px; }
.facts div { display: flex; flex-direction: column; }
.facts b { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { font-size: 14px; letter-spacing: .06em; color: var(--wine-soft); margin-top: 8px; }
.on-wine .facts span { color: var(--on-wine-soft); }
.courses-teaser .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .courses-teaser .wrap { grid-template-columns: 6fr 5fr; gap: 90px; } }
.courses-teaser .ph { overflow: hidden; border-radius: var(--arch); aspect-ratio: 4 / 5; max-width: 460px; justify-self: end; width: 100%; background: var(--rose-soft); }
.courses-teaser .ph img { width: 100%; height: 118%; object-fit: cover; }
.badge-line { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; border: 1px solid currentColor; padding: 8px 14px; margin-bottom: 26px; }

/* ---------- Sobre Mely ---------- */
.about .wrap { display: grid; gap: 56px; align-items: center; }
.about .photo { position: relative; }
.about .ph { overflow: hidden; border-radius: var(--arch); aspect-ratio: 4 / 5.4; background: var(--rose-soft); }
.about .ph img { width: 100%; height: 118%; object-fit: cover; object-position: center 12%; }
.about .sign { font-family: var(--serif); font-style: italic; font-size: 28px; margin-top: 12px; }
.pillars { list-style: none; padding: 0; margin: 36px 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--wine-line); }
.pillars li { padding-top: 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; line-height: 1.4; }
.pillars li b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; letter-spacing: 0; text-transform: none; margin-bottom: 6px; color: var(--wine-soft); }
@media (min-width: 900px) { .about .wrap { grid-template-columns: 5fr 6fr; gap: 110px; } .about .photo { max-width: 480px; } }

/* frase grande */
.statement { text-align: center; padding: clamp(90px, 12vw, 180px) 0; overflow: hidden; }
.statement p { font-family: var(--serif); text-transform: uppercase; font-size: clamp(40px, 8vw, 120px); line-height: 1; margin: 0; }
.statement p em { display: block; text-transform: none; font-style: italic; font-weight: 400; }
.statement .word { display: inline-block; }

/* ---------- Reseñas ---------- */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.score { display: flex; align-items: flex-end; gap: 20px; }
.score b { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 9vw, 120px); line-height: .85; font-variant-numeric: tabular-nums; }
.score .stars svg { width: 20px; height: 20px; }
.score small { display: block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--wine-soft); margin-top: 8px; }
.reviews { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--edge) 16px; scroll-padding-inline: var(--edge); scrollbar-width: none; cursor: grab; }
.reviews::-webkit-scrollbar { display: none; }
.reviews.dragging { cursor: grabbing; scroll-snap-type: none; }
.reviews.dragging * { user-select: none; pointer-events: none; }
.review { flex: none; width: min(84vw, 380px); scroll-snap-align: start; margin: 0; padding: 36px 30px; background: var(--paper-2); border: 1px solid var(--wine-line); display: flex; flex-direction: column; gap: 22px; transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.review:hover { border-color: var(--wine-soft); transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.review .stars svg { width: 14px; height: 14px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--wine-soft); display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--wine-line); padding-top: 16px; }
.review figcaption b { color: var(--wine); font-weight: 500; }
.carousel-foot { display: flex; align-items: center; gap: 24px; margin-top: 28px; }

/* ---------- Visítanos ---------- */
.visit .wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .visit .wrap { grid-template-columns: 5fr 7fr; gap: 72px; } }
.hours { list-style: none; margin: 0 0 32px; padding: 0; max-width: 400px; }
.hours li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--wine-line); font-size: 16px; }
.hours li.today { font-weight: 600; position: relative; }
.hours li.today::before { content: ""; position: absolute; left: -18px; top: 50%; width: 7px; height: 9px; margin-top: -4px; border-radius: var(--nail); background: var(--wine); }
.address { font-style: normal; font-size: 19px; line-height: 1.6; margin-bottom: 12px; }
.copy-btn { background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--wine-soft); margin-bottom: 20px; }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { color: var(--wine); }
.map { min-height: 380px; border: 1px solid var(--wine-line); background: var(--nude); overflow: hidden; border-radius: 180px 180px var(--radius) var(--radius); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.4) sepia(.15); transition: filter .6s; }
.map:hover iframe { filter: none; }

/* ---------- CTA final ---------- */
.final-cta { text-align: center; overflow: hidden; }
.final-cta h2 { font-size: clamp(48px, 10vw, 150px); }
.final-cta .lead { margin: 28px auto 44px; }
.nail-btn {
  display: inline-grid; place-items: center; text-decoration: none;
  width: 170px; height: 220px; border-radius: var(--nail);
  background: var(--on-wine); color: var(--wine);
  font-size: 14px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: inset -14px 0 24px rgba(58,24,32,.14), inset 12px 0 18px rgba(255,255,255,.6);
  transition: color .5s var(--ease), transform .3s var(--ease);
}
.nail-btn::before { content: ""; position: absolute; z-index: -1; inset: 100% 0 0; background: var(--rose); transition: inset .6s var(--ease); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.nail-btn::after { content: ""; position: absolute; left: 13%; top: 10%; width: 8%; height: 48%; border-radius: 99px; background: rgba(255,255,255,.7); filter: blur(3px); }
.nail-btn:hover::before { inset: -10% 0 0; border-radius: 0; }
.nail-btn span { display: grid; gap: 8px; justify-items: center; position: relative; z-index: 1; }
.nail-btn svg { width: 22px; height: 22px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--bar-h)); z-index: 460; transform: translate(-50%, 30px); opacity: 0; background: var(--wine-ink); color: var(--on-wine); padding: 14px 20px; font-size: 15px; pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease); display: flex; gap: 10px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast::before { content: ""; width: 9px; height: 12px; border-radius: var(--nail); background: var(--rose); }

/* ---------- Página interior ---------- */

.page-hero { padding: clamp(48px, 8vw, 112px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--wine-line); }
.page-hero .lead { margin-top: 24px; }

/* menú de servicios */
.menu-group { display: grid; gap: 24px; padding: 56px 0; border-bottom: 1px solid var(--wine-line); }
.menu-group:last-child { border-bottom: 0; }
@media (min-width: 900px) { .menu-group { grid-template-columns: 4fr 8fr; gap: 64px; } }
.menu-group h2 { font-size: clamp(30px, 4vw, 44px); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--wine-line); }
.menu-item:first-child { border-top: 0; padding-top: 0; }
.menu-item h3 { font-size: 22px; }
.menu-item .price { font-size: 20px; font-weight: 500; text-align: right; }
.menu-item .meta { font-size: 15px; color: var(--wine-soft); }
.menu-item a { grid-column: 2; grid-row: 2; justify-self: end; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; }

.policy { display: grid; gap: 24px; }
@media (min-width: 900px) { .policy { grid-template-columns: repeat(3, 1fr); } }
.policy div { border-top: 1px solid rgba(243,236,232,.3); padding-top: 20px; }
.policy h3 { font-size: 22px; margin-bottom: 8px; }
.policy p { color: var(--on-wine-soft); margin: 0; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--wine-line); }
.faq details:last-child { border-bottom: 1px solid var(--wine-line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-family: var(--serif); font-size: 21px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 28px; font-weight: 300; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--wine-soft); margin: 0; }
.faq .faq-body { overflow: hidden; }
.faq summary { transition: color .3s; }
.faq summary:hover { color: var(--wine-soft); }

/* cursos */
.course { display: grid; gap: 40px; padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--wine-line); }
.course:last-of-type { border-bottom: 0; }
@media (min-width: 900px) { .course { grid-template-columns: 5fr 7fr; gap: 80px; } }
.course .price-big { font-family: var(--serif); font-size: clamp(48px, 6vw, 72px); line-height: 1; font-weight: 500; }
.syllabus { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 0; }
.syllabus li { padding: 16px 0 16px 36px; border-top: 1px solid var(--wine-line); position: relative; }
.syllabus li::before { content: ""; position: absolute; left: 0; top: 21px; width: 15px; height: 20px; border-radius: 50% 50% 4px 4px / 45% 45% 4px 4px;
  background: radial-gradient(40% 70% at 32% 38%, rgba(255,255,255,.75), transparent 60%), linear-gradient(90deg, #b98088, var(--rose) 40%, #c9959b); box-shadow: 0 0 0 1px rgba(102,46,58,.12); }
.steps-inline { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
@media (min-width: 900px) { .steps-inline { grid-template-columns: repeat(3, 1fr); } }
.steps-inline li { border-top: 1px solid rgba(243,236,232,.3); padding-top: 20px; }
.steps-inline li::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--rose); margin-bottom: 8px; }

/* formulario simple */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--wine-line); border-radius: var(--radius);
  background: var(--paper-2); color: var(--wine);
  font: inherit; font-size: 16px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(102,46,58,.12); }
.field .err { font-size: 14px; color: #9B1C31; display: none; }
.field.invalid .err { display: block; }
.field.invalid input { border-color: #9B1C31; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wine); flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: var(--on-wine-soft); padding: 88px 0 40px; font-size: 15px; }
.site-footer .grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .site-footer .grid { grid-template-columns: 5fr 3fr 3fr 3fr; } }
.site-footer .brand { margin-bottom: 18px; }
.site-footer .brand img { height: 84px; }
.site-footer h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; font-weight: 500; color: var(--on-wine); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-wine); text-decoration: underline; }
.site-footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(243,236,232,.15); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; }

/* ============================================================
   Reserva
   ============================================================ */
.booking { padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 8vw, 112px); }
.booking .wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .booking .wrap { grid-template-columns: 8fr 4fr; gap: 56px; } }

.stepper { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepper li { font-size: 13px; letter-spacing: .08em; color: var(--wine-soft); border-top: 3px solid var(--wine-line); padding-top: 10px; }
.stepper li.done { border-top-color: var(--rose); }
.stepper li.current { border-top-color: var(--wine); color: var(--wine); font-weight: 500; }
@media (max-width: 599px) { .stepper li span { display: none; } .stepper li.current span { display: inline; } }

.step h1 { font-size: clamp(36px, 5.4vw, 60px); margin-bottom: 32px; }
.step[hidden] { display: none; }

.svc-group { margin-bottom: 36px; }
.svc-group h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--wine-soft); margin-bottom: 12px; }
.svc-options { display: grid; gap: 10px; }
@media (min-width: 700px) { .svc-options { grid-template-columns: 1fr 1fr; } }
.svc {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
  padding: 18px 20px; border: 1px solid var(--wine-line); background: var(--paper-2);
  cursor: pointer; text-align: left; border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.svc:hover { border-color: var(--wine-soft); }
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc b { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.svc .p { font-weight: 500; }
.svc .d { font-size: 14px; color: var(--wine-soft); grid-column: 1 / -1; }
.svc:has(input:checked) { border-color: var(--wine); background: var(--rose-soft); box-shadow: inset 0 0 0 1px var(--wine); }
.svc:has(input:focus-visible) { outline: 2px solid var(--wine); outline-offset: 2px; }

.days-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.days-head b { font-weight: 500; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--wine-line); border-radius: var(--radius); background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 32px; }
.day {
  min-height: 72px; border: 1px solid var(--wine-line); background: var(--paper-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  cursor: pointer; border-radius: var(--radius);
}
.day small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--wine-soft); }
.day span { font-size: 20px; font-weight: 500; }
.day[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--on-wine); }
.day[aria-pressed="true"] small { color: var(--rose); }
.day[disabled] { opacity: .4; cursor: default; background: transparent; }
.slots-title { font-weight: 500; margin-bottom: 12px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; min-height: 60px; }
.slot { min-height: 52px; border: 1px solid var(--wine-line); background: var(--paper-2); border-radius: var(--radius); cursor: pointer; font-size: 16px; }
.slot:hover { border-color: var(--wine); }
.slot[aria-pressed="true"] { background: var(--wine); color: var(--on-wine); border-color: var(--wine); }
.state-msg { padding: 20px; border: 1px dashed var(--wine-line); color: var(--wine-soft); font-size: 15px; grid-column: 1 / -1; }
.skeleton { min-height: 52px; background: linear-gradient(90deg, var(--rose-soft), var(--paper-2), var(--rose-soft)); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.card-box { border: 1px solid var(--wine-line); background: var(--paper-2); padding: 16px; min-height: 90px; }
.note { font-size: 14px; color: var(--wine-soft); line-height: 1.55; }
.alert { padding: 16px 18px; border: 1px solid #9B1C31; color: #7A1426; background: #FBEDEF; font-size: 15px; }
.alert[hidden] { display: none; }

.step-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; align-items: center; }
.back-link { background: none; border: 0; cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; min-height: 44px; }

.summary { background: var(--paper-2); border: 1px solid var(--wine-line); padding: 28px; position: sticky; top: 108px; }
.summary h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; font-weight: 500; margin-bottom: 16px; color: var(--wine-soft); }
.summary .svc-name { font-family: var(--serif); font-size: 26px; line-height: 1.2; margin-bottom: 20px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; padding: 18px 0; border-top: 1px solid var(--wine-line); border-bottom: 1px solid var(--wine-line); font-size: 16px; }
.summary dt { color: var(--wine-soft); }
.summary dd { margin: 0; text-align: right; }
.summary .note { margin: 16px 0 0; }
@media (max-width: 999px) { .summary { position: static; padding: 18px 20px; } .summary .note { display: none; } .summary .svc-name { font-size: 21px; margin-bottom: 8px; } .summary dl { padding: 12px 0; font-size: 15px; } }

.done-box { text-align: left; }
.done-box .nail-big { width: 96px; height: 150px; overflow: hidden; margin-bottom: 28px; filter: drop-shadow(0 18px 20px rgba(58,24,32,.25)); }
.done-box .nail-big .nail-svg { width: 100%; height: auto; }

.on-rose .eyebrow, .on-rose .facts span { color: var(--wine); }

/* pestañas del menú de servicios (se quedan pegadas al hacer scroll) */
.menu-tabs { position: sticky; top: calc(var(--header-h) - 12px); z-index: 50; background: rgba(243,236,232,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--wine-line); }
.menu-tabs .wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.menu-tabs .wrap::-webkit-scrollbar { display: none; }
.menu-tabs a { position: relative; flex: none; text-decoration: none; padding: 18px 0; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-soft); transition: color .3s; }
.menu-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.menu-tabs a.active { color: var(--wine); }
.menu-tabs a.active::after { transform: scaleX(1); }
.menu-group { scroll-margin-top: calc(var(--header-h) + 70px); }
.menu-item { transition: background .3s; position: relative; }
.menu-item h3 { transition: transform .5s var(--ease); }
.menu-item:hover h3 { transform: translateX(8px); }

/* cursos: foto del kit */
.kit { display: grid; gap: 40px; align-items: center; padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--wine-line); }
.kit .ph { overflow: hidden; border-radius: var(--arch); aspect-ratio: 4 / 5; max-width: 440px; background: var(--rose-soft); }
.kit .ph img { width: 100%; height: 118%; object-fit: cover; }
@media (min-width: 900px) { .kit { grid-template-columns: 5fr 7fr; gap: 80px; } }

/* reserva: tarjetas de servicio y horas con microinteracción */
.svc { transition: border-color .2s, background .3s, transform .3s var(--ease); }
.svc:active { transform: scale(.985); }
.slot, .day { transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.slot:active, .day:active { transform: scale(.95); }
.stepper li { position: relative; border-top-color: var(--wine-line); }
.stepper li::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.stepper li.done::before { background: var(--rose); transform: scaleX(1); }
.stepper li.current::before { transform: scaleX(1); }
.step:not([hidden]) { animation: step-in .7s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .step:not([hidden]) { animation: none; } }

/* uña press‑on (sin dedo) */
.nail-svg.is-bare .n-finger, .nail-svg.is-bare .n-folds { display: none; }

/* móvil: la mano se queda a la vista mientras eliges */
@media (max-width: 999px) {
  .studio .wrap { display: block; }
  .studio-panel { margin-top: 36px; }
  .studio-actions .btn { width: 100%; padding: 0 20px; letter-spacing: .12em; }
  .studio-stage { position: sticky; top: calc(var(--header-h) + 8px); transition: top .6s var(--ease); z-index: 5; aspect-ratio: 1 / .74; box-shadow: 0 24px 40px -28px rgba(58, 24, 32, .45); }
  .hdr-hidden .studio-stage { top: 8px; }
  .studio-stage .label { top: 14px; }
  .studio-stage .label b { font-size: 17px; }
  /* móvil: las cuatro uñas enteras a la vista */
  .hand { width: 86%; margin-bottom: -6%; }
  .hand .f1, .studio-stage:hover .hand .f1 { transform: translateY(8%) rotate(-5deg); }
  .hand .f2 { transform: translateY(0) rotate(-1deg); }
  .hand .f3 { transform: translateY(4%) rotate(2.5deg); }
  .hand .f4, .studio-stage:hover .hand .f4 { transform: translateY(14%) rotate(7deg); }
  .seg span { font-size: 12px; padding: 10px 2px; }
}

/* estudio: aviso de que hay muchos más tonos */
.more-colors { margin: 16px 0 0; padding: 14px 16px; border-left: 2px solid var(--rose); background: rgba(224, 182, 185, .18); font-size: 15px; line-height: 1.5; color: var(--wine-soft); }
.more-colors b { color: var(--wine); font-weight: 500; }
.more-colors a { color: var(--wine); font-weight: 500; text-underline-offset: 4px; white-space: nowrap; }

/* cursos: aprende viendo, practicando, creando */
.learn-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 0; }
.learn-list li { border-top: 1px solid rgba(243,236,232,.22); padding: 32px 0; display: grid; gap: 10px; }
.learn-list h3 { font-size: clamp(34px, 5vw, 64px); text-transform: uppercase; line-height: 1; }
.learn-list h3 em { font-weight: 400; text-transform: none; color: var(--rose); }
.learn-list p { margin: 0; color: var(--on-wine-soft); max-width: 34em; font-size: 18px; }
@media (min-width: 900px) { .learn-list li { grid-template-columns: 7fr 5fr; align-items: end; gap: 40px; } }

/* ---------- Técnica: foto + vídeo del proceso ---------- */
.technique-media { position: relative; max-width: 420px; margin-top: 44px; }
.technique-media .technique-photo { margin-top: 0; }
.technique-video { position: absolute; right: -36px; bottom: -48px; width: 46%; margin: 0; z-index: 2; }
.technique-video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 999px 999px 14px 14px; border: 6px solid var(--wine); background: var(--wine-deep); box-shadow: 0 30px 50px -20px rgba(0,0,0,.5); }
.technique-video figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; letter-spacing: .08em; color: var(--on-wine-soft); }
.technique-video figcaption i { width: 8px; height: 8px; border-radius: 50%; background: #E0485E; animation: pulse-rec 1.6s infinite; flex: none; }
@keyframes pulse-rec { 50% { opacity: .25; } }
@media (max-width: 699px) { .technique-video { right: -6px; width: 44%; } .technique-media { margin-bottom: 60px; } }

/* ---------- Reels ---------- */
.reels { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--edge) 20px; scroll-padding-inline: var(--edge); scrollbar-width: none; cursor: grab; }
.reels::-webkit-scrollbar { display: none; }
.reels.dragging { cursor: grabbing; scroll-snap-type: none; }
.reel { flex: none; width: clamp(190px, 21vw, 270px); margin: 0; scroll-snap-align: start; }
.reel video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 999px 999px 14px 14px; background: var(--rose-soft); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.reel:hover video { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.reel figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 20px; }
@media (min-width: 1000px) { .reel:nth-child(even) { margin-top: 56px; } }

/* tira de fotos en movimiento */
.photo-strip { display: grid; gap: 14px; margin-top: 64px; overflow: hidden; }
.strip-row { display: flex; gap: 14px; width: max-content; animation: strip 70s linear infinite; }
.strip-row:nth-child(2) { animation-direction: reverse; animation-duration: 80s; }
.photo-strip:hover .strip-row { animation-play-state: paused; }
.strip-item { flex: none; display: block; width: clamp(130px, 13vw, 180px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 90px 90px 10px 10px; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip-item:hover img { transform: scale(1.08); }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-row { animation: none; } .photo-strip { overflow-x: auto; } }
.strip-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 44px; }
.strip-cta .muted { margin: 0; }

/* ---------- Galería ---------- */
.gal-filters button { position: relative; flex: none; background: none; border: 0; cursor: pointer; padding: 18px 0; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-soft); transition: color .3s; }
.gal-filters button sup { font-size: 10px; letter-spacing: 0; margin-left: 2px; }
.gal-filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.gal-filters button[aria-pressed="true"] { color: var(--wine); }
.gal-filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.gal { padding-top: 48px; }
.gal .wrap { container-type: inline-size; }
.g-grid { --cols: 2; --gap: 10px; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * 4 / 3); grid-auto-flow: dense; gap: var(--gap); }
@media (min-width: 700px) { .g-grid { --cols: 3; --gap: 14px; } }
@media (min-width: 1100px) { .g-grid { --cols: 4; --gap: 16px; } }
.g-item { position: relative; display: block; margin: 0; padding: 0; border: 0; height: 100%; overflow: hidden; background: var(--rose-soft); cursor: pointer; border-radius: 10px; color: #fff; text-align: left; isolation: isolate; }
.g-item.is-wide { grid-column: span 2; }
.g-item.is-big { grid-column: span 2; grid-row: span 2; border-radius: 999px 999px 12px 12px; }
.g-item picture { position: absolute; inset: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.07); }
.g-grid:hover .g-item:not(:hover) img { filter: saturate(.7) brightness(.9); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 2px; padding: 48px 16px 14px; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.2; background: linear-gradient(to top, rgba(46,18,25,.78), transparent); transform: translateY(14px); opacity: 0; transition: opacity .4s, transform .5s var(--ease); }
.g-cap small { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--rose); }
.g-item.is-big .g-cap { font-size: clamp(22px, 2.4vw, 32px); padding: 70px 24px 22px; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
@media (hover: none) { .g-cap { opacity: 1; transform: none; font-size: 14px; padding: 34px 10px 9px; } .g-cap small { display: none; } .g-item.is-big .g-cap { font-size: 20px; padding: 50px 14px 14px; } }
.gal-cta { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--wine-line); display: grid; gap: 20px; }
.gal-cta .lead { margin: 0; }

/* visor */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(46, 18, 25, .96); color: var(--on-wine); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: lb-in .5s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lb-fig { margin: 0; height: 100dvh; display: grid; grid-template-rows: 1fr auto; justify-items: center; padding: 64px 8px 20px; min-width: 0; }
.lb-img { min-height: 0; display: flex; align-items: center; justify-content: center; width: 100%; }
.lb-img picture { height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.lb-fig figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; padding-top: 18px; text-align: center; }
.lb-fig figcaption b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; }
.lb-count { font-size: 13px; letter-spacing: .2em; color: var(--rose); }
.lb-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lightbox .btn { background: var(--on-wine); color: var(--wine); border-color: var(--on-wine); min-height: 48px; }
.lightbox .btn::before { background: var(--rose); }
.lightbox .btn--ghost { background: transparent; color: var(--on-wine); border-color: var(--on-wine-soft); }
.lightbox .btn--ghost::before { background: var(--on-wine); }
.lightbox .btn--ghost:hover { color: var(--wine); }
.lb-btn { width: 56px; height: 56px; border: 1px solid rgba(243,236,232,.25); background: transparent; color: var(--on-wine); display: grid; place-items: center; cursor: pointer; margin: 0 12px; transition: background .3s, color .3s; }
.lb-btn:hover { background: var(--on-wine); color: var(--wine); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 12px; right: 0; z-index: 2; border: 0; }
@media (max-width: 699px) { .lb-prev, .lb-next { position: absolute; bottom: 20px; margin: 0; z-index: 2; width: 48px; height: 48px; } .lb-prev { left: 12px; } .lb-next { right: 12px; } .lightbox[open] { grid-template-columns: 1fr; } .lb-fig { padding-bottom: 84px; } }

/* ---------- Idioma ---------- */
.lang .globe { width: 16px; height: 16px; margin-right: 2px; color: var(--wine-soft); }
.lang-big { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(243,236,232,.35); margin-bottom: 8px; }
.lang-big button { background: none; border: 0; min-height: 50px; cursor: pointer; font-size: 15px; letter-spacing: .08em; color: var(--on-wine-soft); }
.lang-big button[aria-pressed="true"] { background: var(--on-wine); color: var(--wine); font-weight: 500; }
.lang-hint { position: fixed; left: 16px; bottom: calc(16px + var(--bar-h)); z-index: 470; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 10px 10px 10px 18px; background: var(--paper-2); color: var(--wine); border: 1px solid var(--wine-line); box-shadow: var(--shadow-soft); font-size: 14px; transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.lang-hint.show { transform: none; opacity: 1; }
.lang-hint b { font-weight: 500; }
.lang-hint button { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--wine); background: var(--wine); color: var(--on-wine); cursor: pointer; font-size: 13px; letter-spacing: .06em; }
.lang-hint .x { background: none; color: var(--wine-soft); border: 0; font-size: 22px; padding: 0 6px; min-width: 40px; }

/* ---------- Gift card ---------- */
.gift { background: linear-gradient(180deg, var(--paper), var(--rose-soft)); }
.gift-inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .gift-inner { grid-template-columns: 5fr 6fr; gap: 96px; } }
.gift-card { position: relative; aspect-ratio: 1.6 / 1; max-width: 460px; width: 100%; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, #8A4453 0%, var(--wine) 45%, var(--wine-deep) 100%); box-shadow: 0 40px 70px -30px rgba(58,24,32,.6); display: flex; flex-direction: column; justify-content: space-between; padding: 28px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-3deg); transition: transform .6s var(--ease); }
.gift-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 45%, transparent 60%); }
.gift-card img { width: 46%; height: auto; }
.gift-label { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); }
.gift-nail { position: absolute; right: 26px; top: 22px; width: 54px; transform: rotate(18deg); filter: drop-shadow(0 12px 12px rgba(0,0,0,.3)); }

/* ---------- Reels en abanico ("stories") ---------- */
.reels-sec { overflow: clip; }
.reels-layout { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .reels-layout { grid-template-columns: 5fr 7fr; gap: 40px; } }
.reels-copy .lead { margin-top: 24px; max-width: 26em; }
.reels-now { display: grid; gap: 6px; margin: 34px 0 24px; padding-top: 22px; border-top: 1px solid var(--wine-line); }
.reels-num { font-size: 13px; letter-spacing: .22em; color: var(--wine-soft); font-variant-numeric: tabular-nums; }
.reels-num b { font-weight: 500; color: var(--wine); }
.reels-name { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }
.reels-name i { flex: none; width: 20px; height: 27px; border-radius: var(--nail); background: var(--wine); box-shadow: inset -4px 0 6px rgba(0,0,0,.25), inset 3px 0 4px rgba(255,255,255,.35), 0 0 0 1px rgba(58,24,32,.15); transition: background .6s var(--ease); }
.reels-ctrl { display: flex; gap: 8px; }
.reels-ctrl .icon-btn { width: 52px; height: 52px; transition: background .3s, color .3s, border-color .3s; }
.reels-ctrl .icon-btn:hover { background: var(--wine); color: var(--on-wine); border-color: var(--wine); }
[data-reels-toggle] .i-play, [data-reels-toggle].is-paused .i-pause { display: none; }
[data-reels-toggle].is-paused .i-play { display: block; }

.reels-stage { --cw: clamp(230px, 23vw, 310px); position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px 0 24px; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reels-stage:focus-visible .reels-bars { outline: 2px solid var(--wine); outline-offset: 6px; }
.reels-bars { display: flex; gap: 5px; width: var(--cw); }
.reels-bars span { flex: 1; height: 3px; background: rgba(102, 46, 58, .16); overflow: hidden; border-radius: 3px; }
.reels-bars i { display: block; height: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; }
.reels-deck { position: relative; width: var(--cw); aspect-ratio: 9 / 16; transform: translateX(var(--drag, 0px)); transition: transform .45s var(--ease); }
.reels-deck .reel { position: absolute; inset: 0; width: auto; margin: 0; cursor: pointer; transform-origin: 50% 90%; transition: transform .9s var(--ease), opacity .6s var(--ease); will-change: transform; }
.reels-deck .reel video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 999px 999px 16px 16px; background-color: var(--rose-soft); background-position: center; background-size: cover; box-shadow: 0 30px 50px -28px rgba(58, 24, 32, .45); filter: saturate(.75) brightness(.94); transition: filter .6s, box-shadow .6s; }
.reels-deck .reel:hover video { transform: none; }
.reels-deck .reel.is-active video { filter: none; box-shadow: 0 50px 80px -30px rgba(58, 24, 32, .6); }
/* halo de color del tono activo */
.reels-deck::before { content: ""; position: absolute; left: -20%; right: -20%; bottom: -8%; height: 40%; background: radial-gradient(closest-side, var(--halo, rgba(224,182,185,.55)), transparent); filter: blur(10px); z-index: -1; transition: background .8s; }
/* icono de reproducción cuando está en pausa */
.reels-deck .reel.is-active::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(250,246,243,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23662E3A'%3E%3Cpath d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 28px no-repeat; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.reels-stage.is-paused .reel.is-active::after { opacity: 1; transform: none; }
@media (max-width: 959px) {
  .reels-now { margin-top: 26px; }
  .reels-stage { --cw: min(60vw, 290px); padding-bottom: 8px; }
}
@media (max-width: 520px) { .reels-stage { --cw: 58vw; } }
@media (prefers-reduced-motion: reduce) { .reels-deck .reel { transition: opacity .3s; } }
@media (max-width: 959px) {
  .reels-layout { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .reels-copy > * { align-self: flex-start; }
  .reels-stage { align-self: stretch; }
  .reels-copy { display: contents; }
  .reels-stage { order: 1; margin-top: 32px; }
  .reels-now { order: 2; margin: 8px 0 18px; }
  .reels-ctrl { order: 3; }
}

/* ---------- Diseñador de gift cards ---------- */
.gc { padding-top: 56px; }
.gc-layout { display: grid; gap: 40px; align-items: start; }
/* La tarjeta es una réplica a escala: todo se mide respecto a su ancho (--cw), igual en móvil y en ordenador */
.gc-preview { container-type: inline-size; min-width: 0; }
@media (min-width: 1000px) { .gc-layout { grid-template-columns: 6fr 5fr; gap: 72px; } .gc-preview { position: sticky; top: calc(var(--header-h) + 24px); } }
.gc-card {
  --ink: #F3ECE8; --accent: #E0B6B9;
  position: relative; overflow: hidden; isolation: isolate;
  --cw: min(100cqw, 640px);
  aspect-ratio: 1.6 / 1; width: var(--cw); max-width: 100%; border-radius: calc(var(--cw) * .034);
  padding: calc(var(--cw) * .056); color: var(--ink);
  display: grid; grid-template-rows: auto 1fr auto;
  background: linear-gradient(135deg, #8A4453 0%, #662E3A 55%, #4E222C 100%);
  box-shadow: 0 50px 90px -40px rgba(58, 24, 32, .7), inset 0 1px 0 rgba(255,255,255,.18);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease), background .6s, color .6s;
  container-type: inline-size;
}
.gc-card::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.2) 48%, transparent 60%); background-size: 250% 100%; animation: gc-shine 6s var(--ease-in-out) infinite; }
@keyframes gc-shine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .gc-card::after { animation: none; } }
.gc-card[data-theme="rosa"] { --ink: #4E222C; --accent: #662E3A; background: linear-gradient(135deg, #F6E1E2 0%, #E7C2C5 55%, #C98E96 100%); }
.gc-card[data-theme="nude"] { --ink: #4E222C; --accent: #662E3A; background: linear-gradient(135deg, #F7EEE8 0%, #E3CDBF 55%, #C4A694 100%); }
.gc-card[data-theme="noche"] { --ink: #F3ECE8; --accent: #D9B99B; background: linear-gradient(135deg, #403A47 0%, #2A2430 55%, #16121A 100%); }
.gc-mono { position: absolute; right: 4%; bottom: -22%; z-index: -1; font-family: var(--serif); font-style: italic; font-size: 72cqw; line-height: 1; color: var(--ink); opacity: .09; pointer-events: none; }
.gc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gc-logo { width: 26%; height: auto; }
.gc-label { font-size: 1.9cqw; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.gc-mid { align-self: center; max-width: 74%; }
.gc-for { display: block; font-family: var(--serif); font-style: italic; font-size: 7.2cqw; line-height: 1.05; overflow-wrap: anywhere; }
.gc-for small, .gc-meta small { font-family: var(--sans); font-style: normal; font-size: 1.8cqw; letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-right: .6cqw; vertical-align: middle; }
.gc-msg { margin: 1.25cqw 0 0; font-size: 3.1cqw; line-height: 1.4; opacity: .9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.9cqw; }
.gc-amount { font-family: var(--serif); font-weight: 500; font-size: 12cqw; line-height: .9; }
.gc-amount.is-service { font-size: 4.6cqw; font-style: italic; font-weight: 400; max-width: 60%; line-height: 1.1; }
.gc-meta { display: grid; justify-items: end; gap: .6cqw; font-size: 2.7cqw; text-align: right; }
.gc-meta code { font-size: 2.2cqw; letter-spacing: .12em; color: var(--accent); }
.gc-nail { position: absolute; right: 10%; top: 14%; width: 11%; transform: rotate(18deg); filter: drop-shadow(0 16px 16px rgba(0,0,0,.35)); z-index: 1; }
.gc-nail .nail-svg { width: 100%; height: auto; display: block; }
.gc-note { margin-top: 16px; font-size: 14px; color: var(--wine-soft); text-align: center; max-width: 640px; }

.gc-form { display: grid; gap: 8px; }
.gc-step { border: 0; margin: 0; padding: 26px 0; border-top: 1px solid var(--wine-line); min-width: 0; }
.gc-step[hidden], .gc-summary[hidden] { display: none; }
.gc-step legend { float: left; width: 100%; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 18px; padding: 0; display: flex; align-items: baseline; gap: 12px; }
.gc-step legend .n { font-style: italic; font-size: 16px; color: var(--wine-soft); }
.gc-step > :not(legend) { clear: both; }
.gc-sub { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 4px 0 10px; }
.gc-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-chip { position: relative; cursor: pointer; }
.gc-chip input, .gc-theme input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gc-chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; min-height: 48px; padding: 0 16px; border: 1px solid var(--wine-line); background: var(--paper-2); font-weight: 500; font-size: 16px; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.gc-chip:hover span { border-color: var(--wine); }
.gc-chip input:checked + span { background: var(--wine); color: var(--on-wine); border-color: var(--wine); transform: translateY(-2px); }
.gc-chip input:focus-visible + span, .gc-theme input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 3px; }
.gc-row { margin-top: 14px; max-width: 320px; }
.gc-themes { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.gc-theme { cursor: pointer; display: grid; gap: 6px; justify-items: center; font-size: 13px; }
.gc-theme span { width: 68px; height: 44px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(58,24,32,.15); transition: transform .3s var(--ease), box-shadow .3s; }
.gc-theme input:checked + span { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--wine); }
.gc-ideas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gc-ideas button { border: 1px dashed var(--wine-line); background: transparent; padding: 8px 12px; font-size: 14px; cursor: pointer; color: var(--wine-soft); transition: border-color .25s, color .25s, background .25s; text-align: left; }
.gc-ideas button:hover { border-color: var(--wine); color: var(--wine); background: var(--paper-2); }
.gc-form .field .label output { float: right; letter-spacing: .06em; color: var(--wine-soft); font-weight: 400; }
.gc-form .field.invalid textarea { border-color: #9B1C31; }
.gc-seg { grid-template-columns: 1fr 1fr; margin-bottom: 16px; max-width: 360px; }
.gc-contact { max-width: 420px; margin-bottom: 14px; }
.gc-summary { border-top: 1px solid var(--wine-line); padding-top: 24px; }
.gc-summary > p:first-child { font-size: 17px; margin: 0; }
.gc-summary .step-actions { margin-top: 18px; }
.gc-summary .note { margin-top: 16px; }
.gc-done { padding: 32px 0; border-top: 1px solid var(--wine-line); outline: none; }
.gc-done[hidden] { display: none; }
.gc-done h2 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 18px; }
@media (max-width: 999px) {
  .gc-preview { position: sticky; top: var(--header-h); z-index: 5; transition: top .6s var(--ease); background: var(--paper); margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter) 14px; box-shadow: 0 18px 24px -20px rgba(58,24,32,.35); }
  .hdr-hidden .gc-preview { top: 0; }
  .gc-note { display: none; }
  .gc-card { --cw: min(100cqw, 440px); margin: 0 auto; }
}

/* gift card: pago, vista de quien la recibe y saldo */
.gc-linked { margin: 0 0 8px; padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--wine-line); border-left: 3px solid var(--wine); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; }
.gc-linked[hidden] { display: none; }
.gc-linked .back-link { font-size: 14px; }
body.is-gc-linked .gc-form > .gc-step:first-of-type { display: none; }
.gc-link-btn { margin-top: 14px; }
.gc-balance .lead { margin-top: 14px; max-width: 460px; }
.gc-save { border: 0; padding: 20px var(--gutter) 24px; width: min(560px, 100%); max-width: 100%; max-height: 100dvh; background: var(--paper); color: var(--wine); text-align: center; }
.gc-save::backdrop { background: rgba(30, 12, 16, .6); }
.gc-save img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(58,24,32,.6); -webkit-touch-callout: default; user-select: auto; }
.gc-save p { margin: 16px 0 0; font-size: 15px; color: var(--wine-soft); }
.gc-save .step-actions { justify-content: center; margin-top: 16px; }
.gc-card-box { min-height: 96px; margin: 6px 0 12px; }
.gc-viewer { align-self: center; }
.gc-viewer h2 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 18px; }
.gc-status { font-size: 18px; padding: 16px 18px; background: var(--paper-2); border: 1px solid var(--wine-line); border-left: 3px solid var(--wine); margin: 0 0 24px; }
.gc-status b { font-weight: 600; }
.gc-howto { margin: 0 0 28px; padding-left: 20px; display: grid; gap: 8px; color: var(--wine-soft); }
.gc-balance-inner { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .gc-balance-inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.gc-bal-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.gc-bal-form .btn { min-height: 52px; }
.gc-bal-out { grid-column: 1 / -1; margin: 0; font-size: 17px; min-height: 1.6em; }
@media (max-width: 520px) { .gc-bal-form { grid-template-columns: 1fr; } }

/* ---------- Lista de espera y confirmación ---------- */
.wl { margin-top: 28px; border: 1px solid var(--wine-line); background: var(--paper-2); }
.wl summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 18px; position: relative; font-size: 15px; }
.wl summary::-webkit-details-marker { display: none; }
.wl summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 24px; font-weight: 300; transition: transform .3s var(--ease); }
.wl[open] summary::after { transform: rotate(45deg); }
.wl b { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.wl-form { padding: 0 18px 18px; }
.cf-wrap { max-width: 760px; display: grid; gap: 40px; }
.cf-form .note { margin-top: 10px; }
.cf-results { display: grid; gap: 18px; }
.cf-card { background: var(--paper-2); border: 1px solid var(--wine-line); border-left: 3px solid var(--wine); padding: 26px 26px 20px; }
.cf-card h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.cf-card .lead { margin: 0; font-size: 17px; }
.cf-card .step-actions { margin-top: 20px; }
.cf-msg { margin: 12px 0 0; font-weight: 500; color: var(--wine); }

/* ---------- Nada se sale por los lados (en el móvil la página no se desliza) ---------- */
html { overflow-x: clip; }
.hero, .technique, .courses-teaser, .about, .final-cta, .gift, .reels-sec, .looks { overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
  .hero, .technique, .courses-teaser, .about, .final-cta, .gift, .reels-sec, .looks { overflow-x: hidden; }
}

/* reserva: pagar con gift card */
.bk-pay-seg { grid-template-columns: 1fr 1fr; max-width: 420px; }
.bk-gift-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.bk-gift-row .btn { min-height: 52px; padding: 0 20px; }
#gift-out b { font-weight: 600; }

.hero-gift + .hero-meta { margin-top: 24px; }

/* Portada en el móvil: todo lo importante entra en la primera pantalla */
.m-cue { display: none; }
@media (max-width: 959px) {
  .hero { padding-top: 14px; }
  .hero h1 { margin-bottom: 14px; }
  .hero .lead { margin-bottom: 20px; font-size: 16px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-ctas .btn { min-height: 50px; padding: 6px 8px; font-size: 12px; letter-spacing: .08em; line-height: 1.25; gap: 8px; text-align: center; white-space: normal; }
  .hero-gift { padding: 8px 12px 8px 8px; }
  .hero-gift-txt small { font-size: 12.5px; }
  .hero-ctas .btn svg { display: none; }
  .hero-gift { display: flex; width: 100%; margin-top: 12px; }
  .hero-gift-txt { flex: 1; }
  .hero-gift + .hero-meta { margin-top: 14px; }
  .hero-meta { font-size: 14px; gap: 8px 20px; }
  .m-cue { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px auto 0; width: max-content; padding: 8px 16px 8px 18px; border: 1px solid var(--wine-line); border-radius: 999px; text-decoration: none; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
  .hero-meta .link-arrow { display: none; }
  .hero .eyebrow { margin-bottom: 14px; }
  .m-cue svg { width: 18px; height: 18px; color: var(--wine); animation: m-cue 1.8s var(--ease-in-out) infinite; }
}
@keyframes m-cue { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .m-cue svg { animation: none; } }

/* reserva: tarjeta "te espero" */
.bk-ticket { --ink: #F3ECE8; position: relative; overflow: hidden; margin: 8px 0 28px; max-width: 520px; padding: clamp(22px, 5vw, 36px); border-radius: 22px; color: var(--ink); background: linear-gradient(135deg, #8A4453 0%, #662E3A 55%, #4E222C 100%); box-shadow: 0 40px 80px -40px rgba(58,24,32,.7), inset 0 1px 0 rgba(255,255,255,.18); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.bk-ticket::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 48%, transparent 60%); background-size: 250% 100%; animation: gc-shine 6s var(--ease-in-out) infinite; }
.bk-ticket-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bk-ticket-top img { width: 108px; height: auto; }
.bk-ticket-top span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #E0B6B9; font-weight: 500; }
.bk-ticket-hi { margin: 26px 0 10px; font-family: var(--serif); font-size: clamp(30px, 8vw, 42px); line-height: 1.08; }
.bk-ticket-hi em { font-style: italic; color: #F6D9DC; }
.bk-ticket-msg { margin: 0 0 22px; font-size: 16px; line-height: 1.5; opacity: .92; }
.bk-ticket-info { margin: 0; display: grid; }
.bk-ticket-info div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(243,236,232,.22); }
.bk-ticket-info dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #E0B6B9; padding-top: 3px; }
.bk-ticket-info dd { margin: 0; font-size: 16px; font-weight: 500; }
.bk-ticket-sign { margin: 18px 0 0; text-align: right; font-family: var(--serif); font-style: italic; font-size: 26px; }

/* inscripción a cursos */
.course-book .wrap { grid-template-columns: minmax(0, 760px); }
.cb-h { font-size: clamp(22px, 2.4vw, 28px); margin: 44px 0 16px; padding-top: 24px; border-top: 1px solid var(--wine-line); }
.cb-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 12px; min-height: 60px; }
.cb-date { padding: 12px 14px; text-align: left; font-size: 15px; line-height: 1.35; }
.cb-date b { font-weight: 500; }
.cb-pay { margin: 8px 0 14px; padding: 16px 18px; background: var(--paper-2); border: 1px solid var(--wine-line); border-left: 3px solid var(--wine); font-size: 15px; }
.cb-pay p { margin: 0 0 6px; }
.cb-pay p:last-child { margin: 0; }
.cb-pick { color: var(--wine); font-weight: 500; }
#cb-done-h, #st4 { outline: none; }

/* confirmar: la cita como tarjeta "te espero" */
.cf-ticket { border: 0; padding: 0; background: none; }
.cf-ticket .bk-ticket { margin-bottom: 18px; }
.cf-ticket .cf-state { margin: 0; color: #F6D9DC; font-size: 11px; }
.cf-ticket .cf-state::before { display: none; }
.cf-ticket .bk-ticket-info a { color: inherit; }

/* reservar: los cursos junto a los servicios */
.bk-courses { margin: 36px 0 0; }
.bk-courses a.svc { text-decoration: none; color: inherit; }
.cb-dates { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.cb-date { position: relative; display: grid; gap: 2px; padding: 12px 14px; }
.cb-wd { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.cb-date b { font-size: 17px; }
.cb-n { position: absolute; top: 8px; right: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--on-wine); color: var(--wine); }
#cb-hours b { color: var(--wine); font-weight: 600; }
/* títulos que reciben el foco al cambiar de paso: sin recuadro */
.step h1[tabindex="-1"]:focus, .done-box h1[tabindex="-1"]:focus { outline: none; }

/* ficha del look: se desliza por dentro en el móvil */
.look-dialog { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.look-dialog .close { position: sticky; top: 12px; margin: 12px 12px -56px auto; display: grid; }
@media (max-width: 759px) {
  .look-dialog .pics img { max-height: 40vh; }
  .look-dialog .body { padding-bottom: 0; }
  /* botones siempre a la vista, pegados abajo */
  .look-dialog .step-actions { position: sticky; bottom: 0; z-index: 2; margin: 18px calc(clamp(28px, 4vw, 48px) * -1) 0; padding: 14px clamp(28px, 4vw, 48px) calc(14px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--paper-2); box-shadow: 0 -14px 24px -16px rgba(58,24,32,.35); }
  .look-dialog .step-actions .btn { min-height: 50px; padding: 0 10px; font-size: 12px; letter-spacing: .1em; width: 100%; }
}

/* campo trampa anti-spam: invisible para personas */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* aviso de cookies discreto */
.cookie-note { position: fixed; z-index: 95; left: 16px; bottom: 16px; max-width: 380px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--paper-2); border: 1px solid var(--wine-line); box-shadow: 0 18px 40px -20px rgba(58,24,32,.45); font-size: 13px; line-height: 1.45; color: var(--wine-soft); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease); }
.cookie-note.show { opacity: 1; transform: none; }
.cookie-note p { margin: 0; }
.cookie-note a { color: var(--wine); }
.cookie-note button { flex: none; border: 1px solid var(--wine); background: var(--wine); color: var(--on-wine); padding: 8px 12px; font: 500 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 959px) { .cookie-note { left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: none; } }

/* páginas legales: títulos de documento */
.legal-text h2 { font-size: clamp(20px, 2.4vw, 26px); text-transform: none; margin: 34px 0 10px; line-height: 1.2; }
.legal-text p { line-height: 1.7; }

/* reservar: varios servicios y quién atiende */
.bk-multi { margin: -6px 0 22px; }
.bk-staff-seg { max-width: 560px; }
.bk-staff-seg span { padding: 12px 6px; font-size: 14px; }

/* aviso grande antes de reservar */
.rules-dialog { border: 0; padding: clamp(26px, 5vw, 44px); width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; background: var(--paper-2); color: var(--wine); box-shadow: 0 40px 120px -20px rgba(58,24,32,.6); }
.rules-dialog::backdrop { background: rgba(58,24,32,.65); backdrop-filter: blur(6px); }
.rules-dialog[open] { animation: dlg-in .5s var(--ease); }
.rules-dialog h2 { font-size: clamp(28px, 6vw, 40px); margin: 6px 0 22px; line-height: 1.1; }
.rules-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.rules-list li { display: grid; gap: 4px; padding: 14px 16px; background: var(--paper); border-left: 3px solid var(--wine); }
.rules-list b { font-size: 16px; font-weight: 600; }
.rules-list span { font-size: 15px; line-height: 1.5; color: var(--wine-soft); }
.rules-list li:nth-child(2) { background: #F6E3E5; }
.rules-actions { display: grid; gap: 12px; justify-items: center; }
.rules-actions .btn { width: 100%; min-height: 56px; }
