/* =========================================================================
   SEO for Surgeons, layout B (preview at /services/seo-for-surgeons-preview)
   Keeps the homepage-style hero + form, then gives every section below it
   its own treatment so the page doesn't repeat the homepage's boxes.
   Brand tokens come from style.css. Hero modifier comes from service.css.
   ========================================================================= */

/* No stats band below the hero, so trim the hero's bottom padding */
.hero-banner--seo { padding-bottom: clamp(56px, 7vw, 100px); }

.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); }

/* ---------- 1. Search results illustration ---------- */
.serp-points { display: grid; gap: 16px; margin: 22px 0 0; counter-reset: s; }
.serp-points li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.serp-points li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; display: grid; place-items: center; font-family: var(--head); }
.serp-points b { display: block; color: var(--navy); font-family: var(--head); font-weight: 600; }
.serp-points span { color: var(--steel); font-size: 1rem; }
.serp { position: relative; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 12px; }
.serp-bar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 1rem; color: var(--ink); background: #fbfaf7; }
.serp-bar svg { color: var(--steel); flex: none; }
.serp-tag { position: absolute; top: -12px; right: 18px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--navy); color: var(--gold); padding: 5px 10px; border-radius: 999px; }
.serp-block { border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); }
.serp-label { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.serp-label .n { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: .875rem; }
.serp-ai { background: linear-gradient(135deg, #f7f2e6, #fdfbf6); border-color: rgba(203,166,98,.45); font-size: 1rem; line-height: 1.5; color: var(--ink); }
.serp-ai mark { background: rgba(203,166,98,.28); color: var(--navy); font-weight: 700; padding: 0 4px; border-radius: 4px; }
.serp-map { display: grid; gap: 6px; }
.serp-place { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 1rem; }
.serp-place .pin { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .875rem; font-weight: 700; background: var(--tint); color: var(--steel); }
.serp-place .ghost { height: 9px; border-radius: 6px; background: #e9ecef; width: 70%; }
.serp-place.is-you { background: var(--gold-tint); }
.serp-place.is-you .pin { background: var(--navy); color: var(--gold); }
.serp-place.is-you b { color: var(--navy); }
.serp-place small { color: var(--steel); font-weight: 700; white-space: nowrap; }
.serp-place.is-you small { color: var(--gold-ink); }
.serp-organic .url { font-size: .875rem; color: var(--ok); }
.serp-organic .ttl { font-family: var(--head); font-weight: 600; color: var(--navy); font-size: 1rem; line-height: 1.3; margin: 2px 0 4px; }
.serp-organic .ghost { height: 8px; border-radius: 6px; background: #eef0f2; margin-top: 6px; }
.serp-organic .ghost.short { width: 62%; }

/* ---------- 2. Problem: numbered list, no boxes ---------- */
.num-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; margin: 0; counter-reset: n; }
.num-list li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.num-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--head); font-weight: 700; font-size: 1.5rem; color: var(--gold-head); line-height: 1.15; }
.num-list h3 { font-size: 1.08rem; margin: 0 0 6px; }
.num-list p { margin: 0; color: var(--steel); font-size: 1rem; }
.num-list .fix { margin-top: 10px; font-size: 1rem; color: var(--ink); }
.num-list .fix b { color: var(--gold-ink); }
@media (max-width: 991.98px) { .num-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .num-list { grid-template-columns: 1fr; } }

/* ---------- 3. What's included: photo + icon list ---------- */
.inc-photo { position: relative; }
.inc-photo .img-frame { aspect-ratio: 4 / 5; }
.inc-note { position: absolute; right: -14px; bottom: 28px; background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 16px; max-width: 220px; box-shadow: var(--shadow); font-size: 1rem; line-height: 1.4; }
.inc-note b { display: block; color: var(--gold); font-family: var(--head); font-size: 1.4rem; }
@media (max-width: 991.98px) { .inc-photo .img-frame { aspect-ratio: 4 / 3; } .inc-note { right: 12px; bottom: 12px; } }
.inc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.inc-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.inc-list .fi { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold); color: var(--navy); }
.inc-list h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.inc-list p { margin: 0; color: var(--steel); font-size: 1rem; }
@media (max-width: 575.98px) { .inc-list { grid-template-columns: 1fr; } }

/* ---------- 4. Dark band: patient journey timeline ---------- */
.journey-photo .img-frame { aspect-ratio: 4 / 5; }
.vtimeline { margin: 0; position: relative; display: grid; gap: 22px; }
.vtimeline::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), rgba(203,166,98,.12)); }
.vtimeline li { position: relative; padding-left: 50px; }
.vtimeline .step { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--gold); color: var(--gold); font-weight: 700; font-size: .9375rem; display: grid; place-items: center; }
.vtimeline b { display: block; color: #fff; font-family: var(--head); font-weight: 600; font-size: 1.1rem; margin-bottom: 2px; }
.vtimeline span { color: var(--on-dark-muted); font-size: 1rem; }
@media (max-width: 991.98px) { .journey-photo .img-frame { aspect-ratio: 4 / 3; } }

/* ---------- 5. Page anatomy ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; max-width: 1040px; margin: 0 auto; }
.wire { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 10px; }
.wire-top { display: flex; gap: 5px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.wire-top i { width: 9px; height: 9px; border-radius: 50%; background: #dfe3e7; }
.wire-row { position: relative; border-radius: 10px; background: var(--tint); min-height: 34px; padding: 9px 10px 9px 40px; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.wire-row.tall { min-height: 80px; }
.wire-row.dark { background: var(--navy); color: #fff; }
.wire-row.gold { background: var(--gold); color: var(--navy-900); text-align: center; padding-left: 10px; }
.wire-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk { position: absolute; left: 9px; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-size: .875rem; font-weight: 800; display: grid; place-items: center; }
.wire-row.gold .mk { position: static; display: inline-grid; margin-right: 6px; background: var(--navy); color: var(--gold); vertical-align: middle; }
.anatomy-legend { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; counter-reset: a; }
.anatomy-legend li { counter-increment: a; display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.anatomy-legend li::before { content: counter(a); 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; margin-top: 2px; }
.anatomy-legend b { display: block; color: var(--navy); font-family: var(--head); font-weight: 600; }
.anatomy-legend span { color: var(--steel); font-size: 1rem; }
@media (max-width: 991.98px) { .anatomy { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .anatomy-legend { grid-template-columns: 1fr; } }

/* ---------- 6. 12-month roadmap + report ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.roadmap::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 16px); opacity: .7; }
.rm { position: relative; padding-right: 20px; }
.rm .dot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-family: var(--head); box-shadow: 0 0 0 6px var(--tint); }
.rm .when { display: block; margin: 16px 0 4px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.rm h3 { font-size: 1.1rem; margin: 0 0 6px; }
.rm p { margin: 0; color: var(--steel); font-size: 1rem; }
@media (max-width: 767.98px) {
  .roadmap { grid-template-columns: 1fr; gap: 22px; }
  .roadmap::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 10px, transparent 10px 16px); }
  .rm { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; padding: 0; }
  .rm .dot { grid-row: span 3; }
  .rm .when { margin-top: 0; }
}
.kpi-report { margin-top: 40px; display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.kpi-report-head strong { display: block; font-family: var(--head); color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.kpi-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi-tiles > div { background: var(--cream); border-radius: 12px; padding: 14px; }
.kpi-tiles b { display: block; font-family: var(--head); font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.kpi-tiles b small { font-size: 1rem; color: var(--steel); font-weight: 600; }
.kpi-tiles span { font-size: .9375rem; color: var(--steel); line-height: 1.35; display: block; margin-top: 4px; }
.kpi-tiles > div:last-child { background: var(--navy); }
.kpi-tiles > div:last-child b { color: var(--gold); }
.kpi-tiles > div:last-child span { color: var(--on-dark); }
@media (max-width: 991.98px) { .kpi-report { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .kpi-tiles { grid-template-columns: 1fr 1fr; } }

/* ---------- 7. Plastic surgery callout ---------- */
.callout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: center; background: linear-gradient(135deg, var(--gold-tint), #fffdf8); border: 1px solid rgba(203,166,98,.45); border-left: 6px solid var(--gold); border-radius: 22px; padding: clamp(22px, 3.5vw, 40px); }
.callout h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 10px; }
.callout p { color: var(--ink); margin: 0 0 16px; }
.callout .img-frame { aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.proc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.proc-chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.callout .ticks { display: grid; gap: 8px; margin: 0; }
.callout .ticks li { padding-left: 26px; position: relative; font-size: 1rem; }
.callout .ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-ink); font-weight: 800; }
@media (max-width: 767.98px) { .callout { grid-template-columns: 1fr; } .callout .img-frame { aspect-ratio: 16 / 9; } }
.spec-inline { margin: 24px 0 0; text-align: center; font-size: 1rem; color: var(--steel); }
.spec-inline span { color: var(--navy); font-weight: 600; white-space: nowrap; }
.spec-inline span + span::before { content: "·"; color: var(--gold-ink); margin-right: 8px; }

/* ---------- 8. Results strip ---------- */
.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); } }

/* ---------- 9. Red flags ---------- */
.flags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.flag { padding: 20px 0; border-top: 1px solid var(--line); }
.flag h3 { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; margin: 0 0 8px; }
.flag h3::before { content: "✕"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #f6e1df; color: var(--no); font-size: .875rem; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.flag p { margin: 0; padding-left: 36px; font-size: 1rem; color: var(--steel); }
.flag p b { color: var(--ok); }
@media (max-width: 991.98px) { .flags { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .flags { grid-template-columns: 1fr; } }

/* ---------- 10. Rules (compact) ---------- */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 960px; margin: 0 auto; }
.rule-box { border-radius: 16px; padding: 22px; background: var(--navy); color: var(--on-dark); }
.rule-box h3 { color: #fff; font-size: 1.08rem; display: flex; gap: 10px; align-items: center; margin: 0 0 12px; }
.rule-box h3 span { font-size: .875rem; letter-spacing: .08em; background: var(--gold); color: var(--navy-900); padding: 3px 8px; border-radius: 6px; }
.rule-box ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 1rem; }
.rule-box li::marker { color: var(--gold); }
.rules-note { margin: 14px 0 0; font-size: 1rem; color: var(--steel); text-align: center; }
@media (max-width: 767.98px) { .rules { grid-template-columns: 1fr; } }

/* ---------- 11. 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: "−"; }
.seo-faq .accordion-body { padding: 0 0 20px; color: var(--steel); }

/* ---------- 12. Related services ---------- */
.related-links { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.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; }
.related-links span 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; } }

/* ---------- 13. 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; 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; }

/* ---------- v2 additions ---------- */
/* Byline under the hero */
.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); }

/* Mid-page CTA bar */
.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); }
@media (max-width: 575.98px) { .mid-cta .btn { width: 100%; } }

/* What we need from you */
.need-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.need-list li { padding: 20px; border-radius: 16px; background: var(--cream); display: grid; gap: 4px; }
.need-list b { font-family: var(--head); font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.need-list li:last-child { background: var(--navy); }
.need-list li:last-child b { color: var(--gold); }
.need-list li:last-child span { color: var(--on-dark); }
.need-list span { color: var(--steel); font-size: 1rem; }
@media (max-width: 575.98px) { .need-list { grid-template-columns: 1fr; } }

/* 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; }
.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-photo { isolation: isolate; }
.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; }
.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; } }

/* Related reading */
.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); }

/* ---------- v3: three phone screens (AI answer, Maps, top result) ---------- */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); max-width: 1080px; margin: 0 auto; }
.phone-card { margin: 0; display: grid; gap: 18px; justify-items: center; }
.mock-phone { position: relative; width: 100%; max-width: 300px; height: 520px; overflow: hidden; background: #fff; border: 9px solid var(--navy); border-radius: 38px; box-shadow: var(--shadow-lg); padding: 30px 14px 0; font-family: Arial, Helvetica, sans-serif; color: #202124; text-align: left; }
.ph-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 84px; height: 18px; border-radius: 12px; background: var(--navy); }
.ph-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; box-shadow: 0 1px 6px rgba(32,33,36,.2); font-size: .875rem; color: #202124; margin-bottom: 10px; white-space: nowrap; overflow: hidden; }
.ph-search svg { color: #5f6368; flex: none; }
.ph-tabs { display: flex; gap: 14px; font-size: .875rem; color: #5f6368; border-bottom: 1px solid #ebebeb; padding: 0 4px 8px; margin-bottom: 12px; }
.ph-tabs .on { color: #202124; font-weight: 700; position: relative; }
.ph-tabs .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 3px; border-radius: 3px 3px 0 0; background: #202124; }
.ph-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(rgba(255,255,255,0), #fff 85%); }
.ln { display: block; height: 8px; border-radius: 5px; background: #eceff1; margin: 6px 0; width: 90%; }
.ln.short { width: 60%; }
/* AI answer */
.ph-ai { border-radius: 16px; padding: 14px; background: linear-gradient(160deg, #eef3fd 0%, #f6f2fb 60%, #fff 100%); font-size: .875rem; line-height: 1.5; }
.ph-ai-head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; color: #202124; margin-bottom: 8px; }
.ph-ai-head svg { color: #6b5bd6; }
.ph-ai p { margin: 0 0 8px; color: #3c4043; }
.ph-ai ul { margin: 0 0 10px; padding-left: 16px; }
.ph-ai li { margin-bottom: 6px; color: #3c4043; }
.ph-ai li.you { background: rgba(203,166,98,.22); border-radius: 6px; padding: 4px 6px; margin-left: -6px; outline: 2px solid var(--gold); }
.ph-ai li.you b { color: #202124; }
.ph-src { display: flex; gap: 6px; }
.ph-src span { height: 22px; flex: 1; border-radius: 8px; background: #fff; border: 1px solid #e0e3e7; }
.ph-src span.you { flex: 1.6; font-size: .875rem; display: grid; place-items: center; color: #1a0dab; border-color: var(--gold); }
/* Map results */
.ph-map { margin: 0 -14px 10px; height: 130px; overflow: hidden; }
.ph-map svg { width: 100%; height: 100%; display: block; }
.ph-place { padding: 10px 6px; border-bottom: 1px solid #ebebeb; font-size: .875rem; color: #5f6368; }
.ph-place.you { background: rgba(203,166,98,.14); border-radius: 12px; outline: 2px solid var(--gold); border-bottom: 0; margin-bottom: 4px; }
.pl-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pl-top b { color: #1a0dab; font-size: 1rem; font-weight: 600; }
.pl-pin { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: .875rem; font-weight: 700; display: grid; place-items: center; flex: none; }
.pl-pin.g { background: #9aa8b4; color: #fff; }
.pl-rate { color: #3c4043; margin-top: 2px; }
.pl-rate .st { color: #f4b400; letter-spacing: 1px; }
.pl-rate .st.dim { color: #c9cdd1; }
.pl-meta { margin-top: 2px; }
.pl-meta .open { color: #188038; font-weight: 600; }
.pl-btns { display: flex; gap: 6px; margin-top: 8px; }
.pl-btns span { border: 1px solid #dadce0; border-radius: 999px; padding: 4px 10px; color: #1a73e8; font-weight: 600; font-size: .875rem; background: #fff; }
/* Top organic result */
.ph-result { padding: 10px 8px 12px; font-size: .875rem; color: #4d5156; }
.ph-result.you { border-radius: 12px; outline: 2px solid var(--gold); background: rgba(203,166,98,.1); margin-bottom: 10px; }
.rs-site { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rs-site b { display: block; color: #202124; font-size: .875rem; font-weight: 600; line-height: 1.2; }
.rs-site small { display: block; color: #4d5156; font-size: .875rem; }
.rs-site > div { flex: 1; min-width: 0; }
.fav { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: .875rem; font-weight: 700; display: grid; place-items: center; flex: none; }
.fav.g { background: #eceff1; }
.rs-title { color: #1a0dab; font-size: 1rem; line-height: 1.3; margin-bottom: 4px; }
.rs-desc { margin: 0 0 8px; line-height: 1.5; }
.rs-desc b { color: #4d5156; }
.rs-links { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-links span { border: 1px solid #dadce0; border-radius: 999px; padding: 3px 9px; font-size: .875rem; color: #1a0dab; background: #fff; }
/* Captions */
.phone-card figcaption { display: grid; grid-template-columns: 32px 1fr; gap: 12px; max-width: 300px; }
.cap-n { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-family: var(--head); font-weight: 700; display: grid; place-items: center; }
.phone-card figcaption b { display: block; color: var(--navy); font-family: var(--head); font-weight: 600; font-size: 1.08rem; }
.phone-card figcaption span:not(.cap-n) { color: var(--steel); font-size: 1rem; }
.phones-note { margin: 22px 0 0; text-align: center; font-size: .9375rem; color: var(--steel); }
@media (max-width: 991.98px) { .phones { grid-template-columns: 1fr; max-width: 340px; gap: 44px; } }

/* ---------- v5: smaller phone screens ---------- */
.phones { max-width: 840px; gap: clamp(16px, 2.5vw, 32px); }
.mock-phone { zoom: .78; height: 470px; }
.phone-card { gap: 14px; }
.phone-card figcaption { max-width: 240px; grid-template-columns: 28px 1fr; gap: 10px; }
.cap-n { width: 26px; height: 26px; font-size: .9375rem; }
.phone-card figcaption b { font-size: 1rem; }
.phone-card figcaption span:not(.cap-n) { font-size: 1rem; }
@media (max-width: 991.98px) { .phones { max-width: 260px; gap: 36px; } }

/* ---------- v6: text left, phones fanned on the right ---------- */
.phones--fan { display: flex; justify-content: center; align-items: center; gap: 0; max-width: none; margin: 0; padding-top: 14px; }
.phones--fan .phone-card { position: relative; margin: 0 -14px; display: block; }
.phones--fan .mock-phone { zoom: .62; height: 520px; box-shadow: 0 24px 50px -20px rgba(6,29,48,.45); }
.phones--fan .pc-2 { z-index: 2; }
.phones--fan .pc-2 .mock-phone { zoom: .7; }
.phones--fan .pc-1 { transform: rotate(-4deg); }
.phones--fan .pc-3 { transform: rotate(4deg); }
.phone-n { position: absolute; z-index: 3; top: -12px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-family: var(--head); font-weight: 700; font-size: .9375rem; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--paper); }
.phones--fan + .phones-note { margin-top: 18px; }
@media (max-width: 991.98px) { .phones--fan { max-width: none; } }
@media (max-width: 575.98px) { .phones--fan .mock-phone { zoom: .42; } .phones--fan .pc-2 .mock-phone { zoom: .48; } .phones--fan .phone-card { margin: 0 -10px; } }
/* ---------- v7 (Oct 30): related services are now real links ---------- */
.related-links a { 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 small { color: var(--steel); font-weight: 500; font-size: .9375rem; }
.related-links a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
