/* ============================================================
   LGA Home Builders — Stylesheet
   Faithful to reference design: gray canvas, rounded card
   blocks, greige hero, semibold two-tone display type,
   orange circular accents, small-scale UI text.
   ============================================================ */

:root {
  --canvas: #d8d7d1;          /* page surround */
  --hero-bg: #e8e7e1;         /* greige hero panel */
  --band-bg: #eeedea;         /* light gray band */
  --surface: #ffffff;
  --ink: #171716;
  --ink-soft: #4c4b47;
  --dim: #b8b7b1;             /* two-tone headline gray */
  --muted: #8f8e88;           /* body gray */
  --line: #ecebe7;
  --accent: #f5a31a;
  --accent-deep: #e08c07;
  --accent-tint: #fdf0da;
  --radius-block: 36px;
  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 16px 32px -18px rgba(0, 0, 0, 0.10);
  --font: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 0.95rem; }

.container { width: min(1200px, 93%); margin-inline: auto; }

/* Every major block is a rounded card on the gray canvas */
section {
  background: var(--surface);
  padding: 88px 0;
}
.section-alt { background: var(--band-bg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; }
.brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  color: var(--accent);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand span em { font-style: normal; }

.main-nav { display: flex; gap: 28px; font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); }
.main-nav a { padding: 4px 0; transition: color .2s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 20px; }
.header-phone { font-weight: 500; font-size: 0.82rem; color: var(--ink-soft); }
.header-phone strong { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: 600; font-size: 0.88rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 40px -20px rgba(0,0,0,.18); }
.btn-dark:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 20px 40px -20px rgba(224,140,7,.45); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid #dddcd6; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 20px; font-size: 0.8rem; }

.nav-toggle { display: none; background: none; border: none; width: 40px; height: 40px; border-radius: 50%; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--hero-bg);
  margin: 0 14px;
  border-radius: 26px;
  clip-path: polygon(0 0, calc(100% - 310px) 0, calc(100% - 258px) 54px, 100% 54px, 100% 100%, 0 100%);
  padding: 72px 0 0;
  overflow: hidden;
  position: relative;
}

.hero-grid { position: relative; min-height: 560px; padding-bottom: 88px; }
.hero-grid > div:first-child { position: relative; z-index: 2; max-width: 540px; }
.hero-grid h1.display { width: 138%; max-width: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); }

h1.display {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
h1.display .dim { color: var(--dim); }

.lede { font-size: 0.98rem; color: var(--muted); max-width: 44ch; margin-bottom: 30px; }

.hero-pills { display: flex; gap: 8px; margin-bottom: 14px; }
.pill {
  padding: 8px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.8rem;
  background: var(--surface); color: var(--muted);
  transition: .2s;
}
.pill.active { color: var(--ink); box-shadow: var(--shadow-soft); }
.pill:hover { color: var(--ink); }

.hero-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 7px 7px 7px 24px;
  box-shadow: var(--shadow-soft);
  max-width: 460px;
}
.hero-search input { flex: 1; border: none; outline: none; background: none; font-size: 0.88rem; color: var(--ink); }
.hero-search input::placeholder { color: var(--dim); }
.search-btn {
  width: 42px; height: 42px; border-radius: 50%; border: none; flex-shrink: 0;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-size: 1rem; transition: .2s;
}
.search-btn:hover { background: var(--accent-deep); }

.hero-quote {
  margin-top: 42px;
  position: relative;
  padding-left: 44px;
  color: var(--muted); font-size: 0.85rem; font-style: normal; max-width: 34ch;
  line-height: 1.7;
}
.hero-quote::before {
  content: "\201C";
  position: absolute; left: 0; top: -14px;
  font-size: 4.4rem; line-height: 1;
  color: #c9c8c1;
  font-family: Georgia, serif;
}
.hero-quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: 0.78rem; color: var(--ink); }

/* Hero visual — bleeds right & bottom, sits under the headline */
.hero-visual { position: absolute; right: -4%; bottom: 0; width: 63%; z-index: 1; }
.hero-visual .house-frame { background: transparent; }
.hero-visual .house-frame svg { width: 100%; height: auto; }

.float-card {
  position: absolute; right: 0; bottom: 34px;
  background: var(--surface);
  border-radius: 20px 0 0 20px;
  box-shadow: var(--shadow);
  padding: 20px 24px 22px;
  width: 272px;
}
.float-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.float-card p { font-size: 0.76rem; color: var(--muted); margin-bottom: 14px; line-height: 1.55; }
.float-card-row { display: flex; align-items: center; justify-content: space-between; }
.badge-price {
  background: var(--ink); color: #fff; font-weight: 600; font-size: 0.74rem;
  padding: 8px 16px; border-radius: var(--radius-pill);
}
.float-nav { display: flex; gap: 8px; }
.float-nav button {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e4e3dd;
  background: var(--surface); display: grid; place-items: center; font-size: 0.85rem; color: var(--ink-soft);
  transition: .2s;
}
.float-nav button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.float-nav button:hover { transform: translateY(-1px); }

/* ---------- Section headings ---------- */
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
h2.title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h2.title .dim { color: var(--dim); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Trust / stats ---------- */
.trust-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start;
  position: relative;
}
.trust-grid > div:first-child { padding-right: 56px; border-right: 1.5px solid #e7e6e1; }

.avatar-strip { display: flex; margin-top: 40px; margin-bottom: 20px; }
.avatar-strip .avatar { margin-right: -10px; border: 2.5px solid var(--surface); width: 40px; height: 40px; font-size: 0.72rem; }

.stats-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.stat h3 span { color: var(--ink); }
.stat p { color: var(--muted); font-size: 0.78rem; font-weight: 500; }

.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .25s, transform .25s;
}
.section-alt .feature-card { border-color: transparent; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 1.05rem;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.feature-card h3 .dim { color: var(--dim); font-weight: 600; }
.feature-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }
.feature-link { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.8rem; color: var(--ink); }
.feature-link:hover { gap: 12px; color: var(--accent-deep); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.section-alt .card { border-color: transparent; box-shadow: var(--shadow-soft); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hero-bg); }
.card-media svg { width: 100%; height: 100%; }
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  align-self: flex-start;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-tint);
  padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.card-body p { font-size: 0.84rem; color: var(--muted); flex: 1; line-height: 1.65; }
.card-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.card-foot .meta { font-size: 0.75rem; color: var(--dim); font-weight: 500; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 34px;
  position: relative;
}
.section-alt .testimonial { border-color: transparent; box-shadow: var(--shadow-soft); }
.testimonial::before {
  content: "\201C";
  position: absolute; top: 16px; right: 28px;
  font-size: 4rem; line-height: 1; color: #edece7; font-family: Georgia, serif;
}
.testimonial p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.75; }
.testimonial footer { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.82rem;
}
.avatar.orange { background: var(--accent); }
.avatar.g1 { background: #7d9a6a; } .avatar.g2 { background: #33566b; } .avatar.g3 { background: #c68d52; }
.testimonial footer strong { display: block; font-size: 0.86rem; font-weight: 600; }
.testimonial footer span { font-size: 0.74rem; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.82rem; }

/* ---------- Values ---------- */
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 32px 30px;
  transition: transform .25s, box-shadow .25s;
}
.section-alt .value-item { border-color: transparent; box-shadow: var(--shadow-soft); }
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; margin-bottom: 20px;
}
.value-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.value-item p { font-size: 0.84rem; color: var(--muted); line-height: 1.7; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 860px; margin-inline: auto; }
.team-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden;
  text-align: center; padding-bottom: 32px;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 4 / 3; background: var(--hero-bg); }
.team-photo svg { width: 100%; height: 100%; }
.team-card h3 { margin-top: 22px; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.team-card .role { color: var(--accent-deep); font-weight: 600; font-size: 0.76rem; margin-bottom: 12px; }
.team-card blockquote { padding: 0 30px; color: var(--muted); font-size: 0.85rem; line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 60px 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.cta-band h2 span { color: var(--dim); }
.cta-band p { color: #9d9c96; margin-top: 10px; max-width: 46ch; font-size: 0.9rem; }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  max-width: 920px; margin-inline: auto;
}
.filter-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  min-width: 170px;
  box-shadow: var(--shadow-soft);
  font-size: 0.84rem; font-weight: 500; color: var(--ink-soft);
}
.filter-item select {
  border: none; outline: none; background: none; width: 100%;
  font-weight: 500; color: var(--ink); font-size: 0.84rem;
}

/* ---------- Partners ---------- */
.partners { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.partner-chip {
  padding: 12px 26px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: 0.76rem; color: var(--dim);
  letter-spacing: 0.06em;
}
.section-alt .partner-chip { border-color: transparent; box-shadow: var(--shadow-soft); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 46px;
}
.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.76rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1.5px solid #eceae4;
  background: #faf9f6;
  outline: none;
  font-size: 0.88rem;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.74rem; color: var(--dim); margin-top: 14px; }
.form-success {
  display: none;
  background: #eef7ee; border: 1px solid #cde7cd; color: #23662a;
  border-radius: 14px; padding: 16px 20px; margin-top: 18px; font-weight: 500; font-size: 0.86rem;
}
.form-success.show { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: start; }
.info-tile {
  background: var(--surface);
  border-radius: var(--radius-card); padding: 24px 26px; margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
  display: flex; gap: 16px; align-items: flex-start;
}
.info-tile h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 2px; }
.info-tile p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
.info-tile a { color: var(--ink); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--hero-bg);
  margin: 0 14px;
  border-radius: 26px;
  clip-path: polygon(0 0, calc(100% - 310px) 0, calc(100% - 258px) 54px, 100% 54px, 100% 100%, 0 100%);
  padding: 76px 0 64px;
}
.page-hero .lede { margin-bottom: 0; }
.breadcrumb { font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 8px; color: var(--dim); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual { border-radius: 24px; overflow: hidden; background: var(--hero-bg); }
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.split p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
.signature { margin-top: 26px; font-weight: 700; font-size: 1rem; }
.signature small { display: block; font-weight: 500; color: var(--muted); font-size: 0.76rem; }

.checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 0.88rem; }
.check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 0.62rem; font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: #b6b5af;
  padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #2c2b28; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer p { font-size: 0.84rem; color: #8b8a84; }
.footer-col h4 { color: #fff; font-size: 0.86rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.84rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.74rem; color: #75746e; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding-top: 40px; clip-path: none; }
  .page-hero { clip-path: none; }
  .trust-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding-bottom: 32px; }
  .hero-grid > div:first-child { max-width: none; }
  .hero-grid h1.display { width: 100%; }
  .hero-visual { position: static; width: 100%; margin-top: 28px; }
  .trust-grid > div:first-child { padding-right: 0; border-right: none; }
  .card-grid, .value-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card { position: static; margin: 18px 0 0 auto; border-radius: 20px; width: min(320px, 100%); }
  .main-nav {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--surface);
    flex-direction: column; gap: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 24px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}

@media (max-width: 620px) {
  section { padding: 56px 0; }
  .hero, .page-hero { margin: 0 8px; border-radius: 18px; }
  .card-grid, .card-grid.two, .value-row, .testimonial-grid, .team-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .form-card { padding: 28px 22px; }
  .float-card { position: static; margin: 16px auto 24px; border-radius: 20px; width: min(320px, 100%); }
}


/* ---------- Premium icons ---------- */
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.feature-icon .icon { width: 20px; height: 20px; }
.search-btn .icon { width: 19px; height: 19px; }
.feature-link .icon, .card-foot .icon { width: 19px; height: 19px; }
.float-nav .icon { width: 15px; height: 15px; }
.btn > .icon { width: 16px; height: 16px; }
.filter-item { position: relative; }
.filter-item > .icon { width: 16px; height: 16px; color: var(--muted); }
.filter-item select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: none; padding-right: 22px; cursor: pointer;
}
.filter-item .chev {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--muted); pointer-events: none;
}
.avatar-strip .avatar { box-shadow: 0 0 0 1px rgba(23,23,22,.06), 0 6px 14px -6px rgba(0,0,0,.25); }

/* ---------- Hero entrance ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1.display, .hero .lede, .hero .hero-pills, .hero .hero-search, .hero .hero-quote {
  animation: riseIn .8s cubic-bezier(.22,1,.36,1) backwards;
}
.hero .eyebrow { animation-delay: .05s; }
.hero h1.display { animation-delay: .12s; }
.hero .lede { animation-delay: .22s; }
.hero .hero-pills { animation-delay: .3s; }
.hero .hero-search { animation-delay: .38s; }
.hero .hero-quote { animation-delay: .48s; }
.hero-visual { animation: riseIn 1s .18s cubic-bezier(.22,1,.36,1) backwards; }
.page-hero .eyebrow, .page-hero h1.display, .page-hero .lede, .page-hero .breadcrumb {
  animation: riseIn .8s cubic-bezier(.22,1,.36,1) backwards;
}
.page-hero .breadcrumb { animation-delay: .02s; }
.page-hero .eyebrow { animation-delay: .08s; }
.page-hero h1.display { animation-delay: .15s; }
.page-hero .lede { animation-delay: .25s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .eyebrow, .hero h1.display, .hero .lede, .hero .hero-pills, .hero .hero-search, .hero .hero-quote,
  .hero-visual, .page-hero .eyebrow, .page-hero h1.display, .page-hero .lede, .page-hero .breadcrumb {
    animation: none;
  }
}


/* ---------- Angled band notch (bottom gray band) ---------- */
.band-notch {
  clip-path: polygon(0 0, 15% 0, 19.5% 46px, 100% 46px, 100% 100%, 0 100%);
  padding-top: 132px;
}
@media (max-width: 960px) {
  .band-notch { clip-path: none; padding-top: 88px; }
}


/* ---------- Mobile polish ---------- */
html, body { overflow-x: clip; }

@media (max-width: 960px) {
  .trust-grid, .split, .contact-grid { gap: 40px; }
  .card-grid, .value-row { gap: 18px; }
  .stats-row { gap: 24px 32px; flex-wrap: wrap; }
}

@media (max-width: 620px) {
  h1.display { font-size: clamp(2.1rem, 9.5vw, 2.9rem); line-height: 1.08; }
  h2.title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .lede { font-size: 0.92rem; }
  .container { width: 100%; padding-inline: 18px; }
  .header-inner { padding: 10px 0; gap: 12px; }
  .hero { padding-top: 34px; }
  .hero-pills { flex-wrap: wrap; }
  .hero-search { max-width: 100%; }
  .hero-quote { margin-top: 26px; max-width: none; }
  .hero-visual { margin-top: 20px; }
  .float-card { margin: 14px auto 0; }
  .avatar-strip { margin-top: 26px; }
  .section-head { margin-bottom: 30px; }
  .feature-card { padding: 18px; gap: 14px; }
  .card-body { padding: 18px 18px 22px; }
  .testimonial { padding: 24px 20px; }
  .value-item { padding: 24px 20px; }
  .info-tile { padding: 20px; }
  .cta-band { text-align: left; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .filter-item { flex: 1 1 calc(50% - 6px); min-width: calc(50% - 6px); }
  .filter-bar > .btn { width: 100%; justify-content: center; }
  .form-card { border-radius: 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; align-items: flex-start; }
  .page-hero { padding: 44px 0 38px; }
  .breadcrumb { margin-bottom: 14px; }
}

@media (max-width: 380px) {
  h1.display { font-size: 1.85rem; }
  .header-cta { gap: 10px; }
  .header-cta .btn-sm { padding: 8px 13px; font-size: 0.72rem; }
  .pill { padding: 7px 16px; }
}
