/* Design B — Shoppable service home */
.scandi-b {
  --sm-bg: #f3efe8;
  --sm-paper: #fff;
  --sm-accent: #3f5a4a;
  --sm-ink: #241f1b;
}

.scandi-b .scandi-header { position: sticky; top: 0; background: #fff; box-shadow: 0 1px 0 var(--sm-line); }
.scandi-b .scandi-logo { font-family: "Pretendard", sans-serif; letter-spacing: 0.22em; font-size: 20px; font-weight: 500; }

.b-util {
  background: #241f1b;
  color: #efe8de;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.b-util__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.b-util a { color: #efe8de !important; text-decoration: underline; text-underline-offset: 3px; }

.b-hero { position: relative; }

.b-hero__visual {
  position: relative;
  min-height: 78vh;
  background: #d9d2c8 center / cover no-repeat;
}

/* 밝은 실내 컷 위에서도 카피가 읽히도록 좌하단 스크림 */
.b-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(24,19,14,0.62) 0%, rgba(24,19,14,0.30) 38%, rgba(24,19,14,0) 62%),
    linear-gradient(0deg, rgba(24,19,14,0.35) 0%, rgba(24,19,14,0) 45%);
}

.b-hero__visual > * { position: relative; z-index: 1; }

.b-hero__copy {
  position: absolute;
  left: 8%;
  bottom: 10%;
  max-width: 480px;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.b-hero__copy h1 {
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.b-hero__copy p { margin: 16px 0 24px; color: rgba(255,255,255,0.88); }

.b-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #241f1b;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  cursor: pointer;
  z-index: 2;
}

.b-pin:after {
  content: "+";
  font-size: 18px;
  line-height: 28px;
}

.b-pin__card {
  display: none;
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: #fff;
  color: var(--sm-ink);
  padding: 12px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.b-pin.is-open .b-pin__card { display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.b-pin__card img { width: 64px; height: 80px; object-fit: cover; }
.b-pin__card strong { display: block; font-size: 13px; }
.b-pin__card span { display: block; font-size: 12px; color: var(--sm-mute); margin: 4px 0 8px; }
.b-pin__card a { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

.b-cats { padding: 72px 0 20px; }

.b-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.b-cat {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 22px;
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden;
}

.b-cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b-cat:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(20,16,12,0.62));
}

.b-cat span, .b-cat strong { position: relative; z-index: 1; display: block; }
.b-cat strong { font-size: 20px; font-weight: 500; line-height: 1.35; }
.b-cat span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }

.b-pick { padding: 80px 0; }

.b-pick__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
}

.b-pick h2 {
  font-family: "Pretendard", sans-serif;
  font-size: 34px;
  font-weight: 500;
}

.b-pick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.b-service {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #241f1b;
  color: #efe8de;
}

.b-service a {
  display: block;
  padding: 42px 32px;
  color: #efe8de !important;
  text-decoration: none !important;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.b-service a:last-child { border-right: 0; }
.b-service em { display: block; font-style: normal; font-size: 12px; letter-spacing: 0.16em; opacity: 0.6; margin-bottom: 10px; }
.b-service strong { display: block; font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.b-service p { font-size: 13px; line-height: 1.7; opacity: 0.78; }

.b-promo {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 420px;
}

.b-promo__media { background: #ddd center / cover no-repeat; }

.b-promo__copy {
  background: #3f5a4a;
  color: #f4efe6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}

.b-promo__copy h2 { font-size: 36px; font-weight: 500; margin: 10px 0 16px; }
.b-promo__copy p { margin-bottom: 24px; line-height: 1.8; }

.b-reviews { padding: 90px 0; background: #fff; }

.b-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.b-review {
  padding: 28px 28px 24px;
  background: #f6f2eb;
}

.b-review__stars { letter-spacing: 2px; margin-bottom: 12px; }
.b-review p { line-height: 1.8; min-height: 96px; }
.b-review b { display: block; margin-top: 16px; font-size: 13px; }

.b-insta { padding: 40px 0 90px; }

.b-insta__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 24px;
}

.b-insta__grid a { aspect-ratio: 1; overflow: hidden; display: block; }
.b-insta__grid img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 991px) {
  .b-cats__grid,
  .b-pick__grid,
  .b-service,
  .b-reviews__grid { grid-template-columns: 1fr 1fr; }
  .b-promo { grid-template-columns: 1fr; }
  .b-hero__copy { left: 20px; right: 20px; }
}

@media (max-width: 640px) {
  .b-cats__grid,
  .b-pick__grid,
  .b-service,
  .b-reviews__grid,
  .b-insta__grid { grid-template-columns: 1fr; }
  .b-util__bar { flex-direction: column; padding: 8px 0; gap: 4px; }
}
