/* Центральный лендинг — язык отраслевых страниц (dark / Oswald / red / gold) */

html[data-page="landing"] {
    scroll-behavior: smooth;
}

body.landing-page {
    --red: #c0281c;
    --red-dk: #8b1a1a;
    --gold: #f5a623;
    --dark: #111010;
    --dark2: #1a1816;
    --dark3: #201e1c;
    --cream: #f2ede4;
    --muted: #7a7268;
    --border: rgba(255, 255, 255, 0.07);
    margin: 0;
    background: var(--dark);
    color: var(--cream);
    font-family: Inter, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
}

body.landing-page .app-main--landing {
    max-width: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

body.landing-page .landing-layout,
body.landing-page .landing-layout-main {
    max-width: none;
    margin: 0;
    padding: 0;
    display: block;
}

body.landing-page .landing-header,
body.landing-page .landing-header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: auto;
    min-height: 60px;
    padding: 0 6vw;
    background: rgba(17, 16, 16, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
}

body.landing-page .landing-header-top {
    max-width: none;
    margin: 0;
    height: 60px;
    align-items: center;
    flex-wrap: nowrap;
}

body.landing-page .landing-brand-logo {
    width: 42px;
    max-height: 42px;
    height: 42px;
}

body.landing-page .landing-nav--top {
    padding-top: 0;
    gap: 0.35rem 1.25rem;
    font-size: 13px;
}

body.landing-page .landing-nav--top a,
body.landing-page .landing-nav-link {
    color: rgba(242, 237, 228, 0.55);
    text-decoration: none;
}

body.landing-page .landing-nav--top a:hover,
body.landing-page .landing-nav-link:hover {
    color: var(--gold);
    text-decoration: none;
}

body.landing-page .landing-user-email {
    color: rgba(242, 237, 228, 0.7);
    font-size: 12px;
}

body.landing-page .user-balance {
    color: #f5a623;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.45);
    font-size: 13px;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
}

body.landing-page .user-balance.is-clickable:hover {
    background: rgba(245, 166, 35, 0.2);
    color: #ffc45a;
}

body.landing-page .landing-nav-cta,
body.landing-page .landing-nav-cta--cabinet {
    background: var(--red);
    color: #fff;
    border: 0;
    border-radius: 3px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

body.landing-page .landing-nav-cta:hover {
    background: #a8221a;
}

body.landing-page .landing-nav--sub {
    display: none;
}

/* ——— Hero ——— */

.mh-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 6vw 72px;
    overflow: hidden;
}

.mh-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(17, 16, 16, 0.97) 34%, rgba(17, 16, 16, 0.78) 52%, rgba(139, 26, 26, 0.45) 100%),
        url("assets/landing/hero-main.png") right center / cover no-repeat;
    animation: mh-hero-drift 22s ease-in-out infinite alternate;
}

@keyframes mh-hero-drift {
    from { transform: scale(1); }
    to { transform: scale(1.04); }
}

.mh-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    animation: mh-fade-up 0.85s ease-out both;
}

@keyframes mh-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.mh-brand {
    font-family: Oswald, sans-serif;
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
    margin: 0 0 18px;
}

.mh-hero h1 {
    font-family: Oswald, sans-serif;
    font-size: clamp(2.2rem, 5.2vw, 3.85rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: var(--cream);
    margin: 0 0 22px;
    max-width: 14ch;
}

.mh-hero-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(242, 237, 228, 0.72);
    max-width: 34rem;
    margin: 0 0 36px;
}

.mh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.mh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    border: 0;
    border-radius: 3px;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 22px rgba(192, 40, 28, 0.35);
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.mh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(192, 40, 28, 0.5);
    background: #a8221a;
    color: #fff;
    text-decoration: none;
}

.mh-hero-note {
    margin: 0;
    font-size: 13px;
    color: rgba(242, 237, 228, 0.45);
    letter-spacing: 0.02em;
}

/* ——— Sections ——— */

.mh-section {
    padding: 96px 6vw;
    border-top: 1px solid var(--border);
}

.mh-section--alt {
    background: var(--dark2);
}

.mh-section--deep {
    background: linear-gradient(140deg, #1a0505 0%, #2a0808 42%, #1a1208 100%);
    border-top-color: rgba(192, 40, 28, 0.2);
}

.mh-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.mh-inner--narrow {
    max-width: 720px;
}

.mh-overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 40, 28, 0.12);
    border: 1px solid rgba(192, 40, 28, 0.3);
    color: #e07070;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    margin: 0 0 20px;
}

.mh-section h2 {
    font-family: Oswald, sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
    color: var(--cream);
}

.mh-section h3 {
    font-family: Oswald, sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--cream);
}

.mh-text {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(242, 237, 228, 0.65);
}

.mh-text strong,
.mh-text--strong {
    color: var(--cream);
    font-weight: 600;
}

.mh-text--accent {
    color: rgba(242, 237, 228, 0.88);
    font-size: 1.08rem;
}

.mh-text--gold {
    color: var(--gold);
    font-weight: 600;
}

.mh-experts {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.mh-experts li {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    font-size: 0.95rem;
    color: rgba(242, 237, 228, 0.7);
    line-height: 1.5;
}

.mh-experts strong {
    color: var(--cream);
    font-family: Oswald, sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.mh-gap {
    list-style: none;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
}

.mh-gap li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: rgba(242, 237, 228, 0.55);
    display: flex;
    gap: 10px;
}

.mh-gap li::before {
    content: "—";
    color: var(--red);
    font-weight: 700;
}

.mh-gap li:last-child {
    border-bottom: none;
}

.mh-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
}

.mh-shot {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.mh-shot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 1.5rem;
}

.mh-shot-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mh-shot-grid .mh-shot {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.mh-shot img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.mh-shot figcaption {
    padding: 12px 16px;
    font-size: 12px;
    color: rgba(242, 237, 228, 0.45);
    border-top: 1px solid var(--border);
}

.mh-quote {
    margin: 0.5rem 0 0.75rem;
    padding: 14px 18px;
    border-left: 3px solid var(--red);
    background: rgba(192, 40, 28, 0.08);
    font-family: Oswald, sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--cream);
    line-height: 1.35;
}

.mh-dialog-label {
    margin: 1.25rem 0 0.35rem;
    font-size: 0.82rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mh-dialog-result {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    color: rgba(242, 237, 228, 0.7);
}

.mh-skills-title {
    margin: 1.75rem 0 0.75rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

.mh-skills {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 2rem;
}

.mh-skills li {
    break-inside: avoid;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
    color: rgba(242, 237, 228, 0.65);
    display: flex;
    gap: 10px;
    line-height: 1.4;
}

.mh-skills li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

.mh-skills--one {
    columns: 1;
}

.mh-skills--chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    columns: auto;
}

.mh-skills--chips li {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 14px;
    border-bottom: none;
}

.mh-skills--chips li::before {
    content: none;
}

.mh-specialist {
    margin-top: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.mh-specialist + .mh-specialist {
    margin-top: 20px;
}

.mh-specialist-tag {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.mh-examples-label {
    margin: 1.25rem 0 0.5rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.mh-examples {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.mh-examples li {
    margin-bottom: 8px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(242, 237, 228, 0.75);
}

.mh-audience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 36px;
}

.mh-audience article {
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    border-radius: 0 0 8px 8px;
    transition: border-color 0.2s, transform 0.2s;
}

.mh-audience article:hover {
    border-color: rgba(245, 166, 35, 0.35);
    transform: translateY(-2px);
}

.mh-audience h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.mh-audience p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(242, 237, 228, 0.55);
    line-height: 1.55;
}

.mh-industries {
    list-style: none;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mh-industries li {
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.88rem;
    color: rgba(242, 237, 228, 0.7);
}

.mh-industries a {
    color: inherit;
    text-decoration: none;
}

.mh-industries a:hover {
    color: var(--gold);
}

.mh-verticals {
    margin-top: 40px;
}

.mh-verticals-title {
    font-family: Oswald, sans-serif;
    font-size: 1.35rem;
    margin: 0 0 16px;
}

.mh-verticals-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.mh-verticals-list a {
    display: block;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: border-color 0.2s, transform 0.2s;
}

.mh-verticals-list a:hover {
    border-color: rgba(245, 166, 35, 0.4);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--cream);
}

.mh-verticals-hint,
.mh-verticals-list .landing-verticals-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(242, 237, 228, 0.45);
    line-height: 1.4;
}

.mh-reviews {
    margin-top: 28px;
}

.mh-reviews a {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
}

.mh-reviews-rating {
    font-family: Oswald, sans-serif;
    font-size: 1.4rem;
    color: var(--gold);
}

.mh-reviews-cta {
    font-size: 0.88rem;
    color: rgba(242, 237, 228, 0.65);
}

.mh-closing-brand {
    margin: 2rem 0 0;
    font-family: Oswald, sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.01em;
}

.mh-pricing-lead {
    margin-bottom: 36px;
}

.mh-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.mh-price-card {
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.mh-price-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.mh-price-amount {
    font-family: Oswald, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0 0 12px;
}

.mh-price-amount span {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(242, 237, 228, 0.45);
}

.mh-price-card p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(242, 237, 228, 0.55);
    line-height: 1.55;
}

.mh-pricing-note {
    padding: 20px 22px;
    border: 1px solid rgba(245, 166, 35, 0.25);
    background: rgba(245, 166, 35, 0.06);
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(242, 237, 228, 0.7);
    line-height: 1.6;
}

.mh-pricing-note p {
    margin: 0 0 0.65rem;
}

.mh-pricing-note p:last-child {
    margin-bottom: 0;
}

.mh-faq details {
    border-bottom: 1px solid var(--border);
}

.mh-faq summary {
    padding: 18px 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--cream);
    list-style: none;
}

.mh-faq summary::-webkit-details-marker {
    display: none;
}

.mh-faq summary::after {
    content: "+";
    float: right;
    color: var(--gold);
    font-family: Oswald, sans-serif;
    font-size: 1.2rem;
}

.mh-faq details[open] summary::after {
    content: "−";
}

.mh-faq .mh-faq-body {
    padding: 0 0 18px;
    font-size: 0.92rem;
    color: rgba(242, 237, 228, 0.6);
    line-height: 1.65;
}

.mh-faq a {
    color: var(--gold);
}

.mh-cta {
    text-align: center;
    padding: 112px 6vw;
}

.mh-cta h2 {
    margin-bottom: 14px;
}

.mh-cta .mh-text {
    max-width: 32rem;
    margin: 0 auto 28px;
}

.mh-cta .mh-btn {
    margin-bottom: 16px;
}

.mh-footer {
    padding: 56px 6vw 40px;
    border-top: 1px solid var(--border);
    background: #0c0b0b;
}

.mh-footer-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.mh-footer h3 {
    font-family: Oswald, sans-serif;
    font-size: 1.1rem;
    margin: 0 0 14px;
    color: var(--cream);
}

.mh-footer p,
.mh-footer li {
    font-size: 0.85rem;
    color: rgba(242, 237, 228, 0.5);
    line-height: 1.55;
    margin: 0 0 0.5rem;
}

.mh-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mh-footer a {
    color: rgba(242, 237, 228, 0.55);
    text-decoration: none;
}

.mh-footer a:hover {
    color: var(--gold);
}

body.landing-page .landing-link {
    color: var(--gold);
}

body.landing-page #error-banner:not(.hidden),
body.landing-page #welcome-banner:not(.hidden) {
    max-width: 1080px;
    margin: 72px auto 0;
    padding: 12px 16px;
}

@media (max-width: 900px) {
    .mh-split,
    .mh-pricing-grid,
    .mh-footer-grid,
    .mh-shot-grid {
        grid-template-columns: 1fr;
    }

    .mh-skills {
        columns: 1;
    }

    .mh-hero h1 {
        max-width: none;
    }

    body.landing-page .landing-header-top {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
        gap: 8px;
    }
}
