@font-face {
    font-family: 'Montserrat';
    src: 
      url('fonts/montserrat-v30-cyrillic-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Montserrat';
    src: 
      url('fonts/montserrat-v30-cyrillic-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Montserrat';
    src: 
      url('fonts/montserrat-v30-cyrillic-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Montserrat';
    src: 
      url('fonts/montserrat-v30-cyrillic-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Montserrat';
    src: 
      url('fonts/montserrat-v30-cyrillic-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
/* Reset and base styles  */
* {
	padding: 0px;
	margin: 0px;
	border: none;
    margin-block-start: 0;
    margin-block-end: 0;
}
html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}
:root {
  }
  
  body {
    background-color: #000D16;
  }
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */
a, a:link, a:visited  {
    text-decoration: none;
}
a {
    cursor: pointer;
}

a:hover  {
    text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
	display: block;
}
h1, h2, h3, h4, h5, h6, p, a {
    font-size: inherit;
	font-weight: inherit;
    color: inherit;
}
h1 {
    font-size: clamp(24px, 3.7vw, 65px);
}
h2 {
    font-size: clamp(35px, 3.2vw, 60px);
    margin-bottom: 45px;
    margin-bottom: clamp(25px, 2.5vw, 45px);
}
p {
    font-size: clamp(16px, 1.2vw, 20px);
}
ul, ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

img, svg {
	max-width: 100%;
	height: auto;
}

address {
  font-style: normal;
}

/* Form */
input, textarea, button, select {
	font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

input[type='file'] {
	max-width: 100%;
}

*, *:before, *:after {
    
}

body {
    margin: 0;
    padding: 0;
    position: relative;
}
b {
    color: var(--accent);
    font-size: inherit;
}
.container {
    width: 98%;
    max-width: 1700px;
    margin: 0 auto;
}
:root {
    font-size: clamp(16px, calc(16px + (20 - 16) * ((100vw - 320px) / (1920 - 320))), 20px);
    --font-family: Montserrat, sans-serif;
    --white: #fff;
    --accent: #1768B7;
    --black: #000;
  }


  .modal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2002;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-popup {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px 50px;
    max-width: 800px;
    height: 100%;
    max-height: 615px;
}
.popup-close {
    margin-left: auto;
    display: block;
    max-width: max-content;
    margin-bottom: 30px;
}
.popup-title {
    font-size: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.popup-upper-text {
    font-weight: 500;
    font-size: 18px;
    color: #676767;
    margin-bottom: 30px;
    text-align: center;
}
.popup-form {
    display: flex;
    flex-direction: column;
}
.popup-input {
    background-color: #F8F8F8;
    color: #A6A6A6;
    padding: 15px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    border-radius: 10px;
}
.popup-submit {
    font-size: 22px;
    color: var(--white);
    background-color: var(--accent);
    border: 1px solid var(--accent);
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 17px;
    margin-top: 15px;
    margin-bottom: 10px;
    border-radius: 100px;
}
.popup-form-warn {
    font-size: 15px;
    text-align: center;
    display: block;
}
.popup-form-warn a {
    color: var(--accent);
}
.popup-tel-btn {
    font-size: 22px;
    color: var(--accent);
    background-color: var(--white);
    border: 1px solid var(--accent);
    display: block;
    width: 100%;
    padding: 17px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 100px;
}
.popup-tel-btn-text {
    font-size: 15px;
    text-align: center;
    display: block;
}
.header {
    position: absolute;
    top: 0;
    width: 100%;
    color: var(--white);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
}
.header-logo {
    max-width: 110px;
    z-index: 2001;
}
.header-logo-img {
}
.menu {
}
.menu-header {
}
.menu-list {
    
}
.header .container {
    position: relative;
}
.header__item:first-child {
    margin-right: auto;
  }
  
  .header-item:nth-child(2) {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none; /* Чтобы клики проходили сквозь */
  }
  
  .header-item:nth-child(2) > * {
    pointer-events: all; /* Восстанавливаем кликабельность содержимого */
  }
  
  .header-item:last-child {
    margin-left: auto;
  }
.header-menu-list {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}
.menu-item {
}
.header-menu-item {
    font-weight: 500;
    display: flex;
    flex-direction: column;
}
.header-tel-link {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2001;
}
.header-tel-ico {
}
.header-tel {
}
.mobile-menu-opener {
    display: none;
    max-width: 30px;
    width: 100%;
    height: 30px;
    padding: 4px;
    background: url(img/menu-opener.svg);
    position: relative;
    z-index: 2001;
}
.mobile-menu-opener.active {
    background: url(img/menu-close.svg);
}
.mobile-menu {
    position: fixed;
    background-color: var(--white);
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 768px;
    height: 100vh;
    z-index: 2000;
    transition: right 0.3s ease;
}
.mobile-menu .menu-header {
    display: block;
    margin-top: 130px;
}
.mobile-menu .header-menu-list {
    flex-direction: column;
}
.mobile-menu a {
    font-size: 20px;
}
.mobile-menu--open {
    right: 0;
}
.mobile-menu .header-item:nth-child(2) {
    position: static;
}
.mobile-menu .header-tel-link {
    display: flex;
    justify-content: center;
    margin-top: 35px;
    color: var(--accent);
}
.mobile-menu .header-tel-link img {
    display: none;
}




.offer {
    background: url("img/offer-bg.webp");
    padding-top: 120px;
    padding-bottom: 220px;
    color: var(--white);
}
.offer-text-wrapper {
    max-width: 1005px;
    margin-top: clamp(50px, 18vh, 145px);
}
.offer-title {
}
.offer-text {
    margin: clamp(20px, 5vh, 35px) 0 clamp(25px, 7vh, 50px);
    max-width: 75%;
}
.btn {
    font-size: 22px;
    border: 1px solid var(--accent);
    color: var(--white);
    background-color: var(--accent);
    stroke: var(--white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}
.offer-btn {
    border-radius: 100px;
    padding: 12px 30px;
}
   





.advantages {
    display: flex;
    justify-content: space-between;
    background-color: var(--white);
}
.advantages-img {
}
.advantages-img-wrapper {
    width: 50%;
    flex: 1 1;
}
.advantages-text-wrapper {
    padding: clamp(50px, 25vh, 110px) clamp(20px, 3.1vw, 70px) clamp(50px, 25vh, 110px) 20px;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: space-between;
   flex: 1 1;
}
.advantages-title {

}
.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.advantages-item {
    display: flex;
    gap: 20px;
}
.advantages-item-number {
    flex-shrink: 1;
    width: 100%;
    min-width: 44px;
    max-width: 88px;
}
.advantages-item-text-wrapper {
    flex-shrink: 1;
    max-width: 734px;
}
.advantages-item-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.advantages-item-text {
    font-size: 18px;
    font-weight: 400;
}


.production {
    /* background-color: ; */
    padding-top: 110px;
    padding-bottom: 55px;
}
.container {
}
.production-title {
    color: var(--white);
}
.production-list {
    display: flex;
    flex-wrap: wrap; /* Позволяет переносить элементы на новую строку */
    gap: 20px; /* Отступы между элементами */
    justify-content: center; /* или space-between, или flex-start */
}
.production-list-item {
    background-color: var(--white);
    stroke: var(--accent);
    color: var(--accent);
    flex: 1 1 553px; /* Ключевое свойство! */
    min-width: 0; /* Важно для правильного сжатия содержимого */
    max-width: calc(33.333% - 20px); /* Максимальная ширина для 3 в строку */
    transition: all 0.3s ease;
}
.production-list-item:nth-child(odd) {
    background-color: var(--accent);
    color: var(--white);
    stroke: var(--white);
    box-shadow: 0 1px 4px 0px rgba(23, 104, 183, 0.25);
}
.production-list-item:nth-child(odd):hover {
    box-shadow: 0 1px 4px 8px rgba(23, 104, 183, 0.25);
    border-radius: 5px;
}
.production-item-img {
    padding: 10px 10px 0 10px;
    border-radius: 1000px;
}
.production-item-title {
    font-size: 22px;
    font-weight: 600;
    padding: 0 30px;
    margin-bottom: 40px;
    margin-top: 30px;
}
.production-item-inner-wrapper {
    padding: 0 30px 30px 30px;
    display: flex;
    gap: 30px;
}
.production-item-text {
    font-size: 18px;
    max-width: 403px;
}
.production-item-btn {
    flex-grow: 1;
    max-width: max-content;
    width: 100%;
    
}
.production-item-btn svg {
    width: 100%;
}


.contacts {
    padding-top: 55px;
    margin-bottom: 80px;
    color: var(--accent);
}
.container {
}
.contacts-title {
    color: var(--white);
}
.contacts-outer-wrapper {
    display: flex;
    gap: 20px;
}
.contacts-left-wrapper {
    max-width: 553px;
    background-color: var(--white);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}
.contacts-list {
    display: flex;
    flex-wrap: wrap;justify-content: space-between;
    gap: 30px;
    padding: 20px;
}
.contacts-item {
    width: calc(50% - 20px);
    min-width: 205px;
}
.contact-title {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
}
.contact-info {
    font-weight: 500;
    font-size: 15px;
}
.contacts-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px;
    border-radius: 100px;
}
.contacts-btn svg {
    width: 60px;
    height: 60px;
}
.contacts-map-wrapper {
    max-width: 1127px;
}

.footer {
    padding-bottom: 50px;
    padding-top: 5px;
}
.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-logo-link {
}
.footer-logo {
}
.footer-right-wrapper {
    color: var(--white);
}
.footer-menu {
}
.footer-menu-list {
    display: flex;
    gap: 30px;
}
.footer-menu-item {
    display: flex;
    flex-direction: column;
}
.footer-menu-item-link {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 15px;
}
.footer-creditionals-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: end;
}
.footer-creditionals-wrapper.mobile {
    display: none;
}
.footer-creditional {
    font-weight: 500;
    font-size: 15px;
    opacity: 0.6;
}
@media (hover: hover) {
    .header-menu-item .line, .footer-menu-item .line {
        height: 1px;
        width: 1px;
        opacity: 0;
        margin-top: 3px;
        background-color: var(--white);
        transition: all 0.3s ease;
    }
    .header-menu-item:hover .line, .footer-menu-item:hover .line {
        width: 100%;
        opacity: 1;
    }
    .btn:hover {
        background-color: var(--white);
        color: var(--accent);
        stroke: var(--accent);
    }
    .production-list-item {
        transition: all 0.3s ease;
        box-shadow: 0 1px 4px 0px rgba(255, 255, 255, 0.25);
    }
    .production-list-item:hover {
        border-radius: 5px;
        box-shadow: 0 1px 4px 8px rgba(255, 255, 255, 0.25);
    }
    .production-list-item:nth-child(odd) {
        box-shadow: 0 1px 4px 0px rgba(23, 104, 183, 0.25);
    }
    .production-list-item:nth-child(odd):hover {
        box-shadow: 0 1px 4px 8px rgba(23, 104, 183, 0.25);
    }

}
@media(max-width: 1380px) {
    .advantages {
        flex-direction: column;
    }
    .advantages-img-wrapper {
        width: 100%;
        display: none;
    }
}
@media(max-width: 1024px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    .production-list-item {
        max-width: calc(50% - 20px);
    }
    .header-item:nth-child(2) {
        bottom: -25px;
    }
    .contacts-outer-wrapper {
        flex-direction: column;
    }
    .contacts-left-wrapper {
        max-width: 100%;
    }
    .contacts-btn svg {
        width: 30px;
        height: 30px;
    }
    .footer .container {
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    .footer-menu-list {
        flex-wrap: wrap;
    }
    .footer-logo-link {
        margin-bottom: 40px;
    }
    .footer-creditionals-wrapper {
        justify-content: start;
    }
}

@media(max-width: 768px) {
    .modal-popup {
        max-height: max-content;
    }
    .production-list-item {
        width: 100%;
        max-width: 553px;
        flex: none;
    }
    .menu-header {
        display: none;
    }
    .footer-creditionals-wrapper {
        display: none;
    }
    .footer-creditionals-wrapper.mobile {
        display: flex;
        color: var(--white);
        flex-wrap: wrap;
        justify-content: start;
        gap: 15px;
    }
    .production-item-inner-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .production-item-title {
        margin-bottom: 20px;
        margin-top: 30px;
    }
    .advantages-item {
        flex-direction: column;
    }
    .advantages-item-number {
        max-width: 44px;
    }
    .mobile-menu-opener {
        display: block;
    }
    .header-tel-link  {
        display: none;
    }
    .advantages-title {
        font-size: clamp(25px, 3.2vw, 60px);
    }
    .modal-popup {
        padding: 30px 15px;
    }
    .popup-title {
        font-size: 20px;
    }
    .popup-upper-text {
        font-size: 15px;
    }
}