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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #111;
    background: #fff;
}

img {
    width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    z-index: 100;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.nav a:hover {
    color: #00d2c7;
}

.header-button {
    background: #00d2c7;
    border: none;
    color: #fff;
    padding: 12px 20px;
    cursor: pointer;
}

/* HERO SWIPER */

.hero {
    width: 100%;
    height: 70vh;
}

.hero-slide {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.hero-slide-1 {
    background-image: url("../images/omoda1.jpg");
}

.hero-slide-2 {
    background-image: url("../images/omoda2.jpg");
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    color: #fff;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.main-button {
    border: none;
    background: #00d2c7;
    color: #fff;
    padding: 16px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.main-button:hover {
    background: #00b8ae;
}

/* SWIPER */

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #fff;
}

.swiper-pagination-bullet-active {
    background: #00d2c7;
}

/* TIMER */

.timer-section {
    padding: 80px 0;
    text-align: center;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.timer-item {
    width: 110px;
    height: 110px;
    border: 3px solid #00d2c7;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timer-item span {
    font-size: 32px;
    font-weight: bold;
}

/* MODELS */

.models {
    padding: 100px 0;
    background: #f7f7f7;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-4 {
    width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.model-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: 0.3s;
}

.model-card:hover {
    transform: translateY(-5px);
}

.card-header img {
    height: 240px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.model-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.price {
    color: #00b8ae;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.model-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.model-card ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.model-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00d2c7;
}

.card-button {
    width: 100%;
    border: none;
    background: #00d2c7;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.card-button:hover {
    background: #00b8ae;
}

/* BENEFITS */

.benefits {
    padding: 100px 0;
    background: #111;
}

.card-benefits {
    background: #1b1b1b;
    color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    height: 100%;
    transition: 0.3s;
    border: 1px solid transparent;
}

.card-benefits:hover {
    transform: translateY(-5px);
    border-color: #00d2c7;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: #00d2c7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    margin-bottom: 25px;
    color: #fff;
}

.card-benefits h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.card-benefits p {
    color: #cccccc;
    line-height: 1.6;
}

/* FORM */

.form-section {
    padding: 100px 0;
}

.contact-form {
    max-width: 500px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input {
    padding: 15px;
    border: 1px solid #ccc;
}

.contact-form button {
    background: #00d2c7;
    border: none;
    padding: 15px;
    color: #fff;
    cursor: pointer;
}

/* FOOTER */

.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 999;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    background: linear-gradient(145deg, #1e1e1e, #111111);
    color: #fff;
    border-radius: 20px;
    padding: 45px 35px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 25px rgba(0,210,199,0.2);
    border: 1px solid rgba(255,255,255,0.08);
    animation: modalShow 0.3s ease;
}

@keyframes modalShow {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    background: #00d2c7;
}

.modal-top {
    margin-bottom: 30px;
}

.modal-top h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.modal-top p {
    color: #bdbdbd;
    line-height: 1.6;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-form input {
    width: 100%;
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 16px 20px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.modal-form input:focus {
    border-color: #00d2c7;
    box-shadow: 0 0 10px rgba(0,210,199,0.2);
}

.modal-form button {
    width: 100%;
    border: none;
    border-radius: 10px;
    background: #00d2c7;
    color: #fff;
    padding: 16px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.modal-form button:hover {
    background: #00b8ae;
}

/* BURGER & MOBILE MENU */

.burger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #111;
    z-index: 9999;
    padding: 20px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-header button {
    font-size: 30px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== АДАПТИВНОСТЬ ========== */

@media (max-width: 992px) {
    .col-4 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    /* Герой */
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero,
    .hero-slide {
        height: 85vh;
    }

    /* Шапка: скрываем десктопную навигацию, показываем бургер */
    .nav,
    .header-button {
        display: none;
    }

    .burger {
        display: block;
    }

    /* Сетка моделей и преимуществ */
    .col-4 {
        width: 100%;
    }

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

    .card-header img {
        height: 220px;
    }

    /* Таймер */
    .timer {
        flex-wrap: wrap;
    }

    /* Кнопки на всю ширину */
    .main-button,
    .card-button,
    .contact-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .modal-content {
        padding: 35px 25px;
    }

    .modal-top h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 30px;
    }

    .timer-item {
        width: 80px;
        height: 80px;
    }

    .timer-item span {
        font-size: 22px;
    }
}