/* ============================================================
   BRAND DETAIL PAGE STYLES
   Extension of virtualbite.css for /chickito.html, /pasta.html
   ============================================================ */

/* ---------- Hero ---------- */
.bdetail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0 80px;
  color: #fff;
  background: var(--brand-color, var(--accent));
}
.bdetail-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, .12), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, .25), transparent 60%);
}
.bdetail-hero__inner {
  position: relative;
}
.bdetail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  transition: gap .2s ease, color .2s ease;
}
.bdetail-back:hover {
  color: #fff;
  gap: 12px;
}
.bdetail-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.bdetail-hero__logo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: rgba(0, 0, 0, .15);
  border: 1.5px solid rgba(255, 255, 255, .2);
  overflow: hidden;
  position: relative;
  justify-self: start;
}
.bdetail-hero__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bdetail-hero__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 96px;
  color: rgba(255, 255, 255, .85);
}
.bdetail-hero__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bdetail-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bdetail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(6px);
}
.bdetail-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E0A52A;
  box-shadow: 0 0 8px rgba(224, 165, 42, .8);
}
.bdetail-badge--open .bdetail-badge__dot {
  background: #65D08F;
  box-shadow: 0 0 8px rgba(101, 208, 143, .8);
}
.bdetail-badge--highlight {
  background: #F2C94C;
  color: var(--ink);
  border-color: #F2C94C;
}
.bdetail-hero__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(40px, 8vw, 84px);
  letter-spacing: -.03em;
  line-height: .95;
  margin: 0;
  color: #fff;
}
.bdetail-hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
  margin: 0;
  max-width: 60ch;
}

/* ---------- Sections ---------- */
.bdetail-section {
  padding: 80px 0;
}
.bdetail-section--alt {
  background: var(--bg-alt);
}
.bdetail-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.bdetail-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Story / prose ---------- */
.bdetail-prose {
  max-width: 760px;
}
.bdetail-prose__body {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bdetail-prose__body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Menu ---------- */
.bdetail-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.bdetail-menu-cat {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 4px 4px 0 var(--ink);
}
.bdetail-menu-cat__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1.5px dashed var(--rule);
}
.bdetail-menu-cat__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-mute);
}
.bdetail-menu-cat__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ink);
}
.bdetail-menu-cat__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bdetail-menu-cat__list li {
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 16px;
}
.bdetail-menu-cat__list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -2px;
  font-weight: 900;
  font-size: 18px;
  color: var(--brand-color, var(--accent));
}

/* ---------- Stats ---------- */
.bdetail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bdetail-stat {
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
}
.bdetail-stat__v {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.02em;
  line-height: 1.05;
}
.bdetail-stat__arrow {
  font-size: .7em;
  margin-right: 6px;
  color: var(--brand-color, var(--accent));
}
.bdetail-stat__l {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* ---------- Requirements ---------- */
.bdetail-reqs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.bdetail-req {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 3px 3px 0 var(--ink);
}
.bdetail-req__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--brand-color, var(--accent));
  margin-bottom: 10px;
}
.bdetail-req__title {
  margin: 0 0 8px 0;
}
.bdetail-req__p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- CTA section ---------- */
.bdetail-cta-section {
  padding: 80px 0;
  background: var(--brand-color, var(--ink));
  color: #fff;
}
.bdetail-cta-section .eyebrow,
.bdetail-cta-section .h-1,
.bdetail-cta-section .lead {
  color: #fff;
}
.bdetail-cta-section .eyebrow .dot {
  background: #fff;
}
.bdetail-cta {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.bdetail-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.bdetail-cta__actions .btn--ghost {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}
.bdetail-cta__actions .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

/* ============== TABLET (768+) ============== */
@media (min-width: 768px) {
  .bdetail-hero {
    padding: 140px 0 100px;
  }
  .bdetail-hero__grid {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }
  .bdetail-hero__logo {
    max-width: 280px;
  }
  .bdetail-menu {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .bdetail-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .bdetail-reqs {
    grid-template-columns: repeat(3, 1fr);
  }
  .bdetail-cta {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }
}

/* ============== DESKTOP (1024+) ============== */
@media (min-width: 1024px) {
  .bdetail-section {
    padding: 100px 0;
  }
  .bdetail-cta-section {
    padding: 100px 0;
  }
  .bdetail-hero__logo {
    max-width: 320px;
  }
  .bdetail-hero__grid {
    grid-template-columns: 320px 1fr;
    gap: 64px;
  }
}
