/* Lighten existing content blocks only. No selectors target header, footer, FAQ, reviews or forms. */
.g-main>:is(.c-hero,.c-about,.c-service,.c-advantages,.c-portfolio-list,.c-steps,.c-contacts){--c-base:#223a33;--c-base-rgb:34,58,51;--c-text:rgba(34,58,51,.85);--c-accent:#2c5952;--c-icon:#2c5952;background:#fff;color:#223a33}
.g-main>:is(.c-hero,.c-service) :is(.c-hero__bg,.c-service__bg){display:none}
.g-main>:is(.c-hero,.c-about,.c-service,.c-advantages,.c-portfolio-list,.c-steps,.c-contacts) .e-btn{background:#2c5952;color:#fff}
.g-main>:is(.c-hero,.c-about,.c-service,.c-advantages,.c-portfolio-list,.c-steps,.c-contacts) .e-btn:hover{background:#20463f;color:#fff}
.g-main>.c-advantages .c-advantages__item,.g-main>.c-steps .c-list-steps__item{background:#eef3ed;color:#223a33;border:1px solid #dbe1db}
.g-main>.c-advantages .c-advantages__item :is(h3,p,div,span){color:inherit}
.g-main>.c-about .c-about__philosophy{--c-base:#fff;--c-text:#fff;--c-accent:#bdd3c4}
.g-main>.c-portfolio-list .c-portfolio-list__item{background:#eef3ed;color:#223a33;border:1px solid #dbe1db}
.g-main>.c-portfolio-list :is(.c-portfolio-list__item-title,.c-portfolio-list__detail-label,.c-portfolio-list__detail-value,.c-portfolio-list__scope-title,.c-portfolio-list__scope-list li,.c-portfolio-list__gallery-title){color:#223a33}
/* Existing inquiry popup stays intact; only its floating trigger is presented differently. */
@media(min-width:768px){
.c-inquiry-btn{top:50%;bottom:auto;right:8px;transform:translateY(-50%);width:48px;height:220px;padding:16px 10px;border-radius:12px;animation:none;text-transform:none;font-size:14px;line-height:1.3;background:#2c5952;box-shadow:0 4px 18px #12332b30}
.c-inquiry-btn__text{writing-mode:vertical-rl;white-space:nowrap;overflow-wrap:normal}
.c-inquiry-btn__wave{display:none}}
.yv2-mobile-actions{display:none}
@media(max-width:767px){
.yv2-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;bottom:0;left:0;right:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dbe1db;box-shadow:0 -4px 20px #173c3114;z-index:390;font:700 16px/1.3 'Golos Text',sans-serif;color:#2c5952}
.yv2-mobile-actions a,.yv2-mobile-actions button{box-sizing:border-box;border:1px solid #2c5952;border-radius:24px;min-height:46px;display:flex;align-items:center;justify-content:center;background:#2c5952;color:#fff;font:inherit;padding:10px 16px;text-align:center;text-decoration:none;cursor:pointer}
.yv2-mobile-actions a{background:#fff;color:#2c5952}
.yv2-mobile-actions :focus-visible{outline:3px solid #afc985;outline-offset:2px}
body:has(.yv2-mobile-actions){padding-bottom:calc(68px + env(safe-area-inset-bottom))}
.c-inquiry-btn{display:none}
body.is-inquiry-popup-open .yv2-mobile-actions{visibility:hidden}}
/* The home header overlays the first section; preserve its original dark backing. */
.g-main--custom>.c-hero:first-child{background:linear-gradient(to bottom,#2c5952 0,#2c5952 var(--yv2-header-space,250px),#fff var(--yv2-header-space,250px),#fff 100%)}
.g-main>.c-service .c-service__link-btn:hover{color:#fff}

/* Service detail pages: consistent space after breadcrumbs and before the next section. */
.g-main>.c-hero--service{padding-top:48px;padding-bottom:32px}
.g-main>.c-hero--service .c-hero__inner{min-height:0;padding-top:0;padding-bottom:0}
.c-hero--service .c-hero__details-info{gap:40px}
.c-hero--service .c-hero__details-info>*{min-width:0}
.c-hero--service .c-hero__details-info+*{margin-top:32px}
.c-hero--service .c-hero__details+*{margin-top:48px}
.g-main>.c-hero--service+.c-advantages{padding-top:48px}
@media(max-width:1199px){.c-hero--service .c-hero__details-info{gap:32px}}
@media(max-width:767px){
.g-main>.c-hero--service{padding-top:24px;padding-bottom:24px}
.c-hero--service .c-hero__details-info{gap:24px}
.c-hero--service .c-hero__details-info+*{margin-top:24px}
.c-hero--service .c-hero__details+*{margin-top:32px}
.g-main>.c-hero--service+.c-advantages{padding-top:24px}}

/* Home page: align content gutters and give the native overlaid header breathing room. */
.home .g-main>.c-hero:first-child .c-hero__inner{min-height:0;padding-top:calc(var(--yv2-home-header-height,250px) + 48px);padding-bottom:64px}
.home .g-main>:is(.c-about,.c-service,.c-advantages,.c-portfolio){padding-block:96px}
.home .g-main>.c-portfolio .c-portfolio__inner{padding-left:0}
.home .g-main>.c-portfolio .c-portfolio__info{flex:1;min-width:0}
.home .g-main>.c-portfolio .c-portfolio__gallery{min-width:0}
@media(max-width:767px){
.home .g-main>.c-hero:first-child .c-hero__inner{padding-top:calc(var(--yv2-home-header-height,250px) + 24px);padding-bottom:48px}
.home .g-main>:is(.c-about,.c-service,.c-advantages,.c-portfolio){padding-block:48px}
}

/* One outer container for page content and breadcrumb navigation. Shared chrome is unchanged. */
:is(.g-main,.site-main) .container,.g-main .yv2-container{box-sizing:border-box;width:min(1440px,calc(100% - 128px));max-width:1440px;padding-inline:0;margin-inline:auto}
.g-main .g-breadcrumb-bg,.site-main .g-breadcrumb-bg{margin-bottom:0;background:#dbe1db;color:#1e3f3b}
.g-breadcrumb__yoast{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.g-breadcrumb__yoast a{color:inherit;text-decoration:none}
.g-breadcrumb__yoast a:hover{text-decoration:underline;text-underline-offset:3px}
.g-breadcrumb__yoast a:focus-visible{outline:2px solid #2c5952;outline-offset:3px}
.g-breadcrumb__yoast .breadcrumb_last{font-weight:600}
@media(max-width:767px){
:is(.g-main,.site-main) .container,.g-main .yv2-container{width:calc(100% - 40px)}
.g-breadcrumb__yoast{font-size:12px;line-height:1.6}}

/* First content sections need space below breadcrumbs; home/service heroes have their own offsets. */
.g-main>.section.section--mt-null:not(.c-hero):not(.c-thank-you){padding-top:48px}
@media(max-width:767px){
.g-main>.section.section--mt-null:not(.c-hero):not(.c-thank-you){padding-top:24px}}
.g-main>.c-contacts{padding-bottom:var(--m-section)}

/* Technical management: a compact rhythm, with shared gaps between matching backgrounds. */
.yv-page-technical .yv2-main>.yv2-section:where(:not(.yv2-hero)){padding-block:56px}
.yv-page-technical .yv2-main>.yv2-services{padding-bottom:28px}
.yv-page-technical .yv2-main>.yv2-services+.yv2-cooperation{padding-top:28px}
.yv-page-technical .yv2-page .yv2-cards-intro{gap:12px;margin-bottom:28px}
.yv-page-technical .yv2-main>.yv2-process{padding-bottom:28px}
.yv-page-technical .yv2-main>.c-reviews{padding-top:28px;padding-bottom:40px}
.yv-page-technical .yv2-main>.c-faq{padding-top:40px;padding-bottom:56px}
@media(max-width:767px){
.yv-page-technical .yv2-main>.yv2-section:where(:not(.yv2-hero)){padding-block:32px}
.yv-page-technical .yv2-main>.yv2-services{padding-bottom:16px}
.yv-page-technical .yv2-main>.yv2-services+.yv2-cooperation{padding-top:16px}
.yv-page-technical .yv2-page .yv2-cards-intro{margin-bottom:20px}
.yv-page-technical .yv2-main>.yv2-process{padding-bottom:16px}
.yv-page-technical .yv2-main>.c-reviews{padding-top:16px;padding-bottom:24px}
.yv-page-technical .yv2-main>.c-faq{padding-top:24px;padding-bottom:40px}}
