/* ============================================================
   Beyond Beauty Academy × Glowtech — Campaign hero styles
   Single variation, namespaced under .hero-a
   Built on the Glowtech token set (colors_and_type.css).
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  container-type: inline-size;
  font-family: var(--font-sans);
  direction: rtl;
  text-align: right;
}
.hero *,
.hero *::before,
.hero *::after {
  box-sizing: border-box;
}

/* Shared logo lockup */
.hero-logo {
  display: block;
}
.hero-logo img {
  display: block;
  height: 100%;
  width: auto;
}

/* Shared eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gt-burgundy);
  background: white;
  border: 1px solid var(--gt-pink);
  padding: 8px 14px 7px;
  border-radius: 999px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gt-burgundy);
}

/* Shared CTA */
.hero-cta {
  font: inherit;
  font-weight: 800;
  font-size: 19px;
  border: 0;
  cursor: pointer;
  padding: 19px 34px;
  border-radius: var(--r-pill);
  color: #fff;
  background: linear-gradient(180deg, #d2477f 0%, #b8336a 58%, #962556 100%);
  box-shadow:
    0 14px 30px rgba(184, 51, 106, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition:
    transform var(--dur-base) var(--ease-warm),
    box-shadow var(--dur-base) var(--ease-warm);
  text-decoration: none;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 38px rgba(184, 51, 106, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
}
.hero-cta svg {
  width: 22px;
  height: 22px;
  transition: transform var(--dur-slow) var(--ease-warm);
}
/* RTL: arrow points left (forward) and nudges left on hover */
.hero-cta:hover svg {
  transform: translateX(-6px);
}

.hero-gift {
  font-size: 14px;
  font-weight: 600;
  color: var(--gt-burgundy-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-gift b {
  font-weight: 800;
}

/* ============================================================
   VARIATION A — Classic Glowtech split
   ============================================================ */
.hero-a {
  background: linear-gradient(135deg, #ffedf2 0%, #fff6e8 58%, #ffe2ec 100%);
}
.hero-a .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}
.hero-a .blob-1 {
  width: 420px;
  height: 420px;
  background: #edc9d3;
  top: -140px;
  left: -90px;
  opacity: 0.55;
}
.hero-a .blob-2 {
  width: 300px;
  height: 300px;
  background: #b8336a;
  bottom: -120px;
  left: 34%;
  opacity: 0.12;
}
.hero-a .blob-3 {
  width: 280px;
  height: 280px;
  background: #ffd1de;
  top: 40px;
  right: -90px;
  opacity: 0.5;
}

.hero-a .inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
  padding: 56px 72px;
}
.hero-a .copy {
  max-width: 560px;
}
.hero-a .hero-logo {
  height: 62px;
  margin-bottom: 30px;
}
.hero-a .hero-eyebrow {
  margin-bottom: 18px;
}
.hero-a h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--gt-ink);
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero-a h1 em {
  font-style: normal;
  color: var(--gt-burgundy);
  position: relative;
  white-space: nowrap;
}
.hero-a h1 em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 2px;
  height: 12px;
  background: rgba(237, 201, 211, 0.7);
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-6deg);
}
.hero-a .desc {
  font-size: 19px;
  line-height: 1.55;
  color: var(--gt-body);
  margin: 0 0 30px;
  max-width: 500px;
}
.hero-a .desc b {
  color: var(--gt-burgundy-ink);
  font-weight: 700;
}
.hero-a .cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-a .price-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.hero-a .price-stack .now {
  font-size: 30px;
  font-weight: 800;
  color: var(--gt-ink);
  letter-spacing: -0.02em;
}
.hero-a .price-stack .now span {
  font-size: 18px;
}
.hero-a .price-stack .meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--gt-muted);
  margin-top: 5px;
}
.hero-a .gift-row {
  margin-top: 18px;
}

.hero-a .visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.hero-a .photo {
  width: 100%;
  height: 78%;
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, #ffedf2 0%, #f6d8e0 55%, #fff6e8 100%);
  box-shadow:
    0 28px 64px rgba(184, 51, 106, 0.26),
    0 4px 12px rgba(110, 28, 64, 0.1);
  overflow: hidden;
}
.hero-a .photo image-slot {
  width: 100%;
  height: 100%;
  display: block;
}

/* Floating cards */
.hero-a .badge-hours {
  position: absolute;
  top: 8%;
  left: -22px;
  background: var(--gt-ink);
  color: var(--gt-cream);
  border-radius: var(--r-lg);
  padding: 15px 20px;
  box-shadow: var(--shadow-pop);
  display: flex;
  align-items: center;
  gap: 13px;
}
.hero-a .badge-hours .clock {
  width: 30px;
  height: 30px;
  color: var(--gt-pink);
  flex: none;
}
.hero-a .badge-hours .hours {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--gt-pink);
  letter-spacing: -0.01em;
}
.hero-a .badge-hours .lbl {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 4px;
}
.hero-a .badge-date {
  position: absolute;
  bottom: 7%;
  right: -18px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 13px 20px;
  box-shadow: 0 14px 30px rgba(184, 51, 106, 0.22);
  border: 1px solid rgba(184, 51, 106, 0.12);
  text-align: center;
}
.hero-a .badge-date .d {
  font-size: 26px;
  font-weight: 800;
  color: var(--gt-burgundy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-a .badge-date .l {
  font-size: 12px;
  font-weight: 600;
  color: var(--gt-muted);
  margin-top: 4px;
}

/* ============================================================
   MOBILE — container-query layouts (≤ 560px artboard width)
   Reflows each variation to a single-column, mobile-first hero.
   Driven by .hero's container-type so it resolves per-artboard.
   ============================================================ */
@container (max-width: 560px) {
  /* ---- shared mobile CTA ---- */
  .hero .hero-cta {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 18px 22px;
  }
  .hero .hero-eyebrow {
    font-size: 16px;
    padding: 6px 12px 5px;
  }
  .hero .desc {
    font-size: 20px;
    line-height: 1.5;
  }

  /* ---------- VARIATION A — mobile ---------- */
  .hero-a .blob-1 {
    width: 260px;
    height: 260px;
    top: -110px;
    left: -90px;
  }
  .hero-a .blob-2 {
    display: none;
  }
  .hero-a .blob-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: -110px;
  }
  .hero-a .inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 30px 22px 32px;
    height: 100%;
  }
  .hero-a .copy {
    display: contents;
  }
  .hero-a .hero-logo {
    order: 1;
    height: 38px;
    margin: 0;
    align-self: flex-start;
  }
  .hero-a .hero-eyebrow {
    order: 2;
    margin: 0;
  }
  .hero-a h1 {
    order: 3;
    font-size: 31px;
    line-height: 1.12;
    margin: 0;
  }
  .hero-a .visual {
    order: 4;
    align-self: stretch;
    height: 208px;
    display: block;
  }
  .hero-a .photo {
    width: 100%;
    height: 100%;
  }
  .hero-a .desc {
    order: 5;
    margin: 0;
    max-width: none;
  }
  .hero-a .cta-row {
    order: 6;
    margin: 0;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }
  .hero-a .price-stack {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
  }
  .hero-a .price-stack .now {
    font-size: 26px;
  }
  .hero-a .price-stack .meta {
    margin: 0;
  }
  .hero-a .gift-row {
    order: 7;
    margin: 2px 0 0;
    text-align: center;
  }
  .hero-a .hero-gift {
    justify-content: center;
    font-size: 16px;
  }
  .hero-a .badge-hours {
    top: 12px;
    left: 12px;
    right: auto;
    padding: 9px 13px;
    gap: 9px;
    border-radius: 12px;
  }
  .hero-a .badge-hours .clock {
    width: 22px;
    height: 22px;
  }
  .hero-a .badge-hours .hours {
    font-size: 18px;
  }
  .hero-a .badge-hours .lbl {
    font-size: 10.5px;
    margin-top: 2px;
  }
  .hero-a .badge-date {
    bottom: 12px;
    right: 12px;
    left: auto;
    padding: 8px 14px;
  }
  .hero-a .badge-date .d {
    font-size: 19px;
  }

}
