:root {
  --red: #e60012;
  --text: #3a4f66;
  --heading: #222;
  --wash: #f8f8f8;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background: #f7f8f9;
  font: 16px/1.65 system-ui, "Microsoft YaHei", sans-serif;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }

.container { width: min(90%, 1290px); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.utility { background: #f7f7f7; color: #777; font-size: 14px; }
.utility-inner, .utility-links, .header-inner {
  display: flex;
  align-items: center;
}
.utility-inner {
  min-height: 50px;
  justify-content: space-between;
  gap: 20px;
}
.utility-links { gap: 26px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: white;
}
.header-inner { min-height: 90px; }
.brand { flex: 0 1 380px; }

.section-title { margin: 0 0 18px; text-align: center; color: var(--heading); font-size: 24px; line-height: 1.3; }
.section-title::after { content: ""; display: block; width: 38px; height: 2px; margin: 9px auto 0; background: var(--red); }
.products { padding: 36px 0; }
.products .section-title { margin-bottom: 30px; color: #192a3d; font-size: 26px; }
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px; }
.product { text-align: center; }
.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 18%;
  border: 1px solid #e3e6e9;
  border-radius: 3px;
  background: #fff;
}
.product-media img { width: 100%; }
.product-wordmark { display: grid; gap: 2px; color: #192a3d; }
.product-wordmark strong { font-size: 30px; line-height: 1.2; }
.product-wordmark span { font-size: 10px; letter-spacing: 0.08em; }
.product h3 { margin-top: 16px; font-size: 15px; font-weight: 400; line-height: 1.4; }
.product-cas { margin-top: 5px; color: #676767; font-size: 13px; }
.badge { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 52px; aspect-ratio: 1; border-radius: 50%; color: white; background: var(--red); font-size: 14px; font-weight: 700; }

.company { padding: 26px 0 28px; background: var(--wash) url("assets/map.png") no-repeat center; }
.company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.company-grid > img { width: 100%; }
.company-copy p { margin-bottom: 9px; font-size: 15px; }

.site-footer { margin-top: 24px; background: #f2f5f7 url("assets/map.png") no-repeat 51% 81%; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 30px; padding: 48px 0 24px; }
.footer-statement p + p { margin-top: 12px; }
.footer-grid h2 { margin-bottom: 14px; color: #192a3d; font-size: 16px; }
.footer-grid address { font-style: normal; overflow-wrap: anywhere; }
.footer-logo { max-width: 230px; width: 100%; margin-bottom: 12px; }
.copyright { padding-block: 25px; text-align: center; }
.copyright a { display: inline-block; }

@media (max-width: 1100px) {
  .utility { display: none; }
  .header-inner { min-height: 70px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .badge { width: 44px; font-size: 12px; }
  .product-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company { padding: 35px 0; background-size: contain; }
  .company-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { padding-top: 40px; }
  .footer-statement { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .brand { flex-basis: 245px; }
  .product-grid, .footer-grid { grid-template-columns: 1fr; }
}
