:root{
  --paper:#f5f3ee;
  --paper-2:#ebe8e1;
  --white:#fff;
  --ink:#182022;
  --ink-2:#2a3638;
  --muted:#657173;
  --line:#d6d1c8;
  --line-strong:#bfc5c3;
  --deep:#20383b;
  --deep-2:#29474a;
  --accent:#2c94a6;
  --accent-2:#1f7f90;
  --accent-soft:#dcebed;
  --danger:#c4483f;
  --shadow:0 24px 70px rgba(20,30,31,.12);
  --shadow-soft:0 18px 50px rgba(20,30,31,.08);
  --max:1380px;
  --header-h:78px;
  --ease:cubic-bezier(.19,1,.22,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Onest,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.55;overflow-x:hidden}
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(circle at 15% 7%,rgba(255,255,255,.82),transparent 25%),radial-gradient(circle at 88% 18%,rgba(44,148,166,.055),transparent 28%),linear-gradient(90deg,rgba(31,55,58,.022) 1px,transparent 1px);background-size:auto,auto,92px 92px}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}
button{color:inherit}
.wrap{width:min(calc(100% - 64px),var(--max));margin:0 auto}
.section{padding:104px 0;border-top:1px solid var(--line)}
.section.soft{background:rgba(235,232,225,.82)}
.section.dark{background:var(--deep);color:#f8f7f3;border-top:0}
section[id]{scroll-margin-top:calc(var(--header-h) + 18px)}
.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:750;color:var(--muted);margin:0 0 15px}
.dark .eyebrow{color:#adc7c8}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:"IBM Plex Sans",Onest,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
h1{font-size:clamp(54px,4.3vw,82px);line-height:.96;letter-spacing:-.03em;margin-bottom:28px;max-width:980px;font-weight:700}
h2{font-size:clamp(40px,3.55vw,62px);line-height:1.04;letter-spacing:-.024em;margin-bottom:25px;font-weight:700}
h3{font-size:29px;line-height:1.12;letter-spacing:-.018em;margin-bottom:14px;font-weight:700}
.hero-copy h1{letter-spacing:-.012em}
.lead{font-size:clamp(19px,1.45vw,24px);color:#465255;max-width:800px}
.dark .lead{color:#cbd7d6}
.small{font-size:13px;color:var(--muted)}
.dark .small{color:#bac9c8}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:fixed;left:12px;top:-60px;z-index:200;background:#fff;color:#111;padding:10px 14px;border:1px solid var(--line);transition:top .2s}.skip-link:focus{top:12px}

/* Header */
.site-header{position:sticky;top:0;z-index:70;background:rgba(245,243,238,.89);backdrop-filter:blur(16px);border-bottom:1px solid rgba(213,208,199,.78);transition:box-shadow .32s ease,background .32s ease}
.site-header.is-scrolled{background:rgba(245,243,238,.965);box-shadow:0 10px 32px rgba(20,30,31,.07)}
.header-inner{height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:760;letter-spacing:-.035em;white-space:nowrap}
.brand img{width:43px;height:43px;object-fit:contain}
.nav{display:flex;gap:26px;align-items:center}
.nav a{font-size:14px;color:#3d494a;position:relative;padding:12px 0}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:1px;background:var(--accent);transform:scaleX(0);transform-origin:right;transition:transform .34s var(--ease)}
.nav a:hover::after,.nav a:focus-visible::after{transform:scaleX(1);transform-origin:left}
.header-actions{display:flex;align-items:center;gap:17px}
.phone{font-weight:750;white-space:nowrap}
.burger{display:none;border:0;background:transparent;width:44px;height:44px;padding:9px;cursor:pointer}
.burger span{display:block;height:2px;background:var(--ink);margin:5px 0;transition:transform .25s,opacity .25s}
.site-header.menu-open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.site-header.menu-open .burger span:nth-child(2){opacity:0}
.site-header.menu-open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Buttons: taken from the tea project interaction language, toned down for professional services */
.btn{--mx:0px;--my:0px;position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 24px;border:1px solid rgba(24,32,34,.42);border-radius:3px;background:transparent;color:var(--ink);font-weight:680;letter-spacing:.005em;overflow:hidden;cursor:pointer;translate:var(--mx) var(--my);transition:translate .30s cubic-bezier(.2,.8,.2,1),transform .30s var(--ease),border-color .34s,background .34s,color .34s,box-shadow .34s;will-change:translate,transform}
.btn>span,.btn>svg{position:relative;z-index:2}
.btn::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(115deg,transparent 0,rgba(255,255,255,.16) 38%,rgba(255,255,255,.45) 50%,rgba(255,255,255,.16) 62%,transparent 100%);transform:translateX(-130%);transition:transform .75s cubic-bezier(.2,.8,.2,1)}
.btn:hover{transform:translateY(-1px);border-color:var(--accent)}
.btn:hover::before{transform:translateX(130%)}
.btn:focus-visible{outline:3px solid rgba(44,148,166,.24);outline-offset:3px}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 10px 24px rgba(44,148,166,.16)}
.btn.primary:hover{background:var(--accent-2);border-color:var(--accent-2);box-shadow:0 15px 32px rgba(44,148,166,.22)}
.btn.secondary:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.btn.compact{min-height:44px;padding:0 17px;font-size:13px}
.dark .btn.secondary{border-color:rgba(225,235,234,.55);color:#fff}.dark .btn.secondary:hover{background:#fff;border-color:#fff;color:var(--deep)}
.btns{display:flex;gap:12px;flex-wrap:wrap}
.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--accent)}
.link-arrow::after{content:"→";transition:transform .28s var(--ease)}.link-arrow:hover::after{transform:translateX(4px)}

/* Reveal motion */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .72s ease,transform .78s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
.stagger>*{opacity:0;transform:translateY(20px);transition:opacity .62s ease,transform .68s var(--ease)}
.stagger.is-in>*{opacity:1;transform:none}.stagger.is-in>*:nth-child(2){transition-delay:.06s}.stagger.is-in>*:nth-child(3){transition-delay:.12s}.stagger.is-in>*:nth-child(4){transition-delay:.18s}.stagger.is-in>*:nth-child(5){transition-delay:.24s}.stagger.is-in>*:nth-child(6){transition-delay:.30s}

/* Hero */
.hero{padding:72px 0 112px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:64px;align-items:center}
.hero-copy .lead{margin-bottom:30px;max-width:760px}
.hero-facts{display:grid;grid-template-columns:repeat(4,1fr);margin-top:38px;padding-top:22px;border-top:1px solid var(--line)}
.hero-fact{padding-right:18px;font-size:13px;color:#536062}.hero-fact b{display:block;font-size:18px;color:var(--ink);margin-bottom:4px}
.hero-visual{position:relative;min-height:650px}
.hero-photo{position:absolute;inset:0 112px 55px 0;overflow:hidden;background:#ddd;box-shadow:var(--shadow)}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:66% 31%;filter:saturate(.84) contrast(1.03);transition:transform 1.1s var(--ease)}
.hero-photo:hover img{transform:scale(1.015)}
.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,29,30,.01) 48%,rgba(16,29,30,.19) 100%)}
.hero-photo-caption{position:absolute;left:19px;bottom:18px;z-index:2;background:rgba(245,243,238,.93);padding:10px 13px;font-size:12px;color:#435052;border-left:2px solid var(--accent);max-width:275px}
.hero-proof{position:absolute;right:0;bottom:0;width:355px;background:#fbfaf7;border:1px solid var(--line);box-shadow:0 22px 58px rgba(20,30,31,.15);padding:28px 29px 25px;transition:transform .4s var(--ease),box-shadow .4s}
.hero-proof:hover{transform:translateY(-4px);box-shadow:0 30px 70px rgba(20,30,31,.18)}
.proof-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:var(--muted);font-weight:760;margin-bottom:17px}
.proof-total{font-size:42px;line-height:1;font-weight:800;color:var(--accent);letter-spacing:-.045em;margin-bottom:7px}
.proof-label{font-size:16px;font-weight:680;line-height:1.25;margin-bottom:23px}
.proof-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid #e5e2dc;font-size:12px}.proof-row b{font-weight:750}
.proof-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding-top:15px;border-top:1px solid #e5e2dc;font-size:13px;font-weight:700}.proof-link span:last-child{color:var(--accent)}

/* Urgent */
.urgent{display:grid;grid-template-columns:.72fr 1.28fr;gap:86px;align-items:start}
.steps .step{display:grid;grid-template-columns:54px 1fr;gap:20px;padding:23px 0;border-top:1px solid rgba(255,255,255,.17)}
.steps .num{font:13px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;color:#9bb7b7;padding-top:6px}.step b{display:block;font-size:19px;margin-bottom:5px}.step p{margin:0;color:#cbd7d6;max-width:670px}

/* Report viewer */
.report-head{display:grid;grid-template-columns:1fr .86fr;gap:72px;align-items:end;margin-bottom:48px}.report-head .lead{font-size:18px}
.report-viewer{display:grid;grid-template-columns:1.08fr .92fr;gap:24px;align-items:stretch}
.report-stage{position:relative;min-height:750px;display:grid;place-items:center;background:#d9d7d1;padding:38px;overflow:hidden}
.report-stage::before{content:"ДЕМОНСТРАЦИОННЫЙ ПРИМЕР";position:absolute;left:22px;top:17px;font:11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;color:#657173}
.report-stage img{max-height:685px;width:auto;background:#fff;box-shadow:0 22px 58px rgba(0,0,0,.15);cursor:pointer}
.report-side{border:1px solid var(--line);padding:34px;background:#f8f6f1;display:flex;flex-direction:column;justify-content:space-between}
.report-count{font:12px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);margin-bottom:17px}.report-side h3{font-size:34px}.report-features{list-style:none;padding:0;margin:27px 0}.report-features li{padding:12px 0;border-top:1px solid var(--line);font-size:14px;display:flex;gap:9px}.report-features li::before{content:"";width:6px;height:6px;margin-top:8px;flex:0 0 6px;background:var(--accent)}
.report-callout{margin-top:24px;padding:18px 20px;background:var(--accent-soft);border-left:3px solid var(--accent);font-size:14px;color:#354446}
.report-strip{display:flex;gap:10px;overflow-x:auto;padding:15px 0 7px;scrollbar-width:thin;scroll-snap-type:x proximity}
.report-thumb{position:relative;border:1px solid var(--line);background:#fff;padding:0;flex:0 0 96px;cursor:pointer;opacity:.6;transition:opacity .22s,border-color .22s,transform .22s;scroll-snap-align:start}.report-thumb:hover{opacity:.9;transform:translateY(-2px)}.report-thumb.active{opacity:1;border-color:var(--accent);box-shadow:0 0 0 2px rgba(44,148,166,.13)}
.report-thumb img{width:100%;aspect-ratio:.705;object-fit:cover}.report-thumb span{position:absolute;right:5px;bottom:5px;background:rgba(24,32,34,.78);color:#fff;font:10px ui-monospace,SFMono-Regular,Menlo,monospace;padding:3px 5px}
.report-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.report-mobile-rail,.modal-mobile-rail{display:none}
.report-mobile-slide{appearance:none;-webkit-appearance:none;border:0;padding:0;margin:0;background:transparent;color:inherit}

/* Services */
.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.service-card{min-height:445px;padding:38px;border:1px solid var(--line);background:#f8f6f1;position:relative;overflow:hidden;transition:transform .42s var(--ease),box-shadow .42s,border-color .42s}.service-card.blue{background:#dfeaec}.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-soft);border-color:#bec9c8}.service-card h3{font-size:38px;max-width:460px}.service-card ul{columns:2;list-style:none;padding:0;margin:31px 0 0;column-gap:32px}.service-card li{padding:10px 0;border-top:1px solid rgba(24,32,34,.14);break-inside:avoid}.service-card .ghost{position:absolute;right:18px;bottom:4px;font-family:"STIX Two Text",Georgia,serif;font-size:108px;color:rgba(24,32,34,.055)}

/* Pricing */
.price-head{display:grid;grid-template-columns:1fr .82fr;gap:72px;margin-bottom:46px}.price-list{border-top:1px solid var(--ink)}.price-row{display:grid;grid-template-columns:1.23fr .6fr .92fr;gap:25px;align-items:start;padding:23px 0;border-bottom:1px solid var(--line)}.price-row strong{font-size:21px}.price-val{font-size:25px;font-weight:800;color:var(--accent)}.price-note{font-size:14px;color:var(--muted)}.price-foot{display:flex;justify-content:space-between;gap:34px;align-items:center;margin-top:30px}.badges{display:flex;gap:10px;flex-wrap:wrap}.badge{border:1px solid var(--line);padding:9px 12px;font-size:12px;background:#faf8f4}

/* Damage-to-calculation */
.case-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:24px;align-items:stretch}.case-photo{position:relative;min-height:630px;overflow:hidden;background:#ded9d0}.case-photo>img{width:100%;height:100%;object-fit:cover;object-position:56% 35%;filter:saturate(.88);transition:transform 1s var(--ease)}.case-photo:hover>img{transform:scale(1.02)}.case-tag{position:absolute;left:18px;top:18px;background:rgba(245,243,238,.94);padding:10px 13px;font-size:12px;border-left:2px solid var(--accent)}.case-caption{position:absolute;left:18px;bottom:18px;background:rgba(245,243,238,.94);padding:10px 13px;font-size:12px;max-width:280px}
.case-panel{border:1px solid var(--line);background:#f8f6f1;padding:47px;display:flex;flex-direction:column;justify-content:space-between}.case-panel h3{font-size:41px}.metrics{margin-top:34px}.metric{display:grid;grid-template-columns:1fr auto;gap:20px;padding:15px 0;border-top:1px solid var(--line)}.metric b{font-weight:750}.metric.total b{font-size:27px;color:var(--accent)}

/* Process */
.process-head{display:grid;grid-template-columns:1fr .8fr;gap:72px;align-items:end;margin-bottom:38px}.process-visuals{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:32px}.vector-card{border:1px solid var(--line);background:#f8f6f1;min-height:322px;padding:31px;display:grid;grid-template-columns:.75fr 1.25fr;gap:20px;align-items:center;transition:transform .42s var(--ease),box-shadow .42s}.vector-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft)}.vector-card img{width:100%;height:225px;object-fit:contain}
.photo-card{grid-template-columns:.82fr 1.18fr}
.photo-card img{height:260px;object-fit:cover;border-radius:2px;box-shadow:var(--shadow-soft)}.vector-card h3{font-size:27px}.vector-card p{color:var(--muted);font-size:14px}.timeline{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line)}.tl{padding:25px 22px 0 0;border-right:1px solid var(--line);margin-right:22px;min-height:190px}.tl:last-child{border-right:0}.tl .n{font:12px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--accent);margin-bottom:28px}.tl h3{font-size:19px}.tl p{font-size:13px;color:var(--muted)}

/* Trust */
.trust-shell{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:56px;align-items:start}.trust-title{font-size:clamp(44px,3.4vw,64px);line-height:1.08}.trust-title span{display:block;white-space:nowrap}.trust-copy .lead{font-size:18px}.trust-brandline{display:flex;align-items:center;gap:14px;margin:28px 0 18px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.trust-brandline img{width:56px;height:56px}.trust-brandline strong{display:block;font-size:19px}.trust-brandline span{font-size:13px;color:var(--muted)}.trust-cards{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.trust-item{min-height:158px;padding:25px 24px 20px 0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.trust-item:nth-child(even){padding-left:24px;border-right:0}.trust-value{font-size:35px;line-height:1;font-weight:800;color:var(--accent);letter-spacing:-.04em;margin-bottom:11px}.trust-item b{display:block;font-size:16px;margin-bottom:5px}.trust-item p{margin:0;font-size:13px;color:var(--muted)}
.inspection-note{margin-top:26px;padding:22px 24px;background:#f8f6f1;border:1px solid var(--line)}.inspection-note b{display:block;margin-bottom:6px}.inspection-note p{margin:0;color:var(--muted);font-size:14px}

/* Legal cross-sell */
.legal{display:grid;grid-template-columns:.82fr 1.18fr;gap:88px}.flow{font-size:25px;font-weight:750;border-bottom:1px solid rgba(255,255,255,.24);padding-bottom:22px}.branches{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:24px}.branch{border:1px solid rgba(255,255,255,.22);padding:26px;min-height:235px}.branch.light{background:#f5f2eb;color:var(--ink);border-color:#f5f2eb}.branch h3{font-size:25px}.branch p{opacity:.82}.legal-price{margin-top:17px;font-size:13px;color:#bcd0ce}.legal-price b{color:#fff}

/* Docs */
.docs-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.doc-card{border:1px solid var(--line);padding:30px;background:#faf8f3}.doc-card h3{font-size:25px}.doc-list{list-style:none;padding:0;margin:24px 0 0}.doc-list li{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-top:1px solid var(--line);font-size:14px}.doc-list span:last-child{color:var(--muted);text-align:right}

/* FAQ */
.faq{border-top:1px solid var(--line)}.faq-item{border-bottom:1px solid var(--line)}.faq-q{width:100%;display:flex;justify-content:space-between;gap:20px;padding:23px 0;border:0;background:transparent;cursor:pointer;text-align:left;font-size:19px;font-weight:680}.faq-q:hover{color:var(--accent-2)}.faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .32s ease;color:var(--muted)}.faq-a>div{overflow:hidden}.faq-a p{max-width:980px;margin:0;padding:0 0 24px}.faq-item.open .faq-a{grid-template-rows:1fr}.plus{font-size:24px;transition:transform .25s}.faq-item.open .plus{transform:rotate(45deg)}

/* Contact */
.contact{display:grid;grid-template-columns:1fr .92fr;gap:86px}.big-phone{font-size:clamp(36px,4.2vw,62px);font-weight:800;letter-spacing:-.045em;display:block;margin:27px 0}.contact-lines{display:grid;gap:6px;color:#475456}.form{display:grid;gap:13px}.field{display:grid;gap:7px}.field label{font-size:12px;font-weight:680;color:#596566}.form input,.form select,.form textarea{width:100%;border:1px solid #c9c5bc;background:#faf8f4;border-radius:3px;min-height:56px;padding:0 16px;outline:none;transition:border-color .24s,box-shadow .24s}.form textarea{padding:15px 16px;min-height:110px;resize:vertical}.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(44,148,166,.1)}.consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--muted);line-height:1.45}.consent input{width:17px;height:17px;min-height:auto;margin-top:2px;flex:0 0 auto}.consent a{text-decoration:underline;text-underline-offset:2px}.hp{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}.form-status{min-height:21px;font-size:13px;color:var(--muted)}.form-status.success{color:#176c78}.form-status.error{color:#b23e35}

/* Footer */
footer{padding:37px 0 96px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.footer{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:30px}.footer-brand{display:flex;align-items:flex-start;gap:12px}.footer-brand img{width:40px;height:40px}.footer strong{color:var(--ink);display:block;margin-bottom:5px}.footer a:hover{color:var(--accent-2)}.footer-bottom{grid-column:1/-1;margin-top:18px;padding-top:18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:22px;flex-wrap:wrap}

/* Report modal */
.modal{position:fixed;inset:0;background:rgba(10,16,17,.84);z-index:100;display:none;align-items:center;justify-content:center;padding:26px}.modal.open{display:flex}.modal-card{width:min(1080px,100%);max-height:92vh;background:#222c2e;padding:20px;display:grid;grid-template-columns:1fr 260px;gap:18px;position:relative}.modal-img-wrap{display:grid;place-items:center;overflow:auto;background:#161e20;min-height:70vh}.modal-img{max-height:84vh;width:auto}.modal-meta{color:#fff;padding:28px 20px 20px 10px}.modal-meta .eyebrow{color:#99b8bb}.modal-meta h3{font-size:29px}.modal-meta p{color:#c3d0cf}.modal-close{position:absolute;right:12px;top:8px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#111;font-size:26px;cursor:pointer;z-index:2}.modal-nav{display:flex;gap:8px;margin-top:20px}.modal-nav button{flex:1;min-height:42px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;cursor:pointer}.modal-nav button:hover{background:#fff;color:#111}
.mobile-bar{display:none}


/* Responsive layout matrix: desktop, laptop, tablet and phone */
@media(min-width:1600px){
  .hero-grid{gap:72px}
  .hero{padding-top:78px}
  .trust-shell{gap:64px}
}

@media(max-width:1390px){
  .wrap{width:min(calc(100% - 48px),var(--max))}
  .header-inner{gap:18px}
  .nav{gap:18px}
  .nav a{font-size:13px}
  .header-actions{gap:12px}
  .hero-grid{gap:48px}
  .hero-proof{width:335px}
  .urgent{gap:64px}
  .report-head,.price-head,.process-head{gap:54px}
  .trust-shell{gap:48px}
  .legal,.contact{gap:62px}
}

@media(max-width:1220px){
  :root{--header-h:74px}
  .nav{display:none}
  .burger{display:block}
  .site-header.menu-open .nav{display:flex;position:absolute;right:24px;top:calc(100% + 8px);width:min(320px,calc(100vw - 48px));flex-direction:column;align-items:flex-start;gap:0;padding:18px 22px 20px;background:rgba(245,243,238,.99);border:1px solid var(--line);box-shadow:var(--shadow-soft)}
  .site-header.menu-open .nav a{width:100%;padding:11px 0;font-size:14px}
  .site-header.menu-open .nav a::after{bottom:7px}
  .header-actions{margin-left:auto}
}

@media(max-width:1180px){
  .wrap{width:min(calc(100% - 42px),var(--max))}
  .section{padding:88px 0}
  .hero{padding:62px 0 92px}
  .hero-grid,.urgent,.report-head,.report-viewer,.price-head,.case-grid,.process-head,.trust-shell,.legal{grid-template-columns:1fr}
  .hero-grid{gap:44px}
  .hero-copy{max-width:900px}
  .hero-visual{max-width:820px;width:100%;margin:4px auto 0;min-height:600px}
  .hero-photo{inset:0 126px 56px 0}
  .hero-facts{grid-template-columns:repeat(4,1fr)}
  .urgent{gap:42px}
  .report-head{gap:18px;margin-bottom:38px}
  .report-stage{min-height:640px;padding:34px}
  .report-stage img{max-height:580px}
  .report-side{min-height:390px}
  .case-photo{min-height:570px}
  .process-head{gap:16px}
  .timeline{grid-template-columns:repeat(2,1fr)}
  .trust-shell{gap:42px}
  .trust-title{font-size:clamp(46px,5.2vw,62px);max-width:900px}
  .trust-cards{max-width:960px}
  .legal{gap:38px}
  .footer{grid-template-columns:1fr 1fr}
}

@media(max-width:980px){
  .wrap{width:calc(100% - 40px)}
  .section{padding:80px 0}
  h1{font-size:clamp(52px,7.4vw,70px)}
  h2{font-size:clamp(40px,6vw,54px)}
  .lead{font-size:19px}
  .hero-facts{grid-template-columns:repeat(2,1fr);gap:18px 28px}
  .hero-visual{min-height:570px}
  .hero-photo{inset:0 112px 60px 0}
  .hero-proof{width:330px}
  .report-stage{min-height:565px;padding:28px}
  .report-stage img{max-height:510px}
  .service-grid,.process-visuals{grid-template-columns:1fr}
  .service-card{min-height:400px}
  .vector-card{min-height:300px}
  .case-photo{min-height:520px}
  .trust-title{font-size:clamp(43px,6vw,54px)}
  .trust-cards{grid-template-columns:1fr 1fr}
  .contact{grid-template-columns:1fr;gap:46px}
  .modal-card{grid-template-columns:1fr}
  .modal-meta{display:none}
  .modal-img{max-height:85vh}
}

@media(max-width:820px){
  .wrap{width:calc(100% - 36px)}
  .section{padding:74px 0}
  .hero{padding:52px 0 78px}
  .hero-visual{min-height:535px}
  .hero-photo{inset:0 90px 70px 0}
  .hero-proof{width:300px;padding:24px}
  .proof-total{font-size:37px}
  .report-stage{min-height:525px;padding:26px 20px}
  .report-stage img{max-height:470px}
  .report-side{padding:28px}
  .report-thumb{flex-basis:82px}
  .price-row{grid-template-columns:1.1fr .58fr .92fr;gap:18px}
  .price-row strong{font-size:19px}
  .price-val{font-size:22px}
  .case-photo{min-height:470px}
  .case-panel{padding:34px}
  .case-panel h3{font-size:35px}
  .vector-card{grid-template-columns:.9fr 1.1fr;padding:26px}
  .vector-card img{height:210px}
  .photo-card img{height:235px}
  .trust-title{font-size:45px}
  .branches{gap:12px}
  .doc-card{padding:26px}
}

@media(max-width:720px){
  :root{--header-h:66px}
  body{padding-bottom:66px}
  .wrap{width:calc(100% - 36px)}
  .section{padding:70px 0}
  .header-inner{height:66px}
  .brand img{width:38px;height:38px}
  .brand span{font-size:14px}
  .header-actions .btn,.phone{display:none}
  .site-header.menu-open .nav{right:18px;width:calc(100vw - 36px)}
  .hero{padding:48px 0 68px}
  h1{font-size:47px;line-height:.99}
  h2{font-size:38px;line-height:1.08}
  .lead{font-size:18px}
  .hero-facts{grid-template-columns:1fr 1fr}
  .report-stage{min-height:500px;padding:24px 16px}
  .report-stage img{max-height:450px}
  .report-side{padding:26px}
  .report-thumb{flex-basis:76px}
  .service-card{padding:27px;min-height:385px}
  .service-card ul{columns:1}
  .service-card h3{font-size:31px}
  .price-row{grid-template-columns:1fr auto;gap:7px 14px}
  .price-note{grid-column:1/-1}
  .price-row strong{font-size:18px}
  .price-val{font-size:20px}
  .price-foot{display:block}
  .price-foot .btns{margin-top:20px}
  .case-photo{min-height:440px}
  .case-panel{padding:28px}
  .case-panel h3{font-size:31px}
  .process-visuals{grid-template-columns:1fr}
  .vector-card,.photo-card{grid-template-columns:1fr;min-height:auto}
  .vector-card img{height:190px}
  .photo-card img{height:235px}
  .timeline{grid-template-columns:1fr}
  .tl{border-right:0;border-bottom:1px solid var(--line);margin:0;padding-bottom:21px;min-height:auto}
  .tl .n{margin-bottom:12px}
  .trust-title{font-size:40px}
  .trust-cards{grid-template-columns:1fr}
  .trust-item,.trust-item:nth-child(even){padding:22px 0;border-right:0}
  .branches{grid-template-columns:1fr}
  .docs-grid{grid-template-columns:1fr}
  .contact{gap:40px}
  .footer{grid-template-columns:1fr}
  .footer-bottom{display:block}
  .footer-bottom>*+*{margin-top:6px}
  .mobile-bar{display:grid;grid-template-columns:1fr 1.25fr;position:fixed;left:0;right:0;bottom:0;height:66px;background:#fff;border-top:1px solid var(--line);z-index:80}
  .mobile-bar a{display:grid;place-items:center;font-size:14px;font-weight:750}
  .mobile-bar a:last-child{background:var(--accent);color:#fff}
  .modal{padding:10px}
  .modal-card{padding:10px}
  .modal-img{max-height:88vh}
}

@media(max-width:520px){
  .wrap{width:calc(100% - 32px)}
  .section{padding:64px 0}
  .eyebrow{font-size:11px;letter-spacing:.14em}
  h1{font-size:clamp(41px,11.6vw,47px);letter-spacing:-.008em}
  h2{font-size:clamp(34px,9.2vw,39px)}
  h3{font-size:26px}
  .hero-grid{gap:30px}
  .hero-copy .lead{margin-bottom:24px}
  .btns{gap:9px}
  .hero .btns .btn{flex:1 1 100%}
  .hero-facts{gap:15px 18px;margin-top:30px}
  .hero-fact{padding-right:0}
  .hero-fact b{font-size:17px}
  .hero-visual{display:grid;gap:12px;min-height:0;margin:4px 0 0}
  .hero-photo{position:relative;inset:auto;aspect-ratio:4/3;min-height:0}
  .hero-photo-caption{left:12px;bottom:12px;max-width:235px}
  .hero-proof{position:relative;right:auto;bottom:auto;width:100%;padding:22px;box-shadow:var(--shadow-soft)}
  .proof-total{font-size:34px}
  .urgent .step{grid-template-columns:42px 1fr;gap:12px}
  .step b{font-size:17px}
  .report-stage{min-height:420px;padding:22px 12px}
  .report-stage::before{left:12px;top:11px;font-size:9px}
  .report-stage img{max-height:382px;max-width:100%}
  .report-side{padding:22px}
  .report-side h3{font-size:29px}
  .report-actions .btn{width:100%}
  .service-card{padding:24px}
  .price-row{padding:19px 0}
  .price-row strong{font-size:17px}
  .case-photo{min-height:380px}
  .case-tag,.case-caption{left:12px;right:12px;max-width:none}
  .case-panel{padding:24px}
  .metric{grid-template-columns:1fr;gap:4px}
  .metric b{text-align:left}
  .vector-card{padding:22px}
  .vector-card img,.photo-card img{height:auto;max-height:255px}
  .trust-title{font-size:36px;line-height:1.1}
  .trust-title span{white-space:normal}
  .trust-brandline{align-items:flex-start}
  .branch{padding:22px;min-height:auto}
  .doc-list li{display:block}
  .doc-list span:last-child{display:block;text-align:left;margin-top:3px}
  .faq-q{font-size:17px}
  .big-phone{font-size:34px}
}

@media(max-width:390px){
  .wrap{width:calc(100% - 28px)}
  h1{font-size:41px}
  h2{font-size:34px}
  .brand{gap:8px}
  .brand img{width:35px;height:35px}
  .brand span{font-size:13px}
  .hero-facts{grid-template-columns:1fr}
  .hero-photo{aspect-ratio:1/1}
  .proof-row{font-size:11.5px}
  .report-stage{min-height:385px}
  .report-stage img{max-height:345px}
  .trust-title{font-size:34px}
  .contact .big-phone{font-size:30px}
}

@media(hover:none),(pointer:coarse){.btn{translate:0 0!important}.hero-photo:hover img,.case-photo:hover>img{transform:none}.service-card:hover,.vector-card:hover,.hero-proof:hover{transform:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal,.stagger>*{opacity:1!important;transform:none!important}.btn{translate:0 0!important}}

/* v5.8 mobile refinement */
.report-meta-line{display:block}
.report-mobile-hint{display:none}
.case-caption-mobile{display:none}
.mobile-break{display:none}


@media(max-width:720px){
  /* Mobile anchors: navigation JS aligns the actual section label beneath the sticky header. */
  section[id]{scroll-margin-top:calc(var(--header-h) + 8px)}

  /* Report becomes a swipe-first viewer rather than a desktop control panel squeezed into a phone. */
  .report-viewer{display:block}
  .report-stage{min-height:0;padding:32px 10px 12px;touch-action:pan-y;user-select:none;-webkit-user-select:none}
  .report-stage img{max-height:none;width:100%;height:auto;max-width:100%;-webkit-user-drag:none}
  .report-stage::before{left:12px;top:10px}
  .report-mobile-hint{display:block;margin-top:10px;text-align:center;font-size:11px;color:var(--muted);line-height:1.35}
  .report-side{margin-top:12px;padding:18px;background:#f8f6f1}
  .report-meta-line{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:13px}
  .report-count{margin:0;font-size:11px;white-space:nowrap}
  .report-side h3{font-size:18px;line-height:1.25;margin:0;letter-spacing:-.005em}
  .report-features{margin:0}
  .report-features li{font-size:13px;line-height:1.42;padding:8px 0;gap:8px}
  .report-features li::before{margin-top:6px}
  .report-callout{margin-top:12px;padding:13px 14px;font-size:13px;line-height:1.5}
  .report-strip{display:none}
  .report-actions{margin-top:14px}
  #reportPrev,#reportNext,#reportOpen{display:none}
  .report-actions .btn{width:100%;min-height:50px;font-size:14px}

  /* Price footer breathes on touch screens. */
  .price-foot{margin-top:26px}
  .price-foot>.btn{display:flex;width:100%;margin-top:22px}
  .badges{gap:9px}

  /* Case copy reflects vertical mobile layout. */
  .case-caption span{display:block}
  .case-caption-desktop{display:none!important}
  .case-caption-mobile{display:block;margin-top:4px}

  /* Explicit line break for the commercial-property note. */
  .mobile-break{display:block;height:0}

  /* All FAQ items start collapsed on mobile and remain compact. */
  .faq-a{font-size:15px;line-height:1.56}
}

@media(max-width:520px){
  .section{padding:58px 0}
  .report-side{padding:16px}
  .report-meta-line{gap:7px}
  .report-side h3{font-size:17px}
  .report-callout{padding:12px 12px 12px 13px;font-size:13px}
  .price-note{line-height:1.5}
  .case-caption{font-size:12px;line-height:1.42}
}

@media(max-width:390px){
  .report-side{padding:14px}
  .report-meta-line{gap:6px}
  .report-side h3{font-size:16px}
  .report-features li{font-size:12.5px}
  .report-callout{font-size:12.5px}
}

/* v5.9 — SEO structure + desktop alignment + mobile-density pass */

/* Desktop refinements */
.hero-photo-caption{top:18px;bottom:auto;max-width:260px}
.service-card{min-height:390px}
.service-card h3{max-width:none}
.price-val{justify-self:stretch;text-align:center}

/* New human-readable SEO section */
.seo-detail-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:86px;align-items:start}
.seo-detail h2{max-width:760px;margin-bottom:0}
.seo-detail-copy{max-width:760px}
.seo-detail-copy p{font-size:17px;color:#465255;margin:0 0 20px}
.seo-detail-copy p:last-child{margin-bottom:0}

@media(max-width:1180px){
  .seo-detail-grid{grid-template-columns:1fr;gap:26px}
  .seo-detail h2{max-width:920px}
  .seo-detail-copy{max-width:920px}
}

@media(max-width:720px){
  :root{--header-h:66px}
  body{padding-bottom:0}
  section[id]{scroll-margin-top:calc(var(--header-h) + 32px)}
  .wrap{width:calc(100% - 30px)}
  .section{padding:48px 0}
  .eyebrow{margin-bottom:9px}
  h1{margin-bottom:18px}
  h2{margin-bottom:16px}
  h3{margin-bottom:10px}
  .lead{line-height:1.48}

  /* Header and anchor spacing */
  .site-header.menu-open .nav{right:15px;width:calc(100vw - 30px);padding:14px 18px 16px}
  .site-header.menu-open .nav a{padding:9px 0}

  /* Hero: show useful facts sooner and remove the redundant mobile report card. */
  .hero{padding:30px 0 40px}
  .hero-grid{gap:20px}
  .hero-copy .eyebrow{margin-bottom:10px}
  .hero-copy .lead{margin-bottom:18px}
  .hero .btns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.85fr);gap:8px}
  .hero .btns .btn{min-width:0;width:100%;min-height:50px;padding:0 12px;font-size:13.5px;white-space:nowrap}
  .hero-facts{grid-template-columns:1fr 1fr;gap:12px 14px;margin-top:20px;padding-top:15px}
  .hero-fact{padding-right:0;font-size:11.5px;line-height:1.38}
  .hero-fact b{font-size:15.5px;margin-bottom:2px}
  .hero-visual{display:block;min-height:0;margin:0}
  .hero-photo{position:relative;inset:auto;aspect-ratio:4/3;min-height:0}
  .hero-photo-caption{top:12px;bottom:auto;left:12px;max-width:220px;padding:8px 10px;font-size:10.5px;line-height:1.35}
  .hero-proof{display:none}

  /* Recently flooded */
  .urgent{gap:20px}
  .urgent .lead{margin-bottom:0}
  .steps .step{grid-template-columns:36px 1fr;gap:10px;padding:14px 0}
  .steps .step:last-child{padding-bottom:2px}
  .steps .num{padding-top:3px;font-size:11.5px}
  .step b{font-size:16px;line-height:1.42;margin-bottom:4px}
  .step p{font-size:14px;line-height:1.5}

  /* Report */
  #report{padding-top:44px;padding-bottom:30px}
  .report-head{gap:8px;margin-bottom:20px}
  .report-head .lead{font-size:16px;line-height:1.5;margin-bottom:9px}
  .report-head .small{font-size:12px;line-height:1.48;margin-bottom:0}
  .report-stage{padding:29px 9px 10px}
  .report-mobile-hint{margin-top:7px;font-size:10px}
  .report-side{margin-top:9px;padding:14px}
  .report-meta-line{align-items:flex-start;gap:7px;padding-bottom:9px;margin-bottom:9px}
  .report-count{line-height:1.25;padding-top:1px}
  .report-side h3{font-size:16px;line-height:1.25;margin:0}
  .report-features li{padding:6px 0;font-size:12.5px;line-height:1.38}
  .report-callout{margin-top:9px;padding:10px 11px 10px 12px;font-size:12.5px;line-height:1.45}
  .report-actions{margin-top:10px}
  .report-actions .btn{min-height:46px}

  /* Services */
  #services{padding-top:42px;padding-bottom:38px}
  #services h2{margin-bottom:18px}
  .service-grid{gap:10px}
  .service-card{min-height:0;padding:18px}
  .service-card h3{font-size:24px;line-height:1.12;margin-bottom:8px}
  .service-card .lead{font-size:14px!important;line-height:1.45;margin-bottom:0}
  .service-card ul{columns:1;margin:14px 0 0}
  .service-card li{padding:5px 0;font-size:13px;line-height:1.35}
  .service-card .ghost{font-size:76px;right:10px;bottom:-5px}

  /* Pricing */
  #price{padding-top:42px;padding-bottom:38px}
  .price-head{gap:7px;margin-bottom:20px}
  .price-head .lead{font-size:16px;line-height:1.5;margin-bottom:0}
  .price-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:14px 0;align-items:baseline}
  .price-row strong{font-size:16px;line-height:1.35}
  .price-val{font-size:19px;text-align:right;white-space:nowrap}
  .price-note{grid-column:1/-1;font-size:12.5px;line-height:1.42}
  .price-foot{margin-top:16px}
  .badges{gap:6px}
  .badge{padding:7px 9px;font-size:11.5px;line-height:1.3}
  .price-foot>.btn{margin-top:12px;min-height:50px}

  /* Damage -> calculation */
  #example{padding-top:42px;padding-bottom:38px}
  #example> .wrap > h2{margin-bottom:18px}
  .case-grid{gap:10px}
  .case-photo{min-height:350px}
  .case-tag{left:12px;top:12px;padding:8px 10px;font-size:11px}
  .case-caption{left:12px;right:12px;bottom:12px;max-width:none;padding:8px 10px;font-size:11.5px;line-height:1.4}
  .case-panel{padding:18px}
  .case-panel h3{font-size:27px;line-height:1.15;margin-bottom:9px}
  .case-panel .lead{font-size:14px!important;line-height:1.48;margin-bottom:0}
  .metrics{margin-top:15px}
  .metric{padding:9px 0;gap:8px;font-size:13px}
  .metric.total b{font-size:21px}
  .case-panel .btns{margin-top:14px}
  .case-panel .btn{min-height:48px;width:100%}

  /* Process */
  #process{padding-top:42px;padding-bottom:38px}
  .process-head{gap:6px;margin-bottom:18px}
  .process-head .lead{font-size:16px;line-height:1.5;margin-bottom:0}
  .process-visuals{gap:10px;margin-bottom:18px}
  .vector-card,.photo-card{grid-template-columns:1fr;gap:10px;padding:18px;min-height:0}
  .vector-card h3{font-size:23px;margin-bottom:7px}
  .vector-card p{font-size:13px;line-height:1.45;margin-bottom:0}
  .vector-card img{height:auto;max-height:155px;margin-top:2px}
  .photo-card img{height:auto;max-height:210px;width:100%;object-fit:cover;margin-top:2px}
  .timeline{display:block;border-top:1px solid var(--line)}
  .tl{display:grid;grid-template-columns:30px 82px minmax(0,1fr);gap:8px;align-items:start;min-height:0;margin:0;padding:10px 0;border-right:0;border-bottom:1px solid var(--line)}
  .tl .n{margin:2px 0 0;font-size:10.5px}
  .tl h3{font-size:15px;line-height:1.35;margin:0}
  .tl p{font-size:11.5px;line-height:1.42;margin:0}
  #process .btns[style]{margin-top:16px!important}
  #process .btns .btn{width:100%;min-height:50px}

  /* Trust */
  #trust{padding-top:42px;padding-bottom:38px}
  .trust-shell{gap:22px}
  .trust-title{font-size:34px;line-height:1.08;margin-bottom:16px}
  .trust-copy .lead{font-size:15px;line-height:1.52;margin-bottom:0}
  .trust-brandline{gap:10px;margin:18px 0 12px;padding:12px 0}
  .trust-brandline img{width:46px;height:46px}
  .trust-brandline strong{font-size:16px;line-height:1.3}
  .trust-brandline span{font-size:11.5px;line-height:1.35}
  .trust-copy .link-arrow{font-size:13px;line-height:1.35}
  .inspection-note{margin-top:15px;padding:14px}
  .inspection-note b{font-size:15px}
  .inspection-note p{font-size:12.5px;line-height:1.45}
  .trust-cards{grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}
  .trust-item,.trust-item:nth-child(even){min-height:128px;padding:14px 10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .trust-item:nth-child(even){padding-left:12px;border-right:0}
  .trust-value{font-size:27px;margin-bottom:7px}
  .trust-item b{font-size:13px;line-height:1.32;margin-bottom:4px}
  .trust-item p{font-size:10.8px;line-height:1.38}

  /* SEO explainer */
  #assessment-details{padding-top:42px;padding-bottom:40px}
  .seo-detail-grid{gap:16px}
  .seo-detail h2{font-size:33px;line-height:1.08}
  .seo-detail-copy p{font-size:14.5px;line-height:1.52;margin-bottom:11px}

  /* After assessment */
  #after{padding-top:42px;padding-bottom:38px}
  .legal{gap:20px}
  .legal .lead{font-size:16px;line-height:1.5;margin-bottom:0}
  .flow{font-size:clamp(16px,4.4vw,20px);line-height:1.2;letter-spacing:-.035em;white-space:nowrap;padding-bottom:14px}
  .branches{gap:9px;margin-top:14px}
  .branch{padding:17px;min-height:0}
  .branch h3{font-size:22px;line-height:1.16;margin-bottom:8px}
  .branch p{font-size:13.5px;line-height:1.48;margin-bottom:0}
  .branch .link-arrow{margin-top:10px;font-size:13px}
  .legal-price{margin-top:11px;font-size:12px}

  /* Documents */
  #documents{padding-top:42px;padding-bottom:38px}
  #documents h2{margin-bottom:18px}
  .docs-grid{gap:9px}
  .doc-card{padding:17px}
  .doc-card h3{font-size:21px;margin-bottom:0}
  .doc-list{margin-top:13px}
  .doc-list li{padding:8px 0;font-size:12.5px;line-height:1.4}
  .doc-list span:last-child{margin-top:2px;font-size:11px}

  /* FAQ */
  #faq{padding-top:42px;padding-bottom:34px}
  #faq h2{margin-bottom:18px}
  .faq-q{padding:14px 0;font-size:16.5px;line-height:1.35;gap:12px}
  .plus{font-size:21px;line-height:1}
  .faq-a{font-size:14px;line-height:1.5}
  .faq-a p{padding-bottom:15px}

  /* Contact */
  #contact{padding-top:42px;padding-bottom:34px}
  .contact{gap:22px}
  .contact .lead{font-size:16px;line-height:1.48;margin-bottom:0}
  .big-phone{font-size:31px;margin:16px 0}
  .contact-lines{gap:4px;font-size:12.5px}
  .form{gap:10px}
  .field{gap:5px}
  .form input,.form select{min-height:50px}
  .form textarea{min-height:88px}
  .form .btn{min-height:50px}

  /* Footer: compact, with explicit two-line legal bottom. */
  footer{padding:24px 0 calc(78px + env(safe-area-inset-bottom));font-size:11px}
  .footer{gap:16px}
  .footer-brand{gap:9px}
  .footer-brand img{width:34px;height:34px}
  .footer strong{margin-bottom:3px}
  .footer-bottom{display:grid;gap:3px;margin-top:10px;padding-top:10px}
  .footer-bottom>*+*{margin-top:0}

  .mobile-bar{height:64px}
  .mobile-bar a{font-size:13px}
}

@media(max-width:520px){
  .wrap{width:calc(100% - 28px)}
  .section{padding:44px 0}
  h1{font-size:clamp(37px,10.2vw,43px);line-height:1.01}
  h2{font-size:clamp(31px,8.5vw,36px);line-height:1.09}
  h3{font-size:24px}
  .lead{font-size:16px}
  .hero{padding:26px 0 36px}
  .hero-copy .lead{font-size:16px;line-height:1.5;margin-bottom:16px}
  .hero .btns .btn{font-size:12.5px;min-height:48px;padding:0 9px}
  .hero-facts{margin-top:17px;padding-top:13px;gap:10px 12px}
  .hero-fact{font-size:10.8px}
  .hero-fact b{font-size:14.5px}
  .hero-photo{aspect-ratio:4/3}
  .report-stage{padding-top:28px}
  .service-card{padding:16px}
  .service-card h3{font-size:22px}
  .price-head .lead{font-size:15px}
  .price-row{padding:12px 0}
  .price-row strong{font-size:15.5px}
  .price-val{font-size:18px}
  .case-photo{min-height:330px}
  .case-panel{padding:16px}
  .vector-card,.photo-card{padding:16px}
  .trust-title{font-size:32px}
  .seo-detail h2{font-size:31px}
  .branch{padding:15px}
  .faq-q{padding:13px 0;font-size:16px}
}

@media(max-width:390px){
  .wrap{width:calc(100% - 26px)}
  .section{padding:40px 0}
  h1{font-size:37px}
  h2{font-size:31px}
  .hero{padding:24px 0 34px}
  .hero .btns{grid-template-columns:minmax(0,1.48fr) minmax(0,.82fr);gap:7px}
  .hero .btns .btn{font-size:12px;padding:0 7px}
  .hero-facts{grid-template-columns:1fr 1fr;gap:9px 10px}
  .hero-fact{font-size:10.3px}
  .hero-fact b{font-size:14px}
  .hero-photo{aspect-ratio:4/3}
  .steps .step{grid-template-columns:32px 1fr}
  .report-side{padding:12px}
  .report-meta-line{gap:5px}
  .report-count{font-size:10.5px}
  .report-side h3{font-size:15px}
  .service-card h3{font-size:21px}
  .price-row strong{font-size:15px}
  .price-val{font-size:17px}
  .tl{grid-template-columns:28px 74px minmax(0,1fr);gap:7px}
  .tl h3{font-size:14px}
  .tl p{font-size:11px}
  .trust-title{font-size:30px}
  .trust-item,.trust-item:nth-child(even){min-height:124px;padding:13px 9px}
  .trust-item:nth-child(even){padding-left:10px}
  .trust-value{font-size:25px}
  .seo-detail h2{font-size:29px}
  .flow{font-size:16px}
  .branch h3{font-size:20px}
  .faq-q{font-size:15.5px}
  .big-phone{font-size:28px}
}

@media(max-width:350px){
  .hero-copy h1{font-size:34px}
  .hero .btns{grid-template-columns:1fr}
  .trust-cards{grid-template-columns:1fr}
  .trust-item,.trust-item:nth-child(even){border-right:0;padding-left:0;padding-right:0;min-height:0}
}


/* v5.10 — fluid desktop/notebook typography, calmer CTA sweep and native report snapping */
.hero-copy h1{max-width:none}
.hero-title-line,.hero-location{display:block}
.hero-location{white-space:nowrap}
@media(min-width:721px){
  footer{padding:30px 0 20px}
  .footer-bottom{margin-top:14px;padding-top:14px}
}

/* Large monitors: keep the hero monumental without breaking Санкт-Петербурге. */
@media(min-width:1600px){
  .hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:60px}
  .hero-copy h1{font-size:clamp(70px,4.05vw,78px)}
}

/* Main desktop/laptop band. Geometry and type scale together rather than waiting for mobile. */
@media(min-width:1181px) and (max-width:1599px){
  .section{padding:clamp(74px,5.8vw,88px) 0}
  .hero{padding:clamp(50px,4.5vw,66px) 0 clamp(72px,6vw,92px)}
  .hero-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(38px,3.4vw,52px)}
  .hero-copy h1{font-size:clamp(52px,4.2vw,68px);line-height:.98;margin-bottom:22px}
  h2{font-size:clamp(38px,3.55vw,56px)}
  h3{font-size:clamp(25px,1.9vw,28px)}
  .lead{font-size:clamp(18px,1.3vw,21px)}
  .hero-copy .lead{margin-bottom:25px}
  .hero-facts{margin-top:29px;padding-top:18px}
  .hero-fact{font-size:12px}.hero-fact b{font-size:16.5px}
  .hero-visual{min-height:clamp(515px,40vw,590px)}
  .hero-photo{inset:0 clamp(88px,7.8vw,108px) 48px 0}
  .hero-proof{width:clamp(292px,24.5vw,325px);padding:24px 25px 22px}
  .proof-total{font-size:38px}.proof-label{font-size:14px;margin-bottom:18px}
  .proof-row{padding:9px 0}.proof-kicker{margin-bottom:14px}
  .report-head{margin-bottom:38px}
  .report-stage{min-height:clamp(600px,47vw,680px);padding:32px}
  .report-stage img{max-height:clamp(545px,43vw,620px)}
  .report-side{padding:29px}.report-side h3{font-size:31px}
  .service-card{min-height:340px;padding:30px}.service-card h3{font-size:clamp(30px,2.45vw,35px)}
  .service-card ul{margin-top:24px}.service-card li{padding:8px 0}
  .price-head{margin-bottom:36px}.price-row{padding:19px 0}.price-row strong{font-size:19px}.price-val{font-size:23px}
  .case-photo{min-height:clamp(500px,39vw,570px)}.case-panel{padding:38px}.case-panel h3{font-size:36px}.metrics{margin-top:27px}.metric{padding:12px 0}
  .process-head{margin-bottom:30px}.process-visuals{margin-bottom:26px}.vector-card{min-height:285px;padding:26px}.vector-card img{height:200px}.photo-card img{height:228px}
  .tl{min-height:158px;padding-top:20px}.tl .n{margin-bottom:20px}
  .trust-title{font-size:clamp(42px,3.7vw,56px)}.trust-item{min-height:145px;padding-top:21px;padding-bottom:17px}
  .branch{min-height:210px;padding:23px}
  .doc-card{padding:26px}
  .faq-q{padding:20px 0}
  .big-phone{font-size:clamp(34px,3.7vw,52px)}
}

/* Small laptops / landscape tablets: the existing single-column layout also becomes typographically smaller. */
@media(min-width:981px) and (max-width:1180px){
  .section{padding:68px 0}
  .hero{padding:46px 0 66px}
  .hero-copy h1{font-size:clamp(48px,5vw,58px);line-height:1;margin-bottom:21px}
  h2{font-size:clamp(36px,4.15vw,47px)}
  h3{font-size:25px}
  .lead{font-size:18px}
  .hero-grid{gap:28px}
  .hero-visual{max-width:720px;min-height:500px}
  .hero-photo{inset:0 105px 48px 0}
  .hero-proof{width:300px;padding:23px}
  .report-stage{min-height:560px}.report-stage img{max-height:505px}
  .service-card{min-height:330px;padding:29px}.service-card h3{font-size:31px}
  .case-photo{min-height:490px}.case-panel{padding:32px}.case-panel h3{font-size:33px}
  .vector-card{padding:24px}.timeline{gap:0}.tl{min-height:145px}
}

/* Netbooks / compact landscape widths, before the dedicated phone layout starts. */
@media(min-width:721px) and (max-width:980px){
  .section{padding:58px 0}
  .hero{padding:40px 0 58px}
  .hero-copy h1{font-size:clamp(45px,5.25vw,52px);line-height:1;margin-bottom:19px}
  h2{font-size:clamp(34px,4.5vw,43px);line-height:1.06}
  h3{font-size:24px}
  .lead{font-size:17px}
  .hero-grid{gap:25px}
  .hero-facts{margin-top:25px;padding-top:16px}
  .hero-visual{min-height:465px;max-width:680px}
  .hero-photo{inset:0 96px 48px 0}
  .hero-proof{width:285px;padding:21px}
  .proof-total{font-size:34px}.proof-label{font-size:13px}
  .report-stage{min-height:500px}.report-stage img{max-height:445px}
  .service-card{min-height:310px;padding:25px}.service-card h3{font-size:29px}
  .case-photo{min-height:440px}.case-panel{padding:28px}.case-panel h3{font-size:30px}
  .vector-card{padding:22px}.vector-card img{height:180px}.photo-card img{height:210px}
}

@media(max-width:720px){
  /* Native tea-style carousel: browser inertia + mandatory snap + no skipped slide. */
  .report-stage{display:block;touch-action:auto;overflow:hidden}
  .report-desktop-page{display:none!important}
  .report-mobile-rail{display:grid;width:100%;grid-auto-flow:column;grid-auto-columns:100%;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .report-mobile-rail::-webkit-scrollbar,.modal-mobile-rail::-webkit-scrollbar{display:none}
  .report-mobile-slide{width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:grid;place-items:center;cursor:pointer}
  .report-mobile-slide img{display:block;width:100%;height:auto;max-width:100%;background:#fff;box-shadow:0 16px 38px rgba(0,0,0,.13);-webkit-user-drag:none;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
  .report-mobile-hint{margin-top:7px}

  .modal-img-wrap{overflow:hidden}
  .modal-img{display:none}
  .modal-mobile-rail{display:grid;width:100%;height:100%;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .modal-mobile-rail .report-mobile-slide{height:100%;cursor:default}
  .modal-mobile-rail .report-mobile-slide img{width:auto;max-width:100%;max-height:86vh;object-fit:contain;box-shadow:none}
}

/* v5.12 — simple desktop lightbox; mobile report stays swipe-only. */
@media(max-width:720px){
  .report-mobile-slide{cursor:default}
  .report-mobile-hint{font-size:11px}
  .modal{display:none!important}
}


/* v5.13 — restore stable desktop report thumbnails + compact section rhythm */

/* The expanded desktop preview keeps the old simple lightbox, but long report titles
   must wrap inside the metadata column instead of escaping it. */
.modal-meta h3{
  font-size:23px;
  line-height:1.10;
  letter-spacing:-.012em;
  overflow-wrap:break-word;
  hyphens:auto;
}

/* The 1489x2105 intrinsic image dimensions must not dictate thumbnail height.
   The button owns the page aspect ratio; the image simply fills it. */
.report-strip{align-items:flex-start}
.report-thumb{
  flex:0 0 96px;
  width:96px;
  aspect-ratio:1489 / 2105;
  height:auto;
  overflow:hidden;
}
.report-thumb img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
}

/* Reduce the empty beginning/end of every content section by roughly 50%.
   Hero's TOP spacing is deliberately untouched; only its bottom spacing is reduced. */
.section{padding-top:52px;padding-bottom:52px}
.hero{padding-bottom:56px}

@media(min-width:1181px) and (max-width:1599px){
  .section{padding-top:clamp(37px,2.9vw,44px);padding-bottom:clamp(37px,2.9vw,44px)}
  .hero{padding-bottom:clamp(36px,3vw,46px)}
}

@media(min-width:981px) and (max-width:1180px){
  .section{padding-top:34px;padding-bottom:34px}
  .hero{padding-bottom:33px}
}

@media(min-width:721px) and (max-width:980px){
  .section{padding-top:29px;padding-bottom:29px}
  .hero{padding-bottom:29px}
  .modal-meta h3{font-size:21px}
}

@media(max-width:720px){
  #now.section,#report.section,#services.section,#price.section,#example.section,
  #process.section,#trust.section,#assessment-details.section,#after.section,
  #documents.section,#faq.section,#contact.section{
    padding-top:22px;
    padding-bottom:20px;
  }
  .hero{padding-bottom:20px}
}

@media(max-width:520px){
  #now.section,#report.section,#services.section,#price.section,#example.section,
  #process.section,#trust.section,#assessment-details.section,#after.section,
  #documents.section,#faq.section,#contact.section{
    padding-top:20px;
    padding-bottom:19px;
  }
  .hero{padding-bottom:18px}
}

@media(max-width:390px){
  #now.section,#report.section,#services.section,#price.section,#example.section,
  #process.section,#trust.section,#assessment-details.section,#after.section,
  #documents.section,#faq.section,#contact.section{
    padding-top:19px;
    padding-bottom:18px;
  }
  .hero{padding-bottom:17px}
}

/* v5.15 — real case carousel, inspection workflow, credential gallery */
.hero-case-rail{display:flex;overflow-x:auto;overflow-y:hidden;min-height:inherit;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-inline:contain}
.hero-case-rail::-webkit-scrollbar{display:none}
.hero-case-slide{position:relative;flex:0 0 100%;min-width:100%;min-height:inherit;scroll-snap-align:start;scroll-snap-stop:always}
.hero-case-photo{position:absolute;inset:0 112px 55px 0;overflow:hidden;background:#ddd;box-shadow:var(--shadow)}
.hero-case-photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.92) contrast(1.02);transition:transform 1.1s var(--ease)}
.hero-case-photo:hover img{transform:scale(1.012)}
.hero-case-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,29,30,.01) 48%,rgba(16,29,30,.19) 100%)}
.hero-case-card{position:absolute;right:0;bottom:0;width:min(355px,70%);background:#fbfaf7;border:1px solid var(--line);box-shadow:0 22px 58px rgba(20,30,31,.15);padding:28px 29px 25px;z-index:3}
.hero-case-card .proof-total{font-size:clamp(30px,2.35vw,42px);white-space:nowrap}
.hero-case-card .proof-label{margin-bottom:18px}
.hero-case-nav{position:absolute;left:18px;bottom:17px;z-index:6;display:flex;align-items:center;gap:7px;background:rgba(245,243,238,.94);border:1px solid rgba(214,209,200,.92);padding:5px}
.hero-case-nav button{width:36px;height:34px;border:0;background:transparent;color:var(--ink);cursor:pointer;font-size:18px;line-height:1;transition:background .2s,color .2s}
.hero-case-nav button:hover,.hero-case-nav button:focus-visible{background:var(--ink);color:#fff;outline:0}
.hero-case-nav span{min-width:58px;text-align:center;font:11px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted)}

.inspection-intro{max-width:900px;margin-bottom:30px}
.inspection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.inspection-action{position:relative;min-height:205px;padding:25px 24px 22px;border:1px solid var(--line);background:#faf8f3;overflow:hidden}
.inspection-action:nth-child(2),.inspection-action:nth-child(5){background:var(--accent-soft)}
.inspection-num{font:12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--accent);margin-bottom:20px}
.inspection-action h3{font-size:24px;line-height:1.16;margin-bottom:10px}
.inspection-action p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}

.credential-gallery{grid-column:1/-1;margin-top:28px;padding-top:30px;border-top:1px solid var(--line)}
.credential-head{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px;align-items:end;margin-bottom:20px}
.credential-head h3{font-size:31px;margin-bottom:0}
.credential-head p{margin:0;color:var(--muted);max-width:620px}
.credential-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.credential-card{border:1px solid var(--line);background:#faf8f3;min-width:0;transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s}
.credential-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);border-color:#bcc7c7}
.credential-preview{aspect-ratio:4/5;display:grid;place-items:center;overflow:hidden;background:#ece9e2;padding:12px}
.credential-preview img{width:100%;height:100%;object-fit:contain}
.credential-meta{padding:14px 15px 15px}
.credential-meta b{display:block;font-size:14px;line-height:1.35;margin-bottom:5px}
.credential-meta span{display:block;font-size:11.5px;line-height:1.4;color:var(--muted)}

.docs-grid.single{grid-template-columns:1fr}
.doc-card-wide{padding:26px 30px}
.doc-card-wide .doc-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 42px;margin:0}
.doc-card-wide .doc-list li{display:block;padding:12px 0;border-top:1px solid var(--line)}
.doc-card-wide .doc-list li:nth-child(-n+2){border-top:0}

@media(max-width:1390px){
  .hero-case-photo{inset:0 104px 55px 0}
  .hero-case-card{width:min(335px,70%)}
}
@media(max-width:1180px){
  .hero-case-photo{inset:0 126px 56px 0}
  .hero-case-card{width:min(350px,54%)}
  .credential-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:980px){
  .hero-case-photo{inset:0 112px 60px 0}
  .hero-case-card{width:min(330px,58%)}
  .inspection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .credential-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .hero-case-photo{inset:0 90px 70px 0}
  .hero-case-card{width:min(300px,60%);padding:22px 23px 20px}
  .hero-case-card .proof-label{font-size:14px}
  .credential-head{grid-template-columns:1fr;gap:8px}
}
@media(max-width:720px){
  .hero-case-rail,.hero-case-slide{min-height:0}
  .hero-case-slide{height:auto}
  .hero-case-photo{position:relative;inset:auto;aspect-ratio:4/3;box-shadow:var(--shadow-soft)}
  .hero-case-card{left:12px;right:12px;bottom:12px;width:auto;padding:13px 15px 12px;background:rgba(251,250,247,.96);box-shadow:0 12px 30px rgba(20,30,31,.13)}
  .hero-case-card .proof-kicker{font-size:8.5px;margin-bottom:7px}
  .hero-case-card .proof-total{font-size:28px;margin-bottom:4px}
  .hero-case-card .proof-label{font-size:11.5px;line-height:1.25;margin-bottom:8px}
  .hero-case-card .proof-row{padding:7px 0 0;font-size:10.5px}
  .hero-case-nav{left:auto;right:12px;top:12px;bottom:auto;padding:3px;background:rgba(245,243,238,.94)}
  .hero-case-nav button{width:32px;height:30px;font-size:16px}
  .hero-case-nav span{min-width:48px;font-size:9.5px}
  .inspection-intro{margin-bottom:18px;font-size:16px}
  .inspection-grid{grid-template-columns:1fr;gap:9px}
  .inspection-action{min-height:0;padding:17px 17px 16px}
  .inspection-num{margin-bottom:8px;font-size:10.5px}
  .inspection-action h3{font-size:20px;margin-bottom:6px}
  .inspection-action p{font-size:12.5px;line-height:1.45}
  .credential-gallery{margin-top:20px;padding-top:22px}
  .credential-head{margin-bottom:13px}
  .credential-head h3{font-size:24px}
  .credential-head p{font-size:12.5px;line-height:1.45}
  .credential-grid{grid-template-columns:1fr 1fr;gap:8px}
  .credential-preview{padding:7px}
  .credential-meta{padding:10px}
  .credential-meta b{font-size:12px}
  .credential-meta span{font-size:10px}
  .doc-card-wide{padding:16px}
  .doc-card-wide .doc-list{grid-template-columns:1fr;gap:0}
  .doc-card-wide .doc-list li,.doc-card-wide .doc-list li:nth-child(-n+2){border-top:1px solid var(--line);padding:9px 0;font-size:12.5px}
  .doc-card-wide .doc-list li:first-child{border-top:0}
}
@media(max-width:390px){
  .hero-case-card{left:10px;right:10px;bottom:10px;padding:12px 13px 11px}
  .hero-case-card .proof-total{font-size:25px}
  .hero-case-card .proof-label{font-size:10.8px}
  .hero-case-nav{right:10px;top:10px}
  .credential-grid{grid-template-columns:1fr 1fr}
  .credential-meta b{font-size:11.5px}
}

/* v5.16 — compact mobile case slider + watermarked credential lightbox */
:root{
  --credential-watermark:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NjAiIGhlaWdodD0iMTUwIiB2aWV3Qm94PSIwIDAgNDYwIDE1MCI+PHRleHQgeD0iMjMwIiB5PSI4MiIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9IkFyaWFsLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjI0IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjMmI0MjQ0IiBmaWxsLW9wYWNpdHk9IjAuMTMiIHRyYW5zZm9ybT0icm90YXRlKC0xMCAyMzAgNzUpIj7QntCe0J4g0KbQldCd0KLQoCDQntCm0JXQndCa0Jgg0Jgg0K3QmtCh0J/QldCg0KLQmNCXPC90ZXh0Pjwvc3ZnPg==")
}
.credential-preview{position:relative}
.credential-preview::after{content:"";position:absolute;inset:0;background-image:var(--credential-watermark);background-repeat:repeat;background-size:230px 75px;pointer-events:none;z-index:2}
.credential-card{margin:0}
.credential-meta b{margin-bottom:0}

/* Tea-site style desktop lightbox, deliberately using the web preview image rather than raw PDF/JPG. */
.credential-lightbox{position:fixed;inset:0;z-index:140;background:rgba(10,14,14,.9);display:grid;place-items:center;padding:28px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s ease,visibility .28s ease}
.credential-lightbox.is-open{opacity:1;visibility:visible;pointer-events:auto}
.credential-lightbox-frame{position:relative;display:grid;place-items:center;max-width:min(94vw,1100px);max-height:88vh;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.42);transform:scale(.965);transition:transform .32s cubic-bezier(.19,1,.22,1);overflow:hidden}
.credential-lightbox.is-open .credential-lightbox-frame{transform:scale(1)}
.credential-lightbox-frame img{display:block;max-width:min(94vw,1100px);max-height:88vh;width:auto;height:auto;object-fit:contain}
.credential-lightbox-frame::after{content:"";position:absolute;inset:0;background-image:var(--credential-watermark);background-repeat:repeat;background-size:300px 98px;pointer-events:none;z-index:2}
.credential-lightbox-close{position:absolute;right:28px;top:24px;width:48px;height:48px;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:28px;line-height:1;cursor:pointer;z-index:3}

@media(min-width:721px){
  .credential-card{cursor:pointer}
}
@media(max-width:720px){
  /* Hero cases on phones: swipe only. Native scroll-snap-stop remains the navigation mechanism. */
  .hero-case-nav{right:9px;top:9px;left:auto;bottom:auto;padding:3px 7px;border-color:rgba(214,209,200,.8);background:rgba(245,243,238,.9)}
  .hero-case-nav button{display:none}
  .hero-case-nav span{min-width:40px;font-size:8.7px}
  .hero-case-photo .hero-photo-caption{top:9px;left:9px;max-width:180px;padding:5px 7px 6px;font-size:9px;line-height:1.22;border-left-width:2px}
  .hero-case-photo .hero-photo-caption b{font-size:10px}
  .hero-case-card{left:9px;right:9px;bottom:9px;padding:8px 10px 8px}
  .hero-case-card .proof-kicker{font-size:7.3px;letter-spacing:.12em;margin-bottom:3px}
  .hero-case-card .proof-total{font-size:23px;line-height:1;margin-bottom:2px}
  .hero-case-card .proof-label{font-size:9.2px;line-height:1.18;margin-bottom:4px}
  .hero-case-card .proof-row{padding:4px 0 0;font-size:9.5px;line-height:1.15}
  /* Credential cards are deliberately inert on mobile. */
  .credential-card{cursor:default}
  .credential-card:hover{transform:none;box-shadow:none;border-color:var(--line)}
  .credential-lightbox{display:none!important}
}
@media(max-width:390px){
  .hero-case-photo .hero-photo-caption{max-width:164px;padding:5px 7px;font-size:8.7px}
  .hero-case-card{left:8px;right:8px;bottom:8px;padding:7px 9px}
  .hero-case-card .proof-total{font-size:22px}
  .hero-case-card .proof-label{font-size:8.8px}
  .hero-case-card .proof-row{font-size:9.2px}
}

/* v5.19 — constrain the mobile hero grid and add direct contact actions */
.hero-grid>*{min-width:0;max-width:100%}
.hero-case-rail{width:100%;max-width:100%}
.hero-case-slide{max-width:100%}

.contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:420px;margin:-10px 0 22px}
.contact-action{min-width:0;min-height:46px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 14px;border:1px solid rgba(24,32,34,.35);border-radius:3px;background:rgba(255,255,255,.42);font-size:14px;font-weight:700;transition:transform .25s var(--ease),border-color .25s,background .25s,color .25s}
.contact-action:hover{transform:translateY(-1px);border-color:var(--accent);background:var(--ink);color:#fff}
.contact-action:focus-visible{outline:3px solid rgba(44,148,166,.24);outline-offset:3px}
.contact-action svg{width:18px;height:18px;flex:0 0 auto;fill:currentColor}
.contact-action-mark{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1.5px solid currentColor;border-radius:5px;font-size:11px;line-height:1;font-weight:800}

@media(max-width:720px){
  .hero-copy h1{font-size:clamp(30px,9.5vw,47px)}
  .hero-location{max-width:100%;font-size:inherit}
  .hero-visual,.hero-case-rail,.hero-case-slide,.hero-case-photo{min-width:0;max-width:100%}
}

@media(max-width:390px){
  .contact-actions{gap:8px;margin-top:-6px}
  .contact-action{min-height:44px;padding:0 10px;font-size:13px}
}

/* Lead form confirmation and consent alignment. */
.consent{align-items:center}
.consent input{margin:0}
.form-status:empty{display:none}
.form-status.success,.form-status.error{position:relative;min-height:0;padding:20px 22px 20px 65px;border:1px solid #b9d8d6;border-left:4px solid #248b91;border-radius:5px;background:#eaf5f3;color:#194f54;font-size:15px;line-height:1.5;box-shadow:0 12px 28px rgba(25,79,84,.1)}
.form-status.success::before{content:'✓';position:absolute;left:20px;top:20px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#248b91;color:#fff;font-size:17px;font-weight:700;line-height:1}
.form-status__title{display:block;margin-bottom:3px;font-size:20px;line-height:1.25}
.form-status__details{display:block}
.form-status.error{border-color:#e7c4bd;border-left-color:#b23e35;background:#fff1ed;color:#842e27}
.form-status.error::before{content:'!';position:absolute;left:20px;top:20px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#b23e35;color:#fff;font-size:17px;font-weight:700;line-height:1}
.form-status:focus-visible{outline:3px solid #155d68;outline-offset:3px}
