/* =========================================================
   Lechería Los Héroes Puebla · Leche para el Bienestar
   Paleta basada en los colores institucionales:
   guinda (logotipo), dorado/ocre ("para el bienestar"),
   arena (infografías), rojo y gris (módulo de la lechería)
   ========================================================= */
:root {
  --guinda: #6A1B3A;
  --guinda-700: #561530;
  --guinda-900: #3E0E22;
  --guinda-100: #F5E6EB;
  --dorado: #A5802F;
  --dorado-300: #C9A55A;
  --arena: #E8D5A3;
  --crema: #FBF5E8;
  --rojo: #B3262C;
  --gris: #8C8E90;
  --tinta: #2A1A20;
  --texto: #43343A;
  --muted: #6E6066;
  --blanco: #FFFFFF;
  --linea: #E7DCCB;
  --verde-wa: #1F9D55;

  --radio: 18px;
  --radio-sm: 12px;
  --sombra: 0 10px 30px -12px rgba(62, 14, 34, .28);
  --sombra-sm: 0 4px 14px -6px rgba(62, 14, 34, .22);
  --serif: "Bree Serif", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
  color-scheme: light;
}

html.letra-grande { font-size: 118%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--guinda); font-weight: 600; text-underline-offset: 3px; }
a:hover { color: var(--rojo); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--guinda); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
b, strong { color: var(--tinta); font-weight: 700; }
:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--guinda); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .75em 1.4em; border-radius: 999px;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, background-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--guinda); color: #fff; box-shadow: var(--sombra-sm); }
.btn--primary:hover { background: var(--guinda-700); color: #fff; }
.btn--gold { background: var(--arena); color: var(--guinda-900); }
.btn--gold:hover { background: #F1E2B9; color: var(--guinda-900); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--wa { background: var(--verde-wa); color: #fff; }
.btn--wa:hover { background: #188046; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }
.btn-link { background: none; border: 0; padding: 8px 0; font: 600 .95rem var(--sans); color: var(--muted); text-decoration: underline; cursor: pointer; }

/* ---------- Encabezado ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 3px solid var(--dorado);
  transition: box-shadow .2s;
}
.topbar.is-scrolled { box-shadow: 0 6px 20px -12px rgba(62,14,34,.45); }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { flex: none; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: block; padding: 10px 11px; border-radius: 10px;
  color: var(--tinta); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.nav a:hover { background: var(--guinda-100); color: var(--guinda); }
.nav a.is-active { background: var(--guinda); color: #fff; }
.topbar__tools { display: flex; align-items: center; gap: 8px; }
.btn-text, .btn-menu {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center;
  border: 2px solid var(--linea); background: #fff; border-radius: 12px; cursor: pointer;
  font: 700 1rem var(--sans); color: var(--guinda); padding: 0 10px;
}
.btn-text .plus { font-size: .75em; vertical-align: super; }
.btn-text[aria-pressed="true"] { background: var(--guinda); border-color: var(--guinda); color: #fff; }
.btn-menu { display: none; }

@media (max-width: 1060px) {
  .btn-menu { display: inline-flex; }
  .topbar__tools { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #fff; border-bottom: 3px solid var(--dorado);
    box-shadow: 0 20px 30px -20px rgba(62,14,34,.5);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; padding: 10px 16px 18px; gap: 4px; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
}
@media (max-width: 420px) {
  .brand img { height: 36px; }
  .btn-menu span { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(201,165,90,.18) 0 140px, transparent 141px),
    radial-gradient(circle at 92% 85%, rgba(255,255,255,.06) 0 220px, transparent 221px),
    linear-gradient(160deg, var(--guinda) 0%, var(--guinda-900) 100%);
  padding: 44px 0 90px;
  overflow: hidden;
}
.hero__in { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.1fr .9fr; gap: 48px; } .hero { padding: 64px 0 110px; } }
.tag {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: rgba(232,213,163,.16); border: 1px solid rgba(232,213,163,.45);
  color: var(--arena); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3.2vw, 3.3rem); margin-bottom: .45em; }
.hero h1 span { color: var(--arena); }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.92); max-width: 36em; }
.hero .lead strong { color: #fff; }
.hero__facts { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.hero__facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.hero__facts .ico { color: var(--arena); margin-top: 2px; width: 1.4em; height: 1.4em; }
.hero__facts b { color: #fff; }
@media (min-width: 560px) { .hero__facts { grid-template-columns: auto auto; justify-content: start; column-gap: 28px; } .hero__facts li:nth-child(n+3) { grid-column: 1 / -1; } }
@media (max-width: 559px) { .hide-sm { display: none; } }

.countdown {
  display: inline-block; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radio); padding: 14px 18px; margin-bottom: 22px;
}
.countdown__label { margin: 0 0 6px; font-size: .85rem; font-weight: 700; color: var(--arena); text-transform: uppercase; letter-spacing: .06em; }
.countdown__grid { display: flex; gap: 10px; }
.countdown__grid div { min-width: 70px; text-align: center; background: #fff; color: var(--guinda); border-radius: 12px; padding: 6px 8px 4px; }
.countdown__grid b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--guinda); font-weight: 400; }
.countdown__grid span { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.countdown.is-open .countdown__grid { display: none; }
.countdown.is-open .countdown__label { font-size: 1.05rem; text-transform: none; letter-spacing: 0; margin: 0; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .hero__cta .btn { flex: 1 1 100%; } }

.hero__photo { margin: 0; position: relative; }
.hero__photo img {
  border-radius: 28px 28px 28px 120px; border: 6px solid #fff;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); aspect-ratio: 810 / 535; object-fit: cover;
}
.hero__photo figcaption {
  position: absolute; right: 14px; bottom: -16px; background: var(--arena); color: var(--guinda-900);
  font-weight: 800; font-size: .9rem; padding: 8px 16px; border-radius: 999px; box-shadow: var(--sombra-sm);
}
.hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; color: var(--crema); }

/* ---------- Datos rápidos ---------- */
.quick { background: var(--crema); padding: 8px 0 44px; }

/* Horario de atención */
.hours {
  display: grid; gap: 14px 24px; align-items: center; margin-bottom: 16px;
  background: #fff; border: 3px solid var(--guinda); border-radius: var(--radio);
  padding: 18px; box-shadow: var(--sombra-sm);
}
@media (min-width: 820px) {
  .hours { grid-template-columns: 1fr auto; grid-template-areas: "main days" "main status"; gap: 10px 32px; padding: 18px 24px; margin-bottom: 18px; }
  .hours__main { grid-area: main; }
  .hours__days { grid-area: days; }
  .hours__status { grid-area: status; }
}
.hours__main { display: flex; gap: 14px; align-items: center; }
.hours__ico { width: 2.1rem; height: 2.1rem; padding: 10px; box-sizing: content-box; border-radius: 50%; background: var(--guinda); color: var(--arena); }
.hours__label { margin: 0; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dorado); }
.hours__time { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 1rem + 1.6vw, 1.9rem); line-height: 1.2; color: var(--guinda); }
.hours__time b { font-weight: 400; color: var(--rojo); white-space: nowrap; }
.hours__time span { color: var(--dorado); }
.hours__days { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.hours__days li {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--guinda); color: #fff; font-weight: 800; font-size: .95rem;
}
.hours__days li.off { background: transparent; color: var(--gris); border: 2px dashed #CFC6BC; text-decoration: line-through; }
.hours__status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; justify-self: start;
  font-weight: 700; font-size: .95rem; color: var(--texto);
}
.hours__status { padding: 8px 14px; border-radius: 999px; background: var(--crema); border: 1px solid var(--linea); }
.hours__status i { width: 10px; height: 10px; border-radius: 50%; background: var(--gris); flex: none; }
.is-abierto .hours__status { color: #146C3B; }
.is-abierto .hours__status { background: #E5F5EC; border-color: #A9DDBE; }
.is-abierto .hours__status i { background: var(--verde-wa); box-shadow: 0 0 0 4px rgba(31,157,85,.2); }

.hours-note {
  display: flex; gap: 12px; align-items: flex-start; margin: -8px 0 14px;
  background: var(--guinda); color: #fff; border-radius: var(--radio-sm); padding: 14px 16px;
}
.hours-note p { margin: 0; }
.hours-note b { color: var(--arena); }
.hours-note .ico { width: 1.5em; height: 1.5em; color: var(--arena); }
.quick__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 820px) { .quick__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.qcard {
  background: #fff; border-radius: var(--radio); padding: 18px 16px; text-align: center;
  border-top: 5px solid var(--dorado); box-shadow: var(--sombra-sm);
}
.qcard b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.5rem); color: var(--guinda); line-height: 1.1; }
.qcard span { display: block; margin-top: 4px; font-size: .95rem; line-height: 1.35; }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section--cream { background: var(--crema); }
.section--guinda { background: linear-gradient(170deg, var(--guinda) 0%, var(--guinda-900) 100%); color: rgba(255,255,255,.9); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dorado);
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.head { max-width: 760px; margin-bottom: 34px; }
.head--light h2 { color: #fff; }
.head--light .kicker { color: var(--arena); }
.head--light strong { color: #fff; }

.split { display: grid; gap: 36px; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; gap: 56px; } }

/* Evento */
.event {
  display: flex; gap: 18px; align-items: stretch; margin: 24px 0;
  background: var(--crema); border: 1px solid var(--linea); border-radius: var(--radio); padding: 16px;
}
.event__date {
  flex: none; width: 92px; border-radius: 14px; background: var(--guinda); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 6px;
  text-transform: uppercase; font-weight: 800; font-size: .8rem; letter-spacing: .05em;
}
.event__date b { font-family: var(--serif); font-weight: 400; font-size: 2.8rem; line-height: 1; color: var(--arena); margin: 2px 0; }
.event__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: center; }
.event__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.event__list .ico { color: var(--dorado); margin-top: 1px; }
@media (max-width: 420px) { .event { flex-direction: column; } .event__date { width: 100%; flex-direction: row; gap: 10px; } .event__date b { font-size: 2rem; } }

.tip, .note {
  display: flex; gap: 12px; align-items: flex-start;
  background: #FFF8E4; border-left: 5px solid var(--dorado); border-radius: var(--radio-sm); padding: 14px 16px;
}
.tip p, .note p { margin: 0; }
.note p + p { margin-top: .7em; }
.tip .ico, .note .ico { color: var(--dorado); width: 1.5em; height: 1.5em; }
.note { background: #fff; box-shadow: var(--sombra-sm); }
.note--soft { margin-top: 18px; background: var(--guinda-100); border-left-color: var(--guinda); box-shadow: none; }
.note--soft .ico { color: var(--guinda); }

/* Imágenes ampliables */
.poster, .infog { margin: 0; }
.infog-solo { max-width: 600px; margin: 0 auto; }
.poster { max-width: 380px; justify-self: center; width: 100%; }
.zoomable {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra);
}
.zoomable img { width: 100%; transition: transform .3s; }
.zoomable:hover img { transform: scale(1.02); }
.zoomable__hint {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center;
  background: rgba(255,255,255,.95); color: var(--guinda); font: 700 .9rem var(--sans);
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--sombra-sm);
}

/* ---------- Grupos ---------- */
.groups { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .groups { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.group {
  background: #fff; border-radius: var(--radio); padding: 18px 14px 16px; text-align: center;
  box-shadow: var(--sombra-sm); border-bottom: 5px solid var(--guinda);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.group__age { font-family: var(--serif); font-weight: 400; color: var(--guinda); font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); line-height: 1.15; }
.group span { font-size: .95rem; line-height: 1.35; font-weight: 600; color: var(--texto); }
.group:nth-child(even) { border-bottom-color: var(--dorado); }

/* ---------- Checklist ---------- */
.checklist { background: #fff; border: 2px solid var(--linea); border-radius: var(--radio); padding: 22px 18px; box-shadow: var(--sombra-sm); }
@media (min-width: 640px) { .checklist { padding: 26px 26px 18px; } }
.checklist__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.checklist h3 { margin: 0; }
.checklist__progress { margin: 0; font-weight: 700; color: var(--guinda); }
.bar { height: 10px; border-radius: 99px; background: var(--guinda-100); margin: 12px 0 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--dorado), var(--guinda)); border-radius: inherit; transition: width .3s; }
.checklist.is-done .bar i { background: var(--verde-wa); }
.checklist__hint { font-size: .9rem; color: var(--muted); }
.checklist__group { margin: 16px 0 8px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dorado); }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist label {
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  padding: 12px 14px; border-radius: var(--radio-sm); border: 2px solid var(--linea); background: var(--crema);
  transition: border-color .15s, background-color .15s;
}
.checklist label:hover { border-color: var(--dorado-300); }
.checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist .box {
  flex: none; width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--gris); background: #fff;
  display: grid; place-items: center; margin-top: 1px; transition: .15s;
}
.checklist .box svg { width: 20px; height: 20px; color: #fff; opacity: 0; transform: scale(.6); transition: .15s; }
.checklist input:checked ~ .box { background: var(--guinda); border-color: var(--guinda); }
.checklist input:checked ~ .box svg { opacity: 1; transform: none; }
.checklist input:checked ~ .txt { color: var(--muted); }
.checklist label:has(input:checked) { background: var(--guinda-100); border-color: rgba(106,27,58,.35); }
.checklist input:focus-visible ~ .box { outline: 3px solid var(--dorado); outline-offset: 2px; }
.checklist .txt { line-height: 1.45; }

/* ---------- Calculadora ---------- */
.calc {
  display: grid; gap: 0; background: #fff; color: var(--texto); border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
@media (min-width: 900px) { .calc { grid-template-columns: .9fr 1.1fr; } }
.calc__ask { padding: 24px 18px; background: var(--crema); }
@media (min-width: 640px) { .calc__ask { padding: 32px; } }
.calc__ask p { font-size: 1.1rem; }
.calc__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc__opts button {
  min-height: 64px; border-radius: 14px; border: 2px solid var(--linea); background: #fff; cursor: pointer;
  font: 400 1.6rem var(--serif); color: var(--guinda); transition: .15s;
}
.calc__opts button:hover { border-color: var(--dorado); }
.calc__opts button[aria-checked="true"] { background: var(--guinda); border-color: var(--guinda); color: #fff; box-shadow: var(--sombra-sm); }
.calc__res { padding: 24px 18px; }
@media (min-width: 640px) { .calc__res { padding: 32px; } }
.calc__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc__nums div { background: var(--crema); border-radius: 14px; padding: 12px 10px; text-align: center; }
.calc__nums span { display: block; font-size: .8rem; font-weight: 700; line-height: 1.25; color: var(--muted); }
.calc__nums b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); color: var(--guinda); line-height: 1.2; margin-top: 4px; }
.calc__nums .calc__total { background: var(--guinda); }
.calc__nums .calc__total span { color: var(--arena); }
.calc__nums .calc__total b { color: #fff; }
.bags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; min-height: 58px; }
.bags svg { width: 42px; height: 56px; animation: pop .25s ease-out both; filter: drop-shadow(0 3px 4px rgba(62,14,34,.18)); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.calc__foot { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }

.table-toggle { margin-top: 18px; }
.table-toggle summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--arena); padding: 10px 0;
}
.table-toggle summary::-webkit-details-marker { display: none; }
.table-toggle summary::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; font-size: 1.1rem; line-height: 1; }
.table-toggle[open] summary::before { content: "–"; }
.table-toggle .small { color: rgba(255,255,255,.8); margin-top: 12px; }
.table-toggle .small b { color: #fff; }
.table-wrap { overflow-x: auto; border-radius: var(--radio-sm); }
table { width: 100%; border-collapse: collapse; background: #fff; color: var(--texto); min-width: 340px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--linea); }
thead th { background: var(--arena); color: var(--guinda-900); font-size: .9rem; }
tbody tr:nth-child(even) { background: var(--crema); }
td:first-child { font-weight: 700; color: var(--guinda); }

.sub-light { color: #fff; margin: 44px 0 16px; font-size: 1.6rem; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .rules { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .rules { grid-template-columns: repeat(4, 1fr); } }
.rule { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radio); padding: 16px; }
.rule .ico { width: 2rem; height: 2rem; color: var(--arena); padding: 6px; box-sizing: content-box; background: rgba(0,0,0,.2); border-radius: 12px; }
.rule b { color: #fff; display: block; margin-bottom: 4px; font-size: 1.05rem; }
.rule p { margin: 0; font-size: .95rem; line-height: 1.45; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 2px solid var(--linea); border-radius: var(--radio-sm); transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: var(--guinda); box-shadow: var(--sombra-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; cursor: pointer; list-style: none;
  padding: 16px 18px; font-weight: 700; font-size: 1.05rem; color: var(--tinta); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--guinda-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236A1B3A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(180deg); background-color: var(--arena); }
.faq summary:hover { color: var(--guinda); }
.faq details > div { padding: 0 18px 16px; }
.faq details > div p { margin: 0; }

/* ---------- Ubicación ---------- */
.addr { display: flex; gap: 14px; align-items: flex-start; font-style: normal; font-size: 1.15rem; line-height: 1.5; margin: 18px 0 6px; }
.addr + .addr { margin-top: 14px; }
.addr .ico { width: 2.2rem; height: 2.2rem; color: #fff; background: var(--guinda); border-radius: 50%; padding: 8px; box-sizing: content-box; }
.map { border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); background: var(--linea); aspect-ratio: 4 / 3; border: 5px solid #fff; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Contacto ---------- */
.section--arena { background: var(--arena); }
.section--arena .kicker { color: var(--guinda); }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .contact { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.ccard {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border-radius: var(--radio); padding: 20px 18px; box-shadow: var(--sombra-sm);
  border-bottom: 5px solid var(--guinda);
}
.ccard__ico { width: 1.9rem; height: 1.9rem; padding: 11px; box-sizing: content-box; border-radius: 50%; background: var(--guinda); color: var(--arena); }
.ccard__ico--wa { background: var(--verde-wa); color: #fff; }
.ccard__label { margin: 0 0 2px; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dorado); }
.ccard__value { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--guinda); }
.ccard__value a { color: inherit; font-weight: 400; text-decoration: none; white-space: nowrap; }
.ccard__value a:hover { color: var(--rojo); }
.ccard .btn { margin-top: 12px; }
.btn--sm { min-height: 46px; padding: .6em 1.2em; font-size: .95rem; }

/* ---------- Pie ---------- */
.footer { background: var(--guinda-900); color: rgba(255,255,255,.8); padding: 48px 0 0; font-size: .95rem; }
.footer__in { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer__in { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.footer__title { font-family: var(--serif); font-size: 1.35rem; color: var(--arena); line-height: 1.2; margin-bottom: .6em; }
.footer b { color: #fff; }
.footer a { color: var(--arena); }
.footer a:hover { color: #fff; }
.footer__src { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; padding-bottom: 18px; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Barra rápida móvil ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .dock {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: #fff; border-top: 3px solid var(--dorado);
    box-shadow: 0 -8px 24px -14px rgba(62,14,34,.5);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 64px; font-size: .78rem; font-weight: 700; color: var(--guinda); text-decoration: none;
  }
  .dock a .ico { width: 1.5rem; height: 1.5rem; }
  .dock a.is-active { background: var(--guinda-100); }
  .dock__wa { color: var(--verde-wa) !important; }
}

.totop {
  position: fixed; right: 16px; bottom: 20px; z-index: 39; width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: var(--guinda); color: #fff; box-shadow: var(--sombra); cursor: pointer;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 760px) { .totop { bottom: 88px; width: 46px; height: 46px; } }

/* ---------- Visor de imágenes ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94dvh; overflow: visible; }
.lightbox::backdrop { background: rgba(30, 6, 16, .88); }
.lightbox img { max-width: 96vw; max-height: 90dvh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__close {
  position: fixed; top: 14px; right: 14px; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--guinda); display: grid; place-items: center; box-shadow: var(--sombra);
}
.lightbox__close .ico { width: 26px; height: 26px; }

/* ---------- Impresión ---------- */
@media print {
  .topbar, .dock, .totop, .hero__cta, .btn-row, .map, .zoomable__hint, .hero__curve, .btn-link { display: none !important; }
  .hero, .section--guinda, .footer { background: #fff !important; color: #000 !important; }
  .hero h1, .head--light h2, .sub-light, .rule b { color: var(--guinda) !important; }
  .section { padding: 24px 0; }
  .faq details > div { display: block; }
}
