:root {
  --bg: #ffffff;
  --page: #f6f9fd;
  --card: #ffffff;
  --line: rgba(15, 68, 130, .12);
  --line-strong: rgba(15, 68, 130, .22);
  --text: #243244;
  --strong: #0f172a;
  --muted: #64748b;
  --brand: #0068c9;
  --brand-2: #1198f7;
  --brand-soft: #eef7ff;
  --green: #079669;
  --green-soft: #ecfdf5;
  --danger: #b42318;
  --shadow-sm: 0 10px 28px rgba(15, 68, 130, .08);
  --shadow: 0 22px 70px rgba(15, 68, 130, .13);
  --radius: 22px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}
.topbar span,
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__items,
.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar .material-symbols-outlined {
  font-size: 18px;
  color: var(--brand);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img {
  width: 166px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #334155;
  font-weight: 800;
}
.nav a {
  position: relative;
  padding: 10px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-link {
  white-space: nowrap;
  font-weight: 950;
  color: var(--strong);
}
.mobile-menu {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  font-weight: 950;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 34px rgba(0, 104, 201, .22);
}
.btn--ghost {
  color: var(--strong);
  background: #fff;
  border: 1px solid var(--line-strong);
}
.btn--dark {
  color: #fff;
  background: var(--strong);
}
.btn--full { width: 100%; }

.hero {
  padding: 28px 0 44px;
  background: linear-gradient(180deg, #f7fbff, #fff);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 22px;
  align-items: stretch;
}
.hero__content,
.hero__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.hero__content { padding: 42px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(0,104,201,.16);
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  color: var(--strong);
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -.055em;
}
.lead {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: 18px;
}
.hero__actions,
.chips {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero__actions input {
  flex: 1;
  min-width: 260px;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 0 18px;
  outline: none;
  background: #fff;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.stat {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: #fff;
}
.stat b {
  display: block;
  color: var(--strong);
  font-size: 30px;
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.hero__media {
  position: relative;
  min-height: 520px;
  background: #f2f8ff;
}
.hero__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: rgba(15,23,42,.84);
  color: #fff;
  backdrop-filter: blur(12px);
}
.media-card b { display: block; margin-bottom: 4px; }
.media-card p { margin: 0; color: rgba(255,255,255,.78); }

.section { padding: 50px 0; }
.section--tight { padding-top: 26px; }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section__title {
  margin: 10px 0 0;
  color: var(--strong);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.section__text {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card,
.seo-text,
.empty {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.card { padding: 24px; }
.card h3 {
  margin: 14px 0 8px;
  color: var(--strong);
  font-size: 20px;
  line-height: 1.2;
}
.card p { margin: 0; color: var(--muted); }
.icon,
.catalog-help__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.catalog-page {
  padding: 28px 0 64px;
  background:
    linear-gradient(180deg, #f3f9ff 0, #fff 420px),
    #fff;
}
.catalog-breadcrumbs,
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumbs a,
.catalog-breadcrumbs a {
  color: var(--brand);
  font-weight: 900;
}
.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}
.catalog-hero__content,
.catalog-help {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.catalog-hero__content {
  padding: 30px;
}
.catalog-hero h1 {
  max-width: 920px;
  margin: 18px 0 12px;
  color: var(--strong);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.catalog-hero p {
  max-width: 920px;
  margin: 0;
  color: #475569;
  font-size: 18px;
}
.catalog-search {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  max-width: 720px;
}
.catalog-search input {
  width: 100%;
  min-width: 0;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 0 16px;
  background: #fff;
  outline: none;
}
.catalog-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,104,201,.08);
}
.catalog-help {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.catalog-help h2 {
  margin: 16px 0 8px;
  color: var(--strong);
  font-size: 22px;
  line-height: 1.15;
}
.catalog-help p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.filters {
  position: sticky;
  top: 96px;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--line);
}
.filters__head h2 {
  margin: 0;
  color: var(--strong);
  font-size: 22px;
  line-height: 1;
}
.filters__head a {
  color: var(--brand);
  font-weight: 900;
  font-size: 14px;
}
.filters form {
  padding: 18px 20px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field label {
  color: #334155;
  font-size: 13px;
  font-weight: 950;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fbfdff;
  color: var(--strong);
  outline: none;
  transition: .18s ease;
}
.field input,
.field select {
  height: 48px;
  padding: 0 14px;
}
.field textarea {
  min-height: 120px;
  padding: 13px 14px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,104,201,.08);
}
.range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
}
.range-row input {
  width: 100%;
  min-width: 0;
}
.catalog-results {
  min-width: 0;
}
.catalog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.catalog-top strong {
  display: block;
  color: var(--strong);
  font-size: 19px;
  line-height: 1.2;
}
.catalog-top span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}
.products,
.catalog-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 56px rgba(15,68,130,.13);
}
.product-card__image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(180deg, #eef7ff, #f8fbff);
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 16px;
}
.product-card__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.product-card h2,
.product-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 62px;
  margin: 0;
  color: var(--strong);
  font-size: 18px;
  line-height: 1.18;
}
.product-card .article,
.article {
  color: #475569;
  font-weight: 900;
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  background: #f6faff;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}
.badge--stock {
  border-color: rgba(7,150,105,.22);
  background: var(--green-soft);
  color: #047857;
}
.price {
  margin-top: auto;
  color: var(--strong);
  font-size: 28px;
  font-weight: 950;
  line-height: 1.1;
}
.product-card .btn,
.product-card a.btn {
  width: 100%;
  margin-top: 10px;
}
.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--strong);
  font-weight: 950;
}
.pagination .active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.empty {
  padding: 36px;
  text-align: center;
}
.empty .material-symbols-outlined {
  color: var(--brand);
  font-size: 44px;
}
.empty h2 {
  margin: 8px 0;
  color: var(--strong);
}
.empty p {
  max-width: 560px;
  margin: 0 auto 18px;
  color: var(--muted);
}
.seo-text {
  padding: 26px;
  color: #475569;
}
.seo-text h2 {
  margin: 0 0 12px;
  color: var(--strong);
  font-size: 26px;
  line-height: 1.16;
}
.seo-text p { margin: 0 0 10px; }
.seo-text p:last-child { margin-bottom: 0; }
.seo-text--catalog { margin-top: 26px; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}
.product-photo,
.product-info {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.product-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #eef7ff;
}
.product-info { padding: 30px; }
.product-info h1 {
  margin: 12px 0 14px;
  color: var(--strong);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.sku-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}
.sku-table td {
  border: 1px solid var(--line);
  padding: 13px 15px;
}
.sku-table td:first-child {
  width: 38%;
  background: #f8fbff;
  color: #475569;
  font-weight: 950;
}
.lead-panel {
  border-radius: 30px;
  padding: 30px;
  background: linear-gradient(135deg, #0f172a, #063b7a);
  color: #fff;
}
.lead-panel p { color: rgba(255,255,255,.78); }
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lead-form .wide { grid-column: 1 / -1; }
.alert {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 850;
}
.alert--ok { background: #ecfdf5; color: #047857; }
.alert--err { background: #fef2f2; color: var(--danger); }
.footer {
  margin-top: 0;
  padding: 42px 0 18px;
  background: #081426;
  color: #dbeafe;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
  gap: 22px;
}
.footer h3 { margin: 0 0 10px; color: #fff; }
.footer p { color: #a8bed8; }
.footer__logo {
  width: 160px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
}
.footer__bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #93a4bb;
  font-size: 14px;
}

.hero-slider {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f8fbff;
}
.hero-slider__viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .55s ease, transform .85s ease;
  pointer-events: none;
  background: #eef6ff;
}
.hero-slider__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.hero-slider__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(2,6,23,0) 48%, rgba(2,6,23,.62) 100%);
  pointer-events: none;
}
.hero-slider .media-card { z-index: 4; }
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: rgba(15,23,42,.52);
  color: #fff;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: .18s ease;
}
.hero-slider__arrow:hover {
  background: rgba(0,104,201,.86);
  transform: translateY(-50%) scale(1.04);
}
.hero-slider__arrow--prev { left: 18px; }
.hero-slider__arrow--next { right: 18px; }
.hero-slider__dots {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 122px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  transition: .18s ease;
}
.hero-slider__dots button.is-active {
  width: 30px;
  background: #fff;
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .mobile-menu { display: grid; place-items: center; }
  .nav.is-open {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 86px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .hero__grid,
  .catalog-hero,
  .catalog-layout,
  .product-detail { grid-template-columns: 1fr; }
  .filters { position: static; }
  .grid-4,
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .topbar__items { display: none; }
  .header__actions .phone-link,
  .header__actions > .btn { display: none; }
  .header__inner { min-height: 70px; }
  .brand img { width: 150px; }
  .hero__grid,
  .stats,
  .grid-3,
  .grid-4,
  .products,
  .catalog-products,
  .lead-form,
  .footer__grid { grid-template-columns: 1fr; }
  .hero__content,
  .catalog-hero__content,
  .catalog-help,
  .product-info { padding: 22px; }
  .hero__media { min-height: 360px; }
  .section__head,
  .catalog-top {
    align-items: stretch;
    flex-direction: column;
  }
  .catalog-search { flex-direction: column; }
  .catalog-page { padding-top: 18px; }
  .btn { width: 100%; }
  .range-row { grid-template-columns: 1fr; }
  .hero-slider__dots { bottom: 116px; }
  .hero-slider__arrow { width: 40px; height: 40px; }
  .hero-slider__arrow--prev { left: 12px; }
  .hero-slider__arrow--next { right: 12px; }
}
