@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/assets/fonts/font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/assets/fonts/font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/font-5.ttf) format('truetype');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/font-6.ttf) format('truetype');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/font-7.ttf) format('truetype');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/font-8.ttf) format('truetype');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/font-9.ttf) format('truetype');
}

/* Public typography: one scale for every page and breakpoint. */
:root{--font-ui:"Avenir Next","Segoe UI",Arial,sans-serif;--text-sm:.875rem;--text-base:1rem;--text-lead:1.125rem;--title-card:1.5rem;--title-section:2.25rem;--title-page:3rem;--muted:#536373}
html{font-size:100%;scroll-padding-top:120px}
body{font-family:var(--font-ui);font-size:var(--text-base);line-height:1.65}
button,input,textarea,select{font-family:inherit;font-size:var(--text-base);line-height:1.5}
h1,h2,h3,h4,.section-title{font-family:var(--font-ui);font-weight:750;letter-spacing:-.025em;text-wrap:balance}
h1,.hero h1,.page-hero h1{font-size:var(--title-page);line-height:1.15;letter-spacing:-.035em}
h2,.section-title,.estimate h2{font-size:var(--title-section);line-height:1.25}
h3,.about-text h3,.expert-copy h3,.expert-equipment h3,.page-card h2,.page-card h3,.quiz h2,.tech-copy h3{font-size:var(--title-card);line-height:1.35}
.service h3,.project h3,.quiz h3,.cookie-banner h2{font-size:1.25rem;line-height:1.4}
body p,.about-text p,.about-points p,.service p,.tech-copy p,.project-description,.faq-items details p,.expert-equipment p,.estimate p,.benefit p{font-size:var(--text-base);line-height:1.65}
.hero-copy>p,.page-hero p,.lead,.expert-copy blockquote{font-size:var(--text-lead);line-height:1.65}
.article-body{font-size:var(--text-base);line-height:1.75;max-width:820px}.article-body h2{font-size:1.75rem;line-height:1.35}.article-body p,.article-body li{line-height:1.75}
.site-header .navigation a,.navigation a,.header-contact>a,.phone-link{font-family:var(--font-ui);font-size:var(--text-base);font-weight:650;line-height:1.5;letter-spacing:0}
.site-header .header-contact>span,.breadcrumbs,.article-meta,.eyebrow,.fineprint,.comparison-note,.quiz-count,.file-name,.contact-items strong,.about-points strong{font-size:var(--text-sm);line-height:1.5}
.eyebrow{letter-spacing:.065em}.about-points b,.hero-facts b,.benefit b{font-size:var(--text-lead);line-height:1.4}.hero-facts span,.checklist li,.equipment-points span,.project-metrics{font-size:var(--text-base);line-height:1.5}
.btn,.btn-small,.btn-project,.quiz-controls .btn,.header-actions .btn-small,.cookie-actions .btn,.option,.quiz .option,.back-to-top,.map-open{font-family:var(--font-ui);font-size:var(--text-base);font-weight:650;line-height:1.4;min-height:48px;padding:12px 20px;letter-spacing:0;white-space:normal;overflow-wrap:normal}
.btn:hover{transform:none}.btn-small{min-height:44px}.quiz-controls .btn{padding:12px}.option{min-height:60px}.menu-toggle{min-width:44px;min-height:44px;justify-content:center}
.field-label,.lead-form label>span,.calculator-fields label,.upload{font-size:var(--text-base);line-height:1.5;font-weight:600}
input:not([type=file]):not([type=checkbox]),textarea,.calculator-fields input,.calculator-fields select{font-size:var(--text-base);line-height:1.5;min-height:48px}
.consent,.consent span,.lead-form .consent span,.form-message,.calc-note,.calc-note p,.cookie-banner p,.map-inner small{font-size:var(--text-sm);line-height:1.6;font-weight:400}
.consent{align-items:flex-start;gap:10px}.consent input{width:20px;height:20px;flex:0 0 20px;margin-top:2px}.form-message:empty{margin:0}
.faq-items summary{font-size:var(--text-lead);line-height:1.5;padding-top:20px;padding-bottom:20px}.faq-items summary:after{font-size:24px}
.comparison,.comparison thead,.price-scroll table{font-size:var(--text-base);line-height:1.5}.price-scroll td,.price-scroll th{padding:12px}
.footer,.footer p,.page-footer a,.footer-links a,.footer-contacts a{font-size:var(--text-base);line-height:1.65}.footer h3{font-size:var(--text-lead);line-height:1.4}.footer-bottom,.footer-bottom a,.footer-bottom button,.footer-requisites,.footer-requisites p{font-size:var(--text-sm);line-height:1.6}.footer-bottom a,.footer-bottom button{display:inline-flex;align-items:center;min-height:44px;white-space:normal}.footer-bottom{gap:12px 24px}.footer-bottom span{flex-basis:100%}
.page-footer nav{gap:12px}.page-footer nav a{padding:4px 0}.header-contact{gap:4px}.header-inner{column-gap:24px}
.calc-result strong{font-size:2rem;line-height:1.25}.calc-result p{margin:10px 0 0}.calculator-fields label{margin:20px 0}.calculator-layout>*,.page-grid>*,.about-grid>*{min-width:0}
.service-num,.line-icon,.map-inner>span{font-size:2rem}.gallery-arrow{font-size:1.75rem;min-width:44px;min-height:44px}.gallery-dots button{width:24px;height:24px;background:radial-gradient(circle,#ffffffa8 0 4px,transparent 5px)}.gallery-dots button.active{background:radial-gradient(circle,#fff 0 4px,transparent 5px)}
.error-code{font-size:clamp(5rem,20vw,11rem)}
.about-points{display:block}.about-points>div{padding:20px 0}.about-points p{margin-top:8px}.about-text h3{margin:0 0 20px}.about-text p{margin:0 0 20px}.about-grid{gap:32px}
.cookie-banner{gap:24px;align-items:flex-start}.cookie-actions{flex-wrap:wrap;flex-shrink:1;min-width:280px}.cookie-actions .btn{flex:1 1 190px}.cookie-banner>div:first-child{flex:1 1 55%;min-width:0}.cookie-banner p{max-width:65ch}
:focus-visible{outline:3px solid #236cbe;outline-offset:4px}a,button,input,textarea,select{touch-action:manipulation}
.sitemap-group ul{list-style:none;padding:0;margin:16px 0 0}.sitemap-group li{margin:0;border-bottom:1px solid var(--line)}.sitemap-group li a{display:block;padding:14px 0;line-height:1.5}.sitemap-group a{text-decoration:none}.sitemap-group a:hover{text-decoration:underline}.sitemap-intro{max-width:65ch}
@media(max-width:1190px){.about-grid{grid-template-columns:1fr 1fr}.about-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;grid-column:1/-1}.hero-grid{grid-template-columns:minmax(0,1fr) minmax(360px,420px)}}
@media(max-width:900px){:root{--title-page:2.5rem;--title-section:2rem}.hero-grid{grid-template-columns:1fr}.cookie-banner{gap:16px}.cookie-actions{min-width:0;width:100%}.cookie-actions .btn{flex:1 1 200px}.site-header .navigation a{font-size:var(--text-base)}}
@media(max-width:700px){:root{--title-page:2rem;--title-section:1.75rem;--title-card:1.375rem}.about-grid{grid-template-columns:1fr}.about-points{grid-template-columns:1fr;gap:0}.about-photo{height:280px}.site-header .header-contact{flex-wrap:wrap;white-space:normal;row-gap:0}.header-contact>a{white-space:nowrap}.article-body h2{font-size:1.5rem}.page-hero h1{overflow-wrap:normal}.hero-facts{gap:0}.hero-facts>div{padding:18px 12px}.cookie-banner{max-height:65vh;overflow:auto}.cookie-banner h2{font-size:1.25rem}.cookie-actions{gap:8px}.cookie-actions .btn{flex-basis:100%;min-height:44px}.benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.benefit{padding:20px 12px}.quiz{padding:24px 18px}.option-grid{gap:10px}.quiz .option{padding:12px 8px}.site-header .header-contact>span{font-size:var(--text-sm)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Header CTA remains readable rather than shrinking labels. */
.site-header .header-inner{gap:20px}.site-header .brand-original{flex-basis:255px;width:255px}.site-header .navigation{gap:18px}.header-project{flex-shrink:0;gap:12px}.cookie-banner{align-items:center;max-width:1020px}.cookie-banner>p{flex:1;margin:0;font-size:var(--text-base);line-height:1.6;max-width:none}.cookie-banner>.btn{flex-shrink:0;min-width:120px}
@media(max-width:1400px){.site-header .menu-toggle{display:flex;flex-direction:column;gap:5px;margin-left:0;order:4}.site-header .menu-toggle span{width:24px;height:2px;background:var(--ink)}.site-header .navigation{display:none;position:absolute;top:100%;left:0;right:0;padding:20px 24px;background:white;flex-direction:column;align-items:stretch;box-shadow:0 18px 30px #14263820}.site-header .navigation.open{display:flex}.site-header .navigation a{padding:12px;border-bottom:1px solid var(--line)}.site-header .header-contact{margin-left:auto}}
@media(max-width:760px){.site-header .header-inner{gap:8px}.site-header .brand-original{flex:1 1 195px;width:195px}.header-project{order:5;flex:1 1 100%;width:100%;min-height:44px}.site-header .header-contact{order:3;width:100%;flex-direction:row;justify-content:space-between;flex-wrap:wrap;margin:0}.site-header .menu-toggle{order:2;margin-left:auto}.site-header .navigation{max-height:65vh;overflow:auto}html{scroll-padding-top:170px}.cookie-banner{align-items:stretch}.cookie-banner>.btn{width:100%}}
@media(min-width:1181px){.site-header .menu-toggle{display:none}.site-header .navigation{display:flex;position:static;flex-direction:row;align-items:center;gap:18px;padding:0;box-shadow:none;background:transparent}.site-header .navigation a{padding:0;border:0;white-space:nowrap}.site-header .header-inner{gap:18px}.site-header .brand-original{flex-basis:240px;width:240px}.header-project{padding:12px 16px}.site-header .header-contact{margin-left:auto}}

/* Banner quiz: intrinsic shared track reserves the tallest step without clipping. */
.hero{padding-bottom:36px}.hero-grid{align-items:start;min-height:0}.quiz{align-self:start;margin-bottom:0}.quiz-top{margin-bottom:16px}.quiz h2{margin-top:6px;margin-bottom:0}.quiz-progress{margin:0 0 24px}.quiz-steps{display:grid;grid-template-columns:minmax(0,1fr)}.quiz .quiz-step{display:block;grid-area:1/1;min-height:0;visibility:hidden;pointer-events:none}.quiz .quiz-step.active{visibility:visible;pointer-events:auto}.quiz h3{margin:0 0 18px}.quiz .option-grid{margin-bottom:20px}.quiz .field-label{margin:16px 0 8px}.quiz .quiz-controls{margin-top:24px;gap:12px}.quiz #quiz-message{min-height:44px;margin:12px 0 0;line-height:1.5}.quiz .upload{margin:18px 0}.quiz .file-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quiz .consent{margin:16px 0 0}.quiz .option{gap:0}.quiz-count{padding-top:4px}
.contact-map{height:460px;overflow:hidden;border-radius:16px;border:1px solid var(--line);background:#edf1f4}.contact-map iframe{width:100%;height:100%;border:0}.contact-map-section{padding-top:0}
.calc-position{border:1px solid var(--line);border-radius:12px;padding:20px;margin:20px 0}.calc-position-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.calc-position-heading h3{margin:0}.calc-remove{background:none;border:1px solid #b5c0ca;border-radius:6px;min-height:44px;padding:8px 12px;color:#2d5275;cursor:pointer}.calc-grand{padding:24px 0;border-top:1px solid var(--line);margin-top:24px}.calc-grand h3{font-size:1.25rem;margin:0 0 12px}.calc-grand strong{font-size:2rem}.calc-hint{font-size:var(--text-sm);color:var(--muted)}.calculator-box{position:static}.calculator-box #calc-add,.calculator-box #calc-order{width:100%}.calc-position .calc-result{margin-bottom:0}.calc-position .calc-result strong{font-size:1.5rem}.calc-position .calculator-fields label{margin:16px 0}
@media(max-width:700px){.contact-map{height:360px}.quiz .quiz-controls{gap:10px}.calc-position{padding:16px}.calc-position-heading h3{font-size:1.125rem}.hero{padding-bottom:32px}}
.quiz .quiz-controls .btn{min-height:56px;gap:8px}.quiz .quiz-controls{min-height:56px}.quiz #quiz-message:empty{min-height:44px;margin:12px 0 0}
@media(max-width:700px){.quiz .quiz-controls .btn{padding:12px 8px}.quiz .quiz-controls .btn span{display:none}}

/* Compact equal-height quiz steps; contact fields no longer inflate every step. */
.quiz .quiz-contact-fields{display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px 10px;align-items:center}
.quiz .quiz-contact-fields .field-label{margin:0}
.quiz .quiz-step .upload{padding:10px 12px;margin:14px 0;gap:2px}
.quiz .quiz-step .upload span{font-size:14px;line-height:1.4}
.quiz .quiz-step .consent{font-size:14px;line-height:1.4;margin:12px 0 0}
.quiz .quiz-step .option-grid{margin-bottom:0}
.quiz .quiz-controls{margin-top:20px}
.quiz .quiz-progress{margin-bottom:20px}
.quiz h3{margin-bottom:16px}
.quiz .quiz-step .field-label{margin-top:12px}
.quiz .quiz-contact-fields .field-label{margin:0}
.quiz #quiz-message:empty{display:none;min-height:0;margin:0}

.quiz .quiz-step[data-step="0"]{display:flex;flex-direction:column}.quiz .quiz-step[data-step="0"] .option-grid{flex:1;grid-template-rows:repeat(3,1fr)}
.article-body img{max-width:100%;height:auto;border-radius:8px}.article-body figure{margin:24px 0}.article-body figcaption{font-size:14px;color:var(--muted);margin-top:8px}.article-body table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.article-body td,.article-body th{padding:12px;border:1px solid var(--line)}.article-body blockquote{margin:24px 0;padding:12px 20px;border-left:3px solid var(--orange);background:#f3f7fb}
/* CTA links retain button styling inside content cards. */
.page-card a.btn,.article-body a.btn{color:#fff;text-decoration:none}
.page-card a.btn-outline,.article-body a.btn-outline{color:var(--ink)}
.page-card a.btn:hover,.article-body a.btn:hover{color:#fff;text-decoration:none}
#calc-order{background:#3d678c;border-color:#3d678c;color:#fff;text-decoration:none}
#calc-order:hover{background:#2d5275;border-color:#2d5275}
.calculator-box .calc-note{margin-top:16px}

.model-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:24px}.model-card{min-width:0;border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff}.model-stage{height:380px;background:#eef2f4;border-radius:10px;overflow:hidden;margin:16px 0}.model-stage iframe{width:100%;height:100%;border:0}.model-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;gap:14px}.model-placeholder p{margin:0}.model-icon{font-size:40px;font-weight:800;color:var(--ink)}.model-placeholder small{color:var(--muted)}.project .model-grid{display:block}.project .model-card{padding:12px;margin-bottom:16px}.project .model-stage{height:280px}.project .model-card>a{font-size:14px}@media(max-width:600px){.model-stage{height:320px}}

.service-catalog{padding-top:40px}.service-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.service-tile{display:flex;flex-direction:column;border:1px solid #dce2e7;border-radius:16px;overflow:hidden;background:#fff;color:var(--ink);transition:box-shadow .2s,transform .2s}.service-tile:hover{box-shadow:0 14px 30px #18263518;transform:translateY(-3px)}.service-tile img{width:100%;height:230px;object-fit:cover;background:#eef2f4}.service-tile-copy{padding:22px;display:flex;flex-direction:column;flex:1}.service-tile h2{font-size:24px;margin:0 0 10px;line-height:1.3}.service-tile p{font-size:16px;color:var(--muted);margin:0 0 20px;line-height:1.5}.service-tile-action{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-weight:650}.service-tile-action b{display:grid;place-items:center;border-radius:50%;width:38px;height:38px;background:#3d678c;color:#fff;font-size:22px}.catalog-help{margin-top:32px;padding:28px;background:#eef2f4;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:24px}.catalog-help h2{font-size:24px;margin:0 0 8px}.catalog-help p{margin:0}.catalog-help .btn{flex-shrink:0}@media(max-width:1000px){.service-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.service-catalog-grid{grid-template-columns:1fr}.service-tile img{height:220px}.catalog-help{align-items:stretch;flex-direction:column}.service-catalog{padding-top:24px}}
.footer-socials{display:flex;flex-wrap:wrap;gap:10px;grid-column:1/-1;grid-row:2;padding-top:8px}.footer-socials a{display:grid;place-items:center;width:44px;height:44px;border:1px solid #6c7882;border-radius:50%;color:#fff;font-size:20px;font-weight:750;text-decoration:none}.footer-socials a:hover{background:#3d678c;border-color:#3d678c}
.catalog-groups{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:32px}.catalog-groups a{border:1px solid #dce2e7;border-radius:8px;padding:12px 16px;background:#fff;color:var(--ink);font-weight:600}.catalog-groups a:hover{border-color:var(--orange);color:#2d5275}.catalog-groups span{font-weight:400;color:var(--muted);margin-left:8px}.catalog-group{margin-bottom:48px;scroll-margin-top:140px}.service-tile h3{font-size:24px;line-height:1.3;margin:0 0 12px}.service-tile:not(:has(img)){border-top:4px solid var(--orange)}

:root{--font-ui:"Inter",Arial,sans-serif}h1,h2,h3,h4,.section-title{font-family:"Unbounded","Inter",sans-serif;font-weight:700;letter-spacing:-.035em}

.page-footer{align-items:start}.page-footer>div,.page-footer>nav{min-width:0}.page-footer nav.footer-socials{display:flex;flex-wrap:wrap;gap:8px;grid-column:auto;grid-row:auto;padding-top:8px;max-width:360px;align-content:start}.page-footer .footer-socials a{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:8px;border:1px solid #65717b;border-radius:10px;background:#24333f}.footer-socials img{display:block;width:24px;height:24px;object-fit:contain}.page-footer .footer-socials a:hover{background:#2d5275;border-color:#2d5275}@media(max-width:760px){.page-footer{grid-template-columns:1fr;gap:28px}.page-footer .footer-socials{max-width:none}}
/* White logo directly on the footer background. */
.footer .footer-logo{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.footer .footer-logo img{filter:brightness(0) invert(1)}
.footer-socials img[src$="/max.svg"]{filter:grayscale(1) brightness(0) invert(1)}

/* Yandex constructor map: responsive dimensions */
.map-wrapper,.map-placeholder{height:450px;min-height:450px}.map-wrapper iframe,.contact-map iframe{display:block;width:100%;height:450px;border:0}.contact-map{height:450px}
@media(max-width:620px){.map-wrapper,.map-placeholder,.contact-map{height:320px;min-height:320px}.map-wrapper iframe,.contact-map iframe{height:320px}}

/* Mobile logo and map visibility correction */
@media(max-width:760px){.site-header .brand-original{flex:0 1 240px;width:240px;max-width:calc(100% - 60px);height:72px}.site-header .brand-original img{width:100%;max-width:100%;height:auto}.site-header .header-inner{align-items:center}}
.map-wrapper iframe[hidden]{display:none}

/* Compact mobile logo */
@media(max-width:760px){.site-header .brand-original{flex:0 0 170px;width:170px;max-width:170px;height:64px;overflow:visible}.site-header .brand-original img{width:170px;max-width:170px;height:auto;max-height:none;position:absolute;top:50%;left:0;transform:translateY(-50%)}.site-header .header-inner{padding-top:4px;row-gap:6px}}

/* Compact spacing for internal pages on mobile */
@media(max-width:760px){.breadcrumbs{padding-top:16px;padding-bottom:16px}.page-hero{padding:26px 0 28px}.page-hero h1{margin:12px 0 16px}.page-hero p:last-child{margin-bottom:0}.article-body{padding-top:28px;padding-bottom:24px}.article-body>:first-child{margin-top:0}.article-body>:last-child{margin-bottom:0}.article-body+.section{padding-top:12px}.section{padding-top:32px;padding-bottom:32px}.contact-map-section{padding-top:0}.page-card{padding:20px}.page-grid{gap:16px}}

/* Compact portrait on About page; home card remains unchanged */
.expert-section .container>.expert-person{max-width:920px;margin-inline:auto;grid-template-columns:230px minmax(0,1fr);align-items:start}.expert-section .container>.expert-person .expert-portrait{height:290px;min-height:0}.expert-section .container>.expert-person .expert-copy{padding:24px}.expert-section .container>.expert-person blockquote{font-size:1rem;line-height:1.65}
@media(max-width:620px){.expert-section .container>.expert-person{grid-template-columns:1fr}.expert-section .container>.expert-person .expert-portrait{width:180px;height:220px;margin:20px auto 0;border-radius:10px}.expert-section .container>.expert-person .expert-copy{padding:20px}}

/* Blue palette, October 2026. */
:root{--orange:#3d678c;--orange-dark:#2d5275;--ink:#12283d;--muted:#4e657b;--bg:#f3f7fb;--line:#dce6ef}
body{background:#fbfdff}.eyebrow,.eyebrow-dark{color:#4b6f91}.footer{background:linear-gradient(120deg,#102638,#1c384e)}
.option.selected{background:#edf4fa;color:#2d5275;border-color:#3d678c}
.btn:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #7fa2c2;outline-offset:3px}
.form-message,.lead-form .form-message{color:#a72c36}

/* Readable secondary text and field hints on light surfaces. */
input::placeholder,textarea::placeholder{color:#53687b;opacity:1}
.footer-bottom{color:#bfccd5}

/* Messenger links share the footer settings; project actions align per grid row. */
.header-messengers{display:flex;gap:8px;align-items:center}
.header-messengers a{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;background:var(--orange);flex-shrink:0}
.header-messengers a:hover{background:var(--orange-dark)}
.header-messengers img{width:20px;height:20px;filter:grayscale(1) brightness(0) invert(1)}
.project-grid>.project{display:flex;flex-direction:column;min-width:0}
.project-grid>.project>.project-gallery{flex-shrink:0}
.project-grid .project-body{display:flex;flex-direction:column;flex:1}
.project-grid .project-body>.btn-project{margin-top:auto}
@media(max-width:760px){.header-messengers{flex-basis:100%;justify-content:flex-end;margin-top:4px}.header-messengers a{width:36px;height:36px}}

/* Horizontal replacement logo: preserve its full proportions. */
.site-header .brand-original{overflow:visible}
.site-header .brand-original img{object-fit:contain}
.footer .footer-logo{width:240px;max-width:100%}
.footer .footer-logo img{height:auto;width:100%;object-fit:contain}

/* Planning section */
.planning-note{margin:24px 0 18px;max-width:850px;color:var(--muted)}

/* Three planning points fill the row at each screen size. */
#advantages .benefit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#advantages .benefit:last-child{border-right:0}
@media(max-width:700px){
  #advantages .benefit-grid{grid-template-columns:1fr}
  #advantages .benefit{border-right:0;border-bottom:1px solid var(--line)}
  #advantages .benefit:last-child{border-bottom:0}
}

/* Banner image and readable text panels. */
.hero .hero-photo{inset:0;opacity:1;animation:none;background:#dbe7ef url('/assets/hero-house-cutaway.jpg') center 55%/cover no-repeat}
.hero:before{display:none}
.hero-copy .eyebrow,.hero-copy h1,.hero-copy>p{width:fit-content;max-width:100%;background:rgba(255,255,255,.96);border-radius:6px;box-shadow:0 4px 18px rgba(18,40,61,.1)}
.hero-copy .eyebrow{padding:8px 12px;margin-bottom:10px}
.hero-copy h1{padding:14px 18px;margin-bottom:10px}
.hero-copy>p{padding:13px 18px;color:#263e52}
@media(max-width:900px){.hero .hero-photo{background-size:auto 700px;background-position:center top}}
@media(max-width:700px){.hero .hero-photo{background-size:auto 580px}.hero-copy .eyebrow{padding:7px 10px}.hero-copy h1{padding:12px 14px}.hero-copy>p{padding:12px 14px}}

/* Keep the full house visible; extend its colours into the side space. */
.hero .hero-photo{background-image:url('/assets/hero-house-cutaway.jpg'),url('/assets/hero-house-cutaway.jpg');background-size:contain,cover;background-position:center,center;background-repeat:no-repeat}
@media(max-width:900px){.hero .hero-photo{background-size:auto 580px,cover;background-position:center top,center}}
@media(max-width:700px){.hero .hero-photo{background-size:auto 580px,cover}}

/* Panoramic scene keeps the roof and ground in the banner. */
.hero .hero-photo{background:#c3daea url('/assets/hero-house-wide.jpg') center center/cover no-repeat}
@media(max-width:900px){.hero .hero-photo{background-size:100% auto;background-position:center top}.hero{padding-top:calc(100vw * .5 + 20px)}}

/* Calculation form sits below the hero, leaving the image open. */
.hero .hero-grid{grid-template-columns:1fr}
.quiz-section{background:#f3f7fb;padding:52px 0}
.quiz-section .quiz{width:100%;max-width:100%;margin:0;padding:32px 36px}
.quiz-section .quiz-top h2{max-width:none}
.quiz-section .quiz-step[data-step="0"] .option-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none}
.quiz-section .quiz-step .option-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.quiz-section .quiz-step[data-step="0"] .option{min-height:64px}
.quiz-section .quiz-controls{max-width:360px}
.quiz-section .quiz-contact-fields{max-width:600px}
@media(max-width:700px){
  .quiz-section{padding:32px 0}
  .quiz-section .quiz{padding:24px 18px}
  .quiz-section .quiz-step[data-step="0"] .option-grid,.quiz-section .quiz-step .option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quiz-section .quiz-controls{max-width:none}
}

/* White page background around the coloured first screen. */
body{background:#fff}
main > .section-muted,main > .page-band,main > .quiz-section{background:#fff}

/* Compact introductions and first content blocks on inner pages. */
.breadcrumbs{padding-top:20px;padding-bottom:20px}
.page-hero{padding:32px 0 38px}
.page-hero .eyebrow{margin-bottom:12px}
.page-hero h1{margin:0 0 14px}
.page-hero p:last-child{margin-bottom:0}
.page-hero .hero-actions{margin:20px 0 0}
.page-hero + .section{padding-top:36px}
.page-hero + .article-body{padding-top:32px}
@media(max-width:760px){
  .breadcrumbs{padding-top:14px;padding-bottom:14px}
  .page-hero{padding:24px 0 28px}
  .page-hero h1{margin:0 0 12px}
  .page-hero + .section,.page-hero + .article-body{padding-top:24px}
}

/* Steel-blue first screens and buttons, retaining the existing forms and footer. */
:root{--ink:#20262b;--muted:#46545e;--orange:#496f8d;--orange-dark:#315773;--line:#c9d7e0}
.estimate,.footer{--ink:#12283d;--muted:#4e657b;--orange:#3d678c;--orange-dark:#2d5275;--line:#dce6ef}
.page-hero{background:linear-gradient(112deg,#b8cedc 0%,#d6e4ed 13%,#f9fcfd 23%,#ccdfe9 30%,#aec8d8 42%,#eaf3f7 53%,#fff 59%,#c6dce8 66%,#a9c4d4 81%,#e5eff4 93%,#cadde7 100%);background-size:180% 100%;animation:steel-shimmer 18s ease-in-out infinite alternate}
@keyframes steel-shimmer{from{background-position:0% 50%}to{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.page-hero{animation:none}}
.page-hero p,.construction-info p{color:#374751}
:is(h1,h2,h3,h4):not(.footer *):not(.estimate *):not(.expert-equipment *){color:#20262b}
.eyebrow:not(.estimate *):not(.footer *),.eyebrow-dark:not(.estimate *):not(.footer *),.service-num{color:#3a607a}
.btn:not(.btn-outline):not(.estimate *):not(.footer *){background:linear-gradient(135deg,#628aa7 0%,#3e6682 48%,#527d99 78%,#385f7b 100%);border-color:#486d85;color:#fff;transition:color .15s,box-shadow .15s}
.btn:not(.btn-outline):not(.estimate *):not(.footer *):hover,.btn:not(.btn-outline):not(.estimate *):not(.footer *):focus-visible{background:#315773;border-color:#315773;color:#fff}
.btn-outline:not(.estimate *):not(.footer *){border-color:#69899c;color:#20262b;transition:color .15s,box-shadow .15s}
.btn-outline:not(.estimate *):not(.footer *):hover,.btn-outline:not(.estimate *):not(.footer *):focus-visible{background:#315773;border-color:#315773;color:#fff}
.btn-outline:not(.estimate *):not(.footer *):hover *,.btn-outline:not(.estimate *):not(.footer *):focus-visible *{color:#fff}
.footer .footer-logo{background:#fff;border-radius:8px;padding:10px}
.footer .footer-logo img{filter:none}
/* Preserve the form's colours while avoiding background-transition flashes. */
.estimate .btn,.footer .btn{transition:color .15s,box-shadow .15s}

/* Keep the project introduction together and bring the gallery closer. */
.page-hero:has(.projects-hero-extra) .container > p{margin-bottom:8px}
.projects-hero-extra p{margin:0}
.page-hero + .projects-list{padding-top:24px}
@media(max-width:760px){.page-hero + .projects-list{padding-top:20px}}
.calculator-box #calc-pdf{width:100%;margin:0 0 12px}
.calculator-box #calc-print{width:100%;margin:0 0 12px}
/* Temporary text mark until the final ВЛСТК logo is supplied. */
.site-header .brand-original{display:flex;align-items:center}
.brand-wordmark{display:block;font-family:Inter,Arial,sans-serif;font-size:34px;font-weight:800;letter-spacing:.025em;line-height:1;color:#294f69}
.footer .footer-logo{background:transparent;padding:0;border-radius:0}
.footer .brand-wordmark{color:#fff}
@media(max-width:760px){.site-header .brand-original{height:64px}.brand-wordmark{font-size:29px}}
/* Approved ВЛСТК logo; the white version is used on the dark footer. */
.site-header .brand-original{display:block}
.footer .footer-logo img{filter:none;width:100%;height:auto;object-fit:contain}

/* Навигация и быстрые действия в шапке */
.header-calculator,.menu-hours{display:none}
.floating-top{position:fixed;right:22px;bottom:22px;z-index:45;display:grid;place-items:center;width:48px;height:48px;border:1px solid #8cacc1;border-radius:12px;background:#315d7c;color:#fff;font:700 27px/1 var(--font-ui);box-shadow:0 5px 18px #12283d38;transition:background .2s,transform .2s}
.floating-top:hover,.floating-top:focus-visible{background:#183e5c;transform:translateY(-2px)}
.floating-top[hidden]{display:none}
@media(min-width:1181px){
 .site-header .navigation .nav-calculator{padding:8px 10px;border:1px solid #b8d2e2;border-radius:8px;color:#183f5b;background:linear-gradient(110deg,#ccdfeb 0%,#f8fcff 35%,#b9d3e2 58%,#eff8fc 82%,#c4dce9 100%);background-size:220% 100%;animation:calculator-sheen 7s ease-in-out infinite}
 .site-header .navigation .nav-calculator:hover,.site-header .navigation .nav-calculator:focus-visible{color:#102f46;border-color:#769bb2}
 @keyframes calculator-sheen{0%,100%{background-position:100% 0}50%{background-position:0 0}}
}
@media(max-width:1180px){.menu-hours{display:block;padding:15px 12px 4px;color:#4e657b;font-size:.9rem}}
@media(max-width:760px){
 .site-header .header-inner{display:grid;grid-template-columns:minmax(92px,1fr) auto 42px;column-gap:8px;row-gap:8px;min-height:0;padding:8px 0 10px}
 .site-header .brand-original{grid-column:1;grid-row:1;justify-self:start;width:min(100%,145px);max-width:145px;height:58px;overflow:visible}
 .site-header .brand-original img{width:100%;max-width:100%}
 .site-header .header-contact{grid-column:2;grid-row:1;order:initial;display:flex;width:auto;min-width:0;flex-direction:column;align-items:flex-end;justify-content:center;flex-wrap:nowrap;gap:4px;margin:0;white-space:nowrap}
 .site-header .header-contact>a{font-size:14px;line-height:1.2}
 .site-header .header-hours{display:none}
 .header-messengers{flex-basis:auto;justify-content:flex-end;gap:5px;margin:0}
 .header-messengers a{width:30px;height:30px}
 .header-messengers img{width:18px;height:18px}
 .site-header .menu-toggle{grid-column:3;grid-row:1;order:initial;justify-self:end;margin:0;padding:9px}
 .site-header .navigation{top:100%;grid-column:1/-1;max-height:65vh;overflow:auto}
 .site-header .header-calculator,.site-header .header-project{display:inline-flex;grid-row:2;order:initial;width:100%;min-width:0;min-height:44px;margin:0;padding:9px 6px;gap:5px;font-size:14px}
 .site-header .header-calculator.btn:not(.btn-outline){grid-column:1;background:#fff;color:#244e6c;border-color:#7396ae}
 .site-header .header-calculator.btn:not(.btn-outline):hover,.site-header .header-calculator.btn:not(.btn-outline):focus-visible{background:#edf5f9;color:#173e59}
 .site-header .header-project{grid-column:2/4}
 html{scroll-padding-top:140px}
 .floating-top{right:14px;bottom:14px;width:44px;height:44px}
}
@media(max-width:360px){.site-header .header-inner{column-gap:4px}.site-header .header-contact>a{font-size:12px}.site-header .brand-original{width:min(100%,120px)}.site-header .header-calculator,.site-header .header-project{font-size:13px}}
@media(prefers-reduced-motion:reduce){.site-header .navigation .nav-calculator{animation:none}.floating-top{transition:none}}
@media print{.floating-top{display:none!important}}

/* Кнопки действий в шапке */
.header-quick-actions{display:contents}.calculator-label-short{display:none}
@media(min-width:1181px){.site-header .navigation .nav-calculator{display:none}.header-quick-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.site-header .header-quick-actions .btn{display:flex;width:100%;min-height:38px;padding:7px 10px;font-size:14px;line-height:1.2}.site-header .header-calculator.btn{background:#fff;color:#244e6c;border-color:#7396ae}.site-header .header-calculator.btn:hover{background:#edf5f9;color:#173e59}}
@media(max-width:1180px){.calculator-label-full{display:none}.calculator-label-short{display:inline}}

/* Единая навигация и раскрывающиеся разделы */
.site-header .navigation{min-width:0}
.main-menu,.mega-group ul{list-style:none;margin:0;padding:0}
.main-menu{display:flex;align-items:center;justify-content:center;gap:12px;width:100%}
.menu-item{display:flex;align-items:center;gap:2px}
.site-header .navigation .menu-link{white-space:nowrap;padding:10px 0;font-size:14px}
.menu-link[aria-current="page"]{color:#315d7c}
.mega-toggle{display:inline-grid;place-items:center;background:transparent;border:0;color:#315d7c;width:26px;height:40px;font-size:19px}
.mega-toggle:focus-visible{outline:3px solid #7fa2c2;outline-offset:1px}
.mega-menu{display:none;background:#fff;border:1px solid var(--line);box-shadow:0 16px 30px #12283d24}
.mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 32px}
.mega-group h2{font-family:var(--font-ui);font-size:15px;line-height:1.4;letter-spacing:0;margin:0 0 8px;color:#12283d}
.mega-group ul{display:grid;gap:4px}
.site-header .navigation .mega-group a,.mega-group .menu-pending{display:block;padding:5px 0;font-size:15px;line-height:1.4;white-space:normal}
.menu-pending{color:#63788b}
@media(min-width:1181px){
 .site-header .header-inner{gap:12px}.site-header .brand-original{flex-basis:185px;width:185px}.site-header .navigation{position:static}
 .mega-menu{position:absolute;left:0;right:0;top:100%;max-height:calc(100vh - 110px);overflow:auto;padding:28px max(24px,calc((100vw - 1200px)/2));border-radius:0 0 12px 12px}
 .menu-item.is-open .mega-menu{display:block}
}
@media(max-width:1180px){
 .site-header .navigation{display:none;overflow:auto;max-height:70vh}.site-header .navigation.open{display:block}
 .main-menu{display:block}.menu-item{display:grid;grid-template-columns:1fr 44px;border-bottom:1px solid var(--line)}
 .site-header .navigation .menu-link{padding:12px;font-size:16px}.mega-toggle{width:44px;height:44px}
 .mega-menu{grid-column:1/-1;position:static;border:0;box-shadow:none;padding:8px 12px 20px}
 .menu-item.is-open .mega-menu{display:block}.mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .site-header .navigation .mega-group a{padding:6px 0;border:0}
}
@media(max-width:480px){.mega-grid{grid-template-columns:1fr}}

.catalog-filters{display:flex;gap:16px;flex-wrap:wrap;align-items:end;margin:24px 0}.catalog-filters label{display:grid;gap:6px}.catalog-filters select{padding:12px;border:1px solid #b5c7d4;border-radius:6px;background:white}.catalog-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.catalog-cards img{width:100%;height:210px;object-fit:cover}.catalog-cards h2{font-size:1.3rem;margin:16px 0}.catalog-pagination{display:flex;gap:10px;margin:24px 0}.catalog-pagination a{padding:8px 12px;border:1px solid #b5c7d4;border-radius:6px}.catalog-pagination [aria-current]{background:#315d7c;color:white}.catalog-detail-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:30px}.catalog-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}.catalog-gallery img{width:100%;height:220px;object-fit:cover;border-radius:8px}.catalog-detail-grid dt{font-weight:700}.catalog-detail-grid dd{margin:0 0 10px}@media(max-width:760px){.catalog-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-detail-grid{grid-template-columns:1fr}}@media(max-width:480px){.catalog-cards{grid-template-columns:1fr}}

.question-form{max-width:720px;padding:28px}.question-form label:not(.consent){display:block;margin-bottom:14px}.question-form input,.question-form textarea{margin-top:6px}

.company-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.company-people{grid-template-columns:repeat(2,minmax(0,1fr))}.company-material-grid h2{font-size:1.3rem}.company-person-photo{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.video-preview{width:100%;aspect-ratio:16/9;position:relative;border:0;border-radius:8px;overflow:hidden;background:#17344c;color:white;font-weight:700}.video-preview img{width:100%;height:100%;object-fit:cover}.video-preview span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#17344c;padding:10px 14px;border-radius:6px;white-space:nowrap}.company-video-frame{width:100%;aspect-ratio:16/9;border:0}@media(max-width:760px){.company-material-grid,.company-people{grid-template-columns:1fr}}

.article-lead{display:grid;grid-template-columns:1fr 1fr;gap:24px}.article-lead img{width:100%;max-height:420px;object-fit:cover;border-radius:8px}.article-lead a{text-decoration:underline}@media(max-width:760px){.article-lead{grid-template-columns:1fr}}

.solution-hero-has-media .solution-hero-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px}.solution-hero-media{width:100%;height:320px;object-fit:cover;border-radius:10px}.solution-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.solution-steps img{width:100%;height:150px;object-fit:cover;border-radius:8px;margin-bottom:12px}.solution-steps h3{margin:0 0 8px}@media(max-width:760px){.solution-hero-has-media .solution-hero-inner{grid-template-columns:1fr;gap:18px}.solution-hero-media{height:230px}.solution-steps{grid-template-columns:1fr}}

/* Логотип и карточки конструкции */
.footer .footer-logo img{filter:brightness(0) invert(1)}
.tech-more{display:inline-block;margin-top:12px;color:#315d7c;font-weight:700;text-decoration:underline}
@media(min-width:1181px){.site-header .brand-original{flex:0 0 278px;width:278px}}
@media(min-width:1181px) and (max-width:1420px){
 .site-header .menu-toggle{display:flex;flex-direction:column;gap:5px;margin-left:0;order:4}
 .site-header .navigation{display:none;position:absolute;top:100%;left:0;right:0;padding:20px 24px;background:white;flex-direction:column;align-items:stretch;box-shadow:0 18px 30px #14263820;max-height:70vh;overflow:auto}
 .site-header .navigation.open{display:block}
 .main-menu{display:block}.menu-item{display:grid;grid-template-columns:1fr 44px;border-bottom:1px solid var(--line)}
 .site-header .navigation .menu-link{padding:12px;font-size:16px}.mega-toggle{width:44px;height:44px}
 .mega-menu{grid-column:1/-1;position:static;border:0;box-shadow:none;padding:8px 12px 20px;max-height:none}
 .menu-item.is-open .mega-menu{display:block}.mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .site-header .navigation .mega-group a{padding:6px 0;border:0}
}

/* Единый шрифт Manrope для публичных страниц. */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url('/assets/fonts/Manrope-variable.ttf') format('truetype')}
:root{--font-ui:'Manrope',Arial,sans-serif}
body{font-family:var(--font-ui);font-weight:400}
h1,h2,h3,h4,h5,h6,.section-title,.hero h1,.page-hero h1,.mega-group h2{font-family:var(--font-ui);font-weight:700}
.btn,.btn-small,.btn-project,.quiz-controls .btn,.header-actions .btn-small,.cookie-actions .btn,.option,.quiz .option,.back-to-top,.map-open,.site-header .navigation a,.navigation a{font-family:var(--font-ui);font-weight:600}

/* Заголовки групп отделены от ссылок внутри раскрывающегося меню. */
.site-header .mega-group h2{display:block;margin:0 0 10px;padding:0 0 9px;border-bottom:1px solid #c6d8e5;color:#315d7c;font-size:.875rem;font-weight:700;line-height:1.4;letter-spacing:.035em;text-transform:uppercase}
.site-header .navigation .mega-group a{color:#12283d;font-weight:500;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:color .15s,text-decoration-color .15s}
.site-header .navigation .mega-group a:hover,.site-header .navigation .mega-group a:focus-visible{color:#315d7c;text-decoration-color:currentColor}
.site-header .mega-group .menu-pending{color:#53687b;font-weight:400}
.site-header .navigation .mega-group h2{color:#315d7c}
.site-header .navigation .mega-group h2{font-weight:800}

/* Скрытые блоки не оставляют неработающих кнопок на главной. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-hidden-quiz a[href="#quiz"],.home-hidden-estimate a[href="#estimate"],.home-hidden-estimate a[href="/#estimate"],.home-hidden-estimate [data-project],.home-hidden-contacts a[href="#contacts"]{display:none!important}

/* Поднимаем кнопку «Наверх» над чатом */
.floating-top {
  bottom: 110px;
}

@media (max-width: 760px) {
  .floating-top {
    bottom: 100px;
  }
}
/* Отступ после хлебных крошек на внутренних страницах */
.breadcrumbs + .section {
  padding-top: 12px;
}

.breadcrumbs + .section > .container > h1:first-child {
  margin-top: 0;
}