/* ============================================================
   KEVCO BUILDERS — REDESIGN MOCKUP
   Palette: Deep Navy + Kevco Burgundy + Gold text on dark BGs
   Rule: Burgundy = buttons/accents/borders
          Gold    = text/eyebrows/stats that sit on dark/navy BGs
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --navy:        #0D1B2A;
  --navy-mid:    #162233;
  --navy-light:  #1E3048;
  --burgundy:    #7B1A2E;
  --burgundy-dk: #5C1221;
  --burgundy-lt: #9B2040;
  /* Gold — used for text/eyebrows that sit on dark/navy backgrounds */
  --gold:        #C9A84C;
  --gold-lt:     #DFC070;
  --gold-dk:     #A8872E;
  --cream:       #F8F4EF;
  --cream-dk:    #EDE8E0;
  --white:       #FFFFFF;
  --text-dark:   #1A1A1A;
  --text-mid:    #444444;
  --text-light:  #777777;
  --border:      #E2DDD8;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.18);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --max-w: 1200px;
  --section-pad: 96px 24px;
}

/* ---------- 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-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ---------- UTILITY ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-primary:hover {
  background: var(--burgundy-dk);
  border-color: var(--burgundy-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(123,26,46,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-outline:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,27,42,.35);
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: box-shadow .3s ease;
  /* Needed so mix-blend-mode on .logo-img composites against
     the header's navy background, not the white viewport */
  isolation: isolate;
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.header-top-bar {
  background: var(--burgundy);
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: .78rem;
  color: rgba(255,255,255,.9);
}
.header-top-bar a { color: inherit; opacity: .9; }
.header-top-bar a:hover { opacity: 1; }
.top-bar-sep { opacity: .4; }

.header-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  gap: 0;
  line-height: 1;
  flex-shrink: 0;
}
/* Logo image — your actual logo file, no SVG redraw */
.logo-img {
  display: block;
  height: 53px;
  width: auto;
  /* Lighten blend: dark pixels disappear into the dark navy header,
     white and gold pixels remain fully visible. Works without
     needing a transparent PNG. */
  mix-blend-mode: lighten;
}
/* Hide legacy SVG / span elements if any remain */
.site-logo svg,
.logo-mark, .logo-text-wrap,
.logo-wordmark, .logo-tagline { display: none; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.site-nav .nav-cta {
  background: var(--burgundy);
  color: var(--white);
  padding: 9px 20px;
  margin-left: 8px;
}
.site-nav .nav-cta:hover { background: var(--burgundy-dk); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease;
}

/* ---------- HERO — HYBRID (copy left / photo-timeline right) ---------- */
.hero-section {
  background: var(--navy);
  padding-top: 95px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 40px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  min-height: calc(100vh - 95px);
}

/* ===================== LEFT COLUMN ===================== */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--burgundy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  width: fit-content;
  margin-bottom: 24px;
}
.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: normal;
  color: var(--gold-lt);
}

.hero-body {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* Stats bar below CTAs */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-item {
  text-align: center;
  padding: 16px 10px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .65rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  letter-spacing: .03em;
  line-height: 1.4;
}

/* ===================== RIGHT COLUMN — 2×2 Photo Grid ===================== */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  /* Top offset matches badge height so the process grid top aligns with the headline */
  margin-top: 52px;
}

.hero-timeline-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}
.hero-timeline-label span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.hero-timeline-rule {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
}

/* 2 × 2 card grid */
.htl {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Each card */
.htl-step {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, background .25s, transform .25s;
}
.htl-step:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.htl-step--last {
  border-color: rgba(201,168,76,.3);
  background: rgba(201,168,76,.06);
}
.htl-step--last:hover {
  border-color: rgba(201,168,76,.5);
  background: rgba(201,168,76,.1);
}

/* Photo at top of card */
.htl-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.htl-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}
.htl-step:hover .htl-img-wrap img { transform: scale(1.06); }

/* Number badge — centered over photo */
.htl-img-wrap { position: relative; } /* stacking context for badge */

.htl-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  font-size: .68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,.5);
  border: 2px solid rgba(255,255,255,.4);
  pointer-events: none;
}
.htl-num--gold {
  background: var(--gold-dk);
  color: var(--navy);
  border-color: rgba(201,168,76,.6);
}
.htl-connector { display: none; } /* no longer used */
.htl-line { display: none; }

/* Text below photo */
.htl-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
  flex: 1;
}

.htl-title {
  font-family: var(--font-head);
  font-size: .84rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}
.htl-title--gold { color: var(--gold-lt); }

.htl-desc {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

/* Warranty pill on step 4 */
.htl-warranty-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 20px;
  padding: 3px 9px;
  font-size: .6rem;
  font-weight: 700;
  color: var(--gold-lt);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-item svg {
  width: 18px; height: 18px;
  color: var(--burgundy);
  flex-shrink: 0;
}
.trust-divider { color: var(--border); font-size: 1.2rem; }

/* ---------- WHY KEVCO SECTION ---------- */
.why-section { padding: var(--section-pad); background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.why-card {
  padding: 36px 28px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border-top: 4px solid var(--burgundy);
  transition: box-shadow .3s ease, transform .3s ease;
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px; height: 52px;
  background: var(--burgundy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg { width: 24px; height: 24px; color: var(--white); }

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}
.why-card p { font-size: .9rem; color: var(--text-mid); line-height: 1.7; }

/* ---------- PROCESS SECTION ---------- */
.process-section {
  padding: var(--section-pad);
  background: var(--navy);
}
.process-section .eyebrow { color: var(--gold); }
.process-section .section-title { color: var(--white); }
.process-section .section-subtitle { color: rgba(255,255,255,.65); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 0px);
  right: calc(12.5% + 0px);
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy-lt) 100%);
  opacity: .5;
}

.process-step { text-align: center; padding: 0 16px; position: relative; }

.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(123,26,46,.2), 0 0 0 12px rgba(123,26,46,.08);
}
.step-num-inner {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  font-family: var(--font-head);
}
.step-body { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.7; }

/* ---------- FLOOR PLANS SECTION ---------- */
.plans-section { padding: var(--section-pad); background: var(--cream); }

.plans-tabs {
  display: flex;
  gap: 4px;
  background: var(--white);
  padding: 4px;
  border-radius: var(--radius-md);
  width: fit-content;
  margin: 32px auto 48px;
  box-shadow: var(--shadow-sm);
}
.plans-tab {
  padding: 10px 24px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-mid);
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  background: none;
  font-family: var(--font-body);
}
.plans-tab.active {
  background: var(--burgundy);
  color: var(--white);
}
.plans-tab:not(.active):hover { background: var(--cream-dk); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, transform .3s ease;
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.plan-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--cream-dk);
}
.plan-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.plan-card:hover .plan-card-image img { transform: scale(1.06); }

.plan-series-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--burgundy);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
}

.plan-card-body { padding: 20px 22px 24px; }

.plan-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.plan-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--text-mid);
  font-weight: 500;
}
.spec-item svg { width: 14px; height: 14px; color: var(--burgundy); flex-shrink: 0; }

.plan-sqft {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.plan-card-footer { display: flex; justify-content: space-between; align-items: center; }
.plan-price { font-size: .78rem; color: var(--text-light); }
.plan-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 4px;
}
.plan-link:hover { color: var(--burgundy-dk); }

.plans-cta-wrap { text-align: center; margin-top: 48px; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { padding: var(--section-pad); background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  border-bottom: 4px solid var(--burgundy);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star { color: var(--gold); font-size: 1rem; }

.testimonial-quote {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-quote::before { content: '\201C'; font-size: 2.5rem; color: var(--gold); opacity: .35; line-height: 0; vertical-align: -20px; margin-right: 4px; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
.author-detail { font-size: .75rem; color: var(--text-light); }

/* ---------- COMMUNITIES ---------- */
.communities-section { padding: var(--section-pad); background: var(--cream); }

.communities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.community-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, transform .3s ease;
  display: flex;
  flex-direction: column;
}
.community-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.community-image {
  height: 220px;
  overflow: hidden;
  background: var(--navy-light);
  position: relative;
  flex-shrink: 0;
}
.community-image img { width: 100%; height: 100%; object-fit: cover; }

/* Badge overlaid on community image */
.community-image-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--burgundy);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 40px;
}

.community-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Push the CTA button(s) to the bottom of every card */
.community-body > a.btn,
.community-body > div:last-child { margin-top: auto; }

.community-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.community-location {
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 500;
}
.community-desc { font-size: .88rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 12px; }
.community-tag {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 4px 12px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- AWARDS STRIP ---------- */
/* ---------- COMMUNITY GIVING ---------- */
.giving-section {
  background: var(--navy);
  padding: 96px 24px;
}
.giving-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.giving-copy .eyebrow { color: var(--gold); }
.giving-copy .section-title { color: var(--white); }
.giving-copy .section-subtitle { color: rgba(255,255,255,.7); margin-bottom: 32px; }

.giving-quote {
  border-left: 3px solid var(--gold-dk);
  padding: 16px 0 16px 20px;
  margin: 0 0 32px;
}
.giving-quote p {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}
.giving-quote cite {
  font-size: .75rem;
  color: var(--gold);
  font-style: normal;
  display: block;
  margin-top: 10px;
  letter-spacing: .04em;
}

.giving-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Outline button for dark backgrounds */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.25);
  color: var(--white);
  background: transparent;
  transition: border-color .2s, background .2s;
  text-decoration: none;
}
.btn-outline-dark:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.07);
}

/* Giving card */
.giving-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.giving-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold-dk));
}
.giving-card-body {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.giving-icon {
  width: 52px;
  height: 52px;
  background: var(--burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.giving-icon svg { width: 24px; height: 24px; }
.giving-card-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.giving-card-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}
.giving-pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.giving-pillars li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
}
.giving-pillars li svg { color: var(--gold); flex-shrink: 0; }
.giving-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold-lt);
  text-decoration: none;
  margin-top: 4px;
  transition: color .2s;
}
.giving-link:hover { color: var(--white); }

/* ---------- AWARDS ---------- */
.awards-section {
  background: var(--cream);
  padding: 88px 24px;
  border-top: 1px solid var(--border);
}
.awards-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.awards-header {
  text-align: center;
}
.awards-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 10px;
}
.awards-title em {
  font-style: normal;
  color: var(--burgundy-lt);
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
}
.award-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.award-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.award-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold-dk));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.award-card-year {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dk);
}
.award-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--burgundy-dk), var(--burgundy-lt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.award-card-icon svg { width: 22px; height: 22px; }
.award-card-name {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.award-card-honor {
  font-size: .72rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--burgundy-dk) 0%, var(--burgundy) 50%, var(--burgundy-lt) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%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/g%3E%3C/svg%3E");
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-banner .btn { position: relative; }
.cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-white {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

/* ---------- LEAD FORM SECTION ---------- */
.contact-form-section { padding: var(--section-pad); background: var(--white); }

.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}

.contact-info-col {}
.contact-reason-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-reason {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.reason-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reason-icon svg { width: 18px; height: 18px; color: var(--burgundy); }
.reason-text h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.reason-text p { font-size: .82rem; color: var(--text-mid); }

.contact-detail-block { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--text-mid);
}
.detail-row svg { width: 18px; height: 18px; color: var(--burgundy); flex-shrink: 0; }
.detail-row a { color: var(--burgundy); font-weight: 600; }
.detail-row a:hover { color: var(--burgundy-dk); }

.lead-form-col {}
.lead-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.lead-form h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.lead-form p { font-size: .88rem; color: var(--text-mid); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  transition: border-color .2s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--burgundy); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

.form-consent { font-size: .78rem; color: var(--text-light); margin-bottom: 20px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 16px; font-size: .95rem; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); }

.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand-col {}
.footer-logo-word {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-logo-tag {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burgundy-lt);
  margin-bottom: 16px;
  display: block;
}
.footer-brand-desc { font-size: .85rem; line-height: 1.7; max-width: 260px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all .2s ease;
  font-size: .9rem;
}
.social-icon:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color .2s ease;
}
.footer-col ul li a:hover { color: var(--burgundy-lt); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }
.footer-lic { font-size: .72rem; color: rgba(255,255,255,.3); margin-top: 4px; }

/* ---------- MOBILE STICKY CTA ---------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--navy);
  border-top: 2px solid var(--burgundy);
  padding: 12px 20px;
  gap: 10px;
}
.mobile-sticky-cta .btn { flex: 1; justify-content: center; padding: 13px; font-size: .85rem; }

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

/* ---------- ABOUT PAGE EXTRAS ---------- */
.about-hero {
  background: var(--navy);
  padding: 120px 24px 80px;
  text-align: center;
}
.about-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); }
.about-hero p { color: rgba(255,255,255,.7); max-width: 560px; margin: 20px auto 0; font-size: 1.05rem; }

.about-story-section { padding: var(--section-pad); background: var(--white); }

/* Two-column grid — stays two columns all the way down to 480 px */
.about-story-grid {
  display: grid;
  grid-template-columns: 280px 1fr;   /* fixed portrait width + flexible text */
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 860px) {
  .about-story-grid { grid-template-columns: 220px 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Portrait card ── */
.about-story-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;          /* never squish the portrait column */
}
/* Off-white framed portrait */
.president-portrait-frame {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 20px 0;
  box-shadow: var(--shadow-md);
  width: 100%;
  position: relative;
  overflow: hidden;
}
/* Subtle Kevco watermark behind the photo */
.president-portrait-frame::before {
  content: 'KB';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(123,26,46,.05);
  letter-spacing: .1em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.president-portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  position: relative;  /* sits above the ::before watermark */
}
/* Logo wordmark strip in the cream padding area above the photo */
.portrait-logo-strip {
  text-align: center;
  padding: 10px 0 14px;
  font-family: var(--font-head);
  font-size: .75rem;
  color: var(--burgundy);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}
/* Navy nameplate below photo, inside the frame */
.president-nameplate {
  background: var(--navy);
  border-top: 3px solid var(--burgundy);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.president-name {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}
.president-title-line {
  font-size: .62rem;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}
.president-creds {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  line-height: 1.45;
}
/* Burgundy accent line to the right of the card */
.about-story-img::after { display: none; }

.core-values-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.core-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cv-icon {
  width: 32px; height: 32px;
  background: var(--burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.cv-icon svg { width: 14px; height: 14px; color: var(--white); }
.cv-text h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.cv-text p { font-size: .85rem; color: var(--text-mid); }

.team-section { padding: var(--section-pad); background: var(--cream); }

/* Horizontal cards — one per row, centered */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 56px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  border-left: 4px solid var(--burgundy);
}
/* Portrait column */
.team-card-img {
  width: 220px;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
  background: var(--navy-mid);
  position: relative;
  flex-shrink: 0;
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(15%);
  transition: filter .3s;
}
.team-card:hover .team-card-img img { filter: grayscale(0%); }
/* Burgundy gradient at bottom of portrait */
.team-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(13,27,42,.55), transparent);
  pointer-events: none;
}
/* Text column */
.team-card-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.team-card-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.team-card-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 14px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.team-card-title::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--burgundy);
  border-radius: 1px;
  flex-shrink: 0;
}
.team-card-bio {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.75;
}
/* Credential tags under bio */
.team-card-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.team-cred-tag {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
}
@media (max-width: 640px) {
  .team-card { grid-template-columns: 1fr; border-left: none; border-top: 4px solid var(--burgundy); }
  .team-card-img { width: 100%; min-height: 220px; }
  .team-card-img::after { display: none; }
  .team-card-body { padding: 22px 22px 26px; }
}

/* ---------- FLOOR PLANS PAGE EXTRAS ---------- */
.plans-hero {
  background: var(--navy);
  padding: 120px 24px 80px;
  text-align: center;
}
.plans-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); }
.plans-hero p { color: rgba(255,255,255,.7); max-width: 600px; margin: 20px auto 0; font-size: 1.05rem; }

.filter-section {
  background: var(--white);
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 95px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.filter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-label { font-size: .8rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.filter-select {
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  outline: none;
}
.filter-select:focus { border-color: var(--burgundy); }
.filter-search {
  flex: 1;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .85rem;
  outline: none;
  min-width: 180px;
}
.filter-search:focus { border-color: var(--burgundy); }
.filter-btn { padding: 9px 20px; }

/* ---------- COMMUNITIES PAGE EXTRAS ---------- */
.communities-hero {
  background: var(--navy);
  padding: 120px 24px 80px;
  text-align: center;
}
.communities-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); }
.communities-hero p { color: rgba(255,255,255,.7); max-width: 600px; margin: 20px auto 0; font-size: 1.05rem; }

.price-range-bar {
  background: var(--burgundy);
  padding: 20px 24px;
  text-align: center;
  color: var(--white);
}
.price-range-bar p { font-size: .95rem; font-weight: 600; }
.price-range-bar strong { font-size: 1.1rem; }

/* ---------- CONTACT PAGE EXTRAS ---------- */
.contact-hero {
  background: var(--navy);
  padding: 120px 24px 80px;
  text-align: center;
}
.contact-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); }
.contact-hero p { color: rgba(255,255,255,.7); max-width: 520px; margin: 20px auto 0; font-size: 1.05rem; }

.contact-options-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-option {
  background: var(--white);
  padding: 32px 28px;
  text-align: center;
  transition: background .2s ease;
}
.contact-option:hover { background: var(--cream); }
.co-icon {
  width: 56px; height: 56px;
  background: var(--burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.co-icon svg { width: 24px; height: 24px; color: var(--white); }
.contact-option h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.contact-option p { font-size: .85rem; color: var(--text-mid); margin-bottom: 12px; }
.contact-option a {
  font-size: .9rem;
  font-weight: 700;
  color: var(--burgundy);
}

.faq-section { padding: var(--section-pad); background: var(--white); }
.faq-list { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s ease;
}
.faq-question:hover { background: var(--cream); }
.faq-question svg { width: 20px; height: 20px; color: var(--burgundy); transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
  padding: 0 24px;
  background: var(--cream);
}
.faq-item.open .faq-answer { max-height: 300px; padding: 16px 24px; }

/* ============================================================
   GOLD TEXT ON DARK BACKGROUNDS — additional instances
   ============================================================ */

/* footer logo tagline (on navy) */
.footer-logo-tag { color: var(--gold) !important; margin-bottom: 18px; }

/* footer social hover accent */
.social-icon:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }

/* Dark-section eyebrows that previously used burgundy-lt */
.about-hero .eyebrow,
.plans-hero .eyebrow,
.communities-hero .eyebrow,
.contact-hero .eyebrow,
.process-section .eyebrow,
.awards-section .eyebrow,
.cta-banner .eyebrow { color: var(--gold); }

/* Any .eyebrow sitting inside navy/dark containers → gold */
[class*="-hero"] .eyebrow,
.process-section .eyebrow,
.hero-inner .eyebrow { color: var(--gold); }

/* Hero stats bar numbers */
.stat-num { color: var(--gold); }

/* Blueprint panel dot indicator */
.blueprint-label::before { background: var(--gold); }

/* Blueprint SVG strokes — keep burgundy (it's a design element not text) */

/* Override any inline burgundy-lt on dark/navy backgrounds */
[style*="color:var(--burgundy-lt)"] { color: var(--gold) !important; }

/* Footer nav link hover → use gold tint not burgundy-lt */
.footer-col ul li a:hover { color: var(--gold-lt); }

/* Stat numbers on navy/hero are gold */
.stat-num { color: var(--gold) !important; }

/* Community tag text: on cream bg stays burgundy; on navy bg → gold */
.price-range-bar strong { color: var(--gold); }

/* Ensure hero headline emphasis is always gold-lt */
.hero-headline em { color: var(--gold-lt); font-style: normal; }

/* ============================================================
   FULLY RESPONSIVE — Tablet, Mobile, Small Mobile
   ============================================================ */

/* ---- 1280px: Wide Tablet / Small Desktop ---- */
@media (max-width: 1280px) {
  .hero-inner { padding: 60px 36px 52px; }
  .hero-headline { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
}

/* ---- 1024px: Tablet Landscape ---- */
@media (max-width: 1024px) {
  /* Hero: stack vertically */
  /* Hero — tablet landscape */
  .hero-inner { padding: 56px 32px 48px; gap: 40px; }
  .hero-right { margin-top: 40px; }
  .hero-top { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 40px;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 24px;
    width: 100%;
  }
  .hero-steps-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .hstep-arrow { display: none; }

  /* Grids */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .communities-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .awards-grid { grid-template-columns: repeat(3, 1fr); }
  .giving-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Layout */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-form-layout { grid-template-columns: 1fr; gap: 40px; }
  /* about-story-grid breakpoints are handled in the component rules */

  /* Filter bar */
  .filter-inner { gap: 10px; }
  .filter-search { min-width: 140px; }

  /* Top bar */
  .header-top-bar { justify-content: center; font-size: .72rem; gap: 12px; flex-wrap: wrap; }
}

/* ---- 768px: Tablet Portrait / Large Mobile ---- */
@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }

  /* Header */
  .header-top-bar { padding: 6px 16px; gap: 10px; }
  .header-top-bar .top-bar-sep { display: none; }
  .header-top-bar span:not(:first-child):not(.top-bar-sep) { display: none; }
  .header-main { padding: 0 16px; height: 64px; }
  .logo-wordmark { font-size: 1.25rem; }
  .logo-tagline { font-size: .58rem; margin-top: 5px; }
  .logo-img { height: 38px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero — stack to single column on mobile */
  .hero-section { padding-top: 80px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 36px 20px 48px;
    gap: 40px;
    align-items: start;
    min-height: unset;
  }
  .hero-right { margin-top: 0; }
  .hero-headline { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .hero-body { font-size: .95rem; max-width: 100%; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Stats — 2×2 grid on mobile */
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-num { font-size: 1.6rem; }

  /* 2×2 step cards collapse to single column */
  .htl { grid-template-columns: 1fr; }
  .hero-steps-row { grid-template-columns: 1fr; }

  /* Sections */
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .plans-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .communities-grid { grid-template-columns: 1fr; }
  .contact-options-row { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .giving-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { max-width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Trust bar */
  .trust-divider { display: none; }
  .trust-bar-inner { justify-content: flex-start; gap: 10px; }
  .trust-item { font-size: .78rem; }

  /* Filter bar */
  .filter-section { position: relative; top: auto; }
  .filter-inner { flex-direction: column; align-items: stretch; }
  .filter-select, .filter-search { width: 100%; }
  .filter-btn { width: 100%; justify-content: center; }

  /* Forms */
  .lead-form { padding: 24px 18px; }
  .contact-form-layout { gap: 32px; }

  /* CTA */
  .cta-banner { padding: 56px 20px; }
  .cta-banner h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .cta-banner-btns .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Footer */
  .footer-main { padding: 48px 20px 32px; }
  .footer-social { gap: 8px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-legal { justify-content: center; }

  /* Mobile sticky CTA */
  .mobile-sticky-cta { display: flex; }

  /* Plans tabs */
  .plans-tabs { width: 100%; }
  .plans-tab { flex: 1; padding: 10px 12px; font-size: .8rem; }

  /* Awards */
  .awards-inner { gap: 20px; }
  .award-label { font-size: .62rem; max-width: 70px; }

  /* Process steps */
  .step-num { width: 60px; height: 60px; }
  .step-num-inner { font-size: 1.3rem; }

  /* About page — portrait card handled by component rules */

  /* Team — mobile: already handled in team-card rule itself */

  /* Contact options */
  .contact-option { padding: 24px 20px; }

  /* Price range bar */
  .price-range-bar p { font-size: .82rem; }

  /* Upgrades grid */
  .upgrades-grid { grid-template-columns: 1fr !important; }

  /* FAQ */
  .faq-question { padding: 16px 18px; font-size: .88rem; }

  /* Section padding */
  .about-hero, .plans-hero, .communities-hero, .contact-hero {
    padding: 100px 20px 56px;
  }
}

/* ---- 480px: Small Mobile ---- */
@media (max-width: 480px) {
  :root { --section-pad: 48px 16px; }

  .container { padding: 0 16px; }
  .header-main { padding: 0 16px; }
  .logo-wordmark { font-size: 1.1rem; }
  .logo-tagline { display: none; }
  .logo-img { height: 34px; }

  .hero-section { padding-top: 76px; }
  .hero-inner { padding: 28px 16px 40px; min-height: unset; }
  .hero-headline { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero-stats { gap: 0; grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: .65rem; }

  .hero-badge { font-size: .65rem; padding: 5px 10px; }

  .section-title { font-size: clamp(1.4rem, 5vw, 1.9rem); }

  .why-card { padding: 24px 20px; }
  .why-icon { width: 44px; height: 44px; }

  .plan-card-image { height: 170px; }

  .lead-form { padding: 20px 14px; border-radius: var(--radius-md); }
  .lead-form h3 { font-size: 1.1rem; }

  .footer-main { padding: 40px 16px 28px; }
  .footer-logo-word { font-size: 1.3rem; }

  .mobile-sticky-cta { padding: 10px 12px; gap: 8px; }
  .mobile-sticky-cta .btn { font-size: .78rem; padding: 11px 10px; }

  /* Trust bar: show only 3 items */
  .trust-bar { padding: 14px 16px; }
  .trust-item { font-size: .74rem; gap: 6px; }
  .trust-item svg { width: 15px; height: 15px; }

  .cta-banner { padding: 40px 16px; }

  .contact-option { padding: 20px 16px; }

  .faq-answer { font-size: .85rem; }

  /* Awards: 2-column on small mobile */
  .awards-inner { gap: 14px; justify-content: center; }
  .award-badge { width: calc(50% - 14px); }
}

/* ---- Print ---- */
@media print {
  .site-header, .mobile-sticky-cta, .cta-banner, footer { display: none; }
  body { font-size: 12pt; color: #000; }
  .hero-section { min-height: auto; padding-top: 0; }
}
