@font-face{font-family:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url('../fonts/unbounded.ttf') format('truetype')}
/* Страница аренды /arenda (app/landing.py), стиль «сцена». Только классы lp-: остальной сайт и калькулятор не затрагиваются.
   Цвета точек, подсветки и сила свечения — из настроек (--lp-dot, --lp-accent, --lp-glow); тема — общая тема сайта. */
.lp { --lp-r: 12px; --lp-display: "Unbounded", system-ui, sans-serif; --lp-orange: var(--lp-accent, #ff6a00);
  --lp-bg: #f6f5f3; --lp-bg2: #fff; --lp-card: #fff; --lp-card2: #fbfaf8; --lp-line: #e6e3df; --lp-text: #17171a; --lp-muted: #62626b;
  --lp-link: #b44a00; --lp-chip: #f3f1ee; --lp-hatch-a: #ecebe8; --lp-hatch-b: #f4f3f1;
  --lp-g1: rgba(255, 106, 0, calc(.16 * var(--lp-glow, .6) / .6)); --lp-g2: rgba(255, 106, 0, calc(.06 * var(--lp-glow, .6) / .6));
  background: var(--lp-bg); color: var(--lp-text); }
html[data-theme="dark"] .lp { --lp-bg: #0b0b0d; --lp-bg2: #121215; --lp-card: #17171a; --lp-card2: #1e1e22; --lp-line: #2a2a2f;
  --lp-text: #f1f1f3; --lp-muted: #9a9aa3; --lp-link: #ff8a3d; --lp-chip: #232328; --lp-hatch-a: #1c1c20; --lp-hatch-b: #18181b;
  --lp-g1: rgba(255, 106, 0, calc(.3 * var(--lp-glow, .6) / .6)); --lp-g2: rgba(255, 106, 0, calc(.1 * var(--lp-glow, .6) / .6)); }
.lp-body { background: var(--bg); }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp-admin { background: var(--orange-soft); color: var(--orange-text); font-size: 13px; padding: 6px 24px; text-align: center; }
.lp-admin a { color: inherit; font-weight: 700; }
.lp :focus-visible { outline: 3px solid var(--lp-orange); outline-offset: 3px; }

.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.lp-btn-primary { background: var(--lp-orange); color: #0d0d0f; box-shadow: 0 6px 24px var(--lp-g1); }
.lp-btn-primary:hover { filter: brightness(.94); }
.lp-btn-line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.lp-btn-line:hover { border-color: #fff; }
.lp-btn-quiet { border-color: var(--lp-line); background: var(--lp-card); color: var(--lp-text); }
.lp-btn-quiet:hover { border-color: var(--lp-orange); }
.lp-btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* первый экран — тёмный в обеих темах («сцена») */
.lp-hero { position: relative; background: #0b0b0d; color: #fff; overflow: hidden; }
.lp-hero.has-img { background: #0b0b0d var(--lp-hero) right center / cover no-repeat; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,13,.97) 0%, rgba(11,11,13,.72) 45%, rgba(11,11,13,.15) 82%); }
.lp-hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -120px; top: -200px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,106,0,calc(.35 * var(--lp-glow, .6) / .6)), transparent 62%); }
.lp-hero .lp-wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 40px; }
.lp-eyebrow { font-size: 13px; letter-spacing: .08em; color: var(--lp-orange); text-transform: uppercase; font-weight: 600; }
.lp-hero h1 { font-family: var(--lp-display); font-weight: 700; font-size: clamp(34px, 5.6vw, 72px); line-height: 1.04; margin: 12px 0 0; max-width: 14ch; }
.lp-hero h1 em { font-style: normal; color: var(--lp-orange); }
.lp-hero p { font-size: 18px; max-width: 42ch; margin: 20px 0 28px; color: rgba(255,255,255,.8); line-height: 1.55; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-contacts { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.62); display: flex; gap: 18px; flex-wrap: wrap; }
.lp-contacts a { color: #fff; text-decoration: none; }
.lp-paths { margin-top: 38px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--lp-r); padding: 4px 20px 18px; max-width: 760px; }
.lp-tabs { display: flex; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.lp-tab { background: none; border: 0; border-bottom: 2px solid transparent; color: rgba(255,255,255,.6); font-weight: 600; font-size: 14px; padding: 12px 0 10px; cursor: pointer; }
.lp-tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--lp-orange); }
.lp-pane { padding-top: 14px; font-size: 15px; color: rgba(255,255,255,.78); }
.lp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 10px; }
.lp-lnk { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,106,0,.6); text-underline-offset: 4px; font-size: 14px; }
.lp-dim { color: rgba(255,255,255,.5); font-size: 13px; }

.lp-sec { padding: 80px 0; position: relative; }
.lp-tight { padding-top: 0; }
.lp-sec h2, .lp-final h2 { font-family: var(--lp-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; margin: 0 0 12px; }
.lp-dot { color: var(--lp-dot, #ff6a00); }
.lp-lead { color: var(--lp-muted); max-width: 60ch; margin: 0 0 32px; font-size: 17px; }
.lp-glow { background: radial-gradient(900px 340px at 15% 0%, var(--lp-g2), transparent 70%); }
.lp-alt { background: var(--lp-bg2); }
.lp-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lp-head .lp-btn { margin-bottom: 32px; }

.lp-ev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.lp-ev { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.lp-ev:hover { border-color: var(--lp-orange); transform: translateY(-2px); box-shadow: 0 10px 30px var(--lp-g2); }
.lp-ev-ph { aspect-ratio: 4/3; background: repeating-linear-gradient(135deg, var(--lp-hatch-a) 0 12px, var(--lp-hatch-b) 12px 24px); }
.lp-ev-ph img { width: 100%; height: 100%; object-fit: cover; }
.lp-ev-b { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lp-ev h3 { font-family: var(--lp-display); font-weight: 500; font-size: 19px; margin: 0; }
.lp-ev p { margin: 0; font-size: 14px; color: var(--lp-muted); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lp-chips li { font-size: 12.5px; background: var(--lp-chip); border-radius: 999px; padding: 3px 10px; }
.lp-go { margin-top: auto; font-weight: 700; color: var(--lp-link); text-decoration: none; font-size: 14px; }

.lp-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.lp-filter button { border: 1px solid var(--lp-line); background: var(--lp-card); color: var(--lp-text); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; cursor: pointer; }
.lp-filter button[aria-pressed="true"] { border-color: var(--lp-orange); color: var(--lp-link); box-shadow: 0 0 0 3px var(--lp-g2); }
.lp-shop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-item { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.lp-item:hover { border-color: var(--lp-orange); box-shadow: 0 10px 30px var(--lp-g2); }
.lp-item-ph { aspect-ratio: 1/1; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--lp-line); }
.lp-item-ph img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 10px; }
.lp-item-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lp-v { font-size: 12px; color: var(--lp-muted); }
.lp-item-n { font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--lp-text); text-decoration: none; }
.lp-item-n:hover { text-decoration: underline; }
.lp-pr { font-weight: 700; font-size: 16px; margin-top: auto; }
.lp-pr small { font-weight: 400; color: var(--lp-muted); font-size: 12.5px; }
.lp-av { font-size: 13.5px; font-weight: 700; color: var(--lp-link); text-decoration: none; }

.lp-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 14px; }
.lp-cat { position: relative; border-radius: var(--lp-r); overflow: hidden; background: #141417; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; border: 1px solid #26262b; transition: border-color .2s; }
.lp-cat:hover { border-color: var(--lp-orange); }
.lp-cat::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -110px; background: radial-gradient(circle, rgba(255,106,0,calc(.24 * var(--lp-glow, .6) / .6)), transparent 65%); }
.lp-cat.has-img { background: #141417 var(--lp-cat) center / cover no-repeat; }
.lp-cat.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,13,.92), rgba(11,11,13,.1) 70%); }
.lp-cat h3 { font-family: var(--lp-display); font-weight: 500; font-size: 18px; margin: 0 0 4px; position: relative; z-index: 1; }
.lp-cat span { font-size: 13px; color: rgba(255,255,255,.7); position: relative; z-index: 1; }
.lp-cat .lp-cat-ico { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; color: var(--lp-orange); z-index: 1; }
.lp-cat .lp-cat-ico svg { width: 100%; height: 100%; }
.lp-svc { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 14px; }
.lp-svc a { color: var(--lp-text); }
.lp-dim2 { color: var(--lp-muted); }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; }
.lp-steps li { counter-increment: s; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-r); padding: 20px; }
.lp-steps li::before { content: "0" counter(s); font-family: var(--lp-display); font-weight: 700; font-size: 30px; color: var(--lp-orange); display: block; margin-bottom: 8px; text-shadow: 0 0 22px var(--lp-g1); }
.lp-steps b { display: block; font-size: 17px; margin-bottom: 6px; }
.lp-steps p { margin: 0; color: var(--lp-muted); font-size: 14.5px; }

.lp-pro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 14px; padding: 28px 32px; }
.lp-pro h2 { font-size: clamp(22px, 2.4vw, 30px) !important; }
.lp-pro ul { margin: 0; padding-left: 18px; color: var(--lp-muted); }
.lp-pro-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.lp-pro small { display: block; color: var(--lp-muted); font-size: 13px; margin-top: 10px; text-align: right; }

.lp-faq { max-width: 820px; }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 16px 30px 16px 0; list-style: none; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font-size: 24px; color: var(--lp-orange); }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq p { margin: 0 0 16px; color: var(--lp-muted); max-width: 66ch; }

/* форма — на тёмном фоне в обеих темах, сама форма — цветами темы сайта */
.lp-final { background: #0b0b0d; color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.lp-final::before { content: ""; position: absolute; width: 700px; height: 700px; left: -260px; bottom: -380px; background: radial-gradient(circle, rgba(255,106,0,calc(.28 * var(--lp-glow, .6) / .6)), transparent 62%); }
.lp-final .lp-wrap { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.lp-info p { color: rgba(255,255,255,.72); max-width: 42ch; }
.lp-big { color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; display: block; margin-top: 8px; }
.lp-mail { color: #fff; display: block; margin-top: 8px; }
.lp-info small { display: block; color: rgba(255,255,255,.5); margin-top: 8px; }
.lp-form { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.lp-fmt { border: 1px solid var(--lp-orange); background: var(--orange-soft); color: var(--orange-text); border-radius: 8px; padding: 8px 12px; font-size: 14px; margin-bottom: 12px; }
.lp-mbar { display: none; }

@media (max-width: 1000px) { .lp-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .lp-hero.has-img { background-position: 70% center; }
  .lp-hero::before { background: linear-gradient(0deg, rgba(11,11,13,.97) 45%, rgba(11,11,13,.55) 100%); }
  .lp-hero .lp-wrap { padding-top: 48px; }
  .lp-hero.has-img .lp-wrap { padding-top: 170px; }
  .lp-hero p { font-size: 16px; }
  .lp-actions .lp-btn { flex: 1 1 100%; }
  .lp-paths { padding: 2px 14px 14px; }
  .lp-sec { padding: 56px 0; } .lp-tight { padding-top: 0; }
  .lp-pro { grid-template-columns: 1fr; padding: 22px; } .lp-pro-acts { justify-content: flex-start; } .lp-pro small { text-align: left; }
  .lp-final { padding: 56px 0; } .lp-final .lp-wrap { grid-template-columns: 1fr; gap: 24px; }
  .lp-form { padding: 18px; }
  .lp-body { padding-bottom: 68px; }
  .lp-mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #0b0b0d; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 3px solid var(--lp-orange); }
  .lp-mbar .lp-btn { flex: 1; min-height: 44px; font-size: 14px; padding: 0 10px; }
}
@media (max-width: 560px) { .lp-wrap { padding: 0 16px; } .lp-cats { grid-template-columns: 1fr; grid-auto-rows: 150px; } .lp-shop { gap: 8px; } }
@media (prefers-reduced-motion: no-preference) {
  .lp-hero h1, .lp-hero p, .lp-actions, .lp-paths { animation: lp-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .lp-hero p { animation-delay: .06s; } .lp-actions { animation-delay: .12s; } .lp-paths { animation-delay: .2s; }
  @keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } }
}

/* слайд-шоу главной справа на первом экране (настройка «Справа на первом экране») */
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.lp-hero.has-slides .lp-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
.lp-hero-slides .hero-site-card { max-width: 440px; margin-left: auto; color: var(--text); }
@media (max-width: 900px) { .lp-hero.has-slides .lp-hero-grid { grid-template-columns: minmax(0, 1fr); } .lp-hero-slides .hero-site-card { margin: 0 auto; } }
.lp-hero-slides .hero-site-card { background: #fff; color: #17171a; } .lp-hero-slides .hero-site-card .cap b { color: #17171a; } .lp-hero-slides .hero-site-card .muted { color: #6b6b73; }

/* плитки «Что можно арендовать» — карточки направлений главной (значок, подпись, анимация при наведении)
   на тёмном фоне в обеих темах, с оранжевым свечением в углу */
.lp-dirs { margin-bottom: 0; }
.lp .lp-dir { background: radial-gradient(circle at 100% 0, rgba(255,106,0,calc(.32 * var(--lp-glow, .6) / .6)), transparent 58%), #141417;
  border-color: #26262b; }
.lp .lp-dir:hover, .lp .lp-dir:focus-visible { border-color: var(--lp-orange); }
.lp .lp-dir .dir-ico { color: var(--lp-orange); }
.lp .lp-dir::after { background: var(--lp-orange); }

/* витрина: число карточек в ряд — из настройки (позиции ÷ ряды); на узких экранах — меньше */
.lp .lp-shop { grid-template-columns: repeat(var(--lp-cols, 4), minmax(0, 1fr)); }
.lp .lp-shop .lp-item-n { font-size: clamp(12.5px, calc(20px - var(--lp-cols, 4) * 1px), 15px); }
@media (max-width: 1000px) { .lp .lp-shop { grid-template-columns: repeat(min(var(--lp-cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 700px) { .lp .lp-shop { grid-template-columns: repeat(min(var(--lp-cols, 4), 2), minmax(0, 1fr)); } }
