/* GOSHAWK / Service index v0.5. Only typographic emphasis on hover.
   The main "Что мы делаем" drawer is retained, nested service sheets removed. */
:root{--gh-coral:#E6532E;--gh-ink:#151514}
.h-panel.has-service-drawer{position:relative}
.gh-service-trigger{
 appearance:none;position:absolute;z-index:12;
 left:clamp(24px,4.1vw,86px);right:clamp(24px,4.1vw,86px);
 bottom:clamp(21px,3.3vw,49px);width:auto;min-height:120px;
 display:flex;align-items:center;justify-content:space-between;gap:26px;
 padding:26px 7px 22px;border:0;border-top:1px solid currentColor;
 background:transparent;color:inherit;text-align:left;cursor:pointer;
 font:500 clamp(23px,2.55vw,34px)/1.12 'Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:-.05em;
}
.gh-service-trigger:before{content:"";position:absolute;left:0;top:-2px;width:clamp(50px,6vw,95px);height:2px;background:var(--gh-coral)}
.gh-service-trigger:after{content:"";position:absolute;left:0;top:-2px;height:2px;width:0;background:var(--gh-coral);transition:width .5s cubic-bezier(.22,.75,.25,1)}
.gh-service-trigger:hover:after,.gh-service-trigger:focus-visible:after{width:100%}
.gh-trigger-mark{position:relative;display:block;flex:0 0 34px;width:34px;height:34px;transition:transform .48s ease}
.gh-trigger-mark:before,.gh-trigger-mark:after{content:"";position:absolute;top:16px;left:4px;width:26px;height:1.5px;background:currentColor}
.gh-trigger-mark:after{transform:rotate(90deg)}
.gh-service-trigger:hover .gh-trigger-mark{transform:rotate(90deg)}
.h-panel.is-expanded .gh-service-trigger{opacity:0;pointer-events:none}
.gh-service-drawer{
 position:absolute;z-index:22;inset:auto 0 0;display:flex;flex-direction:column;
 height:min(76svh,780px);min-height:0;background:#e8e5dd;color:var(--gh-ink);
 border-top:2px solid var(--gh-coral);box-shadow:0 -18px 42px rgba(0,0,0,.08);
 transform:translateY(102%);opacity:0;visibility:hidden;pointer-events:none;
 transition:transform .65s cubic-bezier(.2,.78,.2,1),opacity .35s,visibility 0s linear .65s;
}
.h-panel.is-expanded .gh-service-drawer{
 transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto;
 transition:transform .65s cubic-bezier(.2,.78,.2,1),opacity .35s,visibility 0s;
}
.architecture-story .gh-service-drawer{background:#242321;color:#f0ece5;box-shadow:0 -18px 45px rgba(0,0,0,.3)}
.gh-drawer-heading{
 flex:0 0 auto;display:flex;justify-content:space-between;align-items:start;gap:24px;
 padding:clamp(22px,3.3vw,46px) clamp(24px,4.1vw,86px) clamp(21px,2.8vw,36px);
}
.gh-drawer-eyebrow{font:400 10px/1.4 'Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;opacity:.62}
.gh-drawer-heading h3{margin:7px 0 0;font:500 clamp(29px,4vw,54px)/1.07 'Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:-.065em}
.gh-drawer-close{
 appearance:none;position:relative;display:grid;place-items:center;flex:0 0 44px;
 width:44px;height:44px;background:transparent;color:inherit;
 border:1px solid currentColor;border-radius:50%;cursor:pointer;
 transition:transform .32s,background .24s,border-color .24s,color .24s;
}
.gh-drawer-close span{font-size:0}
.gh-drawer-close:before,.gh-drawer-close:after{content:"";position:absolute;left:13px;top:21px;width:17px;height:1.2px;background:currentColor;transform:rotate(45deg)}
.gh-drawer-close:after{transform:rotate(-45deg)}
.gh-drawer-close:hover{transform:rotate(90deg);background:var(--gh-coral);border-color:var(--gh-coral);color:#161514}
.gh-drawer-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 clamp(24px,4.1vw,86px) 36px;scrollbar-width:thin}
.gh-service-list{display:block;margin:0;padding:0}
.gh-service-row{
 display:block;position:relative;padding:21px 0 23px;
 border-top:1px solid rgba(123,116,104,.38);min-height:0;
 opacity:0;transform:translateY(16px);
 transition:opacity .46s ease,transform .56s cubic-bezier(.22,.75,.25,1),border-color .3s ease;
}
.h-panel.is-expanded .gh-service-row{opacity:1;transform:translateY(0)}
.h-panel.is-expanded .gh-service-row:nth-child(2){transition-delay:.07s}
.h-panel.is-expanded .gh-service-row:nth-child(3){transition-delay:.14s}
.gh-service-name{
 margin:0 0 9px;font:500 clamp(19px,1.9vw,27px)/1.2 'Helvetica Neue',Helvetica,Arial,sans-serif;
 letter-spacing:-.048em;max-width:100%;transform:scale(1);
 transform-origin:left center;transition:transform .28s cubic-bezier(.2,.76,.3,1);
}
.gh-service-teaser{
 margin:0;font:400 clamp(13px,1.16vw,16px)/1.42 'Helvetica Neue',Helvetica,Arial,sans-serif;
 opacity:.74;max-width:850px;transform:scale(1);transform-origin:left center;
 transition:transform .28s cubic-bezier(.2,.76,.3,1),opacity .28s ease;
}
@media(hover:hover) and (pointer:fine){
 .gh-service-row:hover .gh-service-name{transform:scale(1.035)}
 .gh-service-row:hover .gh-service-teaser{transform:scale(1.018);opacity:.92}
}
.gh-service-trigger:focus-visible,.gh-drawer-close:focus-visible{
 outline:2px solid var(--gh-coral);outline-offset:3px;
}
html.gh-drawer-locked{overscroll-behavior:none}
html.gh-drawer-locked .arch-controls{pointer-events:none}
.tasks-story .h-panel.contracts{background:#f7f6f1;color:#151514}
.tasks-story .h-panel.director{background:#ddd9d0;color:#151514}
.tasks-story .h-panel.corporate{background:#E6532E;color:#151514}

/* Kinetic standalone Process: after the product scenes, not in carousel. */
.gh-process{position:relative;height:190svh;background:#e7e4dd;color:#171715;--gh-process-progress:0}
.gh-process-sticky{height:100svh;position:sticky;top:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);gap:clamp(30px,6vw,95px);align-items:center;padding:clamp(24px,4.1vw,86px);overflow:hidden}
.gh-process-intro{font:400 11px/1.5 'Helvetica Neue',Helvetica,Arial,sans-serif;text-transform:uppercase;letter-spacing:.055em;opacity:.55}
.gh-process h2{font:500 clamp(45px,6vw,94px)/1 'Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:-.075em;margin:12px 0 40px;max-width:750px}
.gh-process-stages{display:flex;flex-direction:column;gap:0}
.gh-process-stage{display:grid;grid-template-columns:40px 1fr;gap:15px;padding:15px 0;border-top:1px solid #bcb6ae;opacity:.23;transform:translateX(-7px);transition:opacity .38s ease,transform .45s}
.gh-process-stage.is-active{opacity:1;transform:none}
.gh-process-number{font-size:10px;padding-top:5px;color:#E6532E;letter-spacing:.06em}
.gh-process-stage h3{font:500 clamp(18px,2.1vw,29px)/1.12 'Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:-.04em;margin:0 0 5px}
.gh-process-stage p{font:400 clamp(12px,1vw,15px)/1.4 'Helvetica Neue',Helvetica,Arial,sans-serif;margin:0;color:#57534d;max-width:390px}
.gh-process-figure{width:100%;max-width:530px;justify-self:center}
.gh-process-figure svg{display:block;width:100%;height:auto;overflow:visible}
.gh-process-track{stroke:#b2ada4;stroke-width:1.4;fill:none}
.gh-process-progress-path{stroke:#E6532E;stroke-width:2;fill:none;stroke-dasharray:360;stroke-dashoffset:360;transition:stroke-dashoffset .08s linear}
.gh-process-node{fill:#e7e4dd;stroke:#6f6a61;stroke-width:1.5;transition:fill .35s,stroke .35s,r .35s}
.gh-process-node.is-active{fill:#E6532E;stroke:#E6532E}
.gh-process-orbit{stroke:#E6532E;stroke-width:.8;fill:none;opacity:.55;transform-origin:50% 50%;animation:ghOrbit 12s linear infinite}
@keyframes ghOrbit{to{transform:rotate(360deg)}}
.gh-process-mobile{display:none}

@media(max-width:759px){
 .h-panel.has-service-drawer{overflow:hidden}
 .h-panel.has-service-drawer.is-expanded{overflow:visible;height:auto!important;min-height:0!important}
 .h-panel.has-service-drawer>.gh-service-trigger{
  position:relative;inset:auto;width:100%;min-height:102px;flex:0 0 auto;
  font-size:clamp(22px,6vw,27px);padding:23px 0 18px;margin-top:10px;
 }
 .h-panel.is-expanded>.gh-service-trigger{opacity:1;pointer-events:auto}
 .gh-service-drawer{
  position:relative;inset:auto;height:auto;min-height:0;max-height:0;overflow:hidden;
  transform:none;opacity:0;border-top-width:0;box-shadow:none;
  transition:max-height .65s cubic-bezier(.2,.76,.25,1),opacity .35s,visibility 0s .65s;
 }
 .h-panel.is-expanded .gh-service-drawer{
  max-height:1300px;opacity:1;visibility:visible;border-top-width:2px;
  transition:max-height .65s cubic-bezier(.2,.76,.25,1),opacity .35s .08s,visibility 0s;
 }
 .gh-drawer-heading{padding:23px 19px 21px}
 .gh-drawer-heading h3{font-size:clamp(27px,7vw,38px)}
 .gh-drawer-close{width:39px;height:39px;flex-basis:39px}
 .gh-drawer-close:before,.gh-drawer-close:after{left:11px;top:19px}
 .gh-drawer-body{display:block;overflow:visible;padding:0 19px 22px}
 .gh-service-row{padding:17px 0 20px}
 .gh-service-name{font-size:clamp(19px,5.2vw,23px)}
 .gh-service-teaser{font-size:14px;line-height:1.46;max-width:none}
 .gh-process{height:auto;min-height:0}
 .gh-process-sticky{position:relative;height:auto;display:block;padding:65px clamp(20px,5.6vw,28px) 76px;overflow:visible}
 .gh-process h2{font-size:clamp(39px,11.2vw,58px);margin:15px 0 38px}
 .gh-process-stages{gap:0}
 .gh-process-stage{min-height:130px;grid-template-columns:33px 1fr;transform:translateY(15px);opacity:.57;padding-left:16px}
 .gh-process-stage.is-active{transform:none;opacity:1}
 .gh-process-figure{display:none}
 .gh-process-mobile{display:block;position:absolute;left:clamp(20px,5.6vw,28px);top:185px;bottom:70px;width:1px;background:#c3bcb2}
 .gh-process-mobile:before{content:"";display:block;background:#E6532E;width:2px;height:var(--gh-process-percent,0%);transition:height .12s}
}
@media(prefers-reduced-motion:reduce){
 .gh-service-drawer,.gh-service-row,.gh-service-name,.gh-service-teaser,.gh-process-stage,
 .gh-process-progress-path,.gh-trigger-mark,.gh-service-trigger:after{animation:none!important;transition:none!important}
 .gh-service-row{opacity:1;transform:none}
 .gh-process-stage{opacity:1;transform:none}
 .gh-process-orbit{animation:none!important}
}
