/* VezemZerno — SEO-посадочные страницы (этап A) */

.vz-landing {
    padding: 28px 0 56px;
    background: var(--vz-bg);
    color: var(--vz-text);
}

.vz-landing__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--vz-text-muted);
}

.vz-landing__crumbs a {
    color: var(--vz-green);
    text-decoration: none;
}

.vz-landing__crumbs a:hover { text-decoration: underline; }

.vz-landing__messages {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.vz-landing__message {
    padding: 12px 16px;
    border-radius: var(--vz-radius-sm);
    border: 1px solid var(--vz-border);
    background: var(--vz-bg-alt);
    font-size: 14px;
}

.vz-landing__message--success {
    background: var(--vz-green-bg);
    border-color: #b9dfc7;
    color: var(--vz-green-dark);
}

.vz-landing__message--error {
    background: #fff1f0;
    border-color: #f3c1bd;
    color: #a3352c;
}

.vz-landing__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: stretch;
    padding: 30px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius);
    background: linear-gradient(135deg, #f7fbf8 0%, #fffdf7 100%);
    box-shadow: var(--vz-shadow-sm);
    margin-bottom: 22px;
}

.vz-landing__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vz-gold-text);
}

.vz-landing__hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.vz-landing__lead {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--vz-text-secondary);
}

.vz-landing__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vz-landing__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-content: center;
}

.vz-landing__stat {
    padding: 14px 16px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-sm);
    background: #fff;
}

.vz-landing__stat b {
    display: block;
    font-size: 22px;
    line-height: 1.15;
    color: var(--vz-green-dark);
}

.vz-landing__stat--gold b { color: var(--vz-gold-text); }

.vz-landing__stat span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--vz-text-muted);
}

.vz-landing__search {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-sm);
    background: var(--vz-bg-alt);
}

.vz-landing__search form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.vz-landing__search label {
    display: grid;
    gap: 5px;
    font-size: 12px;
    color: var(--vz-text-muted);
}

.vz-landing__search select {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-xs);
    background: #fff;
    font: inherit;
    color: var(--vz-text);
}

.vz-landing__section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.vz-landing__section-head h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.vz-landing__section-head a {
    flex: none;
    color: var(--vz-green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.vz-landing__rates,
.vz-landing__list,
.vz-landing__top,
.vz-landing__cost,
.vz-landing__trust,
.vz-landing__faq {
    margin-bottom: 28px;
}

.vz-landing__kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.vz-landing__kpi {
    padding: 16px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-sm);
    background: #fff;
}

.vz-landing__kpi--gold {
    background: var(--vz-gold-bg);
    border-color: #f0d78c;
}

.vz-landing__kpi b {
    display: block;
    font-size: 24px;
    line-height: 1.15;
    color: var(--vz-green-dark);
}

.vz-landing__kpi--gold b { color: var(--vz-gold-text); }

.vz-landing__kpi span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--vz-text-muted);
}

.vz-landing__note {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--vz-text-muted);
}

.vz-landing__list-items {
    display: grid;
    gap: 10px;
}

.vz-landing__empty {
    padding: 24px;
    border: 1px dashed var(--vz-border);
    border-radius: var(--vz-radius-sm);
    text-align: center;
    color: var(--vz-text-muted);
    background: var(--vz-bg-alt);
}

.vz-landing__empty p { margin: 0 0 12px; }

.vz-landing__top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.vz-landing__top-col {
    padding: 16px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-sm);
    background: #fff;
}

.vz-landing__top-col h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.vz-landing__top-col a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid var(--vz-border-light);
    color: var(--vz-text);
    font-size: 13px;
    text-decoration: none;
}

.vz-landing__top-col a:first-of-type { border-top: 0; }
.vz-landing__top-col a:hover span { color: var(--vz-green); }
.vz-landing__top-col b { color: var(--vz-text-muted); font-size: 12px; }

.vz-landing__lead-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
    padding: 24px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius);
    background: var(--vz-bg-warm);
}

.vz-landing__lead-copy h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.vz-landing__lead-copy p,
.vz-landing__lead-copy li {
    color: var(--vz-text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

.vz-landing__lead-copy ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.vz-landing__lead-form-wrap {
    min-width: 0;
}

.vz-landing__about {
    margin-bottom: 28px;
    padding: 20px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-sm);
    background: var(--vz-bg-alt);
}

.vz-landing__about h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
}

.vz-landing__about p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--vz-text-secondary);
}

.vz-landing__about p:last-child { margin-bottom: 0; }

.vz-landing__cost-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.vz-landing__cost-grid > div {
    padding: 16px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-sm);
    background: #fff;
}

.vz-landing__cost-grid b {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.vz-landing__cost-grid span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: var(--vz-text-muted);
}

.vz-landing__cost-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.vz-landing__trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-sm);
    background: var(--vz-bg-alt);
}

.vz-landing__trust b {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.vz-landing__trust span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: var(--vz-text-muted);
}

.vz-landing__faq details {
    border-top: 1px solid var(--vz-border);
    padding: 12px 0;
}

.vz-landing__faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.vz-landing__faq details p {
    margin: 8px 0 0;
    color: var(--vz-text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

.vz-landing__updated {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--vz-text-muted);
}

/* Лид-форма */
.vz-lead-form {
    padding: 18px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-sm);
    background: #fff;
}

.vz-lead-form__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.vz-lead-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.vz-lead-form__field {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.vz-lead-form__field--full { grid-column: 1 / -1; }

.vz-lead-form__field > span {
    font-size: 12px;
    color: var(--vz-text-muted);
}

.vz-lead-form input[type="text"],
.vz-lead-form input[type="tel"],
.vz-lead-form input[type="number"],
.vz-lead-form input[type="date"],
.vz-lead-form select,
.vz-lead-form textarea {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--vz-border);
    border-radius: var(--vz-radius-xs);
    background: #fff;
    font: inherit;
    color: var(--vz-text);
}

.vz-lead-form textarea { resize: vertical; }

.vz-lead-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--vz-text-secondary);
}

.vz-lead-form__consent a { color: var(--vz-green); }

.vz-lead-form__submit { width: 100%; }

.vz-lead-form__hint {
    margin: 8px 0 0;
    font-size: 11px;
    color: var(--vz-text-muted);
    text-align: center;
}

.vz-lead-form--compact { padding: 14px; }
.vz-lead-form--compact .vz-lead-form__grid { grid-template-columns: 1fr 1fr; }

@media (max-width: 1024px) {
    .vz-landing__hero { grid-template-columns: 1fr; }
    .vz-landing__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .vz-landing__search form { grid-template-columns: 1fr 1fr; }
    .vz-landing__search form button { grid-column: 1 / -1; }
    .vz-landing__top-grid { grid-template-columns: 1fr 1fr; }
    .vz-landing__cost-grid { grid-template-columns: 1fr 1fr; }
    .vz-landing__trust { grid-template-columns: 1fr 1fr; }
    .vz-landing__lead-section { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .vz-landing { padding-top: 18px; }
    .vz-landing__hero { padding: 20px; }
    .vz-landing__stats { grid-template-columns: 1fr 1fr; }
    .vz-landing__kpis { grid-template-columns: 1fr; }
    .vz-landing__top-grid { grid-template-columns: 1fr; }
    .vz-landing__cost-grid { grid-template-columns: 1fr; }
    .vz-landing__trust { grid-template-columns: 1fr 1fr; }
    .vz-lead-form__grid { grid-template-columns: 1fr; }
    .vz-landing__section-head h2 { font-size: 20px; }
}

@media (max-width: 560px) {
    .vz-landing__stats { grid-template-columns: 1fr; }
    .vz-landing__trust { grid-template-columns: 1fr; }
    .vz-landing__search form { grid-template-columns: 1fr; }
    .vz-landing__hero-actions .vz-btn { width: 100%; text-align: center; }
}

/* ===== Липкая мобильная CTA (посадочные) ===== */
.vz-landing__sticky-cta { display: none; }

@media (max-width: 768px) {
    body.vz-landing-page { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }

    .vz-landing__sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 96;
        display: flex;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--vz-border);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    }

    .vz-landing__sticky-cta .vz-btn {
        flex: 1 1 0;
        justify-content: center;
        min-height: 46px;
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Виджет «Служба заботы» поднимаем над панелью */
    body.vz-landing-page .vz-support { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

    /* Пока не приняты cookies, приоритет у баннера согласия */
    body.vz-landing-page:has(.vz-cookie:not([hidden])) .vz-landing__sticky-cta { display: none; }

    .vz-landing__lead-section { scroll-margin-top: 84px; }
}

@media (max-width: 360px) {
    .vz-landing__sticky-cta .vz-btn { padding: 10px 8px; font-size: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
