/*
  Sectors.html page-specific styles. The sector-tab pill buttons keep
  their color/background/border as inline style bindings since those are
  genuinely computed per render (selected vs not) — see Nav.html's
  dropdown for the same pattern.
*/

.sectors-hero {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.sectors-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: background-image .4s ease;
}

.sectors-hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px 84px;
}

.sectors-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.sectors-tab {
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
  border-style: solid;
  border-width: 1px;
  transition: all .2s;
}

.sectors-hero__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
  max-width: 820px;
  text-wrap: balance;
}

.sectors-hero__desc {
  font-size: 18px;
  line-height: 1.6;
  color: #c3ccd6;
  max-width: 640px;
  margin: 22px 0 0;
}

.sectors-groups {
  background: var(--bg);
}

.sectors-groups__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 84px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sectors-group {
  scroll-margin-top: 100px;
}

.sectors-group__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
}

.sectors-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
}

.sectors-card:hover {
  border-color: rgba(0, 173, 239, .4);
}

.sectors-card__image {
  aspect-ratio: 16 / 10;
  background-color: var(--panelB);
  background-size: cover;
  background-position: center;
}

.sectors-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sectors-card__title {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}

.sectors-card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #9aa6b2;
  margin: 0;
}

.sectors-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}
