/* ALEXO Engineering — стили сайта. Цвета акцента задаются в config.json */
:root {
  --ink: #14171A;
  --ink-2: #4A504B;
  --line: #DADDD6;
  --line-2: #A9AFA8;
  --ground: #F3F4F1;
  --white: #FFFFFF;
  --dark: #0A2A55;
  --dark-2: #0E356B;
  --dark-line: #1E4F8F;
  --dark-text: #F3F4F1;
  --dark-muted: #CFDBEE;
  --accent: #0057B7;
  --accent-dark: #00468F;
  --accent-light: #FFD500;
  --radius: 8px;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 6px; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: #6F8FBF; color: var(--dark-text); background: transparent; }
.btn-ghost:hover { border-color: var(--dark-text); color: var(--dark-text); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: var(--dark-text); border-bottom: 1px solid var(--dark-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--dark-text); text-decoration: none; }
.logo svg { color: var(--accent-light); flex: none; }
.logo:hover { color: var(--dark-text); }
.logo-name { font-weight: 700; font-size: 19px; letter-spacing: .05em; }
.logo-tag { font-family: var(--mono); font-size: 12px; color: var(--dark-muted); }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.main-nav a:not(.btn) { color: var(--dark-text); text-decoration: none; padding: 10px 0; }
.main-nav a:not(.btn):hover { color: var(--accent-light); }
.nav-tg { font-family: var(--mono); font-size: 14px; }
.menu-btn { display: none; background: transparent; color: var(--dark-text); border: 1px solid #5B625D; border-radius: 6px; font: inherit; font-size: 15px; min-height: 44px; padding: 8px 14px; cursor: pointer; }
@media (max-width: 1080px) {
  .logo-tag { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); border-bottom: 1px solid var(--dark-line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--dark-line); }
  .main-nav .btn { margin-top: 14px; }
}

/* Секции */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--dark); color: var(--dark-text); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow.light { color: var(--accent-light); }
h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 860px; margin-bottom: 18px; }
.h-small { font-size: 22px; margin-bottom: 24px; }
.section-lead { font-size: 18px; color: var(--ink-2); max-width: 760px; margin-bottom: 40px; }
.dark .section-lead { color: var(--dark-muted); }
.note { margin-top: 20px; color: var(--ink-2); font-size: 15px; }

/* Первый экран */
.hero { padding: 80px 0 88px; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 540px; min-width: 0; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; margin-bottom: 24px; }
.lead { font-size: 19px; color: var(--dark-muted); max-width: 600px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 14px; }
.hero-points li { border: 1px solid #5B625D; border-radius: 999px; padding: 7px 14px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--dark-muted); font-family: var(--mono); }
.hero-visual { flex: 1 1 420px; min-width: 0; }
.hero-visual img, .hero-visual svg { width: 100%; height: auto; border-radius: var(--radius); }

/* Цифры */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.fact-num { font-family: var(--mono); font-size: 28px; font-weight: 500; }
.facts p:not(.fact-num) { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* Для кого */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.industries li { border-left: 3px solid var(--accent); background: var(--white); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.industries strong { display: block; font-size: 17px; }
.industries span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* Карточки услуг */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card svg { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Процесс */
.process { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; counter-reset: none; }
.process li { border-top: 2px solid var(--accent); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step-num { font-family: var(--mono); color: var(--accent); font-size: 14px; }
.process h3 { font-size: 18px; }
.process p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.process .deliverable { margin-top: auto; padding-top: 8px; color: var(--ink); font-weight: 500; font-size: 14px; }
.model { margin-top: 48px; background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 900px; }
.model h3 { font-size: 19px; margin-bottom: 8px; }
.model p { color: var(--ink-2); }

/* Таблицы */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 460px; background: var(--white); }
.spec caption { text-align: left; font-family: var(--mono); font-size: 13px; color: var(--ink-2); padding-bottom: 12px; }
.spec thead th { background: var(--dark); color: var(--dark-text); font-weight: 600; text-align: left; padding: 13px 16px; }
.spec td, .spec tbody th { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec tbody th { font-weight: 500; }
.spec td { font-family: var(--mono); font-size: 15px; }
.spec-wide tbody th { width: 34%; font-family: var(--sans); }
.spec-wide td { font-family: var(--sans); font-size: 16px; }
.muted { color: var(--ink-2); }

/* Сплит-блоки */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split-center { align-items: center; }
.split-narrow { flex: 1 1 360px; min-width: 0; }
.split-wide { flex: 2 1 560px; min-width: 0; }
.split-half { flex: 1 1 440px; min-width: 0; }
.photo { width: 100%; height: auto; border-radius: var(--radius); margin-top: 24px; }
.visual-box svg { width: 100%; height: auto; border-radius: var(--radius); }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Качество */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 16px; }
.pillars > div { border-top: 2px solid var(--accent-light); padding-top: 20px; }
.pillars h3 { font-size: 19px; margin-bottom: 10px; }
.pillars p { color: var(--dark-muted); font-size: 15px; }
.pillars a { color: var(--accent-light); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 8px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--mono); font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* Контакты */
.contacts { margin: 0 0 24px; display: grid; gap: 12px; }
.contacts div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.contacts dt { color: var(--ink-2); min-width: 80px; }
.contacts dd { margin: 0; font-weight: 500; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }

/* Форма */
.rfq { background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 640px) { .rfq { grid-template-columns: 1fr; padding: 20px; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.rfq label, .rfq legend { font-size: 14px; font-weight: 500; }
.rfq fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rfq legend { padding: 0; margin-bottom: 8px; }
.rfq input[type=text], .rfq input[type=email], .rfq input[type=url], .rfq textarea {
  font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--white); color: var(--ink); min-height: 46px; width: 100%;
}
.rfq input[type=file] { font: inherit; font-size: 14px; padding: 10px; border: 1px dashed var(--line-2); border-radius: 6px; background: var(--white); min-height: 46px; width: 100%; }
.rfq textarea { resize: vertical; min-height: 110px; }
.rfq input:focus, .rfq textarea:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 0; }
.rfq [aria-invalid="true"] { border-color: #B42318 !important; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }
.radios { display: grid; gap: 6px; }
.radios-row { grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 22px; }
@media (max-width: 520px) { .radios-row { grid-template-columns: repeat(2, auto); } }
.checks label, .radios label, .check-line { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; min-height: 36px; cursor: pointer; }
.checks input, .radios input, .check-line input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin: 0; }
.req { color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: var(--ink-2); }
.form-status { font-weight: 500; min-height: 1.6em; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-error { color: #B42318; }

/* Текстовые страницы */
.prose { max-width: 860px; }
.prose h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 16px; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; }
.prose p + p { margin-top: 12px; }
.prose .spec { margin-bottom: 16px; }

/* Подвал */
.site-footer { background: var(--dark); color: var(--dark-muted); font-size: 15px; padding-top: 48px; }
.site-footer a { color: var(--dark-text); }
.site-footer a:hover { color: var(--accent-light); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-bottom: 32px; }
.footer-grid p + p { margin-top: 6px; }
.footer-brand { color: var(--dark-text); font-weight: 700; letter-spacing: .04em; font-size: 18px; }
.footer-h { color: var(--dark-text); font-weight: 600; margin-bottom: 10px; }
.socials-footer a { border-color: #5B625D; color: var(--dark-text); }
.socials-footer a:hover { border-color: var(--accent-light); color: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--dark-line); padding-top: 18px; padding-bottom: 24px; font-size: 14px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .wrap { padding: 0 16px; }
  .actions .btn { flex: 1 1 100%; }
}

.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-light); }
/* Жёлто-синяя полоса под шапкой */
.site-header { box-shadow: inset 0 -3px 0 var(--accent-light); }
.btn-accent { box-shadow: inset 0 -3px 0 rgba(255,213,0,.9); }

/* На синих блоках главная кнопка — жёлтая */
.dark .btn-accent, .site-header .btn-accent { background: var(--accent-light); color: #0A2A55; box-shadow: none; }
.dark .btn-accent:hover, .site-header .btn-accent:hover { background: #FFE14D; color: #0A2A55; }
.hero-points li, .menu-btn { border-color: #6F8FBF; }
.socials-footer a { border-color: #6F8FBF; }

/* ===== Интерактивность: кнопки, карточки, ссылки ===== */
.btn { gap: 10px; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10, 42, 85, .18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-accent::after, .btn-outline::after { content: "→"; font-weight: 500; transition: transform .15s; }
.btn:hover::after { transform: translateX(3px); }
.btn-sm::after { content: none; }

.card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card-link:hover { color: inherit; border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10, 42, 85, .12); }
.card-cta { margin-top: auto; padding-top: 16px; color: var(--accent); font-weight: 600; font-size: 15px; }
.card-link:hover .card-cta { text-decoration: underline; text-underline-offset: 4px; }

.industries a { display: block; color: inherit; text-decoration: none; height: 100%; }
.industries li { transition: transform .15s, box-shadow .15s, border-color .15s; }
.industries li:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 42, 85, .10); border-left-color: var(--accent-light); }
.industries strong::after { content: " →"; color: var(--accent); }

.link-more, .note a { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.prose a, .faq a, .consent a { text-decoration: underline; text-decoration-thickness: 1px; }

/* Активный пункт меню */
.main-nav a.is-active:not(.btn) { color: var(--accent-light); box-shadow: inset 0 -2px 0 var(--accent-light); }

/* FAQ: наведение */
.faq summary:hover { color: var(--accent); }

/* Плавающие кнопки */
.float-bar { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; gap: 10px; align-items: center; }
.float-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 8px 24px rgba(10, 42, 85, .25); transition: transform .15s, opacity .2s; }
.float-btn:hover { transform: translateY(-2px); }
.float-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-tg { background: var(--accent); color: #fff; }
.float-tg:hover { color: #fff; }
.float-rfq { display: none; background: var(--accent-light); color: #0A2A55; }
.float-rfq:hover { color: #0A2A55; }
.float-top { background: var(--white); color: var(--ink); padding: 0; border: 1px solid var(--line); opacity: 0; pointer-events: none; }
.float-top.is-visible { opacity: 1; pointer-events: auto; }
.float-top:hover { color: var(--accent); }
@media (max-width: 640px) {
  .float-bar { left: max(16px, env(safe-area-inset-left, 0px)); }
  .float-tg span { display: none; }
  .float-rfq { display: inline-flex; flex: 1; }
  .site-footer { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .btn:hover, .card-link:hover, .industries li:hover, .float-btn:hover { transform: none; } }

/* ===== Редизайн: первый экран с формой расчёта ===== */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.circuit-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .35; }
.circuit-bg .trace { stroke: var(--accent-light); stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s ease-out forwards; }
.circuit-bg .t2 { animation-delay: .2s; } .circuit-bg .t3 { animation-delay: .4s; } .circuit-bg .t4 { animation-delay: .6s; }
.circuit-bg .t5 { animation-delay: .8s; } .circuit-bg .t6 { animation-delay: 1s; }
.circuit-bg .pads circle { fill: var(--accent-light); opacity: 0; animation: pad .4s ease-out 2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pad { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .circuit-bg .trace { animation: none; stroke-dashoffset: 0; } .circuit-bg .pads circle { animation: none; opacity: 1; } }
.hero h1 .hl { color: var(--accent-light); }
.hero-row { align-items: flex-start; }
.hero-text { padding-top: 12px; }

.quick { flex: 0 1 460px; min-width: 0; margin-left: auto; background: var(--white); color: var(--ink); border-radius: 12px; padding: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); display: grid; gap: 14px; border-top: 6px solid var(--accent-light); }
.quick-badge { justify-self: start; background: #E6EFFA; color: var(--accent); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.quick-title { font-size: 24px; margin: 0; }
.quick-sub { color: var(--ink-2); font-size: 15px; }
.drop { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 18px; border: 2px dashed #9FB7DA; border-radius: 10px; background: #F4F8FD; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: #E9F1FC; }
.drop svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop-text { font-weight: 600; color: var(--accent); }
.drop-hint { font-size: 13px; color: var(--ink-2); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.quick .q-company { margin-bottom: 10px; }
.quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .quick-row { grid-template-columns: 1fr; } }
.quick input[type=text] { font: inherit; font-size: 16px; padding: 12px; border: 1px solid var(--line-2); border-radius: 6px; min-height: 48px; width: 100%; background: var(--white); color: var(--ink); }
.quick input[type=text]:focus { border-color: var(--accent); outline: 2px solid #CFE0F5; }
.quick .btn-accent { background: var(--accent); color: #fff; }
.quick .btn-accent:hover { background: var(--accent-dark); color: #fff; }
.quick-foot { font-size: 13px; color: var(--ink-2); text-align: center; }
.quick .form-status { font-size: 14px; }
@media (max-width: 1000px) { .quick { margin-left: 0; flex: 1 1 100%; } }

.fact-num small { font-size: 16px; color: var(--ink-2); margin-left: 2px; }
.facts .fact-num { color: var(--accent); font-size: 36px; }

/* Жёлтая полоса-призыв */
.cta-band { background: var(--accent-light); color: #0A2A55; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px; }
.cta-text { font-size: 20px; max-width: 760px; }
.btn-dark { background: #0A2A55; color: #fff; }
.btn-dark:hover { background: #061C3A; color: #fff; }
.btn-dark::after { content: "→"; }

/* Сравнение */
.compare { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); background: var(--ground); }
.compare thead th.us { background: var(--accent); color: #fff; }
.compare td.us { background: #F2F7FD; font-weight: 600; color: var(--ink); position: relative; padding-left: 44px; }
.compare td.us::before { content: ""; position: absolute; left: 20px; top: 22px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.compare td:not(.us) { color: var(--ink-2); }
.compare tbody th { width: 24%; font-weight: 600; }

/* Батареи-карточки */
.batt-head { display: flex; flex-wrap: wrap; gap: 0 48px; align-items: flex-end; }
.batt-head h2 { flex: 1 1 380px; }
.batt-head .section-lead { flex: 1 1 420px; margin-bottom: 18px; font-size: 16px; }
.batt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.batt { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 28px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.batt:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10, 42, 85, .12); border-color: var(--accent); }
.batt-featured { background: #0A2A55; color: #fff; border-color: #0A2A55; }
.batt-featured .batt-spec dt { color: #CFDBEE; }
.batt-featured .btn-accent { background: var(--accent-light); color: #0A2A55; box-shadow: none; }
.batt-tag { position: absolute; top: -12px; left: 24px; background: var(--accent-light); color: #0A2A55; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.batt-name { font-family: var(--mono); font-size: 15px; letter-spacing: .06em; }
.batt-big { font-family: var(--mono); font-size: 52px; line-height: 1; font-weight: 500; }
.batt-big small { font-size: 22px; }
.cells { display: grid; grid-template-columns: repeat(6, 18px); gap: 4px; }
.cells i { display: block; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7FA8DE, var(--accent)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.batt-featured .cells i { background: radial-gradient(circle at 35% 35%, #FFF2A6, var(--accent-light)); }
.batt-spec { margin: 0; display: grid; gap: 6px; }
.batt-spec div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(127,127,127,.35); padding-bottom: 6px; }
.batt-spec dt { color: var(--ink-2); }
.batt-spec dd { margin: 0; font-family: var(--mono); }
.batt .btn { margin-top: auto; }
.batt-more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; border: 1px dashed var(--line-2); border-radius: 10px; padding: 18px 22px; }
.batt-more .actions { margin-top: 0; }
.cells { min-height: 62px; align-content: start; }
@media (max-width: 760px) { .circuit-bg { opacity: .12; } }
.cta-row .actions { margin-top: 0; }
.btn-dark-outline { border-color: #0A2A55; color: #0A2A55; background: transparent; }
.btn-dark-outline:hover { background: #0A2A55; color: #fff; }
.quick-foot a { color: var(--accent); font-weight: 600; }

/* Переключатель языка */
.lang-switch { display: inline-flex; border: 1px solid #6F8FBF; border-radius: 999px; overflow: hidden; font-family: var(--mono); font-size: 13px; }
.main-nav .lang-switch a { padding: 6px 10px; color: var(--dark-text); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.main-nav .lang-switch a[aria-current="true"] { background: var(--accent-light); color: #0A2A55; font-weight: 600; }
.main-nav .lang-switch a:not([aria-current]):hover { background: rgba(255,255,255,.1); }
@media (max-width: 1080px) { .main-nav .lang-switch { align-self: flex-start; margin-top: 14px; } .main-nav .lang-switch a { border-bottom: 0; padding: 8px 14px; } }

.batt-note{font-size:.85rem;color:var(--muted,#5b6b82);margin:0 0 .75rem}
