.site-page{--graphite:#30342f}
.site-page .brand .wordmark-emp{color:var(--green)}
.site-page .brand .wordmark-dot,.site-page .brand .wordmark-name{color:var(--graphite)}
.site-page .button{justify-content:center;gap:12px;font-size:15px}
.site-page .text-link{font-size:15px;min-height:44px;text-decoration:underline;text-underline-offset:5px}
.site-page :is(h1,h2,h3){text-wrap:balance}
:root{--site-header-height:66px}
html{scroll-padding-top:calc(var(--site-header-height) + 12px)}
.site-page :is(article,section)[id]{scroll-margin-top:12px}
.home-hero{position:relative;min-height:540px}
.hero-image{position:absolute;inset:0;display:block}
.hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:60% 50%}
.hero-wash{position:absolute;inset:0;background:linear-gradient(90deg,var(--paper),rgba(247,245,238,.98) 25%,rgba(247,245,238,.94) 36%,rgba(247,245,238,.75) 45%,rgba(247,245,238,.05) 66%,transparent 78%);pointer-events:none}
.hero-copy{position:relative;padding-block:58px 76px}
.hero-copy .eyebrow{margin-bottom:23px}
.hero-copy h1{max-width:630px;font-size:clamp(48px,4.6vw,70px);line-height:1.04;letter-spacing:-2px}
.hero-description{max-width:470px;font-size:17px;line-height:1.65;margin-top:24px;color:#384d42}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 28px;margin-top:28px}
.hero-actions .button{min-width:205px}
.scene-note{position:absolute;right:6.7%;bottom:16px;font-size:12px;color:#364b3f;background:rgba(247,245,238,.94);padding:4px 8px;max-width:86%;text-align:right}
.feature-strip{border-bottom:1px solid var(--line);padding-block:28px}
.feature-strip ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0;padding:0}
.feature-strip li{display:flex;align-items:flex-start;gap:14px;min-width:0;padding-inline:22px;border-left:1px solid var(--line)}
.feature-strip li:first-child{padding-left:0;border:0}
.feature-strip li:last-child{padding-right:0}
.feature-strip svg{flex:0 0 32px;color:var(--green);margin-top:1px}
.feature-strip li>div{min-width:0}
.feature-strip h2{font:600 15px/1.4 var(--sans);letter-spacing:0;text-wrap:normal}
.feature-strip p{margin-top:8px;font-size:13px;line-height:1.6;color:var(--muted)}
.home-services{padding-block:52px 36px}
.services-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.services-heading .eyebrow{margin-bottom:12px}
.services-heading h2{font-size:clamp(34px,3.2vw,46px)}
.home-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.home-service{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:7px;background:#f4f3eb}
.home-service picture{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:6px 6px 0 0}
.home-service img{display:block;width:100%;height:100%;object-fit:cover}
#electrical img{object-position:30% 50%}
#networks img{object-position:60% 50%}
#security img{object-position:50% 40%}
#fire img{object-position:48% 50%}
#automation img{object-position:45% 50%}
#engineering img{object-position:50% 45%}
.home-service-copy{display:flex;flex-direction:column;flex:1;min-width:0;padding:20px}
.home-service h3{font:400 28px/1.15 var(--serif);letter-spacing:-.55px}
.home-service-link{display:flex;flex-direction:column;flex:1;min-width:0;border-radius:6px}
.home-service-link:hover .service-more{text-decoration:underline;text-underline-offset:4px}
.home-service-link:focus-visible{outline:3px solid #a66e26;outline-offset:5px}
.home-service-copy>p{margin-top:12px;margin-bottom:16px;font-size:15px;line-height:1.65;color:var(--muted)}
.media-note{font-size:12px;line-height:1.65;color:var(--muted);margin-top:24px}
.lead-support-note{font-size:14px;line-height:1.65;margin-top:20px}
.lead-support-note a{text-decoration:underline}
@media(min-width:701px) and (max-width:1100px){
 .hero-copy{padding-block:58px 66px}
 .hero-copy h1{max-width:550px;font-size:55px}
 .hero-description{max-width:430px}
 .hero-wash{background:linear-gradient(90deg,var(--paper),rgba(247,245,238,.96) 36%,rgba(247,245,238,.8) 48%,rgba(247,245,238,.08) 75%,transparent)}
 .feature-strip li{display:block;padding-inline:16px}
 .feature-strip svg{margin-bottom:10px}
 .home-service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
}
@media(max-width:700px){
 .home-hero{display:flex;flex-direction:column;min-height:0}
 .hero-copy{order:1;padding-block:26px 26px}
 .hero-copy h1{font-size:clamp(38px,10.3vw,50px);line-height:1.08;letter-spacing:-1.3px;max-width:100%}
 .hero-copy .eyebrow{margin-bottom:20px}
 .hero-description{font-size:16px;margin-top:22px;max-width:100%}
 .hero-actions{gap:10px 20px;margin-top:24px}
 .hero-actions .button{width:100%;min-height:52px}
 .home-hero .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:24px}
 .home-hero .hero-actions .button{width:100%;min-width:0;min-height:52px;padding:13px 12px;gap:0;font-size:14px;line-height:1.4}
 .hero-actions .text-link{min-height:44px}
 .hero-image{position:relative;inset:auto;order:2;height:240px}
 .hero-image img{object-position:63% 50%}
 .hero-wash{inset:auto 0 0;height:240px;z-index:1;background:linear-gradient(180deg,var(--paper),rgba(247,245,238,.08) 28%,transparent 75%)}
 .scene-note{z-index:2;bottom:10px;right:22px;font-size:10px;max-width:calc(100% - 44px)}
 .feature-strip{padding-block:22px}
 .feature-strip ul{grid-template-columns:minmax(0,1fr);gap:0}
 .feature-strip li:nth-child(n){display:flex;align-items:flex-start;gap:16px;padding:18px 0;border-left:0;border-top:1px solid var(--line)}
 .feature-strip li:first-child{padding-top:0;border-top:0}
 .feature-strip li:last-child{padding-bottom:0}
 .feature-strip svg{flex:0 0 28px;width:28px;height:28px;margin:2px 0 0}
 .feature-strip h2{font-size:15px;line-height:1.45}
 .feature-strip p{margin-top:5px;font-size:14px;line-height:1.55}
 .home-services{padding-block:34px 28px}
 .services-heading{display:block;margin-bottom:22px}
 .services-heading>.text-link{margin-top:12px}
 .home-service-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 .home-service h3{font-size:26px}
 .home-service-copy{padding:18px 20px}
 .home-service-copy>p{font-size:15px;line-height:1.55;margin-bottom:12px}
}
@media(min-width:370px) and (max-width:700px){
 .home-hero .hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Homepage 02 header, compact links and inline contact component. */
/* Homepage Integration 02. Shared five-page foundation remains unchanged. */
.site-page .header{position:sticky;top:0;inset-inline:auto;gap:26px;height:var(--site-header-height);width:100%;max-width:none;--header-gutter:max(6.7%,calc((100% - 1360px)/2));padding-inline:var(--header-gutter);background:var(--paper);border-bottom:1px solid var(--line)}
.site-page .header nav{padding:0;gap:18px;flex-wrap:nowrap;white-space:nowrap}
.header-contact-group{display:flex;align-items:center;gap:2px;margin-left:auto}
.contact-phone{display:inline-flex;align-items:center;min-height:44px;padding-inline:8px;font-size:14px;font-weight:600;text-decoration:none}
.site-page .header .nav-cta{margin:0;min-height:48px;padding:12px 16px;white-space:nowrap}
.site-page .header-messenger{flex:0 0 44px}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.service-more{display:inline-flex;align-items:center;align-self:flex-start;margin-top:auto;min-height:44px;font-size:14px;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.service-more:hover{text-decoration-thickness:2px}
.inline-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;margin-block:6px 12px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#f4f3eb}
.inline-intro{display:flex;flex-direction:column;min-width:0;background:var(--green);color:var(--paper)}
.inline-copy{padding:38px}
.inline-copy h2{font-size:clamp(34px,3.1vw,44px)}
.inline-copy p{margin-top:18px;max-width:35ch;font-size:16px;line-height:1.65;color:#dbe2d5}
.inline-media{position:relative;display:block;flex:1;min-height:280px}
.inline-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 50%}
.inline-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,var(--green),rgba(6,48,37,.12) 32%,transparent 70%);pointer-events:none}
.inline-form-panel{min-width:0;padding:30px;background:var(--paper)}
@media(max-width:1200px){
 :root{--site-header-height:58px}
 .site-page .header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 16px;height:var(--site-header-height);min-height:var(--site-header-height);align-items:center}
 .site-page .header-identity{min-height:var(--site-header-height);justify-content:center}
 .site-page .menu-toggle{display:grid;grid-template-columns:20px auto;grid-template-rows:2px 2px;align-content:center;justify-content:center;gap:6px 10px;width:104px;height:48px;padding:12px;border:1px solid var(--green);border-radius:6px;background:var(--green);color:var(--paper)}
 .site-page .menu-toggle>span{grid-column:1;height:2px;width:20px;background:currentColor}
 .site-page .menu-toggle::after{content:"Меню";grid-column:2;grid-row:1/3;align-self:center;font-size:14px;font-weight:600;line-height:1.2}
 .site-page .menu-toggle:hover{background:#245440;border-color:#245440}
 .site-page .menu-toggle:active{background:#102c22;border-color:#102c22}
 .site-page .menu-toggle:focus-visible{outline:3px solid #a66e26;outline-offset:2px}
 .site-page .menu-toggle[aria-expanded='true']{background:#102c22;border-color:#102c22}
 .site-page .menu-toggle[aria-expanded='true']>span:first-child{transform:translateY(4px) rotate(45deg)}
 .site-page .menu-toggle[aria-expanded='true']>span:last-child{transform:translateY(-4px) rotate(-45deg)}
 .site-page .header nav{display:none;position:absolute;top:100%;left:0;right:0;white-space:normal;width:100%;max-height:calc(100vh - var(--site-header-height) - 16px);max-height:calc(100dvh - var(--site-header-height) - 16px - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;margin:0;padding:12px 18px 18px;border:1px solid var(--line);border-radius:6px;box-shadow:0 16px 32px rgba(15,42,31,.14);background:var(--paper);gap:0;font-size:16px;align-items:stretch}
 .site-page .header nav.is-open{display:flex;flex-direction:column}
 .site-page .header nav>.primary-nav-link{display:flex;align-items:center;min-height:44px;padding-block:8px}
 .site-page .header-contact-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px;margin:8px 0 12px;padding-top:10px;border-top:1px solid var(--line)}
 .site-page .contact-phone{grid-column:1/-1;padding:0;min-height:44px;font-size:16px}
 .site-page .header-messenger{display:flex;justify-content:flex-start;gap:8px;width:auto;min-width:0;min-height:44px;font-size:14px}
 .site-page .header-messenger span{display:inline}
 .site-page .header .nav-cta{margin:0;min-height:48px;width:100%}
}
@media(max-width:370px){
 .site-page .menu-toggle{width:48px;grid-template-columns:20px;column-gap:0}
 .site-page .menu-toggle::after{display:none}
}
@media(min-width:701px) and (max-width:1100px){
 .inline-copy{padding:28px}
 .inline-form-panel{padding:24px}
 .home-service-copy{padding:18px}
 .home-service h3{font-size:25px}
 .home-service-copy>p{font-size:14px}
}
@media(max-width:960px){
 .inline-contact{display:flex;flex-direction:column;margin-block:0 8px}
 .inline-intro{display:contents}
 .inline-copy{order:1;padding:28px 22px 22px;background:var(--green);color:var(--paper)}
 .inline-copy h2{font-size:34px}
 .inline-form-panel{order:2;padding:24px 20px}
 .inline-media{order:3;flex:none;min-height:0;height:160px}
 .inline-media::after{display:none}
 .home-service picture{aspect-ratio:2/1}
}

@media(min-width:701px) and (max-width:900px){
 .home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:701px) and (max-width:960px){
 .inline-form-panel .channel-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .inline-form-panel .channel-chip:last-child{grid-column:auto}
}

/* Editorial pass: one text-only About section; no unverified project photo. */
.home-about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7%;padding-block:32px 40px;border-top:1px solid var(--line)}
.home-about>div{min-width:0}
.home-about h2{font-size:clamp(30px,3vw,42px);line-height:1.15;max-width:23ch;margin-top:14px}
.home-about-copy p{font-size:17px;line-height:1.75;color:var(--muted);max-width:54ch}
.home-about-copy .about-work-link{margin-top:20px;min-height:48px;padding:12px 18px;border-radius:4px;font-size:15px;text-align:left}
.about-work-link svg{flex:none}
.about-work-link:focus-visible{outline:3px solid #a66e26;outline-offset:4px}
@media(max-width:700px){.home-about{grid-template-columns:minmax(0,1fr);gap:18px;padding-block:28px 32px}.home-about-copy p{font-size:16px}}

/* Native navigation layer reuses the sticky header without a second DOM instance. */
.menu-dialog{position:fixed;inset:0;margin:0;padding:0;border:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;overflow:hidden;background:transparent;color:var(--ink)}
.menu-dialog::backdrop{background:rgba(0,0,0,.04)}
@media(max-width:1200px){
 .menu-dialog .header{position:relative;top:auto;margin-inline:0;width:calc(100% - var(--menu-gutter,0px));margin-top:env(safe-area-inset-top);z-index:1;background:var(--paper)}

 .menu-dialog .header::before{content:"";position:absolute;inset:0 calc(0px - var(--menu-gutter,0px)) 0 0;background:var(--paper);border-bottom:1px solid var(--line);z-index:-1;pointer-events:none}
 .menu-dialog .header nav{left:var(--header-gutter);right:var(--header-gutter);width:auto;box-shadow:0 6px 16px rgba(0,0,0,.06);max-height:calc(100vh - var(--site-header-height) - 16px);max-height:calc(100dvh - var(--site-header-height) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;touch-action:pan-y}
}

@media(min-width:701px) and (max-width:1100px){.site-page .header{--header-gutter:6%}}
@media(max-width:700px){.site-page .header{--header-gutter:22px}}
