/* =========================================================
   Iglesia Evangélica Bautista El Calvario
   Sistema de diseño compartido — sitio estático
   Paleta: azul marino (logo) · papel crema · dorado (luz)
   Tipografía: Fraunces (display) + Hanken Grotesk (texto)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light only; /* el sitio es siempre claro, aunque el móvil esté en modo oscuro */
  --fs: 1; /* multiplicador de tamaño de letra (control de accesibilidad) */
  --navy:       #16233f;
  --navy-deep:  #0f1830;
  --navy-soft:  #26365a;
  --paper:      #f7f2e8;
  --paper-2:    #efe7d6;
  --cream:      #fbf8f1;
  --gold:       #c19a3e;
  --gold-soft:  #e6d5a8;
  --ink:        #1c2436;
  --muted:      #5b6478;
  --line:       #dcd2be;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', -apple-system, Segoe UI, sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 22px 55px -30px rgba(15,24,48,.55);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: calc(clamp(1rem, .96rem + .2vw, 1.075rem) * var(--fs));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--navy); color: var(--cream); padding: .7rem 1.2rem; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; position: relative; z-index: 2; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); opacity: .8; }
.eyebrow.no-line::before { display: none; }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; color: var(--navy); letter-spacing: -.01em; }
.h-xl { font-size: calc(clamp(2.6rem, 6.5vw, 5rem) * var(--fs)); }
.h-lg { font-size: calc(clamp(2rem, 4.5vw, 3.3rem) * var(--fs)); }
.h-md { font-size: calc(clamp(1.5rem, 2.6vw, 2.1rem) * var(--fs)); }
.lead { font-size: calc(clamp(1.08rem, 1rem + .5vw, 1.3rem) * var(--fs)); color: var(--muted); line-height: 1.55; }
.serif-italic { font-family: var(--font-display); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent; transition: all .35s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: #2a2007; box-shadow: 0 12px 30px -14px rgba(193,154,62,.8); }
.btn--gold:hover { background: #cfa947; transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(22,35,63,.28); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--cream); }
.btn--ghost-light { border-color: rgba(251,248,241,.35); color: var(--cream); }
.btn--ghost-light:hover { background: var(--cream); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,242,232,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,24,48,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 80px; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand svg, .brand img { width: 46px; height: 46px; flex: none; }
.brand-txt { line-height: 1.05; white-space: nowrap; }
.brand-txt strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--navy); display: block; letter-spacing: .01em; }
.brand-txt span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: .1rem; }
.nav-links a {
  padding: .5rem .6rem; font-size: .9rem; font-weight: 500; color: var(--ink);
  border-radius: 999px; position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .35rem; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: .7rem; }
.nav-cta .btn { padding: .55rem 1.05rem; font-size: .85rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; width: 20px; height: 2px; background: var(--navy); transition: .3s;
}
.nav-toggle span { left: 12px; top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; }
/* Resplandor: luz que desciende desde lo alto */
.hero-rays {
  position: absolute; top: 3%; left: 50%; transform: translate(-50%, -50%);
  width: min(200vw, 1700px); aspect-ratio: 1; pointer-events: none; opacity: .58;
  background:
    radial-gradient(circle at center, rgba(242,228,184,.38), transparent 13%),
    repeating-conic-gradient(from 183deg, rgba(230,213,168,.20) 0deg .5deg, transparent .5deg 6deg),
    repeating-conic-gradient(from 178deg, rgba(230,213,168,.10) 0deg 1.4deg, transparent 1.4deg 17deg);
  -webkit-mask: radial-gradient(circle at center, #000 0, rgba(0,0,0,.6) 20%, transparent 56%);
          mask: radial-gradient(circle at center, #000 0, rgba(0,0,0,.6) 20%, transparent 56%);
  filter: blur(.7px);
  animation: heroBreath 9s ease-in-out infinite;
}
.hero-rays span { display: none; } /* rayos antiguos (por JS) ya no se usan */
@keyframes heroBreath { 0%, 100% { opacity: .5; } 50% { opacity: .66; } }
/* Grano sutil (evita banding y da textura premium) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Viñeta: protege la legibilidad del titular sobre los rayos */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(15,24,48,.55), rgba(15,24,48,.12) 40%, transparent 62%);
}
@media (prefers-reduced-motion: reduce) { .hero-rays { animation: none; } }
.hero-glow { position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(193,154,62,.22), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 3; padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 7vw, 7rem); }
.hero h1 { color: var(--cream); max-width: 16ch; }
.hero h1 em { color: var(--gold-soft); font-weight: 400; }
.hero .lead { color: rgba(251,248,241,.82); max-width: 52ch; margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-verse { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(251,248,241,.16); font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: rgba(251,248,241,.9); max-width: 46ch; }
.hero-verse cite { display: block; font-style: normal; font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: .8rem; }

/* ---------- Schedule strip ---------- */
.schedule { background: var(--gold-soft); color: var(--navy-deep); position: relative; z-index: 4; }
.schedule-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.schedule-day { padding: 1.6rem 1.8rem; border-right: 1px solid rgba(22,35,63,.16); }
.schedule-day:last-child { border-right: 0; }
.schedule-day .day { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--navy-soft); margin-bottom: .8rem; }
.schedule-day ul { display: flex; flex-direction: column; gap: .7rem; }
.schedule-day li { font-size: .92rem; color: var(--navy-soft); line-height: 1.3; }
.schedule-day li b { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--navy-deep); display: block; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }

.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card .num { font-family: var(--font-display); font-size: .95rem; color: var(--gold); font-weight: 600; }
.card h3 { margin: .8rem 0 .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card .more { display: inline-flex; gap: .4rem; margin-top: 1.1rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.card .more .arrow { transition: transform .3s var(--ease); }
.card:hover .more .arrow { transform: translateX(4px); }

/* Ministry card with icon */
.min-card .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; color: var(--navy); }
.min-card .ico svg { width: 26px; height: 26px; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse { direction: rtl; } .split.reverse > * { direction: ltr; }
.figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; background: var(--navy-soft); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure.placeholder { display: grid; place-items: center; background:
  linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); }
.figure.placeholder svg { width: 40%; opacity: .9; }
.figure .tag { position: absolute; left: 1.2rem; bottom: 1.2rem; background: var(--gold); color: #2a2007; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .5rem .9rem; border-radius: 999px; }

.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.stat b { font-family: var(--font-display); font-size: 2.4rem; color: var(--navy); display: block; }
.stat span { font-size: .85rem; color: var(--muted); }

/* value list */
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.values li { background: var(--cream); padding: 1.1rem 1.4rem; display: flex; gap: 1rem; align-items: baseline; }
.values li b { font-family: var(--font-display); color: var(--gold); font-size: 1rem; }

/* ---------- Sermons list ---------- */
.sermons { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sermon { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 1.7rem; border-top: 1px solid var(--line); transition: background .3s; }
.sermon:first-child { border-top: 0; }
.sermon:hover { background: rgba(247,242,232,.75); }
@media (max-width: 640px) { .sermon { padding: 1.2rem 1.1rem; gap: 1rem; } }
.sermon .play { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; flex: none; transition: .3s; }
.sermon:hover .play { background: var(--gold); color: #2a2007; transform: scale(1.06); }
.sermon .meta { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.sermon h3 { font-size: 1.35rem; margin-top: .2rem; }
.sermon .by { color: var(--muted); font-size: .9rem; }
.sermon .ref { text-align: right; font-family: var(--font-display); font-style: italic; color: var(--muted); white-space: nowrap; }

/* ---------- Bands ---------- */
.band-navy { background: var(--navy); color: var(--cream); }
.band-navy h2, .band-navy h3 { color: var(--cream); }
.band-navy .lead { color: rgba(251,248,241,.8); }
.band-paper2 { background: var(--paper-2); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta .wrap { text-align: center; }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta .lead { max-width: 48ch; margin: 1.2rem auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(251,248,241,.7); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: var(--cream); font-family: var(--font-body); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 700; }
.site-footer a { transition: color .25s; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand { display: flex; gap: .8rem; align-items: center; margin-bottom: 1.2rem; }
.footer-brand img { width: 250px; height: 250px; object-fit: contain; flex: none; }
/* Logos sobre fondo oscuro: se muestran en blanco */
.figure.placeholder img { filter: brightness(0) invert(1); opacity: .85; }
.post-card .thumb img { filter: brightness(0) invert(1); opacity: .85; }
.footer-brand strong { font-family: var(--font-display); color: var(--cream); font-size: 1.15rem; }
.foot-list li { margin-bottom: .7rem; font-size: .95rem; }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(251,248,241,.2); border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(251,248,241,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem,6vw,5rem); position: relative; overflow: hidden; }
.page-hero .hero-glow { top: -50%; }
.page-hero h1 { color: var(--cream); max-width: 18ch; margin-top: 1rem; }
.page-hero .lead { color: rgba(251,248,241,.82); max-width: 54ch; margin-top: 1.2rem; }
.crumbs { font-size: .85rem; color: rgba(251,248,241,.6); }
.crumbs a:hover { color: var(--gold-soft); }

/* ---------- Forms ---------- */
.form-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: .5rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,154,62,.15); }
.field textarea { min-height: 140px; resize: vertical; }

/* info list */
.info-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-list .ic { color: var(--gold); flex: none; }
.info-list b { display: block; color: var(--navy); font-family: var(--font-display); }
.info-list span { color: var(--muted); font-size: .95rem; }

/* give methods */
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.5rem; }
.give-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; text-align: center; }
.give-card .badge { display: inline-block; font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); background: var(--paper-2); padding: .3rem 1rem; border-radius: 999px; margin-bottom: 1rem; }
.give-card .acct { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); letter-spacing: .02em; margin: .4rem 0; }

/* YouTube / video en vivo */
.btn--yt { background: #FF0000; color: #fff; }
.btn--yt:hover { background: #e60000; transform: translateY(-2px); }
.btn--live { background: #e11d1d; color: #fff; }
.btn--live:hover { background: #c81717; transform: translateY(-2px); }
.btn--live .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; display: inline-block; animation: livepulse 1.4s infinite; }
.btn--live-off { background: transparent; border: 1px solid rgba(22,35,63,.22); color: var(--navy); }
.btn--live-off:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn--live-off::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9aa2b1; display: inline-block; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, var(--navy), var(--navy-soft)); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .placeholder-in { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: rgba(251,248,241,.85); padding: 1.5rem; }
.video-frame .yt-mark { width: 66px; height: 46px; background: #FF0000; border-radius: 12px; display: grid; place-items: center; margin: 0 auto 1rem; }
.video-frame .yt-mark svg { width: 26px; height: 26px; color: #fff; }
.live-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF0000; }
.live-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FF0000; animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* note / marker */
.note { background: rgba(193,154,62,.1); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .9rem; color: #7a5f1c; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .split, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .footer-grid { gap: 2rem; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-day { border-right: 0; border-bottom: 1px solid rgba(22,35,63,.16); }
  .schedule-day:last-child { border-bottom: 0; }
}
@media (max-width: 1100px) {
  .nav-links {
    position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 1.5rem 2rem;
    transform: translateY(-120%); transition: transform .4s var(--ease); box-shadow: var(--shadow);
  }
  body.menu-open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 1rem .5rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-cta { gap: .5rem; }
  .nav-cta .btn--live, .nav-cta .btn--live-off {
    display: inline-flex !important; align-items: center; white-space: nowrap;
    padding: .5rem .9rem; font-size: .8rem; line-height: 1; height: 44px; gap: .45rem;
  }
  .schedule-grid { grid-template-columns: 1fr; }
  .schedule-day { border-right: 0; border-bottom: 1px solid rgba(22,35,63,.16); }
  .schedule-day:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Control de tamaño de letra (accesibilidad) ---------- */
.fs-control {
  position: fixed; right: 14px; bottom: 14px; z-index: 90;
  display: flex; align-items: center; gap: 3px;
  background: var(--navy); border-radius: 999px; padding: 5px;
  box-shadow: 0 10px 30px -12px rgba(15,24,48,.7);
}
.fs-control button {
  border: 0; background: transparent; color: var(--cream);
  width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; line-height: 1;
  display: grid; place-items: center; transition: background .25s;
}
.fs-control button:hover { background: rgba(251,248,241,.16); }
.fs-control button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fs-control button[data-fs="down"]  { font-size: .8rem; }
.fs-control button[data-fs="reset"] { font-size: .98rem; }
.fs-control button[data-fs="up"]    { font-size: 1.15rem; }
@media (max-width: 640px) {
  .fs-control { right: 10px; bottom: 10px; padding: 4px; }
  .fs-control button { width: 38px; height: 38px; }
}
@media print { .fs-control { display: none; } }
