@media (min-width: 1200px) and (max-width: 1399.98px) {
  .brand-logo {
    max-width: 164px;
  }

  .navbar-collapse {
    flex: 0 1 450px;
  }

  .navbar-nav {
    align-items: center;
    display: grid;
    gap: 0.12rem 1rem;
    grid-template-columns: repeat(3, minmax(max-content, 1fr));
    justify-content: center;
    max-width: 450px;
  }

  .nav-link {
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
    white-space: nowrap;
  }

  .header-actions {
    gap: 1.25rem;
    margin-left: auto;
  }

  .hero-section h1 {
    font-size: clamp(3rem, 4.3vw, 4.1rem);
    max-width: 650px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-section .lead {
    max-width: 520px;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
  }

  .hero-actions .btn-brand-red {
    display: none;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-bear {
    height: min(69vh, 690px);
    right: clamp(128px, 9vw, 180px);
  }

  .hero-badge-frame {
    right: -2rem;
    width: min(270px, 34vw);
  }

  .stats-panel {
    padding-bottom: 2.55rem;
    padding-top: 2.55rem;
  }

  .stat-item {
    grid-template-rows: 4.9rem 4.3rem 4px auto;
    padding: 0 0.85rem;
    row-gap: 1rem;
  }

  .stat-icon {
    height: 4.9rem;
    width: 5.35rem;
  }

  .stat-icon i {
    font-size: 2rem;
  }
}

@media (max-width: 1199.98px) {
  .header-topline-inner {
    gap: 0.6rem;
  }

  .header-contacts {
    font-size: 0.8rem;
    gap: 0.1rem 0.7rem;
  }

  .header-secondary-menu .nav-link {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .navbar {
    min-height: 0;
    padding-bottom: 0.85rem;
    padding-top: 0.85rem;
  }

  .navbar > .container {
    align-items: center;
    flex-wrap: nowrap;
  }

  .brand-logo {
    max-width: 150px;
  }

  .navbar-collapse {
    flex: 0 1 430px;
    min-width: 0;
    order: 2;
  }

  .navbar-nav {
    align-items: center;
    display: grid;
    gap: 0.12rem 0.9rem;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(max-content, 1fr));
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 430px;
  }

  .nav-link {
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
    white-space: nowrap;
  }

  .header-actions {
    flex: 0 0 auto;
    margin-left: auto;
    order: 3;
  }

  .section-shell {
    padding: 5rem 0;
  }

  .page-template-page-solutions .solutions-page > .section-shell:first-child,
  .page-template-page-production .production-page > .section-shell:first-child,
  .page-template-page-projects .projects-page > .section-shell:first-child,
  .page-template-page-about .about-page > .section-shell:first-child,
  .page-template-page-contacts .contacts-page > .section-shell:first-child,
  .page-template-page-gost-din-iso .standards-page > .section-shell:first-child {
    padding-top: 2rem;
  }

  .hero-bear {
    right: clamp(145px, 10vw, 210px);
  }

  .hero-badge-frame {
    right: -1.8rem;
  }

  .hero-section h1 {
    font-size: clamp(2.75rem, 4.35vw, 3.65rem);
    max-width: 560px;
  }

  .hero-copy {
    max-width: 500px;
  }

  .hero-section .lead {
    font-size: 1rem;
    max-width: 455px;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 390px;
  }

  .hero-actions .btn-brand-red {
    display: none;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-bear {
    height: min(64vh, 610px);
    right: clamp(105px, 8vw, 150px);
  }

  .hero-badge-frame {
    width: min(235px, 30vw);
  }

  .stats-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .stat-item {
    grid-template-rows: 4.35rem 3.85rem 4px auto;
    padding: 0 0.65rem;
    row-gap: 0.85rem;
  }

  .stat-item:nth-child(3n + 1)::before {
    display: block;
  }

  .stat-icon {
    height: 4.35rem;
    width: 4.8rem;
  }

  .stat-icon i {
    font-size: 1.75rem;
  }

  .stat-item strong {
    font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  }

  .stat-item > span:last-child {
    font-size: clamp(0.76rem, 1.05vw, 0.92rem);
    line-height: 1.32;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-cta {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-cta .btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .projects-grid {
    column-gap: 1.25rem;
    grid-template-columns: repeat(2, calc((100% - 1.25rem) / 2));
    row-gap: 1.25rem;
  }

  .project-card {
    height: clamp(320px, 34vw, 360px);
  }

  .request-copy,
  .request-intro {
    width: 100%;
  }

  .request-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-cta {
    grid-template-columns: 1fr;
  }

  .projects-cta .btn {
    min-height: 72px;
  }

  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-docs {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom nav {
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .brand-logo {
    max-width: 138px;
  }

  .header-topline-inner {
    flex-wrap: wrap;
    min-height: 0;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
  }

  .header-contacts {
    flex-basis: 100%;
    font-size: 0.78rem;
    justify-content: flex-start;
    justify-items: start;
    order: 5;
  }

  .header-contacts-schedule {
    display: none;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .header-request-cart {
    min-height: 44px;
  }

  .catalog-dropdown {
    min-width: min(92vw, 320px);
  }

  .catalog-dropdown-submenu {
    left: 0;
    margin-left: 0.75rem;
    margin-top: 0.2rem;
    min-width: auto;
    position: static;
    transform: none;
  }

  .header-actions .btn {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.42) 100%),
      url("../img/hero/hero-construction.png") center bottom / cover no-repeat,
      #ffffff;
    min-height: auto;
  }

  .hero-container {
    min-height: auto;
    padding-bottom: 2.5rem;
    padding-top: 3rem;
  }

  .hero-visual {
    position: relative;
    min-height: 500px;
  }

  .hero-bear {
    bottom: -2rem;
    height: 540px;
    left: 50%;
    position: absolute;
    right: auto;
    transform: translateX(-50%);
  }

  .hero-badge-frame {
    right: 0;
    top: 54%;
    width: 260px;
  }

  .stats-section {
    padding: 0;
  }

  .stats-panel {
    padding: 2.4rem 1.5rem;
  }

  .solutions-head .col-lg-4 {
    border-left: 0;
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }

  .catalog-head .col-lg-5 {
    border-left: 0;
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }

  .about-lead {
    border-left: 0;
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .projects-head p {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
  }

  .solution-image {
    max-height: 320px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .header-menuline-inner {
    position: relative;
  }

  /* Tablet: controls on the first row, contacts on a compact second row. */
  .header-topline-inner {
    display: grid;
    gap: 0.5rem 0.7rem;
    grid-template-areas:
      "logo catalog search actions"
      "contacts contacts contacts contacts";
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
  }

  .site-header .brand-logo {
    grid-area: logo;
  }

  .header-catalog-menu {
    grid-area: catalog;
  }

  .site-search-form {
    grid-area: search;
    height: 41px;
    width: auto;
  }

  .header-actions {
    grid-area: actions;
    margin-left: 0;
  }

  .header-contacts {
    grid-area: contacts;
  }

  .navbar-toggler {
    display: inline-flex;
    flex: 0 0 44px;
  }

  .header-menuline .navbar-collapse {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    box-shadow: var(--dk-shadow);
    display: none;
    left: var(--bs-gutter-x);
    padding: 0.75rem;
    position: absolute;
    right: var(--bs-gutter-x);
    top: calc(100% + 0.45rem);
    z-index: 1020;
  }

  .header-menuline .navbar-collapse.show,
  .header-menuline .navbar-collapse.collapsing {
    display: block;
  }

  .header-secondary-menu {
    align-items: stretch;
    display: grid;
    gap: 0.15rem;
  }

  .header-secondary-menu .nav-link {
    justify-content: space-between;
    width: 100%;
  }

  .header-secondary-menu .sub-menu {
    box-shadow: none;
    left: auto;
    margin-left: 0.75rem;
    position: static;
    top: auto;
  }

  .navbar > .container {
    gap: 0.65rem;
    position: relative;
  }

  .navbar-expand-md .navbar-toggler {
    display: inline-flex;
    flex: 0 0 46px;
    order: 4;
  }

  .header-actions {
    display: flex;
    flex: 0 0 auto;
    margin-left: 0;
    order: 3;
  }

  .header-request-cart {
    flex: 0 0 auto;
    height: 44px;
    min-width: 60px;
    padding: 0 0.6rem;
  }

  .site-search-form {
    height: 41px;
  }

  .navbar-expand-md .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: none !important;
    flex-basis: 100%;
    left: 0;
    margin-top: 0.65rem;
    order: 5;
    padding: 0.8rem var(--bs-gutter-x) 0.5rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .navbar-expand-md .navbar-collapse.show,
  .navbar-expand-md .navbar-collapse.collapsing {
    display: block !important;
  }

  .navbar-nav {
    align-items: stretch;
    display: flex;
    gap: 0;
    max-width: none;
    padding-top: 0;
  }

  .hero-section {
    background:
      linear-gradient(90deg, #ffffff 0%, #ffffff 36%, rgba(255, 255, 255, 0.82) 54%, rgba(255, 255, 255, 0.18) 100%),
      url("../img/hero/hero-construction.png") right top / auto 100% no-repeat,
      #ffffff;
    min-height: 520px;
  }

  .hero-container {
    min-height: 520px;
    padding-bottom: 1.25rem;
    padding-top: 2rem;
  }

  .hero-layout {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
    min-height: 455px;
  }

  .hero-copy,
  .hero-visual-col {
    width: 100%;
  }

  .hero-copy {
    max-width: 410px;
  }

  .hero-section h1 {
    font-size: clamp(2.45rem, 5vw, 3.1rem);
    margin-bottom: 1rem;
    max-width: 405px;
  }

  .hero-section .lead {
    font-size: 0.96rem;
    max-width: 370px;
  }

  .hero-features {
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 300px;
  }

  .hero-feature {
    align-items: center;
    flex-direction: column;
    font-size: 0.82rem;
    gap: 0.35rem;
    text-align: center;
  }

  .hero-actions .btn-brand-red {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem !important;
  }

  .hero-actions .btn {
    min-width: 176px;
    padding: 0.78rem 1rem;
  }

  .hero-visual {
    min-height: 455px;
    position: static;
  }

  .hero-bear {
    bottom: -1px;
    height: 500px;
    left: auto;
    right: clamp(58px, 7vw, 88px);
    transform: none;
  }

  .hero-badge-frame {
    right: -1.6rem;
    top: 53%;
    width: 205px;
  }
}

@media (max-width: 767.98px) {
  body.admin-bar .site-header.sticky-top {
    top: 46px;
  }

  .header-topline-inner {
    display: grid;
    gap: 0.5rem 0.6rem;
    grid-template-areas:
      "logo actions"
      "catalog search";
    grid-template-columns: auto minmax(0, 1fr);
    padding-bottom: 0.45rem;
    padding-top: 0.45rem;
  }

  .brand-logo {
    grid-area: logo;
    max-width: 150px;
  }

  .site-header .brand-logo img {
    max-height: 42px;
  }

  .header-catalog-menu {
    grid-area: catalog;
    justify-self: stretch;
  }

  .header-catalog-button {
    justify-content: center;
    min-height: 42px;
    padding: 0 0.8rem;
    width: 100%;
  }

  .site-search-form {
    grid-area: search;
    grid-column: auto;
    order: 0;
    width: 100%;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
  }

  .header-contacts {
    display: none;
  }

  .header-menuline-inner {
    min-height: 46px;
    position: relative;
  }

  .navbar-toggler {
    display: inline-flex;
  }

  .header-menuline .navbar-collapse {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    box-shadow: var(--dk-shadow);
    display: none;
    left: var(--bs-gutter-x);
    padding: 0.75rem;
    position: absolute;
    right: var(--bs-gutter-x);
    top: calc(100% + 0.45rem);
    z-index: 1020;
  }

  .header-menuline .navbar-collapse.show,
  .header-menuline .navbar-collapse.collapsing {
    display: block;
  }

  .header-secondary-menu {
    align-items: stretch;
    display: grid;
    gap: 0.15rem;
  }

  .header-secondary-menu .nav-link {
    justify-content: space-between;
    width: 100%;
  }

  .header-secondary-menu .sub-menu {
    box-shadow: none;
    left: auto;
    margin-left: 0.75rem;
    position: static;
    top: auto;
  }

  .navbar {
    padding-bottom: 0.65rem;
    padding-top: 0.65rem;
  }

  .navbar > .container {
    flex-wrap: nowrap;
    gap: 0.55rem;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-basis: 100%;
    left: 0;
    margin-top: 0.65rem;
    order: 4;
    padding: 0.75rem var(--bs-gutter-x) 0.4rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .navbar-nav {
    align-items: stretch;
    border-top: 0;
    display: flex;
    gap: 0;
    padding-top: 0;
  }

  .header-actions {
    display: flex;
    flex: 0 0 auto;
    margin-left: 0;
    order: 3;
  }

  .header-request-cart {
    flex: 0 0 auto;
    height: 42px;
    min-width: 56px;
    padding: 0 0.55rem;
  }

  .site-search-page-form {
    flex-direction: column;
  }

  .site-search-page-form .btn {
    width: 100%;
  }

  .site-search-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navbar-toggler {
    flex: 0 0 42px;
    height: 42px;
    width: 42px;
  }

  .section-shell {
    padding: 4rem 0;
  }

  .page-template-page-solutions .solutions-page > .section-shell:first-child,
  .page-template-page-production .production-page > .section-shell:first-child,
  .page-template-page-projects .projects-page > .section-shell:first-child,
  .page-template-page-about .about-page > .section-shell:first-child,
  .page-template-page-contacts .contacts-page > .section-shell:first-child,
  .page-template-page-gost-din-iso .standards-page > .section-shell:first-child {
    padding-top: 1.5rem;
  }

  .hero-section {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.2) 100%),
      url("../img/hero/hero-construction.png") right top / auto 100% no-repeat,
      #ffffff;
    min-height: 420px;
  }

  .hero-section .hero-visual-col {
    height: 0;
    min-height: 0;
    pointer-events: none;
    position: static;
    width: 0;
  }

  .hero-container {
    min-height: 420px;
    padding-bottom: 1rem;
    padding-top: 1.6rem;
  }

  .hero-layout {
    display: block;
    min-height: 380px;
    position: relative;
  }

  .hero-tags {
    display: none;
  }

  .hero-section .lead,
  .hero-features,
  .hero-actions .btn-brand-red {
    display: none;
  }

  .hero-copy {
    max-width: 58%;
    min-height: 0;
    padding-bottom: 2rem;
    position: relative;
    z-index: 5;
  }

  .hero-section h1 {
    font-size: clamp(2.35rem, 9vw, 3.2rem);
    margin-bottom: 1.4rem;
    max-width: 330px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem !important;
    justify-content: flex-start;
  }

  .hero-actions .btn {
    font-size: 0.86rem;
    min-width: 142px;
    padding: 0.68rem 0.8rem;
    width: auto;
  }

  .hero-visual {
    min-height: 0;
    position: static;
  }

  .hero-bear {
    bottom: -2rem;
    height: 385px;
    left: auto;
    right: -2.25rem;
    transform: none;
  }

  .hero-badge-frame {
    display: none;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .request-form {
    padding: 1.25rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .stat-item:nth-child(3n + 1)::before {
    display: block;
  }

  .stat-item:nth-child(2n + 1)::before {
    display: block;
  }

  .stat-item:first-child::before {
    display: none;
  }

  .stat-item {
    grid-template-rows: 3.15rem 3.15rem 3px auto;
    padding: 0 0.34rem;
    row-gap: 0.52rem;
  }

  .stat-icon {
    height: 3.15rem;
    width: 3.45rem;
  }

  .stat-icon::after {
    inset: 2.5px;
  }

  .stat-icon i {
    font-size: 1.15rem;
  }

  .stat-item strong {
    font-size: clamp(0.98rem, 2.85vw, 1.38rem);
    line-height: 1.02;
  }

  .stat-line {
    height: 3px;
    width: 24px;
  }

  .stat-item > span:last-child {
    font-size: clamp(0.58rem, 1.6vw, 0.72rem);
    line-height: 1.22;
  }

  .solutions-section {
    padding-top: 4rem;
  }

  .catalog-section {
    padding-top: 4rem;
  }

  .solution-checks {
    grid-template-columns: 1fr;
  }

  .solutions-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .solutions-cta .btn {
    width: 100%;
  }

  .catalog-grid {
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-card::before {
    border-radius: 6px;
    font-size: 0.78rem;
    left: 0.72rem;
    padding: 0.48rem 0.5rem;
    top: 0.72rem;
  }

  .catalog-card > img {
    aspect-ratio: 4 / 3;
  }

  .catalog-card-body {
    gap: 0.45rem;
    grid-template-columns: 1fr auto;
    min-height: 118px;
    padding: 0.78rem;
  }

  .catalog-card h3 {
    font-size: 0.78rem;
    line-height: 1.08;
    margin-bottom: 0.35rem;
  }

  .catalog-card p {
    font-size: 0.66rem;
    line-height: 1.28;
  }

  .catalog-card-body > i {
    font-size: 0.78rem;
  }

  .catalog-cta {
    grid-template-columns: 1fr;
  }

  .catalog-cta-feature {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-left: 0;
    padding-top: 1.15rem;
  }

  .projects-section {
    padding-top: 4rem;
  }

  .projects-grid {
    column-gap: 0;
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .project-card {
    height: clamp(315px, 72vw, 380px);
  }

  .projects-cta-copy {
    align-items: flex-start;
  }

  .projects-cta .btn {
    font-size: 1.2rem;
    padding: 1.1rem;
  }

  .request-section {
    padding: 4rem 0;
  }

  .request-cart-state {
    align-items: stretch;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .request-cart-state-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .request-intro {
    border-left: 0;
    margin-left: 0;
    margin-top: 1rem;
    padding-left: 0;
  }

  .request-benefits {
    grid-template-columns: 1fr;
  }

  .contacts-hero-layout,
  .contacts-requisites-layout,
  .solutions-page-hero-layout,
  .solutions-process-layout,
  .solutions-trust-panel,
  .production-page-hero-layout,
  .production-series-panel,
  .projects-page-hero-layout,
  .about-page-hero-layout,
  .about-company-layout {
    grid-template-columns: 1fr;
  }

  .contacts-quick-grid,
  .contacts-office-grid,
  .contacts-department-grid,
  .solutions-task-grid,
  .solutions-industry-grid,
  .solutions-product-list,
  .production-capability-grid,
  .production-product-grid,
  .projects-category-grid,
  .projects-scope-panel ul,
  .projects-participation-grid,
  .about-product-grid,
  .about-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .production-materials-grid {
    grid-template-columns: 1fr;
  }

  .about-logistics-grid {
    grid-template-columns: 1fr;
  }

  .contacts-feedback-panel {
    grid-template-columns: 1fr;
  }

  .contacts-feedback-panel .btn {
    justify-self: start;
  }

  .about-docs-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-socials {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 575.98px) {
  .brand-logo {
    max-width: 150px;
  }

  .asset-placeholder {
    min-height: 180px;
  }

  .hero-section {
    min-height: 390px;
  }

  .hero-container {
    min-height: 390px;
    padding-top: 1.45rem;
  }

  .hero-layout {
    min-height: 350px;
  }

  .hero-copy {
    max-width: 61%;
    min-height: 0;
  }

  .hero-section h1 {
    font-size: clamp(2.05rem, 10.5vw, 2.65rem);
    max-width: 280px;
  }

  .hero-actions .btn {
    font-size: 0.78rem;
    min-width: 124px;
    padding: 0.58rem 0.7rem;
    width: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-bear {
    bottom: -2rem;
    height: 335px;
    right: -3.1rem;
  }

  .request-modal .modal-header,
  .request-modal .modal-body,
  .request-modal .modal-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .stats-panel {
    padding: 1.45rem 0.35rem;
  }

  .stats-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .stat-item {
    grid-template-rows: 2.55rem 2.6rem 2px auto;
    padding: 0 0.18rem;
    row-gap: 0.4rem;
  }

  .stat-item + .stat-item::before {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    height: 78%;
    left: 0;
    top: 11%;
    width: 1px;
  }

  .stat-icon {
    height: 2.55rem;
    width: 2.8rem;
  }

  .stat-icon::after {
    inset: 2px;
  }

  .stat-icon i {
    font-size: 0.98rem;
  }

  .stat-item strong {
    font-size: clamp(0.82rem, 3.35vw, 1.02rem);
  }

  .stat-line {
    height: 2px;
    width: 18px;
  }

  .stat-item > span:last-child {
    font-size: clamp(0.48rem, 2vw, 0.6rem);
    line-height: 1.16;
  }

  .solution-body {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .solutions-cta-copy {
    align-items: flex-start;
  }

  .catalog-card-body {
    min-height: 124px;
    padding: 0.62rem;
  }

  .catalog-grid {
    gap: 0.45rem;
  }

  .catalog-card::before {
    font-size: 0.68rem;
    left: 0.58rem;
    padding: 0.38rem 0.42rem;
    top: 0.58rem;
  }

  .catalog-card h3 {
    font-size: 0.68rem;
    line-height: 1.08;
    margin-bottom: 0.28rem;
  }

  .catalog-card p {
    font-size: 0.58rem;
    line-height: 1.22;
  }

  .catalog-card-body > i {
    font-size: 0.68rem;
  }

  .catalog-cta {
    padding: 1.35rem;
  }

  .catalog-cta-title {
    align-items: flex-start;
  }

  .production-lead {
    font-size: 1rem;
  }

  .production-media figcaption {
    padding: 3rem 1rem 1rem;
  }

  .project-card-body {
    padding: 0 1rem 1rem;
  }

  .project-card::before {
    font-size: 1.45rem;
  }

  .project-meta {
    gap: 0.65rem;
  }

  .project-meta span + span {
    border-left: 0;
    padding-left: 0;
  }
  .request-file {
    align-items: center;
    flex-direction: column;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .contacts-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
      url("../img/hero/hero-construction.png") center bottom / cover no-repeat,
      #ffffff;
  }

  .solutions-page-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
      url("../img/solutions/solution-construction.png") center bottom / cover no-repeat,
      #ffffff;
  }

  .production-page-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
      url("../img/projects/Dekmann_manuufacturing.png") center bottom / cover no-repeat,
      #ffffff;
  }

  .projects-page-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
      url("../img/projects/project-06.jpeg") center bottom / cover no-repeat,
      #ffffff;
  }

  .about-page-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
      url("../img/projects/Dekmann_manuufacturing.png") center bottom / cover no-repeat,
      #ffffff;
  }

  .contacts-quick-grid,
  .contacts-office-grid,
  .contacts-department-grid,
  .solutions-task-grid,
  .solutions-industry-grid,
  .solutions-product-list,
  .production-capability-grid,
  .production-product-grid,
  .projects-direction-grid,
  .projects-category-grid,
  .projects-scope-panel ul,
  .projects-participation-grid,
  .about-product-grid,
  .about-capability-grid {
    grid-template-columns: 1fr;
  }

  .contacts-quick-card,
  .contacts-office-card,
  .contacts-map-card,
  .contacts-department-card,
  .contacts-requisites-list,
  .solutions-task-card,
  .solutions-industry-card,
  .production-capability-card,
  .production-product-card,
  .production-materials-card,
  .production-series-panel,
  .projects-direction-card,
  .projects-category-card,
  .projects-scope-panel,
  .projects-participation-card,
  .about-company-story,
  .about-facts-card,
  .about-product-card,
  .about-capability-card,
  .about-logistics-card {
    box-shadow: none;
  }

  .contacts-hero-actions,
  .solutions-page-actions,
  .production-page-actions,
  .projects-page-actions,
  .about-page-actions,
  .contacts-feedback-panel .btn {
    width: 100%;
  }

  .contacts-hero-actions .btn,
  .solutions-page-actions .btn,
  .production-page-actions .btn,
  .projects-page-actions .btn,
  .about-page-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .about-docs {
    padding: 1.25rem;
  }

  .site-footer {
    background-size: 360px auto;
    padding-top: 3.5rem;
  }

  .footer-logo {
    max-width: 240px;
  }

  .footer-benefits i,
  .footer-contact-list i {
    height: 2.55rem;
    width: 2.55rem;
  }

  .footer-bottom nav {
    gap: 0.75rem;
  }

  .legal-document {
    gap: 1.5rem;
  }

  .legal-toc,
  .legal-section {
    box-shadow: none;
    padding: 1.1rem;
  }

  .legal-requisites div {
    grid-template-columns: 1fr;
  }

  .standards-hero-layout,
  .standards-tools {
    grid-template-columns: 1fr;
  }

  .standards-hero-card {
    max-width: 280px;
  }

  .standards-table-wrap {
    border-radius: 0;
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
  }

  .site-search-card-grid {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    bottom: 0.75rem;
    padding: 0 0.75rem;
  }

  .cookie-consent-inner {
    align-items: stretch;
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .cookie-consent-actions {
    justify-content: space-between;
  }

  .cookie-consent-accept {
    min-width: 9rem;
  }
}

@media (min-width: 992px) {
  .catalog-mobile-menu {
    display: none !important;
  }

  .site-search-form {
    min-width: 300px;
  }
}

@media (max-width: 991.98px) {
  .catalog-mega-menu {
    display: none !important;
  }

  .header-catalog-button {
    min-height: 44px;
  }
}

@media (max-width: 430px) {
  .header-catalog-button {
    gap: 0.45rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .header-catalog-chevron {
    display: none;
  }

  .catalog-mobile-drawer {
    max-width: none;
    width: 100%;
  }
}

/* CAT-014: на страницах каталога форма поиска в шапке не выводится,
   поэтому освободившееся место распределяется между остальными блоками. */
@media (min-width: 992px) {
  .dekmann-catalog-context .header-contacts {
    margin-left: auto;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .dekmann-catalog-context .header-topline-inner {
    grid-template-areas:
      "logo catalog actions"
      "contacts contacts contacts";
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .dekmann-catalog-context .header-actions {
    justify-self: end;
  }
}

@media (max-width: 767.98px) {
  .dekmann-catalog-context .header-topline-inner {
    grid-template-areas:
      "logo actions"
      "catalog catalog";
  }
}
