* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: "Noto Sans", sans-serif;
   outline: none;
}
html {
   height: 100%;
   scroll-behavior: smooth;
}
body {
   display: flex;
   flex-direction: column;
   min-height: 100%;
   font-weight: 400;
}
main {
   flex: 1 1 auto;
}
img {
   display: block;
   max-width: 100%;
}
a {
   font-size: 14px;
   text-decoration: none;
   color: var(--color-gray-dark-medium);
}
p {
   font-size: 14px;
   color: var(--color-gray-dark-medium);
}
address {
   font-style: normal;
}
h2,
.h2 {
   margin-bottom: 50px;
   font-family: "Museo Sans Cyrl", sans-serif;
   font-weight: 900;
   font-size: 30px;
   color: var(--color-gray-dark-medium);
}
h3,
.h3 {
   margin-bottom: 15px;
   font-weight: 700;
   font-size: 14px;
   color: var(--color-dark);
}
button {
   border: 0;
   background: transparent;
   font-size: 15px;
}

:root {
   --container: calc(1600px + var(--container-padding-x) * 2);
   --container-width: 1600px;
   --container-padding-x: 15px;
   --color-red-dark-medium: #A42220;
   --color-light: #FFF;
   --color-gray-dark-medium: #444444;
   --color-gray-light: #F5F5F6;
   --color-dark: #1E1E1E;
   --color-dark-20: rgba(0, 0, 0, 0.2);
   --section-column-gap: 35px;
   --transition-fast: 250ms;
   --opacity-70: 0.7;
}

.container {
   max-width: var(--container);
   margin: 0 auto;
   padding: 0 var(--container-padding-x);
}
.default-button {
   display: flex;
   align-items: center;
   justify-content: center;
   height: 60px;
   padding: 10px 15px;
   font-weight: 700;
   background-color: var(--color-red-dark-medium);
   color: var(--color-light);
   cursor: pointer;
   transition: var(--transition-fast);
}
.default-button:hover {
   opacity: var(--opacity-70);
}
.section {
   padding: 60px 0;
}

.grid {
   display: -ms-grid;
   display: grid;
   gap: 85px var(--section-column-gap);
}
.grid.grid-item-2 {
   grid-template-columns: repeat(auto-fit, minmax(min(540px, 100%), 1fr));
}
.grid.grid-item-3 {
   grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
}
.grid.grid-item-4 {
   grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.item-image img {
   width: 100%;
   object-fit: cover;
}
.item-image img:not(:last-child) {
   margin-bottom: 40px;
}
.item-image ul {
   padding-left: 20px;
}
.item-text {
   display: flex;
   flex-direction: column;
   justify-content: center;
   padding: 50px;
   background-color: var(--color-light);
}

.form-field:not(:last-child) {
   margin-bottom: 10px;
}
.form-field textarea,
.form-field input[type="text"] {
   width: 100%;
   padding: 10px 15px;
   font-size: 16px;
   color: #1E1E1E;
   background: var(--color-gray-light);
   border: 1px solid var(--color-dark-20);
   transition: var(--transition-fast);
}
.form-field textarea {
   resize: none;
   min-height: 140px;
}
.form-field textarea:hover,
.form-field textarea:focus,
.form-field input[type="text"]:hover,
.form-field input[type="text"]:focus {
   border-color: var(--color-gray-dark-medium);
}
.form-field .form-field-name {
   display: block;
   margin-bottom: 5px;
   font-size: 14px;
}
.form-field.error textarea,
.form-field.error input[type="text"] {
   border-color: red;
}

.alert {
   margin-top: 20px;
   text-align: center;
   padding: 10px;
}
.alert-error {
   color: #721c24;
   background-color: #f8d7da;
   border-color: #f5c6cb;
}
.alert-success {
   color: #155724;
   background-color: #d4edda;
   border-color: #c3e6cb;
}
.alert-info {
   color: #0c5460;
   background-color: #d1ecf1;
   border-color: #bee5eb;
}

header {
   padding: 30px var(--container-padding-x);
}
header .header-inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 20px;
}
header .header-menu ul {
   display: flex;
   align-items: center;
   gap: 40px;
   list-style-type: none;
}
header .header-menu ul li {
   text-align: center;
}
header .header-menu a {
   font-weight: 600;
}
header .default-button {
   max-width: 220px;
}
@media (max-width: 1280px) {
   header .header-menu ul {
      gap: 10px 20px;
   }
}

.banner img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}
.banner .swiper-slide {
   height: auto;
}

.information {
   background-color: var(--color-gray-light);
}
.information .h2 {
   margin-bottom: 15px;
   max-width: 400px;
}
.information p {
   max-width: 800px;
}

.development-postprocessor {
   background-color: var(--color-gray-light);
}

.production-equipment {
   background-color: var(--color-gray-light);
}
.production-equipment .item {
   display: flex;
}
@media (min-width: 1025px) {
   .production-equipment .item:nth-child(even) {
      flex-direction: row-reverse;
   }
   .production-equipment .item-image,
   .production-equipment .item-text {
      width: 50%;
   }
   .production-equipment img {
      height: 100%;
   }
}
@media (max-width: 1024px) {
   .production-equipment .item {
      flex-direction: column;
   }
}

.engineering-services {
   overflow: hidden;
}
.engineering-services .items {
   display: -ms-grid;
   display: grid;
   -ms-grid-columns: 1fr var(--section-column-gap) 1fr var(--section-column-gap) 1fr;
   grid-template-columns: repeat(3, 1fr);
   column-gap: var(--section-column-gap);
}
.engineering-services .item-image img {
   height: 100%;
}
.engineering-services .engineering-services-order {
   position: relative;
   display: flex;
   flex-direction: column;
   justify-content: center;
   gap: 45px;
   padding: 35px 0;
}
.engineering-services .engineering-services-order > * {
   max-width: 240px;
}
.engineering-services .engineering-services-order h2 {
   margin-bottom: 0;
}
.engineering-services .engineering-services-address {
   position: relative;
   display: flex;
   flex-direction: column;
   justify-content: center;
   gap: 25px;
   height: fit-content;
   padding: 80px 0 80px 50px;
}
.engineering-services .engineering-services-address address {
   display: flex;
   flex-direction: column;
   gap: 5px;
}
.engineering-services .engineering-services-email {
   text-decoration: underline;
}
.engineering-services .engineering-services-order::before,
.engineering-services .engineering-services-address::before {
   content: '';
   position: absolute;
   top: 0;
   width: calc(100% + ((100vw - var(--container-width)) / 2));
   height: 100%;
   background-color: var(--color-gray-light);
   z-index: -1;
}
.engineering-services .engineering-services-order::before {
   right: 0;
}
.engineering-services .engineering-services-address::before {
   left: 0;
}
@media (max-width: 1630px) {
   .engineering-services .engineering-services-order::before,
   .engineering-services .engineering-services-address::before {
      width: calc(100% + var(--container-padding-x));
   }
}

footer {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 0 0 60px;
}
footer a {
   text-decoration: underline;
}


.header-menu-mobile{
   display: none;
}


.default-button .mobile-text{
   display: none;
}



@media (max-width: 1024px) {
   header .default-button {
      margin-left: auto;
   }
   .header-menu{
      display: none;
   }
   .header-menu-mobile{
      display: block;
   }

   .engineering-services .items {
      grid-template-columns: 1fr;
      gap: 35px;

   }


/* Стили для мобильного меню */
.burger-checkbox-kolwiek {
   position: absolute;
   visibility: hidden;
}

.burger-kolwiek {
   position: relative;
   z-index: 3;
   cursor: pointer;
   display: block;
   background: transparent;
   width: 24px;
   height: 18px;
   border: none;

}

.burger-kolwiek::before,
.burger-kolwiek::after {
   content: '';
   left: 0;
   position: absolute;
   width: 100%;
   height: 2px;
   border-radius: 10px;
   background: #000;
}

.burger-kolwiek::before {
   top: 0;
   box-shadow: 0 8px 0 #000;
   transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
}

.burger-kolwiek::after {
   bottom: 0;
   transition: bottom 0.3s 0.15s, transform 0.3s;
}

.burger-checkbox-kolwiek:checked + .burger-kolwiek::before {
   top: 8px;
   transform: rotate(45deg);
   box-shadow: 0 5px 0 rgba(0,0,0,0);
   transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
}

.burger-checkbox-kolwiek:checked + .burger-kolwiek::after {
   bottom: 8px;
   transform: rotate(-45deg);
   transition: bottom 0.3s, transform 0.3s 0.15s;
}

.menu-list-kolwiek {
   z-index:2;
   position: absolute;
   top: 0;
   left: 0;
   display: grid;
   gap: 12px;
   padding: 105px 0;
   margin: 0;
   background: white;
   list-style: none;
   transform: translateX(-100%);
   transition: transform 0.3s;
   width: 100%;
}

.menu-item-kolwiek {
   display: block;
   padding: 8px;
   color: #444444;
   font-size: 14px;
   font-family: "Noto Sans", sans-serif;
   text-align: center;
   text-decoration: none;
}

.menu-item-kolwiek:hover {
   background: rgba(255, 255, 255, 0.2);
}

.burger-checkbox-kolwiek:checked ~ .menu-list-kolwiek {
   transform: translateX(0);
}


.logo-menu-wrapper {
   display: flex;
   gap: 20px;
   flex-direction: column;
}

.logo-menu-wrapper img{
   width: 88px;
}


   .engineering-services .engineering-services-order::before,
   .engineering-services .engineering-services-address::before {
      width: calc(100%);
   }

   .engineering-services .engineering-services-address,
   .item.engineering-services-order{
      padding: 20px ;
   }

   .default-button .desktop-text{
      display: none;
   }
   .default-button .mobile-text{
      display: block;
   }

   .default-button{
      height: 40px;
   }

   






   }



