/* ============================================================
   Centro Cristiano Casa de Oración para Todas las Naciones
   Ministerio del Pastor Iván Marte
   Palette & menu inspired by reference: navy + gold + royal
   ============================================================ */

:root {
  --navy: #081A33;
  --midnight: #10284F;
  --gold: #D4AF37;
  --gold-soft: #F5D76E;
  --electric: #3B82F6;
  --royal: #1D4ED8;
  --bg: #F5F1E8;
  --gray: #E7E1D5;
  --text: #111827;
  --ink-soft: #41506b;
  --grad-hero: linear-gradient(135deg, #081A33 0%, #10284F 50%, #1D4ED8 100%);
  --grad-gold: linear-gradient(135deg, #D4AF37 0%, #F5D76E 100%);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.16);
  --shadow-lux: 0 30px 70px -28px rgba(8, 26, 51, 0.55);
  --shadow-card: 0 24px 60px -32px rgba(8, 26, 51, 0.45);
  --glow-gold: 0 12px 36px -8px rgba(212, 175, 55, 0.55);
  /* Professional, squared geometry — crisp corners instead of rounded */
  --r-lg: 2px;
  --r-md: 2px;
  --r-sm: 2px;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1rem; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .9rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--gold); color: var(--navy);
  padding: .6rem 1rem; border-radius: 0 0 12px 12px;
  font-weight: 700; z-index: 200; transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.primary-button, .secondary-button, .nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; cursor: pointer; border: none;
  font-family: var(--body); font-weight: 700; font-size: .92rem;
  letter-spacing: .02em; padding: .85rem 1.6rem; border-radius: var(--r-sm);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.primary-button {
  background: var(--grad-gold); color: #1a1505;
  box-shadow: var(--glow-gold);
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(212,175,55,.7); }
.secondary-button {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.5);
}
.secondary-button:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   HEADER / NAV  (reference-style: sticky navy glass + gold underline)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  background: rgba(8, 26, 51, 0.72);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  transition: background .3s ease, padding .3s ease;
}
.site-header.scrolled { background: rgba(8, 26, 51, 0.92); }

.nav-shell {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .8rem; color: #fff; }
.brand-mark {
  width: 50px; height: 50px; flex: 0 0 50px;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 2px; background: #fff; color: var(--navy);
  border: 1px solid rgba(212,175,55,.45);
  box-shadow: var(--glow-gold);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-size: 1.18rem; font-weight: 600; }
.brand-text small { font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  position: relative; color: rgba(255,255,255,.82);
  font-size: .86rem; font-weight: 500; letter-spacing: .04em;
  padding-bottom: 4px; transition: color .25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--grad-gold);
  transition: width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-social { display: flex; align-items: center; gap: .55rem; }
.nav-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.04);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.nav-social-link svg { width: 17px; height: 17px; }
.nav-social-link span { display: none; }
.nav-social-link:hover {
  color: #fff; transform: translateY(-2px);
  background: rgba(212,175,55,.18); border-color: var(--gold);
}

.nav-actions { display: flex; align-items: center; gap: .8rem; }
.lang-toggle {
  background: transparent; color: #fff; cursor: pointer;
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-sm);
  font-weight: 700; font-size: .78rem; padding: .45rem .75rem;
  transition: border-color .25s ease, background .25s ease;
}
.lang-toggle:hover { border-color: var(--gold); background: rgba(212,175,55,.14); }
.nav-cta { background: var(--grad-gold); color: #1a1505; padding: .6rem 1.2rem; box-shadow: var(--glow-gold); }
.nav-cta:hover { transform: translateY(-2px); }

.icon-button.menu-toggle {
  display: none; width: 44px; height: 44px; background: transparent;
  border: 1px solid rgba(255,255,255,.3); border-radius: 2px;
  cursor: pointer; padding: 0; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(4rem, 10vh, 8rem) clamp(1.25rem, 5vw, 4rem) 0;
  color: #fff; overflow: hidden;
  background: var(--grad-hero);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,26,51,.65) 0%, rgba(8,26,51,.78) 60%, rgba(8,26,51,.95) 100%),
              var(--grad-hero);
  opacity: .92; mix-blend-mode: normal;
}
.hero-content { max-width: 760px; }
.hero-content h1 { text-shadow: 0 10px 40px rgba(0,0,0,.4); }
.hero-copy { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.85); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }

.service-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  background: var(--glass-border);
  border: 1px solid var(--glass-border); border-radius: var(--r-md);
  overflow: hidden; backdrop-filter: blur(10px);
}
.service-strip article { background: rgba(8,26,51,.55); padding: 1.4rem 1.6rem; }
.service-strip span { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--gold); }
.service-strip strong { display: block; margin: .3rem 0 .2rem; font-size: 1.05rem; }
.service-strip p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.72); }

/* ============================================================
   MISSION MARQUEE
   ============================================================ */
.mission {
  background: var(--navy); color: #fff; padding: 2.8rem 0;
  overflow: hidden; text-align: center;
}
.mission-track {
  display: flex; gap: 3rem; white-space: nowrap; width: max-content;
  animation: marquee 28s linear infinite; opacity: .35; margin-bottom: 1.6rem;
}
.mission-track span { font-family: var(--display); font-size: 2.4rem; font-weight: 600; color: var(--gold-soft); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mission-statement {
  max-width: 60ch; margin: 0 auto; padding: 0 1.25rem;
  font-family: var(--display); font-size: clamp(1.3rem, 3vw, 2rem); font-style: italic;
}

/* ---------- Generic section + headings ---------- */
section { scroll-margin-top: 90px; }
.about, .videos, .ministries, .events, .donations, .contact, .live {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
}
.section-heading { max-width: 720px; margin-bottom: 2.5rem; }
.section-heading h2 { color: var(--navy); }
.section-heading p { color: var(--ink-soft); }

/* ---------- About / beliefs ---------- */
.belief-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.belief-card {
  background: #fff; border: 1px solid var(--gray); border-radius: var(--r-md);
  padding: 1.8rem; box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease;
}
.belief-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lux); }
.belief-card span { font-size: 1.8rem; color: var(--gold); }
.belief-card h3 { color: var(--navy); margin-top: .6rem; }
.belief-card p { color: var(--ink-soft); margin: 0; }

/* ============================================================
   LIVE
   ============================================================ */
.live { display: block; }
.live-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.live-copy h2 { color: var(--navy); }
.live-copy p { color: var(--ink-soft); }
.live-copy .primary-button { color: #1a1505; }
.live-copy .secondary-button { color: var(--navy); border-color: rgba(8,26,51,.3); }
.live-copy .secondary-button:hover { background: rgba(8,26,51,.06); }
.live-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; }

.video-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lux); }
.video-poster {
  position: relative; display: block; width: 100%; padding: 0; border: none;
  cursor: pointer; background: var(--navy); aspect-ratio: 16/9;
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
/* YouTube-style play button (red rounded rectangle, white triangle) */
.play-badge, .mini-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 48px; border-radius: 14px;
  background: rgba(0,0,0,.45); box-shadow: none;
  transition: transform .25s ease, background .25s ease;
}
.play-badge::after, .mini-play::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-42%, -50%);
  border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff;
}
.video-card .thumb:hover .mini-play,
.video-poster:hover .play-badge {
  background: #f00; transform: translate(-50%, -50%) scale(1.06);
}
.live-tag, .tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--royal); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--r-sm);
}

/* ============================================================
   VIDEO LIBRARY
   ============================================================ */
.library-controls { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.search-field { flex: 1 1 260px; }
.search-field input {
  width: 100%; padding: .8rem 1.1rem; border-radius: var(--r-sm);
  border: 1px solid var(--gray); background: #fff; font: inherit; color: var(--text);
}
.search-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.2); }
.filter-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.filter-chip, .pak-chip {
  cursor: pointer; border: 1px solid var(--gray); background: #fff; color: var(--ink-soft);
  font: inherit; font-size: .82rem; font-weight: 600; padding: .5rem 1rem; border-radius: var(--r-sm);
  transition: all .2s ease;
}
.filter-chip:hover, .pak-chip:hover { border-color: var(--gold); color: var(--navy); }
.filter-chip.active, .pak-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.video-card {
  background: #fff; border: 1px solid var(--gray); border-radius: var(--r-md);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.video-card:hover, .video-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lux); outline: none; }
.video-card .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-card:hover .thumb img { transform: scale(1.06); }
.video-card .mini-play { width: 56px; height: 40px; opacity: .92; }
.video-card .mini-play::after { border-width: 9px 0 9px 16px; }
.video-card-body { padding: 1rem 1.1rem 1.2rem; }
.video-card-body h3 { font-family: var(--body); font-size: .98rem; font-weight: 700; color: var(--navy); line-height: 1.35; margin: 0 0 .4rem; }
.video-card-body p { margin: 0; font-size: .8rem; color: var(--gold); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.library-empty { text-align: center; color: var(--ink-soft); padding: 2rem; }

/* ============================================================
   MINISTRIES
   ============================================================ */
.ministry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.ministry-tile {
  position: relative; padding: 2rem 1.6rem; border-radius: var(--r-md);
  background: var(--grad-hero); color: #fff; overflow: hidden;
  box-shadow: var(--shadow-card); transition: transform .3s ease;
}
.ministry-tile::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(212,175,55,.25), transparent 60%);
}
.ministry-tile:hover { transform: translateY(-6px); }
.ministry-tile h3 { position: relative; color: #fff; }
.ministry-tile p { position: relative; margin: 0; color: rgba(255,255,255,.8); font-size: .92rem; }

/* ============================================================
   MISIÓN EN PAKISTÁN
   ============================================================ */
.pak { background: var(--navy); color: #fff; }
.pak-hero { position: relative; height: clamp(60vh, 70vh, 760px); overflow: hidden; display: flex; align-items: flex-end; }
.pak-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pak-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,26,51,.35) 0%, rgba(8,26,51,.55) 55%, rgba(8,26,51,.95) 100%);
}
.pak-hero-content { position: relative; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem); }
.pak-hero-content h2 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); }
.pak-subtitle { font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2.5vw, 1.7rem); color: var(--gold-soft); margin: 0; }
.scroll-cue {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
}
.scroll-cue::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--gold); border-radius: 4px; animation: scrollcue 1.6s ease-in-out infinite; }
@keyframes scrollcue { 0%,100% { opacity: 0; transform: translate(-50%,0); } 50% { opacity: 1; transform: translate(-50%,10px); } }

.pak-body { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2rem); }
.pak-story { max-width: 760px; margin: 0 auto; text-align: center; }
.pak-lead { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-style: italic; color: var(--gold-soft); }
.pak-story p:not(.pak-lead) { color: rgba(255,255,255,.8); }

.pak-divider { display: flex; align-items: center; justify-content: center; margin: 3rem 0; }
.pak-divider span { width: 60%; max-width: 360px; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,.6), transparent); position: relative; }
.pak-divider span::after { content: "✦"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--gold); background: var(--navy); padding: 0 .6rem; }

.pak-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.glass-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r-md);
  padding: 2rem 1.6rem; backdrop-filter: blur(12px); transition: transform .3s ease, border-color .3s ease;
}
.glass-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.5); }
.glass-icon { font-size: 2rem; color: var(--gold); }
.glass-card h3 { color: #fff; margin-top: .6rem; }
.glass-card p { color: rgba(255,255,255,.78); margin: 0; }

.pak-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.4rem; margin-top: 3rem; text-align: center; }
.pak-stat strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--gold); }
.pak-stat span { font-size: .9rem; color: rgba(255,255,255,.78); }

.pak-gallery-head { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.pak-gallery-head h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pak-gallery-head p { color: rgba(255,255,255,.78); }
.pak-gallery-filters { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 2rem; }
.pak-gallery-filters .pak-chip { background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.18); }
.pak-gallery-filters .pak-chip:hover { color: #fff; border-color: var(--gold); }
.pak-gallery-filters .pak-chip.active { background: var(--grad-gold); color: #1a1505; border-color: transparent; }

.pak-masonry { columns: 3 260px; column-gap: 1rem; }
.pak-tile {
  position: relative; display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: none; cursor: pointer;
  border-radius: var(--r-md); overflow: hidden; break-inside: avoid; background: var(--midnight);
  box-shadow: var(--shadow-card); transition: transform .3s ease;
}
.pak-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pak-tile:hover img { transform: scale(1.07); }
.pak-zoom {
  position: absolute; top: .8rem; right: .8rem; z-index: 3;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(8,26,51,.6); color: var(--gold); border-radius: 50%;
  font-size: 1.3rem; opacity: 0; transition: opacity .3s ease;
}
.pak-tile:hover .pak-zoom { opacity: 1; }
.pak-tile-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; gap: .25rem; opacity: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,26,51,.9));
  transition: opacity .3s ease;
}
.pak-tile:hover .pak-tile-overlay, .pak-tile:focus-visible .pak-tile-overlay { opacity: 1; }
.pak-tile-cat { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pak-tile-cap { font-size: .9rem; color: #fff; }
.pak-tile[hidden] { display: none; }

/* ============================================================
   EVENTS
   ============================================================ */
.event-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.event-card {
  background: #fff; border: 1px solid var(--gray); border-left: 4px solid var(--gold);
  border-radius: var(--r-md); padding: 1.8rem; box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lux); }
.event-card time { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--royal); }
.event-card h3 { color: var(--navy); margin: .5rem 0 .4rem; }
.event-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   DONATIONS
   ============================================================ */
.donation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.donation-card {
  display: flex; flex-direction: column; gap: .5rem; text-align: left;
  background: var(--grad-hero); color: #fff; border: none; cursor: pointer;
  border-radius: var(--r-md); padding: 1.8rem; box-shadow: var(--shadow-card);
  font: inherit; transition: transform .3s ease, box-shadow .3s ease;
}
.donation-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lux); }
.donation-method { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.donation-card strong { font-size: 1.1rem; word-break: break-word; }
.donation-action { margin-top: .4rem; font-size: .82rem; font-weight: 700; color: var(--gold-soft); }

/* ============================================================
   CONTACT + FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.contact-copy h2 { color: var(--navy); }
.contact-copy p { color: var(--ink-soft); }
.contact-links { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
.contact-links a { color: var(--royal); font-weight: 600; }
.contact-links a:hover { color: var(--gold); }

.prayer-form {
  background: #fff; border: 1px solid var(--gray); border-radius: var(--r-lg);
  padding: 2rem; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 1rem;
}
.prayer-form label { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--navy); }
.prayer-form input, .prayer-form select, .prayer-form textarea {
  font: inherit; padding: .75rem .9rem; border-radius: 2px;
  border: 1px solid var(--gray); background: #fff; color: var(--text);
}
.prayer-form input:focus, .prayer-form select:focus, .prayer-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.2);
}
.prayer-form textarea { resize: vertical; }
.prayer-form .primary-button { color: #1a1505; margin-top: .4rem; }
.hp-field { position: absolute; left: -9999px; }
.form-status { font-size: .88rem; font-weight: 600; margin: 0; }
.form-status.success { color: #07321a; }
.form-status.error { color: #8a1c1c; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 3rem clamp(1.25rem, 4vw, 2rem); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.footer-inner strong { font-family: var(--display); font-size: 1.2rem; color: #fff; }
.footer-inner p { margin: .3rem 0 0; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { color: rgba(255,255,255,.78); font-size: .9rem; }
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 14px 36px -10px rgba(37,211,102,.7); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 14px 36px -10px rgba(37,211,102,.7); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 14px 36px -10px rgba(37,211,102,.7); }
}
.whatsapp-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80;
  display: flex; align-items: center; gap: .6rem;
  background: #25D366; color: #fff; padding: .8rem 1.1rem; border-radius: var(--r-sm);
  box-shadow: 0 14px 36px -10px rgba(37,211,102,.7); font-weight: 700; font-size: .9rem;
  transition: transform .25s ease;
  animation: fab-pulse 2.5s infinite;
}
.whatsapp-fab:hover { transform: translateY(-3px); }

/* ============================================================
   MODAL + LIGHTBOX
   ============================================================ */
.video-modal, .lightbox {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.video-modal[hidden], .lightbox[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,12,28,.9); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: min(960px, 100%); aspect-ratio: 16/9; }
/* Portrait orientation for vertical videos (Shorts) — fills the frame so no black side bars */
.modal-dialog.portrait { width: auto; height: min(82vh, 820px); max-width: 100%; aspect-ratio: 9/16; }
.modal-frame { width: 100%; height: 100%; border-radius: var(--r-md); overflow: hidden; background: #000; }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-frame video { width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.modal-close, .lightbox-close {
  position: absolute; top: -2.8rem; right: 0; z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.5rem; line-height: 1;
}
.modal-close:hover, .lightbox-close:hover { background: var(--gold); color: var(--navy); }

.lightbox-dialog { position: relative; max-width: 1100px; width: 100%; text-align: center; }
.lightbox-figure { margin: 0; }
.lightbox-figure img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--r-md); }
.lightbox-figure figcaption { color: #fff; margin-top: 1rem; font-size: .95rem; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1;
}
.lightbox-nav:hover { background: var(--gold); color: var(--navy); }
.lightbox-nav.prev { left: -1rem; }
.lightbox-nav.next { right: -1rem; }
.lightbox-counter { color: rgba(255,255,255,.7); margin-top: .8rem; font-size: .85rem; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mission-track, .scroll-cue::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .live-layout, .contact-grid { grid-template-columns: 1fr; }
  .pak-masonry { columns: 2 200px; }
}
@media (max-width: 820px) {
  .icon-button.menu-toggle { display: inline-flex; order: 3; }
  .nav-actions { order: 2; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,26,51,.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212,175,55,.22);
    padding: .5rem 0; max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 70vh; }
  .nav-links a { padding: .9rem clamp(1.25rem, 5vw, 3rem); }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active { background: rgba(212,175,55,.12); }
  .nav-social {
    justify-content: center; gap: 1rem;
    padding: .9rem clamp(1.25rem, 5vw, 3rem) .4rem;
    border-top: 1px solid rgba(212,175,55,.18); margin-top: .4rem;
  }
  .nav-social-link { width: 42px; height: 42px; }
  .nav-social-link svg { width: 20px; height: 20px; }
  .service-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pak-masonry { columns: 1; }
  .nav-cta { display: none; }
  .lightbox-nav.prev { left: 0; }
  .lightbox-nav.next { right: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Phone-first refinements (most visitors are on mobile) ---------- */
@media (max-width: 640px) {
  .video-modal, .lightbox { padding: .75rem; }
  /* Keep the close control inside the viewport on small screens */
  .modal-close, .lightbox-close {
    top: .5rem; right: .5rem; width: 40px; height: 40px;
    background: rgba(0,0,0,.55); backdrop-filter: blur(4px); z-index: 6;
  }
  .modal-dialog.portrait { height: min(78vh, 720px); }
  /* Comfortable single-column reading and bigger tap targets */
  .video-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .filter-chip, .pak-chip { padding: .6rem 1rem; font-size: .86rem; }
  .library-controls { gap: .75rem; }
  .search-field { flex-basis: 100%; }
}

/* ============================================================
   UPLOADED INTRO VIDEO (featured, plays inline)
   ============================================================ */
.intro-video {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #000; box-shadow: var(--shadow-lux);
  border: 1px solid rgba(212,175,55,.28);
  aspect-ratio: 16 / 9;
}
.intro-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.intro-video .intro-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--grad-gold); color: #1a1505; font-weight: 800;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 2px;
}

/* ============================================================
   CONGREGATION GALLERY
   ============================================================ */
.gallery { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem); background: var(--bg); }
.gallery .section-heading { max-width: var(--maxw); margin: 0 auto 2.5rem; text-align: center; }
.gallery-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px; gap: 14px;
}
.gallery-tile {
  position: relative; overflow: hidden; cursor: pointer; padding: 0;
  border: 1px solid var(--gray); background: var(--midnight);
  border-radius: var(--r-md); grid-column: span 4; grid-row: span 2;
}
.gallery-tile:nth-child(7n+1) { grid-column: span 6; grid-row: span 3; }
.gallery-tile:nth-child(7n+4) { grid-column: span 6; grid-row: span 2; }
.gallery-tile:nth-child(7n+5) { grid-column: span 3; grid-row: span 2; }
.gallery-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease, filter .4s ease; filter: saturate(1.02);
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,26,51,0) 45%, rgba(8,26,51,.55) 100%);
  opacity: 0; transition: opacity .35s ease;
}
.gallery-tile:hover::after { opacity: 1; }
.gallery-tile .gal-plus {
  position: absolute; right: .7rem; bottom: .6rem; z-index: 2;
  color: #fff; font-size: 1.4rem; font-weight: 300; line-height: 1;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.gallery-tile:hover .gal-plus { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .gallery-grid { grid-auto-rows: 120px; gap: 10px; }
  .gallery-tile, .gallery-tile:nth-child(7n+1), .gallery-tile:nth-child(7n+4),
  .gallery-tile:nth-child(7n+5) { grid-column: span 6; grid-row: span 2; }
}

/* ============================================================
   DIRECTIONS / GPS
   ============================================================ */
.directions { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem); background: var(--midnight); color: #fff; }
.directions-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch;
}
.directions-copy .eyebrow { color: var(--gold-soft); }
.directions-copy h2 { color: #fff; }
.directions-address {
  border-left: 3px solid var(--gold); padding: .2rem 0 .2rem 1rem; margin: 1.2rem 0;
  font-size: 1.15rem; font-weight: 600; color: #fff;
}
.directions-copy p { color: rgba(255,255,255,.78); }
.directions .primary-button { margin-top: .6rem; }
.map-frame {
  position: relative; min-height: 340px; overflow: hidden;
  border: 1px solid rgba(212,175,55,.3); border-radius: var(--r-md); box-shadow: var(--shadow-lux);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.1); }
@media (max-width: 860px) { .directions-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SOCIAL BAR
   ============================================================ */
.social-bar { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: rgba(255,255,255,.08); border: 1px solid var(--glass-border);
  color: #fff; transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.social-link:hover { transform: translateY(-3px); background: rgba(212,175,55,.18); border-color: var(--gold); }
.social-link svg { width: 22px; height: 22px; }

/* ============================================================
   FOOTER DEVELOPER CREDIT
   ============================================================ */
.footer-credit {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.6rem; padding-top: 1.2rem;
  text-align: center; font-size: .8rem; letter-spacing: .04em; color: rgba(255,255,255,.6);
}
.footer-credit strong { color: var(--gold-soft); font-weight: 700; }

/* ============================================================
   ADMIN FLOATING GEAR (left side) + MODAL
   ============================================================ */
.admin-fab {
  position: fixed; left: 18px; bottom: 22px; z-index: 70;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(8,26,51,.45); color: #fff; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-md);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .25s ease, border-color .25s ease, transform .4s ease;
}
.admin-fab:hover { background: rgba(212,175,55,.22); border-color: var(--gold); }
.admin-fab svg { width: 26px; height: 26px; transition: transform .8s ease; }
.admin-fab:hover svg { transform: rotate(90deg); }

.admin-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.25rem; }
.admin-modal[hidden] { display: none; }
.admin-modal .modal-backdrop { position: absolute; inset: 0; background: rgba(4,10,22,.78); backdrop-filter: blur(4px); }
.admin-dialog {
  position: relative; z-index: 2; width: 100%; max-width: 420px;
  background: var(--navy); color: #fff; border: 1px solid rgba(212,175,55,.3);
  border-radius: var(--r-md); box-shadow: var(--shadow-lux); padding: 1.8rem;
}
.admin-dialog h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.admin-dialog p { color: rgba(255,255,255,.72); font-size: .9rem; }
.admin-dialog .admin-close {
  position: absolute; top: .6rem; right: .6rem; width: 38px; height: 38px;
  background: transparent; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.admin-dialog .admin-close:hover { color: var(--gold); }
.admin-field { display: flex; flex-direction: column; gap: .45rem; margin: 1.1rem 0; }
.admin-field label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-soft); }
.admin-field input {
  font: inherit; padding: .75rem .9rem; border-radius: 2px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff;
}
.admin-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.22); }
.admin-error { color: #ffb4b4; font-size: .82rem; min-height: 1.1rem; margin: 0; }
.admin-panel[hidden] { display: none; }
.admin-actions { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
.admin-action {
  display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem;
  border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05); color: #fff; font-weight: 600; font-size: .9rem;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.admin-action:hover { background: rgba(212,175,55,.16); border-color: var(--gold); transform: translateY(-2px); }
.admin-action svg { width: 22px; height: 22px; flex: 0 0 22px; }
.admin-hint { font-size: .76rem; color: rgba(255,255,255,.5); margin-top: 1rem; }
@media (max-width: 560px) { .admin-fab { left: 12px; bottom: 16px; } }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials {
  background: #f8fafc;
  padding: 5rem clamp(1.25rem, 4vw, 2rem);
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
}
.testimonials-grid {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lux);
  border-color: var(--gold-soft);
}
.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.testimonial-quote {
  font-family: var(--display);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--gold-soft);
  opacity: 0.4;
  user-select: none;
}
.testimonial-meta h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 700;
}
.testimonial-meta p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 2rem 0;
  font-style: italic;
}
.testimonial-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  background: rgba(212,175,55,0.08);
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-sm);
}

/* ============================================================
   PORTAL Y APP MÓVIL
   ============================================================ */
.app-portal {
  background: var(--navy);
  color: #fff;
  padding: 5rem clamp(1.25rem, 4vw, 2rem);
  overflow: hidden;
}
.app-portal-container {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .app-portal-container {
    grid-template-columns: 1fr;
  }
}
.app-portal-content h2 {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0.5rem 0 1.5rem;
}
.app-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.app-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.app-feature-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.feature-icon {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.6rem;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.app-feature-item h4 {
  margin: 0 0 0.3rem;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
}
.app-feature-item p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.app-social-connect h5 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  margin: 0 0 1rem;
}
.app-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
}
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  transform: translateY(-2px);
}

/* PHONE MOCKUP PURE CSS */
.app-portal-mockup {
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: 320px;
  height: 640px;
  background: #1e293b;
  border: 12px solid #0f172a;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #0f172a;
  display: flex;
  flex-direction: column;
}
.phone-header {
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 22px;
  background: #0f172a;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
}
.phone-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}
.phone-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.phone-app-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.phone-app-brand img {
  border-radius: 10px;
}
.phone-app-brand h5 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
}
.phone-app-brand p {
  margin: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.phone-live-banner {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 14px;
  padding: 1rem;
  position: relative;
}
.pulse-dot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: dot-pulse 1.8s infinite;
}
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
.phone-live-banner strong {
  display: block;
  font-size: 0.85rem;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.phone-live-banner p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.phone-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.phone-menu-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.phone-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
.phone-menu-item span {
  font-size: 1.4rem;
}
.phone-menu-item p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.phone-notification {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.85rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
.phone-notif-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.phone-notification p {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

/* ============================================================
   PASTORAL CARD & CUSTOM FORMS
   ============================================================ */
.pastoral-card {
  background: rgba(212,175,55,0.06);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-sm);
  margin: 1.5rem 0;
}
.pastoral-card h4 {
  margin: 0 0 0.4rem 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.15rem;
}
.pastoral-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.conecta-form {
  gap: 1.5rem;
}
.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 600px) {
  .form-fields-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .form-fields-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.interests-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.5rem 0;
}
.interests-group > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}
.interest-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray);
  border-radius: var(--r-sm);
  cursor: pointer;
  background: #fdfdfd;
  transition: all 0.2s ease;
  user-select: none;
}
.interest-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.interest-checkbox .custom-check {
  font-size: 1.2rem;
}
.interest-checkbox .check-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.interest-checkbox:hover {
  border-color: var(--gold-soft);
  background: #fff;
}
.interest-checkbox:has(input:checked) {
  background: rgba(212,175,55,0.08);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.interest-checkbox:has(input:checked) .check-label {
  color: var(--navy);
  font-weight: 600;
}


/* ============================================================
   HERO CONNECTIVITY GLOBE BACKGROUND (LUMINOUS GRAPHIC)
   ============================================================ */
.hero-globe-bg {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: 70%;
  height: 92%;
  max-width: 1000px;
  z-index: 1; /* relative to hero content which sits above at higher z-index */
  pointer-events: none;
  opacity: 0.9;
  display: block;
}
@media (max-width: 959px) {
  .hero-globe-bg {
    right: -28%;
    width: 135%;
    height: 80%;
    opacity: 0.45;
  }
}
.globe-svg {
  width: 100%;
  height: 100%;
}
@keyframes globe-pulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}
.ping-circle {
  transform-origin: center;
  transform-box: fill-box;
  animation: globe-pulse 2.2s ease-out infinite;
}
.ping-circle-fast {
  transform-origin: center;
  transform-box: fill-box;
  animation: globe-pulse 1.5s ease-out infinite;
}


/* ============================================================
   PAKISTAN MISSION SLIDESHOW (KEN BURNS EFFECT)
   ============================================================ */
.pak-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.pak-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}
.pak-slide.active {
  opacity: 1;
  z-index: 2;
}
.pak-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.05) translateX(-2.5%);
}
.pak-slide.active img {
  animation: ken-burns-anim 8.5s ease-in-out forwards;
}
@keyframes ken-burns-anim {
  0% {
    transform: scale(1.05) translateX(-2.5%);
  }
  100% {
    transform: scale(1.12) translateX(2.5%);
  }
}
/* Enhanced Contrast Overlays for Pakistan Section */
.pak-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8, 26, 51, 0.55) 0%, rgba(4, 10, 22, 0.88) 100%);
  z-index: 2;
}
.pak-hero-content {
  position: relative;
  z-index: 3;
}


/* ============================================================
   FLOATING rotating GLOBE & ORBITING FLAGS WIDGET
   ============================================================ */
.floating-global-globe {
  position: fixed;
  bottom: 104px;
  right: 28px;
  z-index: 99;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
}
.globe-toggle {
  width: 80px;
  height: 80px;
  padding: 0;
  border-radius: 50%;
  background: rgba(8, 26, 51, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 40px rgba(4, 12, 28, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.globe-toggle:hover,
.floating-global-globe.open .globe-toggle {
  transform: scale(1.08) translateY(-3px);
  border-color: var(--gold);
  background: rgba(8, 26, 51, 0.75);
  box-shadow: var(--glow-gold);
}
.globe-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  position: relative;
}
/* Realistic spinning 3D earth, built from a scrolling equirectangular texture */
.globe-3d {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #0d4d86;
  box-shadow:
    inset 0 0 6px 2px rgba(255, 255, 255, 0.18),
    inset -8px -8px 16px 2px rgba(2, 12, 28, 0.85),
    0 0 10px 2px rgba(120, 190, 255, 0.45),
    0 0 0 1px var(--gold-soft);
}
/* The surface texture scrolls horizontally -> the sphere appears to turn */
.globe-surface {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: url("./earth-texture.svg");
  background-size: 112px 100%;
  background-repeat: repeat-x;
  animation: globe-turn 14s linear infinite;
}
@keyframes globe-turn {
  0%   { background-position: 0 center; }
  100% { background-position: -112px center; } /* exactly one tile width -> seamless */
}
/* Spherical terminator: darken the lower-right limb for depth */
.globe-shadow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%,
    rgba(255, 255, 255, 0) 38%,
    rgba(4, 14, 30, 0.35) 72%,
    rgba(2, 8, 20, 0.72) 100%);
  pointer-events: none;
}
/* Specular highlight (light source, top-left) */
.globe-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 26%,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 14%,
    rgba(255, 255, 255, 0) 34%);
  pointer-events: none;
}

/* ---- Vertical country-statistics panel (pops up from the globe) ---- */
.globe-panel {
  width: 250px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 1rem 1rem 0.9rem;
  border-radius: 18px;
  background: rgba(8, 22, 44, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow: 0 22px 50px rgba(4, 12, 28, 0.55);
  color: #fff;
  transform-origin: bottom right;
  transform: translateY(14px) scale(0.94);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.globe-panel[hidden] { display: none; }
.floating-global-globe.open .globe-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.globe-panel-head { margin-bottom: 0.7rem; }
.globe-panel-title {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--gold-soft);
}
.globe-panel-sub {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.globe-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: globe-live-pulse 1.8s ease-out infinite;
}
@keyframes globe-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
.globe-stats-list { list-style: none; margin: 0; padding: 0; }
.globe-stat-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateY(12px);
}
.globe-stat-row:last-child { border-bottom: none; }
.floating-global-globe.open .globe-stat-row {
  animation: globe-row-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.08s * var(--i) + 0.12s);
}
@keyframes globe-row-in {
  to { opacity: 1; transform: translateY(0); }
}
.globe-stat-country {
  flex: 1;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.globe-stat-count {
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold);
}
/* Living, waving flags */
.wave-flag {
  width: 26px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  perspective: 70px;
}
.wave-flag svg {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: left center;
  animation: flag-wave 2.4s ease-in-out infinite;
}
.globe-stat-row:nth-child(even) .wave-flag svg { animation-delay: -1.2s; }
.globe-stat-row:nth-child(3n) .wave-flag svg { animation-delay: -0.6s; }
@keyframes flag-wave {
  0%, 100% { transform: rotateY(0deg) skewY(0deg); }
  25%      { transform: rotateY(-12deg) skewY(1.6deg); }
  50%      { transform: rotateY(0deg) skewY(0deg); }
  75%      { transform: rotateY(12deg) skewY(-1.6deg); }
}
.globe-panel-foot {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  text-align: center;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.62);
}
.globe-panel-foot strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .wave-flag svg, .globe-live-dot { animation: none; }
}

@media (max-width: 560px) {
  .floating-global-globe {
    right: 20px;
    bottom: 120px; /* Offset above the floating WhatsApp call to action button */
  }
  .globe-toggle {
    width: 68px;
    height: 68px;
  }
  .globe-wrapper {
    width: 44px;
    height: 44px;
  }
  .globe-panel { width: min(72vw, 250px); }
}


/* ============================================================
   FOOTER GLOBAL OUTREACH & ILLUMINATED WORLD MAP
   ============================================================ */
.footer-global-outreach {
  max-width: var(--maxw);
  margin: 1.5rem auto 4.5rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.outreach-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.outreach-header h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: #fff;
  margin: 0.5rem 0 1rem;
}
.outreach-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}
.outreach-map-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3.5rem;
  position: relative;
  background: rgba(8, 26, 51, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.6);
  overflow: hidden;
}
.outreach-map-svg {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes map-ping-anim {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}
.map-ping, .map-ping-fast {
  transform-box: fill-box;
  transform-origin: center;
  animation: map-ping-anim 2.6s ease-out infinite;
}
.map-ping-fast {
  animation: map-ping-anim 1.8s ease-out infinite;
}

.outreach-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.outreach-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-sm);
  padding: 1.5rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.outreach-stat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-4px);
}
.outreach-stat-card .stat-icon {
  font-size: 1.8rem;
  background: rgba(212, 175, 55, 0.1);
  padding: 0.55rem;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.outreach-stat-card h4 {
  margin: 0 0 0.3rem;
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
}
.outreach-stat-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.outreach-flags-ribbon {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  text-align: center;
}
.ribbon-title {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  font-weight: 700;
}
.flags-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}
.flag-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  transition: all 0.2s ease;
}
.flag-badge-pill:hover {
  background: rgba(212, 175, 55, 0.09);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}
.flag-badge-pill .flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}


