/* ============================================================
   brand-page.css — Beyond J.C. Group OPC
   Shared styles for saverSCorner & barber's hive brand pages
   Compact header · offerings grid · branches · price list · CTA
   Matches site design system: Fraunces/DM Sans, green & yellow accents
   ============================================================ */

:root {
  --bp-green:        #0d542b;
  --bp-green-hover:  #0a4322;
  --bp-green-light:  #dcfce7;
  --bp-yellow:       #eab308;
  --bp-yellow-hover: #ca8a04;
  --bp-yellow-light: #fef9c3;
  --bp-ink:          #111111;
  --bp-ink-mid:      #444444;
  --bp-ink-light:    #888888;
  --bp-white:        #ffffff;
  --bp-off-white:    #f8f8f8;
  --bp-border:       #efefef;
  --bp-border-dark:  #e2e2e2;
  --bp-font-display: sans-serif;
  --bp-font-body:    sans-serif;
  --bp-max-w:        1380px;
  --bp-px:           clamp(20px, 5vw, 80px);
  --bp-r-card:       16px;
  --bp-r-pill:       9999px;
  --bp-sh-card:      0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.04);
  --bp-sh-hover:     0 8px 28px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.04);
  --bp-t-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --bp-t-fast:       .18s ease;
  --navbar-h:        80px;
}

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .52s ease, transform .52s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── 1. PAGE HEADER ───────────────────────────────────────── */
.bp-page-header {
  padding: calc(var(--navbar-h) + 52px) var(--bp-px) 0;
  border-bottom: 1px solid var(--bp-border);
  overflow: hidden;
      padding-left: 10%;
    padding-right: 10%;
}
.bp-page-header--dark { background: var(--bp-white); }
.bp-page-header--ink  { background: var(--bp-white); }

.bp-page-header__inner {
  max-width: var(--bp-max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-end;
}

/* Eyebrow */
.bp-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bp-font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgb(12, 12, 181);
  margin-bottom: 20px;
}
.bp-eyebrow--green { color: var(--bp-green); }
.bp-eyebrow--ink   { color: var(--bp-ink-mid); }
.bp-eyebrow--light { color: rgba(255,255,255,.6); }

.bp-eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  animation: bpDotPulse 2.5s ease infinite;
}
.bp-eyebrow-dot--green  { background: var(--bp-green); }
.bp-eyebrow-dot--yellow { background: red; }

/* Logo row */
.bp-page-header__logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.bp-logo-badge {
  width: 56px; height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp-logo-badge--dark { background: var(--bp-ink); }
.bp-logo-badge--ink  { background: var(--bp-ink); }
.bp-logo-badge--green { background: var(--bp-green); }

.bp-logo-badge img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.bp-logo-fb {
  font-family: var(--bp-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--bp-white);
}

/* Title */
.bp-page-header__title {
  font-family: var(--bp-font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.0;
  color: var(--bp-ink);
  letter-spacing: -2px;
}
.bp-page-header__title em {
  font-style: italic;
  color: var(--bp-yellow);
}

.bp-page-header__tagline {
  font-family: var(--bp-font-display);
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: var(--bp-ink-light);
  margin-bottom: 14px;
}

.bp-page-header__sub {
  font-family: var(--bp-font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--bp-ink-light);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 28px;
}

/* Chips */
.bp-page-header__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 52px;
}
.bp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--bp-font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: var(--bp-r-pill);
  border: 1px solid transparent;
}
.bp-chip--green  { background: var(--bp-green-light); color: var(--bp-green); border-color: rgba(13,84,43,.15); }
.bp-chip--yellow { background: var(--bp-yellow-light); color: #854d0e; border-color: rgba(234,179,8,.2); }
.bp-chip--grey   { background: var(--bp-off-white); color: var(--bp-ink-light); border-color: var(--bp-border-dark); }

/* Hero image */
.bp-page-header__hero-img {
  position: relative;
  height: 420px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  align-self: flex-end;
}
.bp-page-header__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.bp-page-header__hero-img:hover .bp-page-header__img { transform: scale(1.03); }

.bp-page-header__img-badge {
  position: absolute;
  bottom: 16px; left: 16px;
}
.bp-coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  color: var(--bp-yellow);
  font-family: var(--bp-font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--bp-r-pill);
}

/* ── 2. SECTION CHROME ────────────────────────────────────── */
.bp-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.bp-section-header .bp-eyebrow { justify-content: center; }

.bp-section-title {
  font-family: var(--bp-font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  color: var(--bp-ink);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.bp-section-sub {
  font-family: var(--bp-font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--bp-ink-light);
  line-height: 1.7;
  max-width: 520px;
  margin-inline: auto;
}

/* ── 3. OFFERINGS ─────────────────────────────────────────── */
.bp-offerings {
  background: var(--bp-off-white);
  padding: 80px 0 88px;
}
.bp-offerings__inner {
  max-width: var(--bp-max-w);
  margin-inline: auto;
  padding-inline: var(--bp-px);
}
.bp-offerings__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bp-offering {
  background: var(--bp-white);
  border-radius: var(--bp-r-card);
  border: 1px solid var(--bp-border);
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--bp-sh-card);
  transition: transform .28s var(--bp-t-spring), box-shadow .28s;
}
.bp-offering:hover {
  transform: translateY(-5px);
  box-shadow: var(--bp-sh-hover);
}

.bp-offering__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .22s var(--bp-t-spring);
}
.bp-offering__icon--dark {
  background: var(--bp-green-light);
  color: var(--bp-green);
}
.bp-offering__icon--ink {
  background: #f1f1f1;
  color: var(--bp-ink);
}
.bp-offering:hover .bp-offering__icon--dark {
  background: var(--bp-green);
  color: var(--bp-white);
  transform: scale(1.08);
}
.bp-offering:hover .bp-offering__icon--ink {
  background: var(--bp-ink);
  color: var(--bp-white);
  transform: scale(1.08);
}

.bp-offering__title {
  font-family: var(--bp-font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--bp-ink);
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
.bp-offering__desc {
  font-family: var(--bp-font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--bp-ink-light);
  line-height: 1.7;
}

/* ── 4. BRANCHES ──────────────────────────────────────────── */
.bp-branches {
  background: var(--bp-white);
  padding: 80px 0 88px;
}
.bp-branches__inner {
  max-width: var(--bp-max-w);
  margin-inline: auto;
  padding-inline: var(--bp-px);
}
.bp-branches__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bp-branch {
  background: var(--bp-white);
  border-radius: var(--bp-r-card);
  border: 1px solid var(--bp-border);
  overflow: hidden;
  box-shadow: var(--bp-sh-card);
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--bp-t-spring), box-shadow .28s;
  border-top: 3px solid var(--bp-green);
}
.bp-branch:hover {
  transform: translateY(-5px);
  box-shadow: var(--bp-sh-hover);
}

.bp-branch__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bp-off-white);
}
.bp-branch__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.bp-branch:hover .bp-branch__img { transform: scale(1.04); }

.bp-branch__tag {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--bp-green);
  color: var(--bp-white);
  font-family: var(--bp-font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 3px 10px;
  border-radius: var(--bp-r-pill);
}

.bp-branch__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  border-top: 1px solid var(--bp-border);
}
.bp-branch__name {
  font-family: var(--bp-font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--bp-ink);
  letter-spacing: -.5px;
  line-height: 1.2;
}
.bp-branch__detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--bp-font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--bp-ink-mid);
  line-height: 1.5;
}
.bp-branch__detail svg { flex-shrink: 0; color: var(--bp-green); margin-top: 1px; }

.bp-branch__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--bp-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--bp-green);
  text-decoration: none;
  margin-top: 4px;
  transition: gap var(--bp-t-fast), color var(--bp-t-fast);
}
.bp-branch__map-btn:hover { gap: 10px; color: var(--bp-green-hover); }

/* ── 5. PRICE LIST ────────────────────────────────────────── */
.bp-pricelist {
  background: var(--bp-off-white);
  padding: 80px 0 88px;
}
.bp-pricelist__inner {
  max-width: var(--bp-max-w);
  margin-inline: auto;
  padding-inline: var(--bp-px);
}

.bp-pricelist__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.bp-price-category {
  background: var(--bp-white);
  border-radius: var(--bp-r-card);
  border: 1px solid var(--bp-border);
  overflow: hidden;
  box-shadow: var(--bp-sh-card);
  border-top: 3px solid var(--bp-ink);
}

.bp-price-category__title {
  font-family: var(--bp-font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--bp-ink);
  letter-spacing: -.4px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--bp-border);
}

.bp-price-items {
  display: flex;
  flex-direction: column;
}

.bp-price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--bp-border);
  transition: background var(--bp-t-fast);
}
.bp-price-item:last-child { border-bottom: none; }
.bp-price-item:hover { background: var(--bp-off-white); }

.bp-price-item__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bp-price-item__name {
  font-family: var(--bp-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--bp-ink);
}
.bp-price-item__desc {
  font-family: var(--bp-font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--bp-ink-light);
}
.bp-price-item__price {
  font-family: var(--bp-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--bp-ink-light);
  white-space: nowrap;
  flex-shrink: 0;
  font-style: italic;
}

.bp-pricelist__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--bp-font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--bp-ink-light);
  line-height: 1.65;
  background: var(--bp-white);
  border: 1px solid var(--bp-border-dark);
  border-radius: 10px;
  padding: 14px 18px;
}
.bp-pricelist__note svg { flex-shrink: 0; color: var(--bp-ink-light); margin-top: 1px; }
.bp-pricelist__note a { color: var(--bp-green); text-decoration: none; }
.bp-pricelist__note a:hover { text-decoration: underline; }

/* ── 6. CTA BAND ──────────────────────────────────────────── */
.bp-cta {
  padding: 88px var(--bp-px);
  text-align: center;
}
.bp-cta--dark { background: var(--bp-green); }
.bp-cta--ink  { background: var(--bp-ink); }

.bp-cta__inner { max-width: 580px; margin-inline: auto; }

.bp-cta__title {
  font-family: var(--bp-font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: var(--bp-white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.bp-cta__sub {
  font-family: var(--bp-font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,.58);
  line-height: 1.75;
  margin-bottom: 36px;
}
.bp-cta__sub a { color: rgba(255,255,255,.8); }
.bp-cta__sub a:hover { color: var(--bp-white); }

.bp-cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.bp-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--bp-r-pill);
  font-family: var(--bp-font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .22s var(--bp-t-spring), box-shadow .22s, background .18s;
}
.bp-cta__btn:hover { transform: translateY(-2px); }
.bp-cta__btn--yellow {
  background: var(--bp-yellow);
  color: var(--bp-ink);
  box-shadow: 0 4px 16px rgba(234,179,8,.25);
}
.bp-cta__btn--yellow:hover {
  background: var(--bp-yellow-hover);
  color: var(--bp-white);
  box-shadow: 0 8px 24px rgba(234,179,8,.35);
}
.bp-cta__btn--ghost {
  background: rgba(255,255,255,.1);
  color: var(--bp-white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.bp-cta__btn--ghost:hover { background: rgba(255,255,255,.18); }

/* ── 7. ANIMATIONS ────────────────────────────────────────── */
@keyframes bpDotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.6); opacity: .5; }
}

/* ── 8. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bp-offerings__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .bp-page-header__inner { grid-template-columns: 1fr; }
  .bp-page-header__hero-img { height: 300px; border-radius: 16px; }
  .bp-branches__grid { grid-template-columns: 1fr; }
  .bp-pricelist__grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .bp-offerings__grid { grid-template-columns: 1fr; }
  .bp-page-header__chips { gap: 6px; }
  .bp-cta__btns { flex-direction: column; align-items: center; }
  .bp-cta__btn { justify-content: center; width: 100%; max-width: 280px; }
}