.hub-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,.98) 0%, rgba(244,249,255,.92) 48%, rgba(236,248,239,.9) 100%),
    url("scenes/home_hero.webp") center/cover no-repeat;
}

.hub-hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 46px;
  padding: 58px 0 78px;
}

.hub-hero-copy h1 {
  margin: 12px 0 18px;
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(2.35rem, 4.2vw, 4.4rem);
  line-height: 1.13;
  letter-spacing: 0;
}

.hub-hero-copy h1 span {
  display: block;
  color: var(--blue);
  font-size: clamp(3.1rem, 6vw, 6.4rem);
  line-height: 1;
}

.hub-lead {
  max-width: 720px;
  margin: 0;
  color: #425a74;
  font-size: 1.06rem;
  line-height: 1.95;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hub-badges span {
  border: 1px solid #cddfed;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  padding: 7px 12px;
  color: #284762;
  font-size: .78rem;
  font-weight: 900;
}

.hub-hero-media {
  position: relative;
  min-height: 460px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(11, 43, 83, .17);
}

.hub-hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.live-preview {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.94);
  padding: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}

.live-preview small,
.live-score-row span {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.live-preview strong {
  display: block;
  color: var(--navy);
  font-size: .98rem;
}

.live-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #071f48;
  padding: 10px 12px;
  color: #fff;
}

.live-score-row b {
  font-size: 1.22rem;
}

.section-head-left .section-title,
.section-head-left .section-lead {
  text-align: left;
  margin-left: 0;
}

.hub-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.hub-panel {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(12,45,85,.08);
}

.hub-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-panel div {
  padding: 22px;
}

.hub-panel h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.25;
}

.hub-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.78;
  font-size: .94rem;
}

.hub-panel a {
  color: var(--blue);
  font-weight: 950;
}

.score-story {
  background: #071f48;
  color: #fff;
}

.score-story-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.score-story .eyebrow {
  color: #8ee478;
}

.score-story h2 {
  margin: 8px 0 18px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.24;
  color: #fff;
}

.score-story p {
  margin: 0;
  color: #d5e1f0;
  line-height: 1.95;
}

.score-story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.score-screens {
  position: relative;
  min-height: 430px;
}

.score-screens img {
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0,0,0,.28);
  object-fit: cover;
}

.screen-main {
  width: 76%;
  height: 390px;
}

.screen-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 47%;
  height: 230px;
  border: 6px solid #fff;
}

.connect-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.connect-flow div,
.choice-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(12,45,85,.06);
}

.connect-flow span,
.choice-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.connect-flow strong,
.choice-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.35;
}

.connect-flow p,
.choice-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.75;
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.choice-card {
  display: block;
  transition: .2s ease;
}

.choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12,45,85,.12);
}

.choice-card:nth-child(2) span {
  color: #b86500;
}

.choice-card:nth-child(3) span {
  color: var(--green);
}

@media (max-width: 1080px) {
  .hub-hero-grid,
  .score-story-grid {
    grid-template-columns: 1fr;
  }

  .hub-map,
  .connect-flow,
  .service-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-hero-media {
    min-height: 390px;
  }

  .hub-hero-media > img {
    min-height: 390px;
  }
}

@media (max-width: 720px) {
  .hub-hero-grid {
    min-height: auto;
    padding: 42px 0 58px;
  }

  .hub-hero-copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .hub-hero-copy h1 span {
    font-size: clamp(2.75rem, 17vw, 4.2rem);
  }

  .hub-map,
  .connect-flow,
  .service-choice-grid {
    grid-template-columns: 1fr;
  }

  .hub-panel {
    grid-template-rows: 190px 1fr;
  }

  .live-preview {
    grid-template-columns: 1fr;
  }

  .score-screens {
    min-height: auto;
  }

  .screen-main,
  .screen-sub {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }

  .screen-sub {
    margin-top: 12px;
  }
}
