/* Основные стили и переменные */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #ffc107;
    --secondary: #101828;
    --accent: #ff9800;
    --light: #f5f5f5;
    --dark: #101828;
    --gradient-start: #4a4711;
    --gradient-end: #ffc107;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Шапка сайта */
header {
    background-color: rgba(16, 24, 40, 0.95);
    position: relative;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-box {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.logo-r {
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
    color: var(--dark);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-main {
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    color: var(--primary);
}
.logo-klin {
    color: white;
}
.logo-sub {
    font-size: 12px;
    color: white;
    margin-top: 1px; /* Уменьшено расстояние в 2 раза */
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    margin-left: 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 14px;
}
nav ul li a:hover {
    color: var(--primary);
}
.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}
.phone-header {
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.phone-number {
    color: white;
}
.header-booking {
    padding: 10px 20px;
    font-size: 14px;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}
/* Герой секция */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    background-attachment: fixed;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
    min-height: 320px; /* Добавлено для предотвращения CLS */
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
}
.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--primary);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* Блок "Почему выбирают нас" с эффектом карбона */
.features {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    position: relative;
    overflow: hidden;
}
.carbon-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(65deg, rgba(0,0,0,0.5) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.5) 75%),
        linear-gradient(65deg, rgba(0,0,0,0.5) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.5) 75%);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    pointer-events: none;
    z-index: 1;
}
.features .container {
    position: relative;
    z-index: 2;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    position: relative;
    z-index: 3;
}
.section-title h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.section-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 3;
}
.feature-card {
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    background: var(--secondary);
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.feature-card h3 {
    margin-bottom: 15px;
    color: white;
    font-size: 1.3rem;
}
.feature-card p {
    color: rgba(255, 255, 255, 0.9);
}
/* Блок услуг */
.services {
    padding: 60px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/services-bg.jpg') no-repeat center center/cover;
    color: white;
    background-attachment: fixed;
}
.services .section-title h2 {
    color: white;
}
.services .section-title p {
    color: rgba(255, 255, 255, 0.8);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}
.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.service-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.service-card p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    flex-grow: 1;
}
.price {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.service-booking-btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    margin-top: auto;
}
.services-link {
    text-align: center;
    margin-top: 30px;
}
.services-link .btn-secondary {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}
.services-link .btn-secondary:hover {
    background-color: var(--primary);
    color: var(--dark);
}
/* Блок отзывов */
.reviews {
    padding: 60px 0;
    background-color: var(--secondary);
    color: white;
}
.reviews .section-title h2 {
    color: white;
}
.reviews .section-title p {
    color: rgba(255, 255, 255, 0.8);
}
.reviews-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 30px;
    overflow: hidden;
}
.reviews-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}
.reviews-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 10px;
}
.review-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    min-height: 250px;
}
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--dark);
    font-weight: bold;
}
.review-info h4 {
    margin-bottom: 5px;
    color: white;
}
.rating {
    color: var(--accent);
    display: flex;
    gap: 2px;
}
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.carousel-btn {
    background: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 16px;
    transition: all 0.3s;
}
.carousel-btn:hover {
    transform: scale(1.1);
}
.reviews-link {
    text-align: center;
}
.reviews-link .btn-secondary {
    color: white;
    border-color: white;
}
.reviews-link .btn-secondary:hover {
    background-color: white;
    color: var(--dark);
}
/* Блок быстрой записи */
.quick-booking {
    padding: 60px 0;
    background: #ffc107;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}
.quick-booking::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            35deg,
            rgba(0,0,0,0.1),
            rgba(0,0,0,0.1) 1px,
            transparent 2px,
            transparent 4px
        ),
        repeating-linear-gradient(
            -35deg,
            rgba(0,0,0,0.1),
            rgba(0,0,0,0.1) 1px,
            transparent 2px,
            transparent 4px
        )
}
.quick-booking .container {
    position: relative;
    z-index: 2;
}
.quick-booking .section-title h2 {
    color: var(--dark);
}
.quick-booking .section-title p {
    color: rgba(16, 24, 40, 0.8);
}
.booking-form-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 3;
    backdrop-filter: blur(10px);
}
.booking-form .form-group {
    margin-bottom: 20px;
}
.booking-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}
.booking-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
    color: var(--dark);
    transition: all 0.3s ease;
}
.booking-form .form-control:focus {
    outline: none;
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}
.checkbox-group {
    display: flex;
    align-items: center;
}
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    color: var(--dark);
}
.checkbox-label input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
/* Контакты */
.contact {
    padding: 60px 0;
    background-color: var(--dark);
    color: white;
}
.contact .section-title h2 {
    color: white;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}
.contact-details {
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.contact-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    margin-top: 3px;
}
.map-container {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Футер */
footer {
    background-color: #0a0f1a;
    color: white;
    padding: 40px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary);
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}
.social-link:hover {
    background-color: var(--primary);
    color: var(--dark);
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #ccc;
    font-size: 0.9rem;
}
/* Кнопка звонка */
.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s;
}
.call-button:hover {
    transform: scale(1.1);
}
/* Рейтинг-бейдж как кнопка */
.rating-badge {
    background-color: var(--primary);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin: 20px 0;
    text-decoration: none;
    transition: all 0.3s;
}
.rating-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.rating-badge svg {
    margin-right: 5px;
}
/* Скрытие элементов */
.hidden {
    display: none;
}
/* Адаптивный дизайн */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2rem;
    }
    nav ul li {
        margin-left: 15px;
    }
    nav ul li a {
        font-size: 13px;
    }
}
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    nav ul.show {
        display: flex;
    }
    nav ul li {
        margin: 10px 0;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
        padding: 12px 20px;
    }
    .header-container {
        flex-wrap: wrap;
    }
    .logo {
        order: 1;
    }
    .mobile-menu-btn {
        order: 2;
    }
    .header-contacts {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    .features-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 250px;
    }
    .parallax-section {
        height: auto;
        min-height: 50vh;
        padding: 20px;
        background-attachment: scroll;
    }
    .hero-content {
        padding: 10px;
    }
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn {
        width: 100%;
        max-width: none;
        padding: 12px;
    }
    .service-card {
        min-height: auto;
    }
    .booking-form-container {
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    .section-title h2 {
        font-size: 1.6rem;
    }
    .booking-form-container {
        padding: 20px;
    }
    .feature-card, .service-card, .review-card {
        padding: 20px;
    }
    .reviews-slide {
        padding: 0 5px;
    }
}
/* Герой особенности */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.feature-item {
    text-align: center;
}
.feature-item svg {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.feature-item p {
    color: rgba(255, 255, 255, 0.9);
}
/* Стили для капчи */
.captcha-fields {
    background: rgba(255, 193, 7, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border: 1px solid rgba(255, 193, 7, 0.3);
}
/* Анимации при наведении */
.feature-card, .service-card, .review-card {
    transition: all 0.3s ease;
}
.feature-card:hover, .service-card:hover, .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.btn {
    transition: all 0.3s ease;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* Lazy loading для изображений */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}
img.loaded {
    opacity: 1;
}
/* Анимации появления блоков при скролле */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.section-title, .features-grid, .services-grid, .reviews-carousel, .booking-form-container, .contact-grid {
    animation: fadeInUp 0.6s ease-out;
}
/* Стили для PWA */
@media (display-mode: standalone) {
    header {
        padding-top: env(safe-area-inset-top);
    }
}
/* Дополнительные стили для страницы услуг */
/* Сетка услуг на странице услуг */
.services-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
/* Карточка услуги на странице услуг */
.service-card-page {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    min-height: 600px;
}
.service-card-page:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: rgba(255, 193, 7, 0.3);
}
/* Иконка услуги на странице услуг */
.service-icon-page {
    font-size: 3.5rem;
    color: #ffc107;
    margin-bottom: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}
.service-card-page:hover .service-icon-page {
    transform: scale(1.1) rotate(5deg);
}
/* Содержимое услуги на странице услуг */
.service-content-page {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-content-page h2 {
    color: #101828;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.service-content-page p {
    margin-bottom: 25px;
    color: #4a5568;
    line-height: 1.7;
    flex-grow: 1;
    text-align: center;
}
/* Особенности услуги на странице услуг */
.service-features-page {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}
.service-features-page li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #2d3748;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-align: left;
}
.service-features-page li:hover {
    background-color: rgba(255, 193, 7, 0.1);
}
.service-features-page li svg {
    color: #ffc107;
    margin-right: 12px;
    font-size: 1rem;
    min-width: 24px;
}
/* Цена услуги на странице услуг */
.price-page {
    color: #ff9800;
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-align: center;
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 12px;
    border: 2px dashed rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}
.price-page:hover {
    background: rgba(255, 193, 7, 0.2);
    transform: scale(1.02);
}
/* Кнопка заказа услуги на странице услуг */
.service-booking-btn {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    margin-top: auto;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #101828;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    text-align: center;
}
.service-booking-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5);
}
/* Блок быстрой записи на странице услуг */
.quick-booking-page {
    background: linear-gradient(135deg, #101828, #1a202c);
    padding: 60px 0;
    margin-top: 60px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.quick-booking-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            rgba(255, 193, 7, 0.05),
            rgba(255, 193, 7, 0.05) 1px,
            transparent 1px,
            transparent 3px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 193, 7, 0.05),
            rgba(255, 193, 7, 0.05) 1px,
            transparent 1px,
            transparent 3px
        );
    background-size: 3px 3px;
    pointer-events: none;
}
.section-title-page {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    position: relative;
    z-index: 2;
}
.section-title-page h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ffc107;
}
.section-title-page p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.booking-form-container-page {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 3;
    backdrop-filter: blur(10px);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #101828;
    font-size: 0.95rem;
}
.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
    color: #101828;
    transition: all 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}
.checkbox-group {
    display: flex;
    align-items: center;
}
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    color: #101828;
}
.checkbox-label input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* Адаптивность страницы услуг */
@media (max-width: 1200px) {
    .services-grid-page {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 25px;
    }
    .service-card-page {
        padding: 30px;
        min-height: 550px;
    }
    .service-icon-page {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    .service-content-page h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .service-content-page p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .service-features-page li {
        margin-bottom: 12px;
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    .service-features-page li svg {
        font-size: 0.95rem;
        margin-right: 10px;
    }
    .price-page {
        font-size: 1.3rem;
        margin-bottom: 25px;
        padding: 12px;
    }
    .service-booking-btn {
        max-width: 200px;
        padding: 14px 28px;
        font-size: 1rem;
    }
    .section-title-page h2 {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .section-title-page p {
        font-size: 1rem;
        max-width: 100%;
    }
    .booking-form-container-page {
        max-width: 600px;
        padding: 30px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    .form-control {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    .checkbox-group {
        margin-bottom: 15px;
    }
    .checkbox-label {
        font-size: 0.9rem;
    }
    .checkbox-label input {
        margin-right: 8px;
        width: 16px;
        height: 16px;
    }
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .captcha-fields {
        padding: 12px;
        margin: 12px 0;
    }
}
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    nav ul.show {
        display: flex;
    }
    nav ul li {
        margin: 10px 0;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
        padding: 12px 20px;
    }
    .header-container {
        flex-wrap: wrap;
    }
    .logo {
        order: 1;
    }
    .mobile-menu-btn {
        order: 2;
    }
    .header-contacts {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    .features-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 250px;
    }
    .parallax-section {
        height: auto;
        min-height: 50vh;
        padding: 20px;
        background-attachment: scroll;
    }
    .hero-content {
        padding: 10px;
    }
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn {
        width: 100%;
        max-width: none;
        padding: 12px;
    }
    .service-card {
        min-height: auto;
    }
    .booking-form-container {
        max-width: 100%;
    }
    /* Адаптивность страницы услуг */
    .services-grid-page {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card-page {
        padding: 25px;
        min-height: auto;
    }
    .service-icon-page {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    .service-content-page h2 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    .service-content-page p {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    .service-features-page li {
        margin-bottom: 10px;
        padding: 5px 8px;
        font-size: 0.85rem;
    }
    .service-features-page li svg {
        font-size: 0.9rem;
        margin-right: 8px;
    }
    .price-page {
        font-size: 1.2rem;
        margin-bottom: 20px;
        padding: 10px;
    }
    .service-booking-btn {
        max-width: 180px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .section-title-page h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    .section-title-page p {
        font-size: 1rem;
    }
    .booking-form-container-page {
        max-width: 100%;
        padding: 25px;
        margin: 0 15px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    .form-control {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    .checkbox-group {
        margin-bottom: 15px;
    }
    .checkbox-label {
        font-size: 0.85rem;
    }
    .checkbox-label input {
        margin-right: 6px;
        width: 14px;
        height: 14px;
    }
    .btn-primary {
        padding: 10px 16px;
        font-size: 0.9rem;
        width: 100%;
    }
    .captcha-fields {
        padding: 10px;
        margin: 10px 0;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    .section-title h2 {
        font-size: 1.6rem;
    }
    .booking-form-container {
        padding: 20px;
        margin: 0 10px;
    }
    .feature-card, .service-card, .review-card {
        padding: 20px;
    }
    .reviews-slide {
        padding: 0 5px;
    }
    /* Адаптивность страницы услуг */
    .services-grid-page {
        gap: 15px;
    }
    .service-card-page {
        padding: 20px;
    }
    .service-icon-page {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .service-content-page h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .service-content-page p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    .service-features-page li {
        margin-bottom: 8px;
        padding: 4px 6px;
        font-size: 0.8rem;
    }
    .service-features-page li svg {
        font-size: 0.85rem;
        margin-right: 6px;
    }
    .price-page {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding: 8px;
    }
    .service-booking-btn {
        max-width: 160px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    .section-title-page h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    .section-title-page p {
        font-size: 0.95rem;
    }
    .booking-form-container-page {
        padding: 20px;
        margin: 0 10px;
    }
    .form-group {
        margin-bottom: 12px;
    }
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    .form-control {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    .checkbox-group {
        margin-bottom: 12px;
    }
    .checkbox-label {
        font-size: 0.8rem;
    }
    .checkbox-label input {
        margin-right: 5px;
        width: 12px;
        height: 12px;
    }
    .btn-primary {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .captcha-fields {
        padding: 8px;
        margin: 8px 0;
    }
}
/* Анимации карточек услуг при загрузке страницы */
.animate-card {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s ease-out;
}
.animate-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}