:root{
  --ink:#1d2023;
  --ink-2:#2d3135;
  --muted:#6e7378;
  --paper:#f7f7f5;
  --line:#deded9;
  --accent:#d76331;
  --accent-dark:#bd4f24;
  --white:#fff;
  --container:1220px;
  --shadow:0 18px 45px rgba(20,24,27,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Montserrat",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}
.eyebrow{margin:0 0 14px;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700;color:#f1b296}
.eyebrow.dark{color:var(--accent)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:0 24px;border:1px solid transparent;font-weight:700;font-size:14px;transition:.2s ease;border-radius:2px}
.btn:hover{transform:translateY(-1px)}
.btn-accent{background:var(--accent);color:#fff;box-shadow:0 10px 26px rgba(215,99,49,.2)}
.btn-accent:hover{background:var(--accent-dark)}
.btn-ghost{border-color:rgba(255,255,255,.65);color:#fff;background:rgba(20,25,27,.22);backdrop-filter:blur(6px)}
.site-header{height:82px;background:#fff;position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(0,0,0,.06)}
.header-inner{height:100%;display:flex;align-items:center;gap:32px}
.brand{display:flex;align-items:center;margin-right:auto}
.brand img{width:164px;height:auto}
.desktop-nav{display:flex;gap:28px;font-size:13px;font-weight:600}
.desktop-nav a{position:relative}
.desktop-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--accent);transition:.2s}
.desktop-nav a:hover::after{right:0}
.header-actions{display:flex;align-items:center;gap:20px}
.phone{font-weight:700;font-size:14px;white-space:nowrap}
.header-cta{min-height:44px;padding:0 20px}
.menu-toggle{display:none;background:none;border:0;padding:10px}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--ink);margin:5px 0}
.mobile-menu{position:absolute;top:82px;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:24px;box-shadow:var(--shadow)}
.mobile-menu a{display:block;padding:12px 0;border-bottom:1px solid #eee;font-weight:600}
.mobile-menu .btn{margin-top:18px;width:100%}
.hero{position:relative;min-height:660px;display:flex;align-items:flex-end;color:#fff;overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,18,20,.86) 0%,rgba(15,18,20,.63) 36%,rgba(15,18,20,.12) 72%,rgba(15,18,20,.28) 100%)}
.hero-content{position:relative;z-index:2;padding:78px 0 46px}
.hero h1{margin:0;max-width:760px;font-size:clamp(48px,6vw,82px);line-height:.94;letter-spacing:-.045em;text-transform:uppercase;font-weight:800}
.hero h1 span{color:#ee7d4c}
.hero-lead{max-width:650px;font-size:18px;margin:26px 0 32px;color:rgba(255,255,255,.9)}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-proof{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:900px;margin-top:58px;border-top:1px solid rgba(255,255,255,.28);padding-top:24px}
.hero-proof div{padding-right:22px;border-right:1px solid rgba(255,255,255,.22)}
.hero-proof div:last-child{border-right:0}
.hero-proof strong,.hero-proof span{display:block}
.hero-proof strong{font-size:14px;margin-bottom:4px}
.hero-proof span{font-size:11px;color:rgba(255,255,255,.72)}
.hero-case{position:absolute;z-index:3;right:48px;bottom:46px;text-align:right;padding-left:26px;border-left:2px solid var(--accent)}
.hero-case span,.hero-case strong,.hero-case small{display:block}
.hero-case span{text-transform:uppercase;letter-spacing:.15em;font-size:10px;color:rgba(255,255,255,.7)}
.hero-case strong{font-size:15px;margin:5px 0}
.hero-case small{font-size:11px;color:rgba(255,255,255,.75)}
.section{padding:92px 0}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:42px}
.section-heading h2,.about h2,.estimate h2,.document-strip h2{margin:0;font-size:clamp(36px,4vw,56px);line-height:1.05;letter-spacing:-.035em}
.section-copy{max-width:700px;color:var(--muted);margin:15px 0 0}
.text-link{font-weight:700;color:var(--accent);white-space:nowrap;padding-bottom:4px;border-bottom:1px solid currentColor}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{border:1px solid var(--line);background:#fff;overflow:hidden;transition:.25s}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.service-card img{width:100%;height:220px;object-fit:cover;filter:saturate(.8)}
.service-body{padding:22px}
.service-body>span{font-size:11px;color:var(--accent);font-weight:700}
.service-body h3{font-size:19px;margin:8px 0 8px}
.service-body p{color:var(--muted);font-size:13px;margin:0 0 18px;min-height:40px}
.service-body a{font-size:12px;font-weight:700;color:var(--accent)}
.projects{background:#171a1c;color:#fff}
.section-heading.light .section-copy{color:#aeb4b8}
.project-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:310px;gap:16px}
.project-card{position:relative;overflow:hidden;background:#222}
.project-card.project-large{grid-column:span 2;grid-row:span 2}
.project-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.project-card:hover img{transform:scale(1.035)}
.project-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 36%,rgba(0,0,0,.82) 100%)}
.project-overlay{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:24px}
.project-overlay span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#ef9d78}
.project-overlay h3{font-size:22px;margin:6px 0}
.project-overlay p{font-size:12px;color:#d3d6d7;margin:0;max-width:520px}
.project-large .project-overlay{padding:32px}
.project-large .project-overlay h3{font-size:34px}
.about{background:var(--paper)}
.about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:84px;align-items:start}
.about-lead{font-size:17px;color:var(--muted);max-width:560px}
.benefits{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.benefit{padding:28px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:190px;background:#fff}
.benefit b{color:var(--accent);font-size:12px}
.benefit h3{font-size:17px;margin:18px 0 8px}
.benefit p{font-size:13px;color:var(--muted);margin:0}
.document-strip{background:#292d30;color:#fff;padding:54px 0}
.document-inner{display:grid;grid-template-columns:.55fr 1.45fr;gap:80px;align-items:center}
.document-strip h2{font-size:38px}
dl{margin:0;display:grid;grid-template-columns:.45fr .45fr 1.1fr;gap:18px}
dl div{border-left:1px solid #565b60;padding-left:18px}
dt{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#aeb3b7;margin-bottom:5px}
dd{margin:0;font-size:13px}
.estimate{padding:92px 0;background:#fff}
.estimate-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px;align-items:start}
.estimate-grid>div>p:last-child{color:var(--muted);max-width:500px}
.estimate-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.estimate-form label{display:block}
.estimate-form label span{display:block;font-size:11px;font-weight:700;margin-bottom:8px;color:#565b60}
.estimate-form input,.estimate-form textarea{width:100%;border:1px solid #cfd1d0;background:#fafaf8;padding:15px 16px;outline:none;border-radius:0}
.estimate-form input:focus,.estimate-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 2px rgba(215,99,49,.08)}
.estimate-form .full{grid-column:1/-1}
.form-bottom{display:flex;align-items:center;gap:18px}
.form-bottom small{color:var(--muted);max-width:420px}
.form-status{margin:0;font-size:13px;font-weight:600;color:var(--accent)}
.hp{position:absolute!important;left:-9999px!important}
.footer{background:#f4f4f2;border-top:1px solid var(--line);padding:52px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.4fr .8fr 1.1fr .8fr;gap:48px}
.footer-brand img{width:170px;height:auto;margin-bottom:20px}
.footer h3{font-size:12px;text-transform:uppercase;letter-spacing:.12em;margin:0 0 16px}
.footer a,.footer p{display:block;font-size:12px;color:#565b60;margin:0 0 9px}
.footer-bottom{margin-top:38px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#7d8285;font-size:10px}
.modal{width:min(520px,calc(100% - 32px));border:0;padding:38px;box-shadow:0 30px 90px rgba(0,0,0,.25)}
.modal::backdrop{background:rgba(10,12,14,.66);backdrop-filter:blur(3px)}
.modal h2{margin:0 0 12px;font-size:32px}
.modal p:not(.eyebrow){color:var(--muted);margin-bottom:24px}
.modal-close{position:absolute;right:14px;top:8px;border:0;background:none;font-size:30px;color:#777}
@media (max-width:1100px){
  .desktop-nav,.header-cta{display:none}.menu-toggle{display:block}.header-actions{gap:12px}.hero-case{display:none}
  .hero-proof{grid-template-columns:1fr 1fr;max-width:620px;gap:18px}.hero-proof div{border-right:0}
  .service-grid{grid-template-columns:1fr 1fr}.project-grid{grid-template-columns:1fr 1fr}.about-grid,.estimate-grid{grid-template-columns:1fr;gap:44px}.document-inner{grid-template-columns:1fr;gap:26px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  .container{width:min(100% - 32px,var(--container))}.site-header{height:68px}.header-inner{gap:12px}.brand img{width:128px}.phone{font-size:0}.phone::after{content:"Позвонить";font-size:11px;font-weight:700}.mobile-menu{top:68px}
  .hero{min-height:690px;align-items:flex-end}.hero-bg{object-position:45% center}.hero-shade{background:linear-gradient(180deg,rgba(12,15,17,.43) 0%,rgba(12,15,17,.77) 53%,rgba(12,15,17,.96) 100%)}.hero-content{padding:84px 0 28px}.hero h1{font-size:44px;line-height:.98}.hero-lead{font-size:15px;margin:20px 0 24px}.hero-actions{display:grid;grid-template-columns:1fr}.hero-actions .btn{width:100%}.hero-proof{grid-template-columns:1fr 1fr;margin-top:36px;padding-top:18px;gap:16px}.hero-proof span{font-size:10px}.hero-proof strong{font-size:12px}
  .section{padding:68px 0}.section-heading{display:block;margin-bottom:26px}.section-heading h2,.about h2,.estimate h2{font-size:36px}.section-copy{font-size:13px}.section-heading .text-link{display:inline-block;margin-top:18px}.service-grid{grid-template-columns:1fr}.service-card{display:grid;grid-template-columns:42% 58%;min-height:160px}.service-card img{height:100%;min-height:160px}.service-body{padding:18px}.service-body h3{font-size:16px}.service-body p{font-size:11px;min-height:0}.project-grid{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:8px}.project-card,.project-card.project-large{min-width:84%;height:430px;grid-column:auto;grid-row:auto;scroll-snap-align:start}.project-large .project-overlay h3{font-size:24px}.project-overlay{padding:22px}.project-overlay h3{font-size:20px}
  .about-grid{gap:32px}.benefits{grid-template-columns:1fr}.benefit{min-height:auto}.document-strip{padding:46px 0}dl{grid-template-columns:1fr;gap:12px}dl div{padding:10px 0 10px 14px}.estimate{padding:68px 0}.estimate-form{grid-template-columns:1fr}.estimate-form .full{grid-column:auto}.form-bottom{display:block}.form-bottom .btn{width:100%;margin-bottom:12px}.footer{padding-top:40px}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin-bottom:6px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Project detail */
.project-hero{padding:96px 0 54px;background:#171a1c;color:#fff}
.project-hero .back-link{display:inline-flex;gap:8px;align-items:center;font-size:12px;font-weight:700;color:#ef9d78;margin-bottom:24px}
.project-hero h1{font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.045em;margin:0;max-width:900px}
.project-hero .project-sub{max-width:780px;color:#c9cdcf;font-size:17px;margin:22px 0 0}
.project-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dcdedc;border:1px solid #dcdedc;margin-top:38px}
.project-fact{background:#fff;padding:26px}
.project-fact b{display:block;color:var(--accent);font-size:28px;line-height:1;margin-bottom:8px}
.project-fact span{font-size:12px;color:#61666a}
.project-detail{padding:76px 0}
.project-detail-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:72px;align-items:start}
.project-detail h2{font-size:38px;line-height:1.06;margin:0 0 18px}
.project-detail p{color:var(--muted)}
.scope-list{list-style:none;padding:0;margin:28px 0 0;border-top:1px solid var(--line)}
.scope-list li{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:18px;align-items:flex-start}
.scope-list .num{width:30px;flex:0 0 30px;color:var(--accent);font-weight:800}
.scope-list strong{display:block;margin-bottom:4px}
.scope-list span{font-size:13px;color:var(--muted)}
.project-gallery{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}
.project-gallery figure{margin:0;background:#eee;overflow:hidden;min-height:280px}
.project-gallery figure:first-child{grid-row:span 2;min-height:574px}
.project-gallery img{width:100%;height:100%;object-fit:cover}
.project-note{margin-top:18px;padding:18px 20px;background:#f7f7f5;border-left:3px solid var(--accent);font-size:12px;color:#666}
.project-cta{padding:62px 0;background:#292d30;color:#fff}
.project-cta .container{display:flex;align-items:center;justify-content:space-between;gap:30px}
.project-cta h2{font-size:36px;margin:0 0 8px}.project-cta p{margin:0;color:#c5c9cb}
@media (max-width:900px){.project-detail-grid{grid-template-columns:1fr;gap:40px}.project-gallery{grid-template-columns:1fr 1fr}.project-gallery figure:first-child{grid-row:auto;grid-column:1/-1;min-height:430px}.project-facts{grid-template-columns:1fr}.project-cta .container{display:block}.project-cta .btn{margin-top:24px}}
@media (max-width:600px){.project-hero{padding:72px 0 42px}.project-hero h1{font-size:42px}.project-detail{padding:58px 0}.project-detail h2{font-size:32px}.project-gallery{grid-template-columns:1fr}.project-gallery figure,.project-gallery figure:first-child{grid-column:auto;min-height:300px}.project-cta h2{font-size:30px}}
/* v3 mobile/UI refinement */
.consent{display:flex!important;align-items:center;gap:10px;color:#6e7378;font-size:11px}
.consent input{width:16px!important;height:16px;margin:0;accent-color:var(--accent)}
.consent span{margin:0!important;font-weight:500!important}
@media (max-width:700px){
  body{overflow-x:hidden}
  .container{width:calc(100% - 36px)}
  .site-header{height:62px}
  .header-inner{padding-inline:0}
  .brand img{width:108px}
  .phone::after{font-size:12px}
  .menu-toggle{padding:6px 0 6px 8px}
  .menu-toggle span{width:22px}
  .mobile-menu{top:62px;padding:18px}

  .hero{min-height:650px}
  .hero-content{padding:68px 0 28px}
  .hero .eyebrow{font-size:10px;line-height:1.45;letter-spacing:.15em;max-width:310px}
  .hero h1{font-size:clamp(32px,9.2vw,38px);line-height:1.01;letter-spacing:-.035em;max-width:100%;overflow-wrap:normal}
  .hero-lead{font-size:14px;line-height:1.55;margin:18px 0 22px}
  .hero-actions{gap:10px}
  .hero-actions .btn{min-height:48px;font-size:13px}
  .hero-proof{margin-top:28px;gap:14px}
  .hero-proof div{padding-right:8px}
  .hero-proof strong{font-size:11px}
  .hero-proof span{font-size:9px;line-height:1.35}

  .section{padding:56px 0}
  .eyebrow{font-size:10px;margin-bottom:10px}
  .section-heading h2,.about h2,.estimate h2{font-size:32px;line-height:1.08}
  .section-copy{font-size:13px;line-height:1.55}
  .service-grid{gap:14px}
  .service-card{display:block;min-height:0}
  .service-card img{height:184px;min-height:0}
  .service-body{padding:18px 18px 20px}
  .service-body h3{font-size:18px;line-height:1.2}
  .service-body p{font-size:12px;line-height:1.5;margin-bottom:14px}

  .projects .section-heading{margin-bottom:22px}
  .project-grid{margin-right:-18px;padding-right:18px}
  .project-card,.project-card.project-large{min-width:88%;height:390px}
  .project-overlay h3,.project-large .project-overlay h3{font-size:22px;line-height:1.15}
  .project-overlay p{font-size:11px;line-height:1.5}

  .about-lead{font-size:14px;line-height:1.65}
  .benefit{padding:22px;min-height:0}
  .benefit h3{font-size:17px;margin:12px 0 7px}
  .benefit p{font-size:12px;line-height:1.55}

  .document-strip h2{font-size:32px}
  dd{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
  .estimate-grid>div>p:last-child{font-size:14px;line-height:1.65}
  .estimate-form input,.estimate-form textarea{font-size:16px}
  .footer-brand img{width:140px}
}

/* v4 live-mobile fixes */
section[id]{scroll-margin-top:78px}
@media (max-width:700px){
  .site-header{height:58px}
  .brand img{width:104px}
  .mobile-menu{top:58px}
  .hero{min-height:620px}
  .hero-content{padding:62px 0 24px}
  .hero h1{
    font-size:clamp(28px,8.2vw,32px);
    line-height:1.02;
    letter-spacing:-.045em;
    max-width:100%;
    word-break:normal;
    overflow-wrap:normal;
  }
  .hero-lead{font-size:13.5px;line-height:1.55}
  .hero-actions .btn{min-height:46px}
  .hero-proof{margin-top:24px}
  .service-card{display:block!important;min-height:0!important}
  .service-card img{width:100%!important;height:176px!important;min-height:0!important;object-fit:cover}
  .service-body{padding:17px 18px 19px!important}
  .project-grid{scroll-padding-left:0;-webkit-overflow-scrolling:touch}
  .project-card,.project-card.project-large{min-width:86%;height:372px}
  .project-overlay{padding:20px}
  .about,.services,.projects,.document-strip,.estimate{scroll-margin-top:70px}
  .about h2{font-size:31px}
}

/* v5 — mobile polish, project grid and safer asset rendering */
@media (max-width:700px){
  /* On phones the header no longer covers section headings while scrolling. */
  .site-header{position:relative;height:56px}
  .brand img{width:96px}
  .mobile-menu{top:56px}
  section[id]{scroll-margin-top:16px}

  .hero{min-height:610px}
  .hero-content{padding:56px 0 24px}
  .hero h1{font-size:clamp(27px,7.9vw,31px);line-height:1.015;letter-spacing:-.04em}
  .hero-lead{font-size:13px;line-height:1.52}
  .hero-proof{gap:12px}

  /* Full-width service cards read better on narrow phones. */
  .service-card img{height:190px!important}
  .service-body{padding:18px 18px 21px!important}
  .service-body h3{font-size:18px}

  /* Replace the partial horizontal carousel with a clean vertical case list. */
  .project-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
    overflow:visible;
    margin-right:0;
    padding-right:0;
    padding-bottom:0;
  }
  .project-card,.project-card.project-large{
    min-width:0;
    width:100%;
    height:360px;
    scroll-snap-align:none;
  }
  .project-card.project-large{height:410px}
  .project-overlay,.project-large .project-overlay{padding:22px}
  .project-overlay h3,.project-large .project-overlay h3{font-size:23px;line-height:1.14}
  .project-overlay p{font-size:11px;line-height:1.45}

  .about h2{font-size:30px;line-height:1.08}
  .about-lead{font-size:13.5px}
  .document-strip h2{font-size:30px}

  .footer-grid{gap:30px}
  .footer{padding-top:34px}
  .footer-brand img{width:126px;margin-bottom:14px}
  .footer-bottom{margin-top:24px}
}

/* v6 — project readability, mobile rhythm, conversion polish */
@media (max-width:700px){
  /* Service cards: slightly tighter and consistent. */
  .services{padding-top:50px;padding-bottom:54px}
  .service-grid{gap:16px}
  .service-card img{height:176px!important}
  .service-body{padding:17px 18px 19px!important}
  .service-body a{font-size:12px}

  /* Project cards become editorial case cards rather than giant image overlays. */
  .projects{padding-top:54px;padding-bottom:58px}
  .projects .section-heading{margin-bottom:24px}
  .project-grid{gap:18px}
  .project-card,.project-card.project-large{
    display:block;
    height:auto;
    min-height:0;
    background:#202427;
    overflow:hidden;
  }
  .project-card img{
    position:relative;
    inset:auto;
    display:block;
    width:100%;
    height:220px;
    object-fit:cover;
    transform:none!important;
  }
  .project-card.project-large img{height:246px}
  .project-card::after{display:none}
  .project-overlay,.project-large .project-overlay{
    position:relative;
    left:auto;right:auto;bottom:auto;
    padding:20px 20px 22px;
    background:#202427;
  }
  .project-overlay span{font-size:9px;letter-spacing:.13em}
  .project-overlay h3,.project-large .project-overlay h3{
    font-size:21px;
    line-height:1.16;
    margin:7px 0 9px;
  }
  .project-overlay p{
    display:block;
    font-size:11px;
    line-height:1.5;
    color:#c9cdcf;
  }

  /* About section: less vertical bulk. */
  .about{padding-top:54px;padding-bottom:54px}
  .about-grid{gap:26px}
  .about h2{font-size:29px;line-height:1.08}
  .benefits{gap:0}
  .benefit{padding:19px 18px}
  .benefit h3{font-size:16px;margin-top:9px}
  .benefit p{font-size:11.5px}

  /* Requisites and form. */
  .document-strip{padding:42px 0}
  .document-strip h2{font-size:29px}
  .estimate{padding:56px 0 60px}
  .estimate h2{font-size:31px}
  .estimate-form{gap:14px}
  .form-bottom small{font-size:10px;line-height:1.45}

  /* Footer compactness. */
  .footer{padding:30px 0 20px}
  .footer-grid{gap:24px}
  .footer-brand p{max-width:280px}
  .footer h3{margin-bottom:12px}
  .footer a,.footer p{margin-bottom:7px}
  .footer-bottom{margin-top:20px;padding-top:16px}
}

/* v7 — restore mobile horizontal project carousel + text stability */
@media (max-width:700px){
  /* Projects: swipe sideways again, one clean case at a time. */
  .project-grid{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:flex-start;
    gap:14px;
    overflow-x:auto!important;
    overflow-y:hidden;
    margin:0 -18px 0 0!important;
    padding:0 18px 12px 0!important;
    scroll-snap-type:x mandatory;
    scroll-padding-left:0;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .project-grid::-webkit-scrollbar{display:none}
  .project-card,
  .project-card.project-large{
    flex:0 0 88%!important;
    min-width:88%!important;
    width:88%!important;
    height:auto!important;
    min-height:410px;
    grid-column:auto!important;
    grid-row:auto!important;
    display:grid!important;
    grid-template-rows:220px auto;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    overflow:hidden!important;
    background:#202427;
  }
  .project-card.project-large{min-height:410px}
  .project-card img,
  .project-card.project-large img{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:220px!important;
    min-height:220px!important;
    object-fit:cover!important;
    display:block!important;
    transform:none!important;
  }
  .project-card::after{display:none!important}
  .project-overlay,
  .project-large .project-overlay{
    position:relative!important;
    inset:auto!important;
    padding:18px 18px 20px!important;
    background:#202427!important;
    overflow:visible!important;
  }
  .project-overlay span{
    display:block;
    font-size:9px!important;
    line-height:1.3;
    letter-spacing:.12em;
    white-space:normal;
  }
  .project-overlay h3,
  .project-large .project-overlay h3{
    margin:7px 0 8px!important;
    font-size:20px!important;
    line-height:1.18!important;
    letter-spacing:-.02em;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word;
    word-break:normal;
  }
  .project-overlay p{
    display:block!important;
    margin:0!important;
    font-size:11px!important;
    line-height:1.48!important;
    color:#c9cdcf!important;
    white-space:normal!important;
    overflow:visible!important;
  }

  /* Keep mobile typography from being clipped or shifted. */
  .projects h2,.about h2,.estimate h2,.document-strip h2,
  .service-body h3,.benefit h3{
    overflow:visible;
    white-space:normal;
    word-break:normal;
    overflow-wrap:break-word;
  }
}

/* v9 — SEO service landing pages */
.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:11px;color:#8f9497;margin-bottom:26px}
.breadcrumbs a{color:#cbd0d2}.breadcrumbs span{color:#8f9497}
.service-hero{position:relative;background:#171a1c;color:#fff;overflow:hidden;padding:82px 0 70px}
.service-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.28;filter:saturate(.72)}
.service-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,23,25,.97) 0%,rgba(20,23,25,.85) 48%,rgba(20,23,25,.46) 100%)}
.service-hero .container{position:relative;z-index:2}
.service-hero h1{margin:0;max-width:980px;font-size:clamp(44px,6vw,76px);line-height:.98;letter-spacing:-.045em}
.service-hero-lead{max-width:800px;margin:24px 0 0;color:#d7dbdd;font-size:18px;line-height:1.65}
.service-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.service-proof{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:46px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.14)}
.service-proof div{padding:20px;background:rgba(20,23,25,.66)}
.service-proof b{display:block;font-size:13px;margin-bottom:5px}.service-proof span{display:block;font-size:11px;color:#aeb4b8;line-height:1.45}
.service-section{padding:84px 0}
.service-section.alt{background:var(--paper)}
.service-section.dark{background:#171a1c;color:#fff}
.service-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:72px;align-items:start}
.service-section h2{margin:0;font-size:clamp(34px,4vw,52px);line-height:1.05;letter-spacing:-.035em}
.service-intro{font-size:16px;color:var(--muted);max-width:620px;margin:18px 0 0;line-height:1.7}
.service-section.dark .service-intro{color:#aeb4b8}
.work-list{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.work-item{padding:25px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;min-height:180px}
.work-item b{display:block;color:var(--accent);font-size:11px;margin-bottom:16px}.work-item h3{font-size:18px;line-height:1.2;margin:0 0 8px}.work-item p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}
.application-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:36px}
.application-card{padding:24px;border:1px solid var(--line);background:#fff}.application-card h3{font-size:16px;margin:0 0 8px}.application-card p{font-size:12px;color:var(--muted);margin:0;line-height:1.55}
.price-factors{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}
.price-factor{padding:24px;background:#222629;border:1px solid #34393d}.price-factor b{display:block;color:#ef9d78;font-size:11px;margin-bottom:12px}.price-factor h3{font-size:16px;margin:0 0 8px}.price-factor p{font-size:12px;color:#aeb4b8;margin:0;line-height:1.55}
.case-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}
.case-mini{display:block;background:#202427;color:#fff;overflow:hidden}.case-mini img{width:100%;height:230px;object-fit:cover}.case-mini-body{padding:20px}.case-mini span{font-size:9px;color:#ef9d78;text-transform:uppercase;letter-spacing:.13em}.case-mini h3{font-size:19px;line-height:1.18;margin:7px 0 8px}.case-mini p{font-size:11px;color:#c9cdcf;margin:0;line-height:1.5}
.service-process{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:36px}.process-step{padding:24px;background:#fff}.process-step b{display:block;color:var(--accent);font-size:11px;margin-bottom:14px}.process-step h3{font-size:16px;margin:0 0 8px}.process-step p{font-size:12px;color:var(--muted);line-height:1.55;margin:0}
.service-faq{margin-top:28px;border-top:1px solid var(--line)}.service-faq details{border-bottom:1px solid var(--line);padding:19px 0}.service-faq summary{cursor:pointer;font-weight:700;font-size:15px}.service-faq p{color:var(--muted);font-size:13px;line-height:1.65;margin:12px 0 0;max-width:900px}
.service-bottom-cta{padding:64px 0;background:#292d30;color:#fff}.service-bottom-cta .container{display:flex;justify-content:space-between;align-items:center;gap:32px}.service-bottom-cta h2{margin:0 0 8px;font-size:36px;line-height:1.08}.service-bottom-cta p{margin:0;color:#c5c9cb;max-width:720px}
@media (max-width:1000px){.service-proof{grid-template-columns:1fr 1fr}.service-layout{grid-template-columns:1fr;gap:34px}.application-grid{grid-template-columns:1fr 1fr}.price-factors{grid-template-columns:1fr 1fr}.case-strip{grid-template-columns:1fr 1fr}.service-process{grid-template-columns:1fr 1fr}.service-bottom-cta .container{display:block}.service-bottom-cta .btn{margin-top:24px}}
@media (max-width:700px){
  .service-hero{padding:54px 0 46px}.breadcrumbs{margin-bottom:19px;font-size:9px}.service-hero h1{font-size:35px;line-height:1.03}.service-hero-lead{font-size:13.5px;line-height:1.6;margin-top:18px}.service-hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}.service-hero-actions .btn{width:100%}
  .service-proof{grid-template-columns:1fr 1fr;margin-top:28px}.service-proof div{padding:15px}.service-proof b{font-size:11px}.service-proof span{font-size:9px}
  .service-section{padding:54px 0}.service-section h2{font-size:30px}.service-intro{font-size:13px;line-height:1.65}.work-list{grid-template-columns:1fr}.work-item{min-height:0;padding:20px}.application-grid,.price-factors,.case-strip,.service-process{grid-template-columns:1fr}.case-mini img{height:205px}.service-bottom-cta{padding:48px 0}.service-bottom-cta h2{font-size:29px}
}

/* v11 marker */
/* v11 — projects hub, project detail pages and stronger internal linking */
.projects-hub-hero{padding:82px 0 64px;background:#171a1c;color:#fff}
.projects-hub-hero h1{margin:0;max-width:980px;font-size:clamp(44px,6vw,76px);line-height:.98;letter-spacing:-.045em}
.projects-hub-hero p.projects-hub-lead{max-width:800px;margin:22px 0 0;color:#c9cdcf;font-size:17px;line-height:1.65}
.projects-hub{padding:78px 0 88px;background:#fff}
.projects-hub-head{display:flex;justify-content:space-between;gap:32px;align-items:end;margin-bottom:34px}
.projects-hub-head h2{font-size:42px;line-height:1.04;margin:0}.projects-hub-head p{max-width:620px;color:var(--muted);margin:0;line-height:1.65}
.projects-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.project-hub-card{display:block;background:#202427;color:#fff;overflow:hidden;min-width:0}
.project-hub-card img{width:100%;height:260px;object-fit:cover;display:block;transition:transform .45s ease}
.project-hub-card:hover img{transform:scale(1.025)}
.project-hub-card-body{padding:22px}
.project-hub-card span{display:block;color:#ef9d78;font-size:9px;text-transform:uppercase;letter-spacing:.13em;margin-bottom:8px}
.project-hub-card h2,.project-hub-card h3{margin:0 0 9px;font-size:21px;line-height:1.16;letter-spacing:-.02em}
.project-hub-card p{margin:0;color:#c9cdcf;font-size:11px;line-height:1.5}
.project-back-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}
.project-back-row .back-link{margin-bottom:0}
.project-service-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.project-service-links a{border:1px solid #ddd;padding:10px 12px;font-size:11px;font-weight:700;background:#fff}
.project-related{padding:64px 0;background:var(--paper)}
.project-related h2{font-size:34px;margin:0 0 24px}.project-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.project-related-card{display:block;background:#fff;border:1px solid var(--line);padding:22px}
.project-related-card span{display:block;color:var(--accent);font-size:10px;font-weight:800;margin-bottom:10px}
.project-related-card h3{font-size:17px;line-height:1.2;margin:0 0 8px}.project-related-card p{font-size:11px;line-height:1.55;color:var(--muted);margin:0}
.project-gallery.single{grid-template-columns:1fr}.project-gallery.single figure,.project-gallery.single figure:first-child{grid-column:auto;grid-row:auto;min-height:520px}
@media (max-width:1000px){.projects-hub-grid{grid-template-columns:1fr 1fr}.project-related-grid{grid-template-columns:1fr 1fr}}
@media (max-width:700px){
  .projects-hub-hero{padding:52px 0 44px}.projects-hub-hero h1{font-size:36px;line-height:1.02}.projects-hub-hero p.projects-hub-lead{font-size:13px;line-height:1.6}
  .projects-hub{padding:52px 0 60px}.projects-hub-head{display:block;margin-bottom:24px}.projects-hub-head h2{font-size:30px}.projects-hub-head p{margin-top:14px;font-size:12px}
  .projects-hub-grid{grid-template-columns:1fr;gap:16px}.project-hub-card img{height:210px}.project-hub-card-body{padding:18px}.project-hub-card h2,.project-hub-card h3{font-size:20px}
  .project-back-row{display:block}.project-back-row .back-link{display:flex;width:max-content;margin-bottom:12px}.project-back-row .eyebrow{display:block;margin:0}
  .project-related{padding:48px 0}.project-related h2{font-size:28px}.project-related-grid{grid-template-columns:1fr}.project-related-card{padding:18px}
  .project-gallery.single figure,.project-gallery.single figure:first-child{min-height:300px}
}


/* v12 — granite page: show only granite-specific content */
.granite-focus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}
.granite-focus-card{margin:0;background:#fff;border:1px solid var(--line);overflow:hidden}
.granite-focus-card img{display:block;width:100%;height:250px;object-fit:cover}
.granite-focus-card figcaption{display:block;padding:18px 20px 20px}
.granite-focus-card b{display:block;font-size:16px;line-height:1.2;margin-bottom:7px}
.granite-focus-card span{display:block;color:var(--muted);font-size:11px;line-height:1.5}
.granite-cases{grid-template-columns:repeat(2,minmax(0,1fr));max-width:980px}
@media(max-width:900px){.granite-focus-grid{grid-template-columns:1fr 1fr}.granite-cases{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.granite-focus-grid,.granite-cases{grid-template-columns:1fr}.granite-focus-card img{height:220px}}


/* v15 — operational pages, real lead form, trust/legal pages */
.page-hero{padding:76px 0 58px;background:#171a1c;color:#fff}
.page-hero h1{margin:0;max-width:940px;font-size:clamp(42px,5.6vw,70px);line-height:1;letter-spacing:-.04em}
.page-hero .lead{max-width:780px;margin:22px 0 0;color:#c8cdcf;font-size:17px;line-height:1.7}
.content-section{padding:76px 0}
.content-section.alt{background:var(--paper)}
.content-section.dark{background:#292d30;color:#fff}
.content-section h2{margin:0;font-size:clamp(32px,4vw,50px);line-height:1.05;letter-spacing:-.035em}
.content-lead{max-width:780px;color:var(--muted);font-size:16px;line-height:1.75;margin:18px 0 0}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:34px}
.trust-card{padding:26px;background:#fff;min-height:180px}
.trust-card b{color:var(--accent);font-size:11px}.trust-card h3{font-size:18px;margin:18px 0 8px}.trust-card p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:66px;align-items:start}
.contact-list{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.contact-item{background:#fff;padding:24px}
.contact-item span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:8px}
.contact-item a,.contact-item strong{font-size:18px;font-weight:700}.contact-item p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.requisites{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:#444a4e;border:1px solid #444a4e;margin-top:34px}
.requisite{background:#292d30;padding:23px}.requisite span{display:block;color:#9fa5a9;text-transform:uppercase;letter-spacing:.13em;font-size:9px;margin-bottom:7px}.requisite strong{display:block;color:#fff;font-size:15px;line-height:1.55;word-break:break-word}
.legal-wrap{max-width:900px}.legal-wrap h2{font-size:28px;margin:38px 0 14px}.legal-wrap h3{font-size:18px;margin:28px 0 10px}.legal-wrap p,.legal-wrap li{color:#545a5e;font-size:13px;line-height:1.75}.legal-wrap ul{padding-left:22px}.legal-meta{padding:18px 20px;border-left:3px solid var(--accent);background:#f6f6f3;color:#5c6266;font-size:12px;line-height:1.65;margin:28px 0}
.inline-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:34px;padding:26px 28px;background:#f6f6f3;border:1px solid var(--line)}
.inline-cta p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.inline-cta .btn{flex:none}
.document-inner{position:relative}.document-more{align-self:center;justify-self:end}
.consent a{display:inline!important;color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.form-status{min-height:20px}.form-status.success{color:#27824a}.form-status.error{color:#b7432e}
.form-status.loading{color:#7a5b22}
.footer-legal{display:flex;gap:16px;flex-wrap:wrap}.footer-legal a{text-decoration:underline;text-underline-offset:3px}
.not-found{min-height:65vh;display:flex;align-items:center}.not-found .code{font-size:clamp(70px,14vw,160px);font-weight:800;color:var(--accent);line-height:.8;margin:0 0 24px}.not-found h1{font-size:clamp(34px,5vw,62px);margin:0}.not-found p{max-width:650px;color:var(--muted);font-size:15px;line-height:1.7}
.notice{margin-top:20px;padding:16px 18px;border:1px solid #e2d1c8;background:#fff8f4;color:#6d5146;font-size:12px;line-height:1.6}
@media(max-width:1000px){.trust-grid{grid-template-columns:1fr 1fr}.contact-grid{grid-template-columns:1fr;gap:34px}.requisites{grid-template-columns:1fr 1fr}.document-more{justify-self:start;margin-top:18px}.inline-cta{display:block}.inline-cta .btn{margin-top:18px}}
@media(max-width:700px){
  .page-hero{padding:50px 0 42px}.page-hero h1{font-size:36px;line-height:1.03}.page-hero .lead{font-size:13px;line-height:1.65}
  .content-section{padding:52px 0}.content-section h2{font-size:30px}.content-lead{font-size:13px;line-height:1.65}
  .trust-grid,.requisites{grid-template-columns:1fr}.trust-card{min-height:0;padding:21px}.contact-item{padding:20px}.contact-item a,.contact-item strong{font-size:16px}
  .legal-wrap h2{font-size:24px}.legal-wrap p,.legal-wrap li{font-size:12px}.inline-cta{padding:22px}
  .footer-legal{display:block}.footer-legal a{display:block;margin-top:8px}
}

.estimate-form button[disabled]{opacity:.62;cursor:wait;transform:none}

/* v16 — technical SEO, accessibility and performance hardening */
.skip-link{position:fixed;left:16px;top:12px;z-index:9999;padding:10px 14px;background:#fff;color:#171a1c;border:2px solid var(--accent);transform:translateY(-160%);transition:transform .15s ease;font-weight:700;font-size:12px}
.skip-link:focus{transform:translateY(0)}
:focus-visible{outline:3px solid #e36a2d;outline-offset:3px}
.desktop-nav a[aria-current="page"],.mobile-menu a[aria-current="page"]{color:var(--accent)}
img{height:auto}
.hero-bg,.service-hero-bg{height:100%}
/* v17.1 — card image regression fix: preserve designed crop instead of intrinsic full-height images */
.case-mini img{width:100%;height:230px;object-fit:cover;display:block}
.project-hub-card img{width:100%;height:260px;object-fit:cover;display:block}
.granite-focus-card img{width:100%;height:250px;object-fit:cover;display:block}
@media (max-width:700px){
  .case-mini img{height:205px}
  .project-hub-card img{height:210px}
  .granite-focus-card img{height:220px}
}

@media (max-width:700px){.skip-link{top:8px;left:8px}.mobile-menu a[aria-current="page"]{font-weight:800}}

/* v17.2: mobile service-page typography guard */
@media (max-width:700px){
  .service-section > .container > h1{font-size:clamp(32px,9.2vw,40px)!important;line-height:1.04!important;overflow-wrap:anywhere}
  .service-intro{max-width:100%}
}

/* v17.3 — conversion and trust polish */
.quick-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.quick-form label{display:block}
.quick-form label>span{display:block;font-size:11px;font-weight:700;color:#565b60;margin-bottom:7px}
.quick-form input[type="text"],.quick-form input[type="tel"],.quick-form input:not([type]){width:100%;border:1px solid #cfd1d0;background:#fafaf8;padding:14px 15px;outline:none}
.quick-form input:focus{border-color:var(--accent);box-shadow:0 0 0 2px rgba(215,99,49,.08)}
.quick-form .consent,.quick-form button,.quick-form .form-status{grid-column:1/-1}
.quick-form button{width:100%}
.quick-form .form-status{min-height:18px;margin:0;font-size:12px;font-weight:600}
.modal-alt-link{display:block;margin-top:15px;text-align:center;font-size:11px;font-weight:700;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
@media (max-width:700px){
  .modal{padding:28px 20px 24px}
  .modal h2{font-size:27px;line-height:1.08;padding-right:20px}
  .modal p:not(.eyebrow){font-size:12px;line-height:1.55;margin-bottom:18px}
  .quick-form{grid-template-columns:1fr;gap:12px;margin-top:18px}
  .quick-form .consent,.quick-form button,.quick-form .form-status{grid-column:auto}
  .quick-form input{font-size:16px}
  .hero-proof strong{font-size:12px}
  .hero-proof span{font-size:9px;line-height:1.4}
}


/* v17.4 — project case conversion layer */
.project-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.project-hero-actions .btn{min-width:230px;justify-content:center}
.project-hero-note{max-width:760px!important;margin:14px 0 0!important;color:#9fa5a8!important;font-size:11px!important;line-height:1.55}
.project-start{padding:54px 0;background:#f5f4f1;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.project-start-inner{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:center}
.project-start h2{font-size:34px;line-height:1.08;margin:0 0 12px;letter-spacing:-.03em}
.project-start p:not(.eyebrow){color:var(--muted);font-size:13px;line-height:1.65;margin:0;max-width:590px}
.project-start-chips{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.project-start-chips div{background:#fff;border:1px solid var(--line);padding:17px 18px;font-size:12px;font-weight:700;line-height:1.35}
.project-hub-card-body{display:flex;flex-direction:column}
.project-hub-card-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:auto;padding-top:18px}
.project-hub-chip{display:inline-flex!important;width:max-content;max-width:65%;padding:6px 8px;background:#f4eee9;color:#9d4e2d!important;font-size:9px!important;font-weight:800!important;line-height:1.2;text-transform:uppercase;letter-spacing:.05em}
.project-hub-card-foot b{font-size:10px;color:#202326;white-space:nowrap}
.project-hub-card:hover .project-hub-card-foot b{color:var(--accent)}
@media(max-width:700px){
  .project-hero-actions{display:grid;grid-template-columns:1fr;margin-top:22px}
  .project-hero-actions .btn{width:100%;min-width:0}
  .project-hero-note{font-size:10px!important}
  .project-start{padding:42px 0}
  .project-start-inner{grid-template-columns:1fr;gap:24px}
  .project-start h2{font-size:28px}
  .project-start-chips{grid-template-columns:1fr 1fr;gap:8px}
  .project-start-chips div{padding:14px 12px;font-size:10px}
  .project-hub-card-foot{align-items:flex-end}
  .project-hub-chip{max-width:62%;font-size:8px!important}
}


/* v17.5 verified track record */
.track-record-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}
.track-record-card{border:1px solid var(--line);background:#fff;padding:26px;min-height:210px}
.track-record-card span{display:block;color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin-bottom:15px}
.track-record-card h3{font-size:20px;line-height:1.2;margin:0 0 12px}
.track-record-card p{font-size:13px;line-height:1.65;color:var(--muted);margin:0}
.about-facts-band{padding-top:70px;padding-bottom:70px}
.about-proof{margin-top:30px}
.case-mini.case-mini-text{min-height:250px;background:#202427;display:flex;align-items:flex-end}
.case-mini.case-mini-text .case-mini-body{width:100%}
@media (max-width:1000px){.track-record-grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.track-record-grid{grid-template-columns:1fr;gap:12px;margin-top:24px}.track-record-card{min-height:0;padding:20px}.track-record-card h3{font-size:18px}.track-record-card p{font-size:12px}.about-facts-band{padding-top:54px;padding-bottom:54px}.case-mini.case-mini-text{min-height:190px}}


/* v17.6 — B2B lead funnel */
.b2b-home{padding:72px 0;background:#202427;color:#fff}
.b2b-home-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}
.b2b-home h2{margin:0;font-size:clamp(36px,4.6vw,58px);line-height:1.02;letter-spacing:-.04em;max-width:760px}
.b2b-home p:not(.eyebrow){max-width:760px;color:#c6cbce;font-size:15px;line-height:1.72;margin:20px 0 0}
.b2b-home-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.b2b-home-facts{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#41464a;border:1px solid #41464a}
.b2b-home-facts div{background:#292d30;padding:24px;min-height:122px}
.b2b-home-facts strong{display:block;font-size:16px;margin-bottom:8px}.b2b-home-facts span{font-size:11px;line-height:1.5;color:#aeb4b8}
.b2b-hero{position:relative;overflow:hidden;background:#171a1c;color:#fff;padding:82px 0 72px}
.b2b-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.30}.b2b-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,21,23,.98),rgba(18,21,23,.83) 56%,rgba(18,21,23,.48))}
.b2b-hero-inner{position:relative;z-index:2}.b2b-hero h1{margin:0;max-width:1000px;font-size:clamp(44px,6vw,76px);line-height:.98;letter-spacing:-.045em}.b2b-lead{max-width:830px;margin:24px 0 0;color:#d1d5d7;font-size:18px;line-height:1.65}
.b2b-proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:34px}.b2b-proof-card{display:block;background:#202427;border:1px solid #34393d;padding:25px;color:#fff;min-height:265px}.b2b-proof-card>span{display:block;color:#ef9d78;text-transform:uppercase;letter-spacing:.12em;font-size:9px;margin-bottom:18px}.b2b-proof-card strong{display:block;font-size:28px;line-height:1;color:#fff;margin-bottom:18px}.b2b-proof-card h3{font-size:17px;line-height:1.2;margin:0 0 10px}.b2b-proof-card p{font-size:11px;line-height:1.55;color:#b8bec1;margin:0}.b2b-proof-card:hover{border-color:#6c7479;transform:translateY(-2px)}
.b2b-input-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:34px}.b2b-input-grid>div{background:#fff;padding:24px;min-height:185px}.b2b-input-grid b{display:block;color:var(--accent);font-size:11px;margin-bottom:16px}.b2b-input-grid h3{font-size:16px;line-height:1.2;margin:0 0 8px}.b2b-input-grid p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.b2b-inline strong{color:#1e2225}.b2b-track .track-record-card{background:#202427;border-color:#3b4145}.b2b-track .track-record-card h3{color:#fff}.b2b-track .track-record-card p{color:#b9bec1}.b2b-service-promo{margin-top:0}
@media(max-width:1000px){.b2b-home-grid{grid-template-columns:1fr;gap:34px}.b2b-proof-grid,.b2b-input-grid{grid-template-columns:1fr 1fr}.b2b-proof-card{min-height:230px}}
@media(max-width:700px){.b2b-home{padding:52px 0}.b2b-home h2{font-size:32px}.b2b-home p:not(.eyebrow){font-size:13px;line-height:1.65}.b2b-home-actions{display:grid;grid-template-columns:1fr}.b2b-home-actions .btn{width:100%}.b2b-home-facts{grid-template-columns:1fr 1fr}.b2b-home-facts div{padding:17px 15px;min-height:102px}.b2b-home-facts strong{font-size:13px}.b2b-home-facts span{font-size:9px}.b2b-hero{padding:54px 0 50px}.b2b-hero h1{font-size:38px;line-height:1.02}.b2b-lead{font-size:13px;line-height:1.65}.b2b-proof-grid,.b2b-input-grid{grid-template-columns:1fr;gap:10px;background:transparent;border:0}.b2b-proof-card{min-height:0;padding:21px}.b2b-proof-card strong{font-size:25px}.b2b-input-grid>div{min-height:0;border:1px solid var(--line);padding:20px}.b2b-process{grid-template-columns:1fr}.b2b-track{grid-template-columns:1fr}}


/* v17.7 — search landing pages */
.related-services{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:34px}.related-services a{display:flex;flex-direction:column;min-height:175px;padding:24px;border:1px solid var(--line);background:#fff;color:#202326;transition:.2s ease}.related-services a:hover{transform:translateY(-2px);border-color:#bfc4c7}.related-services span{font-size:9px;text-transform:uppercase;letter-spacing:.16em;color:var(--accent);margin-bottom:20px}.related-services strong{font-size:17px;line-height:1.25;max-width:280px}.related-services em{font-style:normal;color:var(--accent);font-weight:700;font-size:11px;margin-top:auto;padding-top:24px}.service-link-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:14px}.service-link-row a{background:#fff;padding:18px 20px;color:#202326;font-size:12px;font-weight:700;line-height:1.35}.service-link-row span{color:var(--accent);float:right}.home-extra-services-v177{padding-top:32px}.project-related-v177{border-top:1px solid var(--line)}
@media(max-width:900px){.related-services{grid-template-columns:1fr 1fr}.service-link-row{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.related-services{grid-template-columns:1fr;gap:10px}.related-services a{min-height:132px;padding:20px}.service-link-row{grid-template-columns:1fr;background:transparent;border:0;gap:8px}.service-link-row a{border:1px solid var(--line);padding:15px 16px}.home-extra-services-v177{padding-top:26px}}


/* v17.8 — launch hardening / navigation / mobile conversion */
.mobile-menu .mobile-menu-cta{margin-top:16px;padding:14px 16px!important;border:0!important;background:var(--accent);color:#fff;text-align:center;font-weight:800}
.mobile-menu .mobile-menu-cta:hover{background:var(--accent-dark)}
.mobile-menu .mobile-menu-phone{border-bottom:0!important;color:var(--accent);font-weight:800}
.footer-legal{display:flex;gap:18px;flex-wrap:wrap}
.form-status.success{color:#2f7a4a}
.form-status.error{color:#a7352a}
.form-status.loading{color:var(--accent)}
@media(max-width:700px){
  .mobile-menu{max-height:calc(100vh - 68px);overflow:auto;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  .mobile-menu a{font-size:14px}
  .mobile-menu .mobile-menu-cta{font-size:13px}
  .footer-legal{gap:10px;flex-direction:column}
}

/* v18.0 — final mobile polish before production */
@media (max-width:700px){
  /* Full-screen mobile navigation: no page content peeking through behind it. */
  .mobile-menu{
    position:fixed!important;
    top:56px!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    max-height:none!important;
    height:calc(100dvh - 56px);
    overflow-y:auto!important;
    overscroll-behavior:contain;
    padding:22px 24px calc(28px + env(safe-area-inset-bottom))!important;
    background:#fff;
    box-shadow:0 24px 60px rgba(17,20,22,.18);
    z-index:60;
  }
  .mobile-menu a{padding:15px 0;font-size:14px;line-height:1.25}
  .mobile-menu .mobile-menu-phone{padding-top:18px!important;padding-bottom:14px!important}
  .mobile-menu .btn,.mobile-menu .mobile-menu-cta{min-height:52px;margin-top:14px!important}
  body.menu-open{overflow:hidden}
  .menu-toggle span{transition:transform .18s ease,opacity .18s ease}
  .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  /* The services hub title was visually too dominant on small screens. */
  .services-index-title{
    font-size:clamp(30px,8.6vw,34px)!important;
    line-height:1.045!important;
    letter-spacing:-.035em!important;
    margin:15px 0 22px!important;
    max-width:100%!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }

  /* More breathing room when the B2B/about block begins. */
  .about{padding-top:60px;padding-bottom:54px}
  .about h2{font-size:28px;line-height:1.09;letter-spacing:-.025em}

  /* Estimate block: keep the title strong but prevent it from swallowing the screen. */
  .estimate h2{font-size:29px;line-height:1.08;letter-spacing:-.025em}

  /* Compact footer rhythm on phones. */
  .footer{padding-top:28px}
  .footer-grid{gap:18px}
  .footer-brand img{margin-bottom:10px}
  .footer h3{margin-bottom:10px}
  .footer a,.footer p{margin-bottom:6px}
  .footer-bottom{margin-top:16px;padding-top:14px}
}


/* v18.1.1 — mobile final polish (360–430 px) */
@media (max-width:430px){
  html,body{max-width:100%;overflow-x:hidden}
  .container{width:calc(100% - 36px)}
  .btn,
  .mobile-menu .btn,
  .mobile-menu .mobile-menu-cta{
    max-width:100%;
    min-width:0;
    white-space:normal;
    text-align:center;
    line-height:1.2;
    padding-left:18px;
    padding-right:18px;
  }
  .hero h1,
  .services-index-title,
  .page-hero h1,
  .service-hero h1,
  .projects-hub-hero h1,
  .b2b-hero h1{
    max-width:100%;
    word-break:normal;
    overflow-wrap:normal;
    hyphens:none;
  }
  .footer a,.footer p,.requisite strong,.contact-item a,.contact-item strong{overflow-wrap:anywhere}
}
@media (max-width:370px){
  .container{width:calc(100% - 28px)}
  .brand img{width:90px}
  .header-actions{gap:8px}
  .phone::after{font-size:11px}
  .menu-toggle{padding-left:5px}
  .hero h1{font-size:28px}
  .hero-lead{font-size:12.5px}
  .hero-proof{gap:10px}
  .hero-proof strong{font-size:10.5px}
  .hero-proof span{font-size:8.5px}
}


/* v18.2 — RELEASE: compact mobile footer + final production polish */
@media (max-width:700px){
  .footer{padding:24px 0 16px}
  .footer-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:18px 24px;
    align-items:start;
  }
  .footer-brand{grid-column:1/-1}
  .footer-grid>div:nth-child(4){grid-column:1/-1}
  .footer-brand img{width:116px;margin-bottom:8px}
  .footer-brand p{max-width:420px;margin-bottom:0}
  .footer h3{font-size:11px;margin-bottom:8px}
  .footer a,.footer p{font-size:11px;line-height:1.48;margin-bottom:5px}
  .footer-bottom{margin-top:13px;padding-top:12px;font-size:9px;line-height:1.45}
  .footer-legal{gap:6px}
  .footer-legal a{margin-top:5px}
}
@media (max-width:370px){
  .footer-grid{gap:16px 18px}
  .footer a,.footer p{font-size:10.5px}
}


/* v19.0 — SEO GROWTH: stronger service grid + multi-photo case galleries */
@media (min-width:1101px){
  .service-grid.service-grid-eight{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:701px) and (max-width:1100px){
  .service-grid.service-grid-eight{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.project-gallery.project-gallery-multi{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.project-gallery.project-gallery-multi figure{min-height:290px}
.project-gallery.project-gallery-multi figure:first-child{grid-row:span 2;min-height:594px}
.project-gallery.project-gallery-multi img{width:100%;height:100%;object-fit:cover}
@media (max-width:900px){
  .project-gallery.project-gallery-multi{grid-template-columns:1fr 1fr}
  .project-gallery.project-gallery-multi figure:first-child{grid-column:1/-1;grid-row:auto;min-height:420px}
}
@media (max-width:700px){
  .service-grid.service-grid-eight{grid-template-columns:1fr}
  .project-gallery.project-gallery-multi{grid-template-columns:1fr}
  .project-gallery.project-gallery-multi figure,.project-gallery.project-gallery-multi figure:first-child{grid-column:auto;min-height:240px}
}


/* v19.2 — visual corrections from production review */
.hero-bg-v192{object-position:center top}
@media (min-width:1101px){
  .service-grid.service-grid-eight{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:701px){
  .site-header{height:88px}
  .header-inner{padding-inline:8px}
  .brand img{width:148px}
  .mobile-menu{top:88px}
}
@media (max-width:700px){
  .site-header{height:64px}
  .header-inner{padding-inline:4px}
  .brand img{width:92px}
  .mobile-menu{top:64px}
  .hero-bg-v192{object-position:10% center}
}
@media (max-width:370px){
  .brand img{width:86px}
}
