:root {
  --bg: #020813;
  --bg-2: #030c19;
  --panel: rgba(7, 18, 34, 0.76);
  --panel-2: rgba(8, 23, 43, 0.9);
  --stroke: rgba(36, 130, 255, 0.24);
  --stroke-strong: rgba(32, 144, 255, 0.56);
  --blue: #0b87ff;
  --blue-2: #1da2ff;
  --cyan: #3bd1ff;
  --text: #f3f7ff;
  --muted: #9baec8;
  --muted-2: #61728a;
  --green: #6ad72d;
  --red: #ff667a;
  --radius: 18px;
  --shadow: 0 18px 80px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 8%, rgba(0, 121, 255, 0.18), transparent 34%),
    radial-gradient(circle at 10% 45%, rgba(0, 114, 255, 0.09), transparent 28%),
    linear-gradient(180deg, #02070f 0%, #020814 42%, #030913 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(45, 139, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 139, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.055), transparent 26%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.page-main { padding-top: 82px; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(2, 8, 18, 0.76);
  border-bottom: 1px solid rgba(27, 104, 189, 0.2);
}
.header__inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  min-width: 154px;
  display: grid;
  gap: 1px;
  letter-spacing: -0.07em;
  line-height: 0.83;
  filter: drop-shadow(0 0 16px rgba(0, 127, 255, .45));
}
.logo__main {
  font-size: 31px;
  font-weight: 900;
  color: #108dff;
}
.logo__sub {
  color: #58b8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.45em;
  padding-left: 48px;
  line-height: 1;
}
.nav {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 6px;
}
.nav a {
  color: rgba(242,247,255,0.82);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 17px;
  border-radius: 12px;
  transition: .2s ease;
}
.nav a:hover, .nav a.active {
  color: white;
  background: rgba(12, 130, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(29, 145, 255, .28);
}
.header__actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu { display: none; }

.btn {
  border: 0;
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, #096dff, #0a8dff 56%, #1cc5ff);
  box-shadow: 0 16px 36px rgba(0, 105, 255, 0.32), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--primary:hover { box-shadow: 0 22px 48px rgba(0, 105, 255, 0.42), inset 0 1px 0 rgba(255,255,255,.24); }
.btn--ghost {
  background: rgba(3, 13, 27, 0.72);
  border: 1px solid rgba(33, 125, 216, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.btn--ghost:hover { background: rgba(16, 104, 201, 0.12); border-color: rgba(36, 155, 255, .65); }
.btn--small { min-height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn svg { width: 18px; height: 18px; }

.cart-button {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(33, 125, 216, 0.42);
  background: rgba(3, 13, 27, 0.72);
  color: #7bc7ff;
  cursor: pointer;
}
.cart-button:hover { border-color: rgba(42, 162, 255, .72); }
.cart-button__count {
  position: absolute;
  right: -7px;
  top: -8px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #0b8cff;
  color: white;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(0,136,255,.7);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 34px;
  border-bottom: 1px solid rgba(33, 125, 216, 0.17);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 17, .98) 0%, rgba(2, 8, 17, .9) 42%, rgba(2, 8, 17, .4) 72%, rgba(2, 8, 17, .8) 100%),
    radial-gradient(circle at 74% 52%, rgba(0, 139, 255, .22), transparent 34%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 36px;
  min-height: 440px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8ad2ff;
  background: rgba(0, 135, 255, .1);
  border: 1px solid rgba(50, 159, 255, .22);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px rgba(106,215,45,.85); }
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 600;
  max-width: 760px;
}
.hero p, .page-hero p {
  color: #b9c8dd;
  font-size: 19px;
  line-height: 1.55;
  max-width: 650px;
  margin: 24px 0 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 26px; }
.search-box {
  width: min(520px, 100%);
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 12px;
  background: rgba(5, 15, 29, .82);
  border: 1px solid rgba(38, 119, 206, 0.42);
  box-shadow: inset 0 0 30px rgba(11, 135, 255, .04);
}
.search-box input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: white;
  min-width: 0;
}
.search-box input::placeholder { color: #7f91aa; }
.search-box button {
  border: 0;
  width: 38px;
  height: 38px;
  background: transparent;
  color: #b5d7ff;
  cursor: pointer;
}
.hero__visual { position: relative; height: 420px; }
.car-scene {
  position: absolute;
  inset: 16px -40px 16px -60px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 52% 70%, rgba(0, 115, 255, 0.28), transparent 45%),
    linear-gradient(180deg, rgba(5, 14, 28, 0.1), rgba(0,0,0,.2));
  overflow: hidden;
}
.car-scene::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 2%;
  bottom: 12%;
  height: 54%;
  background:
    radial-gradient(ellipse at 20% 66%, rgba(0, 136, 255, .36) 0 4%, transparent 5%),
    radial-gradient(ellipse at 32% 50%, rgba(53, 157, 255, .2) 0 5%, transparent 6%),
    linear-gradient(120deg, transparent 0 12%, rgba(12, 35, 68, .72) 13% 34%, rgba(2, 6, 13, .95) 35% 70%, transparent 71%),
    linear-gradient(8deg, transparent 0 9%, rgba(3, 11, 23, .94) 10% 56%, transparent 58%);
  border: 1px solid rgba(38, 147, 255, .34);
  border-left: 0;
  border-right: 0;
  transform: perspective(480px) rotateY(-10deg) skewX(-7deg);
  filter: drop-shadow(0 0 34px rgba(2, 117, 255, .34));
  opacity: .9;
  clip-path: polygon(4% 58%, 17% 31%, 37% 13%, 76% 8%, 94% 28%, 100% 69%, 91% 88%, 23% 91%);
}
.car-scene::after {
  content: "";
  position: absolute;
  left: 14%;
  bottom: 18%;
  width: 220px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #16a6ff 18%, #7ae6ff 46%, #0b76ff 78%, transparent);
  box-shadow: 0 0 24px #0a8dff, 0 0 62px rgba(0,141,255,.75);
  transform: skewX(16deg);
}
.road-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(90deg, transparent, rgba(0, 119, 255, .18), transparent), linear-gradient(180deg, transparent, rgba(31,139,255,.08));
  filter: blur(3px);
}
.tech-card {
  position: absolute;
  right: 0;
  top: 14px;
  width: 312px;
  padding: 20px 22px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(6, 15, 29, .92), rgba(4, 12, 23, .86));
  border: 1px solid rgba(26, 147, 255, .78);
  box-shadow: 0 0 0 1px rgba(58, 181, 255, .1) inset, 0 0 38px rgba(4, 119, 255, .26);
}
.tech-card__row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(82, 139, 203, 0.18);
}
.tech-card__row:last-child { border-bottom: 0; }
.tech-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #1eb2ff;
  background: rgba(8, 129, 255, .09);
  border: 1px solid rgba(33, 157, 255, .38);
}
.tech-card small { color: #8b9bb1; display: block; margin-bottom: 4px; }
.tech-card strong { font-size: 16px; }
.tech-card .stock { color: #9efb62; display: inline-flex; align-items: center; gap: 8px; }
.stock-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px rgba(106,215,45,.9); }

.section { padding: 34px 0; }
.section--topless { padding-top: 0; }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.section__title { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.04em; font-weight: 600; }
.section__subtitle { color: var(--muted); max-width: 640px; margin: 10px 0 0; line-height: 1.6; }
.api-note {
  color: #8190a5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.api-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(110, 129, 153, .72); }

.advantages {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(36, 130, 255, 0.24);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(6, 17, 32, .78);
  box-shadow: var(--shadow);
}
.advantage {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-right: 1px solid rgba(36, 130, 255, 0.16);
}
.advantage:last-child { border-right: 0; }
.advantage svg, .service-card svg, .category-card svg, .step svg, .contact-row svg, .value-card svg {
  width: 32px;
  height: 32px;
  color: #4db6ff;
  filter: drop-shadow(0 0 12px rgba(2, 136, 255, .3));
  flex: 0 0 auto;
}
.advantage strong { display: block; font-size: 14px; line-height: 1.35; }

.grid { display: grid; gap: 14px; }
.grid--categories { grid-template-columns: repeat(4, 1fr); }
.grid--products { grid-template-columns: repeat(3, 1fr); }
.grid--services { grid-template-columns: repeat(3, 1fr); }
.grid--two { grid-template-columns: 1.1fr .9fr; }
.card,
.category-card,
.product-card,
.service-card,
.value-card,
.contact-card,
.form-card,
.info-panel {
  background: linear-gradient(180deg, rgba(8, 23, 43, .84), rgba(4, 13, 25, .72));
  border: 1px solid rgba(36, 130, 255, 0.24);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.category-card, .service-card, .value-card {
  padding: 22px;
  min-height: 148px;
  position: relative;
  overflow: hidden;
}
.category-card::after, .service-card::after, .value-card::after, .info-panel::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -50px;
  bottom: -58px;
  background: radial-gradient(circle, rgba(0, 137, 255, .18), transparent 68%);
}
.category-card h3, .service-card h3, .value-card h3 { margin: 14px 0 8px; font-size: 18px; letter-spacing: -0.02em; }
.category-card p, .service-card p, .value-card p, .product-card p { color: var(--muted); margin: 0; line-height: 1.5; font-size: 14px; }
.category-card:hover, .product-card:hover, .service-card:hover {
  border-color: rgba(34, 151, 255, .64);
  box-shadow: 0 18px 60px rgba(0,0,0,.28), 0 0 32px rgba(0, 117, 255, .09), inset 0 1px 0 rgba(255,255,255,.05);
}

.product-card {
  padding: 18px;
  display: grid;
  gap: 15px;
}
.product-card__top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.product-card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.product-meta { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.product-meta span { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px dashed rgba(95, 135, 182, .16); padding-bottom: 6px; }
.product-meta b { color: #dfe9f7; font-weight: 700; }
.availability { color: #9cec66; display: inline-flex; gap: 8px; align-items: center; font-weight: 800; }
.availability::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.price { font-size: 21px; font-weight: 900; }
.product-note { font-size: 12px; color: #708096; }
.product-card__bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: stretch;
}
.step {
  position: relative;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(36, 130, 255, 0.24);
  border-radius: 16px;
  background: rgba(6, 17, 32, .72);
}
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: #1da2ff;
  z-index: 2;
}
.step span { color: #4baaff; font-weight: 900; font-size: 13px; }
.step h3 { margin: 16px 0 0; font-size: 16px; line-height: 1.35; }

.tech-banner {
  position: relative;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(36, 130, 255, .28);
  background:
    linear-gradient(120deg, rgba(5, 17, 33, .95), rgba(3, 13, 25, .78)),
    radial-gradient(circle at 80% 50%, rgba(0, 132, 255, .25), transparent 32%);
  box-shadow: var(--shadow);
}
.tech-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0 48%, rgba(25, 145, 255, .12) 50%, transparent 52%),
    linear-gradient(rgba(62, 163, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 163, 255, .04) 1px, transparent 1px);
  background-size: 160px 100%, 38px 38px, 38px 38px;
  opacity: .85;
}
.tech-banner > * { position: relative; }
.tech-banner h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 600; }
.tech-banner p { color: #b5c5da; line-height: 1.7; max-width: 700px; }
.catalog-preview {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(41, 153, 255, .42);
  border-radius: 16px;
  background: rgba(2, 9, 18, .68);
  box-shadow: 0 0 40px rgba(0, 127, 255, .12);
}
.preview-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 13px 12px;
  border-radius: 12px;
  background: rgba(11, 29, 52, .7);
  border: 1px solid rgba(70, 130, 190, .16);
  color: #c8d7e9;
  font-size: 14px;
}
.preview-line b { color: white; }
.preview-line small { color: #7d8da4; }

.page-hero {
  padding: 74px 0 34px;
  border-bottom: 1px solid rgba(33, 125, 216, 0.17);
  background:
    linear-gradient(90deg, rgba(2,8,17,.98), rgba(2,8,17,.82)),
    radial-gradient(circle at 76% 44%, rgba(0, 130, 255, .22), transparent 36%);
}
.breadcrumbs { color: #78bdf1; font-size: 13px; margin-bottom: 16px; }
.breadcrumbs a { color: #78bdf1; }

.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; }
.catalog-layout > * { min-width: 0; }
.filters {
  position: sticky;
  top: 102px;
  align-self: start;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(36, 130, 255, 0.24);
  background: rgba(6, 17, 32, .78);
}
.filters h3 { margin: 0 0 16px; }
.filter-group { display: grid; gap: 10px; margin-bottom: 18px; }
.filter-group label { color: #a9b8cb; font-size: 13px; }
.input, .textarea, .select {
  width: 100%;
  color: white;
  background: rgba(2, 10, 20, .72);
  border: 1px solid rgba(48, 125, 205, .38);
  border-radius: 12px;
  outline: 0;
  min-height: 48px;
  padding: 0 14px;
}
.textarea { padding: 14px; min-height: 116px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(41, 160, 255, .72); box-shadow: 0 0 0 4px rgba(0, 132, 255, .1); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid rgba(43, 132, 221, .34);
  background: rgba(8, 25, 46, .8);
  color: #b9c8db;
  border-radius: 999px;
  padding: 10px 13px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.chip.active { color: white; border-color: rgba(34, 155, 255, .72); background: rgba(8, 113, 255, .2); }
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.catalog-count { color: var(--muted); font-size: 14px; }

.table-card { overflow: hidden; border-radius: 16px; border: 1px solid rgba(36, 130, 255, 0.24); background: rgba(6,17,32,.78); }
.product-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.product-table th, .product-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(67, 119, 178, .15); vertical-align: middle; }
.product-table th { color: #8ea0b7; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.product-table tr:last-child td { border-bottom: 0; }
.product-table td { color: #e7eef8; }
.product-table .muted { color: #8fa2ba; }
.product-table .catalog-row { cursor: pointer; }
.product-table .catalog-row:hover { background: rgba(10, 26, 49, .82); }
.product-table .catalog-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-height: 2.8em;
}
.product-table td:first-child, .product-table th:first-child { width: 44%; }
.product-table td:nth-child(2), .product-table th:nth-child(2) { width: 14%; }
.product-table td:nth-child(3), .product-table th:nth-child(3) { width: 16%; }
.product-table td:nth-child(4), .product-table th:nth-child(4) { width: 12%; }
.product-table td:nth-child(5), .product-table th:nth-child(5) { width: 10%; }
.product-table td:nth-child(6), .product-table th:nth-child(6) { width: 4%; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid rgba(54, 112, 176, .34); border-radius: 10px; overflow: hidden; background: rgba(2, 10, 20, .56); }
.qty-control button { width: 36px; height: 36px; border: 0; background: transparent; color: white; cursor: pointer; }
.qty-control span { min-width: 34px; text-align: center; }
.qty-control--modal { width: 160px; }
.qty-control--modal button { width: 42px; }
.input--qty { width: 72px; min-height: 36px; text-align: center; padding: 0 8px; border-radius: 0; border-left: 1px solid rgba(54, 112, 176, .34); border-right: 1px solid rgba(54, 112, 176, .34); }
.icon-btn { width: 40px; height: 40px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #0b66ff, #03a8ff); color: white; cursor: pointer; display: inline-grid; place-items: center; }

.product-modal[hidden] { display: none; }
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(8px);
}
.product-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(36, 130, 255, 0.28);
  background: linear-gradient(180deg, rgba(8, 23, 43, .98), rgba(4, 13, 25, .96));
  box-shadow: 0 28px 90px rgba(0,0,0,.6);
  padding: 26px;
}
.product-modal__close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}
.product-modal__body { display: grid; gap: 20px; }
.product-modal__content h2 { margin: 8px 0 8px; font-size: 30px; line-height: 1.12; }
.product-modal__meta { margin: 0; color: var(--muted); }
.product-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.product-modal__grid div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(5, 15, 29, .76);
  border: 1px solid rgba(36, 130, 255, 0.18);
}
.product-modal__grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.product-modal__grid strong { font-size: 18px; }
.product-modal__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.product-modal__analogs { margin-top: 18px; }
.product-modal__analogs-title { margin: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.product-modal__analogs-list { display: grid; gap: 10px; }
.product-analog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(36, 130, 255, 0.18);
  background: rgba(5, 15, 29, .76);
  color: white;
  cursor: pointer;
  text-align: left;
}
.product-analog:hover { border-color: rgba(34, 151, 255, .64); background: rgba(10, 26, 49, .88); }
.product-analog span { display: grid; gap: 4px; min-width: 0; }
.product-analog strong { font-size: 14px; line-height: 1.35; }
.product-analog small { color: var(--muted); }
.product-analog b { flex: 0 0 auto; }

.service-card__price { margin: 14px 0 16px; color: white; font-weight: 900; font-size: 21px; }
.service-card .btn { margin-top: 18px; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
}
.contact-card, .form-card, .info-panel { padding: 24px; position: relative; overflow: hidden; }
.contact-row { display: flex; align-items: flex-start; gap: 13px; padding: 14px 0; border-bottom: 1px solid rgba(67, 119, 178, .16); }
.contact-row:last-child { border-bottom: 0; }
.contact-row span { color: var(--muted); display: block; font-size: 13px; margin-bottom: 4px; }
.contact-row strong { color: white; }
.form-grid { display: grid; gap: 12px; }
.form-grid--two { grid-template-columns: 1fr 1fr; }

.values { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.footer {
  margin-top: 32px;
  border-top: 1px solid rgba(27, 104, 189, 0.2);
  background: rgba(1, 6, 13, .66);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr) 1.15fr;
  gap: 38px;
  padding: 42px 0;
}
.footer p, .footer a { color: #94a6bd; font-size: 14px; line-height: 1.6; }
.footer h4 { margin: 0 0 14px; font-size: 15px; }
.footer ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.footer__bottom { display: flex; justify-content: space-between; color: #63758e; border-top: 1px solid rgba(67,119,178,.14); padding: 18px 0; font-size: 13px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(10, 31, 55, .78); color: #7ac7ff; border: 1px solid rgba(47,126,210,.24); }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.56);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
  z-index: 90;
}
.cart-drawer {
  position: fixed;
  right: 16px;
  top: 98px;
  bottom: 16px;
  width: min(420px, calc(100% - 32px));
  background: rgba(5, 15, 29, .96);
  border: 1px solid rgba(38, 139, 255, .42);
  border-radius: 18px;
  z-index: 100;
  box-shadow: 0 28px 90px rgba(0,0,0,.62), 0 0 38px rgba(0, 115, 255, .12);
  transform: translateX(calc(100% + 40px));
  transition: .28s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }
body.cart-open .cart-drawer { transform: translateX(0); }
body.modal-open { overflow: hidden; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid rgba(67, 119, 178, .16); }
.cart-drawer__head h2 { margin: 0; font-size: 24px; }
.close-cart { border: 0; background: transparent; color: white; font-size: 26px; cursor: pointer; }
.cart-items { padding: 4px 20px; overflow: auto; flex: 1; }
.cart-item { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid rgba(67, 119, 178, .15); }
.cart-item__top { display: flex; justify-content: space-between; gap: 18px; }
.cart-item h3 { margin: 0 0 5px; font-size: 16px; }
.cart-item small { color: var(--muted); }
.cart-item__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-item .price { font-size: 17px; }
.cart-remove { border: 0; background: transparent; color: #8da2bc; font-size: 21px; cursor: pointer; }
.cart-drawer__foot { padding: 20px; border-top: 1px solid rgba(67, 119, 178, .16); display: grid; gap: 14px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 900; font-size: 18px; }
.empty-cart { color: var(--muted); padding: 28px 0; line-height: 1.6; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 130%);
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(9, 29, 53, .95);
  color: white;
  border: 1px solid rgba(37, 151, 255, .38);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  z-index: 120;
  transition: .22s ease;
}
.toast.show { transform: translate(-50%, 0); }

.order-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
}
.order-summary,
.request-panel,
.request-dashboard,
.order-success {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(36, 130, 255, 0.24);
  background: rgba(6, 17, 32, .78);
  box-shadow: var(--shadow);
}
.order-summary__head,
.request-dashboard__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.order-summary__list {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}
.order-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(67, 119, 178, .14);
}
.order-item:last-child { border-bottom: 0; }
.order-item h3 { margin: 0 0 4px; font-size: 16px; }
.order-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.order-item__meta { display: grid; justify-items: end; gap: 4px; text-align: right; color: #dfe9f7; }
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(67, 119, 178, .14);
  font-weight: 800;
}
.request-grid { display: grid; gap: 12px; }
.request-grid--two { grid-template-columns: 1fr 1fr; }
.request-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.request-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.request-success {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(36, 130, 255, 0.24);
  background: linear-gradient(180deg, rgba(8, 23, 43, .9), rgba(4, 13, 25, .78));
}
.request-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.stat-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(36, 130, 255, 0.18);
  background: rgba(5, 15, 29, .76);
}
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.stat-card strong {
  font-size: 24px;
  letter-spacing: -0.03em;
}
.request-filters {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr auto;
  gap: 12px;
  margin-bottom: 18px;
}
.request-table {
  width: 100%;
  border-collapse: collapse;
}
.request-table th,
.request-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(67, 119, 178, .15);
  vertical-align: top;
}
.request-table th {
  color: #8ea0b7;
  font-size: 13px;
  font-weight: 800;
}
.request-table td {
  color: #edf3fb;
}
.request-table .muted {
  color: #8fa2ba;
  font-size: 13px;
  margin-top: 4px;
}
.request-table .is-new { background: rgba(11, 135, 255, .04); }
.request-table .is-progress { background: rgba(29, 162, 255, .05); }
.request-table .is-done { background: rgba(71, 198, 107, .04); }
.request-table .is-cancelled { background: rgba(255, 102, 122, .04); }
.request-status-select {
  width: 100%;
  min-width: 170px;
}
.empty-state {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(36, 130, 255, 0.24);
  border-radius: 14px;
  background: rgba(5, 15, 29, .55);
}

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 360px; }
  .advantages { grid-template-columns: repeat(3,1fr); }
  .advantage { border-bottom: 1px solid rgba(36,130,255,.16); }
  .grid--products, .grid--services { grid-template-columns: repeat(2,1fr); }
  .grid--categories, .values { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step:not(:last-child)::after { display:none; }
  .tech-banner { grid-template-columns: 1fr; }
  .catalog-layout, .split, .grid--two { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .request-stats { grid-template-columns: repeat(2, 1fr); }
  .request-filters { grid-template-columns: 1fr 1fr; }
  .request-filters .btn { grid-column: 1 / -1; }
  .filters { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .container { width: min(100% - 24px, 1180px); }
  .page-main { padding-top: 72px; }
  .header__inner { height: 72px; gap: 12px; }
  .logo { min-width: 128px; }
  .logo__main { font-size: 25px; }
  .logo__sub { font-size: 9px; padding-left: 39px; }
  .mobile-menu { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(33, 125, 216, 0.42); background: rgba(3, 13, 27, 0.72); color: white; cursor: pointer; }
  .nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    padding: 12px;
    border-radius: 16px;
    background: rgba(3, 12, 24, .97);
    border: 1px solid rgba(36, 130, 255, 0.24);
    box-shadow: var(--shadow);
  }
  body.nav-open .nav { display: flex; }
  .header__actions .btn { display: none; }
  .hero { padding-top: 38px; }
  .hero__visual { height: 300px; }
  .tech-card { right: 0; width: min(100%, 310px); }
  .advantages, .grid--products, .grid--services, .grid--categories, .values, .steps, .form-grid--two { grid-template-columns: 1fr; }
  .request-grid--two,
  .request-filters,
  .request-stats { grid-template-columns: 1fr; }
  .advantage { border-right: 0; }
  .section__head, .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .table-card { overflow: hidden; }
  .product-modal__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 22px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
}
@media (max-width: 520px) {
  .hero h1, .page-hero h1 { font-size: 36px; }
  .hero p, .page-hero p { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .tech-banner { padding: 22px; }
  .car-scene { inset: 10px -20px 10px -90px; }
  .tech-card { top: 26px; }
  .cart-drawer { top: 84px; }
  .product-modal { padding: 10px; }
  .product-modal__dialog { padding: 18px; }
  .product-modal__content h2 { font-size: 24px; }
  .product-table td:nth-child(2), .product-table th:nth-child(2) { display: none; }
  .product-table td:nth-child(3), .product-table th:nth-child(3) { width: 34%; }
}
.grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid--three { grid-template-columns: 1fr; } }
