:root {
  --blue: #174c8e;
  --blue-dark: #123a6b;
  --yellow: #f2c94c;
  --ink: #1d2733;
  --muted: #5f6f80;
  --line: #dfe5ec;
  --bg: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(24, 43, 68, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-dark);
  text-decoration: none;
}

.brand img {
  width: 120px;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 24px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-menu a {
  padding: 12px 16px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.main-menu a:hover,
.main-menu a.active {
  border-color: var(--yellow);
  color: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
}

.hero {
  padding: 72px 0 64px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 52%, rgba(244,247,251,0.7) 100%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 54px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 20px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--blue);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
}

.hero-media {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eef2f7;
}

.section {
  padding: 68px 0;
}

.section.muted {
  background: var(--bg);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
  align-items: start;
}

.text-block p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.category-grid,
.product-grid,
.contact-grid,
.feature-grid {
  display: grid;
  gap: 22px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.product-card,
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.category-card {
  display: block;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 76, 142, 0.35);
  box-shadow: 0 12px 28px rgba(24, 43, 68, 0.09);
}

.category-card img {
  width: 92px;
  height: 92px;
  margin-bottom: 16px;
  object-fit: cover;
  background: #eef2f7;
}

.category-card p,
.product-card p,
.info-card p,
.lead {
  color: var(--muted);
}

.page-hero {
  padding: 54px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.product-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 42px;
}

.filter-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--blue);
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
}

.placement-list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.product-card.is-hidden {
  display: none;
}

.product-media {
  display: block;
  padding: 14px;
  background: #f6f8fb;
  border-bottom: 1px solid var(--line);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.product-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: #eef2f7;
}

.product-card h3 {
  margin-top: 8px;
  color: var(--blue-dark);
}

.product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card p {
  margin: 0;
  font-size: 14px;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-meta {
  color: var(--blue);
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-link {
  margin-top: auto;
  padding-top: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.catalog-nav a,
.filter-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.catalog-nav a {
  padding: 10px 12px;
}

.catalog-nav a.active,
.catalog-nav a:hover,
.filter-button.active,
.filter-button:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.catalog-nav span,
.filter-button span {
  opacity: 0.72;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 40px;
  padding: 9px 12px;
  cursor: pointer;
}

.catalog-count {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.compact-head {
  margin-top: 26px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.detail-media {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f6f8fb;
}

.detail-copy p {
  color: var(--muted);
}

.detail-copy a:not(.button) {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.technical-panel {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.technical-panel h3 {
  margin-bottom: 14px;
}

.technical-panel p {
  margin: 0 0 14px;
  color: var(--ink);
}

.technical-panel p:last-child {
  margin-bottom: 0;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 24px;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.map-panel {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.map-panel p {
  margin: 0;
}

.site-footer {
  padding: 44px 0;
  color: #d9e5f2;
  background: #162c43;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 16px;
  background: var(--white);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 17px;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .main-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .split,
  .product-intro,
  .product-detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-count {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand img {
    width: 92px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    font-size: 10px;
  }

  .hero,
  .section {
    padding: 44px 0;
  }

  .category-grid,
  .product-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
