﻿/* основной баннер */
.hero-banner {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-start;
    background: radial-gradient(ellipse at 30% 50%, rgba(13, 13, 13, 0.4) 0%, rgba(13, 13, 13, 0.6) 100%), linear-gradient(to bottom, rgba(13, 13, 13, 0.5) 0%, rgba(13, 13, 13, 0.4) 100%), url('../img/banner.png') center/cover no-repeat;
    padding: 20px 20px 0px 20px;
}

.hero-content {
    max-width: var(--container-width);
    width: 100%;
    margin: 0;
    text-align: left;
    padding-left: 20px;
}

.hero-badge {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--primary-color);
    letter-spacing: 4px;
    font-size: 1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(242, 225, 95, 0.7);
    padding-bottom: 5px;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    color: var(--text-light);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.text-accent {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(242, 225, 95, 0.4);
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(13, 13, 13, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
    max-width: 760px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--darker-bg);
    background: var(--primary-color);
    padding: 16px 35px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 0 0 rgba(242, 225, 95, 0);
}

    .btn-hero:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 20px rgba(242, 225, 95, 0.5);
    }

    .btn-hero i {
        font-size: 1.5rem;
        line-height: 1;
    }

.btn-white {
    background: var(--text-light);
    color: var(--darker-bg);
    border: 2px solid var(--text-light);
    box-shadow: none;
}

    .btn-white:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    }

/* услуги на главной */
.services-section {
    padding: 50px 0;
    background-color: var(--dark-bg);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

    .section-title::after {
        content: '';
        display: block;
        width: 80px;
        height: 3px;
        background-color: var(--primary-color);
        margin: 15px auto 0;
        box-shadow: 0 0 10px rgba(242, 225, 95, 0.6);
    }

.service-row {
    display: flex;
    align-items: stretch;
    background: var(--darker-bg);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-row:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        border-color: rgba(242, 225, 95, 0.2);
    }

    .service-row.reverse {
        flex-direction: row-reverse;
    }

.service-image {
    flex: 0 0 45%;
    min-height: 350px;
    background-color: #222;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

    .service-image.ba-slider {
        flex: 0 0 45%;
        min-height: 350px;
        background-color: #222;
        position: relative;
        overflow: hidden;
    }

    .service-image::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        background: radial-gradient(circle at center, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%), linear-gradient(135deg, rgba(242, 225, 95, 0.15) 0%, rgba(242, 225, 95, 0.05) 100%);
        pointer-events: none;
    }

.service-content {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .service-content h3 {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 2.2rem;
        color: var(--text-light);
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    .service-content p {
        font-family: 'Inter', sans-serif;
        color: var(--text-muted);
        line-height: 1.7;
        font-size: 1.05rem;
    }

.service-image.ba-slider .ba-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
}

.ba-layer-before {
    z-index: 1;
    opacity: 1 !important;
}

.ba-layer-after {
    z-index: 2;
    opacity: 0;
}

    .ba-layer-after.active {
        opacity: 1;
    }

.ba-toggle-wrapper {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ba-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    user-select: none;
}

    .ba-label.active {
        color: var(--primary-color);
        text-shadow: 0 0 8px rgba(242, 225, 95, 0.4);
    }

.ba-checkbox {
    appearance: none;
    width: 44px;
    height: 24px;
    background: var(--dark-bg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .ba-checkbox::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        background: var(--text-muted);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .ba-checkbox:checked {
        background: rgba(242, 225, 95, 0.2);
        border-color: var(--primary-color);
    }

        .ba-checkbox:checked::after {
            left: 22px;
            background: var(--primary-color);
            box-shadow: 0 0 8px rgba(242, 225, 95, 0.6);
        }

.card-blurred-wrapper {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    max-width: calc(100% + 40px);
}

.blur-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.card-blurred-wrapper:hover .blur-overlay {
    background: rgba(13, 13, 13, 0.4);
    backdrop-filter: blur(6px);
}

.blur-content {
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.card-blurred-wrapper:hover .blur-content {
    transform: scale(1);
}

.more-count {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 0 20px rgba(242, 225, 95, 0.5);
}

.more-text {
    display: block;
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.btn-more {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--darker-bg);
    background: var(--primary-color);
    padding: 14px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.card-blurred-wrapper:hover .btn-more {
    box-shadow: 0 0 20px rgba(242, 225, 95, 0.6);
    transform: translateY(-2px);
}

.show-more-link {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    text-decoration: none;
}

    .show-more-link .btn-more {
        display: inline-block;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        color: var(--darker-bg);
        background: var(--primary-color);
        padding: 14px 35px;
        border-radius: 50px;
        transition: all 0.3s ease;
        letter-spacing: 0.5px;
    }

    .show-more-link:hover .btn-more {
        transform: translateY(-3px);
        box-shadow: 0 0 20px rgba(242, 225, 95, 0.6);
    }

/* контакты */
.contacts-section {
    padding: 80px 0;
    background-color: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contacts-lead {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.contact-list-centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-bg);
    padding: 18px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .contact-item:hover {
        transform: translateY(-5px);
        border-color: rgba(242, 225, 95, 0.3);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .contact-item i {
        color: var(--primary-color);
        font-size: 1.4rem;
        flex-shrink: 0;
        text-shadow: 0 0 8px rgba(242, 225, 95, 0.4);
        transition: transform 0.3s ease;
    }

    .contact-item:hover i {
        transform: scale(1.1);
    }


.address-item {
    cursor: default;
}

    .address-item:hover {
        transform: none;
        border-color: rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }

/* адаптация */
@media (max-width: 992px) {
    .hero-banner {
        align-items: center;
    }

    .hero-title {
        font-size: clamp(2.5rem, 7vw, 5rem);
    }

    .hero-desc {
        max-width: 90%;
        font-size: 1.2rem;
    }

    .service-image {
        flex: 0 0 40%;
        min-height: 280px;
    }

    .service-content {
        padding: 35px 30px;
    }

    .card-blurred-wrapper {
        margin-right: -20px;
        max-width: calc(100% + 20px);
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 90vh;
        padding: 80px 15px 20px 15px;
        background: radial-gradient(ellipse at 30% 50%, rgba(13, 13, 13, 0.4) 0%, rgba(13, 13, 13, 0.6) 100%), linear-gradient(to bottom, rgba(13, 13, 13, 0.5) 0%, rgba(13, 13, 13, 0.4) 100%), url('../img/banner-mobile.png') center/cover no-repeat;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    .hero-badge {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 15px;
        line-height: 1;
    }

    .hero-desc {
        max-width: 100%;
        font-size: 1.1rem;
        padding: 20px;
        margin-bottom: 20px;
        border-left: none;
        border-top: 3px solid var(--primary-color);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero, .btn-white {
        width: 100%;
        justify-content: center;
    }

    .btn-hero {
        padding: 16px 25px;
        font-size: 1.1rem;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .service-row, .service-row.reverse {
        flex-direction: column;
    }

    .service-image {
        flex: none;
        width: 100%;
        min-height: 220px;
    }

    .service-content {
        padding: 30px 25px;
    }

        .service-content h3 {
            font-size: 1.8rem;
        }

    .card-blurred-wrapper {
        margin-right: 0;
        max-width: 100%;
    }

    .more-count {
        font-size: 3.5rem;
    }

    .contacts-section {
        padding: 50px 0;
    }

    .contacts-lead {
        font-size: 1.05rem;
        margin-bottom: 35px;
    }

    .contact-list-centered {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .contact-item {
        justify-content: center;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 90vh;
        padding: 70px 10px 20px 10px;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .hero-desc {
        font-size: 1rem;
        padding: 18px;
        line-height: 1.5;
    }

    .btn-hero {
        padding: 14px 20px;
        font-size: 1rem;
    }

        .btn-hero i {
            font-size: 1.3rem;
        }

    .contact-item {
        font-size: 0.90rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        padding: 15px;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .service-content p {
        font-size: 1rem;
    }

    .contact-item {
        font-size: 0.75rem;
    }
}

@media (max-width: 325px) {
    .hero-banner {
        padding: 10px 10px 0px 10px;
        min-height: 75vh;
        align-items: flex-start;
    }

    .hero-badge {
        font-size: 0.6rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }

    .contact-item {
        font-size: 0.65rem;
    }
}
