@import url('../fonts/local-fonts.css');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins:wght@400;500;600&display=swap');

/* ============================================================
   Brand: Deep Navy Blue (#041030) + White + Soft Blue accents
   ============================================================ */

:root{
  /* Brand palette — extracted from logo */
  --navy: #041030;
  --navy-deep: #020a1e;
  --navy-mid: #0a1e4a;
  --navy-light: #142f6b;
  --blue-accent: #1a5cb5;
  --blue-soft: #3d7dd4;
  --blue-pale: #6da0e6;
  --sky: #aec8f0;

  /* Neutrals */
  --ink: #0d1b33;
  --ink-soft: #3b4a62;
  --white: #ffffff;
  --off-white: #f4f7fc;
  --light-gray: #e8edf5;
  --line: rgba(4,16,48,.10);
  --line-soft: rgba(4,16,48,.06);

  /* On-dark surfaces */
  --on-dark: #f0f4fa;
  --on-dark-soft: rgba(240,244,250,.68);

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(4,16,48,.08);
  --shadow-md: 0 18px 44px rgba(4,16,48,.14);
  --shadow-lg: 0 30px 70px rgba(2,10,30,.35);

  /* Layout */
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --nav-h: 84px;
}

/* Custom scrollbar */
::-webkit-scrollbar { width:10px; height:10px; }
::-webkit-scrollbar-track { background:var(--off-white); }
::-webkit-scrollbar-thumb { background:var(--light-gray); border-radius:5px; border:2px solid var(--off-white); }
::-webkit-scrollbar-thumb:hover { background:var(--blue-soft); }

/* Accessibility focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline:2px solid var(--blue-soft);
  outline-offset:4px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--off-white);
  color:var(--ink);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:'Fraunces', Georgia, serif;
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
p{ margin:0 0 1em; }
.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 clamp(16px, 4vw, 28px);
}
section{ position:relative; }
::selection{ background:var(--blue-pale); color:var(--navy-deep); }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:999;
  background:var(--navy); color:var(--on-dark); padding:14px 20px; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ transition-delay:calc(var(--i,0) * 90ms); }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Inter'; font-weight:600; font-size:.78rem;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--blue-accent);
  margin-bottom:16px;
}
.eyebrow::before{
  content:''; width:26px; height:1px; background:var(--blue-accent);
}
.on-dark .eyebrow{ color:var(--sky); }
.on-dark .eyebrow::before{ background:var(--sky); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px;
  border-radius:100px;
  font-family:'Inter'; font-weight:600; font-size:.95rem;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space:nowrap;
}
.btn-primary{
  background:linear-gradient(180deg, var(--blue-soft), var(--blue-accent));
  color:#fff;
  box-shadow:var(--shadow-sm);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-ghost{
  background:transparent;
  border-color:rgba(240,244,250,.45);
  color:var(--on-dark);
}
.btn-ghost:hover{ background:rgba(240,244,250,.1); border-color:rgba(240,244,250,.8); transform:translateY(-2px); }
.btn-outline{
  background:transparent; border-color:var(--line); color:var(--ink);
}
.btn-outline:hover{ border-color:var(--blue-accent); color:var(--blue-accent); transform:translateY(-2px); }
.btn-block{ width:100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  --header-h: var(--nav-h);
  height:var(--header-h);
  display:flex; align-items:center;
  transition:background .4s ease, box-shadow .4s ease, height .4s ease, backdrop-filter .4s ease;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; height:100%; }

.brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand-mark{ height:44px; width:auto; object-fit:contain; flex-shrink:0; }
.site-header .brand-mark{ height:30.8px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{
  font-family:'Fraunces'; font-weight:700; font-size:1.18rem; letter-spacing:.01em;
  color:var(--on-dark); transition:color .4s ease;
}
.brand-text span{
  font-size:.66rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--white); opacity:0.8; font-weight:600; transition:color .4s ease;
}
.brand-title, .brand-subtitle{
  white-space:nowrap;
}
.brand-title{ font-size:1.76rem; font-weight:normal; line-height:.85; margin-bottom:2px; color:var(--white); }
.brand-subtitle{ font-size:.65rem; letter-spacing:.12em; text-transform:uppercase; }

.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links a{
  padding:10px 16px; border-radius:100px;
  font-size:.92rem; font-weight:500;
  color:var(--white); opacity:0.85;
  transition:background .3s ease, color .3s ease, opacity .3s ease;
}
.nav-links a:hover, .nav-links a.active{ color:var(--white); opacity:1; background:rgba(240,244,250,.1); }

.nav-cta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.nav-toggle{
  display:none; width:44px; height:44px; border-radius:12px; border:1px solid rgba(240,244,250,.3);
  background:transparent; color:var(--on-dark); cursor:pointer; align-items:center; justify-content:center;
}
.nav-toggle svg{ width:20px; height:20px; }

.site-header.is-scrolled{
  --header-h: 70px;
  height:var(--header-h);
  background:var(--navy);
  box-shadow:0 4px 20px rgba(0,0,0,0.25);
}

/* Scrolled header: brand text goes to light */
.site-header.is-scrolled .brand-text strong{ color:var(--on-dark); }
.site-header.is-scrolled .brand-text span{ color:var(--on-dark-soft); }

@media (max-width:920px){
  .brand{ display:none; }
  .site-header .container{ justify-content:flex-end; }
  .nav-links{
    position:absolute; top:calc(var(--header-h) + 12px); right:24px; left:24px;
    background:rgba(4,16,48,.96); backdrop-filter:blur(16px);
    border:1px solid rgba(240,244,250,.1);
    border-radius:20px; padding:12px; flex-direction:column; align-items:stretch;
    box-shadow:var(--shadow-lg);
    transform:translateY(-14px); opacity:0; visibility:hidden; pointer-events:none;
    transition:all .35s ease;
  }
  .nav-links.is-open{ transform:translateY(0); opacity:1; visibility:visible; pointer-events:auto; }
  .nav-links a{ padding:14px 18px; text-align:center; }
  .nav-cta .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  min-height:100svh;
  display:flex; align-items:center;
  color:var(--on-dark);
  background:var(--navy-deep);
  padding-top:calc(var(--nav-h) + 60px);
  padding-bottom:60px;
  overflow:hidden;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:50% 30%; }
.hero-media::after{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.18) 55%, rgba(4,16,48,0.95) 100%);
}
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(24px); }
  to { opacity:1; transform:translateY(0); }
}
.hero-content{ position:relative; z-index:2; width:100%; animation:fadeInUp 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero-logo{
  width:80px; height:auto; object-fit:contain;
  margin-bottom:28px; opacity:.92;
  filter:drop-shadow(0 2px 12px rgba(0,0,0,.35));
}
.hero h1{
  font-family:'Great Vibes', cursive !important;
  font-weight:400 !important;
  font-size:clamp(3rem, 7.5vw, 6.2rem);
  color:var(--white);
  line-height:1.05;
  letter-spacing:1px;
  max-width:18ch;
  margin-bottom:18px;
  text-shadow: 0 2px 14px rgba(2,10,30,0.95), 0 1px 3px rgba(0,0,0,0.95);
}
.hero-tagline{
  font-size:clamp(1rem,1.5vw,1.25rem); font-weight:500; color:var(--white); opacity:0.95;
  margin-bottom:2.2em; max-width:44ch;
  text-shadow: 0 1px 8px rgba(2,10,30,0.9);
}
.hero-tagline .font-logo-inline{
  font-family:'Great Vibes', cursive;
  font-size:1.6em;
  font-weight:normal;
  color:var(--white);
  letter-spacing:0 !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95);
  vertical-align: middle;
}
.hero-verse{
  max-width:640px; margin:0 0 2.6em;
  font-family:'Fraunces'; font-style:italic; font-weight:500;
  font-size:clamp(1.1rem,2vw,1.45rem); color:var(--on-dark);
  border-left:2px solid var(--blue-soft);
  padding-left:22px;
  text-shadow: 0 1px 8px rgba(2,10,30,0.9);
}
.hero-verse cite{
  display:block; margin-top:14px; font-style:normal; font-size:.72rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--sky); font-weight:700;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.scroll-cue{
  position:absolute; left:50%; bottom:28px; transform:translateX(-50%);
  z-index:2; display:flex; flex-direction:column; align-items:center; gap:8px;
  color:var(--on-dark-soft); font-size:.68rem; letter-spacing:.18em; text-transform:uppercase;
  animation:bob 2.6s ease-in-out infinite;
}
.scroll-cue svg{ width:16px; height:16px; }
@keyframes bob{ 0%,100%{ transform:translate(-50%,0);} 50%{ transform:translate(-50%,8px);} }

/* ============================================================
   Section basics
   ============================================================ */
.section{ padding:clamp(60px, 9vw, 132px) 0; }
.section-head{ max-width:640px; margin-bottom:64px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(2rem,4vw,3rem); }
.section-head p{ font-size:1.08rem; color:var(--ink-soft); max-width:52ch; }
.section-head.center p{ margin-left:auto; margin-right:auto; }

.on-dark{ color:var(--on-dark); }
.bg-paper{ background:var(--light-gray); }

/* ============================================================
   Cosa crediamo — cards
   ============================================================ */
.creed-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.creed-card{
  position:relative; border-radius:var(--radius); overflow:hidden;
  min-height:420px; display:flex; align-items:flex-end;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .4s ease, transform .4s ease;
}
.creed-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-6px); }
.creed-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .8s ease; }
.creed-card:hover img{ transform:scale(1.06); }
.creed-card::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(2,10,30,.92) 0%, rgba(4,16,48,.5) 48%, rgba(4,16,48,.08) 80%);
}
.creed-card-body{ position:relative; z-index:1; padding:clamp(20px, 4vw, 34px); color:var(--on-dark); }
.creed-num{
  display:inline-block; font-family:'Fraunces'; font-style:italic; font-size:.95rem;
  color:var(--sky); margin-bottom:10px;
}
.creed-card h3{ color:var(--on-dark); font-size:1.5rem; margin-bottom:.4em; }
.creed-card p{ color:var(--on-dark-soft); font-size:.96rem; margin-bottom:0; }

/* ============================================================
   Testimonianza / battesimo
   ============================================================ */
.baptism-banner{
  border-radius:24px;
  background:var(--navy);
  color:var(--on-dark);
  padding:min(6vw,64px);
  display:grid; grid-template-columns:1.1fr 1fr; gap:56px; align-items:center;
  margin-bottom:56px;
  position:relative; overflow:hidden;
}
.baptism-banner::before{
  content:''; position:absolute; inset:0; opacity:.12; z-index:0;
  background:radial-gradient(circle at 85% 20%, var(--blue-soft), transparent 60%);
}
.baptism-banner > *{ position:relative; z-index:1; }
.baptism-quote{
  font-family:'Fraunces'; font-style:italic; font-weight:500;
  font-size:clamp(1.15rem,2.1vw,1.6rem); line-height:1.5; margin-bottom:22px;
}
.baptism-quote cite{
  display:block; font-style:normal; font-size:.72rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--sky); font-weight:700; margin-top:14px;
}
.baptism-names{ font-size:1.02rem; color:var(--on-dark-soft); margin-bottom:26px; }
.baptism-names b{ color:var(--on-dark); font-weight:600; }
.baptism-aside{ text-align:center; }
.font-logo{ font-family:'Great Vibes', cursive !important; font-weight:400 !important; letter-spacing:0 !important; }
.font-geom{ font-family:'Poppins', sans-serif !important; }
.baptism-aside .badge{
  display:inline-flex; flex-direction:column; align-items:center; gap:6px;
  border:1px solid rgba(240,244,250,.22); border-radius:16px; padding:26px 20px;
}
.baptism-aside .badge b{ font-family:'Fraunces'; font-size:1.5rem; }
.baptism-aside .badge span{ font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color:var(--on-dark-soft); }

.gallery{
  display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:170px; gap:14px;
}
.gallery a{
  position:relative; border-radius:14px; overflow:hidden; display:block; cursor:zoom-in;
  box-shadow:var(--shadow-sm);
}
.gallery a img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease, filter .4s ease; }
.gallery a:hover img{ transform:scale(1.08); }
.gallery a::after{ content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,.18), transparent 40%); opacity:0; transition:opacity .3s ease; }
.gallery a:hover::after{ opacity:1; }
.gallery a:nth-child(1){ grid-column:span 2; grid-row:span 2; }
.gallery a:nth-child(6){ grid-column:span 2; }

.youtube-cta{
  margin-top:34px; display:flex; align-items:center; gap:18px; flex-wrap:wrap;
}
.youtube-cta .btn svg{ width:18px; height:18px; }

/* ============================================================
   Chi siamo
   ============================================================ */
.about-grid{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:min(7vw,80px); align-items:center;
}
.about-media{ position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); }
.about-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/5; }
.about-media-tag{
  position:absolute; left:22px; bottom:22px; background:rgba(244,247,252,.94);
  border-radius:100px; padding:10px 18px; display:flex; align-items:center; gap:10px;
  font-size:.82rem; font-weight:600; box-shadow:var(--shadow-sm);
}
.about-media-tag svg{ width:16px; height:16px; color:var(--blue-accent); }
.about-copy p{ font-size:1.08rem; color:var(--ink-soft); }
.about-stats{ display:flex; gap:40px; margin-top:36px; flex-wrap:wrap; }
.about-stats div b{ display:block; font-family:'Fraunces'; font-size:2.2rem; color:var(--blue-accent); }
.about-stats div span{ font-size:.82rem; letter-spacing:.06em; color:var(--ink-soft); text-transform:uppercase; }

/* ============================================================
   Orario culti
   ============================================================ */
.schedule{
  position:relative; border-radius:28px; overflow:hidden; color:var(--on-dark);
  padding:min(8vw,90px) min(6vw,64px);
}
.schedule-media{ position:absolute; inset:0; z-index:0; }
.schedule-media img{ width:100%; height:100%; object-fit:cover; }
.schedule-media::after{ content:''; position:absolute; inset:0; background:linear-gradient(120deg, rgba(2,10,30,.92), rgba(4,16,48,.75) 55%, rgba(4,16,48,.60)); }
.schedule > *:not(.schedule-media){ position:relative; z-index:1; }
.schedule p{ max-width:46ch; color:var(--on-dark-soft); font-size:1.05rem; margin-bottom:1.8em; }
.schedule-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:760px; margin:44px 0 40px; }
.schedule-card{
  border:1px solid rgba(240,244,250,.2); border-radius:18px; padding:clamp(20px, 4vw, 32px);
  background:rgba(255,255,255,.04);
}
.schedule-card .day{ font-family:'Fraunces'; font-size:1.7rem; margin-bottom:6px; }
.schedule-card .time{ font-size:2.4rem; font-weight:700; font-family:'Fraunces'; color:var(--sky); }
.schedule-card .note{ color:var(--on-dark-soft); font-size:.92rem; margin-top:8px; }

/* ============================================================
   Dove siamo + contatti
   ============================================================ */
.contact-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:min(7vw,64px); align-items:stretch;
}
.contact-grid > div:first-child{ display:flex; flex-direction:column; }
.map-frame{
  border-radius:24px; overflow:hidden;
  box-shadow: 0 20px 40px rgba(4,16,48,0.15), 0 0 0 6px #fff;
  min-height:340px; flex-grow:1; filter:grayscale(.15) contrast(1.05);
}
.map-frame iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }
.info-list{ display:flex; flex-direction:column; gap:22px; margin:28px 0 34px; }
.info-item{ display:flex; gap:16px; align-items:flex-start; }
.info-item svg{ width:22px; height:22px; flex-shrink:0; color:var(--blue-accent); margin-top:2px; }
.info-item strong{ display:block; font-size:1rem; margin-bottom:2px; }
.info-item span, .info-item a{ color:var(--ink-soft); }
.info-item a{ transition:color .25s ease; }
.info-item a:hover{ color:var(--blue-accent); }
.contact-socials { display:flex; gap:14px; flex-wrap:wrap; margin-top:12px; }
.contact-socials a { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:rgba(4,16,48,0.06); color:var(--ink-soft); transition:all .25s ease; }
.contact-socials a:hover { background:var(--blue-accent); color:#fff; transform:translateY(-3px); box-shadow:0 8px 16px rgba(4,16,48,0.15); }
.contact-socials svg { width:22px; height:22px; }

.contact-card{
  background:var(--navy); color:var(--on-dark); border-radius:var(--radius);
  padding:min(6vw,52px); box-shadow:var(--shadow-md);
}
.contact-card .section-head{ margin-bottom:32px; }
.contact-card .section-head p{ color:var(--on-dark-soft); }
.contact-card h2{ font-size:1.7rem; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color:var(--on-dark-soft); margin-bottom:8px; }
.field input, .field textarea{
  width:100%; background:rgba(255,255,255,.06); border:1px solid rgba(240,244,250,.18);
  border-radius:10px; padding:13px 16px; color:var(--on-dark); font-family:'Inter'; font-size:.98rem;
  transition:border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.field input::placeholder, .field textarea::placeholder{ color:rgba(240,244,250,.35); }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--blue-soft); background:rgba(255,255,255,.09); box-shadow:0 0 0 4px rgba(61,125,212,0.15); }
.field textarea{ min-height:130px; resize:vertical; }
.form-foot{ display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-top:6px; }
.form-note{ font-size:.82rem; color:var(--on-dark-soft); }
.form-status{ font-size:.9rem; margin-top:14px; display:none; }
.form-status.ok{ display:block; color:#8fd19e; }
.form-status.err{ display:block; color:#e59a9a; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ background:var(--navy-deep); color:var(--on-dark-soft); padding:64px 0 28px; }
.footer-top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:44px; border-bottom:1px solid rgba(240,244,250,.1); }
.footer-brand{ display:flex; gap:14px; align-items:center; max-width:320px; flex-wrap:wrap; }
.footer-brand strong{ font-family:'Fraunces'; color:var(--on-dark); font-size:1.15rem; }
.footer-brand p{ font-size:.88rem; margin-top:6px; margin-bottom:0; }
.footer-brand-title{
  font-size:2.4rem; font-weight:normal; display:block; margin-bottom:2px; line-height:1; color:var(--white);
}
.footer-brand-subtitle{ text-transform:uppercase; font-size:.75em; letter-spacing:.08em; opacity:0.8; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h4{ color:var(--on-dark); font-family:'Inter'; font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; font-weight:600; }
.footer-col a, .footer-col span{ display:block; font-size:.92rem; margin-bottom:10px; }
.footer-col a{ transition:color .25s ease; }
.footer-col a:hover{ color:var(--on-dark); }
.footer-socials { display:flex; gap:14px; flex-wrap:wrap; margin-top:6px; }
.footer-socials a { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); transition:background .25s ease, transform .25s ease, color .25s ease; color:var(--on-dark-soft); margin-bottom:0; }
.footer-socials a:hover { background:var(--blue-accent); color:#fff; transform:translateY(-3px); }
.footer-socials svg { width:18px; height:18px; }
.footer-bottom{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:26px; font-size:.82rem; }
.footer-bottom a:hover{ color:var(--on-dark); }

/* ============================================================
   Video container + YouTube CTA
   ============================================================ */
.video-container { max-width:860px; margin:0 auto; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); aspect-ratio:16/9; background:#000; }
.youtube-cta.center{ justify-content:center; margin-top:40px; }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox{
  position:fixed; inset:0; z-index:1000; background:rgba(2,10,30,.94);
  display:flex; align-items:center; justify-content:center; padding:5vw;
  opacity:0; visibility:hidden; transition:opacity .3s ease;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox img{ max-width:100%; max-height:88vh; border-radius:12px; box-shadow:0 30px 80px rgba(0,0,0,.6); }
.lightbox-close{
  position:absolute; top:26px; right:30px; width:46px; height:46px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); color:#fff;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.lightbox-close svg{ width:20px; height:20px; }
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:52px; height:52px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); color:#fff;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.lightbox-nav svg{ width:22px; height:22px; }
.lightbox-prev{ left:20px; }
.lightbox-next{ right:20px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:980px){
  .creed-grid{ grid-template-columns:1fr; }
  .creed-card{ min-height:320px; }
  .baptism-banner{ grid-template-columns:1fr; gap:32px; }
  .about-grid{ grid-template-columns:1fr; }
  .about-media img{ aspect-ratio:16/10; }
  .contact-grid{ grid-template-columns:1fr; }
  .schedule-grid{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:repeat(2,1fr); grid-auto-rows:150px; }
  .gallery a:nth-child(1){ grid-column:span 2; grid-row:span 1; }
}
@media (max-width:600px){
  .site-header .brand-mark{ height:23.8px; }
  .brand-title{ font-size:1.2rem; }
  .brand-subtitle{ font-size:.56rem; }
  .footer-brand-title{ font-size:1.7rem; }
  .hero{ padding-top:calc(var(--nav-h) + 40px); padding-bottom:50px; min-height:auto; display:block; }
  .hero-logo{ width:56px; margin-bottom:16px; }
  .hero h1{ font-size:3rem !important; margin-bottom:12px; }
  .hero-tagline{ margin-bottom:1.6em; }
  .hero-tagline .font-logo-inline{ font-size:1.4em; }
  .hero-verse{ margin-bottom:1.8em; }
  .hero-media img{ object-position:50% 25%; }
  .form-row{ grid-template-columns:1fr; }
  .footer-top{ flex-direction:column; }
  .footer-cols{ gap:36px; }
  .contact-socials, .footer-socials{ margin-top:24px; }
  .gallery{ grid-template-columns:1fr; grid-auto-rows:180px; }
  .gallery a:nth-child(1){ grid-column:span 1; }
  .gallery a:nth-child(6){ grid-column:span 1; }
  .baptism-aside .badge{ padding:20px 16px; }
  .baptism-aside .badge b{ font-size:1.25rem; }
}
@media (max-width:480px){
  .hero-actions{ flex-direction:column; align-items:stretch; width:100%; }
  .hero-actions .btn{ display:flex; width:100%; text-align:center; }
  .about-stats{ gap:24px; }
  .about-stats div b{ font-size:1.8rem; }
}
@media (max-width:380px){
  .site-header .brand-mark{ height:19.6px; }
  .brand-title{ font-size:.92rem; }
  .brand-subtitle{ display:none; }
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  .reveal{ transition:none; opacity:1; transform:none; }
  .scroll-cue{ animation:none; }
  html{ scroll-behavior:auto; }
}
