/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BRAND SYSTEM ================= */
:root {
  --gold: #dcb85a;
  --green-dark: #0d3324;

  --bg-main: #ffffff;
  --bg-soft: #f7f9f7;
  --bg-dark: #0d3324;

  --text-primary: #0f1f17;
  --text-muted: #6a7a73;

  --border-soft: rgba(0, 0, 0, 0.08);
}

/* ================= BASE ================= */
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.85;
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= LAYOUT ================= */
/* RESTORED — required for consistent page structure */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ================= HEADER ================= */
.site-header {
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-img {
  height: 96px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 40px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links a:hover {
  font-weight: 500;
}

.nav-links a.is-active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-soft);
  background: transparent;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 16px 36px;
  border-radius: 3px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
}

.btn-primary {
  background: transparent;
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
}

/* ================= HERO ================= */
.hero {
  padding: 120px 0;
}

.hero-main {
  max-width: 760px;
}

.hero-main h1 {
  font-size: 3.8rem;
  line-height: 1.12;
  font-weight: 500;
  margin-bottom: 36px;
}

.hero-main p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* ================= SECTIONS ================= */
/* FIXED — invalid rule before */
.section {
  padding: 120px 0;
}

.section + .section {
  padding-top: 40px;
}

.section-light {
  background: var(--bg-soft);
}

.section h2 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.section-anchor {
  max-width: 680px;
  margin-bottom: 40px;
}

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

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-top: 14px;
}

.card p {
  color: var(--text-muted);
}

.disclaimer-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= WHO WE SERVE ================= */
/* untouched — already working correctly */

/* ================= FOOTER ================= */
.site-footer {
  background: var(--bg-dark);
  color: #e6ecea;
  font-size: 13px;
}

/* FOOTER CONTAINER OVERRIDE — key fix */
.site-footer .container {
  padding: 28px 0 0 0; /* top only */
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand strong {
  display: block;
  font-weight: 600;
  color: var(--gold);
}

.footer-brand span {
  font-size: 12px;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  font-size: 12px;
  color: #c8d6d1;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-disclosures {
  padding: 14px 0 18px;
  text-align: left;
}

.footer-disclosures p {
  margin: 0 0 8px 0;
  font-size: 11px;
  line-height: 1.5;
  color: #c8d6d1;
}

.footer-disclosures a {
  color: #c8d6d1;
  text-decoration: underline;
}

.footer-copyright {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.75;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .container {
    padding: 0 22px;
  }

  .nav {
    padding: 28px 0;
  }

  .logo-img {
    height: 80px;
  }

  .hero {
    padding: 96px 0;
  }

  .hero-main h1 {
    font-size: 3rem;
  }

  .section {
    padding: 96px 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .container {
    padding: 0 18px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
  }

  .nav-brand {
    width: 100%;
    justify-content: space-between;
  }

  .logo-img {
    height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding: 12px 0 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    align-self: flex-end;
    text-align: right;
    transform: translateY(-8px);
    transition: max-height 0.3s ease, opacity 0.2s ease, transform 0.3s ease;
  }

  .nav-links a {
    margin-left: 0;
    padding: 6px 0;
  }

  .nav-links.is-open {
    max-height: 240px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    border-top: 1px solid var(--border-soft);
  }

  .hero {
    padding: 72px 0;
  }

  .hero-main h1 {
    font-size: 2.4rem;
    line-height: 1.15;
  }

  .hero-main p {
    font-size: 1.05rem;
    margin-bottom: 32px;
  }

  .section {
    padding: 72px 0;
  }

  .section + .section {
    padding-top: 24px;
  }

  .section h2 {
    font-size: 2.2rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .approach-body {
    margin-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .hero-main h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ================= PAGE-SPECIFIC TIGHTENING ================= */

/* Remove excess space between intro and grid on Who We Serve */
.section-tight-bottom {
  padding-bottom: 20px;
}

.who-grid-section {
  padding-top: 20px;
}

.approach-body {
  margin-top: 40px;
  line-height: 1.7;
  margin-bottom: 120px;
}
