/* ===================================
   Black Friday Special 2026 — Landing Page
   (black-friday-cleaning-package-2026.html; the URL keeps the original name)
   Loaded after early-black-friday-2026.css, which supplies the shared
   Black Friday tokens (.bf-page), buttons, type, form frame and FAQ.
   =================================== */

/* Campaign state is set on <html data-bfp-state> by assets/js/bf-campaign.js
   before first paint. Without JS the active offer shows. */
.bfp-upcoming-only,
.bfp-ended-only {
    display: none !important;
}

html[data-bfp-state="upcoming"] .bfp-upcoming-only,
html[data-bfp-state="ended"] .bfp-ended-only {
    display: revert !important;
}

html[data-bfp-state="upcoming"] .bfp-active-only,
html[data-bfp-state="ended"] .bfp-active-only,
html[data-bfp-state="ended"] .bfp-hide-ended {
    display: none !important;
}

/* The quote card is white inside a dark section, so its focus ring needs the darker accent. */
.bf-dark .bf-form__card :focus-visible {
    outline-color: var(--bf-magenta);
}

/* ---------- Small print near every CTA ---------- */
.bfp-note {
    margin: 0.9rem 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(250, 247, 243, 0.92);
}

.bfp-page .bfp-note--ink {
    color: #3d3638;
}

.bfp-coming {
    width: fit-content;
    margin: 0 auto 1rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    background: var(--bf-champagne);
    color: var(--bf-black);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ---------- Hero ---------- */
.bfp-hero {
    position: relative;
    padding: 3.5rem 0 4.5rem;
    background: var(--bf-black);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.bfp-hero__media,
.bfp-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bfp-hero__media img {
    object-fit: cover;
    object-position: center;
}

.bfp-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.5) 0%, rgba(16, 16, 16, 0.82) 100%);
}

.bfp-hero .container {
    position: relative;
    z-index: 2;
}

.bfp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

html[data-bfp-state="ended"] .bfp-hero__grid {
    grid-template-columns: minmax(0, 1fr);
}

.bfp-hero .bf-crumbs {
    margin-bottom: 1.4rem;
}

.bfp-hero__logo {
    display: inline-block;
    margin: 0 0 1.4rem;
    padding: 0.65rem 0.95rem;
    border-radius: 16px;
    background: var(--bf-ivory);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.bfp-hero__logo img {
    display: block;
    width: 112px;
    height: auto;
}

.bfp-badge {
    display: table;
    margin: 0 0 1.1rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(215, 186, 145, 0.6);
    border-radius: 50px;
    background: rgba(215, 186, 145, 0.12);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--bf-champagne);
}

.bfp-hero__h1 {
    margin: 0 0 0.9rem;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem);
    font-weight: 600;
    line-height: 1.12;
    color: #fff;
}

.bfp-hero__tagline {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
    font-style: italic;
    line-height: 1.3;
    color: var(--bf-rose);
}

.bfp-hero__intro {
    max-width: 34rem;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(250, 247, 243, 0.9);
}

.bfp-hero__offer {
    padding: clamp(1.1rem, 2.6vw, 1.6rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(20, 17, 20, 0.74);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 40px 80px -40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
}

/* Two connected discount cards (same design as the homepage section);
   the "+" disc sits on the seam between them. */
.bfp-deal {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.9rem;
}

.bfp-deal__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 14rem;
    padding: 1.3rem 1.3rem 1.45rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #fbf6f2 100%);
    box-shadow:
        inset 0 1px 0 #fff,
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 24px 44px -22px rgba(0, 0, 0, 0.75);
    color: #141114;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bfp-deal__card:hover {
    transform: translateY(-4px);
}

.bfp-deal__chip {
    display: inline-block;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: #f5e8d6;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
    color: #654c28;
}

.bfp-deal__card--alt .bfp-deal__chip {
    background: #fbe3ee;
    color: #8e2353;
}

.bfp-deal__amount {
    margin: auto 0 0;
    padding-top: 1.5rem;
    font-family: var(--font-primary);
    font-size: clamp(3rem, 2.1rem + 2.4vw, 4rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #141114;
}

/* "OFF" sits on its own line under the number. */
.bfp-deal__amount span {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.3em;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bf-magenta);
}

/* Two lines reserved so both numbers line up side by side. */
.bfp-deal__label {
    min-height: 2.7em;
    margin: 0.75rem 0 0;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    color: #3a3236;
}

.bfp-deal__plus {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #d24a8a 0%, var(--bf-magenta) 50%, #962657 100%);
    box-shadow:
        0 0 0 6px #19151a,
        0 10px 24px rgba(195, 61, 121, 0.5);
    color: #fff;
    transform: translate(-50%, -50%);
}

.bfp-eligibility {
    margin: 1.25rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(251, 248, 244, 0.9);
}

.bfp-cta {
    width: 100%;
}

/* Static text until bf-campaign.js fills in the live tiles. */
.bfp-page .bfp-countdown {
    margin: 1.1rem 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(251, 248, 244, 0.8);
}

.bfp-countdown__visual {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.bfp-countdown__label {
    margin-right: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bf-champagne);
}

.bfp-countdown__unit {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.3rem;
    padding: 0.5rem 0.45rem 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.bfp-countdown__unit b {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.bfp-countdown__unit small {
    margin-top: 0.3rem;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(251, 248, 244, 0.7);
}

.bfp-upcoming-text {
    margin: 0;
    line-height: 1.6;
    color: rgba(250, 247, 243, 0.92);
}

.bfp-upcoming-text a {
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bfp-ended-panel {
    max-width: 620px;
    margin-top: 1.5rem;
    padding: 1.75rem;
    border: 1px solid rgba(215, 186, 145, 0.35);
    border-radius: var(--bf-radius);
    background: rgba(16, 16, 16, 0.72);
}

.bfp-ended-panel__text {
    margin: 0 0 1.25rem;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #fff;
}

/* ---------- Package summary ---------- */
.bfp-summary {
    padding: 5.5rem 0;
    background: var(--bf-ivory);
}

.bfp-visits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.bfp-visit {
    padding: 1.6rem 1.25rem;
    border: 1px solid #ecdfe4;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bfp-visit:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(23, 23, 23, 0.08);
}

.bfp-visit--deep {
    border-color: var(--bf-charcoal);
    background: var(--bf-charcoal);
}

.bfp-visit__step {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bf-magenta-deep);
}

.bfp-visit__name {
    margin: 0.5rem 0 0.4rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--bf-charcoal);
}

.bfp-visit__discount {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--bf-magenta-deep);
}

.bfp-visit__text {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--bf-muted);
}

.bfp-visit--deep .bfp-visit__step {
    color: var(--bf-champagne);
}

.bfp-visit--deep .bfp-visit__name {
    color: #fff;
}

.bfp-visit--deep .bfp-visit__discount {
    color: var(--bf-rose);
}

.bfp-visit--deep .bfp-visit__text {
    color: rgba(250, 247, 243, 0.86);
}

.bfp-visit__who {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #fbe3ee;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8e2353;
}

.bfp-visit--deep .bfp-visit__who {
    background: rgba(215, 186, 145, 0.16);
    color: var(--bf-champagne);
}

.bfp-formula {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid #ecdfe4;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.bfp-formula h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--bf-charcoal);
}

.bfp-formula p {
    margin: 0;
    line-height: 1.7;
    color: var(--bf-muted);
}

.bfp-formula .bfp-note {
    margin-top: 0.9rem;
}

.bfp-summary__links {
    margin: 0;
    line-height: 1.7;
    text-align: center;
    color: var(--bf-muted);
}

/* ---------- How it works ---------- */
.bfp-steps {
    padding: 5rem 0;
    background: #fff;
}

.bfp-step-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bfp-step {
    padding: 1.75rem 1.5rem;
    border: 1px solid #ecdfe4;
    border-radius: 20px;
    background: var(--bf-ivory);
}

.bfp-step__num {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--bf-charcoal);
    color: #fff;
    font-weight: 800;
}

.bfp-step h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--bf-charcoal);
}

.bfp-step p {
    margin: 0;
    line-height: 1.7;
    color: var(--bf-muted);
}

/* ---------- Form section ---------- */
.bfp-details {
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(215, 186, 145, 0.45);
    border-radius: 16px;
    background: rgba(215, 186, 145, 0.1);
    line-height: 1.65;
    color: rgba(250, 247, 243, 0.92);
}

.bfp-details strong {
    color: #fff;
}

.bfp-form .bf-form__points a {
    font-weight: 600;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Step 1: schedule + acknowledgment before the LeadConnector form loads. */
.bfp-gate {
    margin: 0.4rem 0.4rem 0;
}

.bfp-gate__step {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bf-magenta-deep);
}

.bfp-gate__summary {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid #e7a3b4;
    border-radius: 12px;
    background: #fdecef;
    font-size: 0.95rem;
    font-weight: 600;
    color: #8a1538;
}

.bfp-gate__group {
    min-width: 0;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
}

.bfp-gate legend {
    margin-bottom: 0.35rem;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bf-charcoal);
}

.bfp-req {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bf-muted);
}

.bfp-gate__hint {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: var(--bf-muted);
}

.bfp-choices {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
}

.bfp-choice,
.bfp-check {
    display: flex;
    gap: 0.7rem;
    border: 2px solid #e3d5db;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.bfp-choice {
    align-items: center;
    min-height: 52px;
    padding: 0.75rem 1rem;
    background: #fff;
    font-weight: 600;
    color: var(--bf-charcoal);
}

.bfp-check {
    align-items: flex-start;
    padding: 0.9rem 1rem;
    background: #faf8f9;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--bf-ink);
}

.bfp-choice:hover,
.bfp-check:hover {
    border-color: var(--bf-rose);
}

.bfp-choice:has(input:checked),
.bfp-check:has(input:checked) {
    border-color: var(--bf-magenta);
    background: #fdf3f7;
}

.bfp-choice input,
.bfp-check input {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    accent-color: var(--bf-magenta);
}

.bfp-check input {
    margin-top: 0.15rem;
}

/* Each schedule option shows which discounts it gets. */
.bfp-choice__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bfp-choice__save {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--bf-muted);
}

.bfp-gate__group.is-invalid .bfp-choice,
.bfp-gate__group.is-invalid .bfp-check {
    border-color: #a1123f;
}

.bfp-gate__error {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #a1123f;
}

.bfp-gate__submit {
    width: 100%;
}

.bfp-gate__submit[disabled] {
    opacity: 0.65;
    cursor: progress;
}

.bfp-gate .bfp-note {
    text-align: center;
}

/* Step 2: the LeadConnector form. */
.bfp-step2 {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #ecdfe4;
}

.bfp-step2__title {
    margin: 0 0.4rem 0.35rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--bf-charcoal);
}

.bfp-link-btn {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    color: var(--bf-magenta-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.bfp-card-message {
    padding: 1rem 0.6rem;
}

.bfp-card-message p {
    margin: 0.6rem 0.4rem 1.25rem;
    line-height: 1.65;
    color: var(--bf-muted);
}

/* ---------- Final CTA + terms ---------- */
.bfp-final {
    max-width: 760px;
    margin: 3.5rem auto 0;
    padding: 2.5rem 2rem;
    border-radius: var(--bf-radius);
    background: var(--bf-charcoal);
    text-align: center;
}

.bfp-final__title {
    margin: 0 0 0.6rem;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    line-height: 1.2;
    color: #fff;
}

.bfp-final__text {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(250, 247, 243, 0.9);
}

.bfp-final .bfp-note {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

.bfp-terms p {
    font-size: 0.875rem;
    color: #4f494b;
}

html[data-bfp-state="ended"] .bfp-terms {
    padding-top: 3rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .bfp-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bfp-hero__text {
        text-align: center;
    }

    .bfp-hero .bf-crumbs {
        justify-content: center;
    }

    .bfp-badge,
    .bfp-hero__intro,
    .bfp-ended-panel {
        margin-left: auto;
        margin-right: auto;
    }

    .bfp-visits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bfp-step-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .bfp-summary,
    .bfp-steps {
        padding: 4rem 0;
    }
}

@media (max-width: 520px) {
    .bfp-hero {
        padding: 2.5rem 0 3rem;
    }

    .bfp-badge {
        padding: 0.5rem 0.85rem;
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    /* Stack the discounts in order; the "+" disc sits in the gap between them. */
    .bfp-deal {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .bfp-deal__card {
        min-height: 0;
    }

    .bfp-deal__amount {
        padding-top: 0.9rem;
        font-size: 3.3rem;
    }

    .bfp-deal__label {
        min-height: 0;
    }

    .bfp-deal__plus {
        width: 40px;
        height: 40px;
        box-shadow:
            0 0 0 5px #19151a,
            0 8px 20px rgba(195, 61, 121, 0.5);
    }

    .bfp-visits {
        grid-template-columns: minmax(0, 1fr);
    }

    .bfp-formula {
        padding: 1.3rem 1.1rem;
    }

    .bfp-final {
        padding: 2rem 1.25rem;
    }

    .bfp-final .bf-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bfp-deal__card,
    .bfp-visit,
    .bfp-choice,
    .bfp-check {
        transition: none;
    }

    .bfp-deal__card:hover,
    .bfp-visit:hover {
        transform: none;
    }
}
