/* ============================================================
   St. Daniel Comboni Girls High School — Lodwar
   Custom Stylesheet  ·  Navy + Amber scheme
   ============================================================ */

:root {
  --color-primary:        #1a2e4a;
  --color-primary-soft:   #2d4a6e;
  --color-secondary:      #b5772a;
  --color-secondary-soft: #e8dcc8;
  --color-cream:          #f5f0e8;
  --color-cream-2:        #e8dcc8;
  --color-paper:          #ffffff;
  --color-ink:            #1a2e4a;
  --color-ink-soft:       #2d4a6e;
  --color-line:           #e8dcc8;
  --color-accent:         #b5772a;
  --color-white:          #ffffff;

  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 8px rgba(26,46,74,.06);
  --shadow-md: 0 12px 32px rgba(26,46,74,.10);
  --shadow-lg: 0 28px 60px rgba(26,46,74,.18);

  --radius-sm: 4px;
  --radius-md: 8px;

  --container: 1240px;
}

/* ------------- Base reset ------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink);
  background: var(--color-cream);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--color-secondary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
  font-variation-settings: "opsz" 24, "SOFT" 50;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
p  { margin: 0 0 1.1em; color: var(--color-ink-soft); }

/* ------------- Reusable bits ------------- */
.container-x { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--color-secondary);
  display: inline-block;
}

.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 90px) 0; }

.section-title { margin-bottom: .25em; }
.section-lede {
  font-size: 1.08rem;
  max-width: 640px;
  color: var(--color-ink-soft);
}

/* Decorative divider */
.divider-dot {
  display: flex; align-items: center; gap: 8px;
  margin: 18px 0 26px;
}
.divider-dot span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-secondary);
}
.divider-dot span:nth-child(2) { background: var(--color-primary); }
.divider-dot::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--color-secondary), transparent);
}

/* Buttons */
.btn-x {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all .3s ease;
  cursor: pointer;
}
.btn-x--primary {
  background: var(--color-primary);
  color: var(--color-cream);
}
.btn-x--primary:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-x--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn-x--ghost:hover {
  background: var(--color-primary);
  color: var(--color-cream);
}
.btn-x--light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
}
.btn-x--light:hover { background: #fff; color: var(--color-primary); border-color: #fff; }

/* ============================================================
   TOP BAR + NAVBAR
   ============================================================ */
.topbar {
  background: var(--color-primary);
  color: var(--color-cream-2);
  font-size: .82rem;
  padding: 8px 0;
  letter-spacing: .02em;
}
.topbar a { color: var(--color-cream-2); }
.topbar a:hover { color: var(--color-secondary-soft); }
.topbar .container-x { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.topbar .topbar-left, .topbar .topbar-right { display: flex; flex-wrap: wrap; gap: 18px; }
.topbar i { color: var(--color-secondary-soft); margin-right: 6px; }

.site-nav {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s ease, padding .3s ease;
}
.site-nav.is-scrolled { box-shadow: var(--shadow-sm); }
.site-nav .container-x {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-cream);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  border: 2px solid var(--color-secondary);
  box-shadow: 0 0 0 4px var(--color-cream);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: -8px;
  border: 1px dashed var(--color-secondary);
  border-radius: 50%;
  opacity: .4;
}
.brand-text { line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--color-primary);
  font-weight: 600;
  display: block;
}
.brand-text small {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.nav-toggle {
  background: transparent; border: 1px solid var(--color-primary);
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: none; align-items: center; justify-content: center;
  color: var(--color-primary); cursor: pointer;
}

.nav-links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; background: var(--color-secondary);
  transform: translateX(-50%); transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 22px; }
.nav-links .nav-cta {
  margin-left: 12px; padding: 11px 22px;
  background: var(--color-primary); color: var(--color-cream);
  border-radius: var(--radius-sm); letter-spacing: .08em;
  text-transform: uppercase; font-size: .8rem;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--color-secondary); color: #fff; }

@media (max-width: 992px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--color-paper); border-top: 1px solid var(--color-line);
    padding: 14px 18px; gap: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .25s ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 6px; border-bottom: 1px dashed var(--color-line); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .nav-cta { margin: 12px 0 6px; text-align: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; min-height: 88vh; }
.hero-swiper, .hero-swiper .swiper-wrapper, .hero-swiper .swiper-slide {
  height: 88vh;
  min-height: 580px;
}
.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center;
}
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(26,46,74,.78) 0%, rgba(26,46,74,.55) 45%, rgba(232,220,200,.35) 100%);
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(181,119,42,.18), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(232,220,200,.18), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 880px;
  padding: 0 28px;
  color: #fff;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: ""; width: 48px; height: 1px; background: var(--color-secondary-soft);
}
.hero h1 {
  color: #fff;
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.08;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-secondary-soft);
}
.hero p {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Slider controls */
.hero-swiper .swiper-pagination {
  bottom: 28px !important;
}
.hero-swiper .swiper-pagination-bullet {
  width: 30px; height: 3px;
  background: rgba(255,255,255,.4);
  opacity: 1; border-radius: 0;
  transition: all .3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: var(--color-secondary-soft);
  width: 60px;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: #fff;
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  transition: all .3s ease;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--color-secondary-soft);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: 16px; font-weight: 700; }

/* Hero stat-strip */
.hero-stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  z-index: 3;
  border-top: 1px solid var(--color-line);
}
.hero-stats .container-x {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-stat {
  padding: 26px 22px;
  border-right: 1px dashed var(--color-line);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-primary);
  font-weight: 500;
  display: block;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.hero-stat span {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-top: 8px;
}
@media (max-width: 720px) {
  .hero-stats .container-x { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-bottom: 1px dashed var(--color-line); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: none; }
}



/* ============================================================
   HERO  ·  refined editorial layout
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
}
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 92vh;
  min-height: 620px;
  max-height: 880px;
}
.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

/* ----- Left-to-right gradient (dark → light) ----- */
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 46, 74, .94) 0%,
    rgba(26, 46, 74, .82) 28%,
    rgba(26, 46, 74, .55) 55%,
    rgba(26, 46, 74, .22) 82%,
    rgba(26, 46, 74, .05) 100%
  );
  z-index: 1;
}

/* ----- Subtle warm glow & bottom fade for depth ----- */
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 12% 70%, rgba(181,119,42,.12), transparent 55%),
    linear-gradient(to top, rgba(26,46,74,.5), transparent 28%);
  pointer-events: none;
  z-index: 1;
}

/* ----- Slide content ----- */
.hero-inner {
  position: relative; z-index: 2;
  max-width: 720px;
  padding: 90px 28px 180px;   /* generous bottom space so stats card never hides content */
  color: #fff;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,.88);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: "";
  width: 52px; height: 1px;
  background: var(--color-accent);
}
.hero h1 {
  color: #fff;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.06;
  margin-bottom: 22px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}
.hero p {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----- Slider arrows (centered, glassy) ----- */
.hero-swiper .swiper-pagination { display: none; }
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: #fff;
  width: 50px; height: 50px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(26,46,74,.35);
  backdrop-filter: blur(6px);
  transition: all .3s ease;
  margin-top: -90px;   /* offset upward so they don't sit over the stats card */
  z-index: 4;
}
.hero-swiper .swiper-button-prev { left: 22px; }
.hero-swiper .swiper-button-next { right: 22px; }
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: 14px; font-weight: 700; }

/* ----- Right-side decorative rail ----- */
.hero-rail {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  pointer-events: none;
}
.hero-rail-line {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4), transparent);
}
.hero-rail-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.hero-rail-text em {
  font-style: normal;
  color: var(--color-accent);
  font-family: var(--font-display);
  letter-spacing: .14em;
  font-size: .9rem;
}

/* ----- Bottom-left location pill ----- */
.hero-tag {
  position: absolute;
  left: 28px;
  bottom: 150px;   /* sits ABOVE where the stats card will overlap */
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.78);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  background: rgba(26,46,74,.25);
}
.hero-tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  position: relative;
}
.hero-tag-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  opacity: .6;
  animation: heroDotPulse 2.4s ease-out infinite;
}
@keyframes heroDotPulse {
  0%   { transform: scale(.6); opacity: .7; }
  100% { transform: scale(2);  opacity: 0;  }
}

/* ============================================================
   HERO STATS  ·  floating card overlapping below the hero
   ============================================================ */
.hero-stats-wrap {
  position: relative;
  z-index: 5;
  margin-top: -90px;
  margin-bottom: 30px;
}
.hero-stats {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  box-shadow: 0 24px 70px -10px rgba(26,46,74,.28);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  position: relative;
}
.hero-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, var(--color-accent) 0%, transparent 35%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: .6;
}
.hero-stat {
  padding: 30px 22px;
  border-right: 1px dashed var(--color-line);
  text-align: center;
  position: relative;
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--color-primary);
  font-weight: 500;
  display: block;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.hero-stat span {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-primary-soft);
  display: block;
  margin-top: 10px;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .hero-rail { right: 20px; }
  .hero-rail-line { height: 50px; }
}
@media (max-width: 768px) {
  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-swiper .swiper-slide {
    height: 86vh;
    min-height: 560px;
  }
  .hero-inner { padding: 70px 24px 160px; }
  .hero-rail { display: none; }
  .hero-tag {
    bottom: 130px;
    font-size: .66rem;
    padding: 7px 14px;
    letter-spacing: .18em;
  }
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 42px; height: 42px; margin-top: -70px;
  }
  .hero-swiper .swiper-button-prev { left: 10px; }
  .hero-swiper .swiper-button-next { right: 10px; }
}
@media (max-width: 720px) {
  .hero-stats-wrap { margin-top: -70px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding: 22px 14px; border-bottom: 1px dashed var(--color-line); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: none; }
  .hero-stat strong { font-size: 1.9rem; }
  .hero-stat span { font-size: .64rem; }
}

/* ============================================================
   TEXTURE / PATTERN BACKGROUNDS
   ============================================================ */
.bg-paper {
  background-color: var(--color-paper);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(26,46,74,.05) 1px, transparent 0);
  background-size: 22px 22px;
}
.bg-grid {
  background-color: var(--color-cream);
  background-image:
    linear-gradient(rgba(45,74,110,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,74,110,.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-dark {
  background: var(--color-primary);
  color: var(--color-cream-2);
  position: relative;
}
.bg-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,.75); }
.bg-dark .eyebrow { color: var(--color-secondary-soft); }
.bg-dark .eyebrow::before { background: var(--color-secondary-soft); }

/* ============================================================
   INTRO / WELCOME SECTION (split with sticky image)
   ============================================================ */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro-media {
  position: sticky; top: 100px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 300px 200px;
  gap: 18px;
}
.intro-media .img-1 {
  grid-row: 1 / 3;
  background-size: cover; background-position: center;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-md);
}
.intro-media .img-1::after {
  content: ""; position: absolute; inset: -14px;
  border: 1px dashed var(--color-secondary);
  border-radius: var(--radius-md);
  z-index: -1;
}
.intro-media .img-2 {
  background-size: cover; background-position: center;
  border-radius: var(--radius-md);
  border: 6px solid var(--color-paper);
  box-shadow: var(--shadow-md);
}
.intro-media .badge {
  background: var(--color-primary);
  color: var(--color-cream);
  padding: 22px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.intro-media .badge strong {
  font-family: var(--font-display);
  font-size: 2.6rem; line-height: 1; font-weight: 500;
  color: var(--color-secondary-soft);
}
.intro-media .badge span {
  font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; margin-top: 6px;
}
.intro-body p { font-size: 1.05rem; }
.intro-quote {
  margin: 30px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--color-secondary);
  background: var(--color-cream-2);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.5;
}
.intro-quote footer {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-top: 14px;
}
.intro-signoff {
  display: flex; align-items: center; gap: 18px;
  margin-top: 28px;
}
.intro-signoff .sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--color-primary);
}
.intro-signoff .meta {
  font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-secondary);
}

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; gap: 50px; }
  .intro-media { position: static; }
}

/* ============================================================
   PILLARS / VALUES (cards)
   ============================================================ */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.pillar {
  background: var(--color-paper);
  padding: 36px 26px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 36px;
  border-top: 2px solid var(--color-secondary);
  border-left: 2px solid var(--color-secondary);
}
.pillar::after {
  content: ""; position: absolute; bottom: 0; right: 0; width: 36px; height: 36px;
  border-bottom: 2px solid var(--color-secondary);
  border-right: 2px solid var(--color-secondary);
}
.pillar i {
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-bottom: 22px;
  display: inline-block;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 12px; }
.pillar p { font-size: .94rem; margin: 0; }
.pillar small {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--color-line);
  position: absolute; top: 18px; right: 22px;
  line-height: 1;
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } }

/* ============================================================
   PARALLAX SECTION
   ============================================================ */
.parallax {
  position: relative;
  padding: 130px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.parallax::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,46,74,.88), rgba(26,46,74,.6));
}
.parallax .container-x { position: relative; z-index: 2; }
.parallax h2 { color: #fff; font-weight: 300; max-width: 760px; margin: 14px auto 18px; }
.parallax p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto 28px; }
.parallax .eyebrow { color: var(--color-secondary-soft); }
.parallax .eyebrow::before { background: var(--color-secondary-soft); }

/* No parallax on iOS — switch to scroll on smaller screens */
@media (max-width: 900px) {
  .parallax { background-attachment: scroll; }
}

/* ============================================================
   PROGRAMS / OFFERING (asymmetric grid)
   ============================================================ */
.offering-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
}
.offering-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 360px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  color: #fff;
  transition: transform .35s ease;
}
.offering-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,46,74,.94) 0%, rgba(26,46,74,.45) 55%, transparent 100%);
}
.offering-card:hover { transform: translateY(-4px); }
.offering-card.tall { grid-row: span 2; min-height: 744px; }
.offering-card .ctxt { position: relative; z-index: 2; padding: 28px 30px; }
.offering-card .ctxt small {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  padding: 5px 12px;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 99px;
  margin-bottom: 14px;
}
.offering-card h3 { color: #fff; margin-bottom: 8px; }
.offering-card p { color: rgba(255,255,255,.8); margin: 0; font-size: .94rem; }
@media (max-width: 900px) {
  .offering-grid { grid-template-columns: 1fr 1fr; }
  .offering-card.tall { grid-row: auto; min-height: 360px; }
}
@media (max-width: 600px) { .offering-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GALLERY · two purpose-built layouts that cannot leave gaps
   ============================================================ */

/* ---------- Shared item styling ---------- */
.gallery-editorial .g-item,
.gallery-bricks .g-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-cream-2);
  cursor: pointer;
  display: block;
}
.gallery-editorial .g-item img,
.gallery-bricks .g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
  display: block;
}
.gallery-editorial .g-item:hover img,
.gallery-bricks .g-item:hover img {
  transform: scale(1.06);
}

/* Hover overlay (shared) */
.gallery-editorial .g-overlay,
.gallery-bricks .g-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(26,46,74,.82) 0%, rgba(26,46,74,.2) 45%, transparent 65%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.gallery-editorial .g-item:hover .g-overlay,
.gallery-bricks .g-item:hover .g-overlay {
  opacity: 1;
}

/* Caption (shared) */
.gallery-editorial .g-cap,
.gallery-bricks .g-cap {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -.005em;
  font-weight: 500;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.gallery-editorial .g-item:hover .g-cap,
.gallery-bricks .g-item:hover .g-cap {
  opacity: 1;
  transform: translateY(0);
}

/* Category pill (gallery page only) */
.gallery-bricks .g-cat {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  color: #fff;
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(26,46,74,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease;
}
.gallery-bricks .g-item:hover .g-cat {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle decorative corner mark on each item */
.gallery-editorial .g-item::before,
.gallery-bricks .g-item::before {
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 22px; height: 22px;
  border-top: 1px solid rgba(255,255,255,.55);
  border-right: 1px solid rgba(255,255,255,.55);
  opacity: 0;
  transition: opacity .35s ease .05s, transform .35s ease;
  transform: translate(6px, -6px);
  z-index: 2;
  pointer-events: none;
}
.gallery-editorial .g-item:hover::before,
.gallery-bricks .g-item:hover::before {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
   A) HOME PAGE — Editorial 6-image collage
   12-col grid · 3 rows · positions explicitly defined
   ============================================================ */
.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 215px;
  gap: 14px;
}
.gallery-editorial .g-item:nth-child(1) { grid-column: 1 / 7;   grid-row: 1 / 4; }  /* big featured (left) */
.gallery-editorial .g-item:nth-child(2) { grid-column: 7 / 10;  grid-row: 1; }
.gallery-editorial .g-item:nth-child(3) { grid-column: 10 / 13; grid-row: 1; }
.gallery-editorial .g-item:nth-child(4) { grid-column: 7 / 13;  grid-row: 2; }       /* wide middle */
.gallery-editorial .g-item:nth-child(5) { grid-column: 7 / 10;  grid-row: 3; }
.gallery-editorial .g-item:nth-child(6) { grid-column: 10 / 13; grid-row: 3; }

/* Featured tile gets a stronger always-visible caption */
.gallery-editorial .g-item:nth-child(1) .g-cap {
  font-size: 1.4rem;
  bottom: 24px; left: 28px; right: 28px;
}

/* ============================================================
   B) GALLERY PAGE — Rhythmic brick pattern
   6-col grid · fixed row height · row patterns cycle every 7 items
   Cycle:  [4 + 2]  →  [2 + 2 + 2]  →  [2 + 4]
   Each row sums to exactly 6 → ZERO whitespace possible
   ============================================================ */
.gallery-bricks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}
.gallery-bricks .g-item { grid-column: span 2; }                              /* default: 1/3 width */
.gallery-bricks .g-item:nth-child(7n+1) { grid-column: span 4; }              /* start of cycle: 2/3 width */
.gallery-bricks .g-item:nth-child(7n)   { grid-column: span 4; }              /* end of cycle: 2/3 width */

/* Empty state */
.gallery-empty {
  grid-column: 1 / -1;
  padding: 80px 24px;
  text-align: center;
  color: var(--color-ink-soft);
  background: var(--color-paper);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-sm);
}
.gallery-empty i {
  font-size: 2.2rem;
  color: var(--color-line);
  display: block;
  margin-bottom: 12px;
}
.gallery-empty p {
  margin: 0;
  font-size: .95rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .gallery-editorial { grid-auto-rows: 180px; }
  .gallery-bricks    { grid-auto-rows: 220px; }
}
@media (max-width: 820px) {
  /* Editorial collapses to 2-row, 4-cell layout */
  .gallery-editorial {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
  }
  .gallery-editorial .g-item:nth-child(1) { grid-column: 1 / 7; grid-row: 1; }    /* feature full width */
  .gallery-editorial .g-item:nth-child(2) { grid-column: 1 / 4; grid-row: 2; }
  .gallery-editorial .g-item:nth-child(3) { grid-column: 4 / 7; grid-row: 2; }
  .gallery-editorial .g-item:nth-child(4) { grid-column: 1 / 7; grid-row: 3; }
  .gallery-editorial .g-item:nth-child(5) { grid-column: 1 / 4; grid-row: 4; }
  .gallery-editorial .g-item:nth-child(6) { grid-column: 4 / 7; grid-row: 4; }
  .gallery-editorial .g-item:nth-child(1) .g-cap {
    font-size: 1.15rem; bottom: 18px; left: 20px; right: 20px;
  }

  /* Bricks switch to 4-col with same cycle */
  .gallery-bricks {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
  }
  .gallery-bricks .g-item { grid-column: span 2; }
  .gallery-bricks .g-item:nth-child(7n+1),
  .gallery-bricks .g-item:nth-child(7n)   { grid-column: span 4; }
}
@media (max-width: 560px) {
  .gallery-editorial {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }
  .gallery-editorial .g-item:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .gallery-editorial .g-item:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .gallery-editorial .g-item:nth-child(4) { grid-column: span 2; grid-row: auto; }

  .gallery-bricks {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
    gap: 8px;
  }
  .gallery-bricks .g-item,
  .gallery-bricks .g-item:nth-child(7n+1),
  .gallery-bricks .g-item:nth-child(7n) {
    grid-column: span 1;
  }
  /* Make every 5th item full-width for rhythm on mobile */
  .gallery-bricks .g-item:nth-child(5n+1) { grid-column: span 2; }

  .gallery-editorial .g-cap,
  .gallery-bricks .g-cap { font-size: .9rem; bottom: 14px; left: 14px; right: 14px; }
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.news-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
}
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .thumb .cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--color-paper); color: var(--color-primary);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 99px;
}
.news-card .body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.news-card .body .date {
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 1.3rem; margin-bottom: 12px;
  transition: color .25s ease;
}
.news-card:hover h3 { color: var(--color-secondary); }
.news-card p { font-size: .94rem; margin-bottom: 16px; flex: 1; }
.news-card .read-more {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 8px;
}
.news-card .read-more i { transition: transform .25s ease; }
.news-card .read-more:hover i { transform: translateX(4px); }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(181,119,42,.18), transparent 35%),
    radial-gradient(circle at 88% 50%, rgba(232,220,200,.18), transparent 35%);
}
.cta-strip .container-x {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.6fr auto;
  gap: 40px; align-items: center;
}
.cta-strip h2 {
  color: #fff; font-weight: 300;
  margin: 0 0 8px; max-width: 700px;
}
.cta-strip h2 em { color: var(--color-secondary-soft); font-style: italic; }
.cta-strip p { color: rgba(255,255,255,.75); margin: 0; max-width: 600px; }
@media (max-width: 800px) {
  .cta-strip .container-x { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HEADER (sub-page banner)
   ============================================================ */
.page-header {
  position: relative;
  padding: 130px 0 90px;
  color: #fff;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,46,74,.92), rgba(26,46,74,.6));
}
.page-header::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(to right, var(--color-secondary), var(--color-secondary-soft));
}
.page-header .container-x { position: relative; z-index: 2; }
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header .crumbs {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.page-header .crumbs a { color: var(--color-secondary-soft); }
.page-header .crumbs span { margin: 0 8px; color: rgba(255,255,255,.4); }

/* ============================================================
   ABOUT PAGE - timeline
   ============================================================ */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: ""; position: absolute; left: 36px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-secondary), transparent);
}
.tl-item {
  position: relative;
  padding-left: 100px;
  padding-bottom: 50px;
}
.tl-item::before {
  content: ""; position: absolute; left: 28px; top: 6px;
  width: 18px; height: 18px;
  background: var(--color-paper);
  border: 3px solid var(--color-secondary);
  border-radius: 50%;
  z-index: 2;
}
.tl-item .year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-secondary);
  font-weight: 500;
  margin-bottom: 4px;
}
.tl-item h4 { font-size: 1.2rem; margin-bottom: 6px; }
.tl-item p { font-size: .96rem; margin: 0; }

/* Leadership */
.leaders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.leader {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.leader:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.leader .ph {
  aspect-ratio: 1; background-size: cover; background-position: center top;
}
.leader .info { padding: 22px 18px 26px; }
.leader h4 { margin: 0 0 4px; font-size: 1.18rem; }
.leader span {
  display: block;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
@media (max-width: 800px) { .leaders { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .leaders { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px;
}
.contact-info {
  background: var(--color-primary);
  color: var(--color-cream-2);
  border-radius: var(--radius-md);
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 50%;
}
.contact-info h3 { color: #fff; margin-bottom: 6px; }
.contact-info .lede {
  font-size: .94rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info li {
  display: flex; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,.14);
  font-size: .94rem;
}
.contact-info li:last-child { border-bottom: none; }
.contact-info li i {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: var(--color-secondary-soft);
  flex-shrink: 0;
}
.contact-info li strong {
  display: block; color: #fff;
  font-weight: 600; font-size: .92rem;
  margin-bottom: 2px;
}
.contact-info li span { color: rgba(255,255,255,.7); font-size: .9rem; }

.contact-info .socials {
  margin-top: 28px;
  display: flex; gap: 10px;
}
.contact-info .socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  display: grid; place-items: center;
  transition: all .25s ease;
}
.contact-info .socials a:hover {
  background: var(--color-secondary); color: #fff; border-color: var(--color-secondary);
}

.contact-form {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 42px 36px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: block;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--color-ink);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(181,119,42,.18);
}
.contact-form .field { margin-bottom: 22px; }
.contact-form textarea { resize: vertical; min-height: 140px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
}

/* Map */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe { width: 100%; height: 420px; display: block; border: 0; }

/* ============================================================
   ARTICLE / NEWS SINGLE
   ============================================================ */
.article {
  max-width: 820px; margin: 0 auto;
  background: var(--color-paper);
  padding: 50px 56px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}
.article .cover {
  margin: -50px -56px 36px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article .meta {
  font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--color-secondary);
  margin-bottom: 14px;
}
.article h1 { margin-bottom: 16px; }
.article .content { font-size: 1.04rem; line-height: 1.75; color: var(--color-ink); }
.article .content p { color: var(--color-ink); margin-bottom: 1.1em; }
.article .content h2 { font-size: 1.8rem; margin-top: 1.5em; }
.article .content img { border-radius: var(--radius-sm); margin: 1em 0; }
.article .content blockquote {
  border-left: 3px solid var(--color-secondary);
  padding: 6px 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 1.3em 0;
}
@media (max-width: 700px) {
  .article { padding: 32px 24px; }
  .article .cover { margin: -32px -24px 24px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-primary);
  color: var(--color-cream-2);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.03) 1px, transparent 0);
  background-size: 22px 22px;
}
.site-footer .container-x { position: relative; z-index: 2; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer-col h5 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h5::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 1px; background: var(--color-secondary);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--color-cream-2); font-size: .92rem; }
.footer-col a:hover { color: var(--color-secondary-soft); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: var(--color-secondary-soft); }
.footer-brand .brand-mark { background: var(--color-cream); color: var(--color-primary); }
.footer-brand p {
  color: rgba(255,255,255,.65);
  font-size: .94rem;
  margin-top: 20px;
  max-width: 320px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: grid; place-items: center;
  color: rgba(255,255,255,.8);
  transition: all .25s ease;
}
.footer-socials a:hover { background: var(--color-secondary); color: #fff; border-color: var(--color-secondary); }

.footer-contact li {
  display: flex; gap: 12px;
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}
.footer-contact i {
  color: var(--color-secondary-soft);
  margin-top: 4px;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { text-align: center; justify-content: center; }
}

/* ============================================================
   WhatsApp floating button
   ============================================================ */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px;
  z-index: 90;
  background: #25d366; color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: transform .25s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }
.whatsapp-fab::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: .55;
  animation: pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26,46,74,.95);
  display: none;
  align-items: center; justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}
.lightbox .lb-close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff; background: transparent;
  border-radius: 50%;
  cursor: pointer; font-size: 1.2rem;
}

/* ============================================================
   Alert / Flash
   ============================================================ */
.alert-x {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .94rem;
  margin-bottom: 22px;
  border-left: 3px solid;
}
.alert-x.success { background: #e8f5e9; border-color: #2e7d32; color: #1b5e20; }
.alert-x.error   { background: #fdecea; border-color: #c62828; color: #8e1c14; }
.alert-x.info    { background: #fff7e0; border-color: #d4a017; color: #6e4f00; }

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mw-700 { max-width: 700px; }
.mx-auto { margin-left: auto; margin-right: auto; }