:root {
  --bg: #111;
  --surface: #1a1a1a;
  --surface-2: #222;
  --line: #333;
  --text: #fff;
  --muted: #888;
  --accent: #2ecc71;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 72px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 17, 17, 0.9);
  border-bottom: 1px solid #202020;
  backdrop-filter: blur(10px);
}

.topbar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu a {
  color: #ddd;
  font-weight: 500;
  position: relative;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
  transform-origin: left center;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
}

.menu a:hover {
  color: #fff;
  transform: scale(1.04);
}

.menu a:hover::after {
  transform: scaleX(1);
}

.menu__tg {
  color: var(--accent) !important;
}

.menu__lang {
  color: #aaa !important;
  font-size: 14px;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  padding: 6px 12px !important;
}

.menu__lang::after {
  display: none;
}

.menu__lang:hover {
  color: #fff !important;
  border-color: #555;
  transform: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 22px;
  height: 2px;
  background: #fff;
}

.hero {
  padding: 60px 0 32px;
}

.hero__inner {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.badge {
  display: inline-block;
  background: #1f1f1f;
  border: 1px solid var(--line);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.subtitle {
  color: #b8b8b8;
  max-width: 700px;
  line-height: 1.65;
}

.hero__actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__media img,
.split__media img,
.cargo__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #062814;
}

.btn--ghost {
  background: #1a1a1a;
  color: #fff;
}

.btn--lg {
  min-height: 48px;
  padding: 12px 24px;
}

.btn--xl {
  min-height: 60px;
  padding: 16px 30px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(46, 204, 113, 0.45);
}

.section {
  padding: 36px 0;
}

.section h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.2;
}

.section h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(46, 204, 113, 0.1));
}

.grid {
  margin-top: 12px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--contacts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--surface);
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #4b6a58;
  background:
    linear-gradient(170deg, rgba(82, 151, 107, 0.13), rgba(82, 151, 107, 0.02)),
    var(--surface);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(46, 204, 113, 0.12) inset;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: #b7b7b7;
  line-height: 1.6;
}

.card a {
  color: var(--accent);
}

.section--download {
  margin-top: 8px;
}

.section--split {
  padding-top: 18px;
}

.split {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.split__content,
.cargo__content {
  background: #181818;
  border-radius: 14px;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.steps {
  margin: 0;
  padding-left: 0;
  color: #c7c7c7;
  line-height: 1.7;
  list-style: none;
}

.steps li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.75);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.45);
}

.steps strong {
  color: #fff;
}

.cargo {
  display: grid;
  gap: 20px;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.cargo p {
  color: #b8b8b8;
  line-height: 1.65;
}

.cargo ul {
  margin: 10px 0 0;
  padding-left: 0;
  color: #d0d0d0;
  line-height: 1.75;
  list-style: none;
}

.cargo li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.cargo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.75);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.45);
}

.section__lead {
  color: #b8b8b8;
  margin: 0 0 12px;
}

.section__lead--soft {
  color: #a8a8a8;
}

.map-card {
  border: 1px solid #3a3a3a;
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.map-card iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.2) invert(0.9) hue-rotate(165deg) saturate(0.55) contrast(0.92);
}

.download {
  background: linear-gradient(130deg, #161616, #202020);
  border: 1px solid #2d2d2d;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.download--cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(46, 204, 113, 0.35), rgba(46, 204, 113, 0) 44%),
    linear-gradient(125deg, #141414, #1d1d1d 48%, #1a2a21);
  border: 1px solid #3a5d47;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
}

.download__content h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  margin-top: 12px;
  margin-bottom: 12px;
}

.download__content p {
  margin: 0;
  color: #cbcbcb;
  line-height: 1.65;
  max-width: 680px;
}

.download__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #3f6f50;
  color: #b7ffd4;
  background: rgba(33, 65, 45, 0.55);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.download__list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #ecffee;
  line-height: 1.8;
}

.download__action {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.download__note {
  margin: 0;
  color: #cdeed8;
  font-size: 13px;
}

.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  width: min(680px, 94%);
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 9px 12px;
  display: none;
  justify-content: space-between;
  gap: 8px;
  z-index: 45;
}

.tabbar__item {
  flex: 1;
  text-align: center;
  color: #bbb;
  font-size: 14px;
  padding: 8px;
  border-radius: 10px;
}

.tabbar__item--accent {
  background: #204f33;
  color: #d6ffe8;
}

main {
  padding-bottom: 24px;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .split,
  .cargo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, 90%);
  }

  .hero {
    padding-top: 30px;
  }

  .burger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #111;
    border-bottom: 1px solid #2a2a2a;
    padding: 14px 4%;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-130%);
    transition: transform 0.2s ease;
  }

  .menu.open {
    transform: translateY(0);
  }

  .grid,
  .grid--contacts {
    grid-template-columns: 1fr;
  }

  .download {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
    min-width: 0;
    padding: 11px 12px;
    font-size: 14px;
    white-space: normal;
  }

  .hero__content,
  .split__content,
  .cargo__content,
  .download__content {
    padding-inline: 6px;
  }

  .download__action {
    width: 100%;
    align-items: flex-start;
  }

  .btn--xl {
    width: 100%;
  }

  .tabbar {
    display: flex;
  }

  main {
    padding-bottom: 90px;
  }

  .map-card iframe {
    height: 300px;
  }
}

/* —— Privacy / legal pages —— */
.menu--simple {
  gap: 16px;
}

.legal {
  padding: 48px 0 80px;
}

.legal__inner {
  max-width: 760px;
}

.legal__eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.legal h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.legal__meta {
  color: var(--muted);
  margin: 0 0 32px;
  font-size: 14px;
}

.legal__content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
}

.legal__content h2 {
  margin: 28px 0 12px;
  font-size: 18px;
}

.legal__content h2:first-child {
  margin-top: 0;
}

.legal__content p,
.legal__content li {
  color: #cfcfcf;
  line-height: 1.65;
  font-size: 15px;
}

.legal__content ul {
  padding-left: 20px;
  margin: 8px 0 0;
}

.legal__content li {
  margin-bottom: 8px;
}

.legal__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid #222;
  padding: 22px 0 100px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: #ddd;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .legal {
    padding-top: 28px;
  }

  .legal__content {
    padding: 20px 16px;
  }

  .site-footer {
    padding-bottom: 100px;
  }
}
