/* Homepage follows the approved About / service composition. */
.home-format #kalkulyator.home-service-hero{height:auto!important;min-height:calc(100svh - 69px);grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important;gap:30px!important}
home-hero-art{display:block;min-width:0;width:100%;align-self:center;position:relative;isolation:isolate}
.home-plan-section{position:relative;isolation:isolate;overflow:hidden;background:var(--color-bg);padding:64px 24px}
.home-plan-grid{position:relative;z-index:1;max-width:1200px;margin:auto;display:grid;grid-template-columns:minmax(0,460px) minmax(0,1fr);gap:90px;align-items:center}
.home-plan-copy{grid-column:2;grid-row:1}.home-plan-grid>.home-task-picker{grid-column:1;grid-row:1}
.home-plan-section::before{content:'';position:absolute;left:calc(50% - 654px);top:9%;width:500px;height:82%;border-radius:90px 160px 100px 160px;transform:rotate(-11deg);background:linear-gradient(145deg,#a4c7ff,#5287ed 18%,#3264d7 46%,#5356c6 74%,#8f9ee9);box-shadow:inset 2px 3px 3px #ffffff80,inset -12px -14px 32px #273a9e55,0 24px 42px #385ec126;pointer-events:none}
.home-plan-copy h2,.home-format :is(#preimushchestva,#tarify,#kviz,#etapy,#kompetencii,#otzyvy,#kontakty,#outsource-cta) h2{font-size:clamp(36px,4.5vw,62px)!important;line-height:1.075!important;letter-spacing:-.055em!important;margin-bottom:32px!important}
.home-plan-copy h2{color:var(--color-text);font-weight:600}.home-plan-copy h2>span{background:linear-gradient(110deg,#3463d6,#7251c8);background-clip:text;-webkit-text-fill-color:transparent}
.home-plan-copy>p{font-size:17px;line-height:1.65;color:#697588;max-width:440px;margin:0 0 28px}
#home-plan .home-task-picker{background:#fff!important;color:#202838!important;border:1px solid #e3e8f1;box-shadow:0 24px 64px #263b7730;padding:26px;--color-text:#202838;--color-surface:#fff;--color-bg:#f4f6fa}
#home-plan .home-task-picker h2{font-size:25px!important;color:#202838!important}
#home-plan .home-task-option{background:#f8faff;color:#202838;border-color:#dce4f0;font-size:14px;min-height:76px}
#home-plan .home-task-option[aria-pressed=true]{background:#edf2ff;border-color:#6489df}
#home-plan .home-task-footer,#home-plan .home-task-eyebrow{color:#667085}
#home-plan .home-task-footer a{color:#4059a6}
.home-format #stats-showcase .stats-heading h2{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important}
html[data-theme=dark] .home-plan-copy>p{color:#b5c2d5}
html[data-theme=dark] .home-plan-copy h2>span{background-image:linear-gradient(110deg,#93b2ff,#c49aff)}
html[data-theme=dark] .home-format #kalkulyator .home-headline-gradient{background-image:linear-gradient(110deg,#9ab8ff,#c5a0ff,#edafe0,#b4b0ff,#9ab8ff)!important}
html[data-theme=dark] .home-format :is(#kviz,#tarify,#etapy,#kompetencii,#otzyvy,#kontakty) h2{background-image:linear-gradient(110deg,#9ab8ff,#c5a0ff,#edafe0)!important}
@media(max-width:999px){.home-format #kalkulyator.home-service-hero{grid-template-columns:1fr!important}home-hero-art{display:none}.home-plan-grid{grid-template-columns:minmax(0,460px) minmax(0,1fr);gap:36px}}
@media(max-width:700px){
 .home-format #kalkulyator.home-service-hero{min-height:calc(100svh - 68px);padding:36px 20px!important;gap:0!important}.home-format #kalkulyator .hero-ambient{display:none}
 .home-plan-section{padding:44px 20px}.home-plan-grid{grid-template-columns:minmax(0,1fr);gap:32px}.home-plan-copy{grid-column:1;grid-row:1}.home-plan-grid>.home-task-picker{grid-column:1;grid-row:2;max-width:460px;justify-self:center}
 .home-plan-section::before{left:0;top:30%;width:90%;height:65%;border-radius:65px;transform:rotate(-8deg)}
 .home-plan-copy h2,.home-format :is(#preimushchestva,#tarify,#kviz,#etapy,#kompetencii,#otzyvy,#kontakty,#outsource-cta) h2{font-size:35px!important;margin-bottom:26px!important}
 #home-plan .home-task-picker{padding:20px}.home-plan-copy>p{font-size:15px}
}
.home-format{overflow-x:clip}
html:has(>body.home-format){overflow-x:clip}

/* Native scroll reveal: the next screen rides over a pinned hero without JS. */
.home-slide-pair{position:relative;isolation:isolate}
.home-format #kalkulyator.home-service-hero{position:sticky!important;top:68px;z-index:1;transition:top 220ms ease;background:transparent!important}
.home-format:has(site-nav-v2[data-compact]) #kalkulyator.home-service-hero{top:52px}
.home-format #home-plan{position:relative;z-index:2;background:var(--color-bg,#fff);box-shadow:none}
/* Anchor navigation: compensate the section's 64px inner padding so its
   content, rather than the empty padding area, lands below the 52px nav. */
.home-format #home-plan{scroll-margin-top:-12px}
@media(max-width:700px){.home-format #home-plan{scroll-margin-top:8px}}
