/* ===== Variables ===== */
:root {
  --navy: #1b2a45;
  --navy-deep: #111c30;
  --gold: #c9a14a;
  --gold-soft: #e7d3a3;
  --cream: #faf6ee;
  --paper: #ffffff;
  --text: #2a2f3a;
  --muted: #5f6674;
  --line: #e6dfd0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 28, 48, .08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3, .schedule__time, .featured__day { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6em;
}

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); background: #d8b25e; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--small { padding: .5em 1.2em; font-size: .9rem; }

/* ===== Encabezado ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled { background: rgba(17, 28, 48, .96); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.logo__icon { width: auto; height: 50px; flex-shrink: 0; }
.hero__logo { margin: 0 0 1rem; }
.hero__logo img { width: min(560px, 100%); height: auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.55)); }
.logo__text { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; line-height: 1.05; }
.logo__text small { display: block; font-family: var(--sans); font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--gold-soft); }
.nav .btn { color: var(--navy-deep); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ===== Portada ===== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: url("../img/portada.jpg") center 40% / cover no-repeat;
  color: #fff;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,28,48,.55) 0%, rgba(17,28,48,.75) 60%, rgba(17,28,48,.92) 100%); }
.hero__content { position: relative; padding-top: 72px; }
.hero__content > * { max-width: 760px; }
.hero__eyebrow { letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; color: var(--gold-soft); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 600; }
.hero h1 span { color: var(--gold); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 560px; opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: #fff; text-decoration: none; font-size: 1.4rem;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  animation: bob 2s infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ===== Versículo ===== */
.verse { background: var(--navy-deep); color: #fff; padding: 64px 0; text-align: center; }
.verse blockquote { margin: 0 auto; max-width: 820px; transition: opacity .6s; }
.verse p { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); font-style: italic; line-height: 1.4; }
.verse cite { font-style: normal; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }

/* ===== Secciones ===== */
.section { padding: 96px 0; }
.section--tinted { background: #f2ebdc; }
.section--dark { background: var(--navy); color: #dfe4ee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__head p:last-child { color: var(--muted); }
.section--dark .section__head p:last-child { color: #b8c0d0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.split__photo { margin: 0; }
.split__photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split__photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; text-align: center; }

.pastor { border-left: 3px solid var(--gold); padding: .2rem 0 .2rem 1rem; margin: 1.5rem 0; }
.pastor__label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pastor__name { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--navy); margin: 0; }
.mission { background: var(--paper); padding: 1rem 1.2rem; border-radius: 10px; border: 1px solid var(--line); }

/* ===== Horarios ===== */
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.schedule__item {
  background: var(--paper); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold-soft);
}
.schedule__item--main { background: var(--navy); color: #dfe4ee; border-top-color: var(--gold); }
.schedule__item--main h3 { color: #fff; }
.schedule__day { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0; }
.schedule__time { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1.1; margin: 0 0 .6rem; color: var(--navy); }
.schedule__item--main .schedule__time { color: #fff; }
.schedule__where { font-size: .85rem; font-weight: 600; margin: 0; color: var(--muted); }
.schedule__item--main .schedule__where { color: var(--gold-soft); }

/* ===== Ministerios ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card__body { padding: 1.5rem; }
.card__body p { color: var(--muted); margin: 0; }

/* ===== Eventos ===== */
.featured {
  display: flex; gap: 2rem; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(201,161,74,.4);
  border-radius: var(--radius); padding: 2rem; margin-bottom: 3rem;
}
.featured__date {
  flex-shrink: 0; width: 120px; text-align: center; background: var(--gold);
  color: var(--navy-deep); border-radius: 12px; padding: 1rem .5rem;
}
.featured__month, .featured__weekday { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.featured__day { display: block; font-family: var(--serif); font-size: 3.2rem; font-weight: 700; line-height: 1; }
.featured__body p:last-child { margin: 0; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.timeline__item { border-top: 2px solid var(--gold); padding-top: 1rem; }
.timeline__when { color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.timeline__item h3 { font-size: 1.3rem; }
.timeline__item p:last-child { font-size: .93rem; color: #b8c0d0; margin: 0; }

/* ===== Galería ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery__item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 15, 25, .92);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: 16px; right: 20px; background: none; border: 0;
  color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1;
}

/* ===== Creemos ===== */
.beliefs details { background: var(--paper); border-radius: 10px; margin-bottom: .7rem; border: 1px solid var(--line); }
.beliefs summary {
  cursor: pointer; padding: 1.1rem 1.4rem; font-family: var(--serif); font-size: 1.35rem;
  font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between;
}
.beliefs summary::-webkit-details-marker { display: none; }
.beliefs summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; line-height: 1; }
.beliefs details[open] summary::after { content: "−"; }
.beliefs details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ===== Visítanos ===== */
.info { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.info li { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.info__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ===== Formulario ===== */
.form { background: var(--paper); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .8rem 1rem; font: inherit; font-weight: 400;
  border: 1px solid var(--line); border-radius: 8px; background: var(--cream); color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form__note { font-size: .85rem; color: var(--muted); margin: .8rem 0 0; }

/* ===== Pie ===== */
.footer { background: var(--navy-deep); color: #aab3c5; padding: 56px 0 28px; font-size: .95rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center; }
.footer__logo { width: 240px; height: auto; }
.footer p { margin: 0 0 .3rem; }
.footer a { color: #dfe4ee; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__name { font-family: var(--serif); font-size: 1.4rem; color: #fff; font-weight: 700; }
.footer__links { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; margin-top: 1rem; font-size: .85rem; }

/* ===== Animación al hacer scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 1rem 16px 1.5rem;
    background: rgba(17, 28, 48, .98);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: .8rem 0; width: 100%; text-align: center; }
  .nav .btn { margin-top: .5rem; width: auto; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .schedule, .cards { grid-template-columns: 1fr; }
  .featured { flex-direction: column; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1.5rem; }
  .footer__links { justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .timeline { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 1.4rem; }
  .map, .map iframe { min-height: 320px; }
}

/* =====================================================
   Bitácora de actividades
   ===================================================== */
.bitacora__estado { text-align: center; color: var(--muted); padding: 2rem 0; grid-column: 1 / -1; }
.bitacora__mas { text-align: center; margin: 2.5rem 0 0; }
.chip {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--gold-soft); color: var(--navy-deep); padding: .25em .8em; border-radius: 999px;
}

/* Resumen en la portada */
.bitacora--resumen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.resumen { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.resumen__foto { position: relative; display: block; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--line); }
.resumen__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.resumen__foto:hover img { transform: scale(1.04); }
.resumen__foto--vacia { display: grid; place-items: center; font-size: 3rem; color: var(--gold); background: var(--navy); cursor: default; }
.resumen__cuantas {
  position: absolute; right: 10px; bottom: 10px; background: rgba(17, 28, 48, .8); color: #fff;
  font-size: .78rem; font-weight: 600; padding: .3em .8em; border-radius: 999px;
}
.resumen__cuerpo { padding: 1.3rem 1.5rem 1.5rem; }
.resumen__meta { font-size: .8rem; color: var(--gold); font-weight: 600; margin-bottom: .4rem; }
.resumen h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.resumen h3 a { color: var(--navy); text-decoration: none; }
.resumen h3 a:hover { color: var(--gold); }
.resumen__texto {
  color: var(--muted); font-size: .95rem; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Página de actividades */
.page--solid .header { background: rgba(17, 28, 48, .98); }
.page-hero { background: var(--navy); color: #cfd6e4; padding: 150px 0 64px; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p:last-child { max-width: 640px; margin: 0 auto; }
.section--compacta { padding-top: 48px; }
.narrow-wide { width: min(940px, 100% - 32px); }

.bitacora__filtros { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-bottom: 2.5rem; }
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; }
.filtro {
  font: inherit; font-size: .9rem; font-weight: 600; padding: .45em 1.1em; border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--navy); border: 1px solid var(--line);
}
.filtro.is-activo { background: var(--navy); color: #fff; border-color: var(--navy); }
.bitacora__filtros select {
  font: inherit; font-size: .9rem; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--navy);
}
.bitacora__total { margin-left: auto; color: var(--muted); font-size: .9rem; }

/* Línea de tiempo */
.bitacora--lista { position: relative; }
.bitacora--lista::before {
  content: ""; position: absolute; left: 42px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--gold), var(--gold-soft));
}
.actividad { position: relative; display: grid; grid-template-columns: 86px 1fr; gap: 1.5rem; margin-bottom: 2.5rem; scroll-margin-top: 90px; }
.actividad__fecha {
  position: relative; z-index: 1; align-self: start; text-align: center; background: var(--navy); color: #fff;
  border-radius: 14px; padding: .6rem .3rem; border: 3px solid var(--cream); box-shadow: var(--shadow);
}
.actividad__dia { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1; font-variant-numeric: lining-nums; }
.actividad__mes { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }
.actividad__anio { display: block; font-size: .72rem; opacity: .7; }
.actividad__cuerpo { background: var(--paper); border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); min-width: 0; }
.actividad__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.actividad h3 { font-size: 1.8rem; }
.actividad__texto p { color: var(--text); }
.actividad__texto p:last-child { margin-bottom: 0; }

/* Mosaico de fotos */
.mosaico { display: grid; gap: 6px; margin-top: 1.2rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; }
.mosaico__item { position: relative; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: var(--line); }
.mosaico__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaico__item:hover img { transform: scale(1.06); }
.mosaico__item:first-child { grid-column: span 2; grid-row: span 2; }
.mosaico--1 { grid-template-columns: 1fr; grid-auto-rows: 320px; }
.mosaico--1 .mosaico__item:first-child { grid-column: auto; grid-row: auto; }
.mosaico--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
.mosaico--2 .mosaico__item:first-child { grid-column: auto; grid-row: auto; }
.mosaico--3, .mosaico--4 { grid-template-columns: repeat(3, 1fr); }
.mosaico--4 .mosaico__item:nth-child(4) { grid-column: span 3; }
.mosaico__mas {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17, 28, 48, .6);
  color: #fff; font-family: var(--serif); font-size: 2rem; font-weight: 700;
}

/* Visor de fotos */
.visor {
  position: fixed; inset: 0; z-index: 120; background: rgba(8, 12, 20, .95);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.visor[hidden] { display: none; }
.visor figure { margin: 0; text-align: center; max-width: 100%; }
.visor img { max-height: 84vh; max-width: min(1200px, 100%); border-radius: 8px; margin: 0 auto; }
.visor figcaption { color: #cfd6e4; font-size: .9rem; margin-top: .8rem; }
.visor__cerrar, .visor__nav {
  position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; cursor: pointer;
  border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.visor__cerrar { top: 16px; right: 16px; }
.visor__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.visor__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.visor__cerrar:hover, .visor__nav:hover { background: rgba(255, 255, 255, .22); }

/* =====================================================
   Panel de administración
   ===================================================== */
.admin { background: #eef0f4; }
.admin__barra { background: var(--navy-deep); }
.admin__barra-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; flex-wrap: wrap; }
.admin__acciones { display: flex; gap: .6rem; }
.admin__main { padding: 32px 0 64px; display: grid; gap: 24px; max-width: 880px; }
.panel { background: var(--paper); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.panel h1, .panel h2 { font-size: 1.9rem; margin: 0; }
.panel__cabeza { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.panel--login { max-width: 440px; margin: 40px auto; width: 100%; }
.panel--login h1 { margin-bottom: .4rem; }
.form--plano { padding: 0; box-shadow: none; }
.form__etiqueta { font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.form__etiqueta small { font-weight: 400; color: var(--muted); }
.aviso { margin: 1rem 0 0; font-weight: 600; color: var(--navy); min-height: 1.4em; }
.contador { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 500; }
.btn--peligro { background: transparent; color: #b3261e; border-color: #e5b3b0; }
.btn--peligro:hover { background: #b3261e; color: #fff; border-color: #b3261e; }

.zona-fotos { position: relative; border: 2px dashed var(--gold-soft); border-radius: 12px; background: var(--cream); margin-bottom: 1rem; transition: background .2s; }
.zona-fotos.is-encima { background: #f3e7c8; }
.zona-fotos input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.zona-fotos__label { display: block; margin: 0 !important; padding: 1.6rem; text-align: center; cursor: pointer; }
.zona-fotos__label strong { display: block; font-size: 1.05rem; }
.zona-fotos__label span { font-weight: 400; color: var(--muted); font-size: .88rem; }
.miniaturas { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 1rem; }
.miniaturas:empty { display: none; }
.miniatura { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--line); }
.miniatura img { width: 100%; height: 100%; object-fit: cover; }
.miniatura button {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(17, 28, 48, .8); color: #fff; font-size: 1.1rem; line-height: 1;
}
.fotos-actuales { margin-bottom: 1rem; }
.progreso { position: relative; height: 28px; background: var(--cream); border-radius: 999px; overflow: hidden; margin-bottom: 1rem; }
.progreso__barra { height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.progreso span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .82rem; font-weight: 600; color: var(--navy-deep); }

.lista-admin { list-style: none; margin: 0; padding: 0; }
.lista-admin__item { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.lista-admin__item img, .lista-admin__sin { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.lista-admin__sin { display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.5rem; }
.lista-admin__info { flex: 1; min-width: 0; }
.lista-admin__info strong { display: block; color: var(--navy); }
.lista-admin__info span { font-size: .85rem; color: var(--muted); }
.lista-admin__botones { display: flex; gap: .4rem; flex-shrink: 0; }

@media (max-width: 860px) {
  .bitacora--resumen { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .bitacora__total { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .bitacora--lista::before { left: 28px; }
  .actividad { grid-template-columns: 58px 1fr; gap: .8rem; }
  .actividad__dia { font-size: 1.5rem; }
  .actividad__cuerpo { padding: 1.2rem; }
  .actividad h3 { font-size: 1.45rem; }
  .mosaico { grid-auto-rows: 80px; grid-template-columns: repeat(4, 1fr); }
  .mosaico__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .mosaico--4 { grid-template-columns: repeat(3, 1fr); }
  .mosaico--4 .mosaico__item:nth-child(4) { grid-column: auto; }
  .mosaico--3 { grid-template-columns: repeat(2, 1fr); }
  .mosaico--1 { grid-auto-rows: 220px; }
  .mosaico--2 { grid-auto-rows: 150px; }
  .mosaico--1 .mosaico__item:first-child, .mosaico--2 .mosaico__item:first-child { grid-column: auto; grid-row: auto; }
  .visor__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .visor__nav--prev { left: 6px; }
  .visor__nav--next { right: 6px; }
  .panel { padding: 1.3rem; }
  .lista-admin__item { flex-wrap: wrap; }
  .lista-admin__botones { width: 100%; justify-content: flex-end; }
}

/* =====================================================
   Idioma, historia, visión, sermones, grupos, calendario, ofrendas
   ===================================================== */
.i18n-cargando body { visibility: hidden; }
.header__extras { display: flex; align-items: center; gap: .6rem; margin-left: 1.2rem; }
/* Selector de idioma: botón con menú desplegable */
.idioma { position: relative; }
.idioma__boton {
  display: inline-flex; align-items: center; gap: .45rem;
  font: inherit; font-size: .85rem; font-weight: 600; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: .42em .75em .42em .6em; transition: background .2s, border-color .2s;
}
.idioma__boton:hover, .idioma.is-abierto .idioma__boton { background: rgba(255,255,255,.16); border-color: var(--gold-soft); }
.idioma__boton:focus-visible, .idioma__opcion:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.idioma__globo { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.idioma__corto { display: none; }
.idioma__flecha { width: 12px; height: 12px; opacity: .8; transition: transform .25s; }
.idioma.is-abierto .idioma__flecha { transform: rotate(180deg); }
.idioma__menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 190px;
  list-style: none; margin: 0; padding: .4rem;
  background: var(--paper); border-radius: 12px; box-shadow: 0 16px 40px rgba(17,28,48,.28);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right;
  visibility: hidden; transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.idioma__menu::before {
  content: ""; position: absolute; top: -6px; right: 22px; width: 12px; height: 12px;
  background: var(--paper); transform: rotate(45deg); border-radius: 2px;
}
.idioma.is-abierto .idioma__menu { opacity: 1; transform: none; visibility: visible; transition: opacity .18s, transform .18s; }
.idioma__opcion {
  position: relative; display: flex; align-items: center; gap: .75rem; width: 100%;
  font: inherit; font-size: .95rem; color: var(--text); text-align: left; cursor: pointer;
  background: transparent; border: 0; border-radius: 8px; padding: .6rem .7rem;
}
.idioma__opcion:hover { background: var(--cream); }
.idioma__codigo {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: #eef0f4; color: var(--navy);
}
.idioma__nombre { flex: 1; font-weight: 500; }
.idioma__nombre small { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; }
.idioma__check { color: var(--gold); font-weight: 700; opacity: 0; }
.idioma__opcion[aria-checked="true"] .idioma__codigo { background: var(--navy); color: #fff; }
.idioma__opcion[aria-checked="true"] .idioma__nombre { color: var(--navy); font-weight: 600; }
.idioma__opcion[aria-checked="true"] .idioma__check { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .idioma__menu, .idioma__flecha { transition: none; }
}
.nav { gap: 1.3rem; }
.nav a { font-size: .92rem; }

.historia { margin-top: 4rem; }
.historia__titulo { text-align: center; font-size: 2rem; margin-bottom: 2rem; }
.historia__linea { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.historia__linea li { background: var(--paper); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.historia__anio { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: .6rem; font-variant-numeric: lining-nums; }
.historia__linea p { margin: 0; color: var(--muted); }

.vmv { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 1.5rem; align-items: stretch; }
.vmv__item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2rem; }
.vmv__item--destacado { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.vmv__etiqueta { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.vmv__item--destacado .vmv__etiqueta { color: var(--navy); }
.vmv__texto { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: #fff; margin: 0; }
.vmv__item--destacado .vmv__texto { color: var(--navy-deep); font-size: 1.9rem; font-weight: 700; }
.vmv__ref { margin: .8rem 0 0; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.vmv__lista { list-style: none; margin: 0; padding: 0; }
.vmv__lista li { padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #cfd6e4; font-size: .95rem; }
.vmv__lista li:last-child { border-bottom: 0; }
.vmv__lista strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.25rem; }

.sermones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sermon { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.sermon__video { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy); }
.sermon__video img { width: 100%; height: 100%; object-fit: cover; }
.sermon__video--vacio { display: grid; place-items: center; color: var(--gold); font-size: 2.6rem; }
.sermon__play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(17,28,48,.8); color: #fff; font-size: 1.4rem; padding-left: 4px;
}
.sermon__video:hover .sermon__play { background: var(--gold); color: var(--navy-deep); }
.sermon__cuerpo { padding: 1.3rem 1.5rem 1.5rem; }
.sermon__meta { font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: .3rem; }
.sermon h3 { font-size: 1.45rem; margin-bottom: .3rem; }
.sermon__predicador { font-size: .9rem; color: var(--navy); font-weight: 500; margin-bottom: .5rem; }
.sermon__resumen { color: var(--muted); font-size: .95rem; }

.grupos { margin-top: 4rem; background: var(--paper); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow); }
.grupos__titulo { font-size: 2rem; margin-bottom: .3rem; }
.grupos__sub { color: var(--muted); }
.grupos__lista { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.5rem; }
.grupos__lista li { border-left: 3px solid var(--gold); padding: .3rem 0 .3rem 1rem; }
.grupos__lista strong { display: block; color: var(--navy); }
.grupos__lista span { font-size: .9rem; color: var(--muted); }
.grupos__unirse { margin: 0; font-weight: 500; }

.proximos { display: grid; gap: 1rem; margin-bottom: 3.5rem; }
.proximo { display: flex; gap: 1.5rem; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.proximo--primero { border-color: rgba(201,161,74,.55); background: rgba(201,161,74,.08); }
.proximo__fecha { flex-shrink: 0; width: 104px; text-align: center; background: var(--gold); color: var(--navy-deep); border-radius: 12px; padding: .8rem .4rem; }
.proximo__mes, .proximo__semana { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.proximo__dia { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1; font-variant-numeric: lining-nums; }
.proximo__cuerpo .eyebrow { margin-bottom: .2rem; }
.proximo__cuerpo h3 { margin-bottom: .2rem; }
.proximo__meta { color: var(--gold-soft); font-weight: 500; font-size: .92rem; margin-bottom: .4rem; }
.proximo__cuerpo p:last-child { margin-bottom: 0; }
.section--dark .bitacora__estado { color: #b8c0d0; }
.tradiciones__titulo { text-align: center; font-size: 1.7rem; margin-bottom: 2rem; }

.ofrendas__cita { margin: 0 0 1.4rem; padding: 1rem 1.4rem; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 10px 10px 0; }
.ofrendas__cita p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.4; margin-bottom: .4rem; color: var(--navy); }
.ofrendas__cita cite { font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ofrendas__formas { display: grid; gap: 1.2rem; }
.ofrendas__forma { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.ofrendas__forma p { color: var(--muted); }

/* Administración: pestañas y campos en inglés */
.pestanas { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.pestana {
  font: inherit; font-weight: 600; padding: .7em 1.3em; border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--navy); border: 1px solid var(--line);
}
.pestana.is-activa { background: var(--navy); color: #fff; border-color: var(--navy); }
.pestana__panel { display: grid; gap: 24px; }
.ingles { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1.1rem; margin-bottom: 1rem; }
.ingles summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: .92rem; }
.ingles[open] summary { margin-bottom: .9rem; }
.ingles input, .ingles textarea { background: var(--paper) !important; }
.form__nota { font-size: .85rem; color: var(--muted); margin: 0 0 .8rem; }
.form label small { font-weight: 400; color: var(--muted); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 1rem 16px 1.5rem;
    background: rgba(17, 28, 48, .98);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: .8rem 0; width: 100%; text-align: center; }
  .nav a.btn { margin-top: .5rem; width: auto; padding: .6em 2em; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__extras { margin-left: auto; }
  .vmv { grid-template-columns: 1fr; }
  .sermones { grid-template-columns: 1fr 1fr; }
  .grupos__lista { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .historia__linea, .sermones, .grupos__lista { grid-template-columns: 1fr; }
  .grupos { padding: 1.5rem; }
  .proximo { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .proximo__fecha { width: auto; display: flex; gap: .6rem; align-items: baseline; padding: .5rem 1rem; }
  .proximo__dia { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .header__inner { gap: .5rem; }
  .logo { gap: .45rem; min-width: 0; }
  .logo__text { font-size: 1.1rem; }
  .logo__text small { font-size: .52rem; letter-spacing: .08em; }
  .logo__icon { height: 40px; }
  .header__extras { gap: .3rem; margin-left: 0; flex-shrink: 0; }
  .idioma__boton { padding: .38em .55em; gap: .3rem; }
  .idioma__texto { display: none; }
  .idioma__corto { display: inline; font-size: .78rem; letter-spacing: .04em; }
}

/* Visión y misión (2 columnas) + 4 valores fundamentales + historia en 4 pasos */
.vmv { grid-template-columns: 1.2fr 1fr; }
.vmv__item--destacado { text-align: left; }
.vmv__item--destacado .vmv__texto { font-size: 2rem; }
.valores { margin-top: 2.5rem; }
.valores__lema { text-align: center; color: var(--gold-soft); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.valores__lema em { font-style: normal; color: #cfd6e4; letter-spacing: .04em; text-transform: none; font-weight: 500; font-size: .95rem; }
.valores__lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.valor { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.valor__icono { display: block; font-size: 1.5rem; margin-bottom: .4rem; color: var(--gold); }
.valor h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.valor p { color: #cfd6e4; font-size: .95rem; margin: 0; }
.historia__intro { max-width: 720px; margin: -1rem auto 2rem; text-align: center; color: var(--muted); }
.historia__linea { grid-template-columns: repeat(4, 1fr); counter-reset: paso; }
.historia__anio { font-size: 1.8rem; }

@media (max-width: 1100px) {
  .vmv { grid-template-columns: 1fr; }
  .valores__lista, .historia__linea { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .valores__lista, .historia__linea { grid-template-columns: 1fr; }
  .vmv__item--destacado .vmv__texto { font-size: 1.6rem; }
}

/* =====================================================
   Panel: usuarios, roles, puntos de acceso y mi cuenta
   ===================================================== */
.admin__acciones { align-items: center; }
.admin__quien { color: #cfd6e4; font-size: .88rem; margin-right: .4rem; }
.admin__quien strong { color: #fff; }
.casilla { display: flex !important; flex-wrap: wrap; align-items: center; gap: .55rem; font-weight: 500 !important; cursor: pointer; }
.casilla input { width: auto !important; margin: 0 !important; accent-color: var(--navy); transform: scale(1.15); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-soft); font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
}
.avatar--rol { background: #eef0f4; color: var(--navy); font-family: var(--sans); font-size: 1.1rem; }
.etiqueta {
  display: inline-block; vertical-align: middle; font-family: var(--sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: .15em .6em; border-radius: 999px;
  background: var(--gold-soft); color: var(--navy-deep); margin-left: .3rem;
}
.etiqueta--gris { background: #e3e6ec; color: var(--muted); }
.lista-admin__item--inactivo { opacity: .6; }
.permisos { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
.permisos__grupo { border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem 1rem; margin: 0; }
.permisos__grupo legend { font-weight: 600; color: var(--navy); padding: 0 .4rem; font-size: .9rem; }
.permiso {
  display: flex !important; align-items: flex-start; gap: .7rem; padding: .55rem .3rem; margin: 0 !important;
  border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 400 !important;
}
.permiso:last-child { border-bottom: 0; }
.permiso input { width: auto !important; margin: .2rem 0 0 !important; accent-color: var(--navy); transform: scale(1.2); }
.permiso strong { display: block; color: var(--text); font-weight: 500; }
.permiso code { font-size: .78rem; color: var(--muted); background: #f3f4f7; padding: .05em .4em; border-radius: 4px; }
.permiso:has(input:disabled) { cursor: default; }
.panel--angosto { max-width: 560px; }
.cuenta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.2rem 0 1.8rem; }
.cuenta div { background: var(--cream); border-radius: 10px; padding: .7rem .9rem; }
.cuenta dt { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.cuenta dd { margin: .15rem 0 0; color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.cuenta__subtitulo { font-size: 1.4rem; margin-bottom: 1rem; }
@media (max-width: 560px) {
  .admin__quien { display: none !important; }
  .cuenta { grid-template-columns: 1fr; }
}


/* =====================================================
   Alabanzas (música preferida)
   ===================================================== */
.section--alabanzas { background: radial-gradient(circle at 85% 10%, rgba(201,161,74,.18), transparent 40%), linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #cfd6e4; }
.section--alabanzas h2 { color: #fff; }
.section--alabanzas .section__head p:last-child { color: #b8c0d0; }
.section--alabanzas .bitacora__estado { color: #b8c0d0; }
.alabanzas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.alabanza { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.alabanza:hover { transform: translateY(-3px); border-color: rgba(201,161,74,.5); }
.alabanza__video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; background: #0b1322; }
.alabanza__video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.alabanza__video:hover img { opacity: 1; }
.alabanza__video:hover .sermon__play { background: var(--gold); color: var(--navy-deep); }
.alabanza__video--nota { display: grid; place-items: center; cursor: default; font-size: 3rem; color: var(--gold); background: linear-gradient(135deg, #16233b, #24365a); }
.alabanza__marco { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.alabanza__cuerpo { padding: 1.2rem 1.4rem 1.4rem; }
.alabanza h3 { color: #fff; font-size: 1.45rem; margin-bottom: .2rem; }
.alabanza__artista { color: var(--gold-soft); font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.alabanza__comentario { font-size: .93rem; margin-bottom: .9rem; }
.alabanza .btn--outline { color: #fff; border-color: rgba(255,255,255,.5); }
.alabanza .btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
@media (max-width: 1100px) { .alabanzas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .alabanzas { grid-template-columns: 1fr; } }

/* Peticiones de oración */
.ora-temas, .ora-privacidad { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.ora-temas[hidden], .ora-privacidad[hidden] { display: none; }
.ora-temas legend, .ora-privacidad legend { font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; padding: 0; }
.ora-temas legend small { font-weight: 400; color: var(--muted); }
.ora-temas__lista { display: flex; flex-wrap: wrap; gap: .45rem; }
.form .ora-temas__lista label { margin: 0; font-weight: 500; position: relative; }
.ora-temas__lista input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ora-temas__lista span { display: inline-block; padding: .4rem .85rem; border: 1px solid #d8dce5; border-radius: 999px; background: #fff; cursor: pointer; font-size: .88rem; transition: background .15s, border-color .15s, color .15s; }
.ora-temas__lista input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.ora-temas__lista input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.ora-privacidad { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.ora-privacidad legend { grid-column: 1 / -1; }
.form .ora-privacidad label { margin: 0; display: flex; gap: .6rem; align-items: flex-start; padding: .8rem .9rem; border: 1px solid #d8dce5; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 500; }
.form .ora-privacidad input { width: auto; margin-top: .2rem; accent-color: var(--navy); }
.ora-privacidad strong { display: block; color: var(--navy); }
.ora-privacidad small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; margin-top: .15rem; }
.form .ora-privacidad label:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,162,74,.25); background: #fffdf7; }
.form .ora-casilla { display: flex; align-items: center; gap: .55rem; font-weight: 500; }
.form .ora-casilla input { width: 18px; height: 18px; accent-color: var(--navy); }
.ora-trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ora-error { color: #b42318; font-weight: 600; margin: 0 0 .8rem; }
.ora-error:empty { display: none; }
.ora-gracias { text-align: center; }
.ora-gracias[hidden] { display: none; }
.ora-gracias:focus { outline: none; }
.ora-gracias__icono { font-size: 2.6rem; line-height: 1; }
.ora-gracias h3 { color: var(--navy); margin: .6rem 0 .3rem; }
.ora-gracias blockquote { margin: 1.2rem auto; max-width: 34rem; font-style: italic; color: var(--muted); border-left: 3px solid var(--gold); padding: .2rem 0 .2rem 1rem; text-align: left; }
@media (max-width: 640px) { .ora-privacidad { grid-template-columns: 1fr; } }

/* Próximos eventos: imagen o volante (opcional) */
.proximo__cuerpo { flex: 1; min-width: 0; }
.proximo__imagen { flex-shrink: 0; width: 132px; aspect-ratio: 4 / 5; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.06); cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.proximo__imagen:hover, .proximo__imagen:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.35); outline: none; }
.proximo__imagen img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .proximo__imagen { width: 100%; aspect-ratio: auto; max-height: 360px; } .proximo__imagen img { object-fit: contain; max-height: 360px; } }
