/* =========================================================
   Weiming Christian Fellowship — Main Stylesheet
   ========================================================= */

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

:root {
  --navy:      #1a2e4a;
  --navy-mid:  #243b5e;
  --gold:      #c8933a;
  --gold-lt:   #e0b96a;
  --cream:     #faf7f2;
  --white:     #ffffff;
  --text:      #2d3748;
  --text-lt:   #718096;
  --border:    #e2e8f0;
  --shadow:    0 4px 24px rgba(26,46,74,.10);
  --shadow-lg: 0 12px 48px rgba(26,46,74,.16);
  --radius:    8px;
  --radius-lg: 16px;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --transition: .25s ease;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-lt); }
ul { list-style: none; }

/* --- Typography ------------------------------------------ */
h1,h2,h3,h4,h5 { font-family: var(--font-serif); color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1em; }

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

/* --- Layout Helpers -------------------------------------- */
.container { width: 92%; max-width: 1180px; margin: 0 auto; }
.container--narrow { max-width: 780px; }
.section { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p  { color: rgba(255,255,255,.82); }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.mt-2  { margin-top: 2rem; }
.mt-4  { margin-top: 4rem; }
.mb-2  { margin-bottom: 2rem; }

/* --- Grid ------------------------------------------------ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* --- Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--white); }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(26,46,74,.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

/* Logo + Name */
.site-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.site-brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.brand-sub {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* Navigation — single line guaranteed */
.site-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: .1rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-list a {
  display: block;
  padding: .45rem .7rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-list a:hover,
.nav-list a.active { color: var(--gold); background: rgba(200,147,58,.08); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =========================================================
   FOOTER
   ========================================================= */

/* =========================================================
   FOOTER (REDESIGNED)
   ========================================================= */

.site-footer {
  position: relative;
  background: #0a0f18;
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.footer-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(200, 147, 58, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

/* Call to Action Banner */
.footer-top-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(26, 46, 74, 0.95), rgba(10, 15, 24, 0.95));
  border: 1px solid rgba(200, 147, 58, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 80px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.footer-top-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  background: radial-gradient(circle at center, rgba(200, 147, 58, 0.1), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.footer-cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.footer-cta-title {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.footer-cta-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0;
}

.footer-cta-action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.footer-cta-action .btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Main Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 60px;
  padding-top: 64px;
  margin-bottom: 80px;
}

/* Brand Column */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.footer-brand-logo {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(200, 147, 58, 0.3);
}

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

.footer-brand-text .brand-name {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer-brand-text .brand-sub {
  color: var(--gold-lt);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 320px;
}

.footer-scripture-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
}

.footer-scripture-box p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.footer-scripture-box cite {
  font-size: 0.85rem;
  color: var(--gold-lt);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nav Columns */
.footer-col-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--gold-lt);
  transform: translateX(5px);
}

/* Time List */
.footer-time-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-time-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.time-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.time-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-item p,
.contact-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--gold-lt);
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.charity-num {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .32;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,46,74,.88) 40%, rgba(36,59,94,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 4rem 0;
}
.hero-content .section-label { color: var(--gold-lt); }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.15rem; margin-bottom: 2rem; max-width: 580px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--text-lt); font-size: .92rem; margin: 0; }

/* Icon Cards */
.icon-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.icon-card:hover { transform: translateY(-4px); }
.icon-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(200,147,58,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}
.icon-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.icon-card p  { font-size: .9rem; color: var(--text-lt); margin: 0; }

/* =========================================================
   STAT STRIP
   ========================================================= */
.stat-strip { background: var(--gold); padding: 48px 0; }
.stat-strip .grid-4 { text-align: center; }
.stat-item .stat-num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--white); font-weight: 700; }
.stat-item .stat-label { font-size: .85rem; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .08em; }

/* =========================================================
   SPLIT SECTION
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 480px; }
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content { display: flex; align-items: center; padding: 4rem; }
.split-content--navy { background: var(--navy); }
.split-content--navy h2 { color: var(--white); }
.split-content--navy p  { color: rgba(255,255,255,.78); }
.split-content--cream { background: var(--cream); }
.split-inner { max-width: 480px; }
.split-inner h2 { margin-bottom: 1rem; }

/* =========================================================
   QUOTE / VERSE BLOCK
   ========================================================= */
.verse-block {
  text-align: center;
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.verse-block blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 1rem;
  line-height: 1.5;
  font-style: italic;
}
.verse-block cite { color: var(--gold-lt); font-size: .9rem; font-style: normal; }

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.1rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year { font-size: .8rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; margin-bottom: .25rem; }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.timeline-item p { font-size: .9rem; color: var(--text-lt); margin: 0; }

/* =========================================================
   LEADERSHIP
   ========================================================= */
.leader-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.leader-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}
.leader-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.leader-card .role { font-size: .82rem; color: var(--gold); text-transform: uppercase; letter-spacing: .07em; }
.leader-card p { font-size: .88rem; color: var(--text-lt); margin-top: .75rem; }

/* =========================================================
   PROGRAMS / SERVICES LIST
   ========================================================= */
.program-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  align-items: start;
}
.program-row img { width: 100px; height: 80px; object-fit: cover; border-radius: var(--radius); }
.program-row h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.program-row p { font-size: .9rem; color: var(--text-lt); margin: 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(200,147,58,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-family: var(--font-sans); margin-bottom: .2rem; font-size: .95rem; }
.contact-info-item p  { margin: 0; font-size: .9rem; color: var(--text-lt); line-height: 1.6; }
.contact-info-item a  { color: var(--text-lt); }
.contact-info-item a:hover { color: var(--gold); }

.contact-form { background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(200,147,58,.07);
}
.page-hero .section-label { color: var(--gold-lt); }
.page-hero h1 { color: var(--white); margin-bottom: .8rem; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; margin: 0; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--gold-lt); }
.breadcrumb span { color: var(--gold-lt); }

/* =========================================================
   ACCORDION (FAQ)
   ========================================================= */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.accordion-btn .acc-icon {
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.accordion-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.accordion-panel.open { max-height: 600px; padding-bottom: 1.25rem; }
.accordion-panel p { font-size: .92rem; color: var(--text-lt); margin: 0; }

/* =========================================================
   EVENT CARDS
   ========================================================= */
.event-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  align-items: start;
}
.event-date {
  background: var(--navy);
  border-radius: var(--radius);
  text-align: center;
  padding: .75rem .5rem;
  color: var(--white);
}
.event-date .month { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-lt); }
.event-date .day   { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.event-date .year  { font-size: .72rem; color: rgba(255,255,255,.55); }
.event-meta h3     { font-size: 1.05rem; margin-bottom: .3rem; }
.event-meta p      { font-size: .88rem; color: var(--text-lt); margin: 0; }
.event-tag { display: inline-block; padding: .2rem .6rem; border-radius: 4px; background: rgba(200,147,58,.12); color: var(--gold); font-size: .75rem; font-weight: 600; margin-bottom: .4rem; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-stage { grid-template-columns: 1fr; }
  .footer-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .grid-2, .grid-3, .split, .contact-grid { grid-template-columns: 1fr; }
  .split-img { min-height: 320px; }
  .split-content { padding: 2.5rem; }
  .split-content--navy { order: -1; }

  /* Nav collapse */
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 1rem 5%; z-index: 999; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-list a { padding: .7rem .5rem; font-size: .95rem; width: 100%; }
  .nav-toggle { display: flex; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-shell { padding: 24px; }
  .footer-topline { align-items: start; flex-direction: column; }
  .footer-side-grid, .footer-stage { grid-template-columns: 1fr; }
  .footer-contact-row, .footer-time-item { flex-direction: column; }
  .footer-contact-copy, .footer-time-value { text-align: left; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { gap: 2.5rem; }
}

@media (max-width: 540px) {
  .section { padding: 56px 0; }
  .hero { min-height: 70vh; }
  .stat-strip .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .program-row { grid-template-columns: 1fr; }
  .program-row img { width: 100%; height: 180px; }
  .footer-shell { padding: 20px; border-radius: 24px; }
  .footer-story-card, .footer-panel { padding: 20px; border-radius: 22px; }
  .footer-nav-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity .8s ease;
}
.fade-in.visible { opacity: 1; }

