:root {
  --blue: #0759d9;
  --navy: #071b3d;
  --orange: #ff6a00;
  --ink: #12233f;
  --muted: #60708a;
  --line: #d8e1ee;
  --soft: #f3f6fa;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font:
    16px/1.55 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.top {
  background: var(--navy);
  color: #d9e7ff;
  font-size: 0.88rem;
}
.top .wrap {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #dce6f5;
}
.navin {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.brand i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-right: 10px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--blue), #2bd4e9);
  color: #fff;
  font-style: normal;
}
.brand b {
  color: var(--blue);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
}
.navlinks a:hover {
  color: var(--blue);
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 15px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 25px rgba(7, 89, 217, 0.2);
  font-weight: 800;
}
.crumb {
  padding: 24px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.crumb a {
  color: var(--blue);
  font-weight: 700;
}
.catalog-hero {
  padding: 52px 0 48px;
  background: linear-gradient(135deg, #eef4fb, #fff 60%, #f1f3f6);
}
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff0e2;
  color: #d95200;
  border: 1px solid #ffc58f;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h1 {
  max-width: 850px;
  margin: 17px 0 14px;
  color: var(--navy);
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
.lead {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.category-nav {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 27px;
}
.category-nav a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 750;
}
.category-nav a:hover,
.category-nav a.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.products {
  padding: 70px 0 88px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}
.section-head p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(230px, 280px) 1fr;
  gap: 28px;
  align-items: start;
}
.catalog-sidebar {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 27, 61, 0.08);
}
.sidebar-title {
  padding: 20px 20px 17px;
  background: linear-gradient(135deg, var(--navy), #0b3475);
  color: #fff;
}
.sidebar-title span {
  display: block;
  font-size: 1.05rem;
  font-weight: 850;
}
.sidebar-title small {
  display: block;
  margin-top: 3px;
  color: #c8d8ef;
  font-size: 0.82rem;
}
.sidebar-group {
  border-top: 1px solid var(--line);
}
.sidebar-group:first-of-type {
  border-top: 0;
}
.sidebar-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 19px;
  color: var(--navy);
  font-weight: 820;
  cursor: pointer;
  list-style: none;
}
.sidebar-group summary::-webkit-details-marker {
  display: none;
}
.sidebar-group summary span {
  color: var(--orange);
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.sidebar-group[open] summary span {
  transform: rotate(180deg);
}
.sidebar-group nav {
  padding: 0 10px 12px;
}
.sidebar-group nav a {
  display: block;
  padding: 9px 10px 9px 14px;
  border-left: 2px solid #dce6f5;
  border-radius: 0 9px 9px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  transition: 0.18s;
}
.sidebar-group nav a:hover,
.sidebar-group nav a:focus-visible {
  border-left-color: var(--orange);
  background: #fff4eb;
  color: var(--navy);
  outline: none;
}
.product-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.catalog-layout .catalog-grid {
  grid-template-columns: repeat(2, 1fr);
}
.product-card,
.category-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 27, 61, 0.08);
  transition: 0.25s;
}
.product-card:hover,
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(7, 27, 61, 0.14);
}
.product-image,
.category-image {
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-color: #e7edf5;
}
.product-copy {
  padding: 21px;
}
.product-copy h2,
.product-copy h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 1.15rem;
}
.product-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.product-copy span {
  display: inline-flex;
  margin-top: 15px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.88rem;
}
.category-card .product-copy span {
  color: #d95200;
}
.pos-1 {
  background-position: 0 0;
}
.pos-2 {
  background-position: 50% 0;
}
.pos-3 {
  background-position: 100% 0;
}
.pos-4 {
  background-position: 0 100%;
}
.pos-5 {
  background-position: 50% 100%;
}
.pos-6 {
  background-position: 100% 100%;
}
.quote {
  margin-top: 60px;
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), #0b3475);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.quote h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}
.quote p {
  margin: 0;
  color: #c8d8ef;
}
.quote .cta {
  background: var(--orange);
  box-shadow: none;
  white-space: nowrap;
}
footer {
  padding: 32px 0;
  background: #050f24;
  color: #aebbd0;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.foot .brand {
  color: #fff;
}
@media (max-width: 820px) {
  .navlinks a:not(.cta) {
    display: none;
  }
  .product-grid,
  .catalog-grid,
  .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    position: static;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 10px;
  }
  .quote {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 540px) {
  .wrap {
    width: min(100% - 26px, 1160px);
  }
  .top span:last-child {
    display: none;
  }
  .catalog-hero {
    padding-top: 38px;
  }
  .product-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .products {
    padding: 55px 0 70px;
  }
  .quote {
    padding: 28px 22px;
  }
  .foot {
    align-items: flex-start;
    flex-direction: column;
  }
}
