/*
 * 3DGameShop /about/ — isolated styles
 * Все селекторы интерфейса ограничены .about-page.
 * Глобальные body / a / .btn / .wrap намеренно НЕ используются.
 */

.about-page {
    --about-bg: #060907;
    --about-bg-soft: #0b100d;
    --about-card: #101713;
    --about-card-2: #131d17;
    --about-text: #f6f8f6;
    --about-muted: #9aa69e;
    --about-dark: #090c0a;
    --about-light: #f4f6f4;
    --about-accent: #00c900;
    --about-accent-deep: #009a00;
    --about-accent-soft: #8cf58c;
    --about-line: rgba(255,255,255,.11);
    --about-max: 1240px;

    position: relative;
    color: var(--about-text);
    font-family: "Mont", "Mont-Regular", -apple-system, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.about-page a {
    color: inherit;
    text-decoration: none;
}

.about-page a:focus-visible,
.about-page button:focus-visible {
    outline: 3px solid var(--about-accent-soft);
    outline-offset: 4px;
}

.about-page__fullbleed {
    width: var(--about-vw, 100vw);
    max-width: var(--about-vw, 100vw);
    margin-left: calc(50% - var(--about-vw, 100vw) / 2);
    overflow: hidden;
    position: relative;
}

.about-container {
    width: min(100% - 56px, var(--about-max));
    margin-inline: auto;
}

.about-eyebrow {
    margin: 0 0 18px;
    color: var(--about-accent-soft);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.about-eyebrow--dark {
    color: #008f00;
}

.about-section-lead {
    max-width: 760px;
    margin: 26px 0 0;
    color: var(--about-muted);
    font-size: clamp(18px, 1.8vw, 21px);
    line-height: 1.55;
    letter-spacing: -.015em;
}

.about-section-lead--dark {
    color: #5c675f;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.about-actions--center {
    justify-content: center;
}

.about-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 750;
    line-height: 1;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.about-btn:hover {
    transform: translateY(-2px);
}

.about-btn--primary {
    background: var(--about-accent);
    color: #031007 !important;
    box-shadow: 0 12px 34px rgba(0,201,0, .20);
}

.about-btn--primary:hover {
    background: #1fd61f;
}

.about-btn--ghost {
    border-color: var(--about-line);
    background: rgba(255,255,255,.045);
    color: #fff !important;
}

.about-btn--ghost:hover {
    background: rgba(255,255,255,.075);
}

.about-btn--light {
    background: #fff;
    color: #071009 !important;
}

.about-text-link {
    display: inline-block;
    margin-top: 18px;
    color: #007a00 !important;
    font-weight: 750;
}

.about-text-link--light {
    color: var(--about-accent-soft) !important;
}

/* HERO */
.about-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 84px 0 80px;
    background:
        radial-gradient(circle at 78% 39%, rgba(0,201,0,.18), transparent 28%),
        radial-gradient(circle at 70% 45%, rgba(0,120,0,.11), transparent 35%),
        linear-gradient(180deg, #050806 0%, #07100a 70%, #060907 100%);
}

.about-hero::after {
    content: "3D";
    position: absolute;
    right: 2vw;
    bottom: -72px;
    color: rgba(255,255,255,.026);
    font-size: min(38vw, 560px);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.09em;
    pointer-events: none;
}

.about-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: center;
    gap: 48px;
}

.about-hero__copy {
    position: relative;
    z-index: 2;
}

.about-hero__seo-title {
    max-width: 780px;
    margin: 0 0 20px;
    color: #a8b5ac;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
}

.about-hero__display {
    max-width: 900px;
    font-size: clamp(58px, 8vw, 126px);
    font-weight: 850;
    line-height: .95;
    letter-spacing: -.04em;
}

.about-hero__display span {
    display: block;
    background: linear-gradient(100deg, #ffffff 10%, #aef7ae 62%, #00c900);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-hero__lead {
    max-width: 720px;
    margin: 28px 0 0;
    color: #c8d1cb;
    font-size: clamp(19px, 1.9vw, 27px);
    line-height: 1.42;
    letter-spacing: -.018em;
}

.about-hero__art {
    position: relative;
    min-height: 470px;
}

.about-orbit {
    position: absolute;
    border: 1px solid rgba(150,245,150,.18);
    border-radius: 50%;
    box-shadow: inset 0 0 90px rgba(0,201,0,.05);
}

.about-orbit--one {
    width: 410px;
    height: 410px;
    right: 0;
    top: 30px;
    animation: aboutFloat 8s ease-in-out infinite;
}

.about-orbit--two {
    width: 280px;
    height: 280px;
    right: 65px;
    top: 95px;
    border-color: rgba(40,220,40,.30);
}

.about-core {
    position: absolute;
    width: 108px;
    height: 108px;
    right: 151px;
    top: 181px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #c8ffc8 0, #2bdc2b 38%, #007a00 72%, #041404 100%);
    box-shadow: 0 0 95px rgba(0,201,0,.35);
}

.about-node {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(210,255,210,.62);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0,201,0,.34);
}

.about-node--a { right: 52px; top: 148px; }
.about-node--b { right: 323px; top: 302px; width: 12px; height: 12px; }
.about-node--c { right: 240px; top: 61px; width: 10px; height: 10px; }

.about-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(110,240,110,.45), transparent);
    transform-origin: left center;
}

.about-line--a {
    width: 180px;
    right: 78px;
    top: 159px;
    transform: rotate(153deg);
}

.about-line--b {
    width: 155px;
    right: 201px;
    top: 75px;
    transform: rotate(74deg);
}

@keyframes aboutFloat {
    50% { transform: translateY(-15px) rotate(3deg); }
}

/* STATS */
.about-stats {
    padding: 0 0 110px;
    background: var(--about-bg);
}

.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--about-line);
    border-bottom: 1px solid var(--about-line);
}

.about-stat {
    min-width: 0;
    padding: 42px 26px;
    border-right: 1px solid var(--about-line);
}

.about-stat:last-child {
    border-right: 0;
}

.about-stat strong {
    display: block;
    font-size: clamp(42px, 4.7vw, 72px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.055em;
    white-space: nowrap;
}

.about-stat span {
    display: block;
    margin-top: 11px;
    color: var(--about-muted);
    font-size: 14.5px;
    line-height: 1.45;
}

/* LIGHT MANIFEST */
.about-manifest {
    padding: 120px 0;
    background: var(--about-light);
    color: var(--about-dark);
}

.about-manifest h2,
.about-generations h2,
.about-trade h2,
.about-store h2,
.about-service h2,
.about-final h2 {
    max-width: 1120px;
    margin: 0;
    font-size: clamp(43px, 5.8vw, 84px);
    font-weight: 840;
    line-height: 1.01;
    letter-spacing: -.045em;
}

.about-manifest__text {
    max-width: 800px;
    margin: 30px 0 0;
    color: #566159;
    font-size: 21px;
    line-height: 1.56;
}

/* GENERATIONS */
.about-generations {
    padding: 118px 0;
    background: var(--about-bg);
}

.about-platforms {
    margin-top: 56px;
    border-top: 1px solid var(--about-line);
    border-bottom: 1px solid var(--about-line);
    overflow-x: auto;
    scrollbar-width: none;
}

.about-platforms::-webkit-scrollbar {
    display: none;
}

.about-platforms__inner {
    width: max-content;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 25px 28px;
    font-size: clamp(24px, 3.3vw, 50px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.035em;
}

.about-platforms__inner a {
    color: #eaf2ed !important;
    transition: color .2s ease;
}

.about-platforms__inner a:hover {
    color: var(--about-accent-soft) !important;
}

.about-platforms__inner span {
    color: #626d65;
}

.about-assortment {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 18px;
    margin-top: 48px;
}

.about-assortment__hero {
    min-height: 510px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--about-line);
    border-radius: 28px;
    background: linear-gradient(145deg, #111813, #090d0a);
}

.about-assortment__photo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4,10,6,.05), rgba(4,10,6,.88)),
        url("/upload/about/about-games-wall.webp") center / cover no-repeat;
}

/* Пока фото /upload/about/about-games-wall.webp не загружено,
   градиент остаётся аккуратным fallback. */
.about-assortment__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 65% 25%, rgba(0,201,0,.20), transparent 32%),
        linear-gradient(130deg, transparent 0 42%, rgba(255,255,255,.035) 42% 44%, transparent 44%);
}

.about-assortment__caption {
    position: absolute;
    z-index: 2;
    left: 38px;
    right: 38px;
    bottom: 38px;
}

.about-assortment__caption h3 {
    max-width: 500px;
    margin: 0;
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.about-assortment__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.about-mini {
    min-height: 246px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--about-line);
    border-radius: 28px;
    background: linear-gradient(145deg, #111813, #090d0a);
    transition: transform .2s ease, border-color .2s ease;
}

.about-mini:hover {
    transform: translateY(-3px);
    border-color: rgba(90,235,90,.32);
}

.about-mini--fresh {
    background:
        radial-gradient(circle at 78% 25%, rgba(0,201,0,.27), transparent 35%),
        linear-gradient(145deg, #122018, #090d0a);
}

.about-mini strong {
    display: block;
    font-size: clamp(40px, 4vw, 55px);
    line-height: 1;
    letter-spacing: -.055em;
}

.about-mini span {
    display: block;
    max-width: 220px;
    margin-top: 10px;
    color: var(--about-muted);
    font-size: 15px;
    line-height: 1.45;
}

/* TRADE-IN */
.about-trade {
    padding: 120px 0;
    background:
        radial-gradient(circle at 78% 28%, rgba(0,201,0,.14), transparent 29%),
        linear-gradient(180deg, #09110c, #060907);
}

.about-trade__card {
    margin-top: 48px;
    padding: 58px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(90,235,90,.25);
    border-radius: 34px;
    background:
        radial-gradient(circle at 82% 28%, rgba(60,230,60,.32), transparent 31%),
        linear-gradient(135deg, #123012 0%, #081308 70%);
}

.about-trade__value {
    margin-bottom: 28px;
    font-size: clamp(68px, 9vw, 138px);
    font-weight: 880;
    line-height: .82;
    letter-spacing: -.075em;
}

.about-trade__card h3 {
    max-width: 830px;
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.about-trade__card > p {
    max-width: 760px;
    margin: 20px 0 0;
    color: #c5d2c9;
    font-size: 19px;
    line-height: 1.55;
}

.about-trade__points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.about-trade__points > div {
    padding: 20px 4px 0;
    border-top: 1px solid rgba(255,255,255,.18);
}

.about-trade__points strong {
    display: block;
    font-size: 17px;
}

.about-trade__points span {
    display: block;
    margin-top: 7px;
    color: #9faea4;
    font-size: 14px;
    line-height: 1.45;
}

/* STORE */
.about-store {
    padding: 120px 0;
    background: var(--about-light);
    color: var(--about-dark);
}

.about-store__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 20px;
    margin-top: 48px;
}

.about-store__rating,
.about-store__location {
    min-height: 450px;
    padding: 42px;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.about-store__rating {
    background: #fff;
    box-shadow: 0 14px 55px rgba(10,25,15,.07);
}

.about-store__location {
    background: #0a0f0c;
    color: #fff;
}

.about-store__rating-value {
    font-size: clamp(78px, 9vw, 116px);
    font-weight: 880;
    line-height: .82;
    letter-spacing: -.075em;
}

.about-stars {
    margin: 24px 0 16px;
    color: #00a000;
    font-size: 22px;
    letter-spacing: .10em;
}

.about-store h3 {
    margin: 0;
    font-size: 34px;
    line-height: 1.07;
    letter-spacing: -.035em;
}

.about-store__rating p,
.about-store__location > p {
    max-width: 540px;
    margin: 16px 0 0;
    color: #657068;
    font-size: 16px;
    line-height: 1.58;
}

.about-store__location > p {
    color: #a7b4ab;
}

.about-contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin: 24px 0 28px;
    position: relative;
    z-index: 2;
}

.about-contact-list div {
    min-width: 0;
}

.about-contact-list dt {
    color: #7f9085;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.about-contact-list dd {
    margin: 5px 0 0;
    color: #f1f5f2;
    font-size: 15px;
    font-weight: 650;
}

.about-map-art {
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 330px;
    height: 230px;
    opacity: .75;
    background:
        linear-gradient(132deg, transparent 0 26%, rgba(0,201,0,.22) 26% 28%, transparent 28% 55%, rgba(0,201,0,.16) 55% 57%, transparent 57%);
}

.about-map-art span {
    position: absolute;
    right: 80px;
    bottom: 92px;
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: var(--about-accent);
    transform: rotate(-45deg);
    box-shadow: 0 0 0 10px rgba(0,201,0,.12);
}

/* SERVICE */
.about-service {
    padding: 120px 0;
    background: var(--about-bg);
}

.about-service__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 46px;
}

.about-service__card {
    min-height: 270px;
    padding: 32px;
    border: 1px solid var(--about-line);
    border-radius: 24px;
    background: #0e1510;
    transition: transform .2s ease, border-color .2s ease;
}

a.about-service__card:hover {
    transform: translateY(-3px);
    border-color: rgba(90,235,90,.32);
}

.about-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 50px;
    border-radius: 14px;
    color: var(--about-accent-soft);
    background: rgba(0,201,0,.10);
}

.about-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-service__card h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.about-service__card p {
    margin: 12px 0 0;
    color: var(--about-muted);
    font-size: 15px;
    line-height: 1.55;
}

/* FINAL */
.about-final {
    min-height: 620px;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 68%, rgba(0,201,0,.25), transparent 31%),
        linear-gradient(180deg, #060907, #09130d);
}

.about-final .about-container {
    padding: 90px 0;
}

.about-final h2 {
    margin-inline: auto;
}

.about-final > .about-container > p:not(.about-eyebrow) {
    max-width: 680px;
    margin: 25px auto 0;
    color: #aebbb2;
    font-size: 20px;
    line-height: 1.52;
}

/* REVEAL: прячем только то, что JS явно пометил (is-pending) */
.about-page.about-js .about-reveal {
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}

.about-page.about-js .about-reveal.is-pending {
    opacity: 0;
    transform: translateY(22px);
}

@media (prefers-reduced-motion: reduce) {
    .about-page .about-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .about-orbit--one {
        animation: none;
    }
    .about-btn,
    .about-mini,
    .about-service__card {
        transition: none;
    }
}

/* TABLET */
@media (max-width: 900px) {
    .about-container {
        width: min(100% - 40px, var(--about-max));
    }

    .about-hero {
        min-height: auto;
        padding: 92px 0 72px;
    }

    .about-hero__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-hero__art {
        position: absolute;
        inset: 0;
        min-height: 0;
        opacity: .46;
        pointer-events: none;
    }

    .about-orbit--one {
        width: 420px;
        height: 420px;
        right: -180px;
        top: 80px;
    }

    .about-orbit--two {
        width: 260px;
        height: 260px;
        right: -95px;
        top: 160px;
    }

    .about-core {
        right: 26px;
        top: 240px;
        width: 82px;
        height: 82px;
    }

    .about-node,
    .about-line {
        display: none;
    }

    .about-stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stat:nth-child(2) {
        border-right: 0;
    }

    .about-stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--about-line);
    }

    .about-assortment,
    .about-store__grid {
        grid-template-columns: 1fr;
    }

    .about-service__grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-trade__points {
        grid-template-columns: 1fr;
    }

    .about-trade__points > div {
        padding-top: 16px;
    }

    .about-platforms__inner {
        justify-content: flex-start;
    }
}

/* MOBILE */
@media (max-width: 560px) {
    .about-container {
        width: min(100% - 32px, var(--about-max));
    }

    .about-eyebrow {
        font-size: 11px;
        letter-spacing: .11em;
    }

    .about-hero {
        padding: 72px 0 64px;
    }

    .about-hero__seo-title {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .about-hero__display {
        font-size: clamp(42px, 13vw, 50px);
        line-height: .98;
        letter-spacing: -.035em;
    }

    .about-hero__lead {
        font-size: 18px;
        line-height: 1.48;
    }

    .about-hero__art {
        display: none;
    }

    .about-actions {
        gap: 9px;
    }

    .about-btn {
        min-height: 49px;
        padding: 0 19px;
        font-size: 14px;
    }

    .about-stats {
        padding-bottom: 72px;
    }

    .about-stat {
        padding: 28px 14px;
    }

    .about-stat strong {
        font-size: clamp(32px, 10vw, 42px);
        letter-spacing: -.05em;
    }

    .about-stat span {
        font-size: 12px;
    }

    .about-manifest,
    .about-generations,
    .about-trade,
    .about-store,
    .about-service {
        padding: 82px 0;
    }

    .about-manifest h2,
    .about-generations h2,
    .about-trade h2,
    .about-store h2,
    .about-service h2,
    .about-final h2 {
        font-size: clamp(36px, 11vw, 48px);
        line-height: 1.03;
        letter-spacing: -.04em;
    }

    .about-manifest__text,
    .about-section-lead {
        font-size: 17px;
    }

    .about-platforms {
        margin-top: 38px;
    }

    .about-platforms__inner {
        gap: 18px;
        padding: 21px 16px;
        font-size: 24px;
    }

    .about-assortment {
        margin-top: 34px;
    }

    .about-assortment__hero {
        min-height: 380px;
        border-radius: 22px;
    }

    .about-assortment__caption {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .about-assortment__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .about-mini {
        min-height: 180px;
        padding: 20px;
        border-radius: 20px;
    }

    .about-mini strong {
        font-size: 34px;
    }

    .about-mini span {
        font-size: 13px;
    }

    .about-trade__card {
        margin-top: 34px;
        padding: 34px 22px;
        border-radius: 24px;
    }

    .about-trade__value {
        font-size: clamp(60px, 20vw, 84px);
    }

    .about-trade__card > p {
        font-size: 16px;
    }

    .about-store__rating,
    .about-store__location {
        min-height: 0;
        padding: 30px 24px;
        border-radius: 22px;
    }

    .about-store__rating-value {
        font-size: 82px;
    }

    .about-contact-list {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .about-map-art {
        opacity: .35;
    }

    .about-service__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-service__card {
        min-height: 0;
        padding: 26px 24px;
        border-radius: 20px;
    }

    .about-icon {
        margin-bottom: 28px;
    }

    .about-trust {
        padding: 18px 0 82px;
    }

    .about-final {
        min-height: 540px;
    }

    .about-final .about-container {
        padding: 76px 0;
    }
}


/* AVITO + YANDEX TRUST */
.about-store__rating--avito {
    background:
        radial-gradient(circle at 84% 18%, rgba(0,201,0,.12), transparent 30%),
        #ffffff;
}

.about-store__yandex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 26px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 18px;
    background: rgba(255,255,255,.045);
    position: relative;
    z-index: 2;
}

.about-store__yandex > div {
    min-width: 0;
}

.about-store__yandex strong {
    display: block;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.045em;
}

.about-store__yandex span {
    display: block;
    margin-top: 5px;
    color: #90a096;
    font-size: 13px;
    line-height: 1.35;
}

.about-store__yandex a {
    flex: 0 0 auto;
    color: var(--about-accent-soft) !important;
    font-weight: 750;
    font-size: 14px;
}

.about-trust__links {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 4px;
}

@media (max-width: 560px) {
    .about-store__yandex {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-trust__links {
        gap: 8px 22px;
    }
}

/* =========================================================
   v3: встраивание в шаблон 3Dgameshop, шрифт Mont, фото-блок
   ========================================================= */

/* Только на этой странице: убираем заголовок/крошки шаблона и белый зазор,
   и не даём full-bleed секциям давать горизонтальную прокрутку. */
body:has(.about-page) { overflow-x: clip; }
main .container:has(> .mt-4 > .about-page) > .mt-4.hidden-class-mobile-filter { display: none; }
main .mt-4:has(> .about-page) { margin-top: 0 !important; }
main .mt-4:has(> .about-page) > .row:has(h1) { display: none; }

/* Шрифты сайта: каждое начертание Mont подключено отдельным семейством */
.about-page p,
.about-page span,
.about-page dd,
.about-page dt,
.about-page a { font-family: inherit; }

.about-page .about-hero__display,
.about-page h2,
.about-page .about-stat strong,
.about-page .about-trade__value,
.about-page .about-store__rating-value,
.about-page .about-store__yandex strong,
.about-page .about-mini strong,
.about-page .about-platforms__inner {
    font-family: "Mont-Heavy", "Mont-Black", "Mont", sans-serif;
    font-weight: 400;
}

.about-page h3,
.about-page .about-btn,
.about-page .about-eyebrow,
.about-page .about-trade__points strong,
.about-page .about-text-link,
.about-page .about-store__yandex a,
.about-page .about-contact-list dd {
    font-family: "Mont-Bold", "Mont-SemiBold", "Mont", sans-serif;
    font-weight: 400;
}

.about-page .about-hero__seo-title {
    font-family: "Mont-SemiBold", "Mont", sans-serif;
    font-weight: 400;
}

/* Защита от общих стилей шаблона для p / h / a */
.about-page p { margin-bottom: 0; }
.about-page .about-hero__display {
    margin: 0;
    color: var(--about-text);
    font-size: clamp(58px, 8vw, 126px);
    line-height: .95;
}
.about-page .about-hero__display span { font-family: inherit; }
.about-page h2, .about-page h3 { color: inherit; text-transform: none; }
.about-page a:hover { text-decoration: none; }

/* Цифры-ссылки (Авито, Яндекс) */
a.about-stat { color: inherit; transition: background-color .2s ease; }
a.about-stat:hover { background: rgba(255,255,255,.03); }
a.about-stat:hover span { color: var(--about-accent-soft); }

/* Карточки NEW/RARE/USED/RETRO — стрелка, чтобы было видно, что это ссылки */
.about-mini em {
    position: absolute;
    right: 26px;
    bottom: 22px;
    color: var(--about-accent-soft);
    font-style: normal;
    font-size: 22px;
    transition: transform .2s ease;
}
.about-mini:hover em { transform: translateX(4px); }

/* Фото-блок */
.about-assortment__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-assortment__hero.has-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,10,4,.05) 30%, rgba(4,10,4,.9));
}

/* Пока фото нет — типографская «стена» платформ вместо пустого градиента */
.about-assortment__fallback {
    position: absolute;
    inset: -10% -20%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px 18px;
    padding: 24px;
    transform: rotate(-8deg);
    font-family: "Mont-Black", "Mont-Heavy", sans-serif;
    font-size: clamp(34px, 4.4vw, 64px);
    line-height: 1;
    letter-spacing: -.04em;
    color: rgba(255,255,255,.055);
    pointer-events: none;
}
.about-assortment__fallback span:nth-child(3n+1) { color: rgba(0,201,0,.16); }
.about-assortment__hero:not(.has-photo)::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(0,201,0,.18), transparent 40%),
        linear-gradient(180deg, transparent 35%, rgba(4,10,4,.92));
}
.about-assortment__caption { z-index: 3; }

/* Карточка Авито */
.about-store__rating {
    background:
        radial-gradient(circle at 84% 18%, rgba(0,201,0,.10), transparent 30%),
        #fff;
}

/* ---------- Планшет ---------- */
@media (max-width: 900px) {
    .about-mini em { right: 20px; bottom: 16px; }
}

/* ---------- Телефон ---------- */
@media (max-width: 560px) {
    .about-page .about-hero__display { font-size: clamp(40px, 12.5vw, 50px); line-height: 1; }
    .about-hero { padding: 48px 0 56px; }
    .about-actions .about-btn { flex: 1 1 auto; }
    .about-stat { padding: 24px 12px; }
    .about-stat strong { font-size: clamp(30px, 9.5vw, 40px); }
    .about-platforms__inner { font-size: 22px; gap: 14px; }
    .about-mini { min-height: 150px; }
    .about-mini strong { font-size: 30px; }
    .about-mini em { right: 16px; bottom: 12px; font-size: 18px; }
    .about-assortment__fallback { font-size: 34px; }
    .about-trade__points { gap: 4px; }
    .about-store__yandex strong { font-size: 30px; }
    .about-contact-list dd { font-size: 16px; }
    .about-store__location .about-btn { width: 100%; }
    .about-final { min-height: 0; }
    .about-final .about-container { padding: 72px 0 80px; }
}

/* Совсем узкие (360 и меньше) */
@media (max-width: 380px) {
    .about-container { width: min(100% - 28px, var(--about-max)); }
    .about-page h2 { font-size: 34px; }
    .about-assortment__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .about-mini { padding: 16px; min-height: 140px; }
    .about-mini strong { font-size: 26px; }
    .about-mini span { font-size: 12px; }
}

/* Края контента — по сетке шаблона (как логотип и меню) */
@media (min-width: 768px) and (max-width: 991px) { .about-container { width: 690px; } }
@media (min-width: 992px) { .about-container { width: 930px; } }
@media (min-width: 1200px) { .about-container { width: 1110px; } }

/* =========================================================
   ЛЕНДИНГ: шапка, меню, подвал и нижняя панель сайта скрыты
   только на этой странице; вместо них — свои topbar и footer
   ========================================================= */
body:has(.about-page) > header,
body:has(.about-page) > .second_section,
body:has(.about-page) > footer,
body:has(.about-page) > .mobile-menu,
body:has(.about-page) > #toTop { display: none !important; }

/* TOPBAR */
.about-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    overflow: visible;
    background: rgba(5,8,5,.82);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.about-topbar__inner {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.about-topbar__logo { flex: 0 0 auto; display: flex; }
.about-topbar__logo img { width: 133px; height: auto; display: block; }
.about-topbar__nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
}
.about-page .about-topbar__nav a {
    color: #c9d3cc;
    font-family: "Mont-SemiBold", "Mont", sans-serif;
    font-size: 15px;
    transition: color .2s ease;
}
.about-page .about-topbar__nav a:hover { color: var(--about-accent-soft); }
.about-page .about-topbar__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: "Mont-Bold", "Mont", sans-serif;
    font-size: 15px;
    white-space: nowrap;
}
.about-topbar__phone svg {
    width: 18px; height: 18px;
    fill: none; stroke: var(--about-accent); stroke-width: 1.8;
    stroke-linejoin: round;
}
.about-topbar__cta.about-btn { min-height: 42px; padding: 0 20px; font-size: 15px; }

/* hero теперь сразу под topbar */
.about-hero { min-height: calc(88vh - 72px); }

/* FOOTER */
.about-footer {
    padding: 64px 0 28px;
    background: #040604;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #c9d3cc;
}
.about-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}
.about-footer__brand img { width: 133px; height: auto; display: block; }
.about-page .about-footer__brand p {
    margin: 18px 0 0;
    color: #8d9a91;
    font-size: 14px;
    line-height: 1.6;
}
.about-footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    align-content: start;
}
.about-footer__links a,
.about-footer__contacts a {
    font-size: 14px;
    color: #c9d3cc;
    transition: color .2s ease;
}
.about-footer__links a:hover,
.about-footer__contacts a:hover { color: var(--about-accent-soft); }
.about-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.about-page .about-footer__phone {
    color: #fff;
    font-family: "Mont-Heavy", "Mont", sans-serif;
    font-size: 22px;
}
.about-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.about-page .about-footer__social a {
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    font-size: 13px;
}
.about-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #6f7b73;
    font-size: 13px;
}
.about-page .about-footer__bottom a { color: #8d9a91; }

@media (max-width: 991px) {
    .about-topbar__nav { display: none; }
    .about-topbar__phone { margin-left: auto; }
    .about-footer__grid { grid-template-columns: 1fr 1fr; }
    .about-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .about-topbar__inner { height: 60px; gap: 12px; }
    .about-topbar__logo img { width: 104px; }
    .about-topbar__phone span { display: none; }
    .about-page .about-topbar__phone {
        width: 40px; height: 40px;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 50%;
    }
    .about-topbar__cta.about-btn { min-height: 40px; padding: 0 16px; font-size: 14px; flex: 0 0 auto; }
    .about-hero { min-height: 0; }
    .about-footer { padding: 48px 0 24px; }
    .about-footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .about-footer__bottom { flex-direction: column; margin-top: 32px; }
}

/* Спутники вокруг планеты (центр орбит: right 205px, top 235px) */
.about-line { display: none; }
.about-node {
    right: calc(205px - var(--s) / 2);
    top: calc(235px - var(--s) / 2);
    width: var(--s);
    height: var(--s);
    animation: aboutSat var(--t) linear infinite;
}
.about-node--a { --s: 18px; --r: 205px; --t: 22s; animation-delay: -4s; }
.about-node--b { --s: 12px; --r: 140px; --t: 13s; animation-direction: reverse; animation-delay: -7s; }
.about-node--c { --s: 10px; --r: 205px; --t: 22s; animation-delay: -15s; }
@keyframes aboutSat {
    from { transform: rotate(0deg) translateX(var(--r)); }
    to   { transform: rotate(360deg) translateX(var(--r)); }
}
.about-core { animation: aboutPulse 6s ease-in-out infinite; }
@keyframes aboutPulse {
    50% { box-shadow: 0 0 130px rgba(0,201,0,.5); }
}
@media (prefers-reduced-motion: reduce) {
    .about-node, .about-core { animation: none; }
    .about-node--a { transform: rotate(-30deg) translateX(205px); }
    .about-node--b { transform: rotate(140deg) translateX(140px); }
    .about-node--c { transform: rotate(250deg) translateX(205px); }
}

/* Спутники вокруг планеты (центр орбит: right 205px, top 235px) */
.about-line { display: none; }
.about-node {
    right: calc(205px - var(--s) / 2);
    top: calc(235px - var(--s) / 2);
    width: var(--s);
    height: var(--s);
    animation: aboutSat var(--t) linear infinite;
}
.about-node--a { --s: 18px; --r: 205px; --t: 22s; animation-delay: -4s; }
.about-node--b { --s: 12px; --r: 140px; --t: 13s; animation-direction: reverse; animation-delay: -7s; }
.about-node--c { --s: 10px; --r: 205px; --t: 22s; animation-delay: -15s; }
@keyframes aboutSat {
    from { transform: rotate(0deg) translateX(var(--r)); }
    to   { transform: rotate(360deg) translateX(var(--r)); }
}
.about-core { animation: aboutPulse 6s ease-in-out infinite; }
@keyframes aboutPulse {
    50% { box-shadow: 0 0 130px rgba(0,201,0,.5); }
}
@media (prefers-reduced-motion: reduce) {
    .about-node, .about-core { animation: none; }
    .about-node--a { transform: rotate(-30deg) translateX(205px); }
    .about-node--b { transform: rotate(140deg) translateX(140px); }
    .about-node--c { transform: rotate(250deg) translateX(205px); }
}
