.brand-catalog {
  padding-block: 24px 58px;
}

.brand-hero {
  padding: clamp(18px, 3vw, 36px);
  border-radius: 16px;
  background: linear-gradient(124deg, #0c2345, #183d66);
  color: #fff;
}

.brand-hero h1 {
  margin: 4px 0 8px;
  font-size: clamp(27px, 3.4vw, 46px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.brand-hero p {
  margin: 0;
  max-width: 62ch;
  color: #e1ebf5;
}

.brand-hero-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 12px 20px;
}

.brand-hero .brand-crumb {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brand-results {
  margin-top: 30px;
  scroll-margin-top: 100px;
}

.brand-results h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.3vw, 30px);
}

.brand-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.brand-tile {
  display: block;
  min-width: 0;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.brand-tile:hover,
.brand-tile:focus-within {
  border-color: #597ca4;
  box-shadow: 0 8px 24px #102d561a;
}

.brand-tile:focus-visible,
.brand-family summary:focus-visible {
  outline-offset: -3px;
}

.brand-tile-media {
  position: relative;
  display: block;
  aspect-ratio: 5 / 3;
  background: radial-gradient(ellipse at 50% 56%, #fff 30%, #eaf0f7);
  border-bottom: 1px solid #e2e9f2;
}

.brand-tile-media picture,
.brand-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-tile-media img {
  padding: 10px;
  object-fit: contain;
}

.brand-picture-note {
  position: absolute;
  left: 7px;
  bottom: 7px;
  border-radius: 20px;
  background: #fff;
  padding: 2px 7px;
  color: #354c67;
  font-size: .69rem;
}

.brand-tile-media:not(:has(img)) .brand-picture-note {
  inset: 0;
  display: grid;
  place-content: center;
  background: none;
  font-size: .82rem;
}

.brand-tile-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 84px;
  padding: 12px 14px;
  color: #102d56;
}

.brand-tile-copy strong {
  display: block;
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.brand-tile-copy small {
  display: block;
  margin-top: 4px;
  color: #44566d;
  font-size: .79rem;
}

.brand-tile-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff0e3;
  color: #8e3c0c;
  flex-shrink: 0;
  font-weight: 700;
}

.brand-family summary {
  list-style: none;
  cursor: pointer;
}

.brand-family summary::-webkit-details-marker {
  display: none;
}

.brand-family[open] .brand-tile-icon {
  transform: rotate(45deg);
}

.brand-models {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 12px 12px;
  list-style: none;
}

.brand-models a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 6px 9px;
  border-radius: 7px;
  background: #eef3f9;
  color: #14395e;
  font-size: .84rem;
  overflow-wrap: anywhere;
}

.brand-models a:hover {
  background: #dce8f4;
}

.series-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
}

.series-hero .hero-actions {
  align-items: center;
  margin-top: 10px;
  margin-bottom: 0;
}

.series-hero .series-count {
  margin-top: 10px;
  color: #ffc58d;
  font-weight: 700;
}

.series-media {
  margin: 0;
  padding: 10px;
  border-radius: 12px;
  background: #edf2f8;
  color: #324a64;
}

.series-media picture {
  display: block;
}

.series-media img {
  display: block;
  width: 100%;
  height: clamp(150px, 21vw, 236px);
  object-fit: contain;
}

.series-media figcaption {
  margin-top: 5px;
  text-align: center;
  font-size: .75rem;
}
.series-jumps{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.series-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:8px 15px;background:#eef3f9;color:#123758;border-radius:8px;font-weight:700}
.series-jumps a:hover{background:#dae7f4}
.brand-table-scroll{overflow-x:auto;border:1px solid #dbe4ef;border-radius:12px}
.brand-spec-table{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;color:#142e48}
.brand-spec-table caption{text-align:left;padding:10px 14px;background:#f1f5fa;color:#334e68;font-size:.88rem}
.brand-spec-table th,.brand-spec-table td{padding:10px 14px;border-bottom:1px solid #e5edf5;text-align:left;vertical-align:top}
.brand-spec-table thead th{background:#16385f;color:#fff;white-space:nowrap}
.brand-spec-table tbody tr:nth-child(even){background:#f3f7fb}
.brand-spec-table tbody th{background:inherit;position:sticky;left:0;white-space:nowrap}
.brand-spec-table tbody tr:nth-child(odd){background:#fff}
.brand-spec-table tbody a{display:inline-block;color:#164675;text-decoration:underline;text-underline-offset:3px}
.brand-spec-table tbody tr:last-child>*{border-bottom:0}
.series-spec-summary{margin:0;padding-left:17px;min-width:215px}
.series-note{margin-top:14px;color:#44566d}
@media (max-width: 860px) {
  .brand-tile-grid {grid-template-columns: repeat(2, minmax(0, 1fr))}
}

@media (max-width: 680px) {
  .brand-catalog {padding-top: 14px}
  .brand-results {margin-top: 24px}
  .brand-tile-grid {gap: 10px}
  .brand-tile-copy {padding: 10px}
  .brand-tile-icon {width: 24px; height: 24px}
  .brand-tile-media img {padding: 6px}
  .series-hero {grid-template-columns: minmax(0, 1fr)}
  .series-media img {height: 155px}
  .brand-spec-table th, .brand-spec-table td {padding: 9px 11px}
}

@media (max-width: 360px) {
  .brand-tile-grid {grid-template-columns: minmax(0, 1fr)}
}

@media (prefers-reduced-motion: reduce) {
  .brand-tile {transition: none}
}
