/* Estilo B · Moderno oscuro — negro cinematográfico, oro y tipografía sans contundente */
:root {
  --ink: #f3eee6; --forest: #d6b36f; --forest-mid: #e6c78a; --sage: #c9ab72;
  --brass: #d6b36f; --brass-soft: #d6b36f; --paper: #0b0b0d; --paper-deep: #1b1b20;
  --ivory: #131317; --muted: #a9a49b; --line: #2a2a31; --ok: #d6b36f; --danger: #ff8a7a;
  --serif: "Manrope", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --accent-serif: "Instrument Serif", Georgia, serif;
  --shadow: 0 24px 60px rgba(0,0,0,.45);
  --radius: 20px;
  color-scheme: dark;
}
::selection { background: var(--forest); color: #0b0b0d; }
h1, h2, h3, .serif { font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.kicker { color: var(--forest); letter-spacing: .28em; font-size: .7rem; }
.lede { color: var(--muted); }
.button-forest { color: #0b0b0d; }
.button-line { border-color: #3a3a42; }
.button-line:hover { border-color: var(--forest); color: var(--forest); }
.site-header { background: rgba(11,11,13,.72); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgba(255,255,255,.06); }
.brand-mark { color: #0b0b0d; font-family: var(--serif); font-weight: 800; }
.brand small { color: var(--muted); }
.menu-toggle { border-color: #3a3a42; }
.live-link { border: 1px solid #3a3a42; }
.live-link:hover { background: #1b1b20; }
.nav-panel { background: #0b0b0d !important; }
.nav-panel a:not(.button) { text-decoration: none; font-weight: 600; font-family: var(--sans); color: #d8d3ca; }
.hero { position: relative; background: #000; overflow: hidden; isolation: isolate; }
.hero-media { background: #000; }
.hero-role { color: var(--forest); text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 8.2rem); text-transform: uppercase; line-height: .88; letter-spacing: -0.045em; max-width: none; }
.hero h1 span { font-style: normal; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--forest); }
.hero-lead { font-family: var(--accent-serif); font-weight: 400; font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: #fff; }
.verse { border-left: 2px solid var(--forest); }
.verse blockquote { font-family: var(--accent-serif); font-weight: 400; font-size: 1.3rem; color: #e9e4db; }
.verse figcaption { color: var(--forest); }
.quick { background: #0b0b0d; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick a { border-top-color: var(--line); }
.quick a span { color: var(--forest); }
.about-photo img { border-radius: 24px; filter: saturate(.9) contrast(1.05); }
.pullquote { color: var(--forest); font-family: var(--accent-serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.stat-num { color: var(--forest); font-weight: 800; }
.section-tint { background: #101013; }
.ministry-card { background: #16161b; border-color: var(--line); }
.ministry-card .current { color: var(--ink); }
.ministry-photo { margin: 0 0 2rem; position: relative; border-radius: 24px; overflow: hidden; }
.ministry-photo img { width: 100%; aspect-ratio: 21/8; object-fit: cover; object-position: 50% 30%; }
.ministry-photo figcaption { position: absolute; left: 1.2rem; bottom: 1rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(0,0,0,.6); font-size: .82rem; backdrop-filter: blur(6px); }
.hours li { border-top-color: var(--line); }
.video-frame { border-radius: 18px; }
.yt-play { color: #0b0b0d; }
.upcoming { background: #0b0b0d; }
.bookplate { background: linear-gradient(150deg, #2a2418, #0f0f12 60%); border: 1px solid #3b3424; color: var(--ink); }
.library { background: #070708; }
.book figure { background: #141418; }
.station { background: linear-gradient(160deg, #1a1a20, #111114); border: 1px solid var(--line); color: var(--ink); }
.play-btn { background: var(--forest); color: #0b0b0d; }
.play-btn .disc { background: #0b0b0d; color: var(--forest); }
.player-status { color: var(--muted); }
.prayer { background: radial-gradient(120% 140% at 0% 0%, #3a2f18, #0b0b0d 60%); color: var(--ink); border-top: 1px solid var(--line); }
.prayer p { color: #cfc9bf; }
.contact-form { background: #131317; border-color: var(--line); }
.contact-form input, .contact-form select, .contact-form textarea, .text-field, .segment label { background: #0b0b0d; border-color: #33333b; color: var(--ink); }
.form-feedback:not(:empty) { background: #1b1b20; }
.site-footer { background: #050506; border-top: 1px solid var(--line); }
.donate-card { background: #131317; border-color: var(--line); }
.dark-focus :focus-visible, .library :focus-visible, .prayer :focus-visible, .quick :focus-visible, .site-footer :focus-visible, .bookplate :focus-visible { outline-color: var(--forest); }
/* Hero cinematográfico */
@media (max-width: 979px) {
  .hero-media { min-height: 118vw; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, #000 97%); }
  .hero-media img { object-position: 50% 0%; }
  .hero-copy { position: relative; z-index: 2; margin-top: -16vw; padding-top: 0; }
  .hero-copy { width: min(1180px, calc(100% - 1.7rem)); margin-inline: auto; }
}
@media (min-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: calc(100vh - var(--header)); }
  .hero-media { position: absolute; inset: 0; height: auto; z-index: -1; }
  .hero-media img { object-position: 100% 0%; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 35%, rgba(0,0,0,0) 55%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 22%); }
  .hero-copy { padding: 4rem 2rem 5rem max(2rem, calc((100vw - 1180px) / 2)); max-width: calc(min(1180px, 100vw) * .62 + max(2rem, (100vw - 1180px) / 2)); }
  .nav-panel { gap: 1.3rem !important; }
}
/* Correcciones de contraste para el tema oscuro */
.library, .site-footer, .bookplate, .station { color: var(--ink); }
.library .lede, .book p { color: #b9b3a9; }
.amount-option:not([aria-pressed="true"]), .amount-field, .amount-field input { background: #0b0b0d; border-color: #33333b; color: var(--ink); }
.segment input:checked + label, .amount-option[aria-pressed="true"] { color: #0b0b0d; }
.button-ivory:hover { background: #1b1b20; }

/* Nuevo libro · Santificando Nuestro Cuerpo */
.upcoming { position: relative; overflow: hidden; background: #0b0b0d; }
.upcoming-grid { align-items: center; }
.upcoming h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); max-width: 12ch; }
.upcoming .lede { max-width: 32rem; }
.book-stage { position: relative; display: grid; place-items: center; padding: 1rem 0 0; }
.book-stage picture { display: block; width: 100%; max-width: 44rem; }
.book-promo { width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
  transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.book-stage:hover .book-promo { transform: translateY(-6px) scale(1.015); }
.book-ribbon { position: absolute; top: 1.6rem; left: 50%; transform: translateX(-50%); margin: 0; padding: .4rem .95rem; border: 1px solid rgba(214,179,111,.55); border-radius: 999px; background: rgba(11,11,13,.8); color: #d6b36f; font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; backdrop-filter: blur(6px); z-index: 2; }
.book-new figure { position: relative; outline: 1px solid rgba(214,179,111,.45); overflow: hidden; grid-template-rows: minmax(0, 1fr); }
.book-new img { height: 100%; width: auto; min-height: 0; }
.book-new p a { color: #d6b36f; font-weight: 700; text-underline-offset: .2em; }
@media (max-width: 699px) { .book-stage picture { max-width: 24rem; } }
@media (prefers-reduced-motion: reduce) { .book-promo { transition: none; } }
