/* ============================================================
   SOLA VERBUM DEI - Shared Stylesheet
   ============================================================ */

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

:root {
  --gold: #B8872A;
  --gold-light: #F5E6C8;
  --gold-deep: #6B4A15;
  --gold-bright: #E8C77A;
  --navy: #1A2744;
  --navy-mid: #1E3A8A;
  --navy-light: #DDEAF8;
  --navy-text: #0F2557;
  --blue-tag-bg: #25406E;
  --blue-tag-text: #AFD0F5;
  --parchment: #FAF6EE;
  --parchment-dark: #F0E8D4;
  --text: #1A1A1A;
  --text-soft: #3D3D3D;
  --text-muted: #6E6E6E;
  --border: #D6C9A8;
  --white: #FFFFFF;
  --success: #1F5D43;
  --success-light: #DCEFE4;
  --warn: #6B3300;
  --warn-light: #FBEEDC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--parchment);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
}

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

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.navbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(184,135,42,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.nav-brand-cross svg { width: 22px; height: auto; display: block; }
.nav-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav-brand-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a.active { color: var(--gold-bright); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta {
  background: var(--gold);
  color: white !important;
  padding: 0.5rem 1.1rem;
  border-radius: 7px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-deep); color: white !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(184,135,42,0.3);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links a.active::after { display: none; }
  .nav-cta { text-align: center; margin-top: 0.75rem; }
}

/* ============================================================
   SHARED LAYOUT + TYPOGRAPHY
   ============================================================ */
.container { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; }

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.divider { width: 44px; height: 2px; background: var(--gold); margin: 0.75rem 0 1.5rem; }
.divider-center { margin-left: auto; margin-right: auto; }

.prose p { margin-bottom: 1.1rem; font-size: 1rem; color: var(--text-soft); line-height: 1.75; }
.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.prose strong { color: var(--navy); font-weight: 600; }
.prose .scripture {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  line-height: 1.5;
}
.prose .scripture cite {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.4rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.1s, opacity 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-mid); }
.btn-secondary { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--parchment-dark); color: var(--text); }
.btn-gold { background: var(--gold); color: white; font-size: 1rem; padding: 0.85rem 2rem; }
.btn-gold:hover { background: var(--gold-deep); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ============================================================
   HERO (shared)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,135,42,0.16) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 0.5rem;
}
.page-hero .hero-latin {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
}
.page-hero .hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}

/* ============================================================
   FOOTER (shared)
   ============================================================ */
.site-footer {
  background: var(--navy);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.footer-cross-svg { display: flex; justify-content: center; margin-bottom: 0.75rem; }
.footer-cross-svg svg { width: 44px; height: auto; }
.footer-company {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.footer-co {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-motto {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold-bright); }
.footer-line { width: 50px; height: 1px; background: rgba(184,135,42,0.4); margin: 1rem auto; }
.footer-fineprint {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto;
}

/* ============================================================
   SACRED IMAGERY (shared)
   ============================================================ */
.halo-frame {
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 3px 10px rgba(26,39,68,0.18);
}
.halo-frame svg { width: 100%; height: 100%; display: block; }
.saint-disc {
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
}
.saint-disc svg { width: 100%; height: 100%; display: block; }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--parchment); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ============================================================
   VERBUM WEEKLY NEWSLETTER BAND (appears above footer on every page)
   ============================================================ */
.newsletter-band {
  background: var(--navy);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(184,135,42,0.25);
}
.newsletter-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,135,42,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-band > * { position: relative; }
.newsletter-band-cross {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.newsletter-band-cross svg { width: 28px; height: auto; }
.newsletter-band h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.newsletter-band .nb-sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 0.6rem;
  line-height: 1.6;
}
.newsletter-band .nb-sub strong {
  color: var(--gold-bright);
  font-weight: 600;
}
.newsletter-band .nb-free {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}
.newsletter-band-form {
  display: flex;
  gap: 0.6rem;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.nb-email-input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(184,135,42,0.4);
  background: rgba(255,255,255,0.97);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
}
.nb-email-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,135,42,0.25);
}
.nb-submit-btn {
  white-space: nowrap;
  background: var(--gold);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.nb-submit-btn:hover { background: var(--gold-deep); }
.nb-confirm {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-bright);
  min-height: 1.5rem;
}
.nb-fineprint {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
}
