/* ==========================================================================
   Trang chủ
   ========================================================================== */

/* ---------- Hero ---------- */
.bb-hero {
  position: relative; overflow: hidden;
  padding-block: 56px 96px;
  background:
    radial-gradient(circle at 85% 20%, rgba(227, 164, 58, .18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(107, 63, 147, .10), transparent 45%),
    var(--bb-cream);
}
.bb-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
.bb-hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff;
  box-shadow: var(--bb-shadow); font-size: 14px; font-weight: 600;
}
.bb-hero__kicker span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bb-red); color: #fff;
}
.bb-hero__kicker svg { width: 16px; height: 16px; }
.bb-hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; line-height: 1.08;
}
.bb-hero h1 em { font-style: normal; color: var(--bb-red); }
.bb-hero h1 i { font-style: normal; color: var(--bb-purple); }
.bb-hero__text { margin-top: 20px; max-width: 540px; font-size: 18px; color: var(--bb-muted); }
.bb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.bb-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.bb-hero__visual { position: relative; }
.bb-hero__img {
  position: relative; aspect-ratio: 5 / 4; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  overflow: hidden; box-shadow: var(--bb-shadow-lg);
  border: 10px solid #fff;
}
.bb-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.bb-hero__note {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff;
  box-shadow: var(--bb-shadow-lg); font-size: 14px; line-height: 1.3;
}
.bb-hero__note b { display: block; font-size: 15px; }
.bb-hero__note small { color: var(--bb-muted); }
.bb-hero__note img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.bb-hero__note--a { left: -26px; bottom: 34px; }
.bb-hero__note--b { right: -10px; top: 26px; }
.bb-hero__steam {
  position: absolute; right: 18%; top: -34px; width: 90px; height: 70px; color: var(--bb-gold); opacity: .8;
}

/* ---------- Dải cam kết ---------- */
.bb-usp { margin-top: -48px; position: relative; z-index: 2; }
.bb-usp__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border-radius: var(--bb-radius-lg); box-shadow: var(--bb-shadow-lg);
}
.bb-usp__item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.bb-usp__item + .bb-usp__item { border-left: 1px dashed var(--bb-line); }
.bb-usp__icon {
  display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 16px;
  background: var(--bb-dough); color: var(--bb-red);
}
.bb-usp__icon svg { width: 26px; height: 26px; }
.bb-usp__item h3 { font-size: 17px; font-family: var(--bb-font-body); font-weight: 700; }
.bb-usp__item p { margin-top: 4px; font-size: 14px; color: var(--bb-muted); line-height: 1.5; }

/* ---------- Dòng bánh ---------- */
.bb-lines__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bb-line {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; padding: 28px; border-radius: var(--bb-radius-lg); overflow: hidden;
  color: #fff; isolation: isolate;
}
.bb-line img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.bb-line::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(30, 15, 8, .82) 100%);
}
.bb-line--purple::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(52, 24, 77, .9) 100%); }
.bb-line--sweet::before  { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(120, 40, 30, .86) 100%); }
.bb-line:hover img { transform: scale(1.06); }
.bb-line__tag {
  align-self: flex-start; margin-bottom: auto;
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92);
  color: var(--bb-ink); font-size: 13px; font-weight: 700;
}
.bb-line h3 { color: #fff; font-size: 28px; }
.bb-line p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.bb-line__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-weight: 700; color: #fff;
}
.bb-line__more svg { width: 18px; height: 18px; }

/* ---------- Thực đơn ---------- */
.bb-menu-block__foot { margin-top: 44px; text-align: center; }

/* ---------- Câu chuyện ---------- */
.bb-story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.bb-story__media { position: relative; }
.bb-story__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--bb-radius-lg); }
.bb-story__stamp {
  position: absolute; right: -22px; bottom: -22px;
  display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
  background: var(--bb-red); color: #fff; text-align: center;
  font-family: var(--bb-font-hand); font-size: 22px; font-weight: 700; line-height: 1.1;
  box-shadow: var(--bb-shadow-lg); transform: rotate(-8deg);
  border: 4px dashed rgba(255, 255, 255, .5);
}
.bb-story__body p { margin-top: 16px; color: var(--bb-muted); }
.bb-story__list { display: grid; gap: 12px; margin-top: 24px; }
.bb-story__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.bb-story__list svg { width: 22px; height: 22px; flex: none; color: var(--bb-green); margin-top: 2px; }
.bb-story__body .bb-btn { margin-top: 30px; }

/* ---------- Dải gạo lứt tím ---------- */
.bb-purple {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--bb-purple-dark), var(--bb-purple));
  color: var(--bb-on-dark);
}
.bb-purple::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.bb-purple__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.bb-purple .bb-eyebrow { color: #f3c7ff; }
.bb-purple .bb-title { color: #fff; }
.bb-purple .bb-title em { color: var(--bb-gold); }
.bb-purple .bb-lead { color: rgba(255, 246, 234, .82); }
.bb-purple__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.bb-purple__fact { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.bb-purple__fact b { display: block; font-size: 17px; color: #fff; }
.bb-purple__fact span { font-size: 14px; color: rgba(255, 246, 234, .78); }
.bb-purple .bb-btn { margin-top: 32px; }
.bb-purple__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 12px solid rgba(255, 255, 255, .12); }

/* ---------- Quy trình ---------- */
.bb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.bb-step {
  position: relative; padding: 30px 24px; border-radius: var(--bb-radius-lg);
  background: #fff; text-align: center; box-shadow: var(--bb-shadow);
}
.bb-step__num {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--bb-dough); color: var(--bb-red);
  font-family: var(--bb-font-head); font-size: 26px; font-weight: 800;
}
.bb-step h3 { font-size: 20px; }
.bb-step p { margin-top: 8px; font-size: 15px; color: var(--bb-muted); }
.bb-step:not(:last-child)::after {
  content: ""; position: absolute; top: 62px; right: -24px; width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--bb-red) 0 4px, transparent 4px 8px);
}
