/* Remaining approved register requirements, 21 October 2026. */
body :is(h1,h2,h3,h4,.section__title,.modal__title){overflow-wrap:anywhere;word-break:normal;line-height:1.2}
body :is(.container,.section__inner,.section__body,.product-detail__info,.complex-equipment-detail__info){min-width:0}
body :is(.form__input,.form__textarea,.input,.form-grid-input,.form-grid-textarea){max-width:100%;font:inherit;border-radius:14px;min-height:48px}
body :is(.btn,.cta-form__btn,.form__submit,.form-grid-button){height:auto;min-height:48px;white-space:normal;line-height:1.35;border-radius:14px;padding-block:14px}
body :is(button,.btn,input[type=submit]):disabled{opacity:.55;cursor:not-allowed}
body :is(button,.btn,a,input,textarea,select):focus-visible{outline:3px solid #2059ed;outline-offset:3px}
body :is(.form__row,.inline-form__fields,.cta-form__header){gap:24px}
body .inline-form{height:auto;max-height:none;overflow:visible}
body .inline-form__inner{padding:clamp(24px,4vw,56px)}
body .inline-form__fields{align-items:start;grid-template-columns:repeat(3,minmax(0,1fr))}
body .inline-form__policy-text{font-size:14px;line-height:1.5}
body .inline-form__policy-text span{font-size:inherit!important}
body .section-cta{margin-block:32px 0}
body .task-callback{gap:clamp(24px,4vw,64px);align-items:start}
body .contacts-cards{align-items:stretch}
body .contacts-card{height:auto;min-width:0}
body .contacts-card__link{overflow-wrap:anywhere}
body .contacts-message{padding-block:56px;background:#f3f6fc;margin-top:32px}
body .contacts-message .form{max-width:760px;margin:24px auto 0}
body .contacts-message .form__textarea{min-height:150px}
body .about-hero{padding-block:clamp(28px,4vw,56px)}
body .about-hero__grid{align-items:start;gap:clamp(24px,4vw,56px)}
body .about-hero__stats{margin-bottom:24px}
body :is(.company-benefits__grid,.service-tasks__grid){gap:24px;align-items:stretch}
body :is(.company-benefits__item,.service-tasks__card){min-width:0;height:auto;border-radius:14px}
body .staff__photo{object-fit:cover;max-width:100%}
body .service-before-after__card{margin:0;min-width:0;overflow:hidden;border-radius:14px}
body .service-before-after__card img{width:100%;height:280px;object-fit:contain;background:#f3f6fc}
body .service-landing__hero{align-items:start;gap:clamp(24px,4vw,56px)}
body .service-landing__hero-image img{max-width:100%;height:auto;object-fit:contain}
body .brand-detail{min-width:0;width:100%}
body .brand-detail__title{margin-bottom:28px}
body .brand-detail__slider{width:100%;max-width:100%;height:430px;margin-top:40px;overflow:hidden}
body .brand-detail__slider-item{height:100%}
body .brand-detail__slider-image{width:100%;height:100%;object-fit:contain}
body .brand-detail__slider-arrow{width:44px;height:44px;background:white;color:#2059ed;border:1px solid #d5ddec}
body .model-range{padding-block:36px}
body .model-range__group{padding-top:28px;border-top:1px solid #d5ddec;margin-top:28px}
body :is(.article-preview,.news-card){height:100%;border-radius:14px;overflow:hidden}
body :is(.article-preview__title,.news-detail h1){overflow-wrap:anywhere}
body :is(.news-detail,.article-detail){max-width:100%}
body :is(.news-detail,.article-detail) img{max-width:100%;height:auto}
body .product-detail__main{align-items:start;gap:clamp(24px,4vw,56px)}
body .product-detail__title{font-size:clamp(26px,3vw,42px);line-height:1.2}
body .product-detail__tabs-nav .container{display:flex;flex-wrap:wrap;gap:8px}
body .product-detail__tab{min-height:48px;padding:12px 18px;white-space:normal}
body .product-detail__props-list{margin:0;max-width:100%;border:1px solid #d5ddec;border-radius:14px;overflow:hidden}
body .product-detail__prop-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;padding:16px 20px;border-bottom:1px solid #d5ddec}
body .product-detail__prop-row:last-child{border-bottom:0}
body .product-detail__prop-row:nth-child(even){background:#f5f7fb}
body .product-detail__prop-value{margin:0;overflow-wrap:anywhere}
body .product-detail__tab-pane{padding-block:32px;line-height:1.6}
body .product-detail__tab-pane table{width:100%;border-collapse:collapse;table-layout:fixed}
body .product-detail__tab-pane :is(td,th){border:1px solid #d5ddec;padding:12px;overflow-wrap:anywhere}
body .catalog-section-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
body .catalog-section-nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 18px;border:1px solid #d5ddec;border-radius:14px;background:white;color:#18233b}
body .catalog-section-nav a:hover{border-color:#2059ed;color:#2059ed}
body .catalog-empty{padding:32px;border:1px solid #d5ddec;border-radius:14px;background:#f5f7fb;width:100%}
body .catalog-empty h2{font-size:24px;margin-bottom:16px}
body .catalog-empty p{margin-bottom:24px}
body .catalog-results{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px}
body .catalog-results__count{font-weight:700}
body .catalog-results__chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;border:1px solid #d5ddec;border-radius:12px;padding:8px 12px}
body .complex-equipment-hero img{max-width:100%;height:auto;object-fit:contain}
body :is(.complex-equipment-card,.complex-equipment-package){min-width:0;height:auto}
body .complex-equipment-package__choices{align-items:stretch}
body .complex-equipment-package__choice{min-width:0;height:auto}
body .complex-equipment-package__choice[aria-selected=true]{background:#f0f4ff}
body .complex-equipment-package__panel{min-width:0}
body .complex-equipment-package__panel[hidden]{display:none!important}
body [class*=complex-equipment] :is(h1,h2,h3){overflow-wrap:anywhere;max-width:100%}
body .complex-equipment-detail__title{font-size:clamp(28px,3.5vw,48px);line-height:1.15}
body [class*=complex-equipment] :is(.btn,button){white-space:normal;max-width:100%}
body :is(.complex-equipment-process,.complex-equipment-faq){margin-top:40px}
body .modal__dialog{border-radius:20px}
body .form__label{display:block;line-height:1.5}
body .form__error{line-height:1.5}
body .form__success{padding:20px;border:1px solid #b7d6c2;background:#eff8f2;color:#174e2d;border-radius:14px}
body .form__error-message{padding:16px;border:1px solid #e2b5b5;background:#fff4f4;color:#852424;border-radius:14px}
body .contacts-main{gap:32px}
@media(max-width:767px){
 body .inline-form__fields{grid-template-columns:minmax(0,1fr)}
 body :is(.form__row,.contacts-cards,.contacts-main,.about-hero__grid,.service-landing__hero,.service-before-after__grid){grid-template-columns:minmax(0,1fr)}
 body .service-before-after__pair{min-width:0;gap:12px}
 body .service-before-after__card img{height:180px}
 body .brand-detail__slider{height:260px}
 body .brand-detail__slider-arrows{gap:12px}
 body .product-detail__prop-row{padding:14px 12px;gap:12px}
 body .contacts-message{padding-block:32px}
 body .cta-form__header--inline{display:flex;flex-direction:column;align-items:stretch}
 body .cta-form__title--narrow{max-width:none}
 body .section__title{font-size:clamp(26px,6vw,38px)}
 body .about-hero__director{flex-wrap:wrap}
 body .catalog-section-nav a{width:100%}
}
@media(prefers-reduced-motion:reduce){body *,body *::before,body *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

body .complex-equipment-detail__summary h1{font-size:clamp(28px,3.5vw,48px);line-height:1.16;overflow-wrap:anywhere;word-break:normal}
body .complex-equipment-detail__summary{min-width:0;align-self:start}
body .complex-equipment-detail__price strong{white-space:normal;overflow-wrap:anywhere}
body .complex-equipment-detail__item-info{min-width:0}
body .complex-equipment-detail__item{align-items:start}
body .complex-equipment-detail__item-title{overflow-wrap:anywhere}
body .complex-equipment-detail__workflow,body .complex-equipment-detail__faq{margin-top:48px}
body .complex-equipment-detail__faq summary{min-height:48px;line-height:1.45}
body .complex-equipment-detail__normative{height:auto;white-space:normal;line-height:1.4}
body .task-callback:not(:has(.task-callback__form)){display:block}
body .task-callback:not(:has(.task-callback__form)) .task-list__items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
body .section-cta + .section-cta{margin-top:48px}
body .brand-preview__slider{max-height:430px}
@media(max-width:767px){body .complex-equipment-detail__hero{grid-template-columns:minmax(0,1fr)}body .complex-equipment-detail__summary{padding:22px}body .complex-equipment-detail__actions{min-width:0}body .complex-equipment-detail__actions .btn{width:100%}body .task-callback:not(:has(.task-callback__form)) .task-list__items{grid-template-columns:minmax(0,1fr)}body .brand-preview__slider{max-height:260px}}

body .model-range__group-title{grid-column:1/-1;padding-top:24px;margin:16px 0 4px;border-top:1px solid #d5ddec;font-size:24px}

body .product-detail__benefit--trade{font:inherit;text-align:left;cursor:pointer;border:1px solid transparent}body .product-detail__benefit--trade:hover{border-color:#2059ed}

body .news-detail__picture{max-height:480px;overflow:hidden;border-radius:14px;margin-bottom:32px}body .news-detail__img{width:100%;height:100%;max-height:480px;object-fit:contain}body .news-detail__descrption{line-height:1.65}body .news-detail__descrption :is(h2,h3){margin-block:28px 16px}@media(max-width:767px){body .news-detail__picture,body .news-detail__img{max-height:280px}}

/* Centre desktop navigation between the logo and contact controls. */
@media (min-width:1281px){
 body .header__nav{display:flex;flex:1 1 auto;justify-content:center}
 body .header__nav .nav-header__list{justify-content:center}
 body .header__phone{margin-left:0}
}

/* === 2026-12-02 Layout, Forms & Audit Polish === */
html {
  scroll-padding-top: 130px;
}

/* Promo strip trigger button */
body button.promo-strip__link {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer link contrast */
body .footer__links {
  display: flex;
  justify-content: center;
  padding-block: 0 18px;
  gap: 24px;
}
body .footer__links .link {
  color: #ffffff;
  text-decoration: none;
}
body .footer__links .link:hover {
  text-decoration: underline;
}

/* Contact widget Max contrast & inline SVG fallback */
body .contact-widget__channel--max {
  background: #1d72f3;
}
body .contact-widget__channel--max svg {
  display: block;
}

/* Modal close and spacing (ensure cascade wins over register-improvements.css) */
body .modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  z-index: 2;
}
body .modal__body {
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 40px) 32px;
}
@media (max-width: 480px) {
  body .modal__close {
    top: 12px;
    right: 12px;
  }
}

/* Task-callback inline form: full width inputs & submit button */
@media (min-width: 1025px) {
  body .task-callback__form {
    width: 460px;
    max-width: 100%;
  }
}
@media (max-width: 1024px) {
  body .task-callback__form {
    width: 100%;
    position: static;
  }
}
body .inline-form__inner {
  padding: clamp(24px, 3vw, 40px);
  gap: 24px;
}
body .inline-form__body {
  gap: 18px;
  width: 100%;
}
body .inline-form__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
body .inline-form .form-field {
  display: block;
  width: 100%;
  max-width: 100%;
}
body .inline-form .input,
body .inline-form button[type="submit"].btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body .inline-form .form-field__error {
  color: #fecaca;
}
body .inline-form__policy {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
body .inline-form__policy-checkbox {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  appearance: auto;
  accent-color: #2059ed;
}
body .inline-form__policy-text {
  flex: 1 1 0;
  min-width: 0;
}
body .inline-form__policy .form__error {
  flex-basis: 100%;
  color: #fecaca;
}
body .inline-form__policy-text {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
body .inline-form__policy-text a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Direct communication block */
@media (min-width: 1025px) {
  body .direct-communication__title {
    max-width: 340px;
    flex-shrink: 0;
  }
}
body .direct-communication__title {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
body .direct-communication__contacts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 12px;
}
body .direct-communication__contacts-email,
body .direct-communication__contacts-phone {
  color: #ffffff;
  text-decoration: none;
}
body .direct-communication__contacts-email {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 768px) {
  body .direct-communication__contacts {
    justify-content: center;
  }
}

/* Mobile "Для кого наши решения" vertical stack */
@media (max-width: 768px) {
  body .section-useful .section__badge {
    display: none;
  }
  body .section-useful .useful.swiper {
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  body .section-useful .useful__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: none !important;
  }
  body .section-useful .useful__item,
  body .section-useful .useful__item.swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
  }
  body .section-useful .article-preview__image {
    object-fit: cover;
    backdrop-filter: none;
  }
}

/* About page: align staff photo sizing & director mobile min-height */
body .staff__photo {
  height: 340px;
}
body .staff__image {
  object-fit: cover;
  object-position: top center;
}
@media (max-width: 768px) {
  body .staff__photo {
    height: 350px;
    aspect-ratio: auto;
  }
}
@media (max-width: 600px) {
  body .about-hero__director-photo {
    height: 350px;
    min-height: 0;
    object-fit: cover;
    object-position: top center;
  }
}

/* About / Service bottom CTA banner (.section-cta--service) */
body .section-cta--service {
  padding: 48px 0;
}
body .section-cta--service .cta-form {
  padding: 0;
}
body .section-cta--service .cta-form__header--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 0;
}
body .section-cta--service .cta-form__title--narrow {
  max-width: 400px;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}
body .section-cta--service .cta-form__info {
  flex: 1 1 320px;
  max-width: 520px;
}
body .section-cta--service .cta-form__text {
  max-width: none;
  text-align: left;
}
body .section-cta--service .cta-form__phone {
  display: block;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
body .section-cta--service .cta-form__phone-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 991px) {
  body .section-cta--service {
    padding: 36px 0;
  }
  body .section-cta--service .cta-form__header--inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  body .section-cta--service .cta-form__title--narrow {
    max-width: 100%;
  }
  body .section-cta--service .cta-form__text,
  body .section-cta--service .cta-form__phone {
    text-align: left;
  }
  body .section-cta--service .cta-form__btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Service page: before/after full-bleed photos */
body .service-before-after__card {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  background: transparent;
}
body .service-before-after__link {
  display: block;
  width: 100%;
  height: 100%;
}
body .service-before-after__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}
@media (max-width: 767px) {
  body .service-before-after__card img {
    height: 100%;
  }
}
