/* =============================================================================
   Asman Cargo — лендинг v2 (полный редизайн)
   ============================================================================= */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Syne:wght@400;500;600;700;800&display=swap");

:root {
  /* Светлая тема: светлый фон + тёмный текст */
  --ac-bg: radial-gradient(1100px 720px at 18% -8%, rgba(59, 130, 246, 0.14) 0%, transparent 58%),
    radial-gradient(900px 620px at 92% 12%, rgba(34, 211, 238, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 48%, #f1f5f9 100%);
  --ac-surface: #ffffff;
  --ac-surface2: #f1f5f9;
  --ac-border: rgba(15, 23, 42, 0.10);
  --ac-text: #0f172a;
  --ac-muted: #475569;
  --ac-accent: #2563eb;
  --ac-accent2: #0891b2;
  --ac-warm: #d97706;
  --ac-jd: #15803d;
  --ac-glow: rgba(37, 99, 235, 0.22);
  --ac-radius: 16px;
  --ac-radius-lg: 24px;
  --ac-max: 1180px;
  --ac-ease: cubic-bezier(0.33, 1, 0.68, 1);
  --ac-font: "DM Sans", system-ui, sans-serif;
  --ac-display: "Syne", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.ac-body,
body {
  font-family: var(--ac-font);
  background-color: #f8fafc;
  background: var(--ac-bg);
  color: var(--ac-text);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: 100%;
  max-width: var(--ac-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

/* ----- Навигация (контакты + ссылки в одной панели) ----- */
.header_nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.96) 100%);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid var(--ac-border);
  transition: transform 0.35s var(--ac-ease);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 36px rgba(15, 23, 42, 0.06);
}

.header_nav_content {
  padding: 14px 0 16px;
}

.ac-nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  justify-content: space-between;
}

.ac-nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  flex: 0 1 auto;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.ac-nav-brand:hover {
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.ac-nav-brand:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.65);
  outline-offset: 3px;
}

.ac-nav-brand .header_logo {
  transition: transform 0.22s var(--ac-ease), filter 0.22s ease;
}

.ac-nav-brand:hover .header_logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 14px rgba(59, 130, 246, 0.25));
}

.ac-nav-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  flex: 1 1 200px;
  justify-content: center;
  align-items: flex-start;
}

.ac-nav-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--ac-border);
  min-width: 0;
  max-width: 260px;
}

.ac-nav-fact-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ac-accent2);
}

.ac-nav-fact-values {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ac-nav-fact-val {
  font-size: 0.8125rem;
  color: var(--ac-text);
  line-height: 1.35;
  word-break: break-word;
}

a.ac-nav-fact-val--tel {
  color: var(--ac-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(59, 130, 246, 0.5);
}

a.ac-nav-fact-val--tel:hover {
  color: var(--ac-accent2);
}

.ac-nav-whatsapp {
  padding: 10px 22px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: linear-gradient(135deg, #22c55e 0%, #0d9488 52%, #2563eb 115%);
  box-shadow:
    0 4px 18px rgba(34, 197, 94, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.35);
}

.ac-nav-whatsapp:hover {
  box-shadow:
    0 6px 24px rgba(34, 197, 94, 0.45),
    0 14px 36px rgba(0, 0, 0, 0.4);
}

.ac-nav-whatsapp:focus-visible {
  outline: 2px solid rgba(190, 242, 100, 0.85);
  outline-offset: 3px;
}

.ac-burger-tel {
  color: var(--ac-accent2);
}

.header_logo {
  height: 40px;
  width: auto;
}

.header_right {
  display: flex;
  align-items: center;
  gap: 18px 22px;
}

.header_links {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
}

/* Десктоп: ссылки в «капсуле» — не трогаем .header_links.burger */
.header_right .header_links {
  gap: 4px;
  padding: 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--ac-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 22px rgba(15, 23, 42, 0.06);
}

.header_link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ac-muted);
  text-decoration: none;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.header_right .header_link {
  padding: 8px 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(15, 23, 42, 0.72);
}

.header_right .header_link:hover {
  color: var(--ac-text);
  background: rgba(37, 99, 235, 0.10);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.header_right .header_link:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 2px;
}

.header_right .header_link.is-active {
  color: var(--ac-text);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(8, 145, 178, 0.08) 100%);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.22),
    0 6px 18px rgba(37, 99, 235, 0.12);
}

.header_right .header_link.is-active:hover {
  color: var(--ac-text);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(8, 145, 178, 0.1) 100%);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.28),
    0 8px 22px rgba(37, 99, 235, 0.14);
}

.header_link:hover {
  color: var(--ac-accent2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8125rem;
  background: linear-gradient(135deg, var(--ac-accent) 0%, #2563eb 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px var(--ac-glow);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--ac-glow);
}

.burger_btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ac-border);
  border-radius: 12px;
  background: var(--ac-surface2);
  cursor: pointer;
  z-index: 10001;
}

.burger_btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ac-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger_btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger_btn.active span:nth-child(2) {
  opacity: 0;
}
.burger_btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.burger_menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 92vw);
  height: 100dvh;
  background: linear-gradient(180deg, #ffffff 0%, var(--ac-surface2) 55%, #e2e8f0 100%);
  padding: 88px 24px 32px;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ac-ease), opacity 0.25s, visibility 0.25s;
  z-index: 10000;
  border-left: 1px solid var(--ac-border);
  overflow-y: auto;
}

.burger_menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.header_links.burger {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ac-border);
}

.header_links.burger .header_link {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--ac-text);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.header_links.burger .header_link:hover {
  color: var(--ac-accent2);
  background: rgba(59, 130, 246, 0.14);
}

.header_links.burger .header_link.is-active {
  color: var(--ac-text);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12) 0%, rgba(8, 145, 178, 0.06) 100%);
  box-shadow: inset 3px 0 0 rgba(37, 99, 235, 0.65);
}

.header_links.burger .header_link.is-active:hover {
  color: var(--ac-text);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.16) 0%, rgba(8, 145, 178, 0.08) 100%);
}

.burger_items {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header_top_item.burger img {
  filter: brightness(1.1);
}

.header_top_title.burger {
  color: var(--ac-text);
}

.header_top_block.burger p {
  border-color: var(--ac-border);
  color: var(--ac-muted);
}

.btn.burger {
  margin-top: 24px;
  width: 100%;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
}

.overlay.active {
  display: block;
}

body.active {
  overflow: hidden;
}

/* Оверлей меню (9998) выше nav (100) — панель с ссылками оказывалась под затемнением и «пропадала» */
body.active .header_nav {
  z-index: 10001;
}

/* ----- Hero / header ----- */
.header {
  background: var(--ac-bg);
}

.header_inner {
  position: relative;
  min-height: 0;
  padding: clamp(24px, 5vw, 44px) 0 clamp(32px, 5vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 75% 5%, rgba(59, 130, 246, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(34, 197, 94, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #f8fafc 0%, var(--ac-bg) 45%, #eef2ff 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 200% 200%;
  animation: ac-hero-bg-shift 22s ease-in-out infinite alternate;
}

@keyframes ac-hero-bg-shift {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
  100% {
    background-position: 0% 0%, 0% 0%, 0% 0%, 100% 50%;
  }
}

.header_inner_content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

@media (min-width: 960px) {
  .header_inner_content {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  }

  .ac-hero-viz {
    min-height: clamp(260px, 34vw, 380px);
    align-self: stretch;
  }
}

.header_col_text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.header_eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ac-accent2);
}

.header_bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header_bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--ac-muted);
  line-height: 1.45;
}

.header_bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ac-accent), var(--ac-accent2));
  box-shadow: 0 0 12px var(--ac-glow);
}

.ac-hero-viz {
  position: relative;
  min-height: clamp(220px, 32vw, 340px);
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.98) 100%);
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 0 40px rgba(59, 130, 246, 0.06);
}

.ac-hero-viz::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 88% 72% at 50% 38%, transparent 40%, rgba(241, 245, 249, 0.35) 100%);
}

/* Главная: глобус перед футером */
.ac-home-globe-bottom {
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 72px);
  background: linear-gradient(180deg, var(--ac-bg) 0%, #f1f5f9 55%, #e2e8f0 100%);
  border-top: 1px solid var(--ac-border);
}

.ac-home-globe-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(12px, 2.5vw, 20px);
}

.ac-home-globe-bottom__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ac-accent2);
}

.ac-home-globe-bottom__title {
  font-family: var(--ac-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 22ch;
  margin: 0;
}

.hero-3d-scene--panel {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.hero-3d-scene--panel .hero-3d-stage {
  transform: rotateX(calc(72deg + var(--hero-rx))) rotateZ(-11deg) translateY(10%) rotateY(var(--hero-ry))
    translateX(var(--hero-tx)) scale(1.14);
}

.header_title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a 0%, #334155 38%, var(--ac-accent) 72%, var(--ac-accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  max-width: 24ch;
}

.header_inner_block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 4px;
}

.inner_btn {
  align-self: flex-start;
  padding: 16px 36px;
  font-size: 0.9375rem;
}

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

.header_mode_chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ac-muted);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--ac-border);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  animation: ac-chip-float 5s ease-in-out infinite;
}

.header_mode_chip:nth-child(1) {
  animation-delay: 0s;
}
.header_mode_chip:nth-child(2) {
  animation-delay: 0.4s;
}
.header_mode_chip:nth-child(3) {
  animation-delay: 0.8s;
}

.header_mode_chip--jd {
  color: #166534;
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.95) 0%, rgba(255, 255, 255, 0.92) 100%);
  box-shadow:
    0 8px 22px rgba(34, 197, 94, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@keyframes ac-chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* ----- 3D сцена ----- */
.hero-3d-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 36%;
}

.hero-3d-mesh {
  position: absolute;
  inset: -40%;
  z-index: -2;
  background: conic-gradient(
    from 220deg at 50% 50%,
    rgba(59, 130, 246, 0.22),
    transparent 18%,
    rgba(34, 211, 238, 0.18),
    transparent 38%,
    rgba(168, 85, 247, 0.15),
    transparent 58%,
    rgba(34, 197, 94, 0.12),
    transparent 78%,
    rgba(59, 130, 246, 0.2)
  );
  animation: ac-mesh-spin 50s linear infinite;
  filter: blur(56px);
  opacity: 0.65;
  pointer-events: none;
}

@keyframes ac-mesh-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-3d-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.5;
}

.hero-3d-stars::before,
.hero-3d-stars::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    6vw 8vh 0 0 rgba(255, 255, 255, 0.9),
    14vw 4vh 0 0 rgba(255, 255, 255, 0.5),
    22vw 18vh 0 0 rgba(255, 255, 255, 0.7),
    38vw 6vh 0 0 rgba(255, 255, 255, 0.4),
    52vw 14vh 0 0 rgba(255, 255, 255, 0.85),
    68vw 9vh 0 0 rgba(255, 255, 255, 0.55),
    82vw 20vh 0 0 rgba(255, 255, 255, 0.65),
    90vw 5vh 0 0 rgba(255, 255, 255, 0.45),
    12vw 28vh 0 0 rgba(200, 230, 255, 0.6),
    44vw 26vh 0 0 rgba(255, 255, 255, 0.5),
    76vw 24vh 0 0 rgba(255, 255, 255, 0.8);
  animation: ac-twinkle 4.5s ease-in-out infinite;
}

.hero-3d-stars::after {
  left: 30%;
  top: 10%;
  animation-delay: -2.2s;
  opacity: 0.7;
  box-shadow:
    8vw 22vh 0 0 rgba(255, 255, 255, 0.75),
    28vw 12vh 0 0 rgba(255, 255, 255, 0.5),
    48vw 22vh 0 0 rgba(255, 255, 255, 0.9),
    62vw 16vh 0 0 rgba(255, 255, 255, 0.45),
    78vw 28vh 0 0 rgba(255, 255, 255, 0.65),
    18vw 36vh 0 0 rgba(255, 255, 255, 0.55),
    56vw 34vh 0 0 rgba(255, 255, 255, 0.4);
}

@keyframes ac-twinkle {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.85;
  }
}

.hero-3d-stage {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -8%;
  height: 58%;
  z-index: 1;
  transform-style: preserve-3d;
  --hero-ry: 0deg;
  --hero-rx: 0deg;
  --hero-tx: 0px;
  transform: rotateX(calc(72deg + var(--hero-rx))) rotateZ(-11deg) translateY(10%) rotateY(var(--hero-ry))
    translateX(var(--hero-tx));
  transition: transform 0.35s ease-out;
}

.hero-3d-ground {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(59, 130, 246, 0.22) 0%, transparent 38%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #1a3d5c 0%, #0c1929 55%, #020617 100%);
  background-size: 100% 100%, 40px 40px, 40px 40px, 100% 100%;
  box-shadow:
    inset 0 0 80px rgba(34, 211, 238, 0.08),
    inset 0 -30px 60px rgba(0, 0, 0, 0.35);
}

.hero-3d-rail {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 38%;
  height: 12px;
  transform: translateZ(4px);
  background: repeating-linear-gradient(90deg, #1e293b 0 20px, #334155 20px 26px);
  border-radius: 4px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

/* Верхний путь — ЖД (контейнерные перевозки) */
.hero-3d-rail--jd {
  top: 17%;
  height: 11px;
  transform: translateZ(32px);
  background: repeating-linear-gradient(90deg, #14532d 0 16px, #166534 16px 22px);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.2),
    0 4px 0 rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-3d-rail--jd::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, #bbf7d0 0 12px, transparent 12px 24px);
  opacity: 0.35;
}

.hero-3d-rail--jd::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -7px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(250, 204, 21, 0.35) 20%,
    rgba(253, 224, 71, 0.55) 50%,
    rgba(250, 204, 21, 0.35) 80%,
    transparent 100%
  );
  border-radius: 2px;
  opacity: 0.75;
  filter: blur(0.5px);
}

.hero-3d-jd-wrap {
  position: absolute;
  left: 0;
  top: 9%;
  transform: translateZ(36px);
  -webkit-animation: ac-jd-train 34s linear infinite;
  animation: ac-jd-train 34s linear infinite;
  filter: drop-shadow(0 16px 14px rgba(0, 0, 0, 0.55));
  will-change: transform;
}

.hero-3d-jd-train {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.hero-3d-jd-loco {
  position: relative;
  width: 54px;
  height: 30px;
  background: linear-gradient(180deg, #4ade80 0%, #166534 55%, #052e16 100%);
  border-radius: 6px 14px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset -8px 0 rgba(0, 0, 0, 0.15);
}

.hero-3d-jd-loco::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 3px;
  height: 12px;
  margin-left: -1.5px;
  background: linear-gradient(180deg, #fde047, #854d0e);
  border-radius: 1px;
  box-shadow: -10px 0 0 -2px #57534e, 10px 0 0 -2px #57534e;
}

.hero-3d-jd-loco::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 7px;
  width: 16px;
  height: 11px;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-3d-jd-platform {
  min-width: 48px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #334155 0%, #0f172a 100%);
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-3d-jd-platform span {
  font-family: var(--ac-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fef08a;
  text-shadow: 0 0 18px rgba(250, 204, 21, 0.65);
}

.hero-3d-jd-container {
  width: 34px;
  height: 28px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ea580c 0%, #9a3412 100%);
  border: 1px solid rgba(0, 0, 0, 0.25);
  position: relative;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2);
}

.hero-3d-jd-container::after {
  content: "";
  position: absolute;
  inset: 5px 4px;
  border-left: 2px solid rgba(0, 0, 0, 0.25);
  border-right: 2px solid rgba(0, 0, 0, 0.25);
}

.hero-3d-jd-container.c2 {
  background: linear-gradient(180deg, #38bdf8 0%, #075985 100%);
}

.hero-3d-jd-container.c3 {
  background: linear-gradient(180deg, #a78bfa 0%, #5b21b6 100%);
}

@-webkit-keyframes ac-jd-train {
  0% {
    -webkit-transform: translate3d(118vw, 0, 36px);
    transform: translate3d(118vw, 0, 36px);
  }
  100% {
    -webkit-transform: translate3d(-135%, 0, 36px);
    transform: translate3d(-135%, 0, 36px);
  }
}

@keyframes ac-jd-train {
  0% {
    transform: translate3d(118vw, 0, 36px);
  }
  100% {
    transform: translate3d(-135%, 0, 36px);
  }
}

.hero-3d-train-wrap {
  position: absolute;
  left: 0;
  top: 32%;
  transform: translateZ(16px);
  -webkit-animation: ac-train 24s linear infinite;
  animation: ac-train 24s linear infinite;
  will-change: transform;
}

.hero-3d-train {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.5));
}

.hero-3d-loco {
  position: relative;
  width: 48px;
  height: 26px;
  background: linear-gradient(180deg, #f97316 0%, #9a3412 100%);
  border-radius: 6px 10px 6px 6px;
}

.hero-3d-loco::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 6px;
  width: 12px;
  height: 10px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
}

.hero-3d-wagon {
  width: 36px;
  height: 22px;
  background: linear-gradient(180deg, #38bdf8 0%, #0369a1 100%);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-3d-wagon:nth-child(3) {
  background: linear-gradient(180deg, #fcd34d 0%, #b45309 100%);
}

@-webkit-keyframes ac-train {
  0% {
    -webkit-transform: translate3d(-100%, 0, 16px);
    transform: translate3d(-100%, 0, 16px);
  }
  100% {
    -webkit-transform: translate3d(120vw, 0, 16px);
    transform: translate3d(120vw, 0, 16px);
  }
}

@keyframes ac-train {
  0% {
    transform: translate3d(-100%, 0, 16px);
  }
  100% {
    transform: translate3d(120vw, 0, 16px);
  }
}

.hero-3d-road {
  position: absolute;
  left: -12%;
  right: -12%;
  top: 56%;
  height: 32px;
  transform: translateZ(8px) skewX(-5deg);
  background: linear-gradient(180deg, #334155 0%, #0f172a 100%);
  border-top: 2px solid #64748b;
}

.hero-3d-road::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, #fbbf24 0 24px, transparent 24px 48px);
  opacity: 0.8;
}

.hero-3d-truck-wrap {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateZ(20px);
  -webkit-animation: ac-truck 19s linear infinite;
  animation: ac-truck 19s linear infinite;
  will-change: transform;
}

.hero-3d-truck {
  display: flex;
  align-items: flex-end;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.45));
}

.hero-3d-truck-cabin {
  width: 32px;
  height: 30px;
  background: linear-gradient(135deg, #fb923c 0%, #c2410c 100%);
  border-radius: 8px 6px 4px 4px;
  margin-right: -2px;
}

.hero-3d-truck-body {
  width: 68px;
  height: 24px;
  background: linear-gradient(180deg, #fef9c3 0%, #ca8a04 50%, #713f12 100%);
  border-radius: 4px 8px 8px 4px;
}

.hero-3d-wheel {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #475569, #020617);
  border-radius: 50%;
  margin: 0 4px -5px 0;
  box-shadow: 52px 0 0 #020617;
}

@-webkit-keyframes ac-truck {
  0% {
    -webkit-transform: translate3d(105vw, 0, 20px);
    transform: translate3d(105vw, 0, 20px);
  }
  100% {
    -webkit-transform: translate3d(-120%, 0, 20px);
    transform: translate3d(-120%, 0, 20px);
  }
}

@keyframes ac-truck {
  0% {
    transform: translate3d(105vw, 0, 20px);
  }
  100% {
    transform: translate3d(-120%, 0, 20px);
  }
}

.hero-3d-cloud {
  position: absolute;
  width: 100px;
  height: 36px;
  z-index: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  filter: blur(1px);
  animation: ac-cloud 45s linear infinite;
}

.hero-3d-cloud--a {
  top: 14%;
  left: 8%;
  opacity: 0.45;
}

.hero-3d-cloud--b {
  top: 24%;
  left: 55%;
  width: 80px;
  opacity: 0.3;
  animation-delay: -15s;
}

@keyframes ac-cloud {
  to {
    transform: translateX(-60px);
  }
}

/* @keyframes ac-hero-* — для карточки «Авиадоставка» (.ac-service-avia-daynight в ac-services-train.css) */
@keyframes ac-hero-clouds {
  from {
    transform: translateX(-5%);
  }

  to {
    transform: translateX(2900px);
  }
}

@-webkit-keyframes ac-hero-clouds {
  from {
    -webkit-transform: translateX(-5%);
    transform: translateX(-5%);
  }

  to {
    -webkit-transform: translateX(2900px);
    transform: translateX(2900px);
  }
}

@keyframes ac-hero-body {
  0%,
  5% {
    background-color: #69d2e7;
  }

  25%,
  75% {
    background-color: #1d2f41;
  }

  100% {
    background-color: #69d2e7;
  }
}

@keyframes ac-hero-sun {
  0%,
  10% {
    margin-top: 20px;
  }

  30%,
  75% {
    margin-top: 101%;
  }

  100% {
    margin-top: 20px;
  }
}

@-webkit-keyframes ac-hero-sun {
  0%,
  10% {
    margin-top: 20px;
  }

  30%,
  75% {
    margin-top: 101%;
  }

  100% {
    margin-top: 20px;
  }
}

@keyframes ac-hero-moon {
  0% {
    margin-top: 101%;
  }

  25%,
  75% {
    margin-top: 20px;
  }

  100% {
    margin-top: 101%;
  }
}

@-webkit-keyframes ac-hero-moon {
  0% {
    margin-top: 101%;
  }

  25%,
  75% {
    margin-top: 20px;
  }

  100% {
    margin-top: 101%;
  }
}

.header_inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 80% at 30% 20%, transparent 40%, rgba(5, 8, 16, 0.35) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .header_inner {
    animation: none !important;
  }

  .header_mode_chip {
    animation: none !important;
  }

  .hero-3d-mesh,
  .hero-3d-stars::before,
  .hero-3d-stars::after {
    animation: none !important;
  }

  .hero-3d-train-wrap,
  .hero-3d-truck-wrap,
  .hero-3d-jd-wrap,
  .hero-3d-cloud {
    -webkit-animation: none !important;
    animation: none !important;
  }

  /* Авиа-блок на «Услуги»: не отключаем — иначе сцена статична; глобальный reduce часто включён в ОС */

  .hero-3d-jd-wrap {
    transform: translate3d(22vw, 0, 36px);
  }

  .hero-3d-train-wrap {
    transform: translate3d(18vw, 0, 16px);
  }

  .hero-3d-truck-wrap {
    transform: translate3d(55vw, 0, 20px);
  }

}

/* ----- Main sections ----- */
.main {
  position: relative;
}

.about {
  position: relative;
  padding: clamp(64px, 10vw, 120px) 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 8%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 75%, rgba(34, 211, 238, 0.06) 0%, transparent 45%),
    var(--ac-bg);
}

.about_content {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 56px);
}

.about_top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ac-accent2);
}

.about_title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ac-text);
  max-width: 22ch;
}

.about_title span {
  color: var(--ac-accent2);
}

.about-title-line {
  height: 3px;
  width: min(120px, 28vw);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ac-accent2), var(--ac-accent), transparent);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

.logo-container {
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  padding: 18px 0;
  border-radius: var(--ac-radius);
  border: 1px solid var(--ac-border);
  background: var(--ac-surface);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-container.mobile {
  display: none;
}

/* Два ряда логотипов в одной полосе: анимация только у обёртки — без наложения треков */
.logo-marquee {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: ac-scroll 32s linear infinite;
  will-change: transform;
}

.logo-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
}

@keyframes ac-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    animation: none;
    transform: none;
    margin: 0 auto;
  }

  .logo-track--dup {
    display: none;
  }
}

.logo-item {
  flex-shrink: 0;
  margin-right: 40px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.2) brightness(1.1);
}

.about_bottom {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about_split {
  display: grid;
  gap: clamp(28px, 5vw, 44px);
  align-items: stretch;
}

.about-col-text {
  min-width: 0;
}

.about_subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--ac-text);
  line-height: 1.5;
  max-width: 52ch;
}

.about_text_content p {
  color: var(--ac-muted);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 58ch;
}

.about-aside {
  min-width: 0;
}

.about-aside-card {
  position: relative;
  height: 100%;
  min-height: 200px;
  padding: 22px 20px 24px;
  border-radius: var(--ac-radius-lg);
  border: 1px solid var(--ac-border);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 52%, #f1f5f9 100%);
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.about-aside-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(59, 130, 246, 0.07) 18px,
      rgba(59, 130, 246, 0.07) 19px
    );
  pointer-events: none;
}

.about-aside-label {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ac-accent2);
  margin-bottom: 14px;
}

.about-aside-routes {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-aside-routes li {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ac-text);
  background: var(--ac-surface2);
  border: 1px solid var(--ac-border);
}

@media screen and (min-width: 960px) {
  .about_split {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    align-items: start;
  }
}

.about_bottom_title {
  font-family: var(--ac-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--ac-accent2);
  margin: clamp(8px, 2vw, 16px) 0 0;
  max-width: 30ch;
}

@media screen and (min-width: 960px) {
  .about_bottom_title {
    max-width: 48ch;
  }
}

/* ----- Features ----- */
.features {
  padding: clamp(48px, 8vw, 88px) 0;
  background: linear-gradient(180deg, var(--ac-surface) 0%, var(--ac-bg) 100%);
  border-block: 1px solid var(--ac-border);
}

.features_items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.features_item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--ac-radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ac-border);
  transition: border-color 0.2s, transform 0.2s;
}

.features_item:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

.features_item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.features_item p {
  font-size: 0.875rem;
  color: var(--ac-muted);
  line-height: 1.5;
}

/* ----- Advantages (главная, молния + тексты из админки) ----- */
.features.ac-advantages {
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, var(--ac-bg) 100%);
}

.ac-advantages-title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  text-align: center;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: var(--ac-text);
}

.ac-advantages-lead {
  max-width: 48ch;
  margin: 0 auto 20px;
  text-align: center;
  font-size: clamp(0.9375rem, 2vw, 1.05rem);
  color: var(--ac-muted);
  line-height: 1.6;
}

.ac-adv-admin-fold {
  max-width: 420px;
  margin: 0 auto 28px;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 0 14px;
}

.ac-adv-admin-fold summary {
  cursor: pointer;
  padding: 10px 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ac-muted);
  list-style: none;
}

.ac-adv-admin-fold summary::-webkit-details-marker {
  display: none;
}

.ac-adv-admin-fold summary::after {
  content: " ▾";
  font-size: 0.75em;
  opacity: 0.65;
}

.ac-adv-admin-fold[open] summary::after {
  content: " ▴";
}

.ac-adv-admin-fold .ac-price-admin-hint {
  margin: 0 0 12px;
  padding-top: 0;
}

.ac-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}

.ac-adv-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 22px 26px;
  border-radius: var(--ac-radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%);
  border: 1px solid var(--ac-border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.ac-adv-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-3px);
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(37, 99, 235, 0.12);
}

.ac-adv-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.22), rgba(255, 255, 255, 0.96));
  color: var(--ac-accent2);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.ac-adv-lightning {
  width: 24px;
  height: 24px;
}

.ac-adv-card-title {
  margin: 0;
  font-family: var(--ac-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ac-text);
  letter-spacing: -0.02em;
}

.ac-adv-card-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ac-muted);
  line-height: 1.6;
}

.ac-advantages-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ac-muted);
}

.ac-directions-more {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: var(--ac-muted);
}

/* ----- Услуги: тизер на главной и полная страница ----- */
.ac-services-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.ac-service-teaser-card {
  position: relative;
  border-radius: var(--ac-radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--ac-border);
}

.ac-service-teaser-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.ac-service-teaser-bg.ac-service-teaser-bg--plain {
  filter: none;
  background-image: none;
  background: linear-gradient(155deg, #eff6ff 0%, #e0f2fe 42%, #f8fafc 100%);
}

.ac-service-teaser-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  justify-content: flex-end;
  gap: 12px;
}

.ac-service-teaser-title {
  margin: 0;
  font-family: var(--ac-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.ac-service-teaser-summary {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.ac-service-teaser-card:has(.ac-service-teaser-bg--plain) .ac-service-teaser-title {
  color: var(--ac-text);
  text-shadow: none;
}

.ac-service-teaser-card:has(.ac-service-teaser-bg--plain) .ac-service-teaser-summary {
  color: var(--ac-muted);
  text-shadow: none;
}

.ac-service-teaser-btn {
  align-self: flex-start;
}

.ac-services-home-nav {
  margin-top: 8px;
}

.ac-services-page {
  padding: clamp(72px, 10vw, 100px) 0 clamp(64px, 8vw, 96px);
  background: var(--ac-bg);
}

.ac-services-page-inner {
  max-width: 1100px;
}

.ac-services-page-title {
  font-family: var(--ac-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  margin: 0 0 12px;
  color: var(--ac-text);
}

.ac-services-page-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.ac-service-full-card {
  position: relative;
  border-radius: var(--ac-radius);
  overflow: hidden;
  border: 1px solid var(--ac-border);
}

.ac-service-full-card.ac-service-full-card--plain {
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
}

.ac-service-full-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.ac-service-full-card-inner {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 40px);
  max-width: 560px;
}

.ac-service-full-card-title {
  margin: 0 0 10px;
  font-family: var(--ac-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.ac-service-full-card.ac-service-full-card--plain .ac-service-full-card-title {
  color: var(--ac-text);
  text-shadow: none;
}

.ac-service-full-card-lead {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.ac-service-full-card.ac-service-full-card--plain .ac-service-full-card-lead {
  color: var(--ac-muted);
}

.ac-service-full-card-body {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.ac-service-full-card.ac-service-full-card--plain .ac-service-full-card-body {
  color: var(--ac-muted);
}

.ac-service-full-card-list {
  margin: 0 0 20px;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.ac-service-full-card.ac-service-full-card--plain .ac-service-full-card-list {
  color: var(--ac-muted);
}

.ac-service-full-card-list li {
  margin-bottom: 6px;
}

/* Услуги: светлые панели (Ж/Д hero, Авиа, Авто) — тёмный текст и акцентная ссылка */
.ac-services-hero-copy .ac-service-full-card-title,
.ac-service-full-card--avia .ac-service-full-card-title,
.ac-service-full-card--auto .ac-service-full-card-title {
  color: var(--ac-text);
  text-shadow: none;
}

.ac-services-hero-copy .ac-service-full-card-lead,
.ac-service-full-card--avia .ac-service-full-card-lead,
.ac-service-full-card--auto .ac-service-full-card-lead {
  color: var(--ac-muted);
}

.ac-services-hero-copy .ac-service-full-card-body,
.ac-service-full-card--avia .ac-service-full-card-body,
.ac-service-full-card--auto .ac-service-full-card-body {
  color: var(--ac-muted);
}

.ac-services-hero-copy .ac-service-full-card-list,
.ac-service-full-card--avia .ac-service-full-card-list,
.ac-service-full-card--auto .ac-service-full-card-list {
  color: var(--ac-muted);
}

.ac-services-hero-copy .delivery_btn,
.ac-service-full-card--avia .ac-service-full-card-inner .delivery_btn,
.ac-service-full-card--auto .ac-service-full-card-inner .delivery_btn,
.ac-service-full-card--plain .delivery_btn {
  color: var(--ac-accent);
}

.ac-services-hero-copy .delivery_btn img,
.ac-service-full-card--avia .ac-service-full-card-inner .delivery_btn img,
.ac-service-full-card--auto .ac-service-full-card-inner .delivery_btn img,
.ac-service-full-card--plain .delivery_btn img {
  filter: none;
  opacity: 0.88;
}

.ac-service-full-card-btn {
  margin-top: 4px;
}

/* Услуги: телефоны — без горизонтального скролла, текст на всю ширину карточки */
@media screen and (max-width: 640px) {
  .ac-body--services-page main.ac-services-page {
    overflow-x: hidden;
  }

  .ac-services-page {
    padding-bottom: clamp(44px, 10vw, 72px);
  }

  .ac-services-page-title {
    font-size: clamp(1.35rem, 6.5vw, 1.9rem);
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .ac-body--services-page .ac-service-full-card-inner {
    max-width: none;
    padding: clamp(16px, 4vw, 22px) clamp(14px, 4vw, 20px) clamp(18px, 4vw, 24px);
  }

  .ac-services-page-grid {
    gap: 20px;
    margin-top: 20px;
  }
}

/* ----- Страница «Направления и склады» ----- */
.ac-directions-page {
  padding: 0 0 clamp(56px, 8vw, 88px);
  background: var(--ac-bg);
}

.ac-dir-hero {
  position: relative;
  padding: clamp(64px, 11vw, 104px) 0 clamp(28px, 5vw, 44px);
  border-bottom: 1px solid var(--ac-border);
  background:
    radial-gradient(ellipse 80% 60% at 85% 0%, rgba(59, 130, 246, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse 55% 45% at 10% 100%, rgba(34, 211, 238, 0.1) 0%, transparent 48%),
    linear-gradient(168deg, #101c38 0%, #0a1224 42%, var(--ac-bg) 100%);
  overflow: hidden;
}

.ac-dir-hero-glow {
  position: absolute;
  inset: -30% -20% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.08), transparent 70%);
  pointer-events: none;
}

.ac-dir-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.ac-dir-hero-eyebrow {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ac-accent2);
}

.ac-dir-hero-title {
  margin: 0 0 14px;
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.8vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ac-text);
  max-width: 18ch;
}

.ac-dir-hero-lead {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.55;
  color: var(--ac-muted);
}

.ac-dir-page-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  max-width: 1100px;
  margin: 0 auto;
  padding-top: clamp(24px, 4vw, 36px);
}

.ac-dir-admin-fold {
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 0 14px;
}

.ac-dir-admin-fold summary {
  cursor: pointer;
  padding: 12px 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ac-muted);
  list-style: none;
}

.ac-dir-admin-fold summary::-webkit-details-marker {
  display: none;
}

.ac-dir-admin-fold summary::after {
  content: " ▾";
  font-size: 0.7em;
  opacity: 0.7;
}

.ac-dir-admin-fold[open] summary::after {
  content: " ▴";
}

.ac-dir-admin-fold .ac-price-admin-hint {
  margin: 0 0 14px;
  padding-top: 0;
}

.ac-dir-board {
  border-radius: var(--ac-radius-lg);
  border: 1px solid var(--ac-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.98) 100%);
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: clamp(22px, 4vw, 36px);
}

.ac-dir-snippet {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 32px);
}

.ac-dir-panel {
  align-items: flex-start;
  gap: clamp(14px, 3vw, 20px);
}

.ac-dir-panel-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.ac-dir-panel-icon img {
  width: 26px;
  height: 26px;
  opacity: 0.95;
}

.ac-dir-panel-title {
  font-family: var(--ac-display);
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ac-text);
  letter-spacing: -0.02em;
}

.contacts_address_texts .ac-dir-panel-title {
  margin-bottom: 12px;
}

.ac-dir-city-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ac-dir-city-chips li {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ac-text);
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid rgba(96, 165, 250, 0.45);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.08);
}

.ac-dir-empty {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ac-muted);
  line-height: 1.5;
}

.contacts_stores.ac-dir-wh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr));
  gap: 12px 14px;
}

.ac-dir-wh-col {
  padding: 14px 12px 16px;
  border-radius: var(--ac-radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ac-border);
}

.ac-dir-wh-col-head {
  display: block;
  margin-bottom: 10px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ac-accent2);
}

.ac-dir-wh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ac-dir-wh-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ac-text);
}

.ac-dir-wh-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ac-accent2), var(--ac-accent));
}

@media screen and (min-width: 900px) {
  .ac-directions-page .ac-dir-snippet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 28px 40px;
    align-items: start;
  }

  .ac-directions-page .ac-dir-panel--warehouses {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 440px) {
  .ac-dir-hero-title {
    max-width: none;
  }
}

/* Сниппет на странице контактов — те же чипы и сетка в блоке адресов */
.ac-contact-addresses .ac-dir-snippet {
  margin-top: 8px;
}

.ac-contact-addresses .ac-dir-board {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

/* ----- Delivery ----- */
.delivery {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--ac-bg);
}

.delivery_title {
  font-family: var(--ac-display);
  text-align: center;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  max-width: 20ch;
  margin: 0 auto 48px;
  line-height: 1.15;
}

.delivery_items:not(.mobile) {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: stretch;
}

.delivery_items.mobile {
  display: none;
}

.delivery_item {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
  min-height: 520px;
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ac-border);
  background-size: cover !important;
  background-position: center !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 360px 22px 120px;
  color: #fff;
  transition: width 0.45s var(--ac-ease), padding 0.45s var(--ac-ease), box-shadow 0.3s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.delivery_item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 11, 20, 0.75) 100%);
  opacity: 0.85;
  transition: opacity 0.35s;
  z-index: 0;
}

.delivery_item > * {
  position: relative;
  z-index: 1;
}

.delivery_item_title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.delivery_text,
.delivery_item ul {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s, max-height 0.45s;
}

.delivery_item.active .delivery_text,
.delivery_item.active ul {
  opacity: 1;
  max-height: 400px;
}

.delivery_item.active {
  width: 520px;
  padding: 100px 32px 40px;
  box-shadow: 0 24px 80px rgba(59, 130, 246, 0.2);
}

.delivery_item.active::before {
  opacity: 0.92;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.2) 0%, rgba(7, 11, 20, 0.88) 100%);
}

.delivery_item.active .delivery_item_title {
  font-size: 1.75rem;
}

.delivery_text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.delivery_item ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.delivery_item li {
  font-size: 0.875rem;
  padding-left: 22px;
  position: relative;
  color: rgba(255, 255, 255, 0.88);
}

.delivery_item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac-accent2);
  box-shadow: 0 0 10px var(--ac-accent2);
}

/* Базовый вид кнопки; absolute только внутри .delivery_item (старый аккордеон) */
.delivery_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap 0.2s, color 0.2s;
}

.delivery_item .delivery_btn {
  position: absolute;
  bottom: 32px;
  left: 22px;
}

.delivery_btn p {
  margin: 0;
}

.delivery_btn:hover {
  gap: 14px;
  color: var(--ac-accent2);
}

.delivery_btn img {
  width: 20px;
  height: 20px;
  filter: brightness(10);
}

.delivery_item.active .delivery_btn {
  bottom: 36px;
  left: 32px;
}

.delivery_item .delivery_btn.last {
  bottom: 28px;
}

/* ----- Price ----- */
.price {
  position: relative;
  overflow: hidden;
  background: var(--ac-surface);
}

.price::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.price_content {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 10vw, 100px) clamp(16px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.price_title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--ac-text);
}

.price_type_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  width: 100%;
  max-width: 720px;
}

.price_type_link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ac-text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ac-border);
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.price_type_link:hover {
  color: var(--ac-accent2);
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(255, 255, 255, 0.98);
}

.price_type_link--primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(8, 145, 178, 0.85) 100%);
  border-color: rgba(37, 99, 235, 0.45);
  color: #fff;
}

.price_type_link--primary:hover {
  border-color: var(--ac-accent2);
  color: #fff;
}

.ac-price-teaser-text {
  max-width: 52ch;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ac-muted);
  line-height: 1.55;
}

.ac-price-full {
  padding: clamp(72px, 10vw, 100px) 0 clamp(64px, 8vw, 96px);
  background: var(--ac-bg);
}

.ac-price-full-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.ac-price-admin-hint {
  font-size: 0.8125rem;
  color: var(--ac-muted);
  line-height: 1.5;
  margin: 0 auto 24px;
  max-width: 56ch;
  text-align: center;
}

.ac-price-admin-hint strong {
  color: var(--ac-accent2);
  font-weight: 600;
}

.ac-price-page {
  padding: clamp(72px, 10vw, 120px) 0 clamp(64px, 8vw, 100px);
  background: var(--ac-bg);
}

.ac-price-page-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: min(1040px, 100%);
  margin: 0 auto;
}

.ac-price-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  margin: 0 -2px;
  padding-left: 2px;
  padding-right: 2px;
  scrollbar-width: thin;
}

.ac-price-tab {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ac-muted);
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid var(--ac-border);
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.ac-price-tab:hover {
  color: var(--ac-text);
  border-color: rgba(148, 163, 184, 0.35);
}

.ac-price-tab.is-active {
  color: var(--ac-accent2);
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 0.98);
}

.ac-price-page-title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.15;
  color: var(--ac-text);
  margin: 0;
}

.ac-price-page-lead {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ac-muted);
  line-height: 1.55;
}

.ac-price-page-lead a {
  color: var(--ac-accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ac-price-table-wrap {
  border-radius: var(--ac-radius);
  border: 1px solid var(--ac-border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
}

.ac-price-table-wrap--full {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.ac-price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.ac-price-table-wrap:not(.ac-price-table-wrap--full) .ac-price-table {
  min-width: 0;
}

.ac-price-table th,
.ac-price-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--ac-border);
}

.ac-price-table th {
  font-family: var(--ac-display);
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ac-accent2);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(241, 245, 249, 0.98) 100%);
}

.ac-price-table td {
  color: var(--ac-text);
}

.ac-price-table tbody tr:last-child td {
  border-bottom: none;
}

.ac-price-page-back {
  margin: 0;
}

.ac-price-back-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ac-muted);
  text-decoration: none;
}

.ac-price-back-link:hover {
  color: var(--ac-accent2);
}

/* ----- Calculator page ----- */
.ac-calc-page-inner {
  max-width: min(1080px, 100%);
}

.ac-calc-page .about-eyebrow {
  margin: 0;
}

.ac-calc-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.ac-calc-form,
.ac-calc-result {
  border-radius: var(--ac-radius-lg);
  border: 1px solid var(--ac-border);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 58%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.ac-calc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 32px);
}

.ac-calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ac-calc-field--wide,
.ac-calc-volume-fields,
.ac-calc-actions {
  grid-column: 1 / -1;
}

.ac-calc-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ac-accent2);
}

.ac-calc-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ac-calc-type {
  display: block;
  cursor: pointer;
}

.ac-calc-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ac-calc-type span {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
  border-radius: var(--ac-radius);
  border: 1px solid var(--ac-border);
  background: rgba(248, 250, 252, 0.96);
  color: var(--ac-text);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ac-calc-type small {
  color: var(--ac-muted);
  line-height: 1.35;
}

.ac-calc-type input:checked + span {
  border-color: rgba(34, 211, 238, 0.52);
  background: rgba(59, 130, 246, 0.15);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.1);
}

.ac-calc-type input:focus-visible + span {
  outline: 2px solid rgba(34, 211, 238, 0.65);
  outline-offset: 3px;
}

.ac-calc-field input,
.ac-calc-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ac-border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ac-text);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ac-calc-field select {
  appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.ac-calc-field input:focus,
.ac-calc-field select:focus {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.ac-calc-field input::placeholder {
  color: rgba(148, 163, 184, 0.62);
}

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

.ac-calc-form.is-parcel .ac-calc-volume-fields {
  display: none;
}

.ac-calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.ac-calc-submit {
  border: 0;
  cursor: pointer;
}

.ac-calc-reset {
  border: 1px solid var(--ac-border);
  border-radius: 999px;
  background: transparent;
  color: var(--ac-muted);
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ac-calc-reset:hover {
  color: var(--ac-text);
  border-color: rgba(148, 163, 184, 0.38);
}

.ac-calc-result {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 4vw, 32px);
}

.ac-calc-result-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ac-accent2);
}

.ac-calc-result-title {
  margin: 0;
  font-family: var(--ac-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.18;
}

.ac-calc-result-text,
.ac-calc-note {
  margin: 0;
  color: var(--ac-muted);
  line-height: 1.55;
}

.ac-calc-result-grid,
.ac-calc-costs {
  display: grid;
  gap: 10px;
}

.ac-calc-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-calc-result-item,
.ac-calc-cost {
  border-radius: 14px;
  border: 1px solid var(--ac-border);
  background: rgba(248, 250, 252, 0.98);
  padding: 14px;
}

.ac-calc-result-item span,
.ac-calc-cost span {
  display: block;
  margin-bottom: 5px;
  font-size: 0.75rem;
  color: var(--ac-muted);
}

.ac-calc-result-item strong,
.ac-calc-cost strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ac-text);
}

.ac-calc-result-item--accent {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.08);
}

.ac-calc-result-item--accent strong {
  color: var(--ac-accent2);
}

.ac-calc-costs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-calc-cost strong {
  color: var(--ac-warm);
}

.ac-calc-note {
  margin-top: auto;
  font-size: 0.875rem;
}

@media screen and (max-width: 820px) {
  .ac-calc-card {
    grid-template-columns: 1fr;
  }

  .ac-calc-result-grid,
  .ac-calc-costs {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 560px) {
  .ac-calc-form,
  .ac-calc-type-grid,
  .ac-calc-volume-fields {
    grid-template-columns: 1fr;
  }
}

.price_table {
  width: 100%;
  max-width: 1000px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--ac-radius);
  overflow: hidden;
  border: 1px solid var(--ac-border);
  background: rgba(255, 255, 255, 0.94);
}

.price_table td {
  border-left: 1px solid var(--ac-border);
}

.price_table tr td:first-child {
  border-left: none;
}

.price_block_title {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14) 0%, rgba(241, 245, 249, 0.98) 100%);
}

.price_table_title {
  font-family: var(--ac-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ac-accent2);
  padding: 16px 20px;
  text-align: left;
}

.price_table_default {
  background: rgba(248, 250, 252, 0.92);
}

.price_table_default td {
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--ac-text);
  border-top: 1px solid var(--ac-border);
}

.price_table tr:first-child td {
  border-top: none;
}

.price_items,
.ac-price-cards {
  display: none;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
}

.price_item {
  width: 100%;
  max-width: 360px;
  border-radius: var(--ac-radius);
  border: 1px solid var(--ac-border);
  overflow: hidden;
  background: var(--ac-surface2);
}

.price_item_title {
  padding: 18px 20px;
  font-family: var(--ac-display);
  font-weight: 700;
  font-size: 1.125rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, transparent);
  color: var(--ac-text);
}

.price_item_text_block {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price_item_text {
  font-size: 0.9375rem;
  color: var(--ac-muted);
}

.price_item_text span {
  color: var(--ac-text);
  font-weight: 600;
}

/* ----- Process ----- */
.process {
  padding: clamp(72px, 10vw, 110px) 0;
  background: var(--ac-bg);
}

.process_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.process_title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ac-text);
}

.process_btns {
  display: flex;
  gap: 10px;
}

.process_btns.mobile {
  display: none;
}

.process_next,
.process_prev {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--ac-border);
  background: var(--ac-surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.process_next:hover,
.process_prev:hover {
  border-color: var(--ac-accent);
  background: rgba(59, 130, 246, 0.1);
}

.mySwiper {
  margin-top: 36px;
  border-radius: var(--ac-radius-lg);
  overflow: visible;
}

.mySwiper .swiper-slide {
  border-radius: var(--ac-radius);
  overflow: hidden;
  border: 1px solid var(--ac-border);
  background: var(--ac-surface);
}

.process_img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ----- FAQ (главная) ----- */
.ac-home-faq {
  position: relative;
  padding: clamp(56px, 8vw, 88px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(ellipse 55% 42% at 50% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 52%),
    linear-gradient(180deg, var(--ac-bg) 0%, rgba(255, 255, 255, 0.92) 45%, var(--ac-bg) 100%);
  border-top: 1px solid var(--ac-border);
}

.ac-home-faq-inner {
  max-width: 720px;
}

.ac-home-faq .about-eyebrow {
  text-align: center;
}

.ac-home-faq-title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--ac-text);
}

.ac-home-faq-lead {
  margin: 0 auto 20px;
  max-width: 42ch;
  text-align: center;
  font-size: clamp(0.9375rem, 2vw, 1.05rem);
  color: var(--ac-muted);
  line-height: 1.55;
}

.ac-home-faq-line {
  margin: 0 auto 32px;
}

.ac-home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ac-home-faq-item {
  border-radius: var(--ac-radius);
  border: 1px solid var(--ac-border);
  background: var(--ac-surface);
  padding: 0 4px 0 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ac-home-faq-item:hover {
  border-color: rgba(59, 130, 246, 0.28);
}

.ac-home-faq-item[open] {
  border-color: rgba(59, 130, 246, 0.38);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12);
}

.ac-home-faq-q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ac-text);
  line-height: 1.35;
}

.ac-home-faq-q::-webkit-details-marker {
  display: none;
}

.ac-home-faq-q::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ac-accent2);
  border-bottom: 2px solid var(--ac-accent2);
  transform: rotate(45deg);
  margin-top: -4px;
  opacity: 0.85;
  transition: transform 0.22s var(--ac-ease);
}

.ac-home-faq-item[open] .ac-home-faq-q::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.ac-home-faq-q:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 2px;
  border-radius: 10px;
}

.ac-home-faq-a {
  padding: 0 20px 18px 20px;
  margin-top: -4px;
}

.ac-home-faq-a p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ac-muted);
  line-height: 1.6;
}

.ac-home-faq-a .ac-inline-link {
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .ac-home-faq-q::after {
    transition: none;
  }
}

/* ----- Contacts ----- */
.contacts {
  position: relative;
  padding: 0 0 120px;
  background: var(--ac-bg);
}

.contacts_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contacts_city {
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--ac-radius-lg);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.12) 0%, var(--ac-surface) 50%);
  border: 1px solid var(--ac-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts_title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.contacts_text {
  color: var(--ac-muted);
  font-style: italic;
  font-size: 1rem;
}

.contacts_form {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contacts_form input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--ac-border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ac-text);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s;
}

.contacts_form input:focus {
  border-color: var(--ac-accent);
}

.contacts_form input::placeholder {
  color: var(--ac-muted);
}

.contacts_btn {
  border: none;
  cursor: pointer;
  padding: 14px 28px;
}

.contacts_address {
  position: relative;
  padding: clamp(32px, 5vw, 48px);
  border-radius: var(--ac-radius-lg);
  background: var(--ac-surface);
  border: 1px solid var(--ac-border);
  overflow: hidden;
}

.contacts_address_items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.contacts_address_item {
  display: flex;
  gap: 14px;
}

.contacts_address_texts {
  min-width: 0;
  flex: 1 1 auto;
}

.contacts_address_item img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.contacts_address_texts h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ac-text);
}

.contacts_address_texts p {
  font-size: 0.875rem;
  color: var(--ac-muted);
  line-height: 1.5;
}

.contacts_stores {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.contacts_stores_item p {
  font-size: 0.8125rem;
  color: var(--ac-muted);
}

.contacts_box {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: min(280px, 55%);
  opacity: 0.35;
  pointer-events: none;
}

/* ----- Footer ----- */
.footer {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-top: 1px solid var(--ac-border);
  padding: clamp(56px, 8vw, 88px) 0 40px;
}

.footer_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}

.footer_block {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.footer_logo {
  height: 48px;
  width: auto;
  /* PNG внутри SVG был светлым под тёмный футер — для светлого фона затемняем */
  filter: brightness(0.22) contrast(1.08);
}

.footer_block > a:hover .footer_logo {
  filter: brightness(0.28) contrast(1.08);
}

.footer_logo.mobile {
  display: none;
}

.footer_contact {
  max-width: 320px;
}

.footer_contact h2 {
  font-family: var(--ac-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer_contact p {
  font-size: 0.875rem;
  color: var(--ac-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}

.footer_items {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}

.footer_item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer_item img {
  width: 48px;
  height: 48px;
}

.footer_texts h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer_block_tel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.footer_block_tel p {
  font-size: 0.875rem;
  color: var(--ac-muted);
  padding-right: 12px;
  border-right: 1px solid var(--ac-border);
}

.footer_block_tel p:last-child {
  border: none;
  padding-right: 0;
}

/* ----- Swiper slides (delivery mobile) ----- */
.deliverySwiper .delivery_item {
  width: 100%;
  min-height: 480px;
  padding: 280px 24px 100px;
}

.deliverySwiper .delivery_item .delivery_text,
.deliverySwiper .delivery_item ul {
  opacity: 1;
  max-height: none;
}

.deliverySwiper .swiper-slide.delivery_item:not(.active) .delivery_text,
.deliverySwiper .swiper-slide.delivery_item:not(.active) ul {
  opacity: 1;
  max-height: none;
}

/* ----- 404 ----- */
.not_found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--ac-bg);
}

.not_found_title {
  font-family: var(--ac-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ac-muted);
  margin-bottom: 12px;
}

.not_found_text {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(4rem, 18vw, 9rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--ac-accent) 0%, var(--ac-accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.not_found_img {
  max-width: min(420px, 90vw);
  margin-top: 32px;
  opacity: 0.9;
}

/* ----- Media ----- */
@media screen and (max-width: 1024px) {
  .features_items {
    grid-template-columns: repeat(2, 1fr);
  }

  .delivery_item {
    width: 240px;
    min-height: 480px;
    padding: 320px 18px 100px;
  }

  .delivery_item.active {
    width: 420px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    /* Высота фиксированной шапки + safe-area + зазор до заголовка страницы */
    --ac-nav-clearance: calc(env(safe-area-inset-top, 0px) + 112px);
  }

  .hero-3d-stage {
    transform: rotateX(calc(76deg + var(--hero-rx))) rotateZ(-6deg) translateY(12%) scale(1.04) rotateY(var(--hero-ry))
      translateX(var(--hero-tx));
  }

  .hero-3d-scene--panel .hero-3d-stage {
    transform: rotateX(calc(76deg + var(--hero-rx))) rotateZ(-6deg) translateY(12%) scale(1.08) rotateY(var(--hero-ry))
      translateX(var(--hero-tx));
  }

  .hero-3d-jd-wrap {
    animation-duration: 26s;
  }

  .ac-nav-facts {
    display: none;
  }

  .ac-nav-main {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .ac-nav-brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
  }

  .header_logo {
    max-width: min(200px, 58vw);
    height: auto;
    max-height: 40px;
    width: auto;
    object-fit: contain;
  }

  .header_right {
    display: none;
  }

  .burger_btn {
    display: flex;
    flex-shrink: 0;
  }

  .header_nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .burger_menu {
    padding-top: calc(88px + env(safe-area-inset-top, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
  }

  .header_inner {
    padding-top: calc(100px + env(safe-area-inset-top, 0px));
  }

  /* Фиксированная шапка: первый блок страницы не под навбаром */
  body.ac-body--price-page main.ac-price-page,
  body.ac-body--services-page main.ac-services-page {
    padding-top: var(--ac-nav-clearance);
  }

  body.ac-body--subpage main.main > .about:first-child,
  body.ac-body--subpage main.main > .ac-contact-page:first-child {
    padding-top: var(--ac-nav-clearance);
  }

  body.ac-body--directions-page .ac-dir-hero {
    padding-top: var(--ac-nav-clearance);
  }

  .logo-container {
    display: none;
  }

  .logo-container.mobile {
    display: block;
  }

  .delivery_items:not(.mobile) {
    display: none;
  }

  .delivery_items.mobile {
    display: block;
  }

  .ac-price-table-wrap--full {
    display: none;
  }

  .price_items,
  .ac-price-cards {
    display: flex;
  }

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

  .contacts {
    padding-bottom: 80px;
  }

  .process_btns {
    display: none;
  }

  .process_btns.mobile {
    display: flex;
    margin-top: 20px;
    justify-content: center;
  }

  .footer_inner {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .features_items {
    grid-template-columns: 1fr;
  }

  .header_inner_content {
    text-align: left;
  }

  .inner_btn {
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }

  .header_title {
    max-width: none;
  }

  .ac-hero-viz {
    min-height: 220px;
  }

  .footer_logo {
    display: none;
  }

  .footer_logo.mobile {
    display: block;
  }
}

/* ----- Подстраницы: контакты + карта ----- */
.ac-inline-link {
  color: var(--ac-accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.ac-inline-link:hover {
  color: var(--ac-accent);
}

.ac-contact-page {
  padding: clamp(72px, 10vw, 100px) 0 clamp(64px, 8vw, 96px);
  background: var(--ac-bg);
}

.ac-contact-page-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
  max-width: 960px;
  margin: 0 auto;
  min-width: 0;
  width: 100%;
}

.ac-contact-page-title {
  font-family: var(--ac-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.12;
  color: var(--ac-text);
  margin: 0;
}

.ac-contact-page-lead {
  margin: 0;
  font-size: 1rem;
  color: var(--ac-muted);
  line-height: 1.5;
}

.ac-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  min-width: 0;
}

.ac-contact-block-title {
  font-family: var(--ac-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 14px;
  color: var(--ac-text);
}

.ac-contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.ac-contact-map-wrap {
  min-width: 0;
  max-width: 100%;
}

.ac-contact-form {
  margin: 0;
}

.ac-contact-whatsapp {
  align-self: flex-start;
  text-align: center;
}

.ac-contact-address-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--ac-border);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(255, 255, 255, 0.96) 55%, rgba(241, 245, 249, 0.98) 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ac-contact-address-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.28);
}

.ac-contact-address-card-icon img {
  width: 24px;
  height: 24px;
  opacity: 0.95;
}

.ac-contact-address-card-body {
  min-width: 0;
  padding-top: 2px;
}

.ac-contact-address-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ac-accent2);
}

.ac-contact-address-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ac-text);
}

.ac-contact-address-city {
  font-weight: 700;
  color: var(--ac-text);
}

.ac-contact-address-street {
  font-weight: 500;
  color: var(--ac-muted);
}

.ac-map-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--ac-radius);
  overflow: hidden;
  border: 1px solid var(--ac-border);
  aspect-ratio: 16 / 10;
  min-height: min(260px, 55vw);
  background: var(--ac-surface2);
}

.ac-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ac-contact-map-link-wrap {
  margin: 12px 0 0;
}

.ac-contact-map-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ac-accent2);
  text-decoration: none;
}

.ac-contact-map-link:hover {
  text-decoration: underline;
}

.ac-contact-addresses {
  padding-top: 8px;
  min-width: 0;
  max-width: 100%;
}

.ac-contact-back {
  margin: 0;
}

.footer_block > a {
  display: inline-block;
  line-height: 0;
}

@media screen and (max-width: 768px) {
  .ac-contact-grid {
    grid-template-columns: 1fr;
  }
}
