.bsd-hh {
  --bsd-blue: #1458d6;
  --bsd-blue-dark: #0d3f9b;
  --bsd-navy: #0d2a4f;
  --bsd-text: #44546a;
  --bsd-line: #dfe7f1;
  --bsd-soft: #f5f8fc;
  --bsd-white: #fff;
  font-family: inherit;
  color: var(--bsd-navy);
  background: var(--bsd-white);
}

.bsd-hh *, .bsd-hh *::before, .bsd-hh *::after { box-sizing: border-box; }

.bsd-hh__hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  min-height: 470px;
  padding: clamp(36px, 5vw, 76px) 0 clamp(28px, 4vw, 56px);
}

.bsd-hh__copy { max-width: 690px; }
.bsd-hh__eyebrow {
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--bsd-blue);
}

.bsd-hh__title {
  margin: 0;
  max-width: 720px;
  color: var(--bsd-navy);
  font-size: clamp(38px, 4.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
  transition: opacity .12s ease, transform .12s ease;
}

.bsd-hh__text {
  margin: 22px 0 0;
  max-width: 650px;
  color: var(--bsd-text);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.55;
  transition: opacity .12s ease, transform .12s ease;
}

.bsd-hh__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  min-height: 48px;
  transition: opacity .12s ease;
}

.bsd-hh__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--bsd-blue);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.bsd-hh__button:hover { transform: translateY(-1px); }
.bsd-hh__button--primary { background: var(--bsd-blue); color: #fff !important; }
.bsd-hh__button--primary:hover { background: var(--bsd-blue-dark); border-color: var(--bsd-blue-dark); }
.bsd-hh__button--secondary { background: #fff; color: var(--bsd-blue) !important; }
.bsd-hh__button--secondary:hover { background: #f3f7ff; }

.bsd-hh__visual { min-width: 0; }
.bsd-hh__image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  aspect-ratio: 16/10;
  border-radius: 22px;
  background: var(--bsd-soft);
  box-shadow: 0 18px 50px rgba(16, 53, 96, .12);
}
.bsd-hh__image {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .18s ease, transform .35s ease;
}
.bsd-hh__image-label {
  position: absolute;
  left: 18px; bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--bsd-navy);
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 28px rgba(16,53,96,.12);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.bsd-hh.is-changing .bsd-hh__title,
.bsd-hh.is-changing .bsd-hh__text,
.bsd-hh.is-changing .bsd-hh__actions,
.bsd-hh.is-changing .bsd-hh__image { opacity: .32; }
.bsd-hh.is-changing .bsd-hh__title,
.bsd-hh.is-changing .bsd-hh__text { transform: translateY(4px); }
.bsd-hh.is-changing .bsd-hh__image { transform: scale(1.01); }

.bsd-hh__directions { padding: 10px 0 28px; }
.bsd-hh__directions-title {
  margin-bottom: 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  color: #66768a;
}

.bsd-hh__tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.bsd-hh__tab {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 14px 14px;
  text-align: left;
  color: var(--bsd-navy);
  background: #fff;
  border: 1px solid var(--bsd-line);
  border-radius: 13px;
  cursor: pointer;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.bsd-hh__tab:hover { border-color: #a9c6f7; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(16,53,96,.07); }
.bsd-hh__tab:focus-visible { outline: 3px solid rgba(20,88,214,.24); outline-offset: 2px; }
.bsd-hh__tab.is-active { color: #fff; background: var(--bsd-blue); border-color: var(--bsd-blue); box-shadow: 0 12px 28px rgba(20,88,214,.22); }
.bsd-hh__tab-number { font-size: 11px; opacity: .58; font-weight: 800; }
.bsd-hh__tab-label { font-size: 13px; line-height: 1.25; font-weight: 750; }
.bsd-hh__tab-arrow { font-size: 16px; opacity: .7; }

@media (max-width: 1199px) {
  .bsd-hh__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsd-hh__hero { grid-template-columns: 1fr 1fr; }
  .bsd-hh__title { font-size: clamp(36px, 5vw, 58px); }
}

@media (max-width: 767px) {
  .bsd-hh__hero { grid-template-columns: 1fr; gap: 24px; padding-top: 26px; }
  .bsd-hh__copy { max-width: none; }
  .bsd-hh__title { font-size: clamp(34px, 10vw, 48px); }
  .bsd-hh__text { margin-top: 16px; }
  .bsd-hh__actions { margin-top: 20px; }
  .bsd-hh__button { width: 100%; }
  .bsd-hh__image-wrap { min-height: 0; aspect-ratio: 4/3; border-radius: 16px; }
  .bsd-hh__tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .bsd-hh__tab { flex: 0 0 min(80vw, 290px); scroll-snap-align: start; min-height: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  .bsd-hh *, .bsd-hh *::before, .bsd-hh *::after { transition: none !important; scroll-behavior: auto !important; }
}
