/* Fume hoods series page */

.fh-hero {
  position: relative;
  min-height: 520px;
  padding: 8.5rem 0 4rem;
  overflow: hidden;
  background: #eef4fb;
}

.fh-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248,250,252,.96) 0%, rgba(248,250,252,.82) 48%, rgba(21,101,192,.18) 100%),
    url('https://images.unsplash.com/photo-1581093458791-9f3c3900df4b?w=1800&h=920&fit=crop') center/cover;
}

.fh-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, .55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.fh-hero-copy {
  max-width: 720px;
}

.fh-hero h1 {
  margin-top: .75rem;
  color: var(--fg);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -.02em;
}

.fh-hero p {
  max-width: 620px;
  margin-top: 1rem;
  color: #334155;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

.fh-hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.fh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.fh-btn:hover {
  transform: translateY(-2px);
}

.fh-btn-primary {
  background: var(--primary);
  color: #fff;
}

.fh-btn-primary:hover {
  background: #0d47a1;
}

.fh-btn-light {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--fg);
}

.fh-btn-light:hover {
  border-color: rgba(21,101,192,.35);
  color: var(--primary);
}

.fh-hero-panel {
  display: grid;
  gap: 1px;
  background: rgba(21,101,192,.2);
  border: 1px solid rgba(21,101,192,.18);
  box-shadow: 0 22px 60px rgba(15,23,42,.12);
}

.fh-hero-panel div {
  min-height: 96px;
  padding: 1.1rem;
  background: rgba(255,255,255,.92);
}

.fh-hero-panel span {
  display: block;
  color: var(--primary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.fh-hero-panel strong {
  display: block;
  margin-top: .4rem;
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
}

.fh-catalog {
  padding: 4.5rem 0 5rem;
  background: #fff;
}

.fh-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
}

.fh-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: .25rem;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(15,23,42,.06);
}

.fh-sidebar-title {
  padding: .75rem .85rem;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.fh-sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: .65rem .85rem;
  color: var(--fg);
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.fh-sidebar a svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.fh-sidebar a:hover {
  background: var(--cyan);
  color: var(--primary);
}

.fh-sidebar a.active {
  background: var(--primary);
  color: #fff;
}

.fh-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.fh-section-head h2 {
  margin-top: .45rem;
  color: var(--fg);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.fh-section-head p {
  max-width: 500px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.fh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.fh-card {
  background: #fff;
  border: 1px solid #cfe0f3;
  box-shadow: 0 14px 34px rgba(15,23,42,.04);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.fh-card:hover {
  border-color: rgba(21,101,192,.5);
  box-shadow: 0 20px 46px rgba(15,23,42,.1);
  transform: translateY(-3px);
}

.fh-card a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.fh-card-media {
  aspect-ratio: 1.05;
  padding: 1rem;
  background: #f7fbff;
  overflow: hidden;
}

.fh-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .45s ease;
}

.fh-card:hover .fh-card-media img {
  transform: scale(1.04);
}

.fh-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 48px;
  padding: .65rem 1rem;
  background: var(--primary);
  color: #fff;
}

.fh-card-bar h3 {
  font-size: 1rem;
  line-height: 1.2;
}

.fh-card-bar svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  transition: transform .2s ease;
}

.fh-card:hover .fh-card-bar svg {
  transform: translateX(3px);
}

.fh-card-body {
  flex: 1;
  padding: 1rem;
}

.fh-card-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.fh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .8rem;
}

.fh-tags span {
  padding: .25rem .5rem;
  border: 1px solid rgba(21,101,192,.14);
  border-radius: 4px;
  background: rgba(21,101,192,.05);
  color: var(--primary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fh-support {
  padding: 4rem 0;
  background: #eef4fb;
}

.fh-support-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(15,23,42,.06);
}

.fh-support h2 {
  margin-top: .45rem;
  color: var(--fg);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.fh-support p {
  max-width: 720px;
  margin-top: .65rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .fh-hero-inner,
  .fh-layout {
    grid-template-columns: 1fr;
  }

  .fh-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fh-sidebar-title {
    grid-column: 1 / -1;
  }

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

@media (max-width: 720px) {
  .fh-hero {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .fh-hero-panel,
  .fh-grid {
    grid-template-columns: 1fr;
  }

  .fh-sidebar {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .65rem;
    scrollbar-width: none;
  }

  .fh-sidebar::-webkit-scrollbar {
    display: none;
  }

  .fh-sidebar-title {
    display: none;
  }

  .fh-sidebar a {
    min-width: max-content;
    min-height: 40px;
    padding: .55rem .75rem;
  }

  .fh-sidebar a svg {
    display: none;
  }

  .fh-section-head,
  .fh-support-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .fh-card-media {
    aspect-ratio: 1.35;
  }

  .fh-btn {
    width: 100%;
  }
}
