/*
Theme Name: UA ProTech Theme
Theme URI: https://uaprotech.com
Author: Codex
Description: Custom one-page marketing theme for UA ProTech.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: uaprotech-theme
*/

:root {
  --ua-bg: #f4f7fb;
  --ua-panel: #ffffff;
  --ua-panel-soft: #edf3f9;
  --ua-text: #122033;
  --ua-muted: #5e6f82;
  --ua-line: rgba(18, 32, 51, 0.12);
  --ua-blue: #2d7fd3;
  --ua-blue-deep: #184f87;
  --ua-orange: #de8a39;
  --ua-orange-soft: #f2b06d;
  --ua-white: #ffffff;
  --ua-max: 1180px;
  --ua-radius: 24px;
  --ua-shadow: 0 26px 70px rgba(18, 46, 78, 0.12);
  --ua-brand-cycle: 3.8s;
}

html[data-theme="dark"] {
  --ua-bg: #08111f;
  --ua-panel: #0e1b2f;
  --ua-panel-soft: #13233a;
  --ua-text: #f3f7fb;
  --ua-muted: #a9bbcf;
  --ua-line: rgba(255, 255, 255, 0.1);
  --ua-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ua-text);
  background:
    radial-gradient(circle at top left, rgba(222, 138, 57, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(45, 127, 211, 0.14), transparent 30%),
    linear-gradient(180deg, #f9fbfe 0%, #f2f6fb 42%, #edf2f8 100%);
  background-attachment: fixed;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(222, 138, 57, 0.25), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 127, 211, 0.25), transparent 35%),
    linear-gradient(180deg, #07101c 0%, #091427 38%, #0d1830 100%);
}

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

img {
  max-width: 100%;
  height: auto;
}

.ua-shell {
  overflow: clip;
  position: relative;
  isolation: isolate;
}

.ua-shell::before,
.ua-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.55;
}

.ua-shell::before {
  width: 300px;
  height: 300px;
  top: 8%;
  right: -80px;
  background: radial-gradient(circle, rgba(45, 127, 211, 0.3) 0%, transparent 70%);
  animation: uaFloat 16s ease-in-out infinite;
}

.ua-shell::after {
  width: 260px;
  height: 260px;
  bottom: 10%;
  left: -60px;
  background: radial-gradient(circle, rgba(222, 138, 57, 0.22) 0%, transparent 70%);
  animation: uaFloat 20s ease-in-out infinite reverse;
}

.ua-container {
  width: min(calc(100% - 32px), var(--ua-max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ua-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(248, 251, 255, 0.82);
  border-bottom: 1px solid var(--ua-line);
  box-shadow: 0 10px 30px rgba(18, 46, 78, 0.08);
}

.ua-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.ua-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ua-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
}

.ua-brand__lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.ua-brand__name {
  font-weight: 700;
  font-size: clamp(1.02rem, 1.75vw, 1.48rem);
  line-height: 0.95;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #112033;
}

.ua-brand__rule {
  display: flex;
  align-items: center;
  width: min(250px, 42vw);
  height: 6px;
  background: rgba(18, 32, 51, 0.06);
  overflow: hidden;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(18, 32, 51, 0.07);
  position: relative;
}

.ua-brand__rule-start {
  width: 72px;
  height: 100%;
  background: linear-gradient(90deg, #f0e000, #ffe700);
  transform-origin: left;
  animation: uaBrandLoadStart var(--ua-brand-cycle) ease-in-out infinite;
}

.ua-brand__rule-end {
  flex: 1;
  height: 100%;
  background: linear-gradient(90deg, #09d4ff, #19c6ef);
  position: relative;
  animation: uaBrandLoadEnd var(--ua-brand-cycle) ease-in-out infinite;
}

.ua-brand__rule-end::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 10px, rgba(255, 255, 255, 0) 10px 20px);
  opacity: 0.18;
  animation: uaBrandScan calc(var(--ua-brand-cycle) * 0.9) linear infinite;
}

.ua-brand__rule::after {
  content: "";
  position: absolute;
  inset: -4px auto -4px -22%;
  width: 20%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  filter: blur(2px);
  animation: uaBrandSweep var(--ua-brand-cycle) ease-in-out infinite;
}

.ua-brand__tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #66778a;
}

.ua-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ua-nav a {
  font-size: 0.88rem;
  color: var(--ua-muted);
  position: relative;
  padding-bottom: 4px;
}

.ua-nav a:hover,
.ua-nav a:focus-visible {
  color: var(--ua-text);
}

.ua-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 32, 51, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ua-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 46, 78, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ua-theme-toggle:hover,
.ua-theme-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(45, 127, 211, 0.28);
  box-shadow: 0 16px 32px rgba(18, 46, 78, 0.12);
}

.ua-theme-toggle__track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(222, 138, 57, 0.25), rgba(45, 127, 211, 0.2));
  box-shadow: inset 0 0 0 1px rgba(18, 32, 51, 0.1);
}

.ua-theme-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(18, 46, 78, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.ua-theme-toggle__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-theme="dark"] .ua-theme-toggle__thumb {
  transform: translateX(18px);
}

.ua-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--ua-orange), var(--ua-blue));
  transition: transform 180ms ease;
}

.ua-nav a:hover::after,
.ua-nav a:focus-visible::after {
  transform: scaleX(1);
}

.ua-button,
button.ua-button,
input.ua-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ua-orange) 0%, var(--ua-blue) 100%);
  color: var(--ua-white);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(24, 79, 135, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ua-button--ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 32, 51, 0.14);
  color: var(--ua-text);
  box-shadow: none;
}

html[data-theme="dark"] .ua-header {
  background: rgba(8, 17, 31, 0.72);
  box-shadow: 0 10px 30px rgba(3, 8, 15, 0.22);
}

html[data-theme="dark"] .ua-brand__name {
  color: #e7edf5;
}

html[data-theme="dark"] .ua-brand__rule {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .ua-brand__tag {
  color: #a7b9cb;
}

html[data-theme="dark"] .ua-nav a:hover,
html[data-theme="dark"] .ua-nav a:focus-visible {
  color: var(--ua-white);
}

html[data-theme="dark"] .ua-theme-toggle {
  background: rgba(8, 17, 31, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .ua-theme-toggle__track {
  background: linear-gradient(135deg, rgba(222, 138, 57, 0.24), rgba(45, 127, 211, 0.24));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .ua-theme-toggle__thumb {
  background: #f3f7fb;
}

html[data-theme="dark"] .ua-button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ua-white);
}

.ua-button:hover,
.ua-button:focus-visible,
button.ua-button:hover,
button.ua-button:focus-visible,
input.ua-button:hover,
input.ua-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(24, 79, 135, 0.28);
}

.ua-hero {
  position: relative;
  padding: 78px 0 58px;
  z-index: 1;
}

.ua-hero::before {
  content: "";
  position: absolute;
  inset: 32px 0 auto;
  height: 700px;
  background:
    linear-gradient(120deg, rgba(249, 252, 255, 0.96), rgba(241, 246, 252, 0.82)),
    linear-gradient(135deg, rgba(255, 231, 0, 0.08), rgba(9, 212, 255, 0.1));
  border-bottom: 1px solid rgba(18, 32, 51, 0.08);
  z-index: -1;
  transform: scale(1.04);
  animation: uaHeroPan 24s ease-in-out infinite alternate;
}

html[data-theme="dark"] .ua-hero::before {
  background:
    linear-gradient(120deg, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0.68)),
    linear-gradient(135deg, rgba(255, 231, 0, 0.08), rgba(9, 212, 255, 0.1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ua-hero::after {
  content: "";
  position: absolute;
  inset: 80px auto auto 50%;
  width: min(52vw, 640px);
  height: 420px;
  transform: translateX(-10%);
  background:
    radial-gradient(circle at center, rgba(45, 127, 211, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(222, 138, 57, 0.12) 0%, transparent 45%);
  filter: blur(18px);
  z-index: -1;
  animation: uaPulse 9s ease-in-out infinite;
}

html[data-theme="dark"] .ua-hero::after {
  background:
    radial-gradient(circle at center, rgba(45, 127, 211, 0.24) 0%, transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(222, 138, 57, 0.16) 0%, transparent 45%);
}

.ua-hero > .ua-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 32, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 32, 51, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  opacity: 0.22;
  pointer-events: none;
}

html[data-theme="dark"] .ua-hero > .ua-container::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.ua-hero__grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 34px;
}

.ua-hero__content {
  width: min(760px, 100%);
  padding: 40px 0 56px;
  animation: uaRevealUp 700ms ease both;
}

.ua-hero__visual {
  display: flex;
  justify-content: flex-end;
  animation: uaRevealUp 900ms ease both, uaPanelFloat calc(var(--ua-brand-cycle) * 1.84) ease-in-out infinite 1.2s;
}

.ua-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.ua-hero__meta-item {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(18, 32, 51, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 246, 252, 0.98));
  box-shadow: 0 18px 44px rgba(18, 46, 78, 0.1);
}

html[data-theme="dark"] .ua-hero__meta-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(13, 24, 42, 0.9), rgba(8, 14, 24, 0.74));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.ua-hero__meta-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ua-hero__meta-item span {
  color: var(--ua-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.ua-hero-panel {
  width: min(480px, 100%);
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 246, 252, 0.96));
  border: 1px solid rgba(18, 32, 51, 0.1);
  box-shadow: 0 34px 90px rgba(18, 46, 78, 0.14);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  animation: uaPanelBreath calc(var(--ua-brand-cycle) * 1.58) ease-in-out infinite;
}

html[data-theme="dark"] .ua-hero-panel {
  background: linear-gradient(180deg, rgba(15, 29, 47, 0.95), rgba(8, 15, 26, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.ua-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(45, 127, 211, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 179, 71, 0.08), transparent 18%),
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(18, 32, 51, 0.03) 34px 35px);
  pointer-events: none;
}

html[data-theme="dark"] .ua-hero-panel::before {
  background:
    radial-gradient(circle at top right, rgba(45, 127, 211, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 179, 71, 0.08), transparent 18%),
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(255, 255, 255, 0.025) 34px 35px);
}

.ua-hero-panel::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -35%;
  width: 42%;
  transform: rotate(14deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: uaPanelSweep 5.6s ease-in-out infinite 0.8s;
  pointer-events: none;
}

html[data-theme="dark"] .ua-hero-panel::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.ua-hero-panel__top,
.ua-hero-panel__footer,
.ua-hero-panel__grid {
  position: relative;
  z-index: 1;
}

.ua-hero-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ua-panel-label,
.ua-node__eyebrow {
  margin: 0 0 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ua-orange-soft);
}

.ua-hero-panel__top h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.ua-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 159, 67, 0.12);
  border: 1px solid rgba(255, 159, 67, 0.3);
  color: #ffd3a5;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ua-panel-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #ffb347;
  box-shadow: 0 0 12px rgba(255, 179, 71, 0.9);
}

.ua-route-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.94), rgba(234, 241, 249, 0.88));
}

html[data-theme="dark"] .ua-route-strip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(9, 18, 30, 0.82), rgba(12, 25, 40, 0.68));
}

.ua-route-strip__tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd3a5;
}

.ua-route-strip__line {
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 179, 71, 0.95), rgba(255, 179, 71, 0.35) 38%, rgba(64, 167, 255, 0.78));
  box-shadow:
    inset 0 0 0 1px rgba(18, 32, 51, 0.08),
    0 0 16px rgba(64, 167, 255, 0.18);
  position: relative;
}

html[data-theme="dark"] .ua-route-strip__line {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 16px rgba(64, 167, 255, 0.18);
}

.ua-route-strip__line::after {
  content: "";
  position: absolute;
  inset: 1px 10% 1px auto;
  width: 28%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

html[data-theme="dark"] .ua-route-strip__line::after {
  background: rgba(255, 255, 255, 0.28);
}

.ua-route-strip__ports {
  display: inline-grid;
  grid-template-columns: repeat(4, 10px);
  gap: 6px;
}

.ua-route-strip__ports span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.95), rgba(112, 187, 255, 0.62));
  box-shadow: inset 0 0 0 1px rgba(18, 32, 51, 0.12);
}

html[data-theme="dark"] .ua-route-strip__ports span {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ua-hero-panel__grid {
  display: grid;
  gap: 14px;
  position: relative;
  padding-left: 26px;
}

.ua-hero-panel__grid::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 12px;
  width: 10px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 179, 71, 0.95), rgba(255, 179, 71, 0.35) 46%, rgba(64, 167, 255, 0.82));
  box-shadow:
    inset 0 0 0 1px rgba(18, 32, 51, 0.08),
    0 0 18px rgba(64, 167, 255, 0.12);
}

html[data-theme="dark"] .ua-hero-panel__grid::before {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(64, 167, 255, 0.12);
}

.ua-node {
  padding: 18px 18px 18px 24px;
  border-radius: 22px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(237, 243, 249, 0.92));
  position: relative;
  overflow: hidden;
  animation: uaNodePulse 4.8s ease-in-out infinite;
}

html[data-theme="dark"] .ua-node {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.ua-node::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ua-orange), transparent 55%, var(--ua-blue));
  opacity: 0.45;
}

.ua-node::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 28px;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 179, 71, 0.95), rgba(64, 167, 255, 0.75));
  box-shadow: 0 0 12px rgba(64, 167, 255, 0.24);
}

.ua-node strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ua-node small {
  display: block;
  color: var(--ua-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ua-node--camera {
  transform: translateX(0);
  animation-delay: 0s;
}

.ua-node--access {
  transform: translateX(26px);
  animation-delay: 0.9s;
}

.ua-node--network {
  transform: translateX(8px);
  animation-delay: 1.8s;
}

.ua-hero-panel__footer {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.ua-signal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 32, 51, 0.08);
}

html[data-theme="dark"] .ua-signal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ua-signal span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ua-orange), var(--ua-blue));
  box-shadow: 0 0 18px rgba(45, 127, 211, 0.5);
}

.ua-signal p {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  color: #637489;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-theme="dark"] .ua-signal p {
  color: #c2d2e3;
}

.ua-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 32, 51, 0.12);
  color: var(--ua-orange-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-theme="dark"] .ua-eyebrow {
  background: rgba(8, 17, 31, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ua-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.ua-hero p {
  max-width: 620px;
  margin: 0 0 28px;
  color: #4f6176;
  font-size: 1.1rem;
  line-height: 1.7;
}

html[data-theme="dark"] .ua-hero p {
  color: #d9e6f2;
}

.ua-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ua-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.ua-pill {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 245, 251, 0.96));
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: var(--ua-shadow);
}

html[data-theme="dark"] .ua-pill {
  background: linear-gradient(180deg, rgba(19, 35, 58, 0.96), rgba(8, 17, 31, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ua-pill strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ua-pill span {
  color: var(--ua-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ua-section {
  padding: 88px 0;
}

.ua-section__head {
  max-width: 760px;
  margin-bottom: 36px;
  position: relative;
}

.ua-section__head h2 {
  margin: 12px 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.ua-section__head p {
  margin: 0;
  color: var(--ua-muted);
  line-height: 1.75;
}

.ua-section__head::after {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--ua-orange), rgba(45, 127, 211, 0.18), transparent);
}

.ua-about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
}

.ua-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 246, 252, 0.98));
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: var(--ua-radius);
  padding: 30px;
  box-shadow: var(--ua-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

html[data-theme="dark"] .ua-card {
  background: linear-gradient(180deg, rgba(17, 30, 49, 0.96), rgba(10, 18, 31, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ua-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 38%, transparent 60%, rgba(45, 127, 211, 0.06));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

html[data-theme="dark"] .ua-card::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 38%, transparent 60%, rgba(45, 127, 211, 0.08));
}

.ua-card:hover,
.ua-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(18, 32, 51, 0.14);
  box-shadow: 0 30px 80px rgba(18, 46, 78, 0.14);
}

html[data-theme="dark"] .ua-card:hover,
html[data-theme="dark"] .ua-card:focus-within {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
}

.ua-card:hover::before,
.ua-card:focus-within::before {
  opacity: 1;
}

.ua-card--feature {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 250, 0.98));
}

html[data-theme="dark"] .ua-card--feature {
  background: linear-gradient(180deg, rgba(18, 32, 53, 0.98), rgba(11, 18, 31, 0.95));
}

.ua-card--quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ua-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ua-card p,
.ua-card li {
  color: var(--ua-muted);
  line-height: 1.75;
}

.ua-card ul {
  margin: 0;
  padding-left: 20px;
}

.ua-quote {
  margin: 0 0 22px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #1a2a3f;
  letter-spacing: -0.01em;
}

html[data-theme="dark"] .ua-quote {
  color: #e8f1fb;
}

.ua-checks {
  list-style: none;
  padding: 0;
}

.ua-checks li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.ua-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ua-orange), var(--ua-blue));
  box-shadow: 0 0 16px rgba(45, 127, 211, 0.45);
}

.ua-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.ua-kpi {
  padding: 22px;
  border-radius: 20px;
  background: rgba(45, 127, 211, 0.05);
  border: 1px solid rgba(18, 32, 51, 0.08);
}

html[data-theme="dark"] .ua-kpi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ua-kpi strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ua-text);
}

html[data-theme="dark"] .ua-kpi strong {
  color: var(--ua-white);
}

.ua-kpi span {
  display: block;
  margin-top: 8px;
  color: var(--ua-muted);
}

.ua-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ua-service {
  position: relative;
  min-height: 260px;
  padding-top: 72px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.3), rgba(20, 34, 54, 0.76)),
    linear-gradient(140deg, rgba(222, 138, 57, 0.14), rgba(45, 127, 211, 0.12)),
    var(--ua-service-image, linear-gradient(180deg, rgba(17, 30, 49, 0.96), rgba(10, 18, 31, 0.92))) center/cover;
  background-blend-mode: normal, screen, normal;
}

.ua-service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 52%);
  pointer-events: none;
}

.ua-service--cctv {
  --ua-service-image: url("assets/services/cctv-ai-camera.svg");
}

.ua-service--access {
  --ua-service-image: url("assets/services/access-mobile.jpg");
}

.ua-service--network {
  --ua-service-image: url("assets/services/network-mobile.jpg");
}

.ua-service__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(222, 138, 57, 0.22), rgba(45, 127, 211, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff2dd;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 220ms ease, background 220ms ease;
}

.ua-service__number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 4.3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.ua-service > * {
  position: relative;
  z-index: 1;
}

.ua-service:hover .ua-service__icon,
.ua-service:focus-within .ua-service__icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, rgba(222, 138, 57, 0.35), rgba(45, 127, 211, 0.35));
}

.ua-service:hover,
.ua-service:focus-within {
  background-position: center, center, center;
  background-size: auto, auto, 108%;
}

.ua-service h3 {
  margin: 20px 0 12px;
  font-size: 1.35rem;
  color: var(--ua-white);
}

.ua-service p {
  margin: 0;
  color: rgba(243, 247, 252, 0.88);
}

.ua-service__tag {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: "IBM Plex Mono", monospace;
  color: #e3ecf7;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ua-brands {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.ua-brand-chip {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 18px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 243, 250, 0.96)),
    linear-gradient(135deg, rgba(255, 231, 0, 0.12), rgba(9, 212, 255, 0.12));
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow:
    0 16px 36px rgba(18, 46, 78, 0.12),
    0 0 0 1px rgba(255, 231, 0, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

html[data-theme="dark"] .ua-brand-chip {
  background:
    linear-gradient(180deg, rgba(17, 29, 48, 0.92), rgba(10, 18, 31, 0.94)),
    linear-gradient(135deg, rgba(255, 231, 0, 0.12), rgba(9, 212, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(9, 212, 255, 0.08),
    0 0 18px rgba(255, 231, 0, 0.06);
}

.ua-brand-chip::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  background-image: var(--ua-brand-logo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.34;
  filter: grayscale(1) brightness(0.08) contrast(1.45);
  transform: scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

html[data-theme="dark"] .ua-brand-chip::before {
  opacity: 0.78;
  filter: grayscale(1) brightness(4.4) contrast(1.05);
}

.ua-brand-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 231, 0, 0.22), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(9, 212, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 54%, rgba(9, 212, 255, 0.08));
  pointer-events: none;
}

html[data-theme="dark"] .ua-brand-chip::after {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 231, 0, 0.24), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(9, 212, 255, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 54%, rgba(9, 212, 255, 0.1));
}

.ua-brand-chip--ubiquiti {
  --ua-brand-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120'%3E%3Ctext x='50%25' y='58%25' text-anchor='middle' font-family='Arial,sans-serif' font-size='36' font-weight='700' letter-spacing='4' fill='white'%3EUBIQUITI%3C/text%3E%3C/svg%3E");
}

.ua-brand-chip--cisco {
  --ua-brand-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120'%3E%3Cg fill='white'%3E%3Crect x='76' y='18' width='8' height='24' rx='4'/%3E%3Crect x='94' y='10' width='8' height='32' rx='4'/%3E%3Crect x='112' y='4' width='8' height='38' rx='4'/%3E%3Crect x='130' y='10' width='8' height='32' rx='4'/%3E%3Crect x='148' y='18' width='8' height='24' rx='4'/%3E%3Crect x='166' y='10' width='8' height='32' rx='4'/%3E%3Crect x='184' y='4' width='8' height='38' rx='4'/%3E%3Crect x='202' y='10' width='8' height='32' rx='4'/%3E%3Crect x='220' y='18' width='8' height='24' rx='4'/%3E%3C/g%3E%3Ctext x='50%25' y='82%25' text-anchor='middle' font-family='Arial,sans-serif' font-size='34' font-weight='700' letter-spacing='3' fill='white'%3ECISCO%3C/text%3E%3C/svg%3E");
}

.ua-brand-chip--axis {
  --ua-brand-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120'%3E%3Cpolygon points='62,86 108,34 138,86' fill='white'/%3E%3Ctext x='62%25' y='70%25' text-anchor='middle' font-family='Arial,sans-serif' font-size='38' font-weight='700' letter-spacing='4' fill='white'%3EAXIS%3C/text%3E%3C/svg%3E");
}

.ua-brand-chip--hikvision {
  --ua-brand-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120'%3E%3Cpath d='M44 78 C72 32, 120 28, 168 42' stroke='white' stroke-width='10' fill='none' stroke-linecap='round'/%3E%3Ctext x='60%25' y='72%25' text-anchor='middle' font-family='Arial,sans-serif' font-size='30' font-weight='700' letter-spacing='3' fill='white'%3EHIKVISION%3C/text%3E%3C/svg%3E");
}

.ua-brand-chip--akuvox {
  --ua-brand-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120'%3E%3Ccircle cx='78' cy='60' r='20' fill='none' stroke='white' stroke-width='8'/%3E%3Cpath d='M92 74 L116 96' stroke='white' stroke-width='8' stroke-linecap='round'/%3E%3Ctext x='63%25' y='70%25' text-anchor='middle' font-family='Arial,sans-serif' font-size='34' font-weight='700' letter-spacing='3' fill='white'%3EAKUVOX%3C/text%3E%3C/svg%3E");
}

.ua-brand-chip--lts {
  --ua-brand-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120'%3E%3Ctext x='50%25' y='58%25' text-anchor='middle' font-family='Arial,sans-serif' font-size='52' font-weight='800' letter-spacing='5' fill='white'%3ELTS%3C/text%3E%3Cpath d='M84 76 H236' stroke='white' stroke-width='6' stroke-linecap='round' opacity='0.9'/%3E%3C/svg%3E");
}

.ua-brand-chip:hover,
.ua-brand-chip:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(18, 32, 51, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(232, 240, 248, 0.98)),
    linear-gradient(135deg, rgba(255, 231, 0, 0.16), rgba(9, 212, 255, 0.16));
  box-shadow:
    0 24px 48px rgba(18, 46, 78, 0.16),
    0 0 28px rgba(9, 212, 255, 0.14),
    0 0 20px rgba(255, 231, 0, 0.12);
}

html[data-theme="dark"] .ua-brand-chip:hover,
html[data-theme="dark"] .ua-brand-chip:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(22, 37, 58, 0.94), rgba(10, 18, 31, 0.96)),
    linear-gradient(135deg, rgba(255, 231, 0, 0.16), rgba(9, 212, 255, 0.18));
  box-shadow:
    0 26px 50px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(9, 212, 255, 0.16),
    0 0 22px rgba(255, 231, 0, 0.14);
}

.ua-brand-chip:hover::before,
.ua-brand-chip:focus-visible::before {
  opacity: 0.52;
  transform: scale(1);
}

.ua-contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.ua-contact-shell {
  position: relative;
  padding: 28px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 251, 0.98));
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 34px 90px rgba(18, 46, 78, 0.12);
}

html[data-theme="dark"] .ua-contact-shell {
  background: linear-gradient(180deg, rgba(9, 18, 30, 0.86), rgba(8, 14, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.ua-contact-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 35%, transparent 70%, rgba(45, 127, 211, 0.06));
  pointer-events: none;
}

html[data-theme="dark"] .ua-contact-shell::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 35%, transparent 70%, rgba(45, 127, 211, 0.08));
}

.ua-contact__info p {
  max-width: 480px;
}

.ua-contact__stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.ua-contact__item {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(18, 32, 51, 0.08);
  transition: transform 180ms ease, border-color 180ms ease;
}

html[data-theme="dark"] .ua-contact__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ua-contact__item:hover,
.ua-contact__item:focus-within {
  transform: translateX(4px);
  border-color: rgba(18, 32, 51, 0.14);
}

html[data-theme="dark"] .ua-contact__item:hover,
html[data-theme="dark"] .ua-contact__item:focus-within {
  border-color: rgba(255, 255, 255, 0.16);
}

.ua-contact__item strong {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  color: var(--ua-orange-soft);
}

.ua-contact__aside {
  margin-top: 22px;
  padding-top: 18px;
}

.ua-contact__aside-line {
  width: 110px;
  height: 2px;
  background: linear-gradient(90deg, var(--ua-orange), var(--ua-blue));
  margin-bottom: 14px;
}

.ua-contact__aside p {
  margin: 0;
  max-width: 420px;
  color: #55677b;
  font-size: 1rem;
  line-height: 1.8;
}

html[data-theme="dark"] .ua-contact__aside p {
  color: #d9e6f3;
}

.ua-form {
  display: grid;
  gap: 14px;
}

.ua-card--form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 252, 0.98));
}

html[data-theme="dark"] .ua-card--form {
  background: linear-gradient(180deg, rgba(15, 28, 46, 0.98), rgba(8, 15, 27, 0.98));
}

.ua-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ua-form input,
.ua-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(18, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ua-text);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

html[data-theme="dark"] .ua-form input,
html[data-theme="dark"] .ua-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 8, 15, 0.38);
  color: var(--ua-white);
}

.ua-form textarea {
  min-height: 168px;
  resize: vertical;
}

.ua-form input::placeholder,
.ua-form textarea::placeholder {
  color: #8a9bae;
}

html[data-theme="dark"] .ua-form input::placeholder,
html[data-theme="dark"] .ua-form textarea::placeholder {
  color: #8ea1b7;
}

.ua-form input:focus,
.ua-form textarea:focus {
  outline: none;
  border-color: rgba(45, 127, 211, 0.75);
  box-shadow: 0 0 0 4px rgba(45, 127, 211, 0.14);
  transform: translateY(-1px);
}

.ua-form__notice {
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 0.96rem;
}

.ua-form__notice--success {
  background: rgba(56, 187, 108, 0.18);
  border: 1px solid rgba(56, 187, 108, 0.32);
}

.ua-form__notice--error {
  background: rgba(220, 87, 87, 0.18);
  border: 1px solid rgba(220, 87, 87, 0.3);
}

.ua-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--ua-line);
}

.ua-footer__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--ua-muted);
}

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

@keyframes uaFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 24px, 0);
  }
}

@keyframes uaPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-10%) scale(1);
  }
  50% {
    opacity: 0.82;
    transform: translateX(-10%) scale(1.06);
  }
}

@keyframes uaHeroPan {
  from {
    background-position: center center;
  }
  to {
    background-position: center 18%;
  }
}

@keyframes uaPanelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes uaPanelBreath {
  0%,
  100% {
    box-shadow: 0 34px 90px rgba(18, 46, 78, 0.14);
    border-color: rgba(18, 32, 51, 0.1);
  }
  50% {
    box-shadow: 0 40px 100px rgba(45, 127, 211, 0.16);
    border-color: rgba(115, 171, 232, 0.24);
  }
}

@keyframes uaPanelSweep {
  0% {
    left: -45%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  55% {
    left: 120%;
    opacity: 0.7;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes uaNodePulse {
  0%,
  100% {
    border-color: rgba(18, 32, 51, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(237, 243, 249, 0.92));
  }
  50% {
    border-color: rgba(94, 157, 225, 0.28);
    background: linear-gradient(180deg, rgba(45, 127, 211, 0.09), rgba(255, 255, 255, 0.82));
  }
}

@keyframes uaBrandLoadStart {
  0%,
  100% {
    transform: scaleX(0.7);
    opacity: 0.9;
  }
  30% {
    transform: scaleX(1);
    opacity: 1;
  }
  60% {
    transform: scaleX(0.82);
    opacity: 0.95;
  }
}

@keyframes uaBrandLoadEnd {
  0%,
  100% {
    transform: translateX(-8%);
    opacity: 0.82;
  }
  35% {
    transform: translateX(0);
    opacity: 1;
  }
  70% {
    transform: translateX(-3%);
    opacity: 0.92;
  }
}

@keyframes uaBrandSweep {
  0% {
    left: -24%;
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  65% {
    left: 112%;
    opacity: 0.55;
  }
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes uaBrandScan {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

  .ua-copy {
  font-size: 0.92rem;
}

@media (min-width: 721px) {
  .ua-hero::before {
    background:
      linear-gradient(120deg, rgba(249, 252, 255, 0.9), rgba(241, 246, 252, 0.5)),
      url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=1600&q=72") center/cover;
  }

  html[data-theme="dark"] .ua-hero::before {
    background:
      linear-gradient(120deg, rgba(8, 17, 31, 0.86), rgba(8, 17, 31, 0.4)),
      url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=1600&q=72") center/cover;
  }

  .ua-service--cctv {
    --ua-service-image: url("assets/services/cctv-ai-camera.svg");
  }

  .ua-service--access {
    --ua-service-image: url("assets/services/access-desktop.jpg");
  }

  .ua-service--network {
    --ua-service-image: url("assets/services/network-desktop.jpg");
  }
}

@media (max-width: 980px) {
  .ua-pills,
  .ua-about,
  .ua-services,
  .ua-contact,
  .ua-brands {
    grid-template-columns: 1fr 1fr;
  }

  .ua-about > :first-child,
  .ua-contact > :first-child,
  .ua-brands > :first-child {
    grid-column: auto;
  }

  .ua-nav {
    display: none;
  }

  .ua-brand {
    max-width: 260px;
  }

  .ua-header__actions {
    gap: 6px;
  }

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

  .ua-hero__visual {
    justify-content: flex-start;
  }

  .ua-node--access,
  .ua-node--network {
    transform: none;
  }

  .ua-contact-shell {
    padding: 20px;
  }

  .ua-section {
    padding: 72px 0;
  }

  .ua-section__head {
    margin-bottom: 28px;
  }
}

@media (max-width: 720px) {
  .ua-shell,
  body {
    overflow-x: hidden;
  }

  .ua-header__row {
    min-height: auto;
    gap: 10px;
    padding: 10px 0;
    flex-wrap: nowrap;
    align-items: center;
  }

  .ua-header__row > *,
  .ua-hero__grid > *,
  .ua-about > *,
  .ua-services > *,
  .ua-contact > *,
  .ua-form__grid > *,
  .ua-kpis > * {
    min-width: 0;
  }

  .ua-hero {
    padding: 18px 0 28px;
  }

  .ua-header__actions {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    flex: 0 0 auto;
  }

  .ua-theme-toggle {
    min-height: 38px;
    padding: 0 12px 0 10px;
  }

  .ua-hero::before {
    inset: 0 0 auto;
    height: 660px;
  }

  .ua-brand__name {
    font-size: clamp(1.28rem, 6.2vw, 1.56rem);
    letter-spacing: 0.07em;
  }

  .ua-brand__rule {
    width: min(220px, 62vw);
    height: 6px;
  }

  .ua-brand__tag {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .ua-brand {
    flex: 1 1 auto;
    width: auto;
    max-width: min(250px, calc(100% - 86px));
  }

  .ua-pills,
  .ua-about,
  .ua-services,
  .ua-brands,
  .ua-contact,
  .ua-form__grid,
  .ua-kpis,
  .ua-hero__meta {
    grid-template-columns: 1fr;
  }

  .ua-section {
    padding: 40px 0;
  }

  .ua-section__head {
    margin-bottom: 22px;
  }

  .ua-section__head h2 {
    margin: 10px 0;
    font-size: clamp(2.05rem, 10vw, 2.7rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .ua-section__head p {
    font-size: 1.08rem;
    line-height: 1.62;
  }

  .ua-eyebrow {
    font-size: 0.72rem;
    padding: 8px 10px;
    letter-spacing: 0.08em;
    line-height: 1.35;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .ua-card,
  .ua-pill {
    padding: 20px;
    border-radius: 22px;
  }

  .ua-service {
    min-height: auto;
    padding-top: 58px;
  }

  .ua-service__number {
    top: 14px;
    right: 16px;
    font-size: 3.2rem;
  }

  .ua-service h3 {
    margin: 16px 0 10px;
    font-size: 1.32rem;
  }

  .ua-service p,
  .ua-card p,
  .ua-card li {
    font-size: 1.08rem;
    line-height: 1.62;
  }

  .ua-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 2px;
  }

  .ua-button,
  button.ua-button,
  input.ua-button {
    width: 100%;
    min-height: 56px;
    font-size: 1.06rem;
  }

  .ua-hero-panel {
    padding: 14px;
    border-radius: 22px;
    width: 100%;
    max-width: none;
  }

  .ua-hero__grid {
    min-height: auto;
    gap: 18px;
  }

  .ua-hero__visual,
  .ua-hero__content {
    width: 100%;
  }

  .ua-hero__content {
    padding: 18px 0 8px;
  }

  .ua-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(2.26rem, 11.8vw, 3.1rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    overflow-wrap: anywhere;
  }

  .ua-hero p {
    margin-bottom: 18px;
    font-size: 1.1rem;
    line-height: 1.58;
  }

  .ua-hero__meta {
    margin-top: 18px;
    gap: 10px;
  }

  .ua-hero__meta-item {
    padding: 14px 15px;
  }

  .ua-hero__meta-item strong {
    font-size: 0.88rem;
  }

  .ua-hero__meta-item span {
    font-size: 1rem;
  }

  .ua-hero-panel__top h3 {
    font-size: 1.24rem;
    line-height: 1.04;
  }

  .ua-route-strip {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .ua-route-strip__line,
  .ua-route-strip__ports {
    width: 100%;
  }

  .ua-route-strip__ports {
    grid-template-columns: repeat(4, 10px);
    width: auto;
  }

  .ua-panel-badge {
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .ua-hero-panel__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ua-panel-badge {
    align-self: flex-start;
  }

  .ua-node {
    padding: 12px;
    border-radius: 18px;
  }

  .ua-hero-panel__grid {
    padding-left: 20px;
  }

  .ua-hero-panel__grid::before {
    left: 4px;
    width: 8px;
  }

  .ua-node::before {
    left: -16px;
    width: 20px;
  }

  .ua-node strong {
    font-size: 1.02rem;
  }

  .ua-node small {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .ua-hero-panel__footer {
    gap: 8px;
    margin-top: 14px;
  }

  .ua-signal p {
    font-size: 0.72rem;
  }

  .ua-contact-shell {
    padding: 14px;
    border-radius: 24px;
  }

  .ua-contact__stack {
    gap: 10px;
    margin-top: 18px;
  }

  .ua-contact__item {
    padding: 14px 15px;
  }

  .ua-contact__aside {
    margin-top: 18px;
    padding-top: 14px;
  }

  .ua-form {
    gap: 10px;
  }

  .ua-form input,
  .ua-form textarea {
    padding: 16px 16px;
    border-radius: 14px;
    font-size: 1.06rem;
  }

  .ua-form textarea {
    min-height: 156px;
  }

  .ua-footer {
    padding: 22px 0 28px;
  }

  .ua-copy {
    font-size: 0.94rem;
    line-height: 1.52;
  }
}

@media (max-width: 560px) {
  .ua-container {
    width: min(calc(100% - 20px), var(--ua-max));
  }

  .ua-header__row {
    padding: 10px 0;
  }

  .ua-brand {
    max-width: 100%;
  }

  .ua-header .ua-button--ghost {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .ua-brand__rule {
    width: min(200px, 64vw);
  }

  .ua-brand__tag {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .ua-eyebrow {
    font-size: 0.66rem;
    padding: 7px 9px;
  }

  .ua-hero {
    padding: 12px 0 24px;
  }

  .ua-hero::before {
    height: 700px;
  }

  .ua-hero__grid {
    gap: 14px;
  }

  .ua-hero__content {
    padding-top: 10px;
  }

  .ua-hero h1 {
    font-size: clamp(2.06rem, 11.4vw, 2.82rem);
    line-height: 0.98;
  }

  .ua-hero-panel__top h3 {
    font-size: 1.08rem;
  }

  .ua-panel-label,
  .ua-node__eyebrow,
  .ua-panel-badge,
  .ua-signal p {
    letter-spacing: 0.08em;
  }

  .ua-section__head h2 {
    font-size: clamp(1.94rem, 10vw, 2.42rem);
  }

  .ua-card,
  .ua-pill,
  .ua-contact-shell {
    padding: 16px;
  }

  .ua-node--camera,
  .ua-node--access,
  .ua-node--network {
    transform: none;
  }

  .ua-hero-panel__footer {
    grid-template-columns: 1fr;
  }
}
