:root {
  /* Theme 3: Titanium Slate & Ice Silver */
  --bg-void: #0b121e;
  --bg-surface: #111b2e;
  --bg-elevated: #16233b;
  --bg-elevated-hover: #1c2d4b;
  --bg-glass: rgba(11, 18, 30, 0.90);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-blue: #0284c7;
  --accent-blue-hover: #0369a1;
  --accent-cyan: #38bdf8;
  --accent-silver: #e2e8f0;
  --accent-whatsapp: #10b981;
  --accent-whatsapp-hover: #059669;

  --border-subtle: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(56, 189, 248, 0.45);
  --border-silver: rgba(226, 232, 240, 0.34);

  --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1240px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

html[lang="kk"] {
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
}

@media (pointer: fine) {
  html {
    overscroll-behavior: none;
  }
}

body {
  min-height: 100vh;
  background-color: var(--bg-void);
  background-image:
    radial-gradient(circle at 14% 8%, rgba(2, 132, 199, 0.16), transparent 38%),
    radial-gradient(circle at 86% 14%, rgba(226, 232, 240, 0.06), transparent 32%);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

section[id],
aside[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
dialog:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(56, 189, 248, 0.15);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text-primary);
}

p, li {
  text-wrap: pretty;
  max-width: 72ch;
}

/* Top Utility Bar */
.utility-bar {
  background-color: #070c15;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 6px;
}

.utility-bar__left,
.utility-bar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-whatsapp);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.utility-bar__phone {
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  transition: color 0.18s ease;
}

.utility-bar__phone:hover {
  color: var(--accent-cyan);
}

.utility-bar__divider {
  color: var(--border-subtle);
}

/* Sticky Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* ==========================================================================
   Victory 121 High-Contrast Header Logo (Option 1: Manrope 800 + Ice Cyan #38BDF8)
   ========================================================================== */
.v121-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  user-select: none;
}

.v121-logo__globe {
  display: block;
  width: 42px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.35));
  flex-shrink: 0;
}

.v121-logo__wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 1.48rem;
  letter-spacing: -0.02em;
  gap: 3px;
}

.v121-logo__victory {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.v121-logo__num {
  color: #38bdf8;
  background: linear-gradient(180deg, #bae6fd 0%, #38bdf8 55%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45));
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.18s ease;
}

.desktop-nav__link:hover {
  color: var(--text-primary);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-switch__btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-switch__btn:hover {
  color: var(--text-primary);
}

.lang-switch__btn.is-active {
  background-color: var(--accent-blue);
  color: #ffffff;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.header-phone:hover {
  border-color: var(--border-strong);
  background-color: rgba(56, 189, 248, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  font-size: 0.84rem;
  padding: 8px 14px;
}

.btn--lg {
  font-size: 0.96rem;
  padding: 13px 20px;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background-color: var(--accent-blue);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--accent-blue-hover);
}

.btn--primary-soft {
  background-color: rgba(2, 132, 199, 0.18);
  border-color: rgba(56, 189, 248, 0.38);
  color: #e0f2fe;
}

.btn--primary-soft:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.btn--whatsapp {
  background-color: var(--accent-whatsapp);
  color: #032218;
  font-weight: 700;
}

.btn--whatsapp:hover {
  background-color: var(--accent-whatsapp-hover);
  color: #ffffff;
}

.btn--outline {
  background-color: rgba(22, 35, 59, 0.65);
  border-color: var(--border-silver);
  color: var(--text-primary);
}

.btn--outline:hover {
  border-color: var(--accent-cyan);
  background-color: rgba(56, 189, 248, 0.12);
}

.btn--ghost {
  background-color: transparent;
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-silver);
  background-color: rgba(255, 255, 255, 0.04);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overscroll-behavior: contain;
  z-index: 200;
}

.mobile-drawer::backdrop {
  background: rgba(5, 9, 18, 0.78);
  backdrop-filter: blur(6px);
}

.mobile-drawer__panel {
  margin-left: auto;
  width: min(360px, 90vw);
  height: 100%;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.icon-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.icon-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-block: 20px;
}

.mobile-drawer__link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  transition: background-color 0.18s ease;
}

.mobile-drawer__link:hover {
  background-color: var(--bg-elevated);
}

.mobile-drawer__footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
}

.mobile-drawer__label {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.mobile-drawer__phone {
  color: var(--accent-cyan);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
}

.mobile-drawer__cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

/* ==========================================================================
   Hero Section & Signature Animated Equipment Showcase
   ========================================================================== */
.hero-section {
  padding-top: 42px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.authority-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background-color: rgba(2, 132, 199, 0.14);
  border: 1px solid var(--border-silver);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-silver);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.authority-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

.hero-title {
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.82rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 0.45vw + 0.86rem, 1.08rem);
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 58ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-metric {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 16px;
}

.hero-metric__label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.hero-metric__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  line-height: 1.3;
  padding-bottom: 2px;
  color: var(--accent-silver);
  font-variant-numeric: tabular-nums;
}

/* Signature Animated Circuit Board & Equipment Carousel */
.hero-showcase-wrap {
  width: 100%;
}

.hero-image.hero-showcase {
  position: relative;
  height: 430px;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-silver);
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 48%, rgba(2, 132, 199, 0.25), transparent 54%),
    linear-gradient(145deg, #111b2e 0%, #09101d 100%);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.48);
}

.hero-image.hero-showcase::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 74%;
  height: 64%;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(56, 189, 248, 0.26) 0%,
    rgba(2, 132, 199, 0.12) 46%,
    transparent 72%
  );
  filter: blur(12px);
  animation: v121-aura 4s ease-in-out infinite alternate;
}

.hero-tech-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-tech-bg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-tech-bg .circuit-base path {
  fill: none;
  stroke: rgba(148, 163, 184, 0.28);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.hero-tech-bg .circuit-pulse path {
  fill: none;
  stroke: #7bdcff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 32 240;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 4px rgba(73, 201, 255, 0.95))
    drop-shadow(0 0 9px rgba(2, 132, 199, 0.75));
  animation: v121-electric-current 4.8s linear infinite;
}

.hero-tech-bg .circuit-pulse path:nth-child(2),
.hero-tech-bg .circuit-pulse path:nth-child(5) {
  animation-delay: -1.6s;
}

.hero-tech-bg .circuit-pulse path:nth-child(3),
.hero-tech-bg .circuit-pulse path:nth-child(6) {
  animation-delay: -3.2s;
}

.hero-tech-bg .circuit-nodes circle {
  fill: #72d8ff;
  filter:
    drop-shadow(0 0 4px #48caff)
    drop-shadow(0 0 10px rgba(2, 132, 199, 0.9));
  animation: v121-node-pulse 2.4s ease-in-out infinite alternate;
}

.hero-tech-bg .circuit-nodes circle:nth-child(even) {
  animation-delay: -1.2s;
}

.hero-equipment-slide {
  position: absolute;
  inset: 0;
  bottom: 46px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.65s ease, transform 0.65s ease, visibility 0.65s ease;
  will-change: opacity, transform;
}

.hero-equipment-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hero-equipment-slide img {
  display: block;
  width: 100%;
  height: 295px;
  max-width: 440px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.48));
  pointer-events: none;
  user-select: none;
}

.hero-slide-caption {
  margin-top: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  background-color: rgba(11, 18, 30, 0.82);
  border: 1px solid var(--border-silver);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-silver);
  text-align: center;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: rgba(7, 12, 21, 0.78);
  border: 1px solid var(--border-subtle);
}

.hero-dot {
  width: 24px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background-color: rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition: background-color 0.25s ease, width 0.25s ease;
}

.hero-dot:hover {
  background-color: var(--accent-silver);
}

.hero-dot.is-active {
  width: 36px;
  background-color: var(--accent-cyan);
}

@keyframes v121-aura {
  from {
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes v121-electric-current {
  from {
    stroke-dashoffset: 272;
    opacity: 0.45;
  }
  45% {
    opacity: 1;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 0.45;
  }
}

@keyframes v121-node-pulse {
  from {
    opacity: 0.35;
    transform: scale(0.85);
    transform-origin: center;
  }
  to {
    opacity: 1;
    transform: scale(1.35);
    transform-origin: center;
  }
}

/* Trust Strip below Hero */
.trust-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.trust-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-color: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: var(--accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   Generic Sections
   ========================================================================== */
.section {
  padding-block: 72px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.55rem, 2.2vw + 0.5rem, 2.22rem);
  font-weight: 800;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 46ch;
}

/* ==========================================================================
   Authorized Brands Grid: 8 Official Vendors on Crisp White Plaques (4x2 Grid)
   ========================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.brand-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-card:hover,
.brand-card.is-highlighted {
  border-color: var(--accent-cyan);
  background-color: var(--bg-elevated);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.brand-card__select {
  appearance: none;
  background: transparent;
  border: none;
  text-align: left;
  text-decoration: none;
  padding: 18px 18px 14px;
  cursor: pointer;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* White Alabaster Plaque so Official Vendor Brand Logos are 100% Authentic */
.vendor-plaque {
  width: 100%;
  height: 76px;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 12px rgba(0, 0, 0, 0.22);
}

.vendor-plaque--nikon {
  background: linear-gradient(135deg, #fff599 0%, #ffe100 55%, #f5c400 100%);
  border-color: #eab308;
}

/* Official Vendor Vector SVGs Adapted & Scaled Evenly to the Plaque Frame */
.vendor-svg {
  display: block;
  object-fit: contain;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

/* 1. Canon (#BF1920) */
.vendor-svg--canon {
  width: 174px;
  height: 36px;
}

/* 2. Epson (#003F98) */
.vendor-svg--epson {
  width: 168px;
  height: 41px;
}

/* 3. SONY (#000000) */
.vendor-svg--sony {
  width: 174px;
  height: 31px;
}

/* 4. Nikon (#111111 on Official Yellow Gradient Plaque) */
.vendor-svg--nikon {
  width: 162px;
  height: 46px;
}

/* 5. Samsung (#000000 Official Vector Wordmark — Large & Balanced) */
.vendor-svg--samsung {
  width: 198px;
  height: 32px;
}

/* 6. Kyocera (#E31A2F Mark + #231F20 Wordmark) */
.vendor-svg--kyocera {
  width: 192px;
  height: 48px;
}

/* 7. Катюша (Cropped Official Black Logo) */
.vendor-svg--katusha {
  width: 162px;
  height: 54px;
}

/* 8. Bang & Olufsen (Official B&O Monogram + Wordmark Adapted to Frame) */
.vendor-svg--bo {
  width: 208px;
  height: 40px;
}

.brand-card__scope {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.brand-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
}

.brand-card__status {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}

.brand-card__ext {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color 0.18s ease;
}

.brand-card__ext:hover {
  color: var(--accent-silver);
}

/* ==========================================================================
   Services Grid with Original Images (3x2 Desktop, 2x3 Tablet, 1x6 Mobile)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.service-card--featured {
  border-color: var(--border-silver);
}

.service-card__media {
  position: relative;
  height: 195px;
  background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.22), #08101d 75%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__code {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  background-color: rgba(11, 18, 30, 0.85);
  border: 1px solid var(--border-silver);
  color: var(--accent-silver);
}

.service-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 0.89rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.service-card__tags li {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  padding: 4px 9px;
  border-radius: 6px;
  background-color: rgba(11, 18, 30, 0.7);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
}

.service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-card__actions .btn {
  flex: 1 1 135px;
  white-space: normal;
  text-align: center;
  padding: 10px 12px;
}

/* ==========================================================================
   Calculator & Workflow Section (#calculator)
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 36px;
  align-items: start;
}

.calc-info__lead {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 14px;
  margin-bottom: 28px;
}

.calc-steps-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.calc-preview-item__badge {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background-color: rgba(2, 132, 199, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 6px 10px;
  flex-shrink: 0;
}

.calc-preview-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.calc-preview-item p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.diag-console {
  background: linear-gradient(180deg, #16233b 0%, #0f1829 100%);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}

.diag-console__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.diag-console__code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.diag-console__title {
  font-size: 1.22rem;
  font-weight: 700;
}

.diag-console__badge {
  background-color: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.diag-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diag-fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.diag-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.diag-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(2, 132, 199, 0.25);
  border: 1px solid var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-silver);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  appearance: none;
  background-color: rgba(11, 18, 30, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.chip--sm {
  padding: 6px 10px;
  font-size: 0.78rem;
}

.chip:hover {
  border-color: var(--border-silver);
  color: var(--text-primary);
}

.chip.is-selected {
  background-color: var(--accent-blue);
  border-color: var(--accent-cyan);
  color: #ffffff;
  font-weight: 600;
}

.chip--other {
  border-style: dashed;
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
}

.chip--other.is-selected {
  border-style: solid;
  background-color: var(--accent-blue);
  border-color: var(--accent-silver);
  color: #ffffff;
}

/* Custom Symptom Description Box */
.custom-symptom-box {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(11, 18, 30, 0.88);
  border: 1.5px solid var(--accent-cyan);
}

.custom-symptom-box[hidden] {
  display: none;
}

.custom-symptom-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.diag-textarea {
  width: 100%;
  background-color: rgba(7, 12, 21, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  resize: vertical;
  min-height: 62px;
}

.diag-textarea::placeholder {
  color: var(--text-muted);
}

.diag-textarea:focus {
  border-color: var(--accent-cyan);
}

.diag-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.diag-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.diag-input {
  width: 100%;
  background-color: rgba(11, 18, 30, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: border-color 0.18s ease;
}

.diag-input::placeholder {
  color: var(--text-muted);
}

.diag-input:focus {
  border-color: var(--accent-cyan);
}

.diag-security-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
  padding-top: 2px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.about-lead {
  font-size: 1.08rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 16px;
  margin-bottom: 14px;
}

.about-body {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.about-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

.about-checklist strong {
  color: var(--text-primary);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-box--wide {
  grid-column: 1 / -1;
}

.stat-box__num {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--accent-silver);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-box__label {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.stat-box__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-silver);
  background-color: rgba(2, 132, 199, 0.18);
  border: 1px solid var(--border-silver);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.stat-box__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ==========================================================================
   Contacts & Map Section
   ========================================================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.contacts-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-block--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-block__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-block__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-block__inline-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.copy-btn {
  appearance: none;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.copy-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.route-link {
  color: var(--accent-cyan);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.route-link:hover {
  text-decoration: underline;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.contact-phone-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(11, 18, 30, 0.65);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.18s ease;
}

.contact-phone-link:hover {
  border-color: var(--accent-cyan);
}

.contact-phone-tag {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-block__subval {
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

.contact-block__muted {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.contact-email-link,
.contact-social-link {
  display: block;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 4px;
}

.contact-email-link:hover,
.contact-social-link:hover {
  text-decoration: underline;
}

.contacts-card__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.map-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.map-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: #08101c;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
}

.map-card__coords {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.map-card__city {
  color: var(--text-secondary);
}

.map-frame-wrap {
  position: relative;
  flex-grow: 1;
  width: 100%;
  min-height: 330px;
}

.map-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(185deg) brightness(95%) contrast(92%);
}

/* Service Detail Modal (<dialog>) */
.service-modal {
  margin: auto;
  width: min(680px, 92vw);
  max-height: 88dvh;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 0;
  overscroll-behavior: contain;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65);
}

.service-modal::backdrop {
  background: rgba(5, 9, 18, 0.78);
  backdrop-filter: blur(6px);
}

.service-modal__panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  max-height: 88dvh;
  overscroll-behavior: contain;
}

.service-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.service-modal__code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.service-modal__title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 2px;
}

.service-modal__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-modal__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-modal__box {
  background-color: rgba(11, 18, 30, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.service-modal__subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.service-modal__list {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.service-modal__meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #e0f2fe;
  background-color: rgba(2, 132, 199, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.service-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

/* Footer */
.site-footer {
  background-color: #070c15;
  padding-top: 52px;
  padding-bottom: 36px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.site-footer__summary {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 42ch;
}

.site-footer__heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-silver);
  margin-bottom: 14px;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__nav a,
.site-footer__contacts a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.18s ease;
}

.site-footer__nav a:hover,
.site-footer__contacts a:hover {
  color: var(--accent-cyan);
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.site-footer__socials {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.site-footer__socials a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
}

.site-footer__bottom {
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mobile-bottom-bar {
  display: none;
}

.toast-region {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  pointer-events: none;
}

.toast-msg {
  background-color: var(--bg-elevated);
  border: 1px solid var(--accent-cyan);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1080px) {
  .desktop-nav,
  .header-phone {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .calc-grid,
  .about-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  /* 8 Brands -> Clean 2x4 Grid on Tablets */
  .brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 6 Services -> Clean 2x3 Grid on Tablets */
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    padding-inline: 16px;
  }

  .utility-bar__right {
    display: none;
  }

  .utility-bar__left {
    font-size: 0.75rem;
  }

  .header-wa {
    display: none;
  }

  .hero-section {
    padding-top: 28px;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-image.hero-showcase {
    height: 340px;
    min-height: 320px;
  }

  .hero-equipment-slide img {
    height: 220px;
  }

  .diag-console {
    padding: 18px 16px;
  }

  .brands-grid,
  .trust-strip,
  .services-grid,
  .about-cards,
  .contact-block--split,
  .contacts-card__buttons,
  .service-modal__cols,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card__actions {
    flex-direction: column;
  }

  .service-card__actions .btn {
    flex: 1 1 auto;
    width: 100%;
    white-space: normal;
  }

  .authority-badge,
  .hero-slide-caption,
  .service-card__tags li,
  .chip {
    white-space: normal;
    overflow-wrap: break-word;
  }

  .section {
    padding-block: 48px;
  }

  .contact-phone-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background-color: rgba(11, 18, 30, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-bottom-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .mobile-bottom-bar__btn--wa {
    background-color: var(--accent-whatsapp);
    border-color: var(--accent-whatsapp);
    color: #032218;
    font-weight: 700;
  }

  .toast-region {
    bottom: 80px;
    left: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Royal Sapphire & Imperial Gold Design Accents (Variant 3 — Logo Unchanged)
   ========================================================================== */
:root {
  --gold-light: #fef08a;
  --gold-main: #eab308;
  --gold-rich: #d4af37;
  --gold-deep: #b48608;
  --gold-border: rgba(234, 179, 8, 0.45);
  --gold-glow: rgba(234, 179, 8, 0.28);
}

.site-header {
  border-bottom-color: rgba(234, 179, 8, 0.38);
}

.authority-badge {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.16) 0%, rgba(2, 132, 199, 0.16) 100%);
  border-color: rgba(234, 179, 8, 0.55);
  color: #fef08a;
  box-shadow: 0 0 18px rgba(234, 179, 8, 0.16);
}

.authority-badge__dot {
  background-color: #facc15;
  box-shadow: 0 0 8px #facc15;
}

.hero-cta-row .btn--primary {
  background: linear-gradient(135deg, #fef08a 0%, #facc15 48%, #ca8a04 100%);
  border-color: #fef9c3;
  color: #080d1a;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.32);
}

.hero-cta-row .btn--primary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fde047 50%, #eab308 100%);
  color: #080d1a;
}

.hero-metric {
  border-color: rgba(234, 179, 8, 0.34);
  background: linear-gradient(165deg, rgba(234, 179, 8, 0.08) 0%, rgba(17, 27, 46, 0.95) 65%);
}

.hero-metric__value {
  background: linear-gradient(180deg, #fef08a 0%, #eab308 65%, #ca8a04 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-kicker {
  color: #facc15;
}

.trust-strip__icon {
  background-color: rgba(234, 179, 8, 0.16);
  border-color: rgba(234, 179, 8, 0.48);
  color: #fde047;
}

.hero-image.hero-showcase {
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.52), 0 0 28px rgba(234, 179, 8, 0.14);
}

.hero-tech-bg .circuit-pulse path:nth-child(odd) {
  stroke: #fde047;
  filter:
    drop-shadow(0 0 5px rgba(250, 204, 21, 0.95))
    drop-shadow(0 0 11px rgba(217, 119, 6, 0.85));
}

.hero-tech-bg .circuit-nodes circle:nth-child(odd) {
  fill: #fde047;
  filter:
    drop-shadow(0 0 5px #facc15)
    drop-shadow(0 0 11px rgba(217, 119, 6, 0.95));
}

.hero-slide-caption {
  border-color: rgba(234, 179, 8, 0.55);
  color: #fef08a;
}

.hero-dot.is-active {
  background: linear-gradient(90deg, #fde047 0%, #eab308 100%);
}

.brand-card {
  border-color: rgba(212, 175, 55, 0.42);
  background: linear-gradient(165deg, rgba(22, 35, 59, 0.95) 0%, rgba(17, 27, 46, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(254, 240, 138, 0.16);
}

.brand-card:hover,
.brand-card.is-highlighted {
  border-color: #facc15;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38), 0 0 20px rgba(234, 179, 8, 0.22);
}

.brand-card__action {
  color: #fde047;
}

.service-card--featured {
  border-color: rgba(234, 179, 8, 0.55);
  box-shadow: inset 0 1px 0 rgba(254, 240, 138, 0.22), 0 14px 32px rgba(0, 0, 0, 0.32);
}

.quiz-chip.is-selected {
  border-color: #facc15;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.22) 0%, rgba(2, 132, 199, 0.24) 100%);
  color: #fef9c3;
}

/* ==========================================================================
   Live Almaty Working Hours Indicator (UTC+5) & Enhanced Navigation (#4 & #6)
   ========================================================================== */
.status-dot.is-after-hours {
  background-color: #facc15;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.22);
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.live-status-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.live-status-pill.is-open {
  background-color: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
}

.live-status-pill.is-open .live-status-pill__dot {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.live-status-pill.is-after-hours {
  background-color: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.45);
  color: #fef08a;
}

.live-status-pill.is-after-hours .live-status-pill__dot {
  background-color: #facc15;
  box-shadow: 0 0 8px #facc15;
}

.live-status-pill--contacts {
  margin-top: 8px;
  padding: 5px 11px;
  font-size: 0.78rem;
}

.header-phone,
.header-wa {
  white-space: nowrap;
  flex-shrink: 0;
}

html[lang="kk"] .desktop-nav {
  gap: 16px;
}

html[lang="kk"] .desktop-nav__link {
  font-size: 0.86rem;
  white-space: nowrap;
}

.contact-landmark {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.09) 0%, rgba(2, 132, 199, 0.1) 100%);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #e2e8f0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.contact-landmark__icon {
  color: #facc15;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-routes {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-routes__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.route-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 8px;
  background-color: rgba(11, 18, 30, 0.82);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.route-pill:hover {
  transform: translateY(-1px);
  background-color: rgba(22, 35, 59, 0.95);
}

.route-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.route-pill--2gis {
  border-color: rgba(16, 185, 129, 0.45);
}

.route-pill--2gis:hover {
  border-color: #10b981;
}

.route-pill--2gis .route-pill__dot {
  background-color: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.route-pill--yandex {
  border-color: rgba(250, 204, 21, 0.45);
}

.route-pill--yandex:hover {
  border-color: #facc15;
}

.route-pill--yandex .route-pill__dot {
  background-color: #facc15;
  box-shadow: 0 0 6px #facc15;
}

.route-pill--google {
  border-color: rgba(56, 189, 248, 0.45);
}

.route-pill--google:hover {
  border-color: #38bdf8;
}

.route-pill--google .route-pill__dot {
  background-color: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.map-card__bar {
  flex-wrap: wrap;
  gap: 10px;
}

.map-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.map-view-tabs {
  display: inline-flex;
  background-color: rgba(17, 27, 46, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.map-view-tab {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.map-view-tab:hover {
  color: var(--text-primary);
}

.map-view-tab.is-active {
  background-color: var(--accent-blue);
  color: #ffffff;
}

.map-scheme-wrap {
  position: relative;
  flex-grow: 1;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  background-color: #0b121e;
}

.map-scheme-wrap[hidden],
.map-frame-wrap[hidden] {
  display: none !important;
}

.map-scheme-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.map-overlay-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(11, 18, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(234, 179, 8, 0.5);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.map-overlay-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.map-overlay-card__badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fef08a;
}

.map-overlay-card__title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
}

.map-overlay-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .utility-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .utility-bar__right {
    display: flex;
    width: 100%;
  }

  .utility-bar__divider,
  .utility-bar__phone {
    display: none;
  }

  .route-pill-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .route-pill {
    justify-content: center;
  }

  .map-overlay-card {
    flex-direction: column;
    align-items: stretch;
  }

  .map-overlay-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .map-overlay-card__actions .btn {
    width: 100%;
    text-align: center;
  }
}



