/* Home evaluation page ("Modern Brokerage"). Loads after /site.css and only
   adds what this page needs: the headline band, the evaluation tool card
   (the live .tool-funnel markup, restyled), how the number is prepared, the
   online estimate comparison, seller reviews and the bridge to /selling.
   Same tokens and radius rule as the homepage: 28px sections, 20px cards,
   14px images inside cards, pills for every control. */

/* ---------- Current page in the nav ---------- */
.hd .nav-link.is-active{ background:rgba(255,255,255,.2); }
.hd.is-solid .nav-link.is-active{ background:#fff; box-shadow:0 1px 3px rgba(7,25,49,.1); }
.mnav details a[href="/home-evaluation"]{ color:var(--ink); font-weight:500; }

/* ---------- Headline band ---------- */
.ev-hero .hero-card{
  height:auto; min-height:0; justify-content:flex-start;
  padding:calc(var(--hd-h) + 60px) clamp(24px, 4vw, 56px) 150px;
  background:
    radial-gradient(55% 80% at 100% 0%, rgba(201,164,92,.22) 0%, rgba(201,164,92,0) 60%),
    radial-gradient(45% 70% at 0% 100%, rgba(201,164,92,.12) 0%, rgba(201,164,92,0) 60%),
    linear-gradient(150deg, #16396A 0%, #0B2446 42%, #071931 78%, #050F20 100%);
}
.ev-band-media{ position:absolute; inset:0; pointer-events:none; }
.ev-band-media img{ width:100%; height:100%; object-fit:cover; object-position:50% 40%; opacity:.2; mix-blend-mode:luminosity; }
.ev-band-shade{ position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(7,25,49,.55) 0%, rgba(7,25,49,.2) 45%, rgba(7,25,49,.75) 100%); }
.ev-band-body{ position:relative; display:flex; flex-direction:column; align-items:center; max-width:1120px; }
.sh-crumbs{ display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:4px 16px; border-radius:999px; font-size:14px; font-weight:500;
  background:rgba(4,13,27,.34); border:1px solid rgba(255,255,255,.24); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }
.sh-crumbs a{ color:rgba(255,255,255,.78); display:inline-flex; align-items:center; min-height:44px; margin:-12px 0; }
.sh-crumbs a:hover{ color:#fff; text-decoration:underline; text-underline-offset:3px; }
.sh-crumbs i{ font-size:12px; opacity:.6; }
.ev-title{ margin-top:22px; font-size:clamp(2.5rem, 4.3vw, 4rem); font-weight:500; letter-spacing:-0.035em; line-height:1.04; }
.ev-title .ln{ display:inline-block; overflow:hidden; padding-bottom:.08em; margin-bottom:-.08em; vertical-align:top; }
.ev-title .ln > span{ display:inline-block; animation:lineUp 1.1s var(--ease) both; animation-delay:calc(.25s + var(--i, 0) * .12s); }
.ev-sub{ margin-top:16px; font-size:clamp(16px, 1.3vw, 18.5px); line-height:1.55; color:rgba(255,255,255,.86); max-width:52ch; }

/* ---------- The tool card ---------- */
.ev-stage-wrap{ position:relative; z-index:20; margin-top:-112px; padding:0 24px; animation:riseBig 1.1s var(--ease) .75s both; }
.ev-tool{
  max-width:1080px; margin:0 auto; scroll-margin-top:calc(var(--hd-h) + 26px);
  display:grid; grid-template-columns:292px 1fr; gap:10px; padding:10px;
  background:#fff; border-radius:var(--r-sec); border:1px solid var(--line);
  box-shadow:0 40px 80px -40px rgba(7,25,49,.5), 0 6px 18px -8px rgba(7,25,49,.12);
}

/* Left rail: who prepares it, and where you are. */
.ev-rail{ position:relative; overflow:hidden; display:flex; flex-direction:column; border-radius:var(--r-card); padding:28px 26px 26px; color:#fff;
  background:radial-gradient(90% 60% at 100% 0%, rgba(201,164,92,.28) 0%, rgba(201,164,92,0) 60%), var(--navy-grad); }
.ev-faces{ display:flex; }
.ev-faces img{ width:56px; height:56px; border-radius:50%; object-fit:cover; object-position:50% 20%; border:3px solid #0E2A50; }
.ev-faces img + img{ margin-left:-14px; }
.ev-rail-t{ margin-top:16px; font-size:18px; font-weight:500; letter-spacing:-0.02em; line-height:1.3; max-width:16ch; }
.ev-steps{ margin-top:30px; }
.ev-steps li{ display:flex; align-items:center; gap:14px; padding:10px 0; font-size:15px; line-height:22px; color:rgba(255,255,255,.56); transition:color .35s ease; }
.ev-steps span{ position:relative; flex:none; width:22px; height:22px; border-radius:50%; border:1.5px solid rgba(255,255,255,.3); transition:background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.ev-steps li:not(:last-child) span::after{ content:""; position:absolute; left:50%; top:calc(100% + 1.5px); width:1px; height:18px; margin-left:-.5px; background:rgba(255,255,255,.18); transition:background-color .35s ease; }
.ev-steps span::before{ content:""; position:absolute; left:6px; top:3px; width:5px; height:9px; border:solid var(--ink); border-width:0 1.8px 1.8px 0; transform:rotate(45deg) scale(0); transition:transform .35s var(--ease); }
.ev-steps li.is-current{ color:#fff; font-weight:500; }
.ev-steps li.is-current span{ border-color:var(--accent-tint); box-shadow:0 0 0 4px rgba(232,199,126,.18), inset 0 0 0 4px #0B2446, inset 0 0 0 11px var(--accent-tint); }
.ev-steps li.is-done{ color:rgba(255,255,255,.82); }
.ev-steps li.is-done span{ background:var(--accent); border-color:var(--accent); }
.ev-steps li.is-done span::before{ transform:rotate(45deg) scale(1); }
.ev-steps li.is-done span::after{ background:rgba(232,199,126,.6); }
.ev-rail-note{ display:flex; align-items:center; gap:8px; margin-top:auto; padding-top:28px; font-size:13.5px; color:rgba(255,255,255,.72); }
.ev-rail-note i{ font-size:17px; color:var(--accent-tint); }

/* Right: the question. */
.ev-main{ display:flex; flex-direction:column; padding:clamp(24px, 3.4vw, 44px) clamp(22px, 3.6vw, 48px) clamp(24px, 3vw, 40px); min-width:0; }
.funnel-progress{ height:4px; border-radius:999px; background:var(--panel-2); overflow:hidden; }
.funnel-progress .bar{ height:100%; width:0; min-width:10px; border-radius:inherit; background:linear-gradient(90deg, var(--accent), var(--accent-tint)); transition:width .6s var(--ease); }
.tool-stage{ flex:1; display:flex; flex-direction:column; justify-content:center; margin-top:30px; min-height:318px; }
.ev-tool .f-step{ display:none; }
.ev-tool .f-step.active{ display:block; width:100%; animation:evStep .55s var(--ease) both; }
@keyframes evStep{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
.f-kicker{ display:block; font-size:14px; font-weight:500; color:var(--accent-text); }
.ev-tool .f-step h2{ margin-top:8px; font-size:clamp(1.85rem, 2.6vw, 2.5rem); font-weight:400; letter-spacing:-0.03em; line-height:1.1; text-wrap:balance; }
.ev-tool .f-sub{ margin-top:10px; font-size:16px; line-height:1.55; color:var(--muted); max-width:54ch; }

/* Step 1: the address bar. main.js wraps the input in .ac-wrap; the
   suggestion list hangs off the whole bar. */
.hero-search{ position:relative; z-index:5; display:flex; align-items:center; gap:10px; margin-top:26px; padding:8px 8px 8px 20px; border-radius:999px; background:#fff; border:1px solid var(--line-2);
  transition:border-color .2s ease, box-shadow .2s ease; }
.hero-search:focus-within{ border-color:var(--accent); box-shadow:0 0 0 4px rgba(201,164,92,.28); }
.hs-field{ flex:1; min-width:0; display:flex; align-items:center; gap:12px; }
.hs-field > i{ flex:none; font-size:23px; color:var(--accent-text); }
.hero-search .ac-wrap{ position:static; flex:1; min-width:0; }
.hs-field input{ width:100%; height:52px; border:0; outline:0; background:transparent; font:inherit; font-size:17px; color:var(--ink); }
.hs-field input::placeholder{ color:#6B7585; }
.hero-search .btn{ flex:none; height:56px; padding:0 26px 0 30px; }
.ev-tool .btn i{ font-size:18px; transition:transform .3s var(--ease); }
.ev-tool .btn:hover i{ transform:translateX(3px); }
.f-microline{ margin-top:14px; font-size:14px; color:var(--muted); }

/* Steps 2 and 3: one tap answers and moves on. */
.f-options{ display:grid; grid-template-columns:repeat(5, 1fr); gap:12px; margin-top:28px; }
.f-options .f-opt{ height:104px; border-radius:var(--r-card); border:1px solid var(--line-2); background:#fff; font-size:30px; font-weight:400; letter-spacing:-0.03em; color:var(--ink);
  transition:border-color .2s ease, background-color .25s ease, color .25s ease, transform .3s var(--ease), box-shadow .3s ease; }
.f-options .f-opt:hover{ border-color:var(--ink); transform:translateY(-2px); box-shadow:0 14px 28px -18px rgba(7,25,49,.4); }
.f-options .f-opt:active{ transform:scale(.97); }
.f-options .f-opt.selected{ background:var(--navy-grad); border-color:var(--ink); color:#fff; }

/* Step 4: pick any. */
.f-chips{ display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin-top:24px; }
.f-chips .f-opt{ position:relative; display:flex; align-items:center; gap:10px; height:56px; padding:0 16px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:15px; font-weight:500; color:var(--ink); text-align:left; white-space:nowrap;
  transition:border-color .2s ease, background-color .25s ease, color .25s ease, transform .2s var(--ease); }
.f-chips .f-opt i{ flex:none; font-size:21px; color:var(--accent-text); transition:color .25s ease; }
.f-chips .f-opt:hover{ border-color:var(--ink); }
.f-chips .f-opt:active{ transform:scale(.97); }
.f-chips .f-opt.selected{ background:var(--navy-grad); border-color:var(--ink); color:#fff; }
.f-chips .f-opt.selected i{ color:var(--accent-tint); }
.f-more{ margin-top:18px; }
.f-lbl{ display:block; font-size:14px; font-weight:500; color:var(--ink-2); margin:0 0 7px 4px; }
.f-lbl span{ font-weight:400; color:var(--muted); margin-left:4px; }
.f-more textarea.field{ height:92px; }

.f-nav{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 16px; margin-top:26px; }
.f-back{ display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 16px 0 12px; margin-left:-12px; border-radius:999px; font-size:15px; font-weight:500; color:var(--muted); transition:background-color .2s ease, color .2s ease; }
.f-back i{ font-size:17px; transition:transform .3s var(--ease); }
.f-back:hover{ background:var(--panel); color:var(--ink); }
.f-back:hover i{ transform:translateX(-3px); }

/* Step 5: the real form. */
#evalFinish{ margin-top:24px; }
#evalFinish .btn{ width:100%; margin-top:4px; }
.f-fine{ display:inline-flex; align-items:center; gap:7px; font-size:13.5px; color:var(--muted); }
.f-fine i{ font-size:16px; color:var(--accent-text); }

/* Step 6: thank you. */
.tool-thanks{ text-align:center; padding-top:10px; }
.tool-thanks .lm-success{ padding:0; }
.ev-tool .tool-thanks h2{ margin-top:0; }
.tool-thanks > p{ margin:14px auto 0; font-size:16.5px; line-height:1.6; color:var(--muted); max-width:52ch; }
.tool-result-actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:28px; }

/* Step 6, part two: the in person follow up. */
.ev-tool [hidden]{ display:none !important; }
.ev-visit{ margin-top:30px; padding:clamp(24px, 3vw, 34px) clamp(20px, 3vw, 36px); border-radius:var(--r-card); background:var(--panel); }
.ev-visit-ic{ width:48px; height:48px; margin:0 auto; border-radius:50%; display:grid; place-items:center; background:#fff; color:var(--accent-text); font-size:23px; box-shadow:0 6px 16px -10px rgba(7,25,49,.35); }
.ev-visit-q{ margin:14px auto 0; max-width:30ch; font-size:clamp(1.25rem, 1.7vw, 1.5rem); font-weight:500; letter-spacing:-0.025em; line-height:1.25; text-wrap:balance; }
.ev-visit-sub{ margin:10px auto 0; max-width:46ch; font-size:15.5px; line-height:1.55; color:var(--muted); text-wrap:pretty; }
.ev-visit-choices{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 12px; margin-top:22px; }
.ev-visit-choices .pill-line{ background:#fff; }
.ev-visit-close{ margin-top:28px; padding-top:26px; border-top:1px solid var(--line); outline:0; }
.ev-visit-close > p{ margin:0 auto; max-width:50ch; font-size:16px; line-height:1.6; color:var(--muted); }
.ev-visit-close b{ color:var(--ink); font-weight:600; }
.ev-visit-close a[href^="tel:"]{ color:var(--ink); font-weight:600; white-space:nowrap; text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:3px; }
.ev-visit-close .tool-result-actions{ margin-top:22px; }

/* The in person request: the live #ipeForm markup, restyled for the card. */
.ev-book{ margin-top:30px; padding:clamp(22px, 3vw, 34px); border-radius:var(--r-card); background:var(--panel); text-align:left; animation:evStep .55s var(--ease) both; }
.ev-book .ipe-card-head{ margin-bottom:22px; }
.ev-book .ipe-card-head h3{ font-size:clamp(1.3rem, 1.8vw, 1.55rem); font-weight:500; letter-spacing:-0.025em; line-height:1.2; outline:0; }
.ev-book .ipe-card-head p{ margin-top:8px; font-size:15px; line-height:1.55; color:var(--muted); max-width:56ch; }
.ipe-form{ display:flex; flex-direction:column; gap:16px; }
.ipe-field{ display:flex; flex-direction:column; min-width:0; }
.ipe-label{ display:block; font-size:14px; font-weight:500; color:var(--ink-2); margin:0 0 7px 4px; }
.ipe-label .opt{ font-weight:400; color:var(--muted); }
.ipe-help{ margin:-2px 0 8px 4px; font-size:13.5px; line-height:1.5; color:var(--muted); }
.ipe-form textarea.field{ height:104px; }
.ipe-form .btn{ width:100%; margin-top:4px; }
.ev-book .ac-wrap{ width:100%; }
.ipe-micro{ margin-top:16px; font-size:13.5px; line-height:1.55; color:var(--muted); text-align:center; }
.ipe-micro a{ color:var(--ink); font-weight:600; white-space:nowrap; }
.ipe-done.show{ flex-direction:column; align-items:center; gap:0; padding:clamp(22px, 3vw, 32px) 20px; background:#fff; color:var(--ink); text-align:center; }
.ipe-done .ring{ width:56px; height:56px; border-radius:50%; display:grid; place-items:center; background:var(--accent-soft); }
.ipe-done .ring svg{ width:24px; height:24px; margin:0; stroke:var(--accent-text); }
.ipe-done h3{ margin-top:14px; font-size:1.35rem; font-weight:500; letter-spacing:-0.02em; }
.ipe-done p{ margin-top:8px; max-width:46ch; font-size:15.5px; line-height:1.6; color:var(--muted); }
.ipe-done a{ color:var(--ink) !important; white-space:nowrap; }

/* Under the card. */
.ev-trust{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px 36px; max-width:1080px; margin:28px auto 0; font-size:15px; color:var(--muted); }
.ev-trust li{ display:inline-flex; align-items:center; gap:9px; }
.ev-trust i{ font-size:20px; color:var(--accent-text); }
.ev-trust b{ color:var(--ink); font-weight:600; }

/* ---------- How it is prepared ---------- */
.prep{ display:grid; grid-template-columns:5fr 7fr; gap:clamp(32px, 6vw, 96px); align-items:center; }
.prep-photo{ aspect-ratio:4/5; border-radius:var(--r-sec); overflow:hidden; background:var(--panel-2); }
.prep-photo img{ width:100%; height:100%; object-fit:cover; object-position:50% 0%; }
.js-rv .prep-photo.rv img{ transform:scale(1.08); transition:transform 1.8s var(--ease); }
.js-rv .prep-photo.rv.is-in img{ transform:none; }
.prep-copy .h2{ max-width:16ch; text-wrap:balance; }
.prep-copy .lede{ max-width:50ch; }
.prep-list{ margin-top:30px; }
.prep-list li{ display:grid; grid-template-columns:52px 1fr; column-gap:22px; padding:24px 0; border-top:1px solid var(--line); }
.prep-ic{ width:52px; height:52px; border-radius:50%; display:grid; place-items:center; font-size:24px; background:var(--accent-soft); color:var(--accent-text); transition:transform .5s var(--ease), background-color .3s ease, color .3s ease; }
.prep-list li:hover .prep-ic{ background:var(--accent); color:var(--ink); transform:rotate(-6deg); }
.prep-list h3{ margin-top:12px; font-size:19px; font-weight:500; letter-spacing:-0.02em; line-height:1.3; }
.prep-list p{ margin-top:6px; font-size:15.5px; line-height:1.62; color:var(--muted); max-width:54ch; }
.js-rv .prep-list li.rv{ transition-delay:calc(var(--i, 0) * 90ms); }

/* ---------- Online estimate vs ours ---------- */
.vs-head{ max-width:760px; margin-bottom:clamp(32px, 4vw, 52px); }
.vs-head .h2, .vs-head .lede{ text-wrap:balance; }
.vs{ position:relative; --lbl:200px; --gap:12px; margin:14px 0; }
.vs-them-bg{ position:absolute; top:-14px; bottom:-14px; left:calc(var(--lbl) + var(--gap)); width:calc((100% - var(--lbl) - 2 * var(--gap)) / 2); border-radius:var(--r-card);
  background:#fff; border:1px solid var(--line); box-shadow:0 30px 60px -38px rgba(7,25,49,.35), 0 2px 6px -2px rgba(7,25,49,.06); }
.vs-us-bg{ position:absolute; top:-14px; bottom:-14px; right:0; width:calc((100% - var(--lbl) - 2 * var(--gap)) / 2); border-radius:var(--r-card);
  background:radial-gradient(80% 50% at 100% 0%, rgba(201,164,92,.26) 0%, rgba(201,164,92,0) 60%), var(--navy-grad);
  box-shadow:0 30px 60px -34px rgba(7,25,49,.6); }
.vs-row{ position:relative; display:grid; grid-template-columns:var(--lbl) 1fr 1fr; column-gap:var(--gap); }
.vs-row > span{ display:flex; align-items:flex-start; gap:12px; padding:22px 28px; font-size:16.5px; line-height:1.45; text-wrap:pretty; }
.vs-row > .vs-lbl{ padding-left:0; font-size:15px; font-weight:500; color:var(--ink-2); }
.vs-row:not(.vs-top) > .vs-lbl, .vs-row:not(.vs-top) > .vs-them{ border-top:1px solid var(--line); }
.vs-row:not(.vs-top) > .vs-us{ border-top:1px solid rgba(255,255,255,.12); }
.vs-them{ color:var(--muted); }
.vs-them i{ flex:none; font-size:19px; margin-top:2px; color:#8A94A3; }
.vs-us{ color:#fff; }
.vs-us i{ flex:none; font-size:19px; margin-top:2px; color:var(--accent-tint); }
.vs-top > span{ padding-top:10px; padding-bottom:18px; font-size:15px; font-weight:500; text-wrap:balance; }
.vs-top .vs-us{ color:var(--accent-tint); }
.vs-top .vs-us i{ font-size:20px; margin-top:0; }
.vs-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.vs-foot{ display:flex; justify-content:center; margin-top:clamp(40px, 4vw, 56px); }
.vs-foot .pill:hover .pill-ic{ transform:translateY(-2px); }

/* ---------- Seller reviews ---------- */
.ev-rev{ display:grid; grid-template-columns:5fr 7fr; gap:clamp(32px, 6vw, 96px); align-items:start; }
.ev-score{ position:sticky; top:120px; }
.ev-score-card{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-top:32px; padding:clamp(26px, 3vw, 40px); border-radius:var(--r-sec); background:var(--panel); transition:background-color .3s ease; }
.ev-score-card:hover{ background:#E8EDF3; }
.ev-score-card b{ font-size:clamp(4.5rem, 7vw, 6.5rem); font-weight:300; line-height:.9; letter-spacing:-0.05em; }
.ev-score-card .stars-g{ color:var(--accent); font-size:20px; }
.ev-score-t{ font-size:15px; color:var(--muted); }
.ev-score-go{ display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:6px; font-size:15px; font-weight:500; }
.ev-score-go i{ font-size:17px; transition:transform .3s var(--ease); }
.ev-score-card:hover .ev-score-go i{ transform:rotate(45deg); }
.ev-quotes blockquote{ padding:34px 0; border-top:1px solid var(--line); }
.ev-quotes blockquote:first-child{ border-top:0; padding-top:6px; }
.ev-quotes p{ font-size:clamp(20px, 2vw, 27px); font-weight:400; line-height:1.34; letter-spacing:-0.02em; color:var(--ink); max-width:34ch; }
.ev-quotes footer{ margin-top:14px; font-size:14.5px; color:var(--muted); }
.js-rv .ev-quotes .rv{ transition-delay:calc(var(--i, 0) * 110ms); }

/* ---------- Bridge to /selling ---------- */
.ev-next{ display:grid; grid-template-columns:5fr 7fr; gap:10px; padding:10px; border-radius:var(--r-sec); color:#fff;
  background:radial-gradient(70% 90% at 0% 100%, rgba(201,164,92,.22) 0%, rgba(201,164,92,0) 60%), var(--navy-grad); }
.ev-next-copy{ display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; padding:clamp(24px, 3.4vw, 46px); }
.ev-next-copy .h2{ font-size:clamp(1.9rem, 2.8vw, 2.6rem); max-width:18ch; text-wrap:balance; }
.ev-next-copy p{ margin:16px 0 28px; font-size:16.5px; line-height:1.6; color:rgba(255,255,255,.78); max-width:42ch; }
.ev-next-photo{ position:relative; min-height:400px; border-radius:var(--r-card); overflow:hidden; background:var(--navy-2); }
.ev-next-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:48% 30%; transition:transform 1.2s var(--ease); }
.ev-next:hover .ev-next-photo img{ transform:scale(1.03); }

/* ---------- Closing form ---------- */
#pageCtaForm .btn{ width:100%; margin-top:6px; }

/* ---------- Responsive ---------- */
@media (max-width:1023px){
  .ev-tool{ grid-template-columns:240px 1fr; }
  .ev-rail{ padding:24px 20px; }
  .f-chips{ grid-template-columns:repeat(2, 1fr); }
  .prep{ grid-template-columns:1fr 1fr; }
  .ev-rev{ grid-template-columns:1fr; }
  .ev-score{ position:static; display:flex; flex-direction:column; }
  .ev-score-card{ flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 18px; }
  .ev-score-card b{ font-size:4.5rem; }
}
@media (max-width:860px){
  .ev-tool{ grid-template-columns:1fr; padding:0; }
  .ev-rail{ display:none; }
  .prep{ grid-template-columns:1fr; }
  .prep-photo{ aspect-ratio:4/3; }
  .ev-next{ grid-template-columns:1fr; }
  .ev-next-photo{ order:-1; min-height:0; aspect-ratio:4/3; }
}
@media (max-width:760px){
  .ev-hero .hero-card{ padding:calc(var(--hd-h) + 30px) 20px 118px; border-radius:0 0 24px 24px; }
  .sh-crumbs{ min-height:32px; padding:2px 12px; font-size:13px; }
  .ev-title{ margin-top:16px; font-size:clamp(2.2rem, 10vw, 2.7rem); line-height:1.06; }
  .ev-title .ln{ display:block; }
  .ev-sub{ margin-top:12px; font-size:15.5px; }

  .ev-stage-wrap{ margin-top:-86px; padding:0 12px; }
  .ev-tool{ border-radius:24px; }
  .ev-main{ padding:22px 18px 22px; }
  .tool-stage{ margin-top:22px; min-height:0; }
  .ev-tool .f-step h2{ font-size:1.75rem; }
  .ev-tool .f-sub{ font-size:15px; }

  .hero-search{ flex-direction:column; align-items:stretch; gap:6px; border-radius:var(--r-card); padding:6px; }
  .hs-field{ padding:0 8px 0 12px; }
  .hero-search .btn{ width:100%; height:54px; }

  .f-options{ gap:8px; margin-top:22px; }
  .f-options .f-opt{ height:68px; font-size:23px; border-radius:16px; }
  .f-chips{ gap:8px; margin-top:20px; }
  .f-chips .f-opt{ height:52px; padding:0 14px; font-size:14.5px; gap:8px; }
  .f-chips .f-opt i{ font-size:19px; }
  .f-nav{ margin-top:22px; }
  .f-nav .btn{ flex:1; max-width:220px; }
  .tool-result-actions .pill{ width:100%; justify-content:space-between; }
  .ev-visit{ margin-top:24px; padding:22px 16px; }
  .ev-visit-choices{ flex-direction:column; align-items:stretch; }
  .ev-visit-choices .pill{ width:100%; justify-content:space-between; }
  .ev-visit-choices .pill-line{ justify-content:center; white-space:normal; text-align:center; }
  .ev-book{ margin:24px -6px 0; padding:22px 14px; }
  .ipe-form .field-row{ grid-template-columns:1fr; }
  .tool-result-actions .pill-line{ justify-content:center; }

  .ev-trust{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:14px 4px 0; }
  .ev-trust li{ align-items:flex-start; gap:8px; padding:12px; border-radius:var(--r-img); background:var(--panel); font-size:13.5px; line-height:1.35; }
  .ev-trust i{ font-size:18px; margin-top:1px; }

  .prep-photo{ border-radius:var(--r-card); }
  .prep-list{ margin-top:18px; }
  .prep-list li{ grid-template-columns:44px 1fr; column-gap:16px; padding:20px 0; }
  .prep-ic{ width:44px; height:44px; font-size:21px; }
  .prep-list h3{ margin-top:8px; font-size:17.5px; }
  .prep-list p{ font-size:14.5px; }

  /* Comparison: each row becomes its own pair of tiles. */
  .vs{ margin:0; }
  .vs-us-bg, .vs-them-bg{ display:none; }
  .vs-row{ grid-template-columns:1fr 1fr; gap:8px; padding:16px 0; border-top:1px solid var(--line); }
  .vs-row > span{ padding:14px; font-size:14.5px; gap:8px; border-radius:var(--r-img); }
  .vs-row:not(.vs-top) > .vs-lbl, .vs-row:not(.vs-top) > .vs-them, .vs-row:not(.vs-top) > .vs-us{ border-top:0; }
  .vs-row > .vs-lbl{ grid-column:1 / -1; padding:0; font-size:14px; }
  .vs-row:not(.vs-top) > .vs-them{ background:#fff; box-shadow:inset 0 0 0 1px var(--line-2), 0 10px 22px -18px rgba(7,25,49,.4); }
  .vs-row:not(.vs-top) > .vs-us{ background:var(--navy-grad); }
  .vs-them i, .vs-us i{ font-size:17px; margin-top:1px; }
  .vs-top{ border-top:0; padding:0 0 4px; }
  .vs-top > .vs-lbl{ display:none; }
  .vs-top > span{ padding:0 4px; font-size:13.5px; }
  .vs-top .vs-us{ color:var(--accent-text); }
  .vs-foot .pill{ width:100%; justify-content:space-between; }

  .ev-score-card{ padding:20px 22px; border-radius:var(--r-card); margin-top:22px; }
  .ev-score-card b{ font-size:3.6rem; }
  .ev-score-t{ flex-basis:100%; }
  .ev-score-go{ margin-top:0; min-height:36px; }
  .ev-quotes blockquote{ padding:24px 0; }
  .ev-quotes blockquote:first-child{ padding-top:24px; border-top:1px solid var(--line); }
  .ev-quotes p{ font-size:18px; }

  .ev-next{ padding:8px; border-radius:24px; }
  .ev-next-copy{ padding:18px 12px 12px; }
  .ev-next-copy .pill{ width:100%; justify-content:space-between; }

}
/* While the tool is on screen, the sticky Get In Touch bar (shown up to
   820px by site.css) steps aside so it never covers an answer or a submit
   button, including the in person request that opens inside the card. */
@media (max-width:820px){
  body.ev-tool-in .mobile-cta{ transform:translateY(calc(100% + 24px)); }
}

@media (prefers-reduced-motion:reduce){
  .ev-title .ln > span, .ev-stage-wrap, .ev-tool .f-step.active, .ev-book{ animation:none !important; }
  .js-rv .prep-photo.rv img{ transform:none; }
  .ev-next:hover .ev-next-photo img{ transform:none; }
}
@media (max-width:760px){
  /* Keep all three faces in frame (the portrait photo has them about a third down) */
  .prep-photo{ aspect-ratio:5 / 4; }
  .prep-photo img{ object-position:50% 24%; }
}
@media (max-width:760px){
  .f-nav{ flex-direction:column-reverse; align-items:stretch; gap:6px; }
  .f-nav .pill{ max-width:none; width:100%; margin-left:0; justify-content:space-between; }
  .f-nav .f-back{ justify-content:center; margin-left:0; }
}
