/* Home page corrections after the Figma comparison (frame "Главная страница" 15:2407 / "Моб — Главная" 15:6381).
   Internal pages use figma-fixes.css; this file is linked only from index.html. */

/* Header sits 30px from the top like on every other page. */
header{padding-top:30px}

/* Hero (15:2408): kicker 34px chip, 92px title, 658px Medium copy; pager = octagon plate filling left→right, idle numbers 20% white. */
.start-section .toptitle.transparent-white{display:inline-flex;align-items:center;gap:8px;padding:12px;margin:0 0 19px;border-radius:8px;background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font:500 14px/10px Montserrat,sans-serif;letter-spacing:-.02em}
.start-section .toptitle.transparent-white:before{position:static;flex:0 0 10px;width:10px;height:10px;margin:0;transform:none;border-radius:8px 3px 3px 3px;background:#ff5800}
.start-caption{margin:0 0 27px;letter-spacing:-.03em}
.start-section .content-text{max-width:658px;font-weight:500;line-height:1.4;letter-spacing:-.02em}
.start-section .content-text p{margin-bottom:-6px}
.start-slider-nav{border-top:0}
.start-slider-nav .row{gap:4px}
.start-nav{clip-path:polygon(16px 0,32px 0,48px 16px,48px 32px,32px 48px,16px 48px,0 32px,0 16px);border-radius:0}
.start-nav-inner{transform:none;left:0;top:0;width:100%;height:100%}
.start-nav-inner:before{left:0;bottom:auto;top:0;width:0;height:100%;transform:none;background:rgba(255,255,255,.1)}
.start-nav.active{background:rgba(255,255,255,.1)}
.start-nav.active .start-nav-inner:before{animation:start-progress 6s linear forwards}
@keyframes start-progress{from{width:0}to{width:100%}}
.start-nav-number{transform:none;color:rgba(255,255,255,.2);transition:color .2s ease}
.start-nav.active .start-nav-number,.start-nav:hover .start-nav-number{color:#fff}
/* Shared header markup from internal pages: the legacy "Меню" toggler is replaced by site-ui mobile actions. */
header .menu-toggler{display:none!important}
.start-section .toptitle.transparent-white:before{content:"";display:block}
/* "Пресс-релиз" (15:2437): 480px cards 60px under the title, 180px to the blue block; "Производство" (15:2449): 180px top padding, 997px centered title. */
.home-news{padding-bottom:180px}
.home-news .section-heading{margin-bottom:45px}
.home-news .news-item,.home-news .news-item .item-img img{height:480px}
.home-news .news-item .item-img img{object-fit:cover}
.manufacture-section{padding-top:180px}
.manufacture-section .caption{max-width:997px;margin-left:auto;margin-right:auto;font-size:55px;line-height:1.05;letter-spacing:-.03em}
.manufacture-section .section-heading .col-auto{padding-top:0}
.manufacture-section .caption{margin-top:-10px}
.about-section{padding-top:183px}
/* "О компании" (15:2466): 678px copy column, Medium 16/1.4 with 32px cap gaps; factoids start 1028px below the kicker. */
.about-section .content-text{max-width:678px;font-weight:500;letter-spacing:-.02em;line-height:1.4}
.about-section .content-text p{margin-bottom:21px}
.about-numbers{margin-top:20px}
.about-number{height:332px}.about-number:before{height:332px}
/* "Продукты" (15:2738): rotation control under the model, arrows centered at the bottom row. */
.rotation-controls{margin-top:0}
.rotation-slide-bottom .rotation-slide-buttons{position:absolute;left:50%;transform:translateX(-50%)}
.rotation-slide-bottom>.row{position:relative}
.rotation-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin:0 0 24px}
.rotation-controls button{width:32px;height:32px;padding:0;border:0;background:none;cursor:pointer}
.rotation-controls img{display:block;width:32px;height:32px}
.rotation-controls .product-track{display:block;width:111px;height:3px;border-radius:3px;background:#ebecf2}
.rotation-controls .product-track:before{content:"";display:block;width:29px;height:3px;background:#0e2c3d}
.rotation-image{padding-bottom:24px}
.rotation-wrapper{min-height:960px}
/* Footer = shared internal footer (class internal-page on <footer>); 180px above it comes from the products block. The floating #up duplicates the footer button. */
footer.internal-page{padding-top:0}
#up{display:none!important}
/* ===== Phone (Figma "Моб — Главная" 15:6381) ===== */
@media(max-width:575px){
body:not(.internal-page) .row{margin-left:-10px;margin-right:-10px}
body:not(.internal-page) .row>[class*="col"]{padding-left:10px;padding-right:10px}
body:not(.internal-page) .row.no-gutters{margin-left:0;margin-right:0}
body:not(.internal-page) .row.no-gutters>[class*="col"]{padding-left:0;padding-right:0}
}
@media(max-width:575px){
/* hero: 28px kicker, three 2px progress bars instead of numbered octagons */
.start-section .toptitle.transparent-white{padding:10px;gap:6px;margin-bottom:16px;font-size:12px;line-height:8px;border-radius:6px}
.start-section .toptitle.transparent-white:before{flex-basis:8px;width:8px;height:8px}
.start-caption{margin-bottom:16px}
.start-section .content-text p{margin-bottom:0}
.start-slider-nav{padding:0 0 40px;border-top:0}
.start-slider-nav .row{flex-wrap:nowrap;justify-content:stretch!important;gap:4px}
.start-slider-nav .row>.col-auto{flex:1 1 0;max-width:none;padding:0}
.start-section .start-nav{width:100%;height:2px;clip-path:none;background:rgba(255,255,255,.2)!important}
.start-nav-number{display:none}
.start-nav-inner:before{background:#fff}
#startSlider .slick-arrow{display:none!important}
/* section headings */
body:not(.internal-page) .caption{font-size:26px;line-height:1.05;letter-spacing:-.03em}
body:not(.internal-page) .toptitle{padding:10px 10px 10px 24px;font-size:12px;line-height:8px;border-radius:6px;background-position:10px 50%;background-size:8px;margin-bottom:16px}
/* news: swipe row of 260x340 cards, bars, full-width "Смотреть все" */
.home-news{padding-top:60px;padding-bottom:60px}
.home-news .section-heading{margin-bottom:28px}
.home-news .section-heading .row{flex-direction:column;align-items:stretch!important}
.home-news-grid{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;gap:8px;margin:0 -10px 0 0!important;padding-right:10px;scrollbar-width:none}
.home-news-grid::-webkit-scrollbar{display:none}
.home-news-grid>[class*="col"]{flex:0 0 260px;max-width:260px;padding:0!important;scroll-snap-align:start}
.home-news .news-item,.home-news .news-item .item-img img{height:340px}
.home-news .news-intro{padding:20px}
.home-news .news-date{font-size:12px;margin-bottom:12px}
.home-news .news-title{font-size:16px;line-height:1.2;margin-bottom:20px}
.home-news .item-more{height:40px;line-height:40px;font-size:12px;padding:0 32px 0 12px}
/* production */
.manufacture-section{padding-top:60px;padding-bottom:60px}
.manufacture-section .section-heading .row{flex-direction:column}
.manufacture-section .section-heading .col-auto.text-right{display:none}
.manufacture-section .caption{text-align:left!important;margin-top:12px}
.item-slide .manufacture-item{width:260px;height:340px}
/* about */
.about-section{padding-top:60px}
.about-number{height:136px}
.about-number:before{height:136px}
.about-number strong{font-size:48px}
.about-number .content-text{margin-top:12px;font-size:14px}
/* products */
.rotation-wrapper{min-height:0;padding:40px 10px 20px;border-radius:20px}
.rotation-section{padding-bottom:60px}
.rotation-heading{min-height:0}
.rotation-image{padding:20px 0}
}
.home-news-more{display:none}
@media(max-width:575px){
.home-news .section-heading .col-auto{display:none}
.home-news .caption br{display:none}
.home-news-more{display:block;margin-top:24px}
.home-news-more .button{width:100%;height:49px;padding:16px 20px;font-size:14px}
.home-news .scroll-dots{display:flex;justify-content:center;gap:4px;margin-top:20px}
.home-news .scroll-dots i{width:20px;height:3px;border-radius:2px;background:#d8deec}
.home-news .scroll-dots i.is-active{background:#ff5800}
.start-section .fullheight{padding-bottom:60px}
.start-bottom .container{padding-bottom:0}
.manufacture-introtext{display:block!important}
#centeredSlider .slick-list{padding:0!important;overflow:visible}
.manufacture-section .slider-wrapper{overflow:hidden;padding:0 10px}
#centeredSlider .slick-dots{position:static;display:flex!important;justify-content:center;gap:4px;margin:20px 0 0;padding:0;list-style:none}
#centeredSlider .slick-dots li{margin:0}
#centeredSlider .slick-dots button{width:20px;height:3px;padding:0;border:0;border-radius:2px;background:rgba(255,255,255,.2);font-size:0}
#centeredSlider .slick-dots button:after{display:none}
#centeredSlider .slick-dots .slick-active button{background:#ff5800}
}
@media(max-width:575px){
.manufacture-introtext.content-text{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.4}
.manufacture-intro{padding:16px}
.manufacture-title{font-size:14px}
}
/* Phone footer rules from figma-fixes.css, re-scoped to footer.internal-page (home has no body class). */
@media(max-width:575px){
footer.internal-page .footer-inner>.row{display:flex;flex-direction:column;margin:0}
footer.internal-page .footer-left,footer.internal-page .footer-left>.row{display:contents}
footer.internal-page .footer-logo{order:0;margin-bottom:28px;padding:0}
footer.internal-page .footer-logo img{width:126px}
footer.internal-page .footer-right{order:1;margin-top:0;padding:0}
footer.internal-page .footer-left .text-grey{order:2;margin-top:40px;padding:0 60px 0 0}
footer.internal-page .footer-right .content-item:last-child{margin-bottom:0}
footer.internal-page .footer-left .text-grey p{margin-bottom:10px}
footer.internal-page .footer-left .text-grey p:last-child{margin-bottom:0}
footer.internal-page .footer-left .text-grey a{text-decoration:none}
footer.internal-page .footer-right .content-item p.text-grey{margin-bottom:9px}
footer.internal-page .footer-right .content-item p:not(.text-grey)+p{margin-top:3px}
}
@media(max-width:575px){
/* about */
.about-section .caption br{display:none}
.about-person,.about-section .about-image+div .about-person{display:none!important}
.about-section .content-text{font-size:14px;margin-top:16px}
.about-section .content-text p{margin-bottom:10px}
.about-section .button.strange{width:100%;height:49px;margin-top:14px}
.about-numbers{margin-top:20px;padding-top:20px;border-top:1px solid #ebecf2}
.about-number strong{font-size:40px;white-space:nowrap}
.about-number{height:auto;min-height:136px;padding-bottom:24px}
/* products: heading, copy, model, rotation, button */
.rotation-slider-counter{display:none}
.rotation-slide{display:flex!important;flex-direction:column}
.rotation-slide-bottom,.rotation-slide-bottom>.row{display:contents}
.rotation-heading{order:0}
.rotation-slide-left{order:1;width:auto!important;max-width:none;padding:0!important;margin-top:16px;font-size:14px}
.rotation-image{order:2}
.rotation-controls{order:3}
.rotation-slide-buttons{display:none!important}
.rotation-slide-right{order:4;width:auto!important;padding:0!important;margin-top:8px}
.rotation-slide-right .button.strange{width:100%;height:49px}
.rotation-heading .caption{font-size:22px}
}
/* ===== Tablet (576–1199px, no Figma frame): keep desktop rhythm, two-column grids, no touching blocks ===== */
@media(min-width:576px) and (max-width:1199px){
body:not(.internal-page) .caption{font-size:44px;line-height:1.05;letter-spacing:-.03em}
/* hero */
.start-caption{font-size:60px}
.start-section .fullheight{padding:150px 0 130px}
.start-content>.row{flex-direction:column;align-items:stretch!important}
.start-content .col-lg-6,.start-content .col-auto{flex:0 0 auto;max-width:none;width:100%}
.start-section .col-auto{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:40px}
.start-section .button.strange.tall{width:100%;height:110px;margin:0}
/* news: 2 columns, gaps */
.home-news{padding-top:100px;padding-bottom:100px}
.home-news .section-heading .row{align-items:flex-end!important}
.home-news .section-heading .col-lg-6{flex:1 1 0;max-width:none}
.home-news .section-heading .button.strange{width:260px;height:64px}
.home-news-grid{row-gap:16px;margin-left:-8px!important;margin-right:-8px!important}
.home-news-grid>[class*="col"]{flex:0 0 50%;max-width:50%;padding:0 8px!important}
.home-news .news-item,.home-news .news-item .item-img img{height:420px}
/* production */
.manufacture-section{padding-top:100px;padding-bottom:100px}
.manufacture-section .section-heading .row{flex-direction:column;align-items:flex-start}
.manufacture-section .section-heading .col-lg-7{max-width:none;width:100%;flex:0 0 auto}
.manufacture-section .section-heading .col-auto.text-right{position:absolute;top:0;right:15px}
.manufacture-section .section-heading{position:relative}
.manufacture-section .caption{text-align:left!important;margin-top:24px}
/* about: copy under the photo with air, factoids in 3 columns */
.about-section{padding-top:100px}
.about-section .section-heading .row{flex-direction:column}
.about-section .section-heading .col,.about-section .section-heading [class*="col-"]{max-width:none;flex:0 0 auto}
.about-section .caption{margin-top:20px}
.about-image{margin-bottom:40px}
.about-section .about-text .content-text{font-size:16px}
.about-section .about-text .button.strange{width:300px;height:80px}
.about-numbers{margin-top:60px}
.about-numbers .row>[class*="col"]{flex:0 0 33.333%;max-width:33.333%}
.about-number{height:220px}.about-number:before{height:220px}
.about-number strong{font-size:44px;white-space:nowrap}
.about-number .content-text{font-size:14px;margin-top:12px}
/* products */
.rotation-section{padding-bottom:100px}
.rotation-wrapper{min-height:0;padding:40px}
.rotation-heading{min-height:0;padding-right:120px}
.rotation-slide-left.col-auto,.rotation-slide-right.col-auto{width:auto;flex:1 1 0}
.rotation-slide-bottom>.row{flex-wrap:nowrap;gap:20px;margin-top:24px}
.rotation-slide-right .button.strange{width:100%;max-width:300px;margin-left:auto}
.rotation-slide-buttons{order:3}
}
@media(min-width:576px) and (max-width:767px){
.start-caption{font-size:48px}
.about-numbers .row>[class*="col"]{flex:0 0 100%;max-width:100%}
.about-number{height:auto;min-height:140px;padding-bottom:20px}.about-number:before{height:100%}
}
@media(min-width:576px) and (max-width:1199px){
.home-news .caption br{display:none}
.home-news .section-heading .row{flex-direction:column;align-items:flex-start!important;gap:24px}
.manufacture-section .small-slider-counter{width:80px}
.manufacture-section .small-slider-counter .row{flex-wrap:nowrap}
.about-number strong{font-size:36px}
}
@media(min-width:576px) and (max-width:1199px){
.home-news .section-heading .col-lg-6,.home-news .section-heading .col-auto{flex:0 0 auto;width:100%}
.start-section .button.strange.tall{height:110px!important}
.manufacture-section .small-slider-counter .col-6{flex:0 0 50%;max-width:50%}
}
