:root {
  --midnight: #0a1931;
  --ink: #07101f;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: #c9d6eb;
  --soft: #f8fafc;
  --blue: #0052ff;
  --blue-2: #4d96ff;
  --cyan: #43f4ff;
  --green: #69f0ae;
  --rose: #ff4fd8;
  --warning: #ffd166;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(10, 25, 49, 0.97), rgba(5, 10, 20, 0.98)),
    #07101f;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 28px));
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.66);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(77, 150, 255, 0.54);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 24px);
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  transition: color 180ms ease;
}

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

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(77, 150, 255, 0.42);
  border-radius: 8px;
  background: rgba(0, 82, 255, 0.14);
  box-shadow: inset 0 0 18px rgba(77, 150, 255, 0.12);
  font-weight: 700;
  white-space: nowrap;
}

.section-band {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 42px;
  padding-top: 120px;
  padding-bottom: 70px;
}

.hero-photo {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 16, 31, 0.92) 0%, rgba(7, 16, 31, 0.78) 43%, rgba(7, 16, 31, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 16, 31, 0.08), rgba(7, 16, 31, 0.82)),
    url("./assets/smartcom-hero-residence.webp") center / cover no-repeat;
  opacity: 1;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 42%, rgba(77, 150, 255, 0.24), transparent 32%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(38px, 4.65vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.08;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  border-color: rgba(77, 150, 255, 0.78);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 34px rgba(0, 82, 255, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.pulse {
  animation: pulse 2.7s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(0, 82, 255, 0.36);
  }
  50% {
    box-shadow: 0 0 54px rgba(67, 244, 255, 0.42);
  }
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.signal-strip span,
.filters button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 11px 14px;
}

.signal-strip strong {
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: clamp(640px, 72vw, 920px);
}

.product-showcase {
  position: relative;
  width: 100%;
}

.showcase-stage {
  position: relative;
  min-height: clamp(720px, 85vw, 1040px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 16, 31, 0.08), rgba(7, 16, 31, 0.62)),
    radial-gradient(circle at 50% 38%, rgba(67, 244, 255, 0.08), transparent 30%);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.showcase-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(77, 150, 255, 0.18), transparent 38%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 25%, transparent 75%, rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.showcase-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.18;
  pointer-events: none;
}

.device-figure {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100%, 420px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.48));
}

.device-image {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-guide {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(67, 244, 255, 0.26);
  border-radius: 999px;
  background: rgba(7, 16, 31, 0.66);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.showcase-guide::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(67, 244, 255, 0.8);
}

.connector-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connector-path {
  fill: none;
  stroke: rgba(67, 244, 255, 0.92);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(67, 244, 255, 0.3));
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-showcase[data-open="true"] .connector-path {
  opacity: 1;
}

.hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  opacity: 0.52;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.product-showcase[data-open="true"] .hotspot {
  opacity: 1;
}

.hotspot::before,
.hotspot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hotspot::before {
  inset: 14px;
  background: rgba(67, 174, 255, 0.95);
  box-shadow:
    0 0 0 6px rgba(67, 244, 255, 0.08),
    0 0 20px rgba(67, 244, 255, 0.38);
}

.hotspot::after {
  inset: 6px;
  border: 1px solid rgba(67, 244, 255, 0.46);
  animation: hotspotPulse 3.8s ease-in-out infinite;
}

.hotspot-core {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}

.hotspot-tooltip {
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translate(-50%, -100%) translateY(10px);
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 16, 31, 0.76);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

.hotspot:hover,
.hotspot:focus-visible {
  transform: translate(-50%, -50%) scale(1.12);
  outline: none;
  filter: drop-shadow(0 0 14px rgba(67, 244, 255, 0.35));
}

.hotspot:hover .hotspot-tooltip,
.hotspot:focus-visible .hotspot-tooltip,
.hotspot.is-active .hotspot-tooltip {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(0);
}

.hotspot.is-dimmed {
  opacity: 0.42;
}

.feature-card {
  position: absolute;
  z-index: 6;
  width: min(100%, 300px);
  padding: 20px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(7, 16, 31, 0.74);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.98);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.product-showcase[data-open="true"] .feature-card {
  opacity: 1;
  pointer-events: auto;
}

.feature-card.is-popping {
  animation: popupPop 360ms ease;
}

.feature-card[data-side="left"] {
  transform-origin: right center;
}

.feature-card[data-side="right"] {
  transform-origin: left center;
}

.feature-card[data-side="top"] {
  transform-origin: center bottom;
}

.feature-card[data-side="bottom"] {
  transform-origin: center top;
}

.feature-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.feature-number {
  color: var(--cyan);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 900;
  line-height: 1;
}

.feature-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-title {
  margin: 14px 0 10px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
}

.feature-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.mobile-hint {
  display: none;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@keyframes hotspotPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.95;
  }
}

@keyframes popupPop {
  0% {
    transform: translate3d(0, 16px, 0) scale(0.97);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.eco-stage,
.service,
.barrier-layout,
.b2b-grid,
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.building-map,
.eco-panel,
.photo-card,
.camera-grid,
.surveillance-showcase,
.barrier-scene,
.cards article,
.b2b-grid article,
.lead-form,
.object-grid article,
.tariff-grid article,
.news-slider .swiper-slide,
details,
.dark-map {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
}

.building-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 16, 31, 0.06), rgba(7, 16, 31, 0.72)),
    rgba(255, 255, 255, 0.05);
}

.building-map > img,
.photo-card > img,
.surveillance-showcase > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.building-map > img {
  opacity: 0.84;
  filter: saturate(1.05) contrast(1.04);
}

.building-map::after,
.photo-card::after,
.surveillance-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 31, 0.08), rgba(7, 16, 31, 0.68)),
    radial-gradient(circle at 70% 22%, rgba(67, 244, 255, 0.18), transparent 38%);
  pointer-events: none;
}

.tower {
  position: absolute;
  display: none;
  width: 140px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 28px),
    linear-gradient(145deg, rgba(77, 150, 255, 0.32), rgba(255, 255, 255, 0.05));
  box-shadow: 0 0 60px rgba(77, 150, 255, 0.14);
  transform: skewY(-8deg);
}

.tower-a {
  top: 84px;
  left: 18%;
}

.tower-b {
  right: 18%;
  bottom: 108px;
  height: 220px;
}

.road {
  position: absolute;
  right: -20%;
  bottom: 50px;
  width: 130%;
  height: 82px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(67, 244, 255, 0.22), rgba(255, 255, 255, 0.02));
  transform: rotate(-12deg);
}

.zone {
  position: absolute;
  z-index: 2;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(77, 150, 255, 0.42);
  border-radius: 50%;
  background: rgba(7, 16, 31, 0.48);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 0 0 10px rgba(0, 82, 255, 0.04);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.zone:hover,
.zone.active {
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(67, 244, 255, 0.38), 0 0 0 15px rgba(67, 244, 255, 0.07);
  transform: scale(1.04);
}

.zone-gate {
  left: 10%;
  bottom: 46px;
}

.zone-cctv {
  right: 16%;
  top: 80px;
}

.zone-door {
  left: 45%;
  bottom: 178px;
}

.zone span {
  font-weight: 900;
}

.eco-panel {
  padding: 32px;
}

.panel-kicker {
  color: var(--green);
  font-weight: 800;
}

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

.metric {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.metric strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
}

.metric span {
  color: var(--muted);
}

.photo-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.photo-card.tall {
}

.media-overlay {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.58);
  padding: 18px;
  backdrop-filter: blur(18px);
}

.media-overlay span,
.cards span,
.b2b-grid span,
.object-grid span,
.tariff-grid p,
.contact-copy p,
details p,
.eco-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.media-overlay b {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.service-copy {
  align-self: center;
}

.feature-list,
.cards,
.b2b-grid,
.object-grid,
.tariff-grid {
  display: grid;
  gap: 14px;
}

.feature-list article {
  display: grid;
  gap: 5px;
  border-left: 2px solid rgba(67, 244, 255, 0.6);
  padding: 6px 0 6px 18px;
}

.feature-list span {
  color: var(--muted);
}

.surveillance-showcase {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.camera-tags {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.camera-tags span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.58);
  padding: 12px 16px;
  backdrop-filter: blur(16px);
  font-weight: 900;
}

.barrier-scene {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.plate {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.66);
  color: var(--text);
  padding: 12px 22px;
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.scan-line {
  position: absolute;
  z-index: 2;
  inset: 12% 16%;
  border: 1px solid rgba(67, 244, 255, 0.3);
  border-radius: 8px;
  box-shadow: inset 0 0 30px rgba(67, 244, 255, 0.2);
}

.cards article,
.b2b-grid article,
.lead-form,
.object-grid article,
.tariff-grid article,
.news-slider .swiper-slide,
details {
  padding: 24px;
}

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

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 14px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filters button {
  color: var(--text);
  cursor: pointer;
}

.filters button.active {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(67, 244, 255, 0.2);
}

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

.object-grid article {
  min-height: 170px;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.object-grid article:hover {
  border-color: rgba(67, 244, 255, 0.64);
  transform: translateY(-4px);
}

.object-grid article.hidden {
  display: none;
}

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

.tariff-grid article {
  min-height: 260px;
}

.tariff-grid strong {
  display: block;
  margin: 18px 0;
  font-size: clamp(28px, 3vw, 42px);
}

.popular {
  border-color: rgba(67, 244, 255, 0.72) !important;
  box-shadow: 0 0 54px rgba(67, 244, 255, 0.22), 0 28px 100px rgba(0, 0, 0, 0.24) !important;
}

.news-slider {
  overflow: visible;
}

.news-slider .swiper-slide {
  min-height: 220px;
}

.news-slider span,
.tariff-grid span {
  color: var(--cyan);
  font-weight: 900;
}

.news-slider b,
.object-grid b,
.cards b,
.b2b-grid b {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

details {
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.contacts {
  align-items: center;
}

.dark-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(67, 244, 255, 0.17), transparent 34%),
    radial-gradient(circle at 76% 18%, rgba(77, 150, 255, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.06);
}

.city-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-bg {
  fill: rgba(7, 16, 31, 0.34);
}

.map-grid path {
  stroke: rgba(255, 255, 255, 0.045);
  stroke-width: 1;
}

.map-districts path {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.map-roads .road {
  fill: none;
  stroke: url("#map-road");
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.map-roads .major {
  stroke: rgba(248, 250, 252, 0.46);
  stroke-width: 8;
  filter: url("#map-glow");
}

.map-roads .thin {
  stroke: rgba(77, 150, 255, 0.18);
  stroke-width: 3;
}

.map-river path {
  fill: none;
  stroke: rgba(67, 244, 255, 0.28);
  stroke-linecap: round;
  stroke-width: 14;
  filter: url("#map-glow");
}

.coverage circle {
  fill: none;
  stroke: rgba(67, 244, 255, 0.18);
  stroke-width: 1.5;
  stroke-dasharray: 6 10;
  transform-origin: 382px 232px;
  animation: mapOrbit 18s linear infinite;
}

.coverage circle:first-child {
  fill: url("#map-pulse");
  stroke: rgba(67, 244, 255, 0.12);
  animation-duration: 26s;
}

.map-points circle {
  fill: var(--cyan);
  filter: url("#map-glow");
  opacity: 0.82;
}

.smartcom-marker {
  filter: url("#map-glow");
}

.pulse-ring {
  fill: url("#map-pulse");
  opacity: 0.8;
  animation: mapPulse 2.8s ease-in-out infinite;
}

.marker-pin {
  fill: rgba(0, 82, 255, 0.78);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
  transform: translateY(-4px);
}

.marker-ring {
  fill: rgba(7, 16, 31, 0.78);
  stroke: var(--cyan);
  stroke-width: 5;
}

.marker-core {
  fill: #ffffff;
}

.map-labels text {
  fill: rgba(248, 250, 252, 0.68);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.map-labels text:nth-child(3) {
  fill: var(--text);
  font-size: 16px;
  font-weight: 900;
}

.map-labels text:nth-child(4) {
  fill: var(--cyan);
  font-size: 12px;
}

.map-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  border: 1px solid rgba(67, 244, 255, 0.42);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.68);
  padding: 14px 18px;
  box-shadow: 0 0 34px rgba(67, 244, 255, 0.28);
  backdrop-filter: blur(16px);
}

.map-card span,
.map-card strong {
  display: block;
  font-weight: 900;
}

.map-card span {
  color: var(--cyan);
  font-size: 12px;
}

.map-card strong {
  margin-top: 4px;
}

@keyframes mapPulse {
  0%,
  100% {
    transform: scale(0.78);
    opacity: 0.48;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.84;
  }
}

@keyframes mapOrbit {
  to {
    transform: rotate(360deg);
  }
}

.footer {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.quick-widget {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, 48px);
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.58);
  padding: 8px;
  backdrop-filter: blur(18px);
}

.quick-widget a {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 82, 255, 0.24);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

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

  .hero,
  .eco-stage,
  .service,
  .barrier-layout,
  .contacts {
    grid-template-columns: 1fr;
  }

  .metrics,
  .object-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tariff-grid,
  .b2b-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }



  .device-figure {
    width: min(100%, 360px);
  }

  .showcase-guide {
    top: 18px;
    right: 18px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }

  .feature-card {
    width: min(100%, 280px);
  }

  .mobile-hint {
    display: block;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span {
    display: none;
  }

  .nav-cta {
    padding: 0 12px;
    font-size: 13px;
  }

  .section-band {
    width: min(100% - 22px, 1180px);
    padding: 76px 0;
  }

  .hero {
    padding-top: 106px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-visual {
    min-height: auto;
  }



  .device-figure {
    width: min(100%, 300px);
  }

  .showcase-guide {
    top: 14px;
    right: 14px;
    min-height: 34px;
    padding: 0 11px;
    font-size: 13px;
  }

  .hotspot {
    width: 40px;
    height: 40px;
  }

  .feature-card {
    width: min(100%, calc(100vw - 44px));
    max-width: 280px;
    padding: 16px 16px 14px;
  }

  .feature-number {
    font-size: 28px;
  }
.zone-door {
  left: 16%;
  bottom: 198px;
}
  .feature-title {
    font-size: 19px;
  }

  .metrics,
  .object-grid {
    grid-template-columns: 1fr;
  }

  .building-map,
  .photo-card,
  .surveillance-showcase,
  .barrier-scene {
    min-height: 390px;
  }

  .zone {
    width: 96px;
    height: 96px;
    font-size: 13px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

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

  .hotspot::after,
  .feature-card.is-popping {
    animation: none !important;
  }
}
