:root {
  color-scheme: dark;
  --bg: #0d1117;
  --panel: #161b22;
  --panel-soft: rgba(22, 27, 34, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --subtle: rgba(255, 255, 255, 0.46);
  --cyan: #00c2ff;
  --green: #7ee787;
  --amber: #ffbf47;
  --danger: #ff4d5f;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: none;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 194, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 86% 20%, rgba(126, 231, 135, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, Satoshi, "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
}

body.fullpage-ready {
  height: 100svh;
  overflow: hidden;
}

body.fullpage-ready main {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

body.fullpage-ready .site-footer {
  display: none;
}

body.fullpage-ready main > section {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100svh;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: hidden;
  opacity: 0;
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 194, 255, 0.4) transparent;
  transform: translateY(78px) scale(0.965);
  transition:
    opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
}

body.fullpage-ready .hero,
body.fullpage-ready .section-pad {
  min-height: 100svh;
}

body.fullpage-ready .section-pad {
  justify-content: flex-start;
  padding-top: 124px;
  padding-bottom: 64px;
}

body.fullpage-ready .stats,
body.fullpage-ready .emergency {
  justify-content: center;
  padding-top: 96px;
}

body.fullpage-ready main > section::-webkit-scrollbar {
  width: 6px;
}

body.fullpage-ready main > section::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 194, 255, 0.36);
}

body.fullpage-ready main > section.is-before-active {
  transform: translateY(-78px) scale(0.965);
}

body.fullpage-ready main > section.is-active-section {
  z-index: 2;
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 70%);
}

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

button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.15), rgba(126, 231, 135, 0.08) 34%, transparent 68%);
  filter: blur(8px);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.25s ease;
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber));
  box-shadow: 0 0 22px rgba(0, 194, 255, 0.48);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 50;
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(13, 17, 23, 0.68);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(0, 194, 255, 0.24);
  background: rgba(13, 17, 23, 0.86);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
}

.brand,
.header-call {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 194, 255, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 194, 255, 0.16), rgba(126, 231, 135, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 24px rgba(0, 194, 255, 0.16);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
}

.brand-mark::before {
  inset: 8px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.brand-mark::after {
  left: 50%;
  top: 5px;
  width: 2px;
  height: 22px;
  background: var(--cyan);
  transform: translateX(-50%);
  box-shadow: -9px 9px 0 -0.5px var(--cyan), 9px 9px 0 -0.5px var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--cyan);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 194, 255, 0.28);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  appearance: none;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(6px);
}

.nav-toggle:hover {
  border-color: rgba(0, 194, 255, 0.5);
  background: rgba(0, 194, 255, 0.12);
}

.site-header.is-menu-open .nav-toggle {
  border-color: rgba(126, 231, 135, 0.42);
  background: rgba(126, 231, 135, 0.12);
}

.site-header.is-menu-open .nav-toggle span {
  transform: rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span::before {
  opacity: 0;
  transform: translateY(0);
}

.site-header.is-menu-open .nav-toggle span::after {
  transform: translateY(0) rotate(-90deg);
}

.header-call {
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(126, 231, 135, 0.28);
  border-radius: 8px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.88rem;
  background: rgba(126, 231, 135, 0.08);
}

.header-call span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 22px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--green);
  font-size: 0.72rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding: 142px max(24px, calc((100vw - var(--max)) / 2)) 78px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.hero::before,
.hero::after,
.hero-noise,
.hero-sweep {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  inset: -16% -12%;
  z-index: -4;
  background:
    radial-gradient(circle at 18% 52%, rgba(0, 194, 255, 0.24), transparent 26rem),
    radial-gradient(circle at 78% 38%, rgba(126, 231, 135, 0.15), transparent 30rem),
    linear-gradient(130deg, #06080d 0%, #0d1117 48%, #09111a 100%);
  animation: breathe 10s ease-in-out infinite alternate;
}

.hero::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-noise {
  inset: 0;
  z-index: -2;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px);
  background-size: 90px 90px, 132px 132px;
}

.hero-sweep {
  top: -28%;
  bottom: -28%;
  left: -42%;
  z-index: -1;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  filter: blur(2px);
  transform: rotate(14deg);
  animation: lightSweep 9s ease-in-out infinite;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 8.1vw, 7.3rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  font-weight: 850;
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn::before {
  position: absolute;
  inset: 0 auto 0 -72%;
  z-index: -1;
  width: 52%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}

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

.btn:hover::before {
  left: 122%;
}

.btn-primary {
  color: #041016;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 16px 48px rgba(0, 194, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 18px 58px rgba(0, 194, 255, 0.38);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.17);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-side {
  position: relative;
  align-self: end;
  display: grid;
  gap: 16px;
  margin-bottom: clamp(20px, 8vh, 96px);
}

.hero-photo-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(22, 27, 34, 0.7);
  box-shadow: var(--shadow);
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hero-photo-card::before,
.hero-photo-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-photo-card::before {
  z-index: 1;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(13, 17, 23, 0.86)),
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 194, 255, 0.22), transparent 28%);
}

.hero-photo-card::after {
  z-index: 2;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(126, 231, 135, 0.24), transparent);
  transform: translateX(-140%) skewX(-18deg);
  animation: mediaScan 4.8s ease-in-out infinite;
}

.hero-photo-card:hover {
  border-color: rgba(0, 194, 255, 0.34);
  box-shadow: 0 28px 84px rgba(0, 194, 255, 0.14), var(--shadow);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
}

.hero-photo-card img {
  --image-scale-start: 1.04;
  --image-scale-end: 1.09;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.08) brightness(0.78);
  transform: scale(var(--image-scale-start));
  animation: imageDrift 11s ease-in-out infinite alternate;
}

.hero-photo-card:hover img {
  --image-scale-start: 1.08;
  --image-scale-end: 1.13;
}

.hero-photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
}

.hero-photo-card figcaption span,
.media-card figcaption span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-photo-card figcaption strong {
  display: block;
  font-size: 1.15rem;
}

.hero-panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.78), rgba(22, 27, 34, 0.48));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.52), transparent 36%, rgba(126, 231, 135, 0.38));
  opacity: 0.42;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(126, 231, 135, 0.12), 0 0 24px rgba(126, 231, 135, 0.7);
  animation: pulseDot 1.7s ease-in-out infinite;
}

.dispatch-meter {
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.dispatch-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 24px rgba(0, 194, 255, 0.35);
}

.hero-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.hero-panel dl > div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

dt {
  color: var(--subtle);
  font-size: 0.76rem;
}

dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.hero-map-panel {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.88), rgba(22, 27, 34, 0.54));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-map-panel::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.52), transparent 36%, rgba(126, 231, 135, 0.38));
  opacity: 0.38;
}

.map-panel-head,
.map-search-row,
.map-open {
  display: flex;
  align-items: center;
}

.map-panel-head {
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.map-search {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.map-search label,
.field label,
.rating-field legend {
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.map-search-row {
  gap: 8px;
}

.map-search input,
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.map-search input,
.field input,
.field select {
  padding: 0 13px;
}

.field textarea {
  min-height: 142px;
  padding: 13px;
  resize: vertical;
}

.map-search input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(0, 194, 255, 0.58);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.11);
}

.map-search button {
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #041016;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.dispatch-map {
  position: relative;
  height: 272px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 36% 42%, rgba(0, 194, 255, 0.18), transparent 9rem),
    radial-gradient(circle at 72% 62%, rgba(126, 231, 135, 0.14), transparent 10rem),
    #09111a;
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
}

.dispatch-map .leaflet-tile {
  filter: saturate(0.72) contrast(1.08) brightness(0.66);
}

.dispatch-map .leaflet-control-attribution {
  border-radius: 6px 0 0 0;
  color: rgba(255, 255, 255, 0.64);
  background: rgba(13, 17, 23, 0.78);
}

.dispatch-map .leaflet-control-attribution a {
  color: var(--green);
}

.dispatch-map .leaflet-popup-content-wrapper,
.dispatch-map .leaflet-popup-tip {
  color: var(--text);
  background: #101821;
}

.map-status {
  min-height: 42px;
  margin: 12px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.map-open {
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(126, 231, 135, 0.28);
  border-radius: 8px;
  color: var(--green);
  background: rgba(126, 231, 135, 0.08);
  font-size: 0.88rem;
  font-weight: 850;
}

.fallback-marker,
.fallback-route {
  position: absolute;
  pointer-events: none;
}

.fallback-marker {
  z-index: 2;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #09111a;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(126, 231, 135, 0.13);
  transform: translate(-50%, -50%);
}

.fallback-marker.destination {
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(0, 194, 255, 0.13);
}

.fallback-route {
  left: 26%;
  top: 62%;
  width: 48%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transform-origin: left center;
}

.section-pad {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
}

main > section {
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-flow {
  position: relative;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(96px) scale(0.94);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter, transform;
}

.section-flow::before {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2));
  right: max(24px, calc((100vw - var(--max)) / 2));
  top: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.5), rgba(126, 231, 135, 0.42), transparent);
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform-origin: center;
}

.section-flow.is-section-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.section-flow.is-section-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.section-heading {
  margin-bottom: 46px;
}

.stats {
  padding-top: 50px;
}

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

.stat {
  position: relative;
  min-height: 168px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.82), rgba(22, 27, 34, 0.46));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.stat::after {
  position: absolute;
  inset: 0;
  width: 36%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.14), transparent);
  transform: translateX(-140%) skewX(-18deg);
  animation: statSweep 5.8s ease-in-out infinite;
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1;
}

.stat span:last-child {
  color: var(--muted);
}

.services {
  position: relative;
}

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

.service-card {
  position: relative;
  display: block;
  min-height: 286px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(22, 27, 34, 0.62);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  content: "";
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 194, 255, 0.38), transparent 30%),
    linear-gradient(135deg, rgba(0, 194, 255, 0.55), transparent 32%, rgba(126, 231, 135, 0.38));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card::after {
  position: absolute;
  right: -52px;
  bottom: -58px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(0, 194, 255, 0.09), transparent 62%);
}

.service-card:hover {
  border-color: rgba(0, 194, 255, 0.4);
  box-shadow: 0 26px 76px rgba(0, 194, 255, 0.13), 0 18px 54px rgba(0, 0, 0, 0.28);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
}

.service-card:hover::before {
  opacity: 0.32;
}

.service-card:hover .service-icon {
  border-color: rgba(0, 194, 255, 0.52);
  box-shadow: 0 0 34px rgba(0, 194, 255, 0.2);
  transform: translateY(-3px) rotate(-2deg);
}

.service-card h3,
.service-card p,
.service-icon,
.card-link {
  position: relative;
  z-index: 1;
}

.service-card p {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 850;
}

.service-icon {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.icon-trap::before {
  width: 24px;
  height: 18px;
  border: 2px solid var(--cyan);
  border-radius: 4px;
  box-shadow: 0 0 0 6px rgba(0, 194, 255, 0.06);
}

.icon-trap::after {
  top: 14px;
  width: 2px;
  height: 25px;
  background: var(--green);
  transform: rotate(38deg);
}

.icon-scan::before {
  width: 30px;
  height: 30px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  border-left-color: transparent;
}

.icon-scan::after {
  width: 34px;
  height: 2px;
  background: var(--green);
  animation: scanIcon 2.4s ease-in-out infinite;
}

.icon-shield::before {
  width: 26px;
  height: 30px;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.7), rgba(126, 231, 135, 0.65));
  clip-path: polygon(50% 0, 90% 14%, 82% 72%, 50% 100%, 18% 72%, 10% 14%);
}

.icon-gas::before {
  width: 30px;
  height: 30px;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow:
    -10px 7px 0 -7px var(--cyan),
    10px 8px 0 -7px var(--cyan),
    0 0 0 8px rgba(126, 231, 135, 0.06);
}

.icon-gas::after {
  width: 38px;
  height: 14px;
  border-top: 2px solid var(--cyan);
  border-radius: 50%;
  transform: translateY(9px);
}

.icon-lock::before {
  width: 26px;
  height: 20px;
  border: 2px solid var(--green);
  border-radius: 4px;
  transform: translateY(5px);
}

.icon-lock::after {
  top: 11px;
  width: 18px;
  height: 16px;
  border: 2px solid var(--cyan);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.icon-pulse::before {
  width: 34px;
  height: 18px;
  border-bottom: 2px solid var(--cyan);
  background: linear-gradient(135deg, transparent 18%, var(--green) 19% 23%, transparent 24% 48%, var(--green) 49% 54%, transparent 55%);
}

.icon-alert::before {
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 30px solid rgba(255, 191, 71, 0.92);
}

.icon-alert::after {
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: #111;
  box-shadow: 0 18px 0 #111;
  transform: translateY(3px);
}

.service-details {
  background:
    radial-gradient(circle at 82% 10%, rgba(126, 231, 135, 0.08), transparent 22rem),
    rgba(255, 255, 255, 0.01);
}

.home-page #detail-sluzieb {
  display: none;
}

.detail-page .service-details {
  justify-content: flex-start;
  padding-top: 142px;
}

.service-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -24px 0 32px;
}

.service-switcher a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-switcher a.is-active {
  border-color: rgba(126, 231, 135, 0.36);
  color: var(--green);
  background: rgba(126, 231, 135, 0.09);
}

.detail-page .detail-stack .service-detail {
  display: none;
}

.detail-page .detail-stack .service-detail.is-active-detail {
  display: grid;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: stretch;
  scroll-margin-top: 104px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(22, 27, 34, 0.66);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.24);
}

.detail-copy {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
}

.detail-index {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
}

.detail-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.detail-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.detail-copy ul {
  display: grid;
  gap: 9px;
  margin: 4px 0 24px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.detail-copy li {
  position: relative;
  padding-left: 22px;
  line-height: 1.55;
}

.detail-copy li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--green);
  box-shadow: 0 0 18px rgba(126, 231, 135, 0.44);
  transform: translateY(-50%);
}

.detail-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(0, 194, 255, 0.32);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(0, 194, 255, 0.08);
  font-weight: 850;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  min-height: 318px;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  min-height: 318px;
  border-radius: 8px;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.08) brightness(0.78);
}

.detail-gallery img:nth-child(2) {
  min-height: 240px;
  align-self: end;
}

.pricing {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 191, 71, 0.08), transparent 23rem),
    rgba(255, 255, 255, 0.012);
}

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

.price-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(22, 27, 34, 0.66);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
}

.price-card h3 {
  margin-bottom: 18px;
  color: var(--text);
}

.price-card table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card tr {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price-card th,
.price-card td {
  padding: 13px 0;
  vertical-align: top;
}

.price-card th {
  padding-right: 18px;
  color: var(--muted);
  font-weight: 650;
  text-align: left;
}

.price-card td {
  color: var(--green);
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.pricing-note {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-note a {
  color: var(--green);
  font-weight: 850;
}

.certificates {
  background:
    radial-gradient(circle at 82% 18%, rgba(126, 231, 135, 0.08), transparent 24rem),
    radial-gradient(circle at 16% 72%, rgba(0, 194, 255, 0.07), transparent 24rem),
    rgba(255, 255, 255, 0.01);
}

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

.certificate-card {
  position: relative;
  min-height: 360px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(22, 27, 34, 0.68);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.certificate-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 6px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.certificate-document {
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  gap: 16px;
  padding: 16px;
}

.certificate-preview {
  min-height: 360px;
  border: 1px solid rgba(0, 194, 255, 0.22);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.certificate-preview img {
  display: block;
  width: 100%;
  height: 420px;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.94) contrast(1.04);
}

.certificate-preview object {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  pointer-events: none;
}

.certificate-preview span {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 24px;
  color: #111827;
  text-align: center;
  font-weight: 850;
}

.certificate-caption {
  display: grid;
  gap: 8px;
}

.certificate-caption span {
  width: max-content;
  padding: 6px 9px;
  border: 1px solid rgba(126, 231, 135, 0.28);
  border-radius: 6px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.certificate-caption strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.certificate-caption a {
  color: var(--green);
  font-weight: 850;
}

.certificate-placeholder {
  display: grid;
  align-content: end;
  gap: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(22, 27, 34, 0.42), rgba(13, 17, 23, 0.94));
}

.certificate-placeholder::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(0, 194, 255, 0.26);
  border-radius: 6px;
  content: "";
}

.certificate-placeholder span,
.certificate-placeholder strong {
  position: relative;
  z-index: 1;
}

.certificate-placeholder span {
  width: max-content;
  padding: 6px 9px;
  border: 1px solid rgba(126, 231, 135, 0.28);
  border-radius: 6px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.certificate-placeholder strong {
  color: var(--text);
  font-size: 1.25rem;
}

.operation-media {
  position: relative;
  background:
    radial-gradient(circle at 12% 28%, rgba(0, 194, 255, 0.08), transparent 22rem),
    radial-gradient(circle at 82% 60%, rgba(255, 191, 71, 0.08), transparent 24rem);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(250px, auto);
  gap: 16px;
}

.media-card {
  position: relative;
  min-height: 318px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(22, 27, 34, 0.7);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
  isolation: isolate;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.media-card-large {
  grid-row: span 2;
  min-height: 652px;
}

.media-card::before,
.media-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.media-card::before {
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(13, 17, 23, 0.1), rgba(13, 17, 23, 0.92)),
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 194, 255, 0.22), transparent 30%);
}

.media-card::after {
  z-index: 2;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-145%) skewX(-18deg);
  animation: mediaScan 6.4s ease-in-out infinite;
}

.media-card:hover {
  border-color: rgba(0, 194, 255, 0.36);
  box-shadow: 0 30px 90px rgba(0, 194, 255, 0.12), 0 22px 70px rgba(0, 0, 0, 0.36);
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
}

.media-card img {
  --image-scale-start: 1.05;
  --image-scale-end: 1.1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.1) brightness(0.72);
  transform: scale(var(--image-scale-start));
  transition: filter 0.35s ease, transform 0.55s ease;
  animation: imageDrift 12s ease-in-out infinite alternate;
}

.media-card:hover img {
  --image-scale-start: 1.09;
  --image-scale-end: 1.14;
  filter: saturate(0.86) contrast(1.12) brightness(0.84);
}

.media-card figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
}

.media-card figcaption strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  line-height: 1.05;
}

.media-card figcaption p {
  max-width: 32rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.process {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    rgba(255, 255, 255, 0.01);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.timeline::before,
.timeline-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 37px;
  height: 2px;
  border-radius: 999px;
  content: "";
}

.timeline::before {
  background: rgba(255, 255, 255, 0.12);
}

.timeline-progress {
  right: auto;
  z-index: 1;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 24px rgba(0, 194, 255, 0.4);
  transition: width 0.18s linear;
}

.timeline-item {
  position: relative;
  min-height: 210px;
  padding: 74px 18px 0 0;
}

.timeline-item span {
  position: absolute;
  left: 0;
  top: 12px;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(0, 194, 255, 0.34);
  border-radius: 50%;
  color: var(--green);
  background: #0d1117;
  box-shadow: 0 0 0 8px var(--bg);
  font-size: 0.82rem;
  font-weight: 850;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.6;
}

.comparison {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #090d12;
  box-shadow: var(--shadow);
}

.comparison-layer {
  position: absolute;
  inset: 0;
}

.comparison-after {
  width: 55%;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.visual-map {
  position: absolute;
  inset: 0;
  min-width: min(100vw - 48px, var(--max));
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.08), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
  background-size: 54px 54px, 54px 54px, auto, auto;
}

.visual-before {
  background-color: #130d10;
  filter: saturate(0.96);
}

.visual-after {
  background-color: #07120f;
}

.visual-map::before,
.visual-map::after {
  position: absolute;
  content: "";
}

.visual-map::before {
  left: 8%;
  top: 18%;
  width: 72%;
  height: 58%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 35%, rgba(255, 255, 255, 0.12) 35% 36%, transparent 36% 65%, rgba(255, 255, 255, 0.12) 65% 66%, transparent 66%),
    linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, 0.12) 46% 47%, transparent 47%);
}

.visual-map::after {
  right: 9%;
  bottom: 12%;
  width: 31%;
  height: 22%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.zone {
  position: absolute;
  z-index: 1;
  display: block;
  width: 118px;
  height: 118px;
  border-radius: 50%;
}

.zone-risk {
  left: 16%;
  top: 28%;
  border: 1px solid rgba(255, 77, 95, 0.56);
  background: radial-gradient(circle, rgba(255, 77, 95, 0.36), transparent 62%);
  box-shadow: 0 0 54px rgba(255, 77, 95, 0.32);
  animation: riskPulse 2.8s ease-in-out infinite;
}

.zone-clear {
  left: 16%;
  top: 28%;
  border: 1px solid rgba(126, 231, 135, 0.5);
  background: radial-gradient(circle, rgba(126, 231, 135, 0.22), transparent 62%);
  box-shadow: 0 0 54px rgba(126, 231, 135, 0.24);
}

.zone-two {
  left: 52%;
  top: 44%;
  width: 92px;
  height: 92px;
  animation-delay: 0.8s;
}

.zone-three {
  left: 72%;
  top: 23%;
  width: 74px;
  height: 74px;
  animation-delay: 1.4s;
}

.map-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  background: rgba(13, 17, 23, 0.74);
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.comparison-before .map-label {
  left: auto;
  right: 24px;
}

.comparison-handle {
  position: absolute;
  left: 55%;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  transform: translateX(-1px);
}

.comparison-handle::before {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--bg);
  content: "↔";
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 16px 42px rgba(0, 194, 255, 0.36);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  opacity: 0;
}

.review-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.review-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marquee 24s linear infinite;
}

.review-marquee:hover .review-track {
  animation-play-state: paused;
}

.review-card {
  width: min(410px, calc(100vw - 52px));
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(22, 27, 34, 0.62);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.stars {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--amber);
}

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

.review-card strong {
  color: var(--text);
}

.reviews {
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 194, 255, 0.08), transparent 22rem),
    rgba(255, 255, 255, 0.01);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.review-form,
.order-form {
  scroll-margin-top: 112px;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(22, 27, 34, 0.68);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
}

.field {
  display: grid;
  gap: 8px;
}

.rating-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-field legend {
  margin-bottom: 10px;
}

.rating-options {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.rating-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-options label {
  color: rgba(255, 255, 255, 0.22);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}

.rating-options label:hover,
.rating-options label:hover ~ label,
.rating-options input:checked ~ label {
  color: var(--amber);
}

.rating-options label:hover {
  transform: translateY(-2px);
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-list .review-card {
  width: auto;
  min-height: 214px;
}

.review-card.is-new {
  border-color: rgba(126, 231, 135, 0.32);
  background: linear-gradient(145deg, rgba(126, 231, 135, 0.08), rgba(22, 27, 34, 0.68));
}

.form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--green);
  font-size: 0.9rem;
  line-height: 1.45;
}

.order-section {
  background:
    radial-gradient(circle at 86% 22%, rgba(255, 191, 71, 0.12), transparent 24rem),
    radial-gradient(circle at 12% 72%, rgba(0, 194, 255, 0.08), transparent 26rem);
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 24px;
  align-items: start;
}

.order-copy {
  position: sticky;
  top: 118px;
}

.order-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.order-page-section {
  min-height: 100svh;
  padding-top: 140px;
}

.order-page .order-copy h1 {
  max-width: 500px;
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  line-height: 1.02;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(22, 27, 34, 0.68);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
}

.contact-line {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-line:hover {
  border-color: rgba(0, 194, 255, 0.28);
  background: rgba(0, 194, 255, 0.06);
  transform: translateY(-2px);
}

.contact-line span {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-line strong {
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
}

.company-details {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(126, 231, 135, 0.22);
  border-radius: 8px;
  color: var(--muted);
  background: linear-gradient(145deg, rgba(126, 231, 135, 0.08), rgba(255, 255, 255, 0.03));
}

.company-details span:first-child {
  color: var(--text);
  font-weight: 850;
}

.company-details-inline {
  max-width: 420px;
  margin-top: 18px;
}

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

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.emergency {
  padding-bottom: 118px;
}

.emergency-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(255, 191, 71, 0.25);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(255, 191, 71, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 77, 95, 0.11), rgba(0, 194, 255, 0.06)),
    rgba(22, 27, 34, 0.72);
  box-shadow: 0 24px 86px rgba(0, 0, 0, 0.36);
}

.emergency-inner::before {
  position: absolute;
  inset: -30% auto -30% -16%;
  width: 36%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(18deg);
  animation: emergencySweep 5.6s ease-in-out infinite;
}

.emergency-inner p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.btn-emergency {
  min-width: 206px;
  color: #16100a;
  background: linear-gradient(135deg, var(--amber), var(--green));
  box-shadow: 0 0 0 0 rgba(255, 191, 71, 0.4);
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  padding: 34px 24px 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
}

.site-footer span {
  color: var(--text);
  font-weight: 850;
}

.site-footer small {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease var(--reveal-delay, 0ms), transform 0.65s ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes breathe {
  from {
    transform: scale(1);
    filter: hue-rotate(0deg);
  }
  to {
    transform: scale(1.04);
    filter: hue-rotate(7deg);
  }
}

@keyframes lightSweep {
  0%,
  46% {
    left: -42%;
    opacity: 0;
  }
  54% {
    opacity: 1;
  }
  100% {
    left: 126%;
    opacity: 0;
  }
}

@keyframes pulseDot {
  50% {
    box-shadow: 0 0 0 10px rgba(126, 231, 135, 0.05), 0 0 30px rgba(126, 231, 135, 0.86);
  }
}

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

@keyframes statSweep {
  0%,
  54% {
    transform: translateX(-145%) skewX(-18deg);
    opacity: 0;
  }
  62% {
    opacity: 1;
  }
  100% {
    transform: translateX(340%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes mediaScan {
  0%,
  48% {
    transform: translateX(-145%) skewX(-18deg);
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  100% {
    transform: translateX(520%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes imageDrift {
  from {
    transform: scale(var(--image-scale-start)) translate3d(-1.2%, -0.8%, 0);
  }
  to {
    transform: scale(var(--image-scale-end)) translate3d(1.2%, 0.8%, 0);
  }
}

@keyframes riskPulse {
  50% {
    opacity: 0.62;
    transform: scale(1.08);
  }
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@keyframes emergencySweep {
  0%,
  40% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  56% {
    opacity: 1;
  }
  100% {
    transform: translateX(460%) rotate(18deg);
    opacity: 0;
  }
}

@keyframes ctaPulse {
  50% {
    box-shadow: 0 0 0 12px rgba(255, 191, 71, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(13, 17, 23, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
  }

  .site-header.is-menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    border-color: rgba(0, 194, 255, 0.34);
    background: rgba(0, 194, 255, 0.11);
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 124px;
  }

  .hero-side {
    max-width: 520px;
    margin-bottom: 0;
  }

  .stats-grid,
  .services-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail,
  .reviews-layout,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .order-copy {
    position: static;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-card,
  .media-card-large {
    grid-row: auto;
    min-height: 420px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline::before,
  .timeline-progress {
    left: 25px;
    right: auto;
    top: 0;
    width: 2px;
    height: 100%;
  }

  .timeline-progress {
    height: 0%;
    transition: height 0.18s linear;
  }

  .timeline-item {
    min-height: 0;
    padding: 0 0 34px 82px;
  }

  .timeline-item span {
    top: 0;
  }

  .comparison {
    min-height: 440px;
  }

  .emergency-inner {
    grid-template-columns: 1fr;
  }

  .review-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 12px;
    width: min(calc(100% - 20px), var(--max));
    gap: 10px;
  }

  .brand {
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-call {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .header-call span {
    display: none;
  }

  .hero {
    min-height: 94svh;
    padding-inline: 18px;
  }

  body.fullpage-ready .hero {
    min-height: 100svh;
    align-content: flex-start;
    align-items: flex-start;
    padding: 104px 18px 34px;
  }

  h1 {
    font-size: clamp(2.28rem, 10.8vw, 3.25rem);
    line-height: 0.98;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-side {
    width: 100%;
    gap: 0;
    margin-top: 18px;
  }

  .hero-photo-card,
  .hero-photo-card img {
    min-height: 178px;
  }

  .hero-map-panel {
    margin-top: 12px;
    padding: 14px;
  }

  .map-search-row,
  .form-grid,
  .certificate-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dispatch-map {
    height: 232px;
  }

  body.fullpage-ready .hero-panel,
  body.fullpage-ready .hero-map-panel {
    display: none;
  }

  .section-pad {
    padding: 72px 18px;
  }

  body.fullpage-ready .section-pad {
    padding: 104px 18px 42px;
  }

  body.fullpage-ready .stats,
  body.fullpage-ready .emergency {
    padding-top: 104px;
  }

  main > section {
    scroll-margin-top: 0;
  }

  .section-flow {
    transform: translateY(56px) scale(0.97);
  }

  .stats-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 138px;
  }

  .service-card {
    min-height: 236px;
  }

  .detail-stack {
    gap: 12px;
  }

  .service-detail,
  .price-card,
  .review-form,
  .order-form {
    padding: 18px;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .detail-gallery img,
  .detail-gallery img:nth-child(2) {
    min-height: 220px;
  }

  .price-card tr {
    display: grid;
    gap: 4px;
    padding: 12px 0;
  }

  .price-card th,
  .price-card td {
    padding: 0;
  }

  .price-card td {
    text-align: left;
    white-space: normal;
  }

  body.fullpage-ready .services .section-heading,
  body.fullpage-ready .operation-media .section-heading {
    margin-bottom: 24px;
  }

  body.fullpage-ready .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.fullpage-ready .service-card {
    min-height: 128px;
    padding: 16px;
  }

  body.fullpage-ready .service-card p {
    display: none;
  }

  body.fullpage-ready .service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
  }

  body.fullpage-ready .service-card h3 {
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  .media-card,
  .media-card-large {
    min-height: 332px;
  }

  body.fullpage-ready .media-grid {
    gap: 10px;
  }

  body.fullpage-ready .media-card,
  body.fullpage-ready .media-card-large {
    min-height: 132px;
  }

  body.fullpage-ready .media-card figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  body.fullpage-ready .media-card figcaption strong {
    margin-bottom: 0;
    font-size: 1rem;
  }

  body.fullpage-ready .media-card figcaption p {
    display: none;
  }

  .media-card figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .comparison {
    min-height: 360px;
  }

  .visual-map {
    min-width: calc(100vw - 36px);
  }

  .zone {
    width: 78px;
    height: 78px;
  }

  .zone-two {
    width: 64px;
    height: 64px;
  }

  .zone-three {
    width: 52px;
    height: 52px;
  }

  .map-label {
    left: 14px;
    bottom: 14px;
    font-size: 0.82rem;
  }

  .comparison-before .map-label {
    right: 14px;
  }

  .review-card {
    min-height: 286px;
  }

  .site-footer {
    justify-content: flex-start;
  }
}

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

  .cursor-glow {
    display: none;
  }

  .scroll-progress {
    display: none;
  }

  .section-flow {
    opacity: 1;
    filter: none;
    transform: none;
  }

  html {
    scroll-snap-type: none;
  }
}
