/* ARAUK-113: franchise-enquiry.html page-specific rules only. Everything else (hero, stats,
   industry-card, pillar, faq-item, cta-band) is reused as-is from core.css / employers.css --
   see those files for the shared component styles. */

.fr-hero .hero__img { object-position: 50% 38%; }

/* Hero legibility fix (reported on staging): this hero photo is unusually bright (white
   clothing + a sunlit window), and core.css's shared .hero__scrim leans on
   rgba(26,17,70, alpha) -- some browsers drop that whole declaration when they
   can't resolve a custom property inside rgba()'s channel list, leaving the photo with no
   overlay at all and the white heading/body text unreadable. Set background-color and
   background-image as separate, literal-value properties (no var() inside rgba()) so this
   page's scrim always renders even if that happens, and darken the stops overall for this
   specific photo. Scoped to #fr-top only -- core.css's shared rule is untouched. */
#fr-top .hero__scrim {
  background-color: rgba(26, 17, 70, .82);
  background-image:
    linear-gradient(100deg, rgba(26,17,70,.98) 0, rgba(26,17,70,.96) 42%, rgba(26,17,70,.84) 64%, rgba(26,17,70,.6) 85%, rgba(26,17,70,.65) 100%),
    linear-gradient(0deg, rgba(26,17,70,.6) 0, rgba(26,17,70,0) 34%);
}
/* Reported again on staging: text over the bright photo with no dark overlay. core.css gives
   .hero__img/.hero__scrim/.hero__content position:absolute with z-index left at auto, so the
   stacking order depends entirely on DOM order -- fragile. Pin it explicitly so the image can
   never paint above the scrim or the text, on any browser, regardless of source order. */
#fr-top .hero__img { z-index: 0; }
#fr-top .hero__scrim { z-index: 1; }
#fr-top .hero__content { position: relative; z-index: 2; }

/* Hero benefit strip ("Save Time · Save Money · Make Money · Join a Network") */
.fr-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  margin-top: 1.5rem;
  padding: 0;
}
.fr-benefits li {
  list-style: none;
  font-weight: 700;
  font-size: .875rem;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-pill);
  padding: .5rem 1.1rem;
}

/* Five Earning Modes grid -- 5 cards, reuses .industry-card's look via an auto-fit container
   so the last row never leaves an awkward single-card gap on wide screens. */
.fr-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.fr-mode-card__pct {
  display: inline-block;
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(145deg, var(--primary) 0, var(--secondary) 100%);
  border-radius: var(--radius-pill);
  padding: .35rem .9rem;
  margin-bottom: .9rem;
}

/* Royalty closing note under the earning-modes grid */
.fr-note {
  margin-top: 1.75rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg-secondary);
  border-left: 3px solid var(--secondary);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--ink-secondary);
  max-width: 760px;
}

/* "Why Partner" stat circles -- visual pattern only, reusing the 3 already-approved facts
   (16 Years / 12,000+ businesses / 36+ countries); 98%/70% stay in the prose above this block. */
.fr-circles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1rem;
}
.fr-circle {
  width: clamp(180px, 22vw, 240px);
  height: clamp(180px, 22vw, 240px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 1.5rem;
}
.fr-circle strong { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; }
.fr-circle span { font-size: .875rem; margin-top: .4rem; opacity: .9; }
.fr-circle--a { background: var(--primary); }
.fr-circle--b { background: var(--secondary); }
.fr-circle--c { background: linear-gradient(145deg, var(--secondary), var(--primary)); }

/* "8 Growth Outcomes" -- numbered two-column list flanking a center icon, same 8 items that
   were already approved as .industry-card content; visual restructure only, no new wording. */
.fr-outcomes { position: relative; }
.fr-outcomes__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 1.1rem 3rem;
}
.fr-outcome {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.fr-outcome h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .3rem; }
.fr-outcome p { font-size: .9375rem; color: var(--ink-secondary); }
.fr-outcome__num {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .fr-outcomes__list { grid-template-columns: 1fr; grid-auto-flow: row; }
}

/* Closing booking form -- full-width "landscape" card instead of the narrow default booking-
   widget portrait card. Scoped to #franchise-cta only: core.css's .cta-band__inner{max-width:640px}
   is shared by employers.html/contact-us.html/about-us.html and must not change for them. */
#franchise-cta .cta-band__inner { max-width: 1100px; }
#franchise-cta .visit-card { width: 100%; }
#franchise-cta #frCtaBookingCard iframe { min-height: 420px; }

/* ARAUK-117: "Alliance vs Your Other Options" comparison -- 3-column checklist grid, Alliance
   column visually emphasised as the recommended option. Reuses --primary/--secondary/--border/
   --radius-lg tokens; no new design-system component. */
.fr-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.fr-compare__col {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}
.fr-compare__col h3 {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.fr-compare__col ul { padding: 0; margin: 0; }
.fr-compare__col li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
  color: var(--ink-secondary);
}
.fr-compare__col li:last-child { border-bottom: none; }
.fr-compare__col li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: .15rem;
  color: var(--ink-secondary);
  opacity: .6;
}
.fr-compare__col--highlight {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #fff 60%);
  border: 2px solid var(--primary);
  /* Literal rgb channels for --primary (#3A259C), not rgba(var(...)) -- see the hero-scrim
     comment above: some browsers drop the whole declaration when a var() sits inside rgba()'s
     channel list. */
  box-shadow: 0 12px 28px -14px rgba(58, 37, 156, .35);
  position: relative;
}
.fr-compare__col--highlight h3 { color: var(--primary); }
.fr-compare__col--highlight li { color: var(--ink); font-weight: 600; }
.fr-compare__col--highlight li svg { color: var(--primary); opacity: 1; }
@media (max-width: 900px) {
  .fr-compare { grid-template-columns: 1fr; }
}
