/* СолЭлектро — электромонтаж Солигорск */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #060d18;
  --bg-card: #0c1829;
  --bg-card-hover: #101f35;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --text: #e8edf5;
  --text-muted: rgba(232, 237, 245, 0.55);
  --text-dim: rgba(232, 237, 245, 0.35);
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.35);
  --accent-dark: #0099bb;
  --yellow: #fbbf24;
  --yellow-glow: rgba(251, 191, 36, 0.25);
  --danger: #ef4444;
  --font: 'Outfit', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --header-h: 72px;
  --container: 1200px;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

main {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
address { font-style: normal; }

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

/* ── Electric background ── */
.electric-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.electric-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black, transparent 75%);
}
.electric-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .07;
}
.electric-bg__glow--1 {
  width: 420px; height: 420px;
  top: -160px; right: -80px;
  background: var(--accent);
}
.electric-bg__glow--2 {
  width: 360px; height: 360px;
  bottom: 10%; left: -120px;
  background: var(--yellow);
  opacity: .05;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, #0099cc 100%);
  color: #001018;
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.btn--ghost {
  border: 1px solid var(--border-light);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.3);
}
.btn--outline {
  border: 1px solid var(--border-light);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Section ── */
.section { padding: 100px 0; position: relative; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label--light { color: var(--yellow); }
.section-head { margin-bottom: 48px; max-width: 560px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-head p { color: var(--text-muted); }

/* ── Light sections ── */
.section--light {
  --text: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --border: rgba(15, 23, 42, 0.08);
  --border-light: rgba(15, 23, 42, 0.14);
  --surface: #ffffff;
  --accent-dark: #0099bb;
  background: #f1f5f9;
  color: var(--text);
  position: relative;
  overflow: visible;
  padding-top: 120px;
}
.section--light.prices {
  padding-top: 88px;
}
.section--light.calc {
  padding-top: 100px;
  padding-bottom: 72px;
}
.section--light.trust {
  padding-top: 40px;
  padding-bottom: 88px;
  border-bottom: none;
}
.services {
  padding-bottom: 72px;
}
.works,
.process,
.reviews,
.blog,
.faq {
  position: relative;
  overflow: visible;
}
.works {
  padding-top: 72px;
}

/* ── Triple wave dividers ── */
.section-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 2;
  display: block;
}
.section-wave--top {
  top: 0;
  transform: translateY(calc(-100% + 1px));
}
.section-wave--bottom {
  bottom: 0;
  transform: translateY(calc(100% - 1px));
}
.section--light .section-head h2 { color: var(--text); }
.section--light .section-head p { color: var(--text-muted); }
.section--light .price-tabs__btn {
  color: var(--text-muted);
  border-color: var(--border-light);
  background: #fff;
}
.section--light .price-tabs__btn.is-active,
.section--light .price-tabs__btn:hover {
  background: rgba(0, 153, 204, 0.08);
  border-color: rgba(0, 153, 204, 0.35);
  color: var(--accent-dark);
}
.section--light .price-card {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.section--light .price-card--featured {
  border-color: rgba(0, 153, 204, 0.35);
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.07) 0%, #fff 100%);
  box-shadow: 0 16px 48px rgba(0, 153, 204, 0.12);
}
.section--light .price-card__amount { color: var(--text); }
.section--light .btn--outline {
  border-color: var(--border-light);
  color: var(--text);
  background: #fff;
}
.section--light .btn--outline:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  background: rgba(0, 153, 204, 0.05);
}
.section--light .calc__features li { color: var(--text-muted); }
.section--light .calc__panel {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}
.section--light .calc-field input[type="range"] {
  background: rgba(15, 23, 42, 0.1);
}
.section--light .calc-field__value { color: var(--accent-dark); }
.section--light .calc-result {
  border-color: var(--border);
}
.section--light .calc-result strong { color: #d97706; }
.section--light .trust__item {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.section--light .trust__item:hover {
  border-color: rgba(0, 153, 204, 0.35);
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 153, 204, 0.1);
}
.section--light .trust__item h3 { color: var(--text); }
.section--light .trust__icon { color: var(--accent-dark); }


/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}
.header.is-scrolled {
  background: rgba(6, 13, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__icon {
  width: 36px; height: 36px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
.logo__text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}
.header .logo__text,
.footer .logo__text {
  color: var(--text);
}
.header .logo__tagline,
.footer .logo__tagline {
  color: var(--text-muted);
}
.logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.logo__brandline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.logo__domain {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .01em;
}
.logo__tagline {
  font-size: .68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .01em;
}
.logo--footer .logo__tagline {
  font-size: .62rem;
}
.logo__text span { color: var(--accent); }
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav a:hover { color: var(--accent); }
.header__phone {
  font-family: var(--mono);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.header__phone:hover { color: var(--accent); }
.header__cta { flex-shrink: 0; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: rgba(6, 13, 24, 0.97);
  backdrop-filter: blur(24px);
  padding: 32px 24px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  display: none;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu:not([hidden]) {
  display: flex;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0;
}
.mobile-menu__nav a {
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__nav a:hover {
  color: var(--accent);
}
.mobile-menu__phone {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 13, 24, 0.97) 0%, rgba(6, 13, 24, 0.75) 45%, rgba(6, 13, 24, 0.4) 100%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}
.hero__electric {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .55;
}
.hero__electric-svg {
  width: 100%;
  height: 100%;
}
.hero__spark {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px var(--accent-glow));
  stroke-dasharray: 8 120;
  animation: sparkFlow 4s linear infinite;
}
.hero__spark--1 { animation-delay: 0s; }
.hero__spark--2 { animation-delay: 1.3s; opacity: .7; }
.hero__spark--3 { animation-delay: 2.6s; opacity: .5; stroke-width: 1; }
.hero__node {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent));
  animation: nodePulse 3s ease-in-out infinite;
}
.hero__node--1 { animation-delay: 0s; }
.hero__node--2 { animation-delay: 1s; }
.hero__node--3 { animation-delay: 2s; }
@keyframes sparkFlow {
  0% { stroke-dashoffset: 128; opacity: 0; }
  10% { opacity: .9; }
  50% { opacity: .4; }
  90% { opacity: .8; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes nodePulse {
  0%, 100% { opacity: .2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
.hero__node { transform-origin: center; transform-box: fill-box; }
.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  padding: 60px 0 40px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: .7; box-shadow: 0 0 0 8px transparent; }
}
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.hero__stats {
  display: flex;
  gap: 40px;
}
.hero__stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.2;
}
.hero__stat span {
  font-size: .82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}
.hero-card-slider {
  position: relative;
  height: 420px;
}
.hero-card-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.hero-card-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-card-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.hero__card-badge {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(6, 13, 24, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}
.hero__card-badge-icon {
  flex-shrink: 0;
  color: var(--accent);
  display: flex;
}
.hero__card-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hero__card-badge-text strong {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.hero__card-badge-text small {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.hero-card-slider__dots {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-card-slider__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background var(--transition), transform var(--transition);
}
.hero-card-slider__dots button.is-active {
  background: var(--accent);
  transform: scale(1.25);
}
.hero__marquee {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(6, 13, 24, 0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: 14px 0;
}
.hero__marquee-track {
  display: flex;
  gap: 32px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.hero__marquee-track span {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  flex-shrink: 0;
}
.hero__marquee-track span:nth-child(even) { color: var(--accent); opacity: .5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Home services strip (under hero) ── */
.home-services {
  position: relative;
  z-index: 2;
  background: #f1f5f9;
  padding: 0 0 28px;
  overflow: visible;
}
.home-services__inner {
  padding-top: 4px;
}
.home-services__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.home-services__all {
  font-size: .88rem;
  font-weight: 600;
  color: #0099bb;
  transition: color var(--transition);
}
.home-services__all:hover { color: #00d4ff; }
.home-services__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.home-services__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  font-size: .78rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.25;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), color var(--transition);
}
.home-services__item:hover {
  border-color: rgba(0, 153, 204, 0.35);
  box-shadow: 0 6px 18px rgba(0, 153, 204, 0.12);
  transform: translateY(-1px);
  color: #0099bb;
}
.home-services__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.1);
  color: #0099bb;
  transition: background var(--transition), transform var(--transition);
}
.home-services__item:hover .home-services__icon {
  background: rgba(0, 212, 255, 0.18);
  transform: scale(1.05);
}
.home-services__icon svg { width: 15px; height: 15px; }
.home-services__label { flex: 1; min-width: 0; }

/* ── Trust ── */
.trust {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: visible;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust__item {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.trust__item:hover {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.04);
}
.trust__icon {
  width: 44px; height: 44px;
  color: var(--accent);
  margin-bottom: 16px;
}
.trust__icon svg { width: 100%; height: 100%; }
.trust__item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.trust__item p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Bento services ── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 220px;
}
.bento__item--wide { grid-column: span 2; }
.bento__item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.bento__item:hover img { transform: scale(1.05); }
.bento__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 13, 24, 0.35) 40%,
    rgba(6, 13, 24, 0.97) 100%
  );
}
.bento__num {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.bento__content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.bento__content p {
  font-size: .88rem;
  color: rgba(232, 237, 245, 0.72);
  line-height: 1.5;
  margin-bottom: 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.bento__price {
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 700;
  color: var(--yellow);
}

/* ── Prices ── */
.price-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.price-tabs__btn {
  padding: 10px 24px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.price-tabs__btn.is-active,
.price-tabs__btn:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--accent);
}
.price-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-panel.is-active { display: grid; }
.price-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.price-card:hover { transform: translateY(-4px); }
.price-card--featured {
  border-color: rgba(0, 212, 255, 0.3);
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.08) 0%, var(--surface) 100%);
  box-shadow: 0 16px 48px rgba(0, 212, 255, 0.08);
}
.price-card__head h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-card__head p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.price-card__amount {
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1;
}
.price-card__amount span {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 4px;
}
.price-card__amount small {
  font-size: 1rem;
  color: var(--text-muted);
}
.price-card__list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.price-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.45;
}
.price-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── Calculator ── */
.calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.calc__features {
  list-style: none;
  margin-top: 24px;
}
.calc__features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: .95rem;
  color: var(--text-muted);
}
.calc__features li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  font-size: .8rem;
}
.calc__panel {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}
.calc-field {
  display: block;
  margin-bottom: 28px;
}
.calc-field > span {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.calc-field input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 999px;
  outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent-glow);
}
.calc-field__value {
  display: block;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
}
.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.calc-result span { font-size: .9rem; color: var(--text-muted); }
.calc-result strong {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow);
}

/* ── Gallery ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(6, 13, 24, 0.9));
  font-size: .82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery__item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 13, 24, 0.95);
  padding: 40px;
  display: none;
}
.lightbox:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__figure { max-width: 900px; text-align: center; }
.lightbox__figure img {
  max-height: 75vh;
  border-radius: var(--radius);
  margin-inline: auto;
}
.lightbox__figure figcaption {
  margin-top: 16px;
  font-size: .9rem;
  color: var(--text-muted);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
  opacity: .7;
  transition: opacity var(--transition);
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  font-size: 1.2rem;
  color: var(--text);
  transition: background var(--transition);
}
.lightbox__nav:hover { background: rgba(0, 212, 255, 0.15); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--yellow), var(--accent));
  opacity: .3;
}
.step {
  text-align: center;
  position: relative;
}
.step__num {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-card);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Reviews ── */
.reviews-slider { max-width: 680px; }
.reviews-slider__track { position: relative; min-height: 200px; }
.review-card {
  display: none;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.review-card.is-active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.review-card__stars { color: var(--yellow); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.review-card blockquote {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 20px;
  color: var(--text);
}
.review-card footer strong { display: block; font-weight: 700; }
.review-card footer span { font-size: .85rem; color: var(--text-muted); }
.reviews-slider__dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.reviews-slider__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  transition: background var(--transition), transform var(--transition);
}
.reviews-slider__dots button.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ── Blog slider (demo) ── */
.blog { padding-top: 88px; }
.blog-slider {
  position: relative;
  margin-top: 8px;
}
.blog-slider__viewport {
  overflow: hidden;
  margin: 0 52px;
}
.blog-slider__track {
  display: flex;
  gap: 20px;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.blog-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.blog-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}
.blog-card__body {
  padding: 20px 22px 22px;
}
.blog-card__date {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}
.blog-card__excerpt {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-dark);
}
.blog-slider__btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.blog-slider__btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}
.blog-slider__btn:disabled {
  opacity: .35;
  pointer-events: none;
}
.blog-slider__btn--prev { left: 0; }
.blog-slider__btn--next { right: 0; }
.blog-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.blog-slider__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.15);
  transition: background var(--transition), transform var(--transition);
}
.blog-slider__dots button.is-active {
  background: var(--accent-dark);
  transform: scale(1.2);
}

/* ── FAQ ── */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.accordion__item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.accordion__item summary {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.accordion__item[open] summary::after { transform: rotate(45deg); }
.accordion__item p {
  margin-top: 12px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-right: 32px;
}

/* ── CTA ── */
.cta {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 212, 255, 0.05), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(251, 191, 36, 0.04), transparent),
    var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 12px 0 16px;
}
.cta__text p {
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.65;
  margin-bottom: 24px;
}
.cta__phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta__phones a {
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  transition: color var(--transition);
}
.cta__phones a:hover { color: var(--yellow); }
.cta-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
}
.cta-form label {
  display: block;
  margin-bottom: 16px;
}
.cta-form label span {
  display: block;
  margin-bottom: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: rgba(6, 13, 24, 0.6);
  color: var(--text);
  font: inherit;
  line-height: 1.45;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cta-form textarea {
  resize: vertical;
  min-height: 88px;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: var(--text-dim); }
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}
.form-note {
  margin: 14px 0 0;
  font-size: .82rem;
  color: var(--text-dim);
  text-align: center;
}
.form-note__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  padding: 80px 0 0;
  background: linear-gradient(180deg, #030508 0%, #000000 40%, #050a12 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.footer__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.footer__glow--1 {
  width: 500px; height: 500px;
  top: -200px; left: 10%;
  background: rgba(0, 212, 255, 0.07);
}
.footer__glow--2 {
  width: 400px; height: 400px;
  bottom: -100px; right: 5%;
  background: rgba(251, 191, 36, 0.05);
}
.footer__electric {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .45;
  overflow: hidden;
}
.footer__electric-svg {
  width: 100%;
  height: 100%;
}
.footer__fly {
  animation: footerFly 9s linear infinite;
}
.footer__fly--1 { animation-delay: 0s; animation-duration: 8s; }
.footer__fly--2 { animation-delay: 2.5s; animation-duration: 10s; }
.footer__fly--3 { animation-delay: 5s; animation-duration: 7s; }
.footer__fly--4 { animation-delay: 1.2s; animation-duration: 11s; opacity: .7; }
.footer__fly--5 { animation-delay: 6.8s; animation-duration: 9s; opacity: .5; }
@keyframes footerFly {
  0% { transform: translateX(-80px); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: .6; }
  100% { transform: translateX(1520px); opacity: 0; }
}
.footer__spark {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px var(--accent-glow));
  stroke-dasharray: 6 80;
  animation: footerSparkPulse 1.2s ease-in-out infinite;
}
.footer__spark--yellow {
  stroke: var(--yellow);
  filter: drop-shadow(0 0 5px var(--yellow-glow));
}
.footer__spark--dim { stroke-width: 1; opacity: .6; }
.footer__fly--1 .footer__spark { animation-delay: 0s; }
.footer__fly--2 .footer__spark { animation-delay: .3s; }
.footer__fly--3 .footer__spark { animation-delay: .6s; }
@keyframes footerSparkPulse {
  0%, 100% { stroke-dashoffset: 86; opacity: .3; }
  50% { stroke-dashoffset: 0; opacity: 1; }
}
.footer__wire {
  fill: none;
  stroke: rgba(0, 212, 255, 0.12);
  stroke-width: 1;
  stroke-dasharray: 6 18;
  animation: footerWireFlow 12s linear infinite;
}
.footer__wire--1 { animation-delay: 0s; }
.footer__wire--2 {
  stroke: rgba(251, 191, 36, 0.1);
  animation-delay: 4s;
  animation-duration: 15s;
}
@keyframes footerWireFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -240; }
}
.footer__node {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent-glow));
  animation: footerNodeBlink 2.5s ease-in-out infinite;
}
.footer__node--1 { animation-delay: 0s; }
.footer__node--2 { animation-delay: .8s; }
.footer__node--3 { animation-delay: 1.6s; fill: var(--yellow); filter: drop-shadow(0 0 4px var(--yellow-glow)); }
.footer__node--4 { animation-delay: 2.2s; }
@keyframes footerNodeBlink {
  0%, 100% { opacity: .15; r: 2; }
  50% { opacity: 1; r: 3.5; }
}
.footer__inner {
  position: relative;
  z-index: 2;
}
.footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1.55fr 0.85fr 1.1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__col--services .footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 10px;
}
.footer__col--services .footer__links-item--all {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
.footer__col--services .footer__links a {
  font-size: .85rem;
  line-height: 1.35;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer__desc {
  font-size: .92rem;
  color: rgba(232, 237, 245, 0.45);
  line-height: 1.65;
  max-width: 34ch;
  margin: 0;
}
.footer__heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  font-size: .9rem;
  color: rgba(232, 237, 245, 0.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--accent); }
.footer__contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__contacts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__contact-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(232, 237, 245, 0.35);
}
.footer__contacts span,
.footer__contacts a {
  font-size: .9rem;
  color: rgba(232, 237, 245, 0.65);
  line-height: 1.5;
  transition: color var(--transition);
}
.footer__contacts a:hover { color: var(--accent); }
.footer__features {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__feature {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}
.footer__feature:hover {
  border-color: rgba(0, 212, 255, 0.15);
  background: rgba(0, 212, 255, 0.04);
}
.footer__feature strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.2;
  margin-bottom: 4px;
}
.footer__feature span {
  font-size: .78rem;
  color: rgba(232, 237, 245, 0.4);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: .82rem;
  color: rgba(232, 237, 245, 0.3);
  margin: 0;
}
.footer__bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__bottom-links a {
  font-size: .82rem;
  color: rgba(232, 237, 245, 0.45);
  transition: color var(--transition);
}
.footer__bottom-links a:hover { color: var(--accent); }
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: border-color var(--transition), color var(--transition);
}
.footer__credit:hover {
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--text);
}
.footer__credit-label {
  font-size: .75rem;
  color: rgba(232, 237, 245, 0.45);
  text-transform: lowercase;
}
.footer__credit-brand {
  font-weight: 700;
  font-size: .85rem;
  color: rgba(232, 237, 245, 0.85) !important;
  letter-spacing: -.01em;
}
.footer__credit-brand span { color: var(--accent) !important; }
.logo--footer .logo__icon { width: 32px; height: 32px; }
.logo--footer .logo__text { font-size: 1.2rem; }
.logo--footer .logo__domain { font-size: .58rem; }

/* ── Contact FAB ── */
.contact-fab {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 90;
}
.contact-fab__toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0099cc);
  color: #001018;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition: transform var(--transition);
}
.contact-fab__toggle:hover { transform: scale(1.08); }
.contact-fab__menu {
  position: absolute;
  bottom: 68px; left: 0;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.contact-fab__menu:not([hidden]) {
  display: flex;
}
.contact-fab__link {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
  animation: fabIn .3s ease backwards;
}
.contact-fab__link:nth-child(1) { animation-delay: .05s; }
.contact-fab__link:nth-child(2) { animation-delay: .1s; }
.contact-fab__link:nth-child(3) { animation-delay: .15s; }
.contact-fab__link:nth-child(4) { animation-delay: .2s; }
@keyframes fabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.contact-fab__link:hover { transform: scale(1.1); border-color: var(--accent); }
.contact-fab__link--phone { color: var(--accent); }
.contact-fab__link--wa { color: #25d366; }
.contact-fab__link--viber { color: #7360f2; }
.contact-fab__link--form { color: var(--yellow); }

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  padding: 24px;
  display: none;
}
.modal:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 24, 0.8);
  backdrop-filter: blur(8px);
}
.modal__dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(.95) translateY(12px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.6rem;
  color: var(--text-muted);
  line-height: 1;
  transition: color var(--transition);
}
.modal__close:hover { color: var(--text); }
.modal__dialog h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.modal__lead {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.modal-form label {
  display: block;
  margin-bottom: 16px;
}
.modal-form label span {
  display: block;
  margin-bottom: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: rgba(6, 13, 24, 0.6);
  color: var(--text);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.modal-form textarea { resize: vertical; min-height: 80px; }
.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}

/* ── Inner pages (services, prices) — light layout ── */
body.page-light {
  background: #f1f5f9;
  color: #0f172a;
}
body.page-light .electric-bg { display: none; }
body.page-light main {
  background: #f1f5f9;
  color: #0f172a;
}

/* Dark hero blocks on inner pages */
body.page-light .page-hero,
body.page-light .contacts-hero,
body.page-light .svc-detail-hero {
  background: #060d18;
  color: #e8edf5;
  position: relative;
  z-index: 1;
}
body.page-light .page-hero h1,
body.page-light .contacts-hero h1,
body.page-light .svc-detail-hero__content h1 {
  color: #e8edf5;
}
body.page-light .page-hero p,
body.page-light .contacts-hero__text > p,
body.page-light .svc-detail-hero__content p {
  color: rgba(232, 237, 245, 0.55);
}
body.page-light .page-hero .breadcrumbs,
body.page-light .contacts-hero .breadcrumbs,
body.page-light .svc-detail-hero .breadcrumbs {
  color: rgba(232, 237, 245, 0.35);
}
body.page-light .page-hero .breadcrumbs a,
body.page-light .contacts-hero .breadcrumbs a,
body.page-light .svc-detail-hero .breadcrumbs a {
  color: rgba(232, 237, 245, 0.55);
}
body.page-light .page-hero .breadcrumbs a:hover,
body.page-light .contacts-hero .breadcrumbs a:hover,
body.page-light .svc-detail-hero .breadcrumbs a:hover {
  color: #00d4ff;
}
body.page-light .contacts-hero__accent { color: #00d4ff; }
body.page-light .contacts-hero__phone-card {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.12) 0%, #0c1829 55%);
  border-color: rgba(0, 212, 255, 0.25);
}
body.page-light .contacts-hero__phone { color: #e8edf5; }
body.page-light .contacts-hero__badges span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(232, 237, 245, 0.55);
}
body.page-light .contacts-hero__badges strong { color: #00d4ff; }
body.page-light .svc-detail-hero__price { color: #fbbf24 !important; }

/* Light content sections */
body.page-light .section {
  color: #0f172a;
}
body.page-light .section-head h2,
body.page-light .price-block h2,
body.page-light .svc-detail-includes h2,
body.page-light .svc-detail-prices h2,
body.page-light .svc-related h2,
body.page-light .svc-seo__inner h2,
body.page-light .svc-seo__inner h3,
body.page-light .contacts-form h2,
body.page-light .contacts-map-info h2,
body.page-light .contacts-faq h2,
body.page-light .cta__text h2 {
  color: #0f172a;
}
body.page-light .section-head p,
body.page-light .section-label,
body.page-light .svc-detail-note,
body.page-light .svc-seo__inner p,
body.page-light .price-disclaimer p,
body.page-light .contacts-form__lead,
body.page-light .contacts-map-info p,
body.page-light .cta__text p {
  color: #64748b;
}
body.page-light .section-label { color: #0099bb; }
body.page-light .svc-seo {
  border-top-color: #e2e8f0;
}
body.page-light .svc-seo__inner a {
  color: #0099bb;
}
body.page-light .svc-seo__inner a:hover {
  color: #d97706;
}
body.page-light .notice-banner {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
  color: #64748b;
}
body.page-light .notice-banner strong { color: #0f172a; }

body.page-light .section--light {
  background: transparent;
  padding-top: 48px;
  --text: #0f172a;
  --text-muted: #64748b;
}

body.page-light .price-table-wrap {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}
body.page-light .price-table th {
  background: #f8fafc;
  color: #64748b;
}
body.page-light .price-table td { color: #0f172a; border-color: rgba(15, 23, 42, 0.06); }
body.page-light .price-table tbody tr:hover td { background: #f8fafc; }
body.page-light .price-table__val { color: #d97706; }
body.page-light .price-disclaimer {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}

body.page-light .svc-detail-includes__list li {
  color: #64748b;
  border-color: rgba(15, 23, 42, 0.08);
}
body.page-light .related-card {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}
body.page-light .related-card span { color: #475569; }

body.page-light .contact-card {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}
body.page-light .contact-card h3 { color: #0f172a; }
body.page-light .contact-card p { color: #64748b; }
body.page-light .contact-card p a { color: #0f172a; }
body.page-light .contact-card__icon {
  background: rgba(0, 212, 255, 0.1);
  color: #0099bb;
}

body.page-light .contacts-form {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
body.page-light .contacts-form label span { color: #64748b; }
body.page-light .contacts-form input,
body.page-light .contacts-form textarea {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

body.page-light .contacts-map-wrap {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}
body.page-light .contacts-map-address {
  background: rgba(0, 212, 255, 0.06);
  color: #0f172a;
}

body.page-light .cta {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}
body.page-light .cta-form {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
  backdrop-filter: none;
}
body.page-light .cta-form label span { color: #64748b; }
body.page-light .cta-form input,
body.page-light .cta-form textarea {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
body.page-light .cta-form input::placeholder,
body.page-light .cta-form textarea::placeholder { color: #94a3b8; }

body.page-light .accordion__item {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}
body.page-light .accordion__item summary { color: #0f172a; }
body.page-light .accordion__item p { color: #64748b; }

body.page-light .form-note { color: #94a3b8; }

/* ── Blog pages ── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.blog-list-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-list-card:hover {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.blog-list-card__img {
  position: relative;
  display: block;
  min-height: 200px;
  overflow: hidden;
}
.blog-list-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-list-card:hover .blog-list-card__img img { transform: scale(1.04); }
.blog-list-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--yellow);
  color: #0f172a;
  border-radius: 999px;
}
.blog-list-card__body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}
.blog-list-card__body time {
  font-size: .8rem;
  color: #94a3b8;
  margin-bottom: 8px;
}
.blog-list-card__body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-list-card__body h2 a {
  color: #0f172a;
  transition: color var(--transition);
}
.blog-list-card__body h2 a:hover { color: #0099bb; }
.blog-list-card__body p {
  font-size: .92rem;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.blog-list-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: #94a3b8;
}
.blog-list-card__more {
  font-weight: 600;
  color: #0099bb;
}
.blog-list-card__more:hover { color: #00d4ff; }

.blog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-sidebar__widget {
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.blog-sidebar__widget--cta {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.08) 0%, #fff 60%);
  border-color: rgba(0, 212, 255, 0.2);
}
.blog-sidebar__widget h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.blog-sidebar__widget p {
  font-size: .85rem;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.5;
}
.blog-sidebar__phone {
  display: block;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}
.blog-sidebar__phone:hover { color: #0099bb; }
.blog-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-sidebar__tag {
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.blog-sidebar__tag:hover {
  background: rgba(0, 212, 255, 0.12);
  color: #0099bb;
}
.blog-sidebar__list {
  list-style: none;
}
.blog-sidebar__list li {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.blog-sidebar__list li:last-child { border-bottom: none; }
.blog-sidebar__list a {
  display: block;
  padding: 10px 0;
  font-size: .85rem;
  color: #475569;
  line-height: 1.4;
  transition: color var(--transition);
}
.blog-sidebar__list a:hover,
.blog-sidebar__list a.is-active {
  color: #0099bb;
}
.blog-sidebar__list--compact a {
  padding: 8px 0;
  font-size: .82rem;
}

.blog-article-hero {
  padding: calc(var(--header-h) + 40px) 0 40px;
  background: #060d18;
  color: #e8edf5;
  position: relative;
  z-index: 1;
}
.blog-article-hero .breadcrumbs { color: rgba(232,237,245,.35); }
.blog-article-hero .breadcrumbs a { color: rgba(232,237,245,.55); }
.blog-article-hero .breadcrumbs a:hover { color: #00d4ff; }
.blog-article-hero__tag {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border-radius: 999px;
}
.blog-article-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: 16px;
}
.blog-article-hero__meta {
  display: flex;
  gap: 20px;
  font-size: .88rem;
  color: rgba(232, 237, 245, 0.5);
}

.blog-article__cover {
  margin: 0 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}
.blog-article__cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-article__content {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}
.blog-article__content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 28px 0 12px;
}
.blog-article__content p { margin-bottom: 16px; }
.blog-article__content ul {
  margin: 0 0 16px 20px;
  color: #475569;
}
.blog-article__content li { margin-bottom: 8px; }
.blog-article__content blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid #00d4ff;
  background: rgba(0, 212, 255, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
  color: #0f172a;
}
.blog-article__cta {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius);
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
}
.blog-article__cta h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.blog-article__cta p {
  font-size: .9rem;
  color: #64748b;
  margin-bottom: 16px;
}

.legal-page__inner {
  max-width: 760px;
}
.legal-page__content a {
  color: #0891b2;
  font-weight: 500;
}
.legal-page__content a:hover {
  text-decoration: underline;
}
.legal-page__content strong {
  color: #0f172a;
}

/* ── Reviews page ── */
.reviews-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.reviews-stats__item {
  padding: 16px 24px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: var(--radius);
  min-width: 140px;
}
.reviews-stats__item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.2;
}
.reviews-stats__item span {
  font-size: .85rem;
  color: rgba(232, 237, 245, 0.65);
}
.reviews-year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.reviews-year-nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: border-color var(--transition), color var(--transition);
}
.reviews-year-nav__link:hover {
  border-color: #00d4ff;
  color: #0891b2;
}
.reviews-year {
  margin-bottom: 48px;
}
.reviews-year__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.reviews-year__title span {
  font-size: .9rem;
  font-weight: 500;
  color: #64748b;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-page-card {
  position: relative;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}
.review-page-card__stars {
  color: #fbbf24;
  font-size: .95rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-page-card__text {
  font-size: .95rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 16px;
  flex: 1;
}
.review-page-card__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-page-card__footer strong {
  font-weight: 700;
  color: #0f172a;
}
.review-page-card__footer span,
.review-page-card__footer time {
  font-size: .82rem;
  color: #64748b;
}
.review-page-card__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  color: #0891b2;
  max-width: 42%;
  text-align: right;
  line-height: 1.3;
}
.reviews-page__cta {
  margin-top: 16px;
  padding: 40px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
}
.reviews-page__cta h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.reviews-page__cta p {
  color: #64748b;
  margin-bottom: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Prices page ── */
.prices-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.prices-stats__item {
  padding: 16px 24px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: var(--radius);
  min-width: 130px;
}
.prices-stats__item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.2;
}
.prices-stats__item span {
  font-size: .85rem;
  color: rgba(232, 237, 245, 0.65);
}
.prices-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.prices-nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: border-color var(--transition), color var(--transition);
}
.prices-nav__link:hover {
  border-color: #00d4ff;
  color: #0891b2;
}
.prices-main .price-block:first-child {
  margin-top: 0;
}

/* ── Portfolio page ── */
.portfolio-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.portfolio-stats__item {
  padding: 16px 24px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: var(--radius);
  min-width: 130px;
}
.portfolio-stats__item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.2;
}
.portfolio-stats__item span {
  font-size: .85rem;
  color: rgba(232, 237, 245, 0.65);
}
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.portfolio-filter__btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.portfolio-filter__btn:hover,
.portfolio-filter__btn.is-active {
  border-color: #00d4ff;
  color: #0891b2;
  background: rgba(0, 212, 255, 0.06);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.portfolio-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: opacity var(--transition), transform var(--transition);
}
.portfolio-card.is-hidden {
  display: none;
}
.portfolio-card__img {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.portfolio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portfolio-card__img:hover img {
  transform: scale(1.05);
}
.portfolio-card__body {
  padding: 18px 20px 22px;
}
.portfolio-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  color: #0891b2;
  margin-bottom: 10px;
}
.portfolio-card__body h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}
.portfolio-card__meta {
  font-size: .82rem;
  color: #64748b;
  margin-bottom: 10px;
}
.portfolio-card__desc {
  font-size: .88rem;
  line-height: 1.55;
  color: #475569;
}
.portfolio-page__cta {
  margin-top: 48px;
  padding: 40px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
}
.portfolio-page__cta h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.portfolio-page__cta p {
  color: #64748b;
  margin-bottom: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  padding: calc(var(--header-h) + 48px) 0 48px;
  position: relative;
  z-index: 1;
}
.page-hero__inner { max-width: 720px; }
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--accent); }

.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  margin-bottom: 8px;
  border-radius: var(--radius);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: var(--text-muted);
  font-size: .9rem;
  position: relative;
  z-index: 1;
}
.notice-banner svg { flex-shrink: 0; color: var(--yellow); margin-top: 2px; }
.notice-banner strong { color: var(--text); }

.btn--yellow {
  background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 100%);
  color: #1a1a1a;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 4px 14px var(--yellow-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn--yellow:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}
.btn--sm { padding: 10px 20px; font-size: .85rem; }

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head--row .section-head { margin-bottom: 0; }

.section-label--dark { color: var(--accent-dark); }
.text-dark { color: #0f172a !important; }
.text-muted-dark { color: #64748b !important; }
.link-accent { color: var(--accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}
.svc-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.svc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 16px;
}
.svc-card__list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.svc-card__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: .9rem;
  color: #475569;
}
.svc-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

.work-types { padding-top: 48px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.work-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.work-card--featured {
  border: 2px solid rgba(34, 197, 94, 0.35);
}
.work-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.work-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card__body {
  padding: 16px 18px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.work-card .btn--yellow {
  margin: 0 18px 18px;
  align-self: flex-start;
}
.svc-card__body h3 a {
  color: #0f172a;
  transition: color var(--transition);
}
.svc-card__body h3 a:hover { color: var(--accent-dark); }
.svc-card__img { display: block; }
.work-card__body h3 {
  font-size: .92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  flex: 1;
}
.work-card__price {
  font-size: .88rem;
  font-weight: 600;
  color: #334155;
  font-family: var(--mono);
}
.work-card__price--free { color: #16a34a; }
.work-card__check {
  color: #22c55e;
  margin-right: 4px;
}

.price-list { padding-top: 24px; }
.price-block {
  margin-bottom: 48px;
}
.price-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.price-table-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.price-table th,
.price-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table th {
  background: rgba(0, 212, 255, 0.06);
  font-weight: 600;
  color: var(--text-muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.price-table td:first-child { color: var(--text); }
.price-table__val {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--yellow);
  white-space: nowrap;
  text-align: right;
}
.price-table__val--free { color: #22c55e; }
.price-disclaimer {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.price-disclaimer p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 20px;
}
.price-disclaimer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav a[aria-current="page"] { color: var(--accent); }

.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}
.nav-dropdown__trigger::after {
  content: '';
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 3px;
  transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown__trigger::after,
.nav-dropdown.is-open .nav-dropdown__trigger::after {
  transform: rotate(180deg);
}
.nav-dropdown__trigger:hover,
.nav-dropdown--active .nav-dropdown__trigger,
.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown.is-open .nav-dropdown__trigger { color: var(--accent); }
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 560px;
  padding-top: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
.nav-dropdown__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(12, 24, 41, 0.98);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}
.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: normal;
  line-height: 1.35;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown__link--all {
  grid-column: 1 / -1;
  font-weight: 700;
  color: var(--text);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  margin-bottom: 2px;
}
.nav-dropdown__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
  transition: background var(--transition), transform var(--transition);
}
.nav-dropdown__icon svg {
  width: 18px;
  height: 18px;
}
.nav-dropdown__link:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
}
.nav-dropdown__link:hover .nav-dropdown__icon {
  background: rgba(0, 212, 255, 0.18);
  transform: scale(1.05);
}
.nav-dropdown__link--all:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.3);
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-menu__nav .mobile-menu__label {
  display: block;
  margin: 16px 0 8px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
}

/* Мобильное меню всегда тёмное — не наследовать цвет от page-light */
body.page-light .mobile-menu__nav a {
  color: var(--text);
}
body.page-light .mobile-menu__nav a:hover {
  color: var(--accent);
}
body.page-light .mobile-menu__nav .mobile-menu__label {
  color: var(--text-dim);
}

.svc-detail-hero {
  padding: calc(var(--header-h) + 40px) 0 56px;
  position: relative;
  z-index: 1;
}
.svc-detail-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.svc-detail-hero__content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.svc-detail-hero__content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.65;
}
.svc-detail-hero__price {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yellow) !important;
  margin: 20px 0 !important;
}
.svc-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.svc-detail-hero__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.svc-detail-hero__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.svc-detail-body { padding-top: 0; }
.svc-detail-body__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.svc-detail-includes h2,
.svc-detail-prices h2,
.svc-related h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.svc-detail-includes__list {
  list-style: none;
}
.svc-detail-includes__list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .95rem;
}
.svc-detail-includes__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}
.svc-detail-note {
  margin-top: 16px;
  font-size: .85rem;
  color: var(--text-dim);
}
.svc-related h2 { margin-bottom: 24px; }
.svc-seo {
  padding-top: 0;
  border-top: 1px solid var(--border);
}
.svc-seo__inner {
  max-width: 820px;
}
.svc-seo__inner h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--text);
  line-height: 1.35;
}
.svc-seo__inner h2:first-child {
  margin-top: 0;
}
.svc-seo__inner h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 22px 0 10px;
  color: var(--text);
  line-height: 1.4;
}
.svc-seo__inner p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.svc-seo__inner a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.svc-seo__inner a:hover {
  color: var(--yellow);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.related-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}
.related-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}
.related-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.related-card span {
  display: block;
  padding: 12px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.svc-card__link {
  display: contents;
}
.work-card__link {
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-card__link h3 { transition: color var(--transition); }
.work-card:has(.work-card__link:hover) h3 { color: var(--accent-dark); }

/* ── Contacts page ── */
.contacts-hero {
  padding: calc(var(--header-h) + 48px) 0 56px;
  position: relative;
  z-index: 1;
}
.contacts-hero__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.contacts-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}
.contacts-hero__accent { color: var(--accent); }
.contacts-hero__text > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 520px;
}
.contacts-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.contacts-hero__badges span {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-muted);
}
.contacts-hero__badges strong {
  color: var(--accent);
  font-family: var(--mono);
  margin-right: 4px;
}
.contacts-hero__note {
  margin-top: 10px !important;
  font-size: .78rem !important;
  color: var(--text-dim) !important;
}
.contacts-hero__phone-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.1) 0%, var(--bg-card) 55%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.contacts-hero__phone-label {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.contacts-hero__phone {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  transition: color var(--transition);
}
.contacts-hero__phone:hover { color: var(--accent); }
.contacts-hero__messengers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contacts-messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.contacts-messenger:hover {
  transform: translateY(-1px);
  border-color: var(--border-light);
}
.contacts-messenger--wa:hover { background: rgba(37, 211, 102, 0.12); border-color: rgba(37, 211, 102, 0.35); color: #25d366; }
.contacts-messenger--viber:hover { background: rgba(115, 96, 242, 0.12); border-color: rgba(115, 96, 242, 0.35); color: #7360f2; }
.contacts-messenger--mail:hover { background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.3); color: var(--accent); }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}
.contacts-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.contact-card--area { grid-column: span 2; }
.contact-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.contact-card p a { color: var(--text); }
.contact-card p a:hover { color: var(--accent); }
.contact-card__link {
  display: inline-block;
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
}
.contact-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: .78rem;
  font-weight: 600;
  color: #22c55e;
}
.contact-card__tag--live .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.contacts-form {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.contacts-form h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.contacts-form__lead {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.contacts-form label {
  display: block;
  margin-bottom: 16px;
}
.contacts-form label span {
  display: block;
  margin-bottom: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.contacts-form input,
.contacts-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: rgba(6, 13, 24, 0.6);
  color: var(--text);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contacts-form textarea { resize: vertical; min-height: 100px; }
.contacts-form input:focus,
.contacts-form textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}

.contacts-map-section { padding-top: 0; }
.contacts-map-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  min-height: 420px;
}
.contacts-map-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contacts-map-info h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 8px 0 12px;
}
.contacts-map-info p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.contacts-map-address {
  font-style: normal;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 212, 255, 0.06);
  border-left: 3px solid var(--accent);
}
.contacts-map {
  min-height: 420px;
  background: #0a1525;
}
.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.contacts-faq { padding-top: 48px; }
.contacts-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contacts-faq h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 8px;
}
.contacts-faq__items .accordion__item {
  margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .home-services__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__item--wide { grid-column: span 2; }
  .price-panel.is-active { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .calc__grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps::before { display: none; }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__features { grid-template-columns: repeat(2, 1fr); }
  .blog-card { flex: 0 0 calc(50% - 10px); }
  .svc-cards { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-detail-hero__grid { grid-template-columns: 1fr; }
  .svc-detail-body__grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-hero__grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-form { position: static; }
  .contacts-map-wrap { grid-template-columns: 1fr; }
  .contacts-faq__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav, .header__phone, .header__cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .trust__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--wide { grid-column: span 1; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--tall,
  .gallery__item--wide { grid-row: span 1; grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .home-services__grid { grid-template-columns: repeat(2, 1fr); }
  .home-services__item { padding: 10px 12px; font-size: .82rem; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__col--services .footer__links { grid-template-columns: 1fr; }
  .footer__features { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .blog-slider__viewport { margin: 0 40px; }
  .blog-card { flex: 0 0 100%; }
  .blog-slider__btn { width: 36px; height: 36px; top: 32%; }
  .work-grid { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .price-table th, .price-table td { padding: 12px 14px; font-size: .85rem; }
  .related-grid { grid-template-columns: 1fr; }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    padding-top: 0;
    display: none;
  }
  .nav-dropdown__inner {
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .nav-dropdown__link {
    padding: 8px 0;
  }
  .nav-dropdown__icon {
    display: none;
  }
  .nav-dropdown.is-open .nav-dropdown__menu {
    display: block;
  }
  .contacts-info { grid-template-columns: 1fr; }
  .contact-card--area { grid-column: span 1; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-list-card { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

/* ── 404 page ── */
.page-404 main {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}
.error-page {
  width: 100%;
  padding: calc(var(--header-h) + 48px) 0 80px;
}
.error-404 {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.error-404__scene {
  position: relative;
  margin-bottom: 40px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-404__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 560px;
  margin: auto;
  opacity: .55;
}
.error-404__wire {
  fill: none;
  stroke: rgba(0, 212, 255, 0.35);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 6;
  animation: errorWireFlow 2.4s linear infinite;
}
.error-404__wire--branch { animation-delay: .6s; }
.error-404__node {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent-glow));
  animation: errorNodePulse 2s ease-in-out infinite;
}
.error-404__node--broken {
  fill: var(--yellow);
  animation: errorNodeBroken 1.2s ease-in-out infinite;
}
.error-404__code {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3vw, 20px);
}
.error-404__digit {
  font-family: var(--mono);
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.25);
  animation: errorDigitFlicker 4s ease-in-out infinite;
}
.error-404__digit:last-child { animation-delay: .15s; }
.error-404__bolt {
  position: relative;
  width: clamp(52px, 14vw, 72px);
  height: clamp(78px, 20vw, 108px);
  color: var(--accent);
  filter: drop-shadow(0 0 20px var(--accent-glow));
  animation: errorBoltFloat 3s ease-in-out infinite;
}
.error-404__bolt svg {
  width: 100%;
  height: 100%;
}
.error-404__bolt-shape { opacity: 1; }
.error-404__bolt-glow {
  opacity: .45;
  transform-origin: center;
  animation: errorBoltPulse 1.5s ease-in-out infinite;
}
.error-404__spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent-glow);
  opacity: 0;
}
.error-404__spark--1 { top: 10%; left: -20%; animation: errorSpark 2.2s ease-out infinite; }
.error-404__spark--2 { top: 55%; right: -25%; animation: errorSpark 2.2s ease-out .7s infinite; }
.error-404__spark--3 { bottom: 5%; left: 20%; animation: errorSpark 2.2s ease-out 1.4s infinite; }
.error-404__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--yellow);
}
.error-404__content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}
.error-404__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 32px;
}
.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.error-404__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.error-404__nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.error-404__nav a:hover { color: var(--accent); }

@keyframes errorWireFlow {
  to { stroke-dashoffset: -28; }
}
@keyframes errorNodePulse {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}
@keyframes errorNodeBroken {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}
@keyframes errorDigitFlicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: .35; }
  94% { opacity: 1; }
  96% { opacity: .5; }
  97% { opacity: 1; }
}
@keyframes errorBoltFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes errorBoltPulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: .8; transform: scale(1.08); }
}
@keyframes errorSpark {
  0% { opacity: 0; transform: scale(.2); }
  15% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(.4); }
}

@media (max-width: 768px) {
  .error-404__actions { flex-direction: column; align-items: stretch; }
  .error-404__actions .btn { width: 100%; }
}

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