/* =========================
   Сброс стилей
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Inter", sans-serif;
    color: #ffffff;
    background: #11120f;
}


/* =========================
   ПЛАВНЫЙ СКРОЛЛ
========================= */

html {
    scroll-behavior: smooth;
}


/* =========================
   ГЛАВНЫЙ ЭКРАН (HERO)
========================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background-image: url("images/hero.PNG");
    background-size: cover;
    background-position: center;

    overflow: hidden;

    padding-top: 100px;
}


/* Затемнение изображения */

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(12, 10, 8, 0.55);

    z-index: 1;
}


/* =========================
   HERO - ОБНОВЛЕННЫЙ ДИЗАЙН (только на главной)
========================== */

.hero-home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url("images/hero.PNG");
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 10, 8, 0.55);
    z-index: 1;
}

/* Декоративные линии */
.hero-decoration {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.deco-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: floatDeco 20s ease-in-out infinite;
}

.deco-line-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.deco-line-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
    animation-delay: -7s;
    background: rgba(216, 178, 126, 0.03);
}

.deco-line-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    animation-delay: -14s;
    background: rgba(216, 178, 126, 0.02);
}

@keyframes floatDeco {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

/* Контент */
.hero-home .hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 80px;
}

/* Лейбл (только на главной) */
.hero-home .hero-label-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.hero-home .label-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d8b27e);
}

.hero-home .label-line-right {
    background: linear-gradient(90deg, #d8b27e, transparent);
}

.hero-home .label-text {
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Заголовок (только на главной) */
.hero-home .hero-content h1 {
    max-width: 850px;
    font-family: "Playfair Display", serif;
    font-size: clamp(56px, 7vw, 100px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -3px;
    margin-bottom: 20px;
    color: #fff;
}

.hero-home .h1-line {
    display: block;
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.hero-home .h1-line-1 {
    animation-delay: 0.5s;
}

.hero-home .h1-line-2 {
    animation-delay: 0.8s;
}

/* Описание (только на главной) */
.hero-home .hero-description {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.1s;
}

/* Преимущества (только на главной) */
.hero-home .hero-features {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.4s;
}

.hero-home .hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.hero-home .hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.hero-home .hero-feature-icon svg {
    width: 100%;
    height: 100%;
}

/* Кнопки (только на главной) */
.hero-home .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.7s;
}

.hero-home .hero-buttons .category-button {
    position: relative;
    width: 220px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
    letter-spacing: 0.5px;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-home .hero-buttons .category-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-home .hero-buttons .category-button:hover::before {
    opacity: 1;
}

.hero-home .hero-buttons .category-button .btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.hero-home .hero-buttons .category-button .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.hero-home .hero-buttons .category-button .btn-icon svg {
    width: 100%;
    height: 100%;
}

.hero-home .hero-buttons .category-button:hover .btn-icon {
    transform: scale(1.1);
}

.hero-home .hero-buttons .category-button .btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.hero-home .hero-buttons .category-button .btn-arrow svg {
    width: 18px;
    height: 18px;
}

.hero-home .hero-buttons .category-button:hover .btn-arrow {
    transform: translateX(6px);
    color: #fff;
}

/* Кнопка "Дома" */
.hero-home .hero-buttons .bath-button {
    background: rgba(216, 178, 126, 0.12);
    border-color: rgba(216, 178, 126, 0.2);
}

.hero-home .hero-buttons .bath-button:hover {
    background: rgba(216, 178, 126, 0.25);
    border-color: rgba(216, 178, 126, 0.5);
    box-shadow: 0 8px 40px rgba(216, 178, 126, 0.15);
    transform: translateY(-3px);
}

/* Кнопка "Бани" */
.hero-home .hero-buttons .house-button {
    background: rgba(77, 96, 63, 0.15);
    border-color: rgba(77, 96, 63, 0.2);
}

.hero-home .hero-buttons .house-button:hover {
    background: rgba(77, 96, 63, 0.3);
    border-color: rgba(77, 96, 63, 0.5);
    box-shadow: 0 8px 40px rgba(77, 96, 63, 0.15);
    transform: translateY(-3px);
}

/* Анимации */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   АНИМАЦИЯ ПО СКРОЛЛУ (каталог и плашка на главной)
========================= */

/* Базовое состояние — скрыто */
.hero-home + .categories,
.hero-home + .custom-design {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* При появлении (добавляется класс .visible) */
.hero-home + .categories.visible,
.hero-home + .custom-design.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Категории */
.hero-home + .categories .category {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-home + .categories.visible .category {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.hero-home + .categories.visible .category-home {
    transition-delay: 0.1s;
}
.hero-home + .categories.visible .category-bath {
    transition-delay: 0.25s;
}

/* Верхняя часть категорий */
.hero-home + .categories .category-top {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-home + .categories.visible .category-top {
    opacity: 1;
    transform: translateY(0);
}

.hero-home + .categories.visible .category-home .category-top {
    transition-delay: 0.4s;
}
.hero-home + .categories.visible .category-bath .category-top {
    transition-delay: 0.55s;
}

/* Преимущества (features) */
.hero-home + .categories .feature {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-home + .categories.visible .feature {
    opacity: 1;
    transform: translateY(0);
}

.hero-home + .categories.visible .category-home .feature:nth-child(1) { transition-delay: 0.6s; }
.hero-home + .categories.visible .category-home .feature:nth-child(2) { transition-delay: 0.75s; }
.hero-home + .categories.visible .category-home .feature:nth-child(3) { transition-delay: 0.9s; }

.hero-home + .categories.visible .category-bath .feature:nth-child(1) { transition-delay: 0.7s; }
.hero-home + .categories.visible .category-bath .feature:nth-child(2) { transition-delay: 0.85s; }
.hero-home + .categories.visible .category-bath .feature:nth-child(3) { transition-delay: 1.0s; }

/* Кнопки "Перейти" */
.hero-home + .categories .category-button {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-home + .categories.visible .category-button {
    opacity: 1;
    transform: translateY(0);
}

.hero-home + .categories.visible .category-home .category-button {
    transition-delay: 1.2s;
}
.hero-home + .categories.visible .category-bath .category-button {
    transition-delay: 1.35s;
}


/* =========================
   ШАПКА (закрепленная с блюром) - КОМПАКТНАЯ
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 60px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 4%;

    z-index: 1000;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    background: rgba(12, 10, 8, 0.3);

    transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.header.scrolled {
    background: rgba(12, 10, 8, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex: 1;
}
.navigation a{
    text-decoration: none;
}
.nav-link {
    position: relative;

    font-size: 13px;
    font-weight: 400;
    color: #e4e1d9;

    padding: 20px 0;

    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d8b27e;
}

/* Полоска при наведении (анимация) */
.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 10px;

    height: 1.5px;

    background: #d8b27e;

    transform: scaleX(0);

    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Активный пункт всегда с линией */
.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 10px;

    height: 1.5px;

    background: #d8b27e;

    transform: scaleX(1);
}

/* Чтобы при наведении на активную ссылку линия не пропадала */
.nav-link.active:hover::after {
    transform: scaleX(1);
}


/* =========================
   ОСНОВНОЙ КОНТЕНТ (HERO) - общие стили (без анимации)
========================= */

.hero-content {
    position: relative;

    z-index: 2;

    flex: 1;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 20px 60px;
}


/* Заголовок */

.hero-content h1 {
    max-width: 850px;

    font-family: "Playfair Display", serif;

    font-size: clamp(60px, 6vw, 100px);
    font-weight: 400;
    line-height: 0.98;

    letter-spacing: -3px;

    margin-bottom: 30px;
}


/* Описание (общее, без анимации) */

.hero-description {
    font-size: 25px;
    line-height: 1.5;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.94);

    margin-bottom: 40px;
}


/* =========================
   КНОПКИ НА ГЛАВНОЙ (HERO) - общие стили
========================= */

.hero-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 50px;
}

.hero-buttons .category-button {
    position: relative;

    width: 220px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    text-decoration: none;

    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 2px;

    overflow: hidden;

    border-radius: 0;

    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-buttons .category-button::before {
    content: "";

    position: absolute;
    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);

    transition: left 0.6s ease;
}

.hero-buttons .category-button:hover::before {
    left: 100%;
}

.hero-buttons .category-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-buttons .category-button:active {
    transform: translateY(-2px) scale(0.98);
}

.hero-buttons .category-button::after {
    content: "";

    position: absolute;
    inset: 3px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    pointer-events: none;
}


.hero-buttons .bath-button {
    background: linear-gradient(135deg, #b99a73, #a88863);
    box-shadow: 0 8px 25px rgba(185, 154, 115, 0.4);
}

.hero-buttons .bath-button:hover {
    box-shadow: 0 12px 40px rgba(185, 154, 115, 0.6);
    background: linear-gradient(135deg, #c4a57e, #b08b64);
}


.hero-buttons .house-button {
    background: linear-gradient(135deg, #4d603f, #3d4f32);
    box-shadow: 0 8px 25px rgba(77, 96, 63, 0.4);
}

.hero-buttons .house-button:hover {
    box-shadow: 0 12px 40px rgba(77, 96, 63, 0.6);
    background: linear-gradient(135deg, #5a6f4a, #425535);
}


.hero-buttons .category-button span {
    position: relative;
    z-index: 1;

    transition: transform 0.3s ease;
}

.hero-buttons .category-button:hover span {
    transform: scale(1.05);
}


/* =========================
   КАТАЛОГ (ВТОРАЯ СТРАНИЦА)
========================= */

.categories {
    width: calc(100% - 70px);
    max-width: 1500px;
    min-height: calc(100vh - 42px);

    margin: 100px auto 80px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;

    background: #171814;

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.45);
}


/* =========================
   ОБЩИЕ СТИЛИ КАТЕГОРИЙ
========================= */

.category {
    position: relative;
    min-height: calc(100vh - 42px);

    overflow: hidden;
}


.category::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image: url("images/background.png");
    background-size: 200% 100%;
    background-repeat: no-repeat;

    z-index: 0;
}


/* =========================
   ДОМА
========================= */

.category-home {
    background: #806b54;
}

.category-home::before {
    background-position: left center;
}


.category-home::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(to bottom,
            rgba(66, 52, 39, 0.18) 0%,
            rgba(76, 57, 40, 0.28) 32%,
            rgba(81, 59, 40, 0.70) 62%,
            rgba(81, 59, 40, 0.96) 100%);

    z-index: 1;

    pointer-events: none;
}


/* =========================
   БАНИ
========================= */

.category-bath {
    background: #283628;
}

.category-bath::before {
    background-position: right center;
}


.category-bath::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(to bottom,
            rgba(19, 35, 22, 0.15) 0%,
            rgba(24, 42, 27, 0.30) 32%,
            rgba(24, 40, 26, 0.75) 62%,
            rgba(23, 38, 25, 0.97) 100%);

    z-index: 1;

    pointer-events: none;
}


/* =========================
   КОНТЕНТ КАТЕГОРИЙ
========================= */

.category-content {
    position: relative;

    z-index: 2;

    min-height: calc(100vh - 42px);

    display: flex;
    flex-direction: column;

    padding: 60px 12% 40px;
}


/* =========================
   ВЕРХНЯЯ ЧАСТЬ КАТЕГОРИЙ
========================= */

.category-top {
    text-align: center;
}


.category-icon {
    width: 46px;
    height: 46px;

    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d8b27e;
}

.category-bath .category-icon {
    color: #d5ddd0;
}

.category-icon svg {
    width: 42px;
    height: 42px;
}


.category h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(54px, 5vw, 78px);
    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -2px;

    color: #fff;
}


.category-description {
    margin-top: 20px;

    font-size: 17px;
    line-height: 1.55;

    color: rgba(255, 255, 255, 0.88);
}


/* =========================
   ХАРАКТЕРИСТИКИ (FEATURES)
========================= */

.features {
    margin-top: auto;
    margin-bottom: 30px;

    display: flex;
    flex-direction: column;

    gap: 23px;
}


.feature {
    display: flex;
    align-items: flex-start;

    gap: 22px;
}


.feature-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.88);
}

.feature-icon svg {
    width: 38px;
    height: 38px;
}


.feature h3 {
    margin-top: 1px;

    font-size: 16px;
    font-weight: 500;

    line-height: 1.35;

    color: rgba(255, 255, 255, 0.94);
}

.feature p {
    max-width: 290px;

    margin-top: 4px;

    font-size: 13px;
    line-height: 1.45;

    color: rgba(255, 255, 255, 0.58);
}


/* =========================
   КНОПКИ В КАТЕГОРИЯХ
========================= */

.category-button {
    width: 100%;
    max-width: 315px;

    min-height: 64px;

    margin: 0 auto;

    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    text-decoration: none;

    border-radius: 0;

    font-size: 16px;
    font-weight: 400;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.category-button {
    position: relative;
}

.category-button::after {
    content: "";

    position: absolute;
    inset: 3px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    pointer-events: none;
}


.category-home .category-button {
    background: #c59a68;
    color: #fff;
}


.category-bath .category-button {
    background: #405536;
    color: #fff;
}


.category-button svg {
    width: 25px;
    height: 25px;

    transition: transform 0.3s ease;
}


.category-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.25);
}

.category-button:hover svg {
    transform: translateX(5px);
}

.category-home .category-button:hover {
    background: #d0a876;
}

.category-bath .category-button:hover {
    background: #4c6541;
}


/* =========================
   ПОДВАЛ (FOOTER)
========================= */

.footer {
    width: 100%;

    background: #11120f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    margin-top: 0;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1500px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-brand h2 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.5px;

    color: #ffffff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);

    max-width: 450px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-contacts h3 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
}

.footer-contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 40px;
}

.contact-item {
    text-decoration: none;

    font-size: 16px;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.8);

    padding: 6px 0;

    transition: color 0.3s ease, padding-left 0.3s ease;

    position: relative;
}

.contact-beige:hover {
    color: #d8b27e;
    padding-left: 6px;
}

.contact-green:hover {
    color: #4d603f;
    padding-left: 6px;
}

.footer-bottom {
    max-width: 1500px;
    margin: 0 auto;

    padding-top: 24px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);

    text-align: center;
}


/* =========================
   АДАПТИВ: ПЛАНШЕТЫ (до 1000px)
========================= */

@media (max-width: 1000px) {

    .categories {
        width: calc(100% - 30px);
        margin-top: 80px;
        margin-bottom: 60px;

        grid-template-columns: 1fr;
    }

    .category {
        min-height: 700px;
    }

    .category-content {
        min-height: 700px;

        padding-left: 10%;
        padding-right: 10%;
    }

    .category h1 {
        font-size: 62px;
    }
}


/* =========================
   АДАПТИВ: ПЛАНШЕТЫ (до 900px)
========================= */

@media (max-width: 900px) {

    .header {
        height: 60px;
        padding: 0 4%;
    }

    .hero {
        padding-top: 80px;
    }

    .categories {
        margin-top: 60px;
        margin-bottom: 50px;
    }

    .navigation {
        gap: 40px;
    }

    .nav-link {
        font-size: 13px;
        padding: 20px 0;
    }

    .nav-link::after,
    .nav-link.active::after {
        bottom: 10px;
    }

    .hero-content {
        padding: 40px 20px 40px;
    }

    .hero-content h1 {
        font-size: clamp(52px, 8vw, 75px);
        letter-spacing: -2px;
        margin-bottom: 24px;
    }

    .hero-description {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .hero-buttons .category-button {
        width: 190px;
        height: 60px;
        font-size: 19px;
    }

    .footer {
        padding: 40px 20px 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand h2 {
        font-size: 24px;
    }

    .footer-brand p {
        max-width: 100%;
        font-size: 15px;
    }

    .footer-contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px 30px;
    }

    /* Адаптив для нового hero (только на главной) */
    .hero-home .hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 30px;
    }

    .hero-home .hero-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 320px;
    }

    .hero-home .hero-buttons .category-button {
        width: 100%;
        justify-content: center;
        gap: 16px;
    }

    .hero-home .hero-description {
        font-size: 17px;
        padding: 0 10px;
    }

    .hero-home .hero-label-top {
        gap: 12px;
    }

    .hero-home .label-line {
        width: 24px;
    }
}


/* =========================
   АДАПТИВ: ТЕЛЕФОНЫ (до 600px)
========================= */

@media (max-width: 600px) {

    .hero {
        min-height: 100svh;
        padding-top: 70px;
        background-position: center;
    }


    .header {
        height: 50px;
        padding: 0 3%;
    }

    .navigation {
        gap: 20px;
    }

    .nav-link {
        font-size: 11px;
        padding: 16px 0;
    }

    .nav-link.active::after,
    .nav-link::after {
        bottom: 7px;
        height: 1.5px;
    }


    .hero-content {
        padding: 30px 20px 30px;
    }

    .hero-content h1 {
        font-size: clamp(42px, 12vw, 60px);
        line-height: 1.02;
        letter-spacing: -1.5px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.45;
        margin-bottom: 28px;
    }


    .hero-buttons {
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons .category-button {
        width: min(100%, 260px);
        height: 56px;
        font-size: 18px;
    }


    .categories {
        width: calc(100% - 20px);
        margin: 50px auto 40px;
        border-radius: 14px;
    }

    .category {
        min-height: 650px;
    }

    .category-content {
        min-height: 650px;
        padding: 35px 25px 25px;
    }

    .category h1 {
        font-size: 54px;
        letter-spacing: -1px;
    }

    .category-description {
        font-size: 15px;
        margin-top: 16px;
    }

    .features {
        gap: 18px;
        margin-bottom: 24px;
    }

    .feature {
        gap: 14px;
    }

    .feature-icon {
        width: 38px;
        min-width: 38px;
    }

    .feature-icon svg {
        width: 32px;
        height: 32px;
    }

    .feature h3 {
        font-size: 15px;
    }

    .feature p {
        font-size: 12px;
    }

    .category-button {
        min-height: 58px;
        font-size: 15px;
    }


    .footer {
        padding: 30px 16px 12px;
    }

    .footer-content {
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-brand h2 {
        font-size: 20px;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-contacts h3 {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .footer-contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px 20px;
    }

    .contact-item {
        font-size: 14px;
        padding: 4px 0;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    /* Адаптив для нового hero (только на главной) */
    .hero-home .hero-content h1 {
        font-size: clamp(40px, 12vw, 52px);
        letter-spacing: -1.5px;
    }

    .hero-home .hero-features {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .hero-home .hero-feature {
        font-size: 12px;
    }

    .hero-home .hero-buttons .category-button {
        height: 56px;
        font-size: 16px;
        padding: 0 18px;
    }

    .hero-home .hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .hero-home .hero-label-top {
        margin-bottom: 14px;
    }

    .hero-home .label-text {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .hero-home .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .hero-home .hero-buttons .category-button {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        gap: 16px;
    }
}