/* ==========================================================================
   NACRÉ — Nail Atelier · "Nácar nocturno"
   Índice: 1 Variables · 2 Base · 3 Utilidades y movimiento · 4 Botones ·
   5 Cabecera y menú · 6 Portada · 7 Secciones · 8 Servicios · 9 Diseños ·
   10 Vista ampliada · 11 Estudio · 12 Cita · 13 Preguntas · 14 Contacto ·
   15 Cierre y pie · 16 Movimiento reducido
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------ */
:root {
  --noir: #120A0E;
  --noir-2: #1C1117;
  --noir-3: #2A1922;
  --plum: #24131C;
  --cream: #FBEFEA;
  --muted: #CDB8BE;
  --ink: #1A0D14;
  --rose: #F49AAE;
  --cherry: #D2335A;
  --cherry-deep: #C02550;
  --lilac: #CDB9F2;
  --champ: #E7C99B;
  --mint: #A8E0D2;
  --blush: #F6C9D4;
  --line: rgba(251, 239, 234, 0.12);
  --pearl: linear-gradient(110deg, #F6C9D4 0%, #D9C8F0 30%, #F3DDBF 60%, #F6C9D4 80%, #D9C8F0 100%);
  --deep-grad: linear-gradient(110deg, #C02550 0%, #6B2FA8 45%, #C02550 80%, #6B2FA8 100%);
  --em-grad: var(--pearl);
  --focus: var(--rose);

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --r-xl: clamp(28px, 4vw, 48px);
  --r-l: 28px;
  --r-m: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--noir);
  color: var(--cream);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--rose); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--cream); color: var(--ink);
  padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* 3. Utilidades y movimiento ---------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rose);
}
.eyebrow-num {
  display: inline-grid; place-items: center;
  min-width: 2.4em; height: 2.4em; padding: 0 0.5em;
  border: 1px solid currentColor; border-radius: 999px;
  letter-spacing: 0.02em;
}

.title {
  margin-top: 1rem;
  font: 750 clamp(2.5rem, 6.2vw, 5.6rem)/0.95 var(--font-display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.title em, .hero-title em, .gradient-text {
  font-style: normal;
  padding-right: 0.06em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .title em, .hero-title em, .gradient-text {
    background: var(--em-grad);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sheen 7s linear infinite;
  }
}
@keyframes sheen { to { background-position: -220% 0; } }

.section-aside { color: var(--muted); max-width: 38ch; font-size: 1.05rem; }
.section-aside strong { color: var(--cream); font-weight: 600; }

/* Titulares letra por letra (solo si el script prepara las letras) */
.split-word, .split-em { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; }
.motion [data-chars] .split-char,
.motion [data-chars] .split-em {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.35em) rotate(4deg);
  transition: opacity 0.8s var(--ease), filter 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--ci, 0) * 22ms);
}
.motion [data-chars].is-visible .split-char,
.motion [data-chars].is-visible .split-em {
  opacity: 1; filter: blur(0); transform: none;
}

.motion .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--rd, 0s);
}
.motion .reveal.is-visible { opacity: 1; transform: none; }

/* Revelado circular de imágenes */
.mask-reveal { overflow: hidden; }
.motion .mask-reveal img {
  clip-path: circle(0% at 50% 85%);
  transform: scale(1.18);
  transition: clip-path 1.5s var(--ease), transform 1.8s var(--ease);
}
.motion .mask-reveal.is-visible img { clip-path: circle(150% at 50% 85%); transform: none; }

/* Elementos de la portada al cargar */
.motion .intro { opacity: 0; transform: translateY(22px); }
.motion.is-loaded .intro {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}

/* Destello que sigue al cursor (solo escritorio) */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: 440px; height: 440px; margin: -220px 0 0 -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 154, 174, 0.2), rgba(205, 185, 242, 0.09) 42%, transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.cursor-glow.is-on { opacity: 1; }

/* Imagen que no carga */
.img-fallback {
  display: grid; place-items: center; width: 100%;
  background: repeating-linear-gradient(135deg, var(--noir-3) 0 14px, var(--noir-2) 14px 28px);
  color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: inherit;
}

/* 4. Botones -------------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.6rem;
  border: 0; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.45s var(--ease), translate 0.5s var(--ease), box-shadow 0.45s var(--ease), background-position 0.8s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn .icon { transition: transform 0.45s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(0.96); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn-pearl {
  background: var(--pearl); background-size: 220% 100%;
  color: var(--ink);
  box-shadow: 0 14px 34px -14px rgba(244, 154, 174, 0.7);
}
.btn-pearl:hover { background-position: 100% 0; box-shadow: 0 18px 40px -12px rgba(205, 185, 242, 0.8); }
.btn-ghost {
  background: rgba(251, 239, 234, 0.05);
  color: var(--cream);
  border: 1px solid rgba(251, 239, 234, 0.28);
}
.btn-ghost:hover { border-color: var(--rose); background: rgba(244, 154, 174, 0.12); }
.btn-ghost::after { display: none; }
.btn-dark { background: var(--noir); color: var(--cream); }
.btn-dark:hover { background: #2A1420; }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.95rem; }
.btn-lg { min-height: 64px; padding: 0 2.2rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

.link-btn {
  background: none; border: 0; padding: 0.4rem 0.2rem; cursor: pointer;
  color: var(--rose); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}

.round-btn {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(251, 239, 234, 0.06); border: 1px solid var(--line);
  color: var(--cream); cursor: pointer;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.round-btn:hover { background: var(--cream); color: var(--ink); transform: scale(1.06); }

/* 5. Cabecera y menú ------------------------------------------------------ */
.site-header {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 0 12px;
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.header-pill {
  position: relative; isolation: isolate;
  pointer-events: auto;
  display: flex; align-items: center; gap: 0.5rem;
  width: min(100%, 1120px);
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
}
.header-pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: rgba(28, 17, 23, 0.72);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}
.logo {
  display: inline-flex; align-items: flex-start;
  font: 800 1.6rem/1 var(--font-display); letter-spacing: -0.05em;
  color: var(--cream); text-decoration: none;
  padding: 4px 0;
}
.logo-dot {
  width: 9px; height: 9px; margin: 4px 0 0 3px;
  border-radius: 50%; background: var(--cherry);
  transition: transform 0.5s var(--spring), background 0.3s;
}
.logo:hover .logo-dot { transform: scale(1.6); background: var(--rose); }

.header-cta { margin-left: auto; transition: opacity 0.3s, transform 0.45s var(--ease), translate 0.5s var(--ease); }
.menu-is-open .header-cta { opacity: 0; pointer-events: none; }

.menu-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); color: var(--ink); border: 0; cursor: pointer;
}
.menu-lines { position: relative; width: 18px; height: 10px; }
.menu-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-lines span:first-child { top: 0; }
.menu-lines span:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines span:last-child { top: 4px; transform: rotate(-45deg); }

/* Menú móvil a pantalla completa */
.nav {
  position: fixed; inset: 0; z-index: -2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px 28px 40px;
  background:
    radial-gradient(circle at 85% 15%, rgba(246, 201, 212, 0.35), transparent 45%),
    var(--cherry-deep);
  clip-path: circle(0 at calc(100% - 46px) 40px);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
}
.nav.is-open {
  clip-path: circle(150% at calc(100% - 46px) 40px);
  visibility: visible;
  transition: clip-path 0.8s var(--ease), visibility 0s;
}
.nav-list { list-style: none; display: grid; gap: 0.4rem; }
.nav-list a {
  display: flex; align-items: baseline; gap: 1rem;
  font: 750 clamp(2.4rem, 12vw, 4.4rem)/1.05 var(--font-display); letter-spacing: -0.04em;
  color: var(--cream); text-decoration: none;
}
.nav-num { font: 600 0.9rem/1 var(--font-body); letter-spacing: 0.1em; opacity: 0.75; }
.nav-list li { opacity: 0; transform: translateY(40px); transition: opacity 0.4s, transform 0.4s; }
.nav.is-open .nav-list li {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease) calc(0.18s + var(--i) * 0.07s), transform 0.9s var(--ease) calc(0.18s + var(--i) * 0.07s);
}
.nav-foot {
  margin-top: 2.5rem; color: rgba(251, 239, 234, 0.85);
  font-size: 0.9rem; letter-spacing: 0.06em;
}

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .header-cta { margin-left: 0; }
  .nav {
    position: static; z-index: auto;
    display: block; padding: 0; margin-inline: auto;
    background: none; clip-path: none; visibility: visible; transition: none;
  }
  .nav-list { display: flex; gap: 0.15rem; }
  .nav-list li, .nav.is-open .nav-list li { opacity: 1; transform: none; transition: none; }
  .nav-list a {
    position: relative; overflow: hidden;
    display: block; padding: 0.7rem 1rem; border-radius: 999px;
    font: 500 0.98rem/1.2 var(--font-body); letter-spacing: 0;
    color: var(--muted);
    transition: color 0.3s, background 0.3s;
  }
  .nav-text { display: inline-block; overflow: hidden; vertical-align: top; }
  .nav-text span {
    display: block;
    text-shadow: 0 1.2em 0 var(--rose);
    transition: transform 0.55s var(--ease);
  }
  .nav-list a:hover .nav-text span { transform: translateY(-1.2em); }
  .nav-list a[aria-current="true"] { color: var(--cream); background: rgba(251, 239, 234, 0.08); }
  .nav-num, .nav-foot { display: none; }
}

/* 6. Portada -------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 calc(48px + var(--r-xl));
  background:
    radial-gradient(ellipse 55% 45% at 85% 12%, rgba(210, 51, 90, 0.32), transparent 70%),
    radial-gradient(ellipse 45% 50% at 5% 95%, rgba(205, 185, 242, 0.2), transparent 70%),
    var(--noir);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-glow {
  position: absolute; left: 50%; top: 45%;
  width: min(90vw, 900px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(244, 154, 174, 0.16), rgba(205, 185, 242, 0.14), rgba(231, 201, 155, 0.12), rgba(244, 154, 174, 0.16));
  filter: blur(70px);
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(1turn); } }

.hero-nails { position: absolute; inset: 0; pointer-events: none; }
.hn {
  position: absolute;
  width: var(--w, 120px);
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)), 0) rotate(var(--r, 0deg));
}
.hn img {
  width: 100%;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.55));
  animation: bob var(--bob, 7s) ease-in-out infinite alternate;
}
.hn.is-far img { filter: blur(3px) brightness(0.5) saturate(1.2); }
@keyframes bob {
  from { translate: 0 -10px; rotate: -3deg; }
  to { translate: 0 12px; rotate: 3deg; }
}
.motion .hn { scale: 0.2; opacity: 0; }
.motion.is-loaded .hn {
  scale: 1; opacity: 1;
  transition: scale 1.3s var(--spring) var(--d, 0.5s), opacity 0.6s ease var(--d, 0.5s);
}
.hn-1 { --w: clamp(70px, 12vw, 190px); right: 4%; top: 13%; --bob: 6.5s; }
.hn-2 { --w: clamp(58px, 10vw, 160px); left: 45%; top: 53%; --bob: 8s; }
.hn-3 { --w: clamp(40px, 6.5vw, 110px); right: 6%; top: 52%; --bob: 5.5s; }
.hn-4 { --w: clamp(48px, 8vw, 130px); left: 47%; top: 8%; --bob: 9s; }
.hn-5 { --w: clamp(40px, 6vw, 100px); left: 36%; bottom: 2%; --bob: 7.5s; }
.hn-6 { --w: clamp(36px, 5vw, 86px); right: 25%; top: 10%; --bob: 6s; }
@media (max-width: 899px) {
  .hn-1 { right: -2%; top: 15%; }
  .hn-2 { left: auto; right: 6%; top: auto; bottom: 30%; }
  .hn-3 { right: 30%; top: 62%; display: none; }
  .hn-4 { left: 58%; top: 11%; }
  .hn-5 { left: -3%; bottom: 33%; }
  .hn-6 { right: 34%; top: auto; bottom: 3%; }
}

.hero-inner { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 1rem; border-radius: 999px;
  background: rgba(251, 239, 234, 0.06); border: 1px solid var(--line);
  font-weight: 500; font-size: 0.92rem; color: var(--muted);
}
.pulse-dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--rose);
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid var(--rose);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero-title {
  margin: 0.35em 0 0.4em;
  font: 800 clamp(2.9rem, 10.4vw, 10.2rem)/0.9 var(--font-display);
  letter-spacing: -0.05em;
}
.ht-line { display: block; }
@media (min-width: 900px) {
  .ht-line:nth-child(2) { padding-left: 0.9em; }
}

.hero-foot { display: grid; gap: 1.6rem; align-items: end; }
.hero-lead { max-width: 34ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 0.8rem;
  color: var(--muted); text-decoration: none; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.scroll-cue-track {
  position: relative; width: 26px; height: 42px; border-radius: 999px;
  border: 1.5px solid rgba(251, 239, 234, 0.4);
}
.scroll-cue-track span {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--rose);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { from { transform: translateY(0); opacity: 1; } to { transform: translateY(16px); opacity: 0; } }
@media (min-width: 640px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; }
  .hero-lead { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto auto; gap: 2.5rem; }
  .hero-lead { grid-column: auto; }
}

/* 7. Secciones con borde redondeado que se superponen --------------------- */
.panel-section, .closing {
  position: relative;
  margin-top: calc(-1 * var(--r-xl));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: clamp(84px, 11vw, 160px) 0;
  border-top: 1px solid rgba(251, 239, 234, 0.07);
}
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 3rem;
}
.section-head > div { max-width: 820px; }

/* 8. Servicios ------------------------------------------------------------ */
.services { background: var(--noir-2); padding-bottom: calc(clamp(84px, 11vw, 160px) + var(--r-xl)); }
.bento {
  list-style: none;
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  display: grid; gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}
.svc {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.55rem;
  min-height: 240px;
  padding: 72px 26px 24px;
  border-radius: var(--r-l);
  background: var(--noir-3);
  background: color-mix(in oklab, var(--c) 12%, var(--noir-3));
  border: 1px solid rgba(251, 239, 234, 0.08);
  color: var(--cream);
  transition: color 0.5s var(--ease), transform 0.6s var(--ease), border-color 0.4s;
}
.svc[data-tone="light"] { background: var(--c); color: var(--ink); border-color: transparent; }
.svc[data-tone="deep"] { background: var(--c); color: var(--cream); border-color: transparent; }
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.18), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.svc:hover::before { opacity: 1; }
.svc > :not(.svc-media) { position: relative; z-index: 2; }
.svc-top {
  position: absolute !important; top: 22px; left: 26px; right: 26px;
  display: flex; align-items: center; gap: 0.7rem;
  font: 600 0.85rem/1 var(--font-body); letter-spacing: 0.08em;
}
.svc-nail { width: 16px; height: 24px; fill: var(--c); transition: transform 0.6s var(--spring); }
.svc[data-tone] .svc-nail { fill: currentColor; opacity: 0.85; }
.svc:hover .svc-nail { transform: rotate(-24deg) scale(1.25); }
.svc-name {
  font: 750 clamp(1.7rem, 2.5vw, 2.4rem)/1 var(--font-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.svc-desc { max-width: 36ch; opacity: 0.85; }
.svc-meta { font-weight: 600; font-size: 0.95rem; }
.svc-cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; margin-top: 0.6rem; padding: 0 1.1rem;
  border-radius: 999px; border: 1.5px solid currentColor;
  background: transparent; color: inherit; cursor: pointer;
  font: 600 0.95rem/1 var(--font-body);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.svc-cta .icon { transition: transform 0.4s var(--ease); }
.svc-cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.svc-cta:hover .icon { transform: rotate(-45deg); }

/* Foto del servicio: miniatura en táctil, se revela en círculo con el cursor */
.svc-media {
  position: absolute; z-index: 0;
  top: 18px; right: 18px; width: 74px; height: 74px;
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(251, 239, 234, 0.35);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-a .svc-media, .svc-a .svc-media img { transition: transform 1.2s var(--ease); }
.svc-a { min-height: 380px; padding-top: 90px; }
.svc-a .svc-media { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; }
.svc-a .svc-media::after, .svc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 10, 14, 0.94) 10%, rgba(18, 10, 14, 0.35) 65%, rgba(18, 10, 14, 0.15));
  opacity: 0;
}
.svc-a .svc-media::after { opacity: 1; }
.svc-a .svc-name { font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
.svc-a:hover .svc-media img { transform: scale(1.06); }

@media (hover: hover) and (pointer: fine) {
  .svc:not(.svc-a) .svc-media {
    inset: 0; width: auto; height: auto; border: 0; border-radius: 0;
    clip-path: circle(0 at var(--mx) var(--my));
    transition: clip-path 0.9s var(--ease);
  }
  .svc:not(.svc-a) .svc-media::after { opacity: 1; }
  .svc:not(.svc-a):hover .svc-media { clip-path: circle(140% at var(--mx) var(--my)); }
  .svc:not(.svc-a):hover { color: var(--cream); }
}
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-a { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(250px, auto);
    grid-template-areas: "a a b b" "a a c d" "e e f f";
  }
  .svc:nth-child(1) { grid-area: a; }
  .svc:nth-child(2) { grid-area: b; }
  .svc:nth-child(3) { grid-area: c; }
  .svc:nth-child(4) { grid-area: d; }
  .svc:nth-child(5) { grid-area: e; }
  .svc:nth-child(6) { grid-area: f; }
  .svc-a { grid-column: auto; }
  .svc:nth-child(3) .svc-desc, .svc:nth-child(4) .svc-desc { font-size: 0.95rem; }
}
.motion .svc { opacity: 0; transform: translateY(48px) scale(0.96); }
.motion .svc.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease) calc(var(--i) * 80ms), transform 1s var(--ease) calc(var(--i) * 80ms), color 0.5s var(--ease);
}
.services-note { margin-top: 1.5rem; color: var(--muted); font-size: 0.95rem; }

/* 9. Diseños: galería horizontal ----------------------------------------- */
.designs { background: var(--noir); padding: 0; }
.designs-stage { padding: clamp(84px, 11vw, 150px) 0 calc(clamp(64px, 8vw, 110px) + var(--r-xl)); }
.designs-head { display: grid; gap: 1.2rem; }
.designs-tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2.5rem; }
.designs-tools .section-aside { max-width: 44ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1rem 0 0.75rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(251, 239, 234, 0.04); color: var(--cream);
  font: 600 0.92rem/1 var(--font-body); cursor: pointer;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--spring);
}
.filter:hover { border-color: rgba(251, 239, 234, 0.4); }
.filter-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.filter-count { font-size: 0.78rem; opacity: 0.6; font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.filter.is-pop { animation: pop 0.5s var(--spring); }
@keyframes pop { 40% { transform: scale(0.9); } }

.track-viewport {
  margin-top: clamp(28px, 4vw, 48px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), (100% - var(--max)) / 2);
  padding: 4px max(var(--gutter), (100% - var(--max)) / 2) 8px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.track-viewport::-webkit-scrollbar { display: none; }
.track {
  list-style: none;
  display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 28px);
  width: max-content;
}
.card { flex: none; width: min(74vw, 340px); scroll-snap-align: start; }
.card-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  color: inherit; text-align: left; cursor: pointer; border-radius: 26px;
}
.card-media {
  --cx: 50%; --cy: 50%;
  position: relative; display: block; overflow: hidden;
  aspect-ratio: var(--ar);
  border-radius: 26px;
  background: var(--noir-3);
  transform: skewX(var(--skew, 0deg));
  transition: border-radius 0.6s var(--ease);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-view {
  position: absolute; left: var(--cx); top: var(--cy);
  display: grid; place-items: center;
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%; background: var(--pearl); background-size: 200% 100%;
  color: var(--ink); font: 700 0.9rem/1 var(--font-body);
  transform: scale(0); transition: transform 0.5s var(--spring);
  pointer-events: none;
}
.card-btn:hover .card-media img { transform: scale(1.07); }
.card-btn:hover .card-media { border-radius: 60px 26px 60px 26px; }
@media (hover: hover) and (pointer: fine) {
  .card-btn:hover .card-view { transform: scale(1); }
}
.card-info { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 1rem 0.3rem 0; }
.card-cat {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.card-cat i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.card-name { grid-column: 1; font: 700 1.45rem/1.1 var(--font-display); letter-spacing: -0.03em; }
.card-idx { grid-column: 2; grid-row: 1 / 3; align-self: start; font: 600 0.85rem/1 var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums; }

.card.is-in { animation: card-in 0.9s var(--ease) both; animation-delay: calc(var(--n) * 70ms); }
@keyframes card-in {
  from { opacity: 0; transform: translateX(90px) rotate(5deg); }
}
.track.is-out .card { opacity: 0; transform: translateY(30px) scale(0.94); transition: opacity 0.3s, transform 0.35s var(--ease); }

.designs-foot { display: flex; align-items: center; gap: 1.2rem; margin-top: clamp(20px, 3vw, 32px); }
.track-progress { flex: 1; height: 3px; border-radius: 3px; background: rgba(251, 239, 234, 0.12); overflow: hidden; }
.track-progress span { display: block; height: 100%; background: var(--pearl); transform-origin: 0 50%; transform: scaleX(var(--tp, 0.08)); }
.track-hint { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.gallery-note {
  margin-top: 1rem; color: var(--muted); font-size: 0.88rem;
  display: flex; gap: 0.5rem; align-items: flex-start;
}

/* Modo fijo en escritorio: la galería avanza en horizontal con el scroll */
.is-pinned .designs-stage {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 92px 0 calc(28px + var(--r-xl));
  overflow: hidden; overflow: clip;
}
.is-pinned .designs-head .title { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.is-pinned .track-viewport { overflow: hidden; overflow: clip; scroll-snap-type: none; flex: none; }
.is-pinned .track { will-change: transform; }
.is-pinned .card { width: auto; }
.is-pinned .card-media { height: clamp(240px, 46vh, 520px); width: auto; }
@media (min-width: 700px) {
  .card { width: min(46vw, 360px); }
}

/* 10. Vista ampliada ------------------------------------------------------ */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--cream);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 5, 8, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox[open] .lb-info { animation: lb-info 0.7s var(--ease) both; }
.lightbox[open]::backdrop { animation: fade 0.4s ease both; }
@keyframes fade { from { opacity: 0; } }
@keyframes lb-info { from { opacity: 0; transform: translateY(40px); } }
.lb-inner { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
.lb-stage { display: flex; align-items: center; justify-content: center; padding: 20px 20px 16px; min-height: 0; }
.lb-stage img {
  transform-origin: 0 0;
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 28px; object-fit: contain;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(251, 239, 234, 0.08);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
.lb-stage img.out-left { opacity: 0; transform: translateX(-50px) rotate(-3deg); }
.lb-stage img.out-right { opacity: 0; transform: translateX(50px) rotate(3deg); }
.lb-info {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem;
  padding: 26px 22px calc(22px + env(safe-area-inset-bottom));
  background: var(--noir-2);
  border-radius: 28px 28px 0 0;
  border-top: 1px solid var(--line);
}
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-close {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream); color: var(--ink); border: 0; cursor: pointer;
  transition: transform 0.5s var(--spring);
}
.lb-close:hover { transform: rotate(90deg); }
.lb-cat {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose);
}
.lb-cat::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--rose)); }
.lb-title { font: 750 clamp(1.9rem, 4vw, 3rem)/1 var(--font-display); letter-spacing: -0.04em; padding-right: 56px; }
.lb-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-note { color: var(--muted); font-size: 0.85rem; max-width: 34ch; }
.lb-nav { display: flex; gap: 0.6rem; }
@media (min-width: 900px) {
  .lb-inner { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) 400px; }
  .lb-stage { padding: 48px; }
  .lb-info { justify-content: center; padding: 48px 40px; border-radius: 0; border-top: 0; border-left: 1px solid var(--line); gap: 1rem; }
  .lightbox[open] .lb-info { animation-name: lb-info-side; }
  .lb-close { top: 24px; right: 24px; }
}
@keyframes lb-info-side { from { opacity: 0; transform: translateX(60px); } }
@media (max-width: 899px) and (max-height: 640px) {
  .lb-info { gap: 0.4rem; padding-top: 18px; }
  .lb-title { font-size: 1.6rem; }
}

/* 11. Estudio: tarjetas apiladas ----------------------------------------- */
.studio {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(205, 185, 242, 0.16), transparent 70%),
    linear-gradient(180deg, var(--plum), #190E14);
  padding-bottom: calc(clamp(84px, 11vw, 160px) + var(--r-xl));
}
.studio-grid { display: grid; gap: 2.5rem; }
.studio-lead { margin-top: 1.4rem; color: var(--muted); font-size: 1.1rem; max-width: 40ch; }
.studio-photo { margin-top: 2rem; border-radius: var(--r-l); }
.studio-photo img { width: 100%; border-radius: var(--r-l); }
.stack { list-style: none; display: grid; gap: 22px; }
.stack-card {
  position: sticky; top: calc(96px + var(--i) * 18px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr;
  gap: 1.5rem;
  min-height: clamp(280px, 48vh, 430px);
  padding: clamp(22px, 4vw, 40px);
  border-radius: 32px;
  background: var(--bg); color: var(--ink);
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, 0.7);
}
.stack-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: #0d0609; opacity: var(--shade, 0);
}
.stack-card.is-dark { color: var(--cream); }
.stack-card { overflow: hidden; }
.stack-num { grid-column: 1; grid-row: 1; font: 800 clamp(3.6rem, 9vw, 7.5rem)/0.8 var(--font-display); letter-spacing: -0.07em; }
.stack-icon, .stack-media { grid-column: 2; grid-row: 1; }
.stack-body { grid-column: 1 / -1; grid-row: 2; align-self: end; max-width: 34ch; }
.stack-body h3 { font: 750 clamp(1.8rem, 3.2vw, 2.7rem)/1 var(--font-display); letter-spacing: -0.04em; margin-bottom: 0.7rem; }
.stack-body p { font-size: 1.08rem; line-height: 1.55; }
.stack-icon {
  width: clamp(48px, 7vw, 72px); height: auto;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.9s var(--spring);
}
.stack-card:hover .stack-icon { transform: rotate(-16deg) scale(1.12); }
.stack-media { width: clamp(96px, 22vw, 170px); border-radius: 20px; overflow: hidden; align-self: start; transform: rotate(4deg); transition: transform 0.7s var(--spring); }
.stack-card:hover .stack-media { transform: rotate(-2deg) scale(1.04); }
.stack-media img { width: 100%; }
@media (min-width: 960px) {
  .studio-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .studio-aside { position: sticky; top: 110px; }
  .stack-card { top: calc(110px + var(--i) * 22px); }
}

/* 12. Cita: asistente en 4 pasos ----------------------------------------- */
.booking {
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(210, 51, 90, 0.5), transparent 65%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(205, 185, 242, 0.25), transparent 60%),
    #200B15;
  padding-bottom: calc(clamp(84px, 11vw, 160px) + var(--r-xl));
}
.booking-grid { display: grid; gap: 2.5rem; }
.booking-lead { margin-top: 1.4rem; color: var(--muted); font-size: 1.1rem; max-width: 38ch; }
.booking-honest {
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin-top: 1.4rem; padding: 1rem 1.1rem; max-width: 44ch;
  border-radius: var(--r-m); background: rgba(251, 239, 234, 0.06); border: 1px solid var(--line);
  color: var(--cream); font-size: 0.95rem;
}
.booking-honest .icon { color: var(--rose); margin-top: 2px; }
@media (min-width: 960px) {
  .booking-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .booking-intro { position: sticky; top: 120px; }
}

.wizard-card {
  position: relative;
  padding: clamp(20px, 4vw, 40px);
  border-radius: 32px;
  background: rgba(18, 10, 14, 0.78);
  border: 1px solid rgba(251, 239, 234, 0.12);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}
.wizard-head, .wizard-steps, .wizard-nav { display: none; }
.js .wizard-head { display: flex; align-items: center; gap: 1.2rem; }
.wizard-count { font: 800 2.6rem/1 var(--font-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.wizard-count-total { font-size: 1.1rem; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.wizard-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(251, 239, 234, 0.1); overflow: hidden; }
.wizard-bar span { display: block; height: 100%; border-radius: inherit; background: var(--pearl); transform-origin: 0 50%; transform: scaleX(var(--wp, 0.25)); transition: transform 0.8s var(--ease); }

.js .wizard-steps { display: flex; gap: 6px; list-style: none; margin-top: 1rem; }
.wizard-steps li { flex: 1; min-width: 0; }
.wizard-steps button {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  width: 100%; min-height: 44px; padding: 0 0.5rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer;
  font: 600 0.88rem/1 var(--font-body);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.ws-num {
  display: inline-grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(251, 239, 234, 0.1); font-size: 0.75rem;
}
.ws-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wizard-steps button.is-done { color: var(--cream); border-color: rgba(244, 154, 174, 0.5); }
.wizard-steps button.is-done .ws-num { background: var(--rose); color: var(--ink); }
.wizard-steps button[aria-current="step"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.wizard-steps button[aria-current="step"] .ws-num { background: var(--ink); color: var(--cream); }
@media (max-width: 520px) {
  .wizard-steps button:not([aria-current="step"]) .ws-label { display: none; }
  .wizard-steps li:has(button[aria-current="step"]) { flex: 2.4; }
}

.form-hint { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.panels { margin-top: 0.5rem; }
.step { padding-top: 1.2rem; }
.step + .step { margin-top: 1.5rem; }
.js .step + .step { margin-top: 0; }
.step-title {
  font: 750 clamp(1.6rem, 3vw, 2.3rem)/1.05 var(--font-display); letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
}
.step-title:focus, .step-title:focus-visible { outline: none; }
.step.from-next { animation: step-next 0.6s var(--ease) both; }
.step.from-prev { animation: step-prev 0.6s var(--ease) both; }
@keyframes step-next { from { opacity: 0; transform: translateX(56px); } }
@keyframes step-prev { from { opacity: 0; transform: translateX(-56px); } }

.field { border: 0; padding: 0; margin: 0 0 1.2rem; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 0.5rem; padding: 0; font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field textarea {
  width: 100%; min-height: 54px; padding: 0.8rem 1rem;
  border-radius: 16px; border: 1px solid rgba(251, 239, 234, 0.2);
  background: rgba(251, 239, 234, 0.05); color: var(--cream);
  font-size: 1rem; color-scheme: dark;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(205, 184, 190, 0.7); }
.field input:hover, .field textarea:hover { border-color: rgba(251, 239, 234, 0.35); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); background: rgba(244, 154, 174, 0.08);
  box-shadow: 0 0 0 4px rgba(244, 154, 174, 0.2);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #FF7F98; }
.field-error {
  display: flex; align-items: center; gap: 0.4rem;
  margin-top: 0.5rem; color: #FFA3B5; font-size: 0.9rem; font-weight: 500;
  animation: err-in 0.4s var(--ease);
}
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #FFA3B5; color: var(--ink); font-size: 0.75rem; font-weight: 700; flex: none; }
@keyframes err-in { from { opacity: 0; transform: translateY(-6px); } }
.shake { animation: shake 0.5s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* Opciones de servicio */
.tiles { display: grid; gap: 8px; }
@media (min-width: 520px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: block; cursor: pointer; }
.tile input, .time-tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tile span {
  display: flex; align-items: center; gap: 0.7rem;
  min-height: 60px; padding: 0.7rem 2.6rem 0.7rem 0.9rem;
  border-radius: 18px; border: 1px solid rgba(251, 239, 234, 0.16);
  background: rgba(251, 239, 234, 0.04);
  font-weight: 600; line-height: 1.25;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--spring), color 0.3s;
}
.tile span::before {
  content: ""; flex: none; width: 14px; height: 22px;
  border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%;
  background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.tile span::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; border: 1.5px solid rgba(251, 239, 234, 0.35);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--spring);
}
.tile:hover span { border-color: rgba(251, 239, 234, 0.4); }
.tile input:checked + span { background: rgba(244, 154, 174, 0.14); border-color: var(--rose); transform: scale(1.015); }
.tile input:checked + span::after {
  background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231A0D14' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--rose); transform: scale(1.1);
}
.tile input:focus-visible + span, .time-tile input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.time-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.time-tile { position: relative; cursor: pointer; }
.time-tile span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 92px; padding: 0.7rem 0.4rem; text-align: center;
  border-radius: 18px; border: 1px solid rgba(251, 239, 234, 0.16); background: rgba(251, 239, 234, 0.04);
  font-weight: 600; font-size: 0.9rem; line-height: 1.2;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--spring), color 0.3s;
}
.time-tile .icon { width: 26px; height: 26px; color: var(--rose); transition: transform 0.6s var(--spring); }
.time-tile:hover span { border-color: rgba(251, 239, 234, 0.4); }
.time-tile input:checked + span { background: var(--cream); color: var(--ink); border-color: var(--cream); transform: translateY(-3px); }
.time-tile input:checked + span .icon { color: var(--cherry-deep); transform: rotate(30deg) scale(1.15); }

.quick-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0.7rem; }
.quick-date {
  min-height: 40px; padding: 0 0.95rem; border-radius: 999px;
  border: 1px dashed rgba(251, 239, 234, 0.35); background: transparent; color: var(--cream);
  font-weight: 600; font-size: 0.88rem; cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.quick-date:hover { border-style: solid; border-color: var(--rose); }
.quick-date[aria-pressed="true"] { background: var(--rose); color: var(--ink); border: 1px solid var(--rose); }

.selected-design {
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1.2rem; padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  border-radius: 20px; background: rgba(205, 185, 242, 0.12); border: 1px solid rgba(205, 185, 242, 0.4);
}
.selected-design img { width: 56px; height: 70px; object-fit: cover; border-radius: 12px; }
.selected-design > div { flex: 1; min-width: 0; }
.selected-design-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lilac); }
.selected-design.is-new { animation: chip-in 0.7s var(--spring); }
@keyframes chip-in { from { transform: scale(0.85) rotate(-2deg); opacity: 0; } }

.review { display: grid; gap: 2px; margin-bottom: 1.4rem; border-radius: 20px; overflow: hidden; }
.review > div {
  display: grid; gap: 0.15rem;
  padding: 0.85rem 1rem; background: rgba(251, 239, 234, 0.05);
  animation: row-in 0.6s var(--ease) both; animation-delay: calc(var(--i) * 60ms);
}
@keyframes row-in { from { opacity: 0; transform: translateY(12px); } }
.review dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.review dd { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; }
.review dd span { min-width: 0; overflow-wrap: anywhere; }
.review .link-btn { flex: none; font-size: 0.9rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { margin-top: 0.4rem; }
.btn-spinner {
  display: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(26, 13, 20, 0.25); border-top-color: var(--ink);
  animation: spin-s 0.8s linear infinite;
}
@keyframes spin-s { to { transform: rotate(1turn); } }
.btn-submit.is-loading .btn-spinner { display: inline-block; }
.btn-submit.is-loading { pointer-events: none; }
.form-note { margin-top: 0.9rem; color: var(--muted); font-size: 0.88rem; }
.form-status {
  margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 16px;
  background: rgba(255, 127, 152, 0.12); border: 1px solid rgba(255, 127, 152, 0.5);
}
.form-status strong { display: block; }

.js .wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }

/* Resultado */
.result { text-align: center; padding: 1rem 0; }
.result:focus { outline: none; }
.polish {
  position: relative; width: 112px; height: 112px; margin: 0 auto 1.4rem;
  border-radius: 50%; overflow: hidden;
  background: rgba(251, 239, 234, 0.08); box-shadow: inset 0 0 0 2px rgba(251, 239, 234, 0.2);
}
.polish-fill {
  position: absolute; left: -50%; width: 200%; height: 200%; top: 100%;
  border-radius: 42%;
  background: var(--pearl);
  animation: polish-rise 1.6s var(--ease) 0.15s forwards, polish-wave 4s linear infinite;
}
.polish.is-preview .polish-fill { background: linear-gradient(135deg, var(--lilac), var(--champ)); }
@keyframes polish-rise { to { top: 8%; } }
@keyframes polish-wave { to { rotate: 1turn; } }
.polish svg {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px;
  fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.polish .draw { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.7s var(--ease) 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.result-badge {
  display: inline-block; margin-bottom: 0.8rem; padding: 0.4rem 0.9rem; border-radius: 999px;
  background: var(--lilac); color: var(--ink); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.result-title { font: 750 clamp(1.8rem, 3.4vw, 2.6rem)/1.05 var(--font-display); letter-spacing: -0.04em; }
.result-text { margin: 0.9rem auto 1.4rem; max-width: 46ch; color: var(--muted); }
.result .review { text-align: left; }
.result .btn { margin-top: 0.4rem; }

/* 13. Preguntas frecuentes (chat) ---------------------------------------- */
.faq {
  --em-grad: var(--deep-grad);
  --focus: #5B1030;
  background: var(--lilac); color: var(--ink);
  border-top-color: transparent;
  padding-bottom: calc(clamp(84px, 11vw, 160px) + var(--r-xl));
}
.faq .eyebrow { color: #5E1F45; }
.faq-lead { margin-top: 1.2rem; font-size: 1.1rem; max-width: 34ch; color: #3A2233; }
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: center; } }
.chat {
  --focus: var(--rose);
  padding: clamp(16px, 3vw, 26px);
  border-radius: 32px;
  background: var(--noir); color: var(--cream);
  box-shadow: 0 50px 90px -40px rgba(58, 20, 70, 0.75);
}
.chat-top { display: flex; align-items: center; gap: 0.8rem; padding: 0.3rem 0.4rem 1rem; border-bottom: 1px solid var(--line); }
.chat-avatar {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pearl); color: var(--ink); font: 800 1.4rem/1 var(--font-display);
}
.chat-who { display: grid; line-height: 1.25; }
.chat-who span { font-size: 0.85rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.chat-who span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.chat-log {
  display: flex; flex-direction: column; gap: 10px;
  height: clamp(230px, 36vh, 340px); overflow-y: auto;
  padding: 1.1rem 0.3rem; scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.chat-log:focus-visible { outline-offset: -3px; }
.bubble {
  max-width: 86%; padding: 0.75rem 1rem; border-radius: 20px; line-height: 1.5;
  animation: bubble-in 0.55s var(--spring) both;
}
.bubble-studio { align-self: flex-start; background: var(--noir-3); border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.bubble-user { align-self: flex-end; background: var(--pearl); color: var(--ink); border-bottom-right-radius: 6px; font-weight: 600; transform-origin: 100% 100%; }
.bubble.is-flash { animation: flash 1s var(--ease); }
@keyframes bubble-in { from { opacity: 0; transform: scale(0.6) translateY(14px); } }
@keyframes flash { 30% { box-shadow: 0 0 0 3px var(--rose); } }
.typing { display: inline-flex; gap: 5px; align-items: center; padding: 1rem 1.1rem; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 50% { transform: translateY(-5px); opacity: 0.5; } }
.chat-questions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 1rem; border-top: 1px solid var(--line); }
.chat-q {
  min-height: 44px; padding: 0.55rem 1rem; border-radius: 999px; text-align: left;
  border: 1px solid rgba(251, 239, 234, 0.25); background: rgba(251, 239, 234, 0.04);
  color: var(--cream); font-weight: 600; font-size: 0.92rem; line-height: 1.3; cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--spring), color 0.3s;
}
.chat-q:hover { border-color: var(--rose); background: rgba(244, 154, 174, 0.12); transform: translateY(-2px); }
.chat-q.is-asked { color: var(--muted); border-style: dashed; }
.chat-q.is-asked::before { content: "✓ "; color: var(--mint); }
.chat-noscript { padding: 1rem 0.4rem; color: var(--muted); }

/* 14. Contacto: boleto ---------------------------------------------------- */
.contact {
  --em-grad: var(--deep-grad);
  --focus: #5B1030;
  background: var(--blush); color: var(--ink);
  border-top-color: transparent;
  padding-bottom: calc(clamp(84px, 11vw, 160px) + var(--r-xl));
}
.contact .eyebrow { color: #7A1236; }
.ticket {
  --notch: 22px;
  position: relative;
  display: grid;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-radius: 32px;
  background: var(--noir); color: var(--cream);
  box-shadow: 0 40px 80px -40px rgba(122, 18, 54, 0.6);
  --focus: var(--rose);
}
.ticket-main {
  display: grid; gap: 1.6rem;
  padding: clamp(24px, 4vw, 44px);
}
.contact-item { position: relative; display: grid; gap: 0.2rem; align-content: start; min-height: 48px; padding-left: 64px; }
.contact-icon {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(251, 239, 234, 0.08); color: var(--rose);
  transition: transform 0.6s var(--spring), background 0.3s, color 0.3s;
}
.contact-item:hover .contact-icon { transform: rotate(-12deg) scale(1.08); background: var(--rose); color: var(--ink); }
.contact-item dt { padding-top: 2px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.contact-item dd { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-item dd.pending { color: var(--muted); font-weight: 500; font-style: italic; }
.contact-link {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.2rem;
  color: var(--rose); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.contact-link:hover { background-size: 100% 1.5px; }
.contact-link .icon { width: 1em; height: 1em; }
.ticket-stub {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.6rem;
  padding: clamp(24px, 4vw, 40px);
  border-top: 2px dashed rgba(26, 13, 20, 0.35);
  border-radius: 0 0 32px 32px;
  background: var(--pearl); background-size: 200% 100%;
  color: var(--ink);
  transition: background-position 1.2s var(--ease);
}
.ticket:hover .ticket-stub { background-position: 100% 0; }
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; top: calc(-1 * var(--notch) - 1px); width: calc(2 * var(--notch)); height: calc(2 * var(--notch));
  border-radius: 50%; background: var(--blush);
}
.ticket-stub::before { left: calc(-1 * var(--notch)); }
.ticket-stub::after { right: calc(-1 * var(--notch)); }
.stub-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.stub-big { font: 800 clamp(3rem, 6vw, 4.6rem)/0.85 var(--font-display); letter-spacing: -0.06em; }
.stub-text { max-width: 26ch; margin-bottom: 0.6rem; }
@media (min-width: 700px) {
  .ticket-main { grid-template-columns: 1fr 1fr; gap: 2rem 2.4rem; }
}
@media (min-width: 960px) {
  .ticket { grid-template-columns: minmax(0, 1fr) 330px; }
  .ticket-stub { border-top: 0; border-left: 2px dashed rgba(26, 13, 20, 0.35); border-radius: 0 32px 32px 0; }
  .ticket-stub::before, .ticket-stub::after { top: auto; left: calc(-1 * var(--notch) - 1px); right: auto; }
  .ticket-stub::before { top: calc(-1 * var(--notch)); }
  .ticket-stub::after { bottom: calc(-1 * var(--notch)); }
  .ticket:hover .ticket-stub { transform: rotate(1.5deg) translateX(6px); }
  .ticket-stub { transform-origin: 0 100%; transition: background-position 1.2s var(--ease), transform 0.8s var(--spring); }
}

/* 15. Cierre y pie -------------------------------------------------------- */
.closing { --cp: 1; background: var(--noir); padding-bottom: clamp(90px, 12vw, 170px); overflow: hidden; }
.closing .wrap { position: relative; z-index: 1; }
.closing-nails { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; pointer-events: none; }
.closing-nails img {
  position: absolute; width: clamp(70px, 11vw, 170px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}
.closing-nails img:first-child { right: 30%; top: 22%; transform: translateY(calc((1 - var(--cp)) * 120px)) rotate(calc(-40deg + var(--cp) * 22deg)); }
.closing-nails img:last-child { right: 8%; top: 38%; transform: translateY(calc((1 - var(--cp)) * 220px)) rotate(calc(46deg - var(--cp) * 30deg)); }
@media (max-width: 899px) {
  .closing-nails { width: 70%; opacity: 0.6; }
  .closing-nails img:first-child { right: 34%; top: auto; bottom: 4%; }
  .closing-nails img:last-child { right: 4%; top: auto; bottom: 10%; }
}
.fill-text {
  max-width: 13ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font: 800 clamp(3rem, 9.4vw, 9rem)/0.92 var(--font-display);
  letter-spacing: -0.05em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .fill-text span {
    --p: 1;
    background-image: linear-gradient(100deg, #F6C9D4, #D9C8F0, #F3DDBF, #F49AAE), linear-gradient(rgba(251, 239, 234, 0.13), rgba(251, 239, 234, 0.13));
    background-size: calc(var(--p) * 100%) 100%, 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .motion .fill-text span { --p: 0; }
}

.site-footer { background: var(--noir); overflow: hidden; border-top: 1px solid var(--line); padding-top: 40px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; }
.footer-nav a {
  display: inline-block; padding: 0.5rem 0; color: var(--muted); text-decoration: none; font-weight: 500;
  background: linear-gradient(var(--rose), var(--rose)) 0 85% / 0 1.5px no-repeat;
  transition: color 0.3s, background-size 0.4s var(--ease);
}
.footer-nav a:hover { color: var(--cream); background-size: 100% 1.5px; }
.footer-copy { color: var(--muted); font-size: 0.9rem; }
.footer-word {
  display: block; margin: 1.5rem 0 -0.18em; text-align: center; text-decoration: none;
  font: 800 clamp(6rem, 30vw, 29rem)/0.9 var(--font-display); letter-spacing: -0.07em;
  color: var(--rose);
}
.fw-l {
  display: inline-block;
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i) * 60ms);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .fw-l, .footer-word:not(.is-split) {
    background: var(--pearl); background-size: 500% 100%;
    background-position: calc(var(--i, 0) * 25%) 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.motion .footer-word .fw-l { transform: translateY(55%); }
.motion .footer-word.is-visible .fw-l { transform: none; }
.motion .footer-word.is-visible:hover .fw-l { transform: translateY(-8%); transition-duration: 0.5s; transition-delay: calc(var(--i) * 40ms); }

/* 16. Movimiento reducido ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero-glow { animation: none; }
  .cursor-glow { display: none; }
}
