﻿/* ══════════════════════════════════════════════
   UTILITY BAR
   ══════════════════════════════════════════════ */
.utility-bar { background: var(--primary-deep); color: rgba(255,255,255,0.75); font-size: 12.5px; padding: 8px 0; }
.utility-inner { max-width: 1360px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.util-item { display: flex; align-items: center; gap: 8px; }
.util-item svg { width: 13px; height: 13px; opacity: .7; }
.live-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(246,102,70,0.6); } 70% { box-shadow: 0 0 0 8px transparent; } }
.countdown-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 10.5px; }
.countdown-chip strong { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: 13px; letter-spacing: 0; color: var(--white); }

/* ══════════════════════════════════════════════
   PRIMARY NAV
   ══════════════════════════════════════════════ */
nav.primary { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); border-bottom: 1px solid var(--line-soft); transition: box-shadow .35s; }
nav.primary.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.08); }
.nav-inner { max-width: 1360px; margin: 0 auto; padding: 0 40px; height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 303px; height: auto; max-width: 100%; }
.brand-name { font-family: var(--f-display); font-weight: 500; font-size: 17px; color: var(--primary); }
.brand-tag { font-family: var(--f-display); font-style: italic; font-size: 11px; color: var(--accent); letter-spacing: 0.1em; margin-top: 3px; }

ul.nav-menu { display: flex; list-style: none; gap: 4px; align-items: center; }
ul.nav-menu > li { position: relative; }
ul.nav-menu > li:has(.mega) { position: static; }
ul.nav-menu > li > a,
ul.nav-menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px; font-size: 13px; font-weight: 500; color: var(--ink); border-radius: 999px; transition: all .3s; cursor: pointer; }
ul.nav-menu > li > a:hover,
ul.nav-menu > li > button:hover { color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
ul.nav-menu > li > button svg { width: 10px; height: 10px; transition: transform .3s; }
ul.nav-menu > li.open > button svg { transform: rotate(180deg); }
ul.nav-menu > li:hover > button svg { transform: rotate(180deg); }

/* ── MEGA MENU ── */
.mega { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15); padding: 42px 0 48px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s, transform .35s, visibility .35s; }
.mega::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
li.open .mega, ul.nav-menu > li:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { max-width: 1360px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1.15fr 2fr; gap: 60px; }
.mega-feature { color: var(--white); padding: 32px; border-radius: 10px; background-size: cover; background-position: center; position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; }
.mega-feature::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.15)); }
.mega-feature > * { position: relative; z-index: 1; }
.mega-feature .mf-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.mega-feature h4 { font-family: var(--f-display); font-weight: 400; font-size: 26px; color: var(--white); margin-bottom: 10px; }
.mega-feature p { font-size: 13.5px; color: rgba(255,255,255,0.72); line-height: 1.6; }
.mega-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 44px; }
.mega-col h5 { font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-col ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mega-col a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink-mid); transition: color .25s, padding .25s; }
.mega-col a:hover { color: var(--accent); padding-left: 8px; }
.mega-col a small { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 1px; }

/* ── DROPDOWN ── */
.dropdown { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(-6px); min-width: 210px; background: var(--paper); border: 1px solid var(--line-soft); border-top: 2px solid var(--gold); border-radius: 0 0 12px 12px; box-shadow: 0 24px 60px -12px rgba(26,46,92,0.18), 0 4px 16px rgba(0,0,0,0.06); padding: 10px; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s cubic-bezier(.22,.68,0,1.2), visibility .3s; z-index: 200; }
li.open .dropdown, ul.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 10px 16px; font-size: 13.5px; color: var(--ink-mid); border-radius: 7px; transition: background .2s, color .2s, padding-left .2s; white-space: nowrap; }
.dropdown a:hover { background: var(--cream); color: var(--primary); padding-left: 22px; }

/* ── NAV ACTIONS ── */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-give { padding: 11px 24px; background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%) !important; color: var(--primary-deep) !important; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transition: all .35s; display: inline-flex; align-items: center; gap: 8px; }
.btn-give:hover { background: linear-gradient(135deg, var(--gold-bright) 0%, var(--accent-deep) 100%) !important; color: var(--primary-deep) !important; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0,0,0,0.2); }
.btn-give svg { width: 13px; height: 13px; }

/* ── HAMBURGER ── */
.hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.hamburger div { width: 22px; height: 1.5px; background: var(--primary); position: relative; transition: all .3s; }
.hamburger div::before, .hamburger div::after { content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--primary); transition: all .3s; }
.hamburger div::before { top: -7px; } .hamburger div::after { top: 7px; }
.hamburger.open div { background: transparent; }
.hamburger.open div::before { transform: rotate(45deg); top: 0; }
.hamburger.open div::after { transform: rotate(-45deg); top: 0; }

/* ── MOBILE NAV ── */
.mobile-nav { position: fixed; inset: 82px 0 0; background: var(--paper); z-index: 99; overflow-y: auto; padding: 40px 24px 60px; transform: translateX(100%); transition: transform .5s; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { list-style: none; padding: 16px 4px; font-family: var(--f-display); font-size: 22px; color: var(--primary); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: '+'; font-size: 24px; color: var(--accent); transition: transform .3s; }
.mobile-nav details[open] summary::after { transform: rotate(45deg); }
.mobile-nav .m-sublist a { display: block; padding: 8px 4px; font-size: 14px; color: var(--ink-mid); }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer { background: radial-gradient(900px 400px at 50% 0%, rgba(184,136,58,0.10), transparent 65%), var(--primary-deep); color: var(--white); padding: 100px 0 40px; border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--gold), var(--accent), var(--gold)) 1; }
.footer-top { text-align: center; padding-bottom: 80px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 70px; }
.footer-motto { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); line-height: 1; margin-bottom: 16px; }
.footer-motto span { color: var(--gold-soft); }
.footer-sub { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-col.wide ul { columns: 2; column-gap: 40px; }
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.85; width: 331px; height: auto; max-width: 100%; margin-bottom: 20px; }
.footer-brand h3 { font-family: var(--f-display); font-weight: 400; font-size: 20px; color: var(--white); line-height: 1.3; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.66); line-height: 1.75; margin-bottom: 22px; max-width: 320px; }
.footer-address { font-size: 12.5px !important; color: rgba(255,255,255,0.45) !important; }
.footer-col h5 { font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.7); transition: color .3s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: var(--gold-soft); }

/* ══════════════════════════════════════════════
   PRAYER FAB + MODAL
   ══════════════════════════════════════════════ */
.prayer-fab { position: fixed; bottom: 32px; right: 32px; z-index: 200; background: var(--primary); color: var(--white); border-radius: 999px; padding: 14px 22px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); transition: all .3s; }
.prayer-fab:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,0.25); }
.prayer-fab svg { width: 16px; height: 16px; }
.prayer-modal { position: fixed; inset: 0; z-index: 300; background: rgba(10,20,40,0.6); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.prayer-modal.open { opacity: 1; visibility: visible; }
.prayer-card { background: var(--paper); border-radius: 18px; padding: 48px; max-width: 500px; width: 100%; position: relative; box-shadow: 0 40px 80px rgba(0,0,0,0.3); }
.prayer-close { position: absolute; top: 16px; right: 20px; font-size: 24px; color: var(--ink-muted); cursor: pointer; background: none; border: none; padding: 4px 8px; }
.prayer-card h3 { font-family: var(--f-display); font-size: 28px; color: var(--primary); margin-bottom: 12px; }
.prayer-card h3 em { color: var(--accent); }
.prayer-card p { font-size: 14px; color: var(--ink-mid); margin-bottom: 28px; line-height: 1.6; }
.prayer-card input, .prayer-card textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--f-body); font-size: 14px; color: var(--ink); background: var(--cream); margin-bottom: 12px; transition: border-color .3s; resize: vertical; }
.prayer-card input:focus, .prayer-card textarea:focus { outline: none; border-color: var(--primary); }
.prayer-card textarea { min-height: 120px; }
.prayer-submit { width: 100%; padding: 15px; background: var(--primary); color: var(--white); border-radius: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; transition: all .3s; border: none; margin-top: 4px; }
.prayer-submit:hover { background: var(--accent); }
.candle-success { text-align: center; padding: 20px 0; }
.candle { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 24px; }
.flame { width: 18px; height: 32px; background: radial-gradient(ellipse at 50% 60%, var(--flame-core) 30%, var(--flame-edge) 80%); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; animation: flicker 1.2s ease-in-out infinite alternate; }
.stick { width: 8px; height: 50px; background: linear-gradient(var(--wax), var(--wax-shade)); border-radius: 3px; }
@keyframes flicker { from { transform: scaleX(1) scaleY(1) rotate(-1deg); } to { transform: scaleX(0.92) scaleY(1.04) rotate(1deg); } }

/* ══════════════════════════════════════════════
   SCROLL PROGRESS
   ══════════════════════════════════════════════ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); width: 0%; z-index: 9999; transition: width .1s linear; }

/* ══════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════ */
.page-hero { position: relative; padding: 100px 0 60px; background: var(--primary-deep); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('') center/cover no-repeat; opacity: 0.2; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.25; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-soft); margin-bottom: 16px; }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ══════════════════════════════════════════════
   RESPONSIVE — 900px compact nav (matches live site)
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  ul.nav-menu { display: none; }
  .btn-give { display: none; }
  .nav-inner { height: 72px; }
  .mobile-nav { inset: 72px 0 0; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; row-gap: 40px; }
  .footer-col.wide ul { columns: 1; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .utility-inner { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-motto { font-size: 2rem; }
  .footer-top { padding-bottom: 48px; margin-bottom: 48px; }
}
