body {
    font-family: "Oswald", sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #2c2c2c;
    font-weight: bold;
}

html {
    scroll-behavior: smooth; /* по желанию — плавная прокрутка */
    height: 100%;
}

img {
    image-rendering: auto;
    -ms-interpolation-mode: bicubic; /* для IE */
}

img,
picture,
canvas {
    image-rendering: smooth;
}



/* Скрыть скроллбар, но оставить прокрутку */

/* Chrome, Edge, Safari */
html::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* Firefox */
html {
    scrollbar-width: none;
}

/* IE и старый Edge */
html {
    -ms-overflow-style: none;
}

.logo {
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 80px;
    height: 80px;
    padding: 10px;
    margin-right: -20px;
}

.contact p {
    margin: 0;
    line-height: 1.2;
}

.top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 2px solid #ccc;
    padding: 10px 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
}

.left-block {
    display: flex;
    align-items: center;
    gap: 30px; /* расстояние между логотипом и меню */
}


.top-bar nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #2c2c2c;
    font-weight: bold;
}


.hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 30px;
    margin-bottom: -10px;
}

/* затемнение картинки */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
}

/* текст поверх картинки */
.hero-text {
    position: relative;
    color: #fff;
    z-index: 1;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.buttons {
    margin-top: 130px;
    display: flex;
    gap: 120px;
    justify-content: center;
    flex-wrap: wrap;
}

.buttons button {
    max-width: 100%;
    width: 400px;
    padding: 20px 0;
    background: #ff5400;
    font-size: 30px;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    transition: transform 0.3s ease;
}

.buttons button:hover {
    background: #914f19;
    transform: scale(1.03);
}

.divider {
    width: 90%;
    margin: 60px auto;
    border: 2px solid #323232;
    border-radius: 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.divider-2 {
    margin: 30px auto;
    margin-top: -20px;
    margin-bottom: -40px;
    width: 90%;
    border: 2px solid #323232;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}


.why-us {
    text-align: center;
    padding: 20px;
    margin-top: -40px;
}

.reasons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.reason {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    width: calc(25% - 30px); /* 4 в строку */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.reason:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.reason img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

.reason p {
    font-size: 22px;
    color: #323232;
    margin: 0;
}

.why-us {
    margin-top: -50px;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 30px;
}


.why-us h2 {
    font-weight: bold;
    font-size: 64px;
    margin-top: -30px;
    margin-bottom: -20px;
}

.reason p {
    font-weight: bold;
    font-size: 36px;
    margin-top: 10px;
}

.about {
    padding: 20px;
    text-align: center;
}

.about h2 {
    font-size: 64px;
}

.about p {
    font-size: 40px;
    margin-top: -40px;
    margin-bottom: -35px;
}

.footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 24px;
}

.footer a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-top: 5px;
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
}

.cookie-banner--hidden {
    display: none;
}

.cookie-banner__content {
    width: 100%;
    max-width: 1100px;
    background: rgba(33, 37, 41, 0.96);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-banner__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.cookie-banner__link {
    color: #ff5400;
    text-decoration: underline;
}

.cookie-banner__btn {
    border: none;
    background: #ff5400;
    color: #212529;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
}

.privacy-policy {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.7;
    color: #222;
}

.privacy-policy h2 {
    margin-bottom: 24px;
    font-size: 32px;
}

.privacy-policy h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 22px;
}

.privacy-policy p {
    margin-bottom: 16px;
}

.privacy-policy ul {
    margin: 0 0 16px 20px;
    padding-left: 20px;
}

.privacy-policy li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .cookie-banner__btn {
        width: 100%;
    }
}

/* Ограничим ширину верхней панели */
.top-bar {
    background-color: #fff;
    padding: 10px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Контент внутри */
main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    box-sizing: border-box;
}

.ll {
    margin-top: -17px;
}

.catalog {
    margin-top: -30px;
}

.catalog-title {
    font-size: 64px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: -20px;
}

.catalog-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-top: -10px;
    margin-bottom: -20px;
}

.catalog-cards a {
    text-decoration: none;
    color: #fff;
}

.catalog-card {
    margin-bottom: 20px;
    width: 1200px;
    max-width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.catalog-card:hover {
    transform: scale(1.05);
}

.catalog-card::before {
    content: "";
    position: absolute;
    inset: 0;
}

.catalog-card p {
    position: relative;
    z-index: 1;
    margin: 0;
}

main {
    flex: 1;
}

.certificates {
    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
    border-radius: 30px;
    margin-bottom: 60px;
    margin-top: -40px;
}

.certificates h2 {
    font-size: 64px;
    font-weight: bold;
    margin-top: -40px;
    margin-bottom: 40px;
}

.certificate-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 100%;
    box-sizing: border-box;
}

.certificate-item {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(22% - 30px);
    max-width: 240px;
}

.certificate-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.certificate-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

html, body {
    margin: 0;
    padding: 0;
}


.contact-section {
    padding: 60px 20px;
    background-color: #ffffff;
  }
  
.contact-section h2 {
    text-align: center;
    font-size: 64px;
    color: #2c2c2c;
    margin-bottom: 50px;
    margin-top: -60px;
  }
  
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
  }
  
.contact-box {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
.contact-box:hover {
    transform: translateY(-5px);
  }
  
.contact-box h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
  }
  
.contact-box p {
    font-size: 18px;
    color: #555;
    margin: 0;
  }
  
.contact-box i {
    font-size: 24px;
    color: #ff5400;
    margin-bottom: 10px;
    display: block;
  }
  
.map-wrapper {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #ddd;
  }

.about-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 60px 20px;
    border-radius: 30px;
    text-align: center;
    margin-top: -60px;
}

.about-section h2 {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: -10px;
}

.about-description {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: -20px;
    color: #2c2c2c;
    font-weight: bold;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-section {
    margin-top: -20px;
}

.team-section h3 {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 40px;
}

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.team-member {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member p {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    color: #2c2c2c;
}

.team-member span {
    display: block;
    font-weight: normal;
    font-size: 20px;
    color: #555;
}


.machine-section {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 60px 20px;
    border-radius: 30px;
    text-align: center;
    margin-top: -125px;
}

.machine-section h2 {
    font-size: 63px;
    font-weight: bold;
    margin-bottom: 30px;
}

.machine-section h3 {
    font-size: 63px;
    font-weight: bold;
    margin-top: -20px;
    margin-bottom: 40px;
}

.main-image img {
    width: 500px;
    max-width: 100%;
    margin-bottom: 20px;
}


.sub-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.sub-images img {
    width: 210px;
    height: auto;
    border-radius: 10px;
}

.machine-description {
    font-size: 32px;
    line-height: 1.6;
    font-weight: bold;
    color: #2c2c2c;
    max-width: 1000px;
    width: 90%;
    margin: 0 auto 60px;
    margin-top: -30px;
    margin-bottom: -20px;
}

.calculator-form .check span {
    font-weight: bold;
    font-size: 20px;
    color: #555;
}

.calculator-form {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    font-size: 32px;
    font-weight: bold;
}

.calculator-form label {
    display: block;
    margin-bottom: 20px;
    font-size: 32px;
}

.slider-group {
    margin-top: 10px;
    margin-bottom: 30px;
}

.slider-group label {
    display: block;
    margin-bottom: 5px;
}

.calculator-form input[type="range"] {
    width: 100%;
}

.total-price {
    font-size: 32px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 50px;
}

.contact-button {
    padding: 15px 40px;
    font-size: 36px;
    background-color: #ff5400;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.contact-button a {
    text-decoration: none;
    color: #fff;
}

.contact-button:hover {
    transform: scale(1.05);
}

.sub-images img {
    width: 180px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, border 0.2s;
}

.sub-images img:hover {
    transform: scale(1.05);
    border: 2px solid #ff5400;
}

#mainDisplay {
    transition: opacity 0.3s ease;
}

.fade-out {
    opacity: 0;
}
.fade-in {
    opacity: 1;
}

.sub-images img {
    width: 180px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, border 0.2s;
    border: 2px solid transparent;
}

.sub-images img:hover {
    transform: scale(1.05);
}

.sub-images .active {
    border-color: #ff5400;
}


input[type="checkbox"] {
    accent-color: #ff5400;
    width: 18px;
    height: 18px;
    cursor: pointer;
}


input[type=range] {
    -webkit-appearance: none;
    height: 6px;
    background: #ccc;
    border-radius: 4px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #ff5400;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

input[type=range]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #ff5400;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.tax-group {
    margin-top: -10px;
    margin-bottom: 30px;
    text-align: left;
}

.tax-group label {
    display: block;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.tax-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #ff5400;
    font-size: 20px;
    background: #fff8f2;
    color: #2c2c2c;
    transition: border 0.3s ease;
}

.tax-group select:focus {
    outline: none;
    border-color: #ff5400;
}

.tax-note {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}


.tax-group option {
    color: #2c2c2c; /* цвет текста в выпадающем списке */
    background-color: #fff8f2; /* фон опций */
}

.select-group {
    margin-top: -10px;
    margin-bottom: 30px;
    text-align: left;
}

.select-group label {
    display: block;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.select-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #ff5400;
    font-size: 20px;
    background: #fff8f2;
    color: #2c2c2c;
    transition: border 0.3s ease;
}

.select-group select:focus {
    outline: none;
    border-color: #ff5400;
}

.select-group option {
    color: #2c2c2c;
    background-color: #fff8f2;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.our-works {
    padding: -70px 40px;
    background-color: #ffffff;
    text-align: center;
}

.our-works h2 {
    font-size: 64px;
    margin-bottom: 40px;
    color: #2c2c2c;
}

.work-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.work-card {
    width: 300px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
}

.work-card img,
.work-card video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.work-card p {
    padding: 15px;
    font-size: 16px;
    color: #2c2c2c;
}

.messages {
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
}

.alert {
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    margin-bottom: 10px;
}

.alert.success {
    background-color: #dff0d8;
    color: #3c763d;
}

.alert.error {
    background-color: #f2dede;
    color: #a94442;
}

.request-section {
    padding: 60px 20px;
    text-align: center;
}

.request-section h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.request-section p {
    font-size: 20px;
    margin-bottom: 40px;
}

.request-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.request-form input,
.request-form textarea {
    padding: 15px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

.request-form input:focus,
.request-form textarea:focus {
    border-color: #666;
}

.request-form button {
    padding: 15px;
    font-size: 20px;
    background-color: #ff5400;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.request-form button:hover {
    background-color: #f15202;
}

/* Успешное сообщение */
.messages .success {
    color: green;
    font-weight: bold;
    margin-top: 20px;
}

.checkbox-wrapper {
    margin-top: 20px;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
    cursor: pointer;
}

.checkbox-wrapper label {
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-wrapper a {
    color: #0056b3;
    text-decoration: underline;
}


/* ==================== МОБИЛЬНАЯ АДАПТАЦИЯ ==================== */
@media (max-width: 768px) {
    /* Общие стили */
    body {
        font-size: 12px;
    }

    /* Шапка */
    .top-bar {
        flex-direction: column;
        padding: 10px 15px;
        position: relative;
    }

    .left-block {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .logo img {
        width: 60px;
        height: 60px;
        padding: 5px;
    }

    .contact {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        font-size: 18px;
    }

    /* Навигация */
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 10px;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 10px 0;
        margin: 5px 0 !important;
        font-size: 18px;
    }

    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
    }

    /* Главный баннер */
    .hero {
        background-color: #fff;
        height: 400px;
        border-radius: 20px;
        margin-bottom: 0;
        overflow: hidden;
    }

    .hero::before {
        border-radius: 0;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .buttons {
        margin-top: 80px;
        gap: 2px;
    }

    .buttons button {
        width: 300px;
        padding: 15px 0;
        font-size: 20px;
    }

    /* Блок "Почему мы" */
    .why-us {
        text-align: center;
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .why-us h2 {
        margin-top: 5px;
        font-size: 36px;
        margin-bottom: -10px;
        text-align: center;
        width: 100%;
    }
    
    .reasons {
        display: flex;
        flex-direction: column;
        align-items: center; /* Центрируем элементы по горизонтали */
        gap: 20px;
        width: 100%;
    }
    
    .reason {
        width: 100%;
        max-width: 300px; /* Фиксируем максимальную ширину */
        padding: 20px;
        text-align: center; /* Центрируем текст внутри */
        box-sizing: border-box;
    }
    
    .reason img {
        margin: 0 auto; /* Центрируем иконки */
        display: block;
    }
    
    .reason p {
        text-align: center;
        margin-top: 15px;
    }

    /* О нас */
    .about h2 {
        margin-top: 50px;
        font-size: 36px;
    }

    .about p {
        font-size: 18px;
        margin-top: -5px;
        margin-bottom: -30px;
    }

    /* Наши работы */
    .our-works h2 {
        font-size: 36px;
        margin-top: -10px;
    }

    .work-gallery {
        flex-direction: column;
        align-items: center;
    }

    .work-card {
        width: 100%;
        max-width: 350px;
    }

    /* Каталог */
    .catalog-title {
        font-size: 36px;
        margin-top: 30px;
    }

    .catalog-card {
        height: 180px;
        font-size: 22px;
    }

    /* Контакты */
    .contact-section h2 {
        font-size: 36px;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-box {
        width: 100%;
        padding: 20px;
        height: auto;
    }

    .contact-box h3 {
        font-size: 24px;
    }

    .contact-box p {
        font-size: 20px;
    }

    /* О компании */
    .about-section h2 {
        font-size: 36px;
    }

    .about-description {
        font-size: 18px;
    }

    .team-section h3 {
        font-size: 36px;
    }

    /* Страница техники */
    .machine-section {
        margin-top: -60px;
        padding: 30px 15px;
    }

    .machine-section h2, 
    .machine-section h3 {
        font-size: 36px;
    }

    .main-image img {
        width: 100%;
    }

    .sub-images {
        gap: 10px;
    }

    .sub-images img {
        width: 100px;
    }

    .machine-description {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .calculator-form {
        font-size: 18px;
    }

    .calculator-form label,
    .tax-group label,
    .select-group label {
        font-size: 20px;
    }

    .total-price {
        font-size: 20px;
    }

    .contact-button {
        font-size: 20px;
        padding: 12px 25px;
    }

    /* Подвал */
    .footer {
        font-size: 16px;
        padding: 15px;
    }

    .hero-text {
        padding: 0 15px;
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-text p {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 30px;
    }
    
    .buttons {
        margin-top: 50px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .buttons button {
        width: 100%;
        max-width: 350px;
        padding: 12px 0;
        font-size: 18px;
    }
    
    /* Дополнительно для контактов в шапке */
    .contact {
        font-size: 16px;
        margin-top: 15px;
        line-height: 1.4;
    }
    
    .contact p {
        margin: 5px 0;
    }

    /* Мобильная версия каталога */
    .catalog {
        padding: 20px 15px;
        margin-top: -60px;
    }

    .catalog-title {
        font-size: 28px;
        margin-bottom: -20px;
        text-align: center;
    }

    .catalog-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin: -20px auto;
        max-width: 100%;
    }

    .catalog-card {
        width: 100%;
        max-width: 400px;
        height: 200px;
        margin: 0;
        background-size: cover;
        background-position: center;
        border-radius: 15px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .catalog-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.4);
    }

    .catalog-card a {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .catalog-card p {
        position: relative;
        color: white;
        font-size: 22px;
        text-align: center;
        padding: 0 15px;
        z-index: 1;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        margin: 0;
    }

    .hero .buttons {
        margin-top: 10px;
        gap: 0px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero .buttons button,
    .hero .buttons a {
        width: 100%;
        max-width: 300px;
        padding: 16px 0;
        font-size: 18px;
    }
    
    .hero .buttons a {
        display: block;
        text-decoration: none;
    }
    
    .hero-text {
        width: 90%;
        margin: 0 auto;
    }

    .contact-section {
        padding: 20px 15px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center; /* Центрируем по горизонтали */
        justify-content: center; /* Центрируем по вертикали */
        gap: 20px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0;
    }
    
    .contact-box {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 12px;
        margin-bottom: -40px;
    }
    
    .contact-box i {
        display: block;
        margin: 0 auto 10px;
        font-size: 30px;
        color: #526a0b;
    }
    
    .contact-box h3 {
        font-size: 20px;
    }
    
    .contact-box p {
        font-size: 16px;
        margin: 0;
        word-break: break-word;
    }
    
    .map-wrapper {
        margin-top: 30px;
        border-radius: 12px;
        overflow: hidden;
        height: 400px;
    }

    .contact-section h2 {
        margin-top: -20px;
    }
    
    .about-section {
        width: 100%;
        padding: 20px 15px;
        box-sizing: border-box;
        margin: 0;
        overflow: hidden;
    }
    
    .about-section h2 {
        margin-top: -20px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .about-description {
        width: 100%;
        max-width: 768px;
        font-size: 16px;
        line-height: 1.6;
        padding: 0 5px;
    }
    
    .team-section h3 {
        font-size: 24px;
    }
    
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .team-member {
        width: 100%;
        max-width: 280px;
    }
    
    .team-member img {
        object-fit: cover;
    }

    .about-description {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
        margin: 0 auto;
        font-size: 16px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        text-align: left;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
    }

    .machine-section {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .machine-section h2, 
    .machine-section h3 {
        font-size: 24px;
        text-align: center;
        margin: 20px 0;
    }
    
    .km {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .main-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .main-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    .sub-images {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin: 15px 0;
        width: 100%;
    }
    
    .sub-images img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 5px;
        cursor: pointer;
        border: 2px solid transparent;
    }
    
    .sub-images .active {
        border-color: #526a0b;
    }
    
    .machine-description {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 10px;
        text-align: justify;
        word-break: break-word;
        hyphens: auto;
    }
    
    .calculator-form {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
    }
    
    .tax-group, .slider-group, .check {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .check label {
        display: block;
        margin-bottom: 10px;
        font-size: 16px;
    }
    
    .check span {
        font-size: 14px;
    }
    
    .slider-group label {
        font-size: 16px;
        display: block;
        margin-bottom: 5px;
    }
    
    input[type="range"] {
        width: 100%;
    }
    
    .total-price {
        font-size: 18px;
        text-align: center;
        margin: 20px 0;
    }
    
    .contact-button {
        width: 100%;
        padding: 12px;
        font-size: 18px;
    }
    
    .fade-out {
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .fade-in {
        opacity: 1;
        transition: opacity 0.3s;
    }
}

/* Гамбургер-меню (добавить в HTML) */
.menu-toggle {
    display: none;
}