﻿<style >
/* === Базовые стили === */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

header {
    background-color: #f5f5f5;
    overflow: visible !important;
}

/* === Hero-блок === */
.hero-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    padding: 80px 40px;
    background: #fefefe;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    max-width: 1400px;
    margin: 40px auto;
}

.hero-modern-content {
    max-width: 640px;
    flex: 1;
}

.hero-modern-image img {
    width: 420px;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: #d32f2f;
    padding: 6px;
    transform: rotate(-1.5deg);
}

.hero-badge {
    display: inline-block;
    font-size: 14px;
    background: #fbe9e7;
    color: #c62828;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-weight: 600;
}

.hero-modern h1 {
    font-size: 44px;
    font-weight: 800;
    color: #c62828;
    margin-bottom: 10px;
}

.hero-modern h2 {
    font-size: 24px;
    font-weight: 600;
    color: #6b6b6b;
    margin-bottom: 24px;
}

.hero-facts {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
    font-size: 16px;
    color: #333;
}

    .hero-facts li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 12px;
        line-height: 1.5;
    }

        .hero-facts li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            top: 0;
            color: #c62828;
            font-weight: bold;
        }

.hero-subtext {
    font-size: 16px;
    color: #555;
    margin-bottom: 28px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #c62828;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.3s ease, transform 0.2s;
}

    .hero-btn:hover {
        background-color: #a61c1c;
        transform: scale(1.03);
    }

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #c62828;
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

    .btn:hover {
        background-color: #a61c1c;
    }


/* === Полный профиль === */
.bio-dark {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 20px;
    border-radius: 0 0 20px 20px;
}

    .bio-dark h2 {
        text-align: center;
        color: #f3eaff;
        margin-bottom: 30px;
    }

    .bio-dark ul {
        list-style: none;
        padding: 0;
        max-width: 900px;
        margin: 0 auto;
    }

    .bio-dark li {
        margin-bottom: 12px;
        position: relative;
        padding-left: 24px;
    }

        .bio-dark li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            color: #f3eaff;
        }

/* === Секции (услуги, статьи, форум) === */
.section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

    .section h2 {
        color: #c62828;
        text-align: center;
        margin-bottom: 30px;
    }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 20px;
}

    .card h3 {
        margin-top: 0;
        color: #c62828;
    }

    .card p {
        margin: 10px 0;
        color: #555;
        font-size: 15px;
    }

/* === Галерея и видео === */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

    .gallery video {
        width: 100%;
        height:auto;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

/* === Отзывы === */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.testimonial {
    border-left: 4px solid #c62828;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-style: italic;
    position: relative;
}

    .testimonial cite {
        display: block;
        margin-top: 10px;
        text-align: right;
        font-weight: bold;
        font-style: normal;
    }
/* Блог */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* Форум */
.forum {
    padding: 20px;
    background-color: #fff;
    border-left: 4px solid #d32f2f;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* FAQ */
.faq dt {
    font-weight: bold;
    margin-top: 20px;
}

.faq dd {
    margin: 0 0 10px 0;
}
/* === Форма обратной связи === */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 12px;
        margin-bottom: 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }

    .contact-form button {
        background: #c62828;
        color: white;
        border: none;
        padding: 12px 20px;
        font-weight: bold;
        border-radius: 6px;
        cursor: pointer;
    }

        .contact-form button:hover {
            background: #a61c1c;
        }

/* === Footer (базовый) === */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 20px 20px;
    font-size: 14px;
    text-align: center;
}

    footer a {
        color: #c62828;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }

/* === Адаптивность === */
@media (max-width: 768px) {
    .hero-modern {
        flex-direction: column;
        text-align: center;
    }

    .gallery,
    .testimonials {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Общие контейнеры */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #d32f2f;
    text-align: center;
}
/* Услуги */
.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .service-item h3 {
        margin-top: 0;
        color: #d32f2f;
    }
/* Галерея */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px auto;
    max-width: 1000px;
    padding: 0 20px;
    justify-items: center;
}

.gallery-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
    max-width: 340px; /* чтобы не было очень широким */
}

    .gallery-item video,
    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
    }

/* Отзывы */
.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.testimonial {
    background: #fff;
    padding: 20px;
    border-left: 4px solid #d32f2f;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .testimonial p {
        margin: 0;
        font-style: italic;
    }

    .testimonial cite {
        display: block;
        margin-top: 10px;
        text-align: right;
        font-weight: bold;
    }
/* Блог */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* Форум */
.forum {
    padding: 20px;
    background-color: #fff;
    border-left: 4px solid #d32f2f;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* FAQ */
.faq dt {
    font-weight: bold;
    margin-top: 20px;
    color: #61677a;
}

.faq dd {
    margin: 0 0 10px 0;
    color: #22283E;
}
/* Контактная форма */
form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
}

    form button:hover {
        background-color: #b71c1c;
    }
/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

.footer-text {
    font-size: 0.9rem;
    color: #666;
}

    .footer-text a {
        color: #d32f2f;
        text-decoration: none;
    }

        .footer-text a:hover {
            text-decoration: underline;
        }
/* Адаптив */
@media (max-width: 1024px) {
    .services,
    .testimonials {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .services,
    .testimonials,
    .blog-list {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .gallery-item img,
    .gallery-item video {
        height: 200px;
    }
}

.site-footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
}

.footer-section {
    flex: 1 1 250px;
    min-width: 200px;
}

    .footer-section h5 {
        color: #fff;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .footer-section a {
        color: #ccc;
        text-decoration: none;
        display: inline-block;
        margin-bottom: 6px;
    }

        .footer-section a:hover {
            text-decoration: underline;
            color: #fff;
        }

.partners img {
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #777;
}

    .footer-bottom a {
        color: #d32f2f;
        text-decoration: none;
    }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

/* Адаптив */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .partners {
        justify-content: center;
    }
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto; /* ← уменьшаем высоту */
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .gallery-item img,
    .gallery-item video {
        height: 460px;
    }

    .logo img {
        height: 28px;
    }

    .menu-icon div {
        width: 20px;
        height: 2px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .gallery {
        gap: 10px;
    }
}

