/**
 * File: /wp-content/themes/prespa-child/assets/css/belperamova-landing.css
 * Version: 1.0.0
 *
 * Назначение:
 * - Изолированные стили отдельной публичной посадочной страницы БелПерамова.
 * - Не используются внешние шрифты, CDN и глобальные UI-библиотеки.
 * - Не трогает рабочий кабинет /peramova/ и CSS плагина belperamova-app.css.
 *
 * История изменений:
 * - 1.0.0: Создан чистый landing-layout с поддержкой светлого и темного режима.
 */

body.belperamova-landing-page {
    background: #f5f8f7;
}

body.belperamova-landing-page .entry-header,
body.belperamova-landing-page .page-header,
body.belperamova-landing-page .entry-title,
body.belperamova-landing-page .breadcrumbs,
body.belperamova-landing-page .breadcrumb,
body.belperamova-landing-page .rank-math-breadcrumb,
body.belperamova-landing-page .yoast-breadcrumb,
body.belperamova-landing-page .woocommerce-breadcrumb {
    display: none !important;
}

body.belperamova-landing-page .site-main,
body.belperamova-landing-page .entry-content,
body.belperamova-landing-page .page-content {
    margin: 0 !important;
    padding: 0 !important;
}

.bp-landing-page {
    --bp-bg: #f5f8f7;
    --bp-bg-soft: #eef7f3;
    --bp-surface: #ffffff;
    --bp-surface-soft: #f8fbfa;
    --bp-text: #102331;
    --bp-muted: #607386;
    --bp-border: rgba(15, 95, 103, 0.14);
    --bp-border-soft: rgba(15, 95, 103, 0.09);
    --bp-accent: #0f5f67;
    --bp-accent-dark: #0a454c;
    --bp-accent-soft: rgba(15, 95, 103, 0.09);
    --bp-success: #1f6e5c;
    --bp-shadow: 0 18px 50px rgba(15, 35, 49, 0.06);

    overflow: hidden;
    background: var(--bp-bg);
    color: var(--bp-text);
    font-family: inherit;
}

.bp-landing-page,
.bp-landing-page * {
    box-sizing: border-box;
}

.bp-landing-container {
    width: min(100% - 48px, 1120px);
    margin: 0 auto;
}

.bp-landing-hero {
    padding: 58px 0 72px;
    background:
        radial-gradient(circle at 78% 26%, rgba(31, 110, 92, 0.11), transparent 32%),
        linear-gradient(180deg, rgba(245, 248, 247, 1), rgba(245, 248, 247, 0.82));
}

.bp-landing-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.78fr);
    gap: clamp(42px, 6vw, 86px);
    align-items: center;
}

.bp-landing-kicker {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 16px;
    padding: 6px 12px;
    border: 1px solid var(--bp-border);
    border-radius: 999px;
    background: var(--bp-accent-soft);
    color: var(--bp-success);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
}

.bp-landing-hero h1,
.bp-landing-section h2,
.bp-landing-cta h2 {
    margin: 0;
    color: var(--bp-text);
    letter-spacing: -0.035em;
}

.bp-landing-hero h1 {
    max-width: 620px;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.08;
}

.bp-landing-lead {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--bp-muted);
    font-size: 18px;
    line-height: 1.58;
}

.bp-landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.bp-landing-actions--center {
    justify-content: center;
}

.bp-landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.bp-landing-button:hover,
.bp-landing-button:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.bp-landing-button--primary {
    border-color: var(--bp-accent);
    background: var(--bp-accent);
    color: #ffffff;
}

.bp-landing-button--primary:hover,
.bp-landing-button--primary:focus {
    border-color: var(--bp-accent-dark);
    background: var(--bp-accent-dark);
    color: #ffffff;
}

.bp-landing-button--secondary {
    border-color: var(--bp-border);
    background: rgba(255, 255, 255, 0.72);
    color: var(--bp-text);
}

.bp-landing-button--secondary:hover,
.bp-landing-button--secondary:focus {
    border-color: rgba(15, 95, 103, 0.24);
    background: #ffffff;
    color: var(--bp-text);
}

.bp-landing-text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: var(--bp-accent);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.bp-landing-text-link::after {
    content: "→";
    margin-left: 7px;
    transition: transform 0.16s ease;
}

.bp-landing-text-link:hover,
.bp-landing-text-link:focus {
    color: var(--bp-accent-dark);
    text-decoration: none;
}

.bp-landing-text-link:hover::after,
.bp-landing-text-link:focus::after {
    transform: translateX(3px);
}

.bp-landing-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: var(--bp-muted);
    font-size: 13px;
    line-height: 1.35;
}

.bp-landing-hero-points li {
    position: relative;
    padding-left: 14px;
}

.bp-landing-hero-points li::before {
    content: "";
    position: absolute;
    top: 0.56em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--bp-success);
}

.bp-landing-hero__visual {
    display: flex;
    justify-content: center;
}

.bp-meet-card {
    width: min(100%, 420px);
    overflow: hidden;
    border: 1px solid var(--bp-border-soft);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--bp-shadow);
}

.bp-meet-card__top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.bp-meet-card__top span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
}

.bp-meet-card__top span:first-child { background: #ef4444; }
.bp-meet-card__top span:nth-child(2) { background: #f59e0b; }
.bp-meet-card__top span:nth-child(3) { background: #22c55e; }

.bp-meet-card__top b {
    margin-left: auto;
    color: var(--bp-muted);
    font-size: 12px;
    font-weight: 600;
}

.bp-meet-card__body {
    position: relative;
    min-height: 250px;
    background:
        radial-gradient(circle at 24% 28%, rgba(31, 110, 92, 0.24), transparent 24%),
        radial-gradient(circle at 76% 44%, rgba(96, 115, 134, 0.24), transparent 27%),
        linear-gradient(135deg, #101827, #1f2c3d);
}

.bp-meet-card__badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.52);
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 650;
}

.bp-meet-card__badge--left {
    top: 24px;
    left: 24px;
}

.bp-meet-card__badge--right {
    top: 68px;
    right: 22px;
}

.bp-meet-card__avatar {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.20);
}

.bp-meet-card__avatar--main {
    top: 50%;
    left: 50%;
    width: 98px;
    height: 98px;
    background: linear-gradient(135deg, #2563eb, #059669);
    font-size: 24px;
    transform: translate(-50%, -50%);
}

.bp-meet-card__avatar--guest,
.bp-meet-card__avatar--client {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.86);
    font-size: 17px;
}

.bp-meet-card__avatar--guest {
    left: 44px;
    bottom: 42px;
    background: #10b981;
}

.bp-meet-card__avatar--client {
    right: 44px;
    bottom: 38px;
    background: #f97316;
}

.bp-meet-card__footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 18px 17px;
    color: var(--bp-muted);
    font-size: 13px;
}

.bp-meet-card__footer strong {
    color: var(--bp-text);
    font-weight: 650;
}

.bp-landing-section {
    padding: 66px 0;
    background: var(--bp-bg);
}

.bp-landing-section--soft {
    background: rgba(238, 247, 243, 0.64);
}

.bp-landing-section__head {
    max-width: 760px;
    margin-bottom: 30px;
}

.bp-landing-section__head--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.bp-landing-section h2,
.bp-landing-cta h2 {
    max-width: 760px;
    font-size: clamp(28px, 2.8vw, 38px);
    font-weight: 700;
    line-height: 1.14;
}

.bp-landing-section__head p:not(.bp-landing-kicker),
.bp-landing-section p,
.bp-landing-cta p {
    color: var(--bp-muted);
    font-size: 16px;
    line-height: 1.6;
}

.bp-landing-section__head p:not(.bp-landing-kicker) {
    margin: 12px 0 0;
}

.bp-landing-cards,
.bp-landing-steps,
.bp-landing-list {
    display: grid;
    gap: 16px;
}

.bp-landing-cards--three,
.bp-landing-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bp-landing-card,
.bp-landing-step,
.bp-landing-list div,
.bp-landing-mini-panel,
.bp-landing-note-card {
    border: 1px solid var(--bp-border-soft);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 36px rgba(15, 35, 49, 0.035);
}

.bp-landing-card,
.bp-landing-step {
    padding: 24px;
}

.bp-landing-card__num,
.bp-landing-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--bp-accent-soft);
    color: var(--bp-success);
    font-size: 12px;
    font-weight: 700;
}

.bp-landing-card__num {
    min-width: 38px;
    min-height: 28px;
}

.bp-landing-step span {
    width: 34px;
    height: 34px;
    background: var(--bp-accent);
    color: #ffffff;
}

.bp-landing-card h3,
.bp-landing-step h3 {
    margin: 0 0 9px;
    color: var(--bp-text);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.3;
}

.bp-landing-card p,
.bp-landing-step p {
    margin: 0;
    color: var(--bp-muted);
    font-size: 14px;
    line-height: 1.55;
}

.bp-landing-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-landing-list div {
    position: relative;
    padding: 20px 22px 20px 44px;
}

.bp-landing-list div::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 22px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

.bp-landing-list strong,
.bp-landing-list span {
    display: block;
}

.bp-landing-list strong {
    color: var(--bp-text);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
}

.bp-landing-list span {
    margin-top: 4px;
    color: var(--bp-muted);
    font-size: 14px;
    line-height: 1.48;
}

.bp-landing-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
    gap: 42px;
    align-items: center;
}

.bp-landing-ecosystem {
    background:
        radial-gradient(circle at 84% 20%, rgba(31, 110, 92, 0.09), transparent 28%),
        var(--bp-bg-soft);
}

.bp-landing-ecosystem p,
.bp-landing-split--local p {
    max-width: 720px;
    margin: 16px 0 0;
}

.bp-landing-mini-panel,
.bp-landing-note-card {
    padding: 24px;
}

.bp-landing-mini-panel strong,
.bp-landing-note-card strong {
    display: block;
    color: var(--bp-text);
    font-size: 18px;
    font-weight: 700;
}

.bp-landing-mini-panel span,
.bp-landing-note-card span {
    display: block;
    margin-top: 8px;
    color: var(--bp-muted);
    font-size: 14px;
    line-height: 1.5;
}

.bp-landing-cta {
    padding: 72px 0 78px;
    background:
        radial-gradient(circle at 18% 16%, rgba(239, 68, 68, 0.07), transparent 27%),
        radial-gradient(circle at 82% 12%, rgba(31, 110, 92, 0.13), transparent 28%),
        var(--bp-bg);
    text-align: center;
}

.bp-landing-cta .bp-landing-kicker,
.bp-landing-cta h2,
.bp-landing-cta p {
    margin-right: auto;
    margin-left: auto;
}

.bp-landing-cta p {
    max-width: 600px;
    margin-top: 12px;
}

body.dark-mode .bp-landing-page,
body.theme-dark .bp-landing-page,
body[class*="dark"] .bp-landing-page {
    --bp-bg: #060b14;
    --bp-bg-soft: #0b1220;
    --bp-surface: #101827;
    --bp-surface-soft: #0f172a;
    --bp-text: #f8fafc;
    --bp-muted: #c5d0e2;
    --bp-border: rgba(148, 163, 184, 0.24);
    --bp-border-soft: rgba(148, 163, 184, 0.16);
    --bp-accent: #38b6aa;
    --bp-accent-dark: #6ee7d8;
    --bp-accent-soft: rgba(56, 182, 170, 0.15);
    --bp-success: #5eead4;
    --bp-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

body.dark-mode.belperamova-landing-page,
body.theme-dark.belperamova-landing-page,
body[class*="dark"].belperamova-landing-page {
    background: #060b14;
}

body.dark-mode .bp-landing-card,
body.dark-mode .bp-landing-step,
body.dark-mode .bp-landing-list div,
body.dark-mode .bp-landing-mini-panel,
body.dark-mode .bp-landing-note-card,
body.dark-mode .bp-meet-card,
body.theme-dark .bp-landing-card,
body.theme-dark .bp-landing-step,
body.theme-dark .bp-landing-list div,
body.theme-dark .bp-landing-mini-panel,
body.theme-dark .bp-landing-note-card,
body.theme-dark .bp-meet-card,
body[class*="dark"] .bp-landing-card,
body[class*="dark"] .bp-landing-step,
body[class*="dark"] .bp-landing-list div,
body[class*="dark"] .bp-landing-mini-panel,
body[class*="dark"] .bp-landing-note-card,
body[class*="dark"] .bp-meet-card {
    background: rgba(16, 24, 39, 0.88);
}

@media (max-width: 920px) {
    .bp-landing-hero__grid,
    .bp-landing-split,
    .bp-landing-split--local {
        grid-template-columns: 1fr;
    }

    .bp-landing-hero__visual {
        justify-content: flex-start;
    }

    .bp-landing-cards--three,
    .bp-landing-steps {
        grid-template-columns: 1fr;
    }

    .bp-landing-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .bp-landing-container {
        width: min(100% - 28px, 1120px);
    }

    .bp-landing-hero {
        padding: 34px 0 48px;
    }

    .bp-landing-hero__grid {
        gap: 28px;
    }

    .bp-landing-hero h1 {
        font-size: 31px;
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .bp-landing-lead {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.55;
    }

    .bp-landing-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .bp-landing-button {
        width: 100%;
        min-height: 44px;
    }

    .bp-landing-hero-points {
        display: grid;
        gap: 8px;
    }

    .bp-meet-card {
        width: 100%;
        border-radius: 22px;
    }

    .bp-meet-card__body {
        min-height: 210px;
    }

    .bp-meet-card__avatar--main {
        width: 86px;
        height: 86px;
        font-size: 21px;
    }

    .bp-meet-card__avatar--guest,
    .bp-meet-card__avatar--client {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .bp-meet-card__footer {
        display: grid;
        gap: 6px;
    }

    .bp-landing-section {
        padding: 46px 0;
    }

    .bp-landing-section__head {
        margin-bottom: 22px;
    }

    .bp-landing-section h2,
    .bp-landing-cta h2 {
        font-size: 26px;
        line-height: 1.16;
    }

    .bp-landing-card,
    .bp-landing-step,
    .bp-landing-list div,
    .bp-landing-mini-panel,
    .bp-landing-note-card {
        border-radius: 18px;
    }

    .bp-landing-card,
    .bp-landing-step {
        padding: 18px;
    }

    .bp-landing-list div {
        padding: 18px 18px 18px 40px;
    }

    .bp-landing-list div::before {
        top: 24px;
        left: 20px;
    }

    .bp-landing-cta {
        padding: 48px 0 54px;
    }
}
