.main-content {
    position: relative;
    max-width: 1200px;
    margin: 25px auto 0;
    padding: 0 20px;
    z-index: 2;
}

.service-block {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-medium), var(--accent-gold));
}

.service-block::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(129, 199, 132, 0.3);
    border-radius: 10px;
    pointer-events: none;
}

/* Секция услуги */
.service-hero {
    min-height: 500px;
}

.slider-container {
    width: 50%;
    float: left;
    overflow: hidden;
    border-radius: 15px;
    height: fit-content;
    margin: 20px;
    position: relative;
}

@media (max-width: 800px) {
    .slider-container {
        width: 100%;
        margin: 0;
    }
}

.slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    min-height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.7);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--white);
}


.service-info {
    flex-wrap: wrap;
    margin: 20px;
    background-color: var(--white);
    border-radius: 0 15px 15px 0;
}

.service-info h1 {
    color: var(--primary-dark);
    margin-top: 0;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}


.price {
    font-size: 1.8rem;
    color: var(--primary-medium);
    font-weight: bold;
    margin: 1.5rem 0;
}

.service-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.features-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 30px;
}
.features-div > * {
    flex-grow: 0;
    flex-shrink: 0;
    min-width: 300px;
    max-width: 520px;
}

.features h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 15px;
}

.features h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: var(--accent-gold);
}

.features ul {
    padding-left: 1.5rem;
    list-style-type: none;
}

.features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 25px;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-medium);
    font-weight: bold;
}

.booking-form-container {
    background-color: var(--primary-extra-light);
    padding: 4rem 0;
    position: relative;
}

.booking-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%231b5e20"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%231b5e20"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231b5e20"></path></svg>');
    background-size: cover;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.booking-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-medium), var(--accent-gold));
}

.booking-form h2 {
    color: var(--primary-dark);
    margin-top: 0;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.booking-form h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

button[type="submit"] {
    display: block;
    width: auto;
    min-width: 200px;
}

.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,0V26c60,20,120,35,180,31s120-29,180-33c60-4,120,15,180,30s120,20,180,10,120-40,180-50,120,0,180,20,120,50,120,50V0Z' opacity='.25' fill='%231b5e20'></path><path d='M0,0V10c30,30,60,55,120,70s120,10,180-10,120-60,180-60,120,30,180,60,120,30,180,10,120-60,180-70,120,10,180,30,120,20,120,20V0Z' opacity='.5' fill='%231b5e20'></path><path d='M0,0V5c150,50,300,60,450,30s300-70,450-10,300,60,450,20V0Z' fill='%231b5e20'></path></svg>") no-repeat center center;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}

footer {
    margin-top: 60px;
}

.footer-color {
    width: 100%;
    display: inline flow-root list-item;
}


.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-contacts {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 8px;
    transition: all 0.3s;
    border-radius: 5px;
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    margin-right: 15px;
    color: var(--accent-gold);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.social-links {
    width: 100%;
    margin-top: 90px;
    margin-left: 50px;
}

.footer-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-gold);
}

.footer-form .form-group {
    margin-bottom: 20px;
}

.footer-form .form-group label {
    color: var(--text-light);
    opacity: 0.9;
}

.footer-form .form-group input,
.footer-form .form-group textarea {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.footer-form .form-group input::placeholder,
.footer-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-form button[type="submit"] {
    background: var(--accent-gold);
    color: var(--primary-dark);
    width: 100%;
}

.footer-form button[type="submit"]:hover {
    background: #ffc107;
}

.copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (min-width: 10px) {
    .features-div > * {
        flex-grow: 0;
        flex-shrink: 0;
        min-width: 0px;
    }
    .service-info {
        padding: 0px;
        margin: 0px;
    }
}

@media (max-width: 576px) {
    .social-links {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
        margin-left: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 25px;
    }
    .service-info {
        padding: 1.5rem;
    }
    
    .service-info h1 {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .service-hero {
        flex-direction: column;
    }
    
    .slider-container {
        height: 350px;
        border-radius: 15px 15px 0 0;
    }
    
    .service-info {
        padding: 2rem;
        border-radius: 0 0 15px 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-form {
        order: -1;
    }
}

@media (max-width: 992px) {
    .footer-container {
        gap: 30px;
    }
    
    .service-info h1 {
        font-size: 2rem;
    }
}

@media (max-width: 1093px) {
    .features-div {
        gap: 20px;
        flex-direction: column;
    }
}

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

.animated {
    animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}