/* Focused mobile layout fixes for the homepage and editorial pages. */
.site-navigation__cta,.catalog-filter-tab,.catalog-filter-backdrop,.catalog-sidebar__heading button,.mobile-scroll-progress{display:none}

@media(max-width:800px){
  .site-header .site-navigation{display:flex;max-height:calc(100svh - 108px);flex-direction:column}
  .site-header .site-navigation .primary-menu{overflow-y:auto;flex:1 1 auto}
  .site-navigation__cta{display:flex;min-height:48px;align-items:center;justify-content:space-between;margin-top:12px;padding:0 18px;border-radius:999px;color:#fff;background:#c8142b;font-weight:800}
  .site-navigation__cta span{font-size:22px;font-weight:400}
  .home-hero,.home-hero__content{min-height:max(640px,88svh)}
  .home-hero__content{justify-content:flex-start;padding-top:clamp(130px,18vh,180px);padding-bottom:120px}
  .home-hero__image img{object-position:center bottom}
  .home-news__viewport{position:relative;display:block}
  .home-news__slide,.home-news__slide:not(.is-active){position:absolute;inset:0;display:flex;height:auto;min-height:0;padding:0;flex-direction:column;gap:0}
  .home-news__slide.is-active{position:relative}
  .home-news__slide.is-leaving-left,.home-news__slide.is-leaving-right{position:absolute}
  .home-news__media{width:100%;height:clamp(225px,55vw,350px);min-height:0;flex:0 0 auto}
  .home-news__media img{width:100%;height:100%;object-fit:cover;object-position:center}
  .home-news__copy,.home-news__slide--lamis .home-news__copy{width:100%;height:auto;padding:24px 22px 30px;justify-content:flex-start}
  .home-news__slide--lamis .home-news__copy{gap:0}
  .home-news__slide--lamis .home-news__new{margin-bottom:15px}
  .home-news__slide--lamis .home-news__copy>.button{margin-top:22px}
  .benefits-accordion{scroll-snap-type:none;scroll-behavior:auto}
  .benefits-accordion__item{scroll-snap-align:start}
  .benefits-section__controls button{display:flex;align-items:center;justify-content:center;padding:0;font-family:Arial,sans-serif;font-size:22px;line-height:1}
  .catalog-promo--editorial .catalog-promo__visual{height:clamp(280px,75vw,350px);min-height:0;aspect-ratio:auto;overflow:hidden}
  .catalog-promo__book{width:min(56%,230px)}
  .catalog-promo--editorial .catalog-promo__copy{padding:30px 24px 36px}
  .business-section--journey .section-head h2{font-size:clamp(32px,7.5vw,39px);line-height:1.05}
  .business-section--journey .section-head h2 br{display:none}
  .business-section--journey .business-grid{margin-inline:0;padding:0 9px;scroll-padding-inline:9px;scrollbar-width:none}
  .business-section--journey .business-grid::-webkit-scrollbar{display:none}
  .business-section--journey .business-card,.business-section--journey .business-card--training{width:100%;min-width:100%;scroll-snap-align:center}
  .mobile-scroll-progress{display:block;height:5px;margin-top:16px;overflow:hidden;border-radius:999px;background:#eadfe0}
  .mobile-scroll-progress span{display:block;height:100%;border-radius:inherit;background:#c8142b;transition:transform .15s linear}
  .video-feed__track{scrollbar-width:none}
  .video-feed__item{min-width:0;flex:0 0 100%;scroll-snap-align:center}
  .home-clients__grid{scrollbar-width:none}
  .home-clients__card{flex:0 0 100%;scroll-snap-align:center}
  .home-clients__intro{gap:16px}
  .home-clients__aside{gap:14px}
  .home-reviews--compact .home-reviews__slider .home-review{height:auto;min-height:0;padding-bottom:24px}
  .home-reviews--compact .home-reviews__slider{align-items:stretch}
}

@media(max-width:700px){
  .about-hero--company .about-hero__facts{right:auto;left:50%;width:calc(100% - 16px);transform:translateX(-50%)}
  .about-hero--company .about-hero__facts span{padding:13px 10px;font-size:9px}
  .about-hero--company .about-hero__facts b{font-size:clamp(14px,4vw,17px);white-space:nowrap}
  .about-fields h2{font-size:clamp(30px,7.5vw,37px);line-height:1.12;text-wrap:pretty}
  .about-fields__visual{height:400px;overflow:hidden}
  .about-fields__visual img{max-width:94%;height:88%}
  .page-slug-catalog .site-breadcrumbs{top:102px;width:calc(100% - 36px)}
  .catalog-main{padding-top:160px}
  .catalog-main .catalog-sidebar{position:fixed;z-index:1002;top:0;bottom:0;left:0;width:min(340px,88vw);margin:0;padding:24px 20px;background:#fff;box-shadow:20px 0 50px rgba(0,0,0,.16);overflow-y:auto;transform:translateX(-110%);transition:transform .25s ease}
  .catalog-filters-open .catalog-main .catalog-sidebar{transform:none}
  .catalog-sidebar__inner{height:auto}
  .catalog-sidebar__heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .catalog-sidebar__heading button{display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:50%;background:#f6ecee;font-size:25px;cursor:pointer}
  .catalog-sidebar__filters{display:block;margin:0;padding:0;overflow:visible}
  .catalog-sidebar__filters a{display:flex;width:100%;min-height:52px;margin:0;padding:10px 2px;border:0;border-bottom:1px solid #ece5e3;border-radius:0;white-space:normal}
  .catalog-sidebar__filters a>span:first-child{white-space:normal}
  .catalog-filter-tab{position:fixed;z-index:1000;top:45%;left:0;display:flex;align-items:center;gap:7px;padding:13px 9px;border:0;border-radius:0 12px 12px 0;color:#fff;background:#c8142b;box-shadow:3px 5px 18px rgba(0,0,0,.2);font-size:12px;font-weight:800;writing-mode:vertical-rl;cursor:pointer}
  .catalog-filter-tab span{font-size:20px}
  .catalog-filter-backdrop{position:fixed;z-index:1001;inset:0;width:100%;height:100%;border:0;background:rgba(21,16,17,.5)}
  .catalog-filters-open .catalog-filter-backdrop{display:block}
  .catalog-results__bar{align-items:flex-start;flex-direction:column;gap:7px;margin-bottom:26px;padding-bottom:17px}
  .catalog-results__bar h1{margin:0;font-size:clamp(38px,10vw,48px)}
  .catalog-results__bar p{margin:0;white-space:normal}
  body.page-slug-payment .payment-hero{align-items:center}
  body.page-slug-payment .payment-hero__copy{padding-top:145px;padding-bottom:80px}
  body.page-slug-training .training-hero{align-items:center}
  body.page-slug-training .training-hero__content{align-self:center;padding-top:130px;padding-bottom:80px}
  body.page-slug-training .training-format-grid{--training-slide-width:100%;gap:0}
  body.page-slug-training .training-format-grid article{scroll-snap-align:start}
  body.page-slug-service .care-hero.care-hero--immersive.care-hero--devices{min-height:100svh!important}
  body.page-slug-service .care-hero--devices .care-hero__content{min-height:100svh;justify-content:center;padding-top:140px;padding-bottom:85px}
  body.page-slug-delivery .delivery-hero__content{padding-top:clamp(205px,28vh,275px);padding-left:36px;padding-right:22px}
  body.blog .editorial-hero--blog,body.blog .editorial-hero--blog .editorial-hero__content{min-height:100svh}
  body.blog .editorial-hero--blog .editorial-hero__content{justify-content:center;padding-top:125px;padding-bottom:70px}
  body.blog .journal-feed__bar{padding-bottom:22px;margin-bottom:24px}
  body.blog .journal-feed__bar h2{font-family:var(--display);font-size:clamp(36px,9vw,46px);font-weight:700;line-height:1.06;letter-spacing:-.05em}
  body.page-slug-contacts .editorial-hero--contacts,body.page-slug-contacts .editorial-hero--contacts .editorial-hero__content{min-height:100svh}
  body.page-slug-contacts .editorial-hero--contacts{background:#211d1d}
  body.page-slug-contacts .editorial-hero--contacts>img{inset:0;width:100%;height:100%;object-position:65% center}
  body.page-slug-contacts .editorial-hero--contacts .editorial-hero__shade{display:block;background:linear-gradient(90deg,rgba(24,17,18,.76),rgba(24,17,18,.33) 70%),linear-gradient(0deg,rgba(24,17,18,.38),transparent 70%)}
  body.page-slug-contacts .editorial-hero--contacts .editorial-hero__content{width:calc(100% - 36px);margin:0 auto;padding:140px 0 80px;justify-content:center;background:transparent}
  body.page-slug-contacts .editorial-hero--contacts h1,body.page-slug-contacts .editorial-hero--contacts p,body.page-slug-contacts .editorial-hero--contacts .kicker{color:#fff}
  body.page-slug-contacts .contact-simple-form{display:flex;flex-direction:column}
  body.page-slug-contacts .contact-simple-form__media{order:0;height:225px;min-height:225px}
  body.page-slug-contacts .contact-simple-form__copy{order:1;padding:28px 22px 36px}
  body.page-slug-contacts .contact-simple-form__copy h2{font-size:clamp(30px,8vw,38px);line-height:1.06}
  .unified-cta.lead-panel{display:flex;flex-direction:column}
  body:is(.page-slug-catalog,.page-slug-delivery,.page-slug-service,.page-slug-about,.page-slug-training) .unified-cta.lead-panel>.unified-cta__media,.payment-consultation .unified-cta.lead-panel>.unified-cta__media{display:grid;order:-1;height:225px;min-height:225px;padding:12px}
  .unified-cta.lead-panel>.unified-cta__media img,body.page-slug-training .unified-cta.lead-panel>.unified-cta__media img{position:relative;inset:auto;width:100%;height:100%;max-height:100%;object-fit:contain;transform:none}
  .review-contact{display:flex;flex-direction:column}
  .review-contact__media{display:block;order:-1;height:225px;min-height:225px}
  .review-contact__media img{object-fit:cover;object-position:center 48%}
}

@media(max-width:520px){
  .home-hero,.home-hero__content{min-height:max(610px,87svh)}
  .home-hero__content{padding-top:clamp(125px,17vh,165px);padding-bottom:95px}
  .home-news__slide--lamis .home-news__copy h2{font-size:clamp(30px,8vw,35px)}
  .home-news__slide--lamis .home-news__nomination-name{white-space:normal}
  .catalog-promo--editorial .catalog-promo__copy h2{font-size:clamp(30px,8vw,37px)}
  .home-clients__aside{align-items:flex-start}
  .home-reviews--compact .home-reviews__slider .home-review{flex-basis:calc(100% - 12px)}
}
