/* =========== GOOGLE FONTS IMPORT =========== */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500;700&family=Source+Sans+3:wght@400;600&display=swap');

/* =========== CSS VARIABLES (GLOBAL) =========== */
:root {
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    --primary-bg: #FFFFFF;
    --secondary-bg: #F8F9FA;
    --text-dark: #1A202C;
    --text-light: #4A5568;
    --accent-primary: #3B82F6;
    --accent-primary-hover: #2563EB;
    --accent-secondary: #10B981;
    --border-color: #E2E8F0;
    
    --container-width: 1140px;
    --container-padding: 1.5rem;
    
    --transition-fast: 0.2s ease-in-out;
}

/* =========== GLOBAL RESET & BASE STYLES =========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

.body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.body--lock-scroll {
    overflow: hidden;
}

.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--accent-primary-hover);
    text-decoration: underline;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* =========== HEADER (Mobile-First) =========== */
.header {
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.header__logo:hover {
    text-decoration: none;
    color: var(--accent-primary);
}

.header__burger {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 102;
}

.header__burger-icon {
    width: 28px;
    height: 28px;
}

.header__burger-icon--close {
    display: none;
}

.header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background-color: var(--primary-bg);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 70px 2rem 2rem;
    z-index: 101;
    overflow-y: auto;
}

.header__nav--active {
    transform: translateX(0);
}

.header__nav--active + .header__burger .header__burger-icon--menu {
    display: none;
}

.header__nav--active + .header__burger .header__burger-icon--close {
    display: block;
}

.header__nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.25rem;
}

.header__nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.header__nav-link:hover {
    color: var(--accent-primary);
    text-decoration: none;
}

.header__nav-link--cta {
    background-color: var(--accent-primary);
    color: var(--primary-bg);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-align: center;
}

.header__nav-link--cta:hover {
    background-color: var(--accent-primary-hover);
    color: var(--primary-bg);
}

/* =========== FOOTER (Mobile-First) =========== */
.footer {
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    color: var(--text-light);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer__column--logo {
    margin-bottom: 1rem;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.footer__logo:hover {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer__description {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    font-size: 0.95rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer__contact-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
    margin-top: 3px;
}

.footer__copyright {
    border-top: 1px solid var(--border-color);
    margin-top: 2.5rem;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* =========== DESKTOP STYLES (Breakpoint 768px) =========== */
@media (min-width: 768px) {
    .header__burger {
        display: none;
    }

    .header__nav {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        transform: none;
        padding: 0;
        overflow-y: visible;
    }

    .header__nav-list {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        font-size: 1rem;
    }

    .header__nav-link--cta {
        padding: 0.5rem 1.25rem;
    }
    
    .footer__container {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
    }
}

/* =========== DESKTOP STYLES (Breakpoint 1024px) =========== */
@media (min-width: 1024px) {
    .header__nav-list {
        gap: 2.5rem;
    }
    
    .footer__container {
        gap: 3rem;
    }
}

/* =========== HERO SECTION (Mobile-First) =========== */
.hero {
    padding: 4rem 0;
    background-color: var(--primary-bg);
    overflow: hidden; /* Для корректной работы AOS анимаций */
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__content {
    max-width: 650px;
    margin-bottom: 2.5rem;
}

.hero__title {
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero__description {
    font-size: 1.125rem; /* 18px */
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__cta-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.hero__cta {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
    border: 2px solid transparent;
}

.hero__cta--primary {
    background-color: var(--accent-primary);
    color: var(--primary-bg);
}

.hero__cta--primary:hover {
    background-color: var(--accent-primary-hover);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    text-decoration: none;
}

.hero__cta--secondary {
    background-color: var(--primary-bg);
    color: var(--accent-primary);
    border-color: var(--border-color);
}

.hero__cta--secondary:hover {
    background-color: var(--secondary-bg);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    text-decoration: none;
}

.hero__image-wrapper {
    width: 100%;
    max-width: 500px;
}

.hero__image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    /* У плейсхолдера может быть фон, сделаем его чуть темнее */
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
}


/* =========== DESKTOP STYLES (Breakpoint 768px) =========== */
@media (min-width: 768px) {
    .hero__title {
        font-size: 3rem; /* 48px */
    }
    
    .hero__cta-group {
        flex-direction: row;
    }
}

/* =========== DESKTOP STYLES (Breakpoint 1024px) =========== */
@media (min-width: 1024px) {
    .hero {
        padding: 6rem 0;
    }

    .hero__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .hero__content {
        flex: 0 0 55%; /* Занимает 55% ширины */
        margin-bottom: 0;
    }
    
    .hero__title {
        font-size: 3.5rem; /* 56px */
    }
    
    .hero__cta-group {
        justify-content: flex-start;
    }
    
    .hero__image-wrapper {
        flex: 0 0 40%; /* Занимает 40% ширины */
        max-width: none;
    }
}
/* =========== ABOUT SECTION (Mobile-First) =========== */
.about {
    padding: 4rem 0;
    background-color: var(--secondary-bg); /* Чередуем фон секций */
    overflow: hidden;
}

.about__container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about__image-wrapper {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.about__image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
}

.about__title {
    font-size: 2rem; /* 32px */
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about__description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about__description:last-of-type {
    margin-bottom: 2rem;
}

.about__benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about__benefits-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about__benefits-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--accent-secondary); /* Используем второй акцентный цвет */
    margin-top: 3px;
}

.about__benefits-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.about__benefits-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}


/* =========== DESKTOP STYLES (Breakpoint 768px) =========== */
@media (min-width: 768px) {
    .about {
        padding: 5rem 0;
    }
    
    .about__title {
        font-size: 2.5rem; /* 40px */
    }
}

/* =========== DESKTOP STYLES (Breakpoint 1024px) =========== */
@media (min-width: 1024px) {
    .about {
        padding: 6rem 0;
    }

    .about__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 4rem;
    }
    
    .about__image-wrapper {
        flex: 0 0 45%;
        max-width: none;
    }
    
    .about__content {
        flex: 0 0 50%;
    }
}

/* =========== PRACTICES SECTION (Mobile-First) =========== */
.practices {
    padding: 4rem 0;
    background-color: var(--primary-bg);
    overflow: hidden;
}

.practices__header {
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
}

.practices__title {
    font-size: 2rem; /* 32px */
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.practices__description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Tabs Navigation */
.practices__tabs-nav {
    display: flex;
    overflow-x: auto; /* Для мобильных, если не влезет */
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.practices__tabs-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.practices__tab-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 0; /* 0 по бокам, т.к. flex-grow ниже */
    margin: 0 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
    top: 1px; /* Компенсация border-bottom контейнера */
}

.practices__tab-button:first-child {
    margin-left: 0;
}

.practices__tab-button:hover {
    color: var(--text-dark);
}

.practices__tab-button--active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.practices__tab-icon {
    width: 20px;
    height: 20px;
}

/* Tabs Content Panel */
.practices__tab-panel {
    display: none; /* Скрыты по умолчанию */
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.4s ease-in-out;
}

.practices__tab-panel--active {
    display: flex; /* Активный таб виден */
}

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

.practices__panel-content {
    flex: 1;
}

.practices__panel-title {
    font-size: 1.75rem; /* 28px */
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.practices__panel-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.practices__panel-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.practices__panel-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.practices__panel-list-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-secondary);
}

.practices__panel-cta {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
    background-color: var(--accent-primary);
    color: var(--primary-bg);
}

.practices__panel-cta:hover {
    background-color: var(--accent-primary-hover);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    text-decoration: none;
}

.practices__panel-image-wrapper {
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
}

.practices__panel-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
}


/* =========== DESKTOP STYLES (Breakpoint 768px) =========== */
@media (min-width: 768px) {
    .practices {
        padding: 5rem 0;
    }
    
    .practices__title {
        font-size: 2.5rem; /* 40px */
    }

    .practices__tabs-nav {
        justify-content: center;
    }

    .practices__tab-button {
        padding: 1rem 1.5rem;
        margin: 0;
        flex-grow: 1; /* Кнопки занимают равное место */
        justify-content: center;
    }
    
    .practices__tab-button:first-child {
        margin-left: 0;
    }
    
    .practices__tab-panel {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .practices__panel-content {
        flex: 0 0 50%;
    }
    
    .practices__panel-image-wrapper {
        flex: 0 0 45%;
        max-width: none;
    }

    /* Чередование макета */
    .practices__tab-panel:nth-child(even) .practices__panel-content {
        order: 2;
    }
    .practices__tab-panel:nth-child(even) .practices__panel-image-wrapper {
        order: 1;
    }
}
/* =========== TOOLS SECTION (Mobile-First) =========== */
.tools {
    padding: 4rem 0;
    background-color: var(--secondary-bg); /* Чередуем фон */
    overflow: hidden;
}

.tools__header {
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
}

.tools__title {
    font-size: 2rem; /* 32px */
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tools__description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Tools Grid */
.tools__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tools__card {
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.tools__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
    border-color: var(--accent-primary);
}

.tools__card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: var(--accent-primary);
    color: var(--primary-bg);
}

.tools__card-icon-wrapper--accent2 {
    background-color: var(--accent-secondary);
}

.tools__card-icon-wrapper--accent3 {
    background-color: #F59E0B; /* Добавим 3-й цвет для разнообразия */
}

.tools__card-icon {
    width: 28px;
    height: 28px;
}

.tools__card-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.tools__card-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Чтобы ссылка была внизу */
}

.tools__card-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.tools__card-link:hover {
    color: var(--accent-primary-hover);
    text-decoration: none;
    gap: 0.75rem; /* Легкая анимация стрелки */
}

.tools__card-link-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.tools__card-link:hover .tools__card-link-icon {
     transform: translateX(4px);
}

/* CTA Bar */
.tools__cta-bar {
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.tools__cta-text {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

.tools__cta-br {
    display: block; /* По умолчанию перенос строки видим */
}

.tools__cta-button {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
    background-color: var(--accent-primary);
    color: var(--primary-bg);
    width: 100%; /* На мобильных кнопка на всю ширину */
}

.tools__cta-button:hover {
    background-color: var(--accent-primary-hover);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    text-decoration: none;
}

/* =========== DESKTOP STYLES (Breakpoint 768px) =========== */
@media (min-width: 768px) {
    .tools {
        padding: 5rem 0;
    }
    
    .tools__title {
        font-size: 2.5rem; /* 40px */
    }

    .tools__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .tools__cta-bar {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 2rem 2.5rem;
    }
    
    .tools__cta-text {
        font-size: 1.25rem;
    }

    .tools__cta-br {
        display: none; /* Убираем принудительный перенос */
    }

    .tools__cta-button {
        width: auto;
        white-space: nowrap; /* Чтобы текст не переносился */
    }
}

/* =========== DESKTOP STYLES (Breakpoint 1024px) =========== */
@media (min-width: 1024px) {
    .tools {
        padding: 6rem 0;
    }
    
    .tools__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========== FAQ SECTION (Mobile-First) =========== */
.faq {
    padding: 4rem 0;
    background-color: var(--primary-bg); /* Чередуем фон */
    overflow: hidden;
}

.faq__container {
    max-width: 800px; /* Делаем контейнер чуть уже для читаемости FAQ */
}

.faq__header {
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
}

.faq__title {
    font-size: 2rem; /* 32px */
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq__description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* FAQ List */
.faq__list {
    border-top: 1px solid var(--border-color);
}

.faq__item {
    border-bottom: 1px solid var(--border-color);
}

.faq__question-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 1.5rem 0.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.faq__question-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.faq__question-icon {
    width: 22px;
    height: 22px;
    color: var(--accent-primary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq__question-button:hover .faq__question-text {
    color: var(--accent-primary);
}

/* Answer Panel */
.faq__answer-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.faq__answer-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    padding: 0 0.5rem 1.5rem 0.5rem;
}

/* Active State */
.faq__item--active .faq__question-icon {
    transform: rotate(180deg);
}

.faq__item--active .faq__answer-panel {
    max-height: 300px; /* Установите достаточную высоту */
}

/* =========== DESKTOP STYLES (Breakpoint 768px) =========== */
@media (min-width: 768px) {
    .faq {
        padding: 5rem 0;
    }
    
    .faq__title {
        font-size: 2.5rem; /* 40px */
    }
    
    .faq__question-button {
        padding: 1.75rem 1rem;
    }
    
    .faq__question-text {
        font-size: 1.25rem;
    }
    
    .faq__answer-text {
        padding: 0 1rem 1.75rem 1rem;
    }
}

/* =========== CONTACT SECTION (Mobile-First) =========== */
.contact {
    padding: 4rem 0;
    background-color: var(--secondary-bg);
    overflow: hidden;
}

.contact__container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact__title {
    font-size: 2rem; /* 32px */
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact__description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact__info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.contact__info-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact__info-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact__info-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.contact__info-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Contact Form Wrapper */
.contact__form-wrapper {
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.form__group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form__input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.form__input::placeholder {
    color: #A0AEC0; /* Более светлый серый */
}

.form__input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Captcha */
.form__group--captcha .form__label {
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Checkbox */
.form__group--checkbox {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form__checkbox-input {
    flex-shrink: 0;
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.2em;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.form__checkbox-label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.form__checkbox-label a {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Error Messages */
.form__error-message {
    color: #E53E3E; /* Red */
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none; /* Скрыто по умолчанию */
}

.form__group--error .form__input {
    border-color: #E53E3E;
}

.form__group--error .form__error-message {
    display: block;
}

.form__group--error .form__checkbox-label {
    color: #E53E3E; /* Ошибка чекбокса */
}


/* Submit Button */
.form__submit-btn {
    width: 100%;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
    background-color: var(--accent-primary);
    color: var(--primary-bg);
    border: none;
    cursor: pointer;
}

.form__submit-btn:hover {
    background-color: var(--accent-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Success Message */
.contact__success-message {
    display: none; /* Скрыто по умолчанию */
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

.contact__success-icon {
    width: 50px;
    height: 50px;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.contact__success-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact__success-text {
    font-size: 1rem;
    color: var(--text-light);
}


/* =========== DESKTOP STYLES (Breakpoint 768px) =========== */
@media (min-width: 768px) {
    .contact {
        padding: 5rem 0;
    }
    
    .contact__title {
        font-size: 2.5rem; /* 40px */
    }
    
    .contact__form-wrapper {
        padding: 2.5rem;
    }
}

/* =========== DESKTOP STYLES (Breakpoint 1024px) =========== */
@media (min-width: 1024px) {
    .contact {
        padding: 6rem 0;
    }
    
    .contact__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 4rem;
    }
    
    .contact__content {
        flex: 0 0 45%;
    }
    
    .contact__form-wrapper {
        flex: 0 0 50%;
        padding: 3rem;
    }
}

.cookie-popup {
    position: fixed;
    bottom: -100%; /* Скрыто по умолчанию */
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--primary-bg);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 200;
    transition: bottom 0.5s ease-in-out;
}

.cookie-popup--active {
    bottom: 0;
}

.cookie-popup__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.cookie-popup__text {
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-popup__link {
    color: var(--primary-bg);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-popup__link:hover {
    color: #A0AEC0; /* Светло-серый */
}

.cookie-popup__button {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background-color: var(--accent-primary);
    color: var(--primary-bg);
    transition: all var(--transition-fast);
    flex-shrink: 0;
    width: 100%;
}

.cookie-popup__button:hover {
    background-color: var(--accent-primary-hover);
}

/* =========== DESKTOP STYLES (Breakpoint 768px) =========== */
@media (min-width: 768px) {
    .cookie-popup__content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .cookie-popup__button {
        width: auto;
    }
}

.pages {
    padding: 3rem 0;
    background-color: var(--primary-bg);
}

.pages .container {
    max-width: 800px; /* Узкий контейнер для удобства чтения */
}

.pages h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.pages h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.pages p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.pages a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: underline;
}

.pages a:hover {
    color: var(--accent-primary-hover);
}

.pages ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.pages li {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.pages strong {
    font-weight: 600;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .pages {
        padding: 4rem 0;
    }

    .pages h1 {
        font-size: 3rem;
    }

    .pages h2 {
        font-size: 2rem;
    }
    
    .pages p, .pages li {
        font-size: 1.05rem;
    }
}