/* ============================================
   ΩHMS Modular Homes — Shared Stylesheet
   Colors: Navy #0D1F3C | Gold #C9A84C | White #FFFFFF
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  --navy:       #0D1F3C;
  --navy-mid:   #162848;
  --navy-light: #1B3058;
  --gold:       #C9A84C;
  --gold-light: #E0BD6E;
  --gold-dark:  #A8882E;
  --white:      #FFFFFF;
  --cream:      #F8F6F0;
  --light-gray: #F0EEEA;
  --text-dark:  #0D1F3C;
  --text-body:  #3a3a4a;
  --border:     #e2ddd4;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* --- Utility --- */
.container        { max-width: 1200px; margin: 0 auto; }
.text-center      { text-align: center; }
.text-gold        { color: var(--gold); }

.section-label {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 660px;
  line-height: 1.85;
}
.text-center .section-subtitle { margin: 0 auto; }

.gold-divider       { width: 55px; height: 3px; background: var(--gold); margin: 1.25rem 0; }
.gold-divider.center{ margin: 1.25rem auto; }

/* ============================================
   NO COST BANNER / CALLOUT
   ============================================ */
.no-cost-strip {
  background: var(--gold);
  padding: 0.9rem 2rem;
  text-align: center;
}
.no-cost-strip p {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}
.no-cost-strip span { font-weight: 400; }

.no-cost-callout {
  background: linear-gradient(135deg, #0a1a30 0%, var(--navy) 100%);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 2.75rem 3rem;
  text-align: center;
  margin: 3.5rem auto 0;
  max-width: 840px;
}
.no-cost-callout .big-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.75rem;
}
.no-cost-callout h3 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}
.no-cost-callout h3 span { color: var(--gold); }
.no-cost-callout p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 620px;
  margin: 0 auto;
}

.no-cost-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.55);
  color: var(--gold-light);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.1rem;
}

/* ============================================
   PHOTO GALLERY
   ============================================ */
.gallery-section { padding: 5rem 2rem; background: var(--white); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.photo-grid .photo-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.photo-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--light-gray);
  min-height: 200px;
}

.photo-item.photo-main { min-height: 400px; }

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-main img              { min-height: 430px; }
.photo-item:not(.photo-main) img { min-height: 207px; }
.photo-item:hover img        { transform: scale(1.04); }

.photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,31,60,0.85), transparent);
  color: var(--white);
  padding: 1.25rem 1rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}
.photo-item:hover .photo-caption { opacity: 1; }

@media (max-width: 768px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid .photo-main { grid-column: 1 / 3; grid-row: auto; }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid .photo-main { grid-column: 1; }
}

/* ============================================
   BEFORE / AFTER CARTOON PANEL
   ============================================ */
.before-after-section {
  background: var(--cream);
  padding: 4rem 2rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}

.cartoon-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 14px;
}

.cartoon-card.before-card {
  background: #f0f0f0;
  border: 1.5px solid var(--border);
}

.cartoon-card.after-card {
  background: var(--white);
  border: 1.5px solid var(--gold);
  position: relative;
}

.sunshine-img {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 70px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(65%) sepia(55%) saturate(600%) hue-rotate(4deg) brightness(90%);
}

.cartoon-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.before-card .cartoon-card-label { color: var(--text-body); }
.after-card  .cartoon-card-label { color: var(--gold-dark); }

.cartoon-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 220px;
  object-fit: contain;
}

.cartoon-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-top: 1rem;
  line-height: 1.6;
}

.before-after-arrow {
  text-align: center;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.before-after-arrow span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 0.5rem;
}

/* Inline cartoon (how it works, who we serve) */
.cartoon-inline {
  text-align: center;
  margin: 2.5rem auto 0;
  max-width: 420px;
}

.cartoon-inline img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 240px;
  object-fit: contain;
}

.cartoon-inline p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.75rem;
  font-style: italic;
}

.cartoon-inline.dark-bg p { color: rgba(255,255,255,0.7); }
.cartoon-inline.light-bg p { color: var(--text-body); }

/* CTA cartoon float — on dark navy backgrounds */
.cta-cartoon-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 2rem;
}

.cta-cartoon {
  max-height: 180px;
  width: auto;
  display: block;
  filter: invert(1);
  mix-blend-mode: screen;
}

.cta-sunshine {
  position: absolute;
  top: -50px;
  right: -20px;
  width: 70px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(65%) sepia(55%) saturate(600%) hue-rotate(4deg) brightness(90%);
}

@media (max-width: 768px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }
  .before-after-arrow {
    font-size: 2rem;
    transform: rotate(90deg);
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  background-color: var(--navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo .omega {
  font-size: 2.4rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.nav-logo-img {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  transition: transform 0.25s;
}
.nav-logo:hover .nav-logo-img { transform: scale(1.05); }

.nav-logo-text .brand-name {
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
  display: block;
}

.nav-logo-text .brand-sub {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.25s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta-btn {
  background-color: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 5px !important;
  border-bottom: none !important;
  font-weight: 700 !important;
  transition: background-color 0.25s, transform 0.2s !important;
}

.nav-cta-btn:hover {
  background-color: var(--gold-light) !important;
  color: var(--navy) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--white);
  display: block;
  transition: all 0.3s;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  background-color: var(--gold);
  color: var(--navy);
  padding: 1rem 2.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: 2px solid var(--gold);
  transition: all 0.3s;
}
.btn-primary:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.btn-secondary:hover {
  border-color: var(--white);
  background-color: rgba(255,255,255,0.1);
}

.btn-navy {
  display: inline-block;
  background-color: var(--navy);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--navy);
  transition: all 0.3s;
}
.btn-navy:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
}

/* ============================================
   HERO — HOME PAGE (light)
   ============================================ */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, var(--cream) 100%);
  min-height: 82vh;
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
  content: 'Ω';
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  font-family: 'Playfair Display', serif;
  font-size: 28rem;
  color: rgba(13,31,60,0.03);
  line-height: 1;
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text { /* left column */ }

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,31,60,0.15);
}

.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(201,168,76,0.12);
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero h1 span { color: var(--gold-dark); }

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.no-cost-badge {
  background: rgba(201,168,76,0.1) !important;
  border-color: rgba(201,168,76,0.6) !important;
  color: var(--gold-dark) !important;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-image img { height: 300px; }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background-color: #060e1e;
  padding: 3rem 2rem;
  border-top: 3px solid var(--gold);
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-section { background-color: var(--cream); padding: 5rem 2rem; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.problem-items { display: flex; flex-direction: column; gap: 1.5rem; }

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

.problem-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(201,168,76,0.1);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.problem-text h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.problem-text p  { font-size: 0.88rem; color: var(--text-body); line-height: 1.65; }

.quote-box {
  background-color: var(--navy);
  border-radius: 14px;
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
}

.quote-box::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: -1.5rem;
  left: 1.5rem;
  line-height: 1;
}

.quote-box blockquote {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.quote-attribution { color: var(--gold); font-weight: 600; font-size: 0.88rem; }

/* ============================================
   HOW IT WORKS — OVERVIEW (home page)
   ============================================ */
.steps-section { padding: 5rem 2rem; background: var(--cream); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: 12px;
  border: 3px solid var(--gold);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(13,31,60,0.07);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(13,31,60,0.1);
  border-color: var(--gold);
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1.2rem;
  font-family: 'Playfair Display', serif;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.step-icon  { font-size: 1.8rem; margin-bottom: 0.75rem; }
.step-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--navy); }
.step-card p  { font-size: 0.82rem; color: var(--text-body); line-height: 1.6; }

/* ============================================
   WHO WE SERVE — HOME PREVIEW
   ============================================ */
.serve-section { background-color: var(--navy); padding: 5rem 2rem; }
.serve-section .section-title { color: var(--white); }
.serve-section .section-subtitle { color: rgba(255,255,255,0.75); }

.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.serve-card {
  background: rgba(255,255,255,0.08);
  border: 3px solid var(--gold);
  border-radius: 12px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.serve-card:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  transform: translateY(-6px);
}

.serve-icon  { font-size: 2.8rem; margin-bottom: 1.1rem; }
.serve-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.6rem; }
.serve-card p  { color: rgba(255,255,255,0.7); font-size: 0.87rem; line-height: 1.7; }

/* ============================================
   BENEFITS
   ============================================ */
.benefits-section { background-color: var(--cream); padding: 5rem 2rem; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(13,31,60,0.07);
  transition: box-shadow 0.3s;
}

.benefit-item:hover { box-shadow: 0 6px 20px rgba(13,31,60,0.08); }

.benefit-check { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.benefit-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.benefit-item p  { font-size: 0.85rem; color: var(--text-body); line-height: 1.6; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: 'Ω';
  position: absolute;
  right: 2rem;
  bottom: -3rem;
  font-family: 'Playfair Display', serif;
  font-size: 18rem;
  color: rgba(201,168,76,0.05);
  line-height: 1;
  pointer-events: none;
}

.cta-section h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: #C8A96B;
  padding: 5.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--navy);
}

.page-hero h1 { color: var(--navy); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.page-hero .page-hero-sub { color: var(--text-body); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ============================================
   HOW IT WORKS — FULL PAGE
   ============================================ */
.process-section { padding: 5rem 2rem; background: var(--cream); }

.process-timeline { margin-top: 3.5rem; }

.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  margin-bottom: 0;
  align-items: stretch;
}

.process-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step-number {
  width: 72px;
  height: 72px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.process-connector {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.15));
  margin: 0.5rem 0;
}

.process-step:last-child .process-connector { display: none; }

.process-step-right {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(13,31,60,0.07);
  margin-bottom: 2rem;
}

.process-step-right .step-tag {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.process-step-right h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.process-step-right p  { color: var(--text-body); line-height: 1.85; }

/* Benefits list on How It Works page */
.benefits-list-section { background: var(--navy); padding: 5rem 2rem; }
.benefits-list-section .section-title { color: var(--white); }

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.benefit-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.benefit-list-item .check { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.benefit-list-item span  { color: rgba(255,255,255,0.88); font-size: 0.95rem; }

/* ============================================
   WHO WE SERVE — FULL PAGE
   ============================================ */
.serve-page-section { padding: 5rem 2rem; background: var(--cream); }

.serve-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.serve-page-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(13,31,60,0.07);
  transition: all 0.3s;
}

.serve-page-card:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 45px rgba(13,31,60,0.09);
  transform: translateY(-5px);
}

.serve-page-card .card-icon { font-size: 3rem; margin-bottom: 1.25rem; }
.serve-page-card h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.9rem; }
.serve-page-card > p { color: var(--text-body); line-height: 1.85; margin-bottom: 1.5rem; }

.serve-page-card ul { list-style: none; padding: 0; }
.serve-page-card ul li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.serve-page-card ul li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.mission-section {
  background: var(--navy);
  padding: 5.5rem 2rem;
  text-align: center;
}

.mission-section h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 820px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.mission-section p {
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
}

.experience-bar {
  background: var(--gold);
  padding: 2rem 2rem;
  text-align: center;
}

.experience-bar p {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  max-width: 800px;
  margin: 0 auto;
}

.team-section { padding: 5rem 2rem; background: var(--cream); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.team-card {
  text-align: center;
  padding: 2.75rem 2rem;
  background: var(--white);
  border-radius: 14px;
  border: 1.5px solid var(--border);
  transition: all 0.3s;
}

.team-card:hover {
  box-shadow: 0 18px 45px rgba(13,31,60,0.1);
  transform: translateY(-5px);
  border-color: var(--gold);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.6rem;
  border: 4px solid var(--gold);
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--gold);
  display: block;
  margin: 0 auto 1.5rem;
}

.team-card h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 0.3rem; }

.team-role {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.team-card p { font-size: 0.9rem; color: var(--text-body); line-height: 1.75; }

/* Values section */
.values-section { padding: 5rem 2rem; background: var(--white); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  transition: all 0.3s;
  text-align: center;
}

.value-card:hover { border-color: var(--gold); box-shadow: 0 10px 30px rgba(13,31,60,0.07); }
.value-icon  { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h4 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.value-card p  { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { padding: 5rem 2rem; background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-form-wrap {
  background: var(--white);
  padding: 3rem;
  border-radius: 14px;
  box-shadow: 0 4px 35px rgba(0,0,0,0.07);
}

.contact-form-wrap h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form-wrap .form-lead { color: var(--text-body); font-size: 0.95rem; margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1.35rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 7px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--text-dark);
  transition: border-color 0.25s, box-shadow 0.25s;
  background: var(--white);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

/* Override browser autofill yellow background */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus,
.form-group select:-webkit-autofill,
.form-group select:-webkit-autofill:hover,
.form-group select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
  box-shadow: 0 0 0px 1000px #ffffff inset;
  -webkit-text-fill-color: var(--text-dark);
}

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

.form-submit {
  width: 100%;
  padding: 1.05rem;
  background-color: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.3px;
}

.form-submit:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

.contact-info-panel { padding: 1rem 0; }
.contact-info-panel h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.contact-info-panel > p { color: var(--text-body); line-height: 1.85; margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  background: var(--navy);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  color: var(--navy);
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.15rem;
}

.contact-detail-text a { color: var(--text-body); text-decoration: none; font-size: 0.95rem; }
.contact-detail-text a:hover { color: var(--gold-dark); }

.next-steps-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  margin-top: 2.5rem;
}

.next-steps-box h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.1rem;
}

.next-steps-box ol { padding-left: 1.2rem; }

.next-steps-box li {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background-color: #060e1e;
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-omega { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--gold); line-height: 1; }

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.85;
  max-width: 300px;
}

.footer-brand .footer-tagline {
  color: rgba(201,168,76,0.8);
  font-style: italic;
  font-size: 0.82rem;
  margin-top: 0.75rem;
  display: block;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 1.25rem;
  font-family: 'Open Sans', sans-serif;
}

.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 0.65rem; }
.footer-links ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.25s; }
.footer-links ul li a:hover { color: var(--gold); }

.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; line-height: 1.7; }
.footer-contact a { color: var(--gold-light); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before { display: none; }
  .serve-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .problem-grid    { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .team-grid       { grid-template-columns: 1fr; }
  .serve-page-grid { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .benefits-grid   { grid-template-columns: 1fr; }
  .benefits-list   { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  nav { position: relative; }

  .hero-content { margin-left: 0; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .stats-grid   { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr 1fr; }
  .serve-grid   { grid-template-columns: 1fr; }
  .values-grid  { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .process-step { grid-template-columns: 1fr; }
  .process-step-left { flex-direction: row; justify-content: center; }
  .process-connector { display: none; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}

/* ============================================
   INLINE GRID SECTIONS — RESPONSIVE FIXES
   ============================================ */
.grants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

@media (max-width: 900px) {
  .grants-grid { grid-template-columns: 1fr; }
  .reassurance-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .reassurance-grid { grid-template-columns: 1fr; }
}
