@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero__content {
    order: 2;
  }

  .hero__visual {
    order: 1;
  }

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

@media (max-width: 576px) {
  .hero__advantages {
    grid-template-columns: 1fr;
  }
  .brand-btn{
    font-size: 12px;
  }
}


@media (max-width: 992px) {
  .about .container {
      grid-template-columns: 1fr;
      gap: 50px;
  }

  .about-title {
      font-size: 32px;
  }
}

@media (max-width: 576px) {


  .hero-content > span{
    font-size: 40px;
  }

  .hero-subtitle{
    font-size: 18px;
  }

  .hero-description{
    font-size: 14px;
  }

  .hero-visual{
    display: none;
  }

  .hero-advantages{
    grid-template-columns: 1fr;
    margin: 50px 0 50px 0;
  }

  .wrap{
    width: 100%;
    padding: 0 20px;
  }
  .about {
      padding: 80px 0;
  }

  .about-title {
      font-size: 32px;
  }

  .about-text {
      font-size: 16px;
  }

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

  .stat-number {
      font-size: 48px;
  }

  .stat-card{
    min-width: unset;
  }

  .logo{
    justify-content: flex-start;
  }

  .logo img{
    width: 90%;
  }

  .show-mob{
    display: block;
    width: 100%;
    border-radius: 10px;
}
.brand-image{
  margin: 0;
}
.brand-card{
  background-image: unset;
}

.wide-card .brand-info{
  padding: 30px; 
}

.united .brand-image img,
.cworks .brand-image img{
  width: 60%;
}

.geography-map p{
  font-size: 10px;
}

.lang{
  background: none;
  padding: 0;
  margin-right: 10px;
}
}

@media (max-width: 1200px) {
  .brands-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: auto;
  }

  .brand-card-large {
      grid-row: auto;
  }
}

@media (max-width: 768px) {
  .brands-top {
      flex-direction: column;
      align-items: flex-start;
  }

  .brands-grid {
      grid-template-columns: 1fr;
  }

  .brands-title {
      font-size: 32px;
  }
}

@media (max-width: 1200px) {
  .advantages-grid {
      grid-template-columns: repeat(2, 1fr);
  }

  .advantage-card:nth-child(3n) {
      border-right: 1px solid #e6e8ec;
  }

  .advantage-card:nth-child(2n) {
      border-right: none;
  }
}

@media (max-width: 768px) {
  .advantages-title {
      font-size: 32px;
  }

  .advantages-grid {
      grid-template-columns: 1fr;
  }

  .advantage-card {
      min-height: auto;
      padding: 32px;
      border-right: none;
  }

  .advantage-card h3 {
      font-size: 18px;
  }

  .advantage-card p {
      font-size: 16px;
  }
}

@media (max-width: 992px) {
  .directions-grid {
      grid-template-columns: repeat(2, 1fr);
  }

  .geography-grid {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .directions-grid {
      grid-template-columns: 1fr;
  }

  .directions-title,
  .geography-title {
      font-size: 32px;
  }

  .geography-actions {
      flex-direction: column;
  }

  .brands-top{
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .contacts-grid {
      grid-template-columns: 1fr;
  }

  .partner-box {
      padding: 0px;
      background: #fff;
      border: none;
  }

  .partner-title,
  .instagram-title,
  .contacts-title
   {
      font-size: 32px;
  }

  .instagram-section{
    padding-top: 30px;
  }

}



@media (max-width: 1180px) {
  .hero-header-actions {
    margin-left: auto;
  }

  .hero-phone {
    display: none;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .hero-benefits {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-nav .wrap {
    padding: 24px 26px 0;
  }

  .hero-nav .logo img {
    width: 175px;
  }

  .hero-nav nav {
    background: rgba(8, 15, 15, .96);
  }

  .hero-nav .burger span {
    background: #fff;
  }

  .hero-header-actions {
    margin-right: 16px;
  }

  .hero-consult {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero {
    min-height: calc(100vh - 18px);
    margin: 9px;
    padding: 128px 0 34px;
  }

  .hero .wrap {
    padding-left: 26px;
    padding-right: 26px;
  }

  .hero .container {
    margin-top: 0;
    margin-bottom: 34px;
  }

  .hero-title {
    font-size: clamp(48px, 11vw, 82px);
    line-height: .95;
  }

  .hero-subtitle {
    font-size: clamp(24px, 5vw, 38px);
  }

  .hero-description {
    font-size: 20px;
  }

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

@media (max-width: 768px) {
  .hero-nav .wrap {
    padding: 20px 18px 0;
  }

  .hero-nav .logo img {
    width: 142px;
  }

  .hero-consult {
    display: none;
  }

  .hero {
    min-height: auto;
    margin: 6px;
    border-radius: 12px;
    padding: 118px 0 26px;
  }

  .hero .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero .container {
    margin-top: 0;
    margin-bottom: 28px;
  }

  .hero-kicker {
    font-size: 20px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 25px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-bottom {
    min-height: 0;
    padding-top: 24px;
  }

  .hero-actions {
    width: 100%;
    gap: 16px;
  }

  .hero-btn {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    font-size: 16px;
  }

  .hero-btn-link {
    justify-content: flex-start;
    width: auto;
  }

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

@media (max-width: 420px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-benefit {
    min-height: 62px;
  }
}


@media (max-width: 1180px) {
  .hero-nav .wrap {
    align-items: center;
  }

  .hero-header-actions {
    margin-left: auto;
  }

  .hero-phone {
    display: none;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .hero-benefits {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-nav .wrap {
    padding: 24px 26px 0;
  }

  .hero-nav .logo img {
    width: 175px;
  }

  .hero-nav nav {
    background: rgba(8, 15, 15, .96);
  }

  .hero-nav .burger span {
    background: #fff;
  }

  .hero-header-actions {
    margin-right: 16px;
  }

  .hero-consult {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero {
    min-height: calc(100vh - 18px);
    margin: 9px;
    padding: 128px 0 34px;
  }

  .hero .wrap {
    padding-left: 26px;
    padding-right: 26px;
  }

  .hero-title {
    font-size: clamp(48px, 11vw, 82px);
  }

  .hero-subtitle {
    font-size: clamp(24px, 5vw, 38px);
  }

  .hero-description {
    font-size: 20px;
  }

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

@media (max-width: 768px) {
  .hero-nav .wrap {
    padding: 20px 18px 0;
  }

  .hero-nav .logo img {
    width: 142px;
  }

  .hero-consult {
    display: none;
  }

  .hero {
    min-height: auto;
    margin: 6px;
    border-radius: 12px;
    padding: 118px 0 26px;
  }

  .hero .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero .container {
    margin-bottom: 28px;
  }

  .hero-kicker {
    font-size: 20px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 25px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-bottom {
    min-height: 0;
    padding-top: 24px;
  }

  .hero-actions {
    width: 100%;
    gap: 16px;
  }

  .hero-btn {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    font-size: 16px;
  }

  .hero-btn-link {
    justify-content: flex-start;
    width: auto;
  }

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

@media (max-width: 420px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-benefit {
    min-height: 62px;
  }
}

@media (max-width: 1280px) {
  .hero-nav .wrap,
  .hero .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-nav .menu {
    gap: 24px;
  }

  .hero-nav .menu > li > a {
    font-size: 14px;
  }

  .hero-product-card {
    width: 520px;
    grid-template-columns: 210px 1fr;
  }
}

@media (max-width: 992px) {
  .hero-nav {
    position: absolute;
  }

  .hero-nav .wrap {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .hero-nav .logo img {
    width: 150px;
  }

  .hero-nav .burger span {
    background: #fff;
  }

  .hero-nav nav {
    background: rgba(8, 15, 15, .96);
    border-radius: 0;
  }

  .hero-nav nav.active {
    right: 0;
  }

  .hero-nav .menu > li > a {
    color: #fff;
    font-size: 24px;
  }

  .header-langs {
    margin-left: auto;
    margin-right: 18px;
  }

  .hero {
    padding-top: 132px;
    padding-bottom: 36px;
    min-height: 780px;
  }

  .hero .container {
    margin-top: 0;
  }

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

  .hero-product-card {
    width: min(620px, 100%);
  }
}

@media (max-width: 768px) {
  .hero-nav .wrap,
  .hero .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: 760px;
    padding-top: 118px;
    padding-bottom: 28px;
  }

  .hero .container {
    margin-top: 0;
  }

  .hero-title {
    font-size: 43px;
    line-height: 1.06;
  }

  .hero-description {
    font-size: 17px;
    align-items: flex-start;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn {
    width: 100%;
    min-height: 68px;
    padding: 0 24px;
    font-size: 15px;
  }

  .hero-btn-ghost span {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }

  .hero-product-card {
    min-height: 0;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    border-radius: 24px;
  }

  .hero-product-image {
    height: 142px;
    border-radius: 18px;
  }

  .hero-product-info h2 {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .hero-product-info span,
  .hero-product-info p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-nav .logo img {
    width: 120px;
  }

  .header-langs {
    gap: 8px;
    margin-right: 10px;
  }

  .hero-nav .lang {
    font-size: 12px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-product-card {
    grid-template-columns: 1fr;
  }

  .hero-product-image {
    height: 180px;
  }
}

@media (max-width: 576px) {

  .btn-primary,.btn-secondary{
    text-align: center;
  }
  .partner-title {
      font-size: 32px;
  }

  .partner-btn {
      width: 100%;
      min-width: auto;
  }

  .contact-card {
      padding: 16px;
  }
}

@media (max-width: 768px) {
  .footer-inner {
      flex-direction: column;
      gap: 24px;
  }
}


@media (max-width: 768px) {

    .quality-banner {
        min-height: 380px;
    }

    .quality-content {
        padding: 40px;
    }

    .quality-title {
        font-size: 42px;
    }

}

@media (max-width: 992px) {

    .burger {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      position: relative;
      z-index: 1001;
    }

    .burger span {
      width: 26px;
      height: 2px;
      background: #2f4f7f;
      transition: .3s;
    }

    .top-nav nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      transition: .4s ease;
      z-index: 1000;
    }

    .top-nav nav.active {
      right: 0;
    }

    .menu {
      flex-direction: column;
      gap: 24px;
    }

    .menu a {
      font-size: 24px;
    }

    .phone {
      margin-top: 30px;
    }

    .burger.active span:nth-child(1) {
      transform:
      rotate(45deg)
      translate(6px, 6px);
    }

    .burger.active span:nth-child(2) {
      opacity: 0;
    }

    .burger.active span:nth-child(3) {
      transform:
      rotate(-45deg)
      translate(5px, -5px);
    }
    body.menu-open {
      overflow: hidden;
    }
}

@media (max-width: 768px) {

   .instagram-section .content,
   .factory-section .content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .insta-item-large {
        grid-row: auto;
    }

    .insta-item {
        aspect-ratio: 16 / 16;
    }

    .hero .container{
      margin-top: 50px;
    }

}

@media (max-width: 1500px) {
  .hero-nav .wrap {
    padding-left: 36px;
    padding-right: 36px;
    gap: 18px;
  }

  .hero-nav .logo img {
    width: 205px;
  }

  .hero-nav nav {
    min-height: 40px;
    padding: 0 22px;
  }

  .hero-nav .menu {
    gap: 22px;
  }

  .hero-nav .menu > li > a {
    font-size: 14px;
  }

  .hero-phone {
    font-size: 15px;
  }

  .hero-consult {
    min-height: 40px;
    padding: 0 22px;
    font-size: 12px;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
    width: min(560px, 42vw);
  }
}

@media (max-width: 1180px) {
  .hero-header-actions {
    margin-left: auto;
  }

  .hero-phone {
    display: none;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .hero-benefits {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-nav .wrap {
    padding: 24px 26px 0;
  }

  .hero-nav .logo img {
    width: 175px;
  }

  .hero-nav nav {
    background: rgba(8, 15, 15, .96);
  }

  .hero-nav .burger span {
    background: #fff;
  }

  .hero-header-actions {
    margin-right: 16px;
  }

  .hero-consult {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero {
    min-height: calc(100vh - 18px);
    margin: 9px;
    padding: 128px 0 34px;
  }

  .hero .wrap {
    padding-left: 26px;
    padding-right: 26px;
  }

  .hero .container {
    margin-top: 0;
    margin-bottom: 34px;
  }

  .hero-title {
    font-size: clamp(48px, 11vw, 82px);
    line-height: .95;
  }

  .hero-subtitle {
    font-size: clamp(24px, 5vw, 38px);
  }

  .hero-description {
    font-size: 20px;
  }

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

@media (max-width: 768px) {
  .hero-nav .wrap {
    padding: 20px 18px 0;
  }

  .hero-nav .logo img {
    width: 142px;
  }

  .hero-consult {
    display: none;
  }

  .hero {
    min-height: auto;
    margin: 6px;
    border-radius: 12px;
    padding: 118px 0 26px;
  }

  .hero .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero .container {
    margin-top: 0;
    margin-bottom: 28px;
  }

  .hero-kicker {
    font-size: 20px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 25px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-bottom {
    min-height: 0;
    padding-top: 24px;
  }

  .hero-actions {
    width: 100%;
    gap: 16px;
  }

  .hero-btn {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    font-size: 16px;
  }

  .hero-btn-link {
    justify-content: flex-start;
    width: auto;
  }

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

@media (max-width: 420px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-benefit {
    min-height: 62px;
  }
}
