/* SG BVK – Round 3 */

/* Header */
#sgbvk-v3 .sb-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(460px, 58svh, 680px);
  min-height: 460px;
}

#sgbvk-v3 .sb-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 60%;
}

#sgbvk-v3 .sb-hero-left {
  width: 67%;
  background: linear-gradient(
    90deg,
    #04263c 0%,
    #05283f 47%,
    rgba(5,40,63,.94) 67%,
    rgba(5,40,63,.55) 85%,
    transparent 100%
  );
  clip-path: ellipse(99% 125% at 0% 50%);
}

#sgbvk-v3 .sb-hero-copy {
  max-width: min(48%,620px);
  min-width: 0;
}

#sgbvk-v3 .sb-hero h1 {
  font-size: clamp(40px,4.3vw,76px);
  line-height: 1.02;
  white-space: normal;
  text-wrap: balance;
}

#sgbvk-v3 .sb-hero-lead {
  font-size: clamp(15px,1.2vw,19px);
  line-height: 1.45;
}

#sgbvk-v3 .sb-hero-motion {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 59%;
  height: 100%;
}

#sgbvk-v3 .sb-hero-bus {
  left: 18%;
  right: auto;
  bottom: 0;
  width: 75%;
  max-width: 680px;
  height: auto;
  object-fit: contain;
}

/* Small desktop / laptop */
@media (min-width: 761px) and (max-width: 1250px) {
  #sgbvk-v3 .sb-hero {
    height: clamp(480px,65svh,610px);
  }

  #sgbvk-v3 .sb-hero-copy {
    max-width: 52%;
  }

  #sgbvk-v3 .sb-hero h1 {
    font-size: clamp(36px,4vw,54px);
  }

  #sgbvk-v3 .sb-hero-motion {
    width: 55%;
  }

  #sgbvk-v3 .sb-hero-bus {
    left: 14%;
    width: 81%;
  }

  #sgbvk-v3 .sb-hero-left {
    width: 70%;
  }
}

/* Mobile */
@media (max-width: 760px) {
  #sgbvk-v3 .sb-hero {
    height: auto;
    min-height: 720px;
    min-height: max(720px,100svh);
  }

  #sgbvk-v3 .sb-hero-image {
    object-position: 62% center;
  }

  #sgbvk-v3 .sb-hero-left {
    width: 100%;
    height: 65%;
    clip-path: none;
    background: linear-gradient(
      180deg,
      #04263c 0%,
      rgba(4,38,60,.98) 43%,
      rgba(4,38,60,.73) 76%,
      transparent 100%
    );
  }

  #sgbvk-v3 .sb-hero-copy {
    max-width: 100%;
    margin-top: 30px;
  }

  #sgbvk-v3 .sb-hero h1 {
    font-size: clamp(38px,10vw,58px);
  }

  #sgbvk-v3 .sb-hero-motion {
    width: 100%;
    height: 43%;
    right: 0;
    bottom: 0;
  }

  #sgbvk-v3 .sb-hero-bus {
    left: 7%;
    bottom: 2%;
    width: 86%;
    max-width: 490px;
  }

  #sgbvk-v3 .sb-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Services – clear interactive controls */
#sgbvk-v3 .sb-service-pill {
  min-width: 0;
  border: 1px solid rgba(7,48,73,.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(5,36,55,.045);
  transition:
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

#sgbvk-v3 .sb-service-pill:hover {
  background: #f7fbfc;
  border-color: rgba(84,155,66,.55);
  box-shadow: 0 10px 26px rgba(5,36,55,.085);
}

#sgbvk-v3 .sb-service-pill[aria-expanded="true"] {
  border-color: #76b943;
  background: #f7fbf5;
  box-shadow: 0 0 0 2px rgba(118,185,67,.12);
}

#sgbvk-v3 .sb-service-pill:focus-visible {
  outline: 3px solid #76b943;
  outline-offset: 3px;
}

#sgbvk-v3 .sb-service-pill span {
  line-height: 1.3;
  overflow-wrap: break-word;
}

#sgbvk-v3 .sb-service-detail {
  border-radius: 18px;
}

#sgbvk-v3 .sb-detail-emoji {
  display: none;
}

/* Tracking polish */
#sgbvk-v3 .sb-tracking {
  overflow: hidden;
}

#sgbvk-v3 .sb-tracking-copy h2 {
  font-size: clamp(30px,2.6vw,44px);
  line-height: 1.08;
  text-wrap: balance;
}

#sgbvk-v3 .sb-tracking-copy p {
  max-width: 430px;
  line-height: 1.6;
}

#sgbvk-v3 .sb-tracking-list {
  min-width: 0;
}

#sgbvk-v3 .sb-tracking-list li {
  white-space: normal;
  line-height: 1.4;
}

#sgbvk-v3 .sb-phone-float {
  max-width: 100%;
  transform-origin: center;
}

#sgbvk-v3 .sb-phone-float img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  #sgbvk-v3 .sb-tracking {
    padding: 48px 0;
  }

  #sgbvk-v3 .sb-tracking-copy h2 {
    font-size: clamp(30px,8vw,42px);
  }

  #sgbvk-v3 .sb-phone-float {
    width: min(68vw,250px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #sgbvk-v3 .sb-service-pill {
    transition: none;
  }
}

/* Navigation – responsive */
@media (max-width: 1250px) {
  #sgbvk-v3 .sb-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    height: auto;
    margin: 0;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-radius: 16px;
    background: #06283d;
    z-index: 100;
  }
  #sgbvk-v3 .sb-nav.sb-menu-open {
    display: flex;
  }
  #sgbvk-v3 .sb-menu {
    display: flex;
  }
}

/* Header alignment */
#sgbvk-v3 .sb-head-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px,1.4vw,24px);
}

#sgbvk-v3 .sb-brand {
  flex: 0 0 auto;
  min-width: 0;
}

#sgbvk-v3 .sb-menu {
  flex: 0 0 43px;
  cursor: pointer;
}

#sgbvk-v3 .sb-top-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 600px) {
  #sgbvk-v3 .sb-top-cta {
    display: none;
  }
  #sgbvk-v3 .sb-head-inner {
    justify-content: space-between;
  }
}

/* Navigation finishing */
#sgbvk-v3 .sb-head-inner {
  position: relative;
}

#sgbvk-v3 .sb-nav a:focus-visible,
#sgbvk-v3 .sb-menu:focus-visible {
  outline: 2px solid #a8eb11;
  outline-offset: 3px;
}

@media (max-width: 1250px) {
  #sgbvk-v3 .sb-nav a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sgbvk-v3 .sb-hero-bus {
    animation: none;
  }
}

/* SG BVK – Design System */
#sgbvk-v3 {
  --ui-navy: #06283d;
  --ui-navy-deep: #042339;
  --ui-green: #a8eb11;
  --ui-text: #102e40;
  --ui-muted: #526775;
  --ui-surface: #f4f7f9;
  --ui-border: rgba(8,43,63,.13);
  --ui-radius: 16px;
  --ui-shadow: 0 8px 24px rgba(4,35,57,.07);
}

#sgbvk-v3 h1,
#sgbvk-v3 h2,
#sgbvk-v3 h3 {
  letter-spacing: -.035em;
  text-wrap: balance;
}

#sgbvk-v3 p {
  overflow-wrap: break-word;
}

#sgbvk-v3 button,
#sgbvk-v3 a {
  -webkit-tap-highlight-color: transparent;
}


/* Services – visual refinement */
#sgbvk-v3 .sb-service-pill {
  position: relative;
  min-width: 0;
  padding: clamp(16px,2vw,25px);
  border-radius: var(--ui-radius);
  border: 1px solid var(--ui-border);
  background: #fff;
  box-shadow: var(--ui-shadow);
  text-align: left;
  cursor: pointer;
  transition:
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease;
}

#sgbvk-v3 .sb-service-pill .sb-large-icon {
  width: clamp(27px,2.3vw,38px);
  height: clamp(27px,2.3vw,38px);
  flex: 0 0 auto;
}

#sgbvk-v3 .sb-service-pill:hover {
  border-color: #7cb64d;
  background: #f8fbf6;
}

#sgbvk-v3 .sb-service-pill[aria-expanded="true"] {
  border-color: #65a63b;
  background: #f2f8ed;
  box-shadow: 0 0 0 2px rgba(101,166,59,.13);
}


/* Service detail – content first */
#sgbvk-v3 .sb-service-detail:not([hidden]) {
  border: 1px solid var(--ui-border);
  background: #f6fafc;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(4,35,57,.06);
}

#sgbvk-v3 .sb-service-detail strong {
  color: var(--ui-navy);
  font-weight: 750;
}

#sgbvk-v3 .sb-service-detail a {
  font-weight: 750;
  text-decoration: none;
}

#sgbvk-v3 .sb-service-detail a:hover {
  text-decoration: underline;
}

#sgbvk-v3 .sb-detail-emoji {
  display: none;
}


/* CTA and buttons */
#sgbvk-v3 .sb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  transition:
    background-color .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

#sgbvk-v3 .sb-button-green {
  background: var(--ui-green);
  color: var(--ui-navy-deep);
}

#sgbvk-v3 .sb-button-green:hover {
  background: #baf42e;
  box-shadow: 0 6px 16px rgba(95,157,29,.18);
}

#sgbvk-v3 .sb-button:focus-visible {
  outline: 3px solid #65aa35;
  outline-offset: 3px;
}

@media (max-width: 420px) {
  #sgbvk-v3 .sb-hero-buttons .sb-button {
    min-height: 44px;
    white-space: normal;
    text-align: center;
  }
}


/* Responsive content safeguards */
#sgbvk-v3 .sb-shell {
  max-width: 100%;
  min-width: 0;
}

#sgbvk-v3 .sb-tracking-copy,
#sgbvk-v3 .sb-fleet-copy,
#sgbvk-v3 .sb-route-intro {
  min-width: 0;
}

#sgbvk-v3 .sb-tracking-list li {
  overflow-wrap: anywhere;
}

#sgbvk-v3 .sb-route-intro h2 {
  text-wrap: balance;
}

#sgbvk-v3 .sb-route-intro p {
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  #sgbvk-v3 .sb-service-pill,
  #sgbvk-v3 .sb-button {
    transition: none;
  }
}

