@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700&display=swap');

/* =====================================================================
   ru-look.vtorge.com — оформление сайта LookMy.info (перенос с ru.lookmy.info)
   Классы lm-* — разметка страниц (контент разделов). Цвета — переменные ниже.
   Стили из редактора стилей блока приходят инлайном: здесь !important
   только там, где без него макет не собрать (ширина/отступы зоны контента).
   ===================================================================== */
:root {
    --lm-ink: #121428;
    --lm-text: #2c3047;
    --lm-muted: #62677f;
    --lm-bg: #f5f6fb;
    --lm-surface: #ffffff;
    --lm-line: #e4e6f1;
    --lm-primary: #4338ca;
    --lm-primary-2: #6d4af2;
    --lm-accent: #ffc83d;
    --lm-accent-ink: #1b1600;
    --lm-radius: 20px;
    --lm-shadow: 0 1px 2px rgba(18, 20, 40, .05), 0 12px 32px -12px rgba(18, 20, 40, .14);
    --lm-shadow-hover: 0 2px 4px rgba(18, 20, 40, .06), 0 24px 48px -16px rgba(67, 56, 202, .28);
    --lm-max: 1200px;
    --lm-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lm-head: 'Unbounded', 'Manrope', system-ui, sans-serif;
}
body.theme-dark {
    --lm-ink: #f1f2fa;
    --lm-text: #d5d8e8;
    --lm-muted: #9aa0b8;
    --lm-bg: #0f1120;
    --lm-surface: #181b2e;
    --lm-line: #2a2e47;
    --lm-primary: #8b85ff;
    --lm-primary-2: #a28bff;
    --lm-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .5);
}

html { overflow-x: hidden; }
body {
    font-family: var(--lm-font);
    color: var(--lm-text);
    background: var(--lm-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---------- Шапка ---------- */
#main-menu-panel {
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom-color: var(--lm-line) !important;
    box-shadow: 0 1px 0 rgba(18, 20, 40, .02), 0 8px 24px -18px rgba(18, 20, 40, .25) !important;
}
#main-menu-panel .menu-btn,
#main-menu-panel .dropdown-toggle { font-family: var(--lm-font); font-weight: 600; letter-spacing: -.005em; }
#main-menu-panel .city-selector { font-family: var(--lm-font); font-weight: 600; color: var(--lm-muted) !important; }
#main-menu-panel .city-selector-name { border-bottom-color: rgba(98, 103, 127, .5) !important; }
/* Кнопка «Бриф» в меню — раздел /brif */
#main-menu-panel .menu-item-wrapper:has(> a.menu-btn[href="/brif"]) {
    background: var(--lm-accent) !important;
    border-radius: 999px !important;
}
#main-menu-panel a.menu-btn[href="/brif"] { color: var(--lm-accent-ink) !important; font-weight: 700; }

/* ---------- Зона контента ---------- */
.page-content [data-block="content"] { padding-top: 28px !important; }
.page-content .section-block > h1,
.page-content h1.editable-title,
.page-content .page-title {
    font-family: var(--lm-head);
    font-weight: 600;
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--lm-ink);
    max-width: var(--lm-max);
    margin: 8px auto 18px;
}
/* на страницах с героем заголовок — внутри героя */
.section-block:has(.lm-hero) > h1,
.section-block:has(.lm-hero) h1.editable-title { display: none !important; }

.lm-page { max-width: var(--lm-max); margin: 0 auto 40px; font-size: 1.02rem; line-height: 1.65; }
.lm-page h2, .lm-page h3 { font-family: var(--lm-head); color: var(--lm-ink); letter-spacing: -.015em; }
.lm-page h2 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 600; line-height: 1.2; margin: 1.6em 0 .6em; }
.lm-page h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.3; margin: 0 0 .4em; }
.lm-page a { color: var(--lm-primary); text-underline-offset: 3px; }
.lm-page img { max-width: 100%; height: auto; }
.lm-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--lm-muted); max-width: 820px; margin: 0 0 28px; }

/* Текст старых страниц */
.lm-prose { max-width: 860px; color: var(--lm-text); }
.lm-prose p { margin: 0 0 1em; }
.lm-prose strong, .lm-prose b { color: var(--lm-ink); }
.lm-prose h2:first-child { margin-top: .2em; }
.lm-prose .lm-figure { margin: 0 0 24px; }
.lm-prose .lm-figure img, .lm-prose > img, .lm-prose p img {
    display: block; border-radius: 16px; box-shadow: var(--lm-shadow); margin: 8px 0 20px; max-height: 520px; width: auto;
}
.lm-prose .lm-grid { margin-top: 28px; }
.lm-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.lm-list li { position: relative; padding-left: 34px; }
.lm-list li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
    background: color-mix(in srgb, var(--lm-primary) 12%, transparent)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234338ca'%3E%3Cpath d='M13.5 4.5 6.4 11.6 2.5 7.7l1-1 2.9 2.9 6.1-6.1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.lm-actions { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Кнопки ---------- */
.lm-btn {
    display: inline-flex; align-items: center; gap: .5em; padding: .78em 1.35em; border-radius: 999px;
    font-weight: 700; font-size: .98rem; line-height: 1.1; text-decoration: none !important; border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
    cursor: pointer; white-space: nowrap;
}
.lm-btn:hover { transform: translateY(-1px); }
.lm-btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.lm-btn--primary { background: var(--lm-primary); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(67, 56, 202, .7); }
.lm-btn--primary:hover { background: #3730a3; }
.lm-btn--accent { background: var(--lm-accent); color: var(--lm-accent-ink) !important; box-shadow: 0 10px 24px -10px rgba(255, 200, 61, .9); }
.lm-btn--accent:hover { background: #ffd35f; }
.lm-btn--ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.lm-btn--ghost:hover { background: rgba(255, 255, 255, .22); }
.lm-btn--outline { background: transparent; color: var(--lm-primary) !important; border-color: var(--lm-primary); }
.lm-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.lm-link i, .lm-card__more i { transition: transform .2s ease; display: inline-block; }
.lm-link:hover i { transform: translateX(3px); }

/* ---------- Подменю раздела ---------- */
.lm-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; align-items: center; }
.lm-subnav__up, .lm-subnav__item {
    padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none !important;
    border: 1px solid var(--lm-line); background: var(--lm-surface); color: var(--lm-text) !important;
}
.lm-subnav__up { background: transparent; border-color: transparent; color: var(--lm-muted) !important; padding-left: 0; }
.lm-subnav__item:hover { border-color: var(--lm-primary); color: var(--lm-primary) !important; }
.lm-subnav__item.is-current { background: var(--lm-ink); border-color: var(--lm-ink); color: var(--lm-bg) !important; }

/* ---------- Сетки и карточки ---------- */
.lm-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0 0 32px; }
.lm-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.lm-card {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--lm-radius);
    background: var(--lm-surface); border: 1px solid var(--lm-line); box-shadow: var(--lm-shadow);
    color: var(--lm-text) !important; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    min-height: 100%;
}
.lm-card:hover { transform: translateY(-3px); box-shadow: var(--lm-shadow-hover); border-color: color-mix(in srgb, var(--lm-primary) 35%, var(--lm-line)); }
.lm-card:hover .lm-card__more i { transform: translateX(3px); }
.lm-card__media { display: block; margin: -24px -24px 6px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--lm-radius) var(--lm-radius) 0 0; background: #eef0f8; }
.lm-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .4s ease; }
.lm-card:hover .lm-card__media img { transform: scale(1.03); }
.lm-card__icon {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.45rem; color: #fff;
    background: linear-gradient(135deg, var(--lm-primary), var(--lm-primary-2)); box-shadow: 0 10px 20px -10px rgba(67, 56, 202, .8);
}
.lm-card__title { font-family: var(--lm-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3; color: var(--lm-ink); }
.lm-card__text { color: var(--lm-muted); font-size: .94rem; line-height: 1.55; }
.lm-card__more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .92rem; color: var(--lm-primary); }

/* ---------- Секции ---------- */
.lm-section { margin: 72px 0; }
.lm-section__head { margin: 0 0 26px; max-width: 760px; }
.lm-section__head h2 { margin: .25em 0 .3em; }
.lm-section__head p { color: var(--lm-muted); margin: 0; }
.lm-section__head--row { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: none; }
.lm-eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lm-primary);
}

/* ---------- Герой главной ---------- */
.lm-hero {
    position: relative; width: 100vw; margin: -28px calc(50% - 50vw) 0; padding: clamp(56px, 9vw, 120px) 5% clamp(64px, 9vw, 112px);
    color: #fff; overflow: hidden; isolation: isolate;
    background:
        radial-gradient(900px 480px at 85% 10%, rgba(255, 200, 61, .28), transparent 60%),
        radial-gradient(700px 520px at 0% 100%, rgba(109, 74, 242, .55), transparent 60%),
        linear-gradient(135deg, #1e1b4b 0%, #3730a3 48%, #5b3de6 100%);
}
.lm-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
    background-image: linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.lm-hero__inner { max-width: var(--lm-max); margin: 0 auto; }
.lm-hero__eyebrow {
    display: inline-flex; gap: .5em; align-items: center; padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: .9rem;
}
.lm-hero__title {
    font-family: var(--lm-head); font-weight: 700; color: #fff; letter-spacing: -.025em; line-height: 1.08;
    font-size: clamp(2.1rem, 5.4vw, 4.2rem); margin: 22px 0 18px; max-width: 980px;
}
.lm-hero__city { color: var(--lm-accent); }
.lm-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 720px; margin: 0 0 30px; }
.lm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lm-hero__stats { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 14px 48px; }
.lm-hero__stats li { display: flex; flex-direction: column; }
.lm-hero__stats b { font-family: var(--lm-head); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; }
.lm-hero__stats span { color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* ---------- Направления ---------- */
.lm-directions { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.lm-direction {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 24px; min-height: 270px;
    text-decoration: none !important; color: #fff !important; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: var(--lm-shadow);
}
.lm-direction:hover { transform: translateY(-4px); box-shadow: var(--lm-shadow-hover); }
.lm-direction > i { font-size: 2rem; margin-bottom: 18px; }
.lm-direction h3 { color: #fff; font-size: 1.3rem; }
.lm-direction p { color: rgba(255, 255, 255, .82); margin: 0; }
.lm-direction .lm-card__more { color: #fff; }
.lm-direction--1 { background: linear-gradient(150deg, #312e81, #4f46e5); }
.lm-direction--2 { background: linear-gradient(150deg, #7c2d12, #ea580c 70%, #f59e0b); }
.lm-direction--3 { background: linear-gradient(150deg, #064e3b, #0d9488); }

/* ---------- Преимущества ---------- */
.lm-features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 0 0 36px; }
.lm-feature { padding: 24px; border-radius: var(--lm-radius); background: var(--lm-surface); border: 1px solid var(--lm-line); }
.lm-feature > i { font-size: 1.6rem; color: var(--lm-primary); display: block; margin-bottom: 14px; }
.lm-feature p { margin: 0; color: var(--lm-muted); font-size: .95rem; }

/* ---------- Портфолио ---------- */
.lm-portfolio { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lm-portfolio--home { grid-template-columns: repeat(4, 1fr); }
.lm-work { display: flex; flex-direction: column; gap: 10px; text-decoration: none !important; color: var(--lm-ink) !important; }
.lm-work__media {
    display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #e9ebf5; border: 1px solid var(--lm-line);
    box-shadow: var(--lm-shadow);
}
.lm-work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; display: block; }
.lm-work:hover .lm-work__media img { transform: scale(1.05); }
.lm-work__name { font-weight: 700; font-size: .95rem; line-height: 1.3; }

/* ---------- Отзывы ---------- */
.lm-reviews { columns: 3 300px; column-gap: 20px; }
.lm-review {
    break-inside: avoid; margin: 0 0 20px; padding: 26px; border-radius: var(--lm-radius); background: var(--lm-surface);
    border: 1px solid var(--lm-line); box-shadow: var(--lm-shadow);
}
.lm-review blockquote { margin: 0 0 18px; font-size: .97rem; line-height: 1.6; color: var(--lm-text); position: relative; padding-top: 26px; }
.lm-review blockquote::before { content: "“"; position: absolute; top: -18px; left: -4px; font-family: Georgia, serif; font-size: 4rem; color: var(--lm-primary); opacity: .25; }
.lm-review figcaption { display: flex; align-items: center; gap: 12px; }
.lm-review figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lm-line); }
.lm-review figcaption b { display: block; color: var(--lm-ink); line-height: 1.2; }
.lm-review figcaption small { color: var(--lm-muted); }

/* ---------- География ---------- */
.lm-geo__list .city-links { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-geo__list .city-links__item {
    padding: 6px 13px; border-radius: 999px; background: var(--lm-surface); border: 1px solid var(--lm-line);
    font-size: .9rem; font-weight: 600; color: var(--lm-text) !important; text-decoration: none !important;
}
.lm-geo__list a.city-links__item:hover { border-color: var(--lm-primary); color: var(--lm-primary) !important; }
.lm-geo__list .city-links__item.is-current { background: var(--lm-primary); border-color: var(--lm-primary); color: #fff !important; }

/* ---------- Призыв ---------- */
.lm-cta {
    margin: 64px 0 0; padding: clamp(28px, 4vw, 48px); border-radius: 28px; display: flex; flex-wrap: wrap; gap: 24px;
    align-items: center; justify-content: space-between; color: #fff;
    background: radial-gradient(600px 300px at 100% 0, rgba(255, 200, 61, .3), transparent 60%), linear-gradient(135deg, #1e1b4b, #4338ca);
}
.lm-cta h2 { color: #fff; margin: 0 0 8px; }
.lm-cta p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 560px; }
.lm-cta a:not(.lm-btn) { color: var(--lm-accent); }
.lm-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Объект (партнёр, подстраница проекта) ---------- */
.lm-object {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px;
    border-radius: 24px; background: var(--lm-surface); border: 1px solid var(--lm-line); box-shadow: var(--lm-shadow); max-width: none;
}
.lm-object__media img { width: 100%; border-radius: 16px; display: block; max-height: 460px; object-fit: contain; }
.lm-object__body { font-size: 1.05rem; }
.lm-prose:has(.lm-object) { max-width: none; }

/* ---------- Контакты ---------- */
.lm-contacts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0 0 24px; }
.lm-contact { padding: 24px; border-radius: var(--lm-radius); background: var(--lm-surface); border: 1px solid var(--lm-line); box-shadow: var(--lm-shadow); }
.lm-contact > i { font-size: 1.5rem; color: var(--lm-primary); display: block; margin-bottom: 12px; }
.lm-contact p { margin: 0; }
.lm-contact a { font-weight: 700; text-decoration: none; }
.lm-contact--wide { grid-column: 1 / -1; }
.lm-messengers { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.lm-details { border: 1px solid var(--lm-line); border-radius: 16px; background: var(--lm-surface); padding: 6px 20px; max-width: 640px; }
.lm-details summary { cursor: pointer; font-weight: 700; padding: 10px 0; color: var(--lm-ink); }
.lm-details p { color: var(--lm-muted); font-size: .95rem; }
.lm-thanks { margin-top: 28px; font-weight: 700; color: var(--lm-ink); }

/* ---------- Бриф (форма) ---------- */
.lm-brief-intro { max-width: 860px; }

/* ---------- Подвал ---------- */
footer#menu-footer { background: #0f1124 !important; color: rgba(255, 255, 255, .78); }
footer#menu-footer a { color: rgba(255, 255, 255, .85); }
.lm-footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 28px; padding: 36px 0 12px; max-width: var(--lm-max); margin: 0 auto; text-align: left; font-size: .94rem; line-height: 1.6; }
.lm-footer h4 { font-family: var(--lm-head); font-size: .95rem; font-weight: 600; color: #fff; margin: 0 0 12px; }
.lm-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.lm-footer a { text-decoration: none; }
.lm-footer a:hover { color: var(--lm-accent) !important; }
.lm-footer__brand p { color: rgba(255, 255, 255, .6); margin: 8px 0 14px; }
.lm-footer__logo { font-family: var(--lm-head); font-size: 1.3rem; font-weight: 700; color: #fff; }
.lm-footer__logo span { color: var(--lm-accent); }
.lm-footer__social { display: flex; gap: 8px; }
.lm-footer__social a {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08);
    font-size: 1.1rem;
}
.lm-footer__social a:hover { background: var(--lm-accent); color: var(--lm-accent-ink) !important; }
.lm-footer__copy { max-width: var(--lm-max); margin: 0 auto; padding: 16px 0 22px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); font-size: .85rem; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
    .lm-portfolio--home { grid-template-columns: repeat(2, 1fr); }
    .lm-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .lm-section { margin: 52px 0; }
    .lm-section__head--row { flex-direction: column; align-items: flex-start; }
    .lm-object { grid-template-columns: 1fr; padding: 18px; }
    .lm-hero__stats { gap: 14px 28px; }
    .lm-grid, .lm-grid--3 { grid-template-columns: 1fr; }
    .lm-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
    .lm-portfolio, .lm-portfolio--home { grid-template-columns: 1fr 1fr; gap: 12px; }
    .lm-work__name { font-size: .85rem; }
    .lm-footer { grid-template-columns: 1fr; }
    .lm-btn--lg { width: 100%; justify-content: center; }
}

/* ---------- Навигация раздела: вместо табов и левой колонки static — подменю lm-subnav в тексте ---------- */
.static-tabs, .static-layout > .static-sidebar { display: none !important; }
.static-layout > .static-content { padding-top: 0 !important; width: 100%; max-width: none; }
/* «← Назад» рядом с заголовком: навигацию даёт подменю раздела */
.section-block > div > a.btn.btn-light.btn-sm { display: none; }
.section-block:has(.lm-hero) > div:first-child:has(> h1) { display: none !important; }

/* ---------- Бриф: форма в стиле сайта ---------- */
.lm-brief-intro { max-width: none; margin-bottom: 8px; }
.section-block:has(.lm-brief-intro) [data-block="form"] {
    max-width: var(--lm-max); margin-left: auto !important; margin-right: auto !important;
    background-color: var(--lm-surface) !important; background-image: none !important;
    border-color: var(--lm-line) !important; border-radius: 24px !important; box-shadow: var(--lm-shadow) !important;
}
.section-block:has(.lm-brief-intro) [data-block="form"] h2,
.section-block:has(.lm-brief-intro) [data-block="form"] h3,
.section-block:has(.lm-brief-intro) [data-block="form"] .form-heading { font-family: var(--lm-head); font-weight: 600; color: var(--lm-ink); }
.section-block:has(.lm-brief-intro) [data-block="form_button"] {
    background-color: var(--lm-accent) !important; color: var(--lm-accent-ink) !important; border-radius: 999px !important;
    font-weight: 700; padding: 14px 30px !important; border: 0 !important;
}

/* заголовок раздела во всю ширину колонки — по левому краю текста */
.section-block > div:first-child > h1 { flex: 1 1 auto; width: 100%; text-align: left; }

/* ---------- Просмотр картинок (портфолио): скрипт в информере подвала #lm-footer ---------- */
html.lm-lb-lock, html.lm-lb-lock body { overflow: hidden; }
.lm-lb {
    position: fixed; inset: 0; z-index: 300000; display: none; align-items: center; justify-content: center;
    background: rgba(9, 10, 22, .92); padding: 56px 72px; box-sizing: border-box;
}
.lm-lb.is-open { display: flex; }
.lm-lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lm-lb__img {
    display: block; max-width: min(1400px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto;
    object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff;
}
.lm-lb__cap { display: flex; gap: 16px; justify-content: space-between; width: 100%; margin-top: 14px; color: #fff; font-family: var(--lm-font); }
.lm-lb__title { font-weight: 700; }
.lm-lb__count { color: rgba(255, 255, 255, .6); white-space: nowrap; }
.lm-lb__close, .lm-lb__nav {
    position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .1);
    display: grid; place-items: center; border-radius: 50%; transition: background .2s ease; line-height: 1;
}
.lm-lb__close:hover, .lm-lb__nav:hover { background: rgba(255, 255, 255, .22); }
.lm-lb__close { top: 14px; right: 16px; width: 44px; height: 44px; font-size: 30px; }
.lm-lb__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 38px; padding-bottom: 4px; }
.lm-lb__prev { left: 12px; }
.lm-lb__next { right: 12px; }
.lm-lb.is-single .lm-lb__nav { display: none; }
@media (max-width: 760px) {
    .lm-lb { padding: 60px 10px 20px; }
    .lm-lb__nav { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; }
    .lm-lb__prev { left: calc(50% - 56px); } .lm-lb__next { right: calc(50% - 56px); }
    .lm-lb__img { max-height: calc(100vh - 190px); }
    .lm-lb__cap { flex-direction: column; gap: 2px; text-align: center; align-items: center; }
}

/* ---------- Личный кабинет в шапке: значок пользователя (как на slamdunk), в выпадашке «Войти» и «Регистрация» ----------
   Пункт #lk (79333, только гостям). Системные /login и /register скрыты из меню (access −1), в выпадашке —
   пункты /login/ и /register/ (роутер срезает «/» на конце и открывает те же страницы). */
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] > .dropdown > .dropdown-toggle {
    font-size: 0 !important; gap: 0; padding: 6px 8px !important; margin: -6px -8px !important; border-radius: 999px;
}
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] .dropdown-toggle .caret,
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] .dropdown-toggle::after { display: none !important; }
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] .dropdown-toggle .menu-icon { margin: 0 !important; }
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] .dropdown-toggle .section-icon-img { width: 24px; height: 24px; display: block; }
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] .dropdown-toggle:hover { background: rgba(67, 56, 202, .08) !important; }
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] > .dropdown > .dropdown-menu { left: auto !important; right: -12px; margin-left: 0 !important; min-width: 190px; }
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] > .dropdown { display: flex; flex-direction: column; align-items: center; flex: 1; }
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] > .dropdown > .dropdown-toggle { flex: 0 0 auto; }
#main-menu-panel .menu-item-wrapper[data-block-id="79333"] > .dropdown > .dropdown-menu.show:not([style*="position: absolute"]) { align-self: stretch; }


/* ===== LM: SEO-текст внизу страниц (2026-10-07) ===== */
.seo-text {
    width: calc(100% - 32px) !important; max-width: var(--lm-max); box-sizing: border-box;
    margin: 56px auto 48px !important; padding: 34px 40px 28px !important;
    background: var(--lm-surface); border: 1px solid var(--lm-line) !important; border-radius: var(--lm-radius);
    box-shadow: var(--lm-shadow); color: var(--lm-text); font-family: var(--lm-font);
}
.seo-text__body { opacity: 1; font-size: 1rem; line-height: 1.75; }
.seo-text__body h1, .seo-text__body h2, .seo-text__body h3, .seo-text__body h4 {
    font-family: var(--lm-head); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    line-height: 1.3; color: var(--lm-ink); margin: 0 0 .7em; letter-spacing: -.01em;
}
.seo-text__body p { margin: 0 0 1em; }
.seo-text__body ul { margin: 0 0 1em; padding-left: 1.25em; }
.seo-text__body li { margin: .25em 0; }
.seo-text__body li::marker { color: var(--lm-primary); }
.seo-text__body strong { color: var(--lm-ink); }
.seo-text__actions { margin-top: 18px; }
.seo-text__btn {
    opacity: 1; padding: .7em 1.4em; border: 1px solid var(--lm-primary); color: var(--lm-primary);
    background: transparent; font-family: var(--lm-font); font-weight: 700; transition: background .2s, color .2s, transform .2s;
}
.seo-text__btn:hover, .seo-text__btn:focus-visible { background: var(--lm-primary); color: #fff; transform: translateY(-1px); }
@media (max-width: 600px) { .seo-text { padding: 22px 18px 20px !important; margin-top: 32px !important; border-radius: 16px; } }
