/* Wholesale landing */
.wl-landing {
    --wl-accent: #C8102E;
    --wl-text: #111827;
    --wl-muted: #4b5563;
    --wl-border: #e5e7eb;
    --wl-bg-soft: #f9fafb;
}

.wl-landing .wl-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--wl-text);
    margin-bottom: 12px;
    line-height: 1.25;
}

.wl-landing .wl-section-sub {
    font-size: 17px;
    color: var(--wl-muted);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 32px;
}

.wl-landing .wl-section {
    margin-bottom: 64px;
}

/* Hero */
.wl-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    border-radius: 20px;
    margin-top: 16px;
    margin-bottom: 48px;
    overflow: hidden;
    background-image: url("/images/hero-bg.png");
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.wl-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 100%);
    z-index: 1;
}

.wl-hero__content {
    position: relative;
    z-index: 2;
    padding: 64px 48px;
    color: #fff;
}

.wl-hero__content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff !important;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wl-hero__lead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 640px;
    margin-bottom: 24px;
}

.wl-hero__points {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    max-width: 640px;
}

.wl-hero__points li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.wl-hero__points li::before {
    content: '/';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.wl-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.wl-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.wl-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.wl-hero__actions .btn {
    font-size: 17px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
}

.wl-hero__phone {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
}

.wl-hero__phone:hover {
    color: #fff;
    opacity: 0.9;
}

/* Cards grid */
.wl-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.wl-card {
    background: #fff;
    border: 1px solid var(--wl-border);
    border-radius: 16px;
    padding: 24px 20px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wl-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.wl-card__icon,
.wl-icon-wrap {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.wl-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.wl-card__icon i,
.wl-icon-wrap i {
    position: relative;
    z-index: 2;
}

.wl-card__icon-ring,
.wl-icon-wrap__ring {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    opacity: 0.22;
}

.wl-card__icon-ring {
    width: 88px;
    height: 88px;
    top: -12px;
    right: -18px;
    background: currentColor;
}

.wl-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.12);
}

.wl-icon-wrap__ring {
    width: 72px;
    height: 72px;
    top: -10px;
    right: -14px;
    background: currentColor;
}

.wl-card__icon--crimson,
.wl-icon-wrap--crimson { background: linear-gradient(135deg, #C8102E 0%, #F04362 100%); color: #C8102E; }
.wl-card__icon--amber,
.wl-icon-wrap--amber { background: linear-gradient(135deg, #D97706 0%, #FBBF24 100%); color: #D97706; }
.wl-card__icon--teal,
.wl-icon-wrap--teal { background: linear-gradient(135deg, #0F766E 0%, #2DD4BF 100%); color: #0F766E; }
.wl-card__icon--violet,
.wl-icon-wrap--violet { background: linear-gradient(135deg, #6D28D9 0%, #A78BFA 100%); color: #6D28D9; }
.wl-card__icon--sky,
.wl-icon-wrap--sky { background: linear-gradient(135deg, #0369A1 0%, #38BDF8 100%); color: #0369A1; }
.wl-card__icon--rose,
.wl-icon-wrap--rose { background: linear-gradient(135deg, #BE123C 0%, #FB7185 100%); color: #BE123C; }
.wl-card__icon--emerald,
.wl-icon-wrap--emerald { background: linear-gradient(135deg, #047857 0%, #34D399 100%); color: #047857; }

.wl-card__icon--crimson i,
.wl-card__icon--amber i,
.wl-card__icon--teal i,
.wl-card__icon--violet i,
.wl-card__icon--sky i,
.wl-card__icon--rose i,
.wl-card__icon--emerald i,
.wl-icon-wrap--crimson i,
.wl-icon-wrap--amber i,
.wl-icon-wrap--teal i,
.wl-icon-wrap--violet i,
.wl-icon-wrap--sky i,
.wl-icon-wrap--rose i,
.wl-icon-wrap--emerald i {
    color: #fff;
}

/* CTA bands */
.wl-cta-band {
    text-align: center;
    margin: -24px 0 48px;
    padding: 28px 24px;
    background: linear-gradient(180deg, #fff 0%, var(--wl-bg-soft) 100%);
    border: 1px solid var(--wl-border);
    border-radius: 16px;
}

.wl-cta-band--compact {
    margin: -8px 0 40px;
    padding: 20px 24px;
}

.wl-cta-band__sub {
    font-size: 16px;
    color: var(--wl-muted);
    max-width: 640px;
    margin: 0 auto 16px;
    line-height: 1.55;
}

.wl-cta-band .btn {
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
}

.wl-cta-band .btn i {
    margin-right: 8px;
}

.wl-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--wl-text);
    margin-bottom: 8px;
}

.wl-card__text {
    font-size: 15px;
    color: var(--wl-muted);
    line-height: 1.55;
    margin: 0;
}

/* Benefits: только заголовки, иконки по центру */
.wl-section--benefits .wl-cards--icons {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.wl-card--icon-only,
.wl-card--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wl-card--icon-only .wl-card__icon,
.wl-card--centered .wl-card__icon {
    margin-left: auto;
    margin-right: auto;
}

.wl-card--icon-only .wl-card__title {
    margin-bottom: 0;
}

.wl-section--audience .wl-cards--audience {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wl-card--centered .wl-card__text {
    max-width: 280px;
}

/* Steps */
.wl-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    counter-reset: wl-step;
}

.wl-step {
    position: relative;
    padding: 20px 16px 16px 16px;
    border-left: 3px solid var(--wl-accent);
    background: #fff;
}

.wl-step::before {
    counter-increment: wl-step;
    content: counter(wl-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--wl-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wl-step__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--wl-text);
}

.wl-step__text {
    font-size: 15px;
    color: var(--wl-muted);
    margin: 0;
    line-height: 1.5;
}

/* Conditions */
.wl-conditions {
    background: var(--wl-bg-soft);
    border: 1px solid var(--wl-border);
    border-radius: 14px;
    padding: 28px 32px;
}

.wl-conditions ul {
    margin: 0;
    padding-left: 20px;
}

.wl-conditions li {
    margin-bottom: 10px;
    color: var(--wl-muted);
    line-height: 1.5;
}

/* Quality */
.wl-quality-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.wl-quality-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--wl-border);
    border-radius: 12px;
    background: #fff;
}

.wl-quality-item .wl-icon-wrap {
    margin-top: 2px;
}

.wl-quality-item strong {
    display: block;
    color: var(--wl-text);
    margin-bottom: 4px;
}

.wl-quality-item span {
    font-size: 14px;
    color: var(--wl-muted);
    line-height: 1.45;
}

/* Form */
.wl-form-wrap {
    background: var(--wl-bg-soft);
    border: 1px solid var(--wl-border);
    border-radius: 16px;
    padding: 28px;
}

.wl-form-wrap .form-control {
    height: calc(1.5em + 1rem + 2px);
}

.wl-form-wrap label {
    font-weight: 500;
    color: var(--wl-text);
}

.wl-form-check {
    padding-left: 1.75rem;
}

.wl-form-check .form-check-label {
    font-size: 14px;
    line-height: 1.5;
    color: var(--wl-muted);
}

.wl-form-check .invalid-feedback {
    font-size: 13px;
}

.wl-activate-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--wl-border);
}

.wl-thankyou {
    border-radius: 12px;
}

/* Activated */
.wl-activated {
    background: var(--wl-bg-soft);
    border: 1px solid var(--wl-border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 32px;
}

.wl-parser-details {
    margin-top: 24px;
}

.wl-parser-details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--wl-text);
    outline: none;
}

.wl-parser-details img {
    max-width: 100%;
    height: auto;
    margin-top: 16px;
    border: 1px solid var(--wl-border);
    border-radius: 8px;
}

/* Sticky CTA */
.wl-sticky-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--wl-border);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.wl-sticky-cta.is-visible {
    display: block;
}

.wl-sticky-cta .btn {
    width: 100%;
    font-weight: 700;
    padding: 12px;
}

.wl-reviews {
    margin-bottom: 48px;
}

.wl-reviews .pr-reviews--wholesale {
    margin-top: 0;
}

/* Summary panel: title left, stats right */
.wl-reviews .wl-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 32px;
    margin-bottom: 20px;
    padding: 22px 24px;
    background: var(--wl-bg-soft);
    border: 1px solid var(--wl-border);
    border-radius: 14px;
}

.wl-reviews .wl-reviews-head__intro {
    flex: 1 1 280px;
    min-width: 0;
    text-align: left;
}

.wl-reviews .wl-reviews-head__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--wl-text);
    margin: 0 0 8px;
}

.wl-reviews .wl-reviews-head__sub {
    font-size: 16px;
    line-height: 1.5;
    color: var(--wl-muted);
    margin: 0;
    max-width: 420px;
}

.wl-reviews .wl-reviews-head__stats {
    flex: 0 1 420px;
    display: flex;
    align-items: flex-start;
    gap: 20px 24px;
    min-width: 0;
}

.wl-reviews .wl-reviews-head__stats .pr-reviews__avg {
    flex: 0 0 auto;
    min-width: 88px;
    text-align: center;
}

.wl-reviews .wl-reviews-head__stats .pr-reviews__avg-number {
    font-size: 36px;
}

.wl-reviews .wl-reviews-head__stats .pr-reviews__avg-stars {
    font-size: 18px;
}

.wl-reviews .wl-reviews-head__stats .pr-reviews__bars {
    flex: 1 1 auto;
    max-width: 260px;
    min-width: 180px;
}

.wl-reviews .pr-reviews__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.wl-reviews .pr-review-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--wl-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.wl-reviews .pr-review-item__top {
    gap: 8px;
    margin-bottom: 10px;
}

.wl-reviews .pr-review-item__date,
.wl-reviews .pr-review-item__author {
    font-size: 12px;
}

.wl-reviews .pr-review-item__text {
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 0;
}

.wl-reviews .pr-review-item__full {
    display: none;
}

.wl-reviews .pr-review-item__full.is-visible,
.wl-reviews .pr-review-item__text.is-expanded .pr-review-item__full {
    display: block;
}

.wl-reviews .pr-review-item__text.is-expanded .pr-review-item__excerpt {
    display: none;
}

.wl-reviews .pr-review-item__more {
    display: inline-block;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--wl-accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.wl-reviews .pr-review-item__more:hover {
    color: #A00D25;
}

.wl-reviews .pr-review-item__media {
    margin-top: 10px;
}

.wl-reviews .pr-review-item__media img {
    width: 72px;
    height: 72px;
}

.wl-reviews .pr-review-item__reply {
    margin-top: 10px;
    padding: 8px 10px;
}

.wl-reviews .pr-review-item__reply-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
}

.wl-reviews .pr-reviews__load-more {
    display: none;
}

@media (max-width: 991.98px) {
    .wl-reviews .wl-reviews-head {
        flex-direction: column;
        align-items: stretch;
    }

    .wl-reviews .wl-reviews-head__stats {
        flex: 1 1 auto;
        width: 100%;
    }

    .wl-reviews .pr-reviews__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .wl-reviews .wl-reviews-head__title {
        font-size: 24px;
    }

    .wl-reviews .wl-reviews-head__stats {
        flex-direction: column;
        align-items: stretch;
    }

    .wl-reviews .wl-reviews-head__stats .pr-reviews__avg {
        text-align: left;
    }

    .wl-reviews .wl-reviews-head__stats .pr-reviews__bars {
        max-width: none;
    }

    .wl-reviews .pr-reviews__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .wl-hero__content {
        padding: 40px 24px;
    }

    .wl-hero__content h1 {
        font-size: 28px;
    }

    .wl-landing .wl-section-title {
        font-size: 26px;
    }

    .wl-landing {
        padding-bottom: 80px;
    }
}

@media (min-width: 768px) {
    .wl-sticky-cta {
        display: none !important;
    }
}

.wl-landing .btn-primary,
.wl-landing .btn-danger {
    background-color: #C8102E;
    border-color: #C8102E;
    color: #fff;
}
.wl-landing .btn-primary:hover,
.wl-landing .btn-danger:hover {
    background-color: #A00D25;
    border-color: #A00D25;
    color: #fff;
}
.wl-landing .btn-outline-primary {
    color: #C8102E;
    border-color: #C8102E;
}
