
/* --- 5. ШАПКА СТРАНИЦЫ (HERO) --- */



.service-hero {
    position: relative;
    height: fit-content;
    min-height: 70vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-dark);
    margin-top: 5rem;
    display: flex;
    align-items: center;
    padding-top: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .service-hero {
        margin-top: 0;
        /* height: 70vh; */
        padding-top: 5rem;
    }
}

.service-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: url('https://static.tildacdn.com/tild3062-6564-4832-b537-373065396639/IMG_1584.JPG');
    animation: slowZoom 20s linear infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.service-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.service-hero .hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}


.service-hero .hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-olive);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 15px rgba(0, 0, 0, 0.8);
    max-width: 1000px;
}

@media (min-width: 768px) {
    .hero-h1 {
        font-size: 4rem;
    }
}

.service-hero .hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-100);
    line-height: 1.625;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .service-hero .hero-subtitle {
        font-size: 1.25rem;
    }
}

.service-hero .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 40px;
    background-color: rgba(145, 150, 2, 0.1);
    border: 2px solid var(--color-olive);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-base);
    box-shadow: 0 0 15px rgba(145, 150, 2, 0.3);
    cursor: pointer;
}

.service-hero .btn-cta:hover {
    background-color: var(--color-olive);
    box-shadow: 0 0 25px rgba(145, 150, 2, 0.6);
}

.btn-solid {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background-color: rgba(145, 150, 2, 0.1); border: 2px solid var(--color-olive);
    color: var(--color-white); padding: 1rem 2.5rem; border-radius: 9999px;
    font-family: var(--font-heading); font-weight: 500; font-size: 1rem;
    text-transform: uppercase; letter-spacing: 0.05em; transition: var(--transition-base);
    box-shadow: 0 0 15px rgba(145,150,2,0.3); cursor: pointer;
}
.btn-solid:hover { background-color: var(--color-olive); box-shadow: 0 0 25px rgba(145,150,2,0.6); }
