/* =========================================================================
   Service pages kit (Google Ads, Local SEO, Website Design, Lead Gen)
   Loaded via $extra_head on those pages only. Brand tokens come from style.css.
   SEO for Surgeons keeps its own /css/seo-layout-b.css.
   Built Oct 30, 2026.
   ========================================================================= */

/* ---------- Heroes: one photo per service ---------- */
.hero-banner--ads, .hero-banner--local, .hero-banner--web, .hero-banner--leads { padding-bottom: clamp(56px, 7vw, 100px); }
.hero-banner--ads { background: radial-gradient(900px 480px at 92% 0%, rgba(203,166,98,.18) 0%, transparent 60%), linear-gradient(105deg, rgba(6,29,48,.985) 0%, rgba(10,47,76,.95) 55%, rgba(10,47,76,.82) 100%), url("../images/ads-hero.webp") center 40% / cover no-repeat, var(--navy); }
.hero-banner--local { background: radial-gradient(900px 480px at 92% 0%, rgba(203,166,98,.18) 0%, transparent 60%), linear-gradient(105deg, rgba(6,29,48,.97) 0%, rgba(10,47,76,.9) 52%, rgba(10,47,76,.76) 100%), url("../images/local-hero.webp") center 50% / cover no-repeat, var(--navy); }
.hero-banner--web { background: radial-gradient(900px 480px at 92% 0%, rgba(203,166,98,.18) 0%, transparent 60%), linear-gradient(105deg, rgba(6,29,48,.985) 0%, rgba(10,47,76,.93) 55%, rgba(10,47,76,.8) 100%), url("../images/web-hero.webp") center 50% / cover no-repeat, var(--navy); }
.hero-banner--leads { background: radial-gradient(900px 480px at 92% 0%, rgba(203,166,98,.18) 0%, transparent 60%), linear-gradient(105deg, rgba(6,29,48,.97) 0%, rgba(10,47,76,.9) 52%, rgba(10,47,76,.74) 100%), url("../images/leads-hero.webp") center 35% / cover no-repeat, var(--navy); }
.hero-copy .crumbs { justify-content: flex-start; margin-bottom: 18px; }
.crumbs [aria-current="page"] { color: #fff; font-weight: 600; }
.crumbs > span[aria-hidden] { opacity: .45; }
.offer-list { margin: 4px 0 2px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 1rem; color: var(--steel); }
.offer-list li::before { content: "✓"; color: var(--gold-ink); font-weight: 800; margin-right: 8px; }

/* ---------- Shared heads + byline + short answer ---------- */
.lb-head { max-width: 760px; margin: 0 0 28px; }
.lb-head h2 { margin: 0 0 10px; }
.lb-head p { color: var(--steel); font-size: 1.06rem; margin: 0; }
.lb-head.center { margin-inline: auto; text-align: center; }
.section--dark .lb-head p { color: var(--on-dark); }
.byline-bar { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--steel); }
.byline-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-block: 12px; }
.byline-bar img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.byline-bar b { color: var(--navy); }
.byline-bar .sep { color: var(--gold-ink); }
.short-answer { max-width: 900px; margin: 0 auto; padding: clamp(20px, 3vw, 30px) clamp(22px, 3vw, 34px); border-radius: 18px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); box-shadow: var(--shadow-sm); }
.short-answer .sa-label { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.short-answer p { margin: 0; font-size: 1.08rem; color: var(--ink); line-height: 1.65; }
.short-answer p + p { margin-top: 10px; }
.src { font-size: .9375rem; color: var(--steel); }
.src a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
.section--dark .src, .section--dark .src a { color: var(--on-dark-muted); }

/* ---------- Mid-page CTA ---------- */
.mid-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 24px; border-radius: 16px; background: var(--gold-tint); border: 1px dashed rgba(184,146,76,.6); }
.mid-cta p { margin: 0; color: var(--ink); max-width: 640px; }
.mid-cta b { color: var(--navy); }
.section--dark .mid-cta { background: rgba(255,255,255,.05); border-color: rgba(203,166,98,.45); }
.section--dark .mid-cta p { color: var(--on-dark); }
.section--dark .mid-cta b { color: #fff; }
@media (max-width: 575.98px) { .mid-cta .btn { width: 100%; } }

/* ---------- Generic data table (AI friendly, scrolls on phones) ---------- */
.tbl-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.tbl caption { caption-side: bottom; padding: 12px 16px; font-size: .9375rem; color: var(--steel); }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--navy); color: #fff; font-family: var(--head); font-weight: 600; font-size: 1rem; }
.tbl tbody th { color: var(--navy); font-weight: 650; width: 26%; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.us { background: var(--gold-tint); }
.tbl thead th.us { background: var(--gold); color: var(--navy-900); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .875rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.pill-keep { background: #e3f3ea; color: var(--ok); }
.pill-cut { background: #f7e4e4; color: var(--no); }
.pill-watch { background: var(--gold-tint); color: var(--gold-ink); }

/* ---------- ADS: search terms report mock ---------- */
.terms { border-radius: 18px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.terms-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--navy-900); color: var(--on-dark); font-size: .9375rem; }
.terms-top b { color: #fff; font-family: var(--head); font-weight: 600; }
.terms-top .dots { display: flex; gap: 6px; }
.terms-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); display: block; }
.terms table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.terms th, .terms td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.terms th { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); font-weight: 700; background: var(--bg); }
.terms td.num { font-variant-numeric: tabular-nums; color: var(--steel); white-space: nowrap; }
.terms tr.is-cut td:first-child { text-decoration: line-through; text-decoration-color: rgba(176,58,58,.5); color: var(--steel); }
.terms-foot { padding: 12px 16px; font-size: .9375rem; background: var(--gold-tint); color: var(--ink); }
.terms-foot b { color: var(--no); }
.leak-points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: lp; }
.leak-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: lp; }
.leak-points li::before { content: counter(lp); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--head); font-weight: 700; }
.leak-points b { display: block; color: var(--navy); font-family: var(--head); font-size: 1.05rem; }
.leak-points span { color: var(--steel); }

/* ---------- ADS: allowed vs restricted ---------- */
.rule-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rule-col { border-radius: 18px; padding: clamp(20px, 3vw, 30px); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.rule-col h3 { color: #fff; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rule-col h3 i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 1rem; }
.rule-col.ok h3 i { background: rgba(31,122,77,.25); color: #7fd3a6; }
.rule-col.no h3 i { background: rgba(176,58,58,.25); color: #f0a3a3; }
.rule-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rule-col li { color: var(--on-dark); padding-left: 18px; position: relative; }
.rule-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.decide { margin-top: 22px; border-radius: 18px; padding: clamp(20px, 3vw, 28px); background: var(--gold); color: var(--navy-900); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.decide .q { font-family: var(--head); font-weight: 700; font-size: 1.15rem; max-width: 220px; }
.decide p { margin: 0 0 6px; }
.decide p:last-child { margin: 0; }
@media (max-width: 767.98px) { .rule-split, .decide { grid-template-columns: 1fr; } }

/* ---------- ADS + LEADS: calculators ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper); border: 1px solid var(--line); }
.calc-in { padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.calc-in label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); font-size: .9375rem; }
.calc-in label small { font-weight: 500; color: var(--steel); }
.calc-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: center; }
.calc-row input[type=range] { accent-color: var(--gold-600); width: 100%; }
.calc-row output, .calc-row .val { font-family: var(--head); font-weight: 700; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.calc-out { background: var(--navy); color: var(--on-dark); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: center; }
.calc-out .big { font-family: var(--head); font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); line-height: 1; color: var(--gold); }
.calc-out .lbl { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.calc-out dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.calc-out dt { font-weight: 500; color: var(--on-dark); }
.calc-out dd { margin: 0; font-family: var(--head); font-weight: 700; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.calc-out .note { font-size: .875rem; color: var(--on-dark-muted); margin: 0; }
@media (max-width: 991.98px) { .calc { grid-template-columns: 1fr; } }

/* ---------- ADS: account structure ---------- */
.acct { display: grid; gap: 14px; }
.acct-root { justify-self: center; padding: 12px 22px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--head); font-weight: 600; }
.acct-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; }
.acct-card { border-radius: 16px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy); display: grid; gap: 6px; align-content: start; }
.acct-card.gold { border-top-color: var(--gold); }
.acct-card h3 { font-size: 1.02rem; margin: 0; }
.acct-card p { margin: 0; font-size: 1rem; color: var(--steel); }
.acct-card .kw { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.acct-card .kw span { font-size: .875rem; padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--navy); }
@media (max-width: 991.98px) { .acct-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .acct-row { grid-template-columns: 1fr; } }

/* ---------- Horizontal phase timeline (ads 90 days) ---------- */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.phase { padding: 26px 22px 0; position: relative; }
.phase::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--line); }
.phase:first-child::before { background: var(--gold); }
.phase .when { position: absolute; top: -11px; left: 22px; background: var(--gold); color: var(--navy-900); font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.phase h3 { font-size: 1.15rem; margin: 6px 0 10px; }
.phase ul { margin: 0; padding-left: 18px; color: var(--steel); display: grid; gap: 6px; }
@media (max-width: 767.98px) { .phases { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- LOCAL: three factors ---------- */
.factors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.factor { border-radius: 20px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.factor-top { padding: 22px 22px 18px; background: var(--navy); color: var(--on-dark); }
.factor-top .n { font-family: var(--head); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.factor-top h3 { color: #fff; font-size: 1.4rem; margin: 4px 0 8px; }
.factor-top q { display: block; font-size: 1rem; color: var(--on-dark); quotes: "\201C" "\201D"; }
.factor-body { padding: 18px 22px 22px; display: grid; gap: 12px; align-content: start; }
.factor-body b { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.factor-body p { margin: 0; color: var(--ink); font-size: 1rem; }
.factor-body .cant { color: var(--steel); }
@media (max-width: 991.98px) { .factors { grid-template-columns: 1fr; } }

/* ---------- LOCAL: geo grid ---------- */
.geo-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.geo { border-radius: 22px; padding: 22px; background: radial-gradient(circle at 50% 50%, rgba(203,166,98,.12), transparent 65%), repeating-linear-gradient(0deg, transparent 0 38px, rgba(10,47,76,.06) 38px 39px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(10,47,76,.06) 38px 39px), var(--tint); box-shadow: var(--shadow); border: 1px solid var(--line); }
.geo-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; max-width: 420px; margin: 0 auto; }
.geo-grid span { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: clamp(.7rem, .6rem + .4vw, .9rem); color: #fff; transition: background-color .5s var(--ease), transform .5s var(--ease); box-shadow: 0 2px 6px rgba(6,29,48,.18); }
.geo-grid span.r1 { background: #1f7a4d; }
.geo-grid span.r2 { background: #4f9a5a; }
.geo-grid span.r3 { background: #c9a03f; color: var(--navy-900); }
.geo-grid span.r4 { background: #d9783d; }
.geo-grid span.r5 { background: #b03a3a; }
.geo-grid span.you { outline: 3px solid var(--navy); outline-offset: 2px; }
.geo-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); margin: 0 auto 16px; }
.geo-toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-weight: 650; color: var(--steel); font-size: .9375rem; }
.geo-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.geo-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 14px; font-size: .875rem; color: var(--steel); }
.geo-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.geo-cap { text-align: center; font-size: .9375rem; color: var(--steel); margin: 10px 0 0; }
@media (max-width: 991.98px) { .geo-wrap { grid-template-columns: 1fr; } }

/* ---------- LOCAL: profile type paths ---------- */
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.path { border-radius: 18px; padding: 22px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; position: relative; }
.path .who { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); }
.path h3 { font-size: 1.1rem; margin: 0; }
.path .eg { font-family: inherit; font-size: .9375rem; font-weight: 600; background: var(--gold-tint, #f6efe1); color: var(--navy); padding: 6px 12px; border-radius: 999px; display: inline-block; border: 1px solid rgba(203,166,98,.45); }
.path p { margin: 0; font-size: 1rem; color: var(--steel); }
@media (max-width: 991.98px) { .paths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .paths { grid-template-columns: 1fr; } }
.quote-line { margin: 22px 0 0; padding: 16px 20px; border-left: 4px solid var(--gold); background: var(--paper); border-radius: 0 12px 12px 0; color: var(--ink); font-size: 1rem; }

/* ---------- LOCAL: profile anatomy ---------- */
.gbp-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.gbp { border-radius: 22px; background: var(--paper); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; max-width: 420px; margin-inline: auto; position: relative; }
.gbp-map { height: 110px; background: repeating-linear-gradient(35deg, transparent 0 22px, rgba(10,47,76,.07) 22px 24px), repeating-linear-gradient(-55deg, transparent 0 30px, rgba(10,47,76,.05) 30px 32px), #e8eef3; position: relative; }
.gbp-map::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -70%) rotate(-45deg); border-radius: 50% 50% 50% 0; background: var(--no); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.gbp-body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.gbp-body h3 { font-size: 1.12rem; margin: 0; }
.gbp-meta { font-size: .9375rem; color: var(--steel); }
.gbp-meta .st { color: #e2a400; letter-spacing: 1px; }
.gbp-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.gbp-btns span { font-size: .875rem; font-weight: 650; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); }
.gbp-btns span:first-child { background: var(--navy); color: #fff; border-color: var(--navy); }
.gbp-row { font-size: .9375rem; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.gbp-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gbp-photos i { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, var(--tint), #cfdbe6); display: block; }
.gbp-tag { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-weight: 800; font-size: .875rem; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(203,166,98,.3); }
.gbp-notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.gbp-notes li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.gbp-notes li > span { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-weight: 800; font-size: .9375rem; display: grid; place-items: center; }
.gbp-notes b { color: var(--navy); display: block; }
.gbp-notes p { margin: 2px 0 0; font-size: 1rem; color: var(--steel); }
@media (max-width: 991.98px) { .gbp-wrap { grid-template-columns: 1fr; } }

/* ---------- LOCAL: reviews ---------- */
.reviews-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.no-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.no-list li { padding: 14px 16px 14px 46px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); position: relative; color: var(--ink); font-size: 1rem; }
.no-list li::before { content: "✕"; position: absolute; left: 16px; top: 13px; color: var(--no); font-weight: 800; }
.replies { display: grid; gap: 14px; }
.reply { border-radius: 16px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); }
.reply .rv { font-size: 1rem; color: var(--steel); font-style: italic; margin: 0 0 10px; }
.reply .bad, .reply .good { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 1rem; }
.reply .bad { background: #f7e4e4; color: #7c2828; margin-bottom: 8px; }
.reply .good { background: #e3f3ea; color: #165c39; }
.reply .bad b, .reply .good b { display: block; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
@media (max-width: 991.98px) { .reviews-split { grid-template-columns: 1fr; } }

/* ---------- Chips groups (citations, specialties) ---------- */
.chip-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.chip-group { border-radius: 18px; padding: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.chip-group h3 { color: #fff; font-size: 1.02rem; margin: 0 0 12px; }
.chip-group ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group li { font-size: .9375rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(203,166,98,.4); color: var(--on-dark); }
@media (max-width: 991.98px) { .chip-groups { grid-template-columns: 1fr; } }

/* ---------- WEB: first 60 seconds ---------- */
.sixty { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.sixty li { list-style: none; border-radius: 18px; padding: 20px 18px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; position: relative; }
.sixty .t { font-family: var(--head); font-weight: 700; color: var(--gold-ink); font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.sixty b { color: var(--navy); font-family: var(--head); }
.sixty p { margin: 0; font-size: 1rem; color: var(--steel); }
.sixty .lose { margin-top: 4px; font-size: .9375rem; color: var(--no); font-weight: 600; }
.sixty-wrap { margin: 0; padding: 0; }
@media (max-width: 1199.98px) { .sixty { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .sixty { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; } .sixty li { scroll-snap-align: start; } }

/* ---------- WEB: vertical build stepper ---------- */
.stepper { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; position: relative; }
.stepper li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding-bottom: 26px; position: relative; }
.stepper li::before { content: ""; position: absolute; left: 47px; top: 34px; bottom: 0; width: 2px; background: rgba(203,166,98,.35); }
.stepper li:last-child::before { display: none; }
.stepper .wk { justify-self: center; width: 96px; text-align: center; padding: 7px 0; border-radius: 999px; background: var(--gold); color: var(--navy-900); font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; height: fit-content; position: relative; z-index: 1; }
.stepper h3 { color: #fff; font-size: 1.12rem; margin: 2px 0 6px; }
.stepper p { margin: 0; color: var(--on-dark); font-size: 1rem; }
.stepper .you { display: inline-block; margin-top: 6px; font-size: .9375rem; color: var(--gold); font-weight: 600; }

/* ---------- WEB: specialty needs ---------- */
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.need { border-radius: 18px; padding: 22px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.need .sp { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
.need h3 { font-size: 1.05rem; margin: 0; }
.need p { margin: 0; color: var(--steel); font-size: 1rem; }
@media (max-width: 991.98px) { .needs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .needs { grid-template-columns: 1fr; } }

/* ---------- LEADS: funnel leak finder ---------- */
.funnel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--paper); }
.fn-stages { padding: clamp(20px, 3vw, 32px); display: grid; gap: 10px; }
.fn-stage { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; align-items: center; }
.fn-bar { position: relative; height: 46px; border-radius: 12px; background: var(--tint); overflow: hidden; }
.fn-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--navy), var(--navy-800)); border-radius: 12px; transition: width .4s var(--ease); }
.fn-bar span { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; height: 100%; padding: 0 14px; color: #fff; font-weight: 600; font-size: 1rem; mix-blend-mode: normal; }
.fn-bar span b { font-family: var(--head); font-variant-numeric: tabular-nums; }
.fn-stage label { display: grid; gap: 2px; font-size: .875rem; color: var(--steel); font-weight: 600; }
.fn-stage input { width: 100%; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.fn-stage input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.fn-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.fn-top label { display: grid; gap: 4px; font-size: .9375rem; font-weight: 650; color: var(--navy); }
.fn-top input { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.fn-out { background: var(--navy); color: var(--on-dark); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: center; }
.fn-out .big { font-family: var(--head); font-size: clamp(2.2rem, 1.8rem + 2vw, 3.2rem); line-height: 1; color: var(--gold); }
.fn-out .lbl { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.fn-out p { margin: 0; font-size: 1rem; }
.fn-out .note { font-size: .875rem; color: var(--on-dark-muted); }
@media (max-width: 991.98px) { .funnel { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .fn-stage { grid-template-columns: 1fr; } .fn-top { grid-template-columns: 1fr; } }

/* ---------- LEADS: speed to lead ---------- */
.speed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.speed > div { padding: 24px 20px; display: grid; gap: 8px; align-content: start; background: rgba(255,255,255,.03); }
.speed > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.speed > div:first-child { background: rgba(203,166,98,.16); }
.speed .tm { font-family: var(--head); font-size: 1.8rem; color: #fff; line-height: 1; }
.speed .tm small { font-size: 1rem; color: var(--on-dark-muted); }
.speed b { color: var(--gold); font-family: var(--head); }
.speed p { margin: 0; color: var(--on-dark); font-size: 1rem; }
@media (max-width: 767.98px) { .speed { grid-template-columns: 1fr 1fr; } .speed > div:nth-child(3) { border-left: 0; } .speed > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); } }

/* ---------- LEADS: two engines ---------- */
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.engine { border-radius: 20px; padding: clamp(22px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.engine.alt { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.engine.alt h3 { color: #fff; }
.engine .tag { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); }
.engine.alt .tag { color: var(--gold); }
.engine h3 { font-size: 1.3rem; margin: 0; }
.engine p { margin: 0; color: var(--steel); }
.engine.alt p { color: var(--on-dark); }
.engine ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink); font-size: 1rem; }
.engine.alt ul { color: var(--on-dark); }
@media (max-width: 767.98px) { .engines { grid-template-columns: 1fr; } }

/* ---------- LEADS: lead stack flow ---------- */
.flow { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.flow li { position: relative; border-radius: 16px; padding: 16px 14px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 22px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-weight: 800; font-size: .9375rem; display: grid; place-items: center; }
.flow .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.flow b { color: var(--navy); font-size: 1rem; }
.flow p { margin: 0; font-size: .9375rem; color: var(--steel); }
.flow .hipaa { font-size: .875rem; font-weight: 700; color: var(--ok); letter-spacing: .04em; }
@media (max-width: 1199.98px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .flow li:nth-child(3)::after { display: none; } }
@media (max-width: 575.98px) { .flow { grid-template-columns: 1fr; } .flow li::after { display: none !important; } }

/* ---------- Icon feature list (what we build / what's included) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 30px; }
.feat { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--gold-tint); color: var(--gold-ink); display: grid; place-items: center; }
.feat h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.feat p { margin: 0; color: var(--steel); font-size: 1rem; }
@media (max-width: 991.98px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- Photo + text split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .img-frame { aspect-ratio: 5 / 4; }
@media (max-width: 991.98px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.ticklist { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--ink); }
.ticklist li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23cba662' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---------- Offer explainer (how the free check works) ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.offer-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: os; }
.offer-steps li { counter-increment: os; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.offer-steps li::before { content: counter(os); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--head); font-size: 1.3rem; font-weight: 700; }
.offer-steps b { display: block; color: var(--navy); font-family: var(--head); }
.offer-steps span { color: var(--steel); font-size: 1rem; }
@media (max-width: 991.98px) { .offer { grid-template-columns: 1fr; } }

/* ---------- Results strip (from SEO page) ---------- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 22px; overflow: hidden; background: var(--navy); color: var(--on-dark); }
.proof > div { padding: clamp(22px, 3vw, 34px); display: grid; gap: 6px; align-content: start; }
.proof > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.proof b { font-family: var(--head); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); color: var(--gold); line-height: 1; }
.proof .what { font-weight: 600; color: #fff; }
.proof .who { font-size: .9375rem; color: var(--on-dark-muted); }
.proof a { font-size: .9375rem; font-weight: 650; color: var(--gold); margin-top: 8px; }
.proof-note { margin: 14px 0 0; font-size: 1rem; color: var(--steel); text-align: center; }
@media (max-width: 767.98px) { .proof { grid-template-columns: 1fr; } .proof > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); } }

/* ---------- Strategist block ---------- */
.lead-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 1040px; margin: 0 auto; }
.lead-photo { position: relative; isolation: isolate; }
.lead-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 22px; }
.lead-photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--gold); border-radius: 24px; opacity: .5; z-index: -1; }
.lead-bio { color: var(--on-dark); font-size: 1.05rem; }
.lead-bio b { color: #fff; }
.lead-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; padding: 0; list-style: none; }
.lead-facts li { padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(203,166,98,.35); background: rgba(255,255,255,.04); display: grid; }
.lead-facts b { font-family: var(--head); font-size: 1.35rem; color: var(--gold); line-height: 1.1; }
.lead-facts span { font-size: .9375rem; color: var(--on-dark-muted); }
.lead-note { color: var(--on-dark-muted); font-size: 1rem; }
@media (max-width: 767.98px) { .lead-wrap { grid-template-columns: 1fr; } .lead-photo { max-width: 320px; } }

/* ---------- Compliance (US / Canada) ---------- */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rule-box { border-radius: 18px; padding: clamp(20px, 3vw, 28px); background: var(--paper); border: 1px solid var(--line); }
.rule-box h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 12px; }
.rule-box h3 span { font-size: .875rem; font-weight: 800; letter-spacing: .08em; padding: 4px 8px; border-radius: 8px; background: var(--navy); color: var(--gold); }
.rule-box ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink); font-size: 1rem; }
.rules-note { margin: 16px 0 0; text-align: center; font-size: 1rem; color: var(--steel); }
@media (max-width: 767.98px) { .rules { grid-template-columns: 1fr; } }

/* ---------- FAQ two columns ---------- */
.faq-side h2 { margin: 0 0 12px; }
.faq-side p { color: var(--steel); }
.faq-ask { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--cream); }
.faq-ask b { display: block; color: var(--navy); font-family: var(--head); margin-bottom: 4px; }
.faq-ask p { margin: 0 0 12px; font-size: 1rem; }
@media (min-width: 992px) { .faq-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.seo-faq { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(203,166,98,.35); --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--navy); }
.seo-faq .accordion-item { border-left: 0; border-right: 0; border-radius: 0 !important; }
.seo-faq .accordion-button { padding: 20px 0; font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--navy); background: transparent; box-shadow: none; }
.seo-faq .accordion-button::after { background-image: none; content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--gold-ink); transform: none; width: auto; height: auto; line-height: 1; }
.seo-faq .accordion-button:not(.collapsed)::after { content: "\2212"; }
.seo-faq .accordion-body { padding: 0 0 20px; color: var(--steel); }

/* ---------- Related services + reading ---------- */
.related-links { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-links a, .related-links span { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--navy); font-weight: 600; text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.related-links a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.related-links small { color: var(--steel); font-weight: 500; font-size: .9375rem; }
@media (max-width: 991.98px) { .related-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .related-links { grid-template-columns: 1fr; } }
.reading { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.reading-lbl { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.reading a { font-weight: 600; color: var(--navy); }
.reading a:hover { color: var(--gold-ink); }

/* ---------- Closing band ---------- */
.seo-close { background: radial-gradient(700px 360px at 100% 100%, rgba(203,166,98,.18), transparent 60%), var(--navy-900); color: var(--on-dark); padding-block: clamp(56px, 7vw, 96px); text-align: center; }
.seo-close h2 { color: #fff; max-width: 760px; margin: 0 auto 12px; }
.seo-close .hl { color: var(--gold); }
.seo-close .eyebrow { color: var(--gold); }
.seo-close p { max-width: 620px; margin: 0 auto 22px; }
.close-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 0 auto 28px; padding: 0; list-style: none; max-width: 900px; }
.close-ticks li { font-size: 1rem; color: #fff; }
.close-ticks li::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 8px; }
.seo-close .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- v1.1 fixes ---------- */
.factor-top .fq { margin: 0; font-size: 1rem; color: var(--on-dark); }
.gbp-body .gbp-tag { position: static; display: inline-grid; vertical-align: middle; width: 20px; height: 20px; margin-right: 6px; font-style: normal; font-size: .875rem; box-shadow: none; flex: none; }
.gbp-btns { align-items: center; }

/* ---------- v1.2 fixes (QA pass) ---------- */
.hero-banner--ads { background: radial-gradient(900px 480px at 92% 0%, rgba(203,166,98,.16) 0%, transparent 60%), linear-gradient(90deg, rgba(6,29,48,.985) 0%, rgba(6,29,48,.965) 48%, rgba(10,47,76,.86) 72%, rgba(10,47,76,.74) 100%), url("../images/ads-hero.webp") right 40% / cover no-repeat, var(--navy); }
.fn-bar { background: #5d7286; }
.fn-bar span b { background: rgba(6,29,48,.55); padding: 2px 9px; border-radius: 999px; }
.terms { overflow-x: auto; }
.terms table { min-width: 520px; }

/* ---------- v1.3 fixes (visual QA) ---------- */
.hero-banner--ads { background: radial-gradient(900px 480px at 92% 0%, rgba(203,166,98,.16) 0%, transparent 60%), linear-gradient(100deg, rgba(6,29,48,.97) 0%, rgba(10,47,76,.92) 55%, rgba(10,47,76,.78) 100%), url("../images/ads-hero.webp?v=2") center 40% / cover no-repeat, var(--navy); }
.hero-banner--leads { background-position: 0 0, 0 0, 12% 35%, 0 0; }
@media (max-width: 767.98px) { .to-top { display: none !important; } }
@media (max-width: 575.98px) {
  .terms table { min-width: 0; }
  .terms th:nth-child(3), .terms td:nth-child(3) { display: none; }
  .terms th, .terms td { padding: 10px 12px; }
  .hero-copy .crumbs [aria-current], .hero-copy .crumbs > span[aria-hidden]:nth-last-child(2) { display: none; }
}

/* ---------- v1.4: generic hero image (set $svc['hero_image']) ---------- */
.hero-banner--img { padding-bottom: clamp(56px, 7vw, 100px); background: radial-gradient(900px 480px at 92% 0%, rgba(203,166,98,.16) 0%, transparent 60%), linear-gradient(100deg, rgba(6,29,48,.97) 0%, rgba(10,47,76,.91) 55%, rgba(10,47,76,.76) 100%), var(--hero-img, url("../images/hero-operating-room.webp")) center 40% / cover no-repeat, var(--navy); }
/* Card grid of links (hubs) */
.link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.link-card { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.link-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.link-card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.link-card h3 { font-size: 1.15rem; margin: 4px 0 0; color: var(--navy); }
.link-card p { margin: 0; color: var(--steel); font-size: 1rem; }
.link-card .go { margin-top: 4px; font-weight: 650; color: var(--gold-ink); font-size: 1rem; }
.link-card.photo { padding: 0; overflow: hidden; }
.link-card.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.link-card.photo .lc-body { padding: 20px 22px 22px; display: grid; gap: 8px; }
@media (max-width: 991.98px) { .link-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .link-cards { grid-template-columns: 1fr; } }
/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier { border-radius: 22px; padding: clamp(22px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.tier.featured { background: var(--navy); border-color: var(--navy); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.tier.featured h3, .tier.featured .price { color: #fff; }
.tier .badge-pick { justify-self: start; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--navy-900); }
.tier h3 { margin: 0; font-size: 1.3rem; }
.tier .price { font-family: var(--head); font-size: 1.05rem; color: var(--navy); font-weight: 600; }
.tier p { margin: 0; color: var(--steel); }
.tier.featured p { color: var(--on-dark); }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tier li { padding-left: 24px; position: relative; font-size: 1rem; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-ink); font-weight: 800; }
.tier.featured li::before { color: var(--gold); }
@media (max-width: 991.98px) { .tiers { grid-template-columns: 1fr; } }
/* Case study cards */
.cases-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.case-card { border-radius: 20px; padding: clamp(22px, 3vw, 30px); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.case-card .who { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); }
.case-card h3 { margin: 0; font-size: 1.25rem; }
.case-card .nums { display: flex; flex-wrap: wrap; gap: 10px; }
.case-card .nums span { padding: 8px 12px; border-radius: 12px; background: var(--tint); font-weight: 700; color: var(--navy); font-size: 1rem; }
.case-card a { font-weight: 650; color: var(--gold-ink); }
@media (max-width: 767.98px) { .cases-grid { grid-template-columns: 1fr; } }
/* Procedure chips + journey */
.proc-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.proc-chips li { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .9375rem; font-weight: 600; color: var(--navy); }
.section--dark .proc-chips li { background: rgba(255,255,255,.05); border-color: rgba(203,166,98,.4); color: var(--on-dark); }
.journey { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: j; }
.journey li { counter-increment: j; border-radius: 18px; padding: 20px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.journey li::before { content: "0" counter(j); font-family: var(--head); font-weight: 700; color: var(--gold-ink); font-size: 1.4rem; }
.journey b { color: var(--navy); font-family: var(--head); }
.journey p { margin: 0; color: var(--steel); font-size: 1rem; }
@media (max-width: 991.98px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .journey { grid-template-columns: 1fr; } }
/* Stat row */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-row > div { border-radius: 16px; padding: 18px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 4px; }
.stat-row b { font-family: var(--head); font-size: 1.8rem; color: var(--navy); line-height: 1.05; }
.stat-row span { font-size: 1rem; color: var(--steel); }
@media (max-width: 767.98px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* ---------- v1.5 fixes (final visual QA, Oct 30) ---------- */
/* double icon on allowed / not-allowed cards */
.rule-col.ok::before, .rule-col.no::before { content: none !important; }
/* tick lists: allow links and mixed inline content in an item */
.ticklist li { display: block; position: relative; padding-left: 38px; }
.ticklist li::before { position: absolute; left: 0; top: 0; }
/* hero tick grid never overflows its column */
@media (min-width: 576px) { .hero-ticks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-ticks li { min-width: 0; overflow-wrap: anywhere; }
/* long CTA labels wrap on phones instead of overflowing */
@media (max-width: 575.98px) { .hero-banner .btn, .seo-close .btn, .mid-cta .btn { white-space: normal; text-align: center; line-height: 1.25; } }
/* two-column splits collapse safely on tablets and phones */
@media (max-width: 991.98px) { .split { grid-template-columns: minmax(0, 1fr); } .split > * { min-width: 0; } }
/* form card keeps its height while the form loads */

@media (max-width: 575.98px) { main .btn { white-space: normal; text-align: center; max-width: 100%; line-height: 1.25; } }

/* =========================================================================
   v2 sales-first layout (Oct 31, 2026): hero tightening, trust strip,
   why-us photo cards, how-it-works steps, promise band, guide divider.
   ========================================================================= */
/* Hero: calmer, less text-heavy */
.hero-banner--img .hero-copy h1, .hero-banner--ads .hero-copy h1, .hero-banner--local .hero-copy h1, .hero-banner--web .hero-copy h1, .hero-banner--leads .hero-copy h1 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.05rem); line-height: 1.12; margin-bottom: 16px; }
.hero-copy .lede { font-size: 1.04rem; max-width: 56ch; margin-bottom: 20px; }
.hero-copy .hero-ticks { margin-bottom: 24px; }
.hero-copy .hero-ticks li { font-size: 1rem; }
.hero-ctas .btn svg { margin-right: 2px; }

/* Trust strip */
.sx-trust { background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(10,47,76,.05); position: relative; z-index: 2; }
.sx-trust-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.sx-trust-list li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.sx-trust-list li + li { border-left: 1px solid var(--line); }
.sx-trust .sx-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.sx-trust b { display: block; font-family: var(--head); font-size: 1.02rem; color: var(--navy); line-height: 1.2; }
.sx-trust small { display: block; font-size: .9375rem; color: var(--steel); margin-top: 2px; }
@media (max-width: 991.98px) { .sx-trust-list { grid-template-columns: 1fr 1fr; } .sx-trust-list li:nth-child(3) { border-left: 0; } .sx-trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 575.98px) { .sx-trust-list li { padding: 16px 10px; gap: 10px; } .sx-trust .sx-ic { width: 38px; height: 38px; } .sx-trust b { font-size: 1rem; } .sx-trust small { font-size: .875rem; } }

/* Why us: photo cards */
.sx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sx-card { position: relative; border-radius: 22px; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; box-shadow: var(--shadow); isolation: isolate; }
.sx-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.sx-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,29,48,0) 25%, rgba(6,29,48,.62) 55%, rgba(6,29,48,.95) 100%); }
.sx-card:hover img { transform: scale(1.04); }
.sx-card-body { padding: 26px; color: var(--on-dark); }
.sx-card .sx-n { display: inline-block; font-family: var(--head); font-weight: 700; color: var(--gold); font-size: .9375rem; letter-spacing: .12em; margin-bottom: 6px; }
.sx-card h3 { color: #fff; font-size: 1.35rem; margin: 0 0 8px; }
.sx-card p { margin: 0; font-size: 1rem; color: var(--on-dark); }
@media (max-width: 991.98px) { .sx-cards { grid-template-columns: 1fr; } .sx-card { min-height: 300px; } }

/* How it works */
.sx-step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 8px 0 0; position: relative; counter-reset: none; }
.sx-step-list::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); opacity: .6; }
.sx-step-list li { position: relative; text-align: center; padding: 0 8px; }
.sx-dot { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--head); font-weight: 700; font-size: 1.4rem; border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--gold); position: relative; z-index: 1; }
.sx-step-list h3 { font-size: 1.12rem; margin: 0 0 8px; }
.sx-step-list p { margin: 0; color: var(--steel); font-size: 1rem; }
.sx-step-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 991.98px) { .sx-step-list { grid-template-columns: 1fr 1fr; row-gap: 32px; } .sx-step-list::before { display: none; } }
@media (max-width: 575.98px) { .sx-step-list { grid-template-columns: 1fr; } .sx-step-list li { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; } .sx-dot { margin: 0; width: 52px; height: 52px; font-size: 1.15rem; grid-row: span 2; } }

/* Promise band */
.sx-promise { background: radial-gradient(800px 380px at 100% 0%, rgba(203,166,98,.18), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); color: var(--on-dark); padding-block: clamp(56px, 7vw, 96px); }
.sx-promise-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.sx-promise-head .eyebrow { color: var(--gold); }
.sx-promise-head h2 { color: #fff; margin: 0; }
.sx-promise-head .hl { color: var(--gold); }
.sx-promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sx-pbox { border-radius: 20px; padding: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(203,166,98,.35); }
.sx-pbox .sx-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); margin-bottom: 16px; }
.sx-pbox h3 { color: #fff; font-size: 1.2rem; margin: 0 0 8px; }
.sx-pbox p { margin: 0; color: var(--on-dark); font-size: 1rem; }
.sx-promise-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; margin-top: 34px; }
.sx-terms { color: var(--on-dark-muted); font-size: 1rem; text-decoration: underline; text-underline-offset: 3px; }
.sx-terms:hover { color: var(--gold); }
@media (max-width: 991.98px) { .sx-promise-grid { grid-template-columns: 1fr; } }

/* Guide divider */
.sx-guide { border-top: 1px solid var(--line); }
.sx-guide-top { max-width: 900px; margin: 0 auto 26px; }
.sx-guide-top h2 { margin: 0 0 14px; }
.sx-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 1rem; color: var(--steel); margin-bottom: 16px; }
.sx-byline img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.sx-byline b { color: var(--navy); }
.sx-byline .sep { color: var(--gold-ink); }
.sx-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.sx-toc-lbl { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-right: 4px; }
.sx-toc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-toc-links a { font-size: .9375rem; font-weight: 600; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; transition: border-color .2s, color .2s; }
.sx-toc-links a:hover { border-color: var(--gold); color: var(--gold-ink); }
.sx-guide .short-answer { max-width: 900px; }
.sx-byline-sm { display: flex; align-items: center; gap: 8px; margin-top: 14px !important; font-size: .9375rem !important; color: var(--steel) !important; }
.sx-byline-sm img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--gold); }
.sx-close-note { margin: 18px auto 0 !important; font-size: .9375rem; color: var(--on-dark-muted); }
.sx-close-note a { color: var(--gold); }
html { scroll-padding-top: calc(var(--header-h) + 16px); }

/* ---------- v2.1 (design review, Oct 31) ---------- */
/* 1. Shorter hero, top-aligned columns, lighter overlay on the right */
.hero-banner--img, .hero-banner--ads, .hero-banner--local, .hero-banner--web, .hero-banner--leads, .hero-banner--seo { padding-top: clamp(36px, 4.5vw, 64px) !important; padding-bottom: clamp(40px, 5vw, 72px) !important; }
.hero-banner--img .row, .hero-banner--ads .row, .hero-banner--local .row, .hero-banner--web .row, .hero-banner--leads .row, .hero-banner--seo .row { align-items: flex-start !important; }
.hero-banner--img { background: radial-gradient(900px 480px at 92% 0%, rgba(203,166,98,.16) 0%, transparent 60%), linear-gradient(100deg, rgba(6,29,48,.97) 0%, rgba(10,47,76,.9) 48%, rgba(10,47,76,.62) 100%), var(--hero-img, url("../images/hero-operating-room.webp")) center 40% / cover no-repeat, var(--navy); }
.hero-copy .crumbs { margin-bottom: 12px; }
.hero-copy .hero-ticks { margin-bottom: 20px; }
.hero-ctas { margin-bottom: 20px; }
/* 7. Strategist chip */
.sx-chip { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(203,166,98,.35); }
.sx-chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.sx-chip b { display: block; color: #fff; font-size: .9375rem; line-height: 1.2; }
.sx-chip small { display: block; color: var(--on-dark-muted); font-size: .875rem; }
.hero-copy .rating { margin-right: 10px; }
/* Mobile: shorter hero and lighter blocks */
@media (max-width: 991.98px) {
  .banner-form .offer-list { display: none; }
  .hero-copy .hero-ticks { display: none; }
  .hero-copy .lede { font-size: 1rem; }
}
/* 8. Mobile trust strip single column, compact promise band, fewer TOC chips */
@media (max-width: 575.98px) {
  .sx-trust-list { grid-template-columns: 1fr; }
  .sx-trust-list li { border-left: 0 !important; border-top: 1px solid var(--line); padding: 12px 6px; }
  .sx-trust-list li:first-child { border-top: 0; }
  .sx-pbox { padding: 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .sx-pbox .sx-ic { width: 44px; height: 44px; border-radius: 12px; margin: 0; grid-row: span 2; }
  .sx-pbox h3 { font-size: 1.05rem; margin: 0 0 4px; }
  .sx-pbox p { font-size: 1rem; }
  .sx-promise { padding-block: 48px; }
  .sx-toc-links a:nth-child(n+6) { display: none; }
  .sx-card { min-height: 260px; }
  .sx-chip { display: none; }
}

/* Portfolio (hidden until site-config has items) */
.sx-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sx-work-item { margin: 0; }
.sx-browser { border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.sx-dots { display: flex; gap: 6px; padding: 10px 12px; background: var(--tint); }
.sx-dots i { width: 9px; height: 9px; border-radius: 50%; background: #c9d3dd; display: block; }
.sx-browser img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.sx-work-item figcaption { display: grid; gap: 2px; margin-top: 14px; }
.sx-work-item figcaption b { color: var(--navy); font-family: var(--head); }
.sx-work-item figcaption span { font-size: .9375rem; color: var(--steel); }
.sx-work-item figcaption em { font-style: normal; font-size: 1rem; font-weight: 650; color: var(--gold-ink); }
.sx-work-item figcaption a { font-size: .9375rem; font-weight: 650; color: var(--navy); }
@media (max-width: 991.98px) { .sx-work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .sx-work-grid { grid-template-columns: 1fr; } }


/* ===== Audit fixes, Oct 31 2026 ===== */
#what-we-check .leak-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1080px; margin: 28px auto 0; }
#what-we-check .leak-points li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 6px 18px rgba(10,47,76,.05); }
#what-we-check .leak-points li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 767.98px) { #what-we-check .leak-points { grid-template-columns: 1fr; } }
.cases-grid .case-card .nums span:first-child { flex-basis: 100%; background: none; padding: 0; font-family: var(--head); font-size: 1.55rem; line-height: 1.2; color: var(--navy); }
.founder-fig { margin: 0 0 18px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(10,47,76,.10); }
.founder-fig img { width: 100%; height: auto; display: block; }
.founder-fig figcaption { padding: 16px 20px; }
.founder-fig figcaption b { display: block; color: var(--navy); font-family: var(--head); font-size: 1.1rem; }
.founder-fig figcaption span { color: var(--steel); font-size: 1rem; }
.founder-stat { background: var(--navy); color: #fff; border-radius: 16px; padding: 20px 22px; }
.founder-stat b { display: block; font-family: var(--head); font-size: 2.2rem; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.founder-stat span { font-size: 1rem; color: rgba(255,255,255,.85); }
@media (min-width: 992px) { .founder-cols { columns: 2; column-gap: 40px; } .founder-cols p { break-inside: avoid; } }


/* ===== Oct 31 night: icon why-us cards + guide tabs ===== */
.sx-cards--icon .sx-card { min-height: 0; align-items: stretch; background: linear-gradient(160deg, #123f63 0%, var(--navy) 70%); }
.sx-cards--icon .sx-card::after { display: none; }
.sx-cards--icon .sx-card-body { padding: 30px 28px; }
.sx-cards--icon .sx-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(203,166,98,.14); color: var(--gold); margin-bottom: 18px; border: 1px solid rgba(203,166,98,.35); }
.sx-cards--icon .sx-n { display: block; }
.sx-tabs .sx-toc-lbl { display: block; margin-bottom: 10px; }
.sx-tabs .sx-toc-links { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; }
.sx-tabs .sx-toc-links::-webkit-scrollbar { height: 5px; }
.sx-tabs .sx-toc-links::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.sx-tabs [role="tab"] { flex: 0 0 auto; width: 220px; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 600 .86rem/1.3 var(--body, inherit); color: var(--navy); cursor: pointer; scroll-snap-align: start; transition: background .2s, border-color .2s; }
.sx-tabs [role="tab"]:hover { border-color: var(--gold); }
.sx-tabs [role="tab"] .n { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-size: .875rem; font-weight: 800; }
.sx-tabs [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 20px rgba(10,47,76,.18); }
.sx-tabs [role="tab"][aria-selected="true"] .n { background: var(--gold); color: var(--navy); }
.sx-panel[hidden] { display: none !important; }
.sx-next { display: flex; justify-content: center; padding-top: 34px; }
.sx-next .btn { white-space: normal; max-width: 100%; }
.section--dark .sx-next .btn { color: #fff; border-color: rgba(255,255,255,.55); }
@media (max-width: 575.98px) { .sx-tabs [role="tab"] { width: 190px; } }

.sx-guide .sx-tabs { max-width: 1080px; margin: 34px auto 0; }
@media (min-width: 768px) {
  .sx-tabs .sx-toc-links { flex-wrap: wrap; overflow: visible; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sx-tabs [role="tab"] { width: auto; }
}
