/* ============================================================
   Homepage sections — builds on site-modern.css tokens.
   ============================================================ */

/* ─── HERO (orange, split) ────────────────────────────── */
.home-hero {
  background:
    radial-gradient(1100px 560px at 92% -8%, rgba(255,255,255,0.22) 0%, transparent 55%),
    linear-gradient(110deg, var(--orange-deep) 0%, rgba(240,115,40,0.97) 30%, rgba(240,115,40,0.62) 58%, rgba(226,95,18,0.34) 100%),
    url('/img/home-hero-lobby.jpg') right center / cover no-repeat;
  position: relative; overflow: hidden;
}
.home-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.home-hero-inner {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; align-items: center;
  padding-top: 70px; padding-bottom: 72px; position: relative; z-index: 1;
}

.home-hero .eyebrow { color: rgba(255,255,255,0.92); margin-bottom: 20px; }
.home-hero h1 {
  font-size: 42px; font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 22px;
}
.home-hero h1 .dark  { color: #343434; }
.home-hero h1 .light { color: #fff; }
.home-hero-sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.94); max-width: 480px; margin-bottom: 34px; }

.home-hero-features { display: flex; gap: 26px; margin-bottom: 36px; max-width: 540px; }
.hhf { flex: 1; padding-top: 16px; border-top: 2px solid rgba(255,255,255,0.35); }
.hhf-icon {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: #fff;
}
.hhf-icon svg { width: 20px; height: 20px; }
.hhf-text { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.35; }

/* ── Dashboard animation classes (mirrors solution-detail asd-*) ── */
@media (prefers-reduced-motion: no-preference) {
  .hda-row   { animation: hdaRow   8s ease-in-out infinite both; }
  .hda-badge { animation: hdaBadge 8s cubic-bezier(.34,1.56,.64,1) infinite both; }
  .hda-bar   { animation: hdaBar   8s ease infinite both; transform-box: fill-box; transform-origin: left center; }
  .hda-dot   { animation: hdaDot   8s ease infinite both; }
  .hd1 { animation-delay: .3s; }  .hd2 { animation-delay: .8s; }
  .hd3 { animation-delay:1.3s; }  .hd4 { animation-delay:1.8s; }
  .hd5 { animation-delay:2.3s; }  .hd6 { animation-delay:2.8s; }
}
@keyframes hdaRow {
  0%,2%    { opacity:0; transform:translateY(7px); }
  10%      { opacity:1; transform:translateY(0); }
  78%      { opacity:1; }
  90%,100% { opacity:0; transform:translateY(0); }
}
@keyframes hdaBadge {
  0%,2%    { opacity:0; transform:scale(.5); }
  10%,12%  { opacity:1; transform:scale(1.08); }
  14%      { transform:scale(1); }
  78%      { opacity:1; }
  90%,100% { opacity:0; transform:scale(.5); }
}
@keyframes hdaBar {
  0%,2%    { transform:scaleX(0); }
  12%      { transform:scaleX(1); }
  78%      { opacity:1; }
  90%,100% { opacity:0; transform:scaleX(0); }
}
@keyframes hdaDot {
  0%,2%    { fill:#C2C8D0; }
  10%      { fill:#1B8751; }
  78%      { fill:#1B8751; }
  90%,100% { fill:#C2C8D0; }
}

/* UI screenshot */
.home-dash {
  display: block; width: 100%; border-radius: 14px;
  box-shadow: 0 40px 90px rgba(40,12,0,0.34), 0 0 0 1px rgba(0,0,0,0.04);
}

/* ─── CLIENT LOGOS ────────────────────────────────────── */
.home-logos { padding: 54px 0; border-bottom: 1px solid var(--border); }
.home-logos .lbl {
  text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 30px;
}
.logo-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.logo-row .client {
  flex: 1; text-align: center; font-size: 19px; font-weight: 700; letter-spacing: 0.01em;
  color: #9aa3af; white-space: nowrap; transition: color .15s ease;
}
.logo-row .client:hover { color: var(--ink); }
.logo-row .client img { height: 38px; width: auto; margin: 0 auto; filter: grayscale(1); opacity: .55; transition: filter .15s ease, opacity .15s ease; }
.logo-row .client:hover img { filter: grayscale(0); opacity: 1; }
/* white-on-transparent logo (e.g. Ness): invert to dark so it reads on the light row */
.logo-row .client--invert img { filter: invert(1); }
.logo-row .client--invert:hover img { filter: invert(1); }

/* ─── FEATURES ────────────────────────────────────────── */
.home-features {
  text-align: center;
  background-color: #EDEFF3;
  background-image: radial-gradient(rgba(15,23,42,0.08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.home-features .eyebrow { display: block; margin-bottom: 14px; }
.home-features .section-title { max-width: 720px; margin: 0 auto 56px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.feature-card {
  position: relative;
  background: #fff; border: 1px solid rgba(240,115,40,0.55); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 10px 26px rgba(15,23,42,0.06); transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s cubic-bezier(.2,.8,.2,1), border-color .18s ease, background .18s ease;
}
.feature-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 44px rgba(240,115,40,0.16); border-color: var(--orange); background: #fff; }
.feature-card .link-arrow::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 11px; background: var(--orange-dim);
  border: 1px solid var(--orange-border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--orange); }
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-sub); line-height: 1.6; margin-bottom: 16px; }
.home-features-cta { text-align: center; margin-top: 40px; }

/* ─── BEST OF BOTH WORLDS ────────────────────────────── */
.home-bobw { padding: 80px 0; background: #fff; }
.home-bobw-head { text-align: center; margin-bottom: 46px; }
.home-bobw-head .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.home-bobw-head h2 { font-size: 31px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.home-bobw-head p { font-size: 15px; color: var(--text-muted); margin-top: 10px; max-width: 520px; margin-inline: auto; }
.home-bobw-inner { display: grid; grid-template-columns: 1fr auto 1fr; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.home-bobw-col { padding: 48px 44px; }
.home-bobw-col .lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.home-bobw-col h3 { font-size: 21px; font-weight: 800; color: var(--char); letter-spacing: -.03em; margin-bottom: 16px; }
.home-bobw-col > p { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.home-bobw-list { display: flex; flex-direction: column; gap: 10px; }
.home-bobw-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.home-bobw-item svg { width: 16px; height: 16px; stroke: var(--green); fill: none; flex-shrink: 0; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.home-bobw-item.x svg { stroke: #C2C8D0; }
.home-bobw-item.x span { color: var(--text-muted); }
.home-bobw-divider { width: 1px; background: var(--border); display: flex; align-items: center; justify-content: center; position: relative; }
.home-bobw-badge { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 21px; font-weight: 800; box-shadow: var(--shadow-card); z-index: 1; }
.home-bobw-col.sigma { background: var(--bg-soft); border-left: 1px solid var(--border); }
.home-bobw-col.sigma h3 { color: var(--orange); }
.home-bobw-cta { text-align: center; margin-top: 36px; }

/* ─── PROOF & CREDIBILITY ─────────────────────────────── */
.home-proof { background: var(--bg-soft); }
.proof-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.proof-copy .eyebrow { display: block; margin-bottom: 14px; }
.proof-copy .section-title { margin-bottom: 18px; }
.proof-copy > p { font-size: 16px; color: var(--text-sub); line-height: 1.65; margin-bottom: 24px; max-width: 460px; }
.proof-checks { list-style: none; margin-bottom: 30px; }
.proof-checks li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--text); margin-bottom: 13px; }
.proof-checks svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 1px; }

.proof-visual { position: relative; }
.proof-visual img.photo { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; }
.proof-quote {
  position: absolute; right: -8px; bottom: 36px; max-width: 320px;
  background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 24px 60px rgba(15,23,42,0.18);
}
.proof-quote .mark { font-size: 44px; line-height: .4; font-weight: 900; color: var(--orange); display: block; margin-bottom: 14px; }
.proof-quote p { font-size: 14.5px; line-height: 1.55; color: var(--text); margin-bottom: 16px; }
.proof-quote .who { font-size: 13px; color: var(--text-sub); }
.proof-quote .who strong { display: block; color: var(--ink); }
.proof-quote .stars { color: var(--orange); letter-spacing: 2px; margin-top: 10px; }

/* ─── PROVEN RESULTS (orange band) ────────────────────── */
.home-results { background: linear-gradient(120deg, var(--orange-deep) 0%, var(--orange) 60%, var(--orange-light) 120%); color: #fff; padding: 64px 0; }
.home-results .eyebrow { color: rgba(255,255,255,0.9); text-align: center; display: block; margin-bottom: 10px; }
.home-results h2 { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 44px; }
.results-grid { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 56px; }
.result { display: flex; align-items: center; gap: 16px; padding: 0 8px; }
.result + .result { border-left: 1px solid rgba(255,255,255,0.25); padding-left: 28px; }
.result-icon { flex-shrink: 0; }
.result-icon svg { width: 42px; height: 42px; color: #fff; opacity: .92; }
.result .num { font-size: 30px; font-weight: 800; line-height: 1; }
.result .lbl { font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.4; margin-top: 4px; }

/* ─── SERVICE TIERS ──────────────────────────────────── */
.home-tiers { padding: 80px 0; background: #fff; }
.home-tiers-head { text-align: center; margin-bottom: 48px; }
.home-tiers-head .eyebrow { display: block; margin-bottom: 10px; }
.home-tiers-head h2 { font-size: 31px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); margin-bottom: 12px; }
.home-tiers-head p { font-size: 15px; color: var(--text-muted); max-width: 540px; margin-inline: auto; line-height: 1.65; }
.home-tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-tier { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 36px 32px; display: flex; flex-direction: column; }
.home-tier.featured { border-color: var(--orange); border-top-width: 4px; box-shadow: 0 8px 32px rgba(240,115,40,0.10); }
.home-tier-badge { display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; width: fit-content; }
.home-tier-badge.silver { background: #F0F2F5; color: #5B6676; }
.home-tier-badge.gold   { background: #FFF8E6; color: #9A6C00; }
.home-tier-badge.plat   { background: var(--orange-dim); color: var(--orange); }
.home-tier-name { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin-bottom: 6px; }
.home-tier.featured .home-tier-name { color: var(--orange); }
.home-tier-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin-bottom: 24px; }
.home-tier-incl { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; background: var(--bg-soft); border-radius: 6px; padding: 6px 10px; margin-bottom: 18px; }
.home-tier-list { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.home-tier-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); line-height: 1.45; }
.home-tier-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; stroke: var(--green); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.home-tier.featured .home-tier-list svg { stroke: var(--orange); }

/* ─── CONVERSION CTA ──────────────────────────────────── */
.home-cta { }
.cta-bar { display: flex; align-items: center; gap: 28px; padding: 40px 0; }
.cta-icon {
  width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0;
  border: 1.5px solid var(--orange-border); background: var(--orange-dim);
  display: flex; align-items: center; justify-content: center;
}
.cta-icon svg { width: 28px; height: 28px; color: var(--orange); }
.cta-text h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.cta-text p { font-size: 14.5px; color: var(--text-sub); line-height: 1.5; max-width: 480px; }
.cta-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; white-space: nowrap; }

/* inline email-capture (routes to /contact?demo=true&email=…) */
.cta-capture {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 999px;
  padding: 5px 5px 5px 16px;
  transition: border-color .15s, box-shadow .15s;
}
.cta-capture:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,115,40,.14); }
.cta-capture .cta-at { color: var(--text-muted); font-weight: 700; font-size: 15px; }
.cta-capture input { border: none; outline: none; background: transparent; font: inherit; font-size: 14.5px; color: var(--text); padding: 10px 4px; width: 220px; }
.cta-capture input::placeholder { color: #9AA4B2; }
.cta-capture .btn-orange { border-radius: 999px; padding: 11px 22px; }

/* ─── responsive (interim — Phase 6 = full polish) ─────── */
@media (max-width: 980px) {
  .home-bobw-inner { grid-template-columns: 1fr; }
  .home-bobw-divider { width: auto; height: 1px; }
  .home-bobw-col.sigma { border-left: none; border-top: 1px solid var(--border); }
  .home-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-dash { min-width: 0; }
  .home-hero { background-position: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; gap: 40px; }
  .proof-quote { position: static; max-width: none; margin-top: -40px; margin-left: 24px; }
  .home-tiers-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .result + .result { border-left: none; padding-left: 8px; }
  .cta-bar { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-actions { margin-left: 0; width: 100%; }
  .cta-capture { width: 100%; max-width: 460px; }
  .cta-capture input { flex: 1; min-width: 0; width: auto; }
}
@media (max-width: 620px) {
  .home-hero h1 { font-size: 38px; }
  .home-hero-features { flex-direction: column; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .logo-row { gap: 20px; }
  .logo-row .client { flex-basis: 40%; }
  .results-grid { grid-template-columns: 1fr; gap: 22px; }
  .result { align-items: flex-start; padding: 0; }
  .result-icon { margin-top: 2px; }
  .result + .result { border-left: none; padding-left: 0; }

}
