/* ==========================================================================
   Лендинг «Согласие на обработку ПД» (эфир)
   (page-templates/tpl-pd-efir.php)

   Стили перенесены из макета lp-pd-efir/pd-efir_01_10.html 1-в-1: классы
   получили префикс pd-, всё scoped под .pd-landing. Шапка и подвал макета
   отброшены — на странице общие шапка/подвал темы. Шрифт — шрифт темы.
   Палитра макета: зелёный #32770a / #1e4a05 / #255a06,
   винный #99354b / #7d2a3d / #c25470, светлые фоны #f3e9eb / #eee7e3.
   ========================================================================== */

@keyframes pd-floaty {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50%      { transform: translateY(-11px) rotate(var(--r, 0deg)); }
}

@keyframes pd-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(153, 53, 75, .5); }
    70%      { box-shadow: 0 0 0 8px rgba(153, 53, 75, 0); }
}

/* Лёгкое «встряхивание» невалидного поля при появлении ошибки. */
@keyframes pd-shake {
    10%, 90%       { transform: translateX(-1px); }
    20%, 80%       { transform: translateX(2px); }
    30%, 50%, 70%  { transform: translateX(-4px); }
    40%, 60%       { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .pd-landing *,
    .pd-landing *::before,
    .pd-landing *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* main.pd-landing: тема на мобиле даёт <main> padding 16px — секции лендинга
   в макете во всю ширину, отступы у них свои. */
main.pd-landing {
    padding: 0;
}

.pd-landing {
    overflow-x: hidden;
    background: #faf8f6;
    color: #111;
    -webkit-font-smoothing: antialiased;
}

.pd-landing *,
.pd-landing *::before,
.pd-landing *::after { box-sizing: border-box; }

.pd-landing ::selection { background: #99354b; color: #fff; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.pd-landing .pd-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: clamp(44px, 5.5vw, 80px) 24px clamp(52px, 6.5vw, 92px);
}

.pd-landing .pd-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pd-landing .pd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(96deg, rgba(16, 40, 5, .72) 0%, rgba(16, 40, 5, .46) 52%, rgba(16, 40, 5, .14) 100%);
}

.pd-landing .pd-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(34px, 5vw, 70px);
    align-items: center;
}

.pd-landing .pd-hero-content {
    flex: 1 1 500px;
    min-width: min(300px, 100%);
}

.pd-landing .pd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: #99354b;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    margin-bottom: 18px;
}

.pd-landing .pd-hero-badge .pd-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #99354b;
    animation: pd-pulse 2s ease-in-out infinite;
}

.pd-landing .pd-hero h1 {
    margin: 0;
    font-weight: 800;
    font-size: clamp(26px, 3.6vw, 52px);
    line-height: 1.08;
    letter-spacing: -.015em;
    color: #fff;
}

.pd-landing .pd-hero-topic {
    margin: 18px 0 0;
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, .9);
    max-width: 580px;
}

/* Плашка «БЕСПЛАТНО» (задаётся в ACF как <span class="pd-hl">). */
.pd-landing .pd-hl {
    background: #99354b;
    color: #fff;
    padding: 2px 10px;
    border-radius: 6px;
    display: inline;
    font-weight: 800;
    white-space: nowrap;
}

.pd-landing .pd-hero-sub {
    margin: 10px 0 0;
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.55;
    color: rgba(255, 255, 255, .75);
    max-width: 560px;
}

.pd-landing .pd-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.pd-landing .pd-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.pd-landing .pd-hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    max-width: 420px;
}

.pd-landing .pd-hero-benefit {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 13px;
    padding: 12px 20px;
    backdrop-filter: blur(4px);
}

.pd-landing .pd-hero-benefit-left,
.pd-landing .pd-hero-benefit-right { line-height: 1.15; }

.pd-landing .pd-hero-benefit .pd-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .7);
}

.pd-landing .pd-hero-benefit-right .pd-label { color: #fff; }

.pd-landing .pd-hero-benefit .pd-price {
    font-size: 20px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, .5);
}

.pd-landing .pd-hero-benefit .pd-value {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.pd-landing .pd-btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    background: #99354b;
    color: #fff;
    font-weight: 700;
    font-size: clamp(16px, 1.6vw, 19px);
    padding: 16px 38px;
    border-radius: 11px;
    text-decoration: none;
    box-shadow: 0 13px 28px rgba(153, 53, 75, .46);
    transition: transform .15s, background .2s;
}

.pd-landing .pd-btn-hero:hover,
.pd-landing .pd-btn-hero:focus-visible {
    background: #7d2a3d;
    color: #fff;
    transform: translateY(-2px);
}

.pd-landing .pd-btn-hero svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Карточка спикера в hero
   -------------------------------------------------------------------------- */
.pd-landing .pd-speaker-card-wrap {
    flex: 0 0 270px;
    width: 270px;
    display: flex;
    justify-content: center;
}

.pd-landing .pd-speaker-card {
    position: relative;
    width: 100%;
    max-width: 270px;
}

.pd-landing .pd-speaker-card-inner {
    background: #fff;
    border-radius: 22px;
    padding: 13px 13px 4px;
    box-shadow: 0 22px 48px rgba(6, 22, 2, .38);
}

.pd-landing .pd-speaker-photo-wrap {
    position: relative;
    width: 100%;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    line-height: 0;
}

.pd-landing .pd-speaker-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
}

.pd-landing .pd-speaker-info {
    padding: 14px 8px 16px;
    text-align: center;
}

.pd-landing .pd-speaker-name {
    display: block;
    font-weight: 800;
    font-size: 18px;
    color: #111;
    line-height: 1.15;
    text-decoration: none;
}

.pd-landing a.pd-speaker-name:hover { color: #99354b; }

.pd-landing .pd-speaker-role {
    font-size: 12px;
    color: #32770a;
    font-weight: 700;
    margin-top: 5px;
    line-height: 1.35;
}

.pd-landing .pd-speaker-stats {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.pd-landing .pd-stat-box {
    flex: 1;
    background: #faf8f6;
    border-radius: 10px;
    padding: 10px 7px;
    text-align: center;
}

.pd-landing .pd-stat-val {
    font-weight: 800;
    font-size: 15px;
    color: #111;
    line-height: 1;
}

.pd-landing .pd-stat-desc {
    font-size: 10px;
    color: #858585;
    font-weight: 600;
    margin-top: 3px;
    line-height: 1.3;
}

.pd-landing .pd-speaker-bio {
    font-size: 12px;
    color: #414141;
    line-height: 1.5;
    margin-top: 10px;
}

/* Плавающие иконки вокруг карточки. */
.pd-landing .pd-icon-bubble {
    position: absolute;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(var(--r, 0deg));
}

.pd-landing .pd-ib1 {
    top: -18px;
    left: -18px;
    width: 54px;
    height: 54px;
    --r: -9deg;
    background: linear-gradient(150deg, #4f9e1e, #1e4a05);
    box-shadow: 0 12px 24px rgba(20, 50, 5, .38), inset 0 2px 4px rgba(255, 255, 255, .45);
    animation: pd-floaty 5s ease-in-out infinite;
}

.pd-landing .pd-ib2 {
    top: 28%;
    right: -20px;
    width: 52px;
    height: 52px;
    --r: 7deg;
    background: linear-gradient(150deg, #c25470, #7d2a3d);
    box-shadow: 0 12px 24px rgba(90, 20, 40, .42), inset 0 2px 4px rgba(255, 255, 255, .45);
    animation: pd-floaty 6s ease-in-out infinite .8s;
}

.pd-landing .pd-ib3 {
    bottom: 20%;
    left: -22px;
    width: 50px;
    height: 50px;
    --r: -6deg;
    background: linear-gradient(150deg, #255a06, #1e4a05);
    box-shadow: 0 12px 24px rgba(20, 50, 5, .38), inset 0 2px 4px rgba(255, 255, 255, .45);
    animation: pd-floaty 5.4s ease-in-out infinite .4s;
}

/* --------------------------------------------------------------------------
   Общие стили секций
   -------------------------------------------------------------------------- */
.pd-landing .pd-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pd-landing .pd-section-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #1e4a05;
    background: #ebede8;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.pd-landing .pd-section-tag.pd-wine {
    color: #99354b;
    background: #f3e9eb;
}

.pd-landing .pd-section-h2 {
    margin: 0;
    font-weight: 800;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.11;
    letter-spacing: -.01em;
    color: #111;
}

.pd-landing .pd-section-lead {
    margin: 14px 0 0;
    font-size: clamp(15px, 1.4vw, 18px);
    color: #414141;
    line-height: 1.55;
    max-width: 720px;
}

/* --------------------------------------------------------------------------
   Предупреждение
   -------------------------------------------------------------------------- */
.pd-landing .pd-alert-banner {
    background: linear-gradient(90deg, #f3e9eb, #fdf6f7);
    border: 1.5px solid #e5d6da;
    border-left: 5px solid #99354b;
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: clamp(26px, 3vw, 38px);
}

.pd-landing .pd-alert-banner svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.pd-landing .pd-alert-banner-text {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    line-height: 1.5;
}

.pd-landing .pd-alert-banner-text strong { color: #99354b; }

/* --------------------------------------------------------------------------
   6 причин
   -------------------------------------------------------------------------- */
.pd-landing .pd-section-reasons {
    background: #fff;
    padding: clamp(30px, 3.5vw, 56px) 24px;
}

/* Секция-предупреждение стоит вплотную к «причинам» — без нижнего отступа. */
.pd-landing .pd-section-alert { padding-bottom: 0; }

.pd-landing .pd-reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: clamp(26px, 3vw, 38px);
}

.pd-landing .pd-reason-card {
    background: #faf8f6;
    border: 1px solid #ece7e2;
    border-radius: 18px;
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
}

/* Фоновый номер причины. */
.pd-landing .pd-reason-card::after {
    content: attr(data-num);
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: rgba(0, 0, 0, .06);
    pointer-events: none;
}

.pd-landing .pd-reason-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.pd-landing .pd-reason-card:nth-child(odd) .pd-reason-icon  { background: #f3e9eb; }
.pd-landing .pd-reason-card:nth-child(even) .pd-reason-icon { background: #ebede8; }
.pd-landing .pd-reason-card:nth-child(odd) .pd-reason-num   { color: #99354b; }
.pd-landing .pd-reason-card:nth-child(even) .pd-reason-num  { color: #32770a; }

.pd-landing .pd-reason-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pd-landing .pd-reason-card h3 {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 15.5px;
    color: #111;
    line-height: 1.35;
}

.pd-landing .pd-reason-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #414141;
}

/* Полоса-призыв. */
.pd-landing .pd-cta-strip {
    margin-top: clamp(24px, 3vw, 34px);
    background: #99354b;
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.pd-landing .pd-cta-strip-text { color: #fff; }

.pd-landing .pd-cta-strip-text strong {
    display: block;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 800;
    line-height: 1.25;
}

.pd-landing .pd-cta-strip-text span {
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
    margin-top: 5px;
    display: block;
}

.pd-landing .pd-btn-strip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #99354b;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(90, 20, 40, .28);
    transition: transform .15s, background .2s;
    white-space: nowrap;
}

.pd-landing .pd-btn-strip:hover,
.pd-landing .pd-btn-strip:focus-visible {
    transform: translateY(-2px);
    background: #f3e9eb;
    color: #99354b;
}

/* --------------------------------------------------------------------------
   Об эксперте
   -------------------------------------------------------------------------- */
.pd-landing .pd-section-speaker {
    background: #faf8f6;
    padding: clamp(30px, 3.5vw, 56px) 24px;
}

.pd-landing .pd-speaker-bio-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(30px, 4vw, 56px);
    align-items: flex-start;
    margin-top: clamp(26px, 3vw, 38px);
}

.pd-landing .pd-speaker-bio-photo {
    flex: 0 0 auto;
    width: clamp(200px, 22vw, 280px);
}

.pd-landing .pd-speaker-bio-photo-inner {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    line-height: 0;
}

.pd-landing .pd-speaker-bio-photo-inner img {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
}

.pd-landing .pd-speaker-bio-content { flex: 1 1 340px; }

.pd-landing .pd-speaker-bio-name {
    font-weight: 800;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.1;
    margin: 0 0 6px;
    color: #111;
}

.pd-landing .pd-speaker-bio-title {
    font-size: 14px;
    color: #32770a;
    font-weight: 700;
    margin-bottom: 18px;
}

.pd-landing .pd-speaker-bio-text {
    font-size: 15.5px;
    line-height: 1.6;
    color: #333;
}

.pd-landing .pd-speaker-bio-text p { margin: 0 0 12px; }

.pd-landing .pd-speaker-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.pd-landing .pd-fact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ece7e2;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #111;
}

.pd-landing .pd-fact-chip svg { flex-shrink: 0; }
.pd-landing .pd-fact-chip.pd-wine svg  { stroke: #99354b; }
.pd-landing .pd-fact-chip.pd-green svg { stroke: #32770a; }

/* --------------------------------------------------------------------------
   Регистрация
   -------------------------------------------------------------------------- */
.pd-landing .pd-section-form {
    position: relative;
    overflow: hidden;
    padding: clamp(52px, 6vw, 96px) 24px;
    scroll-margin-top: 80px;
}

.pd-landing .pd-form-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pd-landing .pd-form-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 36, 5, .88);
}

.pd-landing .pd-form-inner {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.pd-landing .pd-form-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, .18);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.pd-landing .pd-form-h2 {
    margin: 0;
    font-weight: 800;
    font-size: clamp(26px, 3.2vw, 42px);
    line-height: 1.1;
    color: #fff;
}

.pd-landing .pd-form-sub {
    margin: 12px 0 0;
    font-size: clamp(14px, 1.4vw, 17px);
    color: rgba(255, 255, 255, .85);
    line-height: 1.5;
}

.pd-landing .pd-form-block {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: clamp(24px, 3.5vw, 40px);
    margin-top: 28px;
    backdrop-filter: blur(8px);
}

.pd-landing .pd-form-note {
    margin: 14px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    text-align: center;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   CF7-форма — тёмная, как в макете: поля светлым по тёмному.
   -------------------------------------------------------------------------- */
.pd-landing .pd-form-block .pd-form-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-landing .pd-form-block .pd-field { display: block; margin: 0; }

.pd-landing .pd-form-block .pd-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 5px;
}

.pd-landing .pd-form-block .pd-req { color: #f9c8d3; }

.pd-landing .pd-form-block .pd-optional {
    font-size: 11.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, .45);
    margin-left: 4px;
}

/* CF7 оборачивает контрол в span.wpcf7-form-control-wrap */
.pd-landing .pd-form-block .wpcf7-form-control-wrap { display: block; }

.pd-landing .pd-form-block input[type="text"],
.pd-landing .pd-form-block input[type="email"],
.pd-landing .pd-form-block input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    font-family: inherit;
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 9px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transition: border-color .2s;
}

.pd-landing .pd-form-block input[type="text"]::placeholder,
.pd-landing .pd-form-block input[type="email"]::placeholder,
.pd-landing .pd-form-block input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, .45);
}

.pd-landing .pd-form-block input[type="text"]:focus,
.pd-landing .pd-form-block input[type="email"]:focus,
.pd-landing .pd-form-block input[type="tel"]:focus {
    outline: none;
    border-color: rgba(194, 84, 112, .8);
}

.pd-landing .pd-form-block input.wpcf7-not-valid {
    border-color: #f9c8d3;
    background: rgba(208, 52, 44, .18);
    box-shadow: 0 0 0 3px rgba(249, 200, 211, .18);
    animation: pd-shake .4s ease both;
}

/* Согласия (чекбоксы)
   ---------------------------------------------------------------------------
   Сам чекбокс НЕ переопределяем: глобальный компонент темы (forms.css) даёт
   20×20 с зелёной рамкой — он должен выглядеть одинаково на всех формах сайта.
   А «пилюлю» вокруг строки снимаем: глобальное правило
   `.wpcf7-acceptance .wpcf7-list-item label` красит строку в белый и скругляет
   на 30px — на тёмной форме это белая полоса с невидимым текстом. */
.pd-landing .pd-form-block .pd-consents { margin-top: 18px; }

/* CF7 заворачивает оба согласия в один <p> и разделяет их <br>, поэтому
   раскладываем сам параграф. */
.pd-landing .pd-form-block .pd-consents > p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-landing .pd-form-block .pd-consents > p > br { display: none; }

.pd-landing .pd-form-block .pd-consents .wpcf7-acceptance { display: block; }

.pd-landing .pd-form-block .pd-consents .wpcf7-list-item {
    display: block;
    margin: 0;
}

.pd-landing .pd-form-block .pd-consents .wpcf7-list-item label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.pd-landing .pd-form-block .pd-consents .wpcf7-list-item-label {
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .75);
}

.pd-landing .pd-form-block .pd-consents a { color: rgba(249, 200, 211, .9); }

.pd-landing .pd-form-block .pd-consents input[type="checkbox"].wpcf7-not-valid {
    outline: 2px solid #f9c8d3;
    outline-offset: 2px;
    border-radius: 3px;
}

.pd-landing .pd-form-block .pd-consents .wpcf7-not-valid-tip {
    margin-top: 8px;
    padding-left: 32px; /* под текст согласия: чекбокс 20px + gap 12px */
}

/* Кнопка отправки */
.pd-landing .pd-form-block .pd-submit,
.pd-landing .pd-form-block input.wpcf7-submit {
    width: 100%;
    margin-top: 20px;
    background: #99354b;
    color: #fff;
    font-weight: 700;
    /* input[type=submit] не переносит текст по умолчанию — разрешаем, чтобы
       надпись не обрезалась по краю на узких экранах. */
    font-size: clamp(15px, 4.3vw, 17px);
    font-family: inherit;
    white-space: normal;
    line-height: 1.25;
    padding: 16px 14px;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(153, 53, 75, .46);
    transition: background .2s, transform .15s;
}

.pd-landing .pd-form-block .pd-submit:hover,
.pd-landing .pd-form-block input.wpcf7-submit:hover {
    background: #7d2a3d;
    transform: translateY(-2px);
}

/* Подсказка-ошибка под полем (иконка ⚠ + светлый текст на тёмном фоне). */
.pd-landing .pd-form-block .wpcf7-not-valid-tip {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #f9c8d3;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 7px;
}

.pd-landing .pd-form-block .wpcf7-not-valid-tip::before {
    content: "";
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9c8d3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Итоговое сообщение CF7 (успех/ошибка) — цвет по data-status формы. */
.pd-landing .pd-form-block .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.pd-landing .pd-form-block form[data-status="sent"] .wpcf7-response-output {
    border: 1px solid rgba(163, 204, 136, .8);
    background: rgba(163, 204, 136, .16);
    color: #d6ecc6;
}

.pd-landing .pd-form-block form[data-status="invalid"] .wpcf7-response-output,
.pd-landing .pd-form-block form[data-status="unaccepted"] .wpcf7-response-output,
.pd-landing .pd-form-block form[data-status="spam"] .wpcf7-response-output,
.pd-landing .pd-form-block form[data-status="failed"] .wpcf7-response-output,
.pd-landing .pd-form-block form[data-status="aborted"] .wpcf7-response-output {
    border: 1px solid rgba(249, 200, 211, .7);
    background: rgba(208, 52, 44, .18);
    color: #f9c8d3;
}

/* --------------------------------------------------------------------------
   Мобильные (значения из макета)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .pd-landing .pd-hero h1 { font-size: 22px; }
    .pd-landing .pd-hero-topic { font-size: 15px; }

    /* Карточка спикера в макете на мобиле скрыта — спикер есть в блоке «Об эксперте». */
    .pd-landing .pd-speaker-card-wrap { display: none; }

    .pd-landing .pd-cta-strip {
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px;
    }

    .pd-landing .pd-speaker-bio-photo {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
    }

    /* В макете кнопка с nowrap и padding 28px на 375 px не влезает — текст
       обрезался. Даём перенос и уменьшаем боковые отступы. */
    .pd-landing .pd-btn-strip {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Длинная надпись кнопки hero не влезает в 375 px с отступами 38px. */
    .pd-landing .pd-btn-hero {
        padding-left: 20px;
        padding-right: 20px;
    }
}
