/* --- Общие стили --- */
html {
    /* 1rem = 10px */
    font-size: 62.5%; 
}

body {
    font-family: -apple-system, BlinkMacMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
    font-size: 1.6rem; /* Базовый размер шрифта: 16px */
}

/* Сброс отступов и box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 140rem; /* 1400px */
    margin: 0 auto;
    padding: 2.5rem 2rem; /* 25px 20px */
}

.padded-container {
    padding-left: 20%;
    padding-right: 20%;
}

h1, h2, h3, h4 {
    color: #212529;
    font-weight: 600;
}
h1 { font-size: 3.2rem; line-height: 1.2; }
h2 { font-size: 2.8rem; line-height: 1.3; }
h3 { font-size: 2.2rem; line-height: 1.4; }
h4 { font-size: 1.8rem; line-height: 1.5; }

p {
    font-size: 1.6rem;
    line-height: 1.5;
}

a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* --- Универсальные стили для кнопок --- */
.btn {
    background: #023689;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 1.5rem 2.5rem;
    border: none;
    color: #fff;
    transition: all .3s ease;
    text-align: center;
    border-radius: 0.5rem;
    display: inline-block;
    text-decoration: none;
}
.btn:hover {
    background: #0056b3;
    text-decoration: none;
}


/* --- Шапка и навигация --- */
.navbar {
    background-color: #ffffff;
    border-bottom: 0.1rem solid #e9ecef;
    padding: 2 rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-custom-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    max-width: 200rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Левая часть: Логотип + Название компании */
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #212529;
    flex-shrink: 0;
}
.logo-image { height: 5rem; width: auto; display: block; }
.company-name-text {
    /* СКОРРЕКТИРОВАНО: Увеличен размер, чтобы соответствовать ожиданиям (1.4em * 16px ≈ 22px) */
    font-size: 2.2rem; 
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.05rem;
}

/* Центральная часть: Меню */
#navbarNavDropdown {
    flex-grow: 1;
    justify-content: center;
    display: flex;
}
.navbar-nav {
    display: flex;
    justify-content: center;
    flex-grow: 0;
    margin-left: auto;
    margin-right: auto;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: #495057;
    transition: color 0.3s ease;
    /* СКОРРЕКТИРОВАНО: Увеличен padding и font-size, чтобы соответствовать ожиданиям */
    padding: 1.2rem 1.8rem;
    font-size: 1.8rem; 
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff;
}

/* Правая часть: Телефоны и Email */
.contact-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.phone-icon-header {
    height: 3rem;
    width: auto;
    display: block;
}
.contact-details {
    display: flex;
    flex-direction: column;
    text-align: right;
    /* СКОРРЕКТИРОВАНО: Увеличен размер (0.9em * 16px ≈ 14.4px, 1.6rem = 16px) */
    font-size: 1.6rem; 
}
.contact-details a {
    color: #343a40;
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
}
.contact-details a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* ДОБАВЛЕНО ИЗ ФАЙЛА 2: Стили для Яндекс.Информера */
.yandex-informer {
    margin-left: 4rem; /* 40px */
}

/* Стили для кнопки-гамбургера (для мобильных) */
.navbar-toggler {
    order: 1;
    margin-left: auto;
}


/* --- Секция Hero (главный баннер) --- */
/* ОБНОВЛЕНО ИЗ ФАЙЛА 2: Взяты стили (путь, cover, bottom, 50vh) из второго файла */
#hero-section {
    background-image: url('/img/test4.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    color: #ffffff;
    text-align: left;
    padding: 10rem 0;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50rem;
    height: 50vh;
    overflow: hidden;
}

/* Полупрозрачный оверлей для читаемости текста */
#hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 80rem;
}

#hero-section h1 {
    font-size: 3.2rem; /* Оставлен размер 3.2em = 32px из Файла 2 */
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
}

#hero-section p {
    font-size: 1.8rem; /* 1.2em = 19.2px. Оставим 1.8rem = 18px */
    margin-bottom: 3rem;
    color: #e9ecef;
}

/* Стили для кнопки в Hero секции */
#hero-section .btn { /* Изменен селектор, чтобы не конфликтовать с .btn-primary из Bootstrap */
    background-color: #007bff;
    border-color: #007bff;
}
#hero-section .btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}


/* --- Общие стили секций --- */
section { padding: 5rem 0; }
.section-title {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 5rem;
    color: #333;
}


/* --- Сетка продуктов на главной --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}
.product-card {
    background-color: #ffffff;
    border: 0.1rem solid #e9ecef;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 0.4rem 0.8rem rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.8rem 1.6rem rgba(0,0,0,0.1);
}
.product-card img {
    width: 100%;
    height: 22rem;
    object-fit: cover;
}
.product-card h3 {
    font-size: 2rem;
    margin: 1.5rem 1.5rem 1rem;
    color: #007bff;
}
.product-card p, .product-card ul {
    font-size: 1.5rem;
    color: #6c757d;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.product-card ul {
    text-align: left;
    padding-left: 3rem;
    list-style: disc;
}
.product-card ul li {
    margin-bottom: 0.5rem;
}

/* --- Секция "О нас" --- */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}
.about-content img {
    max-width: 45%;
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 0.8rem rgba(0,0,0,0.1);
}
.about-text { flex: 1; }
.company-profile h3 {
    font-size: 2rem;
    line-height: 1.4;
    color: #212529;
}
.company-profile ul {
    list-style: disc;
    padding-left: 2rem;
}
.company-profile li {
    margin-bottom: 1rem;
}


/* --- СТИЛИ ДЛЯ СТРАНИЦ ПРОДУКЦИИ (встроенные, rgm_content.html) --- */

.feature-section,
.content-section {
    padding: 6rem 0;
    background-color: #f8f8f8;
    margin-bottom: 2rem;
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.05);
}

.feature-section:nth-of-type(odd) {
    background-color: #ffffff;
}

.feature-section .section-title,
.content-section .section-title {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.feature-section .section-title::after,
.content-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background-color: #007bff;
    border-radius: 0.2rem;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

.production-intro-text p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Стили для списка продукции в две колонки (ИЗ ФАЙЛА 1, т.к. он лучше) */
.product-list-two-columns {
    display: flex;
    flex-wrap: wrap;
    padding-left: 2rem;
    margin: 0;
    gap: 1.5rem;
}

.product-list-two-columns li {
    flex: 1 1 calc(50% - 0.75rem);
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em;
    background-color: #e9f5ff;
    padding: 1.2rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    color: #222;
    border-left: 0.5rem solid #007bff;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.product-list-two-columns li:hover {
    transform: translateX(0.5rem);
    background-color: #d0e9ff;
}

.production-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.production-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 0.8rem;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.production-gallery a:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.15);
}

.production-gallery img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.production-gallery a:hover img {
    transform: scale(1.05);
}

.filter-buttons {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.filter-buttons button {
    background-color: #f0f0f0;
    color: #333;
    border: 0.1rem solid #ccc;
    padding: 1rem 2rem;
    border-radius: 2.5rem;
    cursor: pointer;
    font-size: 1.6rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.filter-buttons button:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}

.filter-buttons button.is-checked {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.grid-item {
    background-color: #fff;
    border: 0.1rem solid #eee;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-0.7rem);
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.15);
}

.grid-item img {
    width: 100%;
    height: 22rem;
    object-fit: cover;
    display: block;
}

.production-details h4 {
    font-size: 2.4rem;
    color: #333;
    margin-top: 4rem;
    margin-bottom: 2rem;
    border-bottom: 0.2rem solid #007bff;
    padding-bottom: 1rem;
}

.production-details ul {
    list-style: disc;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
}

.production-details ul li {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.production-details ul li b {
    color: #007bff;
}
.production-details h5 {
    color: #007bff;
    font-size: 1.8rem;
    margin-top: 2rem;
}


/* --- Контакты (секция) --- */
.contact-info {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.contact-info li {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.8rem;
    box-shadow: 0 0.2rem 0.4rem rgba(0,0,0,0.05);
}
.contact-info strong {
    display: block;
    color: #212529;
    margin-bottom: 0.5rem;
}

/* --- Подвал --- */
footer {
    text-align: center;
    padding: 3rem;
    background-color: #212529;
    color: #adb5bd;
    font-size: 1.4rem;
    margin-top: 4rem;
}

/* --- Класс .hidden --- */
.hidden {
    display: none;
}


/* --- ОБЩИЕ Адаптивность --- */
@media (max-width: 140rem) { /* 1200px */
    .container {
        padding: 2rem 1.5rem;
    }
    .navbar-custom-layout {
        max-width: 140rem;
    }
    .navbar-nav .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1.6rem; /* 16px */
    }
    .company-name-text {
        font-size: 2rem; /* 20px */
    }
    .contact-details {
        font-size: 1.4rem; /* 14px */
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Адаптивность для rgm_content.html */
    .feature-section,
    .content-section {
        padding: 5rem 0;
    }
    .feature-section .section-title,
    .content-section .section-title {
        font-size: 2.4rem;
    }
    .section-subtitle {
        font-size: 1.6rem;
    }
    .production-intro-text p,
    .product-list-two-columns li,
    .production-details ul li {
        font-size: 1.5rem;
    }
    .production-gallery,
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
        gap: 1rem;
    }
    .production-gallery img,
    .grid-item img {
        height: 18rem;
    }
}

@media (max-width: 99.2rem) { /* 992px (планшеты) */
    .padded-container {
        padding-left: 10%;
        padding-right: 10%;
    }
    #hero-section h1 { font-size: 3.2rem; }
    #hero-section p { font-size: 1.6rem; }
    .about-content, .rmg-content, .zmm-content { flex-direction: column; }
    .about-content img, .rmg-content img, .zmm-content img { max-width: 100%; }
    .catalog-frame { width: 95%; }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Шапка на планшетах */
    .navbar-custom-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 1.5rem;
    }
    .navbar-brand-custom, .contact-info-header {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .navbar-brand-custom {
        margin-bottom: 1rem;
    }
    .company-name-text {
        white-space: normal;
        font-size: 1.8rem;
    }
    .contact-info-header {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    .contact-details {
        text-align: left;
        font-size: 1.4rem;
    }
    .navbar-toggler {
        position: absolute;
        right: 1.5rem;
        top: 2rem;
        z-index: 1001;
    }
    /* Меню на мобильных (когда раскрыто) */
    #navbarNavDropdown {
        width: 100%;
        flex-direction: column;
        text-align: center;
        margin-top: 1rem;
        padding-bottom: 1rem;
        border-top: 0.1rem solid #eee;
    }
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    /* Адаптивность для rgm_content.html */
    .feature-section,
    .content-section {
        padding: 4rem 0;
    }
    .feature-section .section-title,
    .content-section .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
    .section-subtitle {
        font-size: 1.5rem;
    }
    .product-list-two-columns li {
        flex: 1 1 100%;
    }
    .production-gallery,
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
        gap: 0.8rem;
    }
    .production-gallery img,
    .grid-item img {
        height: 15rem;
    }
    .filter-buttons button {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }
    .production-details h4 {
        font-size: 2rem;
        margin-top: 3rem;
    }
}

@media (max-width: 76.8rem) { /* 768px (смартфоны) */
    .padded-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    #hero-section h1 { font-size: 2.8rem; }
    #hero-section p { font-size: 1.5rem; }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .logo-image { height: 4rem; }
    .company-name-text { font-size: 1.6rem; }
    .contact-info-header { font-size: 1.3rem; }
    .phone-icon-header { height: 2.5rem; }
    /* Адаптивность для rgm_content.html */
    .feature-section .section-title,
    .content-section .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    .section-subtitle {
        font-size: 1.4rem;
    }
    .filter-buttons {
        gap: 0.5rem;
    }
    .filter-buttons button {
        padding: 0.7rem 1.2rem;
        font-size: 1.3rem;
    }
    .production-gallery,
    .grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .production-gallery img,
    .grid-item img {
        height: 20rem;
    }
    .production-details ul {
        padding-left: 1.5rem;
    }
    .production-details h4 {
        font-size: 1.8rem;
    }
    /* Адаптивность для футера */
    .footer-contacts {
        padding: 6rem 0;
    }
    .footer-contacts h3 {
        margin-bottom: 2rem;
        font-size: 2.4rem;
    }
    .footer-content-wrapper {
        flex-direction: column;
        gap: 2.5rem;
    }
    .footer-contacts .contact-details {
        text-align: center;
        border-right: none;
        padding-right: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .footer-contacts .contact-details a {
        font-size: 1.6rem;
    }
    .btn#order {
        width: 100%;
        max-width: 30rem;
        font-size: 1.8rem;
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 48rem) { /* 480px (очень маленькие смартфоны) */
    .padded-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    #hero-section h1 { font-size: 2.4rem; }
    #hero-section p { font-size: 1.4rem; }
    .company-name-text { font-size: 1.4rem; }
    .logo-image { height: 3.5rem; }
    .contact-details { font-size: 1.2rem; }
    .phone-icon-header { height: 2rem; }
    .navbar-toggler {
        top: 1.5rem;
    }
    .section-title { font-size: 2.6rem; }
}

/* Переопределяем Bootstrap-стили для .navbar-toggler */
.navbar-custom-layout .navbar-toggler {
    order: 99;
    margin-left: auto;
}

/* --- Стили для модального окна --- */
.substate {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.substate.active {
    opacity: 1;
    visibility: visible;
}

.forma {
    max-width: 37.7rem;
    width: 90%;
    background: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 2.5rem;
    box-sizing: border-box;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.4rem;
    cursor: pointer;
    color: #333;
    transition: color 0.2s ease;
}
.close-modal:hover {
    color: #007bff;
}

.forma span {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    color: #343a40;
}

input[type="text"],
textarea {
    width: 100%;
    min-height: 4.5rem;
    margin-bottom: 2rem;
    padding: 1.2rem 1.5rem;
    border: 0.1rem solid #ced4da;
    border-radius: 0.4rem;
    box-sizing: border-box;
    font-size: 1.6rem;
    color: #495057;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea {
    min-height: 10rem;
    resize: vertical;
}
input[type="text"]:focus,
textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

input[type="submit"] {
    background: #007bff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 1.5rem 2.5rem;
    border: none;
    color: #fff;
    transition: background-color .3s ease, transform .2s ease;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0.4rem;
}

input[type="submit"]:hover {
    background: #0056b3;
    transform: translateY(-0.1rem);
}

/* --- FOOTER КОНТАКТЫ --- */
.footer-contacts {
    padding: 10rem 0rem;
    background: url(/wp-content/uploads/2025/08/bg-contacts.webp) center/cover no-repeat;
    color: #fff;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.dark-footer {
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.footer-contacts .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 110rem;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    z-index: 1;
}

.footer-contacts h3 {
    color: #fff;
    margin-bottom: 3rem;
    font-size: 3rem;
    text-shadow: 0 0.2rem 0.4rem rgba(0,0,0,0.3);
}

.footer-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    width: 100%;
    max-width: 80rem;
    margin-top: 1rem;
}

.footer-contacts .contact-details {
    line-height: 1.8;
    text-align: right;
    flex-shrink: 0;
    padding-right: 2.5rem;
    border-right: 0.1rem solid rgba(255, 255, 255, 0.4);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.footer-contacts .contact-details a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.footer-contacts .contact-details a:hover {
    color: #ff9900;
}

.btn#order {
    background: #007bff;
    font-size: 2rem;
    padding: 1.8rem 3rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.2);
}

.btn#order:hover {
    background: #0056b3;
    transform: translateY(-0.2rem);
    box-shadow: 0 0.4rem 0.8rem rgba(0,0,0,0.3);
}

/* --- Адаптивность для футера (перенесены и доработаны) --- */
@media (max-width: 76.8rem) {
    .footer-contacts {
        padding: 6rem 0;
    }
    .footer-contacts h3 {
        margin-bottom: 2rem;
        font-size: 2.4rem;
    }
    .footer-content-wrapper {
        flex-direction: column;
        gap: 2.5rem;
    }
    .footer-contacts .contact-details {
        text-align: center;
        border-right: none;
        padding-right: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .footer-contacts .contact-details a {
        font-size: 1.6rem;
    }
    .btn#order {
        width: 100%;
        max-width: 30rem;
        font-size: 1.8rem;
        padding: 1.5rem 2rem;
    }
}