:root {
  --bg:        #08090D;
  --bg2:       #0F1016;
  --bg3:       #141520;
  --blue:      #00AAFF;
  --amber:     #FFB300;
  --red:       #FF3A3A;
  --white:     #FFFFFF;
  --muted:     #7A7A8A;
  --border:    #1E1E2A;
  --display:   'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body:      Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:    6px;
  --nav-h:      64px;
  --page-pad:   clamp(18px, 4vw, 60px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(255,255,255,0.08);
}
body, button, input { overflow-wrap: break-word; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
[data-cms-key] { white-space: pre-line; }
.sr-only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
:where(a, button, input, [role="link"]):focus-visible { outline:3px solid #7dd8ff; outline-offset:3px; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: rgba(8,9,13,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transform: translateZ(0);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.nav-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: rgba(255,255,255,0.82);
  font-size: 0;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.nav-back::before {
  content: "←";
  font-size: 18px;
  line-height: 1;
}
.nav-back:hover {
  transform: translateX(-2px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,170,255,0.42);
}
.nav-logo {
  font-family: var(--display); font-size: 24px; letter-spacing: 2px;
  color: var(--white); text-decoration: none; cursor: pointer;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 6px; align-items: center; min-width: 0; }
.nav-link {
  padding: 7px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link.blue  { color: var(--blue);  border-color: rgba(0,170,255,0.3); }
.nav-link.amber { color: var(--amber); border-color: rgba(255,179,0,0.3); }
.nav-link.red   { color: var(--red);   border-color: rgba(255,58,58,0.3); }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.06); }
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  margin-left: auto;
}
.nav-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-left: 0;
  line-height: 1.15;
}
.nav-whatsapp {
  color: #71f2a6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-decoration: none;
  text-align: right;
}
.nav-phone { font-size: 14px; color: var(--muted); letter-spacing: 0.5px; text-decoration: none; }
.nav-phone span { color: var(--white); font-weight: 600; }
.nav-email {
  color: rgba(255,255,255,0.72);
  font-size: 11px;
  letter-spacing: 0.35px;
  text-decoration: none;
  text-align: right;
  text-transform: none;
}
.nav-email span { color: var(--blue); font-weight: 700; }
.nav-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  flex: 0 0 auto;
  border: 1px solid rgba(30,167,255,0.34);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(30,167,255,0.1), rgba(255,255,255,0.025));
  color: rgba(232,248,255,0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.nav-admin:hover {
  transform: translateY(-1px);
  border-color: rgba(30,167,255,0.7);
  background: rgba(30,167,255,0.14);
  box-shadow: 0 0 22px rgba(30,167,255,0.16);
}
.nav-admin-icon {
  color: var(--blue);
  font-size: 14px;
}

.electric-effects {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  width: 100dvw;
  height: 100dvh;
  z-index: 110;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
  mix-blend-mode: screen;
}
.electric-bolt,
.electric-branch,
.electric-contact {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  animation: electric-strike var(--bolt-life) linear forwards;
}
.electric-bolt.is-glow {
  stroke: rgba(0,174,255,0.5);
  stroke-width: 15;
  filter: blur(5px);
}
.electric-bolt.is-mid {
  stroke: rgba(105,225,255,0.86);
  stroke-width: 5.2;
  filter: drop-shadow(0 0 14px rgba(0,200,255,0.68));
}
.electric-bolt.is-core,
.electric-branch {
  stroke: rgba(248,253,255,0.96);
  stroke-width: 2.3;
  filter:
    drop-shadow(0 0 4px rgba(255,255,255,0.82))
    drop-shadow(0 0 13px rgba(0,210,255,0.68));
}
.electric-branch {
  stroke-width: 1.25;
  animation-duration: var(--bolt-life);
}
.electric-contact {
  fill: rgba(215,248,255,0.16);
  stroke: rgba(67,220,255,0.58);
  stroke-width: 1.4;
  animation: electric-contact-flash var(--bolt-life) ease-out forwards;
  filter:
    drop-shadow(0 0 5px rgba(255,255,255,0.58))
    drop-shadow(0 0 15px rgba(0,210,255,0.5));
}
@keyframes electric-contact-flash {
  0% { opacity: 0; }
  8% { opacity: 0.72; }
  18% { opacity: 0.28; }
  30% { opacity: 0.62; }
  100% { opacity: 0; }
}
@keyframes electric-strike {
  0% {
    opacity: 0;
    stroke-dashoffset: var(--bolt-length);
  }
  7% { opacity: 0.82; }
  16% { opacity: 0.24; }
  25% { opacity: 0.7; }
  48% { opacity: 0.55; }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

.floating-contacts {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 120;
  width: min(320px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(0,170,255,0.28);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(8,18,32,0.92), rgba(8,9,13,0.82)),
    radial-gradient(circle at 12% 0%, rgba(0,170,255,0.22), transparent 38%);
  box-shadow:
    0 18px 60px rgba(0,0,0,0.42),
    0 0 34px rgba(0,170,255,0.13);
  backdrop-filter: blur(18px);
  touch-action: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.floating-contacts.is-collapsed {
  width: 66px;
  padding: 10px;
  border-radius: 18px;
}
.floating-contacts.is-dragging {
  border-color: rgba(0,170,255,0.62);
  box-shadow:
    0 22px 70px rgba(0,0,0,0.52),
    0 0 46px rgba(0,170,255,0.26);
}
.floating-contacts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.floating-contacts-title {
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: grab;
  min-width: 0;
}
.floating-contacts.is-dragging .floating-contacts-title {
  cursor: grabbing;
}
.floating-contacts-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0,170,255,0.3);
  border-radius: 999px;
  background: rgba(0,170,255,0.08);
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.floating-contacts-toggle:hover {
  background: rgba(0,170,255,0.16);
  border-color: rgba(0,170,255,0.58);
}
.floating-contacts.is-collapsed .floating-contacts-head {
  justify-content: center;
  margin-bottom: 0;
}
.floating-contacts.is-collapsed .floating-contacts-title,
.floating-contacts.is-collapsed .floating-contact-list {
  display: none;
}
.floating-contacts.is-collapsed .floating-contacts-toggle {
  width: 44px;
  height: 44px;
  font-size: 0;
}
.floating-contacts.is-collapsed .floating-contacts-toggle::before {
  content: "☎";
  font-size: 21px;
}
.floating-contact-list {
  display: grid;
  gap: 8px;
}
.floating-contact {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
}
.floating-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0,170,255,0.32);
  border-radius: 10px;
  color: var(--blue);
  background: rgba(0,170,255,0.08);
}
.floating-contact-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.floating-contact-label {
  font-size: 11px;
  color: rgba(255,255,255,0.48);
}
.floating-contact-value {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.floating-contact:hover .floating-contact-value {
  color: var(--blue);
}

/* ─── PAGES ─── */
.page { display: none; min-height: 100vh; padding-top: var(--nav-h); background: var(--bg); }
.page.active { display: flex; flex-direction: column; }

/* ═══════════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════════ */
.hero {
  position: relative; height: calc(100vh - var(--nav-h)); min-height: clamp(560px, 78vh, 720px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: var(--bg);
  padding-inline: var(--page-pad);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-kes-energy-v2.jpg');
  background-size: cover; background-position: center;
  transform: scale(1.015);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,9,13,0.5) 0%, rgba(8,9,13,0.75) 60%, rgba(8,9,13,1) 100%);
}
.hero-content { position: relative; z-index: 95; width: min(1180px, 100%); }
.hero-eyebrow {
  margin-bottom: 16px;
  color: #76CFFF;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--display); font-size: clamp(42px, 7vw, 88px);
  letter-spacing: clamp(1.5px, 0.42vw, 5px); line-height: 1; color: var(--white);
  text-shadow: 0 0 60px rgba(0,150,255,0.3);
  overflow-wrap: normal;
}
.hero-title,
.page-title,
.tab-content-col > h3,
#tab-12v-0 .premium-title,
.home-card-title,
.proof-card strong,
.footer-col-title {
  background: linear-gradient(135deg, #ffffff 0%, #7ddcff 34%, #ffcf52 68%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  width: min(820px, 100%);
  margin: 18px auto 0;
  padding: clamp(13px, 2vw, 18px) clamp(16px, 2.5vw, 26px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: clamp(15px, 1.65vw, 19px);
  line-height: 1.55;
  color: rgba(240,248,255,0.88);
  letter-spacing: 0;
  position: relative;
  transition: text-shadow 250ms ease, color 250ms ease;
}
.hero-lightning-anchor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.hero.is-lightning-active .hero-sub {
  color: rgba(238,248,255,0.94);
  text-shadow:
    0 0 18px rgba(30,167,255,0.56),
    0 0 44px rgba(30,167,255,0.28);
}
.hero.is-lightning-flash .hero-title,
.hero.is-lightning-flash .hero-sub {
  text-shadow:
    0 0 20px rgba(255,255,255,0.62),
    0 0 70px rgba(30,167,255,0.46),
    0 0 120px rgba(30,167,255,0.28);
}
.hero-actions,
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.page-hero-actions {
  justify-content: flex-start;
  margin-top: 20px;
}
.cta-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid rgba(30,167,255,0.58);
  border-radius: var(--radius);
  color: #fff;
  font: 800 14px/1.2 inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease, background 250ms ease;
}
.cta-button:hover { transform: translateY(-2px); }
.cta-button.is-primary {
  border-color: #1EA7FF;
  background: linear-gradient(135deg, #0077D8, #1EA7FF);
  box-shadow: 0 12px 34px rgba(30,167,255,0.28), 0 0 24px rgba(30,167,255,0.16);
}
.cta-button.is-primary:hover { box-shadow: 0 16px 40px rgba(30,167,255,0.36), 0 0 30px rgba(30,167,255,0.22); }
.cta-button.is-secondary {
  background: rgba(8,9,13,0.56);
  backdrop-filter: blur(12px);
}
.cta-button.is-secondary:hover { border-color: #1EA7FF; background: rgba(30,167,255,0.1); }
.page-hero-actions .cta-button { min-height: 44px; padding: 10px 18px; }
.hero-badges {
  width: min(720px, calc(100vw - 48px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  overflow: hidden;
  padding: 10px 30px 10px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid;
  letter-spacing: 0;
  cursor: pointer;
  user-select: none;
  text-align: center;
  min-width: 0;
  overflow-wrap: anywhere;
  isolation: isolate;
  box-shadow: 0 20px 60px rgba(0,0,0,0.32);
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}
.hero-badges button { font-family: inherit; }
.badge-label {
  display: grid;
  justify-items: center;
  align-content: center;
  grid-template-rows: 1fr 6px 1fr;
  gap: 5px;
  width: 100%;
  min-height: 48px;
  line-height: 1.08;
}
.badge-line {
  display: block;
  text-align: center;
  align-self: center;
  width: 100%;
}
.badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.82;
  align-self: center;
}
.badge-dot.is-hidden {
  opacity: 0;
}
.badge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}
.badge::after {
  content: "→";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 16px;
  line-height: 1;
}
.badge:hover { transform: translateY(-3px); filter: brightness(1.08); }
.badge:hover::before { transform: scale(1.08); }
.badge-blue  {
  color: #DDF7FF;
  border-color: rgba(0,170,255,0.55);
  background: linear-gradient(to bottom, rgba(0,20,60,0.08), rgba(0,20,60,0.82));
}
.badge-blue::before {
  background:
    radial-gradient(circle at 22% 28%, rgba(0,170,255,0.44), transparent 20%),
    linear-gradient(135deg, rgba(0,170,255,0.18), rgba(0,15,45,0.82));
}
.badge-amber {
  color: #FFE9A8;
  border-color: rgba(255,179,0,0.55);
  background: linear-gradient(to bottom, rgba(60,30,0,0.08), rgba(60,30,0,0.82));
}
.badge-amber::before {
  background:
    radial-gradient(circle at 72% 34%, rgba(255,179,0,0.44), transparent 20%),
    linear-gradient(135deg, rgba(255,179,0,0.16), rgba(58,30,0,0.82));
}
.badge-red {
  color: #FFD0D0;
  border-color: rgba(255,58,58,0.55);
  background: linear-gradient(to bottom, rgba(60,0,0,0.08), rgba(60,0,0,0.82));
}
.badge-red::before {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,58,58,0.42), transparent 20%),
    linear-gradient(135deg, rgba(255,58,58,0.14), rgba(58,0,0,0.82));
}
.badge-emergency {
  grid-column: 1 / -1;
  min-height: 76px;
  color: #fff;
  border-color: rgba(255,70,70,0.72);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,0.18), transparent 34%),
    linear-gradient(135deg, rgba(255,58,58,0.28), rgba(255,179,0,0.14) 48%, rgba(0,170,255,0.12));
  box-shadow:
    0 24px 70px rgba(0,0,0,0.38),
    0 0 36px rgba(255,58,58,0.16);
}
.badge-emergency::before {
  background:
    linear-gradient(135deg, rgba(255,58,58,0.26), rgba(255,179,0,0.14) 46%, rgba(8,9,13,0.94)),
    radial-gradient(circle at 82% 22%, rgba(255,255,255,0.16), transparent 32%);
}
.badge-emergency::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.26), transparent);
}
.badge-emergency .badge-label {
  grid-template-rows: 1fr;
  min-height: 48px;
}
.badge-emergency .badge-line {
  font-size: clamp(13px, 1.55vw, 17px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* ─── ESTIMATE CHOOSER ─── */
.estimate-dialog {
  width: min(620px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(30,167,255,0.4);
  border-radius: 16px;
  color: var(--white);
  background: rgba(9,13,22,0.97);
  box-shadow: 0 32px 100px rgba(0,0,0,0.72), 0 0 46px rgba(30,167,255,0.14);
}
.estimate-dialog::backdrop { background: rgba(0,0,0,0.78); backdrop-filter: blur(8px); }
.estimate-dialog-inner { position: relative; padding: 32px; }
.estimate-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.04);
  font-size: 20px;
  cursor: pointer;
}
.estimate-dialog h2 { padding-right: 44px; font-family: var(--display); font-size: 32px; letter-spacing: 1px; }
.estimate-dialog p { margin-top: 9px; color: var(--muted); line-height: 1.55; }
.estimate-options { display: grid; gap: 10px; margin-top: 24px; }
.estimate-option {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255,255,255,0.035);
  text-align: left;
  cursor: pointer;
  transition: transform 250ms ease, border-color 250ms ease, background 250ms ease;
}
.estimate-option:hover { transform: translateX(4px); border-color: #1EA7FF; background: rgba(30,167,255,0.09); }
.estimate-option-icon { font-size: 22px; }
.estimate-option strong { display: block; font-size: 15px; }
.estimate-option small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.estimate-option-arrow { color: #1EA7FF; font-size: 18px; }

/* ─── HOME CARDS ─── */
.home-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; background: var(--bg); overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.home-card {
  position: relative; height: clamp(420px, 70vh, 760px); min-height: 420px; overflow: hidden; cursor: pointer;
  isolation: isolate;
  width: 100%; color: inherit; text-align: left; background: none;
  border: 0; border-right: 1px solid rgba(255,255,255,0.08);
}
.home-card:last-child { border-right: 0; }
.home-card-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.6s ease;
  transform: scale(1.01);
}
.home-card:hover .home-card-bg { transform: scale(1.055); }
.home-card-overlay {
  position: absolute; inset: 0;
  transition: background 0.3s;
  mix-blend-mode: normal;
}
.home-card:hover .home-card-overlay { filter: brightness(0.85); }
.home-card-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 32px);
  z-index: 1;
}
.home-card-volt {
  font-family: var(--display); font-size: clamp(54px, 5vw, 80px); line-height: 1;
  font-weight: 900; letter-spacing: 2px; margin-bottom: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.home-card-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(0,0,0,0.36);
  color: rgba(255,255,255,0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.home-card-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.home-card-sub {
  max-width: 420px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.home-card-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid; transition: all 0.2s; width: fit-content;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
}
.home-card-btn:hover { transform: translateX(4px); }

/* ─── HOME TRUST BAR ─── */
.trust-bar {
  background:
    radial-gradient(circle at 20% 0%, rgba(0,170,255,0.12), transparent 34%),
    radial-gradient(circle at 80% 100%, rgba(255,179,0,0.08), transparent 32%),
    var(--bg2);
  border-top: 0; border-bottom: 1px solid var(--border);
  padding: clamp(24px, 4vw, 44px) var(--page-pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: center;
}
.trust-bar > div {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    rgba(8,9,13,0.4);
  box-shadow: 0 20px 56px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(0);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.trust-bar > div:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(125,220,255,0.42);
  background:
    linear-gradient(145deg, rgba(0,170,255,0.11), rgba(255,179,0,0.055)),
    rgba(8,9,13,0.52);
  box-shadow: 0 30px 82px rgba(0,0,0,0.34), 0 0 34px rgba(0,170,255,0.14), inset 0 1px 0 rgba(255,255,255,0.09);
}
.trust-item-num { font-family: var(--display); font-size: clamp(42px, 5vw, 70px); color: var(--white); line-height: .92; letter-spacing: .02em; text-align: center; }
.trust-item-label { max-width: 260px; margin: 0 auto; font-size: 13px; color: rgba(255,255,255,0.68); line-height: 1.45; text-align: center; }
.trust-item-label.is-top { color: rgba(255,255,255,0.86); font-weight: 800; }
.workflow-section {
  padding: clamp(42px, 6vw, 76px) var(--page-pad);
  background:
    linear-gradient(180deg, rgba(8,9,13,1), rgba(12,15,22,1)),
    radial-gradient(circle at 50% 0%, rgba(0,170,255,0.12), transparent 36%);
  border-bottom: 1px solid var(--border);
}
.workflow-head {
  width: min(840px, 100%);
  margin: 0 auto clamp(22px, 3vw, 34px);
  text-align: center;
}
.workflow-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.workflow-title {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
  background: linear-gradient(135deg, #ffffff 0%, #7ddcff 42%, #ffcf52 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.workflow-subtitle {
  margin: 14px auto 0;
  max-width: 680px;
  color: rgba(255,255,255,0.64);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.6;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  width: min(1180px, 100%);
  margin: 0 auto;
  background: transparent;
  border-bottom: 0;
  counter-reset: workflow;
}
.proof-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: clamp(24px, 3.2vw, 38px);
  border: 1px solid rgba(125,220,255,0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(0,170,255,0.22), transparent 34%),
    linear-gradient(145deg, rgba(25,30,44,0.98), rgba(8,10,16,0.98));
  box-shadow: 0 28px 80px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.07);
}
.proof-card::before {
  content: counter(workflow);
  counter-increment: workflow;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(125,220,255,0.28);
  border-radius: 14px;
  color: #dff8ff;
  background: rgba(0,170,255,0.12);
  font-weight: 900;
}
.proof-card strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.1;
}
.proof-card span {
  display: block;
  max-width: 520px;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   INNER PAGES  (12v / 220v / 380v)
═══════════════════════════════════════════ */
.page-hero {
  position: relative; height: clamp(340px, 52vh, 560px); min-height: 340px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 0 var(--page-pad) clamp(34px, 4vw, 48px);
  overflow: hidden;
  background: var(--bg);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.012);
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,9,13,0.92) 40%, rgba(8,9,13,0.4) 100%);
}
.page-hero-content { position: relative; z-index: 95; }
.page-volt-label {
  font-family: var(--display); font-size: 18px; letter-spacing: 4px;
  margin-bottom: 10px; opacity: 0.7;
}
.page-title {
  font-family: var(--display); font-size: clamp(36px, 5vw, 64px);
  line-height: 1; letter-spacing: 3px; margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.page-subtitle { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 540px; line-height: 1.6; }
.page-subtitle {
  display: inline-block;
  padding: 4px 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-shadow: 0 0 28px rgba(255,255,255,0.12);
}
#page-12v .page-subtitle {
  color: #dff8ff;
  background: linear-gradient(90deg, #ffffff 0%, #99eaff 45%, #dff8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#page-220v .page-subtitle {
  color: #fff0c8;
  background: linear-gradient(90deg, #ffffff 0%, #ffd978 45%, #fff0c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#page-380v .page-subtitle {
  color: #ffd8d8;
  background: linear-gradient(90deg, #ffffff 0%, #ff8a8a 45%, #ffd8d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#page-12v .page-hero {
  height: clamp(300px, 42vh, 440px);
  min-height: 300px;
}

/* ─── TABS ─── */
.tabs-container { background: var(--bg2); overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tabs-nav {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
  background: #0B0C12;
}
.tab-btn {
  padding: 20px 16px; text-align: center; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: all 0.2s; background: transparent; border-top: none; border-left: none; border-right: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 0;
}
.tab-btn .tab-icon { font-size: 22px; }
.tab-btn:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.tab-btn.active { color: var(--white); }

/* ─── TAB PANELS ─── */
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 500px; align-items: stretch; }

.tab-image-col {
  position: relative; overflow: hidden; min-height: 500px;
  background: var(--bg);
}
.tab-image-col.is-contain {
  background: #020409;
}
.tab-image-col.is-right {
  order: 2;
}
.tab-image-col img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transform: scale(1.008);
}
.tab-image-col img.fit-contain {
  object-fit: contain;
  object-position: center;
  padding: 18px;
  background: #020409;
  transform: none;
}
.tab-image-col img.focus-substation {
  object-position: left center;
}
.tab-media-video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 420px);
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #070A10;
  transform: translateX(-50%);
}
.tab-image-col::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,9,13,0) 60%, rgba(8,9,13,0.8) 100%);
  pointer-events: none;
}
.tab-image-col.is-contain::after {
  display: none;
}
.visual-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.08), transparent 36%), #070A10;
}
.visual-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,9,13,0) 60%, rgba(8,9,13,0.8) 100%);
  pointer-events: none;
}
.scene-12v {
  background:
    radial-gradient(circle at 74% 22%, rgba(0,170,255,0.2), transparent 28%),
    linear-gradient(180deg, #07101C 0%, #0A1320 52%, #071018 100%);
}
.scene-12v .moon {
  position: absolute; width: 58px; height: 58px; border-radius: 50%;
  top: 54px; right: 86px; background: #DDEFFF; box-shadow: 0 0 42px rgba(170,220,255,0.45);
}
.scene-12v .house {
  position: absolute; left: 17%; bottom: 21%; width: 46%; height: 33%;
  background: #182437; border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 18px 60px rgba(0,0,0,0.42);
}
.scene-12v .house::before {
  content: ''; position: absolute; left: -8%; top: -48%; width: 116%; height: 56%;
  background: #111927; clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border-bottom: 3px solid rgba(0,170,255,0.6);
}
.scene-12v .window {
  position: absolute; width: 18%; height: 26%; top: 24%;
  background: #FFD98A; box-shadow: 0 0 24px rgba(255,217,138,0.55);
}
.scene-12v .window.one { left: 18%; }
.scene-12v .window.two { right: 18%; }
.scene-12v .door {
  position: absolute; left: 43%; bottom: 0; width: 14%; height: 40%;
  background: #0B101A; border: 1px solid rgba(255,255,255,0.12);
}
.scene-12v .camera {
  position: absolute; width: 62px; height: 23px;
  background: #DDE7F2; border-radius: 4px;
  box-shadow: 0 0 18px rgba(0,170,255,0.36);
}
.scene-12v .camera::before {
  content: ''; position: absolute; left: -15px; top: 6px; width: 18px; height: 11px;
  background: #8EA0B5; border-radius: 2px;
}
.scene-12v .camera::after {
  content: ''; position: absolute; right: -10px; top: 5px; width: 16px; height: 13px;
  background: #101722; border-radius: 50%;
}
.scene-12v .camera.cam-tl { left: 14%; top: 35%; transform: rotate(14deg); }
.scene-12v .camera.cam-tr { right: 23%; top: 29%; transform: rotate(-12deg); }
.scene-12v .camera.cam-bl { left: 13%; bottom: 30%; transform: rotate(-8deg); }
.scene-12v .camera.cam-br { right: 22%; bottom: 32%; transform: rotate(10deg); }
.scene-12v .beam {
  position: absolute; right: 3%; top: 34%; width: 36%; height: 34%;
  background: linear-gradient(90deg, rgba(0,170,255,0.34), rgba(0,170,255,0));
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);
  filter: blur(1px);
}
.scene-12v .beam.corner-left {
  left: 17%; right: auto; top: 40%; width: 28%; height: 28%;
  transform: rotate(180deg);
}
.scene-12v .beam.corner-right {
  right: 3%; top: 34%;
}
.scene-12v .perimeter {
  position: absolute; left: 9%; right: 9%; bottom: 12%; height: 20%;
  border: 2px solid rgba(0,170,255,0.52); border-top: 0;
  box-shadow: 0 0 26px rgba(0,170,255,0.42), inset 0 0 24px rgba(0,170,255,0.12);
}
.scene-12v .perimeter::before,
.scene-12v .perimeter::after {
  content: ''; position: absolute; top: -8px; width: 10px; height: 10px;
  border-radius: 50%; background: #00AAFF; box-shadow: 0 0 18px #00AAFF;
}
.scene-12v .perimeter::before { left: 8%; }
.scene-12v .perimeter::after { right: 8%; }
.scene-business-security {
  background:
    radial-gradient(circle at 82% 18%, rgba(0,170,255,0.22), transparent 26%),
    linear-gradient(180deg, #08111D 0%, #0C1220 58%, #070A10 100%);
}
.scene-business-security .building {
  position: absolute; left: 12%; bottom: 15%; width: 46%; height: 56%;
  background: linear-gradient(180deg, #1A2638, #101825);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 26px 80px rgba(0,0,0,0.48);
}
.scene-business-security .building::before {
  content: ''; position: absolute; left: 0; right: 0; top: -13%;
  height: 13%; background: #253246; border-bottom: 2px solid rgba(0,170,255,0.55);
}
.scene-business-security .window-grid {
  position: absolute; inset: 12% 9% 30%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 12px, transparent 12px 32px),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.12) 0 10px, transparent 10px 30px);
  opacity: .8;
}
.scene-business-security .entry {
  position: absolute; left: 37%; bottom: 0; width: 26%; height: 28%;
  background: #07101A; border: 2px solid rgba(0,170,255,0.54);
  box-shadow: inset 0 0 20px rgba(0,170,255,0.16);
}
.scene-business-security .device {
  position: absolute; right: 13%; width: 92px; min-height: 78px;
  border: 1px solid rgba(0,170,255,0.55); border-radius: var(--radius);
  background: rgba(7,16,28,0.86); box-shadow: 0 0 32px rgba(0,170,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #DDF7FF; font-weight: 800; font-size: 12px; text-align: center;
  padding: 10px;
}
.scene-business-security .device.cctv { top: 18%; }
.scene-business-security .device.alarm { top: 41%; border-color: rgba(255,58,58,0.65); box-shadow: 0 0 32px rgba(255,58,58,0.22); }
.scene-business-security .device.intercom { bottom: 18%; }
.scene-business-security .access-line {
  position: absolute; left: 50%; right: 28%; top: 68%; height: 2px;
  background: #00AAFF; box-shadow: 0 0 16px rgba(0,170,255,0.7);
}
.scene-business-security .access-card {
  position: absolute; left: 61%; top: 61%; width: 44px; height: 58px;
  border: 2px solid rgba(0,170,255,0.8); border-radius: 4px;
  background: rgba(0,170,255,0.1); box-shadow: 0 0 20px rgba(0,170,255,0.32);
}
.scene-business-security .camera {
  position: absolute; left: 54%; top: 20%; width: 70px; height: 24px;
  background: #E5EEF7; border-radius: 4px; transform: rotate(-13deg);
  box-shadow: 0 0 22px rgba(0,170,255,0.35);
}
.scene-business-security .camera::after {
  content: ''; position: absolute; right: -10px; top: 5px; width: 15px; height: 13px;
  background: #101722; border-radius: 50%;
}
.scene-220v {
  background:
    radial-gradient(circle at 18% 14%, rgba(255,179,0,0.22), transparent 26%),
    linear-gradient(180deg, #1A1510 0%, #0D0E12 100%);
}
.scene-220v .room {
  position: absolute; inset: 13% 8% 10%;
  border: 1px solid rgba(255,255,255,0.11);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 80px 100%,
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
}
.scene-220v .floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 27%;
  background: linear-gradient(160deg, rgba(255,179,0,0.09), rgba(0,0,0,0.32));
  border-top: 1px solid rgba(255,255,255,0.12);
}
.scene-220v .panel {
  position: absolute; left: 10%; top: 23%; width: 112px; height: 166px;
  background: #E8ECF2; border-radius: 3px; border: 5px solid #AEB7C4;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
.scene-220v .breaker {
  position: absolute; left: 14px; right: 14px; height: 14px;
  background: repeating-linear-gradient(90deg, #222A35 0 12px, #D7DEE8 12px 18px);
}
.scene-220v .breaker.one { top: 30px; }
.scene-220v .breaker.two { top: 58px; }
.scene-220v .breaker.three { top: 86px; }
.scene-220v .wire {
  position: absolute; left: 21%; top: 38%; height: 3px;
  background: #FFB300; box-shadow: 0 0 12px rgba(255,179,0,0.7);
  transform-origin: left center;
}
.scene-220v .wire.socket-a { width: 58%; transform: rotate(11deg); }
.scene-220v .wire.socket-b { width: 48%; transform: rotate(27deg); }
.scene-220v .wire.switch { width: 42%; transform: rotate(-18deg); }
.scene-220v .wire.lamp { width: 35%; transform: rotate(-43deg); }
.scene-220v .socket,
.scene-220v .switch,
.scene-220v .lamp {
  position: absolute; border: 2px solid rgba(255,179,0,0.9);
  background: rgba(255,255,255,0.08); box-shadow: 0 0 18px rgba(255,179,0,0.35);
}
.scene-220v .socket { width: 34px; height: 34px; border-radius: 50%; }
.scene-220v .socket.one { right: 15%; bottom: 27%; }
.scene-220v .socket.two { right: 24%; bottom: 16%; }
.scene-220v .switch { width: 30px; height: 48px; right: 19%; top: 27%; border-radius: 3px; }
.scene-220v .lamp {
  width: 56px; height: 56px; left: 53%; top: 13%; border-radius: 50%;
  background: rgba(255,213,120,0.28);
}
.scene-220v .lamp::after {
  content: ''; position: absolute; inset: 8px; border-radius: 50%;
  background: #FFD978; box-shadow: 0 0 34px rgba(255,217,120,0.85);
}

.tab-content-col {
  padding: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center;
  background: var(--bg2);
  min-width: 0;
}
.tab-content-col h3 {
  font-family: var(--display); font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 2px; margin-bottom: 10px; line-height: 1.1;
}
.tab-content-col h3,
.premium-title,
.stacked-tab-title,
.centered-tab-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  text-align: center;
  text-wrap: balance;
}
.tab-content-col h3::before,
.tab-content-col h3::after,
.premium-title::before,
.premium-title::after,
.stacked-tab-title::before,
.stacked-tab-title::after,
.centered-tab-title::before,
.centered-tab-title::after {
  content: '';
  flex: 0 0 auto;
  width: 0.34em;
  height: 0.34em;
  border-radius: 50%;
  background: var(--tab-accent, #1EA7FF);
  opacity: 0.78;
  transform: translateY(0.02em);
  box-shadow: 0 0 18px var(--tab-accent, #1EA7FF);
}
.stacked-tab-title {
  flex-wrap: wrap;
}
.stacked-tab-title span {
  width: 100%;
}
.stacked-tab-title::before { order: 0; }
.stacked-tab-title span:first-child { order: 1; width: auto; }
.stacked-tab-title::after { order: 2; }
.stacked-tab-title span:last-child { order: 3; flex-basis: 100%; }
.tab-content-col .tab-lead {
  font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 28px; line-height: 1.6;
}
#page-12v .tab-panel.active {
  align-items: stretch;
}
#page-12v .tab-image-col {
  display: grid;
  place-items: center;
}
#page-12v .tab-image-col img.fit-contain {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
#tab-12v-2 .tab-image-col img {
  object-position: 54% center;
}
#page-12v .tab-content-col {
  justify-content: flex-start;
  padding-top: clamp(30px, 4vw, 44px);
}
#page-220v .tab-image-col {
  display: grid;
  place-items: center;
}
#page-220v .tab-image-col img.fit-contain {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}
#tab-12v-0 .tab-lead {
  max-width: 680px;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
}
#tab-12v-0 .premium-security-media {
  padding: clamp(18px, 2.6vw, 34px);
}
#tab-12v-0 .premium-security-media img {
  border: 1px solid rgba(30,167,255,0.42);
  border-radius: 24px;
  padding: 0;
  background: #03070d;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.48),
    0 0 34px rgba(30,167,255,0.16);
  object-fit: contain;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
#tab-12v-0 .premium-security-media:hover img {
  transform: scale(1.02);
  border-color: rgba(30,167,255,0.68);
  box-shadow:
    0 34px 84px rgba(0,0,0,0.54),
    0 0 48px rgba(30,167,255,0.22);
}
#tab-12v-0 .premium-security-content {
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 3vw, 42px);
  background:
    radial-gradient(circle at 14% 0%, rgba(30,167,255,0.12), transparent 34%),
    linear-gradient(145deg, rgba(10,18,30,0.98), rgba(8,9,13,0.96));
}
#tab-12v-0 .premium-title {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-family: var(--body);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
#tab-12v-0 .premium-subtitle {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.76);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  font-weight: 500;
}
.premium-highlight {
  color: #1EA7FF;
  font-weight: 800;
}
.premium-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.premium-feature-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(30,167,255,0.28);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(4,10,18,0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease, background 250ms ease;
}
.premium-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,167,255,0.72);
  background:
    linear-gradient(145deg, rgba(30,167,255,0.12), rgba(255,255,255,0.035)),
    rgba(4,10,18,0.74);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.3),
    0 0 28px rgba(30,167,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.premium-feature-card svg {
  width: 24px;
  height: 24px;
  color: #1EA7FF;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.premium-feature-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.premium-feature-card span {
  display: block;
  color: rgba(255,255,255,0.64);
  font-size: 12px;
  line-height: 1.4;
}
.premium-feature-card .premium-highlight {
  display: inline;
  color: #1EA7FF;
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
}
.stacked-tab-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stacked-tab-title span {
  display: block;
}
.stacked-tab-title {
  white-space: pre-line;
}
.centered-tab-title {
  width: 100%;
  text-align: center;
}
#page-12v { --tab-accent: #1EA7FF; --tab-accent-rgb: 30,167,255; }
#page-220v { --tab-accent: #FFB300; --tab-accent-rgb: 255,179,0; }
#page-380v { --tab-accent: #FF6A1E; --tab-accent-rgb: 255,106,30; }
.tab-panel:not(#tab-12v-0) .tab-image-col {
  padding: clamp(18px, 2.6vw, 34px);
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--tab-accent-rgb),0.14), transparent 48%),
    linear-gradient(145deg, rgba(7,12,20,0.98), rgba(3,5,10,0.98));
}
.tab-panel:not(#tab-12v-0) .tab-image-col::after {
  display: none;
}
.tab-panel:not(#tab-12v-0) .tab-image-col img,
.tab-panel:not(#tab-12v-0) .tab-media-video {
  border: 1px solid rgba(var(--tab-accent-rgb),0.34);
  border-radius: 24px;
  padding: 0;
  background: #03070d;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.48),
    0 0 34px rgba(var(--tab-accent-rgb),0.14);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.tab-panel:not(#tab-12v-0) .tab-image-col:hover img,
.tab-panel:not(#tab-12v-0) .tab-media-video:hover {
  transform: scale(1.02);
  border-color: rgba(var(--tab-accent-rgb),0.68);
  box-shadow:
    0 34px 84px rgba(0,0,0,0.54),
    0 0 48px rgba(var(--tab-accent-rgb),0.22);
}
.tab-panel:not(#tab-12v-0) .tab-content-col {
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 3vw, 42px);
  background:
    radial-gradient(circle at 14% 0%, rgba(var(--tab-accent-rgb),0.12), transparent 34%),
    linear-gradient(145deg, rgba(10,18,30,0.98), rgba(8,9,13,0.96));
}
.tab-panel:not(#tab-12v-0) .tab-content-col h3 {
  max-width: 760px;
  margin: 0;
  font-family: var(--body);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.tab-panel:not(#tab-12v-0) .tab-content-col .tab-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  font-weight: 500;
}
.tab-panel:not(#tab-12v-0) .feat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}
.tab-panel:not(#tab-12v-0) .feat-list li {
  position: relative;
  display: block;
  min-height: 52px;
  padding: 13px 15px 13px 38px;
  border: 1px solid rgba(var(--tab-accent-rgb),0.26);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(4,10,18,0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.4;
  backdrop-filter: blur(16px);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease, background 250ms ease;
}
.tab-panel:not(#tab-12v-0) .feat-list.is-larger li {
  font-size: clamp(17px, 1.28vw, 20px);
}
.tab-panel:not(#tab-12v-0) .feat-list li::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--tab-accent);
  box-shadow: 0 0 18px rgba(var(--tab-accent-rgb),0.5);
}
.tab-panel:not(#tab-12v-0) .feat-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--tab-accent-rgb),0.72);
  background:
    linear-gradient(145deg, rgba(var(--tab-accent-rgb),0.12), rgba(255,255,255,0.035)),
    rgba(4,10,18,0.74);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.3),
    0 0 28px rgba(var(--tab-accent-rgb),0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.tab-panel:not(#tab-12v-0) .feat-section {
  margin-top: 0 !important;
  padding: 14px;
  border: 1px solid rgba(var(--tab-accent-rgb),0.22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)),
    rgba(4,10,18,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
}
.tab-panel:not(#tab-12v-0) .feat-section + .feat-section {
  margin-top: 10px !important;
}
.tab-panel:not(#tab-12v-0) .feat-section-label {
  margin-bottom: 9px;
  color: var(--tab-accent) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
#tab-12v-0 .security-list {
  gap: 16px;
}
#tab-12v-0 .security-list li {
  display: block;
  font-size: 17px;
  line-height: 1.5;
}
.security-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
}
.security-list span {
  display: block;
  color: rgba(255,255,255,0.72);
}
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.feat-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.4;
}
.feat-list.is-larger li {
  font-size: 19px;
  line-height: 1.45;
}
.feat-list:not(.is-larger) li::before { content: '✦'; flex-shrink: 0; margin-top: 1px; }
.feat-section { margin-top: 22px; }
.feat-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--muted); text-transform: uppercase; margin-bottom: 10px;
}

/* ─── REVIEWS, ADVANTAGES AND USEFUL MATERIALS ─── */
.insights-section {
  padding: clamp(48px, 6vw, 84px) var(--page-pad);
  border-top: 1px solid rgba(var(--tab-accent-rgb), 0.2);
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--tab-accent-rgb), 0.11), transparent 34%),
    linear-gradient(180deg, #0b0d14, #08090d);
}
.insights-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
}
.insights-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.insights-kicker {
  margin-bottom: 8px;
  color: var(--tab-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.insights-title {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}
.insights-intro {
  max-width: 560px;
  color: rgba(255,255,255,0.58);
  font-size: 15px;
  line-height: 1.65;
  text-align: right;
}
.insights-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 18px;
  align-items: stretch;
}
.insights-panel {
  min-width: 0;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(var(--tab-accent-rgb), 0.24);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
    rgba(9,12,20,0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 24px 60px rgba(0,0,0,0.22);
}
.insights-panel-title {
  margin-bottom: 18px;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.review-card {
  display: flex;
  flex-direction: column;
  min-height: 208px;
  padding: 18px;
  border: 1px solid rgba(var(--tab-accent-rgb), 0.18);
  border-radius: 12px;
  background: rgba(0,0,0,0.2);
}
.review-stars {
  margin-bottom: 12px;
  color: var(--tab-accent);
  font-size: 13px;
  letter-spacing: 0.14em;
}
.review-text {
  flex: 1;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.65;
}
.review-author {
  margin-top: 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}
.review-meta {
  margin-top: 3px;
  color: rgba(255,255,255,0.44);
  font-size: 12px;
}
.insights-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.advantage-card {
  padding: 14px;
  border-left: 2px solid var(--tab-accent);
  background: rgba(var(--tab-accent-rgb), 0.055);
}
.advantage-card strong,
.useful-card strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}
.advantage-card span,
.useful-card span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  line-height: 1.5;
}
.useful-list {
  display: grid;
  gap: 9px;
}
.useful-card {
  position: relative;
  padding: 13px 38px 13px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
}
.useful-card::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--tab-accent);
  transform: translateY(-50%);
}

/* ─── AGENT SECTION ─── */
.agent-section {
  padding: clamp(40px, 5vw, 60px) var(--page-pad);
  background: var(--bg3);
  border-top: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: clamp(32px, 5vw, 60px); align-items: start;
}
.agent-cta h2 {
  font-family: var(--display); font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 2px; margin-bottom: 14px; line-height: 1.1;
}
.agent-cta p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
.agent-cta ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.agent-cta ul li { font-size: 14px; color: rgba(255,255,255,0.7); }
.agent-cta ul li::before { content: '→ '; }

.agent-widget {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  min-width: 0;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}
.agent-header {
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.agent-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.agent-name-block .name { font-weight: 700; font-size: 15px; }
.agent-name-block .role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.agent-online { margin-left: auto; font-size: 12px; color: #4ADE80; font-weight: 600; }
.agent-messages {
  height: 280px; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
}
.agent-messages::-webkit-scrollbar { width: 4px; }
.agent-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.msg {
  max-width: 85%; padding: 10px 14px; border-radius: 12px;
  font-size: 14px; line-height: 1.5;
}
.msg-agent { background: var(--bg2); border: 1px solid var(--border); align-self: flex-start; border-radius: 2px 12px 12px 12px; }
.msg-user  { align-self: flex-end; border-radius: 12px 2px 12px 12px; color: var(--bg); font-weight: 500; }
.msg-system { max-width: 100%; align-self: center; border: 1px solid rgba(74,222,128,0.28); background: rgba(74,222,128,0.08); color: rgba(216,255,232,0.9); font-size: 12px; text-align: center; }
.msg-typing { color: var(--muted); font-style: italic; }
.agent-input-row {
  padding: 12px; border-top: 1px solid var(--border);
  display: flex; gap: 8px;
}
.agent-input-row input {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px;
  color: var(--white); font-family: var(--body); font-size: 16px; outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.agent-input-row input:focus { border-color: rgba(255,255,255,0.3); }
.agent-send {
  padding: 10px 18px; border-radius: var(--radius); border: none;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: opacity 0.2s;
}
.agent-send:hover { opacity: 0.85; }
.agent-consent {
  padding: 0 12px 14px;
  color: rgba(255,255,255,0.44);
  font-size: 11px;
  line-height: 1.45;
}
.agent-consent a { color: rgba(255,255,255,0.72); }
.lead-honeypot { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; opacity:0!important; pointer-events:none!important; }

/* ─── FOOTER ─── */
footer {
  background: #050507; border-top: 1px solid var(--border);
  padding: clamp(34px, 4vw, 48px) var(--page-pad); margin-top: 0;
  flex-shrink: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.8fr) repeat(2, minmax(190px, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.6vw, 32px);
  margin-bottom: 40px;
}
.footer-brand { font-family: var(--display); font-size: 22px; letter-spacing: 3px; margin-bottom: 10px; }
.footer-brand-sub { font-size: 13px; color: var(--muted); line-height: 1.6; white-space: pre-line; }
.footer-brand-sub.is-emphasized {
  max-width: 360px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.45;
  font-weight: 700;
}
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.6); cursor: pointer; transition: color 0.2s; text-decoration: none; }
.footer-link:hover { color: var(--white); }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contact { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-contact span { color: var(--white); font-weight: 600; }
.footer-info-card {
  height: 100%;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
}
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}
.footer-owner { display:inline-flex; flex-direction:column; align-items:flex-start; gap:7px; }
.admin-dot-link {
  display:block; width:7px; height:7px; border:0; border-radius:50%;
  background:rgba(255,255,255,0.16); opacity:.55; overflow:hidden;
  text-indent:-9999px; transition:opacity .2s, background .2s, box-shadow .2s;
}
.admin-dot-link:hover,.admin-dot-link:focus-visible {
  opacity:1; background:var(--blue); box-shadow:0 0 12px rgba(0,170,255,.75);
}

/* ─── UTILS ─── */
.section-divider { height: 1px; background: var(--border); }
.mobile-only { display: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1180px) {
  :root { --page-pad: clamp(24px, 4vw, 44px); }

  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: clamp(46px, 8vw, 76px);
  }

  .hero-eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-align: center;
  }

  .hero-badges {
    width: min(640px, 100%);
  }

  .home-card {
    height: clamp(380px, 56vh, 560px);
    min-height: 380px;
  }

  .home-card-volt {
    font-size: clamp(48px, 6vw, 68px);
  }

  .home-card-title {
    font-size: 19px;
  }

  .tab-panel.active {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }

  .tab-image-col {
    min-height: 460px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .home-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-card-sub {
    max-width: 260px;
  }

  .agent-section {
    grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; --page-pad: 24px; }
  nav {
    height: var(--nav-h);
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }
  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .home-cards { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .home-card { height: auto; min-height: 320px; }
  .home-card-content { min-height: 320px; }
  .trust-bar { grid-template-columns: repeat(2,1fr); }
  .tab-panel.active { grid-template-columns: 1fr; }
  .tab-image-col { height: 280px; min-height: 280px; }
  .tab-image-col::after { background: linear-gradient(to bottom, rgba(8,9,13,0) 45%, rgba(8,9,13,0.85) 100%); }
  .agent-section { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 0 var(--page-pad) 36px; }
  .tab-content-col { padding: 32px 24px; }
  nav { padding: 0 var(--page-pad); }
  .nav-right { gap: 10px; }
  .nav-contact { margin-left: 0; }
  .nav-phone { font-size: 13px; }
  .agent-section { padding: 40px var(--page-pad); }
  footer { padding: 40px var(--page-pad); }
  .insights-heading { align-items: flex-start; flex-direction: column; }
  .insights-intro { max-width: 680px; text-align: left; }
  .insights-layout { grid-template-columns: 1fr; }
  body { padding-bottom: max(78px, env(safe-area-inset-bottom)); }
  .floating-contacts {
    left: max(12px, env(safe-area-inset-left)) !important;
    top: auto !important;
    right: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
  }
  .nav-back, .nav-admin { min-width: 44px; min-height: 44px; }
  .floating-contacts-toggle { width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  :root { --nav-h: 62px; --page-pad: 18px; }

  body { font-size: 15px; }

  .floating-contacts { display: block; }

  .hero-eyebrow { text-align: left; }

  .insights-section { padding: 42px var(--page-pad); }
  .proof-card { min-height: auto; }
  .reviews-grid,
  .advantages-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 0; }
  .insights-panel { padding: 18px; border-radius: 12px; }

  nav {
    padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
    background: rgba(8,9,13,0.96);
  }

  .nav-logo {
    font-size: 21px;
    letter-spacing: 1px;
  }

  .nav-left {
    gap: 8px;
  }

  .nav-back {
    width: 34px;
    height: 34px;
  }

  .nav-contact {
    gap: 3px;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-phone-label,
  .nav-whatsapp-label {
    display: none;
  }

  .nav-admin {
    width: 36px;
    min-height: 36px;
    padding: 0;
  }

  .nav-admin-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-left: 0;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 0;
    letter-spacing: 0;
  }

  .nav-phone::before {
    content: 'Позвонить';
    font-size: 12px;
    font-weight: 700;
  }

  .nav-phone span { display: none; }

  .nav-email {
    max-width: 178px;
    font-size: 10px;
    line-height: 1.15;
  }

  .nav-email-main {
    display: block;
  }

  .nav-email-main .nav-email-label {
    display: inline;
    color: rgba(255,255,255,0.68);
    font-weight: 800;
  }

  .nav-whatsapp {
    font-size: 9px;
    line-height: 1.15;
  }

  .page { padding-top: var(--nav-h); }

  .hero {
    height: auto;
    min-height: calc(100svh - var(--nav-h));
    padding: 0 var(--page-pad);
    align-items: stretch;
  }

  .hero-bg {
    background-position: 48% center;
    transform: scale(1.03);
  }

  .hero-bg::after {
    background:
      linear-gradient(to bottom, rgba(8,9,13,0.62) 0%, rgba(8,9,13,0.74) 44%, rgba(8,9,13,1) 100%),
      linear-gradient(90deg, rgba(8,9,13,0.4), rgba(8,9,13,0.08));
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: clamp(28px, 8vh, 56px) 0 28px;
  }

  .hero-title {
    font-size: clamp(31px, 8.4vw, 40px);
    line-height: .94;
    letter-spacing: 1.5px;
    text-align: left;
    text-wrap: balance;
  }

  .hero-sub {
    max-width: 320px;
    margin-top: 16px;
    color: rgba(255,255,255,0.68);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 18px;
    gap: 8px;
  }

  .hero-actions .cta-button {
    min-width: 0;
    min-height: 46px;
    padding: 10px 8px;
    font-size: 12px;
  }

  .page-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }

  .page-hero-actions .cta-button { padding: 10px 8px; font-size: 12px; }

  .hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 720px);
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    gap: 6px;
    overflow: visible;
  }

  .badge {
    min-height: 74px;
    padding: 8px;
    border-radius: var(--radius);
    font-size: clamp(9px, 2.65vw, 10.5px);
    line-height: 1.15;
    text-align: left;
    background-position: center;
  }

  .badge::after {
    right: 7px;
    bottom: 6px;
    font-size: 14px;
  }

  .home-cards {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .home-card {
    height: auto;
    min-height: clamp(240px, 70vw, 300px);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-right: 0;
  }

  .home-card-content {
    min-height: clamp(240px, 70vw, 300px);
    padding: 24px var(--page-pad);
  }

  .home-card-volt {
    font-size: clamp(38px, 10.8vw, 48px);
    letter-spacing: 1px;
    line-height: .95;
  }

  .home-card-title {
    font-size: 19px;
  }

  .home-card-sub {
    max-width: 290px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.45;
  }

  .home-card-btn {
    min-height: 42px;
    padding: 9px 16px;
  }

  .trust-bar {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 10px;
  }

  .trust-bar > div {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.025);
  }

  .trust-item-num {
    font-size: clamp(38px, 11vw, 52px);
  }

  .trust-item-label {
    padding: 0 8px;
    font-size: 12px;
    line-height: 1.38;
  }

  .page-hero {
    height: auto;
    min-height: clamp(360px, 68svh, 440px);
    padding: 0 var(--page-pad) 34px;
  }

  .page-hero-bg {
    background-position: center;
    transform: scale(1.025);
  }

  .page-hero-bg::after {
    background: linear-gradient(to bottom, rgba(8,9,13,0.48) 0%, rgba(8,9,13,0.88) 72%, rgba(8,9,13,1) 100%);
  }

  .page-volt-label {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  .page-title {
    font-size: clamp(34px, 12.5vw, 52px);
    line-height: .98;
    letter-spacing: 1px;
  }

  .page-subtitle {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  .estimate-dialog-inner { padding: 26px 18px 20px; }
  .estimate-dialog h2 { font-size: 26px; }
  .estimate-option { min-height: 66px; padding: 12px; gap: 10px; }

  .tabs-container {
    border-top: 0;
  }

  .tabs-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tabs-nav .tab-btn {
    min-height: 68px;
    padding: 11px 5px;
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .tab-btn .tab-icon {
    font-size: 19px;
  }

  .tab-panel.active {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tab-image-col {
    height: clamp(210px, 58vw, 280px);
    min-height: clamp(210px, 58vw, 280px);
  }

  .tab-image-col::after {
    background: linear-gradient(to bottom, rgba(8,9,13,0) 44%, rgba(8,9,13,0.84) 100%);
  }

  .tab-content-col {
    padding: 26px 18px 32px;
  }

  #tab-12v-0 .premium-security-content {
    order: 1;
    padding: 32px 18px 34px;
    gap: 20px;
  }

  #tab-12v-0 .premium-security-media {
    order: 2;
    padding: 18px;
  }

  #tab-12v-0 .premium-title {
    font-size: clamp(36px, 10vw, 46px);
  }

  #tab-12v-0 .premium-subtitle {
    font-size: 16px;
    line-height: 1.6;
  }

  .premium-feature-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .premium-feature-card {
    padding: 16px;
  }

  .tab-content-col h3 {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .tab-content-col .tab-lead {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .feat-list {
    gap: 9px;
  }

  .feat-list li {
    font-size: 14px;
  }

  .feat-list.is-larger li {
    font-size: 18px;
  }

  .tab-panel:not(#tab-12v-0) .tab-image-col {
    order: 2;
    height: auto;
    min-height: 0;
    padding: 18px;
  }

  .tab-panel:not(#tab-12v-0) .tab-image-col img,
  .tab-panel:not(#tab-12v-0) .tab-media-video {
    min-height: 210px;
    max-height: 340px;
    object-fit: contain;
  }

  .tab-panel:not(#tab-12v-0) .tab-content-col {
    order: 1;
    padding: 32px 18px 36px;
    gap: 18px;
  }

  .tab-panel:not(#tab-12v-0) .tab-content-col h3 {
    font-size: clamp(30px, 9vw, 42px);
    letter-spacing: -0.02em;
  }

  .tab-panel:not(#tab-12v-0) .tab-content-col .tab-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .tab-panel:not(#tab-12v-0) .feat-list li {
    min-height: 0;
    padding: 14px 15px 14px 40px;
    font-size: 14px;
  }

  .tab-panel:not(#tab-12v-0) .feat-list {
    grid-template-columns: 1fr;
  }

  .tab-panel:not(#tab-12v-0) .feat-list li::before {
    left: 16px;
    top: 20px;
  }

  .tab-panel:not(#tab-12v-0) .feat-list.is-larger li {
    font-size: 16px;
  }

  .tab-panel:not(#tab-12v-0) .feat-section {
    padding: 16px;
  }

  /* Mobile tab template:
     title → subtitle → image → benefits.
     This keeps every inner section predictable on phones. */
  .tab-panel.active {
    align-items: start;
    background:
      radial-gradient(circle at 50% 0%, rgba(var(--tab-accent-rgb),0.12), transparent 42%),
      linear-gradient(180deg, rgba(10,18,30,0.98), rgba(8,9,13,1));
  }

  .tab-panel .tab-content-col,
  #tab-12v-0 .premium-security-content {
    display: contents;
  }

  .tab-panel .tab-content-col > h3,
  #tab-12v-0 .premium-title {
    order: 1;
    width: min(720px, calc(100% - 36px));
    margin: 0 auto;
    padding: 30px 0 0;
    text-align: center;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .tab-panel .tab-content-col > .tab-lead,
  #tab-12v-0 .premium-subtitle {
    order: 2;
    width: min(720px, calc(100% - 36px));
    margin: 0 auto;
    padding: 12px 0 0;
    text-align: center;
    overflow-wrap: break-word;
  }

  .tab-panel .tab-image-col,
  .tab-panel:not(#tab-12v-0) .tab-image-col,
  #tab-12v-0 .premium-security-media {
    order: 3 !important;
    width: min(720px, calc(100% - 28px));
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    margin: 20px auto 0;
    padding: 10px;
    border: 1px solid rgba(var(--tab-accent-rgb),0.24);
    border-radius: 22px;
    background:
      radial-gradient(circle at 50% 45%, rgba(var(--tab-accent-rgb),0.11), transparent 55%),
      #03070d;
    box-shadow: 0 24px 60px rgba(0,0,0,0.34);
  }

  .tab-panel .tab-image-col img,
  .tab-panel .tab-image-col img.fit-contain,
  .tab-panel:not(#tab-12v-0) .tab-image-col img,
  .tab-panel:not(#tab-12v-0) .tab-image-col img.fit-contain {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 16px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .tab-panel .tab-content-col > .feat-section,
  .tab-panel .tab-content-col > .feat-list,
  #tab-12v-0 .premium-feature-list {
    order: 4;
    width: min(720px, calc(100% - 36px));
    margin: 18px auto 0 !important;
  }

  .tab-panel .tab-content-col > .feat-section + .feat-section {
    margin-top: 12px !important;
  }

  .tab-panel .tab-content-col > .feat-section:last-child,
  .tab-panel .tab-content-col > .feat-list:last-child,
  #tab-12v-0 .premium-feature-list {
    margin-bottom: 34px !important;
  }

  #tab-12v-0 .tab-lead {
    font-size: 16px;
    line-height: 1.6;
  }

  #tab-12v-0 .security-list li {
    font-size: 16px;
  }

  .security-list strong {
    font-size: 17px;
  }

  .agent-section {
    padding: 34px var(--page-pad);
    gap: 26px;
  }

  .agent-cta h2 {
    font-size: 34px;
    letter-spacing: 1px;
  }

  .agent-cta p {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .agent-cta ul li {
    font-size: 13px;
  }

  .agent-widget {
    border-radius: var(--radius);
  }

  .agent-header {
    padding: 13px 14px;
  }

  .agent-avatar {
    width: 36px;
    height: 36px;
  }

  .agent-online {
    display: none;
  }

  .agent-messages {
    height: 250px;
    padding: 14px;
  }

  .msg {
    max-width: 92%;
    font-size: 13px;
  }

  .agent-input-row {
    padding: 10px;
  }

  .agent-input-row input {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .agent-send {
    min-width: 46px;
    padding: 9px 14px;
  }

  footer {
    padding: 34px var(--page-pad) 28px;
  }

  .footer-grid {
    gap: 24px;
    margin-bottom: 28px;
  }

  .footer-brand {
    font-size: 20px;
    letter-spacing: 1.5px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (max-width: 600px) {
  #page-12v .tab-image-col,
  #page-12v .tab-panel:not(#tab-12v-0) .tab-image-col {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    padding: 14px;
  }

  #page-12v .tab-image-col img.fit-contain,
  #page-12v .tab-panel:not(#tab-12v-0) .tab-image-col img.fit-contain {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    padding: 0;
    object-fit: contain;
    object-position: center;
  }

  #tab-12v-2 .tab-image-col img.fit-contain {
    object-position: 54% center;
  }

  #page-220v .tab-image-col {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  #page-220v .tab-image-col img.fit-contain {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    padding: 0;
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: clamp(30px, 8.8vw, 38px);
  }

  .hero-sub {
    max-width: 300px;
  }

  .hero { min-height: 880px; }
  .hero-badges { grid-template-columns: 1fr; width: min(340px, 100%); gap: 8px; }
  .hero-badges { transform: translateX(4px); }

  .badge {
    min-height: 64px;
    padding: 8px 26px 8px 14px;
    font-size: 12px;
  }

  .badge-label {
    min-height: 44px;
    gap: 4px;
  }

  .badge-emergency {
    min-height: 62px;
  }

  .badge-emergency .badge-line {
    font-size: 12px;
    line-height: 1.25;
  }

  .home-card-volt {
    font-size: clamp(36px, 10vw, 44px);
  }

  .scene-12v .camera {
    width: 58px;
    height: 22px;
  }

  .scene-220v .panel {
    width: 92px;
    height: 142px;
  }

  .scene-220v .breaker {
    left: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .electric-effects { display: none !important; }
}

@media (max-width: 360px) {
  :root { --page-pad: 14px; }

  .nav-logo {
    font-size: 18px;
  }

  .nav-brand-extra { display: none; }

  .nav-left {
    gap: 6px;
  }

  .nav-back {
    width: 32px;
    height: 32px;
  }

  .nav-back::before {
    font-size: 16px;
  }

  .nav-phone {
    min-height: 34px;
    padding: 0 9px;
  }

  .nav-email {
    display: block;
  }

  .nav-work-region {
    display: none;
  }

  .floating-contacts {
    left: max(10px, env(safe-area-inset-left));
    right: auto;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: min(300px, calc(100vw - 20px));
    padding: 12px;
    border-radius: 12px;
  }

  .floating-contacts.is-collapsed {
    width: 64px;
    padding: 10px;
    border-radius: 18px;
  }

  .floating-contacts-title {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .floating-contact {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 36px;
    gap: 8px;
  }

  .floating-contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .floating-contact-label {
    font-size: 10px;
  }

  .floating-contact-value {
    font-size: 12px;
  }

  .hero-title {
    font-size: clamp(27px, 8vw, 34px);
    letter-spacing: .3px;
    line-height: 1.03;
  }

  .hero-sub {
    font-size: 13px;
  }

  .hero-badges {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .badge {
    min-height: 50px;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    padding-right: 34px;
  }

  .badge-emergency .badge-line {
    font-size: 11px;
  }

  .badge::after {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .tabs-nav {
    grid-template-columns: 1fr;
  }

  .tabs-nav .tab-btn {
    min-height: 52px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
  }

  .page-title {
    font-size: 34px;
  }

  .agent-input-row {
    flex-wrap: wrap;
  }

  .agent-send {
    width: 100%;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  :root { --nav-h: 56px; }

  .hero {
    min-height: 460px;
  }

  .hero-content {
    padding: 24px 0;
  }

  .hero-title {
    font-size: clamp(34px, 7vw, 54px);
  }

  .hero-badges {
    margin-top: 18px;
  }

  .page-hero {
    min-height: 320px;
  }
}

/* ─── MOBILE TYPOGRAPHY PASS · 320 / 360 / 390 / 430 ─── */
@media (max-width: 600px) {
  :root {
    --page-pad: clamp(16px, 5vw, 22px);
    --mobile-readable: min(100%, 36rem);
  }

  body {
    font-size: clamp(14px, 3.85vw, 16px);
  }

  .page,
  .hero,
  .home-cards,
  .trust-bar,
  .proof-strip,
  .page-hero,
  .tabs-container,
  footer {
    min-width: 320px;
  }

  .hero-content,
  .page-hero-content,
  .home-card-content,
  .proof-card,
  .footer-grid > *,
  .footer-bottom,
  .tab-panel .tab-content-col > h3,
  #tab-12v-0 .premium-title,
  .tab-panel .tab-content-col > .tab-lead,
  #tab-12v-0 .premium-subtitle,
  .tab-panel .tab-content-col > .feat-section,
  .tab-panel .tab-content-col > .feat-list,
  #tab-12v-0 .premium-feature-list {
    width: var(--mobile-readable);
    max-width: calc(100vw - (var(--page-pad) * 2));
    margin-right: auto;
    margin-left: auto;
  }

  .hero-content,
  .page-hero-content,
  .home-card-content,
  .proof-card,
  .footer-grid,
  .footer-grid > *,
  .footer-bottom,
  .tab-content-col,
  .premium-security-content,
  .premium-feature-card,
  .feat-section,
  .feat-list li,
  .security-list li,
  .estimate-dialog,
  .estimate-dialog-inner,
  .estimate-option {
    text-align: center;
  }

  .hero-title,
  .page-title,
  .tab-content-col h3,
  #tab-12v-0 .premium-title,
  .home-card-title,
  .proof-card strong,
  .footer-brand,
  .estimate-dialog h2 {
    max-width: var(--mobile-readable);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  .hero-title {
    font-size: clamp(27px, 7.7vw, 36px);
    line-height: 1.02;
    letter-spacing: .2px;
  }

  .hero-title .mobile-only {
    display: block;
  }

  .page-title {
    font-size: clamp(31px, 10vw, 46px);
    line-height: 1.05;
    letter-spacing: .5px;
  }

  .hero-sub,
  .page-subtitle,
  .home-card-sub,
  .proof-card span,
  .footer-brand-sub,
  .footer-contact,
  .footer-link,
  .tab-lead,
  #tab-12v-0 .premium-subtitle,
  .feat-section p,
  .feat-list li,
  .security-list li,
  .estimate-dialog p,
  .estimate-option small {
    max-width: var(--mobile-readable);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    text-wrap: pretty;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
  }

  .hero-sub,
  .page-subtitle {
    width: var(--mobile-readable);
    font-size: clamp(14px, 3.9vw, 16px);
    line-height: 1.58;
  }

  .home-card-sub,
  .proof-card span,
  .footer-brand-sub,
  .tab-lead,
  #tab-12v-0 .premium-subtitle {
    font-size: clamp(13px, 3.75vw, 16px);
    line-height: 1.58;
  }

  .home-card-content {
    justify-content: center;
    padding-right: var(--page-pad);
    padding-left: var(--page-pad);
  }

  .home-card-volt {
    font-size: clamp(42px, 14vw, 54px);
  }

  .proof-strip,
  footer {
    min-width: 0;
    width: 100%;
    padding-right: var(--page-pad);
    padding-left: var(--page-pad);
  }

  .proof-card {
    padding: 18px var(--page-pad);
  }

  .tabs-nav {
    padding-right: var(--page-pad);
    padding-left: var(--page-pad);
  }

  .tabs-nav .tab-btn {
    padding-right: 10px;
    padding-left: 10px;
    text-wrap: balance;
    word-break: normal;
  }

  .tab-panel .tab-content-col > h3,
  #tab-12v-0 .premium-title {
    font-size: clamp(28px, 8.2vw, 40px);
    line-height: 1.08;
  }

  .tab-panel .tab-content-col > .tab-lead,
  #tab-12v-0 .premium-subtitle {
    padding-top: 10px;
  }

  .feat-list,
  .tab-panel:not(#tab-12v-0) .feat-list,
  .security-list {
    padding-left: 0;
  }

  .feat-list li,
  .tab-panel:not(#tab-12v-0) .feat-list li,
  .security-list li {
    padding: 15px 16px;
  }

  .feat-list li::before,
  .tab-panel:not(#tab-12v-0) .feat-list li::before {
    position: static;
    display: block;
    margin: 0 auto 8px;
  }

  .footer-links,
  .footer-contacts {
    align-items: center;
  }

  .footer-bottom {
    align-items: center;
  }
}

@media (max-width: 430px) {
  :root { --page-pad: clamp(16px, 4.8vw, 20px); }
  .hero { min-height: min(860px, calc(100svh + 260px)); }
  .hero-badges { width: min(340px, calc(100vw - (var(--page-pad) * 2))); }
  .page-title { font-size: clamp(30px, 9.2vw, 40px); }
  .tab-panel .tab-content-col > h3,
  #tab-12v-0 .premium-title { font-size: clamp(27px, 8.4vw, 36px); }
}

@media (max-width: 360px) {
  :root { --page-pad: 16px; }
  .hero-title { font-size: clamp(25px, 7.4vw, 30px); }
  .page-title { font-size: clamp(29px, 9.2vw, 34px); }
  .hero-sub,
  .page-subtitle,
  .home-card-sub,
  .tab-lead,
  #tab-12v-0 .premium-subtitle { font-size: 13px; }
}

/* Final heading polish: decorative middle dots on every inner service title. */
.tab-content-col > h3,
#tab-12v-0 .premium-title,
.stacked-tab-title,
.centered-tab-title {
  position: relative;
  display: block !important;
  width: fit-content !important;
  max-width: min(760px, calc(100vw - 88px)) !important;
  margin-left: auto;
  margin-right: auto;
  justify-self: center;
  align-self: center;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  text-wrap: balance;
}
.stacked-tab-title span:first-child {
  width: 100%;
  display: block;
}
.stacked-tab-title span:last-child {
  width: 100%;
  display: block;
  margin-top: 0.12em;
}
.tab-content-col > h3::before,
.tab-content-col > h3::after,
#tab-12v-0 .premium-title::before,
#tab-12v-0 .premium-title::after,
.stacked-tab-title::before,
.stacked-tab-title::after,
.centered-tab-title::before,
.centered-tab-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0.3em;
  height: 0.3em;
  border-radius: 50%;
  background: var(--tab-accent, #1EA7FF);
  box-shadow: 0 0 18px var(--tab-accent, #1EA7FF);
  opacity: 0.9;
  transform: translateY(-50%);
}
.tab-content-col > h3::before,
#tab-12v-0 .premium-title::before,
.stacked-tab-title::before,
.centered-tab-title::before { left: clamp(-18px, -1.35vw, -12px); }
.tab-content-col > h3::after,
#tab-12v-0 .premium-title::after,
.stacked-tab-title::after,
.centered-tab-title::after { right: clamp(-18px, -1.35vw, -12px); }

/* Final typography alignment audit: keep titles, subtitles and selling leads centered and tidy. */
.hero-title,
.hero-sub,
.page-hero-content,
.page-title,
.page-subtitle,
.home-card-title,
.home-card-sub,
.workflow-title,
.workflow-subtitle,
.proof-card,
.proof-card strong,
.proof-card span,
.tab-content-col,
.tab-content-col > h3,
.tab-content-col > .tab-lead,
#tab-12v-0 .premium-title,
#tab-12v-0 .premium-subtitle,
.stacked-tab-title,
.centered-tab-title,
.agent-cta,
.agent-cta h2,
.agent-cta p {
  text-align: center;
}
.page-hero-content,
.tab-content-col,
.agent-cta {
  align-items: center;
}
.hero-sub,
.page-subtitle,
.workflow-subtitle,
.home-card-sub,
.tab-content-col > .tab-lead,
#tab-12v-0 .premium-subtitle,
.agent-cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: min(760px, 100%);
  text-wrap: balance;
}
.tab-content-col > .feat-section,
.tab-content-col > .feat-list {
  width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.feat-section-label {
  text-align: center;
}
.agent-cta ul {
  width: min(620px, 100%);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 760px) {
  .page-hero-content,
  .tab-content-col,
  .agent-cta {
    width: 100%;
  }
}

/* Final mobile corrections · 21 Jul */
@media (min-width: 601px) {
  .nav-contact {
    align-items: flex-start;
    min-width: 278px;
    text-align: left;
  }
  .nav-phone,
  .nav-whatsapp,
  .nav-email {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 600px) {
  nav {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .nav-right {
    justify-content: flex-end;
    min-width: 0;
  }
  .nav-contact {
    align-items: flex-start;
    width: max-content;
    max-width: min(220px, 58vw);
    margin-left: auto;
    transform: translateX(5px);
    text-align: left;
  }
  .nav-phone {
    display: none !important;
  }
  .nav-whatsapp,
  .nav-email {
    width: 100%;
    text-align: left;
  }

  .hero-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: min(360px, calc(100vw - (var(--page-pad) * 2))) !important;
    gap: 7px !important;
    transform: none !important;
  }
  .badge-emergency {
    grid-column: 1 / -1;
    min-height: 58px;
  }
  .badge:not(.badge-emergency) {
    min-height: 48px;
    padding: 7px 5px;
    font-size: clamp(10px, 2.9vw, 12.5px);
    letter-spacing: 0;
    white-space: nowrap;
  }
  .badge:not(.badge-emergency)::after,
  .badge:not(.badge-emergency) .badge-dot,
  .badge:not(.badge-emergency) .badge-line:last-child {
    display: none;
  }
  .badge:not(.badge-emergency) .badge-label {
    grid-template-rows: 1fr;
    min-height: 0;
    width: auto;
  }
  .badge:not(.badge-emergency) .badge-line {
    width: auto;
    white-space: nowrap;
  }

  .home-card {
    min-height: clamp(330px, 84vw, 380px) !important;
  }
  .home-card-content {
    min-height: clamp(330px, 84vw, 380px) !important;
    justify-content: center;
    gap: 9px;
    padding-top: 38px;
    padding-bottom: 34px;
  }
  .home-card-volt {
    font-size: clamp(30px, 9vw, 40px) !important;
    line-height: 1.05;
    margin-top: 10px;
    margin-bottom: 4px;
  }
  .home-card-btn {
    margin-top: 12px;
    align-self: center;
  }

  #page-12v .page-hero {
    padding-top: clamp(50px, 11vh, 78px) !important;
    min-height: 390px;
  }
  .page-hero-actions {
    grid-template-columns: 1fr !important;
    width: min(320px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
  .page-hero-actions .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* Финальная настройка первого экрана и блока контактов. */
:root { --nav-h: 88px; }
.hero {
  min-height: clamp(540px, 72vh, 660px);
}
.hero-content {
  width: min(980px, 100%);
}
.hero-title {
  max-width: 940px;
  margin-inline: auto;
  font-size: clamp(38px, 5.8vw, 74px);
  line-height: 1.04;
  letter-spacing: clamp(1px, 0.28vw, 3px);
}
.hero-sub {
  margin-top: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.nav-contact {
  min-width: 286px;
  padding: 6px 11px;
  gap: 3px;
  border: 1px solid rgba(102, 202, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30,167,255,0.13), rgba(255,255,255,0.025));
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.nav-contact > * {
  width: 100%;
  text-align: center;
  white-space: nowrap;
}
.nav-phone {
  font-size: 14px;
  color: rgba(239,248,255,0.82);
}
.nav-phone-label,
.nav-whatsapp-label,
.nav-email-label {
  color: rgba(255,255,255,0.54);
  font-weight: 700;
}
.nav-phone span:last-child {
  color: #fff;
}
.nav-whatsapp {
  color: #79f5b0;
}
.nav-telegram {
  color: #8cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
}
.nav-email {
  color: rgba(229,246,255,0.78);
}
.nav-email span:last-child {
  color: #8bd5ff;
}
.nav-work-region span:last-child {
  color: #ffc95c;
}
@media (max-width: 600px) {
  :root { --nav-h: 94px; }
  .nav-contact {
    display: flex;
    min-width: 0;
    width: min(226px, 63vw);
    max-width: 226px;
    margin-left: auto;
    padding: 5px 8px;
    gap: 2px;
    transform: none;
    border-radius: 9px;
  }
  .nav-phone {
    display: block !important;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: clamp(10px, 3vw, 12px);
  }
  .nav-phone::before { content: none; }
  .nav-phone span { display: inline !important; }
  .nav-whatsapp-label { display: inline !important; }
  .nav-telegram-label { color: rgba(255,255,255,0.54); font-weight: 700; }
  .nav-telegram {
    display: block;
    font-size: clamp(8px, 2.35vw, 10px);
    line-height: 1.2;
  }
  .nav-whatsapp,
  .nav-email {
    display: block;
    font-size: clamp(8px, 2.35vw, 10px);
    line-height: 1.2;
  }
  .hero {
    min-height: calc(100svh - var(--nav-h));
  }
  .hero-content {
    padding-top: clamp(22px, 6vh, 42px);
    padding-bottom: 22px;
  }
  .hero-title {
    max-width: min(350px, 100%);
    font-size: clamp(25px, 7.1vw, 34px);
    line-height: 1.06;
    letter-spacing: .2px;
  }
  .hero-sub {
    max-width: min(330px, 100%);
    margin-top: 10px;
    padding: 6px 4px;
  }
}

/* Единая цветовая подача текста: десктоп повторяет эмоциональные акценты мобильной версии. */
@media (min-width: 761px) {
  #page-12v .tab-content-col > h3,
  #page-12v .premium-title,
  #page-12v .stacked-tab-title,
  #page-12v .centered-tab-title {
    background: linear-gradient(90deg, #ffffff 0%, #7ee4ff 52%, #dff8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  #page-220v .tab-content-col > h3,
  #page-220v .stacked-tab-title,
  #page-220v .centered-tab-title {
    background: linear-gradient(90deg, #ffffff 0%, #ffd36a 52%, #fff1c8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  #page-380v .tab-content-col > h3,
  #page-380v .stacked-tab-title,
  #page-380v .centered-tab-title {
    background: linear-gradient(90deg, #ffffff 0%, #ff8585 52%, #ffd8d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  #page-12v .tab-content-col > .tab-lead,
  #page-12v .security-list span { color: rgba(213, 246, 255, 0.9); }
  #page-220v .tab-content-col > .tab-lead { color: rgba(255, 237, 196, 0.92); }
  #page-380v .tab-content-col > .tab-lead { color: rgba(255, 219, 219, 0.92); }
  #page-12v .feat-list li { color: rgba(231, 250, 255, 0.92); }
  #page-220v .feat-list li { color: rgba(255, 244, 216, 0.92); }
  #page-380v .feat-list li { color: rgba(255, 230, 230, 0.92); }
  #page-12v .feat-section-label { color: #7ee4ff; }
  #page-220v .feat-section-label { color: #ffd36a; }
  #page-380v .feat-section-label { color: #ff8585; }
}

/* Desktop parity: outside the drill-down tabs, keep the same centered, readable mobile rhythm. */
@media (min-width: 761px) {
  .hero-content,
  .page-hero-content,
  .workflow-head,
  .agent-cta,
  .footer-grid > div {
    text-align: center;
  }
  .page-hero {
    align-items: center;
    text-align: center;
    padding-bottom: clamp(38px, 4vw, 60px);
  }
  .page-hero-content {
    width: min(860px, 100%);
    margin: 0 auto;
  }
  .page-title,
  .page-subtitle,
  .page-volt-label,
  .hero-title,
  .hero-sub,
  .workflow-title,
  .workflow-subtitle {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
  .page-subtitle,
  .hero-sub,
  .workflow-subtitle,
  .home-card-sub,
  .proof-card span,
  .agent-cta p,
  .footer-brand-sub {
    max-width: min(700px, 100%);
    margin-right: auto;
    margin-left: auto;
    text-wrap: balance;
  }
  .home-card-content {
    align-items: center;
    justify-content: center;
    padding: clamp(30px, 4vw, 54px);
    text-align: center;
  }
  .home-card-tag,
  .home-card-btn {
    align-self: center;
  }
  .home-card-sub {
    margin-bottom: 22px;
  }
  .proof-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .proof-card::before {
    margin-right: auto;
    margin-left: auto;
  }
  .agent-section {
    align-items: center;
  }
  .agent-cta,
  .agent-widget {
    width: min(760px, 100%);
  }
  .footer-grid {
    text-align: center;
  }
  .footer-links,
  .footer-contacts {
    align-items: center;
  }
}
.site-maintenance{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;background:#070b12;color:#f4f8ff;text-align:center}.site-maintenance[hidden]{display:none}.site-maintenance>div{max-width:620px;padding:40px;border:1px solid rgba(30,167,255,.28);border-radius:18px;background:#101722;box-shadow:0 30px 90px rgba(0,0,0,.45)}.site-maintenance strong{color:#1ea7ff;letter-spacing:.14em}.site-maintenance h1{margin:16px 0 10px;font-size:clamp(30px,6vw,54px)}.site-maintenance p{margin:0;color:#aeb9ca;font-size:18px}
