/* =============================================
   ARMC — RMC METROLOGY CENTER
   Light professional B2B theme
   Brand palette from logo: white + ultramarine #0130e0
   ============================================= */

/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* — Brand palette (strict) — */
  --white:        #ffffff;
  --bg:           #f4f8ff;
  --bg-pale:      #e8efff;
  --bg-soft:      #c5e3ff;
  --line:         #d8e4f5;
  --line-2:       #b9cce8;

  --brand:        #0130e0;
  --brand-2:      #3a7eff;
  --brand-light:  #5e9bff;
  --brand-dark:   #001a99;

  --text:         #0a1428;
  --text-2:       #2a3b5e;
  --text-mute:    #6b7c99;

  --ok:           #15a36c;
  --warn:         #d97706;

  --shadow-sm:    0 1px 2px rgba(1, 48, 224, 0.06), 0 1px 3px rgba(10, 20, 40, 0.04);
  --shadow:       0 4px 14px rgba(1, 48, 224, 0.08), 0 1px 3px rgba(10, 20, 40, 0.04);
  --shadow-md:    0 10px 30px rgba(1, 48, 224, 0.10), 0 2px 8px rgba(10, 20, 40, 0.05);
  --shadow-lg:    0 24px 60px rgba(1, 48, 224, 0.15), 0 4px 14px rgba(10, 20, 40, 0.06);

  --r-sm: 6px;
  --r:    10px;
  --r-md: 14px;
  --r-lg: 20px;

  /* type */
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* layout */
  --maxw: 1280px;
  --pad-x: clamp(1rem, 4vw, 2.5rem);
  --section-py: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--brand); color: #fff; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.02rem; font-weight: 600; }

.mono { font-family: var(--font-mono); }

.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin-bottom: 0.9rem;
}
.kicker::before {
  content: ''; width: 28px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  width: 96px; height: 96px;
  position: relative;
  display: grid; place-items: center;
}
.preloader-logo img { width: 70%; height: 70%; object-fit: contain; }
.preloader-logo::before,
.preloader-logo::after {
  content: ''; position: absolute; inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--brand);
  border-right-color: var(--brand-2);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(.5,0,.5,1) infinite;
}
.preloader-logo::after {
  inset: 8px;
  border-top-color: var(--brand-2);
  border-right-color: transparent;
  animation-duration: 1.5s;
  animation-direction: reverse;
}
.preloader-bar {
  width: 200px; height: 3px;
  background: var(--bg-pale);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}
.preloader-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  height: 100%;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.logo {
  display: flex; align-items: center; gap: 0.7rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  filter: drop-shadow(0 2px 6px rgba(1, 48, 224, 0.18));
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { line-height: 1.1; }
.logo-text .l1 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.logo-text .l2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex; gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a::after {
  content: '';
  position: absolute; left: 50%; bottom: 0.25rem;
  width: 0; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.25s, left 0.25s;
}
.nav-links a:hover::after { width: calc(100% - 1.8rem); left: 0.9rem; }

.nav-right {
  display: flex; align-items: center; gap: 0.75rem;
}

/* Lang switcher */
.lang-switcher { display: flex; gap: 0.25rem; align-items: center; }
.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.6rem;
  border-radius: var(--r-sm);
  color: var(--text-mute);
  display: flex; align-items: center; gap: 0.3rem;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--text); background: var(--bg-pale); }
.lang-btn.active {
  color: var(--brand);
  background: var(--bg-pale);
  border-color: var(--brand);
}
.lang-flag { font-size: 0.95rem; line-height: 1; }

.nav-phone {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-sm);
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--brand); }
.nav-phone svg { width: 16px; height: 16px; color: var(--brand); }

/* Burger menu */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--bg-pale);
  color: var(--brand);
  align-items: center; justify-content: center;
}

@media (max-width: 1100px) {
  .nav-phone span { display: none; }
}
@media (max-width: 980px) {
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; padding: 1.2rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    gap: 0.25rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: flex; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.45rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(1, 48, 224, 0.25);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(1, 48, 224, 0.35);
}
.btn-ghost {
  background: var(--white);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--bg-pale);
}
.btn-light {
  background: var(--bg-pale);
  color: var(--brand);
}
.btn-light:hover { background: var(--bg-soft); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.82rem; }
.btn-wa {
  background: #25d366;
  color: #fff;
}
.btn-wa:hover { background: #1ebb59; }

/* ===== SECTION HEADERS ===== */
section { padding: var(--section-py) 0; position: relative; }
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ===== HERO ===== */
.hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(58, 126, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 30%, rgba(1, 48, 224, 0.08), transparent 60%),
    var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.hero h1 {
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--brand); }
.hero-tagline {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-feature {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.45;
}
.hero-feature-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--bg-pale);
  color: var(--brand);
}
.hero-feature-icon svg { width: 18px; height: 18px; }
.hero-feature strong { display: block; color: var(--text); margin-bottom: 0.15rem; }
@media (max-width: 700px) {
  .hero-features { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Hero visual — pure SVG, no canvas */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  justify-self: center;
  width: 100%;
}
.hero-visual svg {
  width: 100%; height: 100%;
}

/* ===== URGENCY STRIP ===== */
.urgency {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
}
.urgency::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 100% at 0% 50%, rgba(255,255,255,0.10), transparent 70%),
    radial-gradient(ellipse 40% 100% at 100% 50%, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.urgency-inner {
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.urgency-text {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.urgency-text .dot {
  flex-shrink: 0;
  width: 10px; height: 10px;
  background: #6bf5b3;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(107, 245, 179, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(107, 245, 179, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(107, 245, 179, 0); }
  100% { box-shadow: 0 0 0 0 rgba(107, 245, 179, 0); }
}
.urgency .btn-light { background: #fff; color: var(--brand); }
.urgency .btn-light:hover { background: var(--bg-pale); }

/* ===== STATS ===== */
.stats {
  padding: 4rem 0;
  background: var(--bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.8rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.stat-card:hover {
  border-color: var(--brand-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.stat-suffix { font-size: 0.7em; color: var(--brand-2); }
.stat-label {
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 500;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.about-text p {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}
.about-list li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  color: var(--text);
  font-size: 0.95rem;
}
.about-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  background: var(--brand);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / 14px;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / 14px;
}

.about-photo {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-pale);
  aspect-ratio: 4/3;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-photo::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--brand-2);
  border-radius: var(--r-md);
  pointer-events: none;
  z-index: 2;
}
.about-photo-badge {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand);
  letter-spacing: 0.05em;
  font-weight: 500;
  z-index: 3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

/* ===== UNIQUE METHODS — 3 big blocks ===== */
.methods {
  background: var(--bg);
}
.method-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.method-block:last-child { margin-bottom: 0; }
.method-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.method-block:nth-child(even) .method-grid {
  grid-template-columns: 1fr 1.2fr;
}
.method-block:nth-child(even) .method-grid > *:first-child {
  order: 2;
}
@media (max-width: 980px) {
  .method-grid,
  .method-block:nth-child(even) .method-grid { grid-template-columns: 1fr; gap: 2rem; }
  .method-block:nth-child(even) .method-grid > *:first-child { order: 0; }
}

.method-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.method-content h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 0.85rem;
}
.method-content > p {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.method-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.method-tile {
  padding: 0.85rem 1rem;
  background: var(--bg-pale);
  border-radius: var(--r-sm);
  display: flex; gap: 0.65rem; align-items: flex-start;
}
.method-tile svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--brand);
  margin-top: 2px;
}
.method-tile-text strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}
.method-tile-text span {
  font-size: 0.78rem;
  color: var(--text-2);
}

.method-video {
  display: block;
  margin-top: 1rem;
  aspect-ratio: 16/9;
  background: var(--bg-pale);
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.method-video video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.method-video-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-mute);
  text-align: center;
  padding: 1rem;
}
.method-video-placeholder svg { width: 36px; height: 36px; color: var(--brand-2); }
.method-video-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* Method visual canvas (SVG) */
.method-visual {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--r-md);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(58, 126, 255, 0.12), transparent 70%),
    linear-gradient(135deg, #f8fbff, var(--bg-pale));
  overflow: hidden;
  border: 1px solid var(--line);
}
.method-visual svg { width: 100%; height: 100%; }

/* HUD readouts inside method visual */
.hud {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 0.6rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}
.hud .hud-title {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.35rem;
}
.hud .hud-title::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--ok);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--ok);
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hud-row {
  display: flex; justify-content: space-between; gap: 0.75rem;
  padding: 0.18rem 0;
  font-size: 0.7rem;
}
.hud-row .k { color: var(--text-mute); }
.hud-row .v { color: var(--text); font-weight: 500; }
.hud-row .v.ok { color: var(--ok); }
.hud.tl { top: 1rem; left: 1rem; }
.hud.tr { top: 1rem; right: 1rem; }
.hud.bl { bottom: 1rem; left: 1rem; }
.hud.br { bottom: 1rem; right: 1rem; }

/* ===== CATALOG ===== */
.catalog-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.cat-filter {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line-2);
  color: var(--text-2);
  border-radius: 999px;
  transition: all 0.2s;
}
.cat-filter:hover { color: var(--brand); border-color: var(--brand-2); }
.cat-filter.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-2);
}
.cat-card:hover .cat-card-svg svg {
  transform: scale(1.08);
}
.cat-card-svg {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg), var(--bg-pale));
  display: grid; place-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cat-card-svg svg {
  width: 100%; height: 100%;
  max-width: 220px;
  transition: transform 0.4s ease;
}
.cat-card-body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}
.cat-card p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  flex: 1;
}
.cat-tags {
  display: flex; flex-wrap: wrap; gap: 0.3rem;
}
.cat-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  background: var(--bg-pale);
  color: var(--brand);
  border-radius: var(--r-sm);
}

/* ===== DIRECTIONS (7 metro fields) ===== */
.directions {
  background: var(--bg);
}
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.dir-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.dir-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-2);
}
.dir-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--bg-pale);
  display: grid; place-items: center;
  margin-bottom: 1rem;
  color: var(--brand);
}
.dir-icon svg { width: 24px; height: 24px; }
.dir-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.dir-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.55; }

/* ===== TRUST (why us) ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1rem;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.75rem;
  transition: all 0.3s;
}
.trust-card:hover {
  border-color: var(--brand-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  color: #fff;
}
.trust-icon svg { width: 28px; height: 28px; }
.trust-card h3 { font-size: 1.1rem; margin-bottom: 0.55rem; }
.trust-card p { color: var(--text-2); font-size: 0.92rem; line-height: 1.6; }

.trust-cta {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: var(--r-lg);
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.trust-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle 400px at 100% 0%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(circle 300px at 0% 100%, rgba(255,255,255,0.08), transparent 60%);
}
.trust-cta-text {
  position: relative;
  flex: 1; min-width: 280px;
}
.trust-cta-text h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin-bottom: 0.5rem;
}
.trust-cta-text p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.trust-cta .btn-light { background: #fff; color: var(--brand); position: relative; }

/* ===== DOCUMENTS ===== */
.documents {
  background: var(--bg);
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.doc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  transition: all 0.3s;
  position: relative;
}
.doc-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.doc-icon {
  width: 52px; height: 64px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 6px;
  position: relative;
  margin-bottom: 1.25rem;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.doc-icon::before {
  content: '';
  position: absolute; top: 0; right: 0;
  border-width: 0 0 14px 14px;
  border-style: solid;
  border-color: transparent transparent rgba(255,255,255,0.45) transparent;
}
.doc-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.doc-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.doc-meta {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.doc-actions {
  display: flex; gap: 0.5rem;
  margin-top: auto;
}
.doc-actions .btn-sm { flex: 1; }

/* ===== REQUEST FORM ===== */
.request-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}
@media (max-width: 900px) { .request-grid { grid-template-columns: 1fr; gap: 2rem; } }

.channels {
  display: flex; flex-direction: column;
  gap: 0.85rem;
}
.channel {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.25s;
}
.channel:hover {
  border-color: var(--brand-2);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.channel-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: #fff;
}
.channel.wa .channel-icon { background: #25d366; }
.channel.tel .channel-icon { background: var(--brand); }
.channel.eml .channel-icon { background: var(--brand-2); }
.channel-icon svg { width: 22px; height: 22px; }
.channel-text { line-height: 1.3; }
.channel-text .lbl {
  font-size: 0.75rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.channel-text .val {
  font-family: var(--font-mono);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 0.15rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: 0.4rem; }
.form-card > p {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.field { margin-bottom: 1.1rem; }
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.field label .req { color: var(--brand); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.2s;
  outline: none;
  font-family: var(--font-body);
}
.field input.mono { font-family: var(--font-mono); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(1, 48, 224, 0.10);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #ef4444;
  background: #fef2f2;
}
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  display: none;
}
.form-status.success {
  display: block;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #bbf7d0;
}
.form-status.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ===== CONTACTS + MAP ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-card h3 { margin-bottom: 1.5rem; }
.contact-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-row:first-of-type { padding-top: 0; }
.contact-row svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--brand);
  margin-top: 2px;
}
.contact-row .lbl {
  font-size: 0.78rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.contact-row .val {
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-row .val a { color: var(--text); transition: color 0.2s; }
.contact-row .val a:hover { color: var(--brand); }

.contact-buttons {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.map-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-pale);
  min-height: 420px;
  display: flex;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  min-height: 420px;
  border: 0;
}
.map-overlay {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  max-width: 280px;
  z-index: 5;
  pointer-events: none;
}
.map-overlay .ml-1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.map-overlay .ml-2 {
  font-size: 0.83rem;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}
.map-overlay .ml-3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand);
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, var(--bg-pale), var(--bg));
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 360px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a {
  color: var(--text-2);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
}

/* ===== FLOATING BUTTONS ===== */
.fab-wa {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.25s;
  text-decoration: none;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.3;
  z-index: -1;
  animation: pulse-fab 2.2s infinite;
}
@keyframes pulse-fab {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}
.fab-wa svg { width: 28px; height: 28px; }

.fab-top {
  position: fixed;
  bottom: 1.5rem; right: 6rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: none;
  align-items: center; justify-content: center;
  z-index: 49;
  box-shadow: var(--shadow);
  transition: all 0.25s;
}
.fab-top.visible { display: flex; }
.fab-top:hover { background: var(--brand-dark); transform: translateY(-3px); }
.fab-top svg { width: 22px; height: 22px; }

@media (max-width: 600px) {
  .fab-wa { width: 50px; height: 50px; bottom: 1rem; right: 1rem; }
  .fab-wa svg { width: 24px; height: 24px; }
  .fab-top { width: 44px; height: 44px; bottom: 1rem; right: 4.5rem; }
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 20, 40, 0.55);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: var(--white);
  border-radius: var(--r-md);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal.wide { max-width: 900px; height: 85vh; max-height: 900px; display: flex; flex-direction: column; }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-pale);
  color: var(--text);
  display: grid; place-items: center;
  z-index: 5;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--brand); color: #fff; }
.modal-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
  padding-right: 4rem;
}
.modal-header h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.modal-header p { font-size: 0.85rem; color: var(--text-2); }
.modal-body { padding: 1.5rem; }
.modal-pdf-iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: var(--bg);
}
.modal-pdf-footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: flex-end; gap: 0.5rem;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.4,0,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.stagger.in > * { opacity: 1; transform: translateY(0); }
.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.18s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.30s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.36s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.42s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.48s; }

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.center-text { text-align: center; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

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

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all 0.25s;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open {
  border-color: var(--brand-2);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.2rem 3rem 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--brand); }
.faq-q::after {
  content: '';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-q-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand);
  background: var(--bg-pale);
  padding: 0.25rem 0.55rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.3s;
  padding: 0 1.5rem;
}
.faq-item.open .faq-a {
  max-height: 800px;
  padding: 0 1.5rem 1.4rem;
}
.faq-a p {
  color: var(--text-2);
  line-height: 1.7;
  font-size: 0.95rem;
}
.faq-a p + p { margin-top: 0.8rem; }

/* =============================================
   COST CALCULATOR
   ============================================= */
.calc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 768px) { .calc-grid { grid-template-columns: 1fr; } }

.calc-controls .field { margin-bottom: 1rem; }
.calc-qty {
  display: flex; align-items: center; gap: 0.6rem;
}
.calc-qty button {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--bg-pale);
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 600;
  display: grid; place-items: center;
  transition: all 0.2s;
  border: 1px solid var(--line-2);
}
.calc-qty button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.calc-qty input {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
}
.calc-urgency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.calc-urg-opt { position: relative; cursor: pointer; }
.calc-urg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.calc-urg-opt span {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--bg-pale);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s;
}
.calc-urg-opt input:checked + span {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.calc-urg-opt:hover span { border-color: var(--brand-2); }

.calc-result {
  background: linear-gradient(135deg, var(--bg-pale), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  justify-content: center;
}
.calc-result-row {
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 0.85rem;
}
.calc-result-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.calc-result .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.calc-result .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--brand);
  line-height: 1.1;
}
.calc-result .val .unit {
  font-size: 0.55em;
  color: var(--text-2);
  font-weight: 500;
  margin-left: 0.3rem;
}
.calc-disclaimer {
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.5;
  margin-top: 0.5rem;
}
.calc-cta { margin-top: 0.4rem; }

/* =============================================
   CASES (real projects)
   ============================================= */
.cases { background: var(--bg); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-2);
}
.case-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  position: relative;
  overflow: hidden;
}
.case-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.case-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(1, 48, 224, 0.55));
  z-index: 1;
}
.case-img-svg {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 0;
}
.case-img-svg svg { width: 60%; height: 60%; opacity: 0.4; }
.case-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.05em;
  z-index: 2;
}
.case-body { padding: 1.5rem; }
.case-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.case-body > p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.case-stat { text-align: center; }
.case-stat .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.case-stat .l {
  font-size: 0.7rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* =============================================
   TEAM
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-2);
}
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
  position: relative;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.team-meta {
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.55;
}
.team-meta span {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
}

/* =============================================
   TIMELINE (company history)
   ============================================= */
.timeline { background: var(--bg); }
.timeline-track {
  position: relative;
  padding: 2rem 0;
  max-width: 920px;
  margin: 0 auto;
}
.timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--brand-2) 10%, var(--brand-2) 90%, transparent);
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 1rem 2.5rem;
}
.tl-item:nth-child(odd) { margin-left: 0; text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; text-align: left; }
.tl-item::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  width: 16px; height: 16px;
  background: var(--white);
  border: 3px solid var(--brand);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--bg);
}
.tl-item:nth-child(odd)::before { right: -8px; }
.tl-item:nth-child(even)::before { left: -8px; }
.tl-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.tl-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.tl-desc {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.55;
}
@media (max-width: 700px) {
  .timeline-track::before { left: 20px; }
  .tl-item {
    width: 100%;
    margin-left: 0 !important;
    padding: 1rem 1rem 1rem 3rem;
    text-align: left !important;
  }
  .tl-item::before { left: 12px !important; right: auto !important; }
}

/* =============================================
   GEOGRAPHY MAP — Kazakhstan
   ============================================= */
.geo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 980px) { .geo-grid { grid-template-columns: 1fr; gap: 2rem; } }

.geo-map {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.geo-map svg { width: 100%; height: 100%; }
.geo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.geo-stat {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.geo-stat .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.geo-stat .l {
  font-size: 0.85rem;
  color: var(--text-2);
}
.geo-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.geo-list li {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.9rem;
  color: var(--text-2);
}
.geo-list li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem; right: 1rem;
  max-width: 580px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  display: flex;
  gap: 1rem;
  align-items: center;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}
.cookie-text a { color: var(--brand); text-decoration: underline; }
.cookie-btn {
  flex-shrink: 0;
  padding: 0.55rem 1.1rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 500;
}
.cookie-btn:hover { background: var(--brand-dark); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 1rem; }
  .cookie-btn { width: 100%; padding: 0.7rem; }
}

/* =============================================
   PROCESS — 5 STEPS
   ============================================= */
.process { background: var(--bg); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--brand-2));
  opacity: 0.3;
  z-index: 0;
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
}
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }

.proc-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.25rem 1.25rem;
  text-align: center;
  z-index: 1;
  transition: all 0.3s;
}
.proc-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-2);
}
.proc-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line);
}
.proc-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.proc-step p {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* =============================================
   CLIENTS — logos
   ============================================= */
.clients-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 2.5rem;
}
.client-logo {
  display: grid; place-items: center;
  padding: 1rem;
  filter: grayscale(1);
  opacity: 0.55;
  transition: all 0.3s;
}
.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}
.client-logo svg { width: 100%; max-width: 130px; height: 50px; }
.clients-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s;
}
.review-card:hover {
  border-color: var(--brand-2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem; left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.15;
}
.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: #f5b840;
}
.review-stars svg { width: 16px; height: 16px; fill: currentColor; }
.review-text {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.review-author {
  display: flex; align-items: center; gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-dark));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.review-author-info { flex: 1; }
.review-author-info .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.2;
}
.review-author-info .role {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-top: 0.2rem;
}
.review-source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* =============================================
   PRICE TABLE
   ============================================= */
.price-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}
.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.price-row:last-child { border-bottom: 0; }
.price-row.header {
  background: var(--bg-pale);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 600;
}
.price-row:not(.header):hover {
  background: var(--bg);
}
.price-name {
  font-weight: 500;
  color: var(--text);
}
.price-val {
  font-family: var(--font-mono);
  color: var(--text-2);
  font-size: 0.92rem;
}
.price-val.highlight {
  color: var(--brand);
  font-weight: 600;
}
.price-cta {
  padding: 0.45rem 0.85rem;
  background: var(--bg-pale);
  color: var(--brand);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.price-cta:hover {
  background: var(--brand);
  color: #fff;
}
@media (max-width: 768px) {
  .price-row { grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; padding: 1rem; }
  .price-row.header { display: none; }
  .price-name { grid-column: 1 / -1; font-weight: 600; }
  .price-val::before {
    content: attr(data-lbl) ': ';
    color: var(--text-mute);
    font-size: 0.78rem;
    margin-right: 0.3rem;
  }
  .price-cta { grid-column: 1 / -1; padding: 0.6rem; }
}
.price-disclaimer {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-pale);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* =============================================
   ACHIEVEMENT BADGES
   ============================================= */
.badges-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 0;
  max-width: 1100px;
}
.badge {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  min-width: 220px;
}
.badge:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.badge-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid; place-items: center;
}
.badge-icon svg { width: 22px; height: 22px; }
.badge-text { line-height: 1.2; }
.badge-text .b1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.badge-text .b2 {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-top: 0.15rem;
}

/* =============================================
   COPY-TO-CLIPBOARD button
   ============================================= */
.copyable {
  cursor: pointer;
  position: relative;
  padding-right: 28px;
  transition: color 0.2s;
}
.copyable:hover { color: var(--brand); }
.copyable::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.5;
}
.copyable.copied::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 1;
}
.copy-toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: var(--brand);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 250;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.copy-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =============================================
   ACTIVE NAV LINK
   ============================================= */
.nav-links a.active {
  color: var(--brand);
  background: var(--bg-pale);
}
.nav-links a.active::after {
  width: calc(100% - 1.8rem) !important;
  left: 0.9rem !important;
}

/* =============================================
   LIGHTBOX for work photos
   ============================================= */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 20, 40, 0.92);
  z-index: 250;
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; opacity: 1; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: lb-in 0.35s cubic-bezier(.4,0,.2,1);
}
@keyframes lb-in {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: grid; place-items: center;
  transition: all 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-close svg { width: 24px; height: 24px; }
.lightbox-caption {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  max-width: 80vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-img { cursor: zoom-in; }

/* =============================================
   ACCREDITATION SCOPE — full 62 items table
   ============================================= */
.scope { background: var(--white); }
.scope-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) { .scope-stats { grid-template-columns: 1fr 1fr; } }
.scope-stat {
  text-align: center;
  padding: 1.2rem 0.85rem;
  background: var(--bg-pale);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.scope-stat .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.scope-stat .l {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.3;
}

.scope-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.scope-filter {
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--line-2);
  color: var(--text-2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.scope-filter:hover { color: var(--brand); border-color: var(--brand-2); }
.scope-filter.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.scope-search {
  position: relative;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}
.scope-search input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  background: var(--white);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}
.scope-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(1, 48, 224, 0.10);
}
.scope-search::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background-color: var(--text-mute);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.scope-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.scope-row {
  display: grid;
  grid-template-columns: 50px 1.6fr 2fr 1.3fr 1fr;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  transition: background 0.15s;
}
.scope-row:last-child { border-bottom: 0; }
.scope-row:not(.header):hover {
  background: var(--bg);
}
.scope-row.header {
  background: var(--bg-pale);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand);
  font-weight: 600;
}
.scope-num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brand);
  font-size: 0.82rem;
}
.scope-cat {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--bg-pale);
  color: var(--brand);
  white-space: nowrap;
}
.scope-cat[data-cat="01"] { background: #e8efff; color: #0130e0; }
.scope-cat[data-cat="03"] { background: #fff4e6; color: #d97706; }
.scope-cat[data-cat="04"] { background: #ecfdf5; color: #047857; }
.scope-cat[data-cat="07"] { background: #fdf2f8; color: #be185d; }
.scope-cat[data-cat="13"] { background: #f0f9ff; color: #0369a1; }
.scope-cat[data-cat="15"] { background: #f5f3ff; color: #6d28d9; }
.scope-cat[data-cat="16"] { background: #fef2f2; color: #b91c1c; }
.scope-name {
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.scope-range {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.4;
}
.scope-err {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.4;
}
.scope-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-mute);
  font-size: 0.95rem;
}
.scope-empty svg {
  width: 40px; height: 40px;
  margin: 0 auto 0.85rem;
  opacity: 0.4;
}

/* Mobile: stacking */
@media (max-width: 850px) {
  .scope-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1rem 1.25rem; }
  .scope-row.header { display: none; }
  .scope-row > div:nth-child(1) { display: inline-block; margin-right: 0.6rem; }
  .scope-row > div:nth-child(2) { display: inline; }
  .scope-row .scope-cat { display: inline-block; margin-top: 0.25rem; }
  .scope-row .scope-range::before {
    content: 'Диапазон: ';
    color: var(--text-mute);
    font-size: 0.72rem;
  }
  .scope-row .scope-err::before {
    content: 'Погрешность: ';
    color: var(--text-mute);
    font-size: 0.72rem;
  }
}

.scope-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-pale);
  border: 1px solid var(--brand-2);
  border-radius: var(--r-md);
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.scope-cta-text {
  flex: 1;
  min-width: 220px;
}
.scope-cta-text h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.scope-cta-text p {
  font-size: 0.88rem;
  color: var(--text-2);
}

/* =============================================
   GALLERY — work photos
   ============================================= */
.gallery {
  background: var(--bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 200px;
  gap: 0.75rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-pale);
  transition: all 0.3s;
  border: 1px solid var(--line);
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-2);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
@media (max-width: 700px) {
  .gallery-item.wide { grid-column: span 1; }
}
.gallery-item-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(10, 20, 40, 0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}
.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item-tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.05em;
  z-index: 2;
}
.gallery-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--text-mute);
  height: 100%;
  background: linear-gradient(135deg, var(--bg-pale), var(--bg));
  border: 1px dashed var(--line-2);
}
.gallery-placeholder svg {
  width: 36px; height: 36px;
  margin-bottom: 0.5rem;
  color: var(--brand-2);
  opacity: 0.5;
}
.gallery-placeholder .ph-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.gallery-placeholder .ph-hint {
  font-size: 0.72rem;
  margin-top: 0.3rem;
  opacity: 0.7;
}

/* =============================================
   VIDEO BLOCK — full-width video gallery
   ============================================= */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.video-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s;
}
.video-card:hover {
  border-color: var(--brand-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.video-card-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-pale), #c5e3ff);
  display: grid; place-items: center;
  overflow: hidden;
}
.video-card-frame video,
.video-card-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
}
.video-card-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
}
.video-card-placeholder .play {
  width: 64px; height: 64px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: rgba(1, 48, 224, 0.15);
  display: grid; place-items: center;
  color: var(--brand);
  position: relative;
}
.video-card-placeholder .play::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--brand-2);
  opacity: 0.5;
  animation: pulse-fab 2.5s infinite;
}
.video-card-placeholder .play svg {
  width: 28px; height: 28px;
  margin-left: 3px;
  fill: currentColor;
}
.video-card-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-2);
  letter-spacing: 0.05em;
}
.video-card-body { padding: 1.25rem; }
.video-card-body h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.video-card-body p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* =============================================
   MOBILE CTA BAR (sticky bottom on phones)
   ============================================= */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(1, 48, 224, 0.08);
  z-index: 80;
  padding: 0.5rem;
  gap: 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 0.5rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-cta-bar a:active { transform: scale(0.96); }
.mobile-cta-bar .m-call {
  background: var(--brand);
  color: #fff;
}
.mobile-cta-bar .m-wa {
  background: #25d366;
  color: #fff;
}
.mobile-cta-bar a svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  /* Поднимаем плавающие кнопки выше панели */
  .fab-wa { bottom: 5rem !important; }
  .fab-top { bottom: 5rem !important; }
  /* Cookie-баннер тоже поднимаем */
  .cookie-banner { bottom: 5rem !important; }
  /* Дополнительный отступ снизу страницы */
  body { padding-bottom: 4rem; }
}

/* =============================================
   WORK STATUS INDICATOR (в шапке)
   ============================================= */
.work-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.work-status.open {
  background: #ecfdf5;
  color: #047857;
}
.work-status.closed {
  background: #fef2f2;
  color: #b91c1c;
}
.work-status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.work-status.open .dot {
  background: #15a36c;
  box-shadow: 0 0 0 0 rgba(21, 163, 108, 0.6);
  animation: pulse-dot-status 2s infinite;
}
.work-status.closed .dot { background: #b91c1c; }
@keyframes pulse-dot-status {
  0% { box-shadow: 0 0 0 0 rgba(21, 163, 108, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(21, 163, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 163, 108, 0); }
}
@media (max-width: 980px) {
  .work-status { display: none; }
}

/* =============================================
   HERO QUICK CALLBACK FORM
   ============================================= */
.hero-quick-form {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--brand-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero-quick-form .qf-title {
  flex-basis: 100%;
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.hero-quick-form .qf-title strong {
  color: var(--brand);
}
.hero-quick-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.75rem 1rem;
  background: var(--bg-pale);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}
.hero-quick-form input:focus {
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(1, 48, 224, 0.10);
}
.hero-quick-form button {
  flex-shrink: 0;
  padding: 0.8rem 1.4rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
  border: 0;
  white-space: nowrap;
}
.hero-quick-form button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
@media (max-width: 500px) {
  .hero-quick-form { padding: 1rem; gap: 0.5rem; }
  .hero-quick-form input { width: 100%; flex-basis: 100%; }
  .hero-quick-form button { width: 100%; }
}

/* =============================================
   HERO SUBTITLE (services line under H1)
   ============================================= */
.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0.85rem 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-services span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-services span::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand-2);
  border-radius: 50%;
}

/* =============================================
   CATALOG LOAD MORE
   ============================================= */
.cat-card.hidden-more { display: none; }
.cat-load-more {
  display: block;
  margin: 2rem auto 0;
  padding: 0.85rem 1.85rem;
  background: var(--white);
  border: 1.5px solid var(--brand);
  color: var(--brand);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-load-more:hover {
  background: var(--brand);
  color: #fff;
}
.cat-load-more span.mono {
  color: inherit;
  opacity: 0.7;
  margin-left: 0.4rem;
}

/* =============================================
   LAZY MAP placeholder
   ============================================= */
.map-lazy {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: linear-gradient(135deg, var(--bg-pale), var(--bg-soft));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.map-lazy:hover { background: linear-gradient(135deg, var(--bg-soft), var(--bg-pale)); }
.map-lazy-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(1, 48, 224, 0.25);
}
.map-lazy-icon svg { width: 28px; height: 28px; }
.map-lazy-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.map-lazy-coords {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-2);
}

/* =============================================
   FORM SUCCESS MODAL
   ============================================= */
.success-modal {
  text-align: center;
  padding: 2rem 1.5rem 2.5rem !important;
}
.success-icon {
  width: 80px; height: 80px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--ok);
  display: grid; place-items: center;
  animation: success-pop 0.5s cubic-bezier(.4,0,.2,1);
}
.success-icon svg { width: 40px; height: 40px; }
@keyframes success-pop {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.success-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.success-modal p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.success-channels {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.success-channels a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.success-channels a svg { width: 16px; height: 16px; }
.success-channels .sc-call { background: var(--brand); color: #fff; }
.success-channels .sc-call:hover { background: var(--brand-dark); }
.success-channels .sc-wa { background: #25d366; color: #fff; }
.success-channels .sc-wa:hover { background: #1ebb59; }

/* =============================================
   HERO TRUST BADGES (small under form)
   ============================================= */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-mute);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-trust svg {
  width: 14px; height: 14px;
  color: var(--ok);
  flex-shrink: 0;
}

/* =============================================
   MOBILE OPTIMIZATIONS (critical)
   ============================================= */
@media (max-width: 768px) {
  /* Уменьшаем секционные отступы на мобильном */
  section { padding: 3rem 0; }
  .hero { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 2.5rem; }

  /* Hero CTA — кнопки на всю ширину */
  .hero-cta { flex-direction: column; gap: 0.6rem; }
  .hero-cta .btn { width: 100%; padding: 1rem 1.5rem; font-size: 1rem; }

  /* Шапка — упрощённая */
  .logo-text .l1 { display: none; }
  .nav-phone { display: none; }

  /* Кнопка "Оставить заявку" в шапке - КРУПНЕЕ */
  .nav-cta-mobile {
    display: inline-flex !important;
    padding: 0.55rem 0.9rem;
    background: var(--brand);
    color: #fff;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 0.4rem;
  }

  /* Калькулятор — лучше расположение */
  .calc-grid { gap: 1.25rem; }
  .calc-result {
    padding: 1.25rem;
    position: sticky;
    bottom: 5rem;
  }

  /* Urgency-полоса покомпактнее */
  .urgency { padding: 1.25rem 0; }
  .urgency-inner { gap: 1rem; }
  .urgency-text { font-size: 0.95rem; }

  /* Все секционные h2 поменьше */
  .section-header { margin-bottom: 2rem; }

  /* Process — карточки в 1 колонку */
  .process-grid { gap: 0.75rem; }

  /* Все touch-цели минимум 44px */
  .btn, .cat-filter, .scope-filter, .price-cta { min-height: 44px; }

  /* Лучше читаемость прайса */
  .price-row { padding: 1.1rem; }
  .price-name { font-size: 0.95rem; font-weight: 600; }
  .price-cta { padding: 0.8rem; font-size: 0.92rem; font-weight: 600; }

  /* Кнопка в калькуляторе - крупнее */
  .calc-cta { padding: 1rem; font-size: 1rem; font-weight: 600; }
  .calc-qty button { width: 44px; height: 44px; font-size: 1.4rem; }

  /* Карта на мобиле — меньше высота */
  .map-wrap, .map-lazy { min-height: 320px; }

  /* Hero quick-form приоритет */
  .hero-quick-form { padding: 1.25rem; }
}

@media (min-width: 769px) {
  .nav-cta-mobile { display: none !important; }
}

/* =============================================
   TWO LABORATORIES (Поверка vs Калибровка)
   ============================================= */
.labs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 900px) { .labs-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

.lab-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.lab-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-2);
}
.lab-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
}
.lab-card.lab-pov::before {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.lab-card.lab-cal::before {
  background: linear-gradient(90deg, var(--brand-2), var(--brand-light));
}
.lab-header {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.25rem;
}
.lab-icon {
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid; place-items: center;
}
.lab-icon svg { width: 30px; height: 30px; }
.lab-title-block {
  flex: 1;
}
.lab-title-block h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.lab-cert {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.lab-cert-valid {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  background: #ecfdf5;
  color: #047857;
  border-radius: var(--r-sm);
  font-size: 0.7rem;
  font-weight: 600;
}
.lab-desc {
  color: var(--text-2);
  line-height: 1.6;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
.lab-groups {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.lab-groups li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.6rem 0.85rem;
  background: var(--bg-pale);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.2s;
}
.lab-groups li:hover {
  background: var(--bg-soft);
  transform: translateX(3px);
}
.lab-groups li .code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand);
  flex-shrink: 0;
  min-width: 24px;
}
.lab-groups li .new {
  display: inline-block;
  margin-left: auto;
  padding: 0.1rem 0.45rem;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.lab-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.lab-count {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-2);
}
.lab-count strong {
  color: var(--brand);
  font-size: 1.2rem;
  font-family: var(--font-display);
}

/* =============================================
   BANK DETAILS / REQUISITES
   ============================================= */
.requisites {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.5rem;
}
.requisites h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.requisites h3 svg {
  width: 22px; height: 22px;
  color: var(--brand);
  flex-shrink: 0;
}
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
}
@media (max-width: 600px) { .req-grid { grid-template-columns: 1fr; } }
.req-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--line);
}
.req-row:last-child { border-bottom: 0; }
.req-row .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.req-row .val {
  font-family: var(--font-mono);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  word-break: break-all;
}
.req-copy-all {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* =============================================
   TELEGRAM CHANNEL BUTTON & FAB
   ============================================= */
.fab-tg {
  position: fixed;
  bottom: 1.5rem;
  right: 6rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #0088cc;
  color: #fff;
  display: grid; place-items: center;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.4);
  transition: all 0.25s;
  text-decoration: none;
}
.fab-tg:hover {
  transform: scale(1.08);
  background: #0077b3;
}
.fab-tg svg { width: 26px; height: 26px; }
@media (max-width: 600px) {
  .fab-tg { width: 50px; height: 50px; right: 4.5rem; bottom: 1rem; }
  .fab-tg svg { width: 22px; height: 22px; }
}
@media (max-width: 768px) {
  .fab-tg { bottom: 5rem !important; }
}

.channel.tg .channel-icon { background: #0088cc; }

/* =============================================
   SKIP-LINK для доступности
   ============================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--brand-2);
  outline-offset: 2px;
}

/* =============================================
   FINAL MOBILE POLISH (последние правки UX)
   ============================================= */

/* Чтобы при focus на input на iOS не происходил zoom */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  font-size: 16px !important;  /* iOS зумит при <16px */
}

/* Улучшение читаемости тонких шрифтов на мобильном */
@media (max-width: 768px) {
  /* Все .mono которые показывают важные данные — сделать жирнее */
  .req-row .val { font-size: 0.95rem; font-weight: 500; line-height: 1.5; }
  .req-row .lbl { font-size: 0.72rem; margin-bottom: 0.3rem; }

  /* Реквизиты — увеличиваем tap-цель */
  .copyable {
    padding: 0.45rem 36px 0.45rem 0.5rem;
    background: var(--bg-pale);
    border-radius: var(--r-sm);
    margin: 0.2rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .copyable::after {
    right: 0.7rem;
    width: 20px;
    height: 20px;
    opacity: 0.7;
  }

  /* Цены в прайсе крупнее на мобильном */
  .price-val.highlight {
    font-size: 1.1rem;
    font-weight: 700;
  }

  /* Карточки лабораторий — поменьше отступы */
  .lab-card { padding: 1.5rem 1.25rem; }
  .lab-header { margin-bottom: 1rem; }
  .lab-icon { width: 48px; height: 48px; }
  .lab-icon svg { width: 24px; height: 24px; }
  .lab-title-block h3 { font-size: 1.1rem; }
  .lab-cert { font-size: 0.72rem; }
  .lab-cert-valid { font-size: 0.62rem; padding: 0.1rem 0.4rem; }
  .lab-groups li { padding: 0.55rem 0.7rem; font-size: 0.83rem; }
  .lab-groups li .code { min-width: 22px; font-size: 0.8rem; }
  .lab-groups li .new {
    margin-left: auto;
    padding: 0.1rem 0.4rem;
    font-size: 0.6rem;
  }

  /* Уменьшаем отступы в scope-table на мобильном */
  .scope-row { padding: 0.85rem 1rem; }
  .scope-name { font-size: 0.92rem; font-weight: 600; }

  /* Hero меньше на мобильном */
  .hero { padding-top: calc(var(--header-h) + 1rem); }
  .hero h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); margin-bottom: 0.75rem; }
  .hero-tagline { font-size: 0.92rem; }
  .hero-services { font-size: 0.78rem; gap: 0.35rem 0.85rem; margin: 0.5rem 0 1rem; }

  /* Quick form компактнее */
  .hero-quick-form { padding: 1rem; gap: 0.5rem; }
  .hero-quick-form .qf-title { font-size: 0.82rem; margin-bottom: 0.3rem; }
  .hero-quick-form input { padding: 0.85rem; }
  .hero-quick-form button { padding: 0.95rem; font-size: 0.92rem; font-weight: 600; }

  /* Hero-trust — компактнее */
  .hero-trust {
    gap: 0.5rem 1rem;
    font-size: 0.72rem;
    margin-top: 1rem;
  }

  /* Sticky CTA bar — улучшение читаемости */
  .mobile-cta-bar a {
    font-size: 0.85rem;
    font-weight: 600;
  }

  /* Stats компактнее */
  .stats-grid { gap: 0.75rem; }
  .stat-card { padding: 1.25rem 0.75rem; }
  .stat-card .stat-num { font-size: 1.8rem; }
  .stat-card .stat-label { font-size: 0.75rem; }

  /* Catalog grid */
  .cat-grid { gap: 0.85rem; }
  .cat-card { padding: 1.25rem; }
  .cat-card h3 { font-size: 1rem; }
  .cat-card p { font-size: 0.85rem; }

  /* Сократить отступ контейнера */
  .container { padding-left: 1rem; padding-right: 1rem; }

  /* Footer компактнее */
  .site-footer { padding: 2rem 0 1.5rem; }
}

/* Совсем маленькие экраны — еще компактнее */
@media (max-width: 380px) {
  .nav-cta-mobile {
    padding: 0.5rem 0.7rem;
    font-size: 0.72rem;
  }
  .nav-phone { display: none !important; }
  .mobile-cta-bar a span {
    font-size: 0.78rem;
  }
  .hero h1 { font-size: 1.5rem; }
  .hero-services { font-size: 0.72rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Уменьшаем плавающие FAB на маленьких экранах */
@media (max-width: 380px) {
  .fab-wa { width: 48px; height: 48px; right: 0.85rem; }
  .fab-tg { width: 48px; height: 48px; right: 4.1rem; }
  .fab-top { width: 42px; height: 42px; right: 0.85rem; }
}

/* Улучшаем читаемость FAB при долгом скролле */
.fab-wa, .fab-tg, .fab-top {
  backdrop-filter: blur(8px);
}

/* В горизонтальном мобильном (альбомная) уменьшаем шапку */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding-top: 5rem; padding-bottom: 1.5rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero-quick-form { padding: 0.85rem; }
}

/* Reduced motion для пользователей с настройкой */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles для клавиатурной навигации */
*:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:focus-visible,
button:focus-visible {
  outline-offset: 4px;
}

/* =============================================
   3D SCAN PROCESS INFOGRAPHIC
   ============================================= */
.scan-process {
  background: linear-gradient(180deg, var(--bg-pale) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.scan-process::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(58, 126, 255, 0.15), transparent 70%);
  filter: blur(40px);
}

.scan-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .scan-process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .scan-process-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 480px) {
  .scan-process-grid { grid-template-columns: 1fr; }
}

.scan-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.scan-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-2);
}
.scan-step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  display: grid; place-items: center;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.scan-step-icon {
  width: 80px; height: 80px;
  margin: 0.5rem auto 1rem;
  background: linear-gradient(135deg, var(--bg-pale), var(--bg-soft));
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: var(--brand);
  border: 1px solid var(--line);
}
.scan-step-icon svg { width: 44px; height: 44px; }
.scan-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}
.scan-step p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
}
.scan-step-tech {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* =============================================
   EQUIPMENT SHOWCASE
   ============================================= */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.equipment-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.equipment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0;
  transition: opacity 0.3s;
}
.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-2);
}
.equipment-card:hover::before { opacity: 1; }
.equipment-icon {
  width: 100px; height: 100px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--bg-pale), #c5e3ff);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brand);
}
.equipment-icon svg { width: 50px; height: 50px; }
.equipment-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
}
.equipment-model {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}
.equipment-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}
.equipment-spec {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  font-size: 0.78rem;
}
.equipment-spec .label {
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.equipment-spec .value {
  font-weight: 600;
  color: var(--text);
}

/* =============================================
   IMPROVED TEAM AVATARS (силуэты в спецодежде)
   ============================================= */
.team-avatar.silhouette {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  position: relative;
  overflow: hidden;
}
.team-avatar.silhouette svg {
  width: 100%;
  height: 100%;
  color: #fff;
  position: relative;
  z-index: 1;
}
.team-avatar.silhouette::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 130%, transparent 30%, rgba(0,0,0,0.2));
  z-index: 2;
}

/* SVG animation classes */
@keyframes ivd-roll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(280px); }
}
@keyframes ivd-tape {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}
@keyframes laser-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes laser-fade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes receipt-out {
  0%   { transform: translateY(-40px); opacity: 0; }
  20%  { transform: translateY(-30px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes dataflow {
  0%   { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
