/* ==========================================================================
   Лендинг вебинара «Анна Гаврилова» (WP page ID 94825, slug: webinar-anna-gavrilova)
   Шрифт: Raleway. Контейнер/карточка: 1270px. Акцент: #45679d. Текст: #313131.
   ========================================================================== */

.wag {
    font-family: 'Raleway', sans-serif;
    color: #313131;
}

/* Лендинг собран из full-bleed блоков (WPBakery «Вставка HTML»). У обёрток
   WPBakery дефолтный нижний отступ (~35px) → между блоками белые полосы
   (особенно заметно под синим блоком 03). CSS грузится только на page 94825,
   все блоки тут — встык, поэтому отступ безопасно снимаем. */
.wpb_content_element,
.wpb_text_column,
.wpb_raw_html,
.wpb_raw_code {
    margin-bottom: 0 !important;
}

/* ============================ HERO + ТАЙМЕР ============================ */

.wag-hero {
    background: #f2f6ff;
    padding: 80px 25px;
    box-sizing: border-box;
}

.wag-hero * {
    box-sizing: border-box;
}

.wag-hero__card {
    max-width: 1270px;
    min-height: 420px;
    margin: 0 auto;
    padding: 51px 24px;
    border-radius: 20px;
    background: linear-gradient(162deg, #3f6399 0%, #6b93c7 100%);
    box-shadow: 0 24px 60px -28px rgba(73, 109, 178, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Иконка play --- */
.wag-hero__icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wag-hero__icon svg {
    width: 30px;
    height: 30px;
    display: block;
    margin-left: 3px; /* оптическая компенсация треугольника */
}

/* --- Vimeo-плеер (вертикальный ролик-приглашение) --- */
.wag-hero__video {
    position: relative;
    width: 230px;
    min-width: 230px; /* не сжимать ниже 230px на узких экранах */
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.45);
}

.wag-hero__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Бейдж --- */
.wag-hero__badge {
    margin-top: 26px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

/* --- Заголовок --- */
.wag-hero__title {
    margin: 12px 0 0;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #fff;
}

/* --- Подзаголовок --- */
.wag-hero__subtitle {
    margin: 8px 0 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Таймер --- */
.wag-hero__timer {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    justify-content: center;
}

.wag-hero__timer-cell {
    width: 86px;
    height: 95px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wag-hero__timer-num {
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    color: #fff;
    font-variant-numeric: lining-nums proportional-nums;
}

.wag-hero__timer-label {
    font-weight: 600;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================ БЛОК 08: ФОРМА РЕГИСТРАЦИИ ============================ */

.wag-form {
    background: #45679d;
    padding: 80px 25px;
    scroll-margin-top: 100px; /* отступ для плавного скролла из кнопок «Подробнее» (блок 10) */
}

.wag-form * {
    box-sizing: border-box;
}

.wag-form__container {
    max-width: 1270px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

.wag-form__col {
    flex: 1 1 0;
    min-width: 0;
}

/* --- Левая колонка --- */
.wag-form__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: #e6edf8;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #313131;
}

.wag-form__badge::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #45679d;
}

.wag-form__title {
    margin: 22px 0 0;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #fff;
}

.wag-form__text {
    margin: 20px 0 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
}

.wag-form__list {
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
	list-style: decimal;
}

.wag-form__list li {
    position: relative;
    padding-left: 20px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
}

.wag-form__list li + li {
    margin-top: 16px;
}

.wag-form__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3.5 9.5L7 13L14.5 5.5' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
	display: none;
}

/* --- Правая колонка: карточка формы --- */
.wag-form__card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.3);
    padding: 32px;
}

.wag-form__card-title {
    margin: 0 0 24px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.019em;
    color: #313131;
}

.wag-form__field + .wag-form__field {
    margin-top: 16px;
}

.wag-form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #313131;
}

/* Повышенная специфичность: перебиваем стили инпутов темы Woodmart */
.wag-form .wag-form__input {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 19px !important;
    border: 1px solid #d6dfee !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 400;
    font-size: 15px;
    line-height: 48px;
    color: #313131;
    /* lining-цифры — телефон/e-mail на одной базовой линии, без «прыжков» */
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
    transition: border-color 0.15s ease;
}

.wag-form .wag-form__input::placeholder {
    color: #b0adb8;
    opacity: 1;
}

/* Списки «Есть БМС?» / «Специалист?» — в стиле инпутов + кастомная стрелка */
.wag-form .wag-form__select {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 40px 0 19px !important;
    border: 1px solid #d6dfee !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2345679D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    box-shadow: none !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 400;
    font-size: 15px;
    color: #313131;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease;
}

.wag-form .wag-form__select:focus {
    outline: none;
    border-color: #45679d !important;
}

/* варианты Да/Нет — чёрные; «пусто» (—) — приглушённое */
.wag-form .wag-form__select option {
    color: #313131;
}
.wag-form .wag-form__select option[value=""] {
    color: #b0adb8;
}
/* закрытый список, пока не выбрано (value="") — placeholder-цвет «—» */
.wag-form .wag-form__select:invalid {
    color: #b0adb8;
}

/* Есть БМС? / Специалист? — в одну строку */
.wag-form__row {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

.wag-form__row .wag-form__field {
    flex: 1 1 0;
    min-width: 0;
    margin-top: 0;
}

.wag-form__row + .wag-form__field {
    margin-top: 16px;
}

.wag-form .wag-form__input:focus {
    outline: none;
    border-color: #45679d !important;
    box-shadow: none !important;
}

/* --- Способ связи (radio-пилюли) --- */
.wag-form__methods {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.wag-form__method {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    border-radius: 999px;
    border: 1px solid #d6dfee;
    background: #fff;
    font-weight: 600;
    font-size: 13px;
    color: #313131;
    cursor: pointer;
    transition: all 0.15s ease;
}

.wag-form__method input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wag-form__method.is-active,
.wag-form__method:has(input:checked) {
    background: #eaf1ff;
    border-color: #45679d;
    color: #45679d;
}

/* --- Согласия (2 чекбокса) --- */
.wag-form__consents {
    margin-top: 16px;
}

.wag-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.wag-form__consent + .wag-form__consent {
    margin-top: 10px;
}

.wag-form__consent input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    border: 1px solid #767676;
    border-radius: 2.5px;
    accent-color: #45679d;
    cursor: pointer;
}

.wag-form__consent span {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: #575757;
}

.wag-form__consent a {
    color: #45679d;
    text-decoration: underline;
}

.wag-form__consent a:hover {
    text-decoration: none;
}

/* --- Кнопка (повышенная специфичность: перебиваем стили темы Woodmart) --- */
.wag-form .wag-form__submit {
    display: block;
    width: 100%;
    height: 54px;
    margin: 22px 0 0;
    padding: 0;
    border: none !important;
    border-radius: 15px !important;
    background: #45679d !important;
    background-image: none !important;
    box-shadow: none !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 54px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: #fff !important;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.wag-form .wag-form__submit:hover,
.wag-form .wag-form__submit:focus {
    background: #3a567f !important;
    color: #fff !important;
}

.wag-form .wag-form__submit:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

/* Регистрация остановлена (вебинар прошёл) — кнопка выглядит неактивной,
   но клик перехватывается JS (показываем сообщение), поэтому без pointer-events:none */
.wag-form .wag-form__submit.is-closed,
.wag-form .wag-form__submit.is-closed:hover,
.wag-form .wag-form__submit.is-closed:focus {
    background: #b9c2d1 !important;
    color: #fff !important;
    opacity: 1;
    cursor: not-allowed;
}

/* лоадер на кнопке во время отправки */
.wag-form .wag-form__submit.is-loading {
    pointer-events: none;
}

.wag-form .wag-form__submit.is-loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: middle;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wag-spin 0.7s linear infinite;
}

@keyframes wag-spin {
    to { transform: rotate(360deg); }
}

/* --- Статус отправки --- */
.wag-form__status {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
}

.wag-form__status--success {
    background: #eaf6ec;
    color: #2e7d32;
}

.wag-form__status--error {
    background: #fdecec;
    color: #c0392b;
}

/* honeypot — скрыт от людей, видим для ботов */
.wag-form__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Чекбокс «Есть БМС?» --- */
.wag-form__check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.wag-form__check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #45679d;
    cursor: pointer;
}

.wag-form__check span {
    font-weight: 600;
    font-size: 14px;
    color: #313131;
}

@media (max-width: 1024px) {
    .wag-form__container {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }
    .wag-form__col {
        max-width: 603px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
	
	.wag-form__list {
    	padding: revert;

}
	.wag-form__list li {
  	padding-left: 5px;
	}
	
    .wag-form {
        padding: 40px 16px;
    }
	
	.wag-form__text {
    	font-size: 17px;
		line-height: 1.5;
	}
	
    .wag-form__title {
        font-size: 28px;
    }
    .wag-form__card {
        padding: 24px 20px;
    }
    .wag-form__methods {
        flex-wrap: wrap;
    }
    .wag-form__method {
        flex: 1 1 calc(50% - 5px);
    }
    .wag-form .wag-form__submit {
        font-size: 14px !important;
    }
}

/* ============================ БЛОК 10: ТОВАРЫ «МОЖЕТ ПРИГОДИТЬСЯ» ============================ */

.wag-prod {
    background: #fff;
    padding: 80px 25px;
}

.wag-prod * {
    box-sizing: border-box;
}

.wag-prod__container {
    max-width: 1270px;
    margin: 0 auto;
}

.wag-prod__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f3f3f3;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #313131;
}

.wag-prod__badge::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #45679d;
}

.wag-prod__title {
    margin: 22px 0 0;
    font-weight: 700;
    font-size: 46px;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #313131;
}

.wag-prod__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.wag-prod__card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6edf8;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.wag-prod__media {
    display: block;
    width: 100%;
    aspect-ratio: 304 / 277;
}

.wag-prod__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wag-prod__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px 19px 19px;
}

/* отступ сверху над кнопкой: гарантированный зазор от последнего текста
   (имя/цена) перед кнопкой, при этом кнопки остаются прижатыми к низу карточки */
.wag-prod__body > *:nth-last-child(2) {
    margin-bottom: 18px;
}

.wag-prod__tag {
    align-self: flex-start;
    padding: 9px 16px;
    border-radius: 999px;
    background: #e6edf8;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    color: #575757;
    /* lining-цифры — выравниваем по базовой линии (как в макете), убираем «прыжки» */
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.wag-prod__name {
    margin: 12px 0 0;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #313131;
}

.wag-prod__price {
    margin: 8px 0 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: #45679d;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

/* margin-top:auto прижимает кнопку к низу карточки (выравнивает кнопки по всем карточкам).
   Повышенная специфичность + !important — перебиваем стили кнопок темы Woodmart. */
.wag-prod .wag-prod__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin-top: auto;
    padding: 0;
    border: none !important;
    border-radius: 10px !important;
    background: #45679d !important;
    background-image: none !important;
    box-shadow: none !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 44px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: #fff !important;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.wag-prod .wag-prod__btn:hover,
.wag-prod .wag-prod__btn:focus {
    background: #3a567f !important;
    color: #fff !important;
}

@media (max-width: 1024px) {
    .wag-prod__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .wag-prod {
        padding: 40px 16px;
    }
    .wag-prod__title {
        font-size: 30px;
    }
    .wag-prod__grid {
        gap: 12px;
        margin-top: 22px;
    }
    .wag-prod__body {
        padding: 12px 14px 14px;
    }
    .wag-prod__name {
        font-size: 14px;
    }
    .wag-prod__tag {
        font-size: 12px;
        padding: 8px 12px;
    }
    .wag-prod .wag-prod__btn {
        height: 40px;
        line-height: 40px !important;
    }
    .wag-prod__body > *:nth-last-child(2) {
        margin-bottom: 14px;
    }
}

/* ============================ БЛОК 06: СПИКЕР ============================ */

.wag-speaker {
    background: #f2f6ff;
    padding: 80px 25px;
}

.wag-speaker * {
    box-sizing: border-box;
}

.wag-speaker__container {
    max-width: 1270px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 56px;
}

/* --- Фото --- */
/* Синий круг (::before) лежит сзади со смещением вверх-вправо, фото — сверху.
   Из-за смещения синий выглядывает дугой справа-сверху (как в макете). */
.wag-speaker__photo {
    position: relative;
    flex-shrink: 0;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    /* синий круг прямо под фото — кант фото переходит в синий, а не в фон
       секции (убирает белый «засвет» там, где дуга сходит на нет) */
    background: #668ec2;
}

.wag-speaker__photo::before {
    content: '';
    position: absolute;
    top: -9px;
    right: -8px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #668ec2;
    z-index: 0;
}

.wag-speaker__photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* --- Контент --- */
.wag-speaker__content {
    min-width: 0;
}

.wag-speaker__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #313131;
}

.wag-speaker__badge::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #45679d;
}

.wag-speaker__name {
    margin: 18px 0 0;
    font-weight: 700;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #313131;
}

.wag-speaker__role {
    margin: 10px 0 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #313131;
}

.wag-speaker__desc {
    margin: 18px 0 0;
    max-width: 560px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #575757;
}

.wag-speaker__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.wag-speaker__tag {
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e6edf8;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    color: #313131;
}

@media (max-width: 767px) {
    .wag-speaker {
        padding: 40px 16px;
    }
    .wag-speaker__container {
        flex-direction: column;
        align-items: center; /* фото остаётся по центру */
        gap: 28px;
        text-align: left;    /* остальное — по левому краю */
    }
    .wag-speaker__photo {
        width: 220px;
        height: 220px;
    }
    .wag-speaker__content {
        width: 100%; /* чтобы выравнивание по левому краю было видно */
    }
    .wag-speaker__name {
        font-size: 28px;
    }
    .wag-speaker__desc {
        max-width: none;
        margin: 18px 0 0;
    }
    .wag-speaker__tags {
        justify-content: flex-start;
    }
}

/* ============================ БЛОК 07: СПЕЦПРЕДЛОЖЕНИЯ ============================ */

.wag-offers {
    background: #e6edf8;
    padding: 80px 25px;
}

.wag-offers * {
    box-sizing: border-box;
}

.wag-offers__container {
    max-width: 1270px;
    margin: 0 auto;
}

.wag-offers__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #313131;
}

.wag-offers__badge::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #45679d;
}

.wag-offers__title {
    margin: 24px 0 0;
    font-weight: 700;
    font-size: 46px;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #313131;
}

.wag-offers__subtitle {
    margin: 18px 0 0;
    max-width: 690px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.55;
    color: #575757;
}

/* --- Сетка офферов --- */
.wag-offers__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.wag-offers__card {
    display: flex;
    align-items: stretch;
    gap: 20px;
    min-height: 291px;
    padding: 7px;
    border-radius: 20px;
    background: #fff;
}

.wag-offers__card--accent {
    background: linear-gradient(162deg, #3f6399 0%, #6b93c7 100%);
}

.wag-offers__media {
    position: relative;
    flex-shrink: 0;
    width: 276px;
    border-radius: 16px;
    overflow: hidden;
}

.wag-offers__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wag-offers__media-badge {
    position: absolute;
    top: 13px;
    left: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #45679d;
}

.wag-offers__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 24px 20px 0;
}

.wag-offers__card-title {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #313131;
}

.wag-offers__card-desc {
    margin: 12px 0 0;
    font-weight: 400;
    font-size: 14.5px;
    line-height: 1.5;
    color: #575757;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.wag-offers__card-pill {
    align-self: flex-start;
    margin-top: 20px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #e6edf8;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    color: #575757;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

/* акцентная карточка — белый текст */
.wag-offers__card--accent .wag-offers__card-title,
.wag-offers__card--accent .wag-offers__card-desc {
    color: #fff;
}

/* --- Широкая плашка «Другие товары» --- */
.wag-offers__wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 50px -22px rgba(84, 139, 200, 0.22);
}

.wag-offers__wide-title {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: #313131;
}

.wag-offers__wide-desc {
    margin: 8px 0 0;
    font-weight: 400;
    font-size: 14.5px;
    line-height: 1.5;
    color: #575757;
}

.wag-offers__wide .wag-offers__card-pill {
    flex-shrink: 0;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .wag-offers__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .wag-offers {
        padding: 40px 16px;
    }
    .wag-offers__title {
        font-size: 30px;
    }
    .wag-offers__card {
        flex-direction: column;
        min-height: 0;
    }
    .wag-offers__media {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .wag-offers__media img {
        position: absolute;
        inset: 0;
    }
    .wag-offers__body {
        padding: 16px 14px 18px;
        justify-content: flex-start;
    }
    .wag-offers__wide {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 22px 18px;
    }
}

/* ============================ БЛОК 05: КАК БМС РЕШАЕТ ============================ */

.wag-how {
    background: #fff;
    padding: 80px 25px;
}

.wag-how * {
    box-sizing: border-box;
}

.wag-how__container {
    max-width: 1270px;
    margin: 0 auto;
    text-align: center;
}

.wag-how__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: #e6edf8;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #313131;
}

.wag-how__badge::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #45679d;
}

.wag-how__title {
    margin: 24px 0 0;
    font-weight: 700;
    font-size: 46px;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #313131;
}

.wag-how__subtitle {
    margin: 18px auto 0;
    max-width: 640px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.55;
    color: #575757;
}

/* --- Ряд шагов --- */
.wag-how__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 56px;
}

.wag-how__step {
    flex: 0 0 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wag-how__photo {
    width: 196px;
    height: 196px;
}

.wag-how__photo img {
    width: 100%;
    height: 100%;
    display: block;
}

.wag-how__step-title {
    margin: 24px 0 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.019em;
    color: #313131;
}

.wag-how__step-desc {
    margin: 10px 0 0;
    max-width: 280px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #575757;
}

/* --- Соединитель (линия с точкой) --- */
/* Флекс-контейнер высотой с точку: линия (1px) и точка центрируются по
   вертикали (align-items:center) — гарантированно соосны, без полупикселя. */
.wag-how__connector {
    flex: 1 1 auto;
    max-width: 210px;
    height: 8px;
    margin: 94px 8px 0;
    display: flex;
    align-items: center;
}

.wag-how__connector::before {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(84, 123, 176, 0) 0%, #547bb0 90%);
}

.wag-how__connector::after {
    content: '';
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #547bb0;
}

@media (max-width: 900px) {
    .wag-how__steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-top: 40px;
    }
    .wag-how__connector {
        display: none;
    }
    .wag-how__step {
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {
    .wag-how {
        padding: 40px 16px;
    }
    .wag-how__title {
        font-size: 30px;
    }
}

/* ============================ БЛОК 04: CTA-БАННЕР (LEAD MAGNET) ============================ */

.wag-cta {
    background: linear-gradient(90deg, #43689f 0%, #658dc1 100%);
    padding: 32px 25px;
}

.wag-cta * {
    box-sizing: border-box;
}

.wag-cta__container {
    max-width: 1270px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.wag-cta__title {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    color: #fff;
}

.wag-cta__meta {
    margin: 8px 0 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.wag-cta .wag-cta__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 255px;
    height: 58px;
    padding: 0 32px;
    border: none !important;
    border-radius: 10px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: #313131 !important;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.wag-cta .wag-cta__btn:hover,
.wag-cta .wag-cta__btn:focus {
    background: #fff !important;
    color: #313131 !important;
    opacity: 0.92;
}

@media (max-width: 767px) {
    .wag-cta {
        padding: 28px 16px;
    }
    .wag-cta__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .wag-cta__title {
        font-size: 20px;
    }
    .wag-cta .wag-cta__btn {
        width: 100%;
    }
}

/* ============================ БЛОК 03: ТЕМА ВЕБИНАРА ============================ */

.wag-theme {
    position: relative;
    overflow: hidden;
    /* белая полоса сверху (~58px) — на неё «вылазит» голова; ниже синий фон.
       + мягкое радиальное свечение под фото для бесшовного перехода белого фона фото */
    background: linear-gradient(180deg, #ffffff 0, #ffffff 58px, #e6edf8 58px);
    padding: 0 25px 44px;
}

.wag-theme * {
    box-sizing: border-box;
}

.wag-theme__container {
    position: relative;
    max-width: 1270px;
    min-height: 520px;
    margin: 0 auto;
    padding-top: 90px;
    display: flex;
    flex-direction: column;
}

/* Фото женщины — прижато к правому краю контейнера; голова заходит в белую
   полосу сверху; белый фон фото растворяется в синем маской с обоих краёв. */
.wag-theme__photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    max-width: 52%;
    height: calc(100% + 60px); /* фото уходит ниже карточек и упирается в низ секции */
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    pointer-events: none;
}

/* на десктопе обёртка прозрачна для лейаута — фото/карточки ведут себя
   как раньше; на мобиле (≤767) становится синей панелью (см. медиазапрос). */
.wag-theme__lower {
    display: contents;
}

.wag-theme__content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.wag-theme__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #313131;
}

.wag-theme__badge::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #45679d;
}

.wag-theme__title {
    margin: 24px 0 0;
    font-weight: 700;
    font-size: 46px;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #313131;
}

.wag-theme__text {
    margin: 18px 0 0;
    max-width: 440px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.55;
    color: #575757;
}

/* --- 4 карточки причин --- */
.wag-theme__cards {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wag-theme__card {
    position: relative;
    padding: 13px 14px 14px 36px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px -18px rgba(69, 103, 157, 0.3);
}

.wag-theme__card::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 17px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #45679d;
}

.wag-theme__card-title {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    color: #313131;
}

.wag-theme__card-desc {
    margin: 5px 0 0;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.31;
    color: #575757;
}

@media (max-width: 1024px) {
    .wag-theme__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .wag-theme__photo {
        display: none;
    }
    .wag-theme__container {
        min-height: 0;
        padding-top: 64px;
    }
    .wag-theme__content {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .wag-theme {
        background: #fff; /* синее теперь даёт .wag-theme__lower */
        padding: 0;
    }
    .wag-theme__container {
        display: block;
        max-width: none;
        min-height: 0;
        padding: 40px 0 0;
    }
    .wag-theme__content {
        max-width: none;
        padding: 0 16px;
    }
    .wag-theme__title {
        font-size: 30px;
    }

    /* синяя нижняя зона: фото справа (кровоток) + карточки слева поверх */
    .wag-theme__lower {
        display: block;
        position: relative;
        margin-top: 50px;
        padding: 100px 16px 28px;
        background: #e6edf8;
        overflow: visible;
    }

    .wag-theme__photo {
        display: block;
        position: absolute;
        z-index: 1;
        top: auto;
        bottom: -24px;    /* низ женщины чуть ниже края панели (подобрано вручную) */
        right: -60%;      /* сдвиг вправо — ухо уходит за кадр */
        left: auto;
        /* !important — защита от инлайн-размеров, которые может навесить
           lazy-load/оптимизация изображений Seraphinite (иначе фото «сжимается») */
        width: 145% !important;
        max-width: none !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center bottom;
        pointer-events: none;
    }

    .wag-theme__cards {
        position: relative;
        z-index: 2;
        display: block;
        grid-template-columns: none;
        margin: 0;
        padding: 0;
        gap: 0;
    }

    .wag-theme__card {
        width: 58%;
        margin-bottom: 9px;
        padding: 8px 10px 9px 24px;
        border-radius: 14px;
    }
    .wag-theme__card:last-child {
        margin-bottom: 0;
    }
    .wag-theme__card::before {
        left: 9px;
        top: 12px;
        width: 10px;
        height: 10px;
    }
    .wag-theme__card-title {
        font-size: 12px;
        line-height: 1.15;
    }
    .wag-theme__card-desc {
        margin-top: 3px;
        font-size: 11px;
        line-height: 1.25;
    }
}

/* ============================ БЛОК 01: HERO-БАННЕР ============================ */

.wag-banner {
    background: #fff;
}

.wag-banner__link {
    display: block;
    line-height: 0;
    cursor: pointer;
}

.wag-banner__link img {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================ БЛОК 02: ЧТО ТАКОЕ БМС ============================ */

.wag-method {
    background: #fff;
    padding: 80px 25px;
}

.wag-method * {
    box-sizing: border-box;
}

.wag-method__container {
    max-width: 1270px;
    margin: 0 auto;
}

.wag-method__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: #e6edf8;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #313131;
}

.wag-method__badge::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #45679d;
}

.wag-method__title {
    margin: 24px 0 0;
    font-weight: 700;
    font-size: 46px;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #313131;
}

.wag-method__subtitle {
    margin: 18px 0 0;
    max-width: 735px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.55;
    color: #575757;
}

.wag-method__cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.wag-method__card {
    padding: 28px 30px;
    border-radius: 25px;
    background: #e6edf8;
}

.wag-method__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.02em;
    color: #45679d;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.wag-method__card-title {
    margin: 18px 0 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.019em;
    color: #313131;
}

.wag-method__card-desc {
    margin: 12px 0 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #575757;
}

@media (max-width: 767px) {
    .wag-method {
        padding: 40px 16px;
    }
    .wag-method__title {
        font-size: 30px;
    }
    .wag-method__cards {
        margin-top: 28px;
        gap: 14px;
    }
}

/* ============================ АДАПТИВ HERO ============================ */

@media (max-width: 767px) {
    .wag-hero {
        padding: 40px 16px;
    }
    .wag-hero__card {
        min-height: 0;
        padding: 40px 16px;
        border-radius: 16px;
    }
    .wag-hero__title {
        font-size: 23px;
    }
    .wag-hero__subtitle {
        font-size: 15px;
    }
    .wag-hero__timer {
        gap: 10px;
    }
    .wag-hero__timer-cell {
        width: 72px;
        height: 84px;
        gap: 6px;
    }
    .wag-hero__timer-num {
        font-size: 32px;
    }
}

@media (max-width: 412px) {
    .wag-hero__timer {
        gap: 8px;
    }
    .wag-hero__timer-cell {
        width: 66px;
        height: 78px;
    }
    .wag-hero__timer-num {
        font-size: 28px;
    }
    .wag-hero__timer-label {
        font-size: 10px;
    }
}
