/* ============================================================
   Clayton Congregation of Jehovah's Witnesses — style.css
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* --- CSS Variables --- */
:root {
  --blue-dark:   #1a3a6b;
  --blue-deeper: #0f2147;
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --white:       #ffffff;
  --off-white:   #f9f9f9;
  --gray-light:  #eef0f4;
  --gray:        #6c757d;
  --text:        #2c2c2c;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Open Sans', Arial, sans-serif;
  --shadow:      0 4px 24px rgba(26,58,107,0.10);
  --shadow-lg:   0 8px 40px rgba(26,58,107,0.18);
  --radius:      8px;
  --transition:  0.3s ease;
  --header-h:    80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.75;
  padding-top: var(--header-h);
}

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

a { color: var(--blue-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

ul { list-style: none; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--blue-dark);
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: var(--blue-deeper);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.header-brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  max-width: 260px;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navigation */
#main-nav {
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow: hidden;
}

.nav-list a {
  display: inline-block;
  padding: 6px 10px;
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
  background: rgba(255,255,255,0.06);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   FOOTER — Premium Redesign
   ============================================================ */
#site-footer {
  background: var(--blue-deeper);
  color: rgba(255,255,255,0.78);
  margin-top: 80px;
  font-size: 0.88rem;
}

/* Gold accent bar at very top */
.footer-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--gold) 40%, var(--gold-light) 60%, var(--blue-dark) 100%);
}

/* Main body */
.footer-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

/* ---- Col 1: Brand ---- */
.footer-col--brand {}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.05);
}

.footer-org-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.footer-org-name em {
  font-style: italic;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--gold-light);
}

.footer-mission-text {
  font-size: 0.85rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.62);
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-charity-badge {
  display: inline-flex;
  flex-direction: column;
  background: rgba(201,168,76,0.10);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 6px;
  padding: 10px 16px;
}

.footer-charity-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 3px;
}

.footer-charity-id {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  font-family: monospace;
}

/* ---- Col titles ---- */
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-title-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---- Info list (contact) ---- */
.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.footer-info-icon {
  width: 30px;
  height: 30px;
  background: rgba(201,168,76,0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-info-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold-light);
}

.footer-info-list a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-info-list a:hover { color: var(--gold-light); }

/* ---- Meeting schedule ---- */
.footer-schedule {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.footer-schedule-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-schedule-day {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
}

.footer-schedule-time {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-schedule-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer-schedule-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 14px 0;
}

.footer-open-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-link-btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.35);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.footer-link-btn:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ---- Quick Links ---- */
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav-list li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-nav-list li:last-child { border-bottom: none; }

.footer-nav-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-nav-list a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.footer-nav-list a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}
.footer-nav-list a:hover::before {
  transform: rotate(45deg) translateX(2px);
}

/* ---- Divider ---- */
.footer-divider {
  max-width: 1280px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1) 20%, rgba(255,255,255,0.1) 80%, transparent);
}

/* ---- Bottom bar ---- */
.footer-bottom {
  background: rgba(0,0,0,0.22);
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.5;
}

.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 5px 14px;
  transition: all var(--transition);
  white-space: nowrap;
}

.footer-back-top svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.footer-back-top:hover {
  color: var(--gold-light);
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.08);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
  }
  .footer-mission-text { max-width: 100%; }
}

@media (max-width: 640px) {
  .footer-body { padding: 48px 24px 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col--brand { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 90vh;
  min-height: 520px;
  max-height: 800px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,33,71,0.55) 0%,
    rgba(15,33,71,0.72) 60%,
    rgba(15,33,71,0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-deeper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--blue-deeper);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--blue-deeper);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-blue {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}
.btn-blue:hover {
  background: var(--blue-deeper);
  border-color: var(--blue-deeper);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 80px 0; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--blue-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title.white { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 48px;
}

.section-subtitle.centered { text-align: center; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--gold) !important; }

/* Section backgrounds */
.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-blue { background: var(--blue-dark); }
.bg-deep { background: var(--blue-deeper); }
.bg-gray { background: var(--gray-light); }

/* Divider accent */
.title-accent {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px 0 32px;
}
.title-accent.centered { margin-left: auto; margin-right: auto; }

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card-link::after { content: ' →'; }

/* ============================================================
   MISSION / VISION BLOCK
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mission-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.mission-box.vision { border-top-color: var(--blue-dark); }

.mission-box h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.mission-box blockquote {
  font-size: 1.02rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 0;
}

/* ============================================================
   VALUES GRID
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.value-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.value-item:hover { transform: translateY(-4px); }

.value-icon { font-size: 2.5rem; margin-bottom: 14px; }

.value-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.value-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ============================================================
   TWO-COLUMN TEXT + IMAGE
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.split-text h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.split-text p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deeper) 100%);
  padding: 72px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/670009879_122185242920782464_5652811149995008551_n.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--gold); }

/* ============================================================
   SCHEDULE TABLE
   ============================================================ */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.schedule-table th {
  background: var(--blue-dark);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.schedule-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.92rem;
  color: var(--text);
}

.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--off-white); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--blue-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-light); }

.faq-question .faq-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.8;
  border-top: 1px solid var(--gray-light);
}

.faq-answer.open { display: block; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--blue-dark);
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-detail-icon {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 2px;
}

.contact-detail-text span { font-size: 0.9rem; color: var(--text); }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(26,58,107,0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-honeypot { display: none !important; }

.form-msg {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}
.form-msg.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-msg.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============================================================
   MAP EMBED
   ============================================================ */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 24px;
}

.map-container iframe {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   BIBLE STUDY CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 60px 24px;
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--blue-deeper);
  margin-bottom: 14px;
}

.cta-strip p {
  color: var(--blue-deeper);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 28px;
  opacity: 0.85;
}

/* ============================================================
   ICON LIST
   ============================================================ */
.icon-list { display: flex; flex-direction: column; gap: 14px; }

.icon-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text);
}

.icon-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.divider {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 40px 0;
}

.badge {
  display: inline-block;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-gold { background: var(--gold); color: var(--blue-deeper); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .nav-list a { font-size: 0.78rem; padding: 6px 8px; gap: 2px; }
}

@media (max-width: 992px) {
  .header-inner { gap: 12px; }
  .brand-name { font-size: 0.9rem; max-width: 200px; }

  #main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--blue-deeper);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    z-index: 999;
  }

  #main-nav.open {
    max-height: 600px;
    padding: 16px 0 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    white-space: normal;
    overflow: visible;
  }

  .nav-list li { width: 100%; }

  .nav-list a {
    display: block;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-radius: 0;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
  }

  .nav-list a:hover,
  .nav-list a.active {
    border-left-color: var(--gold);
    border-bottom-color: rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.05);
  }

  .hamburger { display: flex; }

  .mission-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }
  body { padding-top: var(--header-h); }

  .hero { height: 80vh; background-attachment: scroll; }
  section { padding: 56px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .header-brand img { height: 46px; }
  .brand-name { font-size: 0.82rem; max-width: 180px; }
  .brand-sub { display: none; }
}

@media (max-width: 576px) {
  .hero h1 { font-size: 1.6rem; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: center; }
  .mission-box { padding: 28px 20px; }
  .page-hero { padding: 56px 20px 44px; }
}
