/* =====================================================================
   St. Martin de Porres — "Sacred Digital Experience"
   Marfil, vino, dorado, oliva y carbón. Cormorant Garamond + Manrope.
   ===================================================================== */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: italic; font-display: swap; src: url("/fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ivory: #F7F3EA; --ivory-2: #EFE7D7; --ivory-3: #E6DBC6;
  --wine: #651F32; --wine-2: #4D1626;
  --gold: #B89559; --gold-l: #D8BE8A; --gold-ink: #7E5F2B;
  --olive: #243B35; --olive-2: #1A2B27;
  --charcoal: #242321; --ink: #242321; --muted: #5B564D; --line: #D9CDB6;
  --white: #FFFFFF; --wa: #128C4A;
  --serif: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px; --gutter: clamp(18px, 4.6vw, 56px); --sec: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(.22, .68, .12, 1);
  --arch: 50% 50% 4px 4px / 36% 36% 4px 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, iframe, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--olive); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
button { font: inherit; }
::selection { background: var(--gold-l); color: var(--charcoal); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -.012em; color: var(--charcoal); margin: 0 0 .45em; text-wrap: balance; }
h3 { font-size: clamp(1.55rem, 2.2vw, 1.9rem); line-height: 1.12; }
p { margin: 0 0 1.1em; max-width: 68ch; text-wrap: pretty; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.28rem); color: var(--muted); line-height: 1.65; }
.note { font-size: .95rem; color: var(--muted); }
.muted { color: var(--muted); }
.on-dark, .on-dark .sec-title { color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ivory); color: var(--charcoal); padding: 12px 18px; }
.skip:focus { left: 8px; }
.draft-bar { position: relative; z-index: 120; background: var(--gold-l); color: var(--charcoal); text-align: center; font-size: .9rem; font-weight: 500; padding: 8px var(--gutter); }

/* ---------- Encabezados de sección ---------- */
.kicker { display: flex; align-items: center; gap: 14px; font: 600 .95rem/1.3 var(--sans); letter-spacing: .02em; color: var(--gold-ink); margin: 0 0 18px; }
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.kicker.on-dark { color: var(--gold-l); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.sec-head.is-center .kicker { justify-content: center; }
.sec-head.is-center .kicker::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.sec-head.is-center .lead { margin-inline: auto; }
.sec-title { font-size: clamp(2.4rem, 5vw, 4.1rem); }
.h-card { font-size: clamp(1.9rem, 3vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.h-small { font: 700 1rem var(--sans); letter-spacing: .01em; color: var(--charcoal); margin: 24px 0 8px; }
.prose p { font-size: 1.08rem; }
.dropcap::first-letter { float: left; font: 600 4.6em/.8 var(--serif); color: var(--wine); margin: .06em .1em 0 0; }
.signature { font: italic 500 1.35rem var(--serif); color: var(--wine); margin-top: 8px; }
.signature::before { content: "— "; }
.tag { display: inline-block; vertical-align: middle; margin-left: 8px; font: 700 .78rem/1 var(--sans); letter-spacing: .02em; color: var(--gold-ink); border: 1px solid var(--gold); border-radius: 2px; padding: 5px 7px; }
.badge { display: inline-block; font: 700 .82rem/1 var(--sans); letter-spacing: .03em; color: var(--olive); background: rgba(36,59,53,.08); border: 1px solid rgba(36,59,53,.25); border-radius: 2px; padding: 7px 10px; margin: 0 0 14px; }
.badge.is-ref { color: var(--wine); background: rgba(101,31,50,.06); border-color: rgba(101,31,50,.3); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--wine); padding: 8px 0; min-height: 44px; }
.link-arrow .icon { transition: transform .35s var(--ease); width: 1.1em; height: 1.1em; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { color: var(--olive); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border: 1.5px solid transparent; border-radius: 2px; font: 700 1rem/1.1 var(--sans); letter-spacing: .015em; text-decoration: none; cursor: pointer; transition: background-color .3s var(--ease), color .3s, border-color .3s; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-l); color: var(--charcoal); }
.btn-wine { background: var(--wine); color: var(--ivory); }
.btn-wine:hover { background: var(--wine-2); color: var(--ivory); }
.btn-olive { background: var(--olive); color: var(--ivory); }
.btn-olive:hover { background: var(--olive-2); color: var(--ivory); }
.btn-line { border-color: var(--charcoal); color: var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: var(--ivory); }
.btn-line-light { border-color: rgba(247,243,234,.6); color: var(--ivory); }
.btn-line-light:hover { border-color: var(--ivory); background: rgba(247,243,234,.1); color: var(--ivory); }
.btn[disabled] { opacity: .65; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 32px; }

/* ---------- Arco (marco de fotos) ---------- */
.arch { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--ivory-3); isolation: isolate; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(247,243,234,.55); border-radius: var(--arch); pointer-events: none; z-index: 1; }
.arch-tall { aspect-ratio: 3 / 4.2; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 100; color: var(--charcoal); background: rgba(247,243,234,.97); border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease), border-color .4s, box-shadow .4s, color .4s; }
.site-header.is-over { position: absolute; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--ivory); }
.site-header.is-over.is-stuck { position: fixed; top: 0; background: rgba(247,243,234,.97); border-color: var(--line); color: var(--charcoal); box-shadow: 0 10px 30px rgba(36,35,33,.08); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; }
.mark { width: 30px; height: 40px; color: var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 1.45rem var(--serif); letter-spacing: -.005em; }
.brand-text small { font-size: .82rem; opacity: .8; margin-top: 2px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { position: relative; display: block; padding: 10px 11px; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: grid; place-items: center; min-width: 44px; min-height: 44px; color: inherit; font-weight: 800; font-size: .9rem; text-decoration: none; border: 1px solid currentColor; border-radius: 2px; opacity: .85; }
.lang:hover { opacity: 1; color: inherit; }
.menu-btn { display: none; position: relative; width: 48px; height: 48px; background: none; border: 0; color: inherit; cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 19px; } .menu-btn span:last-child { top: 28px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }
@media (max-width: 1120px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 40px; background: var(--olive); color: var(--ivory); visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility .4s; overflow-y: auto; }
  .nav.is-open { visibility: visible; opacity: 1; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font: 600 clamp(2rem, 7vw, 2.8rem)/1.15 var(--serif); padding: 8px 0; }
  .nav a::after { left: 0; right: auto; width: 48px; bottom: 2px; }
  .nav-extra { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(247,243,234,.2); }
  .nav-extra a { display: inline-flex; align-items: center; gap: 8px; font: 700 1.05rem var(--sans); color: var(--gold-l); padding: 10px 0; }
  .nav-extra a::after { display: none; }
  body.menu-open .site-header, body.menu-open .site-header.is-stuck { color: var(--ivory); background: transparent; border-color: transparent; box-shadow: none; }
}
@media (max-width: 560px) { .header-help { display: none; } .brand-text small { display: none; } }

/* ---------- Hero (inicio) ---------- */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; align-items: center; overflow: hidden; background: var(--charcoal); color: var(--ivory); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: sepia(.28) saturate(.82) brightness(.62) contrast(1.05); transform-origin: 50% 40%; }
.hero-veil { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 70% at 78% 45%, rgba(184,149,89,.18), transparent 70%),
  linear-gradient(90deg, rgba(26,23,20,.92) 0%, rgba(26,23,20,.7) 38%, rgba(26,23,20,.2) 70%, rgba(26,23,20,.35) 100%),
  linear-gradient(0deg, rgba(26,23,20,.85) 0%, transparent 35%); }
.hero-rose { position: absolute; z-index: -1; right: max(-6vw, -80px); top: 50%; width: min(58vw, 760px); aspect-ratio: 1; transform: translateY(-46%); pointer-events: none; }
.hero-rose canvas, .hero-rose .rose-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-rose .rose-svg { opacity: .9; filter: drop-shadow(0 0 60px rgba(216,190,138,.35)); transition: opacity 1.4s var(--ease); }
.hero-rose.is-3d .rose-svg { opacity: 0; }
.hero-inner { width: 100%; padding-top: 150px; padding-bottom: 110px; }
.hero-title { color: var(--ivory); font-size: clamp(3.3rem, 7.8vw, 7.4rem); font-weight: 600; line-height: .96; letter-spacing: -.02em; max-width: 11.5ch; margin-bottom: .35em; }
.hero-lead { max-width: 46ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: rgba(247,243,234,.86); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.next-mass { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; min-height: 44px; padding: 10px 18px; border: 1px solid rgba(247,243,234,.3); border-radius: 2px; color: var(--ivory); text-decoration: none; font-size: .98rem; background: rgba(26,23,20,.35); backdrop-filter: blur(6px); }
.next-mass:hover { color: var(--ivory); border-color: var(--gold-l); }
.next-mass strong { color: var(--gold-l); font-weight: 700; }
.next-mass-dark { color: var(--charcoal); background: var(--ivory-2); border-color: var(--line); backdrop-filter: none; }
.next-mass-dark:hover { color: var(--charcoal); }
.next-mass-dark strong { color: var(--wine); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-l); box-shadow: 0 0 0 0 rgba(216,190,138,.7); animation: pulse 2.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(216,190,138,0); } 100% { box-shadow: 0 0 0 0 rgba(216,190,138,0); } }
@media (max-width: 860px) {
  .hero { align-items: flex-end; }
  .hero-rose { width: 92vw; right: -30vw; top: 22%; opacity: .5; }
  .hero-veil { background: linear-gradient(0deg, rgba(26,23,20,.95) 10%, rgba(26,23,20,.55) 60%, rgba(26,23,20,.4) 100%); }
  .hero-inner { padding-top: 160px; padding-bottom: 64px; }
}

/* ---------- Bienvenida ---------- */
.welcome { padding: var(--sec) 0; }
.welcome-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
@media (max-width: 860px) { .welcome-grid { grid-template-columns: 1fr; } .welcome-grid .arch { max-width: 420px; } }

/* ---------- Accesos rápidos ---------- */
.quick { background: var(--ivory-2); border-block: 1px solid var(--line); }
.quick-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-list li + li { border-left: 1px solid var(--line); }
.quick-list a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 40px 28px; color: var(--charcoal); text-decoration: none; transition: background-color .35s var(--ease); }
.quick-list a:hover { background: var(--ivory-3); }
.quick-list .icon { width: 34px; height: 34px; color: var(--gold-ink); margin-bottom: 8px; }
.quick-t { font: 600 1.6rem/1.1 var(--serif); }
.quick-list a:hover .quick-t { color: var(--wine); }
.quick-d { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .quick-list { grid-template-columns: 1fr 1fr; } .quick-list li:nth-child(3) { border-left: 0; } .quick-list li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .quick-list { grid-template-columns: 1fr; } .quick-list li + li { border-left: 0; border-top: 1px solid var(--line); } .quick-list a { padding: 28px 4px; } }

/* ---------- Semana (oliva) ---------- */
.week { position: relative; padding: var(--sec) 0; background: var(--olive); color: var(--ivory); overflow: hidden; isolation: isolate; }
.week-bg { position: absolute; inset: -12% 0; z-index: -2; }
.week-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(.4) sepia(.3); }
.week::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--olive) 0%, rgba(36,59,53,.72) 50%, var(--olive) 100%); }
.week .sec-title { color: var(--ivory); }
.week .kicker { color: var(--gold-l); }
.week-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.week-col { border-top: 1px solid var(--gold); padding-top: 24px; }
.week-col h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--ivory); font-size: 1.7rem; }
.week-col h3 .icon { color: var(--gold-l); }
.week .note { color: rgba(247,243,234,.78); margin-top: 14px; }
.week .note a { color: var(--gold-l); }
.week-more { margin: 48px 0 0; }
.week-more .link-arrow { color: var(--gold-l); }
@media (max-width: 860px) { .week-grid { grid-template-columns: 1fr; } }
.times { margin: 0; }
.times-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(184,149,89,.35); }
.times dt { font-weight: 600; display: flex; flex-direction: column; }
.times dt small { font-size: .85rem; font-weight: 500; opacity: .8; }
.times dd { margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; font: 600 1.7rem/1.1 var(--serif); }
.week .times dd, .is-olive .times dd { color: var(--gold-l); }
.times dd.muted { font: 500 1rem var(--sans); }
.status { display: inline-flex; align-items: center; gap: 7px; font: 700 .82rem/1 var(--sans); padding: 6px 10px; border-radius: 2px; background: rgba(36,35,33,.08); color: inherit; letter-spacing: .02em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-open { background: rgba(18,140,74,.14); color: #1E6B42; }
.week .status, .is-olive .status { background: rgba(247,243,234,.12); }
.week .status.is-open, .is-olive .status.is-open { color: #9FE0BC; }

/* ---------- Servicios ---------- */
.services { padding: var(--sec) 0; }
.service-list { display: grid; gap: clamp(64px, 9vw, 130px); }
.service { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.service.is-flip .arch { order: 2; }
.service .arch { max-width: 460px; width: 100%; }
.service h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } .service.is-flip .arch { order: 0; } .service .arch { max-width: 380px; } }

/* ---------- Cita del Papa ---------- */
.pope { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--olive-2); color: var(--ivory); }
.pope-media { position: absolute; inset: 0 22% 0 0; z-index: -2; overflow: hidden; }
.pope-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: sepia(.25) saturate(.8); }
.pope-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,43,39,.1) 0%, rgba(26,43,39,.35) 30%, rgba(26,43,39,.92) 50%, var(--olive-2) 62%), linear-gradient(0deg, rgba(26,43,39,.85) 0%, transparent 35%); }
.pope-inner { width: 100%; display: grid; grid-template-columns: 1fr 1fr; padding-block: clamp(90px, 11vw, 150px); }
.pope-quote { grid-column: 2; margin: 0; position: relative; }
.quote-mark { position: absolute; top: -.45em; left: -.06em; font: 700 clamp(7rem, 14vw, 12rem)/1 var(--serif); color: var(--gold); opacity: .4; }
.pope-quote blockquote { margin: 0; position: relative; }
.pope-quote p { margin: 0; max-width: 28ch; font: 500 clamp(1.7rem, 2.9vw, 2.65rem)/1.28 var(--serif); }
.quote-text { background-image: linear-gradient(90deg, var(--ivory) 50%, rgba(247,243,234,.24) 50%); background-size: 200% 100%; background-position-x: 0%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.pope-quote figcaption { margin-top: 32px; padding-left: 20px; border-left: 1px solid var(--gold); display: flex; flex-direction: column; gap: 4px; }
.pope-quote figcaption strong { font: 600 1.35rem var(--serif); color: var(--gold-l); }
.pope-quote figcaption a { color: rgba(247,243,234,.8); font-size: .95rem; text-decoration: none; }
.pope-quote figcaption a:hover { color: var(--ivory); text-decoration: underline; }
.photo-credit { position: absolute; left: var(--gutter); bottom: 12px; margin: 0; font-size: .85rem; }
.photo-credit a { color: rgba(247,243,234,.8); text-decoration: none; }
@media (max-width: 860px) {
  .pope { display: block; min-height: 0; padding-top: 70vw; }
  .pope-media { inset: 0 0 auto 0; height: 100vw; }
  .pope-veil { background: linear-gradient(180deg, transparent 0, rgba(26,43,39,.2) 40vw, rgba(26,43,39,.85) 75vw, var(--olive-2) 98vw); }
  .pope-inner { grid-template-columns: 1fr; padding-top: 0; padding-bottom: 72px; }
  .pope-quote { grid-column: 1; }
  .photo-credit { top: 12px; bottom: auto; }
}

/* ---------- Patrono ---------- */
.patron-teaser, .bio { padding: var(--sec) 0; }
.patron-teaser { background: var(--wine); color: var(--ivory); }
.patron-teaser .sec-title, .patron-teaser .prose p { color: var(--ivory); }
.patron-teaser .kicker { color: var(--gold-l); }
.patron-teaser .btn-line { border-color: var(--gold-l); color: var(--ivory); }
.patron-teaser .btn-line:hover { background: var(--gold-l); color: var(--charcoal); }
.patron-grid, .bio-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.window { margin: 0; width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 30px 60px rgba(26,23,20,.35)); }
@media (max-width: 860px) { .patron-grid, .bio-grid { grid-template-columns: 1fr; } .window { max-width: 230px; } }

/* ---------- Misión ---------- */
.mission { background: var(--ivory-2); padding: var(--sec) 0; overflow: hidden; }
.mission-grid { max-width: calc(var(--wrap) + 140px); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
.mission-media { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 2px; }
.mission-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.mission-card { position: relative; z-index: 1; margin-left: -14%; background: var(--ivory); padding: clamp(32px, 4.5vw, 64px); border-top: 3px solid var(--gold); box-shadow: 0 40px 90px rgba(36,35,33,.14); }
.mission-card .sec-title { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
@media (max-width: 860px) { .mission-grid { grid-template-columns: 1fr; } .mission-card { margin: -60px 12px 0; } }

/* ---------- Noticias ---------- */
.news-home, .news-page { padding: var(--sec) 0; }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px 56px; }
.news-item { display: flex; flex-direction: column; }
.news-item.is-lead { grid-row: span 2; }
.news-item:not(.is-lead) { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; border-top: 1px solid var(--line); padding-top: 24px; }
.news-img { display: block; overflow: hidden; border-radius: 2px; aspect-ratio: 16 / 10; background: var(--ivory-3); }
.news-item:not(.is-lead) .news-img { aspect-ratio: 1; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-item:hover .news-img img { transform: scale(1.04); }
.news-item.is-lead .news-body { padding-top: 24px; }
.news-meta { display: flex; gap: 14px; align-items: center; font-size: .92rem; color: var(--muted); margin-bottom: 8px; }
.news-meta span { font-weight: 700; color: var(--gold-ink); }
.news-item h3 { font-size: 1.6rem; }
.news-item.is-lead h3 { font-size: clamp(2rem, 3.2vw, 2.7rem); }
.news-item h3 a { color: var(--charcoal); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.news-item h3 a:hover { background-size: 100% 1px; color: var(--wine); }
.news-item p { color: var(--muted); margin: 0; }
.news-grid-page { grid-template-columns: repeat(3, 1fr); }
.news-grid-page .news-cell:first-child { grid-column: 1 / -1; }
.news-grid-page .news-cell:first-child .news-item { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.news-grid-page .news-item:not(.is-lead) { display: flex; border-top: 0; padding-top: 0; }
.news-grid-page .news-item:not(.is-lead) .news-img { aspect-ratio: 16 / 10; margin-bottom: 18px; }
.news-cell[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filter { min-height: 44px; padding: 8px 18px; background: transparent; border: 1px solid var(--line); border-radius: 2px; color: var(--charcoal); font-weight: 600; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--ivory); }
@media (max-width: 960px) { .news-grid, .news-grid-page, .news-grid-page .news-cell:first-child .news-item { grid-template-columns: 1fr; } .news-item.is-lead { grid-row: auto; } }
@media (max-width: 520px) { .news-item:not(.is-lead) { grid-template-columns: 96px 1fr; } }

/* ---------- Llamado a ayuda ---------- */
.cta-help { background: var(--olive-2); color: var(--ivory); padding: clamp(64px, 8vw, 110px) 0; }
.cta-help-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-help .sec-title { color: var(--ivory); font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.cta-help .lead { color: rgba(247,243,234,.82); }
.cta-help-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-help-inner { grid-template-columns: 1fr; } .cta-help-actions { justify-content: flex-start; } }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { padding: clamp(56px, 7vw, 100px) 0 clamp(56px, 7vw, 96px); background: radial-gradient(70% 90% at 85% 10%, rgba(184,149,89,.18), transparent 60%), var(--ivory); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero-grid:has(> :only-child) { grid-template-columns: 1fr; }
.page-title { font-size: clamp(3rem, 7vw, 6rem); line-height: .98; max-width: 14ch; }
.arch-hero { max-width: 380px; width: 100%; justify-self: end; }
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gold); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.crumbs a:hover { color: var(--wine); text-decoration: underline; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .arch-hero { justify-self: start; max-width: 300px; } }

/* ---------- Horarios y sacramentos ---------- */
.sched-page { padding: var(--sec) 0 0; }
.sched-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.sched-card { padding: clamp(28px, 4vw, 56px); background: var(--white); border-top: 3px solid var(--wine); }
.sched-card.is-olive { background: var(--olive); color: var(--ivory); border-color: var(--gold); }
.sched-card.is-olive .h-card { color: var(--ivory); }
.sched-card .times dd { color: var(--wine); }
.sched-card.is-olive .times dd { color: var(--gold-l); }
.times-sub { margin-top: 24px; }
.times-sub h3 { font-size: 1.3rem; margin-bottom: 4px; }
.sched-card .next-mass { margin-top: 24px; }
.sched-card .facts { margin-top: 28px; }
@media (max-width: 860px) { .sched-page-grid { grid-template-columns: 1fr; } }
.sacraments { padding: var(--sec) 0; }
.sac-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 80px); }
.sac { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.sac-icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50% 50% 4px 4px; color: var(--wine); }
.sac-icon .icon { width: 28px; height: 28px; }
.sac h3 { font-size: 1.9rem; }
.sac p { margin-bottom: .6em; color: var(--muted); }
.sac .sac-how { color: var(--charcoal); font-size: .98rem; }
@media (max-width: 860px) { .sac-list { grid-template-columns: 1fr; } }
.note-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 48px; padding: 24px 28px; background: var(--ivory-2); border-left: 3px solid var(--gold); }
.note-box .icon { color: var(--gold-ink); margin-top: 3px; }
.note-box p { margin: 0; }

/* ---------- Datos / contacto ---------- */
.facts { margin: 0; display: grid; gap: 18px; }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(184,149,89,.35); }
.facts dt { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.facts dt .icon { color: var(--gold); }
.facts dd { margin: 0; }
.facts a { display: inline-block; padding: 2px 0; }
.is-olive .facts a { color: var(--gold-l); }
.facts-plain > div { grid-template-columns: 120px 1fr; }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- San Martín ---------- */
.timeline-sec { padding: var(--sec) 0; background: var(--ivory-2); }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 132px; top: 8px; bottom: 8px; width: 1px; background: var(--gold); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 46px; padding: 18px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 127px; top: 30px; width: 11px; height: 11px; background: var(--ivory-2); border: 1px solid var(--gold); transform: rotate(45deg); }
.tl-year { font: 600 2.4rem/1 var(--serif); color: var(--wine); text-align: right; }
.timeline p { margin: 6px 0 0; }
@media (max-width: 600px) { .timeline::before { left: 6px; } .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; } .timeline li::before { left: 1px; top: 26px; } .tl-year { text-align: left; } }
.spirit { padding: var(--sec) 0; }
.spirit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.pull { margin: 0; padding: 40px 0 40px 36px; border-left: 1px solid var(--gold); }
.pull p { font: italic 500 clamp(2rem, 3.6vw, 3rem)/1.18 var(--serif); color: var(--wine); margin-bottom: 18px; }
.pull footer { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .spirit-grid { grid-template-columns: 1fr; } }
.legacy { padding: 0 0 var(--sec); }
.legacy-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.legacy .arch { max-width: 420px; position: sticky; top: 120px; }
.prayer { margin: 0; padding: 32px 36px; background: var(--olive); color: var(--ivory); }
.prayer p { font: italic 500 1.55rem/1.4 var(--serif); margin: 0; max-width: none; }
@media (max-width: 860px) { .legacy-grid { grid-template-columns: 1fr; } .legacy .arch { position: static; max-width: 340px; } }

/* ---------- Ayuda ---------- */
.help-start { padding: clamp(48px, 6vw, 80px) 0 0; }
.help-start-box { background: var(--olive); color: var(--ivory); padding: clamp(28px, 4vw, 52px); }
.help-start-box h2 { color: var(--ivory); font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 24px; }
.help-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.help-ways a { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 18px; border: 1px solid rgba(216,190,138,.45); color: var(--ivory); text-decoration: none; transition: background-color .3s, border-color .3s; }
.help-ways a:hover { background: rgba(247,243,234,.08); border-color: var(--gold-l); color: var(--ivory); }
.help-ways .icon { width: 28px; height: 28px; color: var(--gold-l); }
.help-ways span { display: flex; flex-direction: column; font-size: .95rem; color: rgba(247,243,234,.82); }
.help-ways strong { font: 600 1.35rem/1.15 var(--serif); color: var(--ivory); }
.aid { padding: var(--sec) 0 0; scroll-margin-top: 90px; }
.aid-alt { padding-bottom: var(--sec); margin-top: var(--sec); background: var(--ivory-2); }
.aid-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.aid-grid.is-flip > .arch { order: 2; }
.aid-grid .arch { max-width: 420px; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ticks li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.is-olive .ticks li { border-color: rgba(216,190,138,.3); }
@media (max-width: 860px) { .aid-grid { grid-template-columns: 1fr; } .aid-grid.is-flip > .arch { order: 0; } .aid-grid .arch { max-width: 340px; } .ticks { grid-template-columns: 1fr; } }
.notices { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.notice { padding: 30px 32px; border: 1px solid var(--wine); background: var(--ivory); }
.notice h3 { color: var(--wine); font-size: 1.6rem; }
.notice p { margin: 0; }
.notice-wine { background: var(--wine); color: var(--ivory); }
.notice-wine h3 { color: var(--ivory); }
@media (max-width: 860px) { .notices { grid-template-columns: 1fr; } }
.steps-sec { padding: var(--sec) 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; isolation: isolate; counter-reset: s; }
.steps li:not(.steps-line) { counter-increment: s; position: relative; padding-top: 88px; text-align: center; }
.steps li:not(.steps-line)::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--gold); border-radius: 50% 50% 4px 4px; font: 600 2rem/1 var(--serif); color: var(--wine); }
.steps strong { display: block; font: 600 1.7rem/1.15 var(--serif); margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0 auto; max-width: 30ch; }
.steps-line { position: absolute; z-index: -1; top: 32px; left: 16%; right: 16%; height: 1px; background: var(--line); }
.steps-line span { display: block; height: 100%; background: var(--gold); transform-origin: left; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li:not(.steps-line) { padding: 6px 0 0 88px; text-align: left; min-height: 64px; }
  .steps li:not(.steps-line)::before { left: 0; transform: none; }
  .steps p { margin: 0; }
  .steps-line { top: 0; bottom: 0; left: 32px; right: auto; width: 1px; height: auto; }
  .steps-line span { height: 100%; transform-origin: top; }
}
.who { padding: 0 0 var(--sec); }
.table-wrap { overflow-x: auto; }
.who-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.who-table th, .who-table td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.who-table thead th { font: 700 .92rem var(--sans); letter-spacing: .02em; color: var(--gold-ink); border-bottom: 1px solid var(--gold); }
.who-table tbody th { font: 600 1.35rem/1.2 var(--serif); }
.who-table .badge { margin: 0; }
.form-sec, .volunteer { padding: var(--sec) 0; background: var(--ivory-2); scroll-margin-top: 80px; }
.form-sec-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .form-sec-grid { grid-template-columns: 1fr; } }

/* ---------- Formulario ---------- */
.form { background: var(--white); padding: clamp(24px, 4vw, 48px); border-top: 3px solid var(--gold); box-shadow: 0 30px 80px rgba(36,35,33,.08); }
.form-title { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.form-lead { color: var(--muted); }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
abbr[title] { text-decoration: none; color: var(--wine); }
.field input, .field textarea { width: 100%; min-height: 52px; font: 400 1.05rem var(--sans); color: var(--ink); background: var(--ivory); border: 1px solid #A89C84; border-radius: 2px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); background: var(--white); box-shadow: 0 0 0 4px rgba(36,59,53,.14); }
[aria-invalid="true"] { border-color: var(--wine) !important; }
.field-err { margin: 6px 0 0; font-size: .92rem; font-weight: 600; color: var(--wine); }
.field-err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #A89C84; border-radius: 2px; background: var(--ivory); cursor: pointer; transition: all .2s; font-weight: 600; font-size: .95rem; }
.chip input:checked + span { background: var(--olive); border-color: var(--olive); color: var(--ivory); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.is-invalid .chip span { border-color: var(--wine); }
.consent-wrap { margin: 4px 0 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--olive); }
.form-note { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--olive); margin: 8px 0 22px; font-size: .97rem; }
.form-note .icon { color: var(--wine); }
.form-status { margin: 16px 0 0; font-weight: 700; padding: 14px 16px; border-left: 3px solid currentColor; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1E6B42; background: #E3EFE6; }
.form-status.is-err { color: var(--wine); background: #F6E6E9; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Organizaciones ---------- */
.clarity { padding: var(--sec) 0 0; }
.clarity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.clarity-col { padding: clamp(28px, 4vw, 52px); background: var(--white); border-top: 3px solid var(--wine); }
.clarity-col.is-olive { background: var(--olive); color: var(--ivory); border-color: var(--gold); }
.clarity-col.is-olive .h-card { color: var(--ivory); }
@media (max-width: 860px) { .clarity-grid { grid-template-columns: 1fr; } }
.orgs { padding: var(--sec) 0; }
.org-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 80px); }
.org { padding: 28px 0; border-top: 1px solid var(--line); }
.org-role { font: 700 .88rem var(--sans); letter-spacing: .02em; color: var(--gold-ink); margin-bottom: 8px; }
.org h3 { font-size: 1.8rem; }
.org h3 a { color: var(--charcoal); text-decoration: none; }
.org h3 a:hover { color: var(--wine); text-decoration: underline; }
.org p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .org-list { grid-template-columns: 1fr; } }

/* ---------- Comunidad ---------- */
.ministries { padding: var(--sec) 0; }
.min-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 80px); }
.min-list li { padding: 28px 0; border-top: 1px solid var(--line); }
.min-list h3 { font-size: 1.8rem; }
.min-list p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .min-list { grid-template-columns: 1fr; } }
.life { background: var(--charcoal); color: var(--ivory); overflow: hidden; }
.life-pin { padding: var(--sec) 0; }
.life-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.life .sec-title { color: var(--ivory); }
.life .kicker { color: var(--gold-l); }
.life .note { color: rgba(247,243,234,.75); }
.life-track { display: flex; gap: clamp(14px, 2vw, 28px); padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.ph { flex: none; margin: 0; height: clamp(320px, 58vh, 580px); width: clamp(240px, 28vw, 400px); border-radius: var(--arch); overflow: hidden; scroll-snap-align: start; background: #33302B; }
.ph-wide { width: clamp(300px, 44vw, 700px); border-radius: 2px; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.life.is-pinned .life-track { overflow: visible; scroll-snap-type: none; width: max-content; }
.events { padding: var(--sec) 0 0; }

/* ---------- Artículo ---------- */
.article { padding: var(--sec) 0; }
.article-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 96px); }
.article-meta { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--gold); padding-top: 20px; align-self: start; position: sticky; top: 120px; }
.article-meta strong { color: var(--charcoal); }
.prose-article p { font-size: 1.15rem; }
.share { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; background: none; border: 0; color: var(--wine); font-weight: 700; cursor: pointer; }
@media (max-width: 860px) { .article-grid { grid-template-columns: 1fr; } .article-meta { position: static; } }

/* ---------- Contacto ---------- */
.contact-page { padding: var(--sec) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-mass { margin: 40px 0; }
.contact-mass .times dd { color: var(--wine); }
.map { aspect-ratio: 16 / 10; background: var(--olive) url("/img/map-texture.svg") center / cover; overflow: hidden; border-radius: 2px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-btn { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(36,59,53,.55); color: var(--ivory); border: 0; cursor: pointer; font-weight: 700; font-size: 1.1rem; transition: background-color .3s; }
.map-btn:hover { background: rgba(36,59,53,.35); }
.map-btn .icon { width: 30px; height: 30px; color: var(--gold-l); }
.map-btn small { font-weight: 400; font-size: .9rem; opacity: .9; }
.sent-banner { background: #E3EFE6; color: #1E5B3A; border-bottom: 1px solid #B9D6C2; }
.sent-banner .wrap { display: flex; align-items: center; gap: 12px; padding-block: 16px; }
.sent-banner p { margin: 0; font-weight: 700; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Legal / 404 ---------- */
.legal { padding: var(--sec) 0; }
.prose-legal { max-width: 760px; }
.prose-legal h2 { font-size: 2rem; margin-top: 1.6em; }
.prose-legal li { margin-bottom: .6em; max-width: 68ch; }
.nf { padding: var(--sec) 0; text-align: center; }
.nf-inner > .icon { width: 48px; height: 48px; margin: 0 auto 20px; color: var(--gold); }
.nf .page-title, .nf .lead { margin-inline: auto; }
.nf-links { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Pie ---------- */
.site-footer { position: relative; background: var(--charcoal); color: rgba(247,243,234,.82); padding: clamp(64px, 8vw, 110px) 0 120px; overflow: hidden; }
.footer-rose { position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(184,149,89,.18); box-shadow: inset 0 0 0 60px rgba(184,149,89,.03), inset 0 0 0 61px rgba(184,149,89,.12), inset 0 0 0 140px rgba(184,149,89,.02), inset 0 0 0 141px rgba(184,149,89,.1); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer a { color: var(--ivory); }
.site-footer a:hover { color: var(--gold-l); }
.brand-light { color: var(--ivory); }
.brand-light small { opacity: .75; }
.footer-brand p { margin: 20px 0 0; }
.site-footer h2 { font: 700 .92rem var(--sans); letter-spacing: .04em; color: var(--gold-l); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a, .site-footer .link-btn { display: inline-block; padding: 8px 0; min-height: 40px; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.social { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(247,243,234,.3); border-radius: 50%; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(247,243,234,.14); padding-top: 24px; margin-top: 16px; font-size: .9rem; }
.footer-bottom p { max-width: none; margin-bottom: 6px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botón flotante ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: transform .45s var(--ease), opacity .45s; }
.fab.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.fab-help { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; background: var(--wine); color: var(--ivory); text-decoration: none; font-weight: 700; border-radius: 999px; box-shadow: 0 14px 34px rgba(77,22,38,.38); }
.fab-help:hover { background: var(--wine-2); color: var(--ivory); }
.fab-help .icon { color: var(--gold-l); }
.fab-wa { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: var(--white); box-shadow: 0 12px 30px rgba(18,140,74,.4); }
.fab-wa .icon { width: 28px; height: 28px; }
.page-help .fab-help { display: none; }

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 95; max-width: 430px; background: var(--charcoal); color: rgba(247,243,234,.9); padding: 22px 24px; border-top: 2px solid var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,.35); font-size: .97rem; }
.cookie p { margin: 0 0 14px; }
.cookie a { color: var(--gold-l); }
.cookie-btns { display: flex; justify-content: flex-end; gap: 10px; }
@media (max-width: 600px) { .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; } body.has-cookie .fab { bottom: 196px; } }

/* ---------- Intro y progreso ---------- */
.intro { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: var(--olive-2); color: var(--ivory); }
.intro .mark { width: 60px; height: 78px; overflow: visible; color: var(--gold-l); }
.intro .mark path:first-child { stroke-dasharray: 160; }
.intro .mark path:last-child { stroke-dasharray: 60; }
.intro span { font: 600 1.7rem var(--serif); letter-spacing: .01em; }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 150; background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print { .site-header, .fab, .cookie, .hero-rose, .site-footer, .draft-bar { display: none !important; } body { background: #fff; } }

/* ---------- Ajustes de QA ---------- */
.site-header.is-over { top: auto; }
.week-col .times dd { font-size: 1.45rem; }
.times dd span { white-space: nowrap; }
.fab-help { border: 1px solid rgba(216,190,138,.55); }
.news-meta { flex-wrap: wrap; gap: 2px 12px; }
.crumbs ol { align-items: center; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { margin-right: 0; }
.aid-grid.is-flip { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 860px) { .aid-grid.is-flip { grid-template-columns: 1fr; } }

/* ---------- Orientación migratoria destacada ---------- */
.imm-spot { position: relative; padding: var(--sec) 0; background: var(--wine-2); color: var(--ivory); overflow: hidden; isolation: isolate; }
.imm-spot-bg { position: absolute; inset: -12% 0; z-index: -2; }
.imm-spot-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(.5) sepia(.4); }
.imm-spot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--wine-2) 35%, rgba(77,22,38,.82) 100%); }
.imm-spot .sec-title { color: var(--ivory); max-width: 18ch; }
.imm-spot-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.imm-topics { list-style: none; margin: 28px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.imm-topics li { padding: 9px 14px; border: 1px solid rgba(216,190,138,.5); font-weight: 600; font-size: .95rem; }
.imm-promise { background: rgba(247,243,234,.06); border: 1px solid rgba(216,190,138,.4); border-top: 3px solid var(--gold); padding: clamp(26px, 3.5vw, 44px); }
.imm-promise h3 { color: var(--gold-l); font-size: 1.9rem; }
.imm-promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.imm-promise li { display: flex; gap: 12px; align-items: flex-start; }
.imm-promise .icon { color: var(--gold-l); margin-top: 3px; }
@media (max-width: 960px) { .imm-spot-grid { grid-template-columns: 1fr; } }
.aid-first { margin-top: clamp(48px, 6vw, 80px); }


/* ---------- Fotos en arco vivas: placa con versículo, destello de luz, inclinación ---------- */
.arch[data-tilt] { transition: box-shadow .5s var(--ease); }
.arch[data-tilt]:hover { box-shadow: 0 40px 80px rgba(36,35,33,.22); }
.arch-glint { position: absolute; top: -20%; bottom: -20%; left: -60%; right: -60%; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255,230,180,.45) 50%, transparent 58%); mix-blend-mode: soft-light; }
.verse { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 72px 28px 28px; display: flex; flex-direction: column; gap: 6px; color: var(--ivory); background: linear-gradient(0deg, rgba(26,23,20,.92) 0%, rgba(26,23,20,.7) 55%, transparent 100%); }
.verse-mark { color: var(--gold-l); font-size: 1.1rem; line-height: 1; }
.verse-text { font: italic 500 clamp(1.35rem, 2.1vw, 1.7rem)/1.22 var(--serif); }
.verse-ref { font: 700 .82rem var(--sans); letter-spacing: .06em; color: var(--gold-l); }
.verse-text .vw { display: inline-block; }
@media (max-width: 860px) {
  .welcome-grid > .arch, .service .arch, .aid-grid .arch, .legacy .arch { width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 4 / 4.4; }
  .arch-hero { max-width: 100%; width: 100%; aspect-ratio: 4 / 3.6; }
}
