@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Inter:wght@400;500;600;700&display=swap');
@font-face { font-family: 'Michelangelus'; src: url('../fonts/michelangelus/michelangelus_cursiva.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Michelangelus'; src: url('../fonts/michelangelus/michelangelus_negrita_cursiva.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }

@font-face {
  font-family: 'Nasalization';
  src: url('../font/Nasalization.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-ios-titles: 'Michelangelus', 'Cormorant Garamond', Georgia, serif;
  --font-ios-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Michelangelus', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Michelangelus', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Michelangelus', 'Cormorant Garamond', Georgia, serif;

  --color-primary: #A08C64;
  --color-gold-light: #B4A078;
  --color-gold-dark: #8C783C;
  --color-marron: #A07850;
  --color-accent: #d7e8f5;
  --color-dark: #3b3b3b;
  --text-dark-1: #2d2d2d;
  --text-dark-2: #3d3322;

  --footer-bg: #1f160d;
  --footer-top: #2a1d12;
  --footer-border: rgba(180,160,120,.18);
  --footer-text: rgba(255,255,255,.70);
  --footer-muted: rgba(255,255,255,.48);
  --footer-card: rgba(255,255,255,.06);
  --footer-card-hover: rgba(255,255,255,.10);
  --footer-glow: rgba(160,140,100,.28);
}

html {
  scroll-behavior: smooth;
}

main {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--text-dark-1);
}

body,
button,
input,
textarea,
select,
a,
p,
span,
li,
label,
small {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.font-titulo,
.h2-bg,
.h2-title,
.h2-custom,
.h2-service,
.banner-title,
.parrocos-title,
.mov-title,
.sa-quote,
.sa-title,
.mov-modal__title,
.parroco-modal__title {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.font-cursive,
.sa-final-blessing {
  font-family: var(--font-title);
  font-weight: 600;
}

.bg-primary { background-color: var(--color-primary); }
.text-primary { color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); }
.text-dark { color: var(--color-dark); }

.menu-close-btn {
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  color: #111;
}

.sa-page {
  background: #fff;
  min-height: 50vh;
}

.sa-page .sa-body,
.sa-body {
  margin: 0 0 12px 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(45,45,45,.88);
  font-weight: 500;
}

.sa-page .sa-title,
.sa-title {
  margin: 2rem 0 .75rem 0;
  font-family: var(--font-title);
  letter-spacing: 0;
  text-transform: none;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  line-height: 1.1;
  font-weight: 700;
  color: #2B211A;
}

.sa-final-blessing {
  margin-top: 3rem;
  text-align: center;
  font-size: 1.6rem;
  color: var(--color-gold-dark);
  padding: 20px;
}

.sa-hero {
  padding: 72px 0;
}

.sa-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}

.sa-left {
  padding-top: 10px;
}

.sa-quote {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.2;
  font-size: clamp(26px, 2.6vw, 40px);
  color: var(--text-dark-1);
}

.sa-accent {
  color: var(--color-primary);
}

.sa-subquote {
  margin: 14px 0 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(45,45,45,.62);
}

.sa-divider {
  margin: 26px 0 18px;
  width: 220px;
  height: 3px;
  border-radius: 99px;
  background: rgba(160,140,100,.35);
}

.sa-card {
  margin: 34px 0 0 0;
  max-width: 640px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(245,239,227,.55);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.sa-card-text {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: rgba(45,45,45,.85);
}

.sa-card-foot {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(160,140,100,.9);
}

.sa-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.sa-saint {
  width: min(420px, 34vw);
  height: auto;
  object-fit: cover;
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(145deg,#f4ead2,#d8c79b);
  box-shadow:
    0 30px 60px rgba(0,0,0,.25),
    inset 0 0 0 2px rgba(255,255,255,.5),
    inset 0 0 20px rgba(0,0,0,.08);
  transition: transform .4s ease, box-shadow .4s ease;
}

.sa-saint:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 40px 80px rgba(0,0,0,.35),
    inset 0 0 0 2px rgba(255,255,255,.6);
}

.sa-saint--vertical {
  width: min(420px, 90vw);
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow:
    0 25px 60px rgba(0,0,0,.18),
    0 10px 25px rgba(0,0,0,.12);
}

#site-header.text-white .site-title,
#site-header.text-white .nav-item,
#site-header.text-white #menu-toggle {
  color: #fff !important;
  text-shadow: 0 4px 10px rgba(0,0,0,.35);
}

#site-header.bg-white\/90 .site-title,
#site-header.bg-white\/90 .nav-item,
#site-header.bg-white\/90 #menu-toggle,
#site-header.bg-white .site-title,
#site-header.bg-white .nav-item,
#site-header.bg-white #menu-toggle {
  color: var(--text-dark-1) !important;
  text-shadow: none !important;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  line-height: 1;
  position: relative;
  cursor: pointer;
  transition:
    background .25s ease,
    color .25s ease,
    transform .18s ease,
    box-shadow .25s ease;
}

#site-header.text-white .nav-item:hover {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

#site-header.bg-white\/90 .nav-item:hover,
#site-header.bg-white .nav-item:hover {
  background: linear-gradient(
    to bottom,
    rgba(160,140,100,.15),
    rgba(160,140,100,.25)
  );
  color: #A08C64;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(160,140,100,.25);
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .35;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.nav-item:hover::after {
  transform: scaleX(.9);
}

.nav-cta {
  padding: .55rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}

#site-header.text-white .nav-cta {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.nav-cta:hover {
  background: linear-gradient(to right, #A08C64, #B4A078);
  border-color: #A08C64;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(160,140,100,.45);
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.35) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.nav-cta:hover::before {
  transform: translateX(100%);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  padding-top: 12px;
  z-index: 60;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  
  transition: all .25s cubic-bezier(0.25, 1, 0.5, 1);
}

.group:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.dropdown-card {
  
  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%); 

  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1rem;

  box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.05);
  padding: .5rem;
}

.dd-link {
  display: block;
  padding: .6rem 1rem;
  border-radius: .85rem;

  color: #1c1c1e !important;
  font-weight: 500; 
  text-shadow: none !important;
  transition: background 0.2s ease;
}

.dd-link:hover {
  
  background: rgba(0, 0, 0, 0.05);
}

.dropdown-menu a {
  color: #1c1c1e !important;
  text-shadow: none !important;
}


@media (max-width: 360px) {
  #site-header a .leading-tight {
    display: none !important;
  }
}

.header-vatican {
  position: relative;
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(rgba(160, 140, 100, 0.6), rgba(140, 100, 40, 0.5)),
    url('../img/fondo.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.inner-header {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
  z-index: 5;
  padding-top: 80px;
}

.inner-header h1 {
  font-size: clamp(36px, 6vw, 70px);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.inner-header p {
  font-size: 21px;
  color: #f0f1fa;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.7;
}

.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 20;
  pointer-events: none;
}

.waves {
  position: relative;
  width: 100%;
  height: 12vh;
  min-height: 80px;
  max-height: 150px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
  fill: rgba(180, 160, 120, 0.7);
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
  fill: rgba(160, 140, 100, 0.5);
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
  fill: rgba(140, 120, 60, 0.3);
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
  fill: #ffffff;
}

@keyframes move-forever {
  0%   { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

.header-vatican--mini {
  min-height: 55vh;
}

.inner-header--mini {
  padding-top: 60px;
  padding-bottom: 40px;
}

.header-vatican--mini .waves {
  height: 10vh;
  min-height: 70px;
  max-height: 120px;
}

.header-templo {
  background:
    linear-gradient(rgba(160, 140, 100, 0.6), rgba(140, 100, 40, 0.5)),
    url("/static/img/templo.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-movimientos {
  background:
    linear-gradient(rgba(25, 16, 4, 0.62), rgba(50, 33, 8, 0.48)),
    var(--mov-header-img, url("/static/img/movimientos.webp"));
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.header-parrocos {
  background:
    linear-gradient(rgba(160, 140, 100, 0.6), rgba(140, 100, 40, 0.5)),
    url("/static/img/parrocos.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-casap {
  background:
    linear-gradient(rgba(20, 12, 3, 0.68), rgba(45, 28, 8, 0.55)),
    url("/static/img/fondocasap2026.webp");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.header-parrocos .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-parrocos .hero-text h1 {
  font-size: clamp(34px, 3.2vw, 64px) !important;
  line-height: 1.04;
  margin-top: .4rem !important;
  margin-bottom: .55rem !important;
  max-width: 21ch;
}

.header-parrocos .hero-text h1 span {
  display: inline;
  font-size: inherit !important;
}

.header-parrocos .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .5rem;
}

.header-parrocos .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 760px;
  margin-top: .65rem !important;
}

.textos-header {
  background:
    linear-gradient(
      to right,
      rgba(245, 239, 227, 0.15),
      rgba(230, 216, 184, 0.20),
      rgba(160, 140, 100, 0.25)
    ),
    url('../img/fondo.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding-top: 120px;
  min-height: 80vh;
  position: relative;
}

.textos-header h1 {
  font-size: 49px;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 2px;
}

.textos-header p {
  font-size: 21px;
  color: #f0f1fa;
  font-family: var(--font-body);
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
}

.h2-bg {
  color: var(--color-marron);
  padding-top: 4rem;
  padding-bottom: 2rem;
  font-size: 45px;
  border-radius: 0.5rem;
  font-family: var(--font-title);
  display: inline-block;
}

.h2-title {
  color: var(--color-primary);
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-size: 30px;
  border-radius: 0.5rem;
  font-family: var(--font-title);
  display: inline-block;
}

.h2-custom {
  color: var(--color-primary);
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-size: 20px;
  border-radius: 0.5rem;
  font-family: var(--font-title);
  display: inline-block;
}

.h2-service {
  color: white;
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-size: 35px;
  font-family: var(--font-title);
  display: inline-block;
  margin-bottom: 30px;
}

.py-20 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .85rem 2.1rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(to right, #A08C64 0%, #B4A078 45%, #A07850 100%);
  background-size: 200% auto;
  box-shadow:
    0 8px 22px rgba(0,0,0,.25),
    0 2px 6px rgba(0,0,0,.15);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background-position .35s ease;
}

.btn-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.35) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.btn-custom:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow:
    0 14px 36px rgba(160,140,100,.55),
    0 6px 14px rgba(0,0,0,.25);
}

.btn-custom:hover::before {
  transform: translateX(120%);
}

.btn-custom:active {
  transform: translateY(-1px) scale(.98);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

.ubicacion {
  background: linear-gradient(to right, #A08C64, #B4A078);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(160,140,100,.35);
}

.ubicacion:hover {
  background: #493421;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(160,140,100,.45);
}

.service {
  background: linear-gradient(
    to bottom,
    #B4A078 0%,
    #DCD1BA 45%,
    #F9FAFB 80%,
    #FFFFFF 100%
  );
  padding: 100px 0;
  position: relative;
}

#servicio-img {
  height: 450px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-servicio {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(120, 100, 60, 0.10);
  border: 1px solid rgba(160, 140, 100, 0.18);
}

.publicidad {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.publicidad .vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.publicidad .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1;
}

.publicidad .container {
  position: relative;
  z-index: 2;
}

.publicidad .publicidad-slider {
  padding-bottom: 56px;
}

.publicidad .swiper-pagination {
  bottom: 14px !important;
}

.publicidad .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,.45);
}

.publicidad .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

.imagenes {
  width: 100%;
  max-width: 1100px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.cuadro {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact {
  background: #8b734f;
  padding: 100px 0 0 0;
  position: relative;
}

body.login-page {
  min-height: 100vh;
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(160,140,100,.18) 0%, transparent 60%),
    linear-gradient(135deg, #f7f1e6 0%, #efe3c7 45%, #e8d8b2 100%);
  position: relative;
  overflow: hidden;
}

.mesh-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(180,160,120,.16), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(160,140,100,.14), transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(255,255,255,.28), transparent 34%);
  background-size: 140% 140%;
  animation: mesh-animation 14s ease-in-out infinite;
  pointer-events: none;
}

body.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(circle at top right, rgba(180,160,120,.08), transparent 24%);
  pointer-events: none;
  z-index: 0;
}

@keyframes mesh-animation {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.login-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card,
.glass-login {
  width: 100%;
  max-width: 430px;
  border-radius: 30px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(160,140,100,.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 24px 60px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.72);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-card::before,
.glass-login::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,.20), transparent 45%),
    radial-gradient(circle at top right, rgba(180,160,120,.10), transparent 30%);
  pointer-events: none;
}

.login-logo-wrap {
  width: 108px;
  height: 108px;
  margin: 0 auto 1rem;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fffdf8, #f2e7d0);
  border: 1px solid rgba(160,140,100,.16);
  box-shadow:
    0 16px 35px rgba(160,140,100,.16),
    inset 0 1px 0 rgba(255,255,255,.85);
}

.login-logo,
.glass-login img {
  width: 76px;
  height: 76px;
  min-width: 76px;
  min-height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.10));
}

.login-cross {
  margin: 0 auto 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(160,140,100,.72);
  background: rgba(255,255,255,.44);
  border: 1px solid rgba(160,140,100,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
  font-size: 18px;
  font-weight: 700;
}

.login-title,
.glass-login h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark-1) !important;
  text-align: center;
  margin: 0;
}

.login-subtitle {
  margin-top: .45rem;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(160,140,100,.92);
}

.login-alert {
  margin-top: 1rem;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(180, 50, 50, .12);
  background: rgba(255, 245, 245, .82);
  color: #9a2f2f;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

.login-form {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-label,
.glass-login label {
  display: block;
  margin: 0 0 7px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(45,45,45,.54) !important;
}

.login-input-wrap {
  position: relative;
}

.login-input,
.input-ios {
  width: 100%;
  border-radius: 20px;
  padding: 15px 18px;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(160,140,100,.14) !important;
  color: var(--text-dark-1) !important;
  font-weight: 700;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 8px 20px rgba(0,0,0,.04);
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .2s ease,
    background .25s ease;
}

.login-input::placeholder,
.input-ios::placeholder {
  color: rgba(45,45,45,.38);
  font-weight: 600;
}

.login-input:focus,
.input-ios:focus {
  background: #fff !important;
  border-color: rgba(160,140,100,.42) !important;
  box-shadow:
    0 0 0 4px rgba(160,140,100,.12),
    0 14px 30px rgba(0,0,0,.05);
  transform: translateY(-1px);
}

.login-password-btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(45,45,45,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease, background .2s ease;
}

.login-password-btn:hover {
  color: var(--color-primary);
  background: rgba(160,140,100,.08);
}

.login-submit,
.btn-login-ios {
  margin-top: 6px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 15px 18px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to right, #A08C64, #B4A078, #A07850);
  background-size: 200% auto;
  box-shadow:
    0 14px 30px rgba(160,140,100,.28),
    0 6px 16px rgba(0,0,0,.10);
  transition:
    transform .22s ease,
    box-shadow .25s ease,
    background-position .35s ease;
}

.login-submit:hover,
.btn-login-ios:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow:
    0 20px 42px rgba(160,140,100,.35),
    0 8px 18px rgba(0,0,0,.12);
}

.login-submit:active,
.btn-login-ios:active {
  transform: scale(.98);
}

.login-footer {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(160,140,100,.12);
  text-align: center;
}

.login-back {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(45,45,45,.46);
  text-decoration: none;
  transition: color .2s ease;
}

.login-back:hover {
  color: var(--color-primary);
}

@keyframes shake-ios {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.animate-shake {
  animation: shake-ios 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@media (max-width: 640px) {
  .login-shell {
    padding: 16px;
  }

  .login-card,
  .glass-login {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .login-logo-wrap {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .login-logo,
  .glass-login img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
  }

  .login-title,
  .glass-login h2 {
    font-size: 1.6rem;
  }

  .login-submit,
  .btn-login-ios {
    font-size: 12px;
  }
}

footer.footer {
  position: relative;
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(160,140,100,.18) 0%, transparent 60%),
    linear-gradient(to bottom, var(--footer-top), var(--footer-bg));
  color: var(--footer-text);
  border-top: 1px solid var(--footer-border);
  overflow: hidden;
  padding-bottom: calc(3rem + env(safe-area-inset-bottom)) !important;
}

footer.footer::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(700px 320px at 15% 20%, rgba(180,160,120,.18), transparent 60%),
    radial-gradient(700px 320px at 85% 10%, rgba(160,140,100,.14), transparent 60%);
  pointer-events: none;
  filter: blur(2px);
  opacity: .9;
}

.footer .divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(180,160,120,.22), transparent);
}

.footer .footer-kicker {
  color: var(--footer-muted);
  letter-spacing: .18em;
}

.footer .footer-copy {
  color: rgba(255,255,255,.78);
}

.footer .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(160,140,100,.22);
  border: 1px solid rgba(180,160,120,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 40px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.footer .social-btn:hover {
  transform: translateY(-2px);
  background: var(--footer-card-hover);
  border-color: rgba(180,160,120,.25);
  box-shadow:
    0 22px 55px rgba(0,0,0,.42),
    0 0 0 6px rgba(160,140,100,.10);
}

.footer .social-label {
  color: var(--footer-muted);
}

.footer a:focus-visible {
  outline: 3px solid rgba(180,160,120,.35);
  outline-offset: 4px;
  border-radius: 18px;
}

.footer .social-fb:hover .social-btn {
  background: rgba(37, 99, 235, .95);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 22px 55px rgba(0,0,0,.42), 0 0 0 6px rgba(37,99,235,.18);
}

.footer .social-ig:hover .social-btn {
  background: rgba(236, 72, 153, .95);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 22px 55px rgba(0,0,0,.42), 0 0 0 6px rgba(236,72,153,.16);
}

.footer .social-wa:hover .social-btn {
  background: rgba(22, 163, 74, .95);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 22px 55px rgba(0,0,0,.42), 0 0 0 6px rgba(22,163,74,.16);
}

#toTopBtn {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 16px 38px rgba(0,0,0,.28),
    0 8px 18px rgba(160,140,100,.26);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease, filter .22s ease;
  -webkit-tap-highlight-color: transparent;
}

#toTopBtn.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#toTopBtn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 20px 46px rgba(0,0,0,.32),
    0 10px 24px rgba(160,140,100,.34);
}

#toTopBtn:active {
  transform: scale(.96);
}

#toTopBtn:focus-visible {
  outline: 3px solid rgba(180,160,120,.35);
  outline-offset: 4px;
  border-radius: 18px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) rgba(245, 239, 227, 0.9);
}

::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: rgba(245, 239, 227, 0.9);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--color-gold-light), var(--color-primary), var(--color-gold-dark));
  border-radius: 999px;
  border: 3px solid rgba(245, 239, 227, 0.95);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--color-primary), var(--color-gold-dark));
}

.banner-strip {
  padding: 22px 0;
  background: #fff;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

.banner-card {
  position: relative;
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    filter .28s ease;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.65) 0%,
    rgba(0,0,0,.30) 50%,
    rgba(0,0,0,.05) 100%
  );
  transition: background .45s ease, opacity .45s ease;
}

.banner-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 8px 20px rgba(0,0,0,.55);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
}

.banner-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .92;
  margin: 0 0 6px 0;
}

.banner-title {
  font-family: var(--font-title);
  font-size: 30px;
  line-height: 1;
  margin: 0 0 8px 0;
  letter-spacing: .04em;
}

.banner-text {
  margin: 0;
  font-size: 12px;
  opacity: .95;
}

.banner-card:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.banner-card:hover .banner-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.22) 55%,
    rgba(0,0,0,.05) 100%
  );
}

.banner-zoom {
  cursor: pointer;
}

.banner-zoom:active {
  transform: scale(.99);
}

.banner-zoom-hint {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .82;
}

.parrocos {
  background: #ffffff;
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.parrocos-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 34px;
}

.parrocos-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(45,45,45,0);
  margin: 0 0 12px;
}

.parrocos-title {
  font-family: var(--font-title);
  font-size: clamp(30px, 2.2vw + 8px, 42px);
  letter-spacing: .04em;
  max-width: 900px;
  margin: 0 auto;
  color: rgba(35,35,35,.95);
}

.parrocos-sub {
  margin: 14px auto 0;
  max-width: 680px;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(45,45,45,.78);
}

.parrocos-slider {
  position: relative;
  margin: 30px auto 26px;
  max-width: 1200px;
}

.parrocos-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 190px);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 18px 54px 20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(160,140,100,.55) rgba(255,255,255,.0);
}

.parrocos-track::-webkit-scrollbar {
  height: 10px;
}

.parrocos-track::-webkit-scrollbar-thumb {
  background: rgba(160,140,100,.55);
  border-radius: 999px;
}

.parrocos-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  font-size: 26px;
  font-weight: 900;
  color: rgba(45,45,45,.85);
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease;
  z-index: 4;
}

.parrocos-nav:hover {
  transform: translateY(-55%) scale(1.03);
  background: rgba(255,255,255,.90);
  box-shadow: 0 22px 50px rgba(0,0,0,.16);
}

.parrocos-prev { left: 8px; }
.parrocos-next { right: 8px; }

.parroco-card {
  scroll-snap-align: center;
  text-align: center;
  padding: 10px 10px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease;
}

.parroco-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.75);
  box-shadow: 0 18px 46px rgba(0,0,0,.12);
}

.parroco-avatar {
  width: 92px;
  height: 92px;
  margin: 2px auto 10px;
  border-radius: 999px;
  padding: 6px;
  background: radial-gradient(circle at 30% 30%, rgba(180,160,120,.25), rgba(160,140,100,.18));
  border: 2px solid rgba(160,140,100,.55);
  box-shadow: 0 18px 36px rgba(0,0,0,.10);
}

.parroco-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
}

.parroco-nombre {
  margin: 0;
  font-weight: 900;
  font-size: 12px;
  color: rgba(35,35,35,.92);
}

.parroco-anios {
  margin: 4px 0 0;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(160,140,100,.95);
}

.parrocos-listado {
  max-width: 1200px;
  margin: 22px auto 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}

.parrocos-listado-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(45,45,45,.55);
  margin: 0 0 12px;
}

.parrocos-listado-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.parrocos-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.parrocos-years {
  min-width: 120px;
  font-weight: 900;
  color: rgba(160,140,100,.95);
  letter-spacing: .06em;
  font-size: 11px;
  text-transform: uppercase;
}

.parrocos-name {
  font-weight: 800;
  color: rgba(35,35,35,.85);
  font-size: 12px;
}

.movimientos {
  background: #ffffff;
  padding: 70px 0;
}

.mov-head {
  text-align: center;
  margin-bottom: 34px;
}

.mov-kicker {
  letter-spacing: .28em;
  font-weight: 900;
  font-size: 11px;
  opacity: .65;
  text-transform: uppercase;
}

.mov-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  margin: 10px 0;
  color: #1f1f1f;
}

.mov-sub {
  max-width: 720px;
  margin: 0 auto;
  opacity: .75;
  line-height: 1.6;
}

.mov-grid {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: 22px;
}

.mov-card {
  grid-column: span 6;
  text-align: left;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
  padding: 0;
}

.mov-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 75px rgba(0,0,0,.12);
}

.mov-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.mov-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .55s ease;
}

.mov-card:hover .mov-media img {
  transform: scale(1.05);
}

.mov-hover {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.06), rgba(0,0,0,.45));
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
}

.mov-card:hover .mov-hover {
  opacity: 1;
}

.mov-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 10px;
  backdrop-filter: blur(10px);
}

.mov-content {
  padding: 18px 18px 20px;
}

.mov-h {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 6px;
  color: #1d1d1d;
}

.mov-p {
  opacity: .88;
  line-height: 1.75;
  font-size: 15px;
  font-weight: 500;
}

.parroco-modal,
.mov-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  backdrop-filter: blur(4px);
}

.parroco-modal.is-open,
.mov-modal.is-open {
  display: flex;
}

.parroco-modal__backdrop,
.mov-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / 0.75);
  cursor: pointer;
}

.parroco-modal__panel,
.mov-modal__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100dvh - 40px);
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #bda46e transparent;
  -webkit-overflow-scrolling: touch;
}

.parroco-modal__close,
.mov-modal__close {
  position: sticky;
  top: 15px;
  left: 100%;
  margin-right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  z-index: 10;
}

.parroco-modal__close:hover,
.mov-modal__close:hover {
  background: #bda46e;
  transform: rotate(90deg);
  border-color: #bda46e;
}

.parroco-modal__content,
.mov-modal__content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  padding: 20px 30px 40px;
}

.parroco-modal__imgwrap,
.mov-modal__imgwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 10%, rgba(255, 255, 255, .04), transparent);
  border-radius: 18px;
  padding: 20px;
}

.parroco-modal__imgwrap img,
.mov-modal__imgwrap img {
  width: 100%;
  max-height: 65dvh;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  border-radius: 18px;
}

.parroco-modal__info,
.mov-modal__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.parroco-modal__kicker,
.mov-modal__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 8px;
}

.parroco-modal__title,
.mov-modal__title {
  font-family: var(--font-title);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.parroco-modal__years {
  font-size: 13px;
  font-weight: 800;
  color: #bda46e;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 12px 0 18px;
}

.parroco-modal__text,
.mov-modal__text {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  margin: 0;
}

.mov-modal__text {
  line-height: 1.7;
  color: rgba(255, 255, 255, .75);
  margin: 14px 0 0;
}

@media (max-width: 1280px) {
  .header-parrocos .hero-text {
    width: min(680px, 64vw);
  }

  .header-parrocos .hero-text h1 {
    font-size: clamp(32px, 3vw, 54px) !important;
    max-width: 21ch;
  }

  .header-parrocos .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (min-width: 1400px) {
  .header-parrocos .hero-text {
    width: min(860px, 64vw);
    max-width: 860px;
  }

  .header-parrocos .hero-text h1 {
    font-size: clamp(38px, 3vw, 68px) !important;
    max-width: 21ch;
  }
}

@media (max-width: 1024px) {
  .sa-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sa-right {
    justify-content: center !important;
    margin-top: 2rem;
  }

  .sa-saint {
    width: min(360px, 80vw);
  }

  .sa-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sa-page .sa-body,
  .sa-page .sa-title,
  .sa-quote,
  .sa-subquote {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .sa-divider {
    margin: 26px auto 18px !important;
  }

  .sa-card,
  .sa-card-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .banner-grid {
    grid-template-columns: 1fr;
  }

  .banner-card {
    height: 200px;
    border-radius: 16px;
  }

  .banner-title {
    font-size: 28px;
  }

  .header-parrocos .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-parrocos .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-parrocos .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .mov-card {
    grid-column: span 12;
  }
}

@media (max-width: 850px) {
  .parroco-modal__content,
  .mov-modal__content {
    grid-template-columns: 1fr;
    padding: 10px 20px 30px;
    gap: 10px;
  }

  .parroco-modal__imgwrap,
  .mov-modal__imgwrap {
    padding: 10px;
  }

  .parroco-modal__imgwrap img,
  .mov-modal__imgwrap img {
    max-height: 45dvh;
  }

  .parroco-modal__info,
  .mov-modal__info {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .textos-header {
    background:
      linear-gradient(to bottom, rgba(245, 239, 227, 0.20), rgba(160, 140, 100, 0.22)),
      url('../img/iglesia.webp');
    background-attachment: scroll;
    background-position: center top;
    background-size: cover;
    min-height: 70vh;
    padding-top: 110px;
  }

  .textos-header h1 {
    font-size: 36px !important;
    line-height: 1.2;
  }

  .header-vatican {
    background-attachment: scroll;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-text {
    padding-top: 55px;
  }

  .card-servicio {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 4rem;
    border: 0;
    backdrop-filter: none;
  }

  .card-servicio::before {
    content: "";
    display: block;
    width: 100%;
    height: 250px;
    border-radius: 1.5rem;
    background-image: var(--img-url);
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .card-servicio:last-child {
    margin-bottom: 0 !important;
  }

  .imagenes {
    max-width: 300px;
  }

  .publicidad .publicidad-slider {
    padding-bottom: 80px;
  }

  .publicidad {
    padding-bottom: 110px;
  }

  .parrocos-track {
    padding: 14px 48px 18px;
    grid-auto-columns: 170px;
  }

  .parrocos-listado-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .card-servicio:last-child {
    margin-bottom: 5vh !important;
  }
}

@media (max-height: 820px) {
  .inner-header h1 {
    font-size: clamp(32px, 4.8vw, 58px);
    line-height: 1.05;
  }

  .inner-header p {
    font-size: 18px;
    line-height: 1.5;
  }

  #site-header .nav-item,
  #site-header .nav-cta {
    font-size: 15px;
    padding: .45rem .8rem;
  }

  #site-header .site-title {
    font-size: 15px;
  }

  .inner-header {
    padding-top: 68px;
  }

  .btn-custom {
    padding: .72rem 1.7rem;
    font-size: 15px;
  }

  .header-vatican--mini {
    min-height: 48vh;
  }

  .inner-header--mini {
    padding-top: 48px;
    padding-bottom: 28px;
  }

  .header-vatican--mini .hero-text p {
    font-size: 11px;
    letter-spacing: .18em;
  }

  .header-vatican--mini .hero-text h1 {
    font-size: clamp(30px, 4.6vw, 54px) !important;
    line-height: 1.05;
    margin-top: .35rem;
  }

  .header-vatican--mini .hero-text h1 span {
    font-size: clamp(18px, 2vw, 26px) !important;
  }

  .header-vatican--mini .waves {
    height: 8vh;
    min-height: 55px;
    max-height: 90px;
  }
}

@media (max-height: 720px) {
  .inner-header h1 {
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.02;
  }

  .inner-header p {
    font-size: 16px;
  }

  #site-header .nav-item,
  #site-header .nav-cta {
    font-size: 14px;
    padding: .38rem .7rem;
  }

  .btn-custom {
    padding: .65rem 1.45rem;
    font-size: 14px;
  }

  .waves {
    height: 8vh;
    min-height: 55px;
  }

  .header-vatican--mini {
    min-height: 42vh;
  }

  .inner-header--mini {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .header-vatican--mini .hero-text {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .header-vatican--mini .hero-text p {
    font-size: 10px;
    letter-spacing: .15em;
  }

  .header-vatican--mini .hero-text h1 {
    font-size: clamp(26px, 4vw, 44px) !important;
    line-height: 1.02;
    margin-top: .6rem !important;
    margin-bottom: .8rem !important;
  }

  .header-vatican--mini .hero-text h1 span {
    font-size: clamp(16px, 1.8vw, 22px) !important;
    display: inline-block;
    margin-top: .45rem;
  }

  .header-vatican--mini .waves {
    height: 7vh;
    min-height: 45px;
    max-height: 75px;
  }
}

@media (max-height: 600px) {
  .glass-login {
    padding: 1rem;
    gap: 0.3rem;
  }

  .glass-login .inline-block {
    margin-bottom: 0.5rem;
    padding: 0.75rem;
  }
}

.header-movimientos .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-movimientos .hero-text h1 {
  font-size: clamp(34px, 3.2vw, 64px) !important;
  line-height: 1.04;
  margin-top: .4rem !important;
  margin-bottom: .55rem !important;
  max-width: 23ch;
}

.header-movimientos .hero-text h1 span {
  display: inline;
  font-size: inherit !important;
}

.header-movimientos .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .5rem;
}

.header-movimientos .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 760px;
  margin-top: .65rem !important;
}

@media (min-width: 1400px) {
  .header-movimientos .hero-text {
    width: min(860px, 64vw);
    max-width: 860px;
  }

  .header-movimientos .hero-text h1 {
    font-size: clamp(38px, 3vw, 68px) !important;
    max-width: 23ch;
  }
}

@media (max-width: 1280px) {
  .header-movimientos .hero-text {
    width: min(680px, 64vw);
  }

  .header-movimientos .hero-text h1 {
    font-size: clamp(32px, 3vw, 54px) !important;
    max-width: 23ch;
  }

  .header-movimientos .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-movimientos .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-movimientos .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-movimientos .hero-text > p:last-child {
    font-size: 15px;
  }
}

.sa-page .space-y-6 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 38px !important;
}

.sa-page .space-y-6 .sa-card {
  margin: 0;
  max-width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(160,140,100,.16);
  background: linear-gradient(
    135deg,
    rgba(248,244,236,.92) 0%,
    rgba(241,235,225,.70) 100%
  );
  box-shadow:
    0 14px 34px rgba(0,0,0,.05),
    inset 0 1px 0 rgba(255,255,255,.60);
  padding: 20px 18px 18px;
  position: relative;
  overflow: hidden;
}

.sa-page .space-y-6 .sa-card::before {
  content: "✠";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 17px;
  color: rgba(160,140,100,.18);
  font-weight: 700;
}

.sa-page .space-y-6 .sa-card .sa-card-foot {
  margin: 0 0 8px 0 !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.35;
}

.sa-page .space-y-6 .sa-card .sa-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
  color: rgba(45,45,45,.88);
}

.sa-page .space-y-6 .sa-card .sa-card-text strong {
  color: rgba(45,45,45,.96);
  font-weight: 900;
}

.sa-page .space-y-6 + .sa-final-blessing {
  margin-top: 46px;
}

.sa-page .sa-final-blessing {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 12px 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.38;
  font-weight: 700;
  color: #9d7f33;
  text-shadow:
    0 1px 0 rgba(255,255,255,.4),
    0 6px 18px rgba(160,140,100,.10);
}

.sa-page .sa-final-blessing::before {
  content: "";
  display: block;
  width: 110px;
  height: 2px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(160,140,100,.82),
    transparent
  );
}

@media (max-width: 768px) {
  .sa-page .space-y-6 {
    gap: 14px;
    margin-top: 30px !important;
  }

  .sa-page .space-y-6 .sa-card {
    padding: 18px 15px 16px;
    border-radius: 18px;
  }

  .sa-page .space-y-6 .sa-card .sa-card-foot {
    font-size: 11px !important;
  }

  .sa-page .space-y-6 .sa-card .sa-card-text {
    font-size: 13.5px;
    line-height: 1.7;
  }

  .sa-page .sa-final-blessing {
    font-size: clamp(1.2rem, 5.6vw, 1.7rem);
    line-height: 1.34;
  }
}

.header-primera-comunion {
  background:
    linear-gradient(rgba(160, 140, 100, 0.58), rgba(140, 100, 40, 0.45)),
    url("/static/img/primera_comunion.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-primera-comunion .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-primera-comunion .hero-text h1 {
  font-size: clamp(40px, 4.2vw, 72px) !important;
  line-height: 0.96;
  margin-top: .35rem !important;
  margin-bottom: .35rem !important;
  max-width: 9ch;
}

.header-primera-comunion .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .45rem;
}

.header-primera-comunion .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 720px;
}

@media (max-width: 1280px) {
  .header-primera-comunion .hero-text {
    width: min(680px, 64vw);
  }

  .header-primera-comunion .hero-text h1 {
    font-size: clamp(34px, 4vw, 58px) !important;
    max-width: 10ch;
  }

  .header-primera-comunion .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-primera-comunion .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-primera-comunion .hero-text h1 {
    font-size: clamp(30px, 8vw, 48px) !important;
    max-width: 100%;
  }

  .header-primera-comunion .hero-text > p:last-child {
    font-size: 15px;
  }
}

.header-primera-comunion + .sa-page .sa-left {
  padding-bottom: 20px;
}

.header-primera-comunion + .sa-page .sa-card + .sa-title,
.sa-page .sa-card + .sa-title {
  margin-top: 40px !important;
  padding-top: 0 !important;
}

.sa-page .sa-title {
  margin: 2rem 0 .75rem 0;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  color: #2B211A;
}

.header-primera-comunion + .sa-page .sa-card {
  border-radius: 22px;
  border: 1px solid rgba(160,140,100,.18);
  background: linear-gradient(
    180deg,
    rgba(245,239,227,.78) 0%,
    rgba(241,234,220,.58) 100%
  );
  box-shadow:
    0 18px 42px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.55);
  padding: 22px 22px 20px;
  margin-top: 34px;
  margin-bottom: 26px;
}

.header-primera-comunion + .sa-page .sa-card .sa-card-foot {
  margin-top: 0;
  margin-bottom: 12px !important;
  font-size: 12px !important;
  letter-spacing: .14em;
  color: var(--color-primary);
}

.header-primera-comunion + .sa-page .sa-card .sa-card-text {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  color: rgba(45,45,45,.88);
}

.header-primera-comunion + .sa-page figure.sa-card {
  margin-top: 34px !important;
  padding: 20px 22px 16px;
  border: 1px solid rgba(160,140,100,.14);
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      rgba(248,244,236,.88) 0%,
      rgba(241,235,225,.62) 100%
    );
  box-shadow:
    0 14px 36px rgba(0,0,0,.05),
    inset 0 1px 0 rgba(255,255,255,.6);
  position: relative;
  overflow: hidden;
}

.header-primera-comunion + .sa-page figure.sa-card::before {
  content: "✠";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 18px;
  color: rgba(160,140,100,.22);
  font-weight: 700;
}

.header-primera-comunion + .sa-page figure.sa-card blockquote.sa-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  font-style: italic;
  color: rgba(70,62,48,.88);
}

.header-primera-comunion + .sa-page figure.sa-card .sa-card-foot {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(160,140,100,.92);
}

.sa-final-blessing--hero {
  margin-top: 48px !important;
  padding: 18px 12px 6px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #9d7f33;
  text-shadow:
    0 1px 0 rgba(255,255,255,.45),
    0 6px 16px rgba(160,140,100,.12);
}

.sa-final-blessing--hero::before {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(160,140,100,.82),
    transparent
  );
}

@media (max-width: 1024px) {
  .header-primera-comunion + .sa-page .sa-card + .sa-title,
  .sa-page .sa-card + .sa-title {
    margin-top: 34px !important;
  }

  .sa-final-blessing--hero {
    font-size: clamp(1.7rem, 7vw, 2.5rem);
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 640px) {
  .header-primera-comunion + .sa-page .sa-card {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .header-primera-comunion + .sa-page figure.sa-card {
    padding: 18px 16px 14px;
    border-radius: 18px;
  }

  .sa-final-blessing--hero {
    margin-top: 44px !important;
    line-height: 1.28;
  }
}

.header-primera-comunion + .sa-page .sa-card {
  border-radius: 22px;
  border: 1px solid rgba(160,140,100,.16);

  background: linear-gradient(
    135deg,
    rgba(248,244,236,.92) 0%,
    rgba(241,235,225,.70) 100%
  );

  box-shadow:
    0 18px 40px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.6);

  padding: 24px 24px 20px;
  margin-top: 34px;
  margin-bottom: 28px;

  position: relative;
  overflow: hidden;
}

.header-primera-comunion + .sa-page .sa-card::before {
  content: "✠";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 18px;
  color: rgba(160,140,100,.22);
  font-weight: 700;
}

.header-primera-comunion + .sa-page .sa-card h3 {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.header-primera-comunion + .sa-page .sa-card ul {
  padding-left: 0;
}

.header-primera-comunion + .sa-page .sa-card li {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
  color: rgba(45,45,45,.88);
}

.header-primera-comunion + .sa-page .sa-card li span {
  color: var(--color-primary);
  font-size: 18px;
}

.header-confirmacion {
  background:
    linear-gradient(rgba(160, 140, 100, 0.58), rgba(140, 100, 40, 0.45)),
    url("/static/img/confirmacion_jpg.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-confirmacion .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-confirmacion .hero-text h1 {
  font-size: clamp(40px, 4.2vw, 72px) !important;
  line-height: 0.98;
  margin-top: .35rem !important;
  margin-bottom: .35rem !important;
  max-width: 10ch;
}

.header-confirmacion .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .45rem;
}

.header-confirmacion .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 720px;
}

@media (max-width: 1280px) {
  .header-confirmacion .hero-text {
    width: min(680px, 64vw);
  }

  .header-confirmacion .hero-text h1 {
    font-size: clamp(34px, 4vw, 58px) !important;
    max-width: 11ch;
  }

  .header-confirmacion .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-confirmacion .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-confirmacion .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-confirmacion .hero-text > p:last-child {
    font-size: 15px;
  }
}

.header-bautismo {
  background:
    linear-gradient(rgba(160, 140, 100, 0.58), rgba(140, 100, 40, 0.45)),
    url("/static/img/bautismo_jpg.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-bautismo .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-bautismo .hero-text h1 {
  font-size: clamp(40px, 4.2vw, 72px) !important;
  line-height: 0.98;
  margin-top: .35rem !important;
  margin-bottom: .35rem !important;
  max-width: 10ch;
}

.header-bautismo .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .45rem;
}

.header-bautismo .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 720px;
}

@media (max-width: 1280px) {
  .header-bautismo .hero-text {
    width: min(680px, 64vw);
  }

  .header-bautismo .hero-text h1 {
    font-size: clamp(34px, 4vw, 58px) !important;
    max-width: 11ch;
  }

  .header-bautismo .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-bautismo .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-bautismo .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-bautismo .hero-text > p:last-child {
    font-size: 15px;
  }
}

.header-matrimonio {
  background:
    linear-gradient(rgba(160, 140, 100, 0.58), rgba(140, 100, 40, 0.45)),
    url("/static/img/matrimonio.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-matrimonio .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-matrimonio .hero-text h1 {
  font-size: clamp(40px, 4.2vw, 72px) !important;
  line-height: 0.98;
  margin-top: .35rem !important;
  margin-bottom: .35rem !important;
  max-width: 10ch;
}

.header-matrimonio .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .45rem;
}

.header-matrimonio .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 720px;
}

@media (max-width: 1280px) {
  .header-matrimonio .hero-text {
    width: min(680px, 64vw);
  }

  .header-matrimonio .hero-text h1 {
    font-size: clamp(34px, 4vw, 58px) !important;
    max-width: 11ch;
  }

  .header-matrimonio .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-matrimonio .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-matrimonio .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-matrimonio .hero-text > p:last-child {
    font-size: 15px;
  }
}

.sa-link-canon {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(160,140,100,.4);
  transition: all .25s ease;
}

.sa-link-canon:hover {
  color: #7a5c1f;
  border-bottom: 1px solid rgba(160,140,100,.8);
}

.header-penitencia {
  background:
    linear-gradient(rgba(160, 140, 100, 0.58), rgba(140, 100, 40, 0.45)),
    url("/static/img/confesion.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-penitencia .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-penitencia .hero-text h1 {
  font-size: clamp(40px, 4.2vw, 72px) !important;
  line-height: 0.98;
  margin-top: .35rem !important;
  margin-bottom: .35rem !important;
  max-width: 12ch;
}

.header-penitencia .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .45rem;
}

.header-penitencia .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 720px;
}

@media (max-width: 1280px) {
  .header-penitencia .hero-text {
    width: min(680px, 64vw);
  }

  .header-penitencia .hero-text h1 {
    font-size: clamp(34px, 4vw, 58px) !important;
    max-width: 12ch;
  }

  .header-penitencia .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-penitencia .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-penitencia .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-penitencia .hero-text > p:last-child {
    font-size: 15px;
  }
}

.header-uncion {
  background:
    linear-gradient(rgba(160, 140, 100, 0.58), rgba(140, 100, 40, 0.45)),
    url("/static/img/uncion_enfermos.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-uncion .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-uncion .hero-text h1 {
  font-size: clamp(40px, 4.2vw, 72px) !important;
  line-height: 0.98;
  margin-top: .35rem !important;
  margin-bottom: .35rem !important;
  max-width: 12ch;
}

.header-uncion .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .45rem;
}

.header-uncion .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 720px;
}

@media (max-width: 1280px) {
  .header-uncion .hero-text {
    width: min(680px, 64vw);
  }

  .header-uncion .hero-text h1 {
    font-size: clamp(34px, 4vw, 58px) !important;
    max-width: 12ch;
  }

  .header-uncion .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-uncion .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-uncion .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-uncion .hero-text > p:last-child {
    font-size: 15px;
  }
}

.header-eucaristia {
  background:
    linear-gradient(rgba(160, 140, 100, 0.58), rgba(140, 100, 40, 0.45)),
    url("/static/img/eucaristia.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-eucaristia .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-eucaristia .hero-text h1 {
  font-size: clamp(40px, 4.2vw, 72px) !important;
  line-height: 0.98;
  margin-top: .35rem !important;
  margin-bottom: .35rem !important;
  max-width: 10ch;
}

.header-eucaristia .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .45rem;
}

.header-eucaristia .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 720px;
}

@media (max-width: 1280px) {
  .header-eucaristia .hero-text {
    width: min(680px, 64vw);
  }

  .header-eucaristia .hero-text h1 {
    font-size: clamp(34px, 4vw, 58px) !important;
    max-width: 11ch;
  }

  .header-eucaristia .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-eucaristia .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-eucaristia .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-eucaristia .hero-text > p:last-child {
    font-size: 15px;
  }
}

.header-confesion {
  background:
    linear-gradient(rgba(160, 140, 100, 0.58), rgba(140, 100, 40, 0.45)),
    url("/static/img/confesion.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-confesion .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-confesion .hero-text h1 {
  font-size: clamp(40px, 4.2vw, 72px) !important;
  line-height: 0.98;
  margin-top: .35rem !important;
  margin-bottom: .35rem !important;
  max-width: 11ch;
}

.header-confesion .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .45rem;
}

.header-confesion .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 720px;
}

@media (max-width: 1280px) {
  .header-confesion .hero-text {
    width: min(680px, 64vw);
  }

  .header-confesion .hero-text h1 {
    font-size: clamp(34px, 4vw, 58px) !important;
    max-width: 11ch;
  }

  .header-confesion .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-confesion .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-confesion .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-confesion .hero-text > p:last-child {
    font-size: 15px;
  }
}

.header-documentos {
  background:
    linear-gradient(rgba(160, 140, 100, 0.58), rgba(140, 100, 40, 0.45)),
    url("/static/img/documentos_iglesia.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.header-documentos .hero-text {
  width: min(760px, 62vw);
  max-width: 760px;
}

.header-documentos .hero-text h1 {
  font-size: clamp(40px, 4.2vw, 72px) !important;
  line-height: 0.98;
  margin-top: .35rem !important;
  margin-bottom: .35rem !important;
  max-width: 12ch;
}

.header-documentos .hero-text > p:first-child {
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: .45rem;
}

.header-documentos .hero-text > p:last-child {
  font-size: 17px;
  line-height: 1.45;
  max-width: 760px;
}

.docs-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.docs-head {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
}

.docs-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.docs-card {
  grid-column: span 6;
  border-radius: 22px;
  border: 1px solid rgba(160,140,100,.16);
  background: linear-gradient(
    135deg,
    rgba(248,244,236,.92) 0%,
    rgba(241,235,225,.70) 100%
  );
  box-shadow:
    0 18px 42px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.55);
  padding: 24px 22px 22px;
  position: relative;
  overflow: hidden;
}

.docs-card::before {
  content: "✠";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 18px;
  color: rgba(160,140,100,.22);
  font-weight: 700;
}

.docs-card--wide {
  grid-column: span 12;
}

.docs-card__header {
  margin-bottom: 16px;
}

.docs-card__kicker {
  margin: 0 0 6px 0;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--color-primary);
}

.docs-card__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.15;
  color: rgba(35,35,35,.95);
  font-family: var(--font-title);
  font-weight: 800;
}

.docs-links {
  display: grid;
  gap: 12px;
}

.docs-links--two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.docs-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(160,140,100,.12);
  color: rgba(45,45,45,.92);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
  transition:
    transform .2s ease,
    box-shadow .25s ease,
    background .25s ease,
    border-color .25s ease;
}

.docs-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.88);
  border-color: rgba(160,140,100,.28);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
  color: var(--color-primary);
}

.docs-link__text {
  font-weight: 700;
  line-height: 1.45;
}

.docs-link__arrow {
  flex-shrink: 0;
  font-size: 16px;
  opacity: .8;
}

@media (max-width: 1280px) {
  .header-documentos .hero-text {
    width: min(680px, 64vw);
  }

  .header-documentos .hero-text h1 {
    font-size: clamp(34px, 4vw, 58px) !important;
    max-width: 12ch;
  }

  .header-documentos .hero-text > p:last-child {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header-documentos .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .header-documentos .hero-text h1 {
    font-size: clamp(30px, 7vw, 48px) !important;
    max-width: 100%;
  }

  .header-documentos .hero-text > p:last-child {
    font-size: 15px;
  }

  .docs-card {
    grid-column: span 12;
  }

  .docs-links--two-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .docs-wrap {
    padding: 0 16px;
  }

  .docs-card {
    padding: 20px 16px 16px;
    border-radius: 18px;
  }

  .docs-link {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .docs-card__title {
    font-size: 1.2rem;
  }

  .docs-link__text {
    font-size: 14px;
  }
}
h1, h2, h3, h4, h5, .sa-title, .sa-quote, .h2-title, .h2-custom, .h2-service, .banner-title, .parrocos-title, .parroco-modal__title, .mov-modal__title, .mov-title, .titulo_cursiva {
  font-family: var(--font-title); font-style: italic; font-weight: 700; letter-spacing: 0;
}
.sa-quote { text-transform: none; }
.sa-quote .sa-quote-text, .sa-quote .sa-accent { font-family: inherit; font-style: inherit; }
:is(h1, h2, h3, h4, h5, .sa-title, .sa-quote, .titulo_cursiva) :is(span, a, small, em, strong, b, i) { font-family: inherit; font-style: inherit; }
.hero-text p.italic { font-style: normal; }
.titulo_acento, .hero-text h1 span, :is(h1, h2, h3, .sa-title) .sa-accent, .sa-quote > span[style] {
  font-family: var(--font-title); font-style: italic; font-weight: 400; letter-spacing: 0;
}
:is(h1, h2, h3, .sa-title) .sa-accent, .titulo_acento { color: #8A6A2B; font-size: 1.06em; }
.sa-quote > .sa-accent:has(+ .sa-quote-text), .sa-quote-text .sa-accent { font-style: italic; font-weight: inherit; font-size: 1em; color: var(--color-primary); }
.hero-text h1 span { color: #EBD7A8 !important; opacity: 1 !important; }
.hero-text h1 span:not([class*="text-2xl"]) { font-size: 1.06em !important; }
.sa-quote > span[style] { font-size: 1.06em; }
.hero-text h1 span[class*="text-2xl"] { font-size: clamp(1.5rem, 2.6vw, 2.2rem) !important; margin-top: .35rem; }
#site-header.header-glass,
#site-header.header-glass.bg-white\/90,
#site-header.header-glass.bg-white {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom: 0;
  box-shadow: none !important;
}
#site-header.header-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  transition: opacity .3s ease;
}
#site-header.header-glass.bg-white\/90::before,
#site-header.header-glass.bg-white::before { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #site-header.header-glass::before { background: rgb(250, 248, 245); }
}
#site-header .nav-item {
  padding: .5rem .85rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
#site-header .nav-item::after { display: none; }
#site-header.text-white .nav-item:hover,
#site-header.text-white .group:hover > .nav-item {
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .22);
}
#site-header.bg-white\/90 .nav-item:hover,
#site-header.bg-white .nav-item:hover,
#site-header.bg-white\/90 .group:hover > .nav-item,
#site-header.bg-white .group:hover > .nav-item {
  background: rgba(87, 62, 38, .08);
  color: #573E26 !important;
  transform: none;
  box-shadow: none;
}
#site-header .nav-item:active { background: rgba(87, 62, 38, .14); }
#site-header .nav-item:focus-visible, #site-header .nav-cta:focus-visible { outline: 2px solid #C4A05A; outline-offset: 2px; }
#site-header .caret { transition: transform .25s ease; display: inline-block; }
#site-header .group:hover .caret { transform: rotate(180deg); }
#site-header .nav-cta {
  padding: .55rem 1.25rem;
  border: 0;
  background: #573E26;
  color: #FFFDF8 !important;
  box-shadow: none;
  transition: background .2s ease, transform .12s ease;
}
#site-header.text-white .nav-cta { background: rgba(255, 255, 255, .92); color: #2B211A !important; border: 0; text-shadow: none; }
#site-header .nav-cta::before { display: none; }
#site-header .nav-cta:hover { background: #432E1A; color: #FFFDF8 !important; transform: none; box-shadow: none; }
#site-header.text-white .nav-cta:hover { background: #fff; color: #2B211A !important; }
#site-header .nav-cta:active { transform: scale(.97); }
#site-header .dd-panel {
  padding: 6px;
  border-radius: 14px;
}
#site-header .dd-item {
  display: block;
  padding: .55rem .9rem;
  border-radius: 10px;
  font-weight: 500;
  color: #2B211A !important;
  text-shadow: none !important;
  transition: background .15s ease;
}
#site-header .dd-item:hover { background: rgba(0, 0, 0, 0.05); }
@media (prefers-reduced-motion: reduce) {
  #site-header.header-glass, #site-header .nav-item, #site-header .caret { transition: none; }
}
.parroco-avatar--sin-foto { display: grid; place-items: center; background: #F5EFE3; }
.parroco-avatar--sin-foto img { width: 62%; height: 62%; object-fit: contain; border-radius: 0; opacity: .85; }
.parroco-modal.sin-foto .parroco-modal__content { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.parroco-modal__imgwrap[hidden] { display: none; }

:root {
  --glass-regular-bg: rgba(255, 255, 255, 0.78);
  --glass-thick-bg: rgba(250, 248, 245, 0.92);
  --glass-blur: blur(24px) saturate(180%);
  --glass-blur-thick: blur(40px) saturate(190%);
  --glass-border: 0.5px solid rgba(0, 0, 0, 0.08);
  --glass-highlight: inset 0 0.5px 0 rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 12px 32px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  --ios-curva: cubic-bezier(0.32, 0.72, 0, 1);
}
.glass {
  background: var(--glass-regular-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}
.glass-thick {
  background: var(--glass-thick-bg);
  -webkit-backdrop-filter: var(--glass-blur-thick);
  backdrop-filter: var(--glass-blur-thick);
  border: var(--glass-border);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-thick { background: rgb(250, 248, 245); }
}

.menu-movil {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms var(--ios-curva), transform 220ms var(--ios-curva);
}
.menu-movil[hidden] { display: none; }
.menu-movil.abierto { opacity: 1; transform: none; }
.menu-movil__barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
  padding: 0 16px;
  padding-top: env(safe-area-inset-top);
  flex: none;
}
.menu-movil__marca {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  color: #1c1c1e;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.menu-movil__marca img { width: 34px; height: 34px; flex: none; }
.menu-movil__cerrar {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(118, 118, 128, 0.14);
  color: #3c3c43;
  cursor: pointer;
}
.menu-movil__cerrar svg { width: 16px; height: 16px; }
.menu-movil__cuerpo {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 16px calc(24px + env(safe-area-inset-bottom));
}
.menu-movil__lista {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.menu-movil__fila,
.menu-movil__grupo > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 0 16px;
  font-size: 17px;
  font-weight: 500;
  color: #1c1c1e;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.menu-movil__grupo > summary::-webkit-details-marker { display: none; }
.menu-movil__lista > * + * { box-shadow: inset 0 0.5px 0 rgba(60, 60, 67, 0.29); }
.menu-movil__fila:active,
.menu-movil__grupo > summary:active { background: rgba(0, 0, 0, 0.05); }
.menu-movil__chevron {
  width: 14px;
  height: 14px;
  flex: none;
  color: rgba(60, 60, 67, 0.45);
  transition: transform 220ms var(--ios-curva);
}
.menu-movil__grupo[open] .menu-movil__chevron { transform: rotate(90deg); }
.menu-movil__sub {
  display: flex;
  flex-direction: column;
  padding: 0 0 6px;
  background: rgba(118, 118, 128, 0.06);
}
.menu-movil__sub a {
  display: block;
  padding: 11px 16px 11px 32px;
  font-size: 15.5px;
  color: #3c3c43;
}
.menu-movil__sub a + a { background: linear-gradient(rgba(60, 60, 67, 0.2), rgba(60, 60, 67, 0.2)) 32px 0 / calc(100% - 32px) 0.5px no-repeat; }
.menu-movil__sub a:active { background: rgba(0, 0, 0, 0.05); }
.menu-movil__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  min-height: 50px;
  margin: 20px auto 0;
  border-radius: 14px;
  background: #573E26;
  color: #FFFDF8;
  font-size: 17px;
  font-weight: 600;
}
.menu-movil__cta:active { background: #432E1A; }
body.menu-abierto { overflow: hidden; touch-action: none; }
body.menu-abierto #toTopBtn { display: none !important; }
@media (min-width: 1024px) {
  .menu-movil { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-movil, .menu-movil__chevron { transition: none; }
}
