/* SpaceBridge customer-first candidate v71.
   Local candidate only: simplify discovery without changing consultation contracts. */
html body.sb-customer-first-v71 #main-content > section,
html body.sb-customer-first-v71 > footer {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}

body.sb-customer-first-v71 {
  --cf-ink: #10233f;
  --cf-body: #4d6075;
  --cf-blue: #0b72b5;
  --cf-blue-strong: #075d96;
  --cf-line: #d8e3eb;
  --cf-soft: #f4f8fb;
  --cf-card-shadow: 0 14px 34px rgba(16, 35, 63, .08);
}

body.sb-customer-first-v71 .sb-ir-concerns {
  display: none !important;
}

/* Deferred legacy styles are appended after this file on first interaction.
   Keep retired discovery surfaces retired even when that later stylesheet loads. */
html body.sb-customer-first-v71.sb-image-rebuild-v143 #main-content > #categories,
html body.sb-customer-first-v71.sb-image-rebuild-v143 #main-content > #pricing,
html body.sb-customer-first-v71.sb-image-rebuild-v143 #main-content > #insights,
html body.sb-customer-first-v71.sb-image-rebuild-v143 #main-content > #partnership,
html body.sb-customer-first-v71.sb-image-rebuild-v143 #main-content > #condition,
html body.sb-customer-first-v71.sb-image-rebuild-v143 #main-content > #trust-proof {
  display: none !important;
}

body.sb-customer-first-v71 #sb142-hero .sb142-grid {
  row-gap: 36px !important;
}

body.sb-customer-first-v71 #sb142-hero .sb142-copy > .sb142-eyebrow,
body.sb-customer-first-v71 #services .section-heading .sb142-eyebrow {
  color: var(--cf-blue) !important;
}

body.sb-customer-first-v71 #sb142-hero h1 {
  max-width: 650px !important;
  color: var(--cf-ink) !important;
  text-wrap: balance;
}

body.sb-customer-first-v71 #sb142-hero .hero-description {
  max-width: 610px !important;
  color: var(--cf-body) !important;
}

body.sb-customer-first-v71 #sb142-hero .sb142-actions {
  gap: 12px !important;
}

body.sb-customer-first-v71 #sb142-hero .sb142-button.primary {
  background: var(--cf-blue) !important;
}

body.sb-customer-first-v71 #sb142-hero .sb142-button.primary:hover {
  background: var(--cf-blue-strong) !important;
}

body.sb-customer-first-v71 #services .section-heading h2 {
  color: var(--cf-ink) !important;
  text-wrap: balance;
}

body.sb-customer-first-v71 #services .service-instruction {
  max-width: 720px;
  color: var(--cf-body) !important;
}

body.sb-customer-first-v71 #services .service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.sb-customer-first-v71 #services .sb-ir-service-card {
  overflow: hidden;
  border: 1px solid var(--cf-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: var(--cf-card-shadow) !important;
}

body.sb-customer-first-v71 #services .service-choice {
  min-height: 0 !important;
  padding: 0 18px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

body.sb-customer-first-v71 #services .r51-service-photo {
  width: calc(100% + 36px) !important;
  max-width: none !important;
  margin: 0 -18px 15px !important;
  aspect-ratio: 8 / 5 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  background: var(--cf-soft);
}

body.sb-customer-first-v71 #services .service-icon {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, .78) !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 8px 18px rgba(16, 35, 63, .12) !important;
  backdrop-filter: blur(8px);
}

body.sb-customer-first-v71 #services .service-label {
  min-height: 0 !important;
  color: var(--cf-ink) !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

body.sb-customer-first-v71 #services .service-short {
  min-height: 44px !important;
  margin-top: 6px !important;
  color: var(--cf-body) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body.sb-customer-first-v71 #services .service-quick {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--cf-line) !important;
  color: var(--cf-body) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

body.sb-customer-first-v71 #services .service-quick b {
  display: block !important;
  margin-bottom: 2px !important;
  color: var(--cf-blue) !important;
}

body.sb-customer-first-v71 #services .choice-check {
  top: 12px !important;
  right: 12px !important;
}

body.sb-customer-first-v71 #services .sb-ir-card-actions {
  min-height: 56px;
  padding: 10px 14px 12px !important;
  border-top: 1px solid var(--cf-line) !important;
  background: #fbfdff !important;
}

body.sb-customer-first-v71 #services .sb-ir-card-actions a {
  min-height: 44px;
  color: var(--cf-blue-strong) !important;
}

/* 상세 서비스는 각 상세 페이지에서 확인하도록 하고, 홈의 4개 선택 카드는
   같은 높이와 같은 의사결정 정보만 유지한다. */
body.sb-customer-first-v71 #services .sb-ir-legacy-map {
  display: none !important;
}

body.sb-customer-first-v71 #questions,
body.sb-customer-first-v71 #process,
body.sb-customer-first-v71 #prepare,
body.sb-customer-first-v71 #quote {
  scroll-margin-top: 88px;
}

body.sb-customer-first-v71 #process .process-grid,
body.sb-customer-first-v71 #prepare .sb-ir-prepare-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.sb-customer-first-v71 #process .process-grid li,
body.sb-customer-first-v71 #prepare .sb-ir-prepare-grid article {
  min-height: 0 !important;
  padding: 20px !important;
}

@media (max-width: 1024px) {
  body.sb-customer-first-v71 #services .service-grid,
  body.sb-customer-first-v71 #process .process-grid,
  body.sb-customer-first-v71 #prepare .sb-ir-prepare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.sb-customer-first-v71 #sb142-hero .sb142-grid {
    grid-template-areas: "copy" "services" "media" !important;
    gap: 24px !important;
  }

  body.sb-customer-first-v71 #sb142-hero h1 {
    font-size: clamp(30px, 8.2vw, 34px) !important;
    line-height: 1.28 !important;
    letter-spacing: -.045em !important;
  }

  body.sb-customer-first-v71 #sb142-hero .hero-description {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  body.sb-customer-first-v71 #sb142-hero .sb142-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  body.sb-customer-first-v71 #sb142-hero .sb142-actions .sb142-button {
    display: flex !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 11px 10px !important;
    font-size: 14px !important;
    text-align: center;
  }

  body.sb-customer-first-v71 #services {
    padding-bottom: 12px !important;
  }

  body.sb-customer-first-v71 #services .section-heading {
    margin-bottom: 8px !important;
  }

  body.sb-customer-first-v71 #services .section-heading h2 {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }

  body.sb-customer-first-v71 #services .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.sb-customer-first-v71 #services .sb-ir-service-card {
    border-radius: 12px !important;
    box-shadow: 0 8px 22px rgba(16, 35, 63, .07) !important;
  }

  body.sb-customer-first-v71 #services .service-choice {
    min-height: 0 !important;
    padding: 0 11px 11px !important;
  }

  body.sb-customer-first-v71 #services .r51-service-photo {
    width: calc(100% + 22px) !important;
    margin: 0 -11px 10px !important;
    aspect-ratio: 4 / 3 !important;
  }

  body.sb-customer-first-v71 #services .service-icon {
    top: 8px !important;
    left: 8px !important;
    width: 32px !important;
    height: 32px !important;
  }

  body.sb-customer-first-v71 #services .service-icon .icon {
    width: 18px !important;
    height: 18px !important;
  }

  body.sb-customer-first-v71 #services .service-label {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  body.sb-customer-first-v71 #services .service-short {
    display: -webkit-box !important;
    min-height: 40px !important;
    margin-top: 4px !important;
    overflow: hidden !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.sb-customer-first-v71 #services .service-quick {
    min-height: 49px;
    margin-top: 7px !important;
    padding-top: 7px !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  body.sb-customer-first-v71 #services .sb-ir-card-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    min-height: 0 !important;
    padding: 5px 9px 8px !important;
  }

  body.sb-customer-first-v71 #services .sb-ir-card-actions a:first-child,
  body.sb-customer-first-v71 #services .sb-ir-legacy-map {
    display: none !important;
  }

  body.sb-customer-first-v71 #services .sb-ir-card-actions a {
    min-height: 44px !important;
    justify-content: center !important;
    font-size: 12px !important;
  }

  body.sb-customer-first-v71 #process .process-grid,
  body.sb-customer-first-v71 #prepare .sb-ir-prepare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.sb-customer-first-v71 #process .process-grid li,
  body.sb-customer-first-v71 #prepare .sb-ir-prepare-grid article {
    min-height: 150px !important;
    padding: 16px !important;
  }
}

@media (max-width: 359px) {
  body.sb-customer-first-v71 #sb142-hero .sb142-actions {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sb-customer-first-v71 *,
  body.sb-customer-first-v71 *::before,
  body.sb-customer-first-v71 *::after {
    scroll-behavior: auto !important;
  }
}
