/* Scoped to the homepage's existing construction section. */
.node-id-1 .paragraph--type--hod-stroitelstva.construction-story {
  --story-top: var(--screen-header, 70px); --story-view: calc(100svh - var(--story-top));
  display:block;position:relative;isolation:isolate;overflow:visible!important;
  width:100%;max-width:none;min-height:0;height:auto!important;padding:0!important;margin:0;
  background:#000;color:#fff;scroll-snap-align:none!important;
}
.node-id-1 .construction-story::before,.node-id-1 .construction-story::after{content:none!important;}
.node-id-1 .construction-story .construction-stage{
  position:sticky;top:var(--story-top);height:var(--story-view);min-height:420px;
  display:flex;flex-direction:column;justify-content:space-between;overflow:clip;
  padding:clamp(24px,4vh,48px) 0 86px;box-sizing:border-box;background:#000;
  margin-bottom:0;
}
.node-id-1 .construction-story .construction-heading {padding:0 clamp(20px,5vw,90px);}
.node-id-1 .construction-story .construction-heading h2 {
  position:static!important;width:auto;max-width:none;font-size:clamp(28px,3.2vw,52px);line-height:1.1;
  margin:0!important;padding:0!important;color:#fff;text-align:left;text-shadow:none;font-weight:400;
}
.node-id-1 .construction-story .construction-heading h2::before,.node-id-1 .construction-story .construction-heading h2::after{content:none;}
.node-id-1 .construction-story .construction-viewport {width:100%;overflow:clip;padding:18px 0 30px;}
.node-id-1 .construction-story .construction-track {display:flex;align-items:center;gap:4vw;padding-left:14vw;will-change:transform;}
.node-id-1 .construction-story .construction-slide {flex:0 0 72vw;min-width:0;position:relative;}
.node-id-1 .construction-story .construction-card {position:relative;height:auto;min-height:0;margin:0;padding:0;filter:none!important;transform-origin:center;transition:none;}
.node-id-1 .construction-story .construction-card::after{content:none!important;}
.node-id-1 .construction-story .field--name-field-hod-stroitelstva {height:auto;}
.node-id-1 .construction-story .field--name-field-hod-stroitelstva a {
  display:block;position:relative;width:100%;height:clamp(220px,49svh,680px)!important;overflow:hidden;
  border-radius:18px;border:1px solid #ffffff24;box-shadow:none;background:#151515;
}
.node-id-1 .construction-story .field--name-field-hod-stroitelstva img {display:block;width:100%;height:100%;object-fit:cover;will-change:transform;}
.node-id-1 .construction-story .field--name-field-hod-stroitelstva a::before,.node-id-1 .construction-story .field--name-field-hod-stroitelstva a::after {content:none!important;}
.node-id-1 .construction-story .construction-card>.field--name-field-zagolovok {position:static;inset:auto;margin:18px 0 0;padding:0;font-size:clamp(20px,2vw,30px);font-weight:400;line-height:1.2;color:#fff;}
.node-id-1 .construction-story .construction-nav {display:flex;align-items:center;gap:24px;margin:0 clamp(20px,5vw,90px);height:48px;}
.node-id-1 .construction-story .construction-count {font-size:14px;letter-spacing:.12em;white-space:nowrap;color:#ccc;font-variant-numeric:tabular-nums;}
.node-id-1 .construction-story .construction-progress {flex:1;height:1px;background:#ffffff30;}
.node-id-1 .construction-story .construction-progress i {display:block;height:100%;background:#fff;transform-origin:left;}
.node-id-1 .construction-story .construction-arrows {display:flex;gap:10px;}
.node-id-1 .construction-story .construction-arrows button {display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #ffffff50;border-radius:50%;background:transparent;color:#fff;font-size:23px;cursor:pointer;}
.node-id-1 .construction-story .construction-arrows button:disabled {opacity:.25;cursor:default;}
.node-id-1 .construction-story .construction-finish {display:flex;align-items:center;justify-content:center;min-height:40svh;}
.node-id-1 .construction-story .construction-all {display:flex;align-items:center;gap:clamp(20px,4vw,70px);border:0;border-bottom:1px solid #ffffff65;border-radius:0;background:none;color:#fff;font-size:clamp(28px,4vw,64px);line-height:1.3;font-weight:400;padding:20px 0;cursor:pointer;}
.node-id-1 .construction-story .construction-all span {font-size:1.1em;transition:transform .3s;}
.node-id-1 .construction-story .construction-all:hover span {transform:translate(5px,-5px);}
.node-id-1 .construction-story :is(button,a):focus-visible {outline:2px solid #e62379;outline-offset:5px;}
.node-id-1 .construction-story .construction-archive {position:relative;z-index:2;background:#000;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 28px;padding:60px clamp(20px,5vw,90px) 90px;scroll-margin-top:var(--story-top);}
.node-id-1 .construction-story .construction-archive[hidden] {display:none;}
.node-id-1 .construction-story .construction-archive a {height:auto!important;aspect-ratio:4/3;}
.node-id-1 .construction-story .construction-archive img {transform:none!important;}
@media(max-width:767px){
 .node-id-1 .construction-story .construction-stage{padding:24px 0 80px;}
 .node-id-1 .construction-story .construction-track{padding-left:8vw;gap:5vw;}
 .node-id-1 .construction-story .construction-slide{flex-basis:84vw;}
 .node-id-1 .construction-story .field--name-field-hod-stroitelstva a{height:clamp(210px,44svh,480px)!important;}
 .node-id-1 .construction-story .construction-archive{grid-template-columns:1fr;gap:32px;}
 .node-id-1 .construction-story .construction-archive a{height:auto!important;}
 .node-id-1 .construction-story .construction-nav{gap:14px;}
}
@media(prefers-reduced-motion:reduce){.node-id-1 .construction-story *{scroll-behavior:auto!important;transition:none!important;will-change:auto!important;}}

.node-id-1 .construction-story .construction-runway{height:160svh;pointer-events:none;}

/* Shared site slider controls: pink progress and solid white circular arrows. */
.node-id-1 .construction-story .construction-count{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.node-id-1 .construction-story .construction-nav{gap:36px;margin-inline:var(--space);height:50px}
.node-id-1 .construction-story .construction-progress{height:2px;background:#ffffff26}
.node-id-1 .construction-story .construction-progress i{background:#e62379}
.node-id-1 .construction-story .construction-arrows{gap:12px}
.node-id-1 .construction-story .construction-arrows .swiper-button{position:static;display:flex;align-items:center;justify-content:center;inset:auto;margin:0;width:50px;height:50px;min-width:50px;padding:0;border:1px solid #fff;border-radius:50%;background:#fff;color:#000;box-shadow:none}
.node-id-1 .construction-story .construction-arrows .swiper-button:after{font-size:16px;color:#000}
.node-id-1 .construction-story .construction-arrows .swiper-button:before{content:none}
.node-id-1 .construction-story .swiper-button-prev{order:0}
.node-id-1 .construction-story .swiper-button-next{order:1}
@media(hover:hover){.node-id-1 .construction-story .swiper-button:not(:disabled):hover{background:#e62379;border-color:#e62379}}
@media(max-width:767px){
 .node-id-1 .construction-story .construction-nav{margin-inline:16px;gap:24px;height:44px}
 .node-id-1 .construction-story .construction-arrows .swiper-button{width:44px;height:44px;min-width:44px}
}
/* Keep projects and their navigation together in the viewport. */
@media(min-width:961px) and (min-height:650px){
 .node-id-1 .company-showcase{box-sizing:border-box;height:calc(100svh - var(--screen-header,66px));padding-block:24px;display:flex;flex-direction:column;min-height:0}
 .node-id-1 .company-showcase .company-heading{flex:none;margin-bottom:20px}
 .node-id-1 .company-showcase .company-slider{flex:1;min-height:0;width:100%;display:flex;flex-direction:column}
 .node-id-1 .company-showcase .swiper-wrapper{height:0;flex:1;min-height:0}
 .node-id-1 .company-showcase .swiper-slide,.node-id-1 .company-showcase .company-card{height:100%;min-height:0}
 .node-id-1 .company-showcase .company-nav{flex:none}
}
@media(min-width:768px){.node-id-1 .construction-story .construction-nav{margin-inline:max(90px,var(--space))}}
