:root {
  --navy: #06101c;
  --navy-2: #0b1a31;
  --navy-3: #122848;
  --blue: #1f6fff;
  --blue-2: #4d94ff;
  --accent: #1f6fff;
  --accent-2: #5aa8ff;
  --accent-dark: #0d56e0;
  --text: #122033;
  --muted: #5a6b80;
  --line: #e4edf8;
  --bg: #f3f7fd;
  --white: #ffffff;
  --shadow: 0 22px 50px rgba(8, 32, 80, 0.12);
  --radius: 20px;
  --header: 112px;
  --max: 1240px;
  --font: "Noto Sans Armenian", "Manrope", system-ui, sans-serif;
  --display: "Outfit", "Noto Sans Armenian", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
}

body {
  font-family: var(--font);
  font-size: calc(16px * var(--text-scale, 1));
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: clip;
  width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-family: var(--display);
  line-height: 1.2;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  word-break: break-word;
  text-wrap: pretty;
}

h1,
.h1 {
  font-size: clamp(calc(34px * var(--title-scale, 1)), calc(5vw * var(--title-scale, 1)), calc(62px * var(--title-scale, 1)));
  font-weight: 700;
}

h2,
.h2 {
  font-size: clamp(calc(28px * var(--title-scale, 1)), calc(3.4vw * var(--title-scale, 1)), calc(44px * var(--title-scale, 1)));
  font-weight: 700;
}

h3,
.h3 {
  font-size: 22px;
  font-weight: 650;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 58ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-orange {
  background: linear-gradient(180deg, #3d8bff 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 111, 255, 0.32);
}

.btn-orange:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: #1658db;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.section {
  padding: 96px 0;
}

.section-head h2,
.split h2,
.card h3 {
  color: var(--heading, var(--text));
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
  min-width: 0;
}

.section-head > * {
  min-width: 0;
}

.section-head p {
  color: var(--muted);
  max-width: 420px;
  overflow-wrap: break-word;
}

/* Header */
.header a:hover {
  color: var(--accent);
}

#cms-admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: #1d2327;
  color: #fff;
  font-size: 13px;
}

#cms-admin-bar a,
#cms-admin-bar button {
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  opacity: 0.9;
}

#cms-admin-bar a:hover,
#cms-admin-bar button:hover {
  opacity: 1;
}

#cms-admin-bar .cms-ab-brand {
  font-weight: 800;
}

#cms-admin-bar .cms-ab-spacer {
  flex: 1;
}

body.cms-admin-on {
  padding-top: 36px;
}

body.cms-admin-on .site-header {
  top: 36px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(8, 32, 80, 0.08);
}

.site-header.scrolled .header-row {
  min-height: 100px;
}

.header-row {
  width: 100%;
  min-height: var(--header);
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 14px 36px;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 24px);
  letter-spacing: -0.04em;
  color: var(--navy);
  min-width: 0;
  max-width: min(260px, 34vw);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, #4da3ff, var(--accent-dark));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 111, 255, 0.38);
  animation: mark-pulse 3.2s ease-in-out infinite;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.logo-mark.has-img {
  width: 42px;
  height: 42px;
  padding: 4px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(7, 17, 31, 0.12);
}

.logo-mark.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: media-shine 5.5s ease-in-out infinite;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: logo-float 4.8s ease-in-out infinite;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
}

.nav > a,
.nav-drop > span {
  padding: 10px 14px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: var(--text);
  border-radius: 12px;
  white-space: nowrap;
}

.nav > a:hover,
.nav-drop:hover > span,
.nav-drop.active > span,
.nav > a.active {
  color: var(--blue);
}

.nav-drop {
  position: relative;
}

.nav-drop > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
}

.nav-menu a:hover {
  background: var(--bg);
  color: var(--blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-cta .btn {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.header-cta .btn-outline {
  display: none;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(6, 16, 32, var(--hero-overlay, 0.72)) 0%, rgba(13, 48, 110, calc(var(--hero-overlay, 0.72) * 0.85)) 48%, rgba(6, 16, 32, calc(var(--hero-overlay, 0.72) * 0.7)) 100%),
    var(--hero-bg, none) center 38% / cover no-repeat,
    var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.35), transparent 68%);
  animation: float-glow 7s ease-in-out infinite;
  pointer-events: none;
}

.hero .container {
  width: 100%;
  max-width: none;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: 70px 36px 90px;
}

.hero h1 {
  margin: 8px 0 20px;
  max-width: 100%;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-meta b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 22px;
  transition: transform 0.2s ease;
}

.hero-panel img {
  height: 320px;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.hero-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
}

/* Service tabs / cards */
.services {
  background: var(--bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-grid > *,
.cctv-grid > *,
.split > *,
.hero .container > *,
.scope-list > *,
.footer-grid > * {
  min-width: 0;
}

.scope-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin: 36px 0 28px;
}

.scope-list li {
  display: flex;
  gap: 10px;
  font-weight: 650;
  color: var(--text);
  overflow-wrap: break-word;
}

.scope-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cctv-window {
  background:
    radial-gradient(circle at 90% 0%, rgba(77, 163, 255, 0.22), transparent 42%),
    var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 52px 48px;
  box-shadow: 0 24px 60px rgba(6, 16, 32, 0.28);
}

.cctv-window .section-head p,
.cctv-window .lead {
  color: rgba(255, 255, 255, 0.72);
}

.cctv-window h2,
.cctv-window h3 {
  color: #fff;
}

.cctv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 32px;
}

.cctv-grid article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 18px 16px;
}

.cctv-grid h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.cctv-grid p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.cctv-window .eyebrow {
  color: var(--accent-2);
}

.cctv-window .eyebrow::before {
  background: var(--accent-2);
}

.card,
.price-card,
.quote,
.step,
.project {
  min-width: 0;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 36, 70, 0.04);
  transition: 0.22s ease;
  overflow-wrap: break-word;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: #edf3ff;
  color: var(--blue);
}

.icon-box.orange {
  background: #eaf2ff;
  color: var(--accent);
}

.icon-box.navy {
  background: var(--navy);
  color: #fff;
}

.icon-box.has-img {
  padding: 12px;
}

.icon-box .cms-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.link {
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.no-photo {
  grid-template-columns: 1fr;
}

.split img,
.media {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 24px;
}

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  height: 460px;
  min-width: 0;
}

.media-frame > .media,
.media-frame img {
  height: 100%;
  border-radius: 0;
  animation: media-pan 18s ease-in-out infinite alternate;
  will-change: transform;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: media-shine 7s ease-in-out infinite;
}

@keyframes media-pan {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-2.5%, -2%, 0); }
}

@keyframes media-shine {
  0%, 35% { background-position: 140% 0; opacity: 0; }
  50% { opacity: 1; }
  65%, 100% { background-position: -40% 0; opacity: 0; }
}

.check-list {
  margin: 22px 0 28px;
}

.check-list li {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent) var(--check-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")) center / 12px no-repeat;
}

.check-list.custom-check li::before {
  background: var(--check-icon) center / contain no-repeat;
  border-radius: 4px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.stat {
  background: var(--bg);
  border-radius: 16px;
  padding: 18px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.process {
  background: var(--navy);
  color: #fff;
}

.process .lead,
.process .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
}

.step em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
  font-family: var(--display);
  font-size: 28px;
}

.step h3 {
  margin: 12px 0 8px;
}

.step p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.project {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 280px;
  min-width: 0;
  height: 100%;
}

.project img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: 0.35s ease;
}

.project:hover img {
  transform: scale(1.06);
}

.project-info {
  position: absolute;
  inset: auto 14px 14px 14px;
  background: rgba(7, 17, 31, 0.86);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  overflow: hidden;
  overflow-wrap: anywhere;
  max-height: 46%;
  min-width: 0;
}

.project-info h3 {
  margin: 4px 0 0;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cms-rich img,
.check-list img,
.card img:not(.cms-icon),
.lead img,
p img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
  border-radius: 12px;
}

.project-info small {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.project-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-media-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
  height: max-content;
  align-self: center;
  line-height: 0;
}

.hero-panel .cms-media-wrap,
.split .cms-media-wrap {
  overflow: hidden;
  border-radius: 24px;
}

.media-frame .cms-media-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  border-radius: 0;
}

.hero-panel .cms-media-wrap {
  border-radius: 16px;
}

.cms-media-wrap > img,
.cms-media-wrap > .media {
  width: 100%;
  display: block;
}

.cms-media-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  max-height: calc(100% - 32px);
  overflow: hidden;
  background: rgba(7, 17, 31, 0.86);
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
}

.cms-media-cap p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cms-media-cap .project-btn {
  margin-top: 8px;
}

.extra-gallery-section[hidden],
[data-cms-cards-wrap][hidden] {
  display: none !important;
}

.extra-gallery-section .reveal,
.extra-gallery-section .project {
  opacity: 1;
  transform: none;
}

.brands {
  background: var(--bg);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.brand {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 92px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-2);
}

.prices {
  background: #fff;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  background: #fff;
  overflow-wrap: break-word;
}

.price-card.featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-12px);
}

.price-card .tag {
  display: inline-block;
  background: #eaf2ff;
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.price-card.featured .tag {
  background: var(--accent);
  color: #fff;
}

.price {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 800;
  margin: 8px 0 18px;
}

.price span {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.7;
}

.price-card ul {
  margin: 0 0 24px;
}

.price-card li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.price-card.featured li {
  border-color: rgba(255, 255, 255, 0.1);
}

.cta-band {
  background:
    linear-gradient(100deg, rgba(6, 16, 32, 0.92), rgba(31, 111, 255, 0.62)),
    var(--cta-bg, none) center / cover,
    var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
}

.form-copy {
  padding: 48px 40px;
  background: var(--navy);
  color: #fff;
}

.form-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin: 12px 0 28px;
}

.form {
  padding: 40px;
  display: grid;
  gap: 14px;
  position: relative;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--blue);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

.form-note:empty,
.form-note[hidden] {
  display: none;
}

.form-success {
  display: none;
  background: #e8f8ee;
  color: #0f7a3a;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  overflow-wrap: break-word;
}

.quote p {
  margin: 14px 0 20px;
}

.who {
  font-weight: 800;
}

.who b {
  display: block;
  font-weight: 800;
}

.who span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}

.page-hero {
  background:
    linear-gradient(rgba(6, 16, 28, var(--hero-overlay, 0.72)), rgba(6, 16, 28, calc(var(--hero-overlay, 0.72) + 0.08))),
    var(--page-bg, none),
    var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 72px 0 64px;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.7);
}

.crumbs {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin-bottom: 16px;
}

.crumbs a:hover {
  color: #fff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--bg);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td b {
  color: var(--accent);
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
  padding: 72px 0 24px;
}

.footer-wide {
  width: 100%;
  padding: 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 14px;
  max-width: 100%;
}

.footer .logo-name {
  color: #fff;
}

.footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-family: var(--display);
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer a:hover {
  color: #fff;
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mobile-nav {
  display: none;
}

.float-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(31, 111, 255, 0.42);
  animation: pulse-call 2.4s ease-in-out infinite;
}

.hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .cctv-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .header-cta .btn-outline {
    display: none;
  }

  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-nav {
    display: none;
    padding: 8px 20px 20px;
  }

  .mobile-nav.open {
    display: block;
  }

  .mobile-nav a,
  .mobile-nav span {
    display: block;
    padding: 16px 0;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }

  .hero .container,
  .split,
  .service-grid,
  .cctv-grid,
  .scope-list,
  .steps,
  .portfolio-grid,
  .brand-grid,
  .price-grid,
  .stats,
  .testimonials,
  .form-wrap,
  .footer-grid,
  .hero-chips {
    grid-template-columns: 1fr;
  }

  .hero .container,
  .split img,
  .media {
    min-height: auto;
    height: auto;
  }

  .hero .container {
    padding: 48px 36px 56px;
  }

  .cctv-window {
    padding: 28px 20px;
  }

  .section,
  .section-head {
    display: block;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .cta-band,
  .form-copy,
  .form {
    padding: 28px 22px;
    display: block;
  }

  .form-row,
  .price-card.featured {
    grid-template-columns: 1fr;
    transform: none;
  }

  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lang-switch {
    margin-left: 0;
  }

  .logo {
    font-size: 22px;
  }
}

html.i18n-pending [data-cms-img],
html.i18n-pending [data-cms-cards],
html.i18n-pending [data-cms-gallery] {
  opacity: 0;
}

html.i18n-ready [data-cms-img],
html.i18n-ready [data-cms-cards],
html.i18n-ready [data-cms-gallery] {
  opacity: 1;
}

html.i18n-ready body {
  opacity: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
  gap: 3px;
  padding-bottom: 1px;
}

.logo-name {
  display: block;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.15;
  color: var(--logo-name, var(--navy));
}

.logo-text small {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switch {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  min-height: 42px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: var(--navy);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.lang-current svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.lang-switch.open .lang-current {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-switch.open .lang-current svg {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: none;
  min-width: 188px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.lang-switch.open .lang-menu {
  display: block;
}

.lang-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.lang-menu button b {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lang-menu button:hover,
.lang-menu button.active {
  background: var(--bg);
  color: var(--blue);
}

.lang-menu button.active b {
  color: var(--accent);
}

.card {
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: 0.25s ease;
}

.card:hover::after {
  opacity: 1;
}

.project-info small,
.step em {
  color: var(--accent-2);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.hero .container > div:first-child,
.hero-panel {
  animation: fade-up 0.9s ease both;
}

.hero-panel {
  animation-delay: 0.15s;
}

.brand {
  transition: 0.25s ease;
}

.brand:hover {
  transform: translateY(-4px);
  border-color: var(--accent-2);
  color: var(--accent-dark);
}

.page-hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(77, 163, 255, 0.28), transparent 42%),
    linear-gradient(rgba(6, 16, 28, var(--hero-overlay, 0.55)), rgba(6, 16, 28, var(--hero-overlay, 0.7))),
    var(--page-bg, none),
    var(--navy);
  background-size: cover;
  background-position: center;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-glow {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, 28px);
  }
}

@keyframes pulse-call {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(31, 111, 255, 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(31, 111, 255, 0);
  }
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
}

.btn:hover::after {
  animation: shine 0.7s ease;
}

.chip {
  animation: chip-pop 0.7s ease both;
}

.hero-chips .chip:nth-child(1) { animation-delay: 0.35s; }
.hero-chips .chip:nth-child(2) { animation-delay: 0.45s; }
.hero-chips .chip:nth-child(3) { animation-delay: 0.55s; }
.hero-chips .chip:nth-child(4) { animation-delay: 0.65s; }

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  top: 18%;
  background: linear-gradient(90deg, transparent, rgba(90, 168, 255, 0.7), transparent);
  animation: scan 4.5s linear infinite;
  pointer-events: none;
}

.icon-box {
  transition: transform 0.35s ease;
}

.card:hover .icon-box {
  transform: rotate(-8deg) scale(1.08);
}

.header-row {
  transition: min-height 0.3s ease;
}

.reveal {
  transition-delay: var(--delay, 0ms);
}

.brand-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.brand-track .brand {
  min-width: 160px;
  flex: 0 0 auto;
}

.brand-marquee:hover .brand-track {
  animation-play-state: paused;
}

.cta-band {
  background-size: 140% 140%;
  animation: cta-shift 8s ease-in-out infinite;
}

.quote {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

table tbody tr {
  transition: background 0.2s ease;
}

table tbody tr:hover {
  background: #eef5ff;
}

.float-call svg {
  animation: ring 2.8s ease-in-out infinite;
}

@keyframes shine {
  to {
    transform: translateX(120%);
  }
}

@keyframes chip-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scan {
  0% { top: 8%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 78%; opacity: 0; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cta-shift {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mark-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes logo-float {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(-3deg); }
}

@keyframes ring {
  0%, 80%, 100% { transform: rotate(0); }
  85% { transform: rotate(-14deg); }
  90% { transform: rotate(12deg); }
  95% { transform: rotate(-8deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Layout that must win: tablet and phone */
@media (max-width: 1360px) {
  .header-cta .btn-outline {
    display: none;
  }

  .nav {
    display: none;
  }

  .burger {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
  }

  .header-row {
    display: flex;
    min-height: 76px;
    gap: 12px;
    padding: 10px 20px;
  }

  .hero .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-wide {
    padding: 0 20px;
  }

  .logo {
    font-size: 18px;
    max-width: min(240px, calc(100vw - 120px));
  }

  .logo-text small {
    font-size: 10px;
  }

  .logo-mark,
  .logo-mark.has-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    padding: 4px 20px 20px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .mobile-nav a {
    display: block;
    padding: 16px 0;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    max-height: 100dvh;
    overflow-y: auto;
  }
}

@media (max-width: 1100px) {
  .cctv-grid,
  .service-grid,
  .price-grid,
  .testimonials,
  .portfolio-grid,
  .steps,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .hero .container,
  .split,
  .form-wrap,
  .scope-list,
  .hero-chips,
  .cta-band {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-band {
    display: grid;
    padding: 28px 22px;
  }

  .hero .container,
  .split img,
  .media {
    min-height: auto;
    height: auto;
  }

  .split img,
  .media,
  .media-frame,
  .hero-panel img {
    height: 220px;
  }

  .hero .container {
    min-height: 0;
    padding: 36px 20px 44px;
    gap: 24px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(28px, 8vw, 40px);
  }

  h1,
  .h1 {
    font-size: clamp(28px, 8vw, 42px);
  }

  h2,
  .h2 {
    font-size: clamp(22px, 6vw, 32px);
  }

  h3,
  .h3 {
    font-size: 18px;
  }

  .lead {
    font-size: 16px;
    max-width: none;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 24px;
  }

  .section-head p {
    max-width: none;
    margin-top: 10px;
  }

  .cctv-window {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .cctv-grid h3 {
    font-size: 16px;
  }

  .card,
  .price-card,
  .quote,
  .step {
    padding: 20px 18px;
  }

  .btn {
    white-space: normal;
    text-align: center;
    min-height: 48px;
    padding: 10px 16px;
    line-height: 1.25;
  }

  .hero-actions,
  .section-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .section-actions .btn,
  .form .btn,
  .cta-band .btn {
    width: 100%;
  }

  .form-copy,
  .form {
    padding: 24px 18px;
    display: grid;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 40px 0 36px;
  }

  .lang-switch {
    margin-left: 0;
  }

  .copy {
    flex-direction: column;
  }

  .float-call {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .form input,
  .form select,
  .form textarea {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .hero-panel {
    padding: 14px;
  }

  .chip {
    font-size: 12px;
    padding: 10px 12px;
  }

  .project {
    min-height: 220px;
  }

  .project img {
    height: 240px;
  }
}

@media (max-width: 700px) {
  .cctv-grid,
  .service-grid,
  .price-grid,
  .testimonials,
  .portfolio-grid,
  .steps,
  .stats,
  .brand-grid,
  .footer-grid,
  .scope-list {
    grid-template-columns: 1fr;
  }

  .hero-meta span {
    display: block;
    max-width: 14ch;
    line-height: 1.35;
  }

  .hero-actions {
    margin-bottom: 24px;
  }

  .hero-meta b {
    font-size: 22px;
  }

  .price {
    font-size: 32px;
  }

  .stat b {
    font-size: 26px;
  }

  .footer {
    padding: 48px 0 88px;
  }
}

@media (hover: none) {
  .card:hover,
  .quote:hover,
  .price-card.featured,
  .brand:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

.cms-rich ul,
[data-i18n] ul {
  list-style: disc;
  padding-left: 1.3em;
  margin: 8px 0;
}

.cms-rich ol,
[data-i18n] ol {
  list-style: decimal;
  padding-left: 1.3em;
  margin: 8px 0;
}

.cms-rich li,
[data-i18n] li { margin: 4px 0; }

.cms-rich img,
[data-i18n] img {
  max-width: 100%;
  height: auto;
}

.cms-rich blockquote,
[data-i18n] blockquote {
  margin: 8px 0;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}
