*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #0f0f0f;
    --bg-photos: #1F242C;
    --accent: #e8322a;
    --text: #fff;
    --muted: #ccc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Barlow', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
}

.navbar {
    background: #17191D;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0 150px;
}

.nav-logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 45px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .85;
    transition: opacity .2s;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-login {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 28px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
}

.btn-login:hover {
    background: #c62720;
    color: #fff;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    width: 32px;
    height: 32px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 16px 24px 20px;
    gap: 16px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mobile-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.hero {
    background: var(--bg-dark);
    padding: 90px 150px;
    text-align: center;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.advantages {
    background: var(--bg-dark);
    padding: 70px 24px;
}

.adv-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-direction: row-reverse;
}

.adv-image {
    flex: 0 0 42%;
}

.adv-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.adv-features {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px;
}

.adv-item {
    flex: 0 0 calc(50% - 15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.adv-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-icon svg {
    width: 52px;
    height: 52px;
}

.adv-item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}

.photos {
    background: var(--bg-photos);
    padding: 70px 24px 80px;
}

.photos h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 40px;
}

.slider-wrap {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.slider-main .slide-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    cursor: pointer;
}

.slider-nav-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.slider-nav {
    flex: 1;
    min-width: 0;
}

.slider-nav .slick-slide {
    padding: 0 5px;
}

.slider-nav .thumb-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    display: block;
    transition: border-color .2s;
}

.slider-nav .slick-current .thumb-img {
    border-color: #fff;
}

.arr-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}

.arr-btn:hover {
    background: #c62720;
}

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .96);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#lightbox.open {
    display: flex;
}

.lb-wrap {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lb-img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
}

.lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

.lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 4px;
    transition: background .2s;
}

.lb-arrow:hover {
    background: rgba(255, 255, 255, .25);
}

.lb-arrow.prev {
    left: 12px;
}

.lb-arrow.next {
    right: 12px;
}

.lb-counter {
    margin-top: 10px;
    font-size: 13px;
    opacity: .5;
}

@media (max-width: 900px) {
    .adv-inner {
        flex-direction: column;
        gap: 30px;
    }

    .adv-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        order: 2;
    }

    .adv-features {
        order: 1;
    }
}

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

    .arr-btn {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 50px 20px 40px;
    }

    .slider-main .slide-img {
        height: 240px;
    }

    .slider-nav .thumb-img {
        height: 65px;
    }

    .photos {
        padding: 45px 20px;
    }
}

@media (max-width: 480px) {
    .adv-item {
        flex: 0 0 calc(50% - 15px);
    }
}
