* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.5;
    color: #2d3436;
    background: #fff;
    scroll-behavior: smooth;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    padding: 1rem 2rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #E89B4A;
}

/* Первый экран */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('images/фон 4.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-overlay h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}
.hero-overlay p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.btn {
    background: #E89B4A;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s, transform 0.2s;
}
.btn:hover {
    background: #d4893a;
    transform: translateY(-3px);
}
.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Общие секции */
.about, .services, .benefits, .gallery, .testimonials, .contacts {
    padding: 4rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}
h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2d3436;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.subtitle {
    text-align: center;
    color: #636e72;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* О нас */
.about-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.about-gallery {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}
.about-gallery img {
    width: 100%;
    max-width: 300px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.about-gallery img:hover {
    transform: scale(1.03);
}

/* Карточки услуг */
.cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.card {
    flex: 1 1 280px;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-body {
    padding: 1.5rem 1rem;
}
.card-body h3 {
    margin-bottom: 0.5rem;
}
.card-body p {
    margin-bottom: 1rem;
}
.price {
    font-weight: bold;
    color: #E89B4A;
    font-size: 1.1rem;
}

/* Преимущества */
.benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.benefits li {
    background: #f0f7f0;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s;
}
.benefits li:hover {
    background: #dff0d8;
}

/* Галерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}
.gallery-grid img:hover {
    transform: scale(1.03);
}
.video-container {
    margin-top: 2rem;
    text-align: center;
}
.video-container iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border: none;
    border-radius: 12px;
}

/* Страница отзывов */
.testimonials-page {
    padding: 6rem 1rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}
.testimonials-page h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2d3436;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.testimonial-cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
}
.testimonial {
    flex: 1 1 250px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #2d3436;
}
.testimonial-author {
    font-weight: bold;
    color: #E89B4A;
}

/* Блок Elfsight */
.elfsight-section {
    margin: 3rem 0;
    text-align: center;
}
.elfsight-placeholder {
    background: #f9f9f9;
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 3rem;
    margin-top: 1rem;
    color: #636e72;
}

/* Сообщество ВК */
.vk-community {
    text-align: center;
    margin-top: 2rem;
}
.vk-community p {
    margin-bottom: 1rem;
}

/* Контакты */
.contacts {
    background: #2d3436;
    color: white;
    text-align: center;
    border-radius: 12px 12px 0 0;
    margin-top: 2rem;
    padding: 2rem 1rem;
}
.contacts h2 { color: white; }
.contacts a { color: #E89B4A; }
.contacts p { margin-bottom: 2rem; }
.copy {
    margin-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.7;
}
/* Кнопки в футере */
.btn-primary {
    display: inline-block;
    background: #4A90D9;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
    background: #357ABD;
    transform: translateY(-3px);
}

.btn-accent {
    background: #4A90D9;
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.4);
}
.btn-accent:hover {
    background: #357ABD;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.6);
}
.btn-footer-main {
    display: inline-block;
    background: #4A90D9;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ВК в футере */
.vk-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.vk-footer p {
    margin-bottom: 0.5rem;
}
.vk-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}
.vk-more {
    text-align: center;
    margin-top: 2rem;
}
/* Карта */
.map-container {
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
    
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about, .services, .benefits, .gallery, .testimonials, .contacts {
    animation: fadeInUp 0.8s ease both;
}
.benefits { animation-delay: 0.1s; }
.gallery { animation-delay: 0.2s; }
.testimonials { animation-delay: 0.3s; }
.contacts { animation-delay: 0.4s; }
/* Бургер-меню */
.burger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ========== АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ ========== */
@media (max-width: 1024px) {
    .cards {
        gap: 1.5rem;
    }
    .card {
        flex: 1 1 220px;
    }
    .card-img {
        height: 180px;
    }
    .card-body h3 {
        font-size: 1rem;
    }
    .card-body p {
        font-size: 0.9rem;
    }
    .price {
        font-size: 1rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .gallery-grid img {
        height: 200px;
    }
    
    /* Страницы услуг */
    .service-hero {
        height: 40vh;
    }
    .service-hero h1 {
        font-size: 2rem;
    }
    .service-gallery {
        gap: 1rem;
        padding: 1rem;
    }
    .service-gallery img {
        max-width: 350px;
        height: 260px;
    }
    .map-container {
    max-width: 90%;
    margin: 1.5rem auto;
}
.map-container iframe {
    height: 350px;
}
}

/* ========== АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ ========== */
@media (max-width: 768px) {
    /* Навбар */
    .navbar {
        padding: 0.5rem;
    }
    .nav-container {
        justify-content: center;
    }
    .logo {
        display: none;
    }
    .burger {
        display: none;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    .nav-links a {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        white-space: nowrap;
    }

    /* Общие */
    .about, .services, .benefits, .gallery, .contacts {
        padding: 2rem 1rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .subtitle {
        font-size: 0.95rem;
    }

    /* Первый экран */
    .hero {
        height: 80vh;
    }
    .hero-overlay h1 {
        font-size: 1.8rem;
    }
    .hero-overlay p {
        font-size: 1rem;
    }
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }

    /* О нас */
    .about-content p {
        font-size: 0.95rem;
        text-align: left;
    }
    .about-gallery {
        flex-direction: column;
        align-items: center;
    }
    .about-gallery img {
        max-width: 100%;
        height: 200px;
    }

    /* Услуги */
    .cards {
        flex-direction: column;
        gap: 1.5rem;
    }
    .card {
        flex: 1 1 100%;
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }
    .card-img {
        width: 40%;
        min-width: 120px;
        flex-shrink: 0;
        height: auto;
    }
    .card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .card-body {
        width: 60%;
        padding: 1rem;
    }
    .card-body h3 {
        font-size: 0.95rem;
    }
    .card-body p {
        font-size: 0.85rem;
    }
    .price {
        font-size: 1rem;
    }

    /* Преимущества */
    .benefits ul {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits li {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    /* Галерея */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid img {
        height: 150px;
    }
    .video-container iframe {
        height: 200px;
    }

    /* Контакты */
    .contacts {
        padding: 2rem 1rem;
    }
    .btn-footer-main,
    .btn-footer-sub {
        width: 90%;
        text-align: center;
    }

    /* Страницы услуг */
    .service-hero {
        height: 35vh;
    }
    .service-hero h1 {
        font-size: 1.6rem;
        padding: 0 1rem;
    }
    .service-content {
        padding: 0 1rem;
    }
    .service-content h2 {
        font-size: 1.4rem;
    }
    .service-content p {
        font-size: 0.95rem;
    }
    .service-gallery {
        gap: 0.8rem;
        padding: 0.8rem;
    }
    .service-gallery img {
        max-width: 300px;
        height: 220px;
    }
    .back-btn {
        margin: 1.5rem;
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    .map-container {
    max-width: 100%;
    margin: 1.5rem auto;
    border-radius: 8px;
}
.map-container iframe {
    height: 300px;
}
}

/* ========== АДАПТАЦИЯ ДЛЯ МАЛЕНЬКИХ ТЕЛЕФОНОВ ========== */
@media (max-width: 480px) {
    /* Навбар */
    .navbar {
        padding: 0.4rem;
    }
    .nav-links {
        gap: 0.2rem;
    }
    .nav-links a {
        font-size: 0.65rem;
        padding: 0.3rem 0.4rem;
    }

    /* Первый экран */
    .hero {
        height: 70vh;
    }
    .hero-overlay h1 {
        font-size: 1.4rem;
    }
    .hero-overlay p {
        font-size: 0.85rem;
    }

    /* Услуги */
    .card {
        flex-direction: column;
    }
    .card-img {
        width: 100%;
        height: 180px;
    }
    .card-body {
        width: 100%;
        padding: 1rem;
    }
    .card-body h3 {
        font-size: 1rem;
    }
    .card-body p {
        font-size: 0.9rem;
    }

    /* Преимущества */
    .benefits ul {
        grid-template-columns: 1fr;
    }

    /* Галерея */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem;
    }
    .gallery-grid img {
        height: 120px;
    }

    /* Кнопки */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .btn-footer-main,
    .btn-footer-sub {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    /* Страницы услуг */
    .service-hero {
        height: 30vh;
    }
    .service-hero h1 {
        font-size: 1.3rem;
    }
    .service-gallery {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    .service-gallery img {
        max-width: 260px;
        height: 180px;
    }
    .back-btn {
        margin: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .map-container {
    margin: 1rem auto;
    border-radius: 6px;
}
.map-container iframe {
    height: 250px;
}
}
/* Политика конфиденциальности */
.privacy-section {
    padding: 6rem 2rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.privacy-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.privacy-section h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.privacy-section p,
.privacy-section li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.privacy-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 5rem 1.5rem 2rem;
    }
    .privacy-section h1 {
        font-size: 1.5rem;
    }
    .privacy-section h2 {
        font-size: 1.2rem;
    }
    .privacy-section p,
    .privacy-section li {
        font-size: 0.9rem;
    }
}