@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

/* ================== GLOBAL ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* ================== SECTION TITLES ================== */

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
}

.section-subtitle {
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 85px;
}

/* ================== HERO ================== */
.welcome {
    position: relative;
    min-height: 100vh;
    background: url("./images/Backgroundimage.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.55) 100%);
}

.welcome > * {
    position: relative;
    z-index: 2;
}

/* HEADER */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
}

.header__inner {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo__text {
    font-weight: 700;
    font-size: 28px;
}

.header__nav {
    margin-left: auto;
}

.header__list {
    display: flex;
    gap: 36px;
    list-style: none;
}

.header__list a {
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    transition: 0.3s;
}

.header__list a:hover {
    opacity: 1;
}

.header__lang {
    display: flex;
    gap: 20px;
    margin-left: 55px;
}

.header__lang a {
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
}

.header__lang a:hover {
    opacity: 1;
}

/* HERO CONTENT */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
}

.welcome__text {
    text-align: center;
}

.welcome__title {
    animation: fadeUp 0.9s ease both;
    font-size: 50px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.6);
}

.welcome__narva {
    animation: fadeUp 0.9s ease 0.2s both;
    margin-top: 20px;
    margin-bottom: 70px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.2em;
    opacity: 0.7;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-top: 20px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome__narva::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

/* BUTTONS */
.buttons-container {
    animation: fadeUp 0.9s ease 0.4s both;
    display: flex;
    justify-content: center;
    gap: 28px;
}

.btn-custom {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 260px;
    padding: 14px 36px;
    height: 62px;
    background-color: #3587D9;
    color: white;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(53, 135, 217, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(53, 135, 217, 0.5);
    background-color: #2a75c7;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* ================== POPULAR GOODS ================== */
.popular-goods {
    background-color: #F5F3EF;
    padding: 80px 0;
    text-align: center;
    color: #333;
}
.promo-badge {
    display: inline-block;
    background: linear-gradient(270deg, #ff6b35, #f7c948, #ff6b35);
    background-size: 200% 200%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 10px 28px;
    border-radius: 40px;
    margin-bottom: 50px;
    text-transform: uppercase;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.slide-price {
    font-size: 20px;
    font-weight: 700;
    color: #3587D9;
    letter-spacing: 0.03em;
}

/* ================== SWIPER ================== */
.swiper {
    max-width: 745px;
    margin: 0 auto;
    --swiper-navigation-color: #444;
    --swiper-theme-color: #444;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 385px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    opacity: 0.9;
}

.slide-label {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 20px 50px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 18px;
    width: 80%;
    max-width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #444 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px !important;
    font-weight: 600;
}

.swiper-pagination {
    position: relative !important;
    margin-top: 35px;
}

.swiper-horizontal > .swiper-pagination-bullets {
    bottom: auto !important;
}

.swiper-pagination-bullets {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.swiper-pagination-bullet {
    width: 18px !important;
    height: 18px !important;
    background: #aaa !important;
    opacity: 1 !important;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    background: #333 !important;
}

/* ================== LUMBER SECTION ================== */
.lumber {
    background-color: #DED8D1;
    padding: 80px 0;
    text-align: center;
    color: #333;
}

.lumber-cards {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: nowrap;
}

.lumber-card {
    width: 300px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.lumber-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.lumber-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
}

.lumber-card__content {
    padding: 30px 25px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.lumber-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0;
}

.card-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #3587D9;
    text-decoration: none;
    transition: 0.3s ease;
    margin-top: 20px;
}

.card-link:hover {
    opacity: 0.7;
}

/* ================== CARPENTRY SECTION ================== */
.carpentry {
    background-color: #F5F3EF;
    padding: 80px 0;
    text-align: center;
    color: #333;
}

.carpentry-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.carpentry-item {
    width: 600px;
    max-width: 100%;
    height: 80px;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-decoration: none;
    color: #2a75c7;
    font-size: 22px;
    font-weight: 600;
    border: 1px solid #ddeaf8;
    box-shadow: 0 2px 12px rgba(53, 135, 217, 0.08);
    transition: all 0.25s ease;
}

.carpentry-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(53, 135, 217, 0.18);
    border-color: rgba(53, 135, 217, 0.5);
    color: #1a5faa;
}

.carpentry-item img {
    width: 36px;
    height: 36px;
    opacity: 0.6;
    transition: opacity 0.25s ease;
    flex-shrink: 0;
}

.carpentry-item:hover img {
    opacity: 1;
}

/* ================== ADDRESS SECTION ================== */

.address {
    background-color: #DED8D1;
    padding: 120px 0;
    color: #333;
}

.address-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    flex-wrap: wrap;
}

.address-image {
    flex: 0 0 460px;
    width: 460px;
    max-width: 100%;
}

.addressSwiper {
    width: 100%;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.addressSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.address-content {
    flex: 1;
    max-width: 550px;
}

.address .section-title {
    font-size: clamp(22px, 5vw, 36px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: #1C1C1C;
    line-height: 1;
}

.address .section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #E53935;
    border-radius: 2px;
    margin-top: 12px;
}

.address .section-subtitle {
    
    margin-bottom: 48px;

}

.address-item {
    display: flex;
    align-items: center;
    min-height: 70px;
    gap: 0;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.address-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.address-item p {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
    color: #333;
}

.pin {
    font-size: 22px;
    flex-shrink: 0;
    margin-right: 14px;
    margin-top: 0;
    line-height: 1;
    width: 28px;
    text-align: center;
}

.map-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 16px 36px;
    background: #E53935;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.25);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.map-button:hover {
    background: #d32f2f;
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.35);
    color: #fff;
}

.map-button::after {
    content: '→';
    font-size: 17px;
    transition: transform 0.3s ease;
}

.map-button:hover::after {
    transform: translateX(4px);
}

.addressSwiper .swiper-button-next,
.addressSwiper .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    z-index: 10;
}

.addressSwiper .swiper-button-next::after,
.addressSwiper .swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}

@media (max-width: 992px) {
    .address-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        flex-wrap: wrap;
    }

    .address-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 460px;
    }

    .address-item {
        justify-content: center;
    }

    .address-item:hover {
        transform: translateX(0) translateY(-3px);
    }

    .address-content {
        max-width: 100%;
    }

    .address .section-title::after {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .addressSwiper .swiper-button-next,
    .addressSwiper .swiper-button-prev {
        display: none;
    }

    .address-item p {
        font-size: 17px;
    }

    .map-button {
        width: 100%;
        justify-content: center;
    }
}



/* ================== ABOUT & CONTACTS ================== */

.about-contacts {
    background: #F5F3EF;
    padding: 100px 0;
    color: #333;
    position: relative;
    overflow: hidden;
}

/* Декоративный фоновый акцент */
.about-contacts::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(53, 135, 217, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-contacts::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(53, 135, 217, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Заголовок секции */
.about-contacts .section-title {
    color: #1C1C1C;
    margin-bottom: 8px;
}

.about-contacts .section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #3587D9;
    border-radius: 2px;
    margin-top: 12px;
}

.about-contacts .section-subtitle {
    margin-bottom: 40px;
}

.about-body {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 52px;
    border: 1px solid #E8E3DB;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Синяя полоска слева */
.about-body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #3587D9, #5BA3E8);
    border-radius: 20px 0 0 20px;
}

.about-text {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 36px;
    text-align: justify;
    hyphens: auto;
}

.about-text strong {
    color: #1C1C1C;
    font-weight: 700;
}

/* Contacts row */
.about-contacts-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid #F0EDE8;
    padding-top: 28px;
}

.about-contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: 12px 0;
    transition: all 0.2s ease;
}

.about-contact-divider {
    width: 1px;
    background: #E8E3DB;
    flex-shrink: 0;
    margin: 0 32px;
    align-self: stretch;
}

.about-contact-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #3587D9;
}

.about-contact-value {
    font-size: 19px;
    font-weight: 600;
    color: #1C1C1C;
    text-decoration: none;
    transition: color 0.2s;
}

.about-contact-value:hover {
    color: #3587D9;
}

@media (max-width: 768px) {
    .about-body {
        padding: 28px 28px 28px 32px;
    }

    .about-text {
        font-size: 15px;
    }

    .about-contacts-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .about-contact-divider {
        width: 40px;
        height: 1px;
        margin: 0;
    }
    
}
@media (max-width: 1020px) and (min-width: 769px) {
    .about-contact-value {
        font-size: 14px;
        white-space: nowrap;
    }
     .about-contact-divider {
        margin: 0 12px;
    }

    .about-contact-label {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .about-contacts {
        padding: 60px 0;
    }

    .about-inner {
        padding: 0 16px;
    }

    .about-body {
        padding: 24px 20px 24px 24px;
    }

    .about-contact-value {
        font-size: 16px;
    }
}


/* ================== FOOTER ================== */

.footer {
    background: linear-gradient(90deg, #2E2C2A, #3A3836);
    color: #fff;
    padding-top: 80px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 70px;
}

.footer-logo {
    display: flex;
    align-items: center;
    align-self: center;
    padding-top: 0;
}

.footer-logo__brand {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-logo__brand img {
    width: 60px;
    height: 60px;
}

.footer-logo__brand span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.4;
}

.footer-column p {
    margin-bottom: 8px;
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-column p a {
    color: #fff;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.2s;
}

.footer-column p a:hover {
    opacity: 0.6;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.social-link:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding: 22px 0;
    font-size: 13px;
    opacity: 0.3;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}



/* ================== RESPONSIVE ================== */

@media (max-width: 1100px) {
    .lumber-cards {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .lumber {
        padding: 80px 0;
    }

    .lumber-cards {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    }

    .lumber-card {
    width: min(289px, 75vw);
    max-width: 100%;
    }

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

    .product-title {
        font-size: 26px;
    }

    .type-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .product-types .type-card h3 {
        font-size: 20px;
    }

    .product-types table {
        font-size: 14px;
    }
}
/* ========== ПОЛНЫЙ CSS ДЛЯ БУРГЕР-МЕНЮ ========== */

/* Бургер-кнопка */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 3000 !important;
    position: relative;
    margin-left: auto;
}

.burger span {
    width: 100%;
    height: 2px;
    background-color: #fff; /* Белый для главной */
    transition: all 0.3s ease;
}

/* Для внутренних страниц */
.inner-page .burger span {
    background-color: #333;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Оверлей меню - адаптируется под страницу */
.menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95); /* Светлый для внутренних */
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: left 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Темный оверлей для главной страницы */
.welcome .menu-overlay {
    background: rgba(0, 0, 0, 0.9);
}

.menu-overlay.active {
    left: 0;
}

/* Контент меню */
.menu-overlay-content {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1002;
}

/* Мобильная навигация */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.mobile-list li {
    margin: 0;
    padding: 0;
}

.mobile-list a {
    color: #333; /* Темный для внутренних */
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 15px 10px;
    cursor: pointer;
}

/* Белые ссылки для главной */
.welcome .mobile-list a {
    color: #fff;
}

.mobile-list a:hover,
.mobile-list a.active {
    color: #3587D9;
}

.welcome .mobile-list a:hover {
    color: #3587D9;
}

/* Мобильные языки */
.mobile-lang {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.mobile-lang a {
    color: #333;
    text-decoration: none;
    font-size: 20px;
    padding: 12px 30px;
    border: 1px solid #ddd;
    border-radius: 30px;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-block;
}

/* Белые языки для главной */
.welcome .mobile-lang a {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-lang a:hover,
.mobile-lang a.active {
    border-color: #3587D9;
    color: #3587D9;
}

.welcome .mobile-lang a:hover {
    border-color: #3587D9;
    color: #3587D9;
}

/* ========== ЗАТЕМНЕНИЕ И БЛОКИРОВКА КОНТЕНТА ========== */

body.menu-open section,
body.menu-open .hero-content,
body.menu-open .welcome__text,
body.menu-open .buttons-container,
body.menu-open footer {
    opacity: 0.2;
    filter: blur(2px);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Меню всегда поверх */
/* Меню всегда поверх */
.menu-overlay {
    z-index: 2000;
}

.burger {
    z-index: 3000;
    position: relative;
}


/* Явно прописать для обоих типов страниц */
.welcome .burger.active span:nth-child(1),
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.welcome .burger.active span:nth-child(2),
.burger.active span:nth-child(2) {
    opacity: 0;
}

.welcome .burger.active span:nth-child(3),
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== МЕДИА-ЗАПРОСЫ ========== */
@media screen and (max-width: 1020px) {
    .burger {
        display: flex;
    }

    /* Прячем десктопное меню */
    .header__nav:not(.mobile-nav) {
        display: none !important;
    }
    
    .header__lang:not(.mobile-lang) {
        display: none !important;
    }

    /* Адаптив хедера */
    .header__inner {
        padding: 15px 20px;
    }

}

@media screen and (min-width: 1021px) {
    .menu-overlay {
        display: none;
    }
}

/* Для очень маленьких экранов */
@media screen and (max-width: 480px) {
    .mobile-list a {
        font-size: 20px;
        padding: 12px 8px;
    }
    
    .mobile-lang a {
        font-size: 18px;
        padding: 10px 20px;
    }
    
    .mobile-nav {
        gap: 30px;
    }
    
    .mobile-list {
        gap: 20px;
    }
}

/* Для очень маленькой высоты */
@media screen and (max-height: 600px) and (max-width: 768px) {
    .mobile-nav {
        gap: 20px;
    }
    
    .mobile-list {
        gap: 15px;
    }
    
    .mobile-list a {
        font-size: 18px;
        padding: 8px;
    }
    
    .mobile-lang {
        margin-top: 10px;
    }
}

/* ================== ADAPTIVE ================== */

.welcome__title {
    font-size: clamp(28px, 5.5vw, 50px);
}

/* Подзаголовок Нарва */
.welcome__narva {
    font-size: clamp(13px, 1.8vw, 18px);
    margin-bottom: clamp(35px, 6vw, 70px);
    margin-top: clamp(12px, 2vw, 20px);
}

/* ================== КНОПКИ ================== */

.btn-custom {
    min-width: unset;
    width: clamp(160px, 38vw, 260px);
    height: clamp(48px, 7vw, 62px);
    font-size: clamp(13px, 1.6vw, 17px);
    padding: 12px clamp(18px, 3vw, 36px);
}

.buttons-container {
    gap: clamp(12px, 3vw, 28px);
    flex-wrap: wrap;
    justify-content: center;
}

/* ================== SECTION TITLES — глобально плавно ================== */

.section-title {
    font-size: clamp(22px, 4vw, 36px);
}

.section-subtitle {
    font-size: clamp(14px, 1.8vw, 18px);
    margin-bottom: clamp(45px, 6vw, 85px);
}

/* ================== HEADER ================== */

.logo__text {
    font-size: clamp(24px, 4vw, 28px);
    white-space: nowrap;
}

.logo img {
    width: clamp(55px, 6vw, 80px);
    height: clamp(55px, 6vw, 80px);
}
/* ================== BREAKPOINTS ================== */

/* --- Планшет --- */
@media (max-width: 900px) {
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-custom {
        width: clamp(220px, 60vw, 320px);
        height: 54px;
        font-size: 15px;
    }
    .welcome__narva {
        margin-bottom: 80px;
    }
}

/* --- Мобильный --- */
@media (max-width: 600px) {

    /* Hero padding чтобы контент не лез под хедер */
    .hero-content {
        padding-top: 80px;
        padding-bottom: 40px;
    }


    .welcome__title {
        font-size: clamp(26px, 7.5vw, 36px);
        letter-spacing: 0.05em;
    }

    .welcome__narva {
        font-size: clamp(11px, 3vw, 14px);
        letter-spacing: 0.15em;
        margin-bottom: 70px;
    }

    .btn-custom {
        width: min(280px, 80vw);
        height: 50px;
        font-size: 14px;
    }

    .buttons-container {
        gap: 20px;
    }

    /* Хедер */
    .header {
        padding: 16px 0;
    }

    .header__inner {
        padding: 0 20px;
    }
}

/* --- Маленький телефон --- */
@media (max-width: 380px) {
    .welcome__title {
        font-size: 26px;
    }

    .welcome__narva {
        font-size: 11px;
    }

    .btn-custom {
        width: 90vw;
        font-size: 13px;
        height: 46px;
    }
}

/* ================== FOOTER ADAPTIVE ================== */

/* Планшет — колонки начинают сжиматься */
@media (max-width: 900px) {
    .footer-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding-bottom: 50px;
    }

    .footer-logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 30px;
    }

    .footer-column {
        flex: 1 1 120px;
        align-items: center;
        text-align: center;
    }

    .footer-column p {
        white-space: nowrap;
    }

    .footer-socials {
        align-items: center;
    }
}

/* Мобильный — всё в одну колонку */
@media (max-width: 600px) {
    .footer {
        padding-top: 50px;
    }

    .footer-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding-bottom: 40px;
    }

    .footer-logo__brand span {
        font-size: 20px;
    }

    .footer-logo__brand img {
        width: 44px;
        height: 44px;
    }

    .footer-column {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer-column p {
        font-size: 16px;
    }


    .footer-socials {
        align-items: center;
    }

    .social-link {
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 12px;
        padding: 18px 20px;
    }
    .footer-column:last-child {
        margin-top: -20px;
    }
}

/* ===== POPULAR GOODS SWIPER ADAPTIVE ===== */

@media (max-width: 600px) {
    .swiper-slide img {
        height: 260px;
    }

    .slide-label {
        min-width: unset;
        width: 85%;
        padding: 14px 20px;
        font-size: 15px;
        bottom: 15px;
    }
}

@media (max-width: 380px) {
    .swiper-slide img {
        height: 210px;
    }

    .slide-label {
        font-size: 13px;
        padding: 12px 16px;
    }
}
@media (max-width: 600px) {
    .carpentry-item {
        width: 80vw;
        height: 65px;
        font-size: 18px;
        gap: 16px;
    }
}

@media (max-width: 380px) {
    .carpentry-item {
        font-size: 16px;
        height: 58px;
    }
}
@media (max-width: 600px) {

    .address .section-subtitle {
        margin-bottom: 24px;
    }

    .address {
        padding: 60px 0;
    }

    .address-item p {
        font-size: 15px;
    }
    .address-wrapper {
        gap: 20px;
    }
}