:root {
    --primary: #ff9800;
    --primary-hover: #e68a00;
    --dark: #0f172a;
    --light: #f8fafc;
    --text: #1f2937;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

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

/* Hero */
.hero {
    min-height: 80vh;
    background:
        linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)),
        url("https://images.unsplash.com/photo-1584622650111-993a426fbf0a") center/cover no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-content {
    max-width: 850px;
}

.label {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin: 20px 0;
}

.hero-text {
    font-size: 1.25rem;
}

.price-highlight {
    color: var(--primary);
}

/* Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}

.btn-light:hover {
    background: #eee;
    transform: translateY(-2px);
}

/* Advantages */
.advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    transition: var(--transition);
}

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

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Sections */
.title-center {
    text-align: center;
    margin: 60px 0 40px;
    font-size: 2.2rem;
}

.steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.step {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
}

.step h3 span {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 10px;
}

.step ul {
    padding-left: 20px;
}

.step li {
    margin-bottom: 8px;
}

/* Works / Swiper */
.works {
    padding: 40px 20px;
}

.swiper {
    padding-bottom: 50px;
}

.swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.swiper-slide img:hover {
    filter: brightness(0.8);
}

/* Price */
.price {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 60px 0 40px;
}

.price-val {
    font-size: 2rem;
    margin-bottom: 0;
}

.price-val span {
    color: var(--primary);
    font-weight: bold;
}

/* Contacts */
.contacts {
    padding: 40px 0 80px;
    text-align: center;
    background: var(--white);
}

.contacts .title-center {
    margin-top: 0;
    margin-bottom: 30px;
}

.main-phone {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.messengers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.messenger {
    padding: 12px 25px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.messenger:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.tg {
    background: #0088cc;
}

.wa {
    background: #25D366;
}

.max {
    background: #6366f1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        text-align: center;
        padding: 70px 0;
    }

    .label {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .hero-text {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .advantages,
    .steps {
        grid-template-columns: 1fr;
    }

    .advantages {
        margin-top: 30px;
    }

    .title-center {
        font-size: 1.8rem;
        margin: 45px 0 30px;
    }

    .step {
        padding: 24px;
    }

    .swiper-slide img {
        height: 220px;
    }

    .price {
        padding: 40px 0 30px;
    }

    .price-val {
        font-size: 1.5rem;
    }

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

    .main-phone {
        font-size: 1.8rem;
    }

    .messengers {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .messenger {
        width: 100%;
        max-width: 320px;
    }

    .contacts .btn-primary {
        width: 100%;
        max-width: 320px;
    }
}

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

    .hero {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    .swiper-slide img {
        height: 200px;
    }

    .main-phone {
        font-size: 1.5rem;
    }
}