/* =========================================================================
   STUDIO B — "The Advocate / Trust & Convert"
   Jeffrey M. Van Loon, PLLC — Bloomfield Hills / Detroit
   Palette: crisp white + light gray, deep trust navy, signature red CTA,
   green trust checks. Fonts: Poppins (headings) + Inter (body).
   ========================================================================= */

:root {
  /* Brand */
  --navy:        #0e2a4d;   /* deep trust navy — primary brand */
  --navy-800:    #123561;   /* lighter navy panels */
  --navy-900:    #091d38;   /* darkest navy */
  --slate:       #33507a;   /* accent slate blue */
  --red:         #d40202;   /* signature action red (CTA) */
  --red-600:     #b40202;   /* red hover */
  --red-700:     #920101;
  --green:       #16a34a;   /* trust check green */
  --green-50:    #e9f7ef;

  /* Neutrals */
  --ink:         #16202e;   /* body text */
  --ink-soft:    #43566c;   /* secondary text */
  --line:        #e3e8ef;   /* hairlines */
  --gray-50:     #f5f7fa;   /* light section bg */
  --gray-100:    #eef2f7;
  --white:       #ffffff;
  --gold:        #e7b53c;   /* subtle warm accent for stars/scales flourish */

  /* System */
  --radius:      14px;
  --radius-sm:   10px;
  --shadow-sm:   0 1px 2px rgba(14,42,77,.06), 0 2px 6px rgba(14,42,77,.06);
  --shadow-md:   0 6px 18px rgba(14,42,77,.10);
  --shadow-lg:   0 18px 44px rgba(9,29,56,.20);
  --ring:        0 0 0 3px rgba(51,80,122,.35);
  --maxw:        1180px;
  --font-head:   "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body:   "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.14; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--ink-soft); }
a  { color: var(--slate); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }
strong { color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.section--tight { padding: 54px 0; }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: #dbe6f4; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  color: var(--red); margin-bottom: .7rem;
}
.bg-navy .eyebrow { color: #7fb0ff; }
.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 720px; margin: 0 auto 46px; }
.section-head.left { margin-left: 0; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  min-height: 52px; text-align: center; line-height: 1.1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red   { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(212,2,2,.30); }
.btn--red:hover { background: var(--red-600); box-shadow: 0 12px 26px rgba(212,2,2,.38); color:#fff; }
.btn--navy  { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color:#fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--gray-50); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #f1f5fb; color: var(--navy); }
.btn--outline-white { background: rgba(255,255,255,.06); color:#fff; border-color: rgba(255,255,255,.55); }
.btn--outline-white:hover { background: rgba(255,255,255,.14); color:#fff; }
.btn--lg { font-size: 1.08rem; padding: 17px 32px; min-height: 58px; }
.btn--block { width: 100%; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-900); color: #cddcf0; font-size: .84rem;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; }
.topbar a { color: #cddcf0; }
.topbar .dot { color: #4f6f9c; }
.topbar__left { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 720px){ .topbar__left .topbar__item.hide-sm { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, var(--navy), var(--slate));
  display: grid; place-items: center; color: #fff; font-family: var(--font-head);
  font-weight: 800; font-size: 1.15rem; box-shadow: var(--shadow-sm);
  position: relative;
}
.brand__mark::after { content:""; position:absolute; left:9px; right:9px; bottom:8px; height:2px; background: var(--red); border-radius:2px; }
.brand__text { line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.06rem; display:block; }
.brand__tag  { font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
.brand:hover { text-decoration: none; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: inline-block; padding: 10px 14px; border-radius: 8px; color: var(--navy);
  font-weight: 600; font-size: .96rem;
}
.nav__list a:hover { background: var(--gray-50); text-decoration: none; }
.nav__list a[aria-current="page"] { color: var(--red); }
.header__cta { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.header-call {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px;
  border-radius: 999px; background: var(--gray-50); border: 1px solid var(--line);
}
.header-call:hover { text-decoration: none; background: var(--gray-100); }
.header-call__ic { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color:#fff; display: grid; place-items: center; }
.header-call__txt { line-height: 1.05; }
.header-call__lbl { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 700; }
.header-call__num { display: block; font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.05rem; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .30; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(9,29,56,.96) 0%, rgba(9,29,56,.86) 42%, rgba(14,42,77,.62) 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; padding: 66px 0 74px; }
.hero__eyebrow { display: inline-flex; align-items:center; gap:.5em; background: rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.18); color:#eaf1fb; padding: 7px 15px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size:.82rem; letter-spacing: .02em; margin-bottom: 20px; }
.hero__eyebrow .pulse { width:9px; height:9px; border-radius:50%; background: #35d07f; box-shadow: 0 0 0 0 rgba(53,208,127,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(53,208,127,.6);} 70%{ box-shadow:0 0 0 10px rgba(53,208,127,0);} 100%{ box-shadow:0 0 0 0 rgba(53,208,127,0);} }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: #ffd0d0; }
.hero__sub { color: #c9d8ec; font-size: 1.14rem; max-width: 54ch; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero__micro { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #bcd0e8; font-size: .93rem; }
.hero__micro span { display: inline-flex; align-items: center; gap: .45em; }
.hero__micro svg { color: #35d07f; flex: none; }

/* Hero form card */
.hero-form {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 26px 24px 24px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
}
.hero-form__head { text-align: center; margin-bottom: 16px; }
.hero-form__head h2 { font-size: 1.4rem; margin-bottom: 4px; }
.hero-form__head p { font-size: .9rem; margin: 0; }
.hero-form .field { margin-bottom: 12px; }
.hero-form label { display:block; font-size:.82rem; font-weight:700; color: var(--navy); margin-bottom: 5px; font-family: var(--font-head); }
.req { color: var(--red); }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display:block; font-size:.86rem; font-weight:700; color: var(--navy); margin-bottom: 6px; font-family: var(--font-head); }
.input, .select, .textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--slate); box-shadow: var(--ring); }
.textarea { min-height: 108px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--ink-soft); }
.checkbox input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: .82rem; color: var(--ink-soft); text-align: center; margin: 12px 0 0; }
.form-note a { font-weight: 700; }
.form-success {
  display: none; text-align: center; padding: 26px 18px;
}
.form-success.show { display: block; }
.form-success__ic { width: 62px; height: 62px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.form-success h3 { color: var(--green); }
form.hide { display: none; }

/* ---------- Trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 26px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 11px; padding: 8px 0; }
.trust-item__ic { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--green-50); color: var(--green); }
.trust-item__ic.navy { background: #e8eefa; color: var(--navy); }
.trust-item strong { display:block; font-family: var(--font-head); font-size: .95rem; color: var(--navy); line-height: 1.2; }
.trust-item span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Practice cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3ddea; text-decoration: none; }
.p-card__ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy), var(--slate)); color: #fff; margin-bottom: 16px; }
.p-card h3 { margin-bottom: 8px; }
.p-card p { font-size: .95rem; margin-bottom: 16px; flex: 1; }
.p-card__link { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: .92rem; display: inline-flex; align-items: center; gap: .4em; }
.p-card:hover .p-card__link { gap: .7em; }
.p-card__link::after { content: "→"; transition: .15s; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.step__num { width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 6px 14px rgba(212,2,2,.25); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .96rem; margin: 0; }
.steps--connected .step::after { content:""; position:absolute; top: 52px; right: -14px; width: 28px; height: 2px; background: var(--line); }
.steps--connected .step:last-child::after { display: none; }

/* ---------- Why choose / commitments ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.why-card__ic { width: 44px; height: 44px; border-radius: 11px; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-card p { font-size: .92rem; margin: 0; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; max-height: 460px; }
.split__badge {
  position: absolute; left: -18px; bottom: -18px; background: var(--red); color: #fff;
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 220px;
}
.split__badge strong { display:block; font-family: var(--font-head); font-size: 1.5rem; color:#fff; line-height: 1; }
.split__badge span { font-size: .82rem; color: #ffdede; }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 11px; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink); font-size: 1rem; }
.checklist li svg { color: var(--green); flex: none; margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--red-700), var(--red)); color: #fff; overflow: hidden; }
.cta-band::before { content:""; position: absolute; inset: 0; background: radial-gradient(1200px 400px at 85% -20%, rgba(255,255,255,.16), transparent 60%); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center; padding: 52px 0; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #ffe1e1; margin: 0; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band__reassure { grid-column: 1 / -1; color: #ffdede; font-size: .9rem; margin-top: 6px; display:flex; align-items:center; gap:.5em; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(110deg, rgba(9,29,56,.94), rgba(14,42,77,.70)); }
.page-hero__inner { position: relative; z-index: 1; padding: 52px 0 56px; max-width: 800px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #cbdaed; font-size: 1.12rem; margin: 0 0 22px; }
.page-hero .hero__cta { margin-bottom: 0; }

/* Breadcrumb */
.crumbs { font-size: .84rem; color: #9fb6d4; margin-bottom: 16px; }
.crumbs a { color: #cbdaed; }
.crumbs span { color: #7690b3; padding: 0 6px; }

/* ---------- Inline call band ---------- */
.call-strip { background: var(--navy); color: #fff; }
.call-strip__inner { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px 0; flex-wrap: wrap; text-align: center; }
.call-strip__inner strong { font-family: var(--font-head); color: #fff; font-size: 1.15rem; }
.call-strip .num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; }
.call-strip .num:hover { color: #ffd0d0; text-decoration: none; }

/* ---------- Content prose (inner pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin-bottom: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.layout-2col { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 20px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.sidebar-card--accent { background: var(--navy); color: #d7e4f4; border-color: var(--navy); }
.sidebar-card--accent h3 { color: #fff; }
.sidebar-card h3 { margin-bottom: 10px; }
.sidebar-phone { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; display: inline-block; margin: 4px 0 12px; }
.sidebar-phone:hover { color: #ffd0d0; text-decoration: none; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 52px 18px 20px; font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--navy); position: relative; }
.faq__q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--red); font-weight: 400; transition: transform .2s; }
.faq__q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.faq__q:focus-visible { outline: none; box-shadow: inset var(--ring); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__a-inner { padding: 0 20px 18px; }
.faq__a-inner p { margin: 0; font-size: .97rem; }
.faq__a-inner p + p { margin-top: .8rem; }

/* ---------- Map ---------- */
.map-embed { border: 0; width: 100%; height: 420px; display: block; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.info-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.info-card__ic { width:44px; height:44px; border-radius: 11px; background: #e8eefa; color: var(--navy); display:grid; place-items:center; margin-bottom: 12px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p, .info-card a { font-size: .95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9bfda; font-size: .93rem; }
.footer-top { padding: 60px 0 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-top h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-family: var(--font-head); }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__mark { background: linear-gradient(150deg, var(--slate), #5679ad); }
.footer-brand p { color: #94accb; font-size: .92rem; margin-top: 14px; max-width: 34ch; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.f-links a { color: #b9cce4; }
.f-links a:hover { color: #fff; }
.f-contact { display: grid; gap: 12px; }
.f-contact__item { display: flex; gap: 11px; align-items: flex-start; }
.f-contact__item svg { color: #6f8fbb; flex: none; margin-top: 3px; }
.f-contact a { color: #dce7f5; }
.f-phone { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #fff !important; }
.f-phone:hover { color: #ffd0d0 !important; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-badges span { font-size: .74rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 5px 11px; border-radius: 999px; color: #cfe0f4; }

.footer-legal { border-top: 1px solid rgba(255,255,255,.10); padding: 26px 0 34px; }
.footer-legal p { color: #7f98ba; font-size: .8rem; line-height: 1.6; margin: 0 0 12px; max-width: 92ch; }
.footer-legal strong { color: #a9bfda; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 8px; }
.footer-bottom .adv { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #6f8fbb; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 22px rgba(9,29,56,.14);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: 1fr 1fr; gap: 10px;
}
.mobile-callbar .btn { min-height: 50px; font-size: 1rem; padding: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-form { max-width: 520px; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px){
  .nav, .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 12px;
  }
  .site-header { position: sticky; }
  .site-header.nav-open .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header.nav-open .nav__list a { padding: 13px 14px; border-radius: 8px; }
  .cards, .steps, .why-grid, .info-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split__media { order: -1; }
  .split__badge { left: auto; right: 16px; }
  .layout-2col { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .steps--connected .step::after { display: none; }
}
@media (max-width: 640px){
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .cards, .steps, .why-grid, .info-grid, .field-row, .sidebar { grid-template-columns: 1fr; }
  .trustbar__grid { grid-template-columns: 1fr; gap: 0; }
  .mobile-callbar { display: grid; }
  body { padding-bottom: 76px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .topbar { display: none; }
  .hero__cta .btn { width: 100%; }
  .split__badge { position: static; margin-top: 16px; max-width: none; }
  .cta-band__actions .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

/* ============================================================
   QA FIXES (2026-07-16): nav wrapping
   ============================================================ */
.nav__list a, .nav a { white-space: nowrap; }
.brand__name, .brand__tag { white-space: nowrap; }
/* Collapse to the mobile menu wherever the full horizontal nav would be cramped */
@media (max-width: 1340px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 12px;
  }
  .site-header { position: sticky; }
  .site-header.nav-open .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header.nav-open .nav__list a { padding: 13px 14px; border-radius: 8px; white-space: normal; }
}

/* QA: hero left was too dark — raise the photo's presence and soften the navy wash */
.hero__bg img { opacity: .42; }
.hero__bg::after {
  background: linear-gradient(115deg, rgba(9,29,56,.82) 0%, rgba(9,29,56,.68) 44%, rgba(14,42,77,.46) 100%);
}

/* QA: keep the header call number on one line */
.header-call__num, .header-call__lbl { white-space: nowrap; }
