/* LL GLOBAL — llenergo.com */
:root {
  --navy: #12305a;
  --navy-2: #0d2443;
  --teal: #008c78;
  --teal-2: #00a58d;
  --ink: #1c2b39;
  --muted: #566778;
  --steel: #cfd9e0;
  --steel-2: #ebf0f3;
  --paper: #ffffff;
  --radius: 6px;
  --font: "Geologica", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 300 17px/1.6 var(--font); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.005em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--steel); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; color: var(--navy); letter-spacing: .06em; font-size: 15px; }
.mark { width: 30px; height: 30px; flex: none; }
.mark rect { fill: var(--navy); }
.mark path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mark path.z { stroke: var(--teal-2); stroke-width: 2; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a, .lang { text-decoration: none; font-weight: 400; font-size: 15px; color: var(--ink); }
.top nav a:hover, .lang:hover { color: var(--teal); }
.lang { border: 1px solid var(--steel); border-radius: 999px; padding: 4px 12px; font-weight: 500; }

/* ---------- кнопки ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 10px 24px; border-radius: var(--radius);
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; line-height: 1.2; border: 1px solid var(--navy); }
.btn:hover { background: var(--navy-2); }
.btn small { font-weight: 300; font-size: 12.5px; opacity: .75; margin-top: 3px; }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--steel); }
.btn.ghost:hover { border-color: var(--navy); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--steel-2); }

/* ---------- первый экран и схема ---------- */
.hero { background: linear-gradient(180deg, var(--steel-2), #f6f8f9 70%, var(--paper)); padding: 72px 0 40px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); max-width: 17ch; letter-spacing: -0.025em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; margin-top: 20px; }
.sld-wrap { margin-top: 56px; margin-bottom: 0; }
.sld-scroll { overflow-x: auto; background: var(--paper); border: 1px solid var(--steel); border-radius: 10px; padding: 18px 12px 10px; }
.sld { display: block; width: 100%; min-width: 860px; height: auto; font-family: var(--font); }
.sld-wrap figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.sld .wire { fill: none; stroke: var(--steel); stroke-width: 3; }
.sld .flow { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: flow 2.2s cubic-bezier(.45,.05,.25,1) .3s forwards; }
@keyframes flow { to { stroke-dashoffset: 0; } }
.sld .sym { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; }
.sld .sym.fill { fill: var(--navy); }
.sld .box { fill: var(--paper); stroke: var(--navy); stroke-width: 2.2; }
.sld .box.t { fill: none; }
.sld .gap { fill: var(--paper); stroke: none; }
.sld .cell { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 5 4; }
.sld .bus { stroke: var(--navy); stroke-width: 6; stroke-linecap: round; }
.sld .kv { font-size: 15px; font-weight: 600; fill: var(--teal); }
.sld .lbl { font-size: 13.5px; font-weight: 400; fill: var(--ink); }
.sld .tick { stroke: var(--steel); stroke-width: 1; }
.sld .arrow { stroke: var(--teal); }
.sld .node { cursor: pointer; }
.sld .node:hover .lbl, .sld .node:focus-visible .lbl { fill: var(--teal); font-weight: 500; }
.sld .node:hover .box, .sld .node:hover .sym, .sld .node:focus-visible .box { stroke: var(--teal); }
.sld .node:hover .cell { stroke: var(--teal); }
.sld .node:hover .tick { stroke: var(--teal); }

/* ---------- ассортимент ---------- */
section { padding: 88px 0; }
.hero { padding-bottom: 40px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.sec-head p { color: var(--muted); }
.cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--steel); }
.cat a { display: grid; grid-template-columns: 132px minmax(0, 1.1fr) minmax(0, 1.4fr) 40px; align-items: center; gap: 28px;
  padding: 14px 8px; border-bottom: 1px solid var(--steel); text-decoration: none; }
.cat a:hover { background: var(--steel-2); }
.cat a:hover .cat-name { color: var(--teal); }
.cat-pic { height: 88px; display: flex; align-items: center; justify-content: center; background: var(--steel-2); border-radius: 4px; overflow: hidden; }
.cat-pic img { max-height: 80px; width: auto; mix-blend-mode: multiply; }
.cat-name { font-size: 1.2rem; font-weight: 500; color: var(--navy); line-height: 1.25; }
.cat-models { font-size: 14.5px; color: var(--muted); }
.cat-models .k { color: var(--ink); font-weight: 400; }
.cat-count { justify-self: end; font-size: 1.4rem; font-weight: 300; color: var(--teal); font-variant-numeric: tabular-nums; }

/* ---------- как работаем ---------- */
.how { background: var(--steel-2); }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 0 28px 0 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--steel); }
.steps .n { display: block; font-size: 3rem; font-weight: 200; color: var(--teal); line-height: 1; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* ---------- каталог и контакты ---------- */
.cat-band { background: var(--navy); color: #dbe6f2; padding: 64px 0; }
.cat-band h2 { color: #fff; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band-in p { margin-top: 10px; max-width: 58ch; }
.contact-in { text-align: center; }
.contact-in p { color: var(--muted); max-width: 54ch; margin: 14px auto 26px; }
.mail { font-size: clamp(1.5rem, 4vw, 2.6rem); font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 2px; overflow-wrap: anywhere; }
.mail:hover { color: var(--teal); }

/* ---------- подвал ---------- */
.foot { border-top: 1px solid var(--steel); padding: 40px 0 24px; font-size: 15px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-in p { margin-top: 10px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--teal); }
.copy { margin-top: 28px; font-size: 13px; }

/* ---------- страница продукции ---------- */
.page-head { background: var(--steel-2); padding: 56px 0 44px; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-head .btn { margin-top: 26px; }
.chips { position: sticky; top: 64px; z-index: 10; display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; background: var(--paper); border-bottom: 1px solid var(--steel); scrollbar-width: thin; }
.chip { flex: none; font: 400 14.5px var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--steel); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.group { padding: 48px 0 8px; }
.group[hidden] { display: none; }
.group > h2 { font-size: 1.6rem; margin-bottom: 22px; }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.prod { display: flex; flex-direction: column; border: 1px solid var(--steel); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.p-pic { background: var(--steel-2); height: 230px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.p-pic img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.p-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.p-models { font-size: 14px; font-weight: 500; color: var(--teal); }
.prod h3 { margin-top: 4px; }
.p-desc { font-size: 15px; color: var(--muted); margin-top: 8px; }
.specs { margin: 14px 0 0; font-size: 14.5px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dotted var(--steel); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; text-align: right; color: var(--ink); }
.p-req { margin-top: auto; padding-top: 16px; align-self: flex-start; font-weight: 500; font-size: 15px; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--teal); }
.p-req:hover { color: var(--teal); }
.nf { padding: 110px 0; }

/* ---------- адаптив ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cat a { grid-template-columns: 96px 1fr 32px; gap: 6px 18px; }
  .cat-pic { grid-row: span 2; height: 76px; }
  .cat-models { grid-column: 2; grid-row: 2; }
  .cat-count { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-in { gap: 14px; }
  .top nav { gap: 14px; }
  .top nav a:not(:first-child) { display: none; }
  .brand span { display: none; }
  section { padding: 64px 0; }
  .hero { padding-top: 44px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 0; border: 0; }
  .prods { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sld .flow { animation: none; stroke-dashoffset: 0; }
}
.sym-pic svg { width: 70%; height: auto; max-height: 150px; }
