:root {
  --orange: #f18f1b;
  --orange-dark: #d97a0d;
  --primary: #1a5691;
  --primary-dark: #163760;
  --primary-light: #d7e8f6;
  --dark: #1c2b3a;
  --muted: #60758a;
  --line: #c8dae9;
  --line-light: #dfeaf3;
  --soft: #eef5fb;
  --soft-alt: #dceaf6;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(22, 55, 96, 0.10);
  --shadow-hover: 0 28px 76px rgba(22, 55, 96, 0.15);
  --technical-grid:
    linear-gradient(rgba(26, 86, 145, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 86, 145, .035) 1px, transparent 1px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  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(200,218,233,.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: #8298ac; font-size: 11px; letter-spacing: .16em; }
.nav { display: flex; justify-content: center; gap: 34px; color: #435b72; font-weight: 700; }
.nav a:hover, .phone:hover, .footer a:hover { color: var(--orange); }
.top-actions { display: flex; align-items: center; gap: 22px; }
.phone-list { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; line-height: 1.2; }
.phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1c2b3a;
  font-weight: 800;
  white-space: nowrap;
}
.phone::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.5 3 3.9 5.4 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.6.6 4 .6.7 0 1.2.5 1.2 1.2v3.5c0 .7-.5 1.2-1.2 1.2C10.7 21.9 2.1 13.3 2.1 3.4c0-.7.5-1.2 1.2-1.2h3.5c.7 0 1.2.5 1.2 1.2 0 1.4.2 2.8.6 4 .1.4 0 .8-.3 1.2l-1.7 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.5 3 3.9 5.4 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.6.6 4 .6.7 0 1.2.5 1.2 1.2v3.5c0 .7-.5 1.2-1.2 1.2C10.7 21.9 2.1 13.3 2.1 3.4c0-.7.5-1.2 1.2-1.2h3.5c.7 0 1.2.5 1.2 1.2 0 1.4.2 2.8.6 4 .1.4 0 .8-.3 1.2l-1.7 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.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(241,143,27,.24); }
.btn-solid:hover { background: var(--orange-dark); }
.btn-ghost { color: #1c2b3a; background: #fff; border-color: var(--line); }
.btn-card { color: #1a5691; background: #edf6fd; border-color: #9fc2df; 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, #e8f2fa 0%, #dceaf6 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(238,245,251,.96), rgba(238,245,251,.72) 44%, rgba(238,245,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: #60758a; 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%, #e8f2fa 100%); }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 78px; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 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(22,55,96,.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 {
  display: flex;
  flex-direction: column;
  height: 100%;
  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 {
  display: flex;
  flex: 1;
  flex-direction: column;
  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; }
.product-body .btn { align-self: flex-start; margin-top: auto; }
dt { color: #60758a; font-weight: 800; }
dd { margin: 0; text-align: right; font-weight: 900; }
.leasing-card dl div {
  align-items: flex-start;
}
.leasing-card dt {
  min-width: 0;
}
.leasing-card dd {
  flex: 0 0 auto;
  white-space: nowrap;
}
.catalog-link { text-align: center; margin-top: 42px; }
.catalog-link a { color: var(--orange); font-weight: 900; }
.catalog-sticky-nav {
  position: sticky;
  top: 80px;
  z-index: 45;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(200,218,233,.9);
  box-shadow: 0 14px 36px rgba(22,55,96,.08);
  backdrop-filter: blur(16px);
}
.catalog-sticky-nav .container {
  padding: 14px 0;
}
.catalog-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.catalog-nav-pills a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #1c2b3a;
  font-weight: 900;
}
.catalog-nav-pills a:hover {
  border-color: #9fc2df;
  color: var(--orange);
  background: #edf6fd;
}
.catalog-directory {
  scroll-margin-top: 166px;
  background: #fff;
}
.catalog-directory.alt { background: linear-gradient(180deg, #eef5fb 0%, #fff 100%); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.category-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 0 26px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(241,143,27,.07), transparent 34%),
    #fff;
  box-shadow: 0 18px 46px rgba(22,55,96,.07);
}
.catalog-directory .category-card {
  min-width: 0;
  padding-top: 0;
  border-radius: 28px;
}
.category-image {
  width: 100%;
  margin: 0 0 22px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  border-radius: 12px;
  clip-path: inset(0 round 12px);
  background: #dceaf6;
}
.category-gallery {
  position: relative;
  width: 100%;
  margin: 0 0 22px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  clip-path: inset(0 round 12px);
  background: #dceaf6;
  touch-action: pan-y;
}
.category-gallery .category-image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  object-fit: contain;
  transition: opacity .18s ease;
}
.catalog-directory .category-card > .category-image {
  display: block;
  flex: 0 0 auto;
  width: calc(100% + 52px);
  max-width: none;
  height: auto;
  margin: 0 -26px 22px;
  padding: 0;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  clip-path: none;
  background: #fff;
  object-fit: cover;
  object-position: center center;
  transform: none;
}
.catalog-directory .category-gallery {
  flex: 0 0 auto;
  width: calc(100% + 52px);
  margin: 0 -26px 22px;
  padding: 0;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  clip-path: none;
  background: #fff;
}
.catalog-directory .category-gallery .category-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
  clip-path: none;
  object-fit: cover;
  object-position: center center;
  transform: none;
}
.category-gallery .category-image.is-switching { opacity: .42; }
.category-gallery-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(22,55,96,.76);
  color: #fff;
  box-shadow: 0 3px 9px rgba(22,55,96,.18);
  cursor: pointer;
  transform: translateY(-50%);
}
.category-gallery-button::before {
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
}
.category-gallery-button:hover,
.category-gallery-button:focus-visible { background: #f18f1b; }
.category-gallery-previous { left: 7px; }
.category-gallery-next { right: 7px; }
.category-gallery-previous::before { margin-left: 2px; transform: rotate(135deg); }
.category-gallery-next::before { margin-right: 2px; transform: rotate(-45deg); }
.category-gallery-counter {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 2;
  min-width: 30px;
  padding: 3px 5px;
  border-radius: 4px;
  background: rgba(22,55,96,.78);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
.category-card h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.16;
}
.category-card p {
  margin-bottom: 22px;
  color: var(--muted);
}
.category-card .btn { margin-top: auto; }

.compare-selects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 28px; }
.compare-selects label { display: grid; gap: 8px; color: #60758a; font-weight: 800; }
select, input[type="text"], input[type="tel"], input[type="number"] {
  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: #e8f2fa; }

.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: #60758a; font-weight: 900; }
.range-row output { color: var(--orange); }
input[type="range"] { width: 100%; accent-color: var(--orange); }
.leasing-number-input {
  margin-top: 12px;
  max-width: 320px;
  font-weight: 900;
}
.fixed-row {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.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: #60758a; font-weight: 900; }
.leasing-card small { color: #60758a; 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: #dceaf6; stroke: #9cb8cf; stroke-width: 4; vector-effect: non-scaling-stroke; }
.kaz-map text {
  fill: #1c2b3a;
  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(241,143,27,.28);
}
.pin::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: rgba(241,143,27,.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: #163760;
  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: #e8f2fa;
  border: 2px solid transparent;
  border-radius: 16px;
}
.city-grid button:hover { border-color: #9fc2df; background: #edf6fd; }
.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(241,143,27,.18), transparent 34%), linear-gradient(135deg, #163760, #1c2b3a);
}
.cta .kicker { color: #f18f1b; }
.cta p { color: #d9e8f4; 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: #60758a; font-weight: 800; }
.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px !important;
  font-weight: 800;
}
.form-status-success {
  color: #166534 !important;
  background: #dcfce7;
}
.form-status-error {
  color: #991b1b !important;
  background: #fee2e2;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}
.lead-modal.is-open { display: grid; }
.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(22, 55, 96, .64);
  backdrop-filter: blur(10px);
}
.lead-modal-panel {
  position: relative;
  width: min(100%, 520px);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 34px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(22, 55, 96, .28);
}
.lead-modal-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 44px);
}
.lead-modal-text {
  margin-bottom: 22px;
  color: var(--muted);
}
.lead-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #1c2b3a;
  font-weight: 900;
  cursor: pointer;
}
.lead-modal-form {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
body.lead-modal-open { overflow: hidden; }

.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; }
.footer-icon-link {
  display: flex !important;
  align-items: center;
  gap: 9px;
}
.footer-icon-link::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--footer-icon) center / contain no-repeat;
  mask: var(--footer-icon) center / contain no-repeat;
}
.footer-icon-phone {
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.5 3 3.9 5.4 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.6.6 4 .6.7 0 1.2.5 1.2 1.2v3.5c0 .7-.5 1.2-1.2 1.2C10.7 21.9 2.1 13.3 2.1 3.4c0-.7.5-1.2 1.2-1.2h3.5c.7 0 1.2.5 1.2 1.2 0 1.4.2 2.8.6 4 .1.4 0 .8-.3 1.2l-1.7 2.2Z'/%3E%3C/svg%3E");
}
.footer-icon-mail {
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2Zm8 8.1L4 8.2V17h16V8.2l-8 4.9Zm0-2.3L19.4 7H4.6l7.4 3.8Z'/%3E%3C/svg%3E");
}
.footer-icon-whatsapp::before { background: #25d366; }
.footer-icon-whatsapp {
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M16 3C8.8 3 3 8.7 3 15.8c0 2.3.6 4.5 1.7 6.4L3.1 29l7-1.8c1.8 1 3.8 1.5 5.9 1.5 7.2 0 13-5.7 13-12.8S23.2 3 16 3Zm0 23.4c-1.9 0-3.6-.5-5.2-1.4l-.4-.2-4.1 1.1 1.1-4-.3-.4c-1-1.7-1.6-3.6-1.6-5.6C5.5 10 10.2 5.3 16 5.3S26.5 10 26.5 15.8 21.8 26.4 16 26.4Zm5.8-7.9c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.2-.2.3-.8 1-.9 1.2-.2.2-.3.2-.6.1-.3-.2-1.3-.5-2.5-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6l.5-.6c.2-.2.2-.3.3-.5.1-.2 0-.4 0-.6-.1-.2-.7-1.7-1-2.3-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.1 1.1-1.1 2.7s1.2 3.1 1.3 3.3c.2.2 2.3 3.5 5.6 4.9.8.3 1.4.5 1.9.7.8.2 1.5.2 2 .1.6-.1 1.9-.8 2.1-1.5.3-.7.3-1.4.2-1.5-.1-.1-.3-.2-.6-.4Z'/%3E%3C/svg%3E");
}
.footer-icon-telegram::before { background: #229ed9; }
.footer-icon-telegram {
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M28.7 5.1c.4-.2.9.1.8.6l-4.1 20.1c-.1.7-.9 1-1.5.6l-6.3-4.6-3.2 3.1c-.4.4-1 .2-1-.4l-.2-5.4 9.9-9c.4-.4-.1-1-.6-.7L10.4 17l-5.2-1.6c-.8-.2-.8-1.3 0-1.6L28.7 5.1Z'/%3E%3C/svg%3E");
}
.footer-icon-instagram::before { background: #e1306c; }
.footer-icon-instagram {
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M10.2 3h11.6C25.8 3 29 6.2 29 10.2v11.6c0 4-3.2 7.2-7.2 7.2H10.2C6.2 29 3 25.8 3 21.8V10.2C3 6.2 6.2 3 10.2 3Zm0 2.4c-2.7 0-4.8 2.1-4.8 4.8v11.6c0 2.7 2.1 4.8 4.8 4.8h11.6c2.7 0 4.8-2.1 4.8-4.8V10.2c0-2.7-2.1-4.8-4.8-4.8H10.2ZM16 9.4a6.6 6.6 0 1 1 0 13.2 6.6 6.6 0 0 1 0-13.2Zm0 2.4a4.2 4.2 0 1 0 0 8.4 4.2 4.2 0 0 0 0-8.4Zm6.9-3.2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z'/%3E%3C/svg%3E");
}
.footer-credit {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #9ca3af;
  font-size: 14px;
}
.footer-credit a {
  display: inline;
  margin-top: 0;
  color: #fff;
  font-weight: 900;
}
.page-hero { padding: 128px 0 90px; background: linear-gradient(135deg, #e8f2fa, #fff); }
.page-hero h1 { max-width: 900px; }
.catalog-page-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 86px;
  background:
    radial-gradient(circle at 82% 46%, rgba(241, 143, 27, .11), transparent 32%),
    linear-gradient(135deg, #eef5fb 0%, #fff 54%, #e4eff8 100%);
}
.catalog-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(238,245,251,.98), rgba(238,245,251,.82) 48%, rgba(238,245,251,.38)),
    linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.78));
  pointer-events: none;
}
.catalog-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 56px;
  align-items: center;
}
.catalog-hero-media {
  position: relative;
  min-height: 360px;
}
.catalog-hero-media::before {
  content: "";
  position: absolute;
  inset: 28px 16px 20px auto;
  width: 82%;
  border-radius: 999px;
  background: rgba(22, 55, 96, .06);
  filter: blur(24px);
}
.catalog-hero-media img {
  position: absolute;
  display: block;
  width: 82%;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(22, 55, 96, .16);
  object-fit: cover;
}
.catalog-hero-main {
  right: 0;
  top: 16px;
  aspect-ratio: 4 / 3;
}
.catalog-hero-side {
  left: 0;
  bottom: 6px;
  width: 54% !important;
  aspect-ratio: 4 / 3;
  border: 6px solid rgba(255,255,255,.86);
}
.contacts-hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(241,143,27,.12), transparent 34%),
    linear-gradient(135deg, #e8f2fa, #fff);
}
.contact-section { background: linear-gradient(180deg, #fff 0%, #e8f2fa 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;
  align-self: start;
  display: block;
}
.map-embed-card iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}
.office-map-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(29deg, transparent 47%, rgba(159,194,223,.82) 48%, rgba(159,194,223,.82) 52%, transparent 53%),
    linear-gradient(118deg, transparent 42%, rgba(200,218,233,.92) 43%, rgba(200,218,233,.92) 48%, transparent 49%),
    linear-gradient(0deg, rgba(255,255,255,.7), rgba(255,255,255,.7)),
    repeating-linear-gradient(0deg, #eef5fb 0 44px, #dceaf6 45px 46px),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(200,218,233,.7) 55px 56px);
}
.office-map-visual::before {
  content: "";
  position: absolute;
  inset: 13% 9%;
  border: 2px solid rgba(96,117,138,.45);
  border-radius: 32px;
  background: rgba(255,255,255,.34);
}
.road {
  position: absolute;
  color: #60758a;
  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: #163760;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 34px rgba(22,55,96,.25);
}
.map-pin-office::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: #163760;
}
.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(241,143,27,.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;
  }
  .catalog-sticky-nav { top: 72px; }
  .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); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 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, #e8f2fa 0%, #dceaf6 45%, #fff 100%);
  }
  .hero-bg {
    inset: 0;
    height: auto;
    overflow: hidden;
  }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(238,245,251,.94), rgba(238,245,251,.74) 52%, rgba(238,245,251,.34)),
      linear-gradient(180deg, rgba(238,245,251,.48), rgba(238,245,251,.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; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: auto; }
  .catalog-sticky-nav .container {
    width: 100%;
    padding: 10px 14px;
  }
  .catalog-nav-pills {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .catalog-nav-pills::-webkit-scrollbar { display: none; }
  .catalog-nav-pills a {
    flex: 0 0 auto;
    min-height: 38px;
    justify-content: center;
    padding: 8px 13px;
    font-size: 13px;
  }
  .catalog-directory { scroll-margin-top: 142px; }
  .catalog-page-hero { padding: 76px 0 58px; }
  .catalog-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .catalog-hero-media {
    min-height: 230px;
    margin-top: 4px;
  }
  .catalog-hero-media img { box-shadow: 0 18px 42px rgba(22,55,96,.14); }
  .catalog-hero-main { width: 86%; right: -4%; top: 0; }
  .catalog-hero-side { width: 50% !important; left: 0; bottom: 0; }
  .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(22,55,96,.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: 0; }
  .map-embed-card iframe { height: 320px; }
  .office-map-visual { min-height: 360px; }
}

/* =========================================================
   SHANNXI Graphite Industrial palette — visual-only update
   Structure, dimensions, content, PHP and JavaScript behavior
   remain unchanged.
   ========================================================= */

:root {
  --orange: #f18f1b;
  --orange-dark: #d97a0d;
  --primary: #4d83b3;
  --primary-dark: #0d1822;
  --primary-light: #263746;
  --dark: #f7f9fb;
  --muted: #aeb9c4;
  --line: #3b4956;
  --line-light: #2c3945;
  --soft: #11171e;
  --soft-alt: #17212b;
  --card: #1c2631;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --shadow-hover: 0 28px 78px rgba(0, 0, 0, .40);
  --industrial-lines: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, .026) 0,
    rgba(255, 255, 255, .026) 1px,
    transparent 1px,
    transparent 52px
  );
}

body {
  color: var(--dark);
  background-color: #11171e;
  background-image: var(--industrial-lines);
}

.topbar,
.catalog-sticky-nav {
  background: rgba(17, 23, 30, .95);
  border-color: rgba(82, 98, 112, .48);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
}

.brand strong,
.phone,
.contact-list a,
.contact-list strong {
  color: #f7f9fb;
}

.brand small { color: #9aa8b5; }
.nav { color: #d1d9e0; }
.nav a:hover,
.phone:hover { color: var(--orange); }
.menu-toggle span { background: #f7f9fb; }

.hero,
.page-hero,
.catalog-page-hero,
.contacts-hero {
  color: #f7f9fb;
  background-color: #11171e;
  background-image:
    radial-gradient(circle at 82% 28%, rgba(55, 116, 170, .24), transparent 35%),
    radial-gradient(circle at 12% 84%, rgba(241, 143, 27, .08), transparent 30%),
    var(--industrial-lines),
    linear-gradient(135deg, #11171e 0%, #172431 58%, #11171e 100%);
}

.hero-bg::after {
  /* Keep the copy readable on the left without darkening the truck on the right. */
  background: linear-gradient(
    90deg,
    rgba(17, 23, 30, .94) 0%,
    rgba(17, 23, 30, .72) 36%,
    rgba(17, 23, 30, .16) 64%,
    rgba(17, 23, 30, .02) 100%
  );
}

.hero-bg img {
  opacity: .96;
  filter: saturate(.98) contrast(1.02) brightness(1.02);
}

.catalog-page-hero::before {
  background:
    linear-gradient(90deg, rgba(17,23,30,.98), rgba(17,23,30,.86) 48%, rgba(17,23,30,.44)),
    linear-gradient(180deg, rgba(17,23,30,.08), rgba(17,23,30,.50));
}

.catalog-hero-media::before {
  background: rgba(77, 131, 179, .18);
}

.catalog-hero-media img {
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
}

h1,
h2,
h3,
.section-title h2,
.category-card h3,
.product-card h3,
.leasing-card h3,
.contact-panel h2,
.lead-modal-panel h2 {
  color: #f7f9fb;
}

.lead,
.muted,
.section-title p,
.category-card p,
.product-body dl,
.city-grid span,
.contact-note,
.lead-modal-text,
dt,
.compare-selects label,
.range-row label,
.leasing-card p,
.leasing-card small {
  color: var(--muted);
}

.benefits,
.compare,
.catalog-directory,
.contact-section {
  background-color: #11171e;
  background-image: var(--industrial-lines);
}

.catalog,
.leasing,
.catalog-directory.alt {
  background-color: #17212b;
  background-image:
    radial-gradient(circle at 85% 12%, rgba(77, 131, 179, .09), transparent 28%),
    var(--industrial-lines);
}

.benefit-grid article,
.product-card,
.category-card,
.table-card,
.fixed-row,
.leasing-card,
.map-card,
.lead-form,
.lead-modal-panel,
.contact-panel,
.map-embed-card,
select,
input[type="text"],
input[type="tel"],
input[type="number"] {
  color: #f7f9fb;
  background-color: var(--card);
  border-color: var(--line);
}

.benefit-grid article,
.product-card,
.category-card,
.table-card,
.leasing-card,
.map-card,
.contact-panel,
.map-embed-card,
.lead-modal-panel {
  box-shadow: var(--shadow);
}

.product-card:hover,
.category-card:hover,
.benefit-grid article:hover {
  border-color: #536473;
  box-shadow: var(--shadow-hover);
}

.category-card {
  background-image: linear-gradient(135deg, rgba(77, 131, 179, .10), transparent 38%);
}

.category-image,
.category-gallery,
.catalog-directory .category-card > .category-image,
.catalog-directory .category-gallery {
  background-color: #131b23;
}

.product-body strong,
.tag,
.price-line strong,
.range-row output,
.leasing-card > strong {
  color: var(--orange);
}

.product-body dd,
.leasing-card dd,
.city-grid strong {
  color: #f7f9fb;
}

.btn-card {
  color: #f6aa4f;
  background: rgba(241,143,27,.08);
  border-color: rgba(241,143,27,.68);
}

.btn-card:hover {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.btn-ghost {
  color: #f7f9fb;
  background: #202c37;
  border-color: #4a5967;
}

.btn-ghost:hover {
  background: #293744;
  border-color: #667785;
}

/* Make the separate catalog link visibly interactive. */
.catalog-link a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--orange);
  border-radius: 14px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(241,143,27,.25);
  font-weight: 900;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.catalog-link a::after {
  content: "→";
  font-size: 20px;
  line-height: 1;
}

.catalog-link a:hover {
  color: #fff;
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 18px 36px rgba(241,143,27,.34);
  transform: translateY(-2px);
}

.catalog-nav-pills a {
  color: #dce3e9;
  background: #1c2631;
  border-color: #3b4956;
}

.catalog-nav-pills a:hover {
  color: #fff;
  background: #263542;
  border-color: #596b7a;
}

select,
input[type="text"],
input[type="tel"],
input[type="number"] {
  color-scheme: dark;
}

select option {
  color: #f7f9fb;
  background: #1c2631;
}

input::placeholder { color: #8493a0; }

select:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(241, 143, 27, .14);
  outline-offset: 0;
}

/* Clear desktop separation between comparison columns and rows. */
.table-card {
  overflow-x: auto;
  border: 1px solid #465563;
  border-radius: 28px;
}

.table-card table {
  border-collapse: separate;
  border-spacing: 0;
  color: #eef2f5;
}

.table-card th,
.table-card td {
  border-right: 1px solid #465563;
  border-bottom: 1px solid #465563;
}

.table-card tr > *:last-child { border-right: 0; }
.table-card tbody tr:last-child > * { border-bottom: 0; }

.table-card thead th,
.table-card tbody th {
  color: #f7f9fb;
  background: #24313d;
}

.table-card tbody td {
  background: #1c2631;
}

.table-card tbody tr:nth-child(even) td {
  background: #19232d;
}

.city-grid button {
  color: #f7f9fb;
  background: #1c2631;
  border-color: #35424f;
}

.city-grid button:hover {
  color: #fff;
  background: #263542;
  border-color: #5a6d7c;
}

.map-card {
  background: rgba(28,38,49,.94);
  border-color: #3b4956;
}

.kaz-map path {
  fill: #263542;
  stroke: #607384;
}

.kaz-map text {
  fill: #f7f9fb;
  stroke: #11171e;
}

.map-actions { border-color: #3b4956; }

.lead-modal-backdrop {
  background: rgba(5, 9, 13, .78);
}

.lead-modal-close {
  color: #f7f9fb;
  background: #26323e;
  border-color: #485866;
}

.office-map-visual {
  background:
    linear-gradient(29deg, transparent 47%, rgba(82,103,120,.72) 48%, rgba(82,103,120,.72) 52%, transparent 53%),
    linear-gradient(118deg, transparent 42%, rgba(55,70,82,.94) 43%, rgba(55,70,82,.94) 48%, transparent 49%),
    linear-gradient(0deg, rgba(17,23,30,.18), rgba(17,23,30,.18)),
    repeating-linear-gradient(0deg, #151e27 0 44px, #263440 45px 46px),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(59,73,86,.75) 55px 56px);
}

.office-map-visual::before {
  border-color: rgba(132,147,160,.42);
  background: rgba(28,38,49,.36);
}

.road { color: #9eacb8; }
.map-pin-office,
.map-pin-office::after,
.pin::after { background: #24313d; }

/* Preserve the original consultation block palette. */
.cta {
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(249,115,22,.18), transparent 34%),
    linear-gradient(135deg, #111827, #1f2937);
}

.cta h2 { color: #fff; }
.cta .kicker { color: #fb923c; }
.cta p { color: #d1d5db; }

.cta .lead-form {
  color: #111827;
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

.cta .lead-form label { color: #6b7280; }

.cta .lead-form select,
.cta .lead-form input[type="text"],
.cta .lead-form input[type="tel"],
.cta .lead-form input[type="number"] {
  color: #111827;
  color-scheme: light;
  background: #fff;
  border-color: #e5e7eb;
}

.cta .lead-form select option {
  color: #111827;
  background: #fff;
}

.cta .lead-form input::placeholder { color: #6b7280; }

.cta .lead-form select:focus,
.cta .lead-form input[type="text"]:focus,
.cta .lead-form input[type="tel"]:focus,
.cta .lead-form input[type="number"]:focus {
  border-color: #f97316;
  outline: 3px solid rgba(249, 115, 22, .12);
}

.cta .btn-solid {
  color: #fff;
  background: #f97316;
  box-shadow: 0 12px 24px rgba(249,115,22,.24);
}

.cta .btn-solid:hover { background: #ea580c; }

/* Preserve the original footer palette. */
.footer {
  color: #fff;
  background: #111827;
  border-top-color: #1f2937;
}

.footer p { color: #9ca3af; }
.footer a { color: #d1d5db; }
.footer a:hover { color: var(--orange); }
.footer-credit { color: #9ca3af; }
.footer-credit a { color: #fff; }

@media (max-width: 680px) {
  .hero {
    min-height: calc(100svh - 72px);
    align-items: center;
    background-color: #11171e;
    background-image:
      radial-gradient(circle at 82% 28%, rgba(55,116,170,.24), transparent 35%),
      radial-gradient(circle at 12% 84%, rgba(241,143,27,.08), transparent 30%),
      var(--industrial-lines),
      linear-gradient(135deg, #11171e 0%, #172431 58%, #11171e 100%);
  }

  .hero-bg {
    inset: 0;
    height: 100%;
    overflow: hidden;
  }

  .hero-bg::after {
    background: linear-gradient(
      90deg,
      rgba(17, 23, 30, .94) 0%,
      rgba(17, 23, 30, .72) 36%,
      rgba(17, 23, 30, .16) 64%,
      rgba(17, 23, 30, .02) 100%
    );
  }

  .hero-bg img {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
    opacity: .96;
    filter: saturate(.98) contrast(1.02) brightness(1.02);
  }

  .catalog-link a {
    width: min(100%, 360px);
  }

  /* Rounded mobile comparison cards, including the colored heading strip. */
  .table-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .table-card tbody {
    gap: 16px;
  }

  .table-card tbody tr {
    overflow: hidden;
    padding: 0;
    border: 1px solid #465563;
    border-radius: 24px;
    background: #1c2631;
    box-shadow: 0 16px 34px rgba(0,0,0,.24);
  }

  .table-card tbody th {
    margin: 0;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid #465563;
    border-radius: 23px 23px 0 0;
    background: #24313d;
    font-size: 18px;
  }

  .table-card tbody td {
    padding: 15px 20px;
    border-right: 0;
    border-bottom: 1px solid #35424f;
    background: #1c2631;
  }

  .table-card tbody tr:nth-child(even) td {
    background: #1c2631;
  }

  .table-card tbody td:last-child {
    padding-bottom: 18px;
    border-bottom: 0;
  }

  .table-card tbody td::before {
    color: #9eacb8 !important;
  }
}

/* Mobile hero 1.2.3: portrait source keeps the complete truck visible without the landscape crop. */
@media (max-width: 680px) {
  .hero {
    min-height: calc(100svh - 72px);
  }

  .hero-bg,
  .hero-bg picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .hero-bg::after {
    /* Lighter mobile treatment: no heavy vertical black overlay. */
    background: linear-gradient(
      180deg,
      rgba(17, 23, 30, .48) 0%,
      rgba(17, 23, 30, .18) 46%,
      rgba(17, 23, 30, .06) 100%
    );
  }

  .hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: .98;
    filter: saturate(1) contrast(1.02) brightness(1.02);
    transform: none;
  }
}

/* Mobile hero 1.2.4: clean portrait image, readable copy, and no duplicated top panel. */
@media (max-width: 680px) {
  .topbar {
    border-bottom-color: rgba(82, 98, 112, .28);
    box-shadow: none;
  }

  .hero {
    min-height: calc(100svh - 72px);
    border-top: 0;
  }

  .hero-grid {
    z-index: 2;
    padding-top: 58px;
  }

  .hero-bg::after {
    /* Only a light readability veil; the photo itself is no longer duplicated or heavily darkened. */
    background:
      linear-gradient(90deg, rgba(17,23,30,.30) 0%, rgba(17,23,30,.12) 72%, rgba(17,23,30,.04) 100%),
      linear-gradient(180deg, rgba(17,23,30,.12) 0%, rgba(17,23,30,.02) 58%, rgba(17,23,30,.16) 100%);
  }

  .hero-bg img {
    object-position: center center;
    opacity: 1;
    filter: saturate(1.02) contrast(1.03) brightness(1.03);
  }

  .hero-copy,
  .hero-copy h1,
  .hero-copy .kicker,
  .hero-copy .lead,
  .hero-copy .price-line,
  .hero-copy .hero-buttons {
    position: relative;
    z-index: 2;
  }

  .hero-copy h1,
  .hero-copy .kicker,
  .hero-copy .lead,
  .hero-copy .price-line small,
  .hero-copy .price-line strong {
    text-shadow: 0 2px 5px rgba(0,0,0,.92), 0 8px 24px rgba(0,0,0,.62);
  }

  .hero-copy .lead {
    color: #f7f9fb !important;
    font-weight: 650;
    line-height: 1.5;
  }

  .hero-copy .price-line small {
    color: #edf2f6;
  }
}
