/* ============================================================
   Parroquia San Francisco de Paula — Editorial Sagrado
   Crema + dorado + serif editorial. Premium, sobrio, solemne.
   ============================================================ */

:root {
  /* Paleta — Rojo cardenal + dorado */
  --cream: #FAF4EA;
  --cream-deep: #F3E9D8;
  --paper: #FFFDF8;
  --ink: #241A12;
  --ink-soft: #4E4133;
  --ink-mute: #7E6F5C;
  --red: #8E1B20;
  --red-deep: #6E1418;
  --red-dark: #4A0E12;
  --red-grad: linear-gradient(160deg, #A6242A 0%, #8E1B20 45%, #6E1418 100%);
  --gold: #C9A45C;
  --gold-light: #E0C584;
  --gold-deep: #A67C2E;
  --gold-grad: linear-gradient(135deg, #E0C584 0%, #C9A45C 45%, #A67C2E 100%);
  --olive: #6B6B4F;
  --line: rgba(36, 26, 18, 0.12);
  --line-gold: rgba(201, 164, 92, 0.4);

  /* Semánticos de estado/terceros (WhatsApp) — NO cuentan en la paleta de marca */
  --semantic-whatsapp: #25D366;

  /* Tipografía */
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;

  /* Geometría */
  --r-xl: 2rem;
  --r-lg: 1.5rem;
  --r-md: 1rem;
  --pad-section: clamp(4.5rem, 9vw, 8rem);

  /* Motion */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* F1 — Tipografía variable self-hosted (offline-safe, sin CDN).
   Fraunces variable con optical sizing (opsz 9-144) + Outfit variable (wght 100-900). */
@font-face {
  font-family: 'Fraunces';
  src: url('/static/fonts/fraunces-var-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/static/fonts/fraunces-italic-var-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/static/fonts/outfit-var-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* F1: los controles de formulario NO heredan la fuente por defecto en los
   navegadores (renderizaban en Arial) — heredar la tipografía de marca. */
button, input, select, textarea { font: inherit; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

/* Accesibilidad: skip-link y focus visible */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 120;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #fff;
  font-weight: 500;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---------- Grain (noise de película, fijo) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Intro (entrada GSAP) ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--red-deep);
  visibility: hidden;
  opacity: 0;
}
.intro-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(230, 190, 130, 0.14) 0%, transparent 70%),
    var(--red-grad);
}
.intro-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vmin, 640px);
  height: min(78vmin, 640px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 197, 132, 0.22) 0%, rgba(224, 197, 132, 0.06) 45%, transparent 72%);
  pointer-events: none;
}
.intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.intro-cross {
  position: relative;
  width: clamp(84px, 16vmin, 150px);
  height: clamp(84px, 16vmin, 150px);
  z-index: 2;
  margin-bottom: clamp(1.6rem, 5vh, 3rem);
}
.intro-cross img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(224, 197, 132, 0.45));
}
.intro-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.intro-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.intro-rings span {
  position: absolute;
  width: clamp(170px, 34vmin, 340px);
  height: clamp(170px, 34vmin, 340px);
  border: 1px solid rgba(224, 197, 132, 0.25);
  border-radius: 50%;
}
.intro-rings span:nth-child(2) {
  width: clamp(240px, 48vmin, 460px);
  height: clamp(240px, 48vmin, 460px);
  border-color: rgba(224, 197, 132, 0.12);
}
.intro-saint {
  position: relative;
  width: clamp(150px, 24vmin, 230px);
  height: clamp(190px, 30vmin, 290px);
  overflow: hidden;
  border-radius: 200px 200px 18px 18px;
  border: 2px solid rgba(224, 197, 132, 0.55);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
}
.intro-saint img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.intro-name {
  margin-top: 2.4rem;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 4.5vmin, 2.6rem);
  color: var(--cream);
  letter-spacing: 0.01em;
  opacity: 0;
}
.intro-name em { font-style: italic; color: var(--gold-light); }
.intro-sub {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(250, 244, 234, 0.7);
  opacity: 0;
}
.intro-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(36, 26, 18, 0.5));
  pointer-events: none;
}

/* ---------- Eyebrow / títulos ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18em;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 42em;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sub-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.4rem 0.8rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), background 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
  white-space: nowrap;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  font-size: 0.95rem;
  transition: transform 0.6s var(--ease-out);
}

.btn-gold {
  background: var(--gold-grad);
  color: #fff;
}
.btn-gold .btn-arrow { background: rgba(255, 255, 255, 0.2); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(138, 100, 35, 0.28); }
.btn-gold:hover .btn-arrow { transform: translate(3px, -3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }

.btn-lg { padding: 1rem 0.55rem 1rem 1.9rem; font-size: 1.02rem; }
.btn-lg .btn-arrow { width: 2.5rem; height: 2.5rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Nav pill flotante ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 1.2rem 1.5rem 0;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0.55rem 0.55rem 0.55rem 1.4rem;
  border-radius: 999px;
  background: rgba(250, 244, 234, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line-gold);
  box-shadow: 0 18px 50px rgba(31, 27, 22, 0.12);
  transition: background 0.6s var(--ease-soft);
}

.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(166, 124, 46, 0.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 500; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color 0.4s var(--ease-soft), background 0.4s var(--ease-soft);
}
.nav-links a:hover { color: var(--gold-deep); background: rgba(166, 124, 46, 0.08); }

.nav-cta { margin-left: 0.25rem; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.5s var(--ease-out), opacity 0.3s var(--ease-soft);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  pointer-events: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(27, 23, 18, 0.92);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.nav-mobile.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-mobile a {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  padding: 0.6rem 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
}
.nav-mobile.open a { opacity: 1; transform: translateY(0); }
.nav-mobile.open a:nth-child(1) { transition-delay: 0.08s; }
.nav-mobile.open a:nth-child(2) { transition-delay: 0.12s; }
.nav-mobile.open a:nth-child(3) { transition-delay: 0.16s; }
.nav-mobile.open a:nth-child(4) { transition-delay: 0.2s; }
.nav-mobile.open a:nth-child(5) { transition-delay: 0.24s; }
.nav-mobile.open a:nth-child(6) { transition-delay: 0.28s; }
.nav-mobile.open a:nth-child(7) { transition-delay: 0.32s; }
.nav-mobile.open a:nth-child(8) { transition-delay: 0.36s; }
.nav-mobile a:hover { color: var(--gold-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
  background: var(--red-deep);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 12s var(--ease-out) forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(74, 14, 18, 0.72) 0%, rgba(74, 14, 18, 0.42) 45%, rgba(74, 14, 18, 0.9) 100%);
}
.hero-red {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 50% at 26% 46%, rgba(224, 197, 132, 0.12) 0%, transparent 62%),
    linear-gradient(90deg, rgba(74, 14, 18, 0.82) 0%, rgba(74, 14, 18, 0.55) 48%, rgba(74, 14, 18, 0.3) 100%);
}
.hero-content {
  padding: clamp(6.5rem, 14vh, 8.5rem) 0 clamp(4rem, 7vh, 5.5rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-text { min-width: 0; }
.hero .eyebrow { color: var(--gold-light); }
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  max-width: 15em;
  margin-bottom: 1.2rem;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.45);
}
.hero-lead {
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  font-weight: 300;
  max-width: 42em;
  color: rgba(250, 244, 234, 0.92);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }
.hero .btn-ghost { color: var(--cream); border-color: rgba(250, 244, 234, 0.4); }
.hero .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Redes sociales ---------- */
.social-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.4rem;
}
.social-label {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 244, 234, 0.6);
  margin-right: 0.3rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 244, 234, 0.28);
  background: rgba(250, 244, 234, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 400;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s, color 0.4s;
}
.social-btn svg { flex-shrink: 0; }
.social-btn:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  background: rgba(224, 197, 132, 0.16);
  color: var(--gold-light);
}
.social-btn .social-icon-bg {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: rgba(250, 244, 234, 0.14);
}
.social-row-light .social-label { color: var(--ink-mute); }
.social-row-light .social-btn {
  border-color: var(--line-gold);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(36, 26, 18, 0.06);
}
.social-row-light .social-btn:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.16), rgba(201, 164, 92, 0.05));
  color: var(--gold-deep);
}

.hero-saint {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero-cross {
  position: relative;
  z-index: 3;
  width: clamp(64px, 9vmin, 92px);
  height: clamp(64px, 9vmin, 92px);
  margin-bottom: 0.9rem;
}
.hero-cross img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(224, 197, 132, 0.5));
}
.hero-saint-frame {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 300px 300px 22px 22px;
  border: 2px solid rgba(224, 197, 132, 0.6);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5), inset 0 0 50px rgba(0, 0, 0, 0.25);
}
.hero-saint-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(250, 244, 234, 0.2);
}
.fact strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--gold-light);
}
.fact span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250, 244, 234, 0.7); }

.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(250, 244, 234, 0.5);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--gold-light);
  animation: scrollDot 2s var(--ease-out) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ---------- Secciones ---------- */
.section { padding: var(--pad-section) 0; }

.section-dark {
  background: var(--red-dark);
  color: var(--cream);
}
.section-dark .section-title { color: var(--cream); }
.section-dark .section-sub { color: rgba(250, 244, 234, 0.74); }
.section-dark .eyebrow { color: var(--gold-light); }

/* ---------- Split (imagen + texto) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-reverse .split-media { order: 2; }
.split-reverse .split-body { order: 1; }

.frame-outer {
  background: rgba(166, 124, 46, 0.08);
  border: 1px solid var(--line-gold);
  padding: 0.55rem;
  border-radius: var(--r-xl);
}
.frame-inner {
  border-radius: calc(var(--r-xl) - 0.55rem);
  overflow: hidden;
  background: var(--paper);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.frame-inner img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 1.4s var(--ease-soft); }
.frame-outer:hover .frame-inner img { transform: scale(1.03); }

.caption {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-mute);
}

.prose p { margin-bottom: 1.1rem; }
.prose strong { font-weight: 500; color: var(--ink); }
.section-dark .prose strong { color: var(--cream); }

/* ---------- Párrocos ---------- */
.parrocos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.4rem 2rem;
  margin-top: 0.75rem;
}
.parroco {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.parroco-year {
  font-family: var(--font-serif);
  color: var(--gold-deep);
  font-size: 0.9rem;
  min-width: 2.6rem;
}
.parroco-name { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Sección San Francisco de Paula ---------- */
.section-santo { background: var(--cream-deep); }
.section-head-center { text-align: center; margin-inline: auto; }
.santo-layout {
  display: grid;
  grid-template-columns: minmax(300px, 440px) 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.santo-imgs { position: relative; }
.santo-img-main {
  width: min(340px, 78vw);
  margin-inline: auto;
  border-radius: 400px 400px 24px 24px;
  overflow: hidden;
  border: 3px solid rgba(201, 164, 92, 0.55);
  box-shadow: 0 40px 90px rgba(36, 26, 18, 0.22);
}
.santo-img-main img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.santo-img-aux {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 150px;
  height: 190px;
  border-radius: 180px 180px 14px 14px;
  overflow: hidden;
  border: 2px solid rgba(224, 197, 132, 0.7);
  box-shadow: 0 24px 50px rgba(36, 26, 18, 0.3);
  background: var(--paper);
}
.santo-img-aux img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.santo-body .prose p { color: var(--ink-soft); font-size: 1.06rem; }
.santo-quote {
  position: relative;
  margin: 2.2rem 0;
  padding: 1.8rem 2rem 1.6rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.14), rgba(201, 164, 92, 0.04));
}
.santo-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--red-deep);
}
.santo-quote-mark {
  position: absolute;
  top: 0.1rem;
  left: 1rem;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  color: var(--gold);
  line-height: 1;
}
.santo-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line-gold);
  color: var(--gold-deep);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Cards horarios ---------- */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}
.card {
  background: rgba(255, 253, 248, 0.04);
  border: 1px solid rgba(250, 244, 234, 0.12);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.6s var(--ease-soft), transform 0.6s var(--ease-out);
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-grad);
  opacity: 0.7;
}
.card:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.card-icon { font-size: 1.6rem; display: block; margin-bottom: 1rem; }
.card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 0.7rem; }
.card-time { font-size: 1.35rem; font-family: var(--font-serif); color: var(--gold-light); margin-bottom: 0.5rem; }
.card-note { color: rgba(250, 244, 234, 0.68); font-size: 0.95rem; }

.despacho-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  max-width: 900px;
  margin-inline: auto;
  padding: 1.4rem 1.8rem;
  border: 1px solid rgba(166, 124, 46, 0.35);
  border-radius: 999px;
  background: rgba(166, 124, 46, 0.08);
  color: var(--cream);
  font-size: 0.95rem;
}

/* ---------- Servicios / sacramentos ---------- */
.section-services { background: var(--paper); }
.services {
  display: grid;
  gap: 0.9rem;
  max-width: 880px;
  margin-bottom: 2rem;
}
.service {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.5s var(--ease-soft);
}
.service[open] { border-color: var(--line-gold); }
.service summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.service summary::-webkit-details-marker { display: none; }
.service-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; color: var(--ink); }
.service-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  color: var(--gold-deep);
  font-size: 1.2rem;
  transition: transform 0.5s var(--ease-out), background 0.4s;
  flex-shrink: 0;
}
.service[open] .service-chevron { transform: rotate(45deg); background: rgba(166, 124, 46, 0.1); }
.service-body { padding: 0 1.8rem 1.8rem; color: var(--ink-soft); }
.service-body p { margin-bottom: 1rem; }
.service-body h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.requisitos { padding-left: 1.3rem; display: grid; gap: 0.45rem; }
.requisitos li::marker { color: var(--gold); }

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  max-width: 880px;
  padding: 1.6rem 1.9rem;
  border-radius: var(--r-lg);
  background: var(--cream-deep);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---------- Cripta ---------- */
.section-cripta { background: var(--cream-deep); }
.cripta-schedule {
  display: grid;
  gap: 0;
  margin: 1.5rem 0;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper);
}
.schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.schedule-row:last-child { border-bottom: 0; }
.day { font-weight: 500; color: var(--ink); }
.time { font-family: var(--font-serif); color: var(--gold-deep); font-size: 1.05rem; }

/* ---------- Grupos ---------- */
.grupos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grupo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.6s;
}
.grupo:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(31, 27, 22, 0.12); border-color: var(--line-gold); }
.grupo-media { aspect-ratio: 4 / 3; overflow: hidden; }
.grupo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.grupo:hover .grupo-media img { transform: scale(1.05); }
.grupo-body { padding: 1.6rem 1.7rem 1.8rem; }
.grupo-body h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 0.5rem; }
.grupo-body p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; }

.text-link { color: var(--gold-deep); font-weight: 500; font-size: 0.95rem; }
.text-link span { display: inline-block; transition: transform 0.4s var(--ease-out); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Galería ---------- */
.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.galeria-item { overflow: hidden; border-radius: var(--r-md); background: var(--cream-deep); cursor: zoom-in; }
.galeria-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease-soft), filter 0.8s var(--ease-soft);
  filter: saturate(0.92);
}
.galeria-item:hover img { transform: scale(1.06); filter: saturate(1); }

/* ---------- Ofrendas ---------- */
.section-ofrendas { background: var(--red-dark); color: var(--cream); }
.section-ofrendas .section-title { color: var(--cream); }
.section-ofrendas .prose p { color: rgba(250, 244, 234, 0.84); }
.donacion {
  margin: 1.8rem 0 1.2rem;
  border: 1px solid rgba(201, 164, 92, 0.4);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 253, 248, 0.04);
}
.donacion-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(250, 244, 234, 0.08);
}
.donacion-row:last-child { border-bottom: 0; }
.donacion-row span { color: rgba(250, 244, 234, 0.65); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }
.donacion-row strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; color: var(--gold-light); text-align: right; }
.note { font-size: 0.82rem; color: rgba(250, 244, 234, 0.55); font-style: italic; }

/* ---------- Contacto ---------- */
.section-contacto { background: var(--cream-deep); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  transition: transform 0.6s var(--ease-out), border-color 0.5s, box-shadow 0.6s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 18px 44px rgba(31, 27, 22, 0.08); }
.contact-icon { font-size: 1.4rem; display: block; margin-bottom: 0.8rem; }
.contact-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.2rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.9rem; }

.map-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  background: var(--paper);
  box-shadow: 0 30px 70px rgba(31, 27, 22, 0.14);
}
.map-frame iframe { display: block; filter: sepia(0.12) saturate(0.9); }

/* ---------- Footer ---------- */
.site-footer {
  background: #33090C;
  color: rgba(250, 244, 234, 0.75);
  padding: 4.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 244, 234, 0.1);
}
.footer-brand { font-family: var(--font-serif); font-size: 1.5rem; color: var(--cream); margin-bottom: 0.8rem; }
.footer-desc { font-size: 0.92rem; max-width: 36em; line-height: 1.7; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(224, 197, 132, 0.35);
  background: rgba(224, 197, 132, 0.08);
  color: var(--gold-light);
  transition: transform 0.5s var(--ease-out), background 0.4s, color 0.4s, border-color 0.4s;
}
.footer-social-btn:hover {
  transform: translateY(-3px);
  background: rgba(224, 197, 132, 0.18);
  color: var(--cream);
  border-color: var(--gold-light);
}
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-h { font-family: var(--font-serif); font-weight: 400; font-size: 1rem; color: var(--cream); margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.9rem; color: rgba(250, 244, 234, 0.7); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1.8rem;
  font-size: 0.82rem;
  color: rgba(250, 244, 234, 0.45);
}
.back-top:hover { color: var(--gold-light); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.3rem 0.7rem 0.8rem;
  border-radius: 999px;
  background: var(--semantic-whatsapp);
  color: #fff;
  font-weight: 500;
  font-size: 0.92rem;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.35);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(37, 211, 102, 0.45); }
.wa-float svg { flex-shrink: 0; }

/* ---------- Error pages ---------- */
.section-error { min-height: 70dvh; display: flex; align-items: center; }
.error-box { max-width: 560px; }
.error-box .prose { margin: 1.2rem 0 1.8rem; color: var(--ink-soft); }

/* ---------- Intro: bloqueo de scroll ---------- */
.intro-lock { overflow: hidden; }

/* ---------- Lightbox galería ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(15, 8, 6, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure {
  max-width: min(1000px, 86vw);
  max-height: 82dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 74dvh;
  object-fit: contain;
  border-radius: var(--r-md);
  border: 1px solid rgba(224, 197, 132, 0.45);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.lightbox-caption {
  margin-top: 0.9rem;
  color: rgba(250, 244, 234, 0.75);
  font-size: 0.9rem;
  font-style: italic;
}
.lightbox-close {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(224, 197, 132, 0.4);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.lightbox-close:hover { background: rgba(224, 197, 132, 0.15); transform: rotate(90deg); }
.lightbox-nav {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(224, 197, 132, 0.4);
  border-radius: 50%;
  background: rgba(15, 8, 6, 0.6);
  color: var(--gold-light);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.lightbox-nav:hover { background: rgba(224, 197, 132, 0.18); transform: scale(1.06); }
.lightbox-prev { order: -1; }
.lightbox-next { order: 1; }

@media (max-width: 480px) {
  .lightbox { gap: 0.4rem; padding: 0.8rem; }
  .lightbox-nav { width: 2.4rem; height: 2.4rem; font-size: 1.4rem; }
  .lightbox-img { max-height: 70dvh; }
}

/* ---------- Campañas ---------- */
.section-campanas { background: var(--paper); }
.campanas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.campana-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.6s;
}
.campana-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(36, 26, 18, 0.12); border-color: var(--line-gold); }
.campana-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); }
.campana-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease-soft); }
.campana-card:hover .campana-media img { transform: scale(1.05); }
.campana-icon { font-size: 3rem; padding: 2rem 2rem 0; }
.campana-body { padding: 1.6rem 1.9rem 1.9rem; display: flex; flex-direction: column; gap: 0.6rem; }
.campana-sub { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.campana-body h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; color: var(--ink); }
.campana-body p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; flex: 1; }
.campana-horario { color: var(--gold-deep); font-size: 0.9rem; font-weight: 500; flex: none; }
.campana-body .btn { align-self: flex-start; margin-top: 0.6rem; }

@media (max-width: 900px) {
  .campanas-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

/* ---------- Tabs / paneles ---------- */
.tab-panel[hidden] { display: none !important; }

/* Sin JS: todo el contenido visible (paneles apilados) */
.no-js .tab-panel[hidden] { display: block !important; }
.no-js .tab-panel { display: block !important; }

/* Split-text del hero: palabras como inline-block para animar */
.hero-word { display: inline-block; will-change: transform, opacity; }

/* Float-drift: flotación sutil de la cruz y el santo */
@keyframes floatDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.float-drift { animation: floatDrift 6s var(--ease-soft) infinite; }

.nav-links .tab-link.active,
.nav-mobile .tab-link.active {
  color: var(--gold-deep);
  background: rgba(166, 124, 46, 0.12);
}
.nav-mobile .tab-link.active {
  color: var(--gold-light);
  background: transparent;
}

/* ---------- Inicio: vistazo rápido ---------- */
.section-inicio { background: var(--cream-deep); }
.inicio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.inicio-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2rem;
  text-align: left;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.6s;
}
.inicio-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(36, 26, 18, 0.12); border-color: var(--line-gold); }
.inicio-card-icon { font-size: 2rem; }
.inicio-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.4rem; color: var(--ink); }
.inicio-card p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.inicio-card .text-link { margin-top: 0.4rem; }

/* ---------- Reveal (JS, progressive) ---------- */
.reveal { opacity: 1; }
.reveal.visible { opacity: 1; }

/* ---------- Evangelio del día ---------- */
.section-evangelio { background: var(--paper); }
.evangelio-card {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  background: linear-gradient(160deg, var(--paper) 0%, var(--cream) 100%);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: 0 30px 70px rgba(36, 26, 18, 0.08);
}
.evangelio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 2px;
  background: var(--gold-grad);
}
.evangelio-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.evangelio-cita { margin-bottom: 1.4rem; }
.evangelio-cita p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--red-deep);
  line-height: 1.35;
}
.evangelio-texto {
  border-left: 3px solid var(--line-gold);
  padding-left: 1.5rem;
  margin-bottom: 1.8rem;
}
.evangelio-texto p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  white-space: pre-line;
}
.evangelio-reflexion {
  background: var(--cream-deep);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.5rem;
}
.evangelio-reflexion h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--red-deep);
  margin-bottom: 0.7rem;
}
.evangelio-reflexion p { color: var(--ink-soft); font-size: 0.99rem; line-height: 1.7; }

@media (max-width: 480px) {
  .evangelio-card { padding: 1.5rem; border-radius: var(--r-lg); }
  .evangelio-cita p { font-size: 1.15rem; }
  .evangelio-texto { padding-left: 1.1rem; }
  .evangelio-reflexion { padding: 1.2rem 1.2rem; }
  .evangelio-reflexion h3 { font-size: 1.15rem; }
}

/* ---------- Sección Nuestro Párroco ---------- */
.section-parroco { background: var(--cream); }
.parroco-layout {
  display: grid;
  grid-template-columns: minmax(300px, 480px) 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.parroco-imgs { position: relative; }
.parroco-img-main {
  width: min(380px, 80vw);
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid rgba(201, 164, 92, 0.55);
  box-shadow: 0 34px 80px rgba(36, 26, 18, 0.2);
}
.parroco-img-main img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.parroco-img-aux {
  position: absolute;
  right: 0;
  bottom: -6%;
  width: 190px;
  height: 120px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid rgba(224, 197, 132, 0.8);
  box-shadow: 0 20px 44px rgba(36, 26, 18, 0.28);
  background: var(--paper);
}
.parroco-img-aux img { width: 100%; height: 100%; object-fit: cover; }
.parroco-name-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--red-deep);
  margin-bottom: 1.2rem;
}
.parroco-body .prose p { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 1rem; }
.parroco-body .prose strong { color: var(--ink); font-weight: 500; }
.parroco-quote {
  position: relative;
  margin: 1.8rem 0;
  padding: 1.6rem 2rem 1.4rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.14), rgba(201, 164, 92, 0.04));
}
.parroco-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--red-deep);
}
.parroco-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

@media (max-width: 900px) {
  .parroco-layout { grid-template-columns: 1fr; }
  .parroco-imgs { max-width: 420px; margin-inline: auto; }
  .parroco-img-aux { right: 4%; bottom: -4%; width: 160px; height: 100px; }
}

@media (max-width: 480px) {
  .parroco-img-aux { display: none; }
  .parroco-quote p { font-size: 1.05rem; }
}

/* ---------- Sección Nuestro Párroco fin ---------- */

/* ---------- Videos YouTube ---------- */
.section-videos { background: var(--cream-deep); }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.video-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.6s;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(36, 26, 18, 0.12); border-color: var(--line-gold); }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #111; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  padding: 1.1rem 1.3rem 1.3rem;
  color: var(--ink);
}
.videos-cta { text-align: center; }

@media (max-width: 900px) {
  .videos-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

/* ---------- Actualidad ---------- */
.section-actualidad { background: var(--paper); }
.emergencia-wrap {
  background: var(--red-dark);
  padding: 1.1rem 0;
}
.emergencia-banner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.9rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(224, 197, 132, 0.22), rgba(224, 197, 132, 0.08));
  border: 1px solid rgba(224, 197, 132, 0.5);
}
.emergencia-icon { font-size: 2rem; flex-shrink: 0; }
.emergencia-body { flex: 1; min-width: 240px; }
.emergencia-body h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; color: var(--gold-light); margin-bottom: 0.3rem; }
.emergencia-body p { color: rgba(250, 244, 234, 0.9); font-size: 0.99rem; line-height: 1.5; }

.actualidad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.actualidad-col {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.8rem;
  transition: border-color 0.5s;
}
.actualidad-col:hover { border-color: var(--line-gold); }
.actualidad-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.actualidad-src {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.actualidad-src-vatican { background: rgba(142, 27, 32, 0.1); color: var(--red-deep); border: 1px solid rgba(142, 27, 32, 0.25); }
.actualidad-src-cec { background: rgba(201, 164, 92, 0.16); color: var(--gold-deep); border: 1px solid var(--line-gold); }

.noticias { list-style: none; display: grid; gap: 0.4rem; }
.noticia a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--r-md);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, border-color 0.4s;
}
.noticia a:hover { background: var(--paper); border-bottom-color: var(--line-gold); }
.noticia-fecha { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.noticia-titulo { font-family: var(--font-serif); font-size: 1.02rem; color: var(--ink); line-height: 1.35; }
.noticia-resumen { font-size: 0.86rem; color: var(--ink-mute); line-height: 1.5; }
.noticias-empty { color: var(--ink-mute); font-style: italic; padding: 1rem 0; }

@media (max-width: 900px) {
  .actualidad-grid { grid-template-columns: 1fr; }
  .emergencia-banner { padding: 1.3rem 1.4rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .grupos { grid-template-columns: 1fr; max-width: 620px; }
  .inicio-cards { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-pill { gap: 0.75rem; }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 1; }
  .split-reverse .split-body { order: 2; }
  .cards-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .despacho-banner { border-radius: var(--r-lg); }
  .hero-facts { gap: 1.5rem; }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .hero-saint {
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 0.9rem;
    margin-bottom: 0.5rem;
  }
  .hero-cross { margin-bottom: 0; margin-right: 0; }
  .hero-saint-frame { max-width: 190px; }
  .hero-facts { justify-content: center; }
  .hero-actions { justify-content: center; }
  .santo-layout { grid-template-columns: 1fr; }
  .santo-imgs { max-width: 380px; margin-inline: auto; }
  .santo-quote p { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .brand-sub { display: none; }
  .nav-pill { padding: 0.45rem 0.45rem 0.45rem 1rem; gap: 0.5rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-title { font-size: 0.92rem; }
  .hero { min-height: 100dvh; }
  .hero-content {
    padding-top: clamp(5.5rem, 14vh, 7rem);
    padding-bottom: 3rem;
    gap: 1.4rem;
  }
  .hero-title { font-size: clamp(2.1rem, 11vw, 3rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { gap: 0.7rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-saint-frame { max-width: 140px; }
  .hero-cross { width: 56px; height: 56px; }
  .hero-facts {
    gap: 0.9rem 1.4rem;
    justify-content: center;
    padding-top: 1.2rem;
  }
  .fact strong { font-size: 1.15rem; }
  .fact span { font-size: 0.7rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .galeria { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .map-frame iframe { height: 300px; }
  .despacho-banner { border-radius: var(--r-lg); padding: 1.2rem 1.3rem; }
  .despacho-banner .btn { width: 100%; justify-content: center; }
  .card { padding: 1.5rem; }
  .service summary { padding: 1.1rem 1.2rem; }
  .service-body { padding: 0 1.2rem 1.2rem; }
  .service-title { font-size: 1.2rem; }
  .donacion-row { flex-direction: column; gap: 0.3rem; }
  .donacion-row strong { text-align: left; }
  .parrocos { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .santo-img-aux { display: none; }
  .santo-img-main { width: min(240px, 74vw); }
  .chip { font-size: 0.78rem; }
  .intro-cross { margin-bottom: 1.2rem; }
  .intro-name { margin-top: 1.6rem; font-size: clamp(1.3rem, 5.5vmin, 1.8rem); }
  .intro-sub { letter-spacing: 0.24em; }
  .wa-float { right: 0.9rem; bottom: 0.9rem; padding: 0.6rem 1.1rem 0.6rem 0.7rem; font-size: 0.85rem; }
  .intro-saint { width: 140px; height: 178px; }
  .intro-rings span { width: clamp(150px, 40vmin, 240px); height: clamp(150px, 40vmin, 240px); }
  .intro-rings span:nth-child(2) { width: clamp(210px, 52vmin, 320px); height: clamp(210px, 52vmin, 320px); }
  .nav-mobile { overflow-y: auto; justify-content: flex-start; padding-top: 6rem; gap: 0.2rem; }
}

@media (max-width: 360px) {
  .brand-title { font-size: 0.82rem; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-title { font-size: clamp(1.9rem, 10vw, 2.4rem); }
  .hero-facts { gap: 0.7rem 1rem; }
  .hero-saint-frame { max-width: 124px; }
  .hero-cross { width: 50px; height: 50px; }
  .galeria { grid-template-columns: 1fr; }
}

/* Pantallas bajas / landscape móvil: compactar la intro para que no desborde */
@media (max-height: 700px) and (max-width: 900px) {
  .intro-cross { width: 64px; height: 64px; margin-bottom: 0.8rem; }
  .intro-saint { width: 120px; height: 152px; }
  .intro-name { margin-top: 1.2rem; font-size: 1.2rem; }
  .intro-sub { font-size: 0.7rem; }
  .intro-rings span { width: 140px; height: 140px; }
  .intro-rings span:nth-child(2) { width: 200px; height: 200px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; }
  .hero-img { animation: none; transform: scale(1); }
}
