/* ============================================================
   BLACK FRIDAY 2026 — componenti condivisi dalle 3 proposte
   Usa i token di style.css (palette teal/mint/cream, Playfair + Inter)
   ============================================================ */

.bf-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 28px 0; }
.bf-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bf-nav__logo { font-family: 'Inter Tight', var(--f-body), sans-serif; font-size: 18px; font-weight: 500; letter-spacing: 0.03em; color: var(--c-white); }
.bf-nav__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-mint); }
.bf-nav--dark .bf-nav__logo { color: var(--c-dark); }
.bf-nav--dark .bf-nav__tag { color: var(--c-mid); }

/* live dot eyebrow */
.bf-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-mint); }
.bf-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: live-dot-pulse 2.4s ease-in-out infinite; }

/* ---- COUNTDOWN ---- */
.bf-count { display: inline-flex; flex-direction: column; gap: 10px; }
.bf-count__label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.bf-count__row { display: flex; gap: 2px; }
.bf-count__cell { min-width: 72px; padding: 14px 10px 10px; text-align: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.bf-count__cell:first-child { border-radius: 14px 0 0 14px; }
.bf-count__cell:last-child { border-radius: 0 14px 14px 0; }
.bf-count__num { display: block; font-family: var(--f-display); font-size: 34px; line-height: 1; color: var(--c-white); font-variant-numeric: tabular-nums; }
.bf-count__unit { display: block; margin-top: 6px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.bf-count--light .bf-count__label { color: var(--c-muted); }
.bf-count--light .bf-count__cell { background: var(--c-white); border-color: var(--c-border); }
.bf-count--light .bf-count__num { color: var(--c-dark); }
.bf-count--light .bf-count__unit { color: var(--c-muted); }

/* ---- PREZZI ---- */
.bf-was { position: relative; display: inline-block; font-family: var(--f-display); color: rgba(255,255,255,0.4); }
.bf-was::after { content: ''; position: absolute; left: -4%; right: -4%; top: 52%; height: 2px; background: var(--c-mint); transform: rotate(-8deg); }
.bf-light .bf-was { color: var(--c-muted); }
.bf-light .bf-was::after { background: var(--c-mid); }

.bf-plans { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2px; background: var(--c-border); }
.bf-plan { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 48px 40px; background: var(--c-white); }
.bf-plan--featured { background: var(--c-dark); color: var(--c-white); }
.bf-plan__badge { position: absolute; top: 24px; right: 24px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--c-mint); color: var(--c-dark); padding: 5px 12px; border-radius: 100px; }
.bf-plan__name { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }
.bf-plan--featured .bf-plan__name { color: rgba(255,255,255,0.45); }
.bf-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.bf-plan__amount { font-family: var(--f-display); font-size: clamp(56px, 6vw, 88px); line-height: 0.95; color: var(--c-dark); }
.bf-plan--featured .bf-plan__amount { color: var(--c-white); }
.bf-plan__price .bf-was { font-size: 28px; color: var(--c-muted); }
.bf-plan--featured .bf-plan__price .bf-was { color: rgba(255,255,255,0.4); }
.bf-plan__period { font-size: 14px; color: var(--c-muted); }
.bf-plan--featured .bf-plan__period { color: rgba(255,255,255,0.5); }
.bf-plan__math { font-size: 14px; font-weight: 600; color: var(--c-mid); }
.bf-plan--featured .bf-plan__math { color: var(--c-mint); }
.bf-plan__list { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--c-border); }
.bf-plan--featured .bf-plan__list { border-color: rgba(255,255,255,0.1); }
.bf-plan__list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--c-muted); }
.bf-plan__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 6px; border-left: 1.5px solid var(--c-mint); border-bottom: 1.5px solid var(--c-mint); transform: rotate(-45deg); }
.bf-plan--featured .bf-plan__list li { color: rgba(255,255,255,0.72); }
.bf-plan .btn { align-self: flex-start; margin-top: auto; }
.bf-plan__pay { font-size: 12px; color: var(--c-muted); }
.bf-plan--featured .bf-plan__pay { color: rgba(255,255,255,0.45); }
.bf-note { margin-top: 18px; font-size: 13px; color: var(--c-muted); text-align: center; }

/* ---- UPSELL PILATES ---- */
.bf-pilates { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--c-border); }
.bf-pilates__visual { position: relative; min-height: 460px; background: linear-gradient(160deg, #5A9580 0%, #3B6E8C 100%); overflow: hidden; }
.bf-pilates__visual img, .bf-pilates__visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.55; }
.bf-pilates__stamp { position: absolute; left: 32px; bottom: 32px; display: flex; flex-direction: column; color: var(--c-white); }
.bf-pilates__stamp b { font-family: var(--f-display); font-weight: 400; font-size: 96px; line-height: 0.9; }
.bf-pilates__stamp span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.bf-pilates__body { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 64px 56px; background: var(--c-cream); }
.bf-pilates__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; color: var(--c-dark); }
.bf-pilates__title em { font-style: italic; color: var(--c-mid); }
.bf-pilates__text { font-size: 16px; line-height: 1.7; color: #3d5a5e; max-width: 46ch; }
.bf-pilates__price { display: flex; align-items: baseline; gap: 14px; }
.bf-pilates__price strong { font-family: var(--f-display); font-weight: 400; font-size: 64px; line-height: 1; color: var(--c-dark); }
.bf-pilates__price .bf-was { font-size: 26px; color: var(--c-muted); }
.bf-pilates__price .bf-was::after { background: var(--c-mid); }
.bf-pilates__fine { font-size: 12px; color: var(--c-muted); }

/* ---- STEPS / CALENDARIO ---- */
.bf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.08); }
.bf-step { padding: 36px 32px; background: var(--c-dark); }
.bf-step__date { font-family: var(--f-display); font-size: 30px; color: var(--c-white); }
.bf-step__date em { font-style: italic; color: var(--c-mint); }
.bf-step__title { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-mint); }
.bf-step__text { margin-top: 8px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.6); }

/* ---- FAQ ---- */
.bf-faq { padding: 110px 0; background: var(--c-off); }
.bf-faq__inner { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
.bf-faq__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 3.5vw, 48px); color: var(--c-dark); margin-bottom: 40px; }

/* ---- CTA FINALE ---- */
.bf-final { padding: 120px 0; text-align: center; background: linear-gradient(125deg, #0d2228 0%, #1a4a50 48%, #0d3040 100%); color: var(--c-white); }
.bf-final__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.02em; margin: 18px 0 20px; }
.bf-final__title em { font-style: italic; color: var(--c-mint); }
.bf-final__sub { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 36px; }
.bf-final .bf-count { margin-bottom: 40px; }
.bf-final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.bf-foot { padding: 28px 0; background: var(--c-dark); border-top: 1px solid rgba(255,255,255,0.08); }
.bf-foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.45); }
.bf-foot a:hover { color: var(--c-mint); }

/* sticky CTA mobile */
.bf-sticky { display: none; }

.section-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.015em; color: var(--c-dark); }
.section-title em { font-style: italic; color: var(--c-mid); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .bf-plans, .bf-pilates, .bf-steps { grid-template-columns: 1fr; }
  .bf-plan { padding: 40px 24px; }
  .bf-pilates__visual { min-height: 300px; }
  .bf-pilates__body { padding: 44px 24px; }
  .bf-count { display: flex; width: 100%; }
  .bf-count__cell { min-width: 0; flex: 1; }
  .bf-count__num { font-size: 26px; }
  .bf-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 100px; background: var(--c-dark); color: var(--c-white); box-shadow: 0 10px 30px rgba(13,34,40,0.35); font-size: 13px; }
  .bf-sticky b { font-family: var(--f-display); font-weight: 400; font-size: 20px; color: var(--c-mint); }
  .bf-sticky .btn { padding: 12px 18px; }
  .bf-foot { padding-bottom: 96px; }
}

/* Badge ufficiale Klarna (x.klarnacdn.net, badge generic) */
.klarna-badge { display: inline-block; height: 1.55em; width: auto; vertical-align: middle; margin-left: 3px; position: relative; top: -1px; }
