/*
Theme Name: Sant Vicente Theme Gutenberg 2.5
Theme URI: https://parroquiasanvicentemartir.es
Author: Parroquia San Vicente Martir
Description: Tema de WordPress para la Parroquia San Vicente Martir con bloques Gutenberg propios
Version: 2.5.0
Requires at least: 5.6
Text Domain: sant-vicente-theme
*/
/* ====================================================
   TOKENS
==================================================== */
:root {
  --primary-gold: #c5a059;
  --primary-gold-l: #dbbd84;
  --primary-gold-d: #8e6d2d;
  --gold: #c5a059;
  /* Replaced --gold with primary for consistency */
  --gold-l: #dbbd84;
  --gold-pale: #fcf9f2;
  --ink: #181210;
  --ink-6: rgba(24, 18, 16, .06);
  --ink-15: rgba(24, 18, 16, .15);
  --ink-40: rgba(24, 18, 16, .40);
  --ink-65: rgba(24, 18, 16, .65);
  --stone: #f4ede0;
  --stone-2: #ece3d2;
  --stone-3: #ddd0b8;
  --white: #fff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.25, 1, .5, 1);
  --ease-b: cubic-bezier(.34, 1.56, .64, 1);
  --t2: .2s var(--ease);
  --t4: .4s var(--ease);
  --t6: .6s var(--ease);
  --t9: .9s var(--ease);
}

/* ====================================================
   RESET Ã¢â‚¬â€ mobile first
==================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ====================================================
   LAYOUT
==================================================== */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap--n {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ====================================================
   TYPOGRAPHY HELPERS
==================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
}

.tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  color: var(--ink);
}

.h2 em {
  font-style: italic;
  color: var(--primary-gold);
}

.h2--w {
  color: var(--white);
}

.h2--w em {
  color: var(--gold-l);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.75;
}

.prose {
  font-size: .93rem;
  color: var(--ink-65);
  line-height: 1.9;
}

.prose+.prose {
  margin-top: 1rem;
}

.rule {
  display: block;
  width: 48px;
  height: 2px;
  margin: 1.2rem 0 2rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
}

.rule--c {
  margin-left: auto;
  margin-right: auto;
}

.rule--w {
  background: linear-gradient(90deg, rgba(255, 255, 255, .5), transparent);
}

/* ====================================================
   BUTTONS
==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1;
  padding: .95rem 2.1rem;
  transition: var(--t4);
  white-space: nowrap;
}

.btn .arr {
  transition: transform var(--t4);
  display: inline-block;
}

.btn:hover .arr {
  transform: translateX(5px);
}

.btn--garnet {
  background: var(--primary-gold);
  color: #fff;
  border: 1.5px solid var(--primary-gold);
}

.btn--garnet:hover {
  background: var(--primary-gold-d);
  border-color: var(--primary-gold-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(197, 160, 89, .3);
}

.btn--gold {
  background: var(--gold);
  color: #fff;
  border: 1.5px solid var(--gold);
}

.btn--gold:hover {
  background: var(--gold-l);
  border-color: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(192, 154, 82, .3);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .4);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .07);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-15);
}

.btn--outline:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

/* ====================================================
   NEW IMAGE BLOCKS & ACCENTS
==================================================== */
.img-feature {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  display: block;
}

.img-feature::after {
  content: none !important;
}

.img-feature img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.img-feature:hover img {
  transform: scale(1.03);
}

.glass-caption {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: auto;
  width: auto;
  max-width: calc(100% - 1.7rem);
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  background: rgba(18, 14, 12, 0.62) !important;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
  pointer-events: none;
}

.glass-caption h4 {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  color: #F8E8C8;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.glass-caption p {
  display: none !important;
}

/* Parallax Box */
.parallax-box {
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 4rem 0;
}

.parallax-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 16, .4);
}

.parallax-box__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 600px;
  padding: 0 2rem;
}

/* Asset/Detail Accent */
.detail-accent {
  border: 1px solid var(--stone-3);
  padding: 1rem;
  background: var(--stone);
  position: relative;
}

.detail-accent::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

/* ====================================================
   SCROLL REVEAL
==================================================== */
[data-sr] {
  opacity: 0;
  transition: opacity var(--t9), transform var(--t9);
}

[data-sr="up"] {
  transform: translateY(36px);
}

[data-sr="left"] {
  transform: translateX(-40px);
}

[data-sr="right"] {
  transform: translateX(40px);
}

[data-sr="scale"] {
  transform: scale(.95);
}

[data-sr].vis {
  opacity: 1 !important;
  transform: none !important;
}

/* ====================================================
   NAV
==================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0.5rem 0;
  /* Reduced padding */
  height: 130px;
  /* Fixed height for the bar */
  display: flex;
  align-items: center;
  transition: background .5s var(--ease), height .5s var(--ease), backdrop-filter .5s;
}

.nav.scrolled {
  background: rgba(24, 18, 16, .96);
  height: 109px;
  /* Slimmer when scrolled */
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
  position: relative;
  z-index: 1000;
}

.nav__logo img {
  display: block;
  height: auto;
  width: auto;
  max-height: 80px;
  transition: height 0.5s var(--ease), max-height 0.5s var(--ease);
  transform-origin: top left;
}

.nav__logo-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}

.nav__logo-sub {
  font-size: .57rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav__links > li {
  flex-shrink: 0;
}

.nav__links a {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  padding: .4rem .8rem;
  position: relative;
  transition: color var(--t2);
}

/* Keep label + chevron on the same line (iPad / tablet) */
.nav__links .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.nav__links .dropdown-toggle i,
.nav__links .dropdown-toggle svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.nav__links .btn--donate {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: .8rem;
  right: .8rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t4);
}

.nav__links a:hover {
  color: #fff;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__links .btn--garnet {
  margin-left: .6rem;
  padding: .5rem 1.2rem;
  font-size: .66rem;
}

.nav__links .btn--gold {
  margin-left: .3rem;
  padding: .5rem 1.2rem;
  font-size: .66rem;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: var(--t4);
}

.nav__burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow-y: auto;
  padding: 4.5rem 2rem 2rem;
}

.mob-close {
  position: absolute;
  top: 1.4rem;
  right: 1.2rem;
  width: 2.8rem;
  height: 2.8rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, .95);
  font-size: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mob-close:hover {
  color: var(--gold-l);
}

.mob-menu.open {
  display: flex;
}

.mob-menu a, .mob-menu button.mob-link {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: rgba(255, 255, 255, .75);
  padding: .75rem 0;
  transition: color var(--t2);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  width: 100%;
  text-align: center;
  max-width: 100%;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}

.mob-menu a:hover, .mob-menu button.mob-link:hover {
  color: var(--gold-l);
}

.mob-menu__btns {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ====================================================
   HERO
==================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Layered background */
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../fotos/PHOTO-2026-02-28-19-37-20_1.jpg') center 35% / cover no-repeat;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(24, 18, 16, .92) 0%, rgba(75, 14, 26, .72) 40%, rgba(24, 18, 16, .85) 100%);
}

/* Animated grain overlay */
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {

  0%,
  100% {
    transform: translate(0, 0)
  }

  10% {
    transform: translate(-2%, -3%)
  }

  20% {
    transform: translate(3%, 2%)
  }

  30% {
    transform: translate(-1%, 4%)
  }

  40% {
    transform: translate(4%, -1%)
  }

  50% {
    transform: translate(-3%, 1%)
  }

  60% {
    transform: translate(1%, 3%)
  }

  70% {
    transform: translate(2%, -2%)
  }

  80% {
    transform: translate(-4%, 0%)
  }

  90% {
    transform: translate(0%, 2%)
  }
}

/* Floating particles */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.part {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: rise linear infinite;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0)
  }

  15% {
    opacity: .5
  }

  85% {
    opacity: .2
  }

  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(.3)
  }
}

/* Decorative rings */
.hero__rings {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 28vw, 420px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: .06;
}

.hero__rings circle {
  fill: none;
  stroke: #fff;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 7rem 0 5rem;
}

.hero__pre {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: slideUp .9s var(--ease) .15s forwards;
}

.hero__pre::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.hero__pre span {
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 300;
  color: #fff;
  line-height: .98;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: slideUp .9s var(--ease) .3s forwards;
}

.hero__title em {
  display: block;
  font-style: italic;
  color: var(--gold-l);
  font-weight: 400;
}

.hero__verse {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
  opacity: 0;
  animation: slideUp .9s var(--ease) .48s forwards;
}

.hero__verse-ref {
  font-size: .63rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .28);
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: slideUp .9s var(--ease) .58s forwards;
}

.hero__ctas {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: slideUp .9s var(--ease) .72s forwards;
}

/* Quick info bar inside hero */
.hero__quickinfo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(24, 18, 16, .75);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .06);
  opacity: 0;
  animation: fadeIn .9s var(--ease) 1.2s forwards;
}

.hero__qi-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid rgba(255, 255, 255, .08);
}

.qi-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.qi-item:last-child {
  border-right: none;
}

.qi-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.qi-text {}

.qi-label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.qi-val {
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  display: block;
  line-height: 1.3;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  right: 2rem;
  bottom: 6rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeIn .7s ease 1.4s forwards;
}

.hs-track {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, .12);
  position: relative;
  overflow: hidden;
}

.hs-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollFill 1.8s ease-in-out infinite;
}

.hs-label {
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  writing-mode: vertical-lr;
}

@keyframes scrollFill {
  0% {
    transform: translateY(-100%)
  }

  100% {
    transform: translateY(220%)
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* ====================================================
   EVENTS BAND
==================================================== */
.events-band {
  background: var(--primary-gold);
}

.events-band__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  min-height: 58px;
}

.eb-label {
  background: var(--primary-gold-d);
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 0 1.4rem;
  flex-shrink: 0;
}

.eb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-l);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .35;
    transform: scale(.7)
  }
}

.eb-label span {
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
}

.eb-events {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.eb-events::-webkit-scrollbar {
  display: none;
}

.eb-event {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.8rem;
  border-left: 1px solid rgba(255, 255, 255, .09);
  flex-shrink: 0;
  min-width: 0;
}

.eb-date {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--gold-l);
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
  min-width: 34px;
}

.eb-date small {
  display: block;
  font-family: var(--sans);
  font-size: .55rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  font-weight: 600;
  margin-top: 1px;
}

.eb-info {}

.eb-name {
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.eb-sub {
  font-size: .7rem;
  color: rgba(255, 255, 255, .42);
  white-space: nowrap;
}

/* ====================================================
   SECTION COMMON
==================================================== */
section {
  position: relative;
}

.sec {
  padding: 6rem 0;
}

.sec--cream {
  background: var(--stone);
}

.sec--dark {
  background: var(--ink);
}

.sec--garnet {
  background: var(--primary-gold);
}

.sec__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.sec__header .prose {
  margin-top: .8rem;
}

/* =================================0===================
   BIENVENIDA
==================================================== */
.bw {
  padding: 6rem 0;
  background: var(--white);
}

.bw__grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.bw__visual {
  position: relative;
}

/* Single clean image box Ã¢â‚¬â€ no overlap */
.bw__img-box {
  width: 100%;
  aspect-ratio: 4/3;
  background:
    linear-gradient(160deg, rgba(107, 21, 37, .18) 0%, rgba(24, 18, 16, .55) 100%),
    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=900&q=80') center/cover no-repeat;
  position: relative;
}

/* Year badge Ã¢â‚¬â€ sits inside, not overflowing */
.bw__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--primary-gold);
  color: #fff;
  padding: .9rem 1.3rem;
  text-align: center;
}

.bw__badge .y {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  display: block;
  color: var(--white);
}

.bw__badge .t {
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  display: block;
  margin-top: .2rem;
}

/* Stat pills */
.bw__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--stone-3);
  margin-top: 1px;
}

.bw__stat {
  background: var(--stone);
  padding: 1.3rem;
  text-align: center;
}

.bw__stat .sn {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--primary-gold);
  line-height: 1;
  display: block;
}

.bw__stat .sl {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-40);
  display: block;
  margin-top: .3rem;
}

/* Content */
.bw__content {}

.bw__lead {
  margin-bottom: 1.4rem;
}

.bw__quote {
  margin: 2rem 0;
  padding: 1.4rem 1.7rem;
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
}

.bw__quote blockquote {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
}

.bw__quote cite {
  display: block;
  font-size: .68rem;
  font-style: normal;
  color: var(--ink-40);
  margin-top: .5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ====================================================
   HISTORIA
==================================================== */
.hist {
  padding: 6rem 0;
  background: var(--stone);
  overflow: hidden;
}

/* Decorative large letter */
.hist__deco {
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1;
  font-size: clamp(180px, 25vw, 320px);
  color: rgba(24, 18, 16, .03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.hist__inner {
  position: relative;
  z-index: 1;
}

.hist__grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.hist__copy {}

.hist__expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height .8s var(--ease), opacity .5s;
  opacity: 0;
}

.hist__expand.open {
  max-height: 800px;
  opacity: 1;
}

.hist__toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-gold);
  transition: gap var(--t4);
}

.hist__toggle:hover {
  gap: .7rem;
}

.hist__toggle .ht-ico {
  transition: transform var(--t4);
  display: inline-block;
}

.hist__toggle.open .ht-ico {
  transform: rotate(180deg);
}

/* Patrimonio tags */
.pat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
}

.pat-tag {
  padding: .38rem .9rem;
  border: 1px solid var(--stone-3);
  font-size: .73rem;
  font-weight: 500;
  color: var(--ink-65);
  background: var(--white);
  transition: var(--t2);
  cursor: default;
}

.pat-tag:hover {
  border-color: var(--gold);
  color: var(--primary-gold);
  background: var(--gold-pale);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: flex;
  gap: 1.3rem;
}

.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 36px;
}

.tl-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-gold);
  flex-shrink: 0;
  margin-top: 5px;
  border: 2px solid var(--stone-2);
}

.tl-line {
  flex: 1;
  width: 1px;
  background: var(--stone-3);
  min-height: 24px;
  margin-top: 4px;
}

.tl-item:last-child .tl-line {
  display: none;
}

.tl-body {
  padding-bottom: 2rem;
}

.tl-year {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: .3rem;
}

.tl-body h4 {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink);
  margin-bottom: .3rem;
}

.tl-body p {
  font-size: .83rem;
  color: var(--ink-65);
  line-height: 1.65;
}

/* ====================================================
   HORARIOS
==================================================== */
.hora {
  padding: 6rem 0;
  background: var(--white);
}

/* Tab buttons */
.tab-bar {
  display: flex;
  border: 1.5px solid var(--ink-6);
  background: var(--stone);
  width: fit-content;
  margin: 0 auto 2.5rem;
}

.tab-btn {
  padding: .72rem 2rem;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-40);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--t2);
  font-family: var(--sans);
}

.tab-btn.on {
  background: var(--primary-gold);
  color: #fff;
}

.tab-btn:not(.on):hover {
  color: var(--primary-gold);
}

.tab-panel {
  display: none;
}

.tab-panel.on {
  display: block;
}

/* Schedule grid */
.sched-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sched-card {
  background: var(--stone);
  border-left: 3px solid var(--primary-gold);
  padding: 1.6rem;
  transition: box-shadow var(--t4), transform var(--t4);
}

.sched-card:hover {
  box-shadow: 0 10px 36px rgba(24, 18, 16, .1);
  transform: translateY(-3px);
}

.sched-card__header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.2rem;
}

.sched-icon {
  font-size: 1.4rem;
}

.sched-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.sched-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sched-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--stone-3);
  gap: 1rem;
}

.sched-row:last-of-type {
  border-bottom: none;
}

.sched-row .sd {
  font-size: .84rem;
  color: var(--ink-65);
  flex: 1;
}

.sched-row .st {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary-gold);
  white-space: nowrap;
}

.sched-note {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--stone-3);
  font-size: .73rem;
  color: var(--ink-40);
  font-style: italic;
  line-height: 1.6;
}

/* Extras grid */
.extras {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--stone-3);
}

.extra-item {
  background: var(--stone);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem;
  transition: background var(--t2);
}

.extra-item:hover {
  background: var(--gold-pale);
}

.extra-item .ei {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: .1rem;
}

.extra-item h4 {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .2rem;
}

.extra-item p {
  font-size: .8rem;
  color: var(--ink-65);
  line-height: 1.55;
}

/* Info important box */
.info-box {
  margin-top: 2rem;
  padding: 1.5rem 1.7rem;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-box .ib-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-box p {
  font-size: .84rem;
  color: var(--ink);
  line-height: 1.7;
}

.info-box strong {
  font-weight: 600;
}

/* ====================================================
   SACRAMENTOS
==================================================== */
.sacr {
  padding: 6rem 0;
  background: var(--ink);
  overflow: hidden;
}

/* Ambient glow */
.sacr::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 8% 55%, rgba(197, 160, 89, .25), transparent),
    radial-gradient(ellipse 35% 55% at 88% 22%, rgba(192, 154, 82, .07), transparent);
}

/* Grid divider lines */
.sacr::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .04) 50%, transparent calc(50% + .5px));
}

.sacr__head {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.sacr__head .tag {
  color: rgba(255, 255, 255, .45);
}

.sacr__head .tag::before {
  background: rgba(255, 255, 255, .3);
}

.sacr__head p {
  color: rgba(255, 255, 255, .48);
  font-size: .9rem;
  max-width: 580px;
  margin: .8rem auto 0;
  line-height: 1.8;
}

.sacr__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  z-index: 1;
}

.sacr__card {
  padding: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  position: relative;
  overflow: hidden;
  transition: background var(--t6);
}

.sacr__card:last-child {
  border-bottom: none;
}

/* Animated entrance line */
.sacr__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}

.sacr__card:hover {
  background: rgba(197, 160, 89, .12);
}

.sacr__card:hover::before {
  transform: scaleX(1);
}

/* Big bg number */
.sacr__num {
  position: absolute;
  bottom: -.5rem;
  right: 1.2rem;
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.sacr__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1.2rem;
  transition: transform var(--t4);
}

.sacr__card:hover .sacr__icon {
  transform: scale(1.15) rotate(-8deg);
}

.sacr__card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: .6rem;
}

.sacr__card>p {
  color: rgba(255, 255, 255, .48);
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.sacr__steps {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.6rem;
}

.sacr__step {
  display: flex;
  gap: .65rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .48);
  line-height: 1.55;
}

.sacr__step::before {
  content: '\203A';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.sacr__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--t4), color var(--t2);
}

.sacr__link:hover {
  color: var(--gold-l);
  gap: .75rem;
}

.sacr__link span {
  transition: transform var(--t4);
  display: inline-block;
}

.sacr__link:hover span {
  transform: translateX(4px);
}

/* ====================================================
   VIDA ESPIRITUAL (nueva secciÃƒÂ³n)
==================================================== */
.vida {
  padding: 6rem 0;
  background: var(--stone);
}

.vida__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.vida__card {
  background: var(--white);
  padding: 1.8rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t4), box-shadow var(--t4), transform var(--t4);
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
}

.vida__card:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 10px 32px rgba(24, 18, 16, .09);
  transform: translateX(4px);
}

.vida__ic {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.vida__copy h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: .4rem;
}

.vida__copy p {
  font-size: .87rem;
  color: var(--ink-65);
  line-height: 1.75;
}

.vida__copy .when {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.vida__copy .when::before {
  content: 'Ã¢â€”â€ ';
  font-size: .35rem;
}

/* ====================================================
   HOJA PARROQUIAL BAND
==================================================== */
.hoja-band {
  padding: 3.5rem 0;
  background: var(--gold-pale);
  overflow: hidden;
}

.hoja-band::before {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 154, 82, .18), transparent 70%);
  pointer-events: none;
}

.hoja-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hoja-band__text .tag::before {
  background: var(--primary-gold);
}

.hoja-band__text .tag {
  color: var(--primary-gold);
}

.hoja-band__text h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  margin: .7rem 0 .6rem;
}

.hoja-band__text p {
  font-size: .88rem;
  color: var(--ink-65);
  max-width: 520px;
  line-height: 1.75;
}

.hoja-band__ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.hoja-band__deco {
  font-size: 4.5rem;
  opacity: .2;
  flex-shrink: 0;
  animation: float 3.5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

/* ====================================================
   NOTICIAS
==================================================== */
.nots {
  padding: 6rem 0;
  background: var(--white);
}

.nots__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Featured + list layout */
.nots__featured {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nc {
  overflow: hidden;
  border: 1px solid var(--ink-6);
  transition: box-shadow var(--t4);
}

.nc:hover {
  box-shadow: 0 14px 44px rgba(24, 18, 16, .1);
}

.nc__thumb {
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--ink-15);
  aspect-ratio: 16/9;
  overflow: hidden;
}

.nc.nc--feat .nc__thumb {
  aspect-ratio: 21/9;
  font-size: 4rem;
}

.nc:hover .nc__img {
  transform: scale(1.04);
}

.nc__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.nc__body {
  padding: 1.4rem;
}

.nc.nc--feat .nc__body {
  padding: 1.6rem;
}

.nc__cat {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: .45rem;
}

.nc__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: .4rem;
  transition: color var(--t2);
}

.nc.nc--feat .nc__title {
  font-size: 1.3rem;
}

.nc:hover .nc__title {
  color: var(--primary-gold);
}

.nc__excerpt {
  font-size: .85rem;
  color: var(--ink-65);
  line-height: 1.65;
  display: block;
  margin: .5rem 0;
}

.nc__meta {
  font-size: .69rem;
  color: var(--ink-40);
}

/* List of smaller news */
.nots__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nl-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .9rem;
  border: 1px solid var(--ink-6);
  transition: background var(--t2);
}

.nl-item:hover {
  background: var(--stone);
}

.nl-thumb {
  width: 72px;
  height: 54px;
  background: var(--stone-2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ink-15);
  overflow: hidden;
}

.nl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nl-cat {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: .2rem;
}

.nl-title {
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  transition: color var(--t2);
}

.nl-item:hover .nl-title {
  color: var(--primary-gold);
}

.nl-date {
  font-size: .68rem;
  color: var(--ink-40);
  margin-top: .25rem;
}

/* ====================================================
   COMUNIDAD
==================================================== */
.com {
  padding: 6rem 0;
  background: var(--stone);
}

.com__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: .5rem;
}

.com-card {
  background: var(--white);
  padding: 1.8rem;
  border-bottom: 3px solid transparent;
  transition: border-color var(--t4), box-shadow var(--t4), transform var(--t4);
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
}

.com-card:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 10px 32px rgba(24, 18, 16, .09);
  transform: translateY(-3px);
}

.com-ic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform var(--t4);
}

.com-card:hover .com-ic {
  transform: scale(1.12) rotate(-6deg);
}

.com-copy h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: .35rem;
}

.com-copy p {
  font-size: .86rem;
  color: var(--ink-65);
  line-height: 1.75;
  margin-bottom: .6rem;
}

.com-sch {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.com-sch::before {
  content: 'Ã¢â€”â€ ';
  font-size: .35rem;
}

/* ====================================================
   CÃƒÂRITAS (dark garnet)
==================================================== */
.carit {
  padding: 6rem 0;
  background: var(--primary-gold);
  overflow: hidden;
}

.carit::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .06), transparent 60%);
}

.carit__grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

.carit__copy .tag {
  color: rgba(255, 255, 255, .52);
}

.carit__copy .tag::before {
  background: rgba(255, 255, 255, .35);
}

.carit__copy .h2 {
  color: #fff;
  margin-top: .9rem;
}

.carit__copy .h2 em {
  color: var(--gold-l);
}

.carit__copy .rule {
  background: linear-gradient(90deg, rgba(255, 255, 255, .45), transparent);
}

.carit__copy>p {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  line-height: 1.88;
  margin-bottom: 1rem;
}

.carit__items {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
}

.ci {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: rgba(255, 255, 255, .07);
  border-left: 2px solid var(--gold);
  transition: background var(--t2);
}

.ci:hover {
  background: rgba(255, 255, 255, .12);
}

.ci__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ci h4 {
  font-size: .79rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .18rem;
}

.ci p {
  font-size: .79rem;
  color: rgba(255, 255, 255, .52);
  line-height: 1.55;
}

.carit__ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Stats block */
.carit__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, .1);
}

.cs {
  background: rgba(24, 18, 16, .25);
  padding: 1.8rem;
  text-align: center;
  transition: background var(--t2);
}

.cs:hover {
  background: rgba(24, 18, 16, .4);
}

.cs .cn {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold-l);
  line-height: 1;
  display: block;
}

.cs .cl {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .42);
  display: block;
  margin-top: .4rem;
}

.carit__verse {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, .06);
  padding: 1.8rem;
  margin-top: 1px;
}

.carit__verse blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65;
}

.carit__verse cite {
  display: block;
  font-size: .67rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  margin-top: .7rem;
}

.carit__recogida {
  padding: 1.8rem;
  background: rgba(255, 255, 255, .05);
  margin-top: 1px;
}

.carit__recogida h4 {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: .8rem;
}

.carit__recogida p {
  font-size: .84rem;
  color: rgba(255, 255, 255, .48);
  line-height: 1.7;
}

.carit__recogida .highlight {
  font-size: .8rem;
  color: var(--gold-l);
  font-weight: 500;
  margin-top: .7rem;
  display: block;
}

/* ====================================================
   DONACIONES
==================================================== */
.dona {
  padding: 5rem 0;
  background: var(--ink);
  text-align: center;
  overflow: hidden;
}

.dona::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(192, 154, 82, .12), transparent 60%);
  pointer-events: none;
}

.dona>.wrap {
  position: relative;
}

.dona .tag {
  justify-content: center;
  color: rgba(255, 255, 255, .42);
}

.dona .tag::before {
  background: rgba(255, 255, 255, .25);
}

.dona h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: #fff;
  margin: .8rem 0 1rem;
}

.dona h2 em {
  font-style: italic;
  color: var(--gold-l);
}

.dona p {
  color: rgba(255, 255, 255, .5);
  max-width: 520px;
  margin: 0 auto 2.2rem;
  font-size: .9rem;
  line-height: 1.82;
}

/* Decorative divider */
.dona__ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.dona__ornament::before,
.dona__ornament::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 154, 82, .35));
}

.dona__ornament::after {
  transform: scaleX(-1);
}

.dona__ornament span {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold);
  opacity: .6;
}

/* ====================================================
   FOOTER
==================================================== */
.foot {
  background: #110d0a;
  padding: 5rem 0 0;
}

.foot__separator {
  display: none;
}

.foot__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.foot__brand .fn {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
}

.foot__brand .fs {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
  display: block;
}

.foot__brand .rule {
  margin: 1rem 0;
}

.foot__brand p {
  font-size: .83rem;
  color: rgba(255, 255, 255, .33);
  line-height: 1.75;
  margin-bottom: 1.3rem;
}

.foot__socials {
  display: flex;
  gap: .45rem;
}

.foot__soc {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  transition: border-color var(--t2), color var(--t2), background var(--t2), transform var(--t2);
}

.foot__soc svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}



.foot__soc img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(1);
}
.foot__soc:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
}

.foot__col h4 {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.foot__nav {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.foot__nav a {
  font-size: .82rem;
  color: rgba(255, 255, 255, .33);
  transition: color var(--t2);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.foot__nav a::before {
  content: '\203A';
  color: var(--primary-gold-l);
  font-size: .95rem;
}

.foot__nav a:hover {
  color: rgba(255, 255, 255, .75);
}

.foot__contacts {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.fct {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

.fct__icon {
  width: 28px;
  height: 28px;
  background: rgba(192, 154, 82, .07);
  border: 1px solid rgba(192, 154, 82, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  color: var(--gold);
}

.fct__text {
  font-size: .79rem;
  color: rgba(255, 255, 255, .38);
  line-height: 1.6;
}

.fct__label {
  font-size: .57rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .1rem;
  font-weight: 600;
}

/* Form section */
.foot__form {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.foot__form-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ff-intro .tag {
  color: var(--gold);
}

.ff-intro h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 300;
  color: #fff;
  margin: .8rem 0 .8rem;
}

.ff-intro h3 em {
  font-style: italic;
  color: var(--gold-l);
}

.ff-intro p {
  font-size: .84rem;
  color: rgba(255, 255, 255, .33);
  line-height: 1.75;
}

form.cf {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.cf-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

.fg label {
  display: block;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .25);
  margin-bottom: .38rem;
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  padding: .82rem .95rem;
  font-family: var(--sans);
  font-size: .86rem;
  outline: none;
  border-radius: 0;
  transition: border-color var(--t2);
  -webkit-appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: rgba(255, 255, 255, .18);
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--gold);
}

.fg textarea {
  resize: vertical;
  min-height: 100px;
}

.fg select option {
  background: #1a1410;
}

.cf-foot {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.cf-ok {
  font-size: .8rem;
  color: var(--gold-l);
  display: none;
}

.cf-ok.show {
  display: block;
}

/* Footer bar */
.foot__bar {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, .04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.foot__bar p {
  font-size: .7rem;
  color: rgba(255, 255, 255, .18);
}

.foot__bar-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.foot__bar-links a {
  font-size: .68rem;
  color: rgba(255, 255, 255, .18);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color var(--t2);
}

.foot__bar-links a:hover {
  color: var(--gold);
}

/* ====================================================
   BACK TO TOP
==================================================== */
#btt {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  width: 40px;
  height: 40px;
  background: var(--primary-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t2), transform var(--t2), background var(--t2);
}

#btt.vis {
  opacity: 1;
  pointer-events: auto;
}

#btt:hover {
  background: var(--primary-gold-d);
  transform: translateY(-3px);
}

/* ====================================================
   RESPONSIVE Ã¢â‚¬â€ MOBILE FIRST
   All layouts start as single column (flex-direction:column)
   and only become multi-column at larger breakpoints.
==================================================== */

/* Ã¢â€°Â¥ 600px: some 2-column adjustments */
@media (min-width: 600px) {
  .sched-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .sched-card {
    min-height: unset;
  }

  .extras {
    grid-template-columns: repeat(2, 1fr);
  }

  .bw__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .cf-2 {
    grid-template-columns: 1fr 1fr;
  }

  .carit__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Ã¢â€°Â¥ 860px: 3-col for some */
@media (min-width: 860px) {
  .sched-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .extras {
    grid-template-columns: repeat(4, 1fr);
  }

  .com__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .nots__featured {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }

  .nots__featured .nc--feat {
    grid-row: 1;
  }

  .nots__side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

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

  .vida__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .foot__form-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
  }
}

/* Ã¢â€°Â¥ 1024px: full layouts */
@media (min-width: 1024px) {
  .bw__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: center;
  }

  .bw__img-box {
    aspect-ratio: 3/4;
  }

  .hist__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .sacr__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sacr__card {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, .07);
  }

  .sacr__card:nth-child(2n) {
    border-right: none;
  }

  .sacr__card {
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .sacr__card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .carit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .com__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .foot__top {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 4rem;
  }

  .tab-bar {
    margin: 0 0 2.5rem;
  }
}

/* Ã¢â€°Â¥ 1024 specific nav */
@media (min-width: 1024px) {
  .nav__burger {
    display: none;
  }

  .nav__links {
    display: flex;
  }
}

@media (max-width: 1023px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }
}

/* Ticker responsive */
@media (max-width: 768px) {
  .events-band__inner {
    grid-template-columns: 1fr;
  }

  .eb-label {
    padding: .9rem 1.2rem;
  }

  .eb-events {
    flex-direction: column;
  }

  .eb-event {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: .8rem 1.2rem;
  }
}

@media (max-width: 860px) {
  .nav__logo img {
    max-height: 64px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 120vh;
    padding-bottom: 10rem;
    overflow: visible;
  }

  .hero__bg {
    background-position: center center;
  }

  .hero__inner {
    padding: 6.5rem 0 3rem;
  }

  .hero__title {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }

  .hero__verse {
    font-size: 1rem;
  }

  .hero__verse-ref {
    font-size: .75rem;
    margin-bottom: 1.5rem;
  }

  .hero__ctas {
    margin-bottom: 2.5rem;
  }

  .hero__quickinfo {
    position: absolute !important;
    bottom: -3.5rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: min(100%, 100%);
    max-width: 100%;
    z-index: 10;
    border-radius: 0;
    overflow: hidden;
    background: #181210;
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 22px 45px rgba(0, 0, 0, .28);
  }

  .hero__qi-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .qi-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 1.6rem 1.4rem;
  }

  .qi-item:last-child {
    border-bottom: none;
  }

  .hero__scroll {
    right: 1rem;
    bottom: 2rem;
  }

  .mob-menu a,
  .mob-menu button.mob-link {
    font-size: 1.35rem;
    max-width: 100%;
    padding: .85rem 0;
  }

  .mob-dropdown {
    margin-top: 1.2rem;
  }
}

/* Hero quickinfo responsive */
@media (max-width: 640px) {
  .hero__qi-inner {
    grid-template-columns: 1fr;
  }

  .qi-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .qi-item:last-child {
    border-bottom: none;
  }

  .hero__inner {
    padding-bottom: 0;
  }

  .hero__scroll {
    display: none;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__ctas {
    flex-direction: column;
  }
}

@media (max-width: 599px) {
  .bw__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .tab-btn {
    padding: .65rem 1.2rem;
    font-size: .67rem;
  }

  .foot__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hoja-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .hoja-band__ctas {
    justify-content: center;
  }
}

/* ====================================================
   NEW LAYOUT & COMPONENTS
==================================================== */

/* Donate CTA special button */
.btn--donate {
  background: linear-gradient(135deg, var(--primary-gold), #d4af37, var(--primary-gold-d));
  background-size: 200% 200%;
  color: #fff;
  border: 2px solid var(--primary-gold);
  font-size: .76rem;
  padding: 1rem 2.2rem;
  animation: donateShimmer 3s ease infinite;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(197, 160, 89, .35);
}

.btn--donate::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn--donate:hover::before {
  left: 100%;
}

.btn--donate:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(197, 160, 89, .5);
  border-color: #d4af37;
}

@keyframes donateShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Page header banner for subpages */
.page-hero {
  background: var(--ink);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(24, 18, 16, .85) 0%, rgba(197, 160, 89, .15) 100%);
}

.page-hero__img {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.page-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.page-hero__content h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.page-hero__content h1 em {
  font-style: italic;
  color: var(--gold-l);
}

.page-hero__content .hero-subtitle {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, .5);
  max-width: 600px;
  margin: 0 auto;
}

/* Content sections for subpages */
.page-content {
  padding: 4rem 0;
}

.page-content .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.page-content .content-text h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.page-content .content-text h2 em {
  color: var(--primary-gold);
  font-style: italic;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background: var(--stone);
  padding: 2rem;
  border-radius: 4px;
  border-left: 3px solid var(--primary-gold);
}

.info-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.info-card p {
  font-size: .88rem;
  color: var(--ink-65);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-content .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--primary-gold);
  color: #fff;
  padding: 12px 20px;
  z-index: 10000;
  transition: top 0.2s;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Dropdown Desktop */
.nav__item-dropdown {
  position: relative;
}

/* Tablet / iPad: tighter nav so items stay on one row with inline chevrons */
@media (min-width: 1024px) and (max-width: 1280px) {
  .nav__links a {
    font-size: 0.62rem;
    padding: 0.35rem 0.5rem;
    letter-spacing: 0.06em;
  }

  .nav__links .dropdown-toggle {
    gap: 0.2rem;
  }

  .nav__links .btn--donate,
  .nav__links .btn--ghost,
  .nav__links .cta-btn {
    padding: 0.42rem 0.75rem;
    font-size: 0.58rem;
    margin-left: 0.15rem;
  }

  .nav__logo img {
    height: 115px !important;
  }

  .nav.scrolled .nav__logo img {
    height: 95px !important;
  }

  .nav {
    height: auto;
    min-height: 88px;
  }

  .nav.scrolled {
    height: auto;
    min-height: 76px;
  }
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ink);
  min-width: 260px;
  border-top: 2px solid var(--primary-gold);
  padding: 0.5rem 0;
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: var(--t4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav__item-dropdown.open .dropdown-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .nav__item-dropdown:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.dropdown-menu a {
  display: block !important;
  padding: 0.6rem 1.2rem !important;
  font-size: 0.75rem !important;
  text-transform: none !important;
  letter-spacing: 0.05em !important;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-gold) !important;
}

/* Mobile Dropdown */
.mob-dropdown {
  width: 100%;
  max-width: 300px;
  margin: 1rem auto 0;
}

/* Row: main link + arrow button side by side */
.mob-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mob-dropdown-header .mob-main-link {
  /* inherit big italic style from .mob-menu a but with no border of its own */
  border-bottom: none !important;
  flex: 1;
  text-align: center;
  padding-right: 0 !important;
  max-width: none;
  width: auto;
}

/* Small arrow-only button */
.mob-dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, .55);
  padding: .65rem .6rem;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.mob-dropdown-toggle:hover {
  color: var(--primary-gold);
}

/* Chevron spin animation */
.mob-dropdown-toggle .chevron-icon {
  display: inline-flex;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mob-dropdown.open .mob-dropdown-toggle .chevron-icon {
  transform: rotate(180deg);
}

/* Submenu panel */
.mob-dropdown-content {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 0 8px 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.3s ease,
              margin 0.3s ease;
  padding: 0;
  margin: 0;
}

.mob-dropdown.open .mob-dropdown-content {
  max-height: 400px;
  padding: 0.5rem 0 0.7rem;
  margin-bottom: 0.3rem;
}

/* Subpage links inside the panel */
.mob-sublink {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
  border-bottom: none !important;
  padding: 0.5rem 1rem !important;
  width: 100%;
  text-align: center;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background 0.2s ease !important;
  max-width: none;
}

.mob-sublink:hover {
  color: var(--primary-gold) !important;
  background: rgba(255, 255, 255, 0.05);
}

/* Helpers */
.bg-stone {
  background-color: var(--stone);
}

.bg-stone-light {
  background-color: var(--stone-2);
}

.text-center {
  text-align: center;
}

.d-flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.mt-3 {
  margin-top: 2rem;
}

/* Flex Header */
.flex-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--t4);
}

.card:hover {
  transform: translateY(-5px);
}

.card__img {
  height: 220px;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t6);
}

.card:hover .card__img img {
  transform: scale(1.05);
}

.card__body {
  padding: 2rem;
}

.card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.card__desc {
  font-size: 0.9rem;
  color: var(--ink-65);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-gold);
}

.btn-link i {
  width: 14px;
  height: 14px;
  transition: transform var(--t2);
}

.btn-link:hover i {
  transform: translateX(4px);
}

/* Activities Grid */
.activities-sec {
  padding: 6rem 0;
}

.act-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.act-box {
  background: var(--stone-2);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  text-align: center;
  transition: var(--t4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.act-box:hover {
  background: var(--primary-gold);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(197, 160, 89, .25);
}

.act-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  transition: var(--t4);
}

.act-box:hover .act-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.act-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.act-box p {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* News Feed */
.news-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.news-item {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: transform var(--t4);
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--stone);
  color: var(--primary-gold);
  min-width: 60px;
  height: 60px;
  border-radius: 4px;
  flex-shrink: 0;
}

.nd-day {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}

.nd-month {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.news-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.news-title a {
  transition: color var(--t2);
}

.news-title a:hover {
  color: var(--primary-gold);
}

.news-summary {
  font-size: 0.85rem;
  color: var(--ink-65);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Responsive utilities */
.d-show-mob {
  display: none;
}

@media (max-width: 900px) {

  .cards-grid,
  .news-feed {
    grid-template-columns: repeat(2, 1fr);
  }

  .act-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .flex-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .flex-header .btn {
    margin-top: 1.5rem;
  }

  .d-none-mob {
    display: none !important;
  }

  .d-show-mob {
    display: block;
  }
}

@media (max-width: 600px) {

  .cards-grid,
  .news-feed,
  .act-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    gap: 1rem;
  }

  .news-date {
    width: 60px;
    margin-bottom: 0.5rem;
  }

  .sec-header.text-center .rule {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transition: transform var(--t4), box-shadow var(--t4);
  aspect-ratio: 4/3;
}

.photo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.photo-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t6);
}

.photo-item:hover .photo-wrapper img {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(16, 11, 9, .92) 0%, rgba(16, 11, 9, .6) 65%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--t4);
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-caption {
  color: #fff;
  font-family: var(--serif);
  font-size: .95rem;
  font-style: italic;
  letter-spacing: .02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Placeholder styles */
.photo-item.placeholder {
  background: var(--stone);
  border: 2px dashed var(--stone-3);
}

.placeholder-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: var(--stone-3);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.photo-item.placeholder:hover {
  transform: none;
  box-shadow: none;
}

/* Gallery responsive */
@media (max-width: 900px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}

/* ====================================================
   GRUPO DE MATRIMONIOS
==================================================== */
.mat-hero {
  background: radial-gradient(ellipse at 50% 30%, rgba(197, 160, 89, 0.18) 0%, rgba(24, 18, 16, 0.98) 70%), var(--ink);
  padding: 5.5rem 1.5rem 4.5rem;
  position: relative;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.mat-hero::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(197, 160, 89, 0.15);
  pointer-events: none;
  border-radius: 4px;
}

.mat-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1.2rem;
  color: var(--gold-l);
  filter: drop-shadow(0 4px 14px rgba(197, 160, 89, 0.35));
}

.mat-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.mat-hero h1 em {
  font-style: italic;
  color: var(--gold-l);
}

.mat-hero .mat-hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.5;
}

.mat-ornament-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto 0;
  max-width: 280px;
}

.mat-ornament-rule::before,
.mat-ornament-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.mat-ornament-rule span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  display: inline-block;
}

/* Introduction block */
.mat-intro-block {
  max-width: 860px;
  margin: 0 auto 4rem;
  text-align: center;
}

.mat-intro-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink);
}

/* Pillars grid */
.mat-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 4.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.mat-pillar-card {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 8px;
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: transform var(--t4), box-shadow var(--t4), border-color var(--t4);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.mat-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.mat-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.12);
  border-color: var(--gold);
}

.mat-pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.mat-pillar-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--gold);
  opacity: 0.8;
  line-height: 1;
}

.mat-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1px solid rgba(197, 160, 89, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold-d);
}

.mat-pillar-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.mat-pillar-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-65);
  margin: 0;
}

/* Feature card: Cursillos Prematrimoniales */
.mat-feature-card {
  background: linear-gradient(145deg, #fff 0%, var(--gold-pale) 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 8px;
  padding: 3rem 2.8rem;
  position: relative;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  max-width: 960px;
  margin: 0 auto 4.5rem;
}

.mat-feature-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.mat-duo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-gold-d);
  background: rgba(197, 160, 89, 0.14);
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  margin-bottom: 1.2rem;
}

.mat-feature-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.mat-feature-card h3 em {
  font-style: italic;
  color: var(--primary-gold);
}

.mat-feature-card p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-65);
  margin-bottom: 1rem;
}

.mat-feature-card p:last-child {
  margin-bottom: 0;
}

.mat-keypoints-box {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.mat-keypoints-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--primary-gold-d);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mat-keypoints {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mat-keypoints li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.mat-keypoints li i {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Pull quote highlight */
.mat-quote-banner {
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  margin-bottom: 4.5rem;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.mat-quote-banner::before {
  content: 'â€œ';
  font-family: var(--serif);
  font-size: 12rem;
  line-height: 1;
  position: absolute;
  top: -2rem;
  left: 2rem;
  color: rgba(197, 160, 89, 0.08);
  pointer-events: none;
}

.mat-quote-banner blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  max-width: 820px;
  margin: 0 auto 1.2rem;
  color: var(--gold-l);
}

.mat-quote-banner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Call to action dual cards */
.mat-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.mat-cta-card {
  background: var(--white);
  border: 1px solid rgba(24, 18, 16, 0.08);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
}

.mat-cta-card--gold {
  border-color: rgba(197, 160, 89, 0.4);
  background: linear-gradient(180deg, #fff 0%, var(--gold-pale) 100%);
}

.mat-cta-card h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0.8rem 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mat-cta-card p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink-65);
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

/* Final conclusion ribbon */
.mat-closing-ribbon {
  text-align: center;
  padding: 2.5rem 1.5rem 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.mat-closing-ribbon h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--primary-gold-d);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .mat-pillars {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .mat-feature-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .mat-cta-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ====================================================
   COLEGIO PARROQUIAL SANT FRANCESC STYLES
==================================================== */

/* Early Access / Web Portal Callout Card */
.school-portal-card {
  margin: -2.5rem auto 3.5rem;
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-pale) 100%);
  border: 1px solid var(--stone-3);
  border-left: 4px solid var(--primary-gold);
  border-radius: 8px;
  padding: 1.8rem 2.2rem;
  box-shadow: 0 16px 36px rgba(24, 18, 16, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform var(--t4), box-shadow var(--t4);
}

.school-portal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(24, 18, 16, 0.12);
}

.school-portal-card__info {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.school-portal-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  color: var(--primary-gold-d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.school-portal-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-gold-d);
  margin-bottom: 0.2rem;
}

.school-portal-card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.school-portal-card__desc {
  font-size: 0.9rem;
  color: var(--ink-65);
  line-height: 1.5;
}

.school-portal-card__action {
  flex-shrink: 0;
}

/* Wide Horizontal Banner for Panoramic Photos */
.school-wide-banner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--stone-3);
  box-shadow: 0 16px 36px rgba(24, 18, 16, 0.1);
  margin-top: 2.2rem;
  background: var(--stone);
}

.school-wide-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 21 / 9;
  transition: transform 1.2s var(--ease);
}

.school-wide-banner:hover img {
  transform: scale(1.03);
}

/* Educational Stages Grid */
.school-stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.school-stage-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: 8px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t4), border-color var(--t4), box-shadow var(--t4);
  position: relative;
  overflow: hidden;
}

.school-stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--t4);
}

.school-stage-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold-l);
  box-shadow: 0 16px 32px rgba(24, 18, 16, 0.08);
}

.school-stage-card:hover::before {
  background: var(--primary-gold);
}

.school-stage-card__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-gold-d);
  background: var(--gold-pale);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.school-stage-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: var(--stone);
  color: var(--primary-gold-d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.school-stage-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.school-stage-card p {
  font-size: 0.91rem;
  color: var(--ink-65);
  line-height: 1.75;
}

/* Values & Community Section */
.school-values-block {
  background: var(--stone);
  border-radius: 8px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stone-3);
}

.school-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.school-value-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(24, 18, 16, 0.06);
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.school-value-item__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.school-value-item__icon {
  color: var(--primary-gold);
}

.school-value-item h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
}

.school-value-item p {
  font-size: 0.92rem;
  color: var(--ink-65);
  line-height: 1.8;
}

/* Contact Grid Layout (3 top, 2 centered bottom) */
.school-contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.school-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.school-contact-card {
  flex: 1 1 260px;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: 8px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--t4), border-color var(--t4), box-shadow var(--t4);
}

.school-contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 28px rgba(24, 18, 16, 0.08);
}

.school-contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--primary-gold-d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.school-contact-card__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-gold-d);
  margin-bottom: 0.4rem;
}

.school-contact-card__value {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  word-break: break-all;
  font-weight: 600;
}

.school-contact-card__value a {
  color: inherit;
  transition: color var(--t2);
}

.school-contact-card__value a:hover {
  color: var(--primary-gold-d);
}

/* Responsive adjustments */
.school-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.school-feature-grid--reverse {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .school-feature-grid,
  .school-feature-grid--reverse {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .school-portal-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
    margin-top: -1.5rem;
    gap: 1.2rem;
  }
  .school-portal-card__info {
    flex-direction: column;
    gap: 0.8rem;
  }
  .school-portal-card__icon {
    width: 44px;
    height: 44px;
  }
  .school-portal-card__title {
    font-size: 1.2rem;
  }
  .school-portal-card__desc {
    font-size: 0.88rem;
  }
  .school-portal-card__action {
    width: 100%;
  }
  .school-portal-card__action .btn {
    width: 100%;
    justify-content: center;
  }
  .school-stages-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .school-values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .school-values-block {
    padding: 2rem 1.25rem;
  }
  .school-value-item {
    padding: 1.5rem 1.25rem;
  }
  .img-feature {
    aspect-ratio: 4/3 !important;
    max-height: 380px;
  }
  .school-wide-banner img {
    aspect-ratio: 16 / 9 !important;
  }
}

@media (max-width: 600px) {
  .school-wide-banner img {
    aspect-ratio: 14 / 9 !important;
  }
  .school-contact-grid {
    gap: 1rem;
  }
  .school-contact-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.4rem 1rem;
  }
  .school-contact-card__value {
    font-size: 1.02rem;
  }
}

/* ====================================================
   UNIVERSAL RESPONSIVE IMAGE & GRID FIXES
==================================================== */
.pat__grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
}

.pat__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 861px) {
  .pat__item--reverse > .img-feature {
    order: 2;
  }
  .pat__item--reverse > div:not(.img-feature) {
    order: 1;
  }
}

@media (max-width: 860px) {
  .pat__item,
  .pat__item--reverse,
  .pat__grid > div,
  .hist__grid,
  .content-grid,
  .split-grid,
  [style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
  }

  .pat__item > div,
  .pat__item--reverse > div,
  .hist__grid > div,
  .content-grid > div,
  .img-feature {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .img-feature {
    aspect-ratio: 16/10 !important;
    max-height: 420px;
  }

  .img-feature img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .glass-caption {
    bottom: 0.65rem !important;
    left: 0.65rem !important;
    padding: 0.35rem 0.65rem !important;
  }

  .glass-caption h4 {
    font-size: 0.92rem !important;
  }
}

@media (max-width: 480px) {
  .img-feature {
    aspect-ratio: 4/3 !important;
    border-radius: 4px;
  }
  .glass-caption {
    bottom: 0.5rem !important;
    left: 0.5rem !important;
    padding: 0.3rem 0.55rem !important;
  }
  .glass-caption h4 {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 860px) {
  body > main {
    flex: 0 0 auto;
  }

  body > .content-footer-separator {
    display: none;
  }

  .foot {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    padding-top: 0;
  }

  .foot::before {
    content: '';
    display: block;
    width: 100%;
    flex: 1 0 clamp(3rem, 8vh, 5rem);
    min-height: clamp(3rem, 8vh, 5rem);
    background: linear-gradient(180deg, rgba(197, 160, 89, .12) 0%, var(--stone) 24%, var(--stone-2) 48%, #756044 76%, #110d0a 100%);
    border-top: 2px solid var(--primary-gold);
  }

  .foot__separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .foot::before {
    flex-basis: clamp(3rem, 8vh, 5rem);
  }
}

body:not(.home):not(.front-page) > .nav {
  position: sticky;
  top: 0;
}
