:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --dark: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--dark);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1216px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 0 clamp(24px, 7vw, 112px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(229,231,235,.75);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.brand strong { display: block; font-size: 18px; font-weight: 900; letter-spacing: 0; line-height: 1; }
.brand small { display: block; margin-top: 4px; color: #9ca3af; font-size: 11px; letter-spacing: .16em; }
.nav { display: flex; justify-content: center; gap: 34px; color: #4b5563; font-weight: 700; }
.nav a:hover, .phone:hover, .footer a:hover { color: var(--orange); }
.top-actions { display: flex; align-items: center; gap: 22px; }
.phone { color: #1f2937; font-weight: 800; white-space: nowrap; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}
.btn-solid { color: #fff; background: var(--orange); box-shadow: 0 12px 24px rgba(249,115,22,.24); }
.btn-solid:hover { background: var(--orange-dark); }
.btn-ghost { color: #374151; background: #fff; border-color: var(--line); }
.btn-card { color: #c2410c; background: #fff7ed; border-color: #fed7aa; padding: 11px 18px; min-height: 42px; }
.btn-dark { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.18); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--dark); }

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 45%, #fff 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(249,250,251,.96), rgba(249,250,251,.72) 44%, rgba(249,250,251,.18)); }
.hero-bg img {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: .52;
  filter: saturate(.95);
}
.hero-grid { position: relative; padding: 96px 0 110px; }
.hero-copy { max-width: 680px; }
.kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 5.8vw, 82px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -0.03em;
}
h1 span { color: var(--orange); }
h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.3vw, 64px);
  line-height: .96;
  font-weight: 950;
  letter-spacing: -0.03em;
}
h3 { font-size: 24px; line-height: 1.12; margin-bottom: 12px; font-weight: 900; }
.lead, .muted, .section-title p { color: var(--muted); font-size: 18px; }
.price-line { display: grid; gap: 2px; margin: 30px 0; }
.price-line small { color: #6b7280; font-weight: 800; }
.price-line strong { color: var(--orange); font-size: 30px; line-height: 1; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.section { padding: 140px 0; position: relative; overflow: hidden; }
.benefits, .compare { background: #fff; }
.catalog, .leasing { background: linear-gradient(180deg, #fff 0%, #f9fafb 100%); }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 78px; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-grid article {
  min-height: 250px;
  padding: 34px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15,23,42,.04);
}
.benefit-grid span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  color: #fff;
  background: var(--orange);
  border-radius: 14px;
  font-weight: 900;
}
.benefit-grid p, .product-body dl, .city-grid span, .footer p { color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-body { padding: 26px; }
.tag { margin-bottom: 8px; color: var(--orange); font-size: 13px; font-weight: 900; }
.product-body strong { display: block; color: var(--orange); font-size: 21px; margin-bottom: 20px; }
dl { margin: 0; }
.product-body dl { display: grid; gap: 9px; margin-bottom: 24px; }
.product-body dl div, .leasing-card dl div { display: flex; justify-content: space-between; gap: 18px; }
dt { color: #6b7280; font-weight: 800; }
dd { margin: 0; text-align: right; font-weight: 900; }
.catalog-link { text-align: center; margin-top: 42px; }
.catalog-link a { color: var(--orange); font-weight: 900; }

.compare-selects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 28px; }
.compare-selects label { display: grid; gap: 8px; color: #6b7280; font-weight: 800; }
select, input[type="text"], input[type="tel"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  background: #fff;
}
.table-card { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; }
thead th, tbody th { background: #f9fafb; }

.leasing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; }
.range-row { margin-top: 30px; }
.range-row label { display: flex; justify-content: space-between; gap: 20px; color: #6b7280; font-weight: 900; }
.range-row output { color: var(--orange); }
input[type="range"] { width: 100%; accent-color: var(--orange); }
.leasing-card {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.leasing-card p { margin-bottom: 8px; color: #6b7280; font-weight: 900; }
.leasing-card small { color: #6b7280; font-weight: 900; text-transform: uppercase; }
.leasing-card > strong { display: block; margin: 10px 0 26px; color: var(--orange); font-size: 42px; line-height: 1; }
.leasing-card dl { display: grid; gap: 14px; margin-bottom: 28px; }

.map-card {
  padding: 56px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.kaz-map { position: relative; width: 100%; aspect-ratio: 1000 / 520; margin-bottom: 42px; }
.kaz-map svg { width: 100%; height: 100%; }
.kaz-map path { fill: #eef2f7; stroke: #b9c2cf; stroke-width: 4; vector-effect: non-scaling-stroke; }
.kaz-map text {
  fill: #334155;
  font-size: 22px;
  font-weight: 900;
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 7px;
  stroke-linejoin: round;
}
.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow: 0 10px 18px rgba(249,115,22,.28);
}
.pin::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: rgba(249,115,22,.24);
  animation: ping 1.8s infinite;
}
.pin::after {
  content: attr(data-city);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) scale(.92);
  padding: 7px 10px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  transition: .2s;
}
.pin:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.city-grid button {
  min-height: 92px;
  padding: 18px;
  text-align: left;
  background: #f9fafb;
  border: 2px solid transparent;
  border-radius: 16px;
}
.city-grid button:hover { border-color: #fed7aa; background: #fff7ed; }
.city-grid strong { display: block; margin-bottom: 6px; }
.city-grid span { display: block; font-size: 13px; }

.cta {
  padding: 130px 0;
  color: #fff;
  background: radial-gradient(circle at 50% 0%, rgba(249,115,22,.18), transparent 34%), linear-gradient(135deg, #111827, #1f2937);
}
.cta .kicker { color: #fb923c; }
.cta p { color: #d1d5db; font-size: 18px; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.lead-form { display: grid; gap: 16px; padding: 28px; background: #fff; color: var(--dark); border-radius: 24px; box-shadow: var(--shadow); }
.lead-form label { display: grid; gap: 8px; color: #6b7280; font-weight: 800; }

.footer { padding: 64px 0; background: #111827; color: #fff; border-top: 1px solid #1f2937; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.2fr .8fr; gap: 48px; }
.footer img { width: 78px; height: 78px; object-fit: contain; background: #fff; border-radius: 16px; margin-bottom: 16px; }
.footer a { display: block; margin-top: 10px; color: #d1d5db; }
.page-hero { padding: 128px 0 90px; background: linear-gradient(135deg, #f9fafb, #fff); }
.page-hero h1 { max-width: 900px; }
.contacts-hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(249,115,22,.12), transparent 34%),
    linear-gradient(135deg, #f9fafb, #fff);
}
.contact-section { background: linear-gradient(180deg, #fff 0%, #f9fafb 100%); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: stretch;
}
.contact-panel,
.map-embed-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.contact-panel { padding: 36px; }
.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}
.contact-list div {
  display: grid;
  gap: 5px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-list a,
.contact-list strong {
  color: var(--dark);
  font-size: 18px;
  font-weight: 900;
}
.messenger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.map-embed-card {
  overflow: hidden;
  min-height: 520px;
  display: grid;
  grid-template-rows: 1fr auto;
}
.map-embed-card iframe {
  width: 100%;
  min-height: 430px;
  border: 0;
}
.office-map-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(29deg, transparent 47%, rgba(203,213,225,.82) 48%, rgba(203,213,225,.82) 52%, transparent 53%),
    linear-gradient(118deg, transparent 42%, rgba(226,232,240,.92) 43%, rgba(226,232,240,.92) 48%, transparent 49%),
    linear-gradient(0deg, rgba(255,255,255,.7), rgba(255,255,255,.7)),
    repeating-linear-gradient(0deg, #f8fafc 0 44px, #eef2f7 45px 46px),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(226,232,240,.7) 55px 56px);
}
.office-map-visual::before {
  content: "";
  position: absolute;
  inset: 13% 9%;
  border: 2px solid rgba(148,163,184,.45);
  border-radius: 32px;
  background: rgba(255,255,255,.34);
}
.road {
  position: absolute;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.road-main {
  left: 13%;
  bottom: 24%;
  transform: rotate(-29deg);
}
.road-side {
  right: 10%;
  top: 27%;
  transform: rotate(28deg);
}
.map-pin-office {
  position: absolute;
  left: 52%;
  top: 48%;
  transform: translate(-50%, -100%);
  padding: 13px 16px;
  border-radius: 16px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 34px rgba(15,23,42,.25);
}
.map-pin-office::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: #111827;
}
.map-pin-office::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 12px rgba(249,115,22,.18);
}
.map-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .topbar { grid-template-columns: auto auto; height: auto; min-height: 72px; padding: 14px 24px; }
  .menu-toggle { display: block; justify-self: end; }
  .nav { display: none; grid-column: 1 / -1; justify-content: start; flex-direction: column; gap: 14px; }
  .nav.is-open, .nav-open { display: flex; }
  .top-actions { display: none; }
  .benefit-grid, .product-grid, .city-grid { grid-template-columns: repeat(2, 1fr); }
  .leasing-grid, .cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1216px); }
  .brand { min-width: 0; }
  .brand strong { font-size: 14px; }
  .brand img { width: 38px; height: 38px; }
  .hero {
    min-height: auto;
    align-items: center;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 45%, #fff 100%);
  }
  .hero-bg {
    inset: 0;
    height: auto;
    overflow: hidden;
  }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(248,250,252,.94), rgba(248,250,252,.74) 52%, rgba(248,250,252,.34)),
      linear-gradient(180deg, rgba(248,250,252,.48), rgba(248,250,252,.9));
  }
  .hero-grid { padding: 82px 0 72px; }
  .hero-bg img {
    width: clamp(720px, 195vw, 820px);
    max-width: none;
    height: auto;
    left: clamp(-300px, -66vw, -220px);
    right: auto;
    top: 72px;
    bottom: auto;
    object-fit: contain;
    object-position: center top;
    opacity: .22;
  }
  h1 { font-size: 42px; }
  h2 { font-size: 36px; }
  .section { padding: 86px 0; }
  .section-title { margin-bottom: 44px; }
  .benefit-grid, .product-grid, .compare-selects, .city-grid, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-buttons, .cta-buttons { flex-direction: column; }
  .btn { width: 100%; }
  .table-card {
    overflow-x: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  thead {
    display: none;
  }
  tbody {
    display: grid;
    gap: 14px;
  }
  tbody tr {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15,23,42,.07);
  }
  tbody th {
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-size: 18px;
  }
  tbody td {
    display: grid;
    grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0 0;
    border-bottom: 0;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  tbody td:nth-of-type(1)::before {
    content: "Первая модель";
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }
  tbody td:nth-of-type(2)::before {
    content: "Вторая модель";
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }
  .map-card { padding: 24px; border-radius: 24px; }
  .kaz-map { aspect-ratio: 1.6 / 1; }
  .footer-grid { gap: 28px; }
  .contact-panel { padding: 24px; }
  .map-embed-card { min-height: 460px; }
  .map-embed-card iframe,
  .office-map-visual { min-height: 360px; }
}
