/* Beauty Stories — "el espejo del salón": la foto de portada vive dentro de un espejo
   ovalado con su aplique de globo dorado, como los del local. Materiales del salón:
   pared rosa rubor, sillones caramelo, cabello cacao, el oro olivo del logo "bs.". */
:root {
  --rubor:    #f2ddd3;   /* pared del salón: paneles */
  --leche:    #fbf6f1;   /* fondo general */
  --cacao:    #3b2721;   /* tinta, títulos */
  --cacao-o:  #2a1b17;   /* pie */
  --caramelo: #8c4c2a;   /* sillones: acento, enlaces (5.05:1 sobre rubor, 6.14:1 sobre leche) */
  --oro:      #9c8546;   /* logo: solo líneas y detalles decorativos */
  --mantequilla: #f3e2b3;/* tipografía sobre cacao */
  --gris:     #5f4b44;   /* texto secundario */
  --wa:       #0f7a6e;   /* verde oscuro de WhatsApp (el claro no pasa contraste) */
  --linea:    rgba(59, 39, 33, .14);
  --display: 'Gloock', 'Didot', Georgia, serif;
  --italica: 'Instrument Serif', 'Didot', Georgia, serif;
  --cuerpo:  'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--leche); color: var(--cacao);
  font-family: var(--cuerpo); font-size: 1.0625rem; line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: var(--caramelo); }
a:focus-visible, label:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid var(--caramelo); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; color: var(--cacao); }
h2 { font-size: clamp(2.1rem, 6.4vw, 3.2rem); letter-spacing: -.005em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.envoltura { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.enlace { font-weight: 600; text-decoration: none; color: var(--caramelo); border-bottom: 1px solid currentColor; }
.enlace:hover { border-bottom-width: 2px; }
section[id] { scroll-margin-top: 8.5rem; }
@media (min-width: 900px) { section[id] { scroll-margin-top: 5.5rem; } }

/* ── Aviso de demo (plataforma, no marca) ─────────────────── */
.demo-banner { background: #2b2620; color: #f2ece1; text-align: center; font-size: .85rem; line-height: 1.4; padding: .4rem .9rem; letter-spacing: .01em; }
@media (min-width: 640px) { .demo-banner { font-size: .92rem; } }

/* ── Cabecera ─────────────────────────────────────────────── */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 241, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.nav-check { position: absolute; opacity: 0; pointer-events: none; }
.barra { display: flex; align-items: center; gap: .75rem; max-width: 1140px; margin: 0 auto; padding: .5rem 1.25rem; }
.marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cacao); margin-right: auto; min-width: 0; }
.marca img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--linea); flex: none; }
.marca span { font-family: var(--display); font-size: 1.2rem; white-space: nowrap; }
@media (min-width: 420px) { .marca span { font-size: 1.35rem; } }
.nav-escritorio { display: none; }
.barra-cta { background: var(--cacao); color: var(--leche); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem 1.05rem; border-radius: 999px; flex: none; }
.barra-cta:hover { background: var(--caramelo); }
.nav-boton { display: grid; gap: 5px; padding: .6rem .35rem; cursor: pointer; flex: none; }
.nav-boton span { display: block; width: 24px; height: 2px; background: var(--cacao); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-movil { display: none; flex-direction: column; padding: .25rem 1.25rem 1rem; }
.nav-movil a { padding: .7rem 0; font-family: var(--display); font-size: 1.3rem; color: var(--cacao); text-decoration: none; border-top: 1px solid var(--linea); }
.nav-check:checked ~ .nav-movil { display: flex; }
.nav-check:checked ~ .barra .nav-boton span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-check:checked ~ .barra .nav-boton span:nth-child(2) { opacity: 0; }
.nav-check:checked ~ .barra .nav-boton span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-check:focus-visible ~ .barra .nav-boton { outline: 3px solid var(--caramelo); border-radius: 6px; }
@media (max-width: 359px) { .marca span { font-size: 1.05rem; } .barra-cta { padding: .45rem .75rem; font-size: .88rem; } .barra { gap: .5rem; padding: .5rem .9rem; } }
@media (min-width: 1040px) {
  .nav-escritorio { display: flex; gap: 1.3rem; }
  .nav-escritorio a { color: var(--cacao); text-decoration: none; font-weight: 500; font-size: .96rem; }
  .nav-escritorio a:hover { color: var(--caramelo); text-decoration: underline; text-underline-offset: 4px; }
  .nav-boton, .nav-movil { display: none !important; }
}

/* ── Botones ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; font-size: 1.05rem; padding: .9rem 1.45rem; border-radius: 999px; line-height: 1.2; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(15, 122, 110, .22); }
.btn-wa:hover { background: #0b6359; }

/* ── Portada: pared rubor + la foto en el espejo ovalado ──── */
.portada { background: var(--rubor); padding: 2.2rem 0 2.8rem; overflow: hidden; }
.portada-grid { display: grid; gap: 1.8rem; align-items: center; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--caramelo); margin-bottom: .9rem; }
.portada h1 { font-size: clamp(2.2rem, 8.4vw, 4rem); line-height: 1.04; letter-spacing: -.01em; }
.bajada { font-size: 1.1rem; max-width: 34rem; }
.portada-acciones { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin-top: 1.3rem; }
.acento { font-family: var(--italica); font-style: italic; font-size: 2.3rem; line-height: 1; color: var(--caramelo); margin: 0 0 .15rem .2rem; }
.portada-tel { color: var(--cacao); text-decoration: none; font-size: .98rem; margin-left: .3rem; }
.portada-tel strong { color: var(--caramelo); border-bottom: 1px solid currentColor; font-weight: 700; }

.espejo { position: relative; justify-self: center; width: min(58vw, 250px); padding-top: .4rem; }
.espejo-marco { position: relative; border-radius: 999px; padding: 7px; background: var(--caramelo);
  box-shadow: 0 0 0 1px var(--oro), 0 22px 40px -18px rgba(59, 39, 33, .45); }
.espejo-marco::after { content: ""; position: absolute; inset: 7px; border-radius: 999px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 222, .55); }
.espejo-marco img { width: 100%; height: auto; aspect-ratio: 5 / 8.4; object-fit: cover; object-position: 50% 30%; border-radius: 999px; background: var(--leche); }
/* Aplique de globo: brazo dorado + globo de luz, pegado al marco como en el local */
.aplique { position: absolute; z-index: 2; top: 13%; right: -46px; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #fffdf6 0 28%, #f7ebc9 55%, #e2cc8a 100%);
  box-shadow: 0 0 0 2px var(--oro), 0 0 26px 8px rgba(255, 236, 190, .75); }
.aplique::before { content: ""; position: absolute; right: 100%; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--oro); }
.espejo figcaption { text-align: center; font-family: var(--italica); font-style: italic; font-size: 1.15rem; color: var(--gris); margin-top: 1rem; }
@media (min-width: 860px) {
  .portada { padding: 3.6rem 0 4.2rem; }
  .portada-grid { grid-template-columns: 1.2fr .8fr; gap: 3rem; }
  .espejo { width: min(100%, 330px); }
}

/* ── Divisor ondulado (el "〰" de su bio) ──────────────────── */
.onda { display: block; width: 60px; height: 12px; color: var(--oro); margin-bottom: .9rem; }

/* ── Secciones ────────────────────────────────────────────── */
.seccion { padding: 3.8rem 0; }
.encabezado p { color: var(--gris); max-width: 38rem; }
.prosa p { max-width: 38rem; }

.sobre-grid { display: grid; gap: 2.2rem; align-items: start; }
.detalle { margin-top: 1.4rem; padding: 1.1rem 1.2rem; border-left: 3px solid var(--caramelo); background: #fff; border-radius: 0 14px 14px 0; }
.detalle h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.detalle p:last-child { margin-bottom: 0; }
/* La foto del salón con remate en arco, como sus espejos */
.sobre-foto img { width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 999px 999px 18px 18px; }
@media (min-width: 860px) { .sobre-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; } .sobre-foto { max-width: 440px; justify-self: end; } }

.galeria { background: #fff; }
.rejilla { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.rejilla img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--rubor); }
.rejilla figcaption { font-size: .82rem; color: var(--gris); padding: .35rem .15rem 0; line-height: 1.35; }
.rejilla-video video { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--cacao); }
.galeria-mas { margin-top: 1.4rem; color: var(--gris); }
@media (min-width: 700px) { .rejilla { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1000px) { .rejilla { grid-template-columns: repeat(4, 1fr); } }

/* Servicios: encabezado con la onda, lista a renglones */
.servicios-grid { display: grid; gap: 1.2rem; }
.lista-servicios { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.lista-servicios li { padding: 1rem 0; border-bottom: 1px solid var(--linea); }
.serv-linea { display: flex; justify-content: space-between; gap: 1rem; margin: 0; }
.serv-nombre { font-family: var(--display); font-size: 1.32rem; line-height: 1.25; }
.serv-precio { font-weight: 700; white-space: nowrap; color: var(--caramelo); }
.serv-desc { margin: .25rem 0 0; color: var(--gris); }
.nota-precios { margin-top: 1.2rem; font-size: .95rem; color: var(--gris); }
.servicios-unas { background: var(--rubor); }
.servicios-unas .serv-desc, .servicios-unas .nota-precios, .servicios-unas .encabezado p { color: #4e3b34; }
.servicios-unas .lista-servicios, .servicios-unas .lista-servicios li { border-color: rgba(59, 39, 33, .18); }
@media (min-width: 860px) { .servicios-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } .servicios-grid > :first-child { position: sticky; top: 6.5rem; align-self: start; } }

.resenas { background: #fff; }
.resenas-cabeza { margin-bottom: 1.6rem; }
.calificacion { display: flex; align-items: center; gap: .9rem; margin: .2rem 0 .8rem; }
.calif-num { font-family: var(--display); font-size: 3.6rem; line-height: 1; color: var(--cacao); }
.calif-det { color: var(--gris); line-height: 1.4; }
.estrellas { color: var(--caramelo); letter-spacing: .1em; display: block; }
.resenas-lista { display: grid; gap: 1rem; }
.resena { margin: 0; padding: 1.25rem 1.35rem; background: var(--leche); border-radius: 16px; border: 1px solid var(--linea); }
.resena p { margin: .4rem 0 0; font-family: var(--italica); font-style: italic; font-size: 1.3rem; line-height: 1.35; }
@media (min-width: 760px) { .resenas-lista { grid-template-columns: repeat(2, 1fr); } }

/* Contacto: cierre en cacao */
.contacto { background: var(--cacao); color: var(--leche); }
.contacto h2 { color: var(--mantequilla); }
.contacto-intro { color: #eadfd6; max-width: 32rem; }
.contacto-grid { display: grid; gap: 2rem; }
.contacto .redes-fila a { background: var(--leche); color: var(--cacao); }
.contacto .redes-fila a:hover { background: var(--rubor); }
.ficha { margin: 0; display: grid; gap: 1.1rem; background: var(--leche); color: var(--cacao); border-radius: 18px; padding: 1.35rem; }
.ficha dt { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--caramelo); margin-bottom: .2rem; }
.ficha dd { margin: 0; }
.ficha a { color: var(--caramelo); font-weight: 600; }
.ficha-sec { color: var(--gris); font-size: .95rem; }
.horario { list-style: none; margin: 0; padding: 0; }
.horario li { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; }
.horario li span:first-child { font-weight: 600; }
.horario li span:last-child { text-align: right; }
@media (min-width: 860px) { .contacto-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }

.redes-fila { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.redes-fila a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cacao); color: #fff; }
.redes-fila svg { width: 22px; height: 22px; }

/* ── Pie ──────────────────────────────────────────────────── */
.pie { background: var(--cacao-o); color: #e6d8cf; padding: 2.6rem 0 1.2rem; font-size: .95rem; }
.pie-grid { display: grid; gap: 1.4rem; align-items: center; }
.pie-logo { width: 88px; height: 88px; background: #fff; border-radius: 50%; }
.pie-nombre { font-family: var(--display); font-size: 1.5rem; color: var(--mantequilla); margin-bottom: .4rem; }
.pie p { margin: 0 0 .35rem; }
.pie a { color: var(--mantequilla); }
.pie .redes-fila { margin-top: .9rem; }
.pie .redes-fila a { background: var(--rubor); color: var(--cacao); }
.pie .redes-fila a:hover { background: #fff; }
.credito { text-align: center; font-size: .82rem; color: #c9b8ae; margin: 2rem 1.25rem 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 760px) { .pie-grid { grid-template-columns: auto 1fr; gap: 2rem; } }
@media (max-width: 759px) { .pie { padding-bottom: 5.5rem; } .pie-logo { width: 72px; height: 72px; } }

/* ── WhatsApp flotante ────────────────────────────────────── */
.wa-flotante { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.wa-flotante svg { width: 30px; height: 30px; }
@supports (animation-timeline: scroll()) {
  .wa-flotante { animation: waIn linear both; animation-timeline: scroll(); animation-range: 0 350px; }
  @keyframes waIn { from { opacity: 0; transform: scale(.6); pointer-events: none; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
