/* Casa Kali — "el círculo": en esta casa todo pasa sentado en rueda alrededor de un altar.
   La foto de la portada va recortada en círculo y detrás corre la flor de la vida de alambre que
   cuelga en su muro. Materiales: muros blancos, tapetes verde salvia, el verde bosque y el loto
   dorado de su logotipo. */
:root {
  --papel:     #fbfaf6;   /* fondo general (muros) */
  --tapete:    #dce6da;   /* verde salvia de los tapetes: paneles */
  --tapete-2:  #eef3ec;   /* tapete aclarado: fondos alternos */
  --bosque:    #24402f;   /* logotipo: títulos, barra, pie */
  --tinta:     #1f2a22;   /* texto */
  --gris:      #4f5a52;   /* texto secundario */
  --oro:       #b08d57;   /* loto y trazos (solo decorativo) */
  --oro-texto: #76592a;   /* oro oscurecido que sí pasa contraste como texto */
  --oro-claro: #d8b878;   /* oro sobre el verde bosque */
  --wa:        #0f7a6e;   /* verde oscuro de WhatsApp (el claro no pasa contraste) */
  --linea:     rgba(36, 64, 47, .16);
  --display: 'Marcellus', 'Trajan Pro', 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(--papel); color: var(--tinta);
  font-family: var(--cuerpo); font-size: 1.0625rem; line-height: 1.62;
}
img, video { max-width: 100%; display: block; }
a { color: var(--bosque); }
a[href^="tel:"] { white-space: nowrap; }
a:focus-visible, label:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid var(--oro-texto); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; color: var(--bosque); }
h2 { font-size: clamp(1.95rem, 5.8vw, 2.9rem); letter-spacing: .01em; }
h3 { font-size: 1.28rem; }
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(--bosque); border-bottom: 1px solid var(--oro); }
.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, 250, 246, .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: .55rem; text-decoration: none; color: var(--bosque); margin-right: auto; min-width: 0; }
.marca img { width: 40px; height: 40px; object-fit: contain; flex: none; mix-blend-mode: multiply; }
.marca span { font-family: var(--display); font-size: 1.2rem; line-height: 1.1; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.nav-escritorio { display: none; }
.barra-cta { background: var(--bosque); color: var(--papel); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem 1.1rem; border-radius: 999px; flex: none; }
.barra-cta:hover { background: #17301f; }
.nav-boton { display: grid; gap: 5px; padding: .6rem .35rem; cursor: pointer; flex: none; }
.nav-boton span { display: block; width: 24px; height: 2px; background: var(--bosque); 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(--bosque); 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(--oro-texto); border-radius: 6px; }
@media (max-width: 359px) { .marca span { font-size: 1rem; letter-spacing: .12em; } .barra-cta { padding: .45rem .75rem; font-size: .88rem; } .barra { gap: .5rem; padding: .5rem .9rem; } }
@media (min-width: 1120px) {
  .nav-escritorio { display: flex; gap: 1.1rem; flex: none; }
  .nav-escritorio a { color: var(--bosque); text-decoration: none; font-weight: 500; font-size: .94rem; white-space: nowrap; }
  .nav-escritorio a:hover { color: var(--oro-texto); text-decoration: underline; text-underline-offset: 5px; }
  .nav-boton, .nav-movil, .nav-check { 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: panel de tapete + la foto del salón en círculo ── */
.portada { background: var(--tapete); padding: 2.2rem 0 3rem; overflow: hidden; }
.portada-grid { display: grid; gap: 2.4rem; align-items: center; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-texto); margin-bottom: .9rem; }
.portada h1 { font-size: clamp(2.15rem, 8vw, 3.7rem); line-height: 1.08; letter-spacing: .005em; }
.bajada { font-size: 1.1rem; max-width: 34rem; color: var(--tinta); }
.portada-acciones { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; margin-top: 1.3rem; }
.portada-tel { color: var(--tinta); text-decoration: none; font-size: .98rem; margin-left: .3rem; }
.portada-tel strong { color: var(--bosque); border-bottom: 1px solid var(--oro-texto); font-weight: 700; }

/* La firma: el círculo del salón dentro de la flor de la vida del muro */
.circulo { position: relative; justify-self: center; width: min(66vw, 280px); aspect-ratio: 1; }
.circulo .flor { position: absolute; inset: -32%; width: 164%; height: 164%; color: var(--oro-texto); opacity: .55; pointer-events: none; }
.circulo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  outline: 1.5px solid var(--oro-texto); outline-offset: 7px; box-shadow: 0 22px 44px -22px rgba(31, 42, 34, .55); }
@media (min-width: 860px) {
  .portada { padding: 4rem 0 4.6rem; }
  .portada-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .circulo { width: min(100%, 360px); }
}
@media (prefers-reduced-motion: no-preference) {
  .circulo .flor { animation: girar 120s linear infinite; }
  @keyframes girar { to { transform: rotate(360deg); } }
}

/* ── Secciones ────────────────────────────────────────────── */
.seccion { padding: 3.8rem 0; }
.encabezado p { color: var(--gris); max-width: 38rem; }
.prosa p { max-width: 38rem; }
.loto { width: 56px; height: auto; margin-bottom: .6rem; mix-blend-mode: multiply; }

.sobre-grid { display: grid; gap: 2.2rem; align-items: start; }
.detalle { margin-top: 1.4rem; padding: 1.1rem 1.2rem; border: 1px solid var(--linea); background: var(--tapete-2); border-radius: 14px; }
.detalle h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.detalle p:last-child { margin-bottom: 0; }
.sobre-foto img { width: 100%; height: auto; aspect-ratio: 1 / 1.02; object-fit: cover; border-radius: 50% 50% 16px 16px / 36% 36% 16px 16px; }
@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: 1; object-fit: cover; border-radius: 12px; background: var(--tapete); }
.rejilla figcaption { font-size: .84rem; color: var(--gris); padding: .35rem .15rem 0; line-height: 1.35; }
.rejilla-video video { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--bosque); }
.galeria-mas { margin-top: 1.4rem; color: var(--gris); }
@media (min-width: 700px) { .rejilla { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.rejilla li:first-child { grid-column: span 2; }
.rejilla li:first-child img { aspect-ratio: 2 / 1; }

/* Servicios: encabezado (con foto opcional) y lista a renglones */
.servicios-grid { display: grid; gap: 1.4rem; }
.serv-foto img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 999px; margin-top: 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-nombre { font-size: 1.3rem; line-height: 1.25; margin: 0; }
.serv-precio { font-weight: 700; color: var(--oro-texto); margin: .2rem 0 0; }
.serv-desc { margin: .25rem 0 0; color: var(--gris); }
.nota-precios { margin-top: 1.2rem; font-size: .95rem; color: var(--gris); }
.servicios.seccion-alt { background: var(--tapete-2); }
@media (min-width: 860px) { .servicios-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; } .servicios.con-foto .servicios-grid > :first-child { position: sticky; top: 6.5rem; align-self: start; } }

.resenas { background: var(--tapete); }
.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(--bosque); }
.calif-det { color: var(--gris); line-height: 1.4; }
.estrellas { color: var(--oro-texto); letter-spacing: .1em; display: block; }
.resenas-lista { display: grid; gap: 1rem; }
.resena { margin: 0; padding: 1.25rem 1.35rem; background: var(--papel); border-radius: 16px; border: 1px solid var(--linea); }
.resena p { margin: .4rem 0 0; font-family: var(--display); font-size: 1.2rem; line-height: 1.45; color: var(--bosque); }
@media (min-width: 760px) { .resenas-lista { grid-template-columns: repeat(3, 1fr); } }

/* Contacto */
.contacto-grid { display: grid; gap: 2rem; }
.contacto-intro { color: var(--gris); max-width: 32rem; }
.ficha { margin: 0; display: grid; gap: 1.1rem; background: var(--tapete-2); border: 1px solid var(--linea); border-radius: 18px; padding: 1.35rem; }
.ficha dt { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-texto); margin-bottom: .2rem; }
.ficha dd { margin: 0; }
.ficha a { color: var(--bosque); 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; white-space: nowrap; }
@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(--bosque); color: var(--papel); }
.redes-fila a:hover { background: #17301f; }
.redes-fila svg { width: 22px; height: 22px; }

/* ── Pie ──────────────────────────────────────────────────── */
.pie { background: var(--bosque); color: #e6ece4; padding: 2.6rem 0 1.2rem; font-size: .95rem; }
.pie-grid { display: grid; gap: 1.4rem; align-items: center; }
.pie-logo { width: 72px; height: 72px; background: var(--papel); border-radius: 50%; padding: 8px; }
.pie-nombre { font-family: var(--display); font-size: 1.5rem; letter-spacing: .18em; text-transform: uppercase; color: var(--oro-claro); margin-bottom: .4rem; }
.pie p { margin: 0 0 .35rem; }
.pie a { color: #f3eee2; }
.pie .redes-fila { margin-top: .9rem; }
.pie .redes-fila a { background: var(--papel); color: var(--bosque); }
.pie .redes-fila a:hover { background: var(--tapete); }
.pie .credito { text-align: center; font-size: .82rem; color: #c9d3c7; margin: 2rem 1.25rem 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 760px) { .pie-grid { grid-template-columns: auto 1fr; gap: 2rem; } }
@media (max-width: 759px) { .pie { padding-bottom: 5.5rem; } }

/* ── 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; } }
