/* ==========================================================================
   tokens.css — Pru's Hair Salon · modern color-studio system (v2)
   Plum / mauve + warm nude + off-white. Cormorant (display) + Inter (body).
   Color en OKLCH. Tema claro/oscuro por [data-theme] + prefers-color-scheme.
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* --- Paleta base (raw) --- */
  --paper:    oklch(97.6% 0.009 55);   /* off-white cálido */
  --paper-2:  oklch(93.4% 0.017 45);   /* nude claro */
  --white:    oklch(99.4% 0.004 60);

  --plum-900: oklch(27% 0.045 350);    /* casi negro ciruela (tinta) */
  --plum-800: oklch(33% 0.07 350);
  --plum-700: oklch(38% 0.085 350);
  --plum-600: oklch(45% 0.10 350);     /* primary */
  --mauve-500:oklch(60% 0.078 350);    /* malva medio */
  --mauve-300:oklch(78% 0.05 350);

  --nude-400: oklch(84% 0.034 45);
  --nude-300: oklch(88% 0.028 45);
  --rose-500: oklch(72% 0.092 38);     /* rosa/oro rosado (acento) */
  --rose-300: oklch(84% 0.06 40);

  --ink-300:  oklch(78% 0.02 350);
  --amber-300:oklch(84% 0.06 40);

  /* Estados */
  --good: oklch(70% 0.13 155);
  --warn: oklch(80% 0.13 80);
  --bad:  oklch(63% 0.19 25);

  /* --- Tokens semánticos (tema CLARO) --- */
  --bg:          var(--paper);
  --bg-elevated: var(--white);
  --bg-sunken:   var(--paper-2);
  --bg-inverse:  var(--plum-900);

  --text:         var(--plum-900);
  --text-muted:   oklch(50% 0.03 350);
  --text-inverse: var(--paper);

  --border:        oklch(87% 0.016 40);
  --border-strong: oklch(80% 0.022 40);

  --primary:          var(--plum-600);
  --primary-strong:   var(--plum-700);
  --primary-contrast: oklch(98% 0.006 60);
  --primary-tint:     oklch(94% 0.028 350);

  --accent:     var(--rose-500);
  --focus-ring: var(--plum-600);

  /* --- Tipografía --- */
  --font-display: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "Inter", ui-sans-serif, system-ui, sans-serif;

  /* Escala fluida */
  --step--1: clamp(0.82rem, 0.80rem + 0.12vw, 0.90rem);
  --step-0:  clamp(1.00rem, 0.97rem + 0.18vw, 1.12rem);
  --step-1:  clamp(1.18rem, 1.10rem + 0.40vw, 1.50rem);
  --step-2:  clamp(1.50rem, 1.30rem + 0.90vw, 2.10rem);
  --step-3:  clamp(1.90rem, 1.55rem + 1.55vw, 3.00rem);
  --step-4:  clamp(2.35rem, 1.80rem + 2.50vw, 4.10rem);
  --step-5:  clamp(2.80rem, 2.00rem + 3.60vw, 5.40rem);

  --leading-tight: 1.02;
  --leading-snug:  1.2;
  --leading-body:  1.62;

  --tracking-tight: -0.01em;
  --tracking-wide:  0.28em;

  /* --- Espacio --- */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6.5rem;

  /* --- Layout --- */
  --container:       74rem;
  --container-wide:  86rem;
  --container-prose: 42rem;
  --gutter: clamp(1.1rem, 4vw, 2.75rem);

  /* --- Radios --- */
  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* --- Sombras (suaves, cálidas) --- */
  --shadow-sm: 0 1px 2px oklch(30% 0.05 350 / 0.06), 0 1px 1px oklch(30% 0.05 350 / 0.04);
  --shadow:    0 8px 26px oklch(30% 0.05 350 / 0.10), 0 2px 6px oklch(30% 0.05 350 / 0.06);
  --shadow-lg: 0 28px 70px oklch(30% 0.05 350 / 0.16), 0 8px 20px oklch(30% 0.05 350 / 0.08);

  /* --- Motion --- */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --dur-fast: 150ms;
  --dur:      300ms;
  --dur-slow: 640ms;

  --header-h: 4.75rem;
}

/* --- Tema OSCURO (plum-noir) --- */
[data-theme="dark"] {
  --bg:          oklch(21% 0.03 345);
  --bg-elevated: oklch(26% 0.035 345);
  --bg-sunken:   oklch(18% 0.028 345);
  --bg-inverse:  var(--paper);

  --text:         oklch(95% 0.012 60);
  --text-muted:   oklch(74% 0.028 350);
  --text-inverse: var(--plum-900);

  --border:        oklch(36% 0.03 345);
  --border-strong: oklch(46% 0.035 345);

  --primary:          oklch(72% 0.085 350);
  --primary-strong:   oklch(66% 0.09 350);
  --primary-contrast: oklch(20% 0.03 345);
  --primary-tint:     oklch(32% 0.06 350);

  --paper-2: oklch(25% 0.033 345);
  --white:   oklch(26% 0.035 345);

  --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.4);
  --shadow:    0 8px 24px oklch(0% 0 0 / 0.5);
  --shadow-lg: 0 28px 64px oklch(0% 0 0 / 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          oklch(21% 0.03 345);
    --bg-elevated: oklch(26% 0.035 345);
    --bg-sunken:   oklch(18% 0.028 345);
    --bg-inverse:  var(--paper);
    --text:         oklch(95% 0.012 60);
    --text-muted:   oklch(74% 0.028 350);
    --text-inverse: var(--plum-900);
    --border:        oklch(36% 0.03 345);
    --border-strong: oklch(46% 0.035 345);
    --primary:          oklch(72% 0.085 350);
    --primary-strong:   oklch(66% 0.09 350);
    --primary-contrast: oklch(20% 0.03 345);
    --primary-tint:     oklch(32% 0.06 350);
    --paper-2: oklch(25% 0.033 345);
    --white:   oklch(26% 0.035 345);
    --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.4);
    --shadow:    0 8px 24px oklch(0% 0 0 / 0.5);
    --shadow-lg: 0 28px 64px oklch(0% 0 0 / 0.6);
  }
}
/* ==========================================================================
   base.css — Reset moderno + tipografía base + accesibilidad
   ========================================================================== */

/* Reset acotado y predecible */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Compensa el header fijo al saltar a anclas */
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  font-synthesis: none;
  /* Reserva ascendente para evitar CLS al cargar la fuente */
  overflow-x: clip;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }

/* Titulares — equilibrio de líneas (evita huérfanas) */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
p { text-wrap: pretty; }

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

strong { font-weight: 650; }

::selection {
  background: var(--primary);
  color: var(--primary-contrast);
}

/* Foco visible y consistente para teclado (a11y) */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

/* Saltar al contenido (a11y) */
.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -100%;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--bg-inverse);
  color: var(--text-inverse);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus-visible { top: var(--space-md); }

/* Sólo lectores de pantalla */
.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;
}

/* Respeta usuarios que reducen movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Viewport fit — el hero llena la pantalla sin recortar; secciones por contenido.
   Ver references/viewport-fit-system.md. "Caber" nunca significa clipear.
   ========================================================================== */

/* HERO: llena EXACTAMENTE una pantalla bajo el header sticky. El header es position:sticky
   (ocupa --header-h EN EL FLUJO), por eso se RESTA --header-h — NO se suma como padding. Sumarlo
   hace el hero = header + 100svh y se pasa de una pantalla (bug real). Contenido centrado, compacto
   y escalable con la altura. NUNCA height:100vh; NUNCA max-height que recorte el TEXTO. El hero se
   diseña para CABER; si el copy fuera excesivo, el salvavidas JS baja la escala (no crece, no clipea). */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-content: center;
  gap: clamp(0.8rem, 2svh, 1.75rem);
  padding-block: clamp(1rem, 2.4svh, 2.25rem);
  padding-inline: var(--gutter);
}
/* Tope del titular DELIBERADAMENTE bajo (<=3.6rem): en monitores anchos evita el titular gigante
   que se parte en 4 líneas y empuja los CTA fuera de pantalla. Mezcla ancho (vw) + alto (svh). */
.hero__title {
  font-size: clamp(1.9rem, 1.2rem + 2vw + 1.4svh, 3.6rem);
  line-height: 1.05;
  text-wrap: balance;
}
.hero__subtitle { font-size: clamp(1rem, 1.4svh + 0.4vw, 1.3rem); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Salvavidas opcional: si el contenido excede el alto, encoge la escala (no recorta, no crece). */
[data-hero-fit] > * { font-size: calc(1em * var(--hero-scale, 1)); }

/* Media del hero: en móvil (apilada bajo el texto) se limita para que TEXTO+IMAGEN quepan;
   en escritorio (2 col) se limita para no exceder el alto. object-fit:cover evita deformar. */
/* MÓVIL/TABLET: hero de ALTURA DEFINIDA; el texto va compacto y la 2ª columna apilada (imagen)
   toma SOLO el hueco restante bajo el texto (flex-fill). Así el hero nunca se pasa de una pantalla,
   sin importar el largo del copy — si el texto fuera enorme, la imagen se encoge (no desborda). */
@media (max-width: 59.99rem) {
  /* '.hero .hero-grid' (0,2,0) para GANARLE a layout.css '.hero-grid{display:grid}' (0,1,0), que se
     concatena después; si no, el grid seguiría activo y la imagen no tomaría el hueco restante. */
  .hero { display: flex; height: calc(100svh - var(--header-h)); min-height: 0; align-items: stretch; }
  .hero > .container { display: flex; flex-direction: column; min-height: 0; }
  .hero .hero-grid { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; gap: clamp(0.7rem, 2svh, 1.2rem); align-items: stretch; }
  .hero .hero-grid > :first-child { flex: 0 0 auto; }                                   /* texto: alto natural */
  .hero .hero-grid > :last-child:not(:first-child) { flex: 1 1 auto; min-height: 0; overflow: hidden; aspect-ratio: auto; } /* media: el resto */
  /* !important vence cualquier aspect-ratio/height en línea del autor: la imagen SIEMPRE llena el hueco
     restante y recorta con object-fit (centrado), garantizando que el hero quepa en una pantalla. */
  .hero .hero-grid > :last-child:not(:first-child) img { height: 100% !important; width: 100%; max-height: none !important; object-fit: cover; aspect-ratio: auto !important; }
  .hero__title { font-size: clamp(1.65rem, 5.5vw + 0.4rem, 2.5rem); }
  .hero__lead { font-size: 1rem; line-height: 1.45; }
}
/* ESCRITORIO: 2 columnas; la imagen se limita para no exceder el alto de la pantalla. */
@media (min-width: 60rem) {
  .hero-grid img, .hero-grid > figure, .hero-grid > .hero__media { max-height: calc(100svh - var(--header-h) - 4rem); object-fit: cover; }
}

/* Pantallas de POCA ALTURA: compactar por tramos para caber en laptops cortas / ventanas con
   muchas barras. El desborde real ocurrió a 1920x900 (ancha pero baja), no solo en móvil horizontal. */
@media (max-height: 820px) {
  .hero { padding-block: clamp(0.85rem, 1.8svh, 1.4rem); }
  .hero__title { font-size: clamp(1.7rem, 1.05rem + 1.7vw + 1svh, 2.9rem); }
}
@media (max-height: 660px) {
  .hero__title { font-size: clamp(1.5rem, 1rem + 1.5vw, 2.35rem); line-height: 1.06; }
  .hero__subtitle { font-size: 0.98rem; }
}
@media (max-height: 560px) {
  .hero { min-height: auto; align-content: start; padding-block: clamp(0.75rem, 1.5svh, 1.1rem); }
  .hero__title { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }
}

/* SECCIONES: altura por contenido, NUNCA fija. Padding proporcional. */
.section { padding-block: clamp(3rem, 8vw, 6rem); padding-inline: var(--gutter); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }

/* Sección full-screen SOLO para storytelling deliberado (no de contenido). */
.section--fullscreen {
  min-height: 100svh;      /* NO height:100vh */
  display: grid;
  align-content: center;
}
@media (max-height: 560px) { .section--fullscreen { min-height: auto; } }
/* ==========================================================================
   layout.css — Contenedores, secciones y rejillas
   Layout moderno: grid + flex + container queries + logical properties
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide  { max-width: var(--container-wide); }
.container--prose { max-width: var(--container-prose); }

/* Ritmo vertical por sección */
.section {
  padding-block: var(--space-3xl);
}
.section--tight { padding-block: var(--space-2xl); }
.section--sunken { background: var(--bg-sunken); }
.section--ink {
  background: var(--bg-inverse);
  color: var(--text-inverse);
}
.section--ink .eyebrow { color: var(--amber-300); }
.section--ink .text-muted { color: var(--ink-300); }

/* Encabezado de sección */
.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-xl);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* Rejilla auto-fit reutilizable (responsive sin media queries) */
.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

/* Hero: dos columnas que colapsan */
.hero-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-3xl);
  }
}

/* Cluster (fila flexible con wrap) */
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}
.cluster--between { justify-content: space-between; }

/* Stack (columna con gap) */
.stack { display: flex; flex-direction: column; gap: var(--space-md); }
.stack--lg { gap: var(--space-lg); }

/* Divisor con etiqueta de datos */
.rule {
  height: 1px;
  background: var(--border);
  border: 0;
}

/* Contexto de container query para tarjetas */
.cq { container-type: inline-size; }
/* ==========================================================================
   components.css — Pru's Hair Salon (v2) components
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55ch;
  padding: 0.9rem 1.5rem; min-height: 3rem;
  background: var(--primary); color: var(--primary-contrast);
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-weight: 600; font-size: var(--step-0); line-height: 1; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, oklch(100% 0 0 / 0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform var(--dur-slow) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px oklch(45% 0.10 350 / 0.30); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 3.4rem; padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn svg { flex: 0 0 auto; }
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: var(--primary-tint); border-color: var(--primary); color: var(--primary-strong); box-shadow: none; }

/* ---------- Highlight ---------- */
.hl { position: relative; font-style: italic; color: var(--primary-strong); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.06em; height: 0.34em;
  background: linear-gradient(90deg, var(--rose-300), var(--mauve-300));
  opacity: 0.55; border-radius: 3px; z-index: -1;
}
[data-theme="dark"] .hl { color: var(--mauve-300); }

/* ---------- Reveal (orchestrated) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Section heads ---------- */
.sec-head { display: grid; gap: 1rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
@media (min-width: 52rem) { .sec-head { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; } }
.sec-title { font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.01em; }
.sec-lead { color: var(--text-muted); font-size: var(--step-1); max-width: 40ch; }
.eyebrow { display: inline-block; margin-bottom: 0.7rem; }

/* ---------- HERO ---------- */
.hero--salon { position: relative; isolation: isolate; background: var(--bg); }
.hero__wash {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 8%, var(--primary-tint), transparent 70%),
    radial-gradient(50% 50% at 96% 96%, oklch(90% 0.05 40 / 0.6), transparent 72%);
}
[data-theme="dark"] .hero__wash {
  background:
    radial-gradient(60% 55% at 12% 8%, oklch(34% 0.06 350 / 0.7), transparent 70%),
    radial-gradient(50% 50% at 96% 96%, oklch(32% 0.05 20 / 0.6), transparent 72%);
}
.hero__eyebrow { color: var(--mauve-500); }
.hero__title { font-size: clamp(2.1rem, 1.2rem + 2.4vw + 1.6svh, 3.6rem); font-weight: 600; }
.hero__title em { font-style: italic; color: var(--primary-strong); }
[data-theme="dark"] .hero__title em { color: var(--mauve-300); }
.hero__lead { color: var(--text-muted); font-size: clamp(1.02rem, 1.4svh + 0.4vw, 1.28rem); max-width: 42ch; margin-top: 0.4rem; }
.hero__ctas { margin-top: 1.5rem; }
.hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.6rem; padding: 0; }
.hero__meta li { display: inline-flex; align-items: center; gap: 0.5ch; font-size: 0.88rem; font-weight: 500; color: var(--text-muted); }
.hero__meta svg { color: var(--mauve-500); }
.hero__media { position: relative; margin: 0; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 0.9rem; bottom: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.5ch;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-pill);
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border); font-size: 0.8rem; font-weight: 600; color: var(--text);
}
.hero__badge svg { color: var(--primary); }
@media (min-width: 60rem) { .hero__media { transform: rotate(1.2deg); } .hero__media img { aspect-ratio: 4/5; } }
/* Very short landscape phones: drop media + meta so headline + call CTA stay on-screen */
@media (max-height: 440px) and (max-width: 60rem) {
  .hero__media, .hero__meta { display: none; }
  .hero__title { font-size: clamp(1.4rem, 4.2vw, 1.9rem); }
  .hero__lead { font-size: 0.88rem; line-height: 1.35; margin-top: 0.2rem; }
  .hero__ctas { margin-top: 0.8rem; }
  .hero__eyebrow { margin-bottom: 0.35rem; }
}

/* ---------- SERVICES ---------- */
.svc-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.svc {
  position: relative; padding: 1.7rem 1.5rem 1.4rem; border-radius: var(--radius);
  background: var(--bg-elevated); border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  overflow: hidden;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--primary), var(--rose-500)); transition: transform var(--dur) var(--ease-out); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.svc:hover::before { transform: scaleX(1); }
.svc__n { position: absolute; top: 1.2rem; right: 1.3rem; font-size: 0.8rem; font-weight: 600; color: var(--mauve-300); letter-spacing: 0.1em; }
.svc__ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--primary-tint); color: var(--primary-strong); margin-bottom: 1rem; }
.svc__title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.svc__desc { color: var(--text-muted); font-size: 0.98rem; margin-top: 0.5rem; }
.svc__price { display: inline-flex; align-items: center; gap: 0.5ch; margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: var(--primary-strong); letter-spacing: 0.02em; }
.svc__price svg { opacity: 0.8; }
.svc-note { margin-top: 1.6rem; font-size: 0.95rem; color: var(--text-muted); font-style: italic; }

/* ---------- LOOK BOOK (star moment) ---------- */
.lookbook { background: var(--bg-sunken); }
.lookbook__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; }
.lookbook__hint { display: inline-flex; align-items: center; gap: 0.6ch; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.lookbook__arrows { display: inline-flex; }
.lookbook__arrows svg:first-child { animation: nudge 1.6s var(--ease-out) infinite; }
.lookbook__arrows svg:last-child { margin-left: -10px; opacity: 0.45; animation: nudge 1.6s var(--ease-out) infinite 0.2s; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.lookbook__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; padding-block: 0.5rem; }
.lookbook__viewport::-webkit-scrollbar { display: none; }
.lookbook__viewport[data-dragging="true"] { cursor: grabbing; scroll-snap-type: none; }
.lookbook__track { display: flex; gap: 1.1rem; padding-inline: var(--gutter); width: max-content; }
.look { position: relative; margin: 0; flex: 0 0 auto; width: min(80vw, 26rem); scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--plum-900); }
.look img { width: 100%; height: clamp(20rem, 46vh, 30rem); object-fit: cover; transition: transform 0.9s var(--ease-out); }
.look:hover img { transform: scale(1.05); }
.look__idx { position: absolute; top: 0.9rem; left: 1rem; z-index: 2; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: oklch(100% 0 0 / 0.92); text-shadow: 0 1px 6px oklch(0% 0 0 / 0.4); }
.look figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.2rem 1.1rem; display: flex; flex-direction: column; gap: 0.1rem; color: #fff; background: linear-gradient(to top, oklch(20% 0.04 350 / 0.85), transparent); }
.look figcaption b { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.look figcaption span { font-size: 0.85rem; opacity: 0.9; }
.lookbook__bar { height: 3px; border-radius: 3px; background: var(--border); margin-top: 1.4rem; overflow: hidden; }
.lookbook__bar span { display: block; height: 100%; width: 25%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--rose-500)); transition: width 0.15s linear, transform 0.15s linear; }
.lookbook__foot { margin-top: 1rem; font-size: 0.86rem; color: var(--text-muted); max-width: 46rem; }

/* ---------- WHY ---------- */
.why__head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.why__grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.why__item { padding: 1.6rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elevated); }
.why__ic { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--primary-tint); color: var(--primary-strong); margin-bottom: 0.9rem; }
.why__item h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.1; }
.why__item p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.35rem; }

/* ---------- STUDIO (split) ---------- */
.studio__split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 60rem) { .studio__split { grid-template-columns: 1.05fr 0.95fr; } }
.studio__media { position: relative; }
.studio__media > img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 3/2; object-fit: cover; }
.studio__inset { position: absolute; right: -0.8rem; bottom: -1.4rem; width: 46%; max-width: 15rem; border-radius: var(--radius); overflow: hidden; border: 5px solid var(--bg); box-shadow: var(--shadow-lg); }
.studio__inset img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.studio__lead { color: var(--text-muted); font-size: var(--step-1); margin: 1rem 0 1.6rem; max-width: 40ch; }
.studio__body .btn--ghost { margin-top: 0.2rem; }

/* ---------- VISIT ---------- */
.visit__card {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.8rem, 4vw, 3.2rem); border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 100% 0%, oklch(92% 0.04 40 / 0.7), transparent 60%),
    var(--bg-elevated);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
[data-theme="dark"] .visit__card { background: radial-gradient(70% 120% at 100% 0%, oklch(32% 0.05 20 / 0.5), transparent 60%), var(--bg-elevated); }
@media (min-width: 56rem) { .visit__card { grid-template-columns: 1.15fr 0.85fr; } }
.visit__title { font-size: var(--step-4); line-height: 1.02; }
.visit__title em { font-style: italic; color: var(--primary-strong); }
[data-theme="dark"] .visit__title em { color: var(--mauve-300); }
.visit__lead { color: var(--text-muted); font-size: var(--step-1); margin: 0.9rem 0 1.5rem; max-width: 44ch; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.visit__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.visit__facts li { display: grid; gap: 0.2rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); background: var(--bg-sunken); border: 1px solid var(--border); }
.visit__k { display: inline-flex; align-items: center; gap: 0.5ch; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mauve-500); }
.visit__v { font-size: 0.98rem; font-weight: 500; }
.visit__v a { color: var(--primary-strong); text-decoration: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; display: grid; gap: 0.7rem; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); overflow: hidden; transition: border-color var(--dur) var(--ease-out); }
.faq__item[data-open="true"] { border-color: var(--primary); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; text-align: left; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text); }
.faq__chev { flex: 0 0 auto; color: var(--primary); transition: transform var(--dur) var(--ease-out); }
.faq__item[data-open="true"] .faq__chev { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-out); }
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.3rem 1.2rem; color: var(--text-muted); }

/* ---------- STICKY MOBILE CALL ---------- */
.stickycall {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  display: none; align-items: center; justify-content: center; gap: 0.6ch;
  padding: 1rem; border-radius: var(--radius-pill);
  background: var(--primary); color: var(--primary-contrast);
  font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg);
}
@media (max-width: 46rem) { .stickycall { display: flex; } }

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; display: none; flex-direction: column;
  gap: 0.5rem; padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  background: var(--bg); overflow-y: auto;
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; font-weight: 600; text-decoration: none; padding: 0.6rem 0; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-menu a.btn { font-family: var(--font-body); font-size: 1.05rem; border-bottom: 0; margin-top: 1rem; justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--bg-sunken); border-top: 1px solid var(--border); }

/* Full-bleed call band */
.callband {
  background:
    radial-gradient(80% 120% at 15% 0%, var(--plum-700), transparent 60%),
    linear-gradient(120deg, var(--plum-900), var(--plum-600));
  color: #fff;
}
.callband__in { display: grid; gap: 1.4rem; align-items: center; padding-block: clamp(2.4rem, 6vw, 4rem); }
@media (min-width: 52rem) { .callband__in { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.callband__h { font-family: var(--font-display); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.0; font-weight: 600; }
.callband__h em { font-style: italic; color: var(--rose-300); }
.callband__act { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
@media (min-width: 52rem) { .callband__act { align-items: flex-end; text-align: right; } }
.callband__phone {
  display: inline-flex; align-items: center; gap: 0.6ch; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 600; color: #fff;
  padding: 0.5rem 1.3rem; border-radius: var(--radius-pill); border: 1.5px solid oklch(100% 0 0 / 0.4);
  transition: background var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.callband__phone:hover { background: oklch(100% 0 0 / 0.14); transform: translateY(-2px); }
.callband__sub { font-size: 0.9rem; opacity: 0.85; }

/* Footer grid */
.foot__grid { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 40rem) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .foot__grid { grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr; } }
.foot__tag { color: var(--text-muted); font-size: 0.92rem; margin-top: 1rem; max-width: 30ch; }
.foot__col h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.9rem; }
.foot__hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.foot__hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; color: var(--text-muted); border-bottom: 1px dashed var(--border); padding-bottom: 0.4rem; }
.foot__hours b { color: var(--text); font-weight: 600; }
.foot__note { font-size: 0.82rem; color: var(--mauve-500); margin-top: 0.8rem; font-style: italic; }
.foot__nap { font-style: normal; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.foot__nap a { color: var(--primary-strong); text-decoration: none; font-weight: 600; }
.foot__links { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; }
.foot__links a { color: var(--text); text-decoration: none; font-size: 0.9rem; opacity: 0.85; }
.foot__links a:hover { opacity: 1; color: var(--primary-strong); }
.foot__social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.foot__social a { font-size: 0.85rem; padding: 0.35rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius-pill); text-decoration: none; }

/* Lazy map facade */
.mapfacade {
  position: relative; width: 100%; aspect-ratio: 4/3; min-height: 12rem; padding: 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, oklch(92% 0.02 200), oklch(88% 0.03 130));
  display: grid; place-items: center;
}
[data-theme="dark"] .mapfacade { background: linear-gradient(135deg, oklch(30% 0.02 200), oklch(26% 0.02 130)); }
.mapfacade__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 28px 28px; opacity: 0.5; }
.mapfacade__pin { position: relative; color: var(--primary); filter: drop-shadow(0 4px 8px oklch(0% 0 0 / 0.25)); animation: bob 2.4s var(--ease-out) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.mapfacade__label { position: absolute; left: 0.7rem; bottom: 0.7rem; display: inline-flex; align-items: center; gap: 0.4ch; padding: 0.4rem 0.7rem; border-radius: var(--radius-pill); background: color-mix(in oklch, var(--bg) 85%, transparent); font-size: 0.72rem; font-weight: 600; color: var(--text); }
.mapfacade__cta { position: absolute; right: 0.7rem; top: 0.7rem; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); background: var(--primary); color: var(--primary-contrast); font-size: 0.72rem; font-weight: 700; }
.foot__map iframe { width: 100%; aspect-ratio: 4/3; min-height: 12rem; border: 0; border-radius: var(--radius); display: block; }

/* Footer bottom */
.foot__bottom { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center; padding-block: 1.6rem; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); }
.studio-credit { font-size: 0.82rem; color: var(--text-muted); }
.studio-credit__link { color: var(--primary-strong); text-decoration: none; font-weight: 600; }
.studio-credit__link:hover { text-decoration: underline; }
/* ==========================================================================
   utilities.css — Utilidades atómicas (último en la cascada)
   ========================================================================== */

.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-balance { text-wrap: balance; }
.mono         { font-family: var(--font-mono); }

.lead { font-size: var(--step-1); color: var(--text-muted); }

.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }

/* Tag / chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  background: var(--bg-elevated);
}
.tag--accent { color: var(--primary); border-color: color-mix(in oklch, var(--primary) 40%, var(--border)); }

/* Prose (contenido largo legible) */
.prose { max-width: var(--container-prose); }
.prose p { margin-block: var(--space-md); }
.prose h2 { margin-block: var(--space-xl) var(--space-md); }
.prose h3 { margin-block: var(--space-lg) var(--space-sm); }
.prose ul { margin-block: var(--space-md); padding-inline-start: 1.25rem; }
.prose li { margin-block: 0.4rem; }
.prose a { color: var(--primary); }
