:root {
    --gold: #C9963A;
    --gold-light: #E8B84B;
    --gold-pale: #FDF3E0;
    --navy: #0D1B2A;
    --navy-mid: #1A2E45;
    --white: #FFFFFF;
    --off-white: #F8F6F1;
    --text-dark: #1A1A2E;
    --text-muted: #6B7280;
    --red: #C0392B;
    --green: #1A7A4A;
    --border: rgba(201, 150, 58, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(13, 27, 42, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 68px;
}

.nav-logo img {
    height: 190px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-back:hover {
    color: var(--gold-light);
    border-color: var(--border);
    background: rgba(201, 150, 58, 0.08);
}

@media (max-width: 768px) {
    .nav-logo img {
        height: 150px;
        max-width: 130px;
    }

    .nav-back {
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }
}

/* HERO */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a2a 100%);
    padding: 100px 5% 48px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23C9963A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 150, 58, 0.15);
    border: 1px solid var(--border);
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.38rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.1rem;
    animation: fadeUp 0.5s ease both;
}

.page-hero h1 {
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.22;
    margin-bottom: 1rem;
    animation: fadeUp 0.5s 0.1s ease both;
}

.page-hero h1 em {
    color: var(--gold-light);
    font-style: normal;
}

.page-hero .sub {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 0.85rem;
    animation: fadeUp 0.5s 0.2s ease both;
}

.page-hero .desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeUp 0.5s 0.3s ease both;
}

/* Thin gold divider under hero */
.hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-light));
    border-radius: 2px;
    margin: 1.25rem auto 0;
    animation: fadeUp 0.5s 0.35s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* MAIN LAYOUT */
.main-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 5% 80px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* FORM CARD */
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(13, 27, 42, 0.08);
}

.form-section-title {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.form-section-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

/* ELIGIBILITY CHECKS */
.elig-section {
    margin-bottom: 2rem;
}

.elig-header {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.elig-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.elig-prereqs {
    background: rgba(192, 57, 43, 0.04);
    border: 1px solid rgba(192, 57, 43, 0.18);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.elig-prereqs h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.prereq-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.83rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.prereq-item:last-child {
    margin-bottom: 0;
}

.prereq-dot {
    width: 16px;
    height: 16px;
    min-width: 16px;
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: var(--red);
    margin-top: 2px;
}

/* RADIO GROUP */
.radio-group {
    margin-bottom: 1.5rem;
}

.radio-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.65rem;
    display: block;
}

.radio-label span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.radio-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.radio-options.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.radio-opt {
    position: relative;
}

.radio-opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-opt label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid rgba(201, 150, 58, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--off-white);
    transition: all 0.2s;
    text-align: center;
    min-height: 48px;
}

.radio-opt input[type="radio"]:checked+label {
    background: var(--navy);
    color: var(--gold-light);
    border-color: var(--navy);
    font-weight: 600;
}

.radio-opt label:hover {
    border-color: var(--gold-light);
    color: var(--navy);
}

/* CONTACT FIELDS */
.fields-section {
    margin-top: 0.5rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.field-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
}

.field-group input,
.field-group select {
    padding: 0.7rem 1rem;
    border: 1.5px solid rgba(201, 150, 58, 0.2);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: border-color 0.2s;
    outline: none;
}

.field-group input:focus,
.field-group select:focus {
    border-color: var(--gold-light);
    background: var(--white);
}

.field-group input::placeholder {
    color: rgba(107, 114, 128, 0.7);
}

/* DIVIDER */
.divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

/* SUBMIT */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gold-light);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.submit-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 150, 58, 0.4);
}

.submit-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* SUCCESS STATE */
.success-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.success-overlay h3 {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.6rem;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.success-overlay p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* SIDEBAR */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: var(--navy);
    border: 1px solid rgba(201, 150, 58, 0.2);
    border-radius: 14px;
    padding: 1.75rem;
    color: var(--white);
}

.info-card h3 {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    align-items: flex-start;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-ico {
    font-size: 1.1rem;
    margin-top: 1px;
}

.info-row div {
    font-size: 0.85rem;
}

.info-row strong {
    display: block;
    color: var(--gold-light);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.info-row span {
    color: rgba(255, 255, 255, 0.75);
}

.why-card-sm {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
}

.why-card-sm h3 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.why-item::before {
    content: '✔';
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 700;
}

.urgency-card {
    background: linear-gradient(135deg, var(--gold-light) 0%, #E8B84B 100%);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}

.urgency-card p {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.5;
}

.urgency-card strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}

.contact-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.contact-card a {
    display: block;
    background: var(--navy);
    color: var(--gold-light);
    padding: 0.7rem 1rem;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s;
    margin-bottom: 0.5rem;
}

.contact-card a:hover {
    background: var(--navy-mid);
}

.contact-card a.outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
}

.contact-card a.outline:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

/* RESPONSIVE */
@media(max-width:900px) {
    .main-wrap {
        grid-template-columns: 1fr;
    }

    .sidebar {
        /*order: -1;*/
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .info-card,
    .urgency-card,
    .contact-card {
        grid-column: 1 / -1;
    }
}

@media(max-width:640px) {
    .radio-options {
        grid-template-columns: 1fr;
    }

    .radio-options.three-col {
        grid-template-columns: 1fr;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 1.5rem;
    }
}