/* --------------------------------------------------------- */
/* 1. Глобальные сбросы и базовые настройки                  */
/* --------------------------------------------------------- */

/* Убираем отступы у всех элементов, задаём box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные стили для body - на всю высоту экрана */
html, body {
    height: 100%;
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    line-height: 1.5;
}

body {
    background-color: #f9f9fb;
    padding-top: 0;
}

/* --------------------------------------------------------- */
/* 2. Вспомогательный класс-контейнер                        */
/* --------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------- */
/* 3. Шапка (header) - горизонтальный, прозрачный, фиксированный */
/* --------------------------------------------------------- */
.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* При скролле становится слегка затемнённым */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Внутренний контейнер хедера - логотип слева, меню справа */
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип - видим, слева */
.logo {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

/* При скролле логотип становится тёмным */
.header.scrolled .logo {
    color: #1a1a2e;
    text-shadow: none;
}

/* Эмодзи в логотипе */
.logo__emoji {
    font-size: 20px;
    margin-left: 4px;
}

/* Навигационное меню - горизонтальное */
.nav__list {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

/* Ссылки в меню - горизонтальные кнопки */
.nav__link {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Unbounded', sans-serif;
    padding: 10px 24px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* При наведении - обводка исчезает, появляется заливка */
.nav__link:hover {
    border-color: transparent;
    background-color: #ffffff;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-shadow: none;
}

/* При скролле - кнопки становятся тёмными */
.header.scrolled .nav__link {
    border-color: #1a1a2e;
    color: #1a1a2e;
    background-color: transparent;
    text-shadow: none;
}

/* При скролле и наведении - заливка тёмная */
.header.scrolled .nav__link:hover {
    border-color: transparent;
    background-color: #1a1a2e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------- */
/* 4. Главный блок (Hero) - на всю высоту экрана            */
/* --------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('фон.png') center center / cover no-repeat;
    padding-top: 80px;
}

/* Внутренний контейнер героя - flex для двух колонок */
.hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    padding-top: 20px;
}

/* Левая колонка с текстом */
.hero__content {
    flex: 1;
    text-align: left;
    padding-bottom: 10%;
}

/* Правая колонка с изображением */
.hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Само изображение - адаптивное */
.hero__image img {
    max-width: 150%;
    height: auto;
    display: block;
}

/* Заголовок H1 */
.hero__title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: #f5f5f5;
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.2;
}

/* Кнопка "Найти клиентов" */
.hero__btn {
    display: inline-block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    background-color: #000000;
    color: #ffffff;
    font-size: 20px;
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 8px 20px rgba(249, 249, 249, 0.3);
}

.hero__btn:hover {
    background-color: #2e2f33;
    transform: translateY(-3px);
}

/* --------------------------------------------------------- */
/* 5. Блок "О нас" (about)                                   */
/* --------------------------------------------------------- */
.about {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fe 100%);
    position: relative;
    overflow: hidden;
}

/* Декоративный элемент */
.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about__inner {
    position: relative;
    z-index: 1;
}

/* Заголовок секции */
.about__header {
    text-align: center;
    margin-bottom: 60px;
}

.about__badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Unbounded', sans-serif;
    color: #4a6cf7;
    background: rgba(74, 108, 247, 0.1);
    padding: 8px 24px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 16px;
}

.about__subtitle {
    font-size: 18px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

/* Сетка со статистикой и описанием */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

/* Статистика */
.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about__stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.about__stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
}

.about__stat-number {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
    margin-bottom: 8px;
}

.about__stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Описание */
.about__description {
    padding-left: 20px;
}

.about__text {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
}

.about__text strong {
    color: #1a1a2e;
    font-weight: 700;
}

/* Сферы */
.about__spheres {
    margin-bottom: 60px;
    padding: 50px 60px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.about__spheres-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 30px;
}

.about__spheres-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0;
}

.about__sphere-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    padding: 14px 20px;
    background: #f8f9fe;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.about__sphere-item:hover {
    background: #1a1a2e;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.15);
}

.about__sphere-item:hover .about__sphere-icon {
    filter: brightness(10);
}

.about__sphere-icon {
    font-size: 22px;
    transition: filter 0.3s ease;
}

/* Полный цикл */
.about__cycle {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 50px 60px;
    background: #1a1a2e;
    border-radius: 30px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about__cycle::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.about__cycle-content {
    position: relative;
    z-index: 1;
}

.about__cycle-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about__cycle-text {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 24px;
    max-width: 500px;
}

.about__cycle-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.about__step {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.about__step:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.about__step-arrow {
    font-size: 18px;
    opacity: 0.5;
}

/* Быстрый старт */
.about__fast-start {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.about__fast-icon {
    font-size: 40px;
}

.about__fast-label {
    display: block;
    font-size: 14px;
    opacity: 0.7;
}

.about__fast-value {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #f1f1f3;
}

/* --------------------------------------------------------- */
/* 6. Блок "Услуги" (services)                               */
/* --------------------------------------------------------- */
.services {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #f8f9fe 0%, #ffffff 100%);
    position: relative;
}

.services__inner {
    position: relative;
    z-index: 1;
}

/* Заголовок секции */
.services__header {
    text-align: center;
    margin-bottom: 50px;
}

.services__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Unbounded', sans-serif;
    color: #4a6cf7;
    background: rgba(74, 108, 247, 0.1);
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.services__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 12px;
}

.services__subtitle {
    font-size: 17px;
    color: #666;
    max-width: 450px;
    margin: 0 auto;
}

/* Сетка с тарифами - 3 колонки */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

/* Карточка тарифа - компактная */
.services__card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 28px 28px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.services__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.1);
}

/* Популярный тариф */
.services__card--popular {
    border-color: #4a6cf7;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.services__card--popular:hover {
    box-shadow: 0 12px 45px rgba(74, 108, 247, 0.2);
}

/* Бейдж */
.services__card-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
    color: #ffffff;
    background: #1a1a2e;
    padding: 3px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    align-self: flex-start;
}

.services__card-badge--popular {
    background: #4a6cf7;
}

/* Заголовок тарифа */
.services__card-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

/* Список услуг - компактный */
.services__card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex: 1;
}

.services__card-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    padding: 4px 0;
}

.services__card-item--muted {
    color: #999;
    opacity: 0.7;
}

.services__card-item--highlight {
    color: #4a6cf7;
    font-weight: 500;
    background: rgba(74, 108, 247, 0.06);
    padding: 6px 10px;
    border-radius: 10px;
    margin-top: 4px;
}

.services__card-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Цена - компактная */
.services__card-price {
    margin-bottom: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.services__card-amount {
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
}

.services__card-period {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

/* Время старта - компактное */
.services__card-timing {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    padding: 8px 14px;
    background: #f8f9fe;
    border-radius: 10px;
}

.services__card-clock {
    font-size: 16px;
}

/* Кнопка выбора тарифа - компактная */
.services__card-btn {
    display: inline-block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    background: #1a1a2e;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.services__card-btn:hover {
    background: #4a6cf7;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74, 108, 247, 0.3);
}

.services__card--popular .services__card-btn {
    background: #4a6cf7;
}

.services__card--popular .services__card-btn:hover {
    background: #3459e0;
    box-shadow: 0 6px 25px rgba(74, 108, 247, 0.4);
}

/* Примечание внизу */
.services__note {
    text-align: center;
    font-size: 14px;
    color: #888;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 14px;
    max-width: 500px;
    margin: 0 auto;
}

/* --------------------------------------------------------- */
/* 7. Блок "Контакты" (contacts)                             */
/* --------------------------------------------------------- */
.contacts {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fe 100%);
    position: relative;
}

.contacts__inner {
    position: relative;
    z-index: 1;
}

/* Заголовок секции */
.contacts__header {
    text-align: center;
    margin-bottom: 50px;
}

.contacts__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Unbounded', sans-serif;
    color: #4a6cf7;
    background: rgba(74, 108, 247, 0.1);
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contacts__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 12px;
}

.contacts__subtitle {
    font-size: 17px;
    color: #666;
    max-width: 450px;
    margin: 0 auto;
}

/* Сетка с формой и контактами - компактная */
.contacts__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Левая колонка - форма (компактная) */
.contacts__form-wrapper {
    background: #ffffff;
    padding: 32px 36px;
    border-radius: 24px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contacts__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contacts__form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contacts__label {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    font-family: 'Unbounded', sans-serif;
    letter-spacing: 0.3px;
}

.contacts__input,
.contacts__textarea {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    padding: 10px 14px;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fafbfd;
    color: #1a1a2e;
    width: 100%;
    outline: none;
}

.contacts__input::placeholder,
.contacts__textarea::placeholder {
    color: #bbb;
    font-weight: 400;
    font-size: 12px;
}

.contacts__input:focus,
.contacts__textarea:focus {
    border-color: #4a6cf7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.08);
}

.contacts__textarea {
    resize: vertical;
    min-height: 70px;
    font-family: 'Unbounded', sans-serif;
}

/* Кнопка отправки - компактная */
.contacts__submit {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #1a1a2e;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.contacts__submit:hover {
    background: #4a6cf7;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74, 108, 247, 0.3);
}

/* Правая колонка - контакты (компактная) */
.contacts__info {
    background: #1a1a2e;
    padding: 32px 30px;
    border-radius: 24px;
    color: #ffffff;
    position: sticky;
    top: 100px;
}

.contacts__info-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

.contacts__info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.contacts__info-item:last-of-type {
    border-bottom: none;
}

.contacts__info-item:hover {
    transform: translateX(4px);
}

.contacts__info-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.contacts__info-label {
    display: block;
    font-size: 10px;
    opacity: 0.5;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacts__info-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Unbounded', sans-serif;
}

.contacts__info-value:hover {
    color: #4a6cf7;
}

/* Быстрая связь - компактная */
.contacts__quick {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contacts__quick-icon {
    font-size: 20px;
}

.contacts__quick-text {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    opacity: 0.9;
}

/* Чекбокс - уменьшенный текст */
.contacts__form-group--checkbox {
    margin-top: 4px;
}

.contacts__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #1a1a2e;
    line-height: 1.3;
}

.contacts__checkbox-label input[type="checkbox"] {
    display: none;
}

.contacts__checkbox-custom {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 2px solid #e8ecf4;
    border-radius: 4px;
    background: #fafbfd;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 1px;
}

.contacts__checkbox-label input[type="checkbox"]:checked + .contacts__checkbox-custom {
    background: #1a1a2e;
    border-color: #1a1a2e;
}

.contacts__checkbox-label input[type="checkbox"]:checked + .contacts__checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.contacts__checkbox-label input[type="checkbox"]:focus + .contacts__checkbox-custom {
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.contacts__checkbox-text {
    flex: 1;
    font-size: 12px;
}

.contacts__policy-link {
    color: #4a6cf7;
    text-decoration: underline;
    transition: color 0.2s ease;
    font-size: 12px;
}

.contacts__policy-link:hover {
    color: #1a1a2e;
}

/* Ошибка при незаполненном чекбоксе */
.contacts__checkbox-label input[type="checkbox"]:invalid + .contacts__checkbox-custom {
    border-color: #f44336;
}

/* Капча */
.contacts__captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacts__captcha-question {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    padding: 10px 16px;
    background: #f8f9fe;
    border-radius: 12px;
    border: 2px solid #e8ecf4;
    min-width: 100px;
    text-align: center;
    flex-shrink: 0;
}

.contacts__captcha-input {
    flex: 1;
    min-width: 80px;
}

.contacts__captcha-refresh {
    background: #f8f9fe;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contacts__captcha-refresh:hover {
    background: #e8ecf4;
    transform: rotate(45deg);
}

.contacts__hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    transition: color 0.3s ease;
}

/* Плашка-уведомление */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    padding: 16px 24px;
    border-radius: 16px;
    display: none;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    animation: slideIn 0.4s ease;
}

.notification--success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.notification--error {
    background: #ffebee;
    border-left: 4px solid #f44336;
}

.notification-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.notification-text {
    font-size: 14px;
    color: #1a1a2e;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0 4px;
}

.notification-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .contacts__captcha-box {
        flex-wrap: wrap;
    }
    
    .contacts__captcha-question {
        font-size: 16px;
        padding: 8px 14px;
        min-width: 80px;
        width: 100%;
    }
    
    .contacts__captcha-input {
        flex: 1;
        min-width: 60px;
    }

    .notification {
        top: 90px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 14px 18px;
    }
}

/* ========================================================= */
/* 8. АДАПТИВНОСТЬ ДЛЯ ВСЕЙ СТРАНИЦЫ                        */
/* ========================================================= */

/* ---------- Планшеты (до 1024px) ---------- */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
        width: 100%;
    }

    .header__inner {
        padding: 0 10px;
    }

    .about__spheres-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services__card--popular {
        order: -1;
    }

    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacts__info {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 30px;
        padding: 28px 30px;
    }

    .contacts__info-title {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .contacts__info-item {
        padding: 10px 0;
        border-bottom: none;
    }

    .contacts__quick {
        grid-column: 1 / -1;
        margin-top: 0;
        justify-content: center;
    }
}

/* ---------- Мобильные (до 768px) ---------- */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
        width: 100%;
    }

    .header__inner {
        padding: 0 8px;
    }

    .hero__inner,
    .about__inner,
    .services__inner,
    .contacts__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero__content,
    .about__header,
    .services__header,
    .contacts__header {
        width: 100%;
        text-align: center;
    }

    .about__grid,
    .about__stats {
        width: 100%;
        justify-items: center;
    }

    .about__stat-item {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .about__description {
        text-align: center;
        padding-left: 0;
    }

    .about__text {
        text-align: center;
    }

    .header {
        padding: 15px 0;
    }

    .logo {
        font-size: 20px;
    }

    .nav__list {
        gap: 8px;
    }

    .nav__link {
        font-size: 13px;
        padding: 8px 16px;
        border-width: 1.5px;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero__title {
        font-size: 34px;
    }

    .hero__btn {
        font-size: 18px;
        padding: 14px 32px;
    }

    .hero__inner {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        gap: 30px;
    }

    .hero__content {
        text-align: center;
        padding-bottom: 0;
    }

    .hero__image {
        justify-content: center;
    }

    .hero__image img {
        max-width: 80%;
    }

    .about {
        padding: 60px 0 80px;
    }

    .about__title {
        font-size: 32px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .about__stat-number {
        font-size: 36px;
    }

    .about__description {
        padding-left: 0;
    }

    .about__text {
        font-size: 18px;
    }

    .about__spheres {
        padding: 30px 24px;
        border-radius: 24px;
        width: 100%;
    }

    .about__spheres-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .about__spheres-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        justify-content: center;
    }

    .about__sphere-item {
        font-size: 14px;
        padding: 12px 16px;
        border-radius: 14px;
        justify-content: flex-start;
    }

    .about__sphere-icon {
        font-size: 18px;
        flex-shrink: 0;
    }

    .about__cycle {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 30px;
        width: 100%;
    }

    .about__cycle-title {
        font-size: 24px;
    }

    .about__cycle-steps {
        gap: 6px;
    }

    .about__step {
        font-size: 12px;
        padding: 6px 14px;
    }

    .about__fast-start {
        padding: 24px;
    }

    .about__fast-value {
        font-size: 20px;
    }

    .services {
        padding: 60px 0 70px;
    }

    .services__title {
        font-size: 32px;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        justify-items: center;
        width: 100%;
    }

    .services__card {
        padding: 26px 22px 24px;
        border-radius: 20px;
        width: 100%;
        max-width: 420px;
    }

    .services__card-title {
        font-size: 18px;
    }

    .services__card-amount {
        font-size: 24px;
    }

    .services__card-btn {
        font-size: 13px;
        padding: 11px 20px;
    }

    .contacts {
        padding: 60px 0 70px;
    }

    .contacts__title {
        font-size: 32px;
    }

    .contacts__form-wrapper {
        padding: 26px 22px;
        border-radius: 20px;
        width: 100%;
    }

    .contacts__input,
    .contacts__textarea {
        font-size: 13px;
        padding: 10px 14px;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .contacts__submit {
        font-size: 14px;
        padding: 12px 24px;
    }

    .contacts__info {
        grid-template-columns: 1fr;
        padding: 24px 22px;
        border-radius: 20px;
        gap: 4px;
        width: 100%;
    }

    .contacts__info-value {
        font-size: 14px;
    }

    .contacts__info-title {
        font-size: 18px;
    }
}

/* ---------- Телефоны (до 480px) ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header {
        padding: 12px 0;
    }

    .header__inner {
        flex-direction: column;
        gap: 10px;
        padding: 0 4px;
    }

    .logo {
        font-size: 18px;
    }

    .nav__list {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav__link {
        font-size: 11px;
        padding: 6px 14px;
        border-width: 1.5px;
    }

    .hero__title {
        font-size: 26px;
    }

    .hero__btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 16px;
    }

    .hero__image img {
        max-width: 100%;
    }

    .about__title {
        font-size: 26px;
    }

    .about__subtitle {
        font-size: 16px;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about__stat-item {
        padding: 20px;
        max-width: 100%;
    }

    .about__stat-number {
        font-size: 32px;
    }

    .about__spheres {
        padding: 20px 16px;
        border-radius: 20px;
        margin-bottom: 40px;
    }

    .about__spheres-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .about__spheres-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .about__sphere-item {
        font-size: 13px;
        padding: 10px 14px;
        border-radius: 12px;
        gap: 10px;
    }

    .about__sphere-icon {
        font-size: 16px;
    }

    .about__cycle {
        padding: 30px 20px;
    }

    .about__cycle-title {
        font-size: 20px;
    }

    .about__cycle-text {
        font-size: 16px;
    }

    .about__fast-value {
        font-size: 18px;
    }

    .services__title {
        font-size: 24px;
    }

    .services__subtitle {
        font-size: 14px;
    }

    .services__card {
        padding: 20px 16px 20px;
        border-radius: 16px;
    }

    .services__card-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .services__card-item {
        font-size: 12px;
        padding: 3px 0;
    }

    .services__card-amount {
        font-size: 20px;
    }

    .services__card-timing {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .services__card-btn {
        font-size: 12px;
        padding: 10px 16px;
    }

    .services__note {
        font-size: 12px;
        padding: 10px 16px;
    }

    .contacts__title {
        font-size: 24px;
    }

    .contacts__subtitle {
        font-size: 14px;
    }

    .contacts__form-wrapper {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .contacts__form {
        gap: 10px;
    }

    .contacts__label {
        font-size: 11px;
    }

    .contacts__input,
    .contacts__textarea {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 8px;
    }

    .contacts__textarea {
        min-height: 60px;
    }

    .contacts__submit {
        font-size: 13px;
        padding: 10px 20px;
    }

    .contacts__info {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .contacts__info-value {
        font-size: 13px;
    }

    .contacts__info-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .contacts__info-item {
        padding: 8px 0;
    }

    .contacts__quick {
        padding: 10px 14px;
    }

    .contacts__quick-text {
        font-size: 12px;
    }
}

/* ---------- Очень маленькие экраны (до 380px) ---------- */
@media (max-width: 380px) {
    .container {
        padding: 0 8px;
    }

    .about__spheres-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .about__sphere-item {
        font-size: 13px;
        padding: 10px 14px;
        justify-content: center;
    }

    .services__grid {
        max-width: 100%;
        gap: 12px;
    }

    .services__card {
        padding: 16px 12px 18px;
    }

    .nav__link {
        font-size: 10px;
        padding: 5px 10px;
    }

    .logo {
        font-size: 16px;
    }

    .hero__title {
        font-size: 22px;
    }

    .hero__btn {
        font-size: 14px;
        padding: 12px 16px;
    }

    .contacts__form-wrapper {
        padding: 14px 10px;
    }

    .contacts__input,
    .contacts__textarea {
        font-size: 11px;
        padding: 6px 10px;
    }

    .contacts__submit {
        font-size: 12px;
        padding: 10px 16px;
    }
}

/* ---------- Footer адаптивность ---------- */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 16px 0;
        font-size: 11px;
    }
}