/* =============================================================================
   VIDEONABLUDENIE.BG - Enterprise / industrial design system
   Restrained palette, precision typography (Siemens-adjacent aesthetic)
   Spacing, type rhythm, surfaces, and controls follow Apple Human Interface
   *Guidelines* site-wide (desktop + mobile): 8-point spacing scale, ≥44px
   comfortable control height, readable line-height, softer radii, display-style
   title tracking — without copying platform chrome or SF Pro.
   ============================================================================= */

:root {
  --vn-ink: #1a1d21;
  --vn-ink-soft: #2e3338;
  --vn-text: #2c3238;
  --vn-muted: #5c636c;
  --vn-canvas: #eceef1;
  --vn-surface: #ffffff;
  --vn-line: #d1d5db;
  --vn-line-subtle: rgba(26, 29, 33, 0.1);
  /* Petrol / technical accent - not marketing orange */
  --vn-accent: #007c8c;
  --vn-accent-hover: #006572;
  --vn-accent-active: #005560;
  --vn-accent-muted: rgba(0, 124, 140, 0.12);
  --vn-dark: #12151a;
  --vn-dark-elevated: #1c2026;
  --vn-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Softer radii (HIG-like continuous corners; was 2px) */
  --vn-radius: 10px;
  --vn-radius-sm: 8px;
  /* ~44px minimum comfortable control / tap height */
  --vn-touch-target-min: 2.75rem;
  /* 8-point spatial scale (multiples of ~0.5rem at 16px root) */
  --vn-space-1: 0.5rem;
  --vn-space-2: 1rem;
  --vn-space-3: 1.25rem;
  --vn-space-4: 1.5rem;
  --vn-space-5: 2rem;
  --vn-space-6: 2.5rem;
  --vn-space-7: 3rem;
  --vn-space-8: 4rem;
  /* Links: HIG-style differentiation from body text */
  --vn-link-underline-offset: 0.22em;
  --vn-focus-ring-color: rgba(0, 124, 140, 0.45);
  --vn-focus-ring-width: 2px;
  --vn-focus-ring-offset: 3px;
  /* Grouped content (cards / lists): consistent inset (HIG-style grouping) */
  --vn-card-padding-y: var(--vn-space-4);
  --vn-card-padding-x: var(--vn-space-4);
  --vn-shadow: 0 1px 0 rgba(26, 29, 33, 0.06);
  --vn-shadow-card: 0 1px 2px rgba(26, 29, 33, 0.04);
  --vn-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --vn-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --vn-ease-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);
  --vn-motion-fast: 220ms;
  --vn-motion-base: 360ms;
  --vn-motion-slow: 620ms;
  --vn-motion-xl: 860ms;
  --vn-float-y: -2px;
  --vn-float-strong: -3px;
  --vn-scale-soft: 1.015;
  --vn-scale-press: 0.985;
  --vn-elevation-0: 0 1px 2px rgba(15, 23, 42, 0.05);
  --vn-elevation-1: 0 10px 24px rgba(15, 23, 42, 0.1);
  --vn-elevation-2: 0 18px 42px rgba(15, 23, 42, 0.14);
  --vn-glow-accent-soft: 0 0 0 1px rgba(0, 124, 140, 0.12), 0 12px 28px rgba(0, 124, 140, 0.18);
  --vn-glow-accent-strong: 0 0 0 1px rgba(0, 124, 140, 0.28), 0 18px 40px rgba(0, 124, 140, 0.28);
  /* Premium card depth - layered light + shadow (3D read without clutter) */
  --vn-radius-card: 12px;
  --vn-card-perspective: 1100px;
  --vn-shadow-card-premium:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 0 0 1px rgba(26, 29, 33, 0.06),
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 8px 20px rgba(15, 23, 42, 0.06),
    0 20px 44px rgba(15, 23, 42, 0.07);
  --vn-shadow-card-premium-hover:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 0 0 1px rgba(0, 124, 140, 0.18),
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 14px 32px rgba(15, 23, 42, 0.1),
    0 32px 64px rgba(15, 23, 42, 0.12),
    0 0 48px rgba(0, 124, 140, 0.1);
  --vn-ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --vn-card-tilt-x: 2.5deg;
  --vn-card-tilt-y: -1.5deg;
  --vn-card-lift: -11px;
  --vn-card-lift-z: 30px;
  /* “Close-up” on hover - matches Обхват tiles (visible lift + scale) */
  --vn-card-hover-scale: 1.04;
  --vn-card-hover-scale-focus: 1.026;
  /* Canonical interactive card (Обхват / a.pro-tile--link) - shared hover + focus + icon pop */
  --vn-card-border-hover: rgba(0, 124, 140, 0.3);
  --vn-interactive-card-transform-hover: translateY(var(--vn-card-lift)) translateZ(var(--vn-card-lift-z))
    rotateX(var(--vn-card-tilt-x)) rotateY(var(--vn-card-tilt-y))
    scale3d(var(--vn-card-hover-scale), var(--vn-card-hover-scale), 1);
  --vn-interactive-card-transform-focus: translateY(var(--vn-card-lift)) translateZ(var(--vn-card-lift-z))
    rotateX(calc(var(--vn-card-tilt-x) * 0.55)) rotateY(calc(var(--vn-card-tilt-y) * 0.55))
    scale3d(var(--vn-card-hover-scale-focus), var(--vn-card-hover-scale-focus), 1);
  --vn-card-icon-hover-z: 32px;
  --vn-card-icon-hover-scale: 1.06;
  --vn-card-icon-hover-border: rgba(0, 124, 140, 0.32);
  --vn-card-icon-hover-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 8px 20px rgba(0, 124, 140, 0.15);
  /* Photos inside cards (stronger zoom, clipped by overflow) */
  --vn-card-media-zoom: 1.072;
  --vn-card-media-zoom-soft: 1.048;
  /* Standard icon tile (soft 3D, site-wide) */
  --vn-icon-badge-size: 3.35rem;
  --vn-icon-badge-radius: 0.65rem;
  --vn-icon-badge-glyph: 1.38rem;
  --vn-icon-badge-size-sm: 2.65rem;
  --vn-icon-badge-glyph-sm: 1.12rem;
  --vn-icon-badge-size-xs: 2.35rem;
  --vn-icon-badge-glyph-xs: 1rem;
}

/* --------------------------------------------------------------------------
   vn-icon-badge - единен стил икони: лек градиент, вътрешен блясък, сянка
   Използвайте <span class="vn-icon-badge">…</span> или <i class="bi … vn-icon-badge …">
   -------------------------------------------------------------------------- */
.vn-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--vn-icon-badge-size);
  height: var(--vn-icon-badge-size);
  min-width: var(--vn-icon-badge-size);
  min-height: var(--vn-icon-badge-size);
  aspect-ratio: 1;
  border-radius: var(--vn-icon-badge-radius);
  background: linear-gradient(155deg, #ffffff 0%, #e9eef3 52%, #dfe6ec 100%);
  border: 1px solid rgba(26, 29, 33, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 2px 5px rgba(15, 23, 42, 0.05),
    0 10px 22px rgba(15, 23, 42, 0.07);
  color: var(--vn-accent);
  line-height: 1;
  transition: transform 0.5s var(--vn-ease-premium), box-shadow 0.5s var(--vn-ease-premium), border-color 0.35s ease;
}

.vn-icon-badge .bi {
  font-size: var(--vn-icon-badge-glyph);
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vn-icon-badge .bi::before {
  vertical-align: 0;
}

.vn-icon-badge--sm {
  width: var(--vn-icon-badge-size-sm);
  height: var(--vn-icon-badge-size-sm);
  min-width: var(--vn-icon-badge-size-sm);
  min-height: var(--vn-icon-badge-size-sm);
  border-radius: 0.55rem;
}

.vn-icon-badge--sm .bi {
  font-size: var(--vn-icon-badge-glyph-sm);
}

.vn-icon-badge--xs {
  width: var(--vn-icon-badge-size-xs);
  height: var(--vn-icon-badge-size-xs);
  min-width: var(--vn-icon-badge-size-xs);
  min-height: var(--vn-icon-badge-size-xs);
  border-radius: 0.5rem;
}

.vn-icon-badge--xs .bi {
  font-size: var(--vn-icon-badge-glyph-xs);
}

.vn-icon-badge--accent {
  background: linear-gradient(150deg, rgba(0, 124, 140, 0.16) 0%, rgba(0, 124, 140, 0.06) 100%);
  border-color: rgba(0, 124, 140, 0.22);
  color: var(--vn-accent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 4px 14px rgba(0, 124, 140, 0.12);
}

.vn-icon-badge--glass {
  width: 2.05rem;
  height: 2.05rem;
  min-width: 2.05rem;
  min-height: 2.05rem;
  border-radius: var(--vn-radius-card);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(0, 0, 0, 0.32) 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(5px);
}

.vn-icon-badge--glass .bi {
  font-size: 0.95rem;
}

.vn-icon-badge--process {
  width: 2.85rem;
  height: 2.85rem;
  min-width: 2.85rem;
  min-height: 2.85rem;
  margin-bottom: 0.75rem;
  border-radius: 0.58rem;
}

.vn-icon-badge--process .bi {
  font-size: 1.22rem;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.pro-tile.pro-tile--link:hover .pro-tile__icon-badge,
  article.box-work-vn:hover .box-work-vn__icon-badge,
  .services-card-vn:hover .services-card-vn__icon-badge {
    transform: translateZ(var(--vn-card-icon-hover-z)) scale(var(--vn-card-icon-hover-scale));
    border-color: var(--vn-card-icon-hover-border);
    box-shadow: var(--vn-card-icon-hover-shadow);
  }
}

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

html {
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--vn-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--vn-text);
  background-color: var(--vn-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================================================
   Headings - semantic outline + modular scale (h1…h6)
   Use one <h1> per page. Do not skip levels (e.g. h2 → h4) in the same branch.
   h1  Единствено главно заглавие (hero).
   h2  Основни секции в <main>.
   h3  Подсекции, заглавия на карти/услуги/стъпки, акордеон въпроси.
   h4  По-дълбоко вложени теми (рядко).
   h5  Пето ниво (рядко).
   h6  Микро-етикети (footer колони, overline).
   Utility classes .h1-.h6 mirror визуално същия мащаб без да променят семантиката.
   ============================================================================= */

main :where(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--vn-font);
  font-weight: 600;
  color: var(--vn-ink);
  line-height: 1.22;
  letter-spacing: -0.018em;
}

/* h1 - default (вътрешни страници); hero презаписва по-долу */
h1,
.h1 {
  font-size: clamp(2rem, 1.25rem + 2.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

h2,
.h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.18;
}

h3,
.h3 {
  font-size: clamp(1.125rem, 1rem + 0.35vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

h4,
.h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

h5,
.h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

h6,
.h6 {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vn-muted);
}

/* Tagline под h2 в секция „За нас“ - не е заглавие в йерархията */
.heading-sub {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--vn-ink-soft);
  letter-spacing: -0.01em;
}

.lead-strong {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--vn-muted);
  line-height: 1.7;
  max-width: 38rem;
}

.text-accent {
  color: var(--vn-accent) !important;
}

.section-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vn-muted);
  margin-bottom: 0.75rem;
}

/* Technical grid backdrop */
.hero-backdrop {
  position: relative;
  background-color: var(--vn-canvas);
  background-image:
    linear-gradient(var(--vn-line-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--vn-line-subtle) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}

.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(236, 238, 241, 0.95) 45%, var(--vn-canvas) 100%);
}

.hero-backdrop > .container {
  position: relative;
  z-index: 1;
}

/* Enterprise imagery - controlled, not stock-vivid */
.img-enterprise {
  filter: saturate(0.82) contrast(1.06);
}

/* Navbar */
.navbar-vn {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--vn-line);
  transition: box-shadow 0.2s var(--vn-ease);
}

.navbar-vn.navbar-scrolled {
  box-shadow: 0 1px 0 var(--vn-line-subtle);
}

.navbar-vn .nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--vn-text) !important;
  padding: 0.45rem 0.9rem !important;
  letter-spacing: 0.01em;
  transition: color var(--vn-motion-fast) var(--vn-ease), transform var(--vn-motion-fast) var(--vn-ease);
}

.navbar-vn .nav-link:hover,
.navbar-vn .nav-link:focus {
  color: var(--vn-accent) !important;
  transform: translateY(-1px);
}

.navbar-vn .navbar-brand {
  font-weight: 600;
  font-size: 1rem;
  color: var(--vn-ink) !important;
  letter-spacing: 0.06em;
}

/* Hamburger: no box stroke (Bootstrap + border-secondary-subtle on markup) */
.navbar-vn .navbar-toggler {
  border: none !important;
  box-shadow: none !important;
}

.navbar-vn .navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-vn .navbar-toggler:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--vn-radius);
  border: 1px solid var(--vn-line);
  background: var(--vn-surface);
  color: var(--vn-accent);
  font-size: 1rem;
  box-shadow: var(--vn-shadow-card);
  border-left: 3px solid var(--vn-accent);
}

/* Buttons - flat, precise */
.btn-vn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--vn-accent);
  --bs-btn-border-color: var(--vn-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--vn-accent-hover);
  --bs-btn-hover-border-color: var(--vn-accent-hover);
  --bs-btn-focus-shadow-rgb: 0, 124, 140;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--vn-accent-active);
  --bs-btn-active-border-color: var(--vn-accent-active);
  font-family: var(--vn-font);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: var(--vn-radius);
  transition:
    background-color var(--vn-motion-fast) var(--vn-ease),
    border-color var(--vn-motion-fast) var(--vn-ease),
    transform var(--vn-motion-fast) var(--vn-ease),
    box-shadow var(--vn-motion-base) var(--vn-ease);
}

.btn-vn-primary:hover {
  transform: translateY(var(--vn-float-y));
  box-shadow: 0 12px 24px rgba(0, 124, 140, 0.22);
}

.btn-vn-primary:focus-visible {
  transform: translateY(var(--vn-float-y));
  box-shadow: 0 0 0 0.18rem rgba(0, 124, 140, 0.2), 0 10px 20px rgba(0, 124, 140, 0.16);
}

.btn-vn-outline {
  font-family: var(--vn-font);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--vn-accent);
  border: 1px solid var(--vn-accent);
  background: transparent;
  border-radius: var(--vn-radius);
  padding: 0.6rem 1.2rem;
  transition:
    border-color var(--vn-motion-fast) var(--vn-ease),
    color var(--vn-motion-fast) var(--vn-ease),
    background-color var(--vn-motion-fast) var(--vn-ease),
    transform var(--vn-motion-fast) var(--vn-ease),
    box-shadow var(--vn-motion-base) var(--vn-ease);
}

.btn-vn-outline:hover {
  color: var(--vn-accent-hover);
  border-color: var(--vn-accent-hover);
  background: rgba(0, 124, 140, 0.06);
  transform: translateY(var(--vn-float-y));
  box-shadow: 0 10px 22px rgba(0, 124, 140, 0.14);
}

.btn-vn-outline:focus-visible {
  transform: translateY(var(--vn-float-y));
  box-shadow: 0 0 0 0.16rem rgba(0, 124, 140, 0.16), 0 8px 18px rgba(15, 23, 42, 0.08);
}

.btn-vn-outline-light {
  font-family: var(--vn-font);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  border-radius: var(--vn-radius);
  padding: 0.6rem 1.2rem;
  transition:
    color var(--vn-motion-fast) var(--vn-ease),
    background-color var(--vn-motion-fast) var(--vn-ease),
    border-color var(--vn-motion-fast) var(--vn-ease),
    transform var(--vn-motion-fast) var(--vn-ease),
    box-shadow var(--vn-motion-base) var(--vn-ease);
}

.btn-vn-outline-light:hover {
  color: var(--vn-ink);
  background: #fff;
  border-color: #fff;
  transform: translateY(var(--vn-float-y));
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.2);
}

.btn-vn-outline-light:focus-visible {
  transform: translateY(var(--vn-float-y));
  box-shadow: 0 0 0 0.16rem rgba(255, 255, 255, 0.24), 0 10px 20px rgba(255, 255, 255, 0.16);
}

.btn-vn-outline-light.btn-lg {
  padding: 0.8rem 1.65rem;
}

.btn-vn-primary.btn-lg {
  padding: 0.82rem 1.65rem;
}

/* Comfortable control height + alignment (Apple HIG–style minimum target) */
:is(main, header, .footer-vn) .btn:not(.btn-link):not(.navbar-toggler):not(.btn-close):not(.btn-sm):not(
    .visually-hidden-focusable
  ) {
  min-height: var(--vn-touch-target-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

:is(main, header, .footer-vn) .btn-lg {
  min-height: 3.05rem;
}

/* Tight control clusters stay compact (toolbar / segmented patterns) */
.input-group .btn,
.btn-group > .btn,
.btn-group-vertical > .btn {
  min-height: unset;
}

/* Mobile / small tablet: full-width buttons for easier taps and cleaner stacks */
@media (max-width: 767.98px) {
  .btn:not(.btn-close):not(.navbar-toggler):not(.vn-scroll-top):not(.visually-hidden-focusable) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .input-group .btn,
  .btn-group > .btn,
  .btn-group-vertical > .btn {
    width: auto;
    flex: initial;
  }
}

.link-vn {
  font-family: var(--vn-font);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vn-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.15s var(--vn-ease),
    border-color 0.15s var(--vn-ease),
    opacity 0.15s var(--vn-ease);
}

.link-vn:hover {
  color: var(--vn-accent-hover);
  border-bottom-color: currentColor;
}

.link-vn:active {
  color: var(--vn-accent-active);
  opacity: 0.92;
}

.link-vn:focus-visible {
  outline: var(--vn-focus-ring-width) solid var(--vn-focus-ring-color);
  outline-offset: var(--vn-focus-ring-offset);
  border-radius: var(--vn-radius-sm);
}

/* Inline / prose links: clearly distinct from surrounding text (HIG readability) */
main
  :where(p, .text-muted, .small, li)
  a[href]:not(.btn):not(.link-vn):not(.nav-link):not(.dropdown-item):not(.page-link):not(.stretched-link):not(
    .box-work-vn__more
  ):not(.box-work-vn__more-label):not(.pro-tile__hint):not(.gallery-thumb__hint):not(.industry-type-chip) {
  color: var(--vn-accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--vn-link-underline-offset);
  transition: color 0.15s var(--vn-ease);
}

main
  :where(p, .text-muted, .small, li)
  a[href]:not(.btn):not(.link-vn):not(.nav-link):not(.dropdown-item):not(.page-link):not(.stretched-link):not(
    .box-work-vn__more
  ):not(.box-work-vn__more-label):not(.pro-tile__hint):not(.gallery-thumb__hint):not(.industry-type-chip):hover {
  color: var(--vn-accent-hover);
}

main
  :where(p, .text-muted, .small, li)
  a[href]:not(.btn):not(.link-vn):not(.nav-link):not(.dropdown-item):not(.page-link):not(.stretched-link):not(
    .box-work-vn__more
  ):not(.box-work-vn__more-label):not(.pro-tile__hint):not(.gallery-thumb__hint):not(.industry-type-chip):focus-visible {
  outline: var(--vn-focus-ring-width) solid var(--vn-focus-ring-color);
  outline-offset: var(--vn-focus-ring-offset);
  border-radius: 2px;
}

main
  :where(p, .text-muted, .small, li)
  a[href]:not(.btn):not(.link-vn):not(.nav-link):not(.dropdown-item):not(.page-link):not(.stretched-link):not(
    .box-work-vn__more
  ):not(.box-work-vn__more-label):not(.pro-tile__hint):not(.gallery-thumb__hint):not(.industry-type-chip):active {
  color: var(--vn-accent-active);
}

/* Footer navigation: same link clarity without overwhelming social icon links */
.footer-vn .row a[href]:not(.btn):not(.navbar-brand) {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: var(--vn-link-underline-offset);
  transition: color 0.15s var(--vn-ease), text-decoration-color 0.15s var(--vn-ease);
}

.footer-vn .row a[href]:not(.btn):not(.navbar-brand):hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.65);
}

.footer-vn .row a[href]:not(.btn):not(.navbar-brand):focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
  border-radius: var(--vn-radius-sm);
}

.footer-vn .row .social a[href] {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
}

.footer-vn .row .social a[href]:hover {
  color: #fff;
}

.footer-vn .row .social a[href]:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
  border-radius: var(--vn-radius-sm);
}

.footer-bottom a[href] {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: var(--vn-link-underline-offset);
  transition: color 0.15s var(--vn-ease), text-decoration-color 0.15s var(--vn-ease);
}

.footer-bottom a[href]:hover {
  color: rgba(255, 255, 255, 0.95);
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a[href]:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
  border-radius: var(--vn-radius-sm);
}

@media (prefers-contrast: more) {
  :root {
    --vn-line: #94a3b8;
    --vn-muted: #3f4a54;
    --vn-focus-ring-color: #005560;
  }

  .link-vn {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: var(--vn-link-underline-offset);
  }
}

/* Hero */
.hero-section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.section-vn {
  padding-top: 4.75rem;
  padding-bottom: 4.75rem;
}

/* Hamela-like generously spaced sections */
.section-vn-xl {
  padding-top: clamp(4.75rem, 9.5vw, 8rem);
  padding-bottom: clamp(4.75rem, 9.5vw, 8rem);
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
  }

  .section-vn {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  main > section + section {
    margin-top: 0.75rem;
  }
}

/* Full-height hero (Hamela slider scale, single static scene) */
.hero-full {
  position: relative;
  min-height: clamp(38rem, 88svh, 62rem);
  display: flex;
  flex-direction: column;
}

.hero-full-bg {
  position: absolute;
  inset: 0;
  background-image: url("../Img/5JXAT7EDNY.jpg");
  background-size: cover;
  background-position: center center;
  filter: saturate(0.72) brightness(0.5);
}

.hero-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(18, 21, 26, 0.94) 0%,
    rgba(18, 21, 26, 0.72) 42%,
    rgba(18, 21, 26, 0.38) 100%
  );
}

.hero-full-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(3.5rem, 10vh, 6.25rem);
  padding-bottom: clamp(2.15rem, 6vw, 4rem);
}

.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 1.1rem;
}

/* Единственото h1 на страницата */
.hero-full h1.hero-title,
h1.hero-title {
  font-size: clamp(2.2rem, 4.2vw + 1rem, 3.85rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.07;
  max-width: 15ch;
}

@media (min-width: 992px) {
  .hero-full h1.hero-title,
  h1.hero-title {
    max-width: 18ch;
  }
}

.hero-lead {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.125rem);
  line-height: 1.68;
  max-width: 36rem;
  margin-top: 1.35rem;
  margin-bottom: 1.85rem;
}

.hero-stat-bar {
  margin-top: clamp(2.25rem, 4vw, 3.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat-bar .stat-cell {
  padding: 1.35rem 1rem 0;
  position: relative;
  overflow: hidden;
}

.hero-stat-bar .stat-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 18%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 82%
  );
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
}

.hero-stat-bar .stat-cell.is-animated::after {
  opacity: 1;
  animation: heroStatSheen 1.35s var(--vn-ease-standard) 1;
}

@media (min-width: 768px) {
  .hero-stat-bar .stat-cell {
    padding: 1.35rem 1.25rem 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stat-bar .stat-cell:first-child {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-stat-bar .stat-cell + .stat-cell {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    padding-top: 1rem;
  }
}

.hero-stat-bar .stat-value {
  font-family: var(--vn-font);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #fff;
  letter-spacing: -0.02em;
}

@keyframes heroStatSheen {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

.hero-stat-bar .stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* Section heading row (Hamela-style) */
.block-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vn-muted);
  margin-bottom: 1rem;
}

/* Визуален акцент върху h2 секции (семантиката остава h2) */
h2.title-major,
.title-major {
  font-size: clamp(1.65rem, 1.25rem + 1.2vw, 2.65rem);
  font-weight: 600;
  color: var(--vn-ink);
  line-height: 1.16;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.block-aside {
  font-size: 0.9375rem;
  color: var(--vn-muted);
  line-height: 1.72;
  padding-top: 2rem;
}

/** Body / secondary text: comfortable reading measure (HIG-style leading) */
.text-muted {
  line-height: 1.71;
}

@media (min-width: 992px) {
  .block-aside {
    padding-top: 2.35rem;
    padding-left: 0.75rem;
  }
}

.block-aside-rule {
  width: 2.5rem;
  height: 2px;
  background: var(--vn-accent);
  margin-top: 1.15rem;
}

.heading-rule {
  border: none;
  height: 1px;
  background: rgba(26, 29, 33, 0.12);
  margin: 0 0 2.5rem;
  opacity: 1;
}

/* Services: horizontal cards */
.section-services-hamela {
  background: var(--vn-canvas);
  padding-top: clamp(4.25rem, 8.5vw, 7rem);
  padding-bottom: clamp(4.25rem, 8.5vw, 7.25rem);
}

/* Hamela list-box-work analogue: two rows of four */
/* Карти за услуги: .box-work-vn вътре в .list-box-work-vn (начало, services). Икони по референция от #services: bi-camera-video, bi-door-closed, bi-shield-check, bi-hdd-network, bi-pc-display-horizontal, bi-fire, bi-megaphone, bi-award.
   Галерия „Реализирани обекти“: секция #projects, ред .row.g-4, .gallery-thumb.gallery-thumb--modal, data-vn-gallery-target/slide, модал .vn-gallery-auto; хоризонтален snap-скрол ≤767px (като .vn-apple-service-cards-row на services). */
.list-box-work-vn {
  margin-top: 0.25rem;
}

/* Index #services: on small screens show first 3 cards, then CTA to services.html */
@media (max-width: 767.98px) {
  /* Mobile: show all services as compact clickable icon + title items */
  .list-box-work-vn--index-home > .list-box-work-vn__row--head > .col:nth-child(n + 4),
  .list-box-work-vn--index-home > .list-box-work-vn__row--tail > .col {
    display: block !important;
  }
}

/* Editorial „reference“ split + integrated tiles */
.pro-accent-bar {
  width: 2.5rem;
  height: 2px;
  background: var(--vn-accent);
}

.check-list-pro {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list-pro li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.65rem;
  color: var(--vn-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.check-list-pro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--vn-accent);
  border-radius: 1px;
}

.pro-media {
  margin: 0;
  border: 1px solid var(--vn-line);
  overflow: hidden;
  background: var(--vn-canvas);
  aspect-ratio: 4 / 3;
}

.pro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.pro-tile {
  background: var(--vn-surface);
  border: 1px solid var(--vn-line);
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: border-color var(--vn-motion-fast) var(--vn-ease), box-shadow var(--vn-motion-base) var(--vn-ease), transform var(--vn-motion-fast) var(--vn-ease);
}

.pro-tile:hover {
  border-color: #aeb4bd;
  box-shadow: 0 1rem 2rem rgba(18, 21, 26, 0.06);
  transform: translateY(var(--vn-float-y));
}

.pro-tile__icon {
  font-size: 1.75rem;
  color: var(--vn-accent);
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

/* h3 в плочките: семантично под integrated h2; визуално компактно */
.pro-tile h3.pro-tile__title,
.pro-tile__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--vn-ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pro-tile__text {
  font-size: 0.875rem;
  color: var(--vn-muted);
  margin: 0;
  line-height: 1.62;
}

.section-pro-integrated {
  border-top: 1px solid rgba(26, 29, 33, 0.07);
  border-bottom: 1px solid rgba(26, 29, 33, 0.07);
}

.integrated-pillars {
  max-width: 38rem;
}

.integrated-pillar__icon.vn-icon-badge {
  margin-top: 0.12rem;
}

/* Integrated block: narrower tile stack aligned to the copy column */
.section-pro-integrated__tiles {
  max-width: 100%;
}

.section-pro-integrated__mobile-note {
  border-left: 3px solid rgba(0, 124, 140, 0.65);
  padding-left: 0.75rem;
  line-height: 1.62;
}

@media (min-width: 992px) {
  .section-pro-integrated__tiles {
    max-width: 30rem;
    margin-left: auto;
  }

  .section-pro-integrated .pro-tile--integrated {
    min-height: 14.5rem;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.35rem;
  }

  .section-pro-integrated .pro-tile--integrated .pro-tile__text {
    margin-top: auto;
    margin-bottom: 0;
  }

  .section-pro-integrated .pro-tile--integrated .pro-tile__icon-badge {
    margin-bottom: 1.1rem;
  }

  .section-pro-integrated .pro-tile--integrated .pro-tile__icon {
    font-size: 1.52rem;
  }
}

/* Premium full-card links: same 3D hover as Обхват (any page) */
a.pro-tile.pro-tile--link {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  border-radius: var(--vn-radius-card);
  background: linear-gradient(165deg, #ffffff 0%, #f4f6f8 52%, #eef1f4 100%);
  border: 1px solid var(--vn-line);
  box-shadow: var(--vn-shadow-card-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    border-color 0.5s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium);
}

a.pro-tile.pro-tile--link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 46%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: soft-light;
}

a.pro-tile.pro-tile--link > * {
  position: relative;
  z-index: 1;
}

a.pro-tile.pro-tile--link .pro-tile__icon-badge {
  margin-bottom: 1rem;
  transition:
    transform 0.55s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    border-color 0.45s var(--vn-ease-premium);
}

a.pro-tile.pro-tile--link .pro-tile__icon {
  margin-bottom: 0;
  font-size: var(--vn-icon-badge-glyph);
}

a.pro-tile.pro-tile--link .pro-tile__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--vn-accent);
  opacity: 0.72;
  transition: opacity 0.45s var(--vn-ease-premium), transform 0.45s var(--vn-ease-premium);
}

a.pro-tile.pro-tile--link .pro-tile__hint i {
  font-size: 0.85rem;
  transition: transform 0.45s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.pro-tile.pro-tile--link:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
    transform: var(--vn-interactive-card-transform-hover);
    color: inherit;
  }

  a.pro-tile.pro-tile--link:hover .pro-tile__hint {
    opacity: 1;
    transform: translateX(2px);
  }

  a.pro-tile.pro-tile--link:hover .pro-tile__hint i {
    transform: translate(2px, -2px);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  a.pro-tile.pro-tile--link:hover {
    border-color: rgba(0, 124, 140, 0.28);
    box-shadow: var(--vn-shadow-card-premium-hover);
    color: inherit;
  }

  a.pro-tile.pro-tile--link:hover .pro-tile__hint {
    opacity: 1;
  }
}

a.pro-tile.pro-tile--link:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
  box-shadow: var(--vn-glow-accent-strong);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.pro-tile.pro-tile--link:focus-visible {
    transform: var(--vn-interactive-card-transform-focus);
  }
}

.box-work-vn {
  display: flex;
  min-height: 100%;
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius-card);
  box-shadow: var(--vn-shadow-card-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    border-color 0.5s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium);
}

.box-work-vn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.65) 0%, transparent 42%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: soft-light;
}

.box-work-vn > * {
  position: relative;
  z-index: 2;
}

/* article.box-work-vn:hover outranks .vn-reveal.is-visible (both were 0,2,0; later rule won) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  article.box-work-vn:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
    transform: var(--vn-interactive-card-transform-hover);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  article.box-work-vn:hover {
    border-color: rgba(0, 124, 140, 0.34);
    box-shadow: var(--vn-glow-accent-soft);
  }
}

.box-work-vn__rail {
  width: 4px;
  flex-shrink: 0;
  background: rgba(26, 29, 33, 0.07);
  position: relative;
}

.box-work-vn__rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.75rem;
  background: var(--vn-accent);
}

.box-work-vn__body {
  padding: clamp(1.85rem, 4.2vw, 2.45rem) var(--vn-card-padding-x) clamp(1.8rem, 4vw, 2.35rem);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.box-work-vn__icon-badge {
  margin-bottom: 1.2rem;
}

/* h3 в картите „услуги“: под #services h2 */
article.box-work-vn h3.box-work-vn__title,
.box-work-vn__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  line-height: 1.3;
  color: var(--vn-ink);
}

.box-work-vn__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s var(--vn-ease);
  border-radius: var(--vn-radius-sm);
}

.box-work-vn__title a:focus-visible {
  outline: var(--vn-focus-ring-width) solid var(--vn-focus-ring-color);
  outline-offset: var(--vn-focus-ring-offset);
}

@media (hover: hover) and (pointer: fine) {
  .box-work-vn__title a:hover {
    color: var(--vn-accent);
  }
}

.box-work-vn__text {
  font-size: 0.875rem;
  color: var(--vn-muted);
  line-height: 1.66;
  flex-grow: 1;
  margin-bottom: 1.45rem;
}

/* Same as a.pro-tile .pro-tile__hint: label + ↗, no chrome */
.box-work-vn__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.2rem;
  padding: 0;
  border: none;
  border-radius: var(--vn-radius-sm);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--vn-accent);
  opacity: 0.72;
  background: none;
  box-shadow: none;
  transition:
    opacity 0.45s var(--vn-ease-premium),
    transform 0.45s var(--vn-ease-premium);
}

.box-work-vn__more-chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.45s var(--vn-ease-premium);
}

.box-work-vn__more-label {
  text-decoration: none;
  color: inherit;
}

.box-work-vn__more:focus-visible {
  outline: var(--vn-focus-ring-width) solid var(--vn-focus-ring-color);
  outline-offset: var(--vn-focus-ring-offset);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  article.box-work-vn:hover .box-work-vn__more {
    opacity: 1;
    transform: translateX(2px);
  }

  article.box-work-vn:hover .box-work-vn__more .box-work-vn__more-chev {
    transform: translate(2px, -2px);
  }

  .box-work-vn__more:hover,
  .box-work-vn__more:focus-visible {
    opacity: 1;
    transform: translateX(2px);
  }

  .box-work-vn__more:hover .box-work-vn__more-chev,
  .box-work-vn__more:focus-visible .box-work-vn__more-chev {
    transform: translate(2px, -2px);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  article.box-work-vn:hover .box-work-vn__more,
  .box-work-vn__more:hover,
  .box-work-vn__more:focus-visible {
    opacity: 1;
  }
}

.box-work-vn__more:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Scroll reveal - short travel, quick ease-out (matches GSAP when fallback runs) */
@media (prefers-reduced-motion: no-preference) {
  .vn-reveal {
    opacity: 0;
    transform: translate3d(0, 0.75rem, 0);
    transition:
      opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--vn-delay, 0s);
  }

  .vn-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vn-reveal {
    opacity: 1;
    transform: none;
  }
}

.hero-visual {
  position: relative;
  border-radius: var(--vn-radius);
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--vn-line);
  box-shadow: var(--vn-shadow-card);
  background: var(--vn-dark);
}

@media (min-width: 992px) {
  .hero-visual {
    min-height: 400px;
  }
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
}

.hero-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 575.98px) {
  .hero-stats {
    grid-template-columns: 1fr;
    position: relative;
    border-top: none;
  }

  .hero-visual {
    min-height: 200px;
  }

  .stat-card {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-card:first-child {
    border-top: none;
  }
}

.stat-card {
  background: var(--vn-dark-elevated);
  padding: 1rem 0.85rem;
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card:first-child {
  border-left: none;
}

.stat-card .stat-value {
  font-family: var(--vn-font);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat-card .stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* Perspective for 3D hover tilt (children use translateZ + rotate) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  main .row:has(
      .services-card-vn,
      .project-card-vn,
      .industry-card-vn,
      .card-vn,
      .process-card-vn,
      .service-compare-card,
      .box-work-vn,
      .pro-tile--link,
      .gallery-thumb,
      .service-trust-gallery__item,
      .about-zigzag__media
    )
    > .col,
    > [class*="col-"] {
    perspective: var(--vn-card-perspective);
    perspective-origin: 50% 45%;
  }
}

/* Cards - premium depth: specular plane + perspective tilt inside grid columns */
.card-vn {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius-card);
  box-shadow: var(--vn-shadow-card-premium);
  overflow: hidden;
  background: var(--vn-surface);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    border-color 0.45s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium);
  height: 100%;
}

.card-vn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: soft-light;
}

.card-vn > * {
  position: relative;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card-vn:hover {
    border-color: var(--vn-card-border-hover);
    transform: var(--vn-interactive-card-transform-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .card-vn:hover {
    border-color: #b8bcc4;
    box-shadow: var(--vn-shadow-card-premium-hover);
  }
}

.card-vn .card-img-top {
  height: 176px;
  object-fit: cover;
  border-bottom: 1px solid var(--vn-line);
  transition: transform 0.62s var(--vn-ease-premium);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card-vn:hover .card-img-top {
    transform: scale(var(--vn-card-media-zoom));
  }
}

.card-vn .card-body {
  padding: var(--vn-card-padding-y) var(--vn-card-padding-x) calc(var(--vn-card-padding-y) + 0.15rem);
}

.card-vn-featured {
  position: relative;
  border-radius: var(--vn-radius-card);
  overflow: hidden;
  min-height: min(22rem, 52vw);
  border: 1px solid var(--vn-line);
  box-shadow: var(--vn-shadow-card-premium);
  background: var(--vn-dark);
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition: box-shadow 0.55s var(--vn-ease-premium), transform 0.55s var(--vn-ease-premium), border-color 0.45s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card-vn-featured:hover {
    transform: var(--vn-interactive-card-transform-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
    border-color: var(--vn-card-border-hover);
  }
}

@media (min-width: 992px) {
  .card-vn-featured {
    min-height: 26rem;
  }
}

.card-vn-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.7s var(--vn-ease-premium), opacity 0.45s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card-vn-featured:hover img {
    transform: scale(var(--vn-card-media-zoom-soft));
    opacity: 0.92;
  }
}

.card-vn-featured .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(18, 21, 26, 0.94) 0%, rgba(18, 21, 26, 0.72) 45%, rgba(18, 21, 26, 0.35) 100%);
}

.card-vn-featured .content {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1.75rem 2rem;
  max-width: 38rem;
}

.card-vn-featured h3 {
  color: #fff;
}

.process-card-vn {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--vn-line);
  border-top: 2px solid var(--vn-accent);
  border-radius: var(--vn-radius-card);
  padding: 1.6rem 1.35rem;
  text-align: left;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: var(--vn-shadow-card-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    border-color 0.45s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium);
}

.process-card-vn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.65) 0%, transparent 38%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: soft-light;
}

.process-card-vn > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .process-card-vn:hover {
    border-color: var(--vn-card-border-hover);
    border-top-color: var(--vn-accent);
    transform: var(--vn-interactive-card-transform-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .process-card-vn:hover {
    border-color: #bfc4cc;
    border-top-color: var(--vn-accent);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }
}

/* h3 стъпки под #process h2 - компактен вид (преди беше h4) */
.process-card-vn h3 {
  display: inline-block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--vn-ink);
  margin-top: 0;
  margin-bottom: 0.62rem;
  margin-left: 0.1rem;
  vertical-align: middle;
}

/* Process стъпки: иконата е .vn-icon-badge.vn-icon-badge--process */

/* Feature lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  color: var(--vn-muted);
  font-size: 0.9375rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--vn-accent);
  border-radius: 1px;
}

/* Home „За нас“: stay above the following HIK strip if stacking overlaps */
#about.section-vn-xl {
  position: relative;
  z-index: 1;
}

/* Desktop: collage height follows text column (row height = text only) */
@media (min-width: 992px) {
  #about .home-about-row {
    position: relative;
  }

  #about .home-about-row > .col-lg-5 {
    position: relative;
    z-index: 1;
  }

  #about .home-about-row > .home-about-col-media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(41.66666667% + var(--bs-gutter-x, 1.5rem) * 0.5);
    right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    display: flex;
    flex-direction: column;
    width: auto;
  }

  #about .home-about-col-media .home-about-collage {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }
}

/* About collage */
.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.collage-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--vn-radius);
  border: 1px solid var(--vn-line);
}

.collage-tall {
  grid-row: span 2;
  min-height: 200px;
}

/* Home about collage: equal-height sub-rows; height from parent (desktop) or clamp (mobile) */
.home-about-collage {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

@media (max-width: 991.98px) {
  .home-about-collage {
    height: clamp(18rem, 78vw, 34rem);
  }
}

.home-about-collage .collage-tall,
.home-about-collage .home-about-stack {
  height: 100%;
  min-height: 0;
}

.home-about-collage .home-about-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  grid-row: span 2;
}

.home-about-collage .home-about-side-image {
  height: 100%;
  min-height: 0;
  display: block;
}

/* Brand band */
.brand-banner {
  background: var(--vn-dark);
  padding: 3.5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-line {
  width: 2rem;
  height: 2px;
  background: var(--vn-accent);
  margin: 0 auto 1.25rem;
}

.brand-url {
  font-family: var(--vn-font);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #fff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* CTA band */
.cta-dark {
  position: relative;
  padding: clamp(4.75rem, 10vw, 5.75rem) var(--vn-space-2);
  text-align: center;
  color: #fff;
  border-top: 1px solid var(--vn-line);
}

.cta-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&q=80") center/cover no-repeat;
  filter: saturate(0.55) brightness(0.4);
}

.cta-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 21, 26, 0.88), rgba(18, 21, 26, 0.94));
}

.cta-dark .container {
  position: relative;
  z-index: 1;
}

.cta-dark h2 {
  color: #fff;
  font-weight: 600;
}

.cta-dark__lead {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

/* Gallery */
#projects {
  background: #fff;
}

#projects .section-intro .text-muted {
  color: #6a717a !important;
}

.gallery-thumb {
  border-radius: var(--vn-radius-card);
  overflow: hidden;
  border: 1px solid rgba(26, 29, 33, 0.08);
  background: #fff;
  box-shadow: var(--vn-shadow-card-premium);
  transition:
    transform 0.55s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    border-color 0.5s var(--vn-ease-premium);
  will-change: transform, box-shadow;
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 232px;
  object-fit: cover;
  transition: opacity var(--vn-motion-base) var(--vn-ease), transform 0.65s var(--vn-ease-premium);
}

.gallery-thumb__media > picture {
  display: block;
  width: 100%;
}

.gallery-thumb__media picture img {
  width: 100%;
  height: 232px;
  object-fit: cover;
  transition: opacity var(--vn-motion-base) var(--vn-ease), transform 0.65s var(--vn-ease-premium);
}

.gallery-thumb__caption {
  padding: 0.95rem 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 600;
  color: #2f363d;
  text-align: center;
  letter-spacing: -0.005em;
  border-top: 1px solid rgba(26, 29, 33, 0.07);
  background: #fff;
}

.gallery-thumb--modal {
  cursor: pointer;
  text-align: left;
}

.gallery-thumb--modal:focus {
  outline: none;
}

.gallery-thumb--modal:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
}

.gallery-thumb--modal .gallery-thumb__hint {
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border-radius: var(--vn-radius-sm);
  pointer-events: none;
  z-index: 1;
}

.gallery-thumb--modal .gallery-thumb__media {
  position: relative;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .gallery-thumb:hover {
    transform: var(--vn-interactive-card-transform-hover);
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }

  .gallery-thumb:hover img,
  .gallery-thumb:hover .gallery-thumb__media picture img {
    opacity: 0.96;
    transform: scale(var(--vn-card-media-zoom-soft));
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .gallery-thumb:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }

  .gallery-thumb:hover img,
  .gallery-thumb:hover .gallery-thumb__media picture img {
    opacity: 0.96;
  }
}

@media (max-width: 767.98px) and (hover: hover) and (pointer: fine) {
  .gallery-thumb:has(.gallery-thumb__media):hover .gallery-thumb__media,
  .gallery-thumb:has(.gallery-thumb__media):hover .gallery-thumb__caption {
    border-color: var(--vn-card-border-hover);
  }
}

@media (max-width: 767.98px) {
  .gallery-thumb img,
  .gallery-thumb__media picture img {
    height: clamp(168px, 48vw, 228px);
  }

  .gallery-thumb__caption {
    font-size: clamp(0.84rem, 2.9vw, 0.95rem);
    padding: clamp(0.72rem, 2.4vw, 0.95rem) clamp(0.78rem, 2.6vw, 1rem)
      clamp(0.78rem, 2.6vw, 1rem);
  }

  /*
   * Same idea as .about-zigzag__media-clip: outer frame keeps full box-shadow on hover;
   * inner .gallery-thumb__media clips the zoomed image. Avoids “cut” shadows in horizontal strips + narrow viewports.
   */
  .gallery-thumb:has(.gallery-thumb__media) {
    overflow: visible;
    border: none;
    background: transparent;
  }

  .gallery-thumb:has(.gallery-thumb__media) .gallery-thumb__media {
    overflow: hidden;
    border-radius: var(--vn-radius-card) var(--vn-radius-card) 0 0;
    border: 1px solid rgba(26, 29, 33, 0.08);
    border-bottom: none;
    background: #fff;
  }

  .gallery-thumb:has(.gallery-thumb__media) .gallery-thumb__caption {
    border-radius: 0 0 var(--vn-radius-card) var(--vn-radius-card);
    border: 1px solid rgba(26, 29, 33, 0.08);
    border-top: 1px solid rgba(26, 29, 33, 0.07);
    background: #fff;
  }

  /* Lift + image zoom cards: outer overflow visible; inner __media already clips scale */
  .industry-card-vn {
    overflow: visible;
  }

  .industry-card-vn__media {
    border-radius: var(--vn-radius-card) var(--vn-radius-card) 0 0;
  }

  .industry-card-vn__overlay {
    border-radius: 0 0 var(--vn-radius-card) var(--vn-radius-card);
    overflow: hidden;
  }

  .project-card-vn {
    overflow: visible;
  }

  .project-card-vn__media {
    border-radius: var(--vn-radius-card) var(--vn-radius-card) 0 0;
  }

  .project-card-vn__body {
    border-radius: 0 0 var(--vn-radius-card) var(--vn-radius-card);
  }
}

/* industries.html hero: image column height matches text column (lg+) */
.industries-hero-row {
  align-items: flex-start;
}

@media (min-width: 992px) {
  .industries-hero-row {
    align-items: stretch;
  }

  .gallery-thumb.gallery-thumb--industries-hero {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }

  .gallery-thumb.gallery-thumb--industries-hero img {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 14rem;
    object-fit: cover;
    object-position: center;
  }
}

/* Location band (industries.html, about.html, contact.html): wide readable column */
.industries-local-inner {
  width: 100%;
  max-width: min(64rem, 100%);
}

/* industries.html - aviation: breathing room above CTAs after icon list */
.industry-aviation-cta {
  margin-top: auto;
  padding-top: clamp(1.35rem, 3.2vw, 2rem);
}

/* industries.html - sector row: mosaic column matches text column height (lg+) */
@media (min-width: 992px) {
  .industries-sector-mosaic-row {
    align-items: stretch;
  }

  .industries-sector-mosaic-row > .col-lg-6:last-child {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .industries-sector-mosaic-row .about-mosaic.about-mosaic--fill-height {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: 100%;
    grid-template-rows: 1fr 1fr;
  }

  .industries-sector-mosaic-row .about-mosaic--fill-height .about-mosaic__main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  .industries-sector-mosaic-row .about-mosaic--fill-height .about-mosaic__main img {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    object-fit: cover;
  }

  .industries-sector-mosaic-row .about-mosaic--fill-height .about-mosaic__a,
  .industries-sector-mosaic-row .about-mosaic--fill-height .about-mosaic__b {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .industries-sector-mosaic-row .about-mosaic--fill-height .about-mosaic__a img,
  .industries-sector-mosaic-row .about-mosaic--fill-height .about-mosaic__b img {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    object-fit: cover;
  }
}

/* services.html - process hero: same Bootstrap row/gutter as .process-card-vn row */
.services-process-banner img {
  height: auto;
  min-height: 180px;
  max-height: min(32vw, 300px);
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
}

/* Industries we serve - Hamela-style image tile + bottom overlay */
.industry-card-vn {
  display: block;
  position: relative;
  height: 100%;
  border-radius: var(--vn-radius-card);
  overflow: hidden;
  border: 1px solid rgba(26, 29, 33, 0.12);
  background: var(--vn-ink);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--vn-shadow-card-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    border-color 0.5s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium);
}

.industry-card-vn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.35) inset;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
  transition: opacity 0.5s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .industry-card-vn:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover), 0 0 0 1px rgba(0, 124, 140, 0.12);
    transform: var(--vn-interactive-card-transform-hover);
    color: #fff;
  }

  .industry-card-vn:hover::after {
    opacity: 0.65;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .industry-card-vn:hover {
    border-color: rgba(0, 124, 140, 0.35);
    box-shadow: var(--vn-glow-accent-strong);
    color: #fff;
  }
}

.industry-card-vn:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
  box-shadow: var(--vn-glow-accent-strong);
}

.industry-card-vn__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.industry-card-vn__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.68s var(--vn-ease-premium), filter 0.55s var(--vn-ease-standard);
}

@media (hover: hover) and (pointer: fine) {
  .industry-card-vn:hover .industry-card-vn__media img {
    transform: scale(var(--vn-card-media-zoom));
    filter: saturate(1.06) contrast(1.03);
  }
}

.industry-card-vn__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.35rem 1.25rem 1.4rem;
  padding-top: 2.75rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(18, 21, 26, 0.5) 22%,
    rgba(18, 21, 26, 0.82) 55%,
    rgba(12, 14, 18, 0.96) 100%
  );
  transform: translateZ(12px);
  transform-style: preserve-3d;
  transition: transform 0.55s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .industry-card-vn:hover .industry-card-vn__overlay {
    transform: translateZ(20px);
  }
}

.industry-card-vn__icon.vn-icon-badge--glass {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  pointer-events: none;
  transform: translateZ(16px);
  transition: transform 0.55s var(--vn-ease-premium), box-shadow 0.55s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .industry-card-vn:hover .industry-card-vn__icon {
    transform: translateZ(var(--vn-card-icon-hover-z)) scale(var(--vn-card-icon-hover-scale));
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
  }
}

.industry-card-vn__title {
  font-family: var(--vn-font);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: #fff;
  letter-spacing: -0.01em;
  transition: transform 0.5s var(--vn-ease-premium), text-shadow 0.45s var(--vn-ease-premium);
}

.industry-card-vn__text {
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.45s var(--vn-ease-premium), transform 0.5s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .industry-card-vn:hover .industry-card-vn__title {
    transform: translateY(-2px);
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  }

  .industry-card-vn:hover .industry-card-vn__text {
    color: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
  }
}

/* industries.html - sector detail layouts (variety vs. repeated zigzag) */
.industry-editorial-banner {
  border-radius: var(--vn-radius-card);
  overflow: hidden;
  border: 1px solid var(--vn-line);
  box-shadow: var(--vn-shadow-card-premium);
  margin: 0;
  transition: box-shadow 0.5s var(--vn-ease-premium), border-color 0.45s var(--vn-ease-premium);
}

.industry-editorial-banner img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  max-height: min(320px, 52vw);
  object-fit: cover;
  object-position: center;
  transition: transform 0.75s var(--vn-ease-premium), filter 0.5s var(--vn-ease-standard);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .industry-editorial-banner:hover {
    border-color: rgba(0, 124, 140, 0.22);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }

  .industry-editorial-banner:hover img {
    transform: scale(1.035);
    filter: saturate(1.05) contrast(1.02);
  }
}

.industry-pillar-card {
  height: 100%;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius-card);
  background: var(--vn-surface);
  box-shadow: var(--vn-shadow-card);
  transition:
    border-color 0.45s var(--vn-ease-premium),
    box-shadow 0.5s var(--vn-ease-premium),
    transform 0.5s var(--vn-ease-premium);
}

/* Linked pillar cards: same row layout as .why-us-list (летища секция) - avoids broken paint with block children in <a> */
a.industry-pillar-card.industry-pillar-card--link {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.industry-pillar-card.industry-pillar-card--link .industry-pillar-card__icon.vn-icon-badge {
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 0.08rem;
}

.industry-pillar-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .industry-pillar-card:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
    transform: translateY(-5px);
  }

  .industry-pillar-card:hover .industry-pillar-card__icon.vn-icon-badge {
    transform: scale(1.06);
    border-color: var(--vn-card-icon-hover-border);
    box-shadow: var(--vn-card-icon-hover-shadow);
  }

  .industry-pillar-card:active {
    transform: translateY(-2px);
    transition-duration: 0.12s;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .industry-pillar-card:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium);
  }
}

.industry-pillar-card__icon {
  margin-bottom: 0.85rem;
  transition:
    transform 0.5s var(--vn-ease-premium),
    border-color 0.45s var(--vn-ease-premium),
    box-shadow 0.5s var(--vn-ease-premium);
}

.industry-pillar-card__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--vn-ink);
}

a.industry-pillar-card.industry-pillar-card--link .industry-pillar-card__body p {
  margin-bottom: 0;
}

a.industry-pillar-card.industry-pillar-card--link .industry-pillar-card__title {
  transition: color 0.3s var(--vn-ease-premium, ease);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.industry-pillar-card.industry-pillar-card--link:hover .industry-pillar-card__title {
    color: var(--vn-accent);
  }
}

a.industry-pillar-card.industry-pillar-card--link:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
}

.industry-depth {
  background: linear-gradient(155deg, var(--vn-dark) 0%, #1a222e 55%, #151a22 100%);
  color: rgba(255, 255, 255, 0.88);
}

.industry-depth .divider-accent {
  background: linear-gradient(90deg, var(--vn-accent), rgba(0, 124, 140, 0.35));
}

.industry-depth .block-sub {
  color: rgba(255, 255, 255, 0.5);
}

.industry-depth .title-major {
  color: #fff;
}

.industry-depth-card {
  height: 100%;
  padding: 1.5rem 1.35rem;
  border-radius: var(--vn-radius-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
  transition:
    border-color 0.45s var(--vn-ease-premium),
    background 0.45s var(--vn-ease-premium),
    box-shadow 0.5s var(--vn-ease-premium),
    transform 0.5s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .industry-depth-card:hover {
    border-color: rgba(0, 124, 140, 0.5);
    background: rgba(255, 255, 255, 0.09);
    box-shadow:
      0 0 0 1px rgba(0, 124, 140, 0.18),
      0 18px 52px rgba(0, 0, 0, 0.38),
      0 0 40px rgba(0, 124, 140, 0.14);
    transform: translateY(-4px);
  }

  .industry-depth-card:hover .industry-depth-card__icon {
    transform: scale(1.08);
    color: var(--vn-accent);
    filter: drop-shadow(0 4px 14px rgba(0, 124, 140, 0.5));
  }

  .industry-depth-card:hover .industry-depth-card__text {
    color: rgba(255, 255, 255, 0.9);
  }

  .industry-depth-card:active {
    transform: translateY(-1px);
    transition-duration: 0.12s;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .industry-depth-card:hover {
    border-color: rgba(0, 124, 140, 0.45);
    background: rgba(255, 255, 255, 0.07);
  }
}

.industry-depth-card__icon {
  display: inline-block;
  color: var(--vn-accent);
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 1rem;
  transition:
    transform 0.5s var(--vn-ease-premium),
    color 0.45s var(--vn-ease-premium),
    filter 0.45s var(--vn-ease-premium);
}

.industry-depth-card__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.45s var(--vn-ease-premium);
}

.industry-aside-panel {
  border-radius: var(--vn-radius-card);
  border: 1px solid var(--vn-line);
  background: var(--vn-surface);
  box-shadow: var(--vn-shadow-card);
  padding: 1.5rem 1.35rem;
  height: 100%;
  transition: border-color 0.45s var(--vn-ease-premium), box-shadow 0.5s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .industry-aside-panel:hover {
    border-color: rgba(0, 124, 140, 0.2);
    box-shadow: var(--vn-shadow-card-premium);
  }
}

.industry-aside-panel__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vn-accent);
  margin-bottom: 0.75rem;
}

.industry-aside-panel__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-aside-panel__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--vn-muted);
}

.industry-aside-panel__list li:last-child {
  margin-bottom: 0;
}

.industry-aside-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--vn-accent);
}

/* FAQ - h3 е заглавие на въпрос под #faq h2; визуално като тяло, не като секция */
.accordion-faq .accordion-item {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius) !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--vn-surface);
}

.accordion-faq .accordion-header h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: normal;
  color: inherit;
}

.accordion-faq .accordion-button {
  font-family: var(--vn-font);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--vn-ink);
  background-color: var(--vn-surface);
  box-shadow: none !important;
  padding: 1rem 1.15rem;
}

.accordion-faq .accordion-button:not(.collapsed) {
  background-color: var(--vn-canvas);
  color: var(--vn-ink);
}

.accordion-faq .accordion-button::after {
  display: none;
}

.accordion-faq .accordion-button .acc-icon-plus,
.accordion-faq .accordion-button .acc-icon-minus {
  font-size: 1.1rem;
  color: var(--vn-accent);
  font-weight: 600;
}

.accordion-faq .accordion-button .acc-icon-minus {
  display: none;
}

.accordion-faq .accordion-button:not(.collapsed) .acc-icon-plus {
  display: none;
}

.accordion-faq .accordion-button:not(.collapsed) .acc-icon-minus {
  display: inline-block;
}

.accordion-faq .accordion-body {
  padding: 0 1.15rem 1.1rem;
  color: var(--vn-muted);
  font-size: 0.9375rem;
}

/* Footer */
.footer-vn {
  background: var(--vn-dark);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3rem;
  padding-bottom: 1.75rem;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-vn h6 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-vn a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s var(--vn-ease);
}

.footer-vn a:hover {
  color: #8ecfd6;
}

.footer-vn .brand-mark {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.footer-vn .social a {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--vn-radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  margin-right: 0.35rem;
}

.footer-vn .social a:hover {
  border-color: var(--vn-accent);
  background: rgba(0, 124, 140, 0.15);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom__credit a {
  color: #ff9f1c;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--vn-motion-fast) var(--vn-ease-standard);
}

.footer-bottom__credit a:hover,
.footer-bottom__credit a:focus-visible {
  color: #ffc166;
}

.footer-bottom--triple {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom--triple {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: stretch;
    text-align: unset;
  }

  .footer-bottom--triple .footer-bottom__credit {
    justify-self: start;
    text-align: left;
  }

  .footer-bottom--triple .footer-bottom__copy {
    justify-self: center;
    text-align: center;
  }
}

/* Utilities */
.bg-vn-gray {
  background-color: var(--vn-canvas) !important;
}

.section-intro {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.divider-accent {
  width: 2rem;
  height: 2px;
  background: var(--vn-accent);
  margin-bottom: 1rem;
}

.img-cover-rounded {
  border-radius: var(--vn-radius);
  border: 1px solid var(--vn-line);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--vn-shadow-card);
}

@media (min-width: 992px) {
  .img-cover-rounded.tall {
    min-height: 360px;
  }
}

/* Partner strip */
.partner-strip {
  border-top: 1px solid var(--vn-line);
  border-bottom: 1px solid var(--vn-line);
  background: var(--vn-surface);
}

.partner-strip--marquee {
  background: #fff;
}

.partner-strip--marquee.bg-vn-gray {
  background-color: var(--vn-canvas) !important;
}

.partner-strip__title {
  font-family: var(--vn-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vn-muted);
  margin: 0 auto 1.75rem;
  max-width: 46rem;
  line-height: 1.45;
  text-align: center;
}

.partner-marquee {
  overflow: hidden;
}

.partner-marquee__track {
  display: flex;
  width: max-content;
  animation: vn-partner-marquee 64s linear infinite;
  will-change: transform;
}

.partner-marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 11vw, 9rem);
  padding: 0.5rem clamp(2rem, 6vw, 4.5rem);
  flex-shrink: 0;
}

/* Uniform “Dahua-scale” slots: smaller marks scale up inside the same box */
.partner-marquee__item {
  flex: 0 0 clamp(168px, 20vw, 228px);
  width: clamp(168px, 20vw, 228px);
  height: clamp(52px, 9vw, 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.partner-marquee__item img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.partner-marquee__item a {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes vn-partner-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1rem;
    width: 100% !important;
    max-width: 100%;
  }

  .partner-marquee__group[aria-hidden="true"] {
    display: none;
  }

  .partner-marquee__group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
  }

  .partner-marquee__item {
    flex: 0 0 auto;
    width: clamp(150px, 40vw, 200px);
    height: clamp(48px, 12vw, 68px);
  }

  .partner-marquee__item img {
    opacity: 1;
  }
}

.partner-name {
  font-family: var(--vn-font);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vn-muted);
}

/* Logos (navbar + footer) */
.vn-logo--header {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 992px) {
  .vn-logo--header {
    height: 42px;
    max-width: 220px;
  }
}

.navbar-vn.navbar-scrolled .vn-logo--header {
  height: 34px;
}

@media (min-width: 992px) {
  .navbar-vn.navbar-scrolled .vn-logo--header {
    height: 36px;
  }
}

.vn-logo--footer {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

/* -- Inner pages (Hamela-style page head + Ucam chrome) -- */
.vn-topbar {
  background: #12151a;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Keep only the main navigation sticky for best wayfinding */
header .navbar-vn.sticky-top {
  top: 0;
  z-index: 1030;
}

.vn-topbar a {
  color: rgba(255, 255, 255, 0.82);
}

.vn-topbar .text-decoration-none,
.vn-topbar .d-inline-flex,
.vn-topbar .d-inline-flex span {
  color: rgba(255, 255, 255, 0.82);
}

.vn-topbar a:hover {
  color: #fff;
}

.vn-topbar .text-decoration-none:hover,
.vn-topbar a.text-decoration-none:hover {
  color: #fff;
}

.vn-topbar .bi-geo-alt-fill.text-accent {
  color: #28bfd0 !important;
}

.vn-pagehead {
  position: relative;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(125deg, #0f1318 0%, #152428 42%, #0a3d45 100%);
  color: #fff;
  overflow: hidden;
}

.vn-pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 20%, rgba(0, 124, 140, 0.22), transparent 55%);
  pointer-events: none;
}

.vn-pagehead-inner {
  position: relative;
  z-index: 1;
}

/* Legal pages: full white column, no card box */
.vn-legal-body {
  background-color: #fff;
}

/* Legal pages - readable long-form */
.vn-legal-doc {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.vn-legal-doc h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--vn-ink);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.vn-legal-doc h2:first-of-type {
  margin-top: 0;
}

.vn-legal-doc p,
.vn-legal-doc li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--vn-muted);
}

.vn-legal-doc ul {
  padding-left: 1.15rem;
  margin-bottom: 1rem;
}

.vn-legal-doc li + li {
  margin-top: 0.35rem;
}

.vn-legal-doc .legal-lead {
  font-size: 1rem;
  color: var(--vn-ink);
  font-weight: 500;
}

.vn-legal-doc .legal-meta {
  font-size: 0.8125rem;
  color: var(--vn-muted);
}

/* Cookie consent - minimal bar (expand when adding analytics) */
.vn-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 0.85rem 1rem;
  background: rgba(18, 21, 26, 0.97);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.2);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.vn-cookie-consent__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.vn-cookie-consent p {
  margin: 0;
  flex: 1 1 16rem;
  max-width: 42rem;
}

.vn-cookie-consent a {
  color: #7fd4df;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vn-cookie-consent a:hover {
  color: #fff;
}

.vn-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.vn-cookie-consent .btn-vn-primary {
  font-size: 0.75rem;
  padding: 0.45rem 1rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .vn-cookie-consent {
    transition: none;
  }
}

html.vn-has-cookie-bar body {
  padding-bottom: 5.5rem;
}

@media (min-width: 768px) {
  html.vn-has-cookie-bar body {
    padding-bottom: 4.5rem;
  }
}

/* Scroll to top - tablet & desktop only (Bootstrap md+), primary accent */
.vn-scroll-top {
  display: none !important;
}

@media (min-width: 768px) {
  .vn-scroll-top {
    display: inline-flex !important;
    position: fixed;
    right: 1.5rem;
    bottom: 2rem;
    z-index: 1070;
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.35rem;
    box-shadow: 0 6px 22px rgba(0, 124, 140, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.45rem);
    pointer-events: none;
    transition:
      opacity var(--vn-motion-base) var(--vn-ease),
      visibility var(--vn-motion-base) var(--vn-ease),
      transform var(--vn-motion-base) var(--vn-ease),
      background-color var(--vn-motion-fast) var(--vn-ease),
      box-shadow var(--vn-motion-base) var(--vn-ease);
  }

  .vn-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .vn-scroll-top:hover,
  .vn-scroll-top:focus-visible {
    box-shadow: 0 10px 28px rgba(0, 124, 140, 0.38);
  }

  html.vn-has-cookie-bar .vn-scroll-top {
    bottom: 5.6rem;
  }

  @media (prefers-reduced-motion: reduce) {
    .vn-scroll-top {
      transition: none;
    }
  }
}

.vn-pagehead-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.vn-pagehead-title {
  font-family: var(--vn-font);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #fff;
}

.vn-pagehead-lead {
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40rem;
  margin: -0.35rem 0 1rem;
}

/* industries.html - scannable object-type links (full width, 1-2 dense rows on desktop) */
.industry-type-chips-wrap {
  width: 100%;
  max-width: 100%;
}

.industry-type-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 0.35rem 0.42rem;
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .industry-type-chips {
    gap: 0.4rem 0.48rem;
  }
}

@media (min-width: 1200px) {
  .industry-type-chips {
    gap: 0.42rem 0.55rem;
    max-width: min(72rem, 100%);
    margin-inline: auto;
  }
}

a.industry-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.35rem 0.68rem;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--vn-ink);
  text-decoration: none;
  border: 1px solid var(--vn-line);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: var(--vn-shadow-card);
  transform: translateZ(0);
  transition:
    border-color 0.4s var(--vn-ease-premium),
    color 0.35s var(--vn-ease-premium),
    box-shadow 0.45s var(--vn-ease-premium),
    transform 0.4s var(--vn-ease-premium),
    background 0.4s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.industry-type-chip:hover {
    border-color: rgba(0, 124, 140, 0.45);
    color: var(--vn-accent);
    background: linear-gradient(180deg, #ffffff 0%, #f0fbfb 100%);
    box-shadow: var(--vn-shadow-card-premium-hover);
    transform: translateY(-2px);
  }

  a.industry-type-chip:hover .bi {
    opacity: 1;
    transform: scale(1.12);
  }

  a.industry-type-chip:active {
    transform: translateY(0);
    box-shadow: var(--vn-shadow-card);
    transition-duration: 0.1s;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  a.industry-type-chip:hover {
    border-color: rgba(0, 124, 140, 0.45);
    color: var(--vn-accent);
    box-shadow: var(--vn-shadow-card-premium);
  }
}

a.industry-type-chip:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 2px;
  box-shadow: var(--vn-glow-accent-soft);
}

.industry-type-chip .bi {
  font-size: 0.88rem;
  opacity: 0.85;
  flex-shrink: 0;
  transition: transform 0.4s var(--vn-ease-premium), opacity 0.35s ease;
}

@media (min-width: 768px) {
  a.industry-type-chip {
    font-size: 0.78rem;
    padding: 0.38rem 0.78rem;
  }

  .industry-type-chip .bi {
    font-size: 0.92rem;
  }
}

/* --------------------------------------------------------------------------
   Mobile / tablet: horizontal page gutters (all pages; Bootstrap containers)
   Default BS padding is ~0.75rem each side - too tight on phones for long copy.
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl,
  .container-fluid {
    --bs-gutter-x: calc(clamp(2.125rem, 4.85vw, 2.875rem) + 0.75rem);
    padding-left: max(calc(var(--bs-gutter-x) * 0.5), env(safe-area-inset-left, 0px));
    padding-right: max(calc(var(--bs-gutter-x) * 0.5), env(safe-area-inset-right, 0px));
  }

  main > section + section {
    margin-top: clamp(0.85rem, 2.2vw, 1.15rem);
  }
}

/* --------------------------------------------------------------------------
   ≤991px: fluid type + section padding (same HIG rhythm as desktop; scales down)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  :root {
    --vn-radius: 12px;
    --vn-radius-sm: 10px;
    --vn-radius-card: 14px;
    --vn-clamp-sec-y: clamp(3rem, 7.8vw, 4.45rem);
    --vn-clamp-sec-y-compact: clamp(2.35rem, 6.25vw, 3.35rem);
    --vn-clamp-title: clamp(1.52rem, 4.95vw, 2.12rem);
    --vn-clamp-lead: clamp(1rem, 2.85vw, 1.12rem);
    --vn-clamp-body: clamp(0.96rem, 2.5vw, 1.0625rem);
    --vn-clamp-btn-y: clamp(0.72rem, 2.35vw, 0.9rem);
    --vn-clamp-btn-x: clamp(1.15rem, 3.35vw, 1.4rem);
  }

  .section-vn-xl,
  .section-vn,
  .section-services-hamela,
  .cta-dark {
    padding-top: var(--vn-clamp-sec-y);
    padding-bottom: var(--vn-clamp-sec-y);
  }

  .vn-inner-section {
    padding-top: var(--vn-clamp-sec-y-compact);
    padding-bottom: var(--vn-clamp-sec-y-compact);
  }

  .hero-full h1.hero-title,
  h1.hero-title,
  .vn-pagehead-title,
  .title-major {
    font-size: var(--vn-clamp-title);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  .block-sub {
    font-size: clamp(0.6875rem, 1.85vw, 0.72rem);
  }

  .hero-lead,
  .vn-pagehead-lead,
  .block-aside,
  .box-work-vn__text,
  .project-card-vn__text,
  .service-compare-card > p,
  .service-trust-section .service-trust-card p {
    font-size: var(--vn-clamp-body);
    line-height: 1.71;
  }

  .btn-vn-primary,
  .btn-vn-outline,
  .btn-vn-outline-light {
    padding-top: var(--vn-clamp-btn-y);
    padding-bottom: var(--vn-clamp-btn-y);
    padding-left: var(--vn-clamp-btn-x);
    padding-right: var(--vn-clamp-btn-x);
  }

  :is(main, header, .footer-vn) .btn-lg {
    padding-top: clamp(0.78rem, 2.5vw, 0.95rem);
    padding-bottom: clamp(0.78rem, 2.5vw, 0.95rem);
  }
}

/* --------------------------------------------------------------------------
   Mobile rhythm - global (small viewports): tighter but still airy sections
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  .section-vn-xl {
    padding-top: clamp(2.6rem, 8.5vw, 4.25rem);
    padding-bottom: clamp(2.6rem, 8.5vw, 4.25rem);
  }

  .section-vn {
    padding-top: clamp(2.35rem, 7vw, 4.25rem);
    padding-bottom: clamp(2.35rem, 7vw, 4.25rem);
  }

  .vn-inner-section {
    padding-top: clamp(1.65rem, 5vw, 2.5rem);
    padding-bottom: clamp(1.65rem, 5vw, 2.5rem);
  }

  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl,
  .container-fluid {
    --bs-gutter-x: calc(clamp(2.125rem, 4.85vw, 2.875rem) + 1.25rem);
  }

  main > section + section {
    margin-top: clamp(1rem, 3.2vw, 1.45rem);
  }
}

/* --------------------------------------------------------------------------
   Mobile / tablet: clamped type, gutters, chips scroll, shared components
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
.vn-pagehead {
    padding-top: clamp(2rem, 5.5vw, 2.85rem);
    padding-bottom: clamp(1.45rem, 4vw, 2.15rem);
  }

.vn-pagehead-title {
    font-size: clamp(1.45rem, 5.2vw, 1.85rem);
    line-height: 1.18;
    margin-bottom: clamp(0.55rem, 2vw, 0.85rem);
  }

.vn-pagehead-lead {
    font-size: clamp(0.875rem, 3.1vw, 0.98rem);
    line-height: 1.58;
    margin-top: 0;
    margin-bottom: clamp(0.75rem, 2.2vw, 1rem);
    max-width: none;
  }

.vn-pagehead-kicker {
    margin-bottom: clamp(0.35rem, 1.2vw, 0.5rem);
  }

.industries-hero-row {
    --bs-gutter-y: clamp(1rem, 3.2vw, 1.5rem);
  }

.industries-hero-row.mb-5 {
    margin-bottom: clamp(0.25rem, 2vw, 1rem) !important;
  }

.gallery-thumb.gallery-thumb--industries-hero {
    min-height: clamp(10.5rem, 36vw, 14rem);
  }

.gallery-thumb.gallery-thumb--industries-hero img {
    min-height: clamp(10.5rem, 36vw, 14rem);
    max-height: min(48vw, 260px);
    object-fit: cover;
  }

.section-intro {
    margin-bottom: clamp(1.15rem, 3.5vw, 1.75rem) !important;
  }

.title-major {
    line-height: 1.22;
  }

.row.g-4 {
    --bs-gutter-y: clamp(1rem, 3vw, 1.5rem);
  }

.row.g-5 {
    --bs-gutter-y: clamp(1.15rem, 3.5vw, 1.85rem);
  }

.industry-editorial-banner img {
    max-height: clamp(9.5rem, 40vw, 13.5rem);
  }

.industry-pillar-card {
    padding: clamp(1.1rem, 3.2vw, 1.4rem) clamp(1.15rem, 3.6vw, 1.45rem);
  }

.industry-aside-panel {
    padding: clamp(1.1rem, 3vw, 1.4rem) clamp(1rem, 2.8vw, 1.35rem);
  }

.about-pull-quote {
    margin-top: clamp(0.85rem, 2.8vw, 1.25rem);
    margin-bottom: clamp(0.85rem, 2.8vw, 1.25rem);
    font-size: clamp(0.95rem, 3vw, 1.08rem);
    padding-left: clamp(0.75rem, 2.2vw, 1.1rem);
  }

.why-us-list {
    gap: clamp(0.72rem, 2.2vw, 0.9rem);
  }

.why-us-list__item {
    gap: clamp(0.55rem, 1.8vw, 0.85rem);
  }

.about-mosaic__main,
.about-mosaic__a,
.about-mosaic__b {
    min-height: clamp(9rem, 30vw, 11.5rem);
  }

.process-card-vn {
    padding: clamp(1.2rem, 3.5vw, 1.5rem) clamp(1.05rem, 3vw, 1.35rem);
  }

.process-card-vn h3 {
    font-size: clamp(0.98rem, 2.8vw, 1.05rem);
  }

.about-fullbleed--compact {
    min-height: clamp(10.5rem, 28vh, 14rem);
    padding-top: clamp(1.35rem, 4vw, 2rem);
    padding-bottom: clamp(1.35rem, 4vw, 2rem);
  }

.about-fullbleed--compact .title-major {
    font-size: clamp(1.2rem, 4vw, 1.45rem);
  }
}

@media (max-width: 767.98px) {
  /* Fluid icon scale site-wide on small viewports (explicit card rules still win) */
  :root {
    --vn-icon-badge-size: clamp(2.45rem, 11.5vw, 3.05rem);
    --vn-icon-badge-glyph: clamp(1.02rem, 4.2vw, 1.34rem);
    --vn-icon-badge-radius: clamp(0.5rem, 2.2vw, 0.65rem);
    --vn-icon-badge-size-sm: clamp(2.08rem, 10vw, 2.6rem);
    --vn-icon-badge-glyph-sm: clamp(0.9rem, 3.85vw, 1.1rem);
    --vn-icon-badge-size-xs: clamp(1.92rem, 9vw, 2.35rem);
    --vn-icon-badge-glyph-xs: clamp(0.84rem, 3.5vw, 0.98rem);
  }

.industry-type-chips-wrap {
    margin-left: calc(-0.5 * var(--bs-gutter-x, 0.75rem));
    margin-right: calc(-0.5 * var(--bs-gutter-x, 0.75rem));
    padding-left: calc(0.5 * var(--bs-gutter-x, 0.75rem));
    padding-right: calc(0.5 * var(--bs-gutter-x, 0.75rem));
  }

.industry-type-chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.36rem 0.42rem;
    padding-bottom: clamp(0.35rem, 1.5vw, 0.55rem);
    margin-bottom: clamp(0.35rem, 1.5vw, 0.65rem);
    scroll-padding-inline: 0.25rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

a.industry-type-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

.industry-card-vn__overlay {
    padding: clamp(1.85rem, 5vw, 2.35rem) clamp(0.95rem, 3vw, 1.15rem) clamp(0.95rem, 3vw, 1.2rem);
  }

.industry-card-vn__icon.vn-icon-badge--glass {
    top: clamp(0.55rem, 2vw, 0.85rem);
    right: clamp(0.55rem, 2vw, 0.85rem);
  }

.industry-card-vn__title {
    font-size: clamp(0.95rem, 2.9vw, 1.05rem);
  }

.industry-card-vn__text {
    font-size: clamp(0.74rem, 2.2vw, 0.8rem);
  }

.d-flex.flex-wrap.gap-2 {
    /* Mobile CTA/button groups: increase separation to avoid cramped look */
    gap: clamp(0.78rem, 3vw, 1rem) !important;
  }

main .btn:not(.btn-lg) {
    padding-top: clamp(0.62rem, 2.15vw, 0.78rem);
    padding-bottom: clamp(0.62rem, 2.15vw, 0.78rem);
    padding-left: clamp(0.95rem, 3.25vw, 1.2rem);
    padding-right: clamp(0.95rem, 3.25vw, 1.2rem);
  }

main .btn-lg {
    padding-top: clamp(0.72rem, 2.45vw, 0.92rem);
    padding-bottom: clamp(0.72rem, 2.45vw, 0.92rem);
    padding-left: clamp(1.08rem, 3.6vw, 1.42rem);
    padding-right: clamp(1.08rem, 3.6vw, 1.42rem);
    font-size: clamp(0.92rem, 2.85vw, 1.02rem);
  }

.accordion-faq .accordion-button {
    padding: clamp(0.75rem, 2.2vw, 0.95rem) clamp(0.85rem, 2.5vw, 1rem);
    font-size: clamp(0.82rem, 2.4vw, 0.9rem);
  }

.accordion-faq .accordion-body {
    padding: clamp(0.75rem, 2.2vw, 1rem) clamp(0.85rem, 2.5vw, 1rem);
    font-size: clamp(0.84rem, 2.3vw, 0.92rem);
    line-height: 1.65;
  }

  .accordion-faq .accordion-item {
    margin-bottom: clamp(0.65rem, 2.1vw, 0.9rem);
  }

  /* Service / step / compare cards: smaller icon badge + title on one row (shorter cards) */
  .box-work-vn__body {
    display: grid;
    grid-template-columns: clamp(1.65rem, 7.25vw, 1.95rem) minmax(0, 1fr);
    column-gap: clamp(0.65rem, 3vw, 0.95rem);
    row-gap: 0;
    align-items: start;
    padding: clamp(1.2rem, 4vw, 2rem) clamp(0.95rem, 3.2vw, 1.35rem)
      clamp(1.15rem, 3.5vw, 2.2rem);
  }

  .box-work-vn__icon-badge {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    align-self: start;
    margin-top: 0.14rem;
  }

  .box-work-vn__icon-badge.vn-icon-badge {
    width: clamp(1.65rem, 7.25vw, 1.95rem);
    height: clamp(1.65rem, 7.25vw, 1.95rem);
    min-width: clamp(1.65rem, 7.25vw, 1.95rem);
    min-height: clamp(1.65rem, 7.25vw, 1.95rem);
    border-radius: 0.48rem;
  }

  .box-work-vn__icon-badge .bi {
    font-size: clamp(0.72rem, 3.15vw, 0.88rem);
  }

  .box-work-vn__title {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    min-width: 0;
    font-size: clamp(0.9375rem, 3.6vw, 1.0625rem);
  }

  .box-work-vn__text {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: clamp(0.55rem, 2.2vw, 0.8rem);
    margin-bottom: 0.85rem;
  }

  .box-work-vn__more {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
  }

  .box-work-vn__rail::before {
    height: clamp(1.85rem, 8.5vw, 2.35rem);
  }

  .services-card-vn {
    padding: clamp(1.12rem, 3.5vw, 1.55rem) clamp(0.95rem, 3vw, 1.35rem);
  }

  .services-card-vn h3 {
    gap: clamp(0.45rem, 2.2vw, 0.65rem);
    margin-bottom: 0.55rem;
    align-items: flex-start;
    font-size: clamp(0.95rem, 3.4vw, 1.05rem);
  }

  .services-card-vn h3 .services-card-vn__icon-badge.vn-icon-badge {
    width: clamp(2.2rem, 10.5vw, 2.6rem);
    height: clamp(2.2rem, 10.5vw, 2.6rem);
    border-radius: 0.52rem;
  }

  .services-card-vn .services-card-vn__icon {
    font-size: clamp(0.9rem, 4vw, 1.05rem);
  }

  .process-card-vn {
    display: grid;
    grid-template-columns: clamp(2.2rem, 10.5vw, 2.55rem) minmax(0, 1fr);
    column-gap: clamp(0.55rem, 2.5vw, 0.8rem);
    row-gap: 0;
    align-items: start;
    padding: clamp(1.1rem, 3.2vw, 1.35rem) clamp(0.95rem, 2.8vw, 1.2rem);
  }

  .process-card-vn .vn-icon-badge--process {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    width: clamp(2.2rem, 10.5vw, 2.55rem);
    height: clamp(2.2rem, 10.5vw, 2.55rem);
    border-radius: 0.52rem;
  }

  .process-card-vn .vn-icon-badge--process .bi {
    font-size: clamp(0.95rem, 4.2vw, 1.1rem);
  }

  .process-card-vn h3 {
    grid-column: 2;
    grid-row: 1;
    display: block;
    margin: 0;
    margin-left: 0;
    min-width: 0;
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
    align-self: center;
  }

  .process-card-vn p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.55rem;
  }

  /* Подходът ни: Apple-style mobile steps (всички страници с .vn-process-apple + .vn-process-steps-row) */
  .vn-process-apple {
    counter-reset: vn-process-step 0;
  }

  .vn-process-apple .section-intro {
    margin-bottom: clamp(1.55rem, 5vw, 2.1rem) !important;
  }

  .vn-process-apple .section-intro .text-muted {
    max-width: 36ch;
    margin-inline: auto;
    text-wrap: balance;
    line-height: 1.58;
    font-size: clamp(0.9375rem, 2.9vw, 1rem);
  }

  .vn-process-apple .vn-process-steps-row {
    --bs-gutter-y: clamp(1.05rem, 3.6vw, 1.45rem);
    --bs-gutter-x: 0;
  }

  .vn-process-apple .process-card-vn {
    counter-increment: vn-process-step;
    display: grid;
    grid-template-columns: minmax(2rem, auto) min-content minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "step icon title"
      "body body body";
    column-gap: clamp(0.55rem, 2.2vw, 0.75rem);
    row-gap: clamp(0.45rem, 1.8vw, 0.65rem);
    align-items: center;
    padding: clamp(1.2rem, 3.8vw, 1.5rem) clamp(1.1rem, 3.5vw, 1.35rem);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-left: 2px solid rgba(0, 124, 140, 0.55);
    border-radius: var(--vn-radius-card, 12px);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transform: none;
  }

  .vn-process-apple .process-card-vn::before {
    display: none;
  }

  .vn-process-apple .process-card-vn::after {
    grid-area: step;
    content: counter(vn-process-step, decimal-leading-zero);
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--vn-accent);
    line-height: 1;
    align-self: center;
    opacity: 0.92;
  }

  .vn-process-apple .process-card-vn .vn-icon-badge--accent.vn-icon-badge--process {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 1px 3px rgba(0, 124, 140, 0.08);
  }

  .vn-process-apple .process-card-vn .vn-icon-badge--process {
    grid-area: icon;
    margin-bottom: 0;
    width: clamp(2.25rem, 10vw, 2.55rem);
    height: clamp(2.25rem, 10vw, 2.55rem);
    min-width: 2.25rem;
    min-height: 2.25rem;
    border-radius: 0.55rem;
  }

  .vn-process-apple .process-card-vn .vn-icon-badge--process .bi {
    font-size: clamp(0.92rem, 3.9vw, 1.06rem);
  }

  .vn-process-apple .process-card-vn h3 {
    grid-area: title;
    margin: 0;
    font-size: clamp(1.02rem, 3.6vw, 1.125rem);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -0.01em;
    align-self: center;
  }

  .vn-process-apple .process-card-vn p {
    grid-area: body;
    margin: 0;
    padding-top: clamp(0.35rem, 1.4vw, 0.55rem);
    border-top: none;
    font-size: clamp(0.875rem, 2.75vw, 0.9375rem);
    line-height: 1.62;
    color: var(--vn-muted);
  }

  @media (hover: hover) and (pointer: fine) {
    .vn-process-apple .process-card-vn:hover {
      transform: none;
      border-left-color: var(--vn-accent);
      border-color: rgba(15, 23, 42, 0.1);
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    }
  }

  .service-compare-card {
    display: grid;
    grid-template-columns: clamp(2.1rem, 10vw, 2.45rem) minmax(0, 1fr);
    column-gap: clamp(0.5rem, 2.5vw, 0.75rem);
    row-gap: 0;
    align-items: center;
    padding: clamp(1.05rem, 3vw, 1.25rem) clamp(0.95rem, 2.8vw, 1.1rem);
  }

  .service-compare-card > .service-compare-card__icon.vn-icon-badge,
  .service-compare-card > .vn-icon-badge.service-compare-card__icon {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0 !important;
    align-self: start;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: clamp(2.1rem, 10vw, 2.45rem);
    height: clamp(2.1rem, 10vw, 2.45rem);
    min-width: clamp(2.1rem, 10vw, 2.45rem);
    min-height: clamp(2.1rem, 10vw, 2.45rem);
    border-radius: 0.5rem;
  }

  .service-compare-card > .service-compare-card__icon .bi {
    font-size: clamp(0.86rem, 3.8vw, 0.98rem);
  }

  .service-compare-card > h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0 !important;
    min-width: 0;
    font-size: clamp(0.95rem, 3.4vw, 1.05rem);
  }

  .service-compare-card > p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.55rem;
  }

  a.pro-tile.pro-tile--link {
    display: grid;
    grid-template-columns: clamp(1.65rem, 7.25vw, 1.95rem) minmax(0, 1fr);
    column-gap: clamp(0.65rem, 3vw, 0.9rem);
    row-gap: 0;
    align-items: start;
    padding: clamp(1.15rem, 3.5vw, 1.6rem) clamp(1rem, 3vw, 1.35rem);
  }

  a.pro-tile.pro-tile--link .pro-tile__icon-badge {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    align-self: start;
    margin-top: 0.14rem;
    width: clamp(1.65rem, 7.25vw, 1.95rem);
    height: clamp(1.65rem, 7.25vw, 1.95rem);
    min-width: clamp(1.65rem, 7.25vw, 1.95rem);
    min-height: clamp(1.65rem, 7.25vw, 1.95rem);
    border-radius: 0.48rem;
  }

  a.pro-tile.pro-tile--link .pro-tile__icon {
    font-size: clamp(0.72rem, 3.15vw, 0.88rem);
  }

  a.pro-tile.pro-tile--link .pro-tile__title {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    min-width: 0;
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  }

  a.pro-tile.pro-tile--link .pro-tile__text {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.6rem;
  }

  a.pro-tile.pro-tile--link .pro-tile__hint {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0.65rem;
    padding-top: 0;
  }

  a.industry-pillar-card.industry-pillar-card--link {
    gap: clamp(0.55rem, 2.2vw, 0.75rem);
  }

  a.industry-pillar-card.industry-pillar-card--link .industry-pillar-card__icon.vn-icon-badge {
    width: clamp(2.1rem, 10vw, 2.5rem);
    height: clamp(2.1rem, 10vw, 2.5rem);
    border-radius: 0.52rem;
  }

  a.industry-pillar-card.industry-pillar-card--link .industry-pillar-card__icon .bi {
    font-size: clamp(0.88rem, 4vw, 1rem);
  }

  a.industry-pillar-card.industry-pillar-card--link .industry-pillar-card__title {
    font-size: clamp(0.93rem, 3.5vw, 1rem);
  }

  /* Home hero metrics row (padding stays with existing .stat-cell / + .stat-cell rules) */
  .hero-stat-bar .stat-value {
    font-size: clamp(1.1rem, 5.5vw, 1.48rem);
  }

  .hero-stat-bar .stat-label {
    font-size: clamp(0.625rem, 2.4vw, 0.6875rem);
  }

  /* Generic / projects-style cards */
  .card-vn .card-img-top {
    height: clamp(140px, 38vw, 176px);
  }

  .card-vn .card-body {
    padding: clamp(0.95rem, 3.2vw, 1.2rem) clamp(0.95rem, 3.2vw, 1.25rem)
      clamp(1rem, 3.3vw, 1.35rem);
  }

  .card-vn-featured {
    min-height: clamp(14.5rem, 68vw, 22rem);
  }

  .card-vn-featured .content {
    padding: clamp(1.15rem, 4vw, 1.75rem) clamp(1.1rem, 3.8vw, 2rem);
  }

  .card-vn-featured .content .title-major,
  .card-vn-featured h3 {
    font-size: clamp(1.08rem, 4.2vw, 1.4rem);
  }

  .project-card-vn__body {
    padding: clamp(1.05rem, 3.2vw, 1.25rem) clamp(1rem, 3vw, 1.25rem)
      clamp(1.15rem, 3.4vw, 1.5rem);
  }

  .project-card-vn__title {
    font-size: clamp(0.98rem, 3.5vw, 1.0625rem);
  }

  .project-card-vn__text {
    font-size: clamp(0.875rem, 2.9vw, 0.9375rem);
  }

  /* Industry grid tiles (glass icon + overlay type) */
  .industry-card-vn__icon.vn-icon-badge--glass {
    width: clamp(1.88rem, 8.5vw, 2.12rem);
    height: clamp(1.88rem, 8.5vw, 2.12rem);
    border-radius: clamp(0.45rem, 2vw, var(--vn-radius-card));
  }

  .industry-card-vn__icon.vn-icon-badge--glass .bi {
    font-size: clamp(0.82rem, 3.5vw, 0.95rem);
  }

  .industry-card-vn__title {
    font-size: clamp(0.95rem, 3.4vw, 1.05rem);
  }

  .industry-card-vn__text {
    font-size: clamp(0.78rem, 2.6vw, 0.875rem);
  }

  /* Home #industries — horizontal swipe slider (same rhythm as #projects on small screens) */
  #industries .row.g-4 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    gap: clamp(1.05rem, 3.5vw, 1.35rem);
    margin-left: 0;
    margin-right: 0;
    padding: 0.55rem 0.3rem clamp(1.95rem, 5.5vw, 2.55rem);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #industries .row.g-4::-webkit-scrollbar {
    display: none;
  }

  #industries .row.g-4 > [class*="col-"] {
    flex: 0 0 86%;
    max-width: 86%;
    padding: 0.45rem 0.55rem 0.75rem;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    box-sizing: border-box;
  }

  #industries .industry-card-vn__media {
    aspect-ratio: 4 / 5;
  }

  #industries .industry-card-vn__overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1rem, 3.5vw, 1.25rem) clamp(0.9rem, 3vw, 1.1rem) clamp(0.95rem, 3vw, 1.15rem);
    padding-top: clamp(2rem, 6vw, 2.6rem);
  }

  #industries .industry-card-vn__icon.vn-icon-badge--glass {
    display: none;
  }

  #industries .industry-card-vn__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.35rem;
    font-size: clamp(0.9rem, 3.2vw, 1rem);
    line-height: 1.28;
    min-height: 0;
  }

  #industries .industry-card-vn__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    opacity: 0.92;
    line-height: 1.45;
  }

  @media (prefers-reduced-motion: reduce) {
    #industries .row.g-4 {
      scroll-snap-type: x proximity;
    }
  }

  /* Dark depth cards (industries) */
  .industry-depth-card {
    padding: clamp(1.15rem, 3.5vw, 1.5rem) clamp(1.05rem, 3.2vw, 1.35rem);
  }

  .industry-depth-card__icon {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
    margin-bottom: clamp(0.65rem, 2.2vw, 1rem);
  }

  .industry-depth-card__text {
    font-size: clamp(0.84rem, 2.8vw, 0.9375rem);
  }

  /* Service trust band */
  .service-trust-section .service-trust-card {
    padding: clamp(1.12rem, 3.4vw, 1.5rem) clamp(1rem, 3vw, 1.25rem);
  }

  .service-trust-premium__pillars {
    padding: 0.2rem clamp(0.85rem, 3vw, 1.25rem);
  }

  .service-trust-premium__pillar {
    gap: clamp(0.72rem, 2.6vw, 1rem);
    padding: clamp(1.05rem, 3vw, 1.35rem) 0;
  }

  .service-trust-premium__pillar > i.bi {
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
  }

  .service-trust-premium__pillar .h5 {
    font-size: clamp(0.95rem, 3.4vw, 1.05rem);
  }

  .service-trust-gallery--single .service-trust-gallery__img,
  .service-trust-gallery--duo .service-trust-gallery__img {
    min-height: clamp(160px, 42vw, 200px);
  }

  /* Service page closing CTA */
  .service-cta-light {
    padding: clamp(2.25rem, 6.5vw, 3.5rem) clamp(0.85rem, 3vw, 1rem);
  }

  /* About: mosaic + full-bleed rhythm */
  .about-mosaic__main,
  .about-mosaic__a,
  .about-mosaic__b {
    min-height: clamp(10rem, 32vw, 12.5rem);
  }

  .about-mosaic__main {
    min-height: clamp(10.5rem, 34vw, 13rem);
  }

  .about-mosaic__main img,
  .about-mosaic__a img,
  .about-mosaic__b img,
  .about-mosaic__main picture,
  .about-mosaic__main picture img {
    min-height: clamp(10rem, 32vw, 12.5rem);
  }

  .about-mosaic__cap {
    padding: clamp(0.72rem, 2.5vw, 1rem) clamp(0.85rem, 3vw, 1.1rem);
    font-size: clamp(0.84rem, 2.9vw, 0.9375rem);
  }

  .about-mosaic__chip-text {
    padding: clamp(0.72rem, 2.5vw, 1rem);
    font-size: clamp(0.8rem, 2.8vw, 0.875rem);
  }

  .about-fullbleed {
    min-height: clamp(13rem, 48vw, 22rem);
    padding: clamp(2.2rem, 7vw, 3.5rem) clamp(0.95rem, 3.2vw, 1.25rem);
  }

  /* Service intros: top icon */
  .service-detail-intro__icon.vn-icon-badge {
    width: clamp(2.35rem, 11vw, 3.1rem);
    height: clamp(2.35rem, 11vw, 3.1rem);
    margin-bottom: clamp(0.85rem, 2.8vw, 1.25rem);
  }

  .service-detail-intro__icon.vn-icon-badge .bi {
    font-size: clamp(1.02rem, 4.2vw, 1.32rem);
  }

.cta-dark {
    padding-top: clamp(2.25rem, 7vw, 3.25rem);
    padding-bottom: clamp(2.25rem, 7vw, 3.25rem);
  }

.cta-dark h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }
}

@media (max-width: 575.98px) {
#industries-process .text-center.mt-5 {
    margin-top: clamp(1.35rem, 4vw, 1.75rem) !important;
  }
}

.vn-breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.vn-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.vn-breadcrumb li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.25);
  margin-right: 0.5rem;
}

.vn-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.vn-breadcrumb a:hover {
  color: var(--vn-accent);
}

.vn-breadcrumb .active {
  color: rgba(255, 255, 255, 0.45);
}

/* Long copy: compact on small viewports when JS enables read-more */
.vn-read-more {
  --vn-read-more-fade: #ffffff;
}

.vn-read-more--surface-canvas {
  --vn-read-more-fade: var(--vn-canvas);
}

.vn-read-more__toggle {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-top: clamp(0.35rem, 1.5vw, 0.65rem);
  padding: 0.35rem 0;
  border: 0;
  background: none;
  font-family: var(--vn-font);
  font-size: clamp(0.8125rem, 2.4vw, 0.875rem);
  font-weight: 600;
  color: var(--vn-accent);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.vn-read-more__toggle:hover {
  color: color-mix(in srgb, var(--vn-accent) 85%, #000);
}

.vn-read-more__toggle:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.vn-read-more__toggle-icon {
  display: inline-block;
  font-size: 0.95em;
  transition: transform 0.28s var(--vn-ease-premium, ease);
}

.vn-read-more.is-expanded .vn-read-more__toggle-icon {
  transform: rotate(180deg);
}

@media (max-width: 767.98px) {
  .vn-read-more.vn-read-more--js .vn-read-more__toggle {
    display: inline-flex;
  }

  .vn-read-more.vn-read-more--js:not(.is-expanded) .vn-read-more__panel {
    position: relative;
    max-height: clamp(9.25rem, 38vw, 12.25rem);
    overflow: hidden;
    transition: max-height 0.42s var(--vn-ease-premium, ease);
  }

  .vn-read-more.vn-read-more--js.is-expanded .vn-read-more__panel {
    max-height: 120rem;
  }

  .vn-read-more.vn-read-more--js:not(.is-expanded) .vn-read-more__panel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(2.35rem, 9vw, 3.25rem);
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--vn-read-more-fade));
  }

  .vn-read-more.vn-read-more--js.is-expanded .vn-read-more__panel::after {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vn-read-more__toggle-icon,
  .vn-read-more.vn-read-more--js:not(.is-expanded) .vn-read-more__panel,
  .vn-read-more.vn-read-more--js.is-expanded .vn-read-more__panel {
    transition: none !important;
  }
}

.vn-inner-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.vn-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .vn-service-pills {
    gap: 0.4rem;
  }

  .vn-service-pills .btn {
    width: auto;
    max-width: none;
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 8.5rem;
    text-align: center;
  }
}

.vn-service-pills .btn {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--vn-radius);
}

.vn-service-pills .btn.is-current {
  pointer-events: none;
  opacity: 1;
}

.vn-service-pills .btn-vn-outline.is-current {
  border-color: var(--vn-accent);
  background: rgba(0, 124, 140, 0.14);
  color: var(--vn-accent);
}

.vn-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vn-check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.vn-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border: 2px solid var(--vn-accent);
  border-radius: 2px;
  background: rgba(0, 124, 140, 0.12);
}

.vn-form-panel {
  background: #1a1f26;
  color: #fff;
  border-radius: var(--vn-radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--vn-shadow-card);
}

.vn-form-panel .form-control,
.vn-form-panel .form-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: var(--vn-radius);
}

.vn-form-panel .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.vn-form-panel .form-control:focus,
.vn-form-panel .form-select:focus {
  border-color: var(--vn-accent);
  box-shadow: 0 0 0 0.2rem rgba(0, 124, 140, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.vn-form-panel .form-select option {
  background: #1a1f26;
  color: #fff;
}

.vn-form-panel label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.vn-form-panel .vn-required {
  color: #ff4d4d;
  font-weight: 700;
  margin-left: 0.15em;
}

.vn-form-panel .form-legend {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.vn-form-panel .form-check {
  margin-bottom: 0.35rem;
}

.vn-form-panel .form-check-label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.vn-form-panel .form-check-label a {
  color: #7fd4df;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vn-form-panel .form-check-label a:hover {
  color: #fff;
}

.vn-form-panel .form-check-input {
  border-color: rgba(255, 255, 255, 0.38);
  background-color: rgba(255, 255, 255, 0.06);
}

.vn-form-panel .form-check-input:focus {
  border-color: var(--vn-accent);
  box-shadow: 0 0 0 0.2rem rgba(0, 124, 140, 0.25);
}

.vn-form-panel .form-check-input:checked {
  background-color: var(--vn-accent);
  border-color: var(--vn-accent);
}

/* Contact page: shorter measure for intro copy, wider form (F-pattern / scan path) */
@media (min-width: 992px) {
  .contact-page__aside .contact-page__lead {
    max-width: min(100%, 26rem);
    line-height: 1.65;
  }
}

@media (min-width: 1200px) {
  .contact-page__aside .contact-page__lead {
    max-width: min(100%, 22rem);
  }
}

/* Contact aside: same icon tile scale as .why-us-list__icon (vn-icon-badge--sm) */
.contact-page__detail {
  gap: clamp(0.65rem, 2.5vw, 0.85rem);
}

.contact-page__aside .contact-page__detail-icon.vn-icon-badge {
  margin-top: 0.08rem;
}

@media (max-width: 575.98px) {
  .contact-page__aside .contact-page__detail-icon.vn-icon-badge {
    width: 2.4rem;
    height: 2.4rem;
    min-width: 2.4rem;
    min-height: 2.4rem;
  }

  .contact-page__aside .contact-page__detail-icon.vn-icon-badge .bi {
    font-size: 0.95rem;
  }
}

.contact-page__form-col .contact-page__form-panel {
  width: 100%;
}

@media (min-width: 992px) {
  .contact-page__form-col {
    min-width: 0;
  }
}

.map-vn {
  line-height: 0;
  border-top: 1px solid var(--vn-line);
}

.map-vn iframe {
  width: 100%;
  height: min(420px, 55vh);
  border: 0;
  display: block;
}

.services-card-vn {
  display: block;
  height: 100%;
  position: relative;
  isolation: isolate;
  padding: clamp(1.55rem, 2.2vw, 1.95rem) clamp(1.2rem, 1.8vw, 1.55rem);
  background: linear-gradient(165deg, #ffffff 0%, #f6f8f9 55%, #f0f3f5 100%);
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius-card);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--vn-shadow-card-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    border-color 0.5s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium);
}

.services-card-vn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 40%);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: soft-light;
}

.services-card-vn > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .services-card-vn:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
    transform: var(--vn-interactive-card-transform-hover);
    color: inherit;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .services-card-vn:hover {
    border-color: rgba(0, 124, 140, 0.35);
    box-shadow: var(--vn-glow-accent-soft);
    color: inherit;
  }
}

.services-card-vn:focus-visible,
.project-card-vn:focus-visible {
  box-shadow: var(--vn-glow-accent-strong);
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
}

.gallery-thumb:focus-within,
.box-work-vn:focus-within {
  box-shadow: var(--vn-glow-accent-strong);
  outline: none;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .services-card-vn:focus-visible,
  .project-card-vn:focus-visible,
  .industry-card-vn:focus-visible {
    transform: var(--vn-interactive-card-transform-focus);
  }
}

.services-card-vn h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.28;
}

.services-card-vn .services-card-vn__icon-badge {
  flex-shrink: 0;
}

.services-card-vn .services-card-vn__icon {
  font-size: var(--vn-icon-badge-glyph);
  line-height: 1;
}

.services-card-vn p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--vn-muted);
  line-height: 1.58;
}

.why-us-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.why-us-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.why-us-list__icon.vn-icon-badge {
  margin-top: 0.08rem;
}

@media (max-width: 575.98px) {
  .why-us-list {
    gap: 0.8rem;
  }

  .why-us-list__icon.vn-icon-badge {
    width: 2.4rem;
    height: 2.4rem;
  }

  .why-us-list__icon.vn-icon-badge .bi {
    font-size: 0.95rem;
  }
}

.navbar-vn .dropdown-menu {
  border-radius: var(--vn-radius);
  border: 1px solid var(--vn-line);
  box-shadow: var(--vn-shadow-card);
}

.navbar-vn .dropdown-item {
  font-size: 0.875rem;
}

.navbar-vn .dropdown-item:active {
  background-color: rgba(0, 124, 140, 0.12);
  color: var(--vn-ink);
}

/* Projects page - portfolio cards (Hamela-inspired grid) */
.project-card-vn {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius-card);
  overflow: hidden;
  background: var(--vn-surface);
  box-shadow: var(--vn-shadow-card-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    border-color 0.5s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium);
}

.project-card-vn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 35%, transparent 100%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .project-card-vn:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
    transform: var(--vn-interactive-card-transform-hover);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .project-card-vn:hover {
    border-color: rgba(0, 124, 140, 0.35);
    box-shadow: var(--vn-glow-accent-soft);
  }
}

.project-card-vn__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--vn-canvas);
}

.project-card-vn__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.68s var(--vn-ease-premium), filter 0.55s var(--vn-ease-standard);
}

@media (hover: hover) and (pointer: fine) {
  .project-card-vn:hover .project-card-vn__media img {
    transform: scale(var(--vn-card-media-zoom));
    filter: saturate(1.06) contrast(1.02);
  }
}

.project-card-vn__body {
  position: relative;
  z-index: 3;
  padding: var(--vn-card-padding-y) var(--vn-card-padding-x) calc(var(--vn-card-padding-y) + 0.25rem);
  background: var(--vn-surface);
}

.project-card-vn__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--vn-ink);
  line-height: 1.35;
}

.project-card-vn__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--vn-muted);
  line-height: 1.55;
}

.project-card-vn__text strong {
  color: var(--vn-ink);
  font-weight: 600;
}

.project-card-vn--gallery {
  cursor: pointer;
  text-align: left;
}

.project-card-vn--gallery:focus {
  outline: none;
}

.project-card-vn--gallery:focus-visible {
  outline: var(--vn-focus-ring-width) solid var(--vn-focus-ring-color);
  outline-offset: var(--vn-focus-ring-offset);
}

.project-card-vn__gallery-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border-radius: var(--vn-radius-sm, 4px);
  pointer-events: none;
}

.project-card-vn__media.position-relative {
  position: relative;
}

.vn-project-gallery-modal .carousel-inner {
  background: color-mix(in srgb, var(--vn-accent) 12%, var(--vn-canvas));
}

@supports not (background: color-mix(in srgb, red, red)) {
  .vn-project-gallery-modal .carousel-inner {
    background: var(--vn-accent-muted);
  }
}

.vn-project-gallery-modal .vn-gallery-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.35rem;
}

.vn-project-gallery-modal .vn-gallery-slide-caption {
  margin: 0;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--vn-text-muted, #5c5f66);
  text-align: center;
  max-width: 42rem;
}

.vn-project-gallery-modal .carousel-item img {
  width: 100%;
  max-height: min(78vh, 900px);
  object-fit: contain;
  background: transparent;
  border-radius: var(--vn-radius-sm, 4px);
}

.vn-project-gallery-modal .carousel-item > picture {
  display: block;
  width: 100%;
}

.vn-project-gallery-modal .carousel-item > picture img {
  width: 100%;
  max-height: min(78vh, 900px);
  object-fit: contain;
  background: transparent;
  border-radius: var(--vn-radius-sm, 4px);
}

.vn-project-gallery-modal .carousel-control-prev,
.vn-project-gallery-modal .carousel-control-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  opacity: 1;
  background-color: var(--vn-accent);
  border-radius: 50%;
  border: 0;
  transition: background-color var(--vn-motion-fast) var(--vn-ease-standard),
    box-shadow var(--vn-motion-fast) var(--vn-ease-standard);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.vn-project-gallery-modal .carousel-control-prev {
  left: 0.65rem;
}

.vn-project-gallery-modal .carousel-control-next {
  right: 0.65rem;
}

@media (hover: hover) and (pointer: fine) {
  .vn-project-gallery-modal .carousel-control-prev:hover,
  .vn-project-gallery-modal .carousel-control-next:hover {
    background-color: var(--vn-accent-hover);
  }

  .vn-project-gallery-modal .carousel-control-prev:focus:hover,
  .vn-project-gallery-modal .carousel-control-next:focus:hover {
    background-color: var(--vn-accent-hover);
  }
}

.vn-project-gallery-modal .carousel-control-prev:focus-visible,
.vn-project-gallery-modal .carousel-control-next:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
}

.vn-project-gallery-modal .carousel-control-prev-icon,
.vn-project-gallery-modal .carousel-control-next-icon {
  width: 1.65rem;
  height: 1.65rem;
  filter: brightness(0) invert(1);
}

.vn-project-gallery-modal .carousel-indicators {
  margin-bottom: 0.25rem;
}

.vn-project-gallery-modal .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--vn-accent) 35%, transparent);
  border: 0;
  opacity: 0.65;
}

.vn-project-gallery-modal .carousel-indicators [data-bs-target].active {
  background-color: var(--vn-accent);
  opacity: 1;
}

/* Gallery modals on small screens: hug image height (scrollable dialog was ~full viewport) */
@media (max-width: 767.98px) {
  .modal-dialog:has(.vn-project-gallery-modal) {
    height: auto !important;
    max-height: min(92vh, calc(100vh - 1.5rem));
    max-height: min(92dvh, calc(100dvh - 1.5rem));
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .modal-dialog:has(.vn-project-gallery-modal).modal-dialog-scrollable .modal-content {
    max-height: min(92vh, calc(100vh - 1.5rem));
    max-height: min(92dvh, calc(100dvh - 1.5rem));
    overflow: hidden;
  }

  .modal-dialog:has(.vn-project-gallery-modal) .modal-body {
    flex: 0 1 auto;
    overflow-y: auto;
    min-height: 0;
  }

  .vn-project-gallery-modal .carousel-inner {
    min-height: 0;
  }

  .vn-project-gallery-modal .carousel-item img,
  .vn-project-gallery-modal .carousel-item > picture img {
    max-height: min(72vh, 85vh);
    max-height: min(72dvh, 85dvh);
    width: 100%;
    height: auto;
  }
}

/* Gallery / work tiles: calm forward drift (avoids fighting 3D card transforms) */
@keyframes vnCardForwardDrift {
  0% {
    translate: 0 0;
  }
  50% {
    translate: 0 -2px;
  }
  100% {
    translate: 0 0;
  }
}

@supports (translate: 0 0) {
  @media (hover: hover) and (pointer: fine) {
    .gallery-thumb {
      animation: vnCardForwardDrift 5.6s var(--vn-ease-standard) infinite;
      animation-play-state: paused;
    }

    .gallery-thumb.is-visible {
      animation-play-state: running;
    }

    .gallery-thumb:hover {
      animation-play-state: paused;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .gallery-thumb {
      animation: none !important;
      translate: 0 0;
    }
  }
}

/* Service subpages: light comparison band, trust blocks, light CTA */
.service-compare-section {
  background: var(--vn-surface);
  border-top: 1px solid var(--vn-line);
}

.service-compare-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius-card);
  box-shadow: var(--vn-shadow-card-premium);
  height: 100%;
  padding: 1.35rem 1.25rem;
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    border-color 0.45s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium);
}

.service-compare-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.7) 0%, transparent 45%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: soft-light;
}

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

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-compare-card:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
    transform: var(--vn-interactive-card-transform-hover);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .service-compare-card:hover {
    border-color: rgba(0, 124, 140, 0.3);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }
}

@media (min-width: 1200px) {
  .service-compare-section--cctv-types .service-compare-card {
    min-height: 14rem;
    padding: 1.6rem 1.2rem;
    display: flex;
    flex-direction: column;
  }

  .service-compare-section--cctv-types .service-compare-card .small {
    max-width: 16.5rem;
    margin-top: auto;
  }
}

.service-trust-section .service-trust-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius-card);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--vn-shadow-card-premium);
  transition:
    border-color 0.5s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-trust-section .service-trust-card:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
    transform: var(--vn-interactive-card-transform-hover);
  }
}

/* Service detail intro - asymmetric split (Hamela-style), VN tokens */
.service-detail-intro__icon.vn-icon-badge {
  margin-bottom: 1.25rem;
}

/* display:block + width:fit-content премахва flex центрирането на .vn-icon-badge → иконата „лепне“ горе вляво */
.service-compare-card__icon.vn-icon-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail-intro__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vn-muted);
}

.service-detail-intro .service-detail-intro__lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--vn-ink-soft);
}

/* Service detail hero photo: portrait assets otherwise fill the whole mobile viewport */
@media (max-width: 991.98px) {
  .vn-inner-section.service-detail-intro:not(.about-page-hero) .service-detail-intro__icon {
    display: none !important;
  }

  .vn-inner-section.service-detail-intro:not(.about-page-hero)
    .service-detail-intro__media:not(.service-detail-intro__media--brand-dark) {
    width: 100%;
    height: clamp(11.5rem, 52vh, 22rem);
    overflow: hidden;
    border-radius: var(--vn-radius);
    border: 1px solid var(--vn-line);
    box-shadow: var(--vn-shadow-card);
  }

  .vn-inner-section.service-detail-intro:not(.about-page-hero)
    .service-detail-intro__media:not(.service-detail-intro__media--brand-dark)
    > picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .vn-inner-section.service-detail-intro:not(.about-page-hero)
    .service-detail-intro__media:not(.service-detail-intro__media--brand-dark)
    img.img-cover-rounded {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
    box-shadow: none;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
}

@media (min-width: 992px) {
  .service-detail-intro__media {
    padding-left: 1rem;
    border-left: 3px solid var(--vn-accent);
  }
}

.service-detail-intro__media > picture {
  display: block;
  width: 100%;
}

/* Partner logo on light ground - blends with typical HIKVISION artwork (e.g. CCTV intro) */
.service-detail-intro__media--brand-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(260px, 42vw, 360px);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--vn-radius);
  background: #fff;
  border: 1px solid var(--vn-line);
  box-shadow: var(--vn-shadow-card);
}

.service-detail-intro__media--brand-dark .service-detail-intro__brand-img {
  width: 100%;
  max-width: min(100%, 28rem);
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 992px) {
  .service-detail-intro__media--brand-dark {
    min-height: 360px;
  }
}

/* Trust - editorial header + collage + pillar list */
.service-trust-premium__head {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--vn-line);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.service-trust-premium__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vn-accent);
}

.service-trust-premium__aside {
  border-left: 3px solid var(--vn-accent);
  padding-left: 1.25rem;
}

@media (max-width: 991.98px) {
  .service-trust-premium__aside {
    margin-top: 0.25rem;
  }
}

.service-trust-premium__collage {
  position: relative;
  padding-bottom: clamp(1.5rem, 5vw, 2.75rem);
  padding-right: clamp(0.25rem, 1.5vw, 1rem);
  max-width: 36rem;
}

.service-trust-premium__main {
  margin: 0;
  border-radius: var(--vn-radius);
  overflow: hidden;
  border: 1px solid var(--vn-line);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
  background: var(--vn-canvas);
  max-height: clamp(220px, 36vh, 340px);
}

.service-trust-premium__main img {
  width: 100%;
  display: block;
  height: clamp(220px, 36vh, 340px);
  object-fit: cover;
  object-position: center;
}

.service-trust-premium__main picture {
  display: block;
  width: 100%;
}

.service-trust-premium__main picture img {
  width: 100%;
  display: block;
  height: clamp(220px, 36vh, 340px);
  object-fit: cover;
  object-position: center;
}

.service-trust-premium__accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(38%, 200px);
  margin: 0;
  border: 3px solid var(--vn-surface);
  border-radius: var(--vn-radius);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  background: var(--vn-surface);
}

.service-trust-premium__accent img {
  width: 100%;
  display: block;
  height: clamp(100px, 22vw, 140px);
  object-fit: cover;
  object-position: center;
}

.service-trust-premium__accent--brand-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.6rem;
  background: #fff;
  border: 3px solid var(--vn-surface);
}

.service-trust-premium__accent--brand-dark .service-trust-premium__accent-brand-img {
  object-fit: contain;
  height: clamp(92px, 20vw, 128px);
}

@media (max-width: 991.98px) {
  .service-trust-premium__collage {
    padding-bottom: 0;
    padding-right: 0;
    max-width: none;
  }

  .service-trust-premium__accent {
    position: relative;
    width: min(62%, 220px);
    margin: -1.5rem 0 0 auto;
  }
}

.service-trust-premium__pillars {
  background: var(--vn-surface);
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  padding: 0.25rem 1.25rem;
  box-shadow: var(--vn-shadow-card);
}

.service-trust-premium__pillar {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--vn-line-subtle);
  align-items: flex-start;
  transition: transform 0.45s var(--vn-ease-premium), background-color 0.35s var(--vn-ease);
}

.service-trust-premium__pillar:hover {
  transform: translateX(3px) scale3d(1.006, 1.006, 1);
  background-color: rgba(0, 124, 140, 0.03);
}

.service-trust-premium__pillar:last-child {
  border-bottom: none;
}

.service-trust-premium__pillar > i.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--vn-icon-badge-size-xs);
  height: var(--vn-icon-badge-size-xs);
  margin-top: 0.1rem;
  border-radius: 0.5rem;
  background: linear-gradient(155deg, #ffffff 0%, #e9eef3 52%, #dfe6ec 100%);
  border: 1px solid rgba(26, 29, 33, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 2px 5px rgba(15, 23, 42, 0.05),
    0 6px 14px rgba(15, 23, 42, 0.06);
  color: var(--vn-accent);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.45s var(--vn-ease-premium), box-shadow 0.45s var(--vn-ease-premium);
}

.service-trust-premium__pillar:hover > i.bi {
  transform: scale(1.04);
}

.service-trust-premium__pillar .h5 {
  color: var(--vn-ink);
}

/* Trust gallery: framed photos with consistent geometry */
.service-trust-gallery {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.service-trust-gallery__item {
  margin: 0;
  border-radius: var(--vn-radius-card);
  overflow: hidden;
  border: 1px solid var(--vn-line);
  box-shadow: var(--vn-shadow-card-premium);
  background: var(--vn-canvas);
  transition:
    box-shadow 0.55s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium),
    border-color 0.5s var(--vn-ease-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-trust-gallery__item:hover {
    box-shadow: var(--vn-shadow-card-premium-hover);
    border-color: var(--vn-card-border-hover);
    transform: var(--vn-interactive-card-transform-hover);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .service-trust-gallery__item:hover {
    box-shadow: var(--vn-shadow-card-premium-hover);
    border-color: var(--vn-card-border-hover);
  }
}

.service-trust-gallery__img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.68s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-trust-gallery__item:hover .service-trust-gallery__img {
    transform: scale(var(--vn-card-media-zoom-soft));
  }
}

/* Single hero-style frame */
.service-trust-gallery--single {
  max-width: 44rem;
}

.service-trust-gallery--single .service-trust-gallery__img {
  aspect-ratio: 16 / 10;
  min-height: 200px;
}

/*
 * Duo: равни колони + еднакъв прозорец (4:3), за да няма „кула + миниатюра“.
 * Портретни и хоризонтални сурови кадри се изрязват централно.
 */
.service-trust-gallery--duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-trust-gallery--duo .service-trust-gallery__img {
  aspect-ratio: 4 / 3;
  min-height: 200px;
}

@media (min-width: 768px) {
  .service-trust-gallery--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
  }

  .service-trust-gallery--duo .service-trust-gallery__img {
    min-height: 260px;
  }
}

.service-cta-light {
  padding: 3.5rem 1rem;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid var(--vn-line);
}

.service-cta-light h2 {
  color: var(--vn-ink);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.service-cta-light__text {
  color: var(--vn-muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* About page - mosaic, full-bleed, zigzag, timeline (hero uses .service-detail-intro like service pages) */

/* About hero: copy first on mobile; keep hero image compact and scannable */
@media (max-width: 991.98px) {
  .about-page-hero .service-detail-intro__media {
    width: 100%;
    height: clamp(10.5rem, 46vw, 15rem);
    overflow: hidden;
    border-radius: var(--vn-radius);
    box-shadow: var(--vn-shadow-card);
  }

  .about-page-hero .service-detail-intro__media img.img-cover-rounded {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 28%;
    display: block;
  }
}

/* Stats row - compact band, no tinted background (inherits page surface) */
.about-stat-strip {
  color: var(--vn-text);
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 1px solid var(--vn-line);
}

.about-stat-strip__cell {
  padding: 0.85rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.about-stat-strip__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.about-stat-strip__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

@media (min-width: 768px) {
  .about-stat-strip__cell {
    justify-content: flex-start;
    padding: 0.85rem 1.25rem;
    border-left: 1px solid var(--vn-line);
  }

  .about-stat-strip__cell:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

.about-stat-strip__icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  background: var(--vn-surface);
  color: var(--vn-accent);
  font-size: 1.5rem;
  box-shadow: var(--vn-shadow-card);
}

@media (min-width: 992px) {
  .about-stat-strip__icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.65rem;
  }
}

.about-stat-strip__val {
  font-family: var(--vn-font);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--vn-ink);
  line-height: 1.15;
}

.about-stat-strip__label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vn-muted);
  margin-top: 0;
  line-height: 1.35;
}

.about-pull-quote {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--vn-ink);
  border-left: 3px solid var(--vn-accent);
  padding: 0.35rem 0 0.35rem 1.25rem;
  margin: 1.5rem 0;
  font-weight: 500;
}

.about-mosaic {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about-mosaic {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 300px;
  }

  .about-mosaic__main {
    grid-row: 1 / -1;
    grid-column: 1;
  }

  .about-mosaic__a {
    grid-column: 2;
    grid-row: 1;
  }

  .about-mosaic__b {
    grid-column: 2;
    grid-row: 2;
  }
}

.about-mosaic__main,
.about-mosaic__a,
.about-mosaic__b {
  position: relative;
  border-radius: var(--vn-radius);
  overflow: hidden;
  border: 1px solid var(--vn-line);
  min-height: 200px;
}

.about-mosaic__main {
  min-height: 220px;
}

.about-mosaic__main img,
.about-mosaic__a img,
.about-mosaic__b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.about-mosaic__main picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.about-mosaic__main picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.about-mosaic__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.88));
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}

a.about-mosaic__main,
.about-mosaic__a,
.about-mosaic__b {
  display: block;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--vn-shadow-card-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    border-color 0.5s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.about-mosaic__main:hover,
  .about-mosaic__a:hover,
  .about-mosaic__b:hover {
    transform: var(--vn-interactive-card-transform-hover);
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  a.about-mosaic__main:hover,
  .about-mosaic__a:hover,
  .about-mosaic__b:hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }
}

a.about-mosaic__main:focus-visible,
.about-mosaic__a:focus-visible,
.about-mosaic__b:focus-visible {
  outline: 2px solid var(--vn-accent);
  outline-offset: 3px;
  box-shadow: var(--vn-glow-accent-strong);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.about-mosaic__main:focus-visible,
  .about-mosaic__a:focus-visible,
  .about-mosaic__b:focus-visible {
    transform: var(--vn-interactive-card-transform-focus);
  }
}

.about-mosaic__chip-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85));
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}

.about-fullbleed {
  position: relative;
  min-height: min(44vh, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.25rem;
  background: var(--vn-dark) center / cover no-repeat;
  color: #fff;
}

.about-fullbleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 18, 28, 0.82), rgba(12, 18, 28, 0.55));
}

.about-fullbleed .container {
  position: relative;
  z-index: 1;
}

.about-fullbleed h2 {
  color: #fff;
  font-weight: 600;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.about-fullbleed p,
.about-fullbleed .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.about-fullbleed--compact {
  min-height: min(30vh, 240px);
  padding: clamp(2rem, 5vw, 3.25rem) 1.25rem;
  text-align: left;
}

.about-fullbleed--compact .container {
  text-align: left;
}

@media (min-width: 768px) {
  .about-fullbleed--compact {
    min-height: min(34vh, 280px);
  }
}

.about-zigzag__row {
  align-items: center;
}

/* Outer: shadow + lift (overflow visible so hover shadow is not clipped). Inner clip: border + image zoom. */
.about-zigzag__media {
  border-radius: var(--vn-radius-card);
  overflow: visible;
  border: none;
  box-shadow: var(--vn-shadow-card-premium);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform 0.55s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium);
}

.about-zigzag__media-clip {
  border-radius: inherit;
  overflow: hidden;
  border: 1px solid var(--vn-line);
  transform: translateZ(0);
  transition: border-color 0.5s var(--vn-ease-premium);
}

.about-zigzag__media:not(:has(> .about-zigzag__media-clip)) {
  overflow: hidden;
  border: 1px solid var(--vn-line);
  box-shadow: var(--vn-shadow-card-premium);
  transition:
    border-color 0.5s var(--vn-ease-premium),
    transform 0.55s var(--vn-ease-premium),
    box-shadow 0.55s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .about-zigzag__media:hover {
    transform: var(--vn-interactive-card-transform-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }

  .about-zigzag__media:hover .about-zigzag__media-clip {
    border-color: var(--vn-card-border-hover);
  }

  .about-zigzag__media:not(:has(> .about-zigzag__media-clip)):hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
    transform: var(--vn-interactive-card-transform-hover);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .about-zigzag__media:hover {
    box-shadow: var(--vn-shadow-card-premium-hover);
  }

  .about-zigzag__media:hover .about-zigzag__media-clip {
    border-color: var(--vn-card-border-hover);
  }

  .about-zigzag__media:not(:has(> .about-zigzag__media-clip)):hover {
    border-color: var(--vn-card-border-hover);
    box-shadow: var(--vn-shadow-card-premium-hover);
  }
}

.about-zigzag__media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  max-height: min(360px, 70vw);
  transition: transform 0.68s var(--vn-ease-premium);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .about-zigzag__media:hover img {
    transform: scale(var(--vn-card-media-zoom-soft));
  }
}

/* Diagrams / infographics: show full image without cropping */
.about-zigzag__media--diagram img {
  aspect-ratio: auto;
  max-height: min(420px, 82vw);
  object-fit: contain;
  object-position: center;
  background: var(--vn-surface);
}

/* Match tall sibling column (e.g. partner panel) */
.about-zigzag__media--stretch {
  height: 100%;
  min-height: 100%;
  max-height: none;
}

.about-zigzag__media--stretch .about-zigzag__media-clip {
  height: 100%;
  min-height: 100%;
}

.about-zigzag__media--stretch img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .about-zigzag__media--stretch {
    min-height: 280px;
    max-height: 440px;
  }

  .about-zigzag__media--stretch img {
    min-height: 280px;
    max-height: 440px;
  }
}

.about-process-track {
  position: relative;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .about-process-track::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 1.35rem;
    height: 2px;
    background: linear-gradient(90deg, var(--vn-accent), rgba(0, 124, 140, 0.2));
    z-index: 0;
  }
}

.about-process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem 1.5rem;
}

@media (max-width: 991.98px) {
  .about-process-step {
    padding-bottom: 2rem;
    border-left: 2px solid var(--vn-line);
    margin-left: 0.75rem;
    padding-left: 1.25rem;
    text-align: left;
  }

  .about-process-step::before {
    content: "";
    position: absolute;
    left: -0.45rem;
    top: 0.35rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--vn-accent);
  }
}

.about-process-step__num {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vn-surface);
  border: 2px solid var(--vn-accent);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--vn-accent);
}

@media (max-width: 991.98px) {
  .about-process-step__num {
    margin: 0 0 0.75rem;
  }
}

.about-process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.about-partner-panel {
  background: linear-gradient(145deg, var(--vn-dark) 0%, #1a222e 100%);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--vn-radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-partner-panel .block-sub {
  color: rgba(255, 255, 255, 0.45);
}

.about-partner-panel h2 {
  color: #fff;
}

.about-partner-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.about-partner-panel .btn-vn-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: transparent;
}

.about-partner-panel .btn-vn-outline:hover {
  border-color: var(--vn-accent);
  background: rgba(0, 124, 140, 0.22);
  color: #fff;
}

.about-partner-panel .btn-vn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--vn-accent);
  --bs-btn-border-color: var(--vn-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--vn-accent-hover);
  --bs-btn-hover-border-color: var(--vn-accent-hover);
}

/* HIK partner band: index, services, about, membership - banner + left card; right side shows campaign art */
.vn-hik-partner-band {
  position: relative;
  z-index: 0;
  background-color: var(--vn-canvas);
  background-image: url("../Img/projects/Hik-partner-pro-banner.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* vertical rhythm from .section-vn-xl; horizontal inset so banner peeks at sides on narrow containers */
  padding-inline: clamp(0.5rem, 2vw, 1.25rem);
}

@media (max-width: 991.98px) {
  .vn-hik-partner-band {
    background-position: 22% center;
  }
}

/* Dark card sits on top of the band; inset so banner shows above/below and at sides */
.about-partner-panel.about-partner-panel--on-hik-band {
  position: relative;
  z-index: 1;
  margin-block: clamp(0.35rem, 1.5vw, 1rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  min-height: clamp(18rem, 42vw, 24rem);
}

/* Long supporting line under HIK-PRO intro: hidden on phones to keep the band compact */
@media (max-width: 767.98px) {
  .about-partner-panel--on-hik-band .about-partner-panel__detail {
    display: none !important;
  }

  .about-partner-panel.about-partner-panel--on-hik-band {
    min-height: 0;
  }

  /* Mobile: banner + тъмен панел с текст и бутони (CTA трябва да се вижда) */
  .vn-hik-partner-band {
    min-height: 0;
    background-position: center;
    padding-top: clamp(1.1rem, 4.5vw, 1.6rem);
    padding-bottom: clamp(1.1rem, 4.5vw, 1.6rem);
  }

  /* HIK band card (index, services, about, membership): headline + CTAs only — hide kicker + lead paragraphs */
  .vn-hik-partner-band .about-partner-panel--on-hik-band > p {
    display: none !important;
  }

  .vn-hik-partner-band .about-partner-panel--on-hik-band > .title-major {
    margin-bottom: clamp(1.1rem, 3.5vw, 1.45rem);
  }
}

/* HIK band: same rhythm as homepage — roomier band + full-width stacked CTAs on small phones */
@media (max-width: 575.98px) {
  .vn-hik-partner-band {
    padding-top: clamp(1.35rem, 5vw, 1.85rem);
    padding-bottom: clamp(1.35rem, 5vw, 1.85rem);
  }

  .vn-hik-partner-band .about-partner-panel--on-hik-band .d-flex.flex-wrap.gap-2 {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(0.85rem, 3vw, 1.05rem) !important;
  }

  .vn-hik-partner-band .about-partner-panel--on-hik-band .d-flex.flex-wrap.gap-2 .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 991.98px) {
  .hero-full {
    min-height: clamp(34rem, 100svh, 44rem);
  }

  .hero-full-bg {
    background-position: 56% center;
  }

  .hero-full-inner {
    justify-content: center;
    padding-top: clamp(5rem, 14vw, 6rem);
    padding-bottom: clamp(2rem, 8vw, 3rem);
  }

  .hero-full h1.hero-title,
  h1.hero-title {
    max-width: 20ch;
  }
}

@media (max-width: 767.98px) {
  .hero-full {
    min-height: clamp(32rem, 100dvh, 42rem);
  }

  .hero-full-bg {
    background-position: 62% center;
  }

  .hero-lead {
    font-size: clamp(0.98rem, 2.9vw, 1.08rem);
    line-height: 1.62;
  }

  .services-process-banner img {
    max-height: clamp(170px, 46vw, 250px);
    aspect-ratio: 16 / 9;
  }

  .service-trust-premium__main,
  .service-trust-premium__main img {
    height: clamp(210px, 48vw, 290px);
    max-height: none;
  }

  /* Services page — Apple-style horizontal strip: 8 integrated system cards (scroll-snap, peek of next) */
  .vn-apple-service-cards-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    gap: clamp(1.05rem, 3.5vw, 1.35rem);
    margin-left: 0;
    margin-right: 0;
    /* Extra bottom/side inset so card hover shadow is not clipped by the scrollport */
    padding: 0.55rem 0.3rem clamp(1.95rem, 5.5vw, 2.55rem);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .vn-apple-service-cards-row::-webkit-scrollbar {
    display: none;
  }

  .vn-apple-service-cards-row > :is(.col, [class*="col-"]) {
    flex: 0 0 min(88%, 20rem);
    max-width: min(88%, 20rem);
    width: auto;
    padding: 0.5rem 0.55rem 0.85rem;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  /* #projects „Реализирани обекти“: същият Apple-style хоризонтален strip като услугите (≤768px) */
  #projects .row.g-4 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    gap: clamp(1.05rem, 3.5vw, 1.35rem);
    margin-left: 0;
    margin-right: 0;
    padding: 0.55rem 0.3rem clamp(1.95rem, 5.5vw, 2.55rem);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #projects .row.g-4::-webkit-scrollbar {
    display: none;
  }

  #projects .row.g-4 > [class*="col-"] {
    flex: 0 0 min(88%, 20rem);
    max-width: min(88%, 20rem);
    width: auto;
    padding: 0.45rem 0.55rem 0.75rem;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  #projects .row.g-4 > [class*="col-"] .gallery-thumb {
    margin: 0;
  }

  body.vn-page-home #projects .row.g-4 {
    gap: clamp(1.05rem, 3.5vw, 1.35rem);
    padding-top: clamp(0.45rem, 1.6vw, 0.65rem);
    padding-bottom: clamp(1.85rem, 5.2vw, 2.45rem);
  }

  body.vn-page-home #industries .row.g-4 {
    gap: clamp(1.05rem, 3.5vw, 1.35rem);
    padding-top: clamp(0.45rem, 1.6vw, 0.65rem);
    padding-bottom: clamp(1.85rem, 5.2vw, 2.45rem);
  }

  /*
   * Reusable mobile horizontal strip (scroll-snap, hidden scrollbar, swipe hint via .vn-hscroll-strip in site.js).
   * Use on Bootstrap .row with card columns, or on .about-mosaic for linked tiles.
   */
  .vn-hscroll-strip.row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    gap: clamp(1.05rem, 3.5vw, 1.35rem);
    margin-left: 0;
    margin-right: 0;
    padding: 0.55rem 0.3rem clamp(1.95rem, 5.5vw, 2.55rem);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    --bs-gutter-x: 0;
  }

  .vn-hscroll-strip.row::-webkit-scrollbar {
    display: none;
  }

  .vn-hscroll-strip.row > :is(.col, [class*="col-"]) {
    flex: 0 0 min(88%, 20rem);
    max-width: min(88%, 20rem);
    width: auto;
    padding: 0.5rem 0.55rem 0.85rem;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .vn-hscroll-strip.about-mosaic {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    gap: clamp(1.05rem, 3.5vw, 1.35rem);
    margin-left: 0;
    margin-right: 0;
    padding: 0.55rem 0.3rem clamp(1.95rem, 5.5vw, 2.55rem);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .vn-hscroll-strip.about-mosaic::-webkit-scrollbar {
    display: none;
  }

  .vn-hscroll-strip.about-mosaic > * {
    flex: 0 0 min(88%, 20rem);
    max-width: min(88%, 20rem);
    width: auto;
    scroll-snap-align: start;
    box-sizing: border-box;
    flex-shrink: 0;
    min-height: clamp(10.5rem, 40vw, 15rem);
  }
}

@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  #projects .row.g-4,
  .vn-apple-service-cards-row,
  .vn-hscroll-strip.row,
  .vn-hscroll-strip.about-mosaic {
    scroll-snap-type: x proximity;
  }
}

/* Mobile horizontal strips: swipe hint (site.js inserts .vn-hscroll-hint after row). Opt-in: .vn-hscroll-strip or data-vn-hscroll-hint-strip on the scroll container. */
@media (max-width: 767.98px) {
  .vn-hscroll-hint {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.42rem;
    margin-top: 0.1rem;
    margin-bottom: 0.15rem;
    padding: 0 0.5rem 0.2rem;
    user-select: none;
    pointer-events: none;
  }

  .vn-hscroll-hint--visible {
    display: flex;
  }

  .vn-hscroll-hint__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
  }

  .vn-hscroll-hint__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 124, 140, 0.22);
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .vn-hscroll-hint__dot.is-active {
    background: var(--vn-accent, #007c8c);
    transform: scale(1.2);
  }

  .vn-hscroll-hint__affordance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
  }

  .vn-hscroll-hint__chev {
    font-size: 0.95rem;
    color: rgba(0, 124, 140, 0.55);
    line-height: 1;
  }

  .vn-hscroll-hint__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vn-muted, #6c757d);
    margin: 0;
    white-space: nowrap;
  }

  .vn-hscroll-hint__affordance--pulse .vn-hscroll-hint__chev:first-child {
    animation: vn-hscroll-chev-l 1.35s ease-in-out infinite;
  }

  .vn-hscroll-hint__affordance--pulse .vn-hscroll-hint__chev:last-child {
    animation: vn-hscroll-chev-r 1.35s ease-in-out infinite;
  }

  @keyframes vn-hscroll-chev-l {
    0%,
    100% {
      transform: translateX(0);
      opacity: 0.55;
    }
    50% {
      transform: translateX(-3px);
      opacity: 1;
    }
  }

  @keyframes vn-hscroll-chev-r {
    0%,
    100% {
      transform: translateX(0);
      opacity: 0.55;
    }
    50% {
      transform: translateX(3px);
      opacity: 1;
    }
  }
}

@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .vn-hscroll-hint__dot {
    transition: none;
  }

  .vn-hscroll-hint__affordance--pulse .vn-hscroll-hint__chev:first-child,
  .vn-hscroll-hint__affordance--pulse .vn-hscroll-hint__chev:last-child {
    animation: none;
  }
}

@media (min-width: 768px) {
  .vn-hscroll-hint {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  /* Services section on phones: concise 8-item picker (icon + service only) */
  #services .list-box-work-vn__row {
    --bs-gutter-y: 0.75rem;
  }

  #services .box-work-vn__body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.62rem, 2.8vw, 0.82rem);
    padding: 1rem 0.95rem 1rem 0.92rem;
    flex: 1;
    min-height: 0;
  }

  #services .box-work-vn__icon-badge {
    margin: 0;
    flex-shrink: 0;
    width: clamp(1.55rem, 6.8vw, 1.85rem);
    height: clamp(1.55rem, 6.8vw, 1.85rem);
    min-width: clamp(1.55rem, 6.8vw, 1.85rem);
    min-height: clamp(1.55rem, 6.8vw, 1.85rem);
    border-radius: 0.46rem;
  }

  #services .box-work-vn__icon-badge .bi {
    font-size: clamp(0.68rem, 3vw, 0.82rem);
  }

  #services .box-work-vn__title {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    align-self: center;
  }

  #services .box-work-vn__title a {
    display: block;
  }

  #services .box-work-vn__text,
  #services .box-work-vn__more,
  #services .box-work-vn__rail {
    display: none !important;
  }

  .hero-full {
    min-height: clamp(28.5rem, 82dvh, 36rem);
  }

  /* Next section after HIK banner: less dense mobile composition */
  #integrated.section-pro-integrated .integrated-pillars {
    display: none;
  }

  #integrated.section-pro-integrated .section-pro-integrated__lead {
    margin-bottom: 0.9rem !important;
  }

  #integrated.section-pro-integrated .section-pro-integrated__tiles > .row.g-4 > div:nth-child(n + 3) {
    display: none;
  }

  #integrated.section-pro-integrated .section-pro-integrated__tiles > .row.g-4 {
    display: none;
  }

  #integrated.section-pro-integrated .section-pro-integrated__cta {
    margin-top: 1rem !important;
  }

  /* Home + Services „Защо ние“: mobile — същият ритъм (kicker, заглавие, lead, 2×2 мрежа от точки) */
  #home-why .block-sub,
  #why-us .block-sub {
    margin-bottom: clamp(1.05rem, 3.4vw, 1.4rem) !important;
  }

  #home-why .title-major,
  #why-us .title-major {
    margin-bottom: clamp(1.35rem, 4.5vw, 1.9rem) !important;
    line-height: 1.18;
  }

  #home-why .home-why-mobile-lead,
  #why-us .home-why-mobile-lead {
    line-height: 1.66;
    border-left: 3px solid rgba(0, 124, 140, 0.65);
    padding: clamp(0.2rem, 0.8vw, 0.35rem) 0 clamp(0.2rem, 0.8vw, 0.35rem)
      clamp(1rem, 3.4vw, 1.3rem);
    margin-bottom: clamp(1.55rem, 4.8vw, 2.05rem) !important;
  }

  /* 2×2 grid: compact, readable gutters (HIG-style comfortable tap bands per cell) */
  #home-why .home-why-list,
  #why-us .home-why-list {
    margin-top: clamp(0.15rem, 0.6vw, 0.35rem);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(0.7rem, 2.8vw, 1rem);
    row-gap: clamp(0.85rem, 3vw, 1.15rem);
  }

  #home-why .home-why-list li,
  #why-us .home-why-list li {
    margin-bottom: 0 !important;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 0.7rem) !important;
    min-width: 0;
  }

  #home-why .home-why-list li .vn-icon-badge,
  #why-us .home-why-list li .vn-icon-badge {
    width: 2.1rem;
    height: 2.1rem;
    margin-top: 0;
  }

  #home-why .home-why-list li > div,
  #why-us .home-why-list li > div {
    min-width: 0;
  }

  #home-why .home-why-list li .vn-icon-badge .bi,
  #why-us .home-why-list li .vn-icon-badge .bi {
    font-size: 0.9rem;
  }

  #home-why .home-why-list li span.text-secondary.small,
  #why-us .home-why-list li span.text-secondary.small {
    display: none;
  }

  #home-why .home-why-list li > div > span.text-body-secondary.small.d-block,
  #why-us .home-why-list li > div > span.text-body-secondary.small.d-block {
    margin-bottom: 0 !important;
    font-size: clamp(0.97rem, 3.1vw, 1.05rem);
    line-height: 1.45;
  }

  /* Hero KPIs: keep all 3 on one clamped row (premium compact read) */
  .hero-stat-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(2.2rem, 7.5vw, 3rem);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-stat-bar .stat-cell {
    padding: clamp(0.95rem, 3vw, 1.2rem) clamp(0.45rem, 1.6vw, 0.7rem) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.28rem;
    min-height: clamp(5.2rem, 18vw, 6.4rem);
  }

  .hero-stat-bar .stat-cell + .stat-cell {
    border-top: none;
    margin-top: 0;
    padding-top: clamp(0.95rem, 3vw, 1.2rem);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stat-bar .stat-value {
    font-size: clamp(1.05rem, 4.2vw, 1.45rem);
    line-height: 1.1;
    margin: 0;
  }

  .hero-stat-bar .stat-label {
    font-size: clamp(0.62rem, 2.2vw, 0.72rem);
    line-height: 1.28;
    margin-top: 0;
    letter-spacing: 0.055em;
    max-width: 14ch;
    text-wrap: balance;
  }

  /* Premium mobile rhythm: stronger vertical spacing and clearer CTA separation */
  .hero-full-inner {
    padding-top: clamp(5.75rem, 16vw, 7rem);
    padding-bottom: clamp(1.25rem, 4.5vw, 2rem);
  }

  .hero-eyebrow {
    margin-bottom: 1.35rem;
  }

  .hero-full h1.hero-title,
  h1.hero-title {
    line-height: 1.1;
    margin-bottom: 1.15rem;
  }

  .hero-lead {
    margin-top: 1.75rem;
    margin-bottom: 2.25rem;
    line-height: 1.72;
  }

  /* Keep KPI row perfectly level (no per-column vertical offsets) */
  .hero-stat-bar {
    margin-top: clamp(2.7rem, 8.5vw, 3.5rem);
  }

  .hero-stat-bar .stat-cell {
    padding-top: clamp(0.95rem, 3vw, 1.2rem);
  }

  .hero-stat-bar .stat-cell + .stat-cell {
    margin-top: 0;
    padding-top: clamp(0.95rem, 3vw, 1.2rem);
  }

  .partner-strip.partner-strip--marquee {
    padding-top: 2.1rem !important;
    padding-bottom: 2rem !important;
  }

  .partner-strip__title {
    margin: 0.35rem auto 2rem;
  }

  .section-intro {
    margin-bottom: clamp(1.6rem, 5vw, 2.35rem) !important;
  }

  .heading-rule {
    margin: 0 0 3rem;
  }

  .block-aside {
    padding-top: 2.45rem;
  }

  .block-aside-rule {
    margin-top: 1.45rem;
  }

  .box-work-vn__body {
    padding-top: clamp(1.35rem, 4.2vw, 1.75rem);
    padding-right: clamp(1.05rem, 3.4vw, 1.4rem);
    padding-bottom: clamp(1.55rem, 4.8vw, 2.05rem);
    padding-left: clamp(1.05rem, 3.4vw, 1.4rem);
  }

  .box-work-vn__text {
    margin-bottom: 1.15rem;
    line-height: 1.72;
  }

  /* Homepage sections: clearer separation between major blocks */
  #services.section-services-hamela {
    padding-top: clamp(5rem, 14vw, 6rem);
    padding-bottom: clamp(5rem, 14vw, 6.2rem);
  }

  #industries.section-vn-xl,
  #projects.section-vn-xl,
  #faq.section-vn-xl,
  #contact.section-vn-xl,
  #expertise.section-vn-xl {
    padding-top: clamp(3.1rem, 10vw, 4.4rem);
    padding-bottom: clamp(3.1rem, 10vw, 4.4rem);
  }

  .cta-dark {
    padding-top: clamp(2.8rem, 9.5vw, 4rem);
    padding-bottom: clamp(2.8rem, 9.5vw, 4rem);
  }

  /* Cards: more internal air on phone */
  .project-card-vn__body {
    padding: clamp(1.3rem, 4vw, 1.7rem) clamp(1.15rem, 3.8vw, 1.45rem) clamp(1.55rem, 4.8vw, 1.95rem);
  }

  .project-card-vn__title {
    margin-bottom: 0.95rem;
    line-height: 1.34;
  }

  .project-card-vn__text {
    line-height: 1.68;
  }

  .industry-depth-card {
    padding: clamp(1.35rem, 4.2vw, 1.85rem) clamp(1.15rem, 3.8vw, 1.45rem);
  }

  .industry-depth-card__text {
    line-height: 1.68;
  }

  .service-compare-card,
  .service-trust-section .service-trust-card {
    padding: clamp(1.35rem, 4.2vw, 1.75rem) clamp(1.12rem, 3.6vw, 1.4rem);
  }

  .d-flex.flex-wrap.gap-2 {
    gap: 1rem !important;
  }

  .hero-full .d-flex.flex-wrap.gap-2 {
    row-gap: 1rem !important;
    column-gap: 1rem !important;
  }

  .btn-vn-primary,
  .btn-vn-outline,
  .btn-vn-outline-light {
    letter-spacing: 0.02em;
    padding: 0.72rem 1.05rem;
  }

  .vn-service-pills .btn {
    font-size: 0.74rem;
    padding: 0.46rem 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-vn-primary,
  .btn-vn-outline,
  .btn-vn-outline-light,
  .navbar-vn .nav-link,
  .pro-tile,
  a.pro-tile.pro-tile--link,
  .box-work-vn,
  .card-vn,
  .card-vn-featured,
  .services-card-vn,
  .industry-card-vn,
  .project-card-vn,
  .gallery-thumb,
  .process-card-vn,
  .service-compare-card,
  .service-trust-section .service-trust-card,
  .service-trust-gallery__item,
  .service-trust-premium__pillar,
  .about-zigzag__media,
  a.about-mosaic__main,
  .about-mosaic__a,
  .about-mosaic__b,
  .industry-pillar-card,
  .industry-depth-card,
  .industry-depth-card__icon,
  a.industry-type-chip,
  .industry-type-chip .bi,
  .industry-editorial-banner,
  .industry-editorial-banner img,
  .industry-aside-panel {
    transition: none !important;
    transform: none !important;
  }

  .industry-card-vn__overlay,
  .industry-card-vn__icon {
    transform: none !important;
  }

  .industry-card-vn__title,
  .industry-card-vn__text {
    transition: none !important;
    transform: none !important;
  }

  .card-vn:hover .card-img-top,
  .card-vn-featured:hover img,
  .project-card-vn:hover .project-card-vn__media img,
  .industry-card-vn:hover .industry-card-vn__media img,
  .about-zigzag__media:hover img,
  .service-trust-gallery__item:hover .service-trust-gallery__img,
  .gallery-thumb:hover img,
  .gallery-thumb:hover .gallery-thumb__media picture img {
    transform: none !important;
    transition: none !important;
  }

  .industry-editorial-banner:hover img,
  .industry-depth-card:hover .industry-depth-card__icon {
    filter: none !important;
  }
}

/* =============================================================================
   Homepage only: breathable premium vertical rhythm (mobile / small tablet)
   ============================================================================= */
@media (max-width: 991.98px) {
  body.vn-page-home main > section + section {
    margin-top: clamp(0.95rem, 2.6vw, 1.3rem);
  }
}

@media (max-width: 767.98px) {
  body.vn-page-home main > section + section {
    margin-top: clamp(1.2rem, 3.4vw, 1.7rem);
  }

  body.vn-page-home .section-vn-xl,
  body.vn-page-home .section-vn,
  body.vn-page-home .section-services-hamela {
    padding-top: clamp(3.25rem, 9.5vw, 4.9rem);
    padding-bottom: clamp(3.25rem, 9.5vw, 4.9rem);
  }

  body.vn-page-home #process.section-vn {
    padding-top: clamp(2.95rem, 8.5vw, 4.15rem);
    padding-bottom: clamp(2.95rem, 8.5vw, 4.15rem);
  }

  body.vn-page-home .partner-strip.partner-strip--marquee {
    padding-top: clamp(2.45rem, 7vw, 3rem) !important;
    padding-bottom: clamp(2.4rem, 6.8vw, 2.95rem) !important;
  }

  body.vn-page-home .partner-strip__title {
    margin-bottom: clamp(1.85rem, 5.2vw, 2.45rem);
  }

  body.vn-page-home .section-intro {
    margin-bottom: clamp(1.9rem, 5.5vw, 2.55rem) !important;
  }

  body.vn-page-home .section-intro.mb-5 {
    margin-bottom: clamp(2.1rem, 5.8vw, 2.75rem) !important;
  }

  body.vn-page-home .section-intro .divider-accent {
    margin-bottom: clamp(1.05rem, 3.2vw, 1.3rem);
  }

  body.vn-page-home .section-intro .block-sub {
    margin-bottom: clamp(0.72rem, 2.3vw, 0.92rem);
  }

  body.vn-page-home .section-intro .title-major.mb-3,
  body.vn-page-home .section-intro h2.mb-3 {
    margin-bottom: clamp(1.05rem, 3.2vw, 1.3rem) !important;
  }

  body.vn-page-home .section-intro .text-muted {
    line-height: 1.68;
  }

  body.vn-page-home #home .d-flex.flex-wrap.gap-2.gap-sm-3 {
    gap: clamp(0.95rem, 3.2vw, 1.15rem) !important;
  }

  body.vn-page-home #about .row.g-5 {
    --bs-gutter-y: clamp(2rem, 5.8vw, 2.65rem);
  }

  body.vn-page-home #about .block-sub {
    margin-bottom: clamp(1.05rem, 3.2vw, 1.35rem);
  }

  body.vn-page-home #about .title-major {
    margin-bottom: clamp(1.2rem, 3.9vw, 1.55rem);
    line-height: 1.14;
  }

  body.vn-page-home #about .heading-sub.mt-4 {
    margin-top: clamp(1.05rem, 3.2vw, 1.45rem) !important;
    margin-bottom: clamp(1.35rem, 4.2vw, 1.75rem) !important;
    line-height: 1.52;
  }

  body.vn-page-home #about .vn-read-more {
    margin-top: 0;
    margin-bottom: clamp(1.75rem, 5vw, 2.25rem) !important;
  }

  body.vn-page-home #about .vn-read-more__panel .text-muted:first-of-type {
    margin-top: 0 !important;
    margin-bottom: clamp(1.05rem, 3.2vw, 1.4rem) !important;
    line-height: 1.66;
  }

  body.vn-page-home #about .vn-read-more__panel .text-muted + .text-muted {
    margin-top: 0;
    line-height: 1.66;
  }

  body.vn-page-home #about .vn-read-more__toggle {
    margin-top: clamp(1.05rem, 3.4vw, 1.5rem);
    padding-top: clamp(0.35rem, 1.2vw, 0.55rem);
    padding-bottom: clamp(0.45rem, 1.5vw, 0.65rem);
  }

  body.vn-page-home #about .vn-read-more.vn-read-more--js:not(.is-expanded) .vn-read-more__panel {
    max-height: clamp(11.25rem, 46vw, 15rem);
  }

  body.vn-page-home #about .vn-read-more.vn-read-more--js:not(.is-expanded) .vn-read-more__panel::after {
    height: clamp(2.65rem, 10vw, 3.5rem);
  }

  body.vn-page-home #about .col-lg-5 > .d-flex.flex-wrap.gap-2 {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(0.9rem, 3vw, 1.1rem) !important;
  }

  body.vn-page-home #about .col-lg-5 > .d-flex.flex-wrap.gap-2 .btn {
    width: 100%;
    justify-content: center;
  }

  body.vn-page-home #integrated .title-major.mb-3 {
    margin-bottom: clamp(1.1rem, 3.4vw, 1.4rem) !important;
  }

  body.vn-page-home #integrated .section-pro-integrated__lead {
    margin-bottom: clamp(1.4rem, 4.2vw, 1.75rem) !important;
  }

  body.vn-page-home #integrated .section-pro-integrated__mobile-note {
    margin-bottom: clamp(1.3rem, 4vw, 1.6rem) !important;
  }

  body.vn-page-home #integrated .integrated-pillars .d-flex.gap-3 {
    gap: clamp(0.88rem, 2.9vw, 1.08rem) !important;
  }

  body.vn-page-home #integrated .integrated-pillars li.mb-4 {
    margin-bottom: clamp(1.2rem, 3.8vw, 1.5rem) !important;
  }

  body.vn-page-home #integrated .section-pro-integrated__cta {
    margin-top: clamp(1.35rem, 4vw, 1.75rem) !important;
  }

  body.vn-page-home #home-why .row.g-5 {
    --bs-gutter-y: clamp(2.1rem, 6vw, 2.75rem);
  }

  body.vn-page-home #home-why .block-sub.mb-2 {
    margin-bottom: clamp(1.1rem, 3.5vw, 1.45rem) !important;
  }

  body.vn-page-home #home-why .title-major.mb-4 {
    margin-bottom: clamp(1.4rem, 4.6vw, 1.95rem) !important;
    line-height: 1.17;
  }

  body.vn-page-home #home-why .home-why-mobile-lead.mb-4 {
    margin-bottom: clamp(1.6rem, 4.9vw, 2.1rem) !important;
    padding-left: clamp(1rem, 3.4vw, 1.3rem) !important;
  }

  /* services.html #why-us: същите мобилни отстояния като началната „Защо ние“ */
  #why-us .row.g-5 {
    --bs-gutter-y: clamp(2.1rem, 6vw, 2.75rem);
  }

  #why-us .block-sub.mb-2 {
    margin-bottom: clamp(1.1rem, 3.5vw, 1.45rem) !important;
  }

  #why-us .title-major.mb-4 {
    margin-bottom: clamp(1.4rem, 4.6vw, 1.95rem) !important;
    line-height: 1.17;
  }

  #why-us .home-why-mobile-lead.mb-4 {
    margin-bottom: clamp(1.6rem, 4.9vw, 2.1rem) !important;
    padding-left: clamp(1rem, 3.4vw, 1.3rem) !important;
  }

  body.vn-page-home #services > .container > .row.align-items-start {
    margin-bottom: clamp(1.35rem, 4vw, 1.75rem);
  }

  body.vn-page-home #services .block-sub {
    margin-bottom: clamp(0.88rem, 2.6vw, 1.05rem);
  }

  body.vn-page-home #services .title-major {
    margin-bottom: clamp(0.35rem, 1.2vw, 0.55rem);
  }

  body.vn-page-home #services .btn.mt-3 {
    margin-top: clamp(1.1rem, 3.2vw, 1.4rem) !important;
    margin-bottom: clamp(0.25rem, 1vw, 0.45rem);
  }

  body.vn-page-home #services .heading-rule {
    margin-top: clamp(1.5rem, 4.5vw, 2rem);
    margin-bottom: clamp(1.85rem, 5.2vw, 2.35rem);
  }

  body.vn-page-home #services .list-box-work-vn__row {
    --bs-gutter-y: clamp(0.92rem, 2.9vw, 1.08rem);
  }

  body.vn-page-home #projects .text-center.mt-5.pt-2 {
    margin-top: clamp(2.35rem, 6.8vw, 2.95rem) !important;
    padding-top: clamp(0.75rem, 2.2vw, 1rem) !important;
  }

  body.vn-page-home .brand-banner {
    padding-top: clamp(2.65rem, 7.5vw, 3.25rem);
    padding-bottom: clamp(2.65rem, 7.5vw, 3.25rem);
  }

  body.vn-page-home .brand-line {
    margin-bottom: clamp(1.35rem, 4vw, 1.65rem);
  }

  body.vn-page-home .cta-dark {
    padding-top: clamp(3.2rem, 9.2vw, 4.1rem);
    padding-bottom: clamp(3.2rem, 9.2vw, 4.1rem);
  }

  body.vn-page-home .cta-dark h2.mb-3 {
    margin-bottom: clamp(1.08rem, 3.2vw, 1.38rem) !important;
  }

  body.vn-page-home .cta-dark p.mb-4 {
    margin-bottom: clamp(1.5rem, 4.5vw, 1.95rem) !important;
    line-height: 1.65;
  }

  body.vn-page-home #expertise .row.g-5 {
    --bs-gutter-y: clamp(1.95rem, 5.8vw, 2.55rem);
  }

  body.vn-page-home #expertise .pro-accent-bar.mb-3 {
    margin-bottom: clamp(1rem, 3vw, 1.25rem) !important;
  }

  body.vn-page-home #expertise .title-major.mb-3 {
    margin-bottom: clamp(1.08rem, 3.2vw, 1.35rem) !important;
  }

  body.vn-page-home #expertise .vn-read-more.mb-4 {
    margin-bottom: clamp(1.4rem, 4.1vw, 1.7rem) !important;
  }

  body.vn-page-home #expertise .d-flex.flex-wrap.gap-2 {
    gap: clamp(0.9rem, 3vw, 1.1rem) !important;
  }

  body.vn-page-home #faq .accordion-faq .accordion-button {
    padding-top: clamp(0.92rem, 2.75vw, 1.08rem);
    padding-bottom: clamp(0.92rem, 2.75vw, 1.08rem);
  }

  body.vn-page-home #faq .accordion-faq .accordion-body {
    padding-top: clamp(0.95rem, 2.75vw, 1.12rem);
    padding-bottom: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.62;
  }

  body.vn-page-home #contact h2.mb-3 {
    margin-bottom: clamp(1.08rem, 3.2vw, 1.35rem) !important;
  }

  body.vn-page-home #contact .text-muted.mb-4 {
    margin-bottom: clamp(1.55rem, 4.5vw, 2rem) !important;
    line-height: 1.65;
  }

  body.vn-page-home main .btn-lg {
    padding-top: clamp(0.68rem, 2.3vw, 0.82rem);
    padding-bottom: clamp(0.68rem, 2.3vw, 0.82rem);
    padding-left: clamp(1.2rem, 4vw, 1.5rem);
    padding-right: clamp(1.2rem, 4vw, 1.5rem);
  }
}

@media (max-width: 575.98px) {
  body.vn-page-home main > section + section {
    margin-top: clamp(1.3rem, 3.8vw, 1.9rem);
  }

  body.vn-page-home .section-vn-xl,
  body.vn-page-home .section-vn,
  body.vn-page-home .section-services-hamela {
    padding-top: clamp(3.4rem, 10.5vw, 4.75rem);
    padding-bottom: clamp(3.4rem, 10.5vw, 4.75rem);
  }

  body.vn-page-home #process.section-vn {
    padding-top: clamp(3.05rem, 9.2vw, 4.2rem);
    padding-bottom: clamp(3.05rem, 9.2vw, 4.2rem);
  }

  body.vn-page-home #services.section-services-hamela {
    padding-top: clamp(3.65rem, 11vw, 5rem);
    padding-bottom: clamp(3.65rem, 11vw, 5.1rem);
  }

  body.vn-page-home #industries.section-vn-xl,
  body.vn-page-home #projects.section-vn-xl,
  body.vn-page-home #faq.section-vn-xl,
  body.vn-page-home #contact.section-vn-xl,
  body.vn-page-home #expertise.section-vn-xl {
    padding-top: clamp(3.35rem, 10vw, 4.5rem);
    padding-bottom: clamp(3.35rem, 10vw, 4.5rem);
  }
}

/* „Защо ние“: вертикален списък на sm+ (извън 2×2 мрежата на телефона) */
@media (min-width: 576px) {
  #home-why .home-why-list li.mb-4,
  #why-us .home-why-list li.mb-4 {
    margin-bottom: clamp(1.15rem, 3.9vw, 1.55rem) !important;
    align-items: flex-start !important;
  }
}
