/* Beautyforest, promo-hero block styles. Enqueued via block.json "style". Uses tokens.css vars. */

/* ---------- Promo hero (ACF block: bf/promo-hero) ---------- */
.bf-promo-hero{
  border-radius:var(--bf-radius);overflow:hidden;position:relative;
  box-shadow:0 24px 60px -30px rgba(23,23,22,.5)}

.bf-promo-hero--bg-mint{background:var(--bf-mint)}

.bf-promo-hero--bg-paper{background:linear-gradient(135deg,#F7FAF4 0%,#FFFFFF 100%)}

.bf-promo-hero--bg-graphite{background:var(--bf-graphite)}

.bf-promo-hero__grid{display:grid;grid-template-columns:54% 46%;align-items:stretch;min-height:470px}

.bf-promo-hero--image-left .bf-promo-hero__grid{grid-template-columns:46% 54%}

.bf-promo-hero--image-left .bf-promo-hero__media{order:-1}

.bf-promo-hero__content{padding:clamp(1.75rem,4vw,3.75rem);
  display:flex;flex-direction:column;justify-content:center;gap:1rem}

.bf-promo-hero__badge{display:inline-flex;align-items:center;gap:.4rem;width:fit-content;margin:0;
  background:#fff;border:1px solid var(--bf-hairline);border-radius:var(--bf-radius);
  padding:.45rem 1.05rem;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--bf-forest);box-shadow:0 10px 22px -14px rgba(23,23,22,.45)}

.bf-promo-hero__title{margin:0;color:var(--bf-graphite);font-family:var(--wp--preset--font-family--heading);
  font-size:clamp(2rem,1.4rem + 2.2vw,3.1rem);line-height:1.06;letter-spacing:-0.02em}

.bf-promo-hero__desc{margin:0;color:var(--bf-stone-deep);max-width:46ch;font-size:1.05rem;line-height:1.6}

.bf-promo-hero__actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.45rem}

.bf-promo-hero__trust{margin:.55rem 0 0;font-size:.8rem;color:var(--bf-stone-deep)}

.bf-promo-hero__media{display:flex;align-self:stretch;min-height:100%}

.bf-promo-hero__media img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block;min-height:360px}

.bf-promo-hero__placeholder{display:block;width:100%;min-height:360px;background:linear-gradient(135deg,#dfe6d6,#cfe0c0)}

.bf-promo-hero--bg-graphite .bf-promo-hero__title{color:#fff}

.bf-promo-hero--bg-graphite .bf-promo-hero__desc,
.bf-promo-hero--bg-graphite .bf-promo-hero__trust{color:#cdd6cf}

.bf-promo-hero--bg-graphite .bf-promo-hero__badge{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}

/* dark outline button (light backgrounds) */
.bf-btn--line{background:transparent;border:1.5px solid var(--bf-graphite);color:var(--bf-graphite)}

.bf-btn--line:hover{background:var(--bf-graphite);border-color:var(--bf-graphite);color:#fff}

.bf-promo-hero--bg-graphite .bf-btn--line{border-color:#fff;color:#fff}

.bf-promo-hero--bg-graphite .bf-btn--line:hover{background:#fff;color:var(--bf-graphite)}

@media (max-width:781px){
  .bf-promo-hero{border-radius:var(--bf-radius);margin-top:1rem}
  .bf-promo-hero__grid,.bf-promo-hero--image-left .bf-promo-hero__grid{grid-template-columns:1fr;min-height:0}
  .bf-promo-hero__media,.bf-promo-hero--image-left .bf-promo-hero__media{order:-1}
  .bf-promo-hero__content{padding:clamp(1.5rem,6vw,2.25rem);text-align:center;align-items:center}
  .bf-promo-hero__desc{margin-inline:auto}
  .bf-promo-hero__actions{justify-content:center}
  .bf-promo-hero__media img,.bf-promo-hero__placeholder{min-height:0;height:300px;object-position:50% 18%}
}

/* ===========================================================
   Promo hero  (.bf-promo-hero) , split editorial hero
   =========================================================== */
.bf-promo-hero{padding:var(--bf-section-y) var(--bf-gutter)}

.bf-promo-hero--bg-mint{background:var(--bf-mint)}

.bf-promo-hero--bg-paper{background:var(--bf-paper)}

.bf-promo-hero--bg-graphite{background:var(--bf-graphite);color:var(--bf-white)}

.bf-promo-hero__grid{max-width:var(--bf-container);margin-inline:auto;display:grid;gap:var(--bf-space-4);
  grid-template-columns:1fr 1fr;align-items:center}

.bf-promo-hero--image-left .bf-promo-hero__media{order:-1}

.bf-promo-hero__badge{font-size:var(--bf-fs-eyebrow);text-transform:uppercase;letter-spacing:var(--bf-track-eyebrow);
  font-weight:600;color:var(--bf-forest);margin:0 0 .6rem}

.bf-promo-hero--bg-graphite .bf-promo-hero__badge{color:var(--bf-green)}

.bf-promo-hero__title{font-size:var(--bf-fs-display);line-height:var(--bf-lh-tight);margin:0 0 1rem}

.bf-promo-hero__desc{color:var(--bf-stone-deep);max-width:46ch}

.bf-promo-hero--bg-graphite .bf-promo-hero__desc{color:#cdd6cf}

.bf-promo-hero__actions{display:flex;gap:.75rem;flex-wrap:wrap;margin:1.5rem 0 0}

.bf-promo-hero__trust{font-size:.85rem;color:var(--bf-stone-deep);margin:1rem 0 0}

.bf-promo-hero--bg-graphite .bf-promo-hero__trust{color:#cdd6cf}

.bf-promo-hero__media img{width:100%;height:auto;border-radius:var(--bf-radius);display:block}

.bf-promo-hero__placeholder{display:block;aspect-ratio:4/3;background:var(--bf-mint);border-radius:var(--bf-radius)}

@media(max-width:782px){.bf-promo-hero__grid{grid-template-columns:1fr}.bf-promo-hero--image-left .bf-promo-hero__media{order:0}}

/* ============================================================
   PROMO-HERO REDESIGN, layered green-glow card, frosted badge,
   editorial type, pill buttons, spotlight + orbit media stage.
   Emerald palette to match the header redesign.
   ============================================================ */
.bf-promo-hero{
  position:relative; overflow:hidden; isolation:isolate;
  border-radius:var(--bf-radius)!important; padding:0 !important;
  background:
    radial-gradient(120% 120% at 85% 15%, rgba(47,170,90,.16) 0%, rgba(47,170,90,0) 55%),
    radial-gradient(100% 100% at 10% 90%, rgba(31,128,68,.12) 0%, rgba(31,128,68,0) 50%),
    linear-gradient(135deg,#f0f7f1 0%, #e3f1e7 100%) !important;
  box-shadow:0 30px 70px -40px rgba(20,58,36,.45);
}

.bf-promo-hero::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(closest-side, rgba(47,170,90,.10), transparent) -120px -120px/360px 360px no-repeat,
    radial-gradient(closest-side, rgba(31,128,68,.08), transparent) calc(100% + 80px) calc(100% + 80px)/420px 420px no-repeat;
}

.bf-promo-hero__grid{
  position:relative; z-index:1;
  grid-template-columns:1.05fr .95fr !important;
  gap:32px !important; align-items:center !important;
  padding:12px 44px 16px 0 !important; max-width:1240px; margin:0 auto; min-height:0 !important;
}

/* Badge, frosted "Beautyforest Standard" seal lockup (icon-free) */
.bf-promo-hero__badge{ width:fit-content; }
.bf-promo-hero__badge[data-bf="seal"]{
  display:inline-flex !important; align-items:center;
  margin:0 0 11px !important;
  padding:6px 14px 7px !important;
  background:rgba(255,255,255,.55) !important;
  border:1px solid rgba(31,128,68,.16) !important;
  border-left:3px solid #2faa5a !important;
  border-radius:var(--bf-radius)!important;
  box-shadow:0 10px 24px -16px rgba(20,58,36,.5), inset 0 1px 0 rgba(255,255,255,.6);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  transition:transform .25s ease, box-shadow .25s ease;
}
.bf-promo-hero__badge[data-bf="seal"]::before{ content:none !important; }
.bf-promo-hero__badge[data-bf="seal"]:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px -16px rgba(20,58,36,.6), inset 0 1px 0 rgba(255,255,255,.6);
}
.bf-promo-hero__badge .bf-seal-txt{
  display:flex; flex-direction:column; gap:3px; line-height:1.05; text-align:left;
}
.bf-promo-hero__badge .bf-seal-main{
  font-size:12.5px; font-weight:700; letter-spacing:.1px; color:#15311f;
}

/* Typography */
.bf-promo-hero__title{
  margin:0 0 9px !important;
  font-size:clamp(26px, 2.6vw, 36px) !important;
  line-height:1.08 !important; font-weight:400 !important;
  letter-spacing:0 !important; color:#143a24 !important;
  font-family:'Fjalla One', var(--wp--preset--font-family--heading) !important;
}

.bf-promo-hero__desc{
  margin:0 0 15px !important;
  font-size:15.5px !important; line-height:1.55 !important;
  color:#3a4a3f !important; max-width:440px;
}

/* Buttons */
.bf-promo-hero__actions{ display:flex; gap:10px !important; flex-wrap:wrap; margin:0 0 13px !important; }

.bf-promo-hero .bf-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 22px !important; border-radius:var(--bf-radius)!important;
  font-size:13.5px !important; font-weight:700 !important; text-decoration:none !important;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.bf-promo-hero .bf-btn--primary{
  background:linear-gradient(135deg,#2faa5a,#1f8044) !important; color:#fff !important;
  border:0 !important; box-shadow:0 12px 24px -10px rgba(31,128,68,.7);
}

.bf-promo-hero .bf-btn--primary::after{ content:"\2192"; transition:transform .2s ease; }

.bf-promo-hero .bf-btn--primary:hover{ box-shadow:0 16px 30px -10px rgba(31,128,68,.8); }

.bf-promo-hero .bf-btn--line{
  background:rgba(255,255,255,.6) !important; color:#143a24 !important;
  border:1.5px solid rgba(20,58,36,.2) !important; backdrop-filter:blur(6px);
}

.bf-promo-hero .bf-btn--line:hover{ background:#fff !important; border-color:#2faa5a !important; }

/* Trust line */
.bf-promo-hero__trust{
  display:flex; flex-wrap:wrap; gap:10px 18px; align-items:center;
  margin:0 !important; font-size:11.5px !important; color:#4a5a4f !important; font-weight:500;
}

/* Media stage */
.bf-promo-hero__media{
  position:relative; display:flex; align-items:center; justify-content:center; align-self:center; aspect-ratio:1/1; width:100%; max-width:360px; margin-inline:auto; min-height:0;
}

.bf-promo-hero__media::before{
  content:""; position:absolute; inset:6%; border-radius:50%;
  background:radial-gradient(circle at 50% 45%, #fff 0%, #f3faf4 45%, rgba(243,250,244,0) 72%);
  box-shadow:0 40px 80px -30px rgba(20,58,36,.35); z-index:0;
}

.bf-promo-hero__media::after{
  content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:78%; height:78%; border-radius:50%;
  border:1px dashed rgba(47,170,90,.35); z-index:0;
  animation:bf-spin 40s linear infinite;
}

.bf-promo-hero__media img{
  position:relative; z-index:1;
  width:auto !important; height:94% !important; min-height:0 !important; max-width:98% !important; object-fit:contain;
  filter:drop-shadow(0 30px 40px rgba(20,58,36,.28));
  transition:transform .5s cubic-bezier(.2,.7,.3,1);
}

.bf-promo-hero__media-link{ position:absolute; inset:0; z-index:2; border-radius:var(--bf-radius); }

@media (prefers-reduced-motion:reduce){
  .bf-promo-hero__media::after{ animation:none; }
  .bf-promo-hero__media:hover img{ transform:none; }
  .bf-promo-hero__badge[data-bf="seal"]:hover{ transform:none; }
}

/* Mobile, collapse to one column (overrides the !important 2-col grid) */
@media (max-width:781px){
  .bf-promo-hero__grid{ grid-template-columns:1fr !important; padding:40px 22px !important; gap:28px !important; }
  .bf-promo-hero__media{ aspect-ratio:1/1; width:100%; max-width:340px; margin-inline:auto; }
  .bf-promo-hero__desc{ max-width:none; }
  .bf-promo-hero__title{ letter-spacing:-0.3px !important; }
}
