/* ============================================================
   Menta Beauty Place — Retiro · demo de renovación (heaptech)
   Paleta 60-30-10: crema 60 / tinta 30 / menta 10
   Tipografía: Playfair Display (display) + Manrope (texto)
   ============================================================ */
:root {
  --crema: #f7f4ee;
  --blanco: #ffffff;
  --tinta: #1d1d1b;
  --tinta-suave: #4b4a45;
  --menta-100: #e9f3ee;
  --menta-300: #9ad6c3;
  --menta-600: #1f6b57;
  --oscuro: #16211c;
  --hueso: #ede9e0;
  --radio: 14px;
  --sombra: 0 14px 40px rgba(29, 29, 27, .10);
  --ff-display: "Playfair Display", Georgia, serif;
  --ff-texto: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --w-contenido: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .parallax img, .cta-fija, * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  margin: 0;
  font-family: var(--ff-texto);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tinta);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--menta-600); }
a:hover { color: var(--tinta); }
:focus-visible { outline: 3px solid var(--menta-600); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .display { font-family: var(--ff-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.2vw + 1rem, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 2.6vw + .8rem, 3rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }

p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, .6vw + 1rem, 1.3rem); color: var(--tinta-suave); }

.contenedor { width: min(var(--w-contenido), 92%); margin-inline: auto; }
.saltar {
  position: absolute; left: -999px; top: 0; background: var(--blanco); color: var(--tinta);
  padding: .6rem 1rem; z-index: 100;
}
.saltar:focus { left: .5rem; top: .5rem; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--ff-texto); font-weight: 700; font-size: 1rem;
  padding: .9em 1.6em; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; min-height: 48px;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solido { background: var(--tinta); color: var(--blanco); }
.btn-solido:hover { background: var(--menta-600); color: var(--blanco); }
.btn-menta { background: var(--menta-600); color: var(--blanco); }
.btn-menta:hover { background: var(--tinta); color: var(--blanco); }
.btn-borde { border-color: currentColor; color: inherit; background: transparent; }
.btn-borde:hover { background: var(--tinta); border-color: var(--tinta); color: var(--blanco); }
.btn-blaco { background: var(--blanco); color: var(--tinta); }
.btn-blaco:hover { background: var(--menta-100); color: var(--tinta); }

/* ---------- cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(29, 29, 27, .08);
}
.cabecera-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.logo img { height: 42px; width: auto; }
.logo { display: inline-flex; align-items: center; }

.nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--tinta); font-weight: 600; font-size: .98rem; padding: .4em 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--menta-600); box-shadow: 0 2px 0 var(--menta-300); }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-cta .tel { font-weight: 700; text-decoration: none; white-space: nowrap; }

.btn-menu {
  display: none; background: none; border: 2px solid var(--tinta); border-radius: 10px;
  padding: .45rem .6rem; min-width: 48px; min-height: 48px; cursor: pointer;
}
.btn-menu svg { display: block; }

@media (max-width: 860px) {
  .btn-menu { display: block; }
  .nav-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; background: var(--crema);
    display: none; padding: 1.2rem 4% 1.6rem; border-bottom: 1px solid rgba(29,29,27,.1);
    box-shadow: var(--sombra);
  }
  .nav.abierta { display: block; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a { display: block; padding: .8em .4em; font-size: 1.1rem; }
}

/* ---------- hero ---------- */
.hero { background: var(--menta-100); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; min-height: min(86vh, 780px);
}
.hero-texto {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.2rem, 4vw, 4.5rem);
}
.hero-kicker {
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  font-size: .8rem; color: var(--menta-600); margin-bottom: 1.1rem;
  display: inline-flex; align-items: center; gap: .7em;
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--menta-600); }
.hero h1 em { font-style: italic; color: var(--menta-600); }
.hero-sub { max-width: 34ch; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-datos { margin-top: 2.2rem; font-size: .92rem; color: var(--tinta-suave); display: flex; flex-wrap: wrap; gap: .4em 1.6em; }
.hero-datos a { color: var(--tinta-suave); font-weight: 600; text-decoration: none; }
.hero-datos a:hover { color: var(--menta-600); }

.hero-foto { position: relative; overflow: hidden; }
.hero-foto .principal { width: 100%; height: 100%; object-fit: cover; }
.hero-foto figcaption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2;
  background: rgba(22, 33, 28, .82); color: var(--hueso);
  font-size: .82rem; padding: .5em .9em; border-radius: 8px; max-width: 30ch;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-foto { order: -1; height: 46vh; }
  .hero-foto .principal { height: 46vh; }
}

/* ---------- bandas ---------- */
.banda { padding: clamp(3.2rem, 7vw, 6.5rem) 0; }
.banda-crema { background: var(--crema); }
.banda-blanca { background: var(--blanco); }
.banda-menta { background: var(--menta-100); }
.banda-oscura { background: var(--oscuro); color: var(--hueso); }
.banda-oscura h2, .banda-oscura h3 { color: var(--blanco); }
.banda-oscura a { color: var(--menta-300); }
.banda-oscura .btn-blaco { color: var(--tinta); }
.cabecera-seccion { max-width: 62ch; margin-bottom: 2.6rem; }
.cabecera-seccion p { color: var(--tinta-suave); }
.banda-oscura .cabecera-seccion p { color: #b9c4bd; }

.numero {
  font-family: var(--ff-display); font-style: italic; font-size: 1.1rem;
  color: var(--menta-600); letter-spacing: .06em; display: block; margin-bottom: .6rem;
}
.banda-oscura .numero { color: var(--menta-300); }

/* bandas verticales alternas texto/foto */
.banda-vertical {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  width: 100%;
}
.banda-vertical .media { position: relative; min-height: 420px; overflow: hidden; }
.banda-vertical .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banda-vertical .texto {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.2rem, 4vw, 4rem);
}
.banda-vertical:nth-of-type(even) .media { order: 2; }
.banda-vertical:nth-of-type(even) .texto { order: 1; }
.banda-vertical .texto ul { margin: 0 0 1.4em; padding-left: 1.1em; }
.banda-vertical .texto li { margin-bottom: .45em; }
.banda-vertical .texto li::marker { color: var(--menta-600); }
.banda-oscura .banda-vertical .texto li::marker { color: var(--menta-300); }
@media (max-width: 860px) {
  .banda-vertical { grid-template-columns: 1fr; }
  .banda-vertical .media { min-height: 260px; order: 0 !important; }
  .banda-vertical .texto { order: 1 !important; }
}

/* lista completa de servicios (página servicios) */
.familia ul { list-style: none; padding: 0; margin: 0 0 1.6em; columns: 2; column-gap: 2.5rem; }
.familia ul li { break-inside: avoid; padding: .45em 0 .45em 1.6em; position: relative; border-bottom: 1px dashed rgba(29,29,27,.12); }
.familia ul li::before { content: "✦"; position: absolute; left: 0; color: var(--menta-600); font-size: .8em; top: .75em; }
@media (max-width: 700px) { .familia ul { columns: 1; } }

/* ---------- sellos ---------- */
.sellos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(29,29,27,.08); }
.sello { background: var(--blanco); padding: 1.6rem 1.4rem; }
.sello strong { display: block; font-size: 1.02rem; margin-bottom: .25em; }
.sello span { font-size: .9rem; color: var(--tinta-suave); }
@media (max-width: 860px) { .sellos { grid-template-columns: 1fr 1fr; } }

/* ---------- reseñas ---------- */
.reseñas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 860px) {
  .reseñas {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    padding-bottom: .6rem; margin-inline: -4%; padding-inline: 4%;
  }
  .reseñas > article { scroll-snap-align: start; flex: 0 0 84%; }
}
.reseña {
  background: var(--blanco); border-radius: var(--radio); padding: 1.7rem;
  box-shadow: var(--sombra); display: flex; flex-direction: column; gap: .6rem;
}
.reseña .estrellas { color: var(--menta-600); letter-spacing: .12em; font-size: .95rem; }
.reseña blockquote { margin: 0; font-size: 1.02rem; }
.reseña figcaption { font-size: .9rem; color: var(--tinta-suave); }
.reseña figcaption strong { color: var(--tinta); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid rgba(29,29,27,.12); }
.faq summary {
  cursor: pointer; padding: 1.1em .2em; font-weight: 700; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ff-display); font-size: 1.5rem; color: var(--menta-600); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .respuesta { padding: 0 .2em 1.3em; color: var(--tinta-suave); max-width: 70ch; }

/* ---------- CTA banda final ---------- */
.cta-final { background: var(--menta-100); text-align: center; }
.cta-final h2 { max-width: 22ch; margin-inline: auto; }
.cta-final p { max-width: 52ch; margin-inline: auto; color: var(--tinta-suave); }
.cta-final .hero-acciones { justify-content: center; }

/* ---------- contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contacto-grid { grid-template-columns: 1fr; } }
.datos-contacto { list-style: none; margin: 1.6rem 0; padding: 0; display: grid; gap: 1.15rem; }
.datos-contacto li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .4rem .9rem; align-items: start; }
.datos-contacto svg { width: 1.5rem; height: 1.5rem; color: var(--menta-600); margin-top: .15rem; }
.datos-contacto strong { display: block; }
.datos-contacto a { text-decoration: none; font-weight: 600; }

.formulario {
  background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.campo { margin-bottom: 1.1rem; }
.campo label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35em; }
.campo .ayuda { font-weight: 400; color: var(--tinta-suave); font-size: .88rem; }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; color: var(--tinta);
  padding: .8em 1em; border: 1.5px solid rgba(29,29,27,.22); border-radius: 10px;
  background: var(--crema); min-height: 48px;
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: 3px solid var(--menta-300); border-color: var(--menta-600);
}
.campo-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .campo-fila { grid-template-columns: 1fr; } }
.form-nota { font-size: .85rem; color: var(--tinta-suave); margin-top: .9em; margin-bottom: 0; }
.form-ok {
  display: none; margin-top: 1rem; background: var(--menta-100); border: 1.5px solid var(--menta-600);
  color: var(--tinta); border-radius: 10px; padding: 1em 1.2em; font-weight: 600;
}
.form-ok.visible { display: block; }

/* ---------- pie ---------- */
.pie { background: var(--oscuro); color: var(--hueso); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.pie-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 860px) { .pie-grid { grid-template-columns: 1fr; gap: 1.8rem; } }
.pie .logo img { filter: invert(1); height: 38px; }
.pie h3 { font-size: 1.05rem; letter-spacing: .04em; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pie a { color: var(--hueso); text-decoration: none; }
.pie a:hover { color: var(--menta-300); }
.pie address { font-style: normal; line-height: 1.7; }
.pie-fina {
  border-top: 1px solid rgba(237, 233, 224, .16); margin-top: 2.4rem; padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .4em 1.6em; justify-content: space-between;
  font-size: .85rem; color: #9fb0a7;
}
body { padding-bottom: 0; }

/* ---------- barra CTA fija (móvil) ---------- */
.cta-fija {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(29, 29, 27, .92); backdrop-filter: blur(6px);
  padding: .55rem 3vw calc(.55rem + env(safe-area-inset-bottom, 0px));
}
.cta-fija a {
  text-align: center; font-weight: 700; text-decoration: none; min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; border-radius: 10px;
}
.cta-fija .llamar { color: var(--blanco); border: 2px solid rgba(255,255,255,.5); }
.cta-fija .reservar { background: var(--menta-600); color: var(--blanco); }
@media (max-width: 640px) { .cta-fija { display: grid; } body { padding-bottom: 76px; } }

/* ---------- animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* parallax muy suave en imágenes de banda (progresivo) */
@supports (animation-timeline: view()) {
  .parallax img { animation: par linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  @keyframes par { from { transform: scale(1.09); } to { transform: scale(1); } }
  @media (prefers-reduced-motion: reduce) { .parallax img { animation: none; } }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .familia ul { columns: 1; }
}
