/*
Theme Name: BGWC Coming Soon
Theme URI: https://billys.itcscloud.co.uk
Description: Billy’s Gym & Wellness Centre CIC holding page. All content is editable through ACF fields on the front page.
Version: 2.5.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bgwc
*/

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #111713;
    color: #fff
}

body {
    min-height: 100svh
}

a {
    color: inherit
}

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(9, 14, 10, .90) 0%, rgba(9, 14, 10, .66) 42%, rgba(9, 14, 10, .16) 72%, rgba(9, 14, 10, .30) 100%), linear-gradient(0deg, rgba(9, 14, 10, .76) 0%, transparent 48%);
    z-index: 1
}

.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 53%;
    transform: scale(1.015);
    animation: drift 16s ease-in-out infinite alternate
}

@keyframes drift {
    to {
        transform: scale(1.07)
    }
}

.top,
.content,
.bottom {
    position: relative;
    z-index: 2
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 34px clamp(24px, 5vw, 76px)
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px
}

.logo {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    object-fit: cover
}

.brand-copy strong {
    display: block;
    font-size: 20px;
    letter-spacing: -.02em
}

.brand-copy span {
    display: block;
    font-size: 11px;
    letter-spacing: .13em;
    text-transform: uppercase;
    opacity: .7;
    margin-top: 4px
}

.status {
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 11px 14px;
    border-radius: 99px;
    background: rgba(15, 22, 16, .2);
    backdrop-filter: blur(7px)
}

.content {
    width: min(760px, 88vw);
    margin: auto 0;
    padding: 40px clamp(24px, 7vw, 108px) 72px
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin: 0 0 24px;
    color: #d7ddd5
}

h1 {
    font-size: clamp(54px, 7.2vw, 112px);
    line-height: .96;
    letter-spacing: -.055em;
    margin: 0;
    max-width: 800px;
    text-transform: uppercase
}

h1 span {
    display: block;
    font-weight: 300;
    white-space: nowrap;
    font-style: italic;
    text-transform: none;
    letter-spacing: -.055em;
    margin-top: 14px;
    padding-bottom: .12em;
    color: #e5e8e3
}

.intro {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
    max-width: 560px;
    margin: 32px 0;
    color: rgba(255, 255, 255, .82)
}

.actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    background: #a72b37;
    padding: 17px 22px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700
}

.cta:hover {
    background: #8d202c
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, .4);
    text-decoration: none;
    font-size: 14px;
    background: rgba(10, 14, 11, .18);
    backdrop-filter: blur(7px)
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding: 0 clamp(24px, 5vw, 76px) 28px;
    margin-top: auto;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65)
}

.caption {
    display: flex;
    gap: 10px;
    align-items: center
}

.caption:before {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, .45)
}

@media(max-width:700px) {
    .hero {
        min-height: 100svh
    }

    .hero:before {
        background: linear-gradient(0deg, rgba(8, 13, 9, .94) 0%, rgba(8, 13, 9, .64) 58%, rgba(8, 13, 9, .26) 100%)
    }

    .bg {
        object-position: 54% center
    }

    .top {
        padding: 22px 20px
    }

    .logo {
        width: 54px;
        height: 54px
    }

    .brand-copy strong {
        font-size: 17px
    }

    .brand-copy span {
        font-size: 9px
    }

    .status {
        display: none
    }

    .content {
        width: 100%;
        padding: 100px 22px 34px;
        margin: auto 0 0
    }

    h1 {
        font-size: clamp(44px, 13.5vw, 68px);
        line-height: .98;
        letter-spacing: -.045em
    }

    h1 span {
        padding-bottom: .14em
    }

    .intro {
        font-size: 16px;
        margin: 25px 0
    }

    .actions {
        flex-direction: column;
        align-items: stretch
    }

    .cta,
    .social-link {
        justify-content: space-between
    }

    .bottom {
        padding: 0 22px 20px;
        display: block
    }

    .bottom .location {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .bg {
        animation: none
    }
}

/* Inner pages (Join etc.) */

.bgwc-page .page-wrap {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: clip
}

.bgwc-page .page-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 53%;
    opacity: .18;
    z-index: 0
}

.bgwc-page .page-wrap:before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 14, 10, .94) 0%, rgba(9, 14, 10, .82) 60%, rgba(9, 14, 10, .7) 100%);
    z-index: 1
}

.bgwc-page .top,
.bgwc-page .page-content,
.bgwc-page .bottom {
    position: relative;
    z-index: 2
}

.bgwc-page .brand,
.bgwc-page .back {
    text-decoration: none
}

.bgwc-page .back:hover {
    border-color: #fff
}

.page-content {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
    width: 100%;
    max-width: 1440px;
    padding: 24px clamp(24px, 7vw, 108px) 72px
}

.page-intro {
    position: sticky;
    top: 40px
}

.page-intro .intro {
    margin: 0 0 24px
}

.page-help {
    font-size: 14px;
    color: rgba(255, 255, 255, .7)
}

.page-help a {
    color: #fff;
    text-underline-offset: 3px
}

.bgwc-page .entry {
    padding: clamp(28px, 3.4vw, 48px);
    background: rgba(14, 20, 15, .78);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px)
}

.bgwc-page .gform-theme--orbital .gfield_required {
    display: none !important
}

@media(max-width:1000px) {
    .page-content {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .page-intro {
        position: static
    }
}

.page-title {
    font-size: clamp(44px, 5.6vw, 84px);
    margin-bottom: 28px
}

.bgwc-page .bottom {
    margin-top: auto;
    padding-top: 28px
}

/* ==========================================================
   Join form. Calm, premium: hairlines, sentence case, white for
   selection, brand red only for progress and the main button.
   ========================================================== */

body.bgwc-page .gform-theme--orbital {
    --bgwc-line: rgba(255, 255, 255, .12);
    --bgwc-line-strong: rgba(255, 255, 255, .45);
    --bgwc-muted: #9aa398;
    --bgwc-soft: #d7ddd5;
    --bgwc-red: #a72b37;
    --gf-font-family-base: Arial, Helvetica, sans-serif;
    --gf-font-family-primary: Arial, Helvetica, sans-serif;
    --gf-font-family-secondary: Arial, Helvetica, sans-serif;
    --gf-font-family-tertiary: Arial, Helvetica, sans-serif;
    --gf-form-gap-y: 36px
}

/* Reassurance points beside the form */
.page-points {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 10px
}

.page-points li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    line-height: 1.5;
    color: #c9d0c7
}

.page-points li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23c23a47' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat
}

/* Progress: "Step 1 of 3 - Your plan" with a thin bar */
.bgwc-page .gform-theme--orbital .gf_progressbar_wrapper {
    margin: 0 0 40px;
    padding: 0;
    border: 0
}

.bgwc-page .gform-theme--orbital .gf_progressbar_title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--bgwc-muted)
}

.bgwc-page .gform-theme--orbital .gf_progressbar {
    height: 2px;
    padding: 0;
    border-radius: 0;
    background: var(--bgwc-line);
    box-shadow: none
}

.bgwc-page .gform-theme--orbital .gf_progressbar_percentage {
    height: 2px !important;
    border-radius: 0 !important;
    background: var(--bgwc-red) !important;
    transition: width .4s ease
}

.bgwc-page .gform-theme--orbital .gf_progressbar_percentage span {
    display: none
}

/* Questions: sentence case, calm */
.bgwc-page .gform-theme--orbital .gfield_label,
.bgwc-page .gform-theme--orbital legend.gfield_label {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.35;
    text-transform: none;
    color: #fff
}

.bgwc-page .gform-theme--orbital .gfield_description {
    font-size: 14px;
    color: var(--bgwc-muted)
}

.bgwc-page .gform-theme--orbital .gform-field-label--type-sub {
    font-size: 12px;
    color: var(--bgwc-muted)
}

/* Inputs */
.bgwc-page .gform-theme--orbital input[type=text],
.bgwc-page .gform-theme--orbital input[type=email],
.bgwc-page .gform-theme--orbital input[type=tel],
.bgwc-page .gform-theme--orbital input[type=number],
.bgwc-page .gform-theme--orbital textarea {
    min-height: 52px;
    border: 1px solid var(--bgwc-line) !important;
    border-radius: 0;
    background: rgba(255, 255, 255, .04) !important;
    box-shadow: none !important;
    color: #fff;
    font-size: 16px;
    transition: border-color .2s, background .2s
}

.bgwc-page .gform-theme--orbital input[type=text]:hover,
.bgwc-page .gform-theme--orbital input[type=email]:hover,
.bgwc-page .gform-theme--orbital input[type=tel]:hover,
.bgwc-page .gform-theme--orbital input[type=number]:hover,
.bgwc-page .gform-theme--orbital textarea:hover {
    border-color: rgba(255, 255, 255, .25) !important
}

.bgwc-page .gform-theme--orbital input[type=text]:focus,
.bgwc-page .gform-theme--orbital input[type=email]:focus,
.bgwc-page .gform-theme--orbital input[type=tel]:focus,
.bgwc-page .gform-theme--orbital input[type=number]:focus,
.bgwc-page .gform-theme--orbital textarea:focus {
    border-color: var(--bgwc-line-strong) !important;
    background: rgba(255, 255, 255, .07) !important;
    outline: none
}

.bgwc-page .gform-theme--orbital ::placeholder {
    color: #6f786d
}

/* Hidden native inputs for custom choices */
.bgwc-page .bgwc-tabs .gchoice,
.bgwc-page .bgwc-cards .gchoice,
.bgwc-page .bgwc-chips .gchoice {
    position: relative;
    margin: 0
}

.bgwc-page .gform-theme--orbital .bgwc-tabs .gchoice,
.bgwc-page .gform-theme--orbital .bgwc-cards .gchoice,
.bgwc-page .gform-theme--orbital .bgwc-chips .gchoice {
    display: block !important
}

.bgwc-page .bgwc-tabs .gfield-choice-input,
.bgwc-page .bgwc-cards .gfield-choice-input,
.bgwc-page .bgwc-chips .gfield-choice-input {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1
}

.bgwc-page .gchoice:has(input:focus-visible) label.gform-field-label {
    outline: 2px solid #fff;
    outline-offset: 2px
}

/* Pill toggle (join type, who for, concession, health) */
.bgwc-page .gform-theme--orbital .bgwc-tabs .gfield_radio {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 4px !important;
    padding: 4px;
    border: 1px solid var(--bgwc-line);
    border-radius: 99px;
    background: rgba(255, 255, 255, .03)
}

.bgwc-page .bgwc-tabs label.gform-field-label {
    display: block;
    margin: 0;
    padding: 11px 20px;
    border-radius: 99px;
    color: var(--bgwc-soft);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    transition: background .2s, color .2s
}

.bgwc-page .bgwc-tabs .gchoice:hover label.gform-field-label {
    color: #fff
}

.bgwc-page .bgwc-tabs .gchoice:has(input:checked) label.gform-field-label {
    background: #f4f7f2;
    color: #111713
}

/* Plan list */
.bgwc-page .gform-theme--orbital .bgwc-cards .gfield_radio {
    display: block !important
}

.bgwc-page .bgwc-cards .gchoice + .gchoice {
    margin-top: -1px
}

.bgwc-page .bgwc-cards label.gform-field-label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 18px 20px 18px 54px;
    border: 1px solid var(--bgwc-line);
    background: transparent;
    color: #e5e8e3;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    transition: background .2s, border-color .2s
}

.bgwc-page .bgwc-cards label.gform-field-label:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    transition: border-color .2s, box-shadow .2s
}

.bgwc-page .bgwc-cards .gchoice:hover label.gform-field-label {
    background: rgba(255, 255, 255, .03)
}

.bgwc-page .bgwc-cards .gchoice:has(input:checked) {
    z-index: 2
}

.bgwc-page .bgwc-cards .gchoice:has(input:checked) label.gform-field-label {
    border-color: var(--bgwc-line-strong);
    background: rgba(255, 255, 255, .06);
    color: #fff
}

.bgwc-page .bgwc-cards .gchoice:has(input:checked) label.gform-field-label:before {
    border-color: #fff;
    box-shadow: inset 0 0 0 4px #1a211c, inset 0 0 0 9px #fff
}

.bgwc-page .bgwc-price {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap
}

.bgwc-page .bgwc-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--bgwc-muted)
}

/* Interest chips */
.bgwc-page .gform-theme--orbital .bgwc-chips .gfield_checkbox {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px !important
}

.bgwc-page .bgwc-chips label.gform-field-label {
    display: block;
    margin: 0;
    padding: 9px 16px;
    border: 1px solid var(--bgwc-line);
    border-radius: 99px;
    color: var(--bgwc-soft);
    font-size: 14px;
    transition: background .2s, color .2s, border-color .2s
}

.bgwc-page .bgwc-chips .gchoice:has(input:checked) label.gform-field-label {
    border-color: #f4f7f2;
    background: #f4f7f2;
    color: #111713
}

/* Notes */
.bgwc-page .bgwc-note p {
    margin: 0;
    padding: 2px 0 2px 16px;
    border-left: 2px solid var(--bgwc-red);
    color: #c9d0c7;
    font-size: 15px;
    line-height: 1.55
}

.bgwc-page .bgwc-reassure p {
    margin: 0;
    font-size: 13px;
    color: var(--bgwc-muted)
}

/* Total */
.bgwc-page .bgwc-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 20px 0 0;
    border-top: 1px solid var(--bgwc-line)
}

.bgwc-page .gform-theme--orbital .bgwc-total .gfield_label {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--bgwc-muted);
    white-space: nowrap
}

.bgwc-page .bgwc-total .ginput_container_total {
    flex: 1;
    min-width: 0
}

.bgwc-page .gform-theme--orbital .ginput_container_total input.ginput_total {
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    text-align: right;
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.02em
}

/* Checkboxes: square hairline, white when ticked */
.bgwc-page .bgwc-consent input[type=checkbox],
.bgwc-page .bgwc-optin input[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    margin-top: 1px;
    border: 1.5px solid rgba(255, 255, 255, .4) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .2s, border-color .2s
}

.bgwc-page .bgwc-consent input[type=checkbox]:checked,
.bgwc-page .bgwc-optin input[type=checkbox]:checked {
    border-color: #f4f7f2 !important;
    background: #f4f7f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23111713' stroke-width='2.2'/%3E%3C/svg%3E") center/14px no-repeat !important
}

.bgwc-page .bgwc-consent input[type=checkbox]:focus,
.bgwc-page .bgwc-optin input[type=checkbox]:focus {
    outline: none !important
}

.bgwc-page .bgwc-consent input[type=checkbox]:focus-visible,
.bgwc-page .bgwc-optin input[type=checkbox]:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 2px
}

.bgwc-page .bgwc-consent input[type=checkbox]:before,
.bgwc-page .bgwc-optin input[type=checkbox]:before {
    display: none !important
}

.bgwc-page .bgwc-consent .gfield_consent_label,
.bgwc-page .bgwc-optin label.gform-field-label {
    color: var(--bgwc-soft);
    font-size: 15px;
    line-height: 1.5
}

/* Plan summary on steps 2 and 3 */
.bgwc-summary {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 0 0 36px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--bgwc-line);
    font-size: 15px
}

.bgwc-summary__label {
    color: var(--bgwc-muted)
}

.bgwc-summary__name {
    color: #fff;
    font-weight: 600
}

.bgwc-summary__price {
    color: var(--bgwc-soft)
}

.bgwc-summary__change {
    margin-left: auto;
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .4);
    text-underline-offset: 4px
}

.bgwc-summary__change:hover {
    text-decoration-color: #fff
}

/* Errors */
.bgwc-page .gform-theme--orbital .gfield_validation_message,
.bgwc-page .gform-theme--orbital .gform_validation_errors .gform_submission_error {
    color: #ff9a9a;
    font-size: 14px
}

.bgwc-page .gform-theme--orbital .gform_validation_errors {
    border: 0;
    border-left: 2px solid var(--bgwc-red);
    border-radius: 0;
    background: rgba(167, 43, 55, .12);
    box-shadow: none
}

/* Buttons: one strong action, a quiet way back */
.bgwc-page .gform-theme--orbital .gform_page_footer,
.bgwc-page .gform-theme--orbital .gform_footer {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 0
}

.bgwc-page .gform-theme--orbital .gform_next_button,
.bgwc-page .gform-theme--orbital .gform_button {
    min-width: 220px;
    padding: 17px 26px;
    border: 0;
    border-radius: 0;
    background: var(--bgwc-red);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background .2s
}

.bgwc-page .gform-theme--orbital .gform_next_button:hover,
.bgwc-page .gform-theme--orbital .gform_button:hover {
    background: #8d202c
}

.bgwc-page .gform-theme--orbital .gform_previous_button {
    min-width: 0;
    padding: 10px 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--bgwc-muted);
    font-size: 15px;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: color .2s, text-decoration-color .2s
}

.bgwc-page .gform-theme--orbital .gform_previous_button:hover {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, .5)
}

.bgwc-page .gform_confirmation_message {
    padding: 8px 0;
    color: var(--bgwc-soft);
    font-size: 17px;
    line-height: 1.6
}

.bgwc-page .gform_confirmation_message h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 28px;
    letter-spacing: -.02em
}

/* Gentle step transition */
@keyframes bgwc-in {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.bgwc-page .gform_page {
    animation: bgwc-in .35s ease-out
}

@media(prefers-reduced-motion:reduce) {
    .bgwc-page .gform_page {
        animation: none
    }
}

@media(max-width:700px) {
    .bgwc-page .back {
        display: inline-block;
        padding: 9px 12px
    }

    .bgwc-page .back span {
        display: none
    }

    .page-content {
        padding: 12px 22px 48px
    }

    .bgwc-page .entry {
        margin: 0 -8px;
        padding: 28px 18px
    }

    .bgwc-page .gform-theme--orbital .bgwc-tabs .gfield_radio {
        display: flex !important;
        flex-wrap: nowrap
    }

    .bgwc-page .gform-theme--orbital .bgwc-tabs .gchoice {
        flex: 1 1 auto;
        min-width: 0
    }

    .bgwc-page .bgwc-tabs label.gform-field-label {
        padding: 11px 10px;
        font-size: 14px;
        text-align: center
    }

    .bgwc-page .bgwc-cards label.gform-field-label {
        padding: 16px 16px 16px 48px;
        font-size: 15px
    }

    .bgwc-page .bgwc-cards label.gform-field-label:before {
        left: 16px
    }

    .bgwc-page .gform-theme--orbital #input_1_9,
    .bgwc-page .gform-theme--orbital #input_1_10 {
        flex-wrap: nowrap !important;
        gap: 10px;
        margin-inline: 0 !important
    }

    .bgwc-page .gform-theme--orbital #input_1_9 > .gform-grid-col,
    .bgwc-page .gform-theme--orbital #input_1_10 > .gform-grid-col {
        flex: 1 1 0 !important;
        min-width: 0;
        max-width: none;
        padding: 0
    }

    .bgwc-page .gform-theme--orbital .gform_page_footer,
    .bgwc-page .gform-theme--orbital .gform_footer {
        flex-direction: column-reverse;
        align-items: stretch
    }

    .bgwc-page .gform-theme--orbital .gform_next_button,
    .bgwc-page .gform-theme--orbital .gform_button {
        width: 100%
    }

    .bgwc-page .gform-theme--orbital .gform_previous_button {
        align-self: center
    }
}

/* Instant validation, hints and loading */
.bgwc-page .bgwc-error {
    margin-top: 10px;
    color: #ff9a9a;
    font-size: 14px;
    animation: bgwc-in .2s ease-out
}

.bgwc-page .gform-theme--orbital .bgwc-invalid input[type=text],
.bgwc-page .gform-theme--orbital .bgwc-invalid input[type=email],
.bgwc-page .gform-theme--orbital .bgwc-invalid input[type=tel],
.bgwc-page .gform-theme--orbital .bgwc-invalid textarea {
    border-color: #d96a74 !important
}

.bgwc-page .bgwc-invalid .bgwc-tabs .gfield_radio,
.bgwc-page .bgwc-invalid.bgwc-tabs .gfield_radio,
.bgwc-page .bgwc-invalid.bgwc-cards label.gform-field-label {
    border-color: #d96a74
}

.bgwc-page .bgwc-suggest {
    margin-top: 10px;
    color: var(--bgwc-soft, #d7ddd5);
    font-size: 14px
}

.bgwc-page .bgwc-suggest a {
    color: #fff;
    text-underline-offset: 3px
}

.bgwc-page .gform-theme--orbital #input_1_10 {
    max-width: 220px;
    padding-inline-end: 16px !important;
    background-image: none !important;
    letter-spacing: .04em
}

.bgwc-page #datepicker_toggle_input_1_10,
.bgwc-page #keyboardHint_input_1_10 {
    display: none !important
}

.bgwc-page .gform_ajax_spinner,
.bgwc-page .gform-loader {
    display: none !important
}

.bgwc-page .gform-theme--orbital .bgwc-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none
}

.bgwc-page .gform-theme--orbital .bgwc-loading:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bgwc-spin .7s linear infinite
}

@keyframes bgwc-spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes bgwc-nudge {
    0% {
        transform: translateY(12px);
        opacity: .6
    }

    100% {
        transform: none;
        opacity: 1
    }
}

.bgwc-page .bgwc-nudge {
    animation: bgwc-nudge .35s ease-out
}

@media(prefers-reduced-motion:reduce) {
    .bgwc-page .bgwc-nudge,
    .bgwc-page .bgwc-error {
        animation: none
    }
}

/* Mobile: the step button stays within thumb reach */
@media(max-width:700px) {
    .bgwc-page .gform-theme--orbital .gform_page_footer,
    .bgwc-page .gform-theme--orbital .gform_footer {
        position: sticky;
        bottom: 0;
        z-index: 5;
        flex-direction: row-reverse;
        align-items: center;
        gap: 16px;
        margin: 32px -18px -28px;
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
        background: rgba(14, 20, 15, .94);
        border-top: 1px solid rgba(255, 255, 255, .08);
        backdrop-filter: blur(12px)
    }

    .bgwc-page .gform-theme--orbital .gform_next_button,
    .bgwc-page .gform-theme--orbital .gform_button {
        flex: 1;
        width: auto;
        min-width: 0
    }

    .bgwc-page .gform-theme--orbital .gform_previous_button {
        flex: 0 0 auto;
        align-self: center
    }
}

/* Toggles: white pill glides to the chosen option */
.bgwc-page .bgwc-tabs .gfield_radio.bgwc-has-pill {
    position: relative
}

.bgwc-page .bgwc-pill {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 99px;
    background: #f4f7f2;
    opacity: 0;
    pointer-events: none;
    transition: transform .38s cubic-bezier(.3, .7, .2, 1), width .38s cubic-bezier(.3, .7, .2, 1), opacity .2s
}

.bgwc-page .bgwc-pill--instant {
    transition: none
}

.bgwc-page .bgwc-has-pill .gchoice {
    z-index: 1
}

.bgwc-page .bgwc-has-pill .gchoice:has(input:checked) label.gform-field-label {
    background: transparent;
    transition: color .25s .08s
}

/* Plan lists and follow-up questions fade in when they appear */
.bgwc-page .gform-theme--orbital .gfield.bgwc-cards,
.bgwc-page .gform-theme--orbital .gfield.bgwc-note,
.bgwc-page .gform-theme--orbital #field_1_29 {
    animation: bgwc-fade .3s ease-out
}

@keyframes bgwc-fade {
    from {
        opacity: 0;
        transform: translateY(4px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .bgwc-page .bgwc-pill {
        transition: none
    }

    .bgwc-page .gform-theme--orbital .gfield.bgwc-cards,
    .bgwc-page .gform-theme--orbital .gfield.bgwc-note,
    .bgwc-page .gform-theme--orbital #field_1_29 {
        animation: none
    }
}

/* Date of birth: optional calendar button inside the field */
.bgwc-page .gform-theme--orbital .ginput_container_date {
    position: relative;
    max-width: 220px
}

.bgwc-page .gform-theme--orbital #input_1_10 {
    padding-inline-end: 52px !important
}

body.bgwc-page #gform_wrapper_1 button.bgwc-cal.bgwc-cal {
    min-width: 0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    position: absolute;
    top: 50%;
    right: 6px;
    width: 40px !important;
    height: 40px !important;
    margin: -20px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7ddd5' stroke-width='1.6'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='1.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-size: 20px !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
    transition: background-color .2s
}

body.bgwc-page #gform_wrapper_1 button.bgwc-cal.bgwc-cal:hover,
body.bgwc-page #gform_wrapper_1 button.bgwc-cal.bgwc-cal:focus-visible {
    background-color: rgba(255, 255, 255, .08) !important;
    outline: none
}

.bgwc-page .bgwc-cal__native {
    position: absolute;
    right: 6px;
    bottom: 0;
    width: 40px;
    height: 1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
    color-scheme: dark
}

/* One-tap fix inside plan/age messages, and the plan it switches to */
.bgwc-page .bgwc-error__fix {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .45);
    text-underline-offset: 3px
}

.bgwc-page .bgwc-error__fix:hover {
    text-decoration-color: #fff
}

@keyframes bgwc-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 247, 242, .35)
    }

    100% {
        box-shadow: 0 0 0 10px rgba(244, 247, 242, 0)
    }
}

.bgwc-page .bgwc-cards .gchoice.bgwc-suggested label.gform-field-label {
    animation: bgwc-glow 1.2s ease-out 2
}

@media(prefers-reduced-motion:reduce) {
    .bgwc-page .bgwc-cards .gchoice.bgwc-suggested label.gform-field-label {
        animation: none
    }
}

/* "Use ...'s details" helper on the emergency contact */
.bgwc-page .bgwc-reuse {
    display: inline-block;
    margin: -6px 0 12px;
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .45);
    text-underline-offset: 3px
}

.bgwc-page .bgwc-reuse:hover {
    text-decoration-color: #fff
}

/* Parent or guardian fields ease in when the date of birth needs them */
.bgwc-page .gform-theme--orbital #field_1_15,
.bgwc-page .gform-theme--orbital #field_1_16,
.bgwc-page .gform-theme--orbital #field_1_32,
.bgwc-page .gform-theme--orbital #field_1_33 {
    animation: bgwc-fade .3s ease-out
}
