/* odoo-rf.ru — Odoo consulting (plum / slate) */
:root {
  --bg: #0f0d12; --bg-elevated: #17141c; --surface: #1f1b26; --border: rgba(113, 75, 103, 0.2);
  --text: #faf5ff; --muted: #a1a1aa; --accent: #714b67; --accent-2: #c084fc;
  --accent-glow: rgba(113, 75, 103, 0.4); --radius: 12px; --radius-lg: 20px;
  --font: "IBM Plex Sans", system-ui, sans-serif; --font-display: "IBM Plex Sans", var(--font); --max: 960px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--text); background: var(--bg); }
a { color: var(--accent-2); text-decoration: none; }
.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15,13,18,0.92); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; gap: 1rem; flex-wrap: wrap; }
.logo { font: 700 1.1rem var(--font-display); color: var(--text); text-decoration: none; }
.logo em { font-style: normal; color: var(--accent-2); font-weight: 600; }
.nav-pages { display: flex; gap: 1rem; font-size: 0.9rem; }
.nav-pages a { color: var(--muted); }
.nav-pages a.is-active, .nav-pages a:hover { color: var(--text); }
.btn { display: inline-flex; padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 600; font-size: 0.92rem; text-decoration: none; border: none; cursor: pointer; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--ghost { border: 1px solid var(--border); color: var(--text); background: transparent; }
.hero { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.15; margin: 0 0 1rem; font-weight: 700; }
.hero__lead { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin: 0 0 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.section { padding: 2.75rem 0; }
.section h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.25rem; }
.steps { display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.step__num { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.site-footer { padding: 2rem 0 3rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: none; grid-template-columns: repeat(3, 1fr); background: var(--bg-elevated); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar__action { min-height: 52px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.7rem; font-weight: 600; text-decoration: none; border: none; background: none; cursor: pointer; }
.nav-toggle { display: none; }
.nav-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.55); border: none; }
.nav-overlay[hidden] { display: none; }
@media (max-width: 899px) {
  .mobile-bar { display: grid; } body { padding-bottom: 4rem; }
  .nav-pages { display: none; position: fixed; top: 0; right: 0; bottom: 3.5rem; width: min(18rem, 92vw); background: var(--bg-elevated); border-left: 1px solid var(--border); padding: 1rem; flex-direction: column; z-index: 100; }
  .nav-pages.is-open { display: flex; }
  .nav-toggle { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; color: var(--text); }
  .nav-toggle__icon { width: 18px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
}

.figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow, none); }
.figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.figure--portrait img { aspect-ratio: 4/5; }
.figure figcaption { padding: 0.55rem 0.85rem; font-size: 0.76rem; color: var(--muted); background: var(--surface, var(--bg-elevated)); }
.card--media { padding: 0; overflow: hidden; display: block; color: inherit; text-decoration: none; }
.card--media .card__body { padding: 1.15rem 1.25rem; }
.card--media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card--media:hover { text-decoration: none; }
.split { display: grid; gap: 2rem; align-items: center; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.gallery .figure img { aspect-ratio: 4/3; }
.stats { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin: 1.5rem 0 0; }
.stat { font-size: 0.88rem; color: var(--muted); }
.stat strong { display: block; font-size: 1.35rem; color: var(--text); line-height: 1.2; }
.split-band { display: grid; gap: 2rem; align-items: center; padding: 2rem 0; }
@media (min-width: 900px) { .split, .split-band { grid-template-columns: 1fr 1fr; } .hero__grid.has-media { grid-template-columns: 1.05fr 0.95fr; } }
