/* ============ ОСНОВА ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f7f8fb;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.65);
  --surface-strong: rgba(255, 255, 255, 0.85);
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --text: #0b1220;
  --text-soft: #475569;
  --text-mute: #64748b;
  --red: #c4281c;
  --red-deep: #a01f14;
  --red-soft: #fce8e4;
  --blue: #2563eb;
  --blue-soft: #eff5ff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.12), 0 4px 12px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.18), 0 10px 24px -8px rgba(15, 23, 42, 0.08);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* ============ АВРОРА ФОН ============ */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(196, 40, 28, 0.18), transparent 70%),
    radial-gradient(50% 50% at 88% 20%, rgba(37, 99, 235, 0.14), transparent 70%),
    radial-gradient(55% 60% at 50% 100%, rgba(196, 40, 28, 0.10), transparent 70%),
    radial-gradient(40% 40% at 80% 80%, rgba(99, 102, 241, 0.10), transparent 70%);
  filter: blur(20px);
  animation: auroraShift 28s ease-in-out infinite alternate;
}
.aurora::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 75%);
  opacity: 0.6;
}
@keyframes auroraShift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-2%, 1%, 0) scale(1.05); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.02); }
}

.glass {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* ============ ХЕДЕР ============ */
.header {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 28px); max-width: var(--container);
  z-index: 100; border-radius: 999px; padding: 10px 14px 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  transition: box-shadow .4s var(--ease), padding .3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-lg); background: var(--surface-strong); }

.logo { display: flex; align-items: center; gap: 10px; font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: 38px;
  aspect-ratio: 59.67453 / 63.305035;
  overflow: hidden;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.logo-mark::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 60%;
  height: 200%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  animation: logo-shine 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes logo-shine {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav > .nav-item > .nav-link {
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--text-soft); border-radius: 999px;
  transition: color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
  cursor: pointer;
}
.nav > a:hover, .nav > .nav-item > .nav-link:hover {
  color: var(--text); background: rgba(15, 23, 42, 0.05);
}

/* Dropdown */
.nav-chevron {
  width: 12px; height: 12px;
  transition: transform 0.25s var(--ease);
  opacity: 0.7;
}
.nav-item.nav-dropdown { position: relative; }
.nav-item.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 48px -12px rgba(15, 23, 42, 0.25), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), visibility 0.22s, transform 0.22s var(--ease);
  z-index: 100;
}
.nav-item.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Невидимый "мост" чтобы курсор мог дойти до меню без потери hover */
.nav-item.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
  font-weight: 500;
}
.nav-dropdown-menu a:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--red);
}

/* Подсвеченный пункт — Импорт под ключ */
.dropdown-feature {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%) !important;
  color: white !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  margin-bottom: 8px;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.dropdown-feature::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.dropdown-feature:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -6px rgba(196, 40, 28, 0.45);
  color: white !important;
}
.dropdown-feature .ft-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  position: relative;
}
.dropdown-feature .ft-title::after {
  content: '→';
  margin-left: auto;
  transition: transform 0.2s;
  font-weight: 400;
}
.dropdown-feature:hover .ft-title::after { transform: translateX(4px); }
.dropdown-feature .ft-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  position: relative;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 4px;
}

/* Мобайл: dropdown превращается в плоский список */
@media (max-width: 840px) {
  .nav-dropdown-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    background: transparent; backdrop-filter: none;
    padding: 0; min-width: 0;
  }
  .nav-item.nav-dropdown::after { display: none; }
  .nav-chevron { display: none; }
  .dropdown-feature { background: linear-gradient(135deg, var(--red), var(--red-deep)) !important; }
  .dropdown-feature .ft-title::after { display: none; }
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn-ghost { color: var(--text); background: rgba(15, 23, 42, 0.04); }
.btn-ghost:hover { background: rgba(15, 23, 42, 0.08); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: 0 8px 20px -8px rgba(196, 40, 28, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(196, 40, 28, 0.65); }
.btn-secondary {
  color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* ============ КНОПКА ЗВОНКА (всегда круглая иконка) ============ */
.btn-call {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: grid; place-items: center;
  transition: all .2s;
  flex-shrink: 0;
}
.btn-call:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: var(--red); color: var(--red); }
.btn-call svg { width: 15px; height: 15px; }

/* ============ ЯЗЫК (одна круглая кнопка, циклическое переключение) ============ */
.lang-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  display: grid; place-items: center;
  transition: all .2s;
  font-family: inherit;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.lang-toggle:active { transform: translateY(0) scale(0.95); }

/* ============ БУРГЕР И МОБ. МЕНЮ ============ */
.burger {
  display: none; width: 42px; height: 42px;
  border-radius: 12px; background: rgba(15, 23, 42, 0.05);
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; border-radius: 2px; transition: all .25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }
.burger.active span { background: transparent; }
.burger.active span::before { top: 0; transform: rotate(45deg); }
.burger.active span::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 78px; left: 14px; right: 14px;
  z-index: 99; border-radius: 24px; padding: 20px;
  opacity: 0; pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .25s, transform .25s;
  max-height: calc(100vh - 100px); overflow-y: auto;
}
.mobile-menu.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a { display: block; padding: 12px 16px; font-weight: 500; border-radius: 12px; }
.mobile-menu a.sub-link { padding-left: 32px; font-size: 14px; color: var(--text-soft); }
.mobile-menu a:hover { background: rgba(15, 23, 42, 0.05); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }
.mobile-menu .lang-row { display: flex; justify-content: center; margin: 14px 0 6px; }

/* ============ ХИРО ============ */
.hero { padding: 130px 0 50px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  background: var(--surface); backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-soft);
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); position: relative;
}
.eyebrow-dot::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 40, 28, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(196, 40, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 40, 28, 0); }
}

h1, h2, h3 { font-family: 'Manrope', 'Inter', sans-serif; letter-spacing: -0.03em; line-height: 1.05; color: var(--text); }
.h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; margin-bottom: 24px; }
.h1 .accent {
  position: relative; display: inline-block;
  background: linear-gradient(135deg, var(--red) 0%, #e15347 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h1 .accent::after {
  content: ''; position: absolute; left: 0; bottom: 0.05em;
  width: 100%; height: 0.12em;
  background: linear-gradient(90deg, transparent, rgba(196, 40, 28, 0.25), transparent);
  border-radius: 99px;
}

.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--text-soft); max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Хиро визуал */
.hero-visual { position: relative; height: 460px; }
.hv-card {
  position: absolute; border-radius: var(--radius-lg); padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--surface-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-lg);
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hv-1 {
  top: 0; left: 0; width: 70%; height: 280px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white; border-color: rgba(255,255,255,0.1);
  animation-delay: 0s; overflow: hidden;
}
.hv-1::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(196, 40, 28, 0.6), transparent 70%);
  filter: blur(20px);
  transition: opacity 0.4s ease;
}
.hv-1::after {
  content: '';
  position: absolute;
  bottom: -25%; right: -15%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(196, 40, 28, 0.55), transparent 70%);
  filter: blur(22px);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.hv-1 .route { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.hv-1 .route-city .city { font-size: 22px; font-weight: 700; font-family: 'Manrope', sans-serif; transition: color 0.35s ease, text-shadow 0.35s ease; }
.hv-1 .route-city .code { font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; transition: color 0.35s ease; }
.hv-1-from { transition: opacity 0.35s ease; }
.hv-1 .route-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  margin: 0 14px; position: relative;
  transition: background 0.45s ease;
}
.hv-1 .route-plane {
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  color: var(--red);
  transform: translate(-50%, -50%);
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease, transform 0.35s ease, filter 0.35s ease;
  display: grid; place-items: center;
}
.hv-1 .route-plane svg { width: 18px; height: 18px; display: block; transform: rotate(90deg); }
.hv-1 .meta { display: flex; justify-content: space-between; position: relative; z-index: 1; font-size: 12px; color: rgba(255,255,255,0.7); }
.hv-1 .meta strong { display: block; color: white; font-size: 15px; font-weight: 600; margin-bottom: 2px; transition: color 0.35s ease; }

@media (hover: hover) {
  .hv-1 {
    cursor: pointer;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
  }
  .hv-1:hover {
    border-color: rgba(196, 40, 28, 0.45);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(196, 40, 28, 0.15);
    animation-play-state: paused;
  }
  .hv-1:hover::before {
    opacity: 0.85;
  }
  .hv-1:hover::after {
    opacity: 1;
  }
  .hv-1:hover .hv-1-from {
    opacity: 0.42;
  }
  .hv-1:hover .hv-1-to .city {
    color: #ffe4e1;
    text-shadow: 0 0 24px rgba(196, 40, 28, 0.5);
  }
  .hv-1:hover .hv-1-to .code {
    color: #fca5a5;
  }
  .hv-1:hover .route-line {
    background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(196, 40, 28, 0.55) 55%, rgba(239, 68, 68, 0.9));
  }
  .hv-1:hover .route-plane {
    left: 86%;
    color: #ef4444;
    transform: translate(-50%, -50%) scale(1.12);
    filter: drop-shadow(0 0 10px rgba(196, 40, 28, 0.7));
  }
  .hv-1:hover .meta > div:first-child strong {
    color: #fecaca;
  }
}

.hv-2 {
  bottom: 0; right: 0; width: 62%; height: 200px;
  animation-delay: -3s;
  padding: 22px 24px;
  gap: 6px;
  /* Более прозрачная — настоящее «жидкое стекло» */
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.hv-2 > * {
  position: relative;
  z-index: 1;
}
@media (hover: hover) {
  .hv-2 {
    cursor: pointer;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
  }
  .hv-2::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, #ecfdf5 0%, #bbf7d0 48%, #86efac 100%);
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    pointer-events: none;
  }
  .hv-2:hover::before {
    opacity: 1;
    transform: scale(1);
  }
  .hv-2:hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 22px 44px rgba(22, 163, 74, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    animation-play-state: paused;
  }
  .hv-2-check {
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  }
  .hv-2:hover .hv-2-check {
    background: #16a34a;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 7px rgba(22, 163, 74, 0.22);
  }
  .hv-2-status strong {
    transition: color 0.3s ease;
  }
  .hv-2:hover .hv-2-status strong {
    color: #14532d;
  }
  .hv-2-num {
    transition: background 0.3s ease, color 0.3s ease;
  }
  .hv-2:hover .hv-2-num {
    background: rgba(22, 101, 52, 0.1);
    color: #166534;
  }
}
.hv-2-title {
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.hv-2-status {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 8px;
}
.hv-2-check {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(220, 252, 231, 0.85);
  color: #16a34a;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.08);
}
.hv-2-check svg { width: 18px; height: 18px; }
.hv-2-status strong {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(20px, 1.8vw, 24px); font-weight: 800;
  letter-spacing: -0.02em;
  color: #15803d;
  line-height: 1.1;
}
.hv-2-num {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--text-mute);
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.04);
  letter-spacing: 0.02em;
  margin-top: auto;
  align-self: flex-start;
}

/* ============ СЕКЦИИ ============ */
.section { padding: 40px 0; position: relative; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head .left { max-width: 640px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--red);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 24px; height: 1.5px; background: var(--red); }
.h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.section-head .sub { color: var(--text-soft); font-size: 17px; margin-top: 16px; max-width: 520px; }

/* ============ УСЛУГИ — БЕНТО ============ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(190px, auto); gap: 14px; }
.service-card {
  border-radius: var(--radius-lg); padding: 26px 28px;
  position: relative; overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px;
}
a.service-card { text-decoration: none; color: inherit; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.service-card .icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--red-soft); display: grid; place-items: center;
  color: var(--red); margin-bottom: 16px;
}
.service-card .icon-wrap svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; color: inherit; }
.service-card p { color: var(--text-soft); font-size: 14px; max-width: 380px; line-height: 1.5; }
.service-card .features { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.service-card .features li {
  font-size: 11.5px; padding: 5px 10px; border-radius: 99px;
  background: rgba(15, 23, 42, 0.04); color: var(--text-soft); font-weight: 500;
}
.service-card .arrow {
  position: absolute; top: 26px; right: 28px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(15, 23, 42, 0.04);
  display: grid; place-items: center;
  transition: background .25s, transform .25s;
}
.service-card:hover .arrow { background: var(--red); color: white; transform: rotate(-45deg); }
.service-card .arrow svg { width: 14px; height: 14px; }

.s-air     { grid-column: span 7; grid-row: span 2; background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #312e81 100%); color: white; }
.s-air .icon-wrap { background: rgba(196, 40, 28, 0.2); color: #fca099; }
.s-air h3 { color: #fff; }
.s-air p { color: rgba(255,255,255,0.7); max-width: 420px; }
.s-air .features li { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.s-air .arrow { background: rgba(255,255,255,0.1); color: white; }
.s-air::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(196, 40, 28, 0.45), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.s-air .plane-trail {
  position: absolute; bottom: 30px; right: -50px;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 40, 28, 0.4), rgba(196, 40, 28, 0.8));
  transform: rotate(-15deg);
}
.s-air .plane-trail::after {
  content: '✈'; position: absolute; right: -10px; top: -12px;
  color: var(--red); font-size: 24px; transform: rotate(15deg);
}

.s-sea     { grid-column: span 5; grid-row: span 1; }
.s-customs {
  grid-column: span 5;
  grid-row: span 1;
  background: linear-gradient(135deg, #120606 0%, #2a0c0c 42%, #4a1210 78%, #6b1a14 100%);
  color: white;
  border-color: rgba(196, 40, 28, 0.22);
}
.s-customs .icon-wrap { background: rgba(196, 40, 28, 0.32); color: #ffb4a8; }
.s-customs h3 { color: #fff; }
.s-customs p { color: rgba(255, 255, 255, 0.72); max-width: 420px; }
.s-customs .features li {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.s-customs .arrow { background: rgba(255, 255, 255, 0.12); color: white; }
.s-customs:hover { border-color: rgba(252, 160, 153, 0.35); }
.s-customs::before {
  content: '';
  position: absolute;
  bottom: -45%;
  left: -12%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(196, 40, 28, 0.5), transparent 68%);
  filter: blur(22px);
  pointer-events: none;
}
.s-customs::after {
  content: '';
  position: absolute;
  top: -28%;
  right: -6%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 100, 70, 0.22), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.s-auto    { grid-column: span 4; grid-row: span 1; }
.s-extra   { grid-column: span 4; grid-row: span 1; background: linear-gradient(135deg, var(--blue-soft) 0%, white 100%); }
.s-extra .icon-wrap { background: rgba(37, 99, 235, 0.12); color: var(--blue); }
.s-courier { grid-column: span 4; grid-row: span 1; }

/* ============ КЛИЕНТЫ — ЛЕНТА ПОД HERO ============ */
.hero-clients {
  margin-top: 54px;
  position: relative;
}
/* Красивая подсветка под лентой */
.hero-clients::before {
  content: '';
  position: absolute;
  inset: -10px -60px -60px;
  background:
    radial-gradient(60% 100% at 18% 100%, rgba(196, 40, 28, 0.16), transparent 65%),
    radial-gradient(55% 100% at 82% 100%, rgba(37, 99, 235, 0.13), transparent 65%),
    radial-gradient(40% 80% at 50% 110%, rgba(99, 102, 241, 0.08), transparent 60%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
  border-radius: 48px;
}

.hc-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  font-size: 12px; font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 40, 28, 0.15);
  flex-shrink: 0;
  position: relative;
}
.hc-dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--red);
  animation: pulseDot 2.2s ease-out infinite;
}
@keyframes pulseDot {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hc-divider {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

.hc-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.hc-card {
  border-radius: 20px;
  padding: 18px 16px;
  /* Почти белый фон — чтобы любые логотипы читались чётко */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px -10px rgba(15, 23, 42, 0.12), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  display: grid; place-items: center;
  min-height: 110px;
  position: relative;
  animation: float 9s ease-in-out infinite;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.hc-card--stub { cursor: default; }
.hc-card:hover {
  animation-play-state: paused;
  transform: scale(1.07) translateY(-8px) !important;
  box-shadow: 0 20px 40px -14px rgba(15, 23, 42, 0.22), 0 6px 14px -6px rgba(15, 23, 42, 0.1);
  z-index: 2;
}
.hc-card:nth-child(1) { animation-delay: 0s;    transform: translateY(0); }
.hc-card:nth-child(2) { animation-delay: -1.5s; transform: translateY(-10px); }
.hc-card:nth-child(3) { animation-delay: -3s;   transform: translateY(6px); }
.hc-card:nth-child(4) { animation-delay: -4.5s; transform: translateY(-6px); }
.hc-card:nth-child(5) { animation-delay: -6s;   transform: translateY(10px); }
.hc-card:nth-child(6) { animation-delay: -7.5s; transform: translateY(-3px); }

.hc-card img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  display: block;
  transition: transform .35s var(--ease);
  /* JPG-логотипы на белом фоне сольются с карточкой; PNG с прозрачностью покажутся как есть */
}
.hc-card:hover img { transform: scale(1.06); }


/* ============ ПРОЦЕСС ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.process-step {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--border);
  position: relative; transition: transform .3s var(--ease), box-shadow .3s;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-num {
  font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--red); letter-spacing: 0.1em;
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.process-num::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.process-num::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--red), transparent); }
.process-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-soft); }

/* ============ ПОЧЕМУ МЫ ============ */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.why-grid .why-card--hidden { display: none !important; }
.why-features { display: flex; flex-direction: column; gap: 4px; }
.why-feature {
  padding: 22px 4px; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: center;
}
.why-feature:last-child { border-bottom: none; }
.why-feature .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center;
}
.why-feature .icon svg { width: 22px; height: 22px; }
.why-feature h4 { font-size: 17px; font-weight: 700; }
.why-feature p { font-size: 14px; color: var(--text-soft); margin-top: 2px; }
.why-feature .plus { display: none !important; }

.why-card {
  padding: 40px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0b1220 0%, #1a2438 100%);
  color: white; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-card::before {
  content: ''; position: absolute; top: -20%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196, 40, 28, 0.4), transparent 70%);
  filter: blur(20px);
}
.why-card .small { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 20px; position: relative; }
.why-card .quote {
  font-family: 'Manrope', sans-serif;
  font-size: 26px; font-weight: 700; line-height: 1.3;
  letter-spacing: -0.02em; margin-bottom: 32px; position: relative;
}
.why-card .quote span { color: #f47a6f; }
.why-card .author {
  display: flex; align-items: center; gap: 14px;
  position: relative; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.why-card .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
}
.why-card .author-info strong { display: block; font-size: 15px; }
.why-card .author-info span { font-size: 12px; color: rgba(255,255,255,0.6); }

/* Карусель отзывов */
.why-card .testimonial-content {
  position: relative;
  transition: opacity .3s var(--ease);
}
.why-card .testimonial-content.fading { opacity: 0; }
.t-dots {
  display: flex; gap: 6px;
  margin-top: 24px;
  position: relative;
}
.t-dot {
  width: 6px; height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.t-dot.active {
  background: var(--red);
  width: 22px;
  box-shadow: 0 0 0 3px rgba(196, 40, 28, 0.15);
}
.t-dot:hover:not(.active) { background: rgba(255, 255, 255, 0.45); }

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  position: relative;
  z-index: 2;
}
.t-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, transform .2s;
}
.t-nav-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.04);
}
.t-nav-btn svg { width: 18px; height: 18px; display: block; }
.testimonial-nav .t-dots { margin-top: 0; flex: 0 1 auto; justify-content: center; }

/* Базовые стили import-страниц (fallback если нет import.css) */
.import-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  margin-bottom: 18px;
}
.import-back svg { width: 14px; height: 14px; flex-shrink: 0; display: block; }

/* ============ КОНТАКТЫ ============ */
.contacts-hero { padding-bottom: 24px; }
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
  padding: 10px 0 60px;
}
.contacts-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  padding: 22px 24px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: block;
}
.contact-card-action { transition: border-color .2s, box-shadow .2s, transform .2s; }
.contact-card-action:hover {
  border-color: rgba(196, 40, 28, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.contact-card-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-mute); font-weight: 700; margin-bottom: 8px;
}
.contact-card-value {
  font-family: 'Manrope', sans-serif;
  font-size: 20px; font-weight: 800; line-height: 1.25;
}
.contact-card-action:hover .contact-card-value { color: var(--red); }
.contact-card-note {
  font-size: 13.5px; color: var(--text-soft); line-height: 1.55; margin: 8px 0 0;
}
.contacts-map-wrap {
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.contacts-map { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.nav-active { color: var(--red) !important; }

@media (max-width: 960px) {
  .contacts-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .t-nav-btn { width: 36px; height: 36px; }
}

/* ============ МОДАЛКА ============ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.modal.active { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-card {
  position: relative; width: 100%; max-width: 460px;
  border-radius: var(--radius-lg); padding: 36px;
  background: var(--surface-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-lg);
  transform: translateY(10px) scale(0.98);
  transition: transform .3s var(--ease);
}
.modal.active .modal-card { transform: translateY(0) scale(1); }

/* Модалка заявки — прокрутка полей, кнопка всегда внизу */
#contactModal .modal-card {
  max-height: min(92dvh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#contactModal .modal-card h3,
#contactModal .modal-card .modal-sub {
  flex-shrink: 0;
}
#contactModal .modal-card .form {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 0;
}
#contactModal .modal-form-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: grid;
  gap: 12px;
  padding-right: 2px;
  margin-right: -2px;
  padding-bottom: 4px;
}
#contactModal .modal-card .form .submit {
  flex-shrink: 0;
  margin-top: 12px;
  width: 100%;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%) !important;
  box-shadow: 0 8px 20px -8px rgba(196, 40, 28, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
#contactModal .modal-card .form .submit:disabled {
  opacity: 0.5;
}

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  display: grid; place-items: center;
  font-size: 22px; color: var(--text-mute);
  transition: all .2s; line-height: 1;
}
.modal-close:hover { background: var(--red); color: white; transform: rotate(90deg); }
.modal h3 { font-family: 'Manrope', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.modal .modal-sub { color: var(--text-soft); font-size: 14px; margin-bottom: 22px; }

/* ============ ФОРМА ============ */
.form { display: grid; gap: 12px; }
.form label { font-size: 11px; font-weight: 600; color: var(--text-mute); letter-spacing: 0.05em; text-transform: uppercase; }
.form .field { display: flex; flex-direction: column; gap: 5px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--bg);
  font: inherit; font-size: 14px; color: var(--text);
  outline: none; transition: border .2s, box-shadow .2s; font-family: inherit;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 4px rgba(196, 40, 28, 0.1);
}
.form textarea { resize: vertical; min-height: 70px; }
.form .submit { margin-top: 4px; width: 100%; justify-content: center; }

/* Чекбокс согласия */
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 2px 0 4px;
  cursor: pointer;
  user-select: none;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.form-check > span {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.45;
}
.form-check a {
  color: var(--red);
  text-decoration: underline;
  cursor: pointer;
}
.form-check a:hover { color: var(--red-deep); }

.field-hint {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.45;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.field-files .contact-files-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.contact-files-btn {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
}

.contact-files-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.contact-files-empty {
  font-size: 12px;
  color: var(--text-mute);
}

.contact-files-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.contact-files-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
}

.contact-files-name {
  font-size: 13px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-files-size {
  font-size: 11px;
  color: var(--text-mute);
  white-space: nowrap;
}

.contact-files-remove {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .15s, color .15s;
}

.contact-files-remove:hover {
  background: var(--red-soft);
  color: var(--red);
}

/* Disabled-состояние основной кнопки */
.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: 0 4px 10px -4px rgba(196, 40, 28, 0.3), inset 0 1px 0 rgba(255,255,255,0.2) !important;
}

/* Модалка политики — выше и с прокруткой */
.privacy-card {
  max-width: 580px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}
.privacy-content {
  flex: 1;
  overflow-y: auto;
  margin: 14px -10px 18px;
  padding: 0 10px;
  /* кастомный скролл */
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.18) transparent;
}
.privacy-content::-webkit-scrollbar { width: 6px; }
.privacy-content::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 3px;
}
.privacy-content p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.privacy-content h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 18px 0 8px;
  letter-spacing: -0.005em;
}
.privacy-content h4:first-child { margin-top: 0; }
.privacy-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 14px;
}
.privacy-content ul li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.privacy-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}
.privacy-content strong {
  display: inline;
  color: var(--text);
  font-weight: 600;
}
.privacy-content a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 40, 28, 0.3);
  transition: border-color 0.15s;
}
.privacy-content a:hover { border-color: var(--red); }
.privacy-content .small-note {
  font-size: 11px;
  color: var(--text-mute);
  font-style: italic;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.privacy-close-btn {
  width: 100%;
  justify-content: center;
}

/* ============ КАЛЬКУЛЯТОР ============ */
.calc-card {
  max-width: 540px;
}
.calc-form { display: grid; gap: 14px; }
.calc-row {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 10px;
  align-items: end;
}
.calc-row .field { gap: 5px; }
.calc-arrow {
  display: grid; place-items: center;
  color: var(--text-mute);
  padding-bottom: 12px;
  font-weight: 600;
}
.calc-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font: inherit; font-size: 14px;
  color: var(--text);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  transition: border .2s, box-shadow .2s;
}
.calc-form select:focus,
.calc-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196, 40, 28, 0.1);
}
.calc-weight {
  position: relative;
}
.calc-weight input {
  padding-right: 50px;
}
.calc-weight::after {
  content: 'кг';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text-mute);
  pointer-events: none;
  font-weight: 600;
}
html[lang="en"] .calc-weight::after { content: 'kg'; }
html[lang="zh"] .calc-weight::after { content: '公斤'; }
.calc-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* Результат расчёта */
.calc-result {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(196,40,28,0.04), rgba(37,99,235,0.03));
  border: 1px solid var(--border);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .3s var(--ease), max-height .4s var(--ease), padding .3s var(--ease), margin .3s var(--ease);
}
.calc-result.visible {
  opacity: 1;
  max-height: 400px;
}
.calc-result.empty {
  padding: 0; margin: 0;
}
.calc-result-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  font-weight: 600;
  margin-bottom: 6px;
}
.calc-result-cost {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.calc-result-meta {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-soft);
}
.calc-result-meta strong {
  display: block;
  color: var(--text);
  font-weight: 700;
}
.calc-note {
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-top: 14px;
}
.calc-result.error {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.3);
}
.calc-result.error .calc-result-label { color: #b45309; }
.calc-result.error .calc-result-message {
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 12px;
}
.calc-result-cta {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

/* ============ ФУТЕР ============ */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); background: rgba(255,255,255,0.5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--text-soft); font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-brand p { font-size: 14px; color: var(--text-soft); margin: 16px 0; max-width: 320px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-mute); }

/* ============ КНОПКА НАВЕРХ ============ */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface-strong);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  color: var(--text); z-index: 90;
  opacity: 0; pointer-events: none;
  transform: translateY(8px) scale(0.95);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.scroll-top:hover { background: var(--red); color: white; border-color: var(--red); transform: translateY(-2px) scale(1.05); }
.scroll-top svg { width: 18px; height: 18px; }

/* ============ АНИМАЦИИ ПОЯВЛЕНИЯ ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ АДАПТИВ ============ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 400px; max-width: 560px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }

  .s-air     { grid-column: span 12; grid-row: span 1; min-height: 280px; }
  .s-sea     { grid-column: span 6; }
  .s-customs { grid-column: span 6; }
  .s-auto    { grid-column: span 6; }
  .s-extra   { grid-column: span 6; }
  .s-courier { grid-column: span 6; }

  /* Лента клиентов: 3 в ряд, парение и смещения убираем */
  .hc-strip { grid-template-columns: repeat(3, 1fr); }
  .hc-card { animation: none; transform: none !important; }
  .hc-card:hover { transform: scale(1.04) translateY(-4px) !important; }
}

@media (max-width: 840px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-actions .btn-secondary { display: none; }
  .header-actions .lang-toggle { display: none; }
  .header-actions .btn-lg { padding: 11px 18px; font-size: 14px; }

  .section { padding: 28px 0; }
  .hero { padding: 100px 0 30px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .bento { grid-template-columns: repeat(6, 1fr); }
  .s-air, .s-sea, .s-customs, .s-auto, .s-extra, .s-courier { grid-column: span 6; }

  .hero-clients { margin-top: 50px; }
  .hc-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .header { padding: 8px 8px 8px 12px; top: 10px; width: calc(100% - 20px); gap: 8px; }
  .logo-text { display: none; }
  .logo-mark { width: 34px; }
  .btn { padding: 10px 14px; font-size: 13px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-primary { padding: 9px 14px; font-size: 13px; }
  .header-actions .btn-call { width: 36px; height: 36px; }
  .burger { width: 38px; height: 38px; }

  .hero-visual { height: 380px; }
  .hv-1 { width: 78%; height: 210px; }
  .hv-1 .route-city .city { font-size: 18px; }
  .hv-2 { width: 78%; height: 180px; }

  .section-head { margin-bottom: 28px; }
  .service-card { padding: 24px; }
  .service-card h3 { font-size: 20px; }
  .s-air { min-height: 280px; }

  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .modal-card { padding: 28px 22px; }
  .modal {
    place-items: end center;
    padding: 0;
  }
  #contactModal .modal-card {
    max-height: 94dvh;
    max-width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  #contactModal .modal-card h3 {
    font-size: 22px;
    padding-right: 36px;
  }
  #contactModal .modal-card .modal-sub {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .hero-clients { margin-top: 40px; }
  .hc-strip { grid-template-columns: 1fr; gap: 10px; }
  .hc-card { min-height: auto; padding: 14px 16px; }
}

/* ============ КИТАЙСКИЙ ШРИФТ ============ */
html[lang="zh"] body {
  font-family: 'Noto Sans SC', 'Inter', system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3, html[lang="zh"] h4 {
  font-family: 'Noto Sans SC', 'Manrope', sans-serif;
  letter-spacing: -0.01em;
}

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  padding: 18px 20px 22px;
  background: rgba(7, 16, 31, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.cookie-banner-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}
.cookie-banner-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  transition: text-decoration-color 0.2s, color 0.2s;
}
.cookie-banner-text a:hover {
  color: #fff;
  text-decoration-color: rgba(196, 40, 28, 0.85);
}
.cookie-banner-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.cookie-banner-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.42);
}
.cookie-banner-btn:active {
  transform: translateY(1px);
}
body.cookie-banner-visible {
  padding-bottom: var(--cookie-banner-offset, 120px);
}
body.cookie-banner-visible .scroll-top.visible {
  bottom: calc(24px + var(--cookie-banner-offset, 120px));
}

/* ============ Баннер ошибки отправки заявки ============ */
.contact-error-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 210;
  max-width: 520px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(127, 29, 29, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  color: #fff;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}
.contact-error-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.contact-error-banner-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
.contact-error-banner-text a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-error-banner-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}
.contact-error-banner-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.contact-toast-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 205;
  max-width: 420px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(22, 101, 52, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}
.contact-toast-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 520px) {
  .cookie-banner {
    padding: 16px 16px 18px;
  }
  .cookie-banner-text {
    font-size: 12px;
    line-height: 1.6;
  }
  .cookie-banner-btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Контраст на тёмных landing-страницах (theme-import) — !important перебивает старый кэш import.css */
body.theme-import .nav > a,
body.theme-import .nav > .nav-item > .nav-link {
  color: rgba(255, 255, 255, 0.75);
}
body.theme-import .nav .nav-dropdown-menu a:not(.dropdown-feature) {
  color: #0b1220 !important;
}
body.theme-import .nav .nav-dropdown-menu a:not(.dropdown-feature):hover {
  color: #0b1220 !important;
  background: rgba(15, 23, 42, 0.06);
}
body.theme-import .import-body .btn-secondary,
body.theme-import .import-cta .btn-secondary,
body.theme-import .import-cta-buttons .btn-secondary {
  background: #f4f6f9 !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0b1220 !important;
}
body.theme-import footer .footer-col h5 {
  color: rgba(255, 255, 255, 0.55) !important;
}
body.theme-import footer .footer-col a,
body.theme-import footer .footer-col p {
  color: rgba(255, 255, 255, 0.78) !important;
}
body.theme-import footer .footer-bottom,
body.theme-import footer .footer-bottom > div {
  color: rgba(255, 255, 255, 0.62) !important;
}
body.theme-import footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.78) !important;
}