@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap');


.oswald-<uniquifier> {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}


.montserrat-<uniquifier> {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}


:root {
    --primary: #417EA4;
    --primary-dark: #2F5E7D;
    --text-dark: #1F2A33;
    --gray-bg: #F6F8FA;
    --color_white: #FFFFFF;
    --color-grey: #6B7C87;
    --color-grey-bg: #E8F2F7;
    --color-acent: #F28C38;
    --wght-normal: 400;
    --wght-bold: 700;

}


/* 1. Глобальный сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. Убираем overflow с html и body - ЭТО ВАЖНО */
html {
    max-width: 100%;
    /* overflow-x: hidden; - УБИРАЕМ ОТСЮДА */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: white;
    line-height: 1.6;
    max-width: 100%;
    /* overflow-x: hidden; - УБИРАЕМ ОТСЮДА */
    position: relative;
}

/* 3. Создаем обертку для всего контента */
.page-wrapper {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 4. Меню остается sticky */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}




h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

.section-padding {
    padding: 90px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.bg-gray {
    background-color: var(--gray-bg);
}

/* Header / Navbar */
.navbar {
    background-color: var(--primary);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 5px 0;
    columns: var(--color_white);
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link a {
    font-weight: 500;
    color: var(--color_white);
    transition: color 0.3s ease;
}

.nav-link {
    color: var(--color_white);
    text-transform: uppercase;
    fonf-weight: var(--wght-bold);
}

.nav-item .nav-link:hover {
    color: var(--text-dark);
}



.phone_top {
    color: var(--color_white);
    font-weight: 500;
    padding: 8px 15px;
    font-size: 1.6rem;
    font-family: "Oswald", sans-serif;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.phone_top:hover {
    color: var(--color-acent);
    background-color: var(--primary-dark);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 12px;
}

.lang-switcher__link {
    color: var(--color_white);
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-size: 1rem;
    line-height: 1;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.lang-switcher__link:hover,
.lang-switcher__link.is-active {
    background-color: var(--color_white);
    color: var(--primary);
    border-color: var(--color_white);
}

/* Hero Section */
.hero {
    background: url(../img/hero_bg.jpg);
    padding: 130px 0 80px;
}

.hero h1 {
    font-size: 48px;
    font-weight: var(--wght-bold);
    color: var(--color_white);
    margin-bottom: 20px;
}

.hero h3 {
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-weight: var(--wght-normal);
    margin-bottom: 30px;
    color: var(--color_white);
    font-family: 'Montserrat', sans-serif;
}

.hero-card {
    height: 100%;
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-3px);
}

.hero-card i {
    font-size: 40px;
    color: var(--color_white);
    margin-bottom: 15px;
}

.hero-card h4 {
    font-size: 20px;
    color: var(--color_white);
    font-weight: var(--wght-normal);
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
}

.hero-card-icon {
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 20px;
}



/* About section */
.about_title {
    font-size: 3rem;
    font-weight: var(--wght-bold);
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.about-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-height: 300px;
    background: var(--gray-bg);
    padding: 25px 25px;
    border: var(--color-grey) 1px solid;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.about-card:hover {
    background-color: var(--primary);
    transform: translateY(5px);
    box-shadow: 0 8px 25px rgba(65, 126, 164, 0.12);
    color: white;
}

.about-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-card-icon img {
    width: 80px;
    height: auto;
}

.about-card:hover .about-card-icon img {
    filter: brightness(0) invert(1);
}

.about-card-content h4 {
    font-size: 1rem;
    font-weight: var(--wght-bold);
    margin-bottom: 8px;
    color: var(--text-dark);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.about-card-content p {
    font-size: 0.9rem;
    line-height: 1.3 rem;
    margin-top: 10px;
    color: var(--text-dark);
}

.about-card:hover .about-card-content h4,
.about-card:hover .about-card-content p {
    color: white;
}

@media (max-width: 768px) {
    .about-card {
        padding: 18px 15px;
    }

    .about-card-icon {
        width: 50px;
        height: 50px;
    }

    .about-card-icon svg {
        width: 26px;
        height: 26px;
    }

    .about-card-content h4 {
        font-size: 16px;
    }

    .about-card-content p {
        font-size: 13px;
    }
}



/* Why Choose Us Cards */

.why-choose-us {
    background-color: var(--primary);
    color: var(--color_white)
}

.why-title h2 {
    font-size: 3rem;
    font-weight: var(--wght-bold);
    color: var(--color_white);
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.why-card {
    background: none;
    padding: 45px 20px 30px;
    text-align: left;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid white;
    color: var(--color_white);
    position: relative;
    min-height: 350px;
}

.why-card-title h4 {
    font-size: 3rem;
    font-weight: var(--wght-bold);
    margin-bottom: 12px;
    color: var(--color_white);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
}

.why-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--color_white);
    padding-bottom: 50px;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(65, 126, 164, 0.15);
}

.why-card-icon {
    width: 80px;
    height: 80px;
    background: var(--color-acent);
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: background-color 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Hover effect: фон темнеет, иконка становится белой */

.why-card:hover {
    background-color: var(--color_white);
}

.why-card:hover p,
.why-card:hover h4 {
    color: var(--primary);
}

.why-card:hover .why-card-icon {
    background-color: var(--primary-dark);
}

.why-card:hover .why-card-icon img {
    filter: brightness(0) invert(1);
}

.why-card-icon img {
    width: 40px;
    height: 40px;
    display: block;
    transition: filter 0.3s ease;
}



/* Адаптив для планшетов */
@media (max-width: 991px) {
    .why-card {
        padding: 25px 15px 20px;
    }

    .why-card-icon {
        width: 70px;
        height: 70px;
    }

    .why-card-icon img {
        width: 35px;
        height: 35px;
    }

    .why-card h4 {
        font-size: 16px;
    }

    .why-card p {
        font-size: 13px;
    }
}


/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: var(--wght-bold);
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}







/* Partners */

.partners-row {
    row-gap: 50px;
}

.partner-item {
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.partner-item img {
    max-width: 100%;
    height: auto;

    z-index: 1;
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(65, 126, 164, 0.1);
}

.partner-item h5 {
    font-size: 18px;
    font-weight: var(--wght-normal);
    margin: 0;
    color: var(--text-dark);
}

.partner-info {
    position: absolute;
    background: #fff;
    bottom: -20px;
    left: auto;
    right: auto;
    padding: 10px 15px;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(29, 44, 53, 0.6);
}








/* SEO Section */
.text-primary-custom {
    color: var(--primary-dark);
}

.seo-title {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: var(--wght-bold);
    color: var(--primary);
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.seo-section {
    background-color: var(--color-grey-bg);
    padding: 60px 0;
}

/* Стилизация аккордеона */
.seo-section .accordion-item {
    overflow: hidden;
}

.seo-section .accordion-button {
    font-weight: var(--wght-regular);
    color: var(--text-dark);
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    background-color: #fff;
    padding: 1.25rem;
}

.seo-section .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: var(--primary-dark);
    box-shadow: none;
}

.seo-section .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

/* Иконка плюса/крестика (опционально) */
.seo-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234a86a8'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
}

.seo-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transform: rotate(0deg);
}

/* Кнопка спойлера */
.btn-link {
    color: var(--main-blue);
    cursor: pointer;
    font-size: 1.2rem;
}


.brand-section-title h2 {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: var(--wght-bold);
    color: var(--color_white);
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.brand-section {
    background-color: var(--primary);
    color: var(--color_white);
}

.brand-section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.brand-text {
    max-width: 50%;
}

.brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;

}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    padding-bottom: 59px;
}

.swiper-slide {
    background: var(--color_white);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 20px;
}

.swiper-pagination-bullet {
    min-height: 20px;
    min-width: 20px;
    background-color: var(--color_white);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-dark);
}


.brand-item {
    cursor: pointer;
    transition: 0.3s;
}

.brand-item:hover {
    transform: scale(1.05);
    opacity: 0.9;
    background: var(--primary);
    transform: scale(1.08);
}

.brand-modal-logo {
    max-height: 80px;
    margin-bottom: 15px;
}

.modal-body ul {
    padding-left: 30px;
}

.modal-body li {
    margin-bottom: 2px;
}




/* секция продукция  */

.section-products {
    background: var(--color-grey-bg);
}

.product-img img {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    padding-top: 20px;

}

.product-title {
    font-size: 3rem;
    font-weight: var(--wght-bold);
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

.section-header-products {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: flex-start;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.prod-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #4F7F9B;
    color: #fff;
    padding: 3px 16px;
    text-decoration: none;
    font-size: 16px;
    font-weight: var(--wght-bold);
    transition: 0.25s;
}

.prod-title {
    font-weight: var(--wght-normal);
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    text-decoration: none;
}

.prod-card-link {
    text-decoration: none;
}

.prod-card-link :hover {
    opacity: 0.9;
}


.prod-btn::after {
    content: "→";
    font-size: 22px;
    transition: 0.25s;
}

.prod-btn:hover {
    background: #3f6f8a;
}

.prod-btn:hover::after {
    transform: translateX(5px);
}


.potolki-section {
    background: url(../img/potolki_bg.jpg);
}

.potolki-list {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--color_white);
    font-size: 1.1rem;
    line-height: 1.6;
}

.potolki-title {
    color: var(--color_white);
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    font-size: 3rem;
}

.potolki-subtitle {
    display: flex;
    align-items: center;
    padding-top: 10px;
    gap: 20px;
    color: var(--color_white);
}

.btn-potolki {
    background-color: var(--color-acent);
    color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-radius: 0;
    font-weight: 600;
}

.btn-potolki :hover {
    background: var(--color-acent-hover);
    color: white;
    border: 2px solid white;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 50px 0 20px;
}

.footer h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--color_white);
    font-family: 'Montserrat', sans-serif;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary);
}

.copyright {

    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}

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

    .section-padding {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header-products {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .brand-section-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 30px;
        flex-direction: column;
    }

    .brand-text {
        max-width: 100%;
    }

    .hero {
        padding: 60px 0 30px;
    }

    .hero-card {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .hero h3 {
        font-size: 1.2rem;
        line-height: 1.6rem;
        margin-bottom: 10px;
    }

    .about_title {
        font-size: 2rem;
    }

    .about-card {
        padding: 12px 12px;
        min-height: auto;
        flex-direction: row;
    }

    .about-card-icon {
        width: 84px;
        height: 84px;
    }

    .about-card-content p {
        margin-bottom: 0px;
    }

    .why-title h2 {
        font-size: 2rem;
    }

    .why-card {
        min-height: 150px;
    }

    .potolki-subtitle {
        display: flex;
        align-items: flex-start;
        padding-top: 10px;
        gap: 20px;
        color: var(--color_white);
        flex-direction: column;
        align-content: flex-start;
    }
}


/* Адаптив для мобильных */
@media (max-width: 576px) {
    .why-card {
        padding: 20px 15px;
    }

    .why-card-icon {
        width: 60px;
        height: 60px;
        bottom: 0;
        right: 0;
        left: auto;
    }

    .why-card-icon img {
        width: 30px;
        height: 30px;
    }

    .why-card h4 {
        font-size: 22px;
    }

    .why-card p {
        font-size: 16px;
        max-width: 80%;
        padding-bottom: 0px;
    }

    .partner-item h5 {
        font-size: 14px;
    }

    .partner-info {
        bottom: -30px;
        width: 90%;
    }

    .section-header {
        text-align: center;
        margin-bottom: 20px;
    }

    .brand-section-title h2 {
        font-size: 2rem;
        margin-bottom: 0px;
    }

    .phone_top {
        color: var(--color_white);
        font-weight: 400;
        padding: 4px;
        font-size: 1rem;
        font-family: "Oswald", sans-serif;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .navbar-brand img {
        max-height: 30px;
        width: auto;
        padding: 0px;
    }

    .footer-text {
        text-align: center;
    }

    .top-logo-container {
        display: flex;
        justify-content: space-between;
        width: 80%;

    }

    .lang-switcher {
        display: none;
    }

    .lang-switcher_mob {
        display: block;
        position: relative;
        color: white;
        text-decoration: none;
        top: 5px;
    }

    .lang-switcher__link {
        padding: 6px 8px;
        font-size: 0.95rem;
    }

    .navbar-toggler {
        position: fixed;
        right: 24px;
        top: 6px;
        padding: 1px 10px;
    }


}