.home-slider{position:relative;background:none;min-height:620px;overflow:hidden}.slider-track{display:grid}.hero-slide{grid-area:1/1;position:relative;min-height:620px;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s;isolation:isolate}.hero-slide.is-active{opacity:1;visibility:visible;z-index:1}.slide-image,.slide-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.slide-image{object-fit:cover;object-position:center}.slide-shade{z-index:-1;background:linear-gradient(90deg,#f6efdff2 0%,#f6efdfb0 35%,#f6efdf18 70%)}.home-slider .hero-content{position:relative;padding-bottom:125px}.slider-controls{position:absolute;bottom:58px;left:0;right:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:20px}.slider-dots,.slider-buttons{display:flex;align-items:center;gap:10px}.slider-dots button{border:0;background:none;padding:12px 0;cursor:pointer;width:28px}.slider-dots span{display:block;height:4px;border-radius:4px;background:#24484945;transition:background .25s}.slider-dots [aria-pressed=true] span{background:var(--studio-coral)}.slider-buttons>button{width:42px;height:42px;border:1px solid #24484944;border-radius:50%;background:#f6efdfe6;color:var(--studio-ink);display:grid;place-items:center;cursor:pointer;transition:background .2s}.slider-buttons>button:hover{background:var(--studio-butter)}.slider-buttons svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.slider-count{font-size:12px;letter-spacing:2px;margin-right:12px}.slider-count b{font-weight:500}.hero-slide h1{max-width:550px}.home-slider:focus{outline-offset:-4px}
@media(max-width:760px){.home-slider,.hero-slide{min-height:620px}.slide-image{object-position:65% center}.slide-shade{background:linear-gradient(90deg,#f6efdfe8,#f6efdf80 80%)}.home-slider .hero-content{padding-top:65px;padding-bottom:135px}.slider-controls{bottom:60px}.slider-buttons{gap:6px}.slider-buttons>button{width:36px;height:36px}.slider-count{display:none}.slider-dots{gap:6px}.slider-dots button{width:18px}}
@media(prefers-reduced-motion:reduce){.hero-slide,.slider-dots span,.slider-buttons>button{transition:none}}
.slide-image{object-position:right center}@media(max-width:760px){.home-slider,.hero-slide{min-height:740px}.home-slider .hero-content{padding-top:40px;padding-bottom:370px}.home-slider .hero-content :is(h1,h2){font-size:clamp(32px,9vw,42px);max-width:100%;margin:18px 0}.home-slider .hero-content p{max-width:100%;font-size:17px;margin:0 0 20px}.home-slider .actions{flex-direction:row;flex-wrap:wrap;gap:10px}.home-slider .button{padding:12px 16px;font-size:12px}.slide-image{object-position:center center}.slide-shade{background:linear-gradient(180deg,#f6efdfe0 0%,#f6efdf66 45%,#f6efdf00 68%)}.slider-controls{bottom:62px}.hero-note{font-size:9px}}
@media(min-width:761px){.slide-image{object-position:right 20%}}
.slide-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right 20%;z-index:-2;opacity:0;transition:opacity .3s}.slide-video.is-playing{opacity:1}.single-video-pause{position:absolute;right:32px;bottom:60px;z-index:3;border:1px solid var(--studio-line);border-radius:50%;width:42px;height:42px;background:var(--studio-cream);color:var(--studio-ink)}@media(max-width:760px){.slide-video[data-mobile-poster]{display:none}.slide-video{object-position:center}}@media(prefers-reduced-motion:reduce){.slide-video{display:none}}
.slide-shade.custom-shade{background:none}.shade-dark .hero-content{color:#fffaf0}.shade-dark .button.outline{color:#fffaf0;border-color:#fffaf0}

@media(min-width:2000px){.mascot-slide .slide-image{object-fit:contain;object-position:right bottom;background:#f6efdf}.mascot-slide.is-active .slide-image{animation:none}}

@media(min-width:2000px){.mascot-slide .slide-image{-webkit-mask-image:linear-gradient(90deg,transparent calc(100% - 1850px),#000 calc(100% - 1550px));mask-image:linear-gradient(90deg,transparent calc(100% - 1850px),#000 calc(100% - 1550px))}}


/* Плавная засветка всего кадра, без панели вокруг текста. */
@media(max-width:1100px){
 .home-slider .hero-content{isolation:auto;z-index:1}
 .home-slider .hero-content:before{content:none}
 .home-slider .hero-slide:after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none}
 .home-slider .shade-dark .hero-content{color:#244849}
 .home-slider .hero-content .button.outline{background:#fff8e8e8;color:#244849;border-color:#244849}
}
@media(min-width:761px) and (max-width:1100px){
 .home-slider .hero-content{padding-top:58px;padding-bottom:125px}
 .home-slider .hero-slide:after{background:linear-gradient(90deg,#f6efdffa 0%,#f6efdff0 29%,#f6efdfc2 49%,#f6efdf50 72%,#f6efdf00 100%)}
 .home-slider .hero-content :is(h1,h2){font-size:clamp(38px,5.2vw,54px);max-width:490px}
 .home-slider .hero-content p{max-width:420px;font-size:19px}
 .home-slider .slider-controls{padding:0;border-radius:0;background:transparent}
}
@media(max-width:760px){
 .home-slider .hero-slide:after{background:linear-gradient(180deg,#f6efdffa 0%,#f6efdff0 33%,#f6efdfa8 49%,#f6efdf24 65%,#f6efdf00 78%)}
}
.home-slider .slide-title{font-weight:700;letter-spacing:-1.8px;line-height:1.1}
