/* ============================================================
   Bruce Heissenbuettel — Cornerstone Real Estate
   Design system: deep navy / warm cream / cornerstone blue
   Type: Fraunces (display) + Inter (text)
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1c1c1e;
  --navy-800: #262628;
  --navy-700: #333335;
  --blue: #c4122f;
  --blue-bright: #e0455c;
  --cream: #faf7f1;
  --sand: #f1ebe0;
  --ink: #1a2333;
  --ink-soft: #4c5a70;
  --line: rgba(28, 28, 30, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --white-soft: rgba(255, 255, 255, 0.82);
  --serif: 'Fraunces', 'Georgia', serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 24px 60px -18px rgba(28, 28, 30, 0.35);
  --shadow-md: 0 14px 34px -14px rgba(28, 28, 30, 0.25);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--blue); color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wrap-wide { max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.d1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); font-weight: 480; }
.d2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 500; }
.d3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.em { font-style: italic; font-weight: 400; }
.on-dark { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1.5px;
  background: var(--blue);
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: '';
  width: 34px;
  height: 1.5px;
  background: var(--blue);
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 60ch;
}
.on-dark-soft { color: var(--white-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(196, 18, 47, 0.55);
}
.btn-blue:hover { background: #0d99f2; box-shadow: 0 18px 36px -10px rgba(196, 18, 47, 0.6); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(28, 28, 30, 0.28);
}
.btn-ghost-dark:hover { border-color: var(--navy); background: rgba(28, 28, 30, 0.04); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(28, 28, 30, 0.3);
  padding: 10px 0;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 44px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 550;
  color: #fff;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue-bright);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  color: #fff;
  font-weight: 650;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-phone svg { opacity: 0.8; }
.nav-btn { padding: 11px 22px; font-size: 0.86rem; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 120;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s;
}
.mobile-menu.open a { transform: translateY(0); opacity: 1; }
.mobile-menu a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu .mobile-phone {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--blue-bright);
  border: 0;
  margin-top: 18px;
  font-weight: 650;
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (video) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}
.hero video, .hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(28, 28, 30, 0.55) 0%, rgba(28, 28, 30, 0.28) 42%, rgba(28, 28, 30, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 24px 90px;
  max-width: 920px;
}
.hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 26px;
  display: block;
}
.hero-eyebrow .dot { color: var(--blue-bright); margin: 0 10px; }
.hero h1 { color: #fff; }
.hero .lede {
  color: rgba(255, 255, 255, 0.88);
  margin: 26px auto 38px;
  max-width: 56ch;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  margin-top: 52px;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 46px);
  flex-wrap: wrap;
}
.hero-badge {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-badge .star { color: #f6c65b; letter-spacing: 2px; }
.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
}
.scroll-cue::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: cue 2s infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.page-hero .hero-img, .page-hero video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(28, 28, 30, 0.5), rgba(28, 28, 30, 0.24) 45%, rgba(28, 28, 30, 0.85));
}
.page-hero .hero-content {
  text-align: left;
  padding: 170px clamp(20px, 4vw, 48px) 70px;
  max-width: none;
  width: 100%;
}
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lede { color: rgba(255,255,255,0.88); margin: 20px 0 0; }
.page-hero .eyebrow { color: var(--blue-bright); }
.page-hero .eyebrow::before { background: var(--blue-bright); }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 9vw, 130px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 18px; }
.bg-navy { background: var(--navy); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .lede { color: var(--white-soft); }
.bg-sand { background: var(--sand); }
.tight-top { padding-top: 0; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--navy);
  padding: 0;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-light);
}
.stat {
  padding: clamp(34px, 4vw, 56px) clamp(18px, 3vw, 44px);
  border-right: 1px solid var(--line-light);
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 480;
  color: #fff;
  line-height: 1;
}
.stat-num .accent { color: var(--blue-bright); }
.stat-label {
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Pillars (The Bruce Difference) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(30px, 3.4vw, 46px);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 22px;
  display: block;
}
.pillar h3 { font-size: 1.5rem; margin-bottom: 14px; }
.pillar p { color: var(--ink-soft); font-size: 0.99rem; }
.pillar-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(196, 18, 47, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--blue);
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.tall { aspect-ratio: 4 / 4.6; }
.split .checklist { margin-top: 26px; }
.checklist li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  align-items: flex-start;
}
.checklist li strong { color: var(--navy); font-weight: 600; }
.check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(196, 18, 47, 0.12);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 3px;
}

/* ---------- Portrait panel (about hero / home intro) ---------- */
.portrait-panel {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(196, 18, 47, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy) 70%);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
}
.portrait-copy { padding: clamp(36px, 5vw, 72px); align-self: center; }
.portrait-copy h2 { color: #fff; }
.portrait-copy .lede { color: var(--white-soft); margin-top: 18px; }
.portrait-img-wrap {
  position: relative;
  align-self: end;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 0;
}
.portrait-img-wrap::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 18, 47, 0.35), rgba(196, 18, 47, 0.06) 65%, transparent 72%);
}
.portrait-img-wrap img {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

/* ---------- Community cards ---------- */
.comm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}
.comm-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
}
.comm-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.comm-card:hover img { transform: scale(1.06); }
.comm-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 30, 0.88) 0%, rgba(28, 28, 30, 0.18) 55%, rgba(28, 28, 30, 0.12));
  transition: background 0.4s;
}
.comm-info { position: relative; z-index: 2; padding: 26px 28px; width: 100%; }
.comm-info h3 { color: #fff; font-size: 1.55rem; margin-bottom: 4px; }
.comm-info p { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.comm-tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.comm-card.featured { grid-row: span 2; aspect-ratio: auto; }

/* ---------- Testimonials ---------- */
.quote-mark {
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--blue);
  opacity: 0.35;
  display: block;
  margin-bottom: 20px;
}
.testimonial-slider { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.t-slide { display: none; animation: fadeUp 0.7s var(--ease); }
.t-slide.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.t-quote {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 420;
  line-height: 1.42;
  color: #fff;
}
.t-name {
  margin-top: 28px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.t-stars { color: #f6c65b; letter-spacing: 4px; margin-top: 10px; font-size: 0.95rem; }
.t-nav { display: flex; justify-content: center; gap: 10px; margin-top: 38px; }
.t-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.t-dot.active { background: var(--blue-bright); transform: scale(1.35); }

/* Review cards (about page) */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
}
.review-card .t-stars { margin: 0 0 16px; color: #e8a93c; }
.review-card p { color: var(--ink-soft); font-size: 1rem; font-style: italic; }
.review-card .t-name { color: var(--blue); margin-top: 18px; }

/* ---------- Process / timeline ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(30px, 3.6vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--blue);
  line-height: 1;
}
.step h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 10px; }
.step p { color: var(--ink-soft); max-width: 62ch; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  color: var(--navy);
  padding: 26px 48px 26px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.35;
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blue);
  transition: transform 0.35s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a p { color: var(--ink-soft); padding: 0 0 28px; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  text-align: center;
}
.cta-band video, .cta-band .cta-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 50% 100%, rgba(196, 18, 47, 0.25), transparent 65%);
}
.cta-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.cta-inner h2 { color: #fff; }
.cta-inner .lede { color: var(--white-soft); margin: 20px auto 36px; }
.cta-phone-line {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}
.cta-phone-line a { color: var(--blue-bright); font-weight: 650; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card .pillar-icon { margin: 0 auto 20px; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.contact-card p { color: var(--ink-soft); font-size: 0.94rem; }
.contact-card a.big {
  display: block;
  margin-top: 12px;
  font-size: 1.14rem;
  font-weight: 650;
  color: var(--blue);
}
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(30px, 4vw, 56px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(196, 18, 47, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.hours-table { width: 100%; margin-top: 8px; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; color: var(--navy); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(60px, 7vw, 90px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand img { height: 60px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col a, .footer-col li {
  display: block;
  padding: 6px 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--blue-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 30px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}
.footer-legal { display: flex; align-items: center; gap: 16px; }
.eho { display: flex; align-items: center; gap: 10px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Marquee band ---------- */
.marquee-band {
  background: var(--blue);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 28px;
}
.marquee-track .sep { opacity: 0.5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .split, .portrait-panel { grid-template-columns: 1fr; }
  .portrait-img-wrap { order: -1; padding-top: 40px; }
  .comm-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); }
  .stat { border-bottom: 1px solid var(--line-light); }
}
@media (max-width: 680px) {
  .pillars, .comm-grid, .contact-grid, .review-grid, .form-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; }
  .nav-btn { display: none; }
  .hero-badges { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
  .brand-name { font-size: 1rem; }
}
