/* Base */
:root {
  --bg: #070707;
  --bg2: #0b0b0b;
  --card: rgba(255, 255, 255, 0.045);
  --stroke: rgba(255, 255, 255, 0.11);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --yellow: #ffd700;
  --yellow2: #ffb000;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 14px 28px rgba(0, 0, 0, 0.38);
  --shadow-card-hover: 0 18px 40px rgba(0, 0, 0, 0.52);
  --radius: 16px;
  --radius-card: 14px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --section-pad: 80px;
  --section-pad-mobile: 56px;
  --wall-1: rgba(255, 255, 255, 0.035);
  --wall-2: rgba(0, 0, 0, 0.18);
  color-scheme: dark;
}

/* Light theme (toggle) */
html[data-theme="light"] {
  --bg: #f6f7f9;
  --bg2: #ffffff;
  --card: rgba(0, 0, 0, 0.035);
  --stroke: rgba(0, 0, 0, 0.11);
  --text: #0b0b0c;
  --muted: rgba(0, 0, 0, 0.62);
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 14px 28px rgba(0, 0, 0, 0.11);
  --shadow-card-hover: 0 18px 40px rgba(0, 0, 0, 0.16);
  --wall-1: rgba(0, 0, 0, 0.03);
  --wall-2: rgba(0, 0, 0, 0.06);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 10% 15%, rgba(255, 215, 0, 0.022), transparent 55%),
    radial-gradient(900px 600px at 90% 80%, rgba(255, 176, 0, 0.016), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[data-theme="light"] body {
  background:
    radial-gradient(900px 600px at 10% 15%, rgba(255, 215, 0, 0.08), transparent 55%),
    radial-gradient(900px 600px at 90% 80%, rgba(255, 176, 0, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

/* Avoid mobile bar overlap */
@media (max-width: 780px) {
  body {
    padding-bottom: 84px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.muted {
  color: var(--muted);
  line-height: 1.7;
}

.h2 {
  margin: 0 0 var(--space-2);
  font-family: Rajdhani, Inter, system-ui, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  background: rgba(7, 7, 7, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.header__right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Brand (sign-style) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.brand__box {
  width: 48px;
  height: 48px;
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
}

html[data-theme="light"] .brand__box {
  border-color: rgba(0, 0, 0, 0.82);
}

.brand__box-letter,
.hero__box-letter,
.footer__box-letter {
  display: block;
  transform: translate(1px, 0.5px);
}

.brand__word {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 4px;
  margin-top: 2px; /* опустить "СЕТИ" относительно квадрата */
}

.brand__text {
  font-family: Rajdhani, Inter, system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3.2px;
  font-size: 30px;
  line-height: 1;
}

.brand__stripe {
  width: 100%;
  height: 4px;
  background: var(--yellow);
  border-radius: 3px;
  box-shadow: 0 10px 26px rgba(255, 215, 0, 0.22);
  position: relative;
  overflow: hidden;
}

.brand__stripe::after {
  content: "";
  position: absolute;
  inset: -2px 0;
  width: 48%;
  left: -60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(0) skewX(-18deg);
  opacity: 0.35;
  animation: stripe-shine 4.8s ease-in-out infinite;
  will-change: transform;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__link {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 8px 0;
}

html[data-theme="light"] .nav__link {
  color: rgba(0, 0, 0, 0.72);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow2));
  transition: width 0.2s ease;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  box-shadow: 0 12px 26px rgba(255, 215, 0, 0.18);
}

/* Burger */
.burger {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 12px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
}

html[data-theme="light"] .burger span {
  background: rgba(0, 0, 0, 0.82);
}

/* Theme toggle button */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.theme-toggle__icon {
  display: grid;
  place-items: center;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

html[data-theme="light"] .theme-toggle {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.82);
}

/* Show icon for the opposite theme */
html[data-theme="dark"] .theme-toggle__icon--moon,
html:not([data-theme]) .theme-toggle__icon--moon {
  display: none;
}

html[data-theme="light"] .theme-toggle__icon--sun {
  display: none;
}

.burger span + span {
  margin-top: 6px;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 50px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.9) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 26px;
  align-items: start;
}

.hero__copy {
  padding-top: 10px;
}

.hero__logo {
  --hero-gap: 14px;
  --hero-box: clamp(96px, 10vw, 112px);

  display: grid;
  grid-template-columns: var(--hero-box) auto;
  grid-template-rows: auto auto;
  margin-bottom: 14px;
  width: fit-content;
}

.hero__topline {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: var(--hero-box) auto;
  column-gap: var(--hero-gap);
  align-items: flex-start;
  width: fit-content;
}

.hero__box {
  width: var(--hero-box);
  height: var(--hero-box);
  border: 3.5px solid rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: clamp(58px, 6vw, 74px);
  line-height: 1;
  flex: 0 0 auto;
  margin-top: 0px;
}

html[data-theme="light"] .hero__box {
  border-color: rgba(0, 0, 0, 0.82);
}

.hero__word {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: fit-content;
  margin-top: 10px; /* опустить "СЕТИ" относительно квадрата */
}

.hero__text {
  font-family: Rajdhani, Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  font-size: clamp(54px, 8.2vw, 92px);
  line-height: 0.92;
}

.hero__stripe {
  width: 100%;
  height: 7px;
  border-radius: 4px;
  background: var(--yellow);
  box-shadow: 0 14px 30px rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__stripe::after {
  content: "";
  position: absolute;
  inset: -3px 0;
  width: 52%;
  left: -70%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  transform: translateX(0) skewX(-18deg);
  opacity: 0.34;
  animation: stripe-shine 4.2s ease-in-out infinite;
  animation-delay: 0.35s;
  will-change: transform;
}

.hero__subline {
  grid-column: 1 / 2;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yellow);
  font-weight: 600;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.22);
  line-height: 1.15;
  margin-top: 10px;
  text-align: center;
}

.hero__tagline {
  margin: 18px 0 18px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.hero__facts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.fact {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 110px;
}

html[data-theme="light"] .fact {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.12);
}

.fact__value {
  font-family: Rajdhani, Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 20px;
  color: var(--yellow);
  line-height: 1;
}

.fact__label {
  margin-top: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .badge {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.82);
}

.badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, var(--yellow) 45%, var(--yellow2) 100%);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
  animation: dot-breathe 2.8s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  gap: 8px;
}

.btn--primary {
  color: #111;
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  box-shadow: 0 16px 32px rgba(255, 215, 0, 0.18);
}

.btn--ghost {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .btn--ghost {
  color: rgba(0, 0, 0, 0.86);
  background: rgba(0, 0, 0, 0.035);
  border-color: rgba(0, 0, 0, 0.14);
}

.btn--sm {
  padding: 10px 12px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: none;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 215, 0, 0.55);
  outline-offset: 3px;
  border-radius: 12px;
}

.btn--primary:focus-visible {
  outline-color: rgba(255, 255, 255, 0.65);
}
.btn:active {
  transform: translateY(1px);
}

.hero__panel .panel {
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

html[data-theme="light"] .hero__panel .panel {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 0, 0, 0.1);
}

.quick-contacts {
  display: grid;
  gap: 12px;
}

.quick-contacts__kicker {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.quick-contacts__title {
  font-family: Rajdhani, Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 22px;
  line-height: 1.1;
}

.quick-contacts__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-contacts__info {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.quick-contacts__line {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

html[data-theme="light"] .quick-contacts__line {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

.quick-contacts__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.quick-contacts__value {
  color: color-mix(in srgb, var(--text) 92%, transparent);
  font-weight: 600;
}

.btn--ig {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.24) 0%, rgba(253, 29, 29, 0.18) 50%, rgba(252, 175, 69, 0.22) 100%);
}

.hero__panel .panel::before {
  content: none; /* убрали бегущий блик по всей карточке */
}

.hero__panel .panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.16);
  pointer-events: none;
}

.panel__link {
  color: var(--yellow);
  font-weight: 700;
}

/* Sections */
.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .section--alt {
  background: rgba(0, 0, 0, 0.02);
  border-top-color: rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.grid {
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition:
    transform 180ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.28);
  box-shadow:
    var(--shadow-card-hover),
    0 0 0 1px rgba(255, 215, 0, 0.1),
    0 0 18px rgba(255, 215, 0, 0.06);
  background: rgba(255, 255, 255, 0.055);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 215, 0, 0.09);
  border: 1px solid rgba(255, 215, 0, 0.22);
  margin-bottom: var(--space-2);
  color: var(--yellow);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  margin: 0 0 var(--space-1);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* (cleanup) removed duplicate hover rule */

/* Universal reveal animation (for all blocks) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brand__stripe::after,
  .hero__stripe::after,
  .footer__stripe::after,
  .badge__dot {
    animation: none !important;
  }
}

/* Why */
.why {
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

/* FAQ */
.faq {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.faq__item {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 14px 16px;
}

html[data-theme="light"] .faq__item {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(0, 0, 0, 0.1);
}

.faq__q {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  flex: 0 0 auto;
}

.faq__item[open] .faq__q::after {
  content: "—";
  color: #111;
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  border-color: rgba(255, 215, 0, 0.35);
}

.faq__a {
  margin-top: 10px;
}

/* unified text blocks inside cards */
.card__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

html[data-theme="light"] .faq__q::after {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.82);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card--step .card__title,
.card--why .card__title {
  text-transform: none;
  letter-spacing: 0.2px;
  font-size: 17px;
}

.card--step .card__icon,
.card--why .card__icon {
  background: rgba(255, 215, 0, 0.07);
}

/* Footer */
.footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .footer {
  border-top-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

/* Mobile bottom bar */
.mobile-bar {
  display: none;
}

@media (max-width: 780px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 10px;
    border-radius: 18px;
    background: rgba(10, 10, 10, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    z-index: 50;
  }

  html[data-theme="light"] .mobile-bar {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(0, 0, 0, 0.1);
  }

  .mobile-bar__btn {
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
  }

  html[data-theme="light"] .mobile-bar__btn {
    background: rgba(0, 0, 0, 0.035);
    border-color: rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.82);
  }

  .mobile-bar__btn--primary {
    background: linear-gradient(135deg, var(--yellow), var(--yellow2));
    border-color: rgba(255, 215, 0, 0.35);
    color: #111;
  }

  .mobile-bar__icon {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    display: inline-grid;
    place-items: center;
  }

  .mobile-bar__icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
  }

  .mobile-bar__text {
    font-size: 12px;
    letter-spacing: 0.2px;
    font-weight: 700;
  }
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__box {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  font-weight: 700;
}

html[data-theme="light"] .footer__box {
  border-color: rgba(0, 0, 0, 0.82);
}
.footer__word {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 4px;
  margin-top: 2px; /* опустить "СЕТИ" относительно квадрата */
}

.footer__text {
  font-family: Rajdhani, Inter, system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 22px;
  line-height: 1;
}

.footer__stripe {
  width: 100%;
  height: 4px;
  background: var(--yellow);
  border-radius: 3px;
  opacity: 0.9;
  position: relative;
  overflow: hidden;
}

.footer__stripe::after {
  content: "";
  position: absolute;
  inset: -2px 0;
  width: 50%;
  left: -60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(0) skewX(-18deg);
  opacity: 0.32;
  animation: stripe-shine 5.2s ease-in-out infinite;
  animation-delay: 0.8s;
  will-change: transform;
}

@keyframes stripe-shine {
  0%,
  35% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  50% {
    opacity: 0.32;
  }
  65%,
  100% {
    transform: translateX(210%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes dot-breathe {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.28);
  }
  50% {
    transform: translateY(-0.5px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.42);
  }
}

/* Mobile */
@media (max-width: 920px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    order: 2;
  }
}

@media (max-width: 780px) {
  .nav {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .header.is-open .nav {
    display: grid;
    gap: 10px;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 14px 20px 18px;
    background: rgba(7, 7, 7, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  html[data-theme="light"] .header.is-open .nav {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(0, 0, 0, 0.08);
  }

  .header.is-open .nav__cta {
    justify-self: start;
  }

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

  .why {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 38px;
  }

  .section {
    padding: var(--section-pad-mobile) 0;
  }

  /* На мобилке шапочный логотип чуть меньше */
  .brand__box {
    width: 44px;
    height: 44px;
    border-width: 2.25px;
    font-size: 28px;
  }

  .brand__text {
    font-size: 28px;
    letter-spacing: 3px;
  }

  .hero__logo {
    --hero-gap: 12px;
    --hero-box: 72px;
  }

  .hero__stripe {
    height: 6px;
  }

  .hero__word {
    margin-top: 6px;
  }

  .hero__text {
    letter-spacing: 2.4px;
    font-size: clamp(44px, 11vw, 64px);
  }

  .hero__tagline {
    letter-spacing: 1.2px;
    font-size: 13px;
    margin: 14px 0 14px;
  }

  .hero__badges {
    margin-bottom: 14px;
  }

  /* Make facts align neatly on mobile */
  .hero__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .fact {
    min-width: 0;
    padding: 10px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  }

  html[data-theme="light"] .fact {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  }

  .fact__value {
    font-size: 18px;
  }

  .fact__label {
    font-size: 11px;
    letter-spacing: 0.9px;
  }

  /* Contact panel buttons: 2 columns */
  .quick-contacts__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .quick-contacts__row .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero__facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-contacts__row {
    grid-template-columns: 1fr;
  }

  /* Mobile bar: icons only on very small screens */
  .mobile-bar__text {
    display: none;
  }

  .mobile-bar__icon {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .hero__facts {
    grid-template-columns: 1fr;
  }
}

