/* Страница входа / лендинг (no_aut.php). Цвета бренда СЕМТАК (чернила,
   пергамент, сургуч, охра, сигнал), не зависят от тёмной темы приложения:
   гость её не выбирал. Шрифты - из css/brand.css. Мобильная вёрстка - через
   сетку Bootstrap и медиазапросы внизу. */
:root {
	--ld-navy: #1C2733;      /* чернила */
	--ld-navy-2: #2E3D4D;
	--ld-blue: #2457C5;      /* сигнал: ссылки, иконки */
	--ld-blue-2: #1A429A;
	--ld-orange: #B5402F;    /* сургуч: призывы к действию */
	--ld-orange-2: #9A3526;
	--ld-gold: #C8962E;      /* охра: выделение в заголовке на тёмном */
	--ld-text: #1C2733;
	--ld-muted: #6B6257;
	--ld-line: #E2D9C9;
	--ld-bg: #F3EDE2;        /* пергамент: чередующиеся секции */
	--ld-paper: #FFFDF9;
}
html { scroll-behavior: smooth; }
body.no_aut {
	margin: 0;
	background: var(--ld-paper);
	color: var(--ld-text);
	font-family: var(--brand-sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.ld-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ld h1, .ld h2, .ld h3 { color: var(--ld-navy); font-weight: 700; line-height: 1.2; }
.ld h1, .ld h2 { font-family: var(--brand-serif); letter-spacing: -.01em; }
.ld h2 { font-size: 2rem; margin-bottom: .6rem; }
.ld h3 { font-size: 1.15rem; }
.ld p { margin: 0 0 .8rem; }
.ld-lead { font-size: 1.15rem; color: var(--ld-muted); max-width: 760px; }
.ld-sec { padding: 72px 0; }
.ld-sec-alt { background: var(--ld-bg); }
.ld-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .15s; font-size: 1rem; white-space: nowrap; }
.ld-btn-primary { background: var(--ld-orange); color: #fff; }
.ld-btn-primary:hover { background: var(--ld-orange-2); color: #fff; }
.ld-btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.ld-btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.ld-btn-dark { border-color: var(--ld-navy); color: var(--ld-navy); background: transparent; }
.ld-btn-dark:hover { background: var(--ld-navy); color: #fff; }
.ld-btn-blue { background: var(--ld-blue); color: #fff; }
.ld-btn-blue:hover { background: var(--ld-blue-2); color: #fff; }
.ld-btn-sm { padding: 8px 16px; font-size: .95rem; }

/* ---------- шапка ---------- */
.ld-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ld-line); }
.ld-header .ld-wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.ld-logo { display: flex; align-items: center; text-decoration: none; color: var(--ld-navy); }
.ld-nav { display: flex; gap: 22px; margin-left: 12px; }
.ld-nav a { color: var(--ld-text); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
/* меню в одну строку: на средних экранах плотнее, на узких - без второстепенных пунктов (они есть в мобильном меню) */
@media (max-width: 1360px) { .ld-nav { gap: 14px; } .ld-nav a { font-size: .9rem; } }
@media (max-width: 1220px) { .ld-nav a[href="#how"], .ld-nav a[href="#why"] { display: none; } }
.ld-nav a:hover { color: var(--ld-blue); }
/* выпадающие группы верхнего меню (vitrina_layout.php::vtNavHtml) */
.ld-nav { align-items: center; }
.ld-dd { position: relative; }
.ld-dd-btn { background: none; border: 0; padding: 6px 0; color: var(--ld-text); font: inherit; font-weight: 500; font-size: .95rem; white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ld-dd-btn i { font-size: .65rem; opacity: .6; transition: transform .15s; }
.ld-dd:hover .ld-dd-btn, .ld-dd:focus-within .ld-dd-btn, .ld-dd.on .ld-dd-btn { color: var(--ld-blue); }
.ld-dd:hover .ld-dd-btn i, .ld-dd:focus-within .ld-dd-btn i { transform: rotate(180deg); }
.ld-dd-menu { display: none; position: absolute; top: 100%; left: -14px; z-index: 60; min-width: 240px; padding: 8px; margin-top: 6px; background: var(--ld-paper, #FFFDF9); border: 1px solid var(--ld-line); border-radius: 12px; box-shadow: 0 14px 34px rgba(28,39,51,.14); }
.ld-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* мостик: курсор не теряет меню */
.ld-dd:hover .ld-dd-menu, .ld-dd:focus-within .ld-dd-menu { display: grid; }
.ld-dd-menu.ld-dd-wide { grid-template-columns: 1fr 1fr; min-width: 460px; column-gap: 6px; }
.ld-nav .ld-dd-menu a { display: block; padding: 8px 10px; border-radius: 8px; font-size: .92rem; color: var(--ld-text); white-space: nowrap; }
.ld-nav .ld-dd-menu a:hover, .ld-nav .ld-dd-menu a.on { background: rgba(28,39,51,.06); color: var(--ld-navy); }
@media (max-width: 1360px) { .ld-dd-btn { font-size: .9rem; } }
.ld-mm-group { border-bottom: 1px solid var(--ld-line); }
.ld-mm-group summary { padding: 10px 0; font-weight: 600; color: var(--ld-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.ld-mm-group summary::-webkit-details-marker { display: none; }
.ld-mm-group summary::after { content: '+'; color: var(--ld-muted, #8A7F72); }
.ld-mm-group[open] summary::after { content: '−'; }
.ld-mm-group a { padding: 8px 0 8px 14px; font-weight: 400; border-bottom: 0; }
.ld-header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
/* «Войти» в шапке телефона: сотрудник, которому прислали адрес, входит сразу, без окна регистрации */
.ld-mlogin { display: none; margin-left: auto; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 8px; background: var(--ld-navy, #1C2733); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.ld-mlogin:hover { color: #fff; opacity: .92; }
.ld-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--ld-line); border-radius: 8px; width: 40px; height: 40px; font-size: 1.1rem; color: var(--ld-navy); }
.ld-mobile-menu { display: none; border-top: 1px solid var(--ld-line); background: var(--ld-paper); padding: 12px 20px 18px; }
.ld-mobile-menu a { display: block; padding: 10px 0; color: var(--ld-text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--ld-line); }
.ld-mobile-menu .ld-btn { display: flex; justify-content: center; margin-top: 10px; border-bottom: 0; }

/* ---------- герой ---------- */
/* первый экран: сам продукт (макет ноутбука и телефона со снимками
   демо-проекта), а не фото стройки */
.ld-hero { position: relative; color: #fff; background: radial-gradient(1200px 600px at 85% 30%, #2E3D4D 0%, var(--ld-navy) 60%); overflow: hidden; }
.ld-hero .ld-wrap { position: relative; padding-top: 64px; padding-bottom: 72px; }
.ld-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; max-width: 1320px; }
.ld-hero h1 { color: #fff; font-size: 2.55rem; max-width: 640px; margin-bottom: 18px; }
.ld-hero h1 span { color: var(--ld-gold); }
.ld-hero .ld-lead { color: rgba(255,255,255,.88); font-size: 1.2rem; margin-bottom: 28px; }
.ld-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.ld-hero-facts { display: flex; gap: 28px; flex-wrap: wrap; font-size: .95rem; color: rgba(255,255,255,.85); }
.ld-hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.ld-hero-facts i { color: var(--ld-gold); }
.ld-hero-facts { flex-direction: column; gap: 8px; }
.ld-hero-shot { position: relative; padding: 0 0 40px 0; }
.ld-hero-shot .ld-laptop { transform: perspective(1600px) rotateY(-6deg); transform-origin: left center; }
.ld-hero-phone { position: absolute; right: -8px; bottom: 0; width: 26%; }

/* рамки: окно браузера и телефон */
.ld-laptop { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28), 0 0 0 1px rgba(28,39,51,.12); }
.ld-laptop-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EDE6DA; border-bottom: 1px solid var(--ld-line); }
.ld-laptop-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D6CCBC; }
.ld-laptop-bar i:first-child { background: #E07A5F; } .ld-laptop-bar i:nth-child(2) { background: #E9C46A; } .ld-laptop-bar i:nth-child(3) { background: #81B29A; }
.ld-laptop-bar span { margin-left: 12px; flex: 1; max-width: 260px; height: 18px; border-radius: 9px; background: #FFFDF9; color: var(--ld-muted); font-size: 11px; line-height: 18px; padding: 0 10px; }
.ld-laptop img { display: block; width: 100%; height: auto; }
.ld-phone { background: #111; border-radius: 30px; padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.ld-phone img { display: block; width: 100%; height: auto; border-radius: 22px; }

/* «Я — ...»: быстрый переход к своему блоку */
.ld-aud { background: var(--ld-paper); border-bottom: 1px solid var(--ld-line); }
.ld-aud .ld-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.ld-aud-label { font-weight: 700; color: var(--ld-navy); margin-right: 4px; }
.ld-aud a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ld-line); border-radius: 999px; color: var(--ld-text); text-decoration: none; font-weight: 500; font-size: .95rem; background: #fff; transition: .15s; }
.ld-aud a:hover { border-color: var(--ld-blue); color: var(--ld-blue); }
.ld-aud a i { color: var(--ld-orange); }

/* галерея экранов программы */
.ld-gallery { margin-top: 26px; }
.ld-gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ld-gallery-tabs button { border: 1px solid var(--ld-line); background: var(--ld-paper); color: var(--ld-text); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; cursor: pointer; transition: .15s; }
.ld-gallery-tabs button:hover { border-color: var(--ld-navy); }
.ld-gallery-tabs button.active { background: var(--ld-navy); border-color: var(--ld-navy); color: #fff; }
.ld-gallery-screen { max-width: 1080px; }
.ld-gallery-cap { margin: 14px 0 0; color: var(--ld-muted); font-size: 1.02rem; max-width: 1080px; min-height: 3em; }

/* прорабу: три телефона */
.ld-foreman-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
.ld-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.ld-phones figure { margin: 0; text-align: center; }
.ld-phones figure:nth-child(2) { transform: translateY(-24px); }
.ld-phones figcaption { margin-top: 10px; font-size: .9rem; color: var(--ld-muted); font-weight: 500; }
.ld-foreman-install { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--ld-bg); font-size: .95rem; }
.ld-foreman-install i { color: var(--ld-orange); font-size: 1.3rem; margin-top: 2px; }
.ld-foreman-install ol { margin: 8px 0; padding-left: 20px; }
.ld-foreman-install li { margin-bottom: 6px; }
.ld-split .ld-laptop { align-self: center; }

@media (max-width: 1100px) {
	.ld-hero-grid, .ld-foreman-grid { grid-template-columns: 1fr; gap: 32px; }
	.ld-hero h1 { max-width: none; }
	.ld-hero-shot { max-width: 720px; }
	.ld-hero-shot .ld-laptop { transform: none; }
}
@media (max-width: 640px) {
	.ld-hero h1 { font-size: 1.85rem; }
	.ld-hero-phone { width: 30%; right: -4px; }
	.ld-phone { border-radius: 20px; padding: 5px; }
	.ld-phone img { border-radius: 15px; }
	.ld-phones { gap: 8px; }
	.ld-phones figure:nth-child(2) { transform: none; }
	.ld-phones figcaption { font-size: .78rem; }
	.ld-aud a { font-size: .88rem; padding: 7px 12px; }
	.ld-laptop-bar { height: 22px; } .ld-laptop-bar i { width: 7px; height: 7px; } .ld-laptop-bar span { display: none; }
}

/* ---------- боли ---------- */
.ld-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.ld-pain { background: var(--ld-paper); border: 1px solid var(--ld-line); border-left: 4px solid var(--ld-orange); border-radius: 12px; padding: 18px 20px; }
.ld-pain b { display: block; color: var(--ld-navy); margin-bottom: 4px; }
.ld-pain span { color: var(--ld-muted); font-size: .95rem; }

/* ---------- модули ---------- */
.ld-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.ld-module { background: var(--ld-paper); border: 1px solid var(--ld-line); border-radius: 14px; padding: 20px; transition: .15s; }
.ld-module:hover { border-color: var(--ld-blue); box-shadow: 0 8px 24px rgba(28,39,51,.08); transform: translateY(-2px); }
.ld-module-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--ld-bg); color: var(--ld-navy); display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 12px; }
.ld-module h3 { margin-bottom: 6px; }
.ld-module p { color: var(--ld-muted); font-size: .93rem; margin: 0; }

/* ---------- как работает ---------- */
.ld-steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; }
.ld-step { position: relative; background: var(--ld-paper); border: 1px solid var(--ld-line); border-radius: 14px; padding: 22px 18px 18px; }
.ld-step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--ld-orange); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.ld-step h3 { font-size: 1.05rem; margin: 6px 0 6px; }
.ld-step p { color: var(--ld-muted); font-size: .92rem; margin: 0; }

/* ---------- фото + текст ---------- */
.ld-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.ld-split.rev > .ld-split-img { order: 2; }
.ld-split-img { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(28,39,51,.18); aspect-ratio: 4/3; }
.ld-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-check { list-style: none; padding: 0; margin: 14px 0 0; }
.ld-check li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ld-check li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--ld-blue); }

/* ---------- отличия ---------- */
.ld-diff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.ld-diff-card { background: var(--ld-navy-2); color: #fff; border-radius: 14px; padding: 22px; }
.ld-diff-card i { color: var(--ld-gold); font-size: 1.4rem; margin-bottom: 12px; display: block; }
.ld-diff-card h3 { color: #fff; margin-bottom: 8px; }
.ld-diff-card p { color: rgba(255,255,255,.8); font-size: .93rem; margin: 0; }

/* ---------- для кого ---------- */
.ld-who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.ld-who-card { border: 1px solid var(--ld-line); border-radius: 14px; padding: 20px; background: var(--ld-paper); }
.ld-who-card i { font-size: 1.5rem; color: var(--ld-navy); margin-bottom: 10px; display: block; }
.ld-who-card p { color: var(--ld-muted); font-size: .93rem; margin: 0; }

/* ---------- клуб ---------- */
.ld-exchange { background: linear-gradient(135deg, #1C2733, #2E3D4D); color: #fff; }
.ld-exchange h2, .ld-exchange h3 { color: #fff; }
.ld-exchange .ld-lead { color: rgba(255,255,255,.85); }
.ld-badge { display: inline-block; background: var(--ld-orange); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.ld-ex-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.ld-ex-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.ld-ex-col { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 18px; }
.ld-ex-col i { color: var(--ld-gold); font-size: 1.2rem; margin-bottom: 8px; display: block; }
.ld-ex-col ul { padding-left: 18px; margin: 8px 0 0; font-size: .92rem; color: rgba(255,255,255,.85); }
.ld-ex-col li { margin-bottom: 6px; }
.ld-ex-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ld-ex-services span { background: rgba(255,255,255,.12); border-radius: 999px; padding: 5px 12px; font-size: .85rem; }
.ld-ex-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.ld-ex-stat b { display: block; font-size: 1.9rem; color: var(--ld-gold); font-family: var(--brand-serif); line-height: 1.1; }
.ld-ex-stat span { font-size: .9rem; color: rgba(255,255,255,.8); max-width: 220px; display: block; }
.ld-ex-img { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.35); aspect-ratio: 4/3; }
.ld-ex-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-ex-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ld-ex-note { font-size: .88rem; color: rgba(255,255,255,.7); margin-top: 12px; }

/* ---------- безопасность ---------- */
.ld-safe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.ld-safe-card { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.ld-safe-card i { color: var(--ld-navy); font-size: 1.2rem; margin-top: 3px; }

/* ---------- финальный призыв ---------- */
.ld-final { background: var(--ld-navy); color: #fff; text-align: center; }
.ld-final h2 { color: #fff; }
.ld-final .ld-lead { color: rgba(255,255,255,.85); margin: 0 auto 24px; }

/* ---------- подвал ---------- */
.ld-footer { padding: 26px 0; font-size: .88rem; color: var(--ld-muted); border-top: 1px solid var(--ld-line); }
.ld-footer .ld-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ld-footer a { color: var(--ld-muted); }

/* ---------- окно входа ---------- */
/* окно входа - стиль .reg-card (css/style.css), здесь только ошибка входа */
#ldLoginModal .ld-login-err { display: none; color: #B5402F; font-size: .88rem; margin: 4px 0 6px; }
#ldLoginModal .reg-login a { color: #B5402F; }

/* ---------- мобильная вёрстка ---------- */
@media (max-width: 1100px) {
	.ld-modules, .ld-who, .ld-safe { grid-template-columns: repeat(2, 1fr); }
	.ld-steps { grid-template-columns: repeat(3, 1fr); }
	.ld-diff, .ld-pains, .ld-ex-cols { grid-template-columns: repeat(2, 1fr); }
	.ld-hero h1 { font-size: 2.4rem; }
}
/* меню шапки в одну строку помещается от 1120 px, уже - кнопка меню */
@media (max-width: 1120px) {
	.ld-nav, .ld-header-actions { display: none; }
	.ld-mlogin { display: inline-flex; }
	.ld-burger { display: block; margin-left: 8px; }
	.ld-mobile-menu.open { display: block; }
}
@media (max-width: 820px) {
	.ld-sec { padding: 52px 0; }
	.ld h2 { font-size: 1.6rem; }
	.ld-hero { min-height: 0; }
	.ld-hero .ld-wrap { padding-top: 56px; padding-bottom: 56px; }
	.ld-hero h1 { font-size: 1.9rem; }
	.ld-hero .ld-lead { font-size: 1.05rem; }
	.ld-hero-btns .ld-btn { flex: 1 1 100%; justify-content: center; }
	.ld-split, .ld-ex-grid { grid-template-columns: 1fr; gap: 24px; }
	.ld-split.rev > .ld-split-img { order: 0; }
	.ld-steps { grid-template-columns: 1fr; gap: 22px; }
	.ld-ex-img { display: none; }
}
@media (max-width: 560px) {
	.ld-modules, .ld-who, .ld-safe, .ld-diff, .ld-pains, .ld-ex-cols { grid-template-columns: 1fr; }
	.ld-hero-facts { flex-direction: column; gap: 8px; }
	.ld-ex-btns .ld-btn { flex: 1 1 100%; justify-content: center; }
}

/* Телефон: общий мобильный слой (css/mobile.css) раскрывает окна на весь
   экран - короткой форме входа это не нужно, она остаётся карточкой */
@media (max-width: 768px) {
	#ldLoginModal .modal-dialog { margin: 16px auto !important; max-width: calc(100% - 32px) !important; height: auto !important; min-height: 0 !important; }
	#ldLoginModal .modal-content { height: auto !important; min-height: 0 !important; border-radius: 16px !important; }
}


/* Раздел «Поставщикам» (landing_suppliers.php) */
.ld-sup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.ld-sup-card { background: var(--as-surface, #FFFDF9); border: 1px solid var(--as-border, #E2D9C9); border-radius: 12px; padding: 18px; }
.ld-sup-card i { color: #B5402F; font-size: 1.25rem; margin-bottom: 8px; display: block; }
.ld-sup-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.ld-sup-card p { font-size: .92rem; margin: 0; color: var(--as-muted, #6B6257); }
.ld-sup-bottom { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 24px; }
.ld-sup-steps { margin: 0; padding-left: 22px; font-size: .98rem; }
.ld-sup-steps li { margin-bottom: 6px; }
.ld-sup-cta { text-align: right; }
.ld-sup-cta .ld-ex-note { color: var(--as-muted, #6B6257); max-width: 420px; margin: 10px 0 0 auto; }
.ld-who { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .ld-sup-grid { grid-template-columns: repeat(2, 1fr); } .ld-who { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .ld-sup-grid, .ld-sup-bottom { grid-template-columns: minmax(0, 1fr); } .ld-sup-cta { text-align: left; } .ld-sup-cta .ld-btn { white-space: normal; text-align: center; } .ld-sup-cta .ld-ex-note { margin-left: 0; } .ld-who { grid-template-columns: 1fr; } }

/* ===== Тарифы (landing_pricing.php) ===== */
.ld-price-toggle { display: inline-flex; border: 1px solid var(--ld-line); border-radius: 10px; overflow: hidden; margin: 18px 0 22px; background: var(--ld-paper); }
.ld-price-toggle button { border: 0; background: transparent; padding: 9px 18px; font-weight: 600; color: var(--ld-muted); cursor: pointer; }
.ld-price-toggle button.active { background: var(--ld-navy); color: #fff; }
.ld-price-toggle button span { color: var(--ld-orange); font-weight: 700; }
.ld-price-toggle button.active span { color: var(--ld-gold); }
.ld-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.ld-price-card { position: relative; border: 1px solid var(--ld-line); border-radius: 14px; padding: 22px 20px; background: var(--ld-paper); display: flex; flex-direction: column; }
.ld-price-card.hot { border: 2px solid var(--ld-orange); box-shadow: 0 10px 30px rgba(28,39,51,.10); }
.ld-price-badge { position: absolute; top: -12px; left: 20px; background: var(--ld-orange); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.ld-price-card h3 { font-size: 1.3rem; margin: 0 0 2px; }
.ld-price-for { color: var(--ld-muted); font-size: .9rem; min-height: 2.6em; }
.ld-price-sum { font-size: 1.9rem; font-weight: 800; color: var(--ld-navy); margin-top: 10px; }
.ld-price-sum small { font-size: .95rem; font-weight: 500; color: var(--ld-muted); }
.ld-price-note { color: var(--ld-muted); font-size: .88rem; margin-bottom: 12px; }
.ld-price-card ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: .92rem; flex: 1; }
.ld-price-card li { padding: 5px 0 5px 22px; position: relative; border-top: 1px dashed var(--ld-line); }
.ld-price-card li:first-child { border-top: 0; }
.ld-price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--ld-blue); font-weight: 700; }
.ld-price-card .ld-price-mod { color: var(--ld-muted); }
.ld-price-card .ld-btn { justify-content: center; white-space: normal; text-align: center; }
.ld-btn-line { border-color: var(--ld-navy); color: var(--ld-navy); background: transparent; }
.ld-btn-line:hover { background: var(--ld-navy); color: #fff; }
.ld-price-foot { color: var(--ld-muted); font-size: .9rem; margin-top: 18px; max-width: 900px; }
.ld-founder { display: inline-block; margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #FFF4E5; border: 1px solid #F3C98B; color: var(--ld-navy); font-size: .95rem; }
.ld-svc-title { font-size: 1.5rem; margin: 46px 0 6px; }
.ld-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.ld-svc { border: 1px solid var(--ld-line); border-radius: 14px; padding: 18px; background: var(--ld-paper); display: flex; flex-direction: column; }
.ld-svc h4 { font-size: 1.05rem; margin: 0 0 6px; }
.ld-svc p { color: var(--ld-muted); font-size: .9rem; flex: 1; margin: 0 0 10px; }
.ld-svc-price { font-weight: 800; color: var(--ld-navy); }
@media (max-width: 1100px) { .ld-price-grid, .ld-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ld-price-grid, .ld-svc-grid { grid-template-columns: 1fr; } }

/* ===== Страницы витрины (vitrina.php): ниши, разделы, сравнения ===== */
body.vt { box-sizing: border-box; }
body.vt *, body.vt *::before, body.vt *::after { box-sizing: inherit; }
body.vt img { max-width: 100%; height: auto; }
.vt .ld-nav a.on { color: var(--ld-orange); }
.vt .ld-hero .ld-badge { margin-bottom: 12px; }
.vt-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--ld-line); border-radius: 14px; background: #fff; }
.vt-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.vt-table th, .vt-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ld-line); }
.vt-table thead th { background: var(--ld-navy); color: #fff; font-weight: 600; }
.vt-table thead th:nth-child(2) { background: var(--ld-orange); }
.vt-table tbody th { width: 22%; color: var(--ld-navy); }
.vt-table tbody td:nth-child(2) { background: #FBF6EE; font-weight: 500; }
.vt-table tbody tr:last-child th, .vt-table tbody tr:last-child td { border-bottom: 0; }
.vt-note { color: var(--ld-muted); font-size: .95rem; margin-top: 12px; }
/* Заказ сметы у площадки на лендингах про сметы (vitrina.php, ключ 'order') */
.vt-order { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 30px; background: var(--ld-navy); color: #fff; border-radius: 18px; }
.vt-order h2 { color: #fff; margin: 0 0 8px; }
.vt-order .ld-lead { color: rgba(255, 255, 255, .82); margin: 0; }
.vt-order .ld-btn { white-space: nowrap; }
.vt-faq { max-width: 860px; margin-top: 18px; }
.vt-faq details { background: #fff; border: 1px solid var(--ld-line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.vt-faq summary { cursor: pointer; font-weight: 600; color: var(--ld-navy); }
.vt-faq details p { margin: 10px 0 0; color: var(--ld-text); }
.vt-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 18px; }
.vt-related a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--ld-line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ld-text); transition: .15s; }
.vt-related a:hover { border-color: var(--ld-orange); transform: translateY(-2px); }
.vt-related b { color: var(--ld-navy); font-size: 1.05rem; }
.vt-related span { color: var(--ld-muted); font-size: .92rem; }
.vt-footer .ld-wrap { display: block; }
.vt-foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 24px; }
.vt-foot-cols b { display: block; margin-bottom: 6px; color: var(--ld-navy); font-size: .86rem; }
.vt-foot-cols summary { list-style: none; pointer-events: none; }
.vt-foot-cols summary::-webkit-details-marker { display: none; }
.vt-foot-cols a { display: block; padding: 2px 0; font-size: .82rem; line-height: 1.35; text-decoration: none; }
.vt-foot-cols a:hover, .vt-foot-bottom a:hover { color: var(--ld-navy); text-decoration: underline; }
.vt-foot-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 22px; padding-top: 14px; border-top: 1px solid var(--ld-line); font-size: .8rem; }
.vt-foot-bottom a { text-decoration: none; }
.vt-foot-legal { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 900px) { .vt-foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.vt-foot-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.vt-foot-cols details { border-bottom: 1px solid var(--ld-line); }
	.vt-foot-cols summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 11px 0; }
	.vt-foot-cols summary b { margin: 0; font-size: .92rem; }
	.vt-foot-cols summary::after { content: '+'; font-size: 1.25rem; line-height: 1; color: var(--ld-muted); }
	.vt-foot-cols details[open] summary::after { content: '−'; }
	.vt-foot-cols details[open] { padding-bottom: 8px; }
	.vt-foot-cols a { padding: 7px 0; font-size: .9rem; }
	.vt-foot-bottom { flex-direction: column; }
}
@media (max-width: 640px) {
	.vt-table-wrap { border: 0; background: none; overflow: visible; }
	.vt-table { min-width: 0; }
	.vt-table thead { display: none; }
	.vt-table, .vt-table tbody, .vt-table tr, .vt-table th, .vt-table td { display: block; width: auto; }
	.vt-table tr { background: #fff; border: 1px solid var(--ld-line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
	.vt-table tbody th { width: auto; background: var(--ld-navy); color: #fff; padding: 10px 14px; }
	.vt-table td { padding: 10px 14px; }
	.vt-table td::before { content: attr(data-l); display: block; font-size: .8rem; font-weight: 600; color: var(--ld-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
	.vt-table tbody td:nth-child(2)::before { color: var(--ld-orange); }
}

/* ===== Блог (blog.php) ===== */
.vt-post-wrap { max-width: 780px; }
.vt-crumbs { font-size: .9rem; color: var(--ld-muted); margin-bottom: 10px; }
.vt-crumbs a { color: var(--ld-muted); }
.vt-post h1 { font-size: 2.2rem; margin: 0 0 10px; }
.vt-post-meta { color: var(--ld-muted); font-size: .92rem; }
.vt-post-cover { display: block; width: 100%; height: auto; border-radius: 14px; margin: 22px 0 6px; }
.vt-post-body { font-size: 1.1rem; line-height: 1.7; margin-top: 22px; }
.vt-post-body h2 { font-size: 1.6rem; margin: 34px 0 12px; }
.vt-post-body h3 { font-size: 1.25rem; margin: 26px 0 10px; }
.vt-post-body p { margin: 0 0 1rem; }
.vt-post-body ul, .vt-post-body ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.vt-post-body li { margin-bottom: .45rem; }
.vt-post-body a { color: var(--ld-blue); }
.vt-post-body blockquote { margin: 1.4rem 0; padding: 14px 20px; border-left: 4px solid var(--ld-orange); background: var(--ld-bg); border-radius: 0 12px 12px 0; font-weight: 500; }
.vt-post-body figure { margin: 1.4rem 0; }
.vt-post-body figure img { width: 100%; height: auto; border-radius: 12px; }
.vt-post-body figcaption { font-size: .9rem; color: var(--ld-muted); margin-top: 6px; }
.vt-post-body .blog-table { margin: 1.4rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vt-post-body table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.vt-post-body th, .vt-post-body td { padding: 8px 10px; border: 1px solid var(--ld-line); text-align: left; vertical-align: top; }
.vt-post-body th { background: var(--ld-bg); font-weight: 600; }
.vt-post-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding: 20px 22px; border-radius: 14px; background: var(--ld-navy); color: #fff; }
.vt-post-cta b { display: block; font-size: 1.15rem; }
.vt-post-body .vt-post-cta a.ld-btn { color: #fff; text-decoration: none; }
.vt-post-cta-mid { margin: 28px 0; }
.vt-post-cta span { color: #C9D1DA; }
.vt-draft { background: #FFF4DB; border: 1px solid #E8C877; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.vt-blog h1 { font-size: 2.4rem; margin: 0 0 8px; }
.vt-blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 24px; }
.vt-blog-card { display: flex; flex-direction: column; border: 1px solid var(--ld-line); border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none; color: var(--ld-text); transition: .15s; }
.vt-blog-card:hover { border-color: var(--ld-orange); transform: translateY(-2px); }
.vt-blog-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.vt-blog-card div { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.vt-blog-card b { color: var(--ld-navy); font-size: 1.15rem; line-height: 1.3; }
.vt-blog-card div > span:last-child { color: var(--ld-muted); font-size: .95rem; }
@media (max-width: 640px) { .vt-post h1, .vt-blog h1 { font-size: 1.7rem; } .vt-post-body { font-size: 1.02rem; } }

/* ===== Печатные формы на страницах витрины (vtPrintsSection) ===== */
.vt-prints-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.vt-prints-tabs button { border: 1px solid var(--ld-line); background: #fff; color: var(--ld-text); border-radius: 999px; padding: 7px 14px; font-weight: 500; font-size: .93rem; cursor: pointer; }
.vt-prints-tabs button:hover { border-color: var(--ld-orange); }
.vt-prints-tabs button.active { background: var(--ld-navy); border-color: var(--ld-navy); color: #fff; }
.vt-sheet { position: relative; display: block; max-width: 1000px; max-height: 760px; overflow: hidden; margin: 0 auto; background: #fff; border: 1px solid var(--ld-line); border-radius: 6px; box-shadow: 0 18px 40px rgba(28, 39, 51, .14); }
.vt-sheet img { display: block; width: 100%; height: auto; }
.vt-sheet::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.vt-sheet-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; background: var(--ld-navy); color: #fff; font-size: .88rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; }
.vt-sheet:hover .vt-sheet-zoom { background: var(--ld-orange); }
.vt-sheet-cap { text-align: center; max-width: 820px; margin: 14px auto 0; }
@media (max-width: 640px) { .vt-sheet { max-height: 520px; } .vt-prints-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .vt-prints-tabs button { flex: 0 0 auto; } }

/* ===== Отзывы с Яндекс Карт (reviewsWidgetHtml, api/reviews_common.php) ===== */
.vt-reviews-frame { max-width: 760px; height: 720px; margin-top: 18px; border-radius: 12px; overflow: hidden; border: 1px solid var(--ld-line); background: #fff; }
.vt-reviews-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .vt-reviews-frame { height: 600px; } }

.ld-badge-new { display: inline-block; background: #B5402F; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 6px; padding: 3px 9px; margin-bottom: 10px; }

/* телефон поддержки (function.php::supportPhoneHtml) */
.support-phone { text-decoration: none; white-space: nowrap; }
.support-phone-num { font-weight: 600; white-space: nowrap; }
.ld-support { margin-top: 18px; opacity: .92; }
.ld-support a, .ld-support .support-phone-num { color: inherit; }
/* номер в шапке: первые цифры видны, остальное растворяется; нажатие - номер целиком */
.support-phone { color: inherit; cursor: pointer; }
.support-phone .fa-phone { font-size: .85em; margin-right: 4px; }
.support-phone-fade { -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 92%); mask-image: linear-gradient(to right, #000 45%, transparent 92%); letter-spacing: .02em; }
.support-phone:hover .support-phone-fade { -webkit-mask-image: linear-gradient(to right, #000 60%, transparent 100%); mask-image: linear-gradient(to right, #000 60%, transparent 100%); }
.ld-head-phone, a.support-phone-num.ld-head-phone { font-weight: 600; color: var(--ld-navy, #1C2733); text-decoration: none; margin-right: 6px; white-space: nowrap; }
.ld-menu-phone { font-weight: 600; }
/* телефон в шапке - только когда есть место: иначе кнопка регистрации вылезает за край (1300-1430 px) */
@media (max-width: 1499px) { .ld-header-actions .ld-head-phone { display: none; } }
/* витрина: меню длиннее - на средних экранах номер сначала трубкой, после нажатия прячем «Войти» */
@media (max-width: 1500px) {
	.vt .ld-nav { gap: 12px; }
	.vt .ld-nav a { font-size: .86rem; }
	.vt .ld-header-actions .ld-head-phone .support-phone-fade { display: none; }
	.vt .ld-header-actions:has(a.support-phone-num) .ld-btn-dark { display: none; }
}

/* Клуб СЕМТАК: девиз и образец сертификата (no_aut.php, landing_exchange.php) */
.ld-club-slogan { font-family: var(--brand-serif); font-style: italic; font-size: 1.15rem; color: var(--ld-gold); margin: 6px 0 0; }
.ld-club-cert { background: linear-gradient(135deg, #f8f1dc, #fffaf0 55%, #efe2bb); border-radius: 16px; padding: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.35); transform: rotate(-1.5deg); }
.ld-club-cert-in { border: 2px solid #c9a227; outline: 1px solid rgba(201,162,39,.45); outline-offset: -8px; border-radius: 10px; padding: 26px 22px; text-align: center; color: #1C2733; }
.ld-club-seal { font-size: 46px; line-height: 1; color: #c9a227; }
.ld-club-cert-kicker { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #8a7a55; margin-top: 6px; }
.ld-club-cert-title { font-family: var(--brand-serif); font-size: 1.6rem; color: #1C2733; margin: 4px 0 14px; }
.ld-club-cert-name { font-size: 1.15rem; font-weight: 700; }
.ld-club-cert-type { font-size: .92rem; color: #6B6257; }
.ld-club-cert-state { display: inline-block; margin: 14px 0 10px; padding: 4px 14px; border-radius: 999px; background: #e7f4ea; color: #1e6b35; font-weight: 600; font-size: .9rem; }
.ld-club-cert-line { font-size: .85rem; color: #6B6257; }
.ld-club-cert-foot { margin-top: 14px; font-size: .78rem; color: #a39373; letter-spacing: .04em; }
@media (max-width: 900px) { .ld-club-cert { transform: none; max-width: 420px; } }
.ld-exchange .ld-ex-stats { gap: 22px; }
.ld-exchange .ld-ex-stat span { max-width: 170px; }

/* Схема вместо снимка в блоке split (vitrina.php): шаги сверху вниз */
.vt-flow { display: flex; flex-direction: column; align-items: stretch; gap: 6px; background: #FFFDF9; border: 1px solid var(--ld-line); border-radius: 16px; padding: 18px; }
.vt-flow > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; background: #fff; border: 1px solid var(--ld-line); border-radius: 12px; padding: 10px 12px; }
.vt-flow > div i { grid-row: span 2; color: var(--ld-gold); font-size: 1.3rem; text-align: center; }
.vt-flow > div b { color: var(--ld-navy); } .vt-flow > div span { font-size: .85rem; color: var(--ld-muted); }
.vt-flow-arr { align-self: center; color: var(--ld-muted); }

/* «Что значит СЕМТАК» в подвале (vitrina_layout.php, vtBrandMeaning) */
.vt-footer .vt-brand-meaning { margin: 22px 0 18px; font-size: .78rem; line-height: 1.45; color: var(--ld-muted); }
.vt-brand-meaning b { color: var(--ld-navy); font-weight: 600; }

/* ===================== Акция «Основатель»: счётчик мест (api/tariff_common.php tariffFounderPromoHtml) ===================== */
.ld-founders { padding: 56px 0; background: linear-gradient(120deg, #FBEFD9 0%, #F6E1C0 55%, #F1D3A6 100%); border-bottom: 1px solid var(--ld-line); }
.ld-founders-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.ld-founders-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--ld-orange); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .02em; text-transform: uppercase; }
.ld-founders h2 { font-size: 2.3rem; margin: 16px 0 12px; }
.ld-founders h2 span { color: var(--ld-orange); }
.ld-founders p { font-size: 1.1rem; color: var(--ld-navy-2); max-width: 620px; }
.ld-founders ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.ld-founders li { display: flex; gap: 10px; align-items: baseline; font-size: 1.02rem; color: var(--ld-navy); }
.ld-founders li i { color: var(--ld-orange); }
.ld-founders-note { margin-top: 10px; font-size: .88rem; color: var(--ld-muted); }
.ld-founders-counter { background: radial-gradient(500px 300px at 80% 0%, #2E3D4D 0%, var(--ld-navy) 70%); color: #fff; border-radius: 22px; padding: 34px 30px 28px; text-align: center; box-shadow: 0 24px 48px rgba(28, 39, 51, .28); position: relative; overflow: hidden; }
.ld-founders-counter::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 240px; height: 240px; border-radius: 50%; background: rgba(200, 150, 46, .16); }
.ld-founders-left { position: relative; font-size: 7.5rem; line-height: 1; font-weight: 800; color: var(--ld-gold); font-variant-numeric: tabular-nums; text-shadow: 0 6px 24px rgba(200, 150, 46, .35); }
.ld-founders-cap { position: relative; font-size: 1.25rem; font-weight: 600; margin: 6px 0 20px; }
.ld-founders-bar { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.ld-founders-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ld-gold), #E2B04A, var(--ld-orange)); }
.ld-founders-taken { position: relative; margin-top: 10px; font-size: .95rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) {
	.ld-founders { padding: 40px 0; }
	.ld-founders-grid { grid-template-columns: 1fr; gap: 26px; }
	.ld-founders-counter { order: -1; padding: 26px 22px 22px; }
	.ld-founders h2 { font-size: 1.75rem; }
	.ld-founders-left { font-size: 5.5rem; }
}

/* узкий экран: длинные надписи кнопок переносятся, а не уводят страницу вбок (проверочный проход 2026-11-03: /zakazchiku, /plan-obekta) */
@media (max-width: 480px) { .ld-btn { white-space: normal; text-align: center; max-width: 100%; } }
