/* ==========================================================================
   Vivi Nails Studio — hoja de estilos común a todas las páginas
   Inspirada en los posts de Instagram del estudio:
   morado oscuro, brillo rosa y blanco, bandas oscuras translúcidas
   y tipografía Alegreya (títulos) + Alegreya Sans (textos).
   ========================================================================== */

/* ---------- Tipografías auto-alojadas (sin Google Fonts) ---------- */
@font-face { font-family:'Alegreya'; font-style:normal; font-weight:400 900; font-display:swap; src:url('../fonts/alegreya.woff2') format('woff2'); }
@font-face { font-family:'Alegreya'; font-style:italic; font-weight:400 900; font-display:swap; src:url('../fonts/alegreya-italic.woff2') format('woff2'); }
@font-face { font-family:'Alegreya Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/alegreya-sans-400.woff2') format('woff2'); }
@font-face { font-family:'Alegreya Sans'; font-style:italic; font-weight:400; font-display:swap; src:url('../fonts/alegreya-sans-400-italic.woff2') format('woff2'); }
@font-face { font-family:'Alegreya Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/alegreya-sans-500.woff2') format('woff2'); }
@font-face { font-family:'Alegreya Sans'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/alegreya-sans-700.woff2') format('woff2'); }

:root {
  /* Colores sacados de los posts */
  --plum: #2B2028;            /* fondo oscuro de los posts */
  --plum-2: #3A2C35;
  --plum-glass: rgba(43, 32, 40, .66);   /* "recuadro negro algo transparente" */
  --pink: #F4A6C6;            /* rótulos rosas sobre oscuro */
  --orchid: #DA84BA;          /* inicio del brillo rosa */
  --orchid-2: #E6A2CD;
  --blush: #F6DAEB;           /* final del brillo rosa */
  --blush-2: #FBF1F6;         /* fondo general de la web */
  --berry: #A8457F;           /* rosa legible sobre fondo claro */
  --ink: #2B2028;
  --ink-soft: #6E5A66;
  --white: #FFFFFF;

  --shine: linear-gradient(118deg, #DA84BA 0%, #E6A2CD 26%, #F0C6E0 52%, #F6DAEB 76%, #FCEFF6 100%);
  --gloss: linear-gradient(118deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.55) 44%, rgba(255,255,255,0) 58%);

  --display: 'Alegreya', Georgia, 'Times New Roman', serif;
  --sans: 'Alegreya Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --header-h: 78px;
  --radius: 20px;
  --shadow: 0 26px 60px -30px rgba(43, 32, 40, .5);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  background: var(--blush-2); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--plum); color: var(--pink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--blush-2); }
::-webkit-scrollbar-thumb { background: var(--orchid); border-radius: 10px; border: 2px solid var(--blush-2); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--display); font-weight: 800; line-height: 1.08;
  letter-spacing: .03em; text-transform: uppercase;
}

/* Rótulo pequeño encima de los títulos (como "GUARDA ESTE POST") */
.eyebrow {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: .84rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--berry); margin-bottom: 12px;
}

/* Tira de brillo rosa (como la parte de abajo del post) */
.shine-strip { height: 12px; background: var(--gloss), var(--shine); }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.scale { transform: translateY(18px) scale(.95); }
.reveal.scale.visible { transform: none; }
.stagger .reveal { transition-delay: calc(var(--i, 0) * .08s); }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: .92rem; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase; text-align: center;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn-primary, .nav-cta, .sticky-book {
  background: var(--shine); color: var(--plum);
  box-shadow: 0 14px 30px -14px rgba(218, 132, 186, .95), inset 0 1px 0 rgba(255,255,255,.6);
}
/* destello que cruza el botón al pasar el ratón */
.btn-primary::after, .nav-cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--gloss); transform: translateX(-110%);
  transition: transform .9s var(--ease);
}
.btn-primary:hover, .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(218, 132, 186, 1), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-primary:hover::after, .nav-cta:hover::after { transform: translateX(110%); }

.btn-ghost { border-color: rgba(43, 32, 40, .35); color: var(--plum); }
.btn-ghost:hover { background: var(--plum); border-color: var(--plum); color: var(--white); transform: translateY(-2px); }

/* sobre fondos oscuros */
.on-dark .btn-ghost, .hero .btn-ghost, .contact .btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .contact .btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--plum); }

/* ---------- Cabecera clara translúcida: el logo (letras negras) se lee sin recuadro ---------- */
#siteHeader {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251, 241, 246, .86);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background .3s ease, box-shadow .3s ease;
}
/* fina tira de brillo rosa bajo la cabecera */
#siteHeader::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--shine); }
#siteHeader.scrolled { background: rgba(251, 241, 246, .96); box-shadow: 0 14px 34px -22px rgba(43,32,40,.35); }
#siteHeader > nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h); padding: 0 24px; max-width: 1260px; margin: 0 auto;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 56px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  position: relative; padding: 6px 0;
  font-family: var(--sans); font-weight: 500; font-size: .84rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--plum);
  transition: color .25s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; border-radius: 2px;
  background: var(--orchid); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--berry); }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta-mobile::after { display: none; }

.nav-cta {
  position: relative; isolation: isolate; overflow: hidden; flex-shrink: 0;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--plum); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* desplegable Servicios */
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a .caret { font-size: .7em; margin-left: 4px; display: inline-block; transition: transform .25s var(--ease); }
.nav-links .has-dropdown:hover > a .caret,
.nav-links .has-dropdown.open > a .caret { transform: rotate(180deg); }
.nav-links .dropdown {
  list-style: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: var(--white); border: 1px solid rgba(168, 69, 127, .15); border-radius: 16px;
  box-shadow: 0 24px 50px -18px rgba(43,32,40,.35); padding: 10px; min-width: 250px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease); z-index: 120;
}
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown,
.nav-links .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(8px);
}
.nav-links .dropdown li { display: block; }
.nav-links .dropdown a { display: block; padding: 11px 14px; border-radius: 10px; font-size: .8rem; white-space: nowrap; }
.nav-links .dropdown a::after { display: none; }
.nav-links .dropdown a:hover { background: var(--blush-2); color: var(--berry); }

/* ---------- Banda translúcida sobre foto (estilo post) ---------- */
.post-band {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 22px 18px;
  background: var(--plum-glass);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.post-band .k {
  font-family: var(--display); font-weight: 700; font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--pink);
}
.post-band .t {
  font-family: var(--display); font-weight: 800; font-size: 1.22rem; line-height: 1.15;
  letter-spacing: .04em; text-transform: uppercase; color: var(--white);
}

/* ==========================================================================
   PORTADA
   ========================================================================== */
section { position: relative; padding: 84px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head h2::after,
.about h2::after,
.contact h2::after {
  content: ''; display: block; width: 64px; height: 4px; border-radius: 4px;
  background: var(--shine); margin: 14px auto 0;
}
.about h2::after, .contact h2::after { margin-left: 0; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Portada: foto a pantalla completa con el texto encima ----------
   Al bajar, la foto se queda fija y la sección "Nosotras" sube por encima como una hoja,
   mientras el título se abre ("VIVI NAILS" hacia la izquierda, "STUDIO" hacia la derecha).
   --p (de 0 a 1) lo actualiza el script de index.html según el scroll. */
.hero {
  --p: 0;
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh; min-height: 560px;
  padding: 0; display: flex; align-items: center;
  overflow: hidden; color: var(--white); background: var(--plum);
}
.hero ~ section, .hero ~ footer { position: relative; z-index: 1; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* filtro oscuro sobre toda la foto, algo más denso a la izquierda, donde va el texto */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(43,32,40,.84) 0%, rgba(43,32,40,.62) 45%, rgba(43,32,40,.32) 100%);
}
/* al bajar, la foto se oscurece un poco más */
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--plum); opacity: calc(var(--p) * .6); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero .hero-content { padding-top: var(--header-h); } /* .hero delante para que no lo anule el padding de .wrap en móvil */
.hero-content .eyebrow { color: var(--pink); }
.hero-title { font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .98; letter-spacing: .04em; }
.hero-title .ht { display: block; will-change: transform; }
.ht-a { transform: translateX(calc(var(--p) * -24vw)); text-shadow: 0 6px 30px rgba(0,0,0,.3); animation: htInLeft 1s var(--ease) .1s backwards; }
.ht-b {
  transform: translateX(calc(var(--p) * 24vw));
  background: var(--gloss), var(--shine); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: htInRight 1s var(--ease) .2s backwards;
}
.hero-content .eyebrow, .hero-content .tagline, .hero-content .desc, .hero-ctas {
  transform: translateY(calc(var(--p) * -48px)); opacity: calc(1 - var(--p) * 1.5);
  animation: heroUp .9s var(--ease) .35s backwards;
}
.hero-content .eyebrow { animation-delay: 0s; }
.hero-content .tagline {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--blush); margin-top: 16px;
}
.hero-content .desc { color: rgba(255,255,255,.88); font-size: 1.08rem; max-width: 46ch; margin-top: 10px; }
.hero-ctas { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
@keyframes htInLeft { from { opacity: 0; transform: translateX(-60px); } }
@keyframes htInRight { from { opacity: 0; transform: translateX(60px); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(20px); } }
/* indicador de "desliza" */
.scroll-cue {
  position: absolute; left: 50%; bottom: 64px; z-index: 2; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255,255,255,.7); border-radius: 14px; opacity: calc(1 - var(--p) * 4);
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--pink); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: none; opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
/* "Nosotras" sube por encima de la foto como una hoja con las esquinas redondeadas */
.hero + .about { margin-top: -36px; border-radius: 36px 36px 0 0; box-shadow: 0 -26px 50px -26px rgba(0,0,0,.5); }

/* ---------- Nosotras ---------- */
.about { background: var(--blush-2); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.about h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.about p:not(.eyebrow) { margin-top: 22px; color: var(--ink-soft); font-size: 1.1rem; max-width: 54ch; }
.about-photo { position: relative; margin: 0 auto; width: 100%; max-width: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.about-photo:hover img { transform: scale(1.05); }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-badges span {
  background: var(--gloss), var(--shine); color: var(--plum);
  padding: 9px 18px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- Servicios destacados ---------- */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--blush-2); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(43,32,40,.45);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -28px rgba(168, 69, 127, .45); }
/* las tres tarjetas comparten filas: bandas moradas, textos y enlaces quedan alineados */
@supports (grid-template-rows: subgrid) {
  .service-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
}
.service-head { background: var(--plum); padding: 24px 28px 22px; position: relative; }
.service-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--shine); }
.service-num { font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .2em; color: var(--pink); }
.service-card h3 { color: var(--white); font-size: 1.3rem; margin-top: 6px; }
.service-card p { color: var(--ink-soft); padding: 22px 28px 0; flex: 1; }
.service-more, .cat-link {
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--berry);
}
.service-card .service-more { padding: 18px 28px 26px; }

.also-offer { margin-top: 44px; text-align: center; }
.also-offer .label { font-family: var(--display); font-weight: 700; font-size: .84rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 34px; }
.chip-row span {
  background: var(--blush-2); border: 1px solid rgba(168, 69, 127, .22);
  padding: 10px 20px; border-radius: 999px; font-weight: 500; color: var(--ink);
}

/* ---------- Apartados (tarjetas compactas, las 5 en una fila) ---------- */
.categories { background: var(--blush-2); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: 18px;
  box-shadow: 0 18px 40px -28px rgba(43,32,40,.45);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(168, 69, 127, .45); }
.cat-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--plum); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-media .post-band { padding: 10px 14px 12px; }
.cat-media .post-band .k { font-size: .66rem; }
.cat-media .post-band .t { font-size: 1rem; }
/* sin foto (Retirada y Láser): brillo rosa entero, como los posts */
.cat-media.is-shine { display: flex; align-items: center; justify-content: center; text-align: center; }
.cat-media.is-shine { background: var(--gloss), var(--shine); }
.cat-label { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 0 14px; }
.cat-label .k { font-family: var(--display); font-weight: 700; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); }
.cat-label .t { font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.cat-media.is-shine .cat-label .k { color: var(--berry); }
.cat-media.is-shine .cat-label .t { color: var(--plum); }
.cat-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.cat-desc { flex: 1; font-size: .93rem; line-height: 1.45; color: var(--ink-soft); }
.cat-link { font-size: .74rem; }

/* ---------- Galería ---------- */
.gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery-item { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 16px 34px -24px rgba(43,32,40,.5); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
/* la banda con el título del post aparece al pasar el ratón (o al enfocar con teclado) */
.gallery-item .post-band { transform: translateY(-101%); transition: transform .45s var(--ease); padding: 10px 12px 12px; }
.gallery-item .post-band .k { font-size: .62rem; }
.gallery-item .post-band .t { font-size: .88rem; }
.gallery-item:hover .post-band, .gallery-item:focus-within .post-band { transform: none; }
.gallery-cta { text-align: center; margin-top: 32px; }

/* ---------- Opiniones (sección oscura) ---------- */
.testimonials { background: var(--plum); color: var(--white); padding-bottom: 96px; }
.testimonials::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--gloss), var(--shine); }
.testimonials .eyebrow { color: var(--pink); }
.testimonials .section-head h2 { color: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.t-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(244, 166, 198, .2);
  border-radius: var(--radius); padding: 34px;
  transition: transform .4s var(--ease), background .4s ease, border-color .4s ease;
}
.t-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); border-color: rgba(244, 166, 198, .4); }
.stars { color: var(--pink); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.t-card p.quote { font-family: var(--display); font-style: italic; font-size: 1.22rem; line-height: 1.5; color: rgba(255,255,255,.94); }
.t-meta { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.t-meta .name { font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; color: var(--pink); }
.t-meta .src { font-size: .88rem; color: rgba(255,255,255,.6); }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--blush-2); }
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid rgba(168, 69, 127, .12); transition: box-shadow .3s ease; }
.faq-item.open { box-shadow: 0 18px 40px -28px rgba(43,32,40,.45); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-family: var(--display); font-size: 1.12rem; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after {
  content: '+'; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--sans); font-size: 1.3rem; line-height: 1;
  background: var(--shine); color: var(--plum); transition: transform .3s var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- Mapa (solo enlace) ---------- */
.map-section { background: var(--white); padding: 70px 0; }
.map-section .section-head { margin-bottom: 0; }

/* ---------- Contacto (sección oscura) ---------- */
.contact { background: var(--plum); color: var(--white); overflow: hidden; }
.contact::before {
  content: ''; position: absolute; width: 560px; height: 560px; right: -200px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(218,132,186,.35), rgba(218,132,186,0) 70%); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact .eyebrow { color: var(--pink); }
.contact h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--white); }
.contact-intro p { color: rgba(255,255,255,.78); margin-top: 18px; max-width: 46ch; }
.info-list { margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: center; }
.info-item .ic { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.5rem; }
.info-item .ic img { width: 32px; height: 32px; object-fit: contain; }
.info-item .txt strong { display: block; font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin-bottom: 2px; }
.info-item .txt span, .info-item .txt a { color: rgba(255,255,255,.88); }
.info-item .txt a:hover { color: var(--pink); }
.contact-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hours-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.05); border: 1px solid rgba(244, 166, 198, .2);
  border-radius: var(--radius); padding: 0 34px 26px;
}
.hours-card h3 {
  margin: 0 -34px 18px; padding: 20px 34px;
  font-size: 1.3rem; color: var(--plum); background: var(--gloss), var(--shine);
}
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 500; color: var(--white); }
.hours-row .time { color: rgba(255,255,255,.72); text-align: right; }
.hours-row.closed .time { color: var(--pink); }

/* ==========================================================================
   PÁGINAS DE SERVICIOS
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; text-align: center; color: var(--white);
  padding: calc(var(--header-h) + 64px) 0 72px; background: var(--plum);
}
.page-hero::before {
  content: ''; position: absolute; width: 620px; height: 620px; left: 50%; top: -260px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(218,132,186,.3), rgba(218,132,186,0) 70%); pointer-events: none;
}
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--gloss), var(--shine); }
.page-hero .wrap { position: relative; z-index: 2; max-width: 860px; }
.page-hero .eyebrow { color: var(--pink); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p.lead { margin: 20px auto 0; max-width: 660px; color: rgba(255,255,255,.84); font-size: 1.1rem; }
.page-hero .btn { margin-top: 30px; }
.crumbs { font-size: .9rem; color: rgba(255,255,255,.66); margin-bottom: 20px; letter-spacing: .04em; }
.crumbs a { color: rgba(255,255,255,.86); }
.crumbs a:hover { color: var(--pink); }

/* cabecera con foto: la foto de fondo y el texto en el recuadro translúcido */
/* la foto se indica en el HTML con style="background-image:url(...)" */
.page-hero.has-photo { background-color: var(--plum); background-position: center 45%; background-size: cover; background-repeat: no-repeat; padding: calc(var(--header-h) + 100px) 0 56px; text-align: left; }
.page-hero.has-photo::before { width: auto; height: auto; inset: 0; left: 0; top: 0; transform: none; border-radius: 0; background: linear-gradient(180deg, rgba(43,32,40,.15), rgba(43,32,40,.35)); }
.page-hero.has-photo .wrap {
  max-width: 820px; margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px)); margin-right: 24px;
  padding: 34px 38px 38px; border-radius: var(--radius);
  background: var(--plum-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 166, 198, .2);
}
.page-hero.has-photo p.lead { margin-left: 0; }

.svc-section { padding: 80px 0 100px; }
.svc-section .wrap { max-width: 1100px; counter-reset: svc; }
.svc {
  --pad: 40px;
  counter-increment: svc; scroll-margin-top: calc(var(--header-h) + 20px);
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  padding: var(--pad); margin-bottom: 30px;
  box-shadow: 0 18px 44px -30px rgba(43,32,40,.45);
}
.svc h2 {
  position: relative; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 24px;
  padding: 24px var(--pad) 26px; background: var(--plum); color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}
.svc h2::before {
  content: 'Servicio ' counter(svc, decimal-leading-zero); display: block; margin-bottom: 6px;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; color: var(--pink);
}
.svc h2::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--shine); }
.svc .desc { color: var(--ink-soft); max-width: 72ch; font-size: 1.08rem; }
.svc-photos { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; box-shadow: 0 12px 26px -18px rgba(43,32,40,.45); transition: transform .5s var(--ease); }
.svc-photos img:hover { transform: scale(1.03); }
.svc .btn { margin-top: 26px; }
.svc-note { margin-top: 22px; background: var(--blush-2); border-left: 4px solid var(--orchid); border-radius: 12px; padding: 16px 20px; font-size: .98rem; color: var(--ink-soft); }

/* ==========================================================================
   PÁGINAS LEGALES
   ========================================================================== */
.legal-wrap { max-width: 840px; margin: 0 auto; padding: calc(var(--header-h) + 64px) 24px 90px; }
.legal-wrap h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.legal-wrap h1::after { content: ''; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--shine); margin-top: 16px; }
.legal-wrap .updated { color: var(--ink-soft); font-size: .95rem; margin: 14px 0 28px; }
.legal-wrap h2 { font-size: 1.3rem; font-weight: 700; text-transform: none; letter-spacing: .01em; margin: 36px 0 10px; color: var(--plum); }
.legal-wrap h3 { font-size: 1.06rem; font-weight: 700; text-transform: none; letter-spacing: 0; margin: 20px 0 6px; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); line-height: 1.75; }
.legal-wrap p { margin-bottom: 12px; }
.legal-wrap ul { margin: 8px 0 14px 22px; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap a { color: var(--berry); text-decoration: underline; }
.legal-wrap .box { background: var(--white); border-left: 4px solid var(--orchid); border-radius: 12px; padding: 16px 20px; margin: 14px 0; }
.legal-wrap .box p:last-child { margin-bottom: 0; }
.legal-wrap table { border-collapse: collapse; width: 100%; margin: 12px 0 18px; font-size: .95rem; }
.legal-wrap th, .legal-wrap td { border: 1px solid rgba(168,69,127,.18); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal-wrap th { background: var(--plum); color: var(--white); font-family: var(--display); font-weight: 700; }
.legal-back { display: inline-block; margin-top: 38px; font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .86rem; color: var(--berry); text-decoration: none !important; }
.legal-back:hover { color: var(--plum); }

/* ==========================================================================
   PIE DE PÁGINA (brillo rosa con el logo, como el post)
   ========================================================================== */
.site-footer {
  position: relative; color: var(--plum); text-align: center;
  background: var(--gloss), var(--shine); padding: 54px 0 34px;
}
.footer-logo { display: inline-block; }
.footer-logo img { height: 92px; width: auto; margin: 0 auto; }
.site-footer .nap { margin-top: 18px; font-size: 1rem; }
.site-footer .nap strong { display: block; font-family: var(--display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 1.05rem; margin-bottom: 2px; }
.site-footer a:hover { color: var(--berry); }
.site-footer .social { margin-top: 12px; }
.site-footer .social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.site-footer .social img { width: 22px; height: 22px; object-fit: contain; }
.site-footer .legal-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(43,32,40,.16); font-size: .92rem;
}
.site-footer .legal-row a { color: var(--plum); }
.site-footer .legal-row a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .copy { margin-top: 12px; font-size: .86rem; color: rgba(43,32,40,.72); }

/* ---------- Foco visible (teclado) ---------- */
a:focus-visible, button:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 6px; }
.hero a:focus-visible, .contact a:focus-visible, .testimonials a:focus-visible,
.page-hero a:focus-visible { outline-color: var(--pink); }

/* ---------- Botón fijo "Reservar" (móvil) ---------- */
.sticky-book { display: none; transition: opacity .3s ease, transform .35s var(--ease), visibility .3s; }
/* en la portada se oculta hasta que la portada queda tapada por completo */
.sticky-book.is-hidden { opacity: 0; visibility: hidden; transform: translateY(18px); pointer-events: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .logo img { height: 48px; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 26px 24px 30px; background: rgba(251, 241, 246, .98);
    border-bottom: 3px solid var(--orchid);
    box-shadow: 0 30px 40px -20px rgba(43,32,40,.35);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-140%); opacity: 0; pointer-events: none;
    transition: transform .4s var(--ease), opacity .3s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: .95rem; }
  .nav-links .nav-cta-mobile { display: inline-flex !important; margin-top: 6px; }
  .nav-links .has-dropdown { width: 100%; }
  .nav-links .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent; border: none; box-shadow: none; min-width: 0;
    padding: 4px 0 0 14px; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .nav-links .has-dropdown:hover .dropdown, .nav-links .has-dropdown:focus-within .dropdown { transform: none; }
  .nav-links .has-dropdown.open .dropdown { max-height: 360px; transform: none; }
  .nav-links .dropdown a { padding: 9px 4px; }

  section { padding: 64px 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo { order: -1; max-width: 460px; width: 100%; margin: 0 auto; }
  .service-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .sticky-book {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200;
    padding: 15px 20px; border-radius: 999px;
    font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
  }
  .site-footer { padding-bottom: 100px; }
  .svc-photos { grid-template-columns: repeat(3, 1fr); }
  .svc { --pad: 26px; }
  .page-hero.has-photo { padding-top: calc(var(--header-h) + 120px); }
  .page-hero.has-photo .wrap { margin-left: 16px; margin-right: 16px; padding: 26px 24px 28px; }
}

@media (max-width: 760px) {
  /* portada en móvil: texto abajo y filtro más denso en la parte baja */
  .hero { align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(43,32,40,.35) 0%, rgba(43,32,40,.55) 40%, rgba(43,32,40,.88) 100%); }
  .hero .hero-content { padding-bottom: 76px; }
  /* en móvil el título entra subiendo, no desde los lados: así nunca se sale de la pantalla al abrir */
  .ht-a, .ht-b { animation-name: heroUp; }
  .ht-a { transform: translateX(calc(var(--p) * -40vw)); }
  .ht-b { transform: translateX(calc(var(--p) * 40vw)); }
  .scroll-cue { display: none; }
  .hero-ctas .btn-ghost { display: none; } /* en móvil la portada solo lleva "Reserva tu cita" */
  .hero + .about { margin-top: -28px; border-radius: 28px 28px 0 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 640px) {
  /* apartados en formato lista: foto pequeña a la izquierda y texto a la derecha */
  .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .cat-card { flex-direction: row; }
  .cat-media { width: 128px; flex-shrink: 0; aspect-ratio: auto; min-height: 128px; }
  .cat-media .post-band { padding: 8px 10px; }
  .cat-media .post-band .k, .cat-media .cat-label .k { font-size: .58rem; letter-spacing: .12em; }
  .cat-media .post-band .t, .cat-media .cat-label .t { font-size: .84rem; }
  .cat-label { padding: 0 8px; }
  .cat-body { padding: 12px 14px; gap: 6px; }
  .cat-desc { font-size: .9rem; }
  .wrap { padding: 0 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .t-card { padding: 26px 22px; }
  .hours-card { padding: 0 22px 20px; }
  .hours-card h3 { margin: 0 -22px 14px; padding: 18px 22px; }
  .hours-row { flex-direction: column; gap: 2px; }
  .hours-row .time { text-align: left; }
  .svc-photos { grid-template-columns: 1fr 1fr; }
  .faq-q { padding: 18px; font-size: 1.04rem; }
  .faq-a p { padding: 0 18px 20px; }
  .footer-logo img { height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-primary::after, .nav-cta::after { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
