/* ==========================================================================
   Kasa Kadosh — hoja de estilos
   Concepto: una casa de arcos. Tres puertas (Alma, Cuerpo, Espíritu) con forma
   de arco recorren todo el sitio: en el inicio, en la cabecera de cada hoja y
   en el logosímbolo. Cada dimensión tiene su propio color tomado de la paleta
   de la estrategia (dorado, verde oliva, marrón noche).
   ========================================================================== */

:root {
  /* Color — tomado del logo: dorado ámbar, verde de hoja, crema y verde casi negro */
  --paper: #f8f5ea;
  --paper-2: #efe9d6;
  --ink: #1e251b;
  --ink-soft: #4b5546;
  --line: #d9d2b8;
  --field: #7d8570;

  --gold: #c08a1e;
  --gold-deep: #7a5200;
  --gold-tint: #f3e3b8;

  --olive: #798c50;
  --olive-deep: #3f5334;
  --olive-tint: #e2e8d0;

  --brown: #5c4630;
  --night: #261d14;
  --night-2: #32271c;
  --brown-tint: #e9e0d0;
  --plum: #5b3a55;
  --plum-tint: #eadde6;

  --on-dark: #f7f2e3;
  --on-dark-soft: #d6d2bd;

  /* Tipografía */
  --f-display: 'Marcellus', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-text: 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-ui: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.125rem;
  --t-lg: 1.375rem;
  --t-xl: clamp(1.7rem, 3.2vw, 2.35rem);
  --t-2xl: clamp(2.1rem, 4.6vw, 3.3rem);
  --t-hero: clamp(2.5rem, 6.2vw, 4.7rem);

  --measure: 40rem;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-md);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }

:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gold); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .7rem 1rem;
  font-family: var(--f-ui); font-weight: 700; border-radius: 4px; text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(3rem, 7vw, 6rem); }
.band--tint { background: var(--paper-2); }
.on-dark { color: var(--on-dark); }
.on-dark .eyebrow { color: var(--gold); }

.eyebrow {
  font-family: var(--f-ui); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0;
}
.h2 {
  font-family: var(--f-display); font-weight: 400; font-size: var(--t-xl);
  line-height: 1.12; margin: 0.6rem 0 1rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 2.9rem; padding: .7rem 1.5rem; border-radius: 999px;
  font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; letter-spacing: .02em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #c6a76f; }
.btn-line { border-color: currentColor; background: transparent; color: inherit; }
.btn-line:hover { background: rgba(127, 128, 97, .14); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Cabecera ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--paper); z-index: 60;
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem; text-decoration: none;
  font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase;
}
.brand .logo { width: 3.2rem; height: 3.2rem; flex: none; border-radius: 50%; }
.nav {
  display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem);
  font-family: var(--f-ui); font-size: .95rem; font-weight: 600;
}
.nav a:not(.btn) {
  text-decoration: none; padding: .45rem 0; border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--gold); }
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--gold-deep); }
.nav .btn { min-height: 2.5rem; padding: .45rem 1.2rem; }
.menu-btn {
  display: none; align-items: center; gap: .5rem; min-height: 2.6rem; padding: .4rem 1rem;
  border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--f-ui); font-weight: 700; font-size: .9rem; cursor: pointer;
}
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1.25rem max(16px, env(safe-area-inset-left, 0px));
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- Inicio: hero y tres puertas ---------- */
.hero {
  padding-block: clamp(2.25rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4.5rem);
  background: radial-gradient(70% 90% at 88% 0%, rgba(243, 227, 184, .75), rgba(243, 227, 184, 0) 70%);
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: end;
}
.hero h1 {
  font-family: var(--f-display); font-weight: 400; font-size: var(--t-hero);
  line-height: 1.04; margin: 1rem 0 1.4rem;
}
.hero h1 span { color: var(--gold-deep); }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); max-width: 34rem; }
.hero .note { font-family: var(--f-ui); font-size: var(--t-sm); color: var(--ink-soft); margin-top: 1.5rem; }

.puertas {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.5rem, 1.4vw, 1rem); align-items: end;
  list-style: none; margin: 0; padding: 0;
}
.puerta {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; gap: .45rem; text-align: center; overflow: hidden;
  padding: 0 clamp(.5rem, 1.6vw, 1.2rem) clamp(.9rem, 2vw, 1.5rem);
  border-radius: 999px 999px 0 0; text-decoration: none; color: var(--on-dark);
  transition: transform .25s ease;
}
.puerta::before {
  content: ""; position: absolute; inset: .55rem .55rem 0; pointer-events: none;
  border: 1px solid currentColor; border-bottom: 0; border-radius: 999px 999px 0 0; opacity: .38;
}
.puerta .glyph { width: 2.1rem; height: 2.1rem; margin-bottom: auto; margin-top: clamp(1.6rem, 6vw, 3rem); flex: none; }
.puerta .nombre { font-family: var(--f-display); font-size: clamp(1.05rem, 2.5vw, 1.65rem); line-height: 1.1; }
.puerta .tag { display: none; }
.puerta .entrar {
  font-family: var(--f-ui); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-top: .35rem;
}
.puerta:hover { transform: translateY(-6px); }
.puerta { background-size: cover; background-position: center; }
.puerta .glyph { filter: drop-shadow(0 1px 3px rgba(20, 14, 8, .55)); }
.puerta .nombre, .puerta .tag, .puerta .entrar { text-shadow: 0 1px 8px rgba(20, 14, 8, .65); }
.puerta--alma {
  background-color: var(--gold); aspect-ratio: 1 / 1.9; background-position: 66% center;
  background-image: linear-gradient(180deg, rgba(192, 138, 30, .62) 0%, rgba(192, 138, 30, 0) 38%, rgba(38, 24, 6, .9) 100%), url(assets/img/alma.webp);
}
.puerta--cuerpo {
  background-color: var(--olive-deep); aspect-ratio: 1 / 1.55; background-position: center 20%;
  background-image: linear-gradient(180deg, rgba(63, 83, 52, .6) 0%, rgba(63, 83, 52, 0) 38%, rgba(22, 32, 16, .92) 100%), url(assets/img/cuerpo.webp);
}
.puerta--espiritu {
  background-color: var(--night); aspect-ratio: 1 / 2.2; background-position: 72% center;
  background-image: linear-gradient(180deg, rgba(38, 29, 20, .55) 0%, rgba(38, 29, 20, 0) 38%, rgba(26, 18, 10, .92) 100%), url(assets/img/espiritu.webp);
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .puerta .tag { display: none; }
  .puerta--alma { aspect-ratio: 1 / 1.7; }
  .puerta--cuerpo { aspect-ratio: 1 / 1.4; }
  .puerta--espiritu { aspect-ratio: 1 / 2; }
}

/* ---------- Quiénes somos ---------- */
.quienes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); }
.quienes blockquote {
  margin: 1.6rem 0 0; font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3;
  color: var(--gold-deep);
}
.quienes .texto p { max-width: var(--measure); }
.quienes .texto strong { font-weight: 600; }
.gloss { font-family: var(--f-ui); font-size: var(--t-sm); color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.6rem; max-width: var(--measure); }
@media (max-width: 800px) { .quienes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tres dimensiones (inicio) ---------- */
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2rem; }
.dim { border-top: 4px solid var(--c, var(--gold)); padding-top: 1.1rem; }
.dim--alma { --c: var(--gold); }
.dim--cuerpo { --c: var(--olive); }
.dim--espiritu { --c: var(--brown); }
.dim h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; margin: 0 0 .25rem; }
.dim .def { font-style: italic; color: var(--ink-soft); margin-bottom: 1rem; }
.dim ul { list-style: none; margin: 0 0 1.2rem; padding: 0; font-family: var(--f-ui); font-size: var(--t-sm); }
.dim li { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.dim .mas { font-family: var(--f-ui); font-weight: 700; font-size: .9rem; text-decoration: none; border-bottom: 2px solid var(--c, var(--gold)); padding-bottom: 2px; }
@media (max-width: 800px) { .dims { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Agenda ---------- */
.agenda-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.agenda { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.evento {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: .75rem 1.5rem; align-items: start;
  padding: 1.3rem 0; border-bottom: 1px solid var(--line);
}
.evento .fecha { font-family: var(--f-display); line-height: 1; }
.evento .dia { display: block; font-size: 2.7rem; }
.evento .mes { display: block; margin-top: .3rem; font-family: var(--f-ui); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.evento h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; margin: 0 0 .25rem; }
.evento .meta { font-family: var(--f-ui); font-size: .9rem; color: var(--ink-soft); margin: 0 0 .4rem; }
.evento p.desc { margin: 0; max-width: 36rem; font-size: 1.02rem; }
.pill {
  font-family: var(--f-ui); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 999px; white-space: nowrap;
}
.pill--alma { background: var(--gold-tint); color: var(--gold-deep); }
.pill--cuerpo { background: var(--olive-tint); color: var(--olive-deep); }
.pill--espiritu { background: var(--brown-tint); color: var(--night); }
.pill--msf { background: var(--plum-tint); color: var(--plum); }
.pill--muestra { background: transparent; border: 1px dashed var(--field); color: var(--ink-soft); }
.agenda-aviso { font-family: var(--f-ui); font-size: var(--t-sm); color: var(--ink-soft); margin: 1rem 0 0; }
@media (max-width: 560px) {
  .evento { grid-template-columns: 4rem minmax(0, 1fr); }
  .evento .dia { font-size: 2.2rem; }
  .evento .pills { grid-column: 2; }
}
.evento .pills { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }

/* ---------- La casa ---------- */
.casa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.casa-arco {
  position: relative; aspect-ratio: 1; max-width: 26rem; width: 100%;
  border-radius: 50%; overflow: hidden; display: grid; place-items: center;
}
.casa-arco .marca { width: 100%; height: 100%; display: block; }
.casa-arco.has-foto {
  aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; background: var(--night-2);
}
.casa-arco.has-foto::before {
  content: ""; position: absolute; inset: .7rem .7rem 0; border: 1px solid var(--gold); border-bottom: 0;
  border-radius: 999px 999px 0 0; opacity: .55; pointer-events: none; z-index: 2;
}
.casa-arco img.foto { width: 100%; height: 100%; object-fit: cover; }
.casa .texto p { max-width: var(--measure); }
@media (max-width: 800px) { .casa { grid-template-columns: minmax(0, 1fr); } .casa-arco { max-width: 20rem; } }

/* ---------- Testimonios (opcional) ---------- */
.testimonios { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.testimonios figure { margin: 0; }
.testimonios blockquote { margin: 0 0 .6rem; font-style: italic; font-size: 1.2rem; line-height: 1.4; }
.testimonios figcaption { font-family: var(--f-ui); font-size: var(--t-sm); color: var(--ink-soft); }

/* ---------- Banda de llamado ---------- */
.llamado { background: var(--night); }
.llamado .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.llamado .h2 { font-size: var(--t-2xl); margin-top: .5rem; }
.llamado p { color: var(--on-dark-soft); max-width: 36rem; }
.llamado .btn-row { justify-content: flex-start; }
@media (max-width: 800px) { .llamado .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hojas (Alma, Cuerpo, Espíritu) ---------- */
.hoja-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hoja-hero--alma { background: var(--gold); color: var(--ink); }
.hoja-hero--cuerpo { background: var(--olive-deep); color: var(--on-dark); }
.hoja-hero--espiritu { background: var(--night); color: var(--on-dark); }
.hoja-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.hoja-hero .eyebrow { color: inherit; opacity: .8; }
.hoja-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.6rem, 13vw, 8.5rem); line-height: .95; margin: .6rem 0 .8rem; }
.hoja-hero .tagline { font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.25; margin: 0 0 1.2rem; max-width: 30rem; }
.hoja-hero .intro { max-width: 36rem; }
.hoja-hero .intro p { margin-bottom: .9em; }
.hoja-hero { padding-bottom: 0; }
.hoja-hero .wrap { align-items: end; }
.hoja-hero .wrap > div:first-child { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hoja-foto {
  position: relative; justify-self: end; align-self: end; width: min(100%, 21rem); aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0; overflow: hidden; background: rgba(0, 0, 0, .15);
}
.hoja-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hoja-foto::after {
  content: ""; position: absolute; inset: .6rem .6rem 0; border: 1px solid rgba(255, 250, 235, .55); border-bottom: 0;
  border-radius: 999px 999px 0 0; pointer-events: none;
}
.hoja-hero--cuerpo .hoja-foto img { object-position: center 25%; }
@media (max-width: 800px) {
  .hoja-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hoja-foto { justify-self: start; width: 13rem; }
}

.ofertas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.oferta {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: .75rem clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.4rem, 3vw, 2.1rem) 0; border-bottom: 1px solid var(--line);
}
.oferta h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.15; margin: 0; }
.oferta .desc p { margin: 0 0 .6em; max-width: var(--measure); }
.oferta .desc p:last-child { margin-bottom: 0; }
.oferta ul { margin: .2rem 0 .9rem 1.1rem; padding: 0; max-width: var(--measure); }
.oferta li { margin-bottom: .3rem; }
.oferta .nota { font-family: var(--f-ui); font-size: var(--t-sm); color: var(--ink-soft); }
@media (max-width: 760px) { .oferta { grid-template-columns: minmax(0, 1fr); } }

.cierre { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.cierre blockquote { margin: 0; font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.28; max-width: 34rem; }
.cierre .pregunta { font-family: var(--f-display); font-size: var(--t-lg); margin: 0 0 1rem; }
@media (max-width: 800px) { .cierre { grid-template-columns: minmax(0, 1fr); } }

.sigue { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.sigue a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-decoration: none;
  padding: 1.2rem 1.4rem; border-radius: 4px; font-family: var(--f-display); font-size: 1.5rem;
}
.sigue a span { font-family: var(--f-ui); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sigue .s-alma { background: var(--gold); color: var(--ink); }
.sigue .s-cuerpo { background: var(--olive-deep); color: var(--on-dark); }
.sigue .s-espiritu { background: var(--night); color: var(--on-dark); }
.sigue a:hover { filter: brightness(1.08); }
@media (max-width: 560px) { .sigue { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Súmate (formulario) ---------- */
.sumate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.sumate h1 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-2xl); line-height: 1.1; margin: .7rem 0 1.2rem; }
.sumate .opciones { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.sumate .cierre-mies { font-style: italic; font-size: 1.3rem; color: var(--gold-deep); margin-top: 1.5rem; }
.contactos { list-style: none; margin: 1.5rem 0 0; padding: 0; font-family: var(--f-ui); font-size: var(--t-sm); }
.contactos li { display: flex; flex-wrap: wrap; gap: .25rem .75rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.contactos .k { font-weight: 700; min-width: 6rem; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; color: var(--ink-soft); padding-top: .1rem; }
.contactos a { word-break: break-word; }
.on-dark .contactos li { border-top-color: rgba(244, 237, 224, .22); }
.on-dark .contactos .k { color: var(--on-dark-soft); }
@media (max-width: 860px) { .sumate { grid-template-columns: minmax(0, 1fr); } }

.panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); }
.form { display: grid; gap: 1.15rem; font-family: var(--f-ui); }
.form .campo { display: grid; gap: .4rem; min-width: 0; }
.form label.lbl, .form legend { font-weight: 700; font-size: .9rem; }
.form .ayuda { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--field); border-radius: 4px;
}
.form textarea { min-height: 7.5rem; resize: vertical; line-height: 1.45; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 1px; border-color: var(--ink); }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .55rem; }
.opts { display: flex; flex-wrap: wrap; gap: .55rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 2.8rem; padding: .5rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--field); background: var(--paper); font-weight: 600; font-size: .95rem;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.choice--block { display: block; }
.choice--block span { display: flex; border-radius: 6px; padding: .8rem 1rem; line-height: 1.35; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; align-items: start; font-size: .88rem; line-height: 1.45; }
.consent input { width: 1.3rem; height: 1.3rem; margin: .1rem 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estado { font-family: var(--f-ui); font-size: .95rem; padding: .9rem 1rem; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); }
.estado--ok { border-color: var(--olive); }
.estado--error { border-color: #8a2f1c; }
.estado strong { display: block; margin-bottom: .2rem; }

/* ---------- Texto legal ---------- */
.legal { max-width: var(--measure); }
.legal h1 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-2xl); margin: .6rem 0 1.2rem; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; margin: 2rem 0 .5rem; }
.legal ul { padding-left: 1.2rem; }
.borrador { font-family: var(--f-ui); font-size: var(--t-sm); background: var(--gold-tint); border: 1px solid var(--gold); padding: .8rem 1rem; border-radius: 4px; }

/* ---------- Apoya la obra (oculto hasta tener la fundación) ---------- */
.apoya[hidden] { display: none !important; }

/* ---------- Pie ---------- */
.site-footer { background: var(--night-2); color: var(--on-dark); padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.site-footer .brand { color: var(--on-dark); }
.site-footer p { color: var(--on-dark-soft); font-size: 1rem; max-width: 24rem; }
.site-footer h2 { font-family: var(--f-ui); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; }
.site-footer ul.links { list-style: none; margin: 0; padding: 0; font-family: var(--f-ui); font-size: var(--t-sm); }
.site-footer ul.links li { padding: .3rem 0; }
.site-footer a { text-underline-offset: 3px; }
.site-footer .fine {
  margin-top: 2.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(244, 237, 224, .2);
  font-family: var(--f-ui); font-size: .82rem; color: var(--on-dark-soft); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 55;
  right: calc(max(16px, env(safe-area-inset-right, 0px)));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .5rem; min-height: 3.1rem; padding: .6rem 1.1rem;
  border-radius: 999px; background: var(--olive-deep); color: var(--on-dark); text-decoration: none;
  font-family: var(--f-ui); font-weight: 700; font-size: .92rem; box-shadow: 0 6px 18px rgba(36, 26, 18, .28);
}
.wa-float svg { width: 1.3rem; height: 1.3rem; }
.wa-float:hover { background: #363826; }

/* ---------- Páginas de la vista previa (una sola página) ---------- */
[data-page][hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .puerta, .btn { transition: none; }
  .puerta:hover { transform: none; }
}

/* Foto de comunidad */
.comunidad { margin: 0; max-width: 62rem; margin-inline: auto; }
.comunidad img { display: block; width: 100%; height: auto; border-radius: 1.25rem; box-shadow: 0 14px 38px rgba(30, 37, 27, .18); }
.comunidad figcaption { font-family: var(--f-ui); font-size: var(--t-sm); color: var(--ink-soft); text-align: center; margin-top: .9rem; }
.note { line-height: 1.6; }

/* ---------- Páginas Eventos y Tienda ---------- */
.pagina-hero { background: var(--night); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.pagina-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-2xl); line-height: 1.1; margin: .6rem 0 1rem; }
.pagina-hero .lead { max-width: 40rem; color: var(--on-dark-soft); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: .45rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none;
  font-family: var(--f-ui); font-weight: 700; font-size: .85rem;
}
.chip:hover, .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pagina-hero .chip { border-color: var(--gold); color: var(--on-dark); }
.pagina-hero .chip:hover { background: var(--gold); color: var(--night); }
.mas-eventos { margin: 1.75rem 0 0; }
.teaser { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 2rem; align-items: center; }
.teaser p { max-width: var(--measure); }
@media (max-width: 700px) { .teaser { grid-template-columns: minmax(0, 1fr); } }

.pasados { display: grid; gap: 2.5rem; margin-top: 1.5rem; }
.pasado { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.25rem 2rem; align-items: start; border-top: 1px solid var(--line); padding-top: 2rem; }
.pasado.sin-fotos { grid-template-columns: minmax(0, 1fr); }
.pasado h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; margin: .6rem 0 .25rem; }
.pasado .meta { font-family: var(--f-ui); font-size: .9rem; color: var(--ink-soft); margin: 0 0 .6rem; }
.pasado .desc { margin: 0; max-width: 36rem; }
.pasado .pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.fotos { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fotos--1 { grid-template-columns: minmax(0, 1fr); }
.foto-btn { padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; border-radius: .6rem; overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.foto-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.foto-btn:hover img { transform: scale(1.03); }
@media (max-width: 800px) { .pasado { grid-template-columns: minmax(0, 1fr); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); overflow: visible; }
.lightbox::backdrop { background: rgba(20, 14, 8, .86); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; margin: auto; border-radius: .5rem; }
.lightbox .lb-close { display: block; margin: .9rem auto 0; background: var(--paper); }

.productos { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.5rem; }
.producto { background: #fffdf6; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; }
.p-foto { aspect-ratio: 1; background: var(--paper-2); display: grid; place-items: center; color: var(--gold-deep); overflow: hidden; }
.p-foto button { padding: 0; border: 0; width: 100%; height: 100%; background: none; cursor: zoom-in; }
.p-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-foto svg { width: 3.5rem; height: 3.5rem; opacity: .55; }
.p-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.p-cat { font-family: var(--f-ui); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0; }
.p-body h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; margin: 0; line-height: 1.2; }
.p-desc { font-size: .98rem; margin: 0; color: var(--ink-soft); }
.p-precio { font-family: var(--f-ui); font-weight: 700; margin: .3rem 0 0; }
.p-acc { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.nota-tienda { font-family: var(--f-ui); font-size: var(--t-sm); color: var(--ink-soft); margin: 2rem 0 0; max-width: 40rem; }

/* ---------- Imágenes de apoyo ---------- */
.quienes-foto { margin-top: 2rem; max-width: 15rem; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; position: relative; }
.quienes-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; display: block; }
.quienes-foto::after { content: ""; position: absolute; inset: .55rem .55rem 0; border: 1px solid rgba(255, 250, 235, .6); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
@media (max-width: 800px) { .quienes-foto { display: none; } }

.llamado { position: relative; overflow: hidden; }
.llamado::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(42%, 30rem); pointer-events: none; opacity: .85;
  background: linear-gradient(90deg, var(--night) 0%, rgba(38, 29, 20, .5) 50%, rgba(38, 29, 20, .1) 100%), url(assets/img/cruz.webp) center 58% / cover;
}
.llamado .wrap { position: relative; z-index: 1; }
@media (max-width: 800px) { .llamado::after { width: 100%; opacity: .3; } }

.pagina-hero { position: relative; overflow: hidden; }
.pagina-hero .wrap { position: relative; z-index: 1; }
.pagina-hero--eventos::after, .pagina-hero--tienda::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(48%, 40rem); pointer-events: none; opacity: .92;
  background-size: cover; background-position: center;
}
.pagina-hero--eventos::after { background-image: linear-gradient(90deg, var(--night) 0%, rgba(38, 29, 20, .5) 40%, rgba(38, 29, 20, .05) 100%), url(assets/img/panoramica.webp); }
.pagina-hero--tienda::after { background-image: linear-gradient(90deg, var(--night) 0%, rgba(38, 29, 20, .5) 40%, rgba(38, 29, 20, .05) 100%), url(assets/img/rosario.webp); }
@media (max-width: 800px) {
  .pagina-hero--eventos::after, .pagina-hero--tienda::after { width: 100%; opacity: .25; }
}

/* ---------- Mujeres Sin Fronteras ---------- */
.msf-band { background: linear-gradient(135deg, #3a2436 0%, var(--night) 70%); }
.msf-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.msf-band p, .pagina-hero--msf .lead { color: var(--on-dark-soft); max-width: 38rem; }
.msf-areas { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1.75rem; padding: 0; }
.msf-areas li { font-family: var(--f-ui); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .9rem; border: 1px solid rgba(192, 138, 30, .7); border-radius: 999px; color: var(--on-dark); }
.btn-line-claro { background: transparent; border: 2px solid var(--on-dark); color: var(--on-dark); }
.btn-line-claro:hover { background: var(--on-dark); color: var(--night); }
.msf-sello {
  justify-self: center; width: min(100%, 16rem); aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #4d3048, #2b1c28); border: 1px solid rgba(192, 138, 30, .65);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; text-align: center; padding: 2rem 1.2rem 1.5rem; color: var(--on-dark);
}
.msf-sello svg { width: 46%; color: var(--gold); margin-bottom: .7rem; }
.msf-sello .anios { font-family: var(--f-display); font-size: 3rem; line-height: 1; }
.msf-sello .anios-t { font-family: var(--f-ui); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.msf-sello .lema { font-style: italic; font-size: .98rem; line-height: 1.3; margin-top: .9rem; max-width: 11rem; }
@media (max-width: 800px) { .msf-grid { grid-template-columns: minmax(0, 1fr); } .msf-sello { justify-self: start; width: 12rem; } }

.msf-destacado { background: var(--plum-tint); border-top: 4px solid var(--plum); padding-block: clamp(2rem, 5vw, 3.5rem); }
.msf-destacado .eyebrow { color: var(--plum); }
.pagina-hero--msf { background: linear-gradient(135deg, #3a2436 0%, var(--night) 75%); }
.msf-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.tagline-msf { font-family: var(--f-display); font-size: var(--t-lg); color: var(--gold); margin: 0 0 1rem; }
.migas { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .msf-hero { grid-template-columns: minmax(0, 1fr); } .msf-hero .msf-sello { justify-self: start; width: 11rem; } }
.mision { border-left: 3px solid var(--plum); padding-left: 1rem; }
.dim--msf { --c: var(--plum); }
.msf-dims { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .msf-dims { grid-template-columns: minmax(0, 1fr); } }
.msf-cta { background: linear-gradient(135deg, #3a2436 0%, var(--night) 75%); }
.msf-cta p { color: var(--on-dark-soft); }
.msf-cta .contactos { margin-top: 1.25rem; }

.msf-hero .btn-row, .msf-band .btn-row { margin-top: 1.5rem; }
.msf-band .msf-areas + .btn-row { margin-top: 0; }
