/* ==========================================================================
   МОБИЭНЕРГО — корпоративный сайт
   Design tokens
   ========================================================================== */

:root {
  /* Warm Ember — dark base tuned to sit behind MOBI8's signature orange */
  --navy-950: #150f0a;
  --navy-900: #1c140d;
  --navy-800: #241a10;
  --navy-700: #302014;
  --navy-600: #422c1a;
  --ink: #1c150f;
  --ink-soft: #6b6058;
  --paper: #f6f3ee;
  --paper-alt: #efe9e0;
  --white: #ffffff;

  /* Palette: warm orange scale anchored on MOBI8's brand orange #FF7A1A */
  --dust: #dad2c7;
  --sage: #ffb066;
  --fern: #ff7a1a;
  --hunter: #b5541a;
  --pine: #7a3712;

  --teal: #ffb066;        /* bright accent on dark surfaces */
  --teal-dark: #c2570f;   /* accent on light surfaces (links/icons) — AA contrast */
  --blue: #7a3712;        /* secondary structural tone */
  --gradient-brand: linear-gradient(120deg, #ffb066 0%, #ff7a1a 100%);
  --gradient-brand-soft: linear-gradient(120deg, rgba(255, 176, 102, 0.16) 0%, rgba(255, 122, 26, 0.16) 100%);

  --line: rgba(28, 21, 16, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 50px -20px rgba(21, 15, 10, 0.28);
  --shadow-card: 0 10px 30px -12px rgba(21, 15, 10, 0.2);

  --container: 1200px;
  --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.13; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 22px; }
p { color: var(--ink-soft); }

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 640px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head h2 { max-width: 640px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--navy-950);
  box-shadow: 0 12px 24px -8px rgba(255, 122, 26, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(255, 122, 26, 0.55); }
.btn:active { transform: scale(0.96); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.6); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--teal-dark); color: var(--teal-dark); }

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-scrolled {
  background: rgba(21, 15, 10, 0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  color: var(--navy-950);
  font-size: 17px;
  flex-shrink: 0;
}
.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-name span {
  display: block;
  max-width: 148px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 11px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.main-nav a.is-active { background: rgba(255,255,255,0.12); color: var(--white); }

/* Nav dropdown — "Собственные решения" (MOBI8 + MOBIBIKE) grouped under one toggle */
.nav-item { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font: inherit;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 11px;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-dropdown-toggle svg { transition: transform 0.25s var(--ease); flex-shrink: 0; }
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-active,
.nav-item:hover .nav-dropdown-toggle,
.nav-item:focus-within .nav-dropdown-toggle { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-item:hover .nav-dropdown-toggle svg,
.nav-item:focus-within .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 230px;
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 30;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
}
.nav-item:hover .nav-dropdown-menu,
.nav-item:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-dropdown-menu a.is-active { color: var(--teal); }

.mobile-nav-label {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.mobile-nav .mobile-nav-sub {
  font-size: 17px;
  padding-left: 14px;
  border-bottom-color: rgba(255,255,255,0.06);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .phone {
  color: var(--white);
  font-weight: 700;
  font-size: 14.5px;
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  border: none;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--white); border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background:
    radial-gradient(circle at 20% 0%, #2e1a0d 0%, var(--navy-950) 55%),
    url('../img/skyline.svg') bottom center / cover no-repeat,
    var(--navy-950);
  color: var(--white);
  padding: 168px 0 76px;
  position: relative;
  overflow: hidden;
}
/* Same fixed height everywhere — hero and every inner page-hero share it,
   so the block never jumps as you move between pages */
@media (min-width: 1025px) {
  .hero, .page-hero {
    min-height: 940px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: var(--gradient-brand);
  opacity: 0.16;
  filter: blur(60px);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -220px; left: -140px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.14;
  filter: blur(80px);
}
.hero .container { position: relative; z-index: 2; }

/* Entrance animation — staggered fade/rise, Apple-style reveal on load */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge, .hero h1, .hero .lead, .hero-cta, .hero-stats {
  opacity: 0;
  animation: riseIn 0.9s var(--ease) forwards;
}
.hero-badge { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero .lead { animation-delay: 0.28s; }
.hero-cta { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.52s; }
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero h1, .hero .lead, .hero-cta, .hero-stats { opacity: 1; animation: none; }
}

/* Signature strip — thin brand line + short tag, echoing masthead motif */
.hero-signature {
  margin-top: 90px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-signature .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 176, 102,0.75), rgba(122, 55, 18,0.15));
}

.hero-signature .tag {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .hero-signature { margin-top: 56px; }
  .hero-signature .tag { font-size: 11px; letter-spacing: 0.14em; }
}

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

/* Full-bleed hero photo — spans the whole section (not just a right-hand
   panel) so the fade gradient IS the background, with no container edge
   for a seam to ever form on. Already in place on load, no slide-in. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-photo-zoom {
  position: absolute; inset: 0;
  animation: heroKenBurns 11s ease-in-out infinite alternate;
}
.hero-photo-layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
/* Pure color dissolve — no blurred duplicate layers. A wide, many-stop
   gradient reads as a smooth fade with no risk of a hard filter/mask edge. */
.hero-photo-fade {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 0%, #2e1a0d 0%, transparent 55%),
    linear-gradient(90deg,
      var(--navy-950) 0%,
      rgba(21, 15, 10,0.97) 12%,
      rgba(21, 15, 10,0.88) 22%,
      rgba(21, 15, 10,0.74) 32%,
      rgba(21, 15, 10,0.58) 41%,
      rgba(21, 15, 10,0.42) 49%,
      rgba(21, 15, 10,0.27) 57%,
      rgba(21, 15, 10,0.15) 65%,
      rgba(21, 15, 10,0.06) 74%,
      transparent 84%),
    linear-gradient(180deg, rgba(21, 15, 10,0.1) 0%, rgba(21, 15, 10,0.6) 100%);
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
@media (max-width: 1024px) {
  .hero-photo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo-zoom { animation: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(255, 176, 102,0.25);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead { color: rgba(255,255,255,0.68); margin-bottom: 36px; max-width: none; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
}
.hero-stats .stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}
.hero-stats .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* ==========================================================================
   Marquee / logo strip
   ========================================================================== */

.strip {
  background: var(--paper);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.strip-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.strip-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.strip-logos span {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  opacity: 0.55;
}

/* ==========================================================================
   Directions (three business lines)
   ========================================================================== */

.directions { padding: 110px 0; background: var(--white); }

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.direction-card {
  --brand: var(--sage);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 32px 28px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.direction-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 130% at 12% -10%, var(--brand) 0%, transparent 62%);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  pointer-events: none;
}
.direction-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--brand);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.direction-card > * { position: relative; z-index: 1; }
.direction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.direction-card:hover::before { opacity: 0.16; }
.direction-card:hover::after { opacity: 1; }
.direction-card:hover .direction-icon {
  background: var(--brand);
  transform: scale(1.06) rotate(-4deg);
}

/* Platform spotlight — whole section washes with the hovered tile's brand color,
   the rest dim, for a "wow" showcase moment on the homepage */
.platform-spotlight {
  position: relative;
  overflow: hidden;
}
/* Full-bleed backdrop photo — replaces the paper background with a dim,
   brand-matched scene while a tile is hovered; fades back to plain paper on leave */
.platform-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.platform-backdrop img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}
.platform-backdrop img.is-active { opacity: 0.85; transform: scale(1); }
.platform-backdrop::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245,243,236,0.82) 0%, rgba(245,243,236,0.5) 26%, rgba(245,243,236,0.4) 100%);
}
.platform-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 50% 8%, var(--spotlight-color, transparent) 0%, transparent 72%);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.platform-spotlight.is-spotlight::before { opacity: 0.3; }
.platform-spotlight > .container { position: relative; z-index: 2; }
.platform-spotlight .direction-card {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease),
              opacity 0.5s var(--ease), filter 0.5s var(--ease);
}
.platform-spotlight .direction-card.is-dim {
  opacity: 0.4;
  filter: saturate(0.6);
  transform: scale(0.97);
}
.platform-spotlight .direction-card.is-lit {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 60px -20px var(--brand);
}
@media (prefers-reduced-motion: reduce) {
  .platform-spotlight, .platform-spotlight::before, .platform-spotlight .direction-card { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .platform-backdrop img { transition: none; }
}
.direction-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.tag-own { background: rgba(255, 176, 102,0.22); color: #8a3d0d; }
.tag-partner { background: rgba(122, 55, 18,0.14); color: var(--pine); }

.direction-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
}
.direction-icon svg { width: 26px; height: 26px; }
.direction-icon svg [stroke] { transition: stroke 0.4s var(--ease); }
.direction-icon svg [fill]:not([fill="none"]) { transition: fill 0.4s var(--ease); }
.direction-card:hover .direction-icon svg [stroke] { stroke: #150f0a; }
.direction-card:hover .direction-icon svg [fill]:not([fill="none"]) { fill: #150f0a; }

/* Real partner/product logos — the mark already carries its own brand color,
   so keep the chip transparent instead of washing it with --brand on hover */
.direction-icon-logo { background: transparent; padding: 3px; }
.direction-icon-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.direction-card:hover .direction-icon-logo {
  background: transparent;
  transform: scale(1.08);
}

.direction-card h3 { margin-bottom: 10px; transition: color 0.3s ease; }
.direction-card p { font-size: 14.5px; margin-bottom: 22px; flex-grow: 1; }
.direction-card .card-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.direction-card .card-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.direction-card:hover .card-link svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .direction-card, .direction-card::before, .direction-card::after, .direction-icon { transition: none; }
}

/* ==========================================================================
   Split feature section
   ========================================================================== */

.split {
  padding: 100px 0;
}
.split.alt { background: var(--paper); }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-grid.reverse .split-media { order: 2; }
.split-grid.reverse .split-copy { order: 1; }

.split-media {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-media svg { width: 60%; }
.split-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s var(--ease);
}
.split-media:hover img { transform: scale(1.1); }
.split-media.media-about::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21, 15, 10,0.05) 40%, rgba(21, 15, 10,0.55) 100%);
}
.media-mobi8 { background: linear-gradient(150deg, #241a10, #2b1608); }
.media-mobibike { background: linear-gradient(150deg, #241a10, #3a220f); }
.media-scooters { background: linear-gradient(150deg, #241a10, #241a10); }
.media-about { background: linear-gradient(150deg, #241a10, #302014); }

.feature-list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .ico {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--gradient-brand-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item .ico svg { width: 15px; height: 15px; color: var(--teal-dark); }
.feature-item strong { display: block; font-size: 15px; margin-bottom: 2px; }
.feature-item p { font-size: 14px; margin: 0; }

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats-band {
  background: var(--navy-950);
  padding: 64px 0;
  color: var(--white);
}
.stats-band .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-band .num {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-band .label { font-size: 13.5px; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* ==========================================================================
   Cards grid (generic)
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}
.info-card .n {
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.info-card h3 { margin-bottom: 8px; font-size: 18px; }
.info-card p { font-size: 14px; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px 100px;
}
.cta-inner {
  background: linear-gradient(120deg, var(--navy-950) 0%, #3a220f 100%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -120px; right: 10%;
  width: 320px; height: 320px;
  background: var(--gradient-brand);
  opacity: 0.2;
  filter: blur(70px);
  border-radius: 50%;
}
.cta-inner h2 { color: var(--white); max-width: 480px; position: relative; z-index: 2; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.65); position: relative; z-index: 2; }
.cta-actions { position: relative; z-index: 2; display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  background:
    linear-gradient(180deg, var(--navy-950) 0%, rgba(21,15,10,0.88) 55%, var(--navy-950) 100%),
    url('../img/skyline.svg') bottom center / cover no-repeat,
    var(--navy-950);
  color: var(--white);
  padding: 160px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -100px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: var(--gradient-brand);
  opacity: 0.15;
  filter: blur(70px);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); font-weight: 600; }
.breadcrumb a:hover { color: var(--white); }

/* Visually hidden — stays in the DOM for search engines / screen readers,
   just not shown on screen (used to keep SEO breadcrumbs off the hero visually) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.6vw, 50px); }
.page-hero .lead { color: rgba(255,255,255,0.68); margin-top: 18px; max-width: none; }

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* ==========================================================================
   Spec table / grid
   ========================================================================== */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.spec-item { background: var(--white); padding: 26px 22px; }
.spec-item .v { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.spec-item .l { font-size: 13px; color: var(--ink-soft); }

/* ==========================================================================
   Gallery placeholder
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .credit {
  position: absolute;
  left: 10px; bottom: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ==========================================================================
   Timeline (news / about)
   ========================================================================== */

.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-item .date { font-weight: 700; font-size: 14px; color: var(--teal-dark); }
.timeline-item h3 { margin-bottom: 8px; font-size: 18px; }
.timeline-item p { font-size: 14.5px; }

/* ==========================================================================
   News grid
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.news-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
  position: relative;
}
.news-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-body { padding: 22px; }
.news-cat {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.news-body h3 { font-size: 17px; margin-bottom: 8px; }
.news-body p { font-size: 14px; margin-bottom: 14px; }
.news-date { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   City / presence grid
   ========================================================================== */

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.city-chip {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  background: var(--paper);
}
.city-chip .services {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}
.city-chip .services i {
  width: 7px; height: 7px; border-radius: 50%;
}
.svc-mobi8 { background: #ff7a1a; }
.svc-mobibike { background: #ffb066; }
.svc-yandex { background: #ffcc00; }
.svc-urent { background: #4a25b8; }

/* ==========================================================================
   Values grid (about)
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
}
.value-card .num { font-size: 13px; font-weight: 800; color: var(--teal-dark); margin-bottom: 14px; }
.value-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.contact-info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.contact-info-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card .ico svg { width: 20px; height: 20px; color: var(--teal); }
.contact-info-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; margin: 0; }
.contact-info-card a { color: var(--ink); font-weight: 700; }

.map-block {
  border-radius: var(--radius-md);
  height: 220px;
  background: var(--paper);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-field label { font-size: 13.5px; font-weight: 700; }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 76px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: rgba(255,255,255,0.14); }

.footer-col h4 {
  color: var(--white);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.62); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   Scroll reveal — Apple-style content arrival
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.27s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.43s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .direction-grid { grid-template-columns: 1fr 1fr; }
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-grid.reverse .split-media { order: 1; }
  .split-grid.reverse .split-copy { order: 2; }
  .stats-band .grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .main-nav, .header-actions .phone, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .direction-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .hero-stats { grid-template-columns: repeat(3, auto); gap: 22px; }
}

/* ==========================================================================
   Legal / long-form text pages
   ========================================================================== */

.legal { padding: 100px 0 120px; }
.legal-wrap { max-width: none; margin: 0 auto; }
.legal-wrap .updated { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 40px; }
.legal-wrap h2 { font-size: 22px; margin: 44px 0 14px; }
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.legal-wrap ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.legal-wrap li { font-size: 15px; color: var(--ink-soft); padding-left: 20px; position: relative; }
.legal-wrap li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
}
.legal-wrap strong { color: var(--ink); }
.legal-toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 44px;
}
.legal-toc strong { display: block; margin-bottom: 12px; font-size: 14px; }
.legal-toc ol { list-style: decimal; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.legal-toc a { font-size: 14px; font-weight: 600; color: var(--ink); }
.legal-toc a:hover { color: var(--teal-dark); }

/* ==========================================================================
   Cookie consent bar
   ========================================================================== */

.cookie-bar {
  position: fixed;
  left: 20px; right: 20px; bottom: -140px;
  z-index: 800;
  transition: bottom 0.4s ease;
}
.cookie-bar.is-visible { bottom: 20px; }
.cookie-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--navy-950);
  color: rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.1);
}
.cookie-bar-inner p { color: rgba(255,255,255,0.65); font-size: 13.5px; margin: 0; flex: 1; min-width: 240px; }
.cookie-bar-inner a { color: var(--teal); font-weight: 700; }
.cookie-bar-inner .btn { padding: 11px 22px; font-size: 13.5px; flex-shrink: 0; }

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 900;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  font-size: 22px;
}
