/*
 * Home franchise section (Nov 2026): white section, navy band, franchise enquiry form inside the band.
 * Uses the franchise page form (partial) and its .fr-* field styles from franchise.css.
 * NOTE: never put the class "fr-page" here: franchise.css hides the mobile bottom nav when .fr-page exists.
 */
.gw-fr {
    /* variables franchise.css expects from .fr-page */
    --ink: var(--gw-navy);
    --teal: var(--gw-gold);
    --deep: var(--gw-navy);
    --muted: var(--gw-slate);
    --line: #dfe9e9;

    padding: 90px 0 70px;
    background: var(--gw-white);
    font-family: var(--gw-font);
}
.gw-fr-band {
    position: relative;
    overflow: hidden;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 48px;
    align-items: center;
    padding: 56px 56px;
    border-radius: 32px;
    color: var(--gw-white);
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--gw-gold-rgb), .14), transparent 40%),
        linear-gradient(150deg, var(--gw-navy-light) 0%, var(--gw-navy) 70%);
    box-shadow: 0 30px 70px rgba(var(--gw-navy-rgb), .25);
}
.gw-fr-band::before,
.gw-fr-band::after {                         /* the reference's big rings, in gold */
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.gw-fr-band::before { width: 420px; height: 420px; left: -180px; bottom: -260px; border: 70px solid rgba(var(--gw-gold-rgb), .08); }
.gw-fr-band::after { width: 260px; height: 260px; right: -90px; top: -120px; border: 46px solid rgba(var(--gw-gold-rgb), .07); }
.gw-fr-copy, .gw-fr-card { position: relative; z-index: 1; }

.gw-fr-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--gw-gold); }
.gw-fr-title {
    margin: 14px 0 16px;
    font-family: var(--gw-font);
    font-size: clamp(32px, 3.4vw, 50px);
    line-height: 1.1;
    letter-spacing: -.025em;
    font-weight: 700;
    color: var(--gw-white);
    background: none;
    -webkit-text-fill-color: currentColor;
}
.gw-fr-title span { color: var(--gw-gold); -webkit-text-fill-color: var(--gw-gold); }
.gw-fr-lead { margin: 0 0 26px; max-width: 520px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .78); }

.gw-fr-facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.gw-fr-facts li {
    padding: 16px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
}
.gw-fr-facts b { display: block; font-size: 22px; font-weight: 700; line-height: 1.15; color: var(--gw-white); }
.gw-fr-facts span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .7); }
.gw-fr-facts li.is-hero { background: rgba(var(--gw-gold-rgb), .14); border-color: rgba(var(--gw-gold-rgb), .55); box-shadow: 0 0 24px rgba(var(--gw-gold-rgb), .18); }
.gw-fr-facts li.is-hero b { font-size: 30px; color: var(--gw-gold); }

.gw-fr-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--gw-gold); text-decoration: none; }
.gw-fr-link span { transition: transform 200ms ease; }
.gw-fr-link:hover { color: var(--gw-gold); text-decoration: underline; text-underline-offset: 4px; }
.gw-fr-link:hover span { transform: translateX(4px); }
.gw-fr-link:focus-visible { outline: 3px solid var(--gw-gold); outline-offset: 4px; border-radius: 6px; }

/* Form card: white, gold frame (same look as the other home forms). The page form is 4 across; here 2 x 2. */
.gw-fr .gw-fr-card.fr-shell {
    max-width: none;
    margin: 0;
    padding: 24px;
    color: var(--gw-navy);
    background: var(--gw-white);
    border: 2px solid var(--gw-gold);
    border-radius: 22px;
    box-shadow: 0 0 0 5px rgba(var(--gw-gold-rgb), .14), 0 20px 50px rgba(0, 0, 0, .3);
}
.gw-fr .fr-formtop h3 { margin: 4px 0; font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--gw-navy); }
.gw-fr .fr-formtop p { margin: 0; font-size: 14px; color: var(--gw-slate); }
.gw-fr .fr-formgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gw-fr .fr-submitline { flex-direction: column; align-items: stretch; gap: 14px; }
.gw-fr .fr-submitline .fr-btn { width: 100%; }

.gw-fr-fine { width: min(1240px, calc(100% - 48px)); margin: 14px auto 0; font-size: 12px; color: var(--gw-slate); }

@media (max-width: 991.98px) {
    .gw-fr { padding: 56px 0 44px; }
    .gw-fr-band { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 24px; border-radius: 24px; width: calc(100% - 32px); }
    .gw-fr-fine { width: calc(100% - 32px); }
}
@media (max-width: 600px) {
    .gw-fr-band { padding: 30px 18px 20px; }
    .gw-fr-facts { gap: 8px; }
    .gw-fr-facts li { padding: 12px 10px; }
    .gw-fr-facts b { font-size: 17px; }
    .gw-fr-facts li.is-hero b { font-size: 24px; }
    .gw-fr-facts span { font-size: 11px; }
    .gw-fr .gw-fr-card.fr-shell { padding: 18px 16px; }
    .gw-fr .fr-formtop { flex-direction: column; align-items: flex-start; }
    .gw-fr .fr-formgrid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Nov 2026 v2: copy + button on the left, "200 starter leads" visual on the right, form in a popup ---- */
.gw-fr-band { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); min-height: 380px; }
.gw-fr-chips { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gw-fr-chips li { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); }
.gw-fr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.gw-fr-cta {
    display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 13px 28px;
    border-radius: 999px; border: 1px solid var(--gw-gold); background: var(--gw-gold-shine); box-shadow: var(--gw-gold-glow);
    color: var(--gw-navy); font-family: var(--gw-font); font-size: 15px; font-weight: 600; cursor: pointer;
    transition: transform 200ms ease;
}
.gw-fr-cta:hover { transform: translateY(-2px); }
.gw-fr-cta span { transition: transform 200ms ease; }
.gw-fr-cta:hover span { transform: translateX(4px); }
.gw-fr-cta:focus-visible { outline: 3px solid var(--gw-white); outline-offset: 3px; }

.gw-fr-art { position: relative; z-index: 1; display: grid; place-items: center; min-height: 280px; }
.gw-fr-orb {
    width: 230px; height: 230px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    border: 26px solid rgba(var(--gw-gold-rgb), .22);
    box-shadow: 0 0 0 34px rgba(var(--gw-gold-rgb), .07), inset 0 0 40px rgba(var(--gw-gold-rgb), .12);
}
.gw-fr-orb b { font-size: 54px; line-height: 1; font-weight: 700; color: var(--gw-gold); }
.gw-fr-orb span { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.gw-fr-pill {
    position: absolute; top: 18px; right: 0; transform: rotate(8deg);
    padding: 11px 16px; border-radius: 999px; background: var(--gw-white); color: var(--gw-navy);
    font-size: 12px; font-weight: 700; box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}

/* Popup with the franchise form (shell .gw-hm from home-hero.css) */
.gw-fr-modal-dialog { width: min(640px, 100%); }
.gw-fr-modal .gw-fr-card.fr-shell { box-shadow: none; }
.gw-fr-modal .fr-formtop { padding-right: 44px; }
.gw-fr-modal .gw-hm-close { top: 14px; right: 14px; }

@media (max-width: 991.98px) {
    .gw-fr-band { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .gw-fr-art { min-height: 220px; order: -1; }
    .gw-fr-orb { width: 170px; height: 170px; border-width: 20px; box-shadow: 0 0 0 22px rgba(var(--gw-gold-rgb), .07); }
    .gw-fr-orb b { font-size: 40px; }
    .gw-fr-pill { right: 8px; top: 6px; }
}
@media (max-width: 600px) {
    .gw-fr-actions { flex-direction: column; align-items: stretch; }
    .gw-fr-cta { justify-content: center; }
    .gw-fr-link { justify-content: center; }
}

/* franchise.css scopes the phone row to .fr-page; repeat it for the home popup */
.gw-fr .fr-phone { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; }
.gw-fr .fr-phone select { padding: 0 22px 0 10px; background-position: right 8px center; }
.gw-fr .fr-phone input, .gw-fr .fr-phone select { margin-top: 7px; }

/* Reference: a second, larger ring overlapping the 200 orb and cut off by the band's bottom edge */
.gw-fr-art { align-self: stretch; }
.gw-fr-art::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -230px;
    width: 360px;
    height: 360px;
    margin-left: -150px;
    border-radius: 50%;
    border: 52px solid rgba(var(--gw-gold-rgb), .10);
    pointer-events: none;
}
.gw-fr-orb { position: relative; border-width: 34px; border-color: rgba(var(--gw-gold-rgb), .18); }
@media (max-width: 991.98px) { .gw-fr-art::before { width: 260px; height: 260px; border-width: 38px; bottom: -190px; margin-left: -110px; } }

/* ---- Motion on the right side (20 Nov 2026) ---- */
/* gold arc running round the 200 orb */
.gw-fr-orb::after {
    content: ""; position: absolute; inset: -34px; border-radius: 50%; pointer-events: none;
    background: conic-gradient(from 0deg, transparent 0 62%, rgba(var(--gw-gold-rgb), .15) 70%, var(--gw-gold) 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
    animation: gwFrSpin 4.5s linear infinite;
}
.gw-fr-orb { box-shadow: 0 0 0 34px rgba(var(--gw-gold-rgb), .07), inset 0 0 40px rgba(var(--gw-gold-rgb), .12), 0 0 60px rgba(var(--gw-gold-rgb), .18); }
.gw-fr-orb b { font-variant-numeric: tabular-nums; }

/* three "what you get" chips orbiting the orb (text stays upright) */
.gw-fr-orbit {
    position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; margin: -190px 0 0 -190px;
    border-radius: 50%; border: 1px dashed rgba(var(--gw-gold-rgb), .28); pointer-events: none;
    animation: gwFrSpin 26s linear infinite;
}
.gw-fr-sat { position: absolute; transform: translate(-50%, -50%); }
.gw-fr-sat--1 { left: 50%; top: 0; }
.gw-fr-sat--2 { left: 93.3%; top: 75%; }
.gw-fr-sat--3 { left: 6.7%; top: 75%; }
.gw-fr-sat > span {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
    background: var(--gw-navy); color: var(--gw-white); border: 1px solid rgba(var(--gw-gold-rgb), .55);
    font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
    animation: gwFrSpin 26s linear infinite reverse;
}
.gw-fr-sat > span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gw-gold); box-shadow: 0 0 8px var(--gw-gold); }

/* the sticker gently floats; the big ring breathes */
.gw-fr-pill { animation: gwFrFloat 3.2s ease-in-out infinite; }
.gw-fr-art::before { animation: gwFrBreathe 5s ease-in-out infinite; }

@keyframes gwFrSpin { to { transform: rotate(360deg); } }
@keyframes gwFrFloat { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-8px); } }
@keyframes gwFrBreathe { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }

@media (max-width: 991.98px) {
    .gw-fr-orbit { width: 270px; height: 270px; margin: -135px 0 0 -135px; }
    .gw-fr-orb::after { inset: -20px; }
    .gw-fr-sat > span { font-size: 11px; padding: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .gw-fr-orb::after, .gw-fr-orbit, .gw-fr-sat > span, .gw-fr-pill, .gw-fr-art::before { animation: none; }
}
/* sticker sits bottom-left, above the orbit, so the orbiting chips never cover it */
.gw-fr-pill { z-index: 3; top: auto; bottom: 36px; right: auto; left: 0; }
@media (max-width: 991.98px) { .gw-fr-pill { bottom: 10px; left: 8px; } }

/* ---- Phone: compact franchise band (it was ~950px tall). Decor (orbit chips, sticker, big ring) goes, the "65 starter leads" orb stays. ---- */
@media (max-width: 600px) {
    .gw-fr { padding: 32px 0 24px; }
    .gw-fr-band { padding: 22px 16px 18px; gap: 14px; border-radius: 22px; }
    .gw-fr-orbit, .gw-fr-pill, .gw-fr-art::before { display: none; }
    .gw-fr-art { min-height: 0; padding: 10px 0 6px; }
    .gw-fr-orb { width: 112px; height: 112px; border-width: 12px; box-shadow: 0 0 0 10px rgba(var(--gw-gold-rgb), .07), inset 0 0 24px rgba(var(--gw-gold-rgb), .12); }
    .gw-fr-orb::after { inset: -12px; }
    .gw-fr-orb b { font-size: 30px; }
    .gw-fr-orb span { margin-top: 4px; font-size: 10px; }
    .gw-fr-title { margin: 8px 0 10px; font-size: 27px; line-height: 1.15; }
    .gw-fr-lead { margin: 0 0 14px; font-size: 15px; line-height: 1.5; }
    .gw-fr-chips { margin: 0 0 18px; gap: 6px; }
    .gw-fr-chips li { font-size: 12px; padding: 6px 11px; }
    .gw-fr-cta { min-height: 48px; padding: 11px 22px; width: 100%; justify-content: center; }
}
