/* =========================================================
   Quiere-t Estética & Spa — Propuesta de rediseño
   Estética de centro de bienestar: verde salvia, crema y blanco,
   tipografía elegante y espaciada. Sin fotografía (el negocio no
   publica ninguna foto real de su propio centro, ver README) —
   el sistema se apoya en color, forma orgánica y su propio
   logotipo/iconografía de línea en vez de imágenes de stock.
   ========================================================= */

:root {
  /* Marca — verde salvia como base de calma y bienestar */
  --sage-900: #2f3b30;
  --sage-700: #5c7355;
  --sage-500: #86996f;
  --sage-300: #c3cfb4;
  --sage-100: #e7ecdd;
  --sage-050: #f4f6ee;

  /* Acento cálido tomado del logo original (hoja dorada) */
  --gold: #b6924a;
  --gold-light: #d9bd82;

  /* Acento suave tomado del logo original (trazo malva) — uso muy puntual */
  --lavender: #9c86a8;

  /* Neutros — crema, no blanco de "app" */
  --ink: #2b2b24;
  --ink-soft: #6b6a5e;
  --line: #e3e1d3;
  --bg: #fdfcf8;
  --bg-soft: #f6f4ec;
  --cream: #faf7ef;
  --white: #ffffff;

  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 6px 20px rgba(47, 59, 48, .06);
  --shadow: 0 20px 48px rgba(47, 59, 48, .10);
  --shadow-lg: 0 30px 70px rgba(47, 59, 48, .16);

  --maxw: 1160px;
  --ease: cubic-bezier(.19, 1, .22, 1);

  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 500; letter-spacing: -.01em; color: var(--sage-900); }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* Eyebrow: versalita fina con línea dorada, sin píldora de color */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 500; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage-700);
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

.section { padding: clamp(60px, 9vw, 116px) 0; }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 16px 0 16px; font-weight: 500; }
.section-head h2 em { font-style: italic; color: var(--sage-700); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; font-weight: 300; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: .96rem;
  letter-spacing: .03em;
  padding: 15px 30px; border-radius: var(--radius-pill);
  cursor: pointer; border: 1.5px solid transparent;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage-700); color: #fff; }
.btn-primary:hover { background: var(--sage-900); }
.btn-wa { background: transparent; color: var(--sage-900); border-color: var(--line); }
.btn-wa:hover { border-color: #25D366; color: #1a8f47; }
.btn-ghost { background: transparent; color: var(--sage-900); border-color: var(--sage-300); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 22px 0; transition: padding .35s var(--ease), background .35s, box-shadow .35s;
}
.header.scrolled { background: rgba(253,252,248,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(47,59,48,.08); padding: 13px 0; }

/* La barra de marca + hamburguesa queda siempre por encima del panel
   desplegable (aunque esté abierto), si no el botón para cerrarlo queda tapado. */
.header .nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--sage-900); }
.brand img { width: 42px; height: 42px; display: block; }
.brand b { font-weight: 600; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 34px; font-weight: 400; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; }
.nav-links > a { transition: color .2s; position: relative; color: var(--ink); }
.nav-links > a:hover { color: var(--sage-700); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; position: relative; background: none; border: 0; width: 28px; height: 28px; cursor: pointer; color: var(--sage-900); }
.burger svg { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; transition: opacity .2s; }
.burger .icon-close { opacity: 0; }
.header.menu-open .burger .icon-menu { opacity: 0; }
.header.menu-open .burger .icon-close { opacity: 1; }

/* El panel exterior es el que anima max-height: SIN padding propio (el padding
   no se comprime por debajo de max-height y dejaría una barra visible tapando
   la cabecera incluso "cerrado"). El padding real vive en .mobile-menu-inner.
   z-index por debajo de .header .nav (5) para que la marca y la hamburguesa
   (que también cierra el menú) queden siempre visibles y pulsables encima. */
.mobile-menu {
  display: none;
  position: fixed; left: 0; right: 0; top: 0; z-index: 2;
  background: var(--cream); box-shadow: var(--shadow-lg);
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.mobile-menu.open { max-height: 100vh; overflow-y: auto; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 2px; padding: 96px 26px 26px; }
.mm-link { padding: 15px 6px; border-bottom: 1px solid var(--line); font-weight: 400; color: var(--sage-900); text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; }
.mm-cta { justify-content: center; margin-top: 18px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; }
}

/* ---------- Hero (sin fotografía: gradiente orgánico + marca) ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 150px 0 80px;
  background:
    radial-gradient(58% 68% at 82% 8%, rgba(182,146,74,.16), transparent 60%),
    radial-gradient(70% 70% at 12% 96%, rgba(92,115,85,.18), transparent 60%),
    linear-gradient(175deg, var(--sage-050) 0%, var(--cream) 55%, var(--bg) 100%);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; opacity: .5; filter: blur(2px);
}
.hero::before { width: 340px; height: 340px; right: -90px; top: 90px; background: radial-gradient(circle, var(--sage-100), transparent 70%); }
.hero::after { width: 420px; height: 420px; left: -140px; bottom: -160px; background: radial-gradient(circle, var(--gold-light), transparent 70%); opacity: .25; }
.hero-inner { position: relative; z-index: 1; max-width: 660px; }
.hero-mark { width: 64px; height: 64px; margin-bottom: 26px; opacity: .92; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin: 6px 0 20px; font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--sage-700); font-weight: 500; }
.hero .lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 32px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--ink-soft); font-size: .88rem; letter-spacing: .02em; }
.hero-trust b { font-family: var(--font-display); color: var(--sage-900); font-size: 1.15rem; font-weight: 600; }
.hero-trust .div { width: 1px; height: 22px; background: var(--line); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Nosotros (texto + panel de marca, sin foto) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-panel {
  border-radius: var(--radius-lg); aspect-ratio: 4/5; position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--sage-700), var(--sage-900));
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.about-panel::before, .about-panel::after {
  content: ''; position: absolute; border-radius: 50%;
}
.about-panel::before { width: 60%; height: 60%; background: radial-gradient(circle, rgba(217,189,130,.28), transparent 70%); top: -12%; right: -18%; }
.about-panel::after { width: 55%; height: 55%; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); bottom: -16%; left: -12%; }
.about-panel img { position: relative; z-index: 1; width: 46%; filter: brightness(0) invert(1); opacity: .95; }
.about-text .section-head { margin-bottom: 28px; }
.about-text > p { color: var(--ink-soft); margin-bottom: 24px; font-size: 1.02rem; font-weight: 300; }
.trait-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.trait { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.trait .ico { width: 30px; height: 30px; flex-shrink: 0; color: var(--gold); }
.trait h4 { font-size: 1.02rem; margin-bottom: 4px; font-weight: 600; }
.trait p { color: var(--ink-soft); font-size: .92rem; font-weight: 300; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } .about-panel { aspect-ratio: 16/9; } }

.zones { background: var(--bg-soft); }

/* Grid genérico reutilizado por valor.html (tarjetas de "mejoras") */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }

/* ---------- Servicios (categorías con icono propio) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sage-300); }
.cat-card .ico {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--sage-050); display: grid; place-items: center; color: var(--sage-700);
}
.cat-card .ico svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 1.18rem; margin-bottom: 8px; font-weight: 600; }
.cat-card p { color: var(--ink-soft); font-size: .92rem; font-weight: 300; }

/* ---------- Tratamientos: carta de servicios, estilo elegante ---------- */
.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.menu-category { margin-bottom: 40px; break-inside: avoid; }
.menu-category h3 {
  font-family: var(--font-body); font-size: .86rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600;
  color: var(--sage-700); padding-bottom: 12px; border-bottom: 1px solid var(--gold); margin-bottom: 4px;
}
.menu-list { list-style: none; }
.menu-item { display: flex; align-items: baseline; gap: 8px; padding: 13px 0; border-bottom: 1px dotted var(--line); }
.menu-item .name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.04rem; }
.menu-item .name small { display: block; font-family: var(--font-body); font-weight: 300; color: var(--ink-soft); font-size: .82rem; margin-top: 2px; letter-spacing: 0; text-transform: none; }
.menu-item .leader { flex: 1; border-bottom: 1px dotted var(--line); margin-bottom: 5px; min-width: 16px; }
.menu-item .price { font-family: var(--font-body); font-weight: 500; letter-spacing: .04em; color: var(--sage-700); white-space: nowrap; font-size: .82rem; text-transform: uppercase; }
@media (max-width: 820px) { .menu-cols { grid-template-columns: 1fr; } }

.menu-note {
  background: var(--bg-soft); border-left: 3px solid var(--gold);
  padding: 18px 24px; margin-top: 18px; color: var(--ink-soft); font-size: .92rem; font-weight: 300;
}
.menu-note b { color: var(--sage-700); }

/* ---------- Masajes / Spa: tarjetas cálidas ---------- */
.spa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.spa-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; position: relative; overflow: hidden;
}
.spa-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--sage-500), var(--gold-light)); }
.spa-card h4 { font-size: 1.12rem; margin-bottom: 10px; font-weight: 600; }
.spa-card p { color: var(--ink-soft); font-size: .92rem; font-weight: 300; }

/* ---------- Terapias naturales ---------- */
.natural-panel {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
  background: linear-gradient(120deg, var(--sage-050), var(--cream));
  border: 1px solid var(--sage-100); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
}
.natural-panel .ico { width: 74px; height: 74px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--sage-700); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.natural-panel .ico svg { width: 34px; height: 34px; }
.natural-panel h3 { font-size: 1.4rem; margin-bottom: 8px; }
.natural-panel p { color: var(--ink-soft); font-size: .98rem; font-weight: 300; }
.natural-panel .days { display: inline-block; margin-top: 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
@media (max-width: 620px) { .natural-panel { grid-template-columns: 1fr; text-align: center; } .natural-panel .ico { margin: 0 auto; } }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(155deg, var(--sage-700), var(--sage-900)); border-radius: var(--radius-lg); padding: clamp(38px, 6vw, 60px); position: relative; overflow: hidden; }
.stats::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -80px; bottom: -120px; background: radial-gradient(circle, rgba(217,189,130,.18), transparent 70%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; position: relative; }
.stat { border-right: 1px solid rgba(255,255,255,.14); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; color: var(--gold-light); }
.stat .lbl { margin-top: 10px; color: rgba(255,255,255,.78); font-size: .88rem; font-weight: 300; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 18px; } }

/* ---------- Info práctica ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.info-item { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-item h4 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; }
.info-item p { color: var(--ink-soft); font-size: .9rem; font-weight: 300; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: stretch; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
}
.contact-card .eyebrow { margin-bottom: 16px; }
.contact-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.contact-card > p { color: var(--ink-soft); margin-bottom: 26px; font-weight: 300; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; }
.contact-line .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--sage-050); display: grid; place-items: center; color: var(--sage-700); flex-shrink: 0; }
.contact-line .ico svg { width: 19px; height: 19px; }
.contact-line small { display: block; color: var(--ink-soft); font-size: .8rem; }
.contact-line b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.contact-actions { display: flex; gap: 12px; margin: 26px 0 22px; flex-wrap: wrap; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--sage-700); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--sage-700); color: #fff; border-color: var(--sage-700); }
.socials svg { width: 17px; height: 17px; }

.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; filter: saturate(.82); }
.map-card iframe { width: 100%; height: 100%; border: 0; min-height: 340px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-box {
  background: linear-gradient(155deg, var(--sage-700), var(--sage-900));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(46px, 7vw, 80px) 24px; position: relative; overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; left: -80px; top: -100px; background: radial-gradient(circle, rgba(217,189,130,.2), transparent 70%); }
.cta-box .eyebrow { justify-content: center; color: rgba(255,255,255,.82); }
.cta-box .eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--gold-light); }
.cta-box h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); margin: 16px 0 14px; }
.cta-box h2 em { color: var(--gold-light); }
.cta-box p { font-size: 1.05rem; opacity: .86; max-width: 48ch; margin: 0 auto 30px; font-weight: 300; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-box .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.68); padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand img { filter: brightness(0) invert(1); }
.footer .brand b { color: var(--gold-light); }
.footer p { font-size: .92rem; opacity: .78; max-width: 34ch; font-weight: 300; }
.footer h5 { color: #fff; font-family: var(--font-body); font-size: .84rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: .92rem; opacity: .82; transition: opacity .2s, color .2s; }
.footer ul a:hover { opacity: 1; color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; opacity: .68; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Llamar flotante ---------- */
/* Botón de llamada directa, no WhatsApp: el negocio no publica número de
   WhatsApp Business en ningún canal verificado (ver config.js), así que el
   CTA persistente debe ser "llamar" (tel:), el único canal 100% verificado. */
.call-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--sage-700); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  border: 1.5px solid rgba(255,255,255,.25); transition: transform .3s var(--ease), background .3s;
}
.call-float:hover { transform: scale(1.07); background: var(--sage-900); }
.call-float svg { width: 25px; height: 25px; }

/* ---------- Responsive general ---------- */
@media (max-width: 720px) {
  .hero { padding-top: 118px; min-height: auto; padding-bottom: 60px; }
  .stats-grid { text-align: left; }
}
