/* =========================================================
   Cristo Viene Baptist Church — Main Stylesheet
   ========================================================= */

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

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

:root {
  --navy:   #1B3A5C;
  --gold:   #C9A84C;
  --gold-light: #E8D08A;
  --text:   #2D2D2D;
  --muted:  #6B7280;
  --bg:     #F8F6F1;
  --white:  #FFFFFF;
  --border: #E2DDD4;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(27,58,92,0.10);
  --shadow-lg: 0 8px 40px rgba(27,58,92,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}

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

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* =========================================================
   HEADER
   ========================================================= */
#site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

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

/* Logo + Name */
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.header-brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.header-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  white-space: nowrap;
}

.header-brand .brand-name span {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation */
#site-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#site-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  white-space: nowrap;
}

#site-nav ul li a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: color .2s, background .2s;
}

#site-nav ul li a:hover,
#site-nav ul li a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.10);
}

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

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(201,168,76,0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(232,208,138,0.10), transparent 20%),
    linear-gradient(180deg, #183554 0%, #112945 100%);
  color: rgba(255,255,255,0.80);
  padding: 2rem 0 0;
}

.footer-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.45;
  pointer-events: none;
}

.footer-glow-left {
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(201,168,76,0.20), transparent 68%);
}

.footer-glow-right {
  top: 60px;
  right: -140px;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 65%);
}

.footer-top-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.2rem;
  margin-bottom: 2.25rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
  backdrop-filter: blur(4px);
}

.footer-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-top-copy h2 {
  max-width: 12ch;
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.footer-top-copy p {
  max-width: 62ch;
  margin-bottom: 0;
  color: rgba(255,255,255,0.74);
}

.footer-top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1fr 0.9fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-top img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.footer-brand-top .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer-brand-top .brand-name span {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0;
}

.footer-service-card,
.footer-visit-card {
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}

.footer-service-card h4,
.footer-visit-card h4 {
  margin-bottom: 0.85rem;
}

.footer-service-list,
.footer-link-list,
.footer-mini-list,
.footer-contact-list {
  list-style: none;
}

.footer-service-list {
  display: grid;
  gap: 0.85rem;
}

.footer-service-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  font-size: 0.88rem;
}

.footer-service-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.footer-service-list li span {
  color: rgba(255,255,255,0.74);
}

.footer-service-list li strong {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.footer-col h4 {
  color: var(--gold);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}

.footer-link-list li,
.footer-mini-list li {
  margin-bottom: 0.55rem;
}

.footer-link-list li a,
.footer-mini-list li a {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  transition: color .2s;
}
.footer-link-list li a:hover,
.footer-mini-list li a:hover,
.footer-inline-link:hover {
  color: var(--gold);
}

.footer-contact-list li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  align-items: flex-start;
}

.footer-contact-list li a,
.footer-contact-list li span {
  color: rgba(255,255,255,0.72);
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.footer-visit-card p {
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.70);
  font-size: 0.88rem;
}

.footer-inline-link {
  color: var(--gold-light);
  font-weight: 600;
}

.footer-mini-list {
  margin-top: 1.15rem;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 1.2rem 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.38;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,0.88) 0%, rgba(27,58,92,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #b8963e;
  border-color: #b8963e;
  color: var(--navy);
  transform: translateY(-1px);
  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.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--white);
  color: var(--white);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.80); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.6rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-header p { color: rgba(255,255,255,0.70); }

.divider {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* =========================================================
   CARDS
   ========================================================= */
.card-grid {
  display: grid;
  gap: 2rem;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.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: 0.6rem; font-size: 1.15rem; }
.card-body p { color: var(--muted); font-size: 0.92rem; }

/* Icon cards */
.icon-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  transition: transform .25s, box-shadow .25s;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.icon-card .icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

.icon-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.icon-card p { color: var(--muted); font-size: 0.91rem; margin-bottom: 0; }

/* =========================================================
   VISION & MISSION BLOCKS (homepage)
   ========================================================= */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.vm-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--gold);
  position: relative;
}

.vm-block .vm-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.vm-block h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.vm-block p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================================================
   SPLIT LAYOUT (image + text)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse .split-img { order: 2; }
.split.reverse .split-text { order: 1; }

.split-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.split-text .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.7rem;
}

.split-text h2 { margin-bottom: 1.25rem; }
.split-text p { color: var(--muted); margin-bottom: 1rem; }

/* =========================================================
   PAGE HERO (interior pages)
   ========================================================= */
.page-hero {
  background: var(--navy);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.22;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27,58,92,0.95), rgba(27,58,92,0.70));
}

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

.page-hero .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.7rem;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 560px; margin-bottom: 0; }

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

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
  background: var(--gold);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.stat-item p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* =========================================================
   TESTIMONIAL / QUOTE
   ========================================================= */
.quote-block {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
}
.quote-block::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  line-height: 1;
}
.quote-block blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.quote-block cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

/* =========================================================
   SCHEDULE / TABLE
   ========================================================= */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.schedule-table th {
  background: var(--navy);
  color: var(--gold);
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.schedule-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--bg); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-item .ci-text h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.contact-info-item .ci-text p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.contact-info-item .ci-text a { color: var(--muted); }
.contact-info-item .ci-text a:hover { color: var(--gold); }

.contact-form-wrap {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form-wrap h3 { margin-bottom: 0.4rem; }
.contact-form-wrap > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
}
.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: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 1rem; }

/* Tag / badge */
.tag {
  display: inline-block;
  background: rgba(201,168,76,0.14);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split, .vm-grid, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: 0; }
  .split.reverse .split-text { order: 0; }
  .split-img img { height: 280px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-panel,
  .footer-grid,
  .footer-bottom-inner { grid-template-columns: 1fr; }
  .footer-grid { gap: 2rem; }
  .footer-top-actions { justify-content: flex-start; }
  .footer-bottom-inner {
    display: grid;
    text-align: center;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; }

  .nav-toggle { display: flex; }

  #site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  #site-nav.open { max-height: 480px; }
  #site-nav ul { flex-direction: column; padding: 1rem 0; gap: 0; align-items: flex-start; }
  #site-nav ul li { width: 100%; }
  #site-nav ul li a { padding: 0.75rem 1.5rem; font-size: 0.9rem; border-radius: 0; }

  .hero { min-height: 420px; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-top-panel { padding: 1.5rem; }
  .footer-top-copy h2 { max-width: none; }
  .footer-top-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-service-list li {
    flex-direction: column;
    gap: 0.2rem;
  }
}
