:root {
    --black: #0A0A0A;
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --white: #FFFFFF;
    --off-white: #F8F7F3;
    --cream: #F2F0E9;
    --border: #DDD9CF;
    --text: #242424;
    --muted: #77736B;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    height: 86px;
    overflow: hidden;
    background: var(--black);
    border-top: 3px solid var(--gold);
    border-bottom: 1px solid #292929;
}

.header-inner {
    position: relative;
    z-index: 2;
    width: min(1100px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    line-height: 0;
}

.logo {
    display: block;
    width: 180px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.header-title {
    display: none;
}

.site-header::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: 7%;
    top: -125px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    transform: rotate(45deg);
}

.site-header::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 120px;
    right: -40px;
    bottom: -85px;
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 50%;
    transform: rotate(-15deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--black);
    border-bottom: 1px solid #292929;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1100px, calc(100% - 40px));
    min-height: 250px;
    margin: 0 auto;
    padding: 46px 0;
}

.hero .eyebrow {
    margin-bottom: 9px;
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    max-width: 600px;
    color: var(--white);
    font-size: 43px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.gold-line {
    width: 48px;
    height: 3px;
    margin: 17px 0;
    background: var(--gold);
}

.hero p {
    max-width: 650px;
    color: #C7C7C7;
    font-size: 13px;
    line-height: 1.75;
}

.hero .hero-note {
    max-width: 650px;
    margin-top: 8px;
    color: #888;
    font-size: 11px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -95px;
    top: -155px;
    border: 1px solid rgba(201, 168, 76, 0.17);
    transform: rotate(35deg);
}

.hero::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 140px;
    right: 80px;
    bottom: -110px;
    border: 1px solid rgba(201, 168, 76, 0.09);
    transform: rotate(-12deg);
}


/* =========================================================
   MAIN
========================================================= */

.form-section {
    width: min(1040px, calc(100% - 40px));
    margin: 36px auto 70px;
}

form {
    width: 100%;
}


/* =========================================================
   SECTION CARDS
========================================================= */

.form-card {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 28px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 7px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
}

.form-card::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--black) 0%,
        var(--black) 82%,
        var(--gold) 82%,
        var(--gold) 100%
    );
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 28px 20px;
    border-bottom: 1px solid var(--border);
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    background: var(--black);
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-heading h2 {
    color: var(--black);
    font-size: 19px;
    line-height: 1.2;
}

.section-heading p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}


/* =========================================================
   CONTENT SPACING
========================================================= */

.form-card > .form-grid,
.form-card > .membership-options,
.form-card > .schedule-grid,
.form-card > .medical-intro,
.form-card > .field,
.form-card > .consent-list,
.form-card > .booking-note,
.form-card > .submission-note {
    margin-left: 28px;
    margin-right: 28px;
}

.form-card > .form-grid,
.form-card > .membership-options,
.form-card > .schedule-grid {
    margin-top: 26px;
}

.form-card > .medical-intro {
    margin-top: 25px;
    margin-bottom: 20px;
}

.form-card > .field {
    margin-top: 24px;
}

.form-card > .consent-list {
    margin-top: 25px;
}

.form-card > .booking-note {
    margin-top: 20px;
}


/* =========================================================
   FORM GRID
========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
}

.field {
    min-width: 0;
}

.field-full {
    grid-column: 1 / -1;
}


/* =========================================================
   LABELS
========================================================= */

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--black);
    font-size: 11px;
    font-weight: 700;
}

.field label span {
    color: var(--gold);
}


/* =========================================================
   INPUTS
========================================================= */

input,
select,
textarea {
    width: 100%;
    border: 1px solid #CECBC2;
    border-radius: 5px;
    background: #FBFBF9;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

input,
select {
    height: 46px;
    padding: 0 12px;
}

textarea {
    min-height: 110px;
    padding: 11px 12px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #A4A19A;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #B8B4AA;
}

input:focus,
select:focus,
textarea:focus {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.11);
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: var(--gold);
}


/* =========================================================
   BOOKING
========================================================= */

.membership-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.membership-option {
    display: block;
    cursor: pointer;
}

.membership-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.membership-box {
    position: relative;
    display: block;
    min-height: 205px;
    padding: 21px 22px;
    overflow: hidden;
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: 6px;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.membership-box::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 17px;
    height: 17px;
    border: 1px solid #AAA69D;
    border-radius: 50%;
    background: var(--white);
}

.membership-option:hover .membership-box {
    background: var(--white);
    border-color: #C8C4BA;
    transform: translateY(-1px);
}

.membership-option input:checked + .membership-box {
    background: var(--black);
    border-color: var(--gold);
    box-shadow: 0 5px 0 rgba(201, 168, 76, 0.15);
}

.membership-option input:checked + .membership-box::before {
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: inset 0 0 0 4px var(--black);
}

.membership-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-right: 28px;
}

.membership-top > span {
    display: flex;
    flex-direction: column;
}

.membership-top > span > strong {
    color: var(--black);
    font-size: 16px;
    line-height: 1.3;
}

.membership-top > span > small {
    margin-top: 4px;
    color: #8B8881;
    font-size: 10px;
}

.membership-top > b {
    color: var(--black);
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}

.membership-option input:checked + .membership-box .membership-top > span > strong,
.membership-option input:checked + .membership-box .membership-top > b {
    color: var(--white);
}

.membership-option input:checked + .membership-box .membership-top > span > small {
    color: #999;
}

.membership-description {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 18px;
    color: var(--muted);
    font-size: 11px;
}

.membership-option input:checked + .membership-box .membership-description {
    color: #B9B9B9;
}

.membership-detail {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #D8D5CD;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

.membership-option input:checked + .membership-box .membership-detail {
    border-color: #333;
    color: #A9A9A9;
}

.membership-detail strong {
    display: block;
    color: var(--black);
    font-size: 10px;
}

.membership-option input:checked + .membership-box .membership-detail strong {
    color: var(--gold-light);
}

.booking-note {
    padding: 14px 16px;
    background: var(--cream);
    border: 1px solid #E0DDD4;
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.booking-note strong {
    color: var(--black);
}


/* =========================================================
   SCHEDULE
========================================================= */

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.schedule-day {
    overflow: hidden;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 5px;
}

.schedule-day-wide {
    grid-column: 1 / -1;
}

.schedule-day-header {
    padding: 12px 15px;
    background: var(--black);
    color: var(--white);
    border-bottom: 3px solid var(--gold);
    font-size: 12px;
}

.schedule-session {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px 15px;
    border-bottom: 1px solid #E5E3DD;
    font-size: 11px;
}

.schedule-session:last-child {
    border-bottom: 0;
}

.schedule-session strong {
    display: inline-block;
    width: max-content;
    padding: 4px 7px;
    background: var(--black);
    border-radius: 3px;
    color: var(--gold-light);
    font-size: 10px;
    white-space: nowrap;
}

.schedule-session span {
    color: var(--muted);
}


/* =========================================================
   MEDICAL
========================================================= */

.medical-intro {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.checkbox-row,
.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-row {
    padding: 13px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 5px;
}

.checkbox-row:hover {
    border-color: var(--gold);
}

.checkbox-row span,
.consent-item span {
    color: var(--text);
    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   CONSENTS
========================================================= */

.consent-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.consent-item {
    padding: 13px;
    background: var(--off-white);
    border: 1px solid transparent;
    border-radius: 5px;
}

.consent-item:hover {
    background: var(--white);
    border-color: var(--border);
}

.consent-item a {
    color: var(--black);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}


/* =========================================================
   FINAL SUBMISSION
========================================================= */

.submission-note {
    padding: 15px 16px;
    background: var(--black);
    border-radius: 5px;
    color: var(--white);
}

.submission-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-light);
    font-size: 11px;
}

.submission-note p {
    color: #BDBDBD;
    font-size: 11px;
    line-height: 1.7;
}

.submit-button {
    display: block;
    position: relative;
    width: calc(100% - 56px);
    min-height: 56px;
    margin: 21px 28px 0;
    border: 0;
    border-radius: 5px;
    background: var(--gold);
    color: var(--black);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.submit-button::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 19px;
}

.submit-button:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.required-note {
    margin: 9px 28px 0;
    text-align: center;
    color: #999;
    font-size: 9px;
}

.required-note strong {
    color: var(--gold);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    min-height: 95px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--black);
    border-top: 3px solid var(--gold);
    color: var(--white);
}

.footer-logo {
    width: 38px;
    height: auto;
}

.footer-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 17px;
    font-size: 10px;
}

.footer-content strong {
    color: var(--white);
}

.footer-content span {
    color: #999;
}

.footer-content a {
    color: var(--gold-light);
    text-decoration: none;
}


/* =========================================================
   HIDDEN FIELD
========================================================= */

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .site-header {
        height: 74px;
    }

    .header-inner {
        width: calc(100% - 24px);
    }

    .logo {
        width: 145px;
        max-height: 50px;
    }

    .hero-inner {
        width: calc(100% - 28px);
        min-height: auto;
        padding: 38px 0 42px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 12px;
    }

    .form-section {
        width: calc(100% - 24px);
        margin-top: 24px;
    }

    .form-card {
        margin-bottom: 18px;
        padding-bottom: 23px;
    }

    .section-heading {
        padding: 19px 18px 17px;
    }

    .section-number {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .form-card > .form-grid,
    .form-card > .membership-options,
    .form-card > .schedule-grid,
    .form-card > .medical-intro,
    .form-card > .field,
    .form-card > .consent-list,
    .form-card > .booking-note,
    .form-card > .submission-note {
        margin-left: 18px;
        margin-right: 18px;
    }

    .form-card > .form-grid,
    .form-card > .membership-options,
    .form-card > .schedule-grid {
        margin-top: 20px;
    }

    .form-grid,
    .membership-options,
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .field-full,
    .schedule-day-wide {
        grid-column: auto;
    }

    .membership-box {
        min-height: 190px;
    }

    .schedule-session {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .submit-button {
        width: calc(100% - 36px);
        margin-left: 18px;
        margin-right: 18px;
    }

    .required-note {
        margin-left: 18px;
        margin-right: 18px;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        justify-content: center;
    }
}

@media (max-width: 420px) {

    .hero h1 {
        font-size: 30px;
    }

    .section-heading h2 {
        font-size: 17px;
    }

    .membership-top {
        flex-direction: column;
        gap: 6px;
    }

    .membership-top > b {
        font-size: 15px;
    }
}