/* ==========================================================================
   GARRITA · Nail studio by Zara
   Hoja de estilos principal — Vanilla CSS, mobile-first
   ========================================================================== */

/* ---------- Tipografías (auto-alojadas: sin peticiones a Google, RGPD-friendly) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-latin-full-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-latin-full-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens de diseño ---------- */
:root {
  /* Paleta obligatoria */
  --color-1: #EEE2F4;
  --color-2: #EBDAF3;
  --color-3: #DFCEE9;
  --color-4: #DEC2EC;
  --color-5: #D5A7E3;

  /* Neutros derivados (necesarios para que el texto sea legible sobre los pasteles) */
  --ink: #3A2744;        /* texto principal / contraste fuerte */
  --ink-soft: #66506F;   /* texto secundario (≥ 5:1 sobre --color-1) */
  --surface: #FCF8FD;    /* blanco lila, superficie de tarjetas */
  --line: rgba(58, 39, 68, 0.12);
  --danger: #A3324F;
  --success: #3F7A5A;

  /* Tipografía */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-300: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --fs-400: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-500: clamp(1.12rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-600: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --fs-700: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --fs-hero: clamp(3.6rem, 1.8rem + 9vw, 8.6rem);

  /* Espaciado y forma */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px -2px rgba(58, 39, 68, 0.1);
  --shadow: 0 18px 40px -18px rgba(58, 39, 68, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(58, 39, 68, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--color-5); color: var(--ink); }

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--color-1);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), 1180px);
  margin-inline: auto;
}
.section { padding-block: var(--space-section); position: relative; }
.section__head { max-width: 640px; margin: 0 auto 3.25rem; text-align: center; }
.section__title { font-size: var(--fs-700); margin-bottom: 1rem; }
.section__title em,
.hero__subtitle em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  background: linear-gradient(transparent 62%, var(--color-4) 62%, var(--color-4) 92%, transparent 92%);
  padding-inline: 0.08em;
}
.lead { font-size: var(--fs-500); color: var(--ink-soft); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; border-radius: 2px;
  background: var(--color-5);
}
.section__head .eyebrow::after {
  content: ''; width: 28px; height: 2px; border-radius: 2px;
  background: var(--color-5);
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--color-2);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.35s var(--ease), border-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--color-1); box-shadow: 0 10px 24px -12px rgba(58, 39, 68, 0.6); }
.btn--primary:hover { --btn-bg: var(--color-5); --btn-fg: var(--ink); box-shadow: 0 16px 30px -14px rgba(58, 39, 68, 0.55); }
.btn--soft { --btn-bg: var(--color-4); }
.btn--soft:hover { --btn-bg: var(--color-5); }
.btn--ghost { --btn-bg: transparent; border-color: rgba(58, 39, 68, 0.35); }
.btn--ghost:hover { --btn-bg: var(--surface); border-color: var(--ink); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.92rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.88rem; font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled {
  background: rgba(252, 248, 253, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand__name {
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
}

.nav__toggle {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--color-2);
  position: relative; z-index: 2;
}
.nav__burger, .nav__burger::before, .nav__burger::after {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav__burger { position: relative; }
.nav__burger::before, .nav__burger::after { content: ''; position: absolute; left: 0; }
.nav__burger::before { top: -6px; }
.nav__burger::after { top: 6px; }
.nav__toggle[aria-expanded='true'] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded='true'] .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }

/* Menú móvil: panel a pantalla completa */
.nav__menu {
  position: fixed; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  background: linear-gradient(160deg, var(--color-1), var(--color-4));
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__links { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.nav__links a {
  font-family: var(--font-display);
  font-size: 2rem;
  text-decoration: none;
}
body.nav-open { overflow: hidden; }

@media (min-width: 860px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; flex-direction: row; gap: 2rem;
    background: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav__links { flex-direction: row; gap: 2rem; }
  .nav__links a {
    font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 600;
    position: relative; padding-block: 0.3rem;
  }
  .nav__links a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; border-radius: 2px; background: var(--color-5);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.35s var(--ease);
  }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  background:
    radial-gradient(120% 80% at 100% 0%, var(--color-4) 0%, transparent 55%),
    linear-gradient(180deg, var(--color-1) 0%, var(--color-2) 60%, var(--surface) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero__blob {
  position: absolute; z-index: -1;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.75;
}
.hero__blob--a {
  width: 42vmax; height: 42vmax;
  left: -16vmax; top: -12vmax;
  background: radial-gradient(circle at 30% 30%, var(--color-3), var(--color-4) 70%);
}
.hero__blob--b {
  width: 18vmax; height: 18vmax;
  right: 8%; bottom: 6%;
  background: radial-gradient(circle, var(--color-5), transparent 70%);
  opacity: 0.45;
}
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 0.92;
  margin-bottom: 1.5rem;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 45%, #7C5A8C 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: var(--fs-500);
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 2.25rem;
}
.hero__subtitle em { color: var(--ink); font-family: var(--font-display); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.25rem; }
.hero__perks {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  font-size: var(--fs-300); font-weight: 600; color: var(--ink-soft);
}
.hero__perks li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__perks li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-5);
  box-shadow: 0 0 0 3px var(--color-3);
}

.hero__art {
  position: relative;
  justify-self: center;
  width: min(78vw, 460px);
  aspect-ratio: 1;
}
.hero__disc {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, var(--color-1) 35%, var(--color-3) 75%, var(--color-4) 100%);
  box-shadow: var(--shadow-lg), inset 0 -18px 40px rgba(213, 167, 227, 0.45);
  display: grid; place-items: center;
}
.hero__disc::before {
  content: ''; position: absolute; inset: -18px;
  border-radius: 50%;
  border: 1.5px dashed var(--color-5);
  animation: spin 60s linear infinite;
}
.hero__logo {
  width: 74%;
  filter: drop-shadow(0 24px 30px rgba(58, 39, 68, 0.2));
  animation: float 6s ease-in-out infinite;
}
.chip--float { position: absolute; animation: float 7s ease-in-out infinite; }
.chip--1 { top: 8%; left: -6%; }
.chip--2 { top: 46%; right: -8%; animation-delay: -2s; background: var(--color-5); }
.chip--3 { bottom: 4%; left: 6%; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero__art { justify-self: end; }
}

/* ---------- Sobre Zara ---------- */
.about { background: var(--surface); }
.about__grid { display: grid; gap: 3rem; align-items: center; }
.about__quote {
  position: relative;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(100% 100% at 0% 0%, var(--color-1), transparent 60%),
    linear-gradient(145deg, var(--color-3), var(--color-5));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about__quote::after {
  content: ''; position: absolute; right: -60px; bottom: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--color-1); opacity: 0.45;
}
.about__mark { color: var(--surface); margin-bottom: 1.25rem; opacity: 0.9; }
.about__quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-600);
  line-height: 1.35;
  position: relative; z-index: 1;
}
.about__quote figcaption {
  margin-top: 1.5rem;
  font-weight: 700; font-size: var(--fs-300);
  letter-spacing: 0.06em;
  position: relative; z-index: 1;
}
.about__copy .lead { margin-bottom: 2rem; }

.features { display: grid; gap: 1.25rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon {
  flex: none;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 16px;
  background: var(--color-2);
  color: var(--ink);
}
.feature h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
}

/* ---------- Servicios ---------- */
.services {
  background:
    radial-gradient(60% 50% at 50% 0%, var(--color-2), transparent 70%),
    var(--color-1);
}
.services__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2rem 1.6rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--color-5);
}
.card--featured {
  background: linear-gradient(170deg, var(--color-4) 0%, var(--color-2) 55%, var(--surface) 100%);
  border-color: var(--color-5);
}
.card__badge {
  position: absolute; top: -13px; left: 1.6rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--ink); color: var(--color-1);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
}
.card__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 18px;
  background: var(--color-3);
  margin-bottom: 1.25rem;
  transition: transform 0.45s var(--ease), background-color 0.3s;
}
.card--featured .card__icon { background: var(--surface); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.05); background: var(--color-5); }
.card__title { font-size: 1.4rem; margin-bottom: 0.6rem; }
.card__text { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 1.25rem; }
.card__meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.card__meta li {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--color-1);
  font-size: 0.8rem; font-weight: 600;
}
.card--featured .card__meta li { background: var(--surface); }
.card__footer {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
}
.price { line-height: 1; }
.price__from { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.2rem; }
.price__amount {
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100;
  font-size: 2rem; font-weight: 600;
}

/* ---------- Reservas ---------- */
.booking {
  background:
    radial-gradient(70% 60% at 0% 100%, var(--color-4), transparent 60%),
    linear-gradient(180deg, var(--color-3), var(--color-2));
}
.booking__grid { display: grid; gap: 3rem; align-items: start; }
.booking__intro .lead { margin-bottom: 2rem; }

.steps { display: grid; gap: 0.9rem; margin-bottom: 2.5rem; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 0.9rem; font-weight: 600; }
.steps span {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-weight: 600;
}

.hours {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(252, 248, 253, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.hours h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.hours dl { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.hours dl div {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-bottom: 0.5rem; border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.hours dt { font-weight: 700; }
.hours dd { color: var(--ink-soft); }
.contact-list { display: grid; gap: 0.7rem; font-size: 0.95rem; }
.contact-list li { display: flex; align-items: center; gap: 0.7rem; }
.contact-list svg { flex: none; color: var(--ink-soft); }
.contact-list a { font-weight: 600; text-decoration-color: var(--color-5); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.booking__panel {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.form__title { font-size: var(--fs-600); margin-bottom: 1.5rem; }
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; gap: 1.2rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; align-content: start; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.92rem; padding: 0; }
.optional { font-weight: 500; color: var(--ink-soft); }
.field input:not([type='checkbox']),
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-3);
  border-radius: var(--radius-sm);
  background: var(--color-1);
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  min-height: 52px;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%233A2744' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input::placeholder, .field textarea::placeholder { color: #9A88A3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-5);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(213, 167, 227, 0.35);
}
.field [aria-invalid='true'] { border-color: var(--danger) !important; }
.field__hint { font-size: 0.85rem; color: var(--ink-soft); }
.form__note { margin-top: -0.6rem; }
.field__error { font-size: 0.85rem; font-weight: 600; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }

/* Selector de horas en forma de "pastillas" */
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 0.5rem;
}
.slots:empty { display: none; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot span {
  display: block;
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-3);
  background: var(--color-1);
  text-align: center;
  font-weight: 700; font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease), color 0.2s;
}
.slot:hover span { border-color: var(--color-5); }
.slot input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--color-1); transform: scale(1.03); }
.slot input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.skeleton-slot {
  height: 40px; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-1), var(--color-3), var(--color-1));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.75rem;
}
.field--check input {
  width: 22px; height: 22px; margin-top: 0.15rem;
  accent-color: var(--ink);
}
.field--check label { font-weight: 500; font-size: 0.92rem; }
.field--check label a { font-weight: 700; text-decoration-color: var(--color-5); text-decoration-thickness: 2px; }
.field--check .field__error { grid-column: 2; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: #F8E4EA;
  color: var(--danger);
  font-weight: 600; font-size: 0.94rem;
}

[data-submit-label] { display: inline-flex; align-items: center; gap: 0.6rem; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

/* Confirmación */
.confirm { text-align: center; padding-block: 1rem; animation: pop 0.6s var(--ease); }
.confirm:focus { outline: none; }
.confirm__icon {
  display: grid; place-items: center;
  width: 84px; height: 84px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-4), var(--color-5));
  color: var(--ink);
  box-shadow: 0 0 0 10px var(--color-1);
}
.confirm__title { font-size: var(--fs-700); margin-bottom: 0.5rem; }
.confirm__text { color: var(--ink-soft); margin-bottom: 1.5rem; }
.confirm__summary {
  display: grid; gap: 0.1rem;
  text-align: left;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--color-1);
  margin-bottom: 1.75rem;
}
.confirm__summary div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px dashed var(--line);
}
.confirm__summary div:last-child { border-bottom: 0; }
.confirm__summary dt { color: var(--ink-soft); font-size: 0.92rem; }
.confirm__summary dd { font-weight: 700; text-align: right; }
.confirm__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 960px) {
  .booking__grid { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; }
  .booking__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Pie ---------- */
.site-footer {
  background: var(--ink);
  color: var(--color-1);
  padding: 3.5rem 0 2.5rem;
}
.footer__grid {
  display: grid; gap: 2rem;
  align-items: center;
}
.footer__brand p { color: var(--color-4); margin-top: 0.75rem; font-size: 0.95rem; }
.brand--light img { background: var(--color-1); border-radius: 50%; padding: 4px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer__nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer__nav a:hover { color: var(--color-5); }
.footer__legal { font-size: 0.85rem; color: var(--color-4); }
@media (min-width: 860px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr auto; }
}

/* ---------- Animación al hacer scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.services__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.24s; }

@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;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Páginas simples (privacidad, 404) ---------- */
.page-simple {
  min-height: 100svh;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: linear-gradient(180deg, var(--color-1), var(--surface));
}
.prose { max-width: 720px; }
.prose h1 { font-size: var(--fs-700); margin-bottom: 1.5rem; }
.prose h2 { font-size: var(--fs-600); margin: 2rem 0 0.75rem; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 0.75rem; }
.prose ul { padding-left: 1.25rem; }
.center-page { display: grid; place-items: center; text-align: center; }
.center-page img { width: 160px; margin: 0 auto 1.5rem; }
.center-page .lead { margin-bottom: 2rem; }

/* ---------- Panel de administración ---------- */
.admin { padding-top: calc(var(--header-h) + 2rem); }
.admin__bar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end;
  margin-bottom: 1.5rem;
}
.admin__bar .field { min-width: 180px; }
.admin__day { margin-bottom: 2rem; }
.admin__day h2 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.admin__day h2::first-letter { text-transform: uppercase; }
[data-summary] { margin-bottom: 1.5rem; }
.admin__list { display: grid; gap: 0.75rem; }
.admin__item {
  display: grid; gap: 0.5rem 1rem;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.admin__item.is-cancelled { opacity: 0.55; }
.admin__item.is-cancelled .admin__who { text-decoration: line-through; }
.admin__time {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  padding: 0.35rem 0.8rem; border-radius: var(--radius-sm);
  background: var(--color-3);
  font-variant-numeric: tabular-nums;
}
.admin__who { font-weight: 700; }
.admin__meta { font-size: 0.9rem; color: var(--ink-soft); }
.admin__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
  display: inline-block; padding: 0.15rem 0.6rem; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700; background: var(--color-2);
}
@media (min-width: 720px) {
  .admin__item { grid-template-columns: auto 1fr auto; }
  .admin__actions { grid-column: auto; }
}
.admin [data-login] { max-width: 440px; margin-inline: auto; }
