/* =====================================================
   landing.css — стили новой главной страницы (лендинг консультации)
   Скоп: тег body.page-landing
   ===================================================== */

/* ─── СБРАСЫВАЕМ КОНФЛИКТУЮЩИЕ ГЛОБАЛЬНЫЕ СТИЛИ ─── */

/* Убираем серый градиент body и анимированный ::before из style.css */
body.page-landing {
    background: #0A0A0A !important;
}

body.page-landing::before {
    display: none !important;
}

/* Убираем белый фон footer */
body.page-landing footer {
    background: #141414 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    color: #F5F5F5 !important;
}

body.page-landing footer p,
body.page-landing footer a {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.page-landing footer a:hover {
    color: #CC1111 !important;
}

body.page-landing footer h2 {
    color: #F5F5F5 !important;
}

body.page-landing .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}




/* Сбрасываем стили .faq-item / .faq-list от старой страницы */
body.page-landing .lnd-faq-list {
    max-width: none !important;
}

body.page-landing .lnd-faq-item {
    background: rgba(255, 255, 255, .04) !important;
    border-radius: 3px !important;
    padding: 0 !important;
    margin-bottom: 2px !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

body.page-landing .lnd-faq-item:hover {
    border-color: rgba(204, 17, 17, .4) !important;
    box-shadow: none !important;
}

body.page-landing .lnd-faq-item h3 {
    display: none;
}

/* старый h3 не используется */



body.page-landing {
    --red: #CC1111;
    --red2: #FF3333;
    --gold: #C8933A;
    --dark: #0A0A0A;
    --dark2: #141414;
    --dark3: #1C1C1C;
    --text: #F5F5F5;
    --muted: #AAAAAA;
    --border: rgba(255, 255, 255, 0.08);

    background: var(--dark) !important;
    color: var(--text) !important;
    font-family: 'Inter', sans-serif !important;
}

/* Скрываем декоративные элементы и CSCA-nav из header */
body.page-landing .floating-shapes,
body.page-landing .geometric-pattern,
body.page-landing .subject-bar {
    display: none !important;
}

/* Скрываем контент footer (оставляем только copyright) */
body.page-landing .footer-cta,
body.page-landing .footer-links {
    display: none !important;
}


/* ─── SCROLL PROGRESS ─── */
body.page-landing #prog {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--red);
    z-index: 999;
    width: 0;
    transition: width .1s;
}

/* ─── LANDING NAV ─── */
body.page-landing .lnd-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

body.page-landing .lnd-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

body.page-landing .lnd-nav-logo:hover {
    color: var(--red);
}


/* ─── HERO ─── */
body.page-landing .lnd-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, .45) 0%,
            rgba(0, 0, 0, .2) 40%,
            rgba(0, 0, 0, .75) 80%,
            rgba(0, 0, 0, .95) 100%),
        url('/assets/images/hero_shanghai.jpg') center/cover no-repeat;
}

body.page-landing .lnd-hero-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 16px;
    margin-bottom: 20px;
}

body.page-landing .lnd-hero-content {
    padding: 110px 60px 0;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

body.page-landing .lnd-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.01em;
    text-transform: uppercase;
    margin-bottom: 28px;
    color: #fff;
}

body.page-landing .lnd-hero h1 em {
    color: var(--red);
    font-style: normal;
}

body.page-landing .lnd-hero-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 580px;
}

body.page-landing .lnd-hero-sub strong {
    color: #fff;
}

body.page-landing .lnd-hero-note {
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    margin-top: 16px;
}

body.page-landing .lnd-hero-note span {
    color: #4ADE80;
}

/* stat strip */
body.page-landing .lnd-stat-strip {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 60px;
}

body.page-landing .lnd-stat-item {
    flex: 1;
    padding: 22px 28px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(10px);
}

body.page-landing .lnd-stat-item:last-child {
    border-right: none;
}

body.page-landing .lnd-strip-num {
    font-family: 'Oswald', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

body.page-landing .lnd-strip-num.red {
    color: var(--red);
}

body.page-landing .lnd-strip-num.green {
    color: #4ADE80;
}

body.page-landing .lnd-strip-num.gold {
    color: var(--gold);
}

body.page-landing .lnd-strip-num.blue {
    color: #60A5FA;
}

body.page-landing .lnd-strip-label {
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
}

/* ─── COMMON ─── */
body.page-landing .lnd-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 32px;
}

body.page-landing .lnd-sec-label {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
    display: block;
}

body.page-landing .lnd-h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}

/* ─── BUTTONS ─── */
body.page-landing .lnd-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    padding: 15px 32px;
    border-radius: 3px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s, transform .2s;
}

body.page-landing .lnd-btn:hover {
    background: var(--red2);
    transform: translateY(-2px);
    color: #fff;
}

body.page-landing .lnd-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--text);
    padding: 10px 22px;
    border-radius: 3px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: all .2s;
}

body.page-landing .lnd-btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ─── ABOUT / STORY ─── */
body.page-landing .lnd-about {
    padding: 110px 0;
    background: var(--dark2);
    position: relative;
    overflow: hidden;
}

body.page-landing .lnd-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

body.page-landing .lnd-photo-collage {
    position: relative;
    height: 500px;
}

body.page-landing .lnd-photo-clip {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .7);
}

body.page-landing .lnd-photo-clip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.9);
}

body.page-landing .lnd-clip-main {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: 50px;
    left: 30px;
    border: 4px solid var(--red);
}

body.page-landing .lnd-clip-secondary {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    bottom: 60px;
    right: 20px;
    border: 3px solid var(--gold);
}

body.page-landing .lnd-clip-accent {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    top: 20px;
    right: 80px;
    border: 2px solid rgba(255, 255, 255, .2);
}

body.page-landing .lnd-about-bg-text {
    position: absolute;
    bottom: -20px;
    left: -10px;
    font-family: 'Oswald', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .03);
    letter-spacing: -.05em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

body.page-landing .lnd-about-text p {
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 18px;
    font-size: .98rem;
}

body.page-landing .lnd-about-text p strong {
    color: var(--text);
}

/* author-line */
body.page-landing .lnd-author-line {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-left: 3px solid var(--red);
    border-radius: 2px;
    text-decoration: none;
    color: inherit;
    transition: background .25s, border-color .25s, box-shadow .25s, transform .25s;
}

body.page-landing .lnd-author-line:hover {
    background: rgba(204, 17, 17, .1);
    border-color: rgba(204, 17, 17, .5);
    border-left-color: var(--red2);
    box-shadow: 0 0 0 1px rgba(204, 17, 17, .25), 0 6px 28px rgba(204, 17, 17, .2);
    transform: translateY(-2px);
    color: inherit;
}

body.page-landing .lnd-author-ava {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--red);
    transition: border-color .25s, box-shadow .25s;
}

body.page-landing .lnd-author-line:hover .lnd-author-ava {
    border-color: var(--red2);
    box-shadow: 0 0 12px rgba(255, 51, 51, .5);
}

body.page-landing .lnd-author-ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

body.page-landing .lnd-author-name {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 2px;
    color: #fff;
}

body.page-landing .lnd-author-role {
    font-size: .78rem;
    color: var(--muted);
}

body.page-landing .lnd-author-line:hover .lnd-author-role {
    color: rgba(255, 255, 255, .85);
}

/* ─── OFFER ─── */
body.page-landing .lnd-offer {
    padding: 100px 0;
    background: var(--dark);
}

body.page-landing .lnd-offer-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

body.page-landing .lnd-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

body.page-landing .lnd-offer-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

body.page-landing .lnd-offer-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    filter: saturate(.8) brightness(.75);
    transition: transform .5s cubic-bezier(.25, .46, .45, .94), filter .4s;
}

body.page-landing .lnd-offer-card:hover .lnd-offer-card-img {
    transform: scale(1.06);
    filter: saturate(1) brightness(.65);
}

body.page-landing .lnd-offer-card-body {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 18px;
}

body.page-landing .lnd-offer-card-num {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, .12);
    position: absolute;
    top: 14px;
    right: 16px;
}

body.page-landing .lnd-offer-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.2;
    margin-bottom: 6px;
    color: #fff;
}

body.page-landing .lnd-offer-card p {
    font-size: .77rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.55;
}

body.page-landing .lnd-offer-card-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 10px;
    width: fit-content;
}

/* ─── PHOTOBG QUOTE ─── */
body.page-landing .lnd-photobg {
    position: relative;
    padding: 120px 0;
    background:
        linear-gradient(to right, rgba(0, 0, 0, .88) 45%, rgba(0, 0, 0, .5) 100%),
        url('/assets/images/hero_shanghai.jpg') center/cover no-repeat;
}

body.page-landing .lnd-photobg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

body.page-landing .lnd-blockquote {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 24px;
}

body.page-landing .lnd-blockquote em {
    color: var(--red);
    font-style: normal;
}

body.page-landing .lnd-quote-sub {
    font-size: .95rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.75;
}

body.page-landing .lnd-topic-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-left: 3px solid var(--red);
    padding: 18px 22px;
    border-radius: 2px;
    margin-bottom: 14px;
    transition: background .2s;
}

body.page-landing .lnd-topic-card:hover {
    background: rgba(255, 255, 255, .1);
}

body.page-landing .lnd-topic-title {
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 4px;
    color: #fff;
}

body.page-landing .lnd-topic-text {
    font-size: .82rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.55;
}

/* ─── FAQ ─── */
body.page-landing .lnd-faq {
    padding: 100px 0;
    background: var(--dark2);
}

body.page-landing .lnd-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

body.page-landing .lnd-faq-visual {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

body.page-landing .lnd-faq-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.8) brightness(.7);
}

body.page-landing .lnd-faq-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 28px;
}

body.page-landing .lnd-faq-visual-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
}

body.page-landing .lnd-faq-visual-text span {
    color: var(--red);
}

body.page-landing .lnd-faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.page-landing .lnd-faq-item {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    transition: border-color .2s;
}

body.page-landing .lnd-faq-item.open {
    border-color: rgba(204, 17, 17, .4);
}

body.page-landing .lnd-faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text);
    padding: 18px 22px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: inherit;
    transition: background .2s;
}

body.page-landing .lnd-faq-q:hover {
    background: rgba(255, 255, 255, .04);
}

body.page-landing .lnd-faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: var(--muted);
    transition: all .3s;
}

body.page-landing .lnd-faq-item.open .lnd-faq-icon {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: rotate(45deg);
}

body.page-landing .lnd-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.75;
    padding: 0 22px;
}

body.page-landing .lnd-faq-item.open .lnd-faq-a {
    max-height: 180px;
    padding: 0 22px 18px;
}

/* ─── CTA FINAL ─── */
body.page-landing .lnd-cta-final {
    position: relative;
    padding: 130px 0;
    text-align: center;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .6) 100%),
        url('/assets/images/faq_shanghai.jpg') center/cover no-repeat;
}

body.page-landing .lnd-cta-final h2 {
    font-size: clamp(2rem, 4.5vw, 4rem);
    margin-bottom: 14px;
}

body.page-landing .lnd-cta-final p {
    color: rgba(255, 255, 255, .6);
    font-size: 1rem;
    margin-bottom: 40px;
}

/* ─── TESTS BANNER ─── */
body.page-landing .lnd-tests-banner {
    padding: 60px 0 60px;
    background: var(--dark);
}

body.page-landing .lnd-tests-inner {
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, .03);
}

body.page-landing .lnd-tests-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

body.page-landing .lnd-tests-title {
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
}

/* ─── STICKY CTA ─── */
body.page-landing #lnd-sticky {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 90;
    opacity: 0;
    transform: translateY(16px) scale(.9);
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    pointer-events: none;
}

body.page-landing #lnd-sticky.visible {
    opacity: 1;
    transform: none;
    pointer-events: all;
}

body.page-landing .lnd-sticky-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    padding: 13px 22px;
    border-radius: 3px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(204, 17, 17, .5);
    transition: transform .2s, box-shadow .2s;
}

body.page-landing .lnd-sticky-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(204, 17, 17, .6);
    color: #fff;
}

body.page-landing .lnd-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: lnd-blink 1.5s infinite;
}

@keyframes lnd-blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

/* ─── ANIMATIONS ─── */
body.page-landing .lnd-fade {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

body.page-landing .lnd-fade.visible {
    opacity: 1;
    transform: none;
}

@media(max-width:900px) {

    body.page-landing .lnd-about-grid,
    body.page-landing .lnd-photobg-grid,
    body.page-landing .lnd-faq-grid {
        grid-template-columns: 1fr;
    }

    body.page-landing .lnd-offer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Hero: убираем огромный gap — контент по центру, а не внизу */
    body.page-landing .lnd-hero {
        align-items: center;
        min-height: 100svh;
        min-height: 100vh;
    }

    body.page-landing .lnd-hero-content {
        padding: 80px 24px 40px;
    }

    body.page-landing .lnd-photo-collage {
        height: 340px;
    }

    body.page-landing .lnd-clip-main {
        width: 220px;
        height: 220px;
    }

    body.page-landing .lnd-clip-secondary {
        width: 150px;
        height: 150px;
    }

    body.page-landing .lnd-clip-accent {
        width: 100px;
        height: 100px;
    }
}

@media(max-width:600px) {

    /* Nav — убираем перенос логотипа */
    body.page-landing .lnd-nav-logo {
        font-size: .85rem;
        white-space: nowrap;
    }

    /* Скрываем кнопку "Тесты CSCA" на совсем маленьких экранах */
    body.page-landing .lnd-nav .lnd-btn-outline {
        display: none;
    }

    body.page-landing .lnd-offer-grid {
        grid-template-columns: 1fr;
    }

    body.page-landing .lnd-h2 {
        font-size: 1.8rem;
    }

    body.page-landing .lnd-cta-final {
        padding: 80px 0;
    }

    body.page-landing .lnd-stat-strip {
        flex-direction: column;
    }
}