/* ===========================================================
   Welcome A. Holy Zionist Assembly — Design System
   Palette (from logo): Royal Blue · White · Red · Gold
   =========================================================== */

:root {
  --blue:        #1d3a8a;   /* primary */
  --blue-dark:   #142a66;
  --blue-deep:   #0e1f4d;
  --red:         #d62828;   /* buttons / highlights */
  --red-dark:    #b21e1e;
  --gold:        #f4b41a;   /* accents */
  --gold-soft:   #fbe3a1;
  --ink:         #1a1d2b;   /* body text */
  --muted:       #5b6172;
  --line:        #e6e8ef;
  --bg:          #ffffff;
  --bg-soft:     #f6f8fc;
  --bg-blue:     #f0f4ff;

  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 10px 30px rgba(20, 42, 102, .10);
  --shadow-sm:   0 4px 14px rgba(20, 42, 102, .08);
  --maxw:        1150px;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; color: var(--blue-deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: var(--bg-blue); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; font-size: .76rem;
  color: var(--red); margin-bottom: .7rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.center .lead { margin-left: auto; margin-right: auto; }
.divider { width: 64px; height: 4px; border-radius: 4px; background: var(--gold); margin: 14px 0 26px; }
.center .divider { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(214,40,40,.28); }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--blue-deep); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  background: radial-gradient(circle at 30% 25%, var(--blue) 0%, var(--blue-deep) 75%);
  color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
  border: 2px solid var(--gold);
}
.brand__logo { width: 52px; height: 52px; flex: 0 0 52px; object-fit: contain; }
.brand__name { font-family: var(--serif); font-weight: 700; color: var(--blue-deep); font-size: 1.02rem; line-height: 1.1; }
.brand__tag  { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 9px 14px; border-radius: 8px; font-weight: 600;
  color: var(--ink); font-size: .96rem;
}
.nav__links a:hover { background: var(--bg-blue); color: var(--blue); }
.nav__links a.active { color: var(--blue); }
.nav__links .btn { margin-left: 8px; padding: 10px 20px; }
.nav__links a.btn--primary { color: #fff; }
.nav__links a.btn--primary:hover { color: #fff; background: var(--red-dark); }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav__toggle span { width: 26px; height: 3px; background: var(--blue-deep); border-radius: 3px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(244,180,26,.22), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .10;
  background-image:
    radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 26px 26px;
}
.hero__inner { position: relative; z-index: 1; padding: 96px 0 104px; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__script { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: clamp(1.2rem,2.6vw,1.6rem); margin-bottom: 1.1rem; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.12rem; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* page hero (interior) */
.page-hero {
  color: #fff; text-align: center; padding: 72px 0;
  background:
    radial-gradient(700px 400px at 50% -40%, rgba(244,180,26,.25), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 16px;
  background: var(--bg-blue); color: var(--blue);
}
.card--value .card__icon { background: #fdeaea; color: var(--red); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }

/* value strip */
.value-tag { color: var(--gold); font-weight: 800; letter-spacing: .04em; }

/* ---------- Two-column feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media {
  border-radius: var(--radius); min-height: 320px;
  background:
    radial-gradient(400px 240px at 70% 20%, rgba(244,180,26,.3), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: grid; place-items: center; color: #fff; text-align: center; padding: 30px;
  box-shadow: var(--shadow);
}
.split__media .verse { font-family: var(--serif); font-style: italic; font-size: 1.5rem; max-width: 320px; }

/* mission / vision band */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__item { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.vm__item h3 { color: var(--red); }

/* belief list */
.beliefs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.beliefs li { position: relative; padding-left: 38px; font-size: 1.05rem; }
.beliefs li::before {
  content: "✝"; position: absolute; left: 0; top: -1px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--bg-blue);
  color: var(--blue); display: grid; place-items: center; font-size: .9rem;
}

/* ---------- Order of Service ---------- */
.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.schedule__day { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.schedule__title { color: var(--blue-deep); margin-bottom: 14px; }
.svc-list { list-style: none; padding: 0; margin: 0; }
.svc-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.svc-list li:last-child { border-bottom: 0; }
.svc-name { font-weight: 600; color: var(--ink); }
.svc-time { color: var(--red); font-weight: 700; white-space: nowrap; }
.svc-time a { color: var(--red); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; text-align: center; border-radius: var(--radius); padding: 54px 30px;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 540px; margin: 0 auto 26px; }

/* ---------- Giving ---------- */
.paybill {
  background: #fff; border: 2px dashed var(--blue); border-radius: var(--radius);
  padding: 32px; text-align: center; max-width: 460px; margin: 0 auto;
}
.paybill__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.paybill__row:last-child { border-bottom: 0; }
.paybill__label { color: var(--muted); font-weight: 600; }
.paybill__val { font-weight: 800; font-size: 1.25rem; color: var(--blue-deep); letter-spacing: .02em; }
.paybill__brand { display: inline-block; background: #1a8b3b; color: #fff; font-weight: 800; padding: 6px 16px; border-radius: 8px; letter-spacing: .05em; margin-bottom: 18px; }

/* ---------- Forms ---------- */
.form { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--bg-soft);
  transition: border .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }
.form__note { font-size: .85rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.form__ok { display: none; background: #e8f6ec; border: 1px solid #b7e3c2; color: #1a6b34; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form__ok.show { display: block; }
.form__err { display: none; background: #fdeaea; border: 1px solid #f1b9b9; color: var(--red-dark); padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form__err.show { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-card h3 { color: var(--blue); display: flex; align-items: center; gap: 10px; }
.contact-card a { color: var(--ink); font-weight: 600; }
.contact-card a:hover { color: var(--red); }

/* ---------- Social ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  padding: 11px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--blue-deep); box-shadow: var(--shadow-sm);
}
.socials a:hover { transform: translateY(-2px); color: var(--red); border-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.82); padding: 56px 0 26px; }
.site-footer h4 { color: #fff; font-family: var(--serif); margin-bottom: .6em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--gold); }
.footer-script { font-family: var(--serif); font-style: italic; color: var(--gold-soft); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 220px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .28s ease; visibility: hidden;
  }
  .nav__links.open { transform: translateY(0); visibility: visible; }
  .nav__links a { padding: 13px 10px; border-radius: 8px; }
  .nav__links .btn { margin: 8px 0 0; justify-content: center; }
  .grid--3, .grid--2, .vm, .contact-grid, .footer-grid, .schedule { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
