/* ============================================
   LEADER HOUSE · Лендинг «Навесы для авто»
   Цвета сайта: #65bc7b (зелёный), #1a1a1a (тёмный),
                #f8971c (оранжевый/акцент), #ffffff (белый)
   Префикс lp- — не конфликтует с темой
   ============================================ */

/* --- Переменные --- */
:root {
    --lp-green:      #65bc7b;
    --lp-green-d:    #4a9e62;
    --lp-green-bg:   #eaf7ee;
    --lp-orange:     #f8971c;
    --lp-orange-d:   #d97c0d;
    --lp-dark:       #1a1a1a;
    --lp-text:       #333333;
    --lp-muted:      #666666;
    --lp-bg:         #f5f5f5;
    --lp-bg-alt:     #ececec;
    --lp-white:      #ffffff;
    --lp-border:     #d6d6d6;
    --lp-radius:     4px;
    --lp-shadow:     0 4px 20px rgba(0,0,0,.10);
    --lp-transition: .22s ease;
    --lp-pad:        64px 0;
}

/* --- Общий сброс --- */
.lp-hero, .lp-section, .lp-final-cta, .lp-stats-strip {
    box-sizing: border-box;
}
.lp-hero *, .lp-section *, .lp-final-cta *, .lp-stats-strip * {
    box-sizing: border-box;
}

.container-lp {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   КНОПКИ
   ============================================ */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--lp-radius);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--lp-transition);
    border: 2px solid transparent;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.3;
}

/* Главная — оранжевая (самый важный CTA) */
.lp-btn--primary {
    background: var(--lp-orange);
    color: var(--lp-white);
    border-color: var(--lp-orange);
}
.lp-btn--primary:hover {
    background: var(--lp-orange-d);
    border-color: var(--lp-orange-d);
    color: var(--lp-white);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(248,151,28,.35);
}

/* Контурная — зелёная */
.lp-btn--outline {
    background: transparent;
    color: var(--lp-green-d);
    border-color: var(--lp-green);
}
.lp-btn--outline:hover {
    background: var(--lp-green);
    color: var(--lp-white);
    border-color: var(--lp-green);
}

/* Белая — для hero */
.lp-btn--white {
    background: var(--lp-white);
    color: var(--lp-dark);
    border-color: var(--lp-white);
}
.lp-btn--white:hover {
    background: var(--lp-green);
    border-color: var(--lp-green);
    color: var(--lp-white);
}

.lp-btn--lg   { padding: 15px 38px; font-size: 17px; }
.lp-btn--full { width: 100%; justify-content: center; }

/* ============================================
   HERO
   ============================================ */
.lp-hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--lp-dark);
}

.lp-hero__video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.lp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26,26,26,.82) 0%,
        rgba(26,26,26,.50) 55%,
        rgba(26,26,26,.18) 100%
    );
    z-index: 1;
}

.lp-hero .container-lp { position: relative; z-index: 2; width: 100%; }
.lp-hero__content { max-width: 660px; }

.lp-eyebrow {
    display: inline-block;
    background: var(--lp-green);
    color: var(--lp-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 18px;
}

.lp-hero__title {
    font-size: clamp(26px, 4vw, 50px) !important;
    color: var(--lp-white) !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.lp-hero__sub {
    font-size: 18px;
    color: rgba(255,255,255,.86);
    margin-bottom: 32px;
    line-height: 1.55;
    max-width: 500px;
}

.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.lp-hero__hint { color: rgba(255,255,255,.50); font-size: 13px; }

.lp-hero__scroll {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    color: rgba(255,255,255,.40);
    font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
    animation: lpBounce 2.2s ease-in-out infinite;
    pointer-events: none;
}
.lp-hero__scroll::before {
    content: '';
    display: block;
    width: 16px; height: 16px;
    border-right: 2px solid rgba(255,255,255,.40);
    border-bottom: 2px solid rgba(255,255,255,.40);
    transform: rotate(45deg);
}
@keyframes lpBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   СЕКЦИИ — общее
   ============================================ */
.lp-section         { padding: var(--lp-pad); }
.lp-section--white  { background: var(--lp-white); }
.lp-section--alt    { background: var(--lp-bg); }

.lp-section__header { text-align: center; margin-bottom: 44px; }

.lp-label {
    display: inline-block;
    color: var(--lp-green-d);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lp-green);
}

.lp-section__title {
    font-size: clamp(22px, 3vw, 36px) !important;
    color: var(--lp-dark) !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
    font-weight: 700 !important;
}

.lp-section__desc {
    font-size: 16px;
    color: var(--lp-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ============================================
   ГАЛЕРЕЯ
   ============================================ */
.lp-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.lp-gallery__card {
    border-radius: var(--lp-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--lp-bg-alt);
}
.lp-gallery__card--tall { grid-row: span 2; aspect-ratio: auto; }

.lp-gallery__card img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .4s ease;
}
.lp-gallery__card:hover img { transform: scale(1.05); }

.lp-gallery__label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(26,26,26,.78));
    color: #fff;
    padding: 24px 14px 12px;
    font-size: 13px; font-weight: 600;
    opacity: 0; transition: opacity .28s;
}
.lp-gallery__card:hover .lp-gallery__label { opacity: 1; }

/* Зелёная полоска снизу при ховере */
.lp-gallery__card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--lp-green);
    transform: scaleX(0);
    transition: transform .28s ease;
    transform-origin: left;
}
.lp-gallery__card:hover::after { transform: scaleX(1); }

.lp-gallery__footer { text-align: center; margin-top: 28px; }

/* Lightbox */
.lp-lb {
    display: none; position: fixed; inset: 0;
    z-index: 9500; background: rgba(0,0,0,.92);
    align-items: center; justify-content: center;
}
.lp-lb.is-active { display: flex; }
.lp-lb img {
    max-width: 90vw; max-height: 90vh;
    border-radius: var(--lp-radius);
    box-shadow: 0 8px 40px rgba(0,0,0,.5);
    display: block;
}
.lp-lb__close {
    position: absolute; top: 20px; right: 24px;
    color: #fff; font-size: 40px; cursor: pointer; line-height: 1;
    opacity: .75; transition: opacity .2s;
}
.lp-lb__close:hover { opacity: 1; }

/* ============================================
   ЦЕНЫ
   ============================================ */
.lp-prices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.lp-price-card {
    background: var(--lp-white);
    border: 2px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 28px 24px;
    position: relative;
    transition: var(--lp-transition);
}
.lp-price-card:hover {
    border-color: var(--lp-green);
    box-shadow: var(--lp-shadow);
    transform: translateY(-3px);
}
.lp-price-card--featured {
    border-color: var(--lp-orange);
    box-shadow: 0 4px 24px rgba(248,151,28,.15);
}
.lp-price-card--featured:hover { border-color: var(--lp-orange-d); }

.lp-price-badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--lp-orange);
    color: var(--lp-white);
    font-size: 11px; font-weight: 700;
    padding: 4px 16px; border-radius: 20px;
    white-space: nowrap; text-transform: uppercase; letter-spacing: .07em;
}

.lp-price-card__icon { font-size: 32px; margin-bottom: 12px; line-height: 1; }

.lp-price-card h3 {
    font-size: 20px !important; font-weight: 700 !important;
    color: var(--lp-dark) !important;
    margin-bottom: 6px !important; line-height: 1.25 !important;
}

.lp-price-card__sub { font-size: 13px; color: var(--lp-muted); margin-bottom: 18px; line-height: 1.4; }

.lp-price-list {
    list-style: none !important; padding: 0 !important; margin: 0 0 22px !important;
}
.lp-price-list li {
    padding: 7px 0 7px 22px;
    position: relative;
    font-size: 14px;
    border-bottom: 1px solid var(--lp-bg);
    color: var(--lp-text); line-height: 1.4;
}
.lp-price-list li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--lp-green-d); font-weight: 700;
}

.lp-price-note { font-size: 12px; color: var(--lp-muted); text-align: center; margin-top: 10px; }

.lp-prices__hint { text-align: center; margin-top: 28px; color: var(--lp-muted); font-size: 14px; }
.lp-prices__hint a { color: var(--lp-green-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   СТАТИСТИКА
   ============================================ */
.lp-stats-strip {
    background: var(--lp-dark);
    padding: 40px 0;
}

.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.lp-stat {
    padding: 8px 20px;
    border-right: 1px solid rgba(255,255,255,.10);
}
.lp-stat:last-child { border-right: none; }

.lp-stat__num {
    font-size: 40px; font-weight: 700;
    color: var(--lp-green);
    line-height: 1; margin-bottom: 8px;
}

.lp-stat__label { font-size: 13px; color: rgba(255,255,255,.60); line-height: 1.35; }

/* ============================================
   КАЛЬКУЛЯТОР
   ============================================ */
.lp-calc {
    position: relative;
    border: 2px solid var(--lp-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
    background: var(--lp-white);
}

.lp-calc__iframe { width: 100%; height: 520px; border: none; display: block; }

.lp-calc__expand {
    position: absolute; top: 12px; right: 12px; z-index: 10;
    background: var(--lp-dark); color: var(--lp-white);
    border: none; border-radius: var(--lp-radius);
    padding: 8px 16px; font-size: 13px; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; gap: 6px;
    transition: var(--lp-transition); opacity: .82;
}
.lp-calc__expand:hover { background: var(--lp-green-d); opacity: 1; }

.lp-calc__hint { text-align: center; margin-top: 14px; color: var(--lp-muted); font-size: 14px; }
.lp-calc__hint a { color: var(--lp-green-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Fullscreen оверлей */
.lp-calc-overlay {
    visibility: hidden; opacity: 0;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.90);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    transition: opacity .22s ease, visibility .22s ease;
}
.lp-calc-overlay.is-active { visibility: visible; opacity: 1; }

.lp-calc-overlay__inner {
    width: 100%; max-width: 1100px; height: 92vh;
    background: var(--lp-white); border-radius: var(--lp-radius);
    overflow: hidden; position: relative;
    display: flex; flex-direction: column;
}
.lp-calc-overlay__inner #lp-calc-iframe {
    flex: 1; width: 100% !important; height: 100% !important;
    border: none; display: block;
}

.lp-calc-overlay__close {
    position: absolute; top: 10px; right: 10px;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--lp-dark); color: var(--lp-white);
    border: none; font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: var(--lp-transition);
}
.lp-calc-overlay__close:hover { background: var(--lp-orange); }

/* ============================================
   КАК ПРОИСХОДИТ ЗАКАЗ
   ============================================ */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-bottom: 40px;
}
.lp-steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(10% + 14px);
    right: calc(10% + 14px);
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--lp-green) 0, var(--lp-green) 10px,
        transparent 10px, transparent 20px
    );
}

.lp-step { text-align: center; padding: 0 10px; }

.lp-step__num {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--lp-green); color: var(--lp-white);
    font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    border: 3px solid var(--lp-white);
    box-shadow: 0 0 0 2px var(--lp-green);
    position: relative; z-index: 1;
}

.lp-step h3 {
    font-size: 14px !important; font-weight: 700 !important;
    color: var(--lp-dark) !important;
    margin-bottom: 6px !important; line-height: 1.3 !important;
}
.lp-step p { font-size: 13px; color: var(--lp-muted); line-height: 1.4; }

.lp-guarantee {
    text-align: center;
    padding: 22px 32px;
    background: var(--lp-green-bg);
    border: 2px solid var(--lp-green);
    border-radius: var(--lp-radius);
    color: var(--lp-dark);
    max-width: 480px; margin: 0 auto; font-size: 16px;
}
.lp-guarantee strong {
    display: block; font-size: 30px; font-weight: 700;
    color: var(--lp-green-d); margin-top: 4px;
}

/* Отзывы используют родные стили темы (.l-reviews, .l-reports) */

/* ============================================
   ФИНАЛЬНАЯ ФОРМА
   ============================================ */
.lp-final-cta {
    background: var(--lp-dark);
    padding: var(--lp-pad);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lp-final-cta::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--lp-green);
}

.lp-final-cta__title {
    font-size: clamp(22px, 3vw, 36px) !important;
    color: var(--lp-white) !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important; line-height: 1.2 !important;
}

.lp-final-cta__desc {
    color: rgba(255,255,255,.68);
    font-size: 16px; margin-bottom: 32px;
    max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* CF7 */
.lp-cf7-wrap { max-width: 560px; margin: 0 auto 28px; }
.lp-cf7-wrap .wpcf7-form {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.lp-cf7-wrap .wpcf7-form p { margin: 0; flex: 1 1 200px; }

.lp-cf7-wrap input[type="text"],
.lp-cf7-wrap input[type="tel"],
.lp-cf7-wrap input[type="email"],
.lp-cf7-wrap textarea {
    width: 100%; padding: 13px 18px;
    border-radius: var(--lp-radius);
    border: 2px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    color: var(--lp-white); font-size: 15px;
    outline: none; transition: var(--lp-transition);
}
.lp-cf7-wrap input::placeholder { color: rgba(255,255,255,.40); }
.lp-cf7-wrap input:focus,
.lp-cf7-wrap textarea:focus {
    border-color: var(--lp-green);
    background: rgba(255,255,255,.11);
}

.lp-cf7-wrap input[type="submit"],
.lp-cf7-wrap .wpcf7-submit {
    padding: 13px 36px;
    background: var(--lp-orange); color: var(--lp-white);
    border: 2px solid var(--lp-orange);
    border-radius: var(--lp-radius);
    font-size: 16px; font-weight: 700;
    cursor: pointer; transition: var(--lp-transition);
    white-space: nowrap;
	width: auto;
    line-height: 0%;
}
.lp-cf7-wrap input[type="submit"]:hover,
.lp-cf7-wrap .wpcf7-submit:hover {
    background: var(--lp-orange-d); border-color: var(--lp-orange-d);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(248,151,28,.4);
}
.lp-cf7-wrap .wpcf7-acceptance { width: 100%; }
.lp-cf7-wrap .wpcf7-acceptance .wpcf7-list-item-label { font-size: 12px; color: rgba(255,255,255,.40); }
.lp-cf7-wrap .wpcf7-acceptance a { color: rgba(255,255,255,.60); }
.lp-cf7-wrap .wpcf7-not-valid-tip { color: #ff8a8a; font-size: 12px; }
.lp-cf7-wrap .wpcf7-response-output {
    width: 100%; margin: 8px 0 0 !important; padding: 10px 16px !important;
    border-radius: var(--lp-radius) !important; font-size: 14px;
    border: 1px solid rgba(101,188,123,.4) !important;
    background: rgba(101,188,123,.12); color: var(--lp-white);
}

.lp-final-cta__contacts {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 24px;
    font-size: 15px; margin-top: 12px;
}
.lp-final-cta__contacts a,
.lp-final-cta__contacts span { color: rgba(255,255,255,.60); text-decoration: none; transition: color var(--lp-transition); }
.lp-final-cta__contacts a:hover { color: var(--lp-green); }
.l-project-form#l-call-form {
    margin: auto;	
    max-width: none;
}


/* ============================================
   АДАПТИВ — Планшет (≤ 900px)
   ============================================ */
@media (max-width: 900px) {
    :root { --lp-pad: 52px 0; }

    .lp-gallery { grid-template-columns: repeat(2, 1fr); }
    .lp-gallery__card--tall { grid-row: auto; aspect-ratio: 4/3; }

    .lp-prices { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }

    .lp-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-stat  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 16px 20px; }
    .lp-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
    .lp-stat:last-child,
    .lp-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }

    .lp-steps { grid-template-columns: 1fr; gap: 24px; }
    .lp-steps::before { display: none; }

    .lp-cf7-wrap .wpcf7-form { flex-direction: column; }
    .lp-cf7-wrap .wpcf7-form p { flex: auto; }
}

/* ============================================
   АДАПТИВ — Мобильный (≤ 600px)
   ============================================ */
@media (max-width: 600px) {
    :root { --lp-pad: 40px 0; }

    .lp-hero { min-height: 500px; }
    .lp-hero__sub { font-size: 15px; }
    .lp-hero__actions { flex-direction: column; align-items: flex-start; }
    .lp-btn--lg { padding: 13px 26px; font-size: 15px; }

    .lp-gallery { grid-template-columns: 1fr; }

    .lp-stats { grid-template-columns: repeat(2, 1fr); }

    .lp-calc__iframe { height: 420px; }

    .lp-final-cta__contacts { flex-direction: column; gap: 10px; align-items: center; }
}