/* Основные переменные и сброс стилей */
:root {
    --primary-color: #006064;
    --primary-light: #428e92;
    --primary-dark: #00363a;
    --secondary-color: #e57373;
    --secondary-light: #ffa4a2;
    --secondary-dark: #af4448;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
    --gray: #9e9e9e;
    --light-gray: #e0e0e0;
    --dark-gray: #616161;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: 'Roboto', 'Arial', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Кастомный скролбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Общие стили */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-bg);
    color: var(--primary-dark);
}

.btn-text {
    background-color: transparent;
    color: var(--text-color);
    padding: 12px;
}

.btn-text:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Шапка сайта */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    height: 60px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: 10%;
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 24px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Главная секция (Hero) */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Секция с преимуществами */
.features {
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    margin-bottom: 20px;
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 96, 100, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Секция с призывом к действию (CTA) */
.cta {
    background-image: linear-gradient(rgba(0, 96, 100, 0.9), rgba(0, 96, 100, 0.9)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Секция с отзывами */
.testimonials {
    background-color: var(--white);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Секция с превью блога */
.blog-preview {
    background-color: var(--light-bg);
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.read-more:hover {
    border-bottom-color: var(--primary-color);
}

.blog-link {
    text-align: center;
}

/* Подвал */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 250px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Страница "О нас" */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-story {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.values {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.values h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-card .icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: rgba(0, 96, 100, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.team {
    padding: 100px 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 18px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.team-member h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.certificates {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.certificates h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.certificate {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.certificate img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.certificate p {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Страница "Услуги" */
.services-intro {
    padding: 100px 0;
}

.services-intro-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.services-intro-text {
    flex: 1;
}

.services-intro-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.services-intro-text p {
    margin-bottom: 20px;
}

.services-intro-image {
    flex: 1;
    min-width: 300px;
}

.services-intro-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.services-list {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.services-list h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.service-duration {
    color: var(--text-light);
    margin-bottom: 15px;
    display: block;
    font-size: 14px;
}

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.service-price p {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.packages {
    padding: 100px 0;
}

.packages h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.package-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.package-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.package-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.package-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.package-features {
    margin-bottom: 25px;
    padding: 0 20px;
}

.package-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

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

.addon-services {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.addon-services h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
}

.addon-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.addon-service {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.addon-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.addon-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: rgba(0, 96, 100, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.addon-service h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.addon-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 0;
}

.faq {
    padding: 100px 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.faq-grid {
    display: grid;
    gap: 20px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 96, 100, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.faq-toggle {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Страница блога */
.blog-content {
    padding: 80px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 60px;
}

.blog-posts {
    display: grid;
    gap: 40px;
}

.blog-post {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .blog-post {
        flex-direction: row;
    }
    
    .blog-post-image {
        flex: 4;
    }
    
    .blog-post-content {
        flex: 6;
    }
}

.blog-post-image {
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 30px;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.blog-post h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.blog-post p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.blog-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-list a {
    color: var(--text-color);
    padding: 8px 0;
    display: block;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    gap: 15px;
}

.popular-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.popular-post h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.popular-post span {
    font-size: 12px;
    color: var(--text-light);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscribe-form input {
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 16px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--light-bg);
    color: var(--text-color);
    border-radius: 20px;
    font-size: 14px;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Страница отдельного поста блога */
.blog-post-header {
    background-color: var(--light-bg);
    padding: 60px 0 40px;
}

.blog-post-header .container {
    max-width: 900px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-light);
}

.blog-post-header h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.post-featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-featured-image img {
    width: 100%;
}

.blog-post-content {
    padding: 60px 0;
}

.blog-post-content .container {
    max-width: 1200px;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.post-share p {
    margin-bottom: 0;
    font-weight: 600;
}

.social-share {
    display: flex;
    gap: 10px;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.post-tags p {
    margin-bottom: 0;
    font-weight: 600;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list a {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--light-bg);
    color: var(--text-color);
    border-radius: 20px;
    font-size: 14px;
    transition: var(--transition);
}

.tag-list a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.post-author-bio {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.post-author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author-bio h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.post-author-bio p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.6;
}

.related-posts {
    margin-bottom: 40px;
}

.related-posts h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.related-post h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.related-post p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

.post-comments h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.comment.reply {
    margin-left: 60px;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-header h4 {
    font-size: 18px;
    margin-bottom: 0;
}

.comment-header span {
    font-size: 14px;
    color: var(--text-light);
}

.comment-content p {
    margin-bottom: 10px;
}

.reply-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.reply-btn:hover {
    text-decoration: underline;
}

.comment-form {
    margin-top: 50px;
}

.comment-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* Страница контактов */
.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: rgba(0, 96, 100, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-item p {
    margin-bottom: 5px;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-form-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-container h2,
.contact-map h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-form-container p {
    margin-bottom: 30px;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-container {
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

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

.directions {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.directions h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.directions p {
    margin-bottom: 15px;
}

.directions p:last-child {
    margin-bottom: 0;
}

/* Модальное окно "Задать вопрос" */
.ask-question-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
}

.ask-question-btn button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.ask-question-btn button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.question-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.question-modal.active {
    display: flex;
}

.question-modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.question-modal h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Модальное окно благодарности */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.thank-you-modal.active {
    display: flex;
}

.thank-you-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-thank-you {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.close-thank-you:hover {
    color: var(--primary-color);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: #e6f7f2;
    border-radius: 50%;
    color: #00c853;
}

.thank-you-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.thank-you-content p {
    margin-bottom: 25px;
    font-size: 18px;
}

/* Уведомление о куки */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
}

.cookie-consent.active {
    display: block;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Медиа-запросы для адаптивного дизайна */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    h2 {
        font-size: 32px !important;
    }
    
    .about-content,
    .services-intro-content {
        flex-direction: column;
    }
    
    .about-image,
    .services-intro-image {
        margin-bottom: 40px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        order: 2;
    }
    
    .contact-map {
        order: 1;
    }
}

@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .features-grid,
    .values-grid,
    .team-grid,
    .certificates-grid,
    .services-grid,
    .packages-grid,
    .addon-services-grid,
    .blog-cards,
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-social {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .blog-post-header h1 {
        font-size: 28px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment.reply {
        margin-left: 20px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-share {
        margin-top: 10px;
    }
    
    .post-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tag-list {
        margin-top: 10px;
    }
}
