/* ==========================================
   LANDING PAGES (Yandex Direct)
   manipulator.html / ekskavator.html / yamobur.html
   ========================================== */

/* ---------- Hero (1 экран) ---------- */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height, 80px);
    padding-bottom: 40px;
    background: var(--color-dark, #0F172A);
    color: #fff;
    overflow: hidden;
}

.lp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.35;
    filter: saturate(1.05);
}

.lp-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(217, 119, 6, 0.18) 0%, transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 95, 0.78) 100%);
}

.lp-hero__stripes {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 15px,
        var(--color-accent, #D97706) 15px,
        var(--color-accent, #D97706) 30px
    );
    opacity: 0.09;
    z-index: 0;
}

.lp-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}

.lp-hero__content {
    max-width: 640px;
}

.lp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.18);
    border: 1px solid rgba(217, 119, 6, 0.45);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 22px;
}
.lp-hero__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.lp-hero__title {
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.05;
    letter-spacing: 0.005em;
    color: #fff;
    margin: 0 0 18px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.lp-hero__title-accent {
    color: var(--color-accent, #D97706);
    text-shadow: 0 0 40px rgba(217, 119, 6, 0.45);
}

.lp-hero__lead {
    font-size: 17px;
    line-height: 1.65;
    color: #E2E8F0;
    margin: 0 0 28px;
    max-width: 580px;
}

.lp-hero__bullets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}
.lp-hero__bullets li {
    position: relative;
    padding-left: 26px;
    color: #F1F5F9;
    font-size: 14.5px;
    line-height: 1.45;
}
.lp-hero__bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent, #D97706);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* мини-форма заявки в hero */
.lp-hero__form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.lp-hero__form-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
}
.lp-hero__form-sub {
    color: #CBD5E1;
    font-size: 13px;
    margin: 0 0 14px;
}
.lp-hero__form-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    margin-bottom: 12px;
}
.lp-hero__form input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 15px;
    transition: border-color 0.15s;
}
.lp-hero__form input::placeholder { color: #94A3B8; }
.lp-hero__form input:focus {
    outline: none;
    border-color: var(--color-accent, #D97706);
}
.lp-hero__form button {
    width: 100%;
    padding: 14px 22px;
    border: none;
    border-radius: 10px;
    background: var(--color-accent, #D97706);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s, background 0.15s;
}
.lp-hero__form button:hover {
    background: #B85F05;
    transform: translateY(-1px);
}
.lp-hero__form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.lp-hero__form-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #94A3B8;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 10px;
}
.lp-hero__form-consent input {
    width: auto;
    margin-top: 3px;
}
.lp-hero__form-consent a { color: #CBD5E1; text-decoration: underline; }

.lp-hero__phone-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.lp-hero__phone {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lp-hero__phone:hover { color: var(--color-accent, #D97706); }
.lp-hero__callback {
    color: #94A3B8;
    font-size: 13px;
}

/* визуальная колонка */
.lp-hero__visual {
    position: relative;
}
.lp-hero__photo {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lp-hero__photo-frame {
    position: absolute;
    top: -16px;
    right: -16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    border: 3px solid var(--color-accent, #D97706);
    border-radius: 18px;
    z-index: -1;
}
.lp-hero__price-tag {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lp-hero__price-tag span {
    display: block;
    font-size: 12px;
    color: #94A3B8;
    font-weight: 500;
    margin-bottom: 2px;
}

/* trust-bar под hero */
.lp-trust {
    background: #0B1220;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #CBD5E1;
    padding: 18px 0;
}
.lp-trust__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}
.lp-trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}
.lp-trust__item strong {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
.lp-trust__item-text {
    line-height: 1.3;
}
.lp-trust__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.14);
    color: var(--color-accent, #D97706);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-trust__icon svg { width: 20px; height: 20px; }

/* ---------- Кейс (2 экран) ---------- */
.lp-case {
    padding: 80px 0;
    background: var(--color-light, #F1F5F9);
}
.lp-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}
.lp-eyebrow {
    display: inline-block;
    color: var(--color-accent, #D97706);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.lp-section-head h2 {
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: clamp(28px, 3.4vw, 40px);
    color: var(--text-dark, #0F172A);
    margin: 0 0 12px;
    line-height: 1.15;
}
.lp-section-head p {
    color: var(--text-secondary, #64748B);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.lp-case__card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}
.lp-case__photo {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #E2E8F0;
}
.lp-case__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lp-case__photo-stub {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #64748B;
    font-size: 13px;
    padding: 20px;
    background: linear-gradient(135deg, #E2E8F0, #F1F5F9);
}
.lp-case__steps {
    display: grid;
    gap: 18px;
}
.lp-case__step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    align-items: start;
}
.lp-case__step-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--color-primary, #1E3A5F);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.lp-case__step-title {
    font-weight: 700;
    color: var(--text-dark, #0F172A);
    font-size: 15px;
    margin: 0 0 4px;
}
.lp-case__step-text {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}
.lp-case__result {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(217, 119, 6, 0.04));
    border: 1px solid rgba(217, 119, 6, 0.25);
    display: flex;
    align-items: center;
    gap: 14px;
}
.lp-case__result-label {
    color: #92400E;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 2px;
}
.lp-case__result-value {
    color: var(--text-dark, #0F172A);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}
.lp-case__placeholder-note {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-left: 3px solid var(--color-accent, #D97706);
    background: #FFF7ED;
    color: #7C2D12;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 0 8px 8px 0;
}

/* типовые задачи */
.lp-tasks {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lp-task {
    background: #fff;
    border-radius: 16px;
    padding: 26px 24px;
    border: 1px solid #E2E8F0;
    transition: transform 0.15s, box-shadow 0.15s;
}
.lp-task:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.lp-task__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(30, 58, 95, 0.08);
    color: var(--color-primary, #1E3A5F);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.lp-task__icon svg { width: 24px; height: 24px; }
.lp-task__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark, #0F172A);
    margin: 0 0 6px;
}
.lp-task__text {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* ---------- Выгоды + команда (3 экран) ---------- */
.lp-benefits {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
}
.lp-benefits__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}
.lp-benefits__col {
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px;
    border: 1px solid #E2E8F0;
}
.lp-benefits__col h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark, #0F172A);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lp-benefits__col h3::before {
    content: '';
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: var(--color-accent, #D97706);
}
.lp-benefits__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.lp-benefits__col li {
    color: #334155;
    font-size: 14.5px;
    line-height: 1.55;
    padding-left: 26px;
    position: relative;
}
.lp-benefits__col li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: rgba(217, 119, 6, 0.15);
}
.lp-benefits__col li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--color-accent, #D97706);
    border-bottom: 2px solid var(--color-accent, #D97706);
    transform: rotate(-45deg);
}

.lp-team-stats {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: linear-gradient(135deg, var(--color-primary, #1E3A5F), var(--color-primary-dark, #152947));
    border-radius: 18px;
    padding: 28px 24px;
    color: #fff;
}
.lp-team-stat {
    text-align: center;
    padding: 4px 0;
}
.lp-team-stat strong {
    display: block;
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 36px;
    line-height: 1;
    color: var(--color-accent, #D97706);
    margin-bottom: 6px;
}
.lp-team-stat span {
    color: #CBD5E1;
    font-size: 13px;
    line-height: 1.35;
}

/* ---------- Закрывающий оффер: квиз + дефицит (4 экран) ---------- */
.lp-closing {
    padding: 80px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.18) 0%, transparent 55%),
        linear-gradient(135deg, var(--color-dark, #0F172A) 0%, #14213D 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.lp-closing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(217, 119, 6, 0.05) 40px,
        rgba(217, 119, 6, 0.05) 41px
    );
    pointer-events: none;
}
.lp-closing .container { position: relative; }

.lp-scarcity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #FCA5A5;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.lp-scarcity::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    animation: lpPulse 1.6s ease-in-out infinite;
}
@keyframes lpPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.lp-closing__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}
.lp-closing__head h2 {
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: clamp(30px, 3.8vw, 44px);
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.15;
}
.lp-closing__head p {
    color: #CBD5E1;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.lp-quiz {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 36px;
    color: var(--text-dark, #0F172A);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.lp-quiz__progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.lp-quiz__progress-text {
    font-size: 13px;
    color: #64748B;
    font-weight: 600;
}
.lp-quiz__progress-bar {
    flex: 1;
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
    margin: 0 16px;
    overflow: hidden;
}
.lp-quiz__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent, #D97706), #F59E0B);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.lp-quiz__step { display: none; animation: lpFadeIn 0.25s ease; }
.lp-quiz__step.is-active { display: block; }
@keyframes lpFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.lp-quiz__question {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark, #0F172A);
    margin: 0 0 6px;
}
.lp-quiz__hint {
    color: #64748B;
    font-size: 14px;
    margin: 0 0 20px;
}

.lp-quiz__options {
    display: grid;
    gap: 10px;
}
.lp-quiz__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
    color: var(--text-dark, #0F172A);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    width: 100%;
}
.lp-quiz__option:hover {
    border-color: var(--color-accent, #D97706);
    background: #FFFBEB;
}
.lp-quiz__option.is-selected {
    border-color: var(--color-accent, #D97706);
    background: #FEF3C7;
}
.lp-quiz__option-marker {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.lp-quiz__option.is-selected .lp-quiz__option-marker {
    border-color: var(--color-accent, #D97706);
    background: var(--color-accent, #D97706);
}
.lp-quiz__option.is-selected .lp-quiz__option-marker::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

/* финальный шаг */
.lp-quiz__final {
    display: grid;
    gap: 14px;
}
.lp-quiz__final-bonus {
    background: linear-gradient(135deg, #FEF3C7, #FFEDD5);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: 12px;
    padding: 16px 18px;
    color: #7C2D12;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 6px;
}
.lp-quiz__final-bonus strong { color: #92400E; }
.lp-quiz__final input[type="text"],
.lp-quiz__final input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.15s;
}
.lp-quiz__final input:focus {
    outline: none;
    border-color: var(--color-accent, #D97706);
}
.lp-quiz__final-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #64748B;
    font-size: 12.5px;
    line-height: 1.45;
}
.lp-quiz__final-consent input { margin-top: 3px; }
.lp-quiz__final-consent a { color: var(--color-primary, #1E3A5F); text-decoration: underline; }

/* honeypot */
.lp-quiz__honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.lp-quiz__nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}
.lp-quiz__btn {
    padding: 14px 26px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.15s;
}
.lp-quiz__btn--prev {
    background: #F1F5F9;
    color: #475569;
}
.lp-quiz__btn--prev:hover { background: #E2E8F0; }
.lp-quiz__btn--prev[hidden] { display: none; }
.lp-quiz__btn--next,
.lp-quiz__btn--submit {
    background: var(--color-accent, #D97706);
    color: #fff;
    margin-left: auto;
}
.lp-quiz__btn--next:hover,
.lp-quiz__btn--submit:hover {
    background: #B85F05;
    transform: translateY(-1px);
}
.lp-quiz__btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* success state */
.lp-quiz__success {
    text-align: center;
    padding: 40px 20px;
}
.lp-quiz__success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 36px;
}
.lp-quiz__success h3 {
    font-size: 22px;
    color: var(--text-dark, #0F172A);
    margin: 0 0 8px;
}
.lp-quiz__success p {
    color: #475569;
    margin: 0;
}

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .lp-hero .container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .lp-hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
    .lp-trust__inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .lp-case__card { grid-template-columns: 1fr; padding: 28px; }
    .lp-tasks { grid-template-columns: 1fr; }
    .lp-benefits__grid { grid-template-columns: 1fr; }
    .lp-team-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .lp-hero { min-height: auto; padding-top: 100px; padding-bottom: 30px; }
    .lp-hero__bullets { grid-template-columns: 1fr; }
    .lp-hero__form-row { grid-template-columns: 1fr; }
    .lp-case, .lp-benefits, .lp-closing { padding: 50px 0; }
    .lp-case__card { padding: 22px; gap: 24px; }
    .lp-quiz { padding: 24px; border-radius: 16px; }
    .lp-quiz__question { font-size: 17px; }
    .lp-quiz__nav { flex-direction: column-reverse; }
    .lp-quiz__btn--next, .lp-quiz__btn--submit { margin-left: 0; width: 100%; }
    .lp-quiz__btn--prev { width: 100%; }
}
