/* ==========================================================
   SISU Beauty Center · estilos
   Paleta tomada del salón: blanco cálido, negro, el azul cobalto
   del arco de recepción (color corporativo) y el nude de las uñas.
   ========================================================== */
:root {
  --ivory: #FAF7F3;
  --blush: #F3EAE4;      /* fondo de secciones alternas (nude) */
  --ink: #1D1B19;
  --ink-soft: #5A534C;
  --accent: #22338C;       /* azul corporativo SISU (detalles, texto pequeño AA) */
  --accent-hover: #2D44B5;
  --accent-light: #9FB0F2; /* azul para fondos oscuros (AA sobre --ink) */
  --line: #E4DAD0;
  --radius: 14px;
  --font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* hueco para la barra móvil */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
/* Bodoni Moda con tamaño óptico fijo "de texto": trazos finos más gruesos y legibles
   incluso en titulares grandes (con opsz automático serían casi invisibles) */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; font-optical-sizing: none; font-variation-settings: "opsz" 16; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); font-size: .95rem; }

.eyebrow {
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 500 1rem/1 var(--font-body); text-decoration: none; letter-spacing: .01em;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ivory); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,243,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.wordmark { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.wordmark-name {
  font-family: var(--font-display); font-weight: 500; font-size: 2.2rem; line-height: 1;
  letter-spacing: .2em; margin-right: -.2em; /* compensa el espaciado de la última letra */
  font-variation-settings: "opsz" 16;
}
/* Línea · loto · línea, como en el logotipo */
.wordmark-orn { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--accent); }
.wordmark-orn::before, .wordmark-orn::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.wordmark-orn svg { width: 15px; height: 10px; }
.wordmark-sub { margin-top: 3px; font-size: .58rem; letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: none; }
.header-cta { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 64px; }
.hero-inner { display: grid; gap: 36px; }
.hero h1 { font-size: clamp(2.4rem, 8.5vw, 4.2rem); }
.hero h1::after { content: ""; display: block; width: 56px; height: 1px; background: var(--accent); margin-top: 24px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 34ch; }
.lead strong { color: var(--ink); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 34px; font-size: .95rem; color: var(--ink-soft); }
.facts b { font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 11; font-size: 1.25rem; color: var(--ink); margin-right: 4px; }

.status::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: 1px;
}
.status.open::before { background: #3E8E5A; box-shadow: 0 0 0 4px rgba(62,142,90,.15); }

/* Arco: guiño al arco iluminado de la recepción */
.arch { margin: 0; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(34,51,140,.35), 0 0 0 10px var(--ivory), 0 0 0 11px rgba(34,51,140,.25); }
.hero-media { max-width: 460px; width: 88%; justify-self: center; aspect-ratio: 4 / 5; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Secciones ---------- */
.section { padding: 80px 0; }
.section-tint { background: var(--blush); }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 16px; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); }
.section-head a { color: var(--accent); text-underline-offset: 3px; }

/* Servicios */
.services { display: grid; gap: 0; border-top: 1px solid var(--line); }
.services li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.services h3 { font-size: 1.45rem; margin-bottom: 8px; }
.services p { color: var(--ink-soft); }

/* Precio "desde" en cada servicio */
.services .from { margin-top: 12px; font-size: .9rem; color: var(--accent); font-weight: 500; }

/* Carta de precios (desplegable) */
.prices { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); }
.prices summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; font-variation-settings: "opsz" 16;
}
.prices summary::-webkit-details-marker { display: none; }
.prices summary::after { content: "+"; font-family: var(--font-body); font-size: 1.6rem; font-weight: 400; color: var(--accent); transition: transform .2s; }
.prices[open] summary::after { transform: rotate(45deg); }
.prices-body { padding: 4px 24px 28px; display: grid; gap: 28px; }
.prices h3 { font-size: .78rem; font-family: var(--font-body); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; font-variation-settings: normal; }
.prices dl { margin: 0; }
.prices dl div { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.prices dt { flex: 1; }
.prices dd { margin: 0; font-weight: 500; white-space: nowrap; }
.prices-note { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-soft); }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery a:hover img { transform: scale(1.04); }

/* Salón */
.salon { display: grid; gap: 40px; }
.salon-media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.salon-copy h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 20px; }
.salon-copy p + p { margin-top: 14px; }
.salon-copy p:not(.eyebrow) { color: var(--ink-soft); }
.salon-detail { width: 200px; aspect-ratio: 4 / 5; margin-top: 36px; }
.salon-detail img { width: 100%; height: 100%; object-fit: cover; }

/* Opiniones */
.reviews { display: grid; gap: 14px; margin-bottom: 40px; }
.reviews li { background: var(--ivory); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.reviews blockquote { margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; font-variation-settings: "opsz" 11; }
.who { font-size: .9rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 4px; }
.stars { color: var(--accent); letter-spacing: .12em; font-size: .95rem; }
.stars .off { color: var(--line); }

/* Locales */
.locations { display: grid; gap: 14px; }
.loc { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 8px; }
.loc-n { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.loc h3 { font-size: 1.6rem; }
.loc address { font-style: normal; color: var(--ink-soft); margin-bottom: 14px; }
.loc .hours { font-family: var(--font-display); font-size: 2rem; font-weight: 500; font-variation-settings: "opsz" 16; }
.loc .muted { margin-bottom: 14px; }
.loc-dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.loc-dark .loc-n { color: var(--accent-light); }
.loc-dark .muted { color: #BDB3A8; }
.link-arrow { margin-top: auto; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Pedir cita */
.booking { background: var(--ink); color: var(--ivory); padding: 84px 0; }
.booking-inner { display: grid; gap: 40px; }
.booking .eyebrow { color: var(--accent-light); }
.booking-copy h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 16px; }
.booking-copy > p:not(.eyebrow) { color: #CFC6BB; max-width: 40ch; }
.booking-points { margin-top: 26px; display: grid; gap: 10px; color: #CFC6BB; font-size: .95rem; }
.booking-points li { padding-left: 22px; position: relative; }
.booking-points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--accent-light); }
.booking-points a { color: var(--ivory); }

.booking-card {
  background: var(--ivory); color: var(--ink); border-radius: var(--radius);
  padding: 30px 22px; display: grid; gap: 22px;
}
.booking-card h3 { font-size: 1.6rem; }
.steps { display: grid; gap: 14px; counter-reset: paso; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.steps li::before {
  counter-increment: paso; content: counter(paso);
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent); font-weight: 500; font-size: .9rem;
}
.steps strong { display: block; color: var(--ink); font-weight: 500; }
.booking-card .btn { width: 100%; }
.booking-alt { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: var(--ink-soft); }
.booking-alt a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

/* Pie */
.site-footer { padding: 56px 0 28px; font-size: .95rem; }
.footer-inner { display: grid; gap: 28px; }
.footer-mark { font-size: 2rem; }
.site-footer a { text-underline-offset: 3px; }
.social { display: flex; gap: 22px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); }

/* Barra móvil */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr;
  background: var(--ivory); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 64px; text-decoration: none; font-weight: 500; }
.mobile-bar a.book { background: var(--accent); color: #fff; }
.mobile-bar svg { width: 20px; height: 20px; }

/* Visor */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(29,27,25,.88); }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius); }
.lb-close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--ivory); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .wrap { padding: 0 32px; }
  .header-cta { display: inline-flex; }
  .hero { padding: 56px 0 96px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .hero-media { width: 100%; }
  .section { padding: 112px 0; }
  .services { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .prices-body { grid-template-columns: repeat(2, 1fr); column-gap: 48px; padding: 4px 32px 32px; }
  .prices summary { padding: 24px 32px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .locations { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.2fr 1.5fr auto; align-items: start; }
  .booking { padding: 112px 0; }
  .booking-card { padding: 40px; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 1024px) {
  .header-inner { height: 112px; }
  .wordmark-name { font-size: 3rem; }
  .wordmark-sub { font-size: .66rem; }
  .wordmark-orn::before, .wordmark-orn::after { width: 34px; }
  html { scroll-padding-top: 124px; }
  .nav { display: flex; gap: 32px; font-size: .95rem; }
  .nav a { text-decoration: none; color: var(--ink-soft); transition: color .2s; }
  .nav a:hover { color: var(--ink); }
  .services { grid-template-columns: repeat(3, 1fr); }
  .salon { grid-template-columns: 1.2fr 1fr; align-items: stretch; gap: 72px; }
  .salon-media img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: 82% center; }
  .salon-copy { align-self: center; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .booking-inner { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .prices-body { grid-template-columns: repeat(3, 1fr); }
}
