@import url("mobile-ux.css?v=20260901d");

:root {
  color-scheme: dark;
  --black: #050505;
  --black-soft: #090909;
  --graphite: #111111;
  --graphite-2: #191919;
  --metal: #282828;
  --line: #303030;
  --line-light: #494949;
  --white: #f6f5f2;
  --text: #c4c3bf;
  --muted: #85837d;
  --gold: #d8a247;
  --gold-light: #f2c76f;
  --gold-dark: #8f6527;
  --red: #e24832;
  --blue: #3887dc;
  --green: #16a34a;
  --header-height: 76px;
  --shell: 1440px;
  --gutter: 52px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: Inter, "Arial Nova", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--black);
  background: var(--gold-light);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--black);
  background: var(--gold-light);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100%, var(--shell));
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 118px;
}

/* Quiet brand signatures keep the long pages recognisably Troya without competing with content. */
.manifesto,
.fortress,
.solutions,
.process,
.proof,
.inner-page main > .page-section:nth-of-type(even),
.inner-page main > .page-section--accent,
.inner-page main > .service-brief,
.news-article-page .article-section {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.manifesto::before,
.fortress::before,
.solutions::before,
.process::before,
.proof::before,
.inner-page main > .page-section:nth-of-type(even)::before,
.inner-page main > .page-section--accent::before,
.inner-page main > .service-brief::before,
.news-article-page .article-section::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: max(-6vw, -120px);
  width: min(56vw, 780px);
  aspect-ratio: 2616 / 1794;
  content: "";
  pointer-events: none;
  background: url("brand/troya-it-watermark.png") center / contain no-repeat;
  filter: saturate(0.72);
  opacity: 0.042;
  transform: translateY(-50%);
}

.manifesto > *,
.fortress > *,
.solutions > *,
.process > *,
.proof > *,
.inner-page main > .page-section:nth-of-type(even) > *,
.inner-page main > .page-section--accent > *,
.inner-page main > .service-brief > *,
.news-article-page .article-section > * {
  position: relative;
  z-index: 1;
}

.solutions::before,
.proof::before,
.inner-page main > .page-section:nth-of-type(4n)::before {
  right: auto;
  left: max(-7vw, -130px);
}

.inner-page main > .service-brief::before {
  width: min(48vw, 680px);
  opacity: 0.055;
}

.page-hero::before {
  position: absolute;
  z-index: -1;
  top: 17%;
  right: 2vw;
  width: min(38vw, 610px);
  aspect-ratio: 2616 / 1794;
  content: "";
  pointer-events: none;
  background: url("brand/troya-it-watermark.png") center / contain no-repeat;
  filter: saturate(0.72);
  opacity: 0.075;
}

.news-article-page .article-section::before {
  right: max(-8vw, -150px);
  filter: grayscale(1);
  mix-blend-mode: multiply;
  opacity: 0.036;
}

.section-index,
.eyebrow {
  margin-bottom: 22px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow > span {
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-inline: 26px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  border-color: var(--white);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 11px;
}

.button-wide {
  width: 100%;
}

.button-gold {
  color: #0a0907;
  border-color: var(--gold);
  background: var(--gold);
}

.button-gold:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(5, 5, 5, 0.14);
}

.text-button,
.line-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: 100%;
  padding-block: 8px;
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-button:hover,
.line-link:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
  padding-inline: var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  width: 164px;
  height: 58px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.desktop-nav a,
.header-phone {
  color: #deddd9;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.header-phone:hover {
  color: var(--gold-light);
}

.nav-dropdown {
  position: relative;
  display: flex;
  height: var(--header-height);
  align-items: center;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-dropdown__trigger[aria-current="page"],
.nav-dropdown__trigger.is-section-current {
  color: var(--gold-light);
}

.nav-dropdown__trigger::after {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: min(620px, calc(100vw - 40px));
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid var(--gold);
  background: rgba(7, 8, 9, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.nav-dropdown--solutions .nav-dropdown__panel {
  width: min(440px, calc(100vw - 40px));
}

.nav-dropdown--solutions .nav-dropdown__grid {
  grid-template-columns: 1fr;
}

.desktop-nav .nav-dropdown__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid transparent;
  color: #e8e7e3;
  line-height: 1.25;
  white-space: normal;
}

.nav-dropdown__item span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
}

.desktop-nav .nav-dropdown__item:hover,
.desktop-nav .nav-dropdown__item:focus-visible,
.desktop-nav .nav-dropdown__item[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown:hover .nav-dropdown__trigger::after,
.nav-dropdown:focus-within .nav-dropdown__trigger::after {
  transform: translateY(2px) rotate(225deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-light);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 1px;
  margin-left: -11px;
  background: var(--white);
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-5px);
}

.menu-toggle span:last-child {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 190;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 52px var(--gutter) 36px;
  background: var(--black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.mobile-menu nav {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 165, 73, 0.55) transparent;
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu nav > a,
.mobile-nav-group > summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: baseline;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-nav-group {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-group > summary {
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  border: 0;
  cursor: pointer;
  list-style: none;
}

.mobile-nav-group > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-group > summary::after {
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  content: "";
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms ease;
}

.mobile-nav-group[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.mobile-nav-submenu {
  display: grid;
  padding: 2px 0 14px 48px;
}

.mobile-menu .mobile-nav-submenu a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  color: #cbc9c3;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

.mobile-menu .mobile-nav-submenu a:hover,
.mobile-menu .mobile-nav-submenu a:focus-visible,
.mobile-menu .mobile-nav-submenu a[aria-current="page"] {
  color: var(--gold-light);
}

.mobile-menu nav span,
.mobile-menu__contacts p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.mobile-menu__contacts {
  display: grid;
  gap: 6px;
}

.mobile-menu__contacts a {
  font-size: 16px;
  font-weight: 600;
}

.mobile-menu__contacts p {
  margin: 14px 0 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 24px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  z-index: 1;
  top: 14%;
  right: 3vw;
  width: min(42vw, 680px);
  aspect-ratio: 2616 / 1794;
  content: none;
  pointer-events: none;
  background: url("brand/troya-it-watermark.png") center / contain no-repeat;
  filter: saturate(0.78);
  opacity: 0.1;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.91) 0%, rgba(5, 5, 5, 0.65) 42%, rgba(5, 5, 5, 0.08) 75%), linear-gradient(0deg, rgba(5, 5, 5, 0.88) 0%, transparent 42%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  min-height: inherit;
  padding-top: 112px;
  padding-bottom: 134px;
}

.hero-copy {
  min-width: 0;
  max-width: 870px;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: 64px;
  line-height: 0.98;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: #e0dfda;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 34px;
}

.hero-interface {
  position: relative;
  align-self: stretch;
  min-width: 0;
}

.hero-interface__line {
  position: absolute;
  top: 34%;
  right: 4%;
  width: 75%;
  height: 38%;
  border-top: 1px solid rgba(216, 162, 71, 0.65);
  border-right: 1px solid rgba(216, 162, 71, 0.65);
  transform: skewY(-17deg);
}

.hero-sensor {
  position: absolute;
  display: grid;
  padding-left: 18px;
  border-left: 1px solid var(--gold);
  text-transform: uppercase;
}

.hero-sensor i {
  position: absolute;
  top: -4px;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 18px rgba(216, 162, 71, 0.85);
}

.hero-sensor span,
.hero-console span,
.hero-console small {
  color: #b0ada7;
  font-size: 10px;
  font-weight: 500;
}

.hero-sensor strong {
  font-size: 11px;
}

.sensor-camera {
  top: 27%;
  right: 2%;
}

.sensor-gate {
  right: 27%;
  bottom: 26%;
}

.sensor-fire {
  top: 46%;
  left: 16%;
}

.hero-console {
  position: absolute;
  right: 0;
  bottom: 16%;
  display: grid;
  min-width: 270px;
  gap: 5px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 3px solid var(--gold);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
}

.hero-console strong {
  font-size: 13px;
}

.hero-proof {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(14px);
}

.hero-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 20px;
}

.hero-proof__grid > div {
  display: grid;
  min-width: 0;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding-inline: 22px;
  border-left: 1px solid var(--line-light);
}

.hero-proof__grid > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-proof span {
  color: var(--gold-light);
  font-size: 10px;
}

.hero-proof strong {
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
}

.system-status {
  padding-block: 68px;
  border-bottom: 1px solid var(--line);
  background: var(--graphite);
}

.status-heading {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  align-items: end;
  gap: 42px;
  margin-bottom: 34px;
}

.status-heading .section-index {
  margin: 0;
}

.status-heading h2 {
  max-width: 850px;
  font-size: 30px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.status-item {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 150px;
  align-content: end;
  gap: 5px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-left: 0;
  color: var(--muted);
  background: #0d0d0d;
  transition: color 320ms ease, background-color 320ms ease;
}

.status-item:first-child {
  border-left: 1px solid var(--line);
}

.status-item i {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-light);
}

.status-item > span {
  color: var(--muted);
  font-size: 10px;
}

.status-item strong {
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.status-item small {
  font-size: 11px;
}

.status-item.is-online {
  color: var(--white);
  background: #151515;
}

.status-item.is-online i {
  background: var(--green);
  box-shadow: 0 0 14px rgba(22, 163, 74, 0.8);
}

.manifesto {
  border-bottom: 1px solid var(--line);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 90px;
  align-items: end;
}

.manifesto h2 {
  font-size: 62px;
}

.manifesto-grid > div {
  min-width: 0;
}

.manifesto-grid p {
  margin-bottom: 30px;
  color: var(--text);
  font-size: 19px;
}

.services {
  background: var(--black-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading > * {
  min-width: 0;
}

.section-heading h2,
.fortress-heading h2,
.problem-heading h2,
.process-heading h2,
.calculator-intro h2 {
  font-size: 56px;
}

.section-heading > p,
.fortress-heading > p:last-child {
  margin-bottom: 0;
  color: var(--text);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.service-card {
  position: relative;
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  background: var(--graphite);
}

.service-card img,
.service-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-card img {
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1), filter 400ms ease;
}

.service-card__shade {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.08) 20%, rgba(5, 5, 5, 0.94) 88%);
}

.service-card__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  min-width: 0;
  padding: 34px;
  transform: translateY(78px);
  transition: transform 360ms ease;
}

.service-card__content > span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: 34px;
}

.service-card p {
  max-width: 560px;
  margin-bottom: 18px;
  color: #deddd9;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 22px;
}

.service-card li {
  color: #bab8b2;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 240ms ease;
}

.service-card:hover img,
.service-card:focus-within img {
  filter: brightness(0.82);
  transform: scale(1.035);
}

.service-card:hover .service-card__content,
.service-card:focus-within .service-card__content {
  transform: none;
}

.service-card:hover a,
.service-card:focus-within a {
  opacity: 1;
}

.fortress {
  border-top: 1px solid var(--line);
  background: #0a0a0a;
}

.fortress-heading {
  display: grid;
  grid-template-columns: 0.25fr 1fr 0.65fr;
  align-items: end;
  gap: 52px;
  margin-bottom: 50px;
}

.fortress-heading > * {
  min-width: 0;
}

.fortress-heading .section-index {
  align-self: start;
}

.fortress-workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
}

.layer-controls {
  padding: 26px 22px;
  background: var(--graphite);
}

.layer-controls legend {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.layer-controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.layer-controls label:last-child {
  border-bottom: 1px solid var(--line);
}

.layer-controls input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.layer-controls span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.layer-controls span i {
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.layer-controls input:checked + span i {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 10px rgba(216, 162, 71, 0.6);
}

.layer-controls b {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.isometric-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #0d0d0d;
}

.stage-header,
.stage-legend {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
}

.stage-header {
  inset: 22px 24px auto;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}

.stage-header span,
.stage-header small,
.stage-legend {
  color: var(--muted);
  font-size: 10px;
}

.stage-header strong {
  font-size: 11px;
}

.isometric-stage svg {
  width: 100%;
  min-height: 600px;
}

.isometric-stage text {
  fill: #a8a59f;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.connection-layer path {
  fill: none;
  stroke: rgba(216, 162, 71, 0.28);
  stroke-width: 1;
}

.connection-layer .signal-path {
  stroke: var(--gold);
  stroke-dasharray: 8 12;
  animation: signalMove 8s linear infinite;
}

@keyframes signalMove {
  to { stroke-dashoffset: -160; }
}

.map-layer {
  opacity: 1;
  transition: opacity 220ms ease;
}

.map-layer.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.stage-legend {
  inset: auto 24px 20px;
  flex-wrap: wrap;
  gap: 18px;
}

.stage-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.stage-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-gold { background: var(--gold); }
.legend-blue { background: var(--blue); }
.legend-red { background: var(--red); }
.legend-green { background: var(--green); }

.fortress-visual {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.fortress-photo {
  position: relative;
  aspect-ratio: 1672 / 941;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #101010;
}

.fortress-photo::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.48), transparent 24%, transparent 62%, rgba(5, 5, 5, 0.82)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.2), transparent 42%);
  pointer-events: none;
}

.fortress-photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fortress-photo__status,
.fortress-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 24px;
  left: 24px;
  display: grid;
  align-items: center;
  text-transform: uppercase;
}

.fortress-photo__status {
  top: 22px;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.92);
}

.fortress-photo__status span,
.fortress-photo__status small,
.fortress-photo figcaption span {
  color: #d7d4cd;
  font-size: 10px;
  font-weight: 700;
}

.fortress-photo__status strong {
  color: var(--white);
  font-size: 11px;
  text-align: center;
}

.fortress-photo__status small {
  justify-self: end;
}

.fortress-photo__pins {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.fortress-photo__pins li {
  position: absolute;
  top: var(--pin-y);
  left: var(--pin-x);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.fortress-pin {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 220, 155, 0.92);
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.82);
  box-shadow: 0 0 0 6px rgba(216, 162, 71, 0.13), 0 5px 18px rgba(0, 0, 0, 0.45);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fortress-pin::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(216, 162, 71, 0.85);
  content: "";
  transform: translate(16px, 16px);
}

.fortress-pin:hover,
.fortress-pin:focus-visible,
.fortress-pin.is-active {
  color: var(--black);
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(216, 162, 71, 0.24), 0 7px 24px rgba(0, 0, 0, 0.55);
  transform: scale(1.12);
}

.fortress-pin:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.fortress-photo figcaption {
  bottom: 22px;
  grid-template-columns: 0.55fr 1fr;
  gap: 32px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.96);
}

.fortress-photo figcaption p {
  max-width: 620px;
  margin: 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.fortress-detail {
  display: grid;
  grid-template-columns: 0.35fr minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  min-width: 0;
  padding: 26px 24px;
  background: #101010;
}

.fortress-detail > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.fortress-detail div {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.fortress-detail h3,
.fortress-detail p {
  margin: 0;
}

.fortress-detail h3 {
  font-size: 22px;
  text-transform: uppercase;
}

.fortress-detail p {
  max-width: 760px;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.55;
}

.fortress-detail > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-light);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.fortress-detail > a:hover,
.fortress-detail > a:focus-visible {
  border-color: var(--gold);
  color: var(--black);
  background: var(--gold);
  outline: none;
}

.fortress-system-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  background: var(--graphite);
  list-style: none;
}

.fortress-system-list li {
  min-width: 0;
  min-height: 112px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fortress-system-list li:nth-child(4n) {
  border-right: 0;
}

.fortress-system-list li:nth-child(n + 5) {
  border-bottom: 0;
}

.fortress-system-button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  width: 100%;
  min-height: 112px;
  padding: 22px 20px;
  border: 0;
  color: var(--white);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.fortress-system-button:hover,
.fortress-system-button:focus-visible,
.fortress-system-button.is-active {
  background: #1a1917;
  box-shadow: inset 3px 0 0 var(--gold);
  outline: none;
}

.fortress-system-button > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.fortress-system-button div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.fortress-system-button strong {
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
}

.fortress-system-button small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.analytics {
  padding-top: 0;
  background: var(--black);
}

.analytics-media {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
}

.analytics-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.analytics-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 50%, rgba(5, 5, 5, 0.76) 100%);
  pointer-events: none;
}

.analytics-feed-label,
.analytics-event,
.analytics-target {
  position: absolute;
  z-index: 2;
}

.analytics-feed-label {
  top: 28px;
  left: var(--gutter);
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  border-left: 2px solid var(--red);
  background: rgba(5, 5, 5, 0.75);
  text-transform: uppercase;
}

.analytics-feed-label span,
.analytics-target span,
.analytics-event span {
  color: #bab8b2;
  font-size: 10px;
  font-weight: 600;
}

.analytics-feed-label strong,
.analytics-event strong {
  font-size: 11px;
}

.analytics-target {
  border: 1px solid var(--gold-light);
}

.analytics-target span {
  position: absolute;
  top: -22px;
  left: -1px;
  padding: 3px 6px;
  color: var(--black);
  background: var(--gold-light);
  white-space: nowrap;
}

.analytics-target-person {
  top: 43%;
  left: 22%;
  width: 7%;
  height: 27%;
}

.analytics-target-vehicle {
  top: 18%;
  left: 31%;
  width: 13%;
  height: 28%;
  border-color: var(--blue);
}

.analytics-target-vehicle span {
  background: var(--blue);
}

.analytics-event {
  right: var(--gutter);
  bottom: 34px;
  display: grid;
  max-width: 340px;
  gap: 3px;
  padding: 18px 20px 18px 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
}

.analytics-event i {
  position: absolute;
  top: 22px;
  left: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.analytics-copy {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
  padding-top: 72px;
}

.analytics-copy > * {
  min-width: 0;
}

.analytics-copy h2 {
  font-size: 54px;
}

.analytics-panel > p {
  margin-bottom: 30px;
  color: var(--text);
  font-size: 18px;
}

.event-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-tabs button,
.solution-tabs button,
.problem-list button {
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.event-tabs button {
  min-height: 40px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.event-tabs button[aria-selected="true"] {
  color: var(--black);
  border-color: var(--gold);
  background: var(--gold);
}

.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 34px;
}

.solutions {
  border-top: 1px solid var(--line);
  background: var(--graphite);
}

.solution-browser {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 350px;
  min-height: 610px;
}

.solution-tabs {
  display: grid;
  align-content: stretch;
  border: 1px solid var(--line);
  border-right: 0;
}

.solution-tabs button {
  min-height: 78px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #0d0d0d;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.solution-tabs button:last-child {
  border-bottom: 0;
}

.solution-tabs button[aria-selected="true"] {
  color: var(--black);
  background: var(--gold);
}

.solution-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-code {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  min-width: 210px;
  gap: 4px;
  padding: 16px;
  border-left: 2px solid var(--gold);
  background: rgba(5, 5, 5, 0.76);
  text-transform: uppercase;
}

.solution-code span {
  color: var(--muted);
  font-size: 9px;
}

.solution-code strong {
  font-size: 11px;
}

.solution-detail {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #0d0d0d;
}

.solution-detail > div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.solution-detail > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.solution-detail span,
.problem-answer > span,
.case-copy > span,
.clients-heading .section-index,
.documents-heading .section-index {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.solution-detail li {
  position: relative;
  padding: 4px 0 4px 16px;
  color: var(--text);
  font-size: 13px;
}

.solution-detail li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 5px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.solution-detail p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 14px;
}

.problem-section {
  background: var(--black);
}

.problem-heading {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: 52px;
  align-items: end;
  margin-bottom: 54px;
}

.problem-heading > * {
  min-width: 0;
}

.problem-workspace {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 580px;
}

.problem-list {
  border: 1px solid var(--line);
}

.problem-list button {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #0d0d0d;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.problem-list button:last-child {
  border-bottom: 0;
}

.problem-list button span {
  font-size: 10px;
  font-weight: 500;
}

.problem-list button[aria-selected="true"] {
  color: var(--black);
  background: var(--gold);
}

.problem-answer {
  display: grid;
  min-width: 0;
  align-content: center;
  padding: 64px;
  border: 1px solid var(--line);
  border-left: 0;
  background: linear-gradient(130deg, #181818, #0a0a0a);
}

.problem-answer h3 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 38px;
}

.problem-answer > p {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--text);
  font-size: 17px;
}

.problem-answer ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-answer li {
  padding: 18px 12px;
  border-left: 1px solid var(--line);
  color: #d8d6d0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.problem-answer li:first-child {
  border-left: 0;
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--graphite);
}

.process-heading {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: 52px;
  align-items: end;
  margin-bottom: 50px;
}

.process-scroll {
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-color: var(--gold) var(--graphite-2);
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, 250px);
  min-width: 2500px;
  border-top: 1px solid var(--gold-dark);
}

.process-track li {
  position: relative;
  min-height: 240px;
  padding: 34px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.process-track li::before {
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--graphite);
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

.process-track span {
  display: block;
  margin-bottom: 44px;
  color: var(--gold-light);
  font-size: 11px;
}

.process-track strong {
  display: block;
  min-height: 44px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.3;
  text-transform: uppercase;
}

.process-track p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.cases {
  background: var(--black);
}

.case-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.case-study {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 560px;
  background: var(--black);
}

.case-study-reverse .case-image {
  order: 2;
}

.case-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-image > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-left: 2px solid var(--gold);
  background: rgba(5, 5, 5, 0.78);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.case-copy {
  min-width: 0;
  align-self: center;
  padding: 52px;
}

.case-copy h3 {
  margin-bottom: 34px;
  font-size: 34px;
}

.case-copy dl {
  margin-bottom: 0;
}

.case-copy dt {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.case-copy dd {
  margin: 7px 0 0;
  color: var(--text);
  font-size: 14px;
}

.proof {
  border-top: 1px solid var(--line);
  background: var(--graphite);
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 86px;
  align-items: start;
}

.proof-intro {
  position: sticky;
  top: calc(var(--header-height) + 42px);
}

.proof-intro h2 {
  margin-bottom: 28px;
  font-size: 48px;
}

.proof-intro > p:last-child {
  color: var(--text);
  font-size: 17px;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.proof-list > div {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
}

.proof-list > div:nth-child(2n) {
  border-right: 1px solid var(--line);
}

.proof-list > div:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.proof-list span {
  display: block;
  margin-bottom: 44px;
  color: var(--gold-light);
  font-size: 11px;
}

.proof-list strong {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  text-transform: uppercase;
}

.proof-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.clients,
.documents {
  margin-top: 120px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.clients-heading,
.documents-heading {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.65fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 38px;
}

.clients-heading h3,
.documents-heading h3 {
  font-size: 32px;
}

.documents-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--line);
  gap: 1px;
}

.client-grid > div {
  display: grid;
  min-height: 126px;
  place-items: center;
  padding: 22px;
  background: #0d0d0d;
}

.client-grid img {
  max-width: 140px;
  max-height: 58px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.7);
  opacity: 0.75;
  transition: filter 180ms ease, opacity 180ms ease;
}

.client-grid > div:hover img {
  filter: none;
  opacity: 1;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.document-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 132px 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 24px;
  min-height: 270px;
  padding: 26px;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: #0d0d0d;
  text-align: left;
  cursor: pointer;
}

.document-card img {
  grid-row: 1 / 4;
  width: 132px;
  height: 190px;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.55);
}

.document-card span {
  color: var(--gold-light);
  font-size: 10px;
  text-transform: uppercase;
}

.document-card strong {
  align-self: start;
  font-size: 14px;
  text-transform: uppercase;
}

.document-card small {
  align-self: end;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.document-card:hover strong,
.document-card:hover small {
  color: var(--gold-light);
}

.calculator {
  border-top: 1px solid var(--line);
  background: var(--black);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 82px;
  align-items: start;
}

.calculator-grid > * {
  min-width: 0;
}

.calculator-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.calculator-intro h2 {
  margin-bottom: 28px;
}

.calculator-intro > p {
  color: var(--text);
  font-size: 17px;
}

.calculator-summary {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  padding: 22px 0;
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--line);
}

.calculator-summary span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.calculator-summary strong {
  font-size: 13px;
  text-transform: uppercase;
}

.calculator-form,
.lead-form {
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--graphite);
}

.calc-progress {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 46px;
}

.calc-progress > span {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
}

.calc-progress > div {
  height: 2px;
  background: var(--line);
}

.calc-progress i {
  display: block;
  width: 14.285%;
  height: 100%;
  background: var(--gold);
  transition: width 260ms ease;
}

.calculator-form legend {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.choice-grid label {
  min-width: 0;
  background: #0d0d0d;
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.choice-grid span {
  display: flex;
  min-height: 68px;
  align-items: center;
  padding: 16px 20px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease;
}

.choice-grid input:checked + span {
  color: var(--black);
  background: var(--gold);
}

.choice-grid input:focus-visible + span {
  outline: 2px solid var(--gold-light);
  outline-offset: -3px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-row-contact {
  grid-template-columns: 0.75fr 1fr 1fr;
}

.field-row label,
.lead-form > label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field-row label > span,
.lead-form label > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  outline: 0;
  background: #0b0b0b;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

[aria-invalid="true"] {
  border-color: var(--red) !important;
}

.consent {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 10px !important;
  align-items: start;
  margin-top: 22px;
  cursor: pointer;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.consent span {
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.consent a {
  color: var(--white);
  text-decoration: underline;
}

.calc-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
}

.calc-actions button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.form-status {
  min-height: 22px;
  margin: 18px 0 0;
  color: var(--gold-light);
  font-size: 12px;
}

.survey {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.survey > img,
.survey-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.survey > img {
  object-fit: cover;
}

.survey-shade {
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.77) 50%, rgba(5, 5, 5, 0.45) 100%);
}

.survey-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
  align-items: center;
  padding-block: 90px;
}

.survey-grid > * {
  min-width: 0;
}

.survey-copy h2 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: 60px;
}

.survey-copy > p {
  max-width: 650px;
  color: #dddcd7;
  font-size: 18px;
}

.survey-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #e3e2dd;
  font-size: 13px;
}

.lead-form {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(14px);
}

.lead-form .field-row + .field-row,
.lead-form .field-row + label,
.lead-form > label + label {
  margin-top: 18px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}

.site-footer {
  padding-top: 72px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.7fr);
  gap: 58px;
  padding-bottom: 64px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.footer-brand img {
  width: 154px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand p {
  max-width: 310px;
}

.footer-grid > div > span {
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-grid a {
  color: var(--text);
  font-size: 13px;
}

.footer-grid a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.mobile-actions {
  display: none;
}

.license-dialog {
  width: min(1050px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 0;
  color: var(--white);
  background: #0b0b0b;
}

.license-dialog::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  color: var(--white);
  background: rgba(5, 5, 5, 0.85);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.license-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
}

.dialog-media {
  min-height: 0;
  overflow: auto;
  background: #e8e5de;
}

.dialog-media img {
  width: 100%;
  height: auto;
}

.dialog-copy {
  align-self: center;
  min-width: 0;
  padding: 42px;
}

.dialog-copy > span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.dialog-copy h2 {
  margin-bottom: 22px;
  font-size: 34px;
}

.dialog-copy p {
  margin-bottom: 28px;
  color: var(--text);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.utility-body {
  min-height: 100svh;
  padding: 0;
}

.utility-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.9);
}

.utility-header img {
  width: 142px;
  height: 52px;
  object-fit: contain;
}

.utility-main {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding-block: 130px 80px;
}

.utility-main > img,
.utility-main::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.utility-main > img {
  object-fit: cover;
}

.utility-main::after {
  content: "";
  background: rgba(5, 5, 5, 0.78);
}

.utility-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.utility-code {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.utility-content h1 {
  margin-bottom: 24px;
  font-size: 72px;
}

.utility-content p {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--text);
  font-size: 18px;
}

.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1220px) {
  :root {
    --gutter: 34px;
  }

  .site-header {
    grid-template-columns: 180px 1fr auto;
    gap: 22px;
  }

  .desktop-nav {
    gap: 20px;
  }

  .header-phone {
    display: none;
  }

  .hero h1 {
    font-size: 58px;
  }

  .manifesto h2,
  .section-heading h2,
  .fortress-heading h2,
  .problem-heading h2,
  .process-heading h2,
  .calculator-intro h2 {
    font-size: 48px;
  }

  .status-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .status-item:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .solution-browser {
    grid-template-columns: 170px minmax(0, 1fr) 310px;
  }

  .document-card {
    grid-template-columns: 100px 1fr;
    padding: 20px;
  }

  .document-card img {
    width: 100px;
    height: 150px;
  }
}

@media (max-width: 980px) {
  .hero::before {
    top: 16%;
    right: -10vw;
    width: min(68vw, 580px);
    opacity: 0.075;
  }

  .manifesto::before,
  .fortress::before,
  .solutions::before,
  .process::before,
  .proof::before,
  .inner-page main > .page-section:nth-of-type(even)::before,
  .inner-page main > .page-section--accent::before,
  .inner-page main > .service-brief::before,
  .news-article-page .article-section::before {
    width: min(82vw, 650px);
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    position: relative;
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    align-self: center;
  }

  .hero-interface {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .hero-interface__line,
  .hero-sensor {
    display: none;
  }

  .hero-console {
    right: var(--gutter);
    bottom: 132px;
  }

  .hero-proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-proof__grid > div:nth-child(3) {
    border-left: 0;
  }

  .status-heading,
  .manifesto-grid,
  .section-heading,
  .fortress-heading,
  .analytics-copy,
  .problem-heading,
  .process-heading,
  .proof-grid,
  .calculator-grid,
  .survey-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-card {
    min-height: 500px;
  }

  .fortress-workspace {
    grid-template-columns: 1fr;
  }

  .layer-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding: 0;
    background: var(--line);
  }

  .layer-controls legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .layer-controls label {
    padding: 10px 14px;
    border: 0;
    background: var(--graphite);
  }

  .solution-browser {
    grid-template-columns: 1fr;
  }

  .solution-tabs {
    grid-template-columns: repeat(3, 1fr);
    border-right: 1px solid var(--line);
  }

  .solution-tabs button {
    border-right: 1px solid var(--line);
  }

  .solution-visual {
    min-height: 520px;
  }

  .solution-detail {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .solution-detail > div {
    padding: 0 0 0 18px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .solution-detail > div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .solution-detail .button {
    grid-column: 1 / -1;
  }

  .problem-workspace {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .case-study {
    grid-template-columns: 1fr;
  }

  .case-study-reverse .case-image {
    order: 0;
  }

  .case-image {
    min-height: 480px;
  }

  .proof-intro,
  .calculator-intro {
    position: static;
  }

  .clients-heading,
  .documents-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .document-grid {
    grid-template-columns: 1fr;
  }

  .document-card {
    grid-template-columns: 120px 1fr;
  }

  .document-card img {
    width: 120px;
    height: 170px;
  }

  .survey-copy h2 {
    font-size: 50px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 66px;
    --gutter: 18px;
  }

  body {
    padding-bottom: 64px;
  }

  .section {
    padding-block: 76px;
  }

  .site-header {
    gap: 16px;
    padding-inline: 14px;
  }

  .brand {
    width: 128px;
    height: 50px;
  }

  .hero::before {
    top: 18%;
    right: -52vw;
    width: 108vw;
    opacity: 0.055;
  }

  .manifesto::before,
  .fortress::before,
  .solutions::before,
  .process::before,
  .proof::before,
  .inner-page main > .page-section:nth-of-type(even)::before,
  .inner-page main > .page-section--accent::before,
  .inner-page main > .service-brief::before,
  .news-article-page .article-section::before {
    right: -64vw;
    left: auto;
    width: 122vw;
    opacity: 0.03;
  }

  .page-hero::before {
    top: 16%;
    right: -48vw;
    width: 105vw;
    opacity: 0.045;
  }

  .inner-page main > .service-brief::before {
    opacity: 0.04;
  }

  .news-article-page .article-section::before {
    opacity: 0.025;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    inset: var(--header-height) 0 64px;
    padding: 22px 18px 18px;
  }

  .mobile-menu nav > a,
  .mobile-nav-group > summary {
    padding-block: 16px;
    font-size: 24px;
  }

  .mobile-nav-submenu {
    padding-left: 36px;
  }

  .mobile-menu__contacts {
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: calc(100svh - 86px);
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.45), rgba(5, 5, 5, 0.85) 72%, rgba(5, 5, 5, 0.96));
  }

  .hero-media img,
  .hero-media video {
    object-position: 76% center;
  }

  .hero-grid {
    align-items: start;
    padding-top: 116px;
    padding-bottom: 188px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: 31px;
    line-height: 1;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .button,
  .hero-actions .text-button {
    width: 100%;
  }

  .hero-console {
    display: none;
  }

  .hero-proof__grid {
    padding-block: 10px;
  }

  .hero-proof__grid > div {
    min-height: 54px;
    padding: 8px 10px;
  }

  .hero-proof strong {
    font-size: 10px;
  }

  .system-status {
    padding-block: 54px;
  }

  .status-heading {
    margin-bottom: 28px;
  }

  .status-heading h2 {
    font-size: 25px;
  }

  .status-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-item {
    min-height: 132px;
    padding: 18px 14px;
  }

  .status-item:nth-child(3),
  .status-item:nth-child(5) {
    border-left: 1px solid var(--line);
  }

  .status-item:nth-child(4) {
    border-left: 0;
  }

  .manifesto h2,
  .section-heading h2,
  .fortress-heading h2,
  .problem-heading h2,
  .process-heading h2,
  .calculator-intro h2,
  .analytics-copy h2,
  .proof-intro h2,
  .survey-copy h2 {
    font-size: 36px;
  }

  .manifesto-grid p,
  .section-heading > p,
  .fortress-heading > p:last-child,
  .analytics-panel > p,
  .proof-intro > p:last-child,
  .calculator-intro > p,
  .survey-copy > p {
    font-size: 16px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 470px;
  }

  .service-card__content {
    padding: 24px 20px;
    transform: none;
  }

  .service-card h3 {
    font-size: 28px;
  }

  .service-card a {
    opacity: 1;
  }

  .fortress-heading {
    margin-bottom: 34px;
  }

  .layer-controls {
    grid-template-columns: repeat(2, 1fr);
  }

  .layer-controls label {
    min-height: 58px;
  }

  .isometric-stage svg {
    min-width: 760px;
    min-height: 500px;
    transform: translateX(-128px);
  }

  .stage-header {
    right: 12px;
    left: 12px;
  }

  .stage-header strong {
    display: none;
  }

  .stage-legend {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .analytics-media {
    min-height: 640px;
  }

  .analytics-media > img {
    object-position: 37% center;
  }

  .analytics-feed-label {
    top: 18px;
    left: 18px;
  }

  .analytics-target-person {
    top: 42%;
    left: 28%;
    width: 16%;
    height: 25%;
  }

  .analytics-target-vehicle {
    top: 20%;
    left: 44%;
    width: 26%;
    height: 26%;
  }

  .analytics-event {
    right: 18px;
    bottom: 18px;
    left: 18px;
    max-width: none;
  }

  .analytics-copy {
    padding-top: 54px;
  }

  .analytics-actions {
    display: grid;
  }

  .analytics-actions .button,
  .analytics-actions .line-link {
    width: 100%;
  }

  .solution-tabs {
    display: flex;
    overflow-x: auto;
  }

  .solution-tabs button {
    flex: 0 0 auto;
    min-height: 52px;
  }

  .solution-visual {
    min-height: 430px;
  }

  .solution-visual img {
    object-position: 62% center;
  }

  .solution-detail {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .solution-detail > div,
  .solution-detail > div:first-child {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .solution-detail > div:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .problem-workspace {
    grid-template-columns: 1fr;
  }

  .problem-list {
    display: flex;
    overflow-x: auto;
  }

  .problem-list button {
    flex: 0 0 210px;
    min-height: 68px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .problem-answer {
    min-height: 470px;
    padding: 38px 20px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .problem-answer h3 {
    font-size: 29px;
  }

  .problem-answer ol {
    grid-template-columns: 1fr;
  }

  .problem-answer li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .problem-answer li:first-child {
    border-top: 0;
  }

  .process-track {
    grid-template-columns: repeat(10, 220px);
    min-width: 2200px;
  }

  .case-study {
    min-height: 0;
  }

  .case-image {
    min-height: 360px;
  }

  .case-copy {
    padding: 34px 20px;
  }

  .case-copy h3 {
    font-size: 28px;
  }

  .proof-list {
    grid-template-columns: 1fr;
  }

  .proof-list > div,
  .proof-list > div:nth-child(2n),
  .proof-list > div:nth-last-child(-n + 2) {
    min-height: 190px;
    border: 1px solid var(--line);
    border-bottom: 0;
  }

  .proof-list > div:last-child {
    border-bottom: 1px solid var(--line);
  }

  .proof-list span {
    margin-bottom: 28px;
  }

  .clients,
  .documents {
    margin-top: 76px;
  }

  .clients-heading h3,
  .documents-heading h3 {
    font-size: 27px;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-grid > div {
    min-height: 110px;
  }

  .document-card {
    grid-template-columns: 92px 1fr;
    min-height: 210px;
    gap: 16px;
    padding: 18px;
  }

  .document-card img {
    width: 92px;
    height: 140px;
  }

  .calculator-form,
  .lead-form {
    padding: 26px 18px;
  }

  .calculator-form legend {
    font-size: 24px;
  }

  .choice-grid,
  .field-row,
  .field-row-contact {
    grid-template-columns: 1fr;
  }

  .calc-actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
  }

  .calc-actions .button {
    padding-inline: 12px;
  }

  .survey {
    min-height: 0;
  }

  .survey > img {
    object-position: 68% center;
  }

  .survey-grid {
    padding-block: 76px;
  }

  .survey-contacts {
    display: grid;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    display: grid;
  }

  .mobile-actions {
    position: fixed;
    inset: auto 0 0;
    z-index: 220;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 64px;
    border-top: 1px solid var(--line-light);
    background: #080808;
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    border-left: 1px solid var(--line);
    color: #deddd9;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .mobile-actions a:first-child {
    border-left: 0;
  }

  .mobile-actions span {
    color: var(--gold-light);
    font-size: 18px;
    line-height: 1;
  }

  .license-dialog[open] {
    grid-template-columns: 1fr;
  }

  .dialog-media {
    max-height: 64svh;
  }

  .dialog-copy {
    padding: 28px 20px;
  }

  .dialog-copy h2 {
    font-size: 26px;
  }

  .utility-header img {
    width: 116px;
  }

  .utility-content h1 {
    font-size: 40px;
  }

  .utility-content p {
    font-size: 16px;
  }

  .utility-actions {
    display: grid;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 26px;
  }

  .manifesto h2,
  .section-heading h2,
  .fortress-heading h2,
  .problem-heading h2,
  .process-heading h2,
  .calculator-intro h2,
  .analytics-copy h2,
  .proof-intro h2,
  .survey-copy h2 {
    font-size: 31px;
  }

  .service-card h3,
  .case-copy h3 {
    font-size: 22px;
  }

  .problem-answer h3 {
    font-size: 25px;
  }

  .layer-controls label {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
    padding: 8px;
  }

  .layer-controls span {
    min-width: 0;
    gap: 6px;
    font-size: 9px;
    line-height: 1.2;
  }

  .layer-controls b {
    font-size: 9px;
  }
}

@media (max-width: 767px) and (max-height: 720px) {
  .hero-grid {
    padding-top: 96px;
    padding-bottom: 162px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .text-button {
    grid-column: 1 / -1;
  }

  .hero-actions .button {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .hero-proof {
    display: none;
  }
}

@media (max-width: 360px) and (max-height: 720px) {
  .hero h1 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.direction-select {
  padding-block: 108px;
  background: #070707;
}

.direction-select__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.62fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}

.direction-select__heading h2 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.96;
  text-transform: uppercase;
}

.direction-select__heading > p {
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.65;
}

.direction-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.direction-price-card {
  position: relative;
  display: grid;
  min-height: 248px;
  align-content: start;
  padding: 26px;
  color: var(--white);
  background: #0b0b0b;
  transition: background-color 180ms ease, color 180ms ease;
}

.direction-price-card::after {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--gold);
  content: "↗";
}

.direction-price-card:hover,
.direction-price-card:focus-visible {
  color: #050505;
  background: var(--gold);
  outline: none;
}

.direction-price-card:hover::after,
.direction-price-card:focus-visible::after,
.direction-price-card:hover > span,
.direction-price-card:focus-visible > span {
  color: #050505;
}

.direction-price-card > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
}

.direction-price-card h3 {
  max-width: 210px;
  margin-top: 50px;
  font-size: 20px;
  line-height: 1.08;
  text-transform: uppercase;
}

.direction-price-card strong {
  margin-top: 18px;
  font-size: 19px;
}

.direction-price-card p {
  margin-top: 9px;
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.5;
}

.direction-price-card:hover p,
.direction-price-card:focus-visible p {
  color: rgba(5, 5, 5, 0.72);
}

@media (max-width: 900px) {
  .direction-select__heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .direction-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .direction-select {
    padding-block: 76px;
  }

  .direction-select__heading {
    margin-bottom: 30px;
  }

  .direction-select__heading h2 {
    font-size: 38px;
  }

  .direction-price-grid {
    grid-template-columns: 1fr;
  }

  .direction-price-card {
    min-height: 184px;
    padding: 22px;
  }

  .direction-price-card h3 {
    margin-top: 34px;
  }
}

@media (max-width: 900px) {
  .fortress-photo {
    aspect-ratio: 4 / 3;
  }

  .fortress-photo > img {
    object-position: 62% center;
  }

  .fortress-photo__status {
    grid-template-columns: 1fr auto;
  }

  .fortress-photo__status strong {
    display: none;
  }

  .fortress-photo figcaption {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .fortress-detail {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 24px;
  }

  .fortress-detail > span {
    grid-column: 1 / -1;
  }

  .fortress-system-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fortress-system-list li:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .fortress-system-list li:nth-child(2n) {
    border-right: 0;
  }

  .fortress-system-list li:nth-child(n + 5) {
    border-bottom: 1px solid var(--line);
  }

  .fortress-system-list li:nth-child(n + 7) {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .fortress-photo {
    aspect-ratio: 3 / 4;
  }

  .fortress-photo > img {
    object-position: 68% center;
  }

  .fortress-photo__status,
  .fortress-photo figcaption {
    right: 14px;
    left: 14px;
  }

  .fortress-photo__status {
    top: 14px;
  }

  .fortress-photo__status small {
    font-size: 9px;
  }

  .fortress-photo__pins {
    display: none;
  }

  .fortress-photo figcaption {
    bottom: 14px;
  }

  .fortress-photo figcaption p {
    max-width: 28ch;
    font-size: 13px;
  }

  .fortress-detail {
    grid-template-columns: 1fr;
    padding: 22px 16px;
  }

  .fortress-detail > span,
  .fortress-detail div,
  .fortress-detail > a {
    grid-column: 1;
  }

  .fortress-detail > a {
    justify-content: space-between;
    width: 100%;
  }

  .fortress-system-list {
    grid-template-columns: 1fr;
  }

  .fortress-system-list li,
  .fortress-system-list li:nth-child(2n),
  .fortress-system-list li:nth-child(4n),
  .fortress-system-list li:nth-child(n + 5),
  .fortress-system-list li:nth-child(n + 7) {
    min-height: 0;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fortress-system-button {
    min-height: 0;
    padding: 18px 16px;
  }

  .fortress-system-list li:last-child {
    border-bottom: 0;
  }
}

/* Site assistant */
.site-assistant {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 260;
  font-family: Inter, "Arial Nova", "Segoe UI", Arial, sans-serif;
}

.site-assistant button,
.site-assistant input {
  letter-spacing: 0;
}

.site-assistant__launcher {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.48);
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.site-assistant__launcher:hover,
.site-assistant__launcher:focus-visible {
  color: var(--black);
  background: var(--gold-light);
  transform: translateY(-2px);
}

.site-assistant__launcher svg,
.site-assistant__close svg,
.site-assistant__form button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-assistant__status {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: #35c66d;
}

.site-assistant__panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  width: min(400px, calc(100vw - 32px));
  height: min(610px, calc(100vh - 118px));
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  visibility: hidden;
  opacity: 0;
  color: var(--white);
  background: #0b0b0b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  transform: translateY(12px) scale(0.985);
  transform-origin: right bottom;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.site-assistant__panel[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-assistant__header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #111111;
}

.site-assistant__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(242, 199, 111, 0.62);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.site-assistant__header div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-assistant__header strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-assistant__header div > span {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.site-assistant__header i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35c66d;
  box-shadow: 0 0 0 3px rgba(53, 198, 109, 0.11);
}

.site-assistant__close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.site-assistant__close:hover,
.site-assistant__close:focus-visible {
  color: var(--white);
  background: var(--graphite-2);
}

.site-assistant__messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 18px 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--line-light) transparent;
}

.site-assistant__message {
  display: grid;
  gap: 10px;
  width: fit-content;
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 0 6px 6px;
}

.site-assistant__message p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.site-assistant__message--bot {
  align-self: flex-start;
  border-left: 2px solid var(--gold);
  color: #dfddd7;
  background: #171717;
}

.site-assistant__message--user {
  align-self: flex-end;
  border-radius: 6px 0 6px 6px;
  color: var(--black);
  background: var(--gold-light);
}

.site-assistant__message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.site-assistant__message-actions a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(216, 162, 71, 0.42);
  border-radius: 4px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.site-assistant__message-actions a:hover,
.site-assistant__message-actions a:focus-visible {
  border-color: var(--gold-light);
  color: var(--black);
  background: var(--gold-light);
}

.site-assistant__typing {
  display: flex;
  gap: 4px;
  width: fit-content;
  padding: 12px 14px;
  border-left: 2px solid var(--gold);
  background: #171717;
}

.site-assistant__typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: assistant-typing 900ms ease-in-out infinite;
}

.site-assistant__typing span:nth-child(2) {
  animation-delay: 120ms;
}

.site-assistant__typing span:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes assistant-typing {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.site-assistant__suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 16px 13px;
}

.site-assistant__suggestions:empty {
  display: none;
}

.site-assistant__suggestions button {
  min-width: 0;
  min-height: 38px;
  padding: 7px 9px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #c9c7c1;
  background: #111111;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.site-assistant__suggestions button:hover,
.site-assistant__suggestions button:focus-visible {
  border-color: var(--gold);
  color: var(--white);
  background: #191919;
}

.site-assistant__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  padding: 12px 16px 8px;
  border-top: 1px solid var(--line);
  background: #111111;
}

.site-assistant__form input {
  width: 100%;
  height: 44px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  outline: 0;
  color: var(--white);
  background: #080808;
  font-size: 14px;
  font-weight: 400;
  transition: border-color 180ms ease;
}

.site-assistant__form input:focus {
  border-color: var(--gold);
}

.site-assistant__form input::placeholder {
  color: #6f6d68;
}

.site-assistant__form button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  color: var(--black);
  background: var(--gold);
  cursor: pointer;
  transition: background-color 180ms ease;
}

.site-assistant__form button:hover,
.site-assistant__form button:focus-visible {
  background: var(--gold-light);
}

.site-assistant__note {
  margin: 0;
  padding: 0 16px 10px;
  color: #696762;
  background: #111111;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  body.assistant-open {
    overflow: hidden;
  }

  .site-assistant {
    right: 12px;
    bottom: 78px;
  }

  .site-assistant__launcher {
    width: 54px;
    height: 54px;
  }

  .site-assistant__panel {
    position: fixed;
    right: 8px;
    bottom: 70px;
    left: 8px;
    width: auto;
    height: min(650px, calc(100dvh - 84px));
    min-height: 390px;
    transform-origin: center bottom;
  }

  .site-assistant__header {
    min-height: 64px;
    padding-block: 9px;
  }

  .site-assistant__messages {
    padding: 14px 12px;
  }

  .site-assistant__suggestions {
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-assistant__form {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 380px) {
  .site-assistant__suggestions {
    grid-template-columns: 1fr;
  }

  .site-assistant__message {
    max-width: 93%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-assistant__launcher,
  .site-assistant__panel,
  .site-assistant__close,
  .site-assistant__message-actions a,
  .site-assistant__suggestions button,
  .site-assistant__form button {
    transition: none;
  }

  .site-assistant__typing span {
    animation: none;
    opacity: 0.65;
  }
}
