/* ====== THEME ====== */
:root{
  --bg:#0b1117;
  --panel:#121821;
  --panel2:#0f141b;
  --stroke:#1b2230;
  --text:#e8edf3;
  --muted:#9aa6b2;
  --accent:#ff7a00;
  --accent2:#ff5500;
  --ok:#16a34a;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 8px;          /* зменшено з 16px */
  --radius2: 10px;        /* зменшено з 20px */
  --bg-1: var(--bg);              /* основной */
  --bg-2: #141414;                /* чуть светлее */
  --bg-3: #101010;                /* чуть темнее */
}

*{box-sizing:border-box;margin:0;padding:0;font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);overflow-x:hidden}
a{color:inherit}
.container{width:1200px;margin:0 auto}

/* ====== HEADER ====== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10,14,18,0.9);
  backdrop-filter: blur(8px);
}

body {
  padding-top: 90px;
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:18px}
.logo{text-decoration:none;font-weight:800;font-size:22px;letter-spacing:.2px;display:flex;align-items:baseline;gap:2px}
.logoMark{color:var(--accent)}
.logoDot{color:var(--accent)}
.logoSub{color:#fff}
.navRight{display:flex;gap:12px;align-items:center}

.iconBtn{border:1px solid var(--stroke);background:rgba(255,255,255,.02);color:var(--text);border-radius:6px; /* було 12px */ padding:10px 12px;cursor:pointer;transition:.2s}
.iconBtn:hover{border-color:rgba(255,122,0,.45);box-shadow:0 0 0 4px rgba(255,122,0,.10)}

.burger{display:none;flex-direction:column;gap:6px;border:none;background:transparent;cursor:pointer}
.burger span{width:26px;height:2px;background:rgba(255,255,255,.75);border-radius:2px}

.mobileMenu{display:none;border-top:1px solid var(--stroke);padding:14px 0}
.mobileMenu a{display:block;text-decoration:none;padding:12px 0;opacity:.9}
.w100{width:100%}

/* ====== BUTTONS ====== */
.btn{border:none;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 18px;border-radius:6px; /* було 12px */ font-weight:700;font-size:13px;letter-spacing:.15px;transition:.25s}
.btnPrimary{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;box-shadow:0 10px 30px rgba(255,122,0,.18)}
.btnPrimary:hover{transform:translateY(-1px);box-shadow:0 18px 40px rgba(255,122,0,.26)}
.btnPrimary {
  min-width: 140px;
  text-align: center;
}
.btnGhost{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.10);color:#fff}
.btnGhost:hover{background:rgba(255,255,255,.04);border-color:rgba(255,122,0,.35)}

/* ====== HERO ====== */
.hero{position:relative;padding:45px 0 62px;background:
  radial-gradient(900px 450px at 78% 34%, rgba(255,122,0,.22), rgba(255,122,0,0) 55%),
  radial-gradient(900px 450px at 25% 20%, rgba(255,255,255,.06), rgba(255,255,255,0) 55%);}
.heroGlow{position:absolute;inset:-200px -200px auto auto;width:680px;height:680px;border-radius:680px;filter:blur(70px);
  background:radial-gradient(circle at 35% 35%, rgba(255,122,0,.35), rgba(255,122,0,0) 62%);pointer-events:none;}
.heroGrid{display:grid;grid-template-columns:1.15fr .85fr;gap:58px;align-items:center}
.badges{display:flex;gap:10px;flex-wrap:wrap}
.badge{font-size:12px;color:rgba(255,255,255,.85);padding:7px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02)}
.hero h1{font-size:64px;line-height:1.04;margin:18px 0 14px}
.hero h1 span{color:#ffb36d}
.lead{color:var(--muted);max-width:560px;line-height:1.55;font-size:15px}
.heroCtas{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap}
.divider{height:1px;background:rgba(255,255,255,.08);margin:26px 0}
.statsRow{display:flex;gap:44px;align-items:flex-end}
.statVal{font-size:34px;font-weight:800;color:#fff}
.statLbl{color:var(--muted);font-size:12px;margin-top:2px}
.heroRight{display:flex;justify-content:flex-end}
.heroStage{position:relative;width:100%;height:420px;border-radius:13px; /* було 26px */ border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  box-shadow: var(--shadow); overflow:hidden;}
.heroStage:before{content:"";position:absolute;inset:0;background:
  radial-gradient(380px 260px at 72% 38%, rgba(255,122,0,.28), rgba(255,122,0,0) 62%),
  radial-gradient(320px 220px at 38% 65%, rgba(255,255,255,.06), rgba(255,255,255,0) 60%);
  pointer-events:none;}
.webgl{position:absolute;inset:0;opacity:.95}
.heroProductCard{position:absolute;left:22px;bottom:22px;right:22px;padding:18px 18px;border-radius:9px; /* було 18px */
  background:rgba(15,20,27,.75);border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(10px)}
.hpTitle{font-weight:800;letter-spacing:.2px}
.hpMeta{color:var(--muted);font-size:12px;margin-top:4px}
.hpBadge{display:inline-flex;margin-top:12px;background:rgba(255,122,0,.14);border:1px solid rgba(255,122,0,.30);
  color:#ffd3ad;font-weight:700;font-size:12px;padding:7px 12px;border-radius:999px}

/* ====== SECTIONS ====== */
.section{padding:78px 0}
.sectionHead{margin-bottom:34px}
.sectionHead.center{text-align:center}
.sectionHead h2{font-size:34px;letter-spacing:-.4px}
.sectionHead h2 span{color:var(--accent)}
.sectionHead p{color:var(--muted);margin-top:10px;font-size:14px;line-height:1.6}

/* ====== ADVANTAGES ====== */
.cardsGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.aCard{background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.10);border-radius:8px; /* було var(--radius) 16px */ padding:22px 22px 20px;box-shadow:0 12px 40px rgba(0,0,0,.22);
  transition:.25s}
.aCard:hover{transform:translateY(-4px);border-color:rgba(255,122,0,.22);box-shadow:0 18px 55px rgba(0,0,0,.28)}
.aIcon{width:34px;height:34px;border-radius:6px; /* було 12px */ background:rgba(255,122,0,.10);border:1px solid rgba(255,122,0,.22);
  display:flex;align-items:center;justify-content:center;color:#ffb36d}
.aIcon svg{width:18px;height:18px}
.aCard h3{margin-top:14px;font-size:15px}
.aCard p{color:var(--muted);font-size:13px;line-height:1.55;margin-top:8px}

/* ====== PRODUCTS ====== */
.productGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:10px}
.pCard{position:relative;border-radius:10px; /* було var(--radius2) 20px */ padding:22px;background:rgba(18,24,33,.78);
  border:1px solid rgba(255,255,255,.10);box-shadow:0 18px 55px rgba(0,0,0,.28);transition:.25s;overflow:hidden}
.pCard:before{content:"";position:absolute;inset:-2px;opacity:.0;transition:.25s;
  background:radial-gradient(420px 320px at 70% 20%, rgba(255,122,0,.22), rgba(255,122,0,0) 60%);pointer-events:none}
.pCard:hover{transform:translateY(-6px);border-color:rgba(255,122,0,.26)}
.pCard:hover:before{opacity:1}
.pCard.featured{border-color:rgba(255,122,0,.50)}
.pStatus{display:inline-flex;align-items:center;gap:8px;background:rgba(22,163,74,.10);border:1px solid rgba(22,163,74,.25);
  color:#86efac;font-weight:700;font-size:12px;border-radius:999px;padding:6px 10px}
.pTitleRow{display:flex;justify-content:space-between;align-items:baseline;margin-top:14px}
.pTitleRow h3{font-size:18px}
.pPrice{color:var(--accent);font-weight:800;font-size:18px}
.pPrice small{color:rgba(255,255,255,.7);font-weight:700}
.pSub{color:var(--muted);font-size:12px;margin-top:6px}
.pList{margin-top:16px;display:grid;gap:10px}
.pItem{display:flex;gap:10px;align-items:flex-start;color:rgba(255,255,255,.88);font-size:13px;line-height:1.35}
.dot{width:7px;height:7px;border-radius:7px;background:rgba(255,122,0,.9);margin-top:6px;box-shadow:0 0 0 3px rgba(255,122,0,.18)}
.pBtns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.big{padding:14px 18px;border-radius:7px; /* було 14px */ font-size:14px}

/* ====== NEXT-GEN CALCULATOR ====== */
.calcShell.next-gen {
  background: linear-gradient(145deg, rgba(18,24,33,0.95), rgba(12,18,26,0.98));
  border: 1px solid rgba(255,122,0,0.2);
  box-shadow: 0 25px 60px -15px rgba(255,122,0,0.25);
  backdrop-filter: blur(10px);
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px; /* було 28px */
  overflow: hidden;
}

/* Capacity Selector Cards */
.capacity-selector {
  margin-bottom: 28px;
  padding: 0 4px;
}

.selector-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.capacity-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.capacity-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; /* було 24px */
  padding: 24px 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.capacity-card:hover {
  border-color: rgba(255,122,0,0.4);
  background: rgba(255,122,0,0.08);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(255,122,0,0.3);
}

.capacity-card.active {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,122,0,0.15), rgba(255,122,0,0.02));
  box-shadow: 0 15px 35px -8px rgba(255,122,0,0.5);
}

.capacity-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.capacity-value {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(255,122,0,0.3);
}

.capacity-unit {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.capacity-desc {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  padding: 4px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 20px; /* було 40px */
}

.capacity-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 15px; /* було 30px */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(255,122,0,0.3);
}

/* Load Section */
.load-section {
  margin: 28px 0 20px;
  padding: 0 4px;
}

.load-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.load-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.load-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 15px rgba(255,122,0,0.3);
}

.load-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.load-slider-container {
  position: relative;
  margin: 20px 0 15px;
}

.load-slider {
  width: 100%;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--slider-percent, 20%), rgba(255,255,255,0.1) var(--slider-percent, 20%));
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.load-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--accent);
  box-shadow: 0 0 20px rgba(255,122,0,0.8);
  cursor: pointer;
  transition: 0.15s;
}

.load-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(255,122,0,1);
}

.slider-markers {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  padding: 0 4px;
}

/* Appliance Visualization */
.appliance-visualization {
  margin-top: 28px;
  padding: 20px;
  background: rgba(0,0,0,0.25);
  border-radius: 12px; /* було 24px */
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
}

.viz-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.viz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.viz-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: rgba(255,255,255,0.02);
  border-radius: 9px; /* було 18px */
  border: 1px solid rgba(255,255,255,0.03);
  transition: all 0.2s ease;
}

.viz-item.active {
  background: rgba(255,122,0,0.12);
  border-color: rgba(255,122,0,0.3);
  box-shadow: 0 8px 20px rgba(255,122,0,0.2);
  transform: scale(1.02);
}

.viz-icon {
  font-size: 28px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.viz-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.viz-power {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* Result Showcase */
.result-showcase {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,122,0,0.2), rgba(255,85,0,0.1));
  border-radius: 16px; /* було 32px */
  padding: 28px;
  margin: 30px 0;
  border: 1px solid rgba(255,122,0,0.3);
  box-shadow: 0 20px 40px -15px rgba(255,122,0,0.3);
}

.result-left {
  flex: 1;
}

.result-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.result-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.result-hours {
  font-size: 68px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 30px rgba(255,122,0,0.6);
  letter-spacing: -2px;
}

.result-unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
}

.result-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.result-desc span {
  color: var(--accent);
  font-weight: 700;
}

/* Battery Visual */
.result-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
}

.battery-visual {
  display: flex;
  align-items: flex-end;
  height: 110px;
}

.battery-body {
  width: 55px;
  height: 100px;
  background: rgba(0,0,0,0.4);
  border: 3px solid rgba(255,255,255,0.15);
  border-radius: 8px; /* було 16px */
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.battery-level {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #ffd700, #ff7a00);
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 5px 5px 2px 2px; /* було 10px 10px 4px 4px */
}

.battery-level::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  left: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
}

.battery-cap {
  width: 15px;
  height: 10px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px 3px 0 0; /* було 6px */
  margin-left: 5px;
  border: 2px solid rgba(255,255,255,0.15);
  border-bottom: none;
}

/* Load Presets */
.load-presets {
  margin: 28px 0 20px;
}

.preset-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preset-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px; /* було 60px */
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1 1 auto;
  min-width: 140px;
}

.preset-btn:hover {
  background: rgba(255,122,0,0.15);
  border-color: rgba(255,122,0,0.4);
  color: #fff;
  transform: translateY(-2px);
}

.preset-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255,122,0,0.3);
}

/* Recommendation Block */
.recommendation-block {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 12px; /* було 24px */
  padding: 20px 24px;
  margin: 28px 0 25px;
  backdrop-filter: blur(5px);
}

.rec-icon {
  font-size: 32px;
  filter: drop-shadow(0 4px 10px rgba(46,204,113,0.4));
}

.rec-title {
  font-size: 13px;
  font-weight: 700;
  color: #2ecc71;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rec-text {
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
  font-weight: 500;
}

/* CTA Button */
.calc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 17px;
  padding: 18px;
  margin-top: 10px;
  border-radius: 30px; /* було 60px */
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  transition: all 0.3s ease;
}

.btn-arrow {
  font-size: 22px;
  transition: transform 0.2s ease;
}

.calc-cta:hover .btn-arrow {
  transform: translateX(8px);
}

.calc-cta:hover {
  box-shadow: 0 20px 40px rgba(255,122,0,0.4);
  transform: translateY(-2px);
}

/* ====== CALC ====== */
.calcShell{max-width:780px;margin:0 auto;border-radius:12px; /* було 24px */ border:1px solid rgba(255,255,255,.10);
  background:rgba(18,24,33,.78);box-shadow:0 18px 55px rgba(0,0,0,.32);overflow:hidden}
.calcHeader{padding:22px;border-bottom:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.calcTitle{display:flex;gap:12px;align-items:flex-start}
.calcIcon{width:36px;height:36px;border-radius:6px; /* було 12px */ background:rgba(255,122,0,.10);border:1px solid rgba(255,122,0,.22);
  display:flex;align-items:center;justify-content:center;color:#ffb36d}
.calcIcon svg{width:18px;height:18px}
.calcH{font-weight:800}
.calcS{color:var(--muted);font-size:12px;margin-top:2px}
.segmented{display:flex;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.10);border-radius:7px; /* було 14px */ overflow:hidden}
.segBtn{padding:10px 12px;border:none;background:transparent;color:rgba(255,255,255,.78);font-weight:800;font-size:12px;cursor:pointer}
.segBtn.active{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff}
.calcBody{padding:22px}
.rangeRow{display:flex;justify-content:space-between;align-items:center;color:rgba(255,255,255,.88);font-size:13px}
.rangeVal{color:var(--accent);font-weight:800}
.range{width:100%;margin-top:12px;appearance:none;height:6px;border-radius:999px;background:rgba(255,255,255,.12);outline:none}
.range::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;background:var(--accent);border:3px solid rgba(0,0,0,.25);box-shadow:0 0 0 6px rgba(255,122,0,.18);cursor:pointer}
.chipRow{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.chip{border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.02);color:rgba(255,255,255,.88);
  padding:10px 12px;border-radius:6px; /* було 12px */ font-weight:700;font-size:12px;cursor:pointer;transition:.2s}
.chip:hover{border-color:rgba(255,122,0,.35)}
.calcResult{margin-top:16px;background:linear-gradient(135deg,var(--accent),var(--accent2));border-radius:9px; /* було 18px */ padding:18px;color:#0b1117}
.calcResultTop{display:flex;justify-content:space-between;align-items:center;font-weight:800}
.calcResultCap{font-size:12px;opacity:.88}
.calcResultVal{font-size:46px;font-weight:900;margin-top:10px;letter-spacing:-.6px}
.calcResultVal small{font-size:18px;font-weight:900}
.calcResultSub{margin-top:4px;font-weight:800;opacity:.88}
.calcNote{color:var(--muted);font-size:12px;line-height:1.6;margin-top:12px}

/* ====== PRACTICE ====== */
.miniGrid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.mini{border-radius:8px; /* було 16px */ border:1px solid rgba(255,255,255,.10);background:rgba(18,24,33,.70);
  padding:16px;text-align:center;transition:.25s}
.mini:hover{transform:translateY(-4px);border-color:rgba(255,122,0,.22)}
.miniIcon{font-size:22px}
.miniT{margin-top:10px;font-weight:800;font-size:12px}
.miniS{margin-top:4px;color:var(--muted);font-size:11px}

/* ====== INVERTERS ====== */
.inverters{background:
  radial-gradient(900px 450px at 25% 40%, rgba(255,122,0,.10), rgba(255,122,0,0) 60%),
  linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,0))}
.invGrid{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center}
.invLeft h2{font-size:34px}
.invLeft p{color:var(--muted);margin-top:10px;line-height:1.6}
.invList{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:420px}
.invItem{display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.10);background:rgba(18,24,33,.60);padding:12px 12px;border-radius:6px; /* було 12px */}
.ok{width:18px;height:18px;border-radius:4px; /* було 8px */ background:rgba(22,163,74,.14);border:1px solid rgba(22,163,74,.30);display:flex;align-items:center;justify-content:center;color:#86efac;font-weight:900}
.link{display:inline-block;margin-top:14px;color:#ffb36d;text-decoration:none;font-weight:800}
.link:hover{text-decoration:underline}

.invMock{position:relative;height:420px;border-radius:13px; /* було 26px */ border:1px solid rgba(255,255,255,.10);background:rgba(18,24,33,.60);overflow:hidden;box-shadow:var(--shadow)}
.invGlow{position:absolute;inset:-120px auto auto -120px;width:420px;height:420px;border-radius:420px;filter:blur(60px);
  background:radial-gradient(circle at 35% 35%, rgba(255,122,0,.25), rgba(255,122,0,0) 60%)}
.invDevice{position:absolute;right:50px;top:50%;transform:translateY(-50%);width:220px;height:320px;border-radius:9px; /* було 18px */
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.18);
  box-shadow:0 26px 60px rgba(0,0,0,.35)}
.invScreen{position:absolute;left:50%;top:56px;transform:translateX(-50%);width:92px;height:92px;border-radius:7px; /* було 14px */ background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.18)}
.invPorts{position:absolute;left:18px;right:18px;bottom:18px;height:60px;border-radius:7px; /* було 14px */ background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.10)}

/* ====== CONTACTS ====== */
.contactGrid{display:grid;grid-template-columns:1fr 1.05fr;gap:22px;align-items:start}
.cCard{border-radius:9px; /* було 18px */ border:1px solid rgba(255,255,255,.10);background:rgba(18,24,33,.70);padding:18px;margin-bottom:14px}
.cRow{display:flex;gap:14px;align-items:flex-start}
.cIcon{width:36px;height:36px;border-radius:7px; /* було 14px */ background:rgba(255,122,0,.10);border:1px solid rgba(255,122,0,.22);
  display:flex;align-items:center;justify-content:center}
.cTitle{font-weight:900}
.cText{color:var(--muted);margin-top:6px;line-height:1.5}
.messengers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.mBtn{display:flex;align-items:center;justify-content:center;text-decoration:none;border-radius:6px; /* було 12px */
  padding:12px 12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.02);font-weight:800;font-size:12px}
.mBtn:hover{border-color:rgba(255,122,0,.35)}
.callRow{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}

.cForm{border-radius:9px; /* було 18px */ border:1px solid rgba(255,255,255,.10);background:rgba(18,24,33,.70);padding:18px}
.formTitle{font-weight:900;font-size:14px}
.formSub{color:var(--muted);font-size:12px;margin-top:6px;line-height:1.5}
.fLbl{display:block;margin-top:12px;color:rgba(255,255,255,.85);font-size:12px;font-weight:800}
.fIn{width:100%;margin-top:8px;padding:12px 12px;border-radius:6px; /* було 12px */ border:1px solid rgba(255,255,255,.10);
  background:rgba(11,17,23,.7);color:#fff;outline:none}
.fIn:focus{border-color:rgba(255,122,0,.35);box-shadow:0 0 0 4px rgba(255,122,0,.10)}
.check{display:flex;gap:10px;align-items:flex-start;margin-top:12px;color:var(--muted);font-size:12px;line-height:1.4}
.check input{margin-top:2px}

/* ====== FAQ ====== */
.faqList{max-width:760px;margin:0 auto}
.faqRow{border-radius:7px; /* було 14px */ border:1px solid rgba(255,255,255,.10);background:rgba(18,24,33,.70);margin-bottom:12px;overflow:hidden}
.faqQ{width:100%;text-align:left;background:transparent;border:none;color:#fff;padding:16px 16px;display:flex;justify-content:space-between;align-items:center;
  cursor:pointer;font-weight:900}
.chev{opacity:.75}
.faqA{max-height:0;overflow:hidden;color:var(--muted);padding:0 16px;transition:max-height .25s ease, padding .25s ease}
.faqRow.open .faqA{max-height:200px;padding:0 16px 16px}

/* ====== FOOTER ====== */
.footer{border-top:1px solid var(--stroke);background:var(--panel2);padding:46px 0}
.footerGrid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:30px}
.fHead{font-weight:900}
.fText{color:var(--muted);margin-top:10px;line-height:1.55;font-size:13px}
.fLink{display:block;text-decoration:none;color:rgba(255,255,255,.85);margin-top:6px;font-size:13px}
.fLink:hover{color:#fff;text-decoration:underline}
.socials{display:flex;gap:10px;margin-top:12px}
.sBtn{width:38px;height:38px;border-radius:6px; /* було 12px */ border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.02);
  display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;font-size:12px}
.sBtn:hover{border-color:rgba(255,122,0,.35)}

/* ====== CHAT ====== */
.chatFab{position:fixed;right:22px;bottom:22px;z-index:60;border:none;cursor:pointer;
  background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-weight:900;
  width:74px;height:44px;border-radius:30px; /* було 999px */ box-shadow:0 18px 45px rgba(255,122,0,.30);transition:.25s}
.chatFab:hover{transform:translateY(-2px);box-shadow:0 22px 55px rgba(255,122,0,.38)}

.chatPanel{position:fixed;right:22px;bottom:78px;z-index:70;width:360px;max-width:calc(100vw - 44px);
  border-radius:9px; /* було 18px */ border:1px solid rgba(255,255,255,.10);background:rgba(18,24,33,.85);backdrop-filter:blur(12px);
  box-shadow:0 22px 60px rgba(0,0,0,.45);display:none;overflow:hidden}
.chatPanel.open{display:block}
.chatHead{display:flex;justify-content:space-between;align-items:center;padding:14px;border-bottom:1px solid rgba(255,255,255,.08)}
.chatTitle{font-weight:900}
.chatSub{color:var(--muted);font-size:12px;margin-top:3px}
.chatBody{padding:14px;max-height:320px;overflow:auto;display:grid;gap:10px}
.msg{padding:10px 12px;border-radius:7px; /* було 14px */ max-width:90%;font-size:13px;line-height:1.45}
.msg.bot{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.msg.user{background:rgba(255,122,0,.12);border:1px solid rgba(255,122,0,.22);justify-self:end}
.chatForm{display:flex;gap:10px;padding:14px;border-top:1px solid rgba(255,255,255,.08)}
.chatInput{flex:1;border-radius:6px; /* було 12px */ border:1px solid rgba(255,255,255,.10);background:rgba(11,17,23,.7);color:#fff;padding:12px;outline:none}
.chatInput:focus{border-color:rgba(255,122,0,.35);box-shadow:0 0 0 4px rgba(255,122,0,.10)}

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px){
  .container{width:92%}
  .heroGrid{grid-template-columns:1fr;gap:22px}
  .heroRight{justify-content:flex-start}
  .heroStage{height:380px}
  .cardsGrid,.productGrid{grid-template-columns:1fr}
  .miniGrid{grid-template-columns:repeat(3,1fr)}
  .invGrid{grid-template-columns:1fr}
  .contactGrid{grid-template-columns:1fr}
  .footerGrid{grid-template-columns:1fr;gap:18px}
  .menu,.navRight{display:none}
  .burger{display:flex}
}

/* ====== PRODUCT CARDS (advanced) ====== */
.pBadges{display:flex;gap:10px;align-items:center}
.pRecommend{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,122,0,.12);
  border:1px solid rgba(255,122,0,.28);
  color:#ffd3ad;
  font-weight:900;font-size:12px;
  border-radius:999px;
  padding:6px 10px;
}
.pSpecs{
  margin-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:14px;
  display:grid;
  gap:10px;
}
.specRow{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 10px;
  border-radius:6px; /* було 12px */
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
}
.specL{color:rgba(255,255,255,.70);font-weight:800;font-size:12px}
.specV{color:rgba(255,255,255,.92);font-weight:900;font-size:12px}
.pFoot{margin-top:14px}
.pMeta{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin-bottom:14px;
}
.metaItem{
  border-radius:7px; /* було 14px */
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  padding:10px 12px;
  display:flex;justify-content:space-between;align-items:baseline;
}
.metaK{color:rgba(255,255,255,.65);font-weight:900;font-size:11px}
.metaV{color:#fff;font-weight:900;font-size:12px}
@media (max-width: 1100px){
  .pMeta{grid-template-columns:1fr}
}

/* ====== PRODUCT CARDS (screenshot style) ====== */
.productGrid--tall{align-items:stretch}
.productGrid--tall .pCard{
  padding:0;
  overflow:hidden;
  background:rgba(18,24,33,.78);
  border:1px solid rgba(255,255,255,.10);
  border-radius:11px; /* було 22px */
  box-shadow:0 18px 55px rgba(0,0,0,.28);
}
.productGrid--tall .pCard--orange{border-color:rgba(255,122,0,.65)}
/* Media */
.pMedia{
  height:220px;
  background:
    radial-gradient(420px 260px at 50% 20%, rgba(255,122,0,.18), rgba(255,122,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border-bottom:1px solid rgba(255,255,255,.08);
  position:relative;
}
.pMediaHint{
  position:absolute;left:16px;bottom:14px;
  font-size:12px;color:rgba(255,255,255,.65);line-height:1.35;
}
.pMediaHint span{color:rgba(255,255,255,.45);font-weight:800}
/* Body */
.pBody{padding:18px}
.pHeader{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.pCode{font-weight:900;font-size:16px;letter-spacing:.3px}
.pSub2{margin-top:6px;color:rgba(255,255,255,.65);font-size:12px;font-weight:700}
.pHeadRight{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.pPrice2{color:var(--accent);font-weight:900;font-size:16px;white-space:nowrap}
.pPrice2 small{color:rgba(255,255,255,.65);font-weight:900}
/* Table */
.pTable{margin-top:12px;display:grid;gap:10px}
.pRow{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:14px;
  align-items:center;
  padding:10px 12px;
  border-radius:6px; /* було 12px */
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  min-width:0;
}
.pRowL{color:rgba(255,255,255,.70);font-weight:800;font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pRowV{color:rgba(255,255,255,.95);font-weight:900;font-size:12px;white-space:nowrap}
.pMore{
  display:block;
  margin-top:10px;
  text-align:center;
  text-decoration:none;
  color:rgba(255,255,255,.85);
  font-weight:900;
  font-size:13px;
  padding:10px 0;
}
.pMore:hover{color:#fff;text-decoration:underline}
.productGrid--tall .pBtns{display:none}
.productGrid--tall .pSpecs, .productGrid--tall .pFoot, .productGrid--tall .pMeta, .productGrid--tall .specRow, .productGrid--tall .metaItem{display:none}
.productGrid--tall .pRecommend{margin-top:0}

/* inverter image */
.invMock{display:flex;align-items:center;justify-content:center}
.invImg{
  max-width:100%;
  max-height:420px;
  object-fit:contain;
}
.invMock{position:relative; overflow:hidden}
.invGlow{position:absolute; inset:-20%; filter:blur(26px); opacity:.85; pointer-events:none}
.invImg{
  position:relative;
  z-index:2;
  display:block;
  max-width:100%;
  max-height:420px;
  width:auto;
  height:auto;
  object-fit:contain;
  margin:auto;
}

/* ===== INV SWITCH ===== */
.invTag{cursor:pointer;border:0;outline:none}
.invTag.js-inv{
  display:flex;align-items:center;gap:10px;
}
.invTag .chk{
  width:18px;height:18px;border-radius:999px;
  background:rgba(28,225,133,.18);
  border:1px solid rgba(28,225,133,.40);
  color:#1ce185;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:900;font-size:12px;line-height:1;
}
.invTag.isActive{
  border-color:rgba(255,122,0,.40) !important;
  box-shadow:0 0 0 3px rgba(255,122,0,.10);
}

/* ===== INV CLICKABLE ===== */
.invItem{
  cursor:pointer;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(18,24,33,.62);
  color:#fff;
}
.invItem{appearance:none;-webkit-appearance:none}
.invItem:hover{border-color:rgba(255,122,0,.35)}
.invItem.isActive{
  border-color:rgba(255,122,0,.55) !important;
  box-shadow:0 0 0 3px rgba(255,122,0,.10);
}

/* ===== INV GRID FIX ===== */
#invList{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 860px){
  #invList{grid-template-columns:1fr}
}

/* inverter note */
.invNote{
  margin-top:16px;
  font-size:14px;
  color:rgba(255,255,255,.65);
}

/* ===== HEADER PRO NAV ===== */
html{scroll-behavior:smooth}


.header.header--hidden{
  transform: translateY(-110%);
  transition: transform .22s ease;
}
.header.header--shown{
  transform: translateY(0);
  transition: transform .22s ease;
}
.header .nav{
  display:flex;
  align-items:center;
}
.menu{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:26px;
  justify-content:flex-end;
}
.navRight{ margin-left:14px; }
.menu a{
  color:rgba(255,255,255,.72);
  text-decoration:none;
  font-size:15px;
  position:relative;
  padding:10px 0;
}
.menu a:hover{ color:#fff; }
.menu a.active{
color:#ff7a00;
font-weight:600;
}

.menu a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:4px;
  height:2px;
  background:#ff7a00;
  border-radius:2px;
}
.header.header--hidden, .header.header--shown{
  transform: translateY(0) !important;
  transition: none !important;
}
.menu a{
  font-weight:400 !important;
}

.menu a.navHome{ font-weight:400; }

/* ===== FOOTER LOGO THEME ===== */
.fLogo{display:inline-flex}
.footer .logoSub{color:#fff}

/* ===== CONTACT FORM HEAD STYLE ===== */
.cForm{overflow:hidden}
.cForm .formHead{
  padding:22px 22px 18px;
  border-radius:7px; /* було 14px */
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:18px;
}
.cForm .formTitle{
  font-size:24px;
  font-weight:800;
  margin:0 0 6px 0;
}
.cForm .formSub{
  margin:0;
  color:rgba(255,255,255,.65);
  font-size:14px;
  line-height:1.35;
}
.cForm .check{margin-bottom:18px;}

/* ===== CONTACT FORM (1:1 card) ===== */
.contactCard{
  background:rgba(18,24,33,.62);
  border:1px solid rgba(255,255,255,.10);
  border-radius:9px; /* було 18px */
  padding:0;
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.contactCardHead{
  padding:22px 22px 18px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.contactCardTitle{
  font-size:24px;
  font-weight:800;
  margin:0 0 6px 0;
}
.contactCardSub{
  font-size:14px;
  color:rgba(255,255,255,.62);
  line-height:1.35;
}
.contactForm{
  padding:18px 22px 22px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.fLabel span{
  display:block;
  font-size:13px;
  color:rgba(255,255,255,.85);
  margin:0 0 8px;
  font-weight:600;
}
.fInput, .fSelect, .fTextarea{
  width:100%;
  border-radius:5px; /* було 10px */
  border:1px solid rgba(255,255,255,.10);
  background:rgba(11,17,23,.55);
  color:#fff;
  padding:12px 12px;
  outline:none;
}
.fInput::placeholder, .fTextarea::placeholder{
  color:rgba(255,255,255,.45);
}
.fSelect{ cursor:pointer; }
.fTextarea{ resize:vertical; min-height:96px; }
.fCheck{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:13px;
  color:rgba(255,255,255,.70);
  margin-top:2px;
  margin-bottom:6px;
}
.fCheck input{
  margin-top:3px;
  width:14px; height:14px;
  accent-color:#ff7a00;
}
.fLink{
  color:#ff7a00;
  text-decoration:none;
}
.fLink:hover{ text-decoration:underline; }
.fBtn{
  margin-top:4px;
  width:100%;
  border:none;
  border-radius:6px; /* було 12px */
  padding:12px 14px;
  background:#ff7a00;
  color:#111;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
}
.fBtn:hover{ filter:brightness(1.05); }
.fBtnIcon{
  display:inline-flex;
  width:18px;
  justify-content:center;
}
.contactCard *{ box-sizing:border-box; }
@media (max-width: 860px){
  .contactForm{ padding:16px 16px 18px; }
  .contactCardHead{ padding:18px 16px 14px; }
}

/* ===== MESSENGER CARD ===== */
.messengerCard{
  padding:18px;
}
.messGrid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.messBtn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 12px;
  border-radius:6px; /* було 12px */
  border:1px solid rgba(255,255,255,.10);
  background:rgba(11,17,23,.40);
  text-decoration:none;
  color:#fff;
}
.messBtn:hover{ border-color:rgba(255,122,0,.35); }
.messI{
  width:17px; height:17px;
  border-radius:4px; /* було 7px */
  display:inline-block;
  background:rgba(255,255,255,.08);
  position:relative;
}
.messI.tg::after, .messI.vb::after, .messI.wa::after{
  content:"";
  position:absolute;
  inset:6px;
  border-radius:50%;
  background:rgba(255,255,255,.85);
  opacity:.9;
}
.messI.tg{ outline:2px solid rgba(0,136,204,.45); }
.messI.vb{ outline:2px solid rgba(115,96,242,.45); }
.messI.wa{ outline:2px solid rgba(37,211,102,.45); }
.messT{ font-weight:700; font-size:14px; }
.callBanner{
  margin-top:18px;
  background:#ff7a00;
  border-radius:7px; /* було 14px */
  padding:18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  box-shadow: 0 20px 50px rgba(255,122,0,.25);
}
.callLeft{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.callIcon{
  width:40px; height:40px;
  border-radius:6px; /* було 12px */
  background:rgba(255,255,255,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}
.callTitle{
  font-weight:800;
  color:#111;
  line-height:1.1;
}
.callSub{
  font-size:13px;
  color:rgba(17,17,17,.75);
  margin-top:3px;
}
.callBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:5px; /* було 10px */
  background:rgba(11,17,23,.92);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  white-space:nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.callBtn:hover{ filter:brightness(1.05); }
.callBtnIcon{
  font-size:14px;
  opacity:.9;
}
@media (max-width: 860px){
  .messGrid{ grid-template-columns:1fr; }
  .callBanner{ flex-direction:column; align-items:stretch; }
  .callBtn{ width:100%; }
}

/* ===== CALL BANNER FIX ===== */
.callBanner{
  background:#0b1117 !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.callTitle,
.callSub{
  color:#fff !important;
  font-weight:400 !important;
}
.callSub{
  opacity:.75;
}
.callIcon{
  background:rgba(255,255,255,.12);
}

/* ===== MESSENGER TEXT WEIGHT ===== */
.messT{
  font-weight:400 !important;
}

/* ===== BRAND ICON COLORS ===== */
.messI{
  background:transparent !important;
}
.messI.tg{
  background:#229ED9 !important;
}
.messI.vb{
  background:#7360F2 !important;
}
.messI.wa{
  background:#25D366 !important;
}
.messI::after{
  content:"";
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
  background-position:center;
  background-size:14px 14px;
}
.messI.tg::after{
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M9.036 15.464l-.379 5.322c.543 0 .779-.233 1.063-.513l2.548-2.42 5.28 3.856c.968.534 1.658.254 1.902-.897L23.9 3.91c.305-1.386-.53-1.93-1.47-1.574L1.116 9.59c-1.346.52-1.327 1.265-.244 1.6l5.45 1.7L18.95 5.21c.596-.39 1.14-.174.692.215"/></svg>');
}
.messI.vb::after{
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M20.52 3.48A11.93 11.93 0 0012 0C5.373 0 0 5.373 0 12c0 2.123.553 4.21 1.602 6.04L0 24l6.24-1.602A11.94 11.94 0 0012 24c6.627 0 12-5.373 12-12 0-3.206-1.248-6.218-3.48-8.52z"/></svg>');
}
.messI.wa::after{
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.149-.67.15-.198.297-.768.967-.94 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.372-.025-.521-.075-.149-.67-1.612-.916-2.207-.242-.579-.487-.5-.67-.51h-.572c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.095 3.2 5.076 4.487.709.306 1.262.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.29.173-1.413-.074-.124-.272-.198-.57-.347z"/></svg>');
}

/* ===== CALL BANNER ORANGE STYLE ===== */
.callBanner{
  background:#ff8a00 !important;
  box-shadow:none !important;
}
.callTitle{
  color:#fff !important;
  font-weight:600 !important;
}
.callSub{
  color:rgba(255,255,255,.9) !important;
  font-weight:400 !important;
}
.callIcon{
  background:rgba(255,255,255,.18) !important;
}
.callBtn{
  background:#1b2430 !important;
  color:#fff !important;
  font-weight:500 !important;
}
.callBtn:hover{
  filter:brightness(1.05);
}

/* ===== CALL ICON COLOR FIX ===== */
.callIcon,
.callBtnIcon{
  color:#fff !important;
}
.callIcon svg,
.callBtnIcon svg{
  fill:#fff !important;
  stroke:#fff !important;
}

/* ===== PHONE ICON WHITE ===== */
.phoneSvg{
  width:18px;
  height:18px;
  fill:#fff !important;
  flex-shrink:0;
}

/* ===== MESSENGERS MOBILE FIX ===== */
@media (max-width: 900px){
  .messGrid{
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap:10px;
  }
  .messBtn{
    padding:12px 8px;
  }
  .messT{
    font-size:12px;
  }
}

/* ===== INVERTER BRANDS MOBILE FIX ===== */
@media (max-width: 860px){
  .invGrid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap:10px;
  }
  .invItem{
    padding:12px 10px;
  }
  .invItem span{
    font-size:13px;
  }
}

/* ===== ADAPTIVE MOBILE GRIDS ===== */
@media (max-width: 480px){
  .messGrid{
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
  .invGrid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}
@media (min-width: 481px) and (max-width: 860px){
  .messGrid{
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
  .invGrid{
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
}

/* ===== INVERTERS MOBILE LAYOUT FIX ===== */
@media (max-width: 860px){
  .invGrid{
    grid-template-columns: 1fr !important;
    gap:18px !important;
    align-items:stretch !important;
  }
  .invLeft{ max-width: 100% !important; }
  .invList{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    max-width: 100% !important;
  }
  .invItem{
    padding:12px 10px !important;
  }
  .invRight{
    order: 2;
  }
  .invMock{
    height: 320px !important;
    border-radius: 11px !important; /* було 22px */
  }
  .invImg{
    max-width: 240px !important;
    width: 72% !important;
  }
}
@media (max-width: 380px){
  .invList{ gap:10px !important; }
  .invItem{ padding:11px 9px !important; }
  .invItem{ font-size:13px !important; }
}

/* ===== HERO GRADIENT TITLE ===== */
.heroGradient{
  background: linear-gradient(90deg, #ff7a00 0%, #ff9f3f 45%, #ff7a00 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
@media (max-width:768px){
  .heroGradient{
    background: linear-gradient(90deg, #ff7a00 0%, #ff9f3f 60%, #ff7a00 100%);
  }
}
.heroGradientAnim{
  background: linear-gradient(90deg, #ff7a00, #ffb066, #ff7a00);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroGlow 6s ease-in-out infinite;
}
.heroAccent{
  color:#ff7a00;
  font-weight:700;
}
@keyframes heroGlow{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}
@media (max-width:768px){
  .heroGradientAnim{
    animation-duration:8s;
  }
}

/* ===== GREEN ACCENT ===== */
.greenAccent{
  color:#2ecc71;
  font-weight:700;
}
.greenBig{
  font-size:1.25em;
  font-weight:300;
  letter-spacing:0.02em;
}
.stat8000{
  color:#2ecc71 !important;
  font-size:48px;
  font-weight:700;
  letter-spacing:0.01em;
}
@media (max-width:768px){
  .stat8000{
    font-size:36px;
  }
}

/* ===== PRODUCT CARD SPACING ===== */
.product-card .spec-row:last-of-type{
  margin-bottom: 16px;
}
.pCard .pTable{
  margin-bottom: 16px !important;
}

/* ===== CONFIGURATION GRID ===== */
.configGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:16px;
  margin-top:24px;
}
.configCard{
  border:1px solid rgba(255,255,255,.12);
  border-radius:7px; /* було 14px */
  padding:16px;
  background:rgba(255,255,255,.03);
}
.configCard h4{
  margin:0 0 8px;
  font-size:18px;
}
.configCard p{
  margin:0;
  font-size:14px;
  opacity:.8;
}

/* SCALE TABLE */
.scaleTableSection{margin-top:40px}
.scaleTitle{font-size:22px;font-weight:700;color:#ff8a00;margin-bottom:14px}
.scaleTableWrap{overflow-x:auto}
.scaleTable{width:100%;border-collapse:collapse}
.scaleTable th,.scaleTable td{padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.12);text-align:left}
.scaleTable th{font-size:13px;opacity:.8}
.scaleTable td{font-size:14px}

.scaleTableSection{
  margin-top: 40px;
}
.scaleTableWrap{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  border-radius: 9px; /* було 18px */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.scaleTable{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.scaleTable thead th{
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  background: rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: sticky;
  top: 0;
  z-index: 2;
}
.scaleTable td{
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: middle;
}
.scaleTable tbody tr:nth-child(odd) td{
  background: rgba(255,255,255,.02);
}
.scaleTable tbody tr{
  transition: background .18s ease, transform .18s ease;
}
.scaleTable tbody tr:hover td{
  background: rgba(255,138,0,.08);
}
.scaleTable tbody tr:last-child td{
  border-bottom: none;
}
.scaleTable td strong{
  font-weight: 800;
}
@media (max-width: 860px){
  .scaleTableWrap{
    overflow-x: auto;
  }
  .scaleTable{
    min-width: 920px;
  }
}
.scaleTitle{
  text-align:center;
  color:#fff;
}

/* Selected model line in contact form */
.selectedModel{
  margin-top: 10px;
  font-size: 13px;
  opacity: .85;
  padding: 10px 12px;
  border-radius: 6px; /* було 12px */
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  display: none;
}
.selectedModel.show{display:block;}

/* ===== DISCLAIMER ===== */
.disclaimer-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255, 122, 0, 0.05);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 12px; /* було 24px */
  padding: 20px 24px;
  margin: 28px 0 20px;
  backdrop-filter: blur(5px);
  transition: 0.2s;
}
.disclaimer-block:hover {
  border-color: rgba(255, 122, 0, 0.3);
  background: rgba(255, 122, 0, 0.08);
}
.disclaimer-icon {
  font-size: 38px;
  line-height: 1;
  opacity: 0.9;
  filter: drop-shadow(0 4px 8px rgba(255, 122, 0, 0.2));
}
.disclaimer-title {
  font-size: 15px;
  font-weight: 800;
  color: #ff9f4b;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.disclaimer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 90%;
}
.disclaimer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.disclaimer-meta span {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 20px; /* було 40px */
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
  .disclaimer-block {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 18px;
  }
  .disclaimer-text {
    max-width: 100%;
  }
  .disclaimer-meta {
    justify-content: center;
  }
}

/* Стилі для назв моделей */
.capacity-model {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin: 4px 0 2px;
  letter-spacing: 0.3px;
}
.capacity-card.active .capacity-model {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.capacity-desc {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 10px; /* було 20px */
  margin-top: 6px;
}
.capacity-card.active .capacity-desc {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
@media (max-width: 768px) {
  .capacity-model {
    font-size: 13px;
  }
  .capacity-desc {
    font-size: 10px;
    padding: 3px 8px;
  }
}
@media (max-width: 480px) {
  .capacity-card {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 12px;
  }
  .capacity-value {
    font-size: 28px;
    margin-right: 6px;
  }
  .capacity-unit {
    font-size: 12px;
  }
  .capacity-model {
    width: 100%;
    margin: 4px 0;
  }
}

/* Стилі для відображення вибраної моделі у формі */
.selectedModel {
  margin-top: 15px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.1), rgba(255, 85, 0, 0.05));
  border: 1px solid rgba(255, 122, 0, 0.3);
  border-radius: 8px; /* було 16px */
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  display: none;
  animation: fadeIn 0.3s ease;
}
.selectedModel.show {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.cForm select.fIn option[value="syrex-4k"] { color: #ff9f4b; }
.cForm select.fIn option[value="syrex-8k"] { color: #ff7a00; }
.cForm select.fIn option[value="syrex-16k"] { color: #ff5500; }

/* ====== LIGHT THEME (Day mode) ====== */
body.alt {
  --bg: #ffffff;
  --panel: #ffffff;
  --panel2: #ffffff;
  --stroke: #e6e8ef;
  --text: #0b1117;
  --muted: #566271;
  --shadow: 0 18px 50px rgba(12, 18, 28, 0.12);

  /* Загальні кольори тексту */
  color: #0b1117;
}

/* ===== Базові стилі для світлої теми ===== */
body.alt .menu a {
  color: rgba(11, 17, 23, 0.72);
}
body.alt .menu a:hover {
  color: rgba(11, 17, 23, 0.95);
  background: rgba(11, 17, 23, 0.04);
}
body.alt .badge {
  color: #1a1e24;
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.02);
}
body.alt .statVal {
  color: #0b1117;
}
body.alt .btnGhost {
  background: rgba(11, 17, 23, 0.02);
  border-color: rgba(11, 17, 23, 0.12);
  color: var(--text);
}
body.alt .btnGhost:hover {
  background: rgba(11, 17, 23, 0.04);
  border-color: rgba(255, 122, 0, 0.4);
}
body.alt .hero {
  background:
    radial-gradient(900px 450px at 78% 34%, rgba(255, 122, 0, 0.18), rgba(255, 122, 0, 0) 55%),
    radial-gradient(900px 450px at 25% 20%, rgba(11, 17, 23, 0.05), rgba(11, 17, 23, 0) 55%);
}
body.alt .heroStage {
  background: linear-gradient(180deg, rgba(11, 17, 23, 0.03), rgba(11, 17, 23, 0.01));
}
body.alt .heroProductCard {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}
body.alt .hpMeta,
body.alt .hpBadge {
  color: #1a1e24;
}
body.alt .aCard,
body.alt .pCard,
body.alt .calcShell,
body.alt .mini,
body.alt .invMock,
body.alt .cCard,
body.alt .cForm,
body.alt .faqRow,
body.alt .chatPanel {
  background: rgba(255, 255, 255, 0.9);
}
body.alt .footer {
  background: #ffffff;
}
body.alt .sBtn,
body.alt .mBtn,
body.alt .iconBtn {
  background: rgba(11, 17, 23, 0.02);
  border-color: rgba(11, 17, 23, 0.12);
}
body.alt .sBtn:hover,
body.alt .mBtn:hover,
body.alt .iconBtn:hover {
  border-color: rgba(255, 122, 0, 0.35);
}
body.alt .chatInput,
body.alt .fIn {
  background: rgba(11, 17, 23, 0.03);
  border-color: rgba(11, 17, 23, 0.12);
  color: var(--text);
}
body.alt .range {
  background: rgba(11, 17, 23, 0.1);
}
body.alt .model {
  color: rgba(11, 17, 23, 0.6);
}

/* ===== Стилі для секції "Чому акумулятор" (світла тема) ===== */
body.alt .advantages {
  background-color: #f5f7fa;
  padding: 70px 0;
}
body.alt .advantages .sectionHead {
  text-align: left;
  margin-bottom: 40px;
}
body.alt .advantages .sectionHead h2 {
  color: #0b1117;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
body.alt .advantages .sectionHead h2 span {
  color: #ff7a00;
}
body.alt .advantages .sectionHead p {
  color: #2d3748;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
  max-width: 600px;
}
body.alt .cardsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
body.alt .aCard {
  display: flex !important;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: none;
  border-radius: 10px; /* було 20px */
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
  padding: 24px 22px;
  transition: box-shadow 0.2s ease;
}
body.alt .aCard:hover {
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
  transform: none;
}
body.alt .aIcon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(255, 122, 0, 0.08);
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: 9px; /* було 18px */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7a00;
}
body.alt .aIcon svg {
  width: 26px;
  height: 26px;
}
body.alt .aCard h3 {
  color: #0b1117;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.4;
}
body.alt .aCard p {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
  opacity: 0.9;
}

/* ===== Інші блоки (загальні виправлення) ===== */
body.alt .pCode {
  color: #0b1117;
}
body.alt .pRowL {
  color: #4a5568;
}
body.alt .pRowV {
  color: #0b1117;
}
body.alt .pPrice2 small {
  color: #4a5568;
}
body.alt .pMore {
  color: #ff7a00;
}
body.alt .load-title {
  color: #0b1117;
}
body.alt .slider-markers {
  color: #4a5568;
}
body.alt .viz-name {
  color: #0b1117;
}
body.alt .viz-power {
  color: #4a5568;
}
body.alt .result-label {
  color: #4a5568;
}
body.alt .result-desc {
  color: #2d3748;
}
body.alt .preset-title {
  color: #4a5568;
}
body.alt .preset-btn {
  color: #0b1117;
  background: #f7fafc;
  border-color: #e2e8f0;
}
body.alt .preset-btn:hover {
  background: #edf2f7;
}
body.alt .disclaimer-text {
  color: #2d3748;
}
body.alt .disclaimer-meta span {
  background: #edf2f7;
  border-color: #cbd5e0;
  color: #2d3748;
}
body.alt .miniT {
  color: #0b1117;
}
body.alt .miniS {
  color: #4a5568;
}
body.alt .invNote {
  color: #4a5568;
}
body.alt .cTitle {
  color: #0b1117;
}
body.alt .cText {
  color: #4a5568;
}
body.alt .messT {
  color: #0b1117;
}
body.alt .scaleTable td {
  color: #2d3748;
}
body.alt .scaleTable td strong {
  color: #0b1117;
}
body.alt .faqQ {
  color: #0b1117;
}
body.alt .faqA {
  color: #4a5568;
}
body.alt .chatTitle {
  color: #0b1117;
}
body.alt .chatSub {
  color: #4a5568;
}
body.alt .msg.bot {
  background: #edf2f7;
  border-color: #e2e8f0;
  color: #0b1117;
}
body.alt .msg.user {
  background: rgba(255, 122, 0, 0.1);
  border-color: rgba(255, 122, 0, 0.3);
  color: #0b1117;
}
body.alt .chatInput {
  background: #f7fafc;
  border-color: #e2e8f0;
  color: #0b1117;
}
body.alt .chatInput::placeholder {
  color: #a0aec0;
}
body.alt .calcShell.next-gen {
  background: linear-gradient(145deg, #ffffff, #f5f7fc);
  border-color: rgba(255, 122, 0, 0.25);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.15);
}
body.alt .capacity-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}
body.alt .capacity-value {
  color: #000;
}
body.alt .capacity-card.active {
  background: linear-gradient(180deg, rgba(255, 122, 0, 0.1), rgba(255, 122, 0, 0.02));
}
body.alt .viz-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}
body.alt .result-hours {
  color: #000;
}
body.alt .result-label {
  color: rgba(0, 0, 0, 0.6);
}
body.alt .rec-text {
  color: #000;
}
body.alt .preset-btn {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.1);
  color: #000;
}
body.alt .preset-btn.active {
  color: #000;
}
body.alt .productGrid--tall .pCard {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(11, 17, 23, 0.12);
  box-shadow: 0 18px 50px rgba(12, 18, 28, 0.12);
}
body.alt .productGrid--tall .pCard--orange {
  border-color: rgba(255, 122, 0, 0.55);
}
body.alt .pMedia {
  background:
    radial-gradient(420px 260px at 50% 20%, rgba(255, 122, 0, 0.16), rgba(255, 122, 0, 0) 60%),
    linear-gradient(180deg, rgba(11, 17, 23, 0.04), rgba(11, 17, 23, 0.01));
  border-bottom-color: rgba(11, 17, 23, 0.1);
}
body.alt .pMediaHint {
  color: rgba(11, 17, 23, 0.55);
}
body.alt .pMediaHint span {
  color: rgba(11, 17, 23, 0.4);
}
body.alt .pSub2 {
  color: rgba(11, 17, 23, 0.55);
}
body.alt .pPrice2 small {
  color: rgba(11, 17, 23, 0.55);
}
body.alt .pRow {
  border-color: rgba(11, 17, 23, 0.1);
  background: rgba(11, 17, 23, 0.02);
}
body.alt .pRowL {
  color: rgba(11, 17, 23, 0.6);
}
body.alt .pRowV {
  color: rgba(11, 17, 23, 0.92);
}
body.alt .pMore {
  color: rgba(11, 17, 23, 0.78);
}
body.alt .pMore:hover {
  color: rgba(11, 17, 23, 1);
}
body.alt .invItem {
  background: rgba(255, 255, 255, 0.7);
  color: rgba(11, 17, 23, 0.92);
  border-color: rgba(11, 17, 23, 0.12);
}
body.alt .invItem:hover {
  border-color: rgba(255, 122, 0, 0.35);
}
body.alt .invItem.isActive {
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.14);
}
body.alt .invNote {
  color: rgba(11, 17, 23, 0.65);
}
body.alt .footer .logoSub {
  color: #0b1117;
}
body.alt .cForm .formHead {
  background: rgba(11, 17, 23, 0.04);
  border: 1px solid rgba(11, 17, 23, 0.1);
}
body.alt .cForm .formSub {
  color: rgba(11, 17, 23, 0.65);
}
body.alt .messBtn {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(11, 17, 23, 0.1);
  color: rgba(11, 17, 23, 0.92);
}
body.alt .messI {
  background: rgba(11, 17, 23, 0.06);
}
body.alt .messI.tg::after,
body.alt .messI.vb::after,
body.alt .messI.wa::after {
  background: rgba(11, 17, 23, 0.8);
}
body.alt .scaleTableWrap {
  background: #fff;
  border-color: rgba(11, 17, 23, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}
body.alt .scaleTable thead th {
  background: rgba(11, 17, 23, 0.04);
  border-bottom-color: rgba(11, 17, 23, 0.1);
}
body.alt .scaleTable td {
  border-bottom-color: rgba(11, 17, 23, 0.08);
}
body.alt .scaleTable tbody tr:nth-child(odd) td {
  background: rgba(11, 17, 23, 0.02);
}
body.alt .scaleTable tbody tr:hover td {
  background: rgba(255, 138, 0, 0.1);
}
body.alt .scaleTitle {
  color: #000;
}
body.alt .selectedModel {
  border-color: rgba(11, 17, 23, 0.12);
  background: rgba(11, 17, 23, 0.04);
}
body.alt .logoSub {
  color: #0b1117;
}
body.alt .logoMark,
body.alt .logoDot {
  color: var(--accent);
}

/* Адаптація для мобільних */
@media (max-width: 900px) {
  body.alt .cardsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  body.alt .cardsGrid {
    grid-template-columns: 1fr;
  }
  body.alt .aCard {
    padding: 20px 18px;
  }
}

/* Налаштування для Hero-секції */
.hero .heroStage {
  background: none;
  border: 1px solid rgba(255,255,255,.10); /* зберігаємо рамку */
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0; /* мінімальні відступи зверху і знизу */
  min-height: auto; /* прибираємо фіксовану висоту */
  height: auto;
}

/* Для мобільних пристроїв */
@media (max-width: 1100px) {
  .hero .heroStage {
    padding: 5px 0;
  }
}
/* ===== THEME SWITCHER ===== */
.theme-toggler {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-right: none;
  border-radius: 12px 0 0 12px;
  color: var(--text);
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

.theme-toggler:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.theme-panel {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #111;
  transition: right .3s ease;
  z-index: 9999;
}

.theme-panel.open {
  right: 0;
}

.theme-panel-header {
  padding: 18px 16px;
  border-bottom: 1px solid var(--stroke);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--text);
}

.theme-panel-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: 0.2s;
}

.theme-panel-close:hover {
  background: var(--stroke);
  color: var(--text);
}

.theme-panel-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
  text-align: left;
}

.theme-option:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
}

.theme-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.2);
}

.theme-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid var(--stroke);
}

.theme-name {
  font-size: 14px;
  font-weight: 600;
}

/* Світла тема */
body.alt .theme-panel,
body.alt .theme-toggler {
  background: rgba(255,255,255,0.9);
}

/* ===== НАБОРИ ЗМІННИХ ДЛЯ КОЖНОЇ ТЕМИ ===== */
/* Оригінальна тема SYREX (за замовчуванням) */
:root {
  --bg: #0b1117;
  --panel: #121821;
  --panel2: #0f141b;
  --stroke: #1b2230;
  --text: #e8edf3;
  --muted: #9aa6b2;
  --accent: #ff7a00;
  --accent2: #ff5500;
  --ok: #16a34a;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 8px;
  --radius2: 10px;
}

/* Червона тема */
body[data-theme="theme-red"] {
  --bg: #1a0c0c;
  --panel: #2a1414;
  --panel2: #1f0f0f;
  --stroke: #4a2a2a;
  --text: #fff5f5;
  --muted: #c9a5a5;
  --accent: #c0392b;
  --accent2: #a93226;
  --ok: #27ae60;
  --shadow: 0 25px 50px -12px rgba(100, 0, 0, 0.5);
  --radius: 8px;
  --radius2: 10px;
}

/* Синя тема */
body[data-theme="theme-blue"] {
  --bg: #0c121f;
  --panel: #1a2332;
  --panel2: #111a28;
  --stroke: #2f3b4f;
  --text: #ffffff;
  --muted: #a5b9d4;
  --accent: #1e4f8a;
  --accent2: #163a61;
  --ok: #2e8b57;
  --shadow: 0 25px 50px -12px rgba(0, 30, 80, 0.6);
  --radius: 8px;
  --radius2: 10px;
}

/* Блакитна тема */
body[data-theme="theme-cyan"] {
  --bg: #0e1a1f;
  --panel: #1c2b32;
  --panel2: #132229;
  --stroke: #2f4550;
  --text: #f0f9ff;
  --muted: #9fc7d9;
  --accent: #00a8b5;
  --accent2: #008c96;
  --ok: #2ecc71;
  --shadow: 0 25px 50px -12px rgba(0, 150, 170, 0.4);
  --radius: 8px;
  --radius2: 10px;
}

/* Зелена тема */
body[data-theme="theme-green"] {
  --bg: #0f1912;
  --panel: #1e2a20;
  --panel2: #152015;
  --stroke: #2f4533;
  --text: #f0f7f0;
  --muted: #a6c0a6;
  --accent: #1e7e34;
  --accent2: #166327;
  --ok: #f1c40f;
  --shadow: 0 25px 50px -12px rgba(0, 80, 30, 0.5);
  --radius: 8px;
  --radius2: 10px;
}

/* Золота тема */
body[data-theme="theme-gold"] {
  --bg: #1e1912;
  --panel: #2e2820;
  --panel2: #252016;
  --stroke: #504530;
  --text: #fff9e6;
  --muted: #d4c4a5;
  --accent: #f5b81b;
  --accent2: #d89e14;
  --ok: #2ecc71;
  --shadow: 0 25px 50px -12px rgba(150, 100, 0, 0.4);
  --radius: 8px;
  --radius2: 10px;
}
/* Тема: Аметист */
body[data-theme="theme-amethyst"] {
  --bg: #1a1326;        /* Глибокий фіолетово-чорний */
  --panel: #2a1f3a;     /* Темно-фіолетовий */
  --panel2: #221a30;    /* Проміжний */
  --stroke: #4a3a60;    /* Фіолетова межа */
  --text: #f5f0fa;      /* Майже білий з легким фіолетовим */
  --muted: #c4b5e0;     /* Лавандовий */
  --accent: #c9a45b;    /* Золото */
  --accent2: #b58d47;   /* Темніше золото */
  --shadow: 0 25px 50px -12px rgba(90, 30, 120, 0.5);
}
/* Тема: Обсидіан */
body[data-theme="theme-obsidian"] {
  --bg: #0d0b14;        /* Майже чорний з фіолетовим */
  --panel: #19162a;     /* Трохи світліший */
  --panel2: #121020;    /* Проміжний */
  --stroke: #332e4a;    /* Темно-сіро-фіолетова межа */
  --text: #f0f0f5;      /* Чистий білий */
  --muted: #a5a5c0;     /* Сіро-блакитний */
  --accent: #b3b3b3;    /* Сріблястий */
  --accent2: #8c8c8c;   /* Темніше срібло */
  --shadow: 0 25px 50px -12px rgba(40, 20, 60, 0.6);
}
/* Тема: Сапфір */
body[data-theme="theme-sapphire"] {
  --bg: #0e1a2f;        /* Темно-синій */
  --panel: #1c2b45;     /* Синій для карток */
  --panel2: #142238;    /* Проміжний */
  --stroke: #314a6b;    /* Темно-синя межа */
  --text: #ffffff;      /* Білий */
  --muted: #b0c4de;     /* Світло-блакитний */
  --accent: #e5e5e5;    /* Платина */
  --accent2: #c0c0c0;   /* Срібло */
  --shadow: 0 25px 50px -12px rgba(0, 50, 100, 0.6);
}
/* Тема: Лісовий */
body[data-theme="theme-forest"] {
  --bg: #1a2a1a;        /* Темно-зелений, майже чорний */
  --panel: #2a3f2a;     /* Лісовий зелений */
  --panel2: #1f331f;    /* Проміжний */
  --stroke: #4a694a;    /* Зелена межа */
  --text: #f0f7e6;      /* Вершковий */
  --muted: #b8d9b8;     /* Світло-зелений */
  --accent: #b87333;    /* Мідь */
  --accent2: #9e5e2b;   /* Темніша мідь */
  --shadow: 0 25px 50px -12px rgba(40, 80, 20, 0.6);
}
/* Тема: Грейд */
body[data-theme="theme-grayed"] {
  --bg: #1e1e22;        /* Графітово-чорний */
  --panel: #2d2d33;     /* Темно-сірий */
  --panel2: #24242a;    /* Проміжний */
  --stroke: #4a4a52;    /* Сіра межа */
  --text: #f5f5f0;      /* Світло-бежевий */
  --muted: #b5b5aa;     /* Бежево-сірий */
  --accent: #d4d4d4;    /* Платина */
  --accent2: #b0b0b0;   /* Темніше срібло */
  --shadow: 0 25px 50px -12px rgba(80, 80, 90, 0.5);
}
/* Google Fonts аналогів немає, потрібно завантажити файли */

/* Для Kirillik - завантажте з MyFonts */
@font-face {
  font-family: 'Kirillik';
  src: url('fonts/Kirillik.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Для GOGOL - безкоштовний */
@font-face {
  font-family: 'GOGOL';
  src: url('fonts/GOGOL.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}



/* Підключення шрифтів */
@font-face {
  font-family: 'GOGOL';
  src: url('fonts/GOGOL.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Battley';
  src: url('fonts/Battley.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Автоматична зміна кольору залежно від фону */
:root {
  color-scheme: light dark;
}

span.garanti {
  color: light-dark(#000000, #FFFFFF);
}
    
/* Reduced spacing before calculator section */
#calculator, .calculator, .section-calculator {
    padding-top: 30px !important;
    margin-top: 0 !important;
}

h2 {
    margin-top: 20px !important;
}


.syrex-hamburger {
    display: none;
    position: absolute;
    right: 20px;
    top: 22px;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3000;
}

.syrex-hamburger span {
    display: block;
    height: 3px;
    background: #fff;
    margin-bottom: 5px;
}

.syrex-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 2500;
}

.syrex-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.syrex-mobile-menu {
    position: absolute;
    right: -100%;
    top: 0;
    width: 85%;
    height: 100%;
    background: #0b1117;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
}

.syrex-mobile-overlay.active .syrex-mobile-menu {
    left: 0;
}

.syrex-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.syrex-mobile-logo {
    font-size: 28px;
    font-weight: 700;
    color: #ff8a00;
}

.syrex-mobile-logo span {
    color: #fff;
}

.syrex-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.syrex-mobile-nav {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.syrex-mobile-nav a,
.syrex-accordion-toggle {
    background: none;
    border: none;
    text-align: left;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
}

.syrex-accordion-content {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-left: 15px;
    margin-top: 10px;
}

.syrex-accordion-content a {
    color: #8a94a6;
    font-size: 16px;
}

.syrex-divider {
    margin: 30px 0;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.syrex-mobile-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.syrex-cta-btn {
    background: #ff8a00;
    border: none;
    padding: 16px;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
}

@media (max-width: 992px) {
    header nav {
        display: none !important;
    }

    .syrex-hamburger {
        display: block;
    }
}


/* ===== SYREX PREMIUM MOBILE MENU (OVERRIDE) ===== */

.syrex-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 3000;
}

.syrex-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.syrex-mobile-menu {
    position: absolute;
    right: -100%;
    top: 0;
    width: 88%;
    height: 100%;
    background: #0b1117;
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(.77,0,.18,1);
}

.syrex-mobile-overlay.active .syrex-mobile-menu {
    left: 0;
}

.syrex-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.syrex-mobile-logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ff8a00;
}

.syrex-mobile-logo span {
    color: #ffffff;
}

.syrex-mobile-nav {
    margin-top: 45px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.syrex-mobile-nav a,
.syrex-accordion-toggle {
    background: none;
    border: none;
    text-align: left;
    font-size: 19px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    padding: 6px 0;
}

.syrex-mobile-nav a:hover,
.syrex-accordion-toggle:hover {
    color: #ff8a00;
}

.syrex-accordion-content {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding-left: 18px;
    margin-top: 10px;
}

.syrex-accordion-content a {
    font-size: 16px;
    color: #8a94a6;
}

.syrex-accordion-content a:hover {
    color: #ff8a00;
}

.syrex-mobile-nav a.active {
    background: #5a2d00;
    padding: 12px 16px;
    border-radius: 8px;
}

.syrex-divider {
    margin: 35px 0;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.syrex-mobile-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.syrex-socials {
    color: #8a94a6;
    font-size: 14px;
}

.syrex-contact {
    color: #8a94a6;
    font-size: 14px;
    line-height: 1.6;
}

.syrex-cta-btn {
    background: #ff8a00;
    border: none;
    padding: 16px;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
    transition: 0.2s ease;
}

.syrex-cta-btn:hover {
    transform: translateY(-2px);
}


/* ===== MOBILE TOP BAR ===== */

.syrex-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #121212;
}

.syrex-mobile-logo {
    font-size: 20px;
    font-weight: 700;
    color: #ff8a00;
}

.syrex-mobile-logo span {
    color: #ffffff;
}

.syrex-mobile-icons {
    display: flex;
    gap: 14px;
}

.syrex-icon {
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    transition: 0.2s ease;
}

.syrex-icon:hover {
    color: #ff8a00;
}

/* Drawer from LEFT */

.syrex-mobile-menu {
    left: -100%;
    right: auto !important;
}

.syrex-mobile-overlay.active .syrex-mobile-menu {
    left: 0;
}

/* Hamburger left spacing */

.syrex-hamburger {
    position: relative;
    top: auto;
    right: auto;
}

/* Responsive */

@media (max-width: 992px) {
    .syrex-mobile-bar {
        display: flex;
    }

    header {
        display: none !important;
    }
}


/* ===== UNITHEME STYLE MOBILE HEADER ===== */

.syrex-hamburger {
    width: 22px;
    height: 16px;
}

.syrex-hamburger span {
    height: 2px;
}

.syrex-mobile-logo {
    margin-left: 8px;
    font-size: 19px;
}

.syrex-mobile-icons {
    display: flex;
    gap: 18px;
    margin-left: auto;
}

.syrex-icon svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    transition: 0.2s ease;
}

.syrex-icon:hover svg {
    stroke: #ff8a00;
}


/* ===== REFINED MOBILE HEADER ===== */

.syrex-mobile-bar {
    height: 64px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    z-index: 5000;
}

.syrex-mobile-logo {
    font-size: 21px;
    font-weight: 800;
    margin-left: 10px;
}

.syrex-mobile-icons {
    gap: 24px;
}

.syrex-icon svg {
    width: 22px;
    height: 22px;
}



/* ===== HEADER FINAL TUNING ===== */

.syrex-hamburger {
    width: 18px;
    height: 14px;
}

.syrex-hamburger span {
    height: 2px;
}

.syrex-mobile-logo {
    margin-left: 16px;
}

.syrex-mobile-icons {
    gap: 26px;
}

.syrex-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 2;
}

/* Bottom divider line */
.syrex-mobile-bar {
    border-bottom: 2px solid #ff8a00;
}



/* ===== Ultra thin header divider ===== */
.syrex-mobile-bar {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ===== Drawer width refined ===== */
.syrex-mobile-menu {
    width: 92%;
    max-width: 380px;
    padding-right: 32px;
}

/* Slight extra breathing space on right */
.syrex-mobile-overlay.active .syrex-mobile-menu {
    left: 0;
}



/* ===== Drawer strictly by content width ===== */
.syrex-mobile-menu {
    width: auto;
    max-width: 360px;
    padding-right: 28px;
    padding-left: 28px;
}

/* ===== Light divider between nav and contacts ===== */
.syrex-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 28px 0;
}



/* ===== Visible divider between menu and contacts ===== */
.syrex-divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 32px 0 24px 0;
}



/* ===== Mobile menu hover effect ===== */
.syrex-mobile-nav a,
.syrex-accordion-toggle {
    transition: 0.2s ease;
    border-radius: 6px;
    padding: 6px 8px;
}

.syrex-mobile-nav a:hover,
.syrex-accordion-toggle:hover {
    background: rgba(255,255,255,0.06);
    color: #ff8a00;
}

/* Social links styling */
.syrex-socials a {
    color: #8a94a6;
    text-decoration: none;
    transition: 0.2s ease;
}

.syrex-socials a:hover {
    color: #ff8a00;
}



/* ===== Reduced spacing between mobile menu items ===== */
.syrex-mobile-nav {
    gap: 12px !important;
}

.syrex-mobile-nav a,
.syrex-accordion-toggle {
    padding: 4px 6px;
}

.syrex-accordion-content {
    gap: 8px;
    margin-top: 6px;
}

.mobileMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: #0e0e0e;
  padding: 120px 20px 40px;
  display: none;
  flex-direction: column;
  gap: 20px;
  z-index: 5000;
}

.mobileMenu.open {
  display: flex;
}

/* ===== PREMIUM MOBILE PANEL ===== */
.mobilePanel {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85%;
  min-height: 100dvh;

  background: linear-gradient(
    180deg,
    rgba(35, 35, 35, 0.96),
    rgba(20, 20, 20, 0.98)
  );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-right: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    10px 0 40px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.03);

  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);

  z-index: 9999;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.mobilePanel.open {
  transform: translateX(0);
}
.mobilePanel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.mobilePanel-logo {
  font-weight: 700;
  font-size: 20px;
}
.mobilePanel-close {
  position: absolute;
  top: 20px;
  right: 15px; /* было больше — уменьшаем */
  font-size: 22px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
.mobileItem {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  text-decoration: none;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobileItem-content {
  flex: 1;
}
.mobileItem-title {
  font-weight: 600;
}
.mobileItem-sub {
  font-size: 13px;
  color: #888;
}
.mobileItem-arrow {
  font-size: 20px;
  opacity: 0.6;
}
@media (max-width: 992px) {
  .menu {
    display: none;
  }
}
@media (min-width: 993px) {
  .mobilePanel {
    display: none;
  }
}




.mobilePanel-logo span {
  color: #ff5a00; /* same accent color as header */
}


/* ===== MOBILE PANEL LOGO COLOR CORRECTED ===== */
.mobilePanel-logo {
  font-weight: 700;
  font-size: 20px;
  color: #ff5a00; /* SYREX accent orange */
}

.mobilePanel-logo span {
  color: #ffffff; /* ENERGY white */
}


/* ===== MOBILE PANEL HOVER EFFECT ===== */
.mobileItem {
  transition: background 0.25s ease, color 0.25s ease;
}

.mobileItem:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobileItem:hover .mobileItem-title {
  color: #ff5a00;
}



.mobileItem:hover {
  background: rgba(255, 255, 255, 0.06);
}


/* ===== CONTENT WIDTH HOVER ===== */
.mobileItem {
  margin: 0;
  padding: 14px 0;
  width: 100%;
}

.mobileItem:hover {
  background: rgba(255, 255, 255, 0.06);
}



.mobileItem:hover {
  background: rgba(255, 255, 255, 0.06);
}


/* ===== TRUE FULL WIDTH HOVER (NARROW PANEL) ===== */
.mobilePanel {
  padding: 20px 0; /* remove side padding so hover can reach edges */
}

.mobilePanel-list {
  padding: 0 20px; /* keep content aligned */
}

.mobileItem {
  margin: 0 -20px;          /* stretch to panel edges */
  padding: 14px 20px;       /* restore inner spacing */
  width: calc(100% + 40px);
}

.mobileItem:hover {
  background: rgba(255, 255, 255, 0.06);
}




/* ===== MESSENGER FOOTER BLOCK ===== */

.mobilePanel-footer {
  margin-top: auto;
  padding: 25px 20px;
  padding-top: 20px;
  padding-bottom: 60px;
  background: linear-gradient(90deg, #0f141a, #121a22);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.messenger-title {
  font-weight: 600;
  margin-bottom: 18px;
}

.messenger-grid {
  display: flex;
  gap: 12px;
}

.messenger-card {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.02);
  transition: all .25s ease;
}

.messenger-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}

.messenger-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.messenger-name {
  font-size: 13px;
}

/* Brand colors */
.messenger-card.telegram .messenger-icon { color: #29a9ea; }
.messenger-card.viber .messenger-icon { color: #7c4dff; }
.messenger-card.whatsapp .messenger-icon { color: #25d366; }



/* ===== MESSENGER CARDS SMALLER ===== */
.messenger-card {
  padding: 10px 6px;          /* smaller inner spacing */
  border-radius: 6px;         /* slightly tighter corners */
}

.messenger-icon {
  font-size: 16px;            /* smaller icon */
  margin-bottom: 4px;
}

.messenger-name {
  font-size: 12px;            /* slightly smaller text */
}



/* ===== ULTRA COMPACT MESSENGER CARDS ===== */
.messenger-card {
  padding: 8px 4px;
  border-radius: 6px;
}

.messenger-grid {
  gap: 8px;
}

.messenger-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.messenger-card.telegram .messenger-icon { background: #2AABEE; }
.messenger-card.viber .messenger-icon { background: #7F4DA0; }
.messenger-card.whatsapp .messenger-icon { background: #25D366; }

.messenger-name {
  font-size: 11px;
}



/* ===== PREMIUM APP-STYLE MESSENGER BUTTONS ===== */

.messenger-card {
  padding: 10px 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  transition: all .25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.messenger-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.2);
}

.messenger-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.messenger-card.telegram .messenger-icon {
  background: linear-gradient(145deg, #2AABEE, #1d8fd1);
}

.messenger-card.viber .messenger-icon {
  background: linear-gradient(145deg, #8e5bd6, #6f3fb2);
}

.messenger-card.whatsapp .messenger-icon {
  background: linear-gradient(145deg, #25D366, #1aa952);
}

.messenger-name {
  font-size: 11px;
  opacity: .9;
}



/* ===== REFINED MESSENGER BUTTONS (SMALL + NO LIFT) ===== */

.messenger-card {
  padding: 6px 4px;
  border-radius: 14px;                /* more rounded block */
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.messenger-card:hover {
  transform: none !important;         /* remove lift effect */
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.messenger-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.messenger-icon svg {
  width: 14px;
  height: 14px;
}

.messenger-name {
  font-size: 10px;
  margin-top: 4px;
}

.messenger-grid {
  gap: 6px;
}



/* ===== MINIMAL ROUND MESSENGERS ===== */

.messenger-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 4px 0;
}

.messenger-grid {
  justify-content: flex-start;
}

.messenger-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.messenger-icon svg {
  width: 13px;
  height: 13px;
}

.messenger-name {
  font-size: 9px;
  opacity: .8;
}

/* ===== LOGO LEFT ALIGN FIX ===== */

.mobilePanel-logo {
  padding-left: 20px;   /* same as panel content padding */
}



/* ===== RESTORE FRAMED STYLE ===== */

.messenger-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px 6px;
  box-shadow: none;
  transition: background .25s ease, border-color .25s ease;
}

.messenger-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}

.messenger-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: box-shadow .25s ease;
}

/* ===== SOFT BRAND GLOW ===== */

.messenger-card.telegram:hover .messenger-icon {
  box-shadow: 0 0 8px rgba(42,171,238,0.6);
}

.messenger-card.viber:hover .messenger-icon {
  box-shadow: 0 0 8px rgba(127,77,160,0.6);
}

.messenger-card.whatsapp:hover .messenger-icon {
  box-shadow: 0 0 8px rgba(37,211,102,0.6);
}



/* ================= ADVANTAGES — MOBILE STACK ================= */

@media (max-width: 768px) {

  .advantages .cardsGrid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .advantages .aCard {
    width: 100%;
  }

}


/* ================= PRODUCTS — VARIANT C (Scroll Snap Premium) ================= */

@media (max-width: 768px) {

  #products {
    padding: 80px 0 80px 0;
  }

  #products .cardsGrid {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-right: 24px;
  }

  #products .cardsGrid::-webkit-scrollbar {
    display: none;
  }

  #products .pCard {
    flex: 0 0 85%;
    scroll-snap-align: start;
    background: #0f1115;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  }

  #products .pCard img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 20px;
  }

  #products .pCard h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  #products .pCard ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
  }

  #products .pCard ul li {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
  }

  #products .pCard .btn {
    width: 100%;
    border-radius: 14px;
    padding: 14px;
  }

}



/* ================= PRODUCTS — Масштабування систем (Mobile Fix) ================= */

@media (max-width: 768px) {

  /* Block with scaling systems text */
  #products .scaling,
  #products .system-scaling,
  #products .scaleBlock {
    padding: 40px 24px;
    text-align: left;
  }

  #products .scaling h3,
  #products .system-scaling h3,
  #products .scaleBlock h3 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  #products .scaling p,
  #products .system-scaling p,
  #products .scaleBlock p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
  }

  /* If there is a diagram or image */
  #products .scaling img,
  #products .system-scaling img,
  #products .scaleBlock img {
    width: 100%;
    margin-top: 20px;
  }

}



/* ===== PRODUCTS — Hide scaling table columns on mobile ===== */

@media (max-width: 768px) {

  /* Hide first 4 columns in scaling table */
  #products table th:nth-child(-n+4),
  #products table td:nth-child(-n+4) {
    display: none;
  }

}



/* ===== PRODUCTS — Scaling table mobile clean (no horizontal scroll) ===== */

@media (max-width: 768px) {

  /* Remove horizontal scroll */
  #products {
    overflow-x: hidden;
  }

  #products table {
    width: 100% !important;
    display: table;
    table-layout: fixed;
  }

  /* Hide all columns first */
  #products table th,
  #products table td {
    display: none;
  }

  /* Show only:
     1 — Конфігурація
     5 — Застосування
     6 — Ціна
     (adjusted to typical column order)
  */

  #products table th:nth-child(1),
  #products table td:nth-child(1),
  #products table th:nth-child(5),
  #products table td:nth-child(5),
  #products table th:nth-child(6),
  #products table td:nth-child(6) {
    display: table-cell;
  }

  /* Make text wrap properly */
  #products table th,
  #products table td {
    word-break: break-word;
    font-size: 13px;
    padding: 10px 6px;
  }

}



/* ===== PRODUCTS — Scaling table mobile (2 columns only) ===== */

@media (max-width: 768px) {

  #products {
    overflow-x: hidden;
  }

  #products table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
  }

  /* Hide all columns */
  #products table th,
  #products table td {
    display: none;
  }

  /* Show only:
     1 — Конфігурація
     6 — Ціна
  */

  #products table th:nth-child(1),
  #products table td:nth-child(1),
  #products table th:nth-child(6),
  #products table td:nth-child(6) {
    display: table-cell;
    width: 50%;
  }

  /* Proper spacing */
  #products table th,
  #products table td {
    padding: 12px 10px;
    font-size: 14px;
    word-break: break-word;
  }

}



/* ===== PRODUCTS — Hide "Масштабування систем" block completely on mobile ===== */

@media (max-width: 768px) {

  /* Hide scaling table */
  #products table {
    display: none !important;
  }

  /* Hide its heading (usually last h3 inside products section) */
  #products h3:last-of-type {
    display: none !important;
  }

}



/* ===== PRODUCTS — Remove remaining lines on mobile ===== */

@media (max-width: 768px) {

  /* Hide any horizontal rules */
  #products hr {
    display: none !important;
  }

  /* Remove borders that may remain */
  #products table,
  #products tr,
  #products td,
  #products th {
    border: none !important;
  }

  /* Remove pseudo divider lines */
  #products *::before,
  #products *::after {
    border: none !important;
  }

}



/* ===== PRODUCTS — Remove bottom divider lines on mobile ===== */

@media (max-width: 768px) {

  /* Remove any section bottom borders */
  #products {
    border-bottom: none !important;
  }

  /* Remove divider lines inside products */
  #products .container,
  #products .sectionHead,
  #products .cardsGrid {
    border-bottom: none !important;
  }

  /* Remove generic horizontal dividers */
  #products hr {
    display: none !important;
  }

}



/* ===== NEXT-GEN CALCULATOR — 3 items per row on mobile ===== */

@media (max-width: 768px) {

  /* Block: Що можна живити */
  #calculator .devicesGrid,
  .devicesGrid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px;
  }

  /* Make cards adapt nicely */
  #calculator .deviceCard,
  .deviceCard {
    padding: 14px 8px;
  }

  #calculator .deviceCard h4,
  .deviceCard h4 {
    font-size: 13px;
  }

  #calculator .deviceCard p,
  .deviceCard p {
    font-size: 12px;
  }

}



/* ===== NEXT-GEN CALCULATOR — SMART ADAPTIVE GRID ===== */

/* Small phones */
@media (max-width: 480px) {
  #calculator .devicesGrid,
  .devicesGrid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}

/* Medium phones */
@media (min-width: 481px) and (max-width: 768px) {
  #calculator .devicesGrid,
  .devicesGrid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px;
  }
}

/* Slightly larger mobile / small tablets */
@media (min-width: 769px) and (max-width: 992px) {
  #calculator .devicesGrid,
  .devicesGrid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px;
  }
}



/* ===== GLOBAL — Wider Content Layout ===== */

.container {
  max-width: 1320px;
  width: 92%;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }
}



/* ===== Calculator — Slightly Wider Layout ===== */



@media (min-width: 1600px) {
  #calculator .container {
    max-width: 1550px;
  }
}



/* ===== Footer Messenger Icons Clean Implementation ===== */

.socials {
  display:flex;
  gap:14px;
}

.sBtn {
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#1f2630;
}

.sBtn svg {
  width:17px;
  height:17px;
}

.sBtn.tg { color:#229ED9; }
.sBtn.vb { color:#7360F2; }
.sBtn.wa { color:#25D366; }



/* ===== HERO Mobile Proper Layout Fix ===== */

@media (max-width: 768px) {

  /* Force hero grid to single column */
  .hero div[style*="grid-template-columns: 1fr 1fr"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  /* Move image block below specs */
  .hero div[style*="min-height: 450px"] {
    order: 3 !important;
    margin-top: 30px !important;
  }

  /* Hide 24/7 badge */
  .hero div[style*="top: -40px"] {
    display: none !important;
  }

}



/* ===== HERO Mobile: Hide 24/7 and Image ===== */

@media (max-width: 768px) {

  /* Hide 24/7 badge */
  .hero div[style*="top: -40px"] {
    display: none !important;
  }

  /* Hide image block */
  .hero div[style*="min-height: 450px"] {
    display: none !important;
  }

}



/* ===== HERO MOBILE DEFINITIVE FIX ===== */

@media (max-width: 768px) {

  /* Hide entire right grid column (photo + 24/7) */
  .hero div[style*="grid-template-columns"] > div:nth-child(2) {
    display: none !important;
  }

}



/* ===== MOBILE HARD HIDE HERO RIGHT COLUMN (FINAL) ===== */

@media (max-width: 768px) {

  div[style*="grid-template-columns: 1fr 1fr"] > div:nth-child(2) {
    display: none !important;
  }

}



/* ===== REMOVE LINE IN PRODUCTS SCALE SECTION ===== */

.scaleTableSection {
  border-top: none !important;
}

.scaleTableWrap {
  border-top: none !important;
}

.products hr {
  display: none !important;
}



/* Dynamic calculator model style (linked to accent variables) */
.calc-model{
  font-size: 1.15em;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.3s ease;
}


/* Smart load percentage styling */
.power-percent{
  font-weight: 700;
  font-size: 1.05em;
  transition: color 0.3s ease;
}

/* ===== MOBILE CALCULATOR ===== */

@media (max-width: 768px) {

  .calculator-wrapper {
    flex-direction: column;
  }

  .calculator-left,
  .calculator-right {
    width: 100%;
  }

  #applianceViz {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .viz-item {
    padding: 8px 4px;
    font-size: 12px;
  }

  .viz-icon {
    font-size: 18px;
  }

}
.footer .sBtn.wa {
  color: #25D366 !important;
}

.footer .sBtn.wa svg {
  fill: currentColor !important;
}

.seo-h1 {
  position:absolute;
  left:-9999px;
}

/* ===== FIX MOBILE HEADER POSITION ===== */

body {
  margin: 0;
  padding: 0;
}

/* Верхняя мобильная панель */
.syrex-mobile-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
}

/* Чтобы контент не заезжал под неё */
@media (max-width: 768px) {
  body {
    padding-top: 60px; /* высота mobile-bar */
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ===== Premium SaaS Language Dropdown ===== */

.lang-dropdown {
  position: relative;
  margin-right: 18px;
}

.lang-current {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.25s ease;
}

.lang-current:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.lang-chevron {
  transition: 0.3s ease;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: rgba(15,15,15,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 6px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 999;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-menu button {
  background: transparent;
  border: none;
  color: #ccc;
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.lang-menu button:hover {
  background: rgba(255,255,255,0.05);
  color: var(--accent);
}

.lang-flag {
  font-size: 16px;
}

.lang-menu button.active {
  background: rgba(255,255,255,0.06);
  color: var(--accent);
}

.flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
  background-size: cover;
  background-position: center;
}

/* Украина */
.flag-ua {
  background-image: linear-gradient(to bottom, #0057B7 50%, #FFD700 50%);
}

/* Россия */
.flag-ru {
  background-image: linear-gradient(
    to bottom,
    #ffffff 33%,
    #0039A6 33%,
    #0039A6 66%,
    #D52B1E 66%
  );
}

/* Великобритания */
.flag-gb {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E");
}

.advantages h2 span {
  color: var(--accent);
}

.medal-icon {
  font-size: 22px;
}

.medal-text {
  font-size: 8px;
  line-height: 1;
}

.scale-labels {
  position: relative;
  width: 100%;
  height: 20px;
  margin-top: 8px;
  font-size: 12px;
  color: #777;
}

.scale-labels span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.scale-labels span:first-child {
  left: 0%;
  transform: translateX(0);
}

.scale-labels span:last-child {
  left: 100%;
  transform: translateX(-100%);
}

.mobile-lang-dropdown {
  position: relative;
  margin-right: 12px;
}

.mobile-lang-current {
  background: none;
  border: none;
  padding: 0;
}

.mobile-lang-dropdown .lang-menu {
  position: absolute;
  top: 40px;
  right: 0;
  background: #111;
  border-radius: 8px;
  padding: 8px 0;
  display: none;
  min-width: 100px;
  z-index: 1000;
}

.mobile-lang-dropdown.open .lang-menu {
  display: block;
}

.formSuccess {
  display: none;
  background: #111;
  border: 1px solid #1f3;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.formSuccess.active {
  display: block;
}

.successIcon {
  font-size: 40px;
  color: #00ff66;
  margin-bottom: 10px;
}

.successTitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.successText {
  opacity: 0.7;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

.syrex-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
}

.syrex-mobile-nav a::before {
  width: 28px;
  display: inline-block;
}

/* ===== MOBILE MENU ICON FIX ===== */

.mobileItem {
  display: flex;
  align-items: center;
}

.mobileItem .mobileItem-icon {
  width: 28px;        /* фиксированная ширина */
  min-width: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobileItem-content {
  flex: 1;
}

/* ===== MOBILE OVERLAY ===== */

.mobileOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 998;
}

.mobileOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* чтобы меню было поверх затемнения */
.syrex-mobile-nav {
  z-index: 999;
}

@media (max-width: 768px) {
  main#top section:first-of-type {
    padding-top: 30px !important;
  }
}

@media (max-width: 768px) {
  .hero-section svg {
    width: 100% !important;
    left: 0 !important;
  }
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  overscroll-behavior-y: none;
}

@media (max-width: 768px) {

  /* Главный заголовок HERO */
  #top h1 {
    font-size: 44px !important;
    line-height: 1.2 !important;
  }

  /* Большое слово "живлення" */
  #top h1 span[data-i18n="hero.main"] {
    font-size: 60px !important;
    transform: none !important;
  }

  #top h1 span[data-i18n="hero.main"] {
  color: var(--accent);
}

  /* "РОБОТИ" */
  #top h1 span[data-i18n="hero.bigBottom"] {
    font-size: 48px !important;
    transform: none !important;
  }

  /* Курсивное слово */
  #top h1 span[data-i18n="hero.italic"] {
    font-size: 34px !important;
    transform: none !important;
  }

  /* Маленькие подписи */
  #top h1 span[data-i18n="hero.smallTop"],
  #top h1 span[data-i18n="hero.smallBottom"] {
    font-size: 2  0px !important;
    transform: none !important;
  }

}

.syrex-mobile-logo {
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  display: inline-block;
}

.syrex-mobile-logo .logoMark {
  color: var(--accent); /* твой фирменный цвет */
}

.syrex-mobile-logo .logoSub {
  color: #ffffff; /* ENERGY белым */
}

#top h1 span[data-i18n="hero.main"] {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

#top h1 span[data-i18n="hero.main"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ===== ЧЕРЕДОВАНИЕ СЕКЦИЙ ===== */

/* 3 HERO — оставляем как есть */

/* 4 ADVANTAGES */
#advantages {
  background: var(--bg-2);
}

/* 5 PRODUCTS */
#products {
  background: var(--bg-1);
}

/* 6 CALCULATOR */
#calculator {
  background: var(--bg-2);
}

/* 7 PRACTICE */
#practice {
  background: var(--bg-1);
}

/* 8 INVERTERS */
#inverters {
  background: var(--bg-2);
}

/* 9 CONTACTS */
#contacts {
  background: var(--bg-1);
}

/* 10 FAQ */
#faq {
  background: var(--bg-2);
}

@media (max-width: 768px) {

  .capacity-card {
    flex-direction: column;
    align-items: center;
  }

  .capacity-card .capacity-unit {
    display: block !important;
  }

}

/* =========================
   SYREX PREMIUM MOBILE HEADER
========================= */

@media (max-width:768px){

.header{
position:sticky;
top:0;
z-index:1000;
background:rgba(255,255,255,0.92);
backdrop-filter:blur(10px);
border-bottom:1px solid rgba(0,0,0,0.05);
}

.nav{
display:flex;
align-items:center;
justify-content:space-between;
padding:12px 16px;
position:relative;
}

/* логотип */
.logo{
font-size:16px;
font-weight:700;
letter-spacing:.5px;
}

/* бургер */
.burger{
display:flex;
flex-direction:column;
justify-content:center;
gap:4px;
width:28px;
height:24px;
border:none;
background:none;
cursor:pointer;
}

.burger span{
display:block;
height:2px;
background:#111;
border-radius:2px;
}

/* меню скрываем */
.menu{
display:none;
}

/* правый блок */
.navRight{
position:absolute;
right:16px;
top:50%;
transform:translateY(-50%);
display:flex;
align-items:center;
gap:12px;
}

/* кнопка языка */
.lang-current{
display:flex;
align-items:center;
gap:4px;
font-size:12px;
font-weight:600;
padding:6px 8px;
border-radius:6px;
background:rgba(0,0,0,0.04);
}

/* dropdown */
.lang-menu{
right:0;
left:auto;
min-width:140px;
}



}

/* MOBILE HEADER */

@media (max-width:768px){

.nav{
position:relative;
display:flex;
align-items:center;
justify-content:space-between;
}

/* меню скрываем в шапке */
.menu{
display:none;
}

/* логотип */
.logo{
margin-left:8px;
}

/* бургер слева */
.burger{
order:-1;
}

/* правый блок */
.navRight{
position:absolute;
right:16px;
top:50%;
transform:translateY(-50%);
display:flex;
align-items:center;
gap:10px;
}

/* компактная кнопка языка */
.lang-current{
font-size:16px;
padding:6px 8px;
}

/* dropdown языков */
.lang-menu{
right:0;
left:auto;
}

}


.syrex-hamburger span{
width:22px;
height:2px;
background:white;
display:block;
}

/* логотип */

.syrex-mobile-logo{
font-weight:700;
font-size:24px;
color:white;
text-decoration:none;
}



/* dropdown */

.mobile-lang-menu{
position:absolute;
top:28px;
right:0;
background:#111;
border-radius:8px;
padding:6px 0;
display:none;
flex-direction:column;
min-width:130px;
box-shadow:0 10px 25px rgba(0,0,0,0.35);
}

.mobile-lang-menu button{
background:none;
border:none;
color:white;
text-align:right;
padding:8px 14px;
cursor:pointer;
font-size:16px;
}

.mobile-lang-menu button:hover{
background:rgba(255,255,255,0.06);
}

.mobile-lang-menu.open{
display:flex;
}



@media (max-width:768px){

.syrex-mobile-bar{
display:flex;
align-items:center;
gap:10px;
}

.syrex-mobile-logo{
margin:3;
}

.syrex-mobile-bar .lang-dropdown{
margin-left:auto;
}

}

.formSuccess{
display:none;
text-align:center;
padding:60px 30px;
animation:fadeIn .6s ease;
}

.successIcon{
width:70px;
height:70px;
border-radius:50%;
background:#00c853;
color:#fff;
font-size:36px;
display:flex;
align-items:center;
justify-content:center;
margin:0 auto 20px;
box-shadow:0 0 20px rgba(0,200,83,.6);
animation:pop .4s ease;
}

@keyframes fadeIn{
from{opacity:0; transform:translateY(10px)}
to{opacity:1; transform:translateY(0)}
}

@keyframes pop{
from{transform:scale(.6); opacity:0}
to{transform:scale(1); opacity:1}
}

#formSuccess{
display:none;
text-align:center;
padding:40px 20px;
}

#formSuccess.active{
display:block;
}

