.request-card form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.request-heading {
    text-align: center;
    margin-bottom: 12px;
}

.request-heading__eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.request-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 6px;
}

.request-heading p {
    color: var(--muted);
    font-size: 1rem;
}

.request-alert {
    display: none;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    padding: 12px 16px;
    border: 1px solid transparent;
    font-size: .95rem;
}

.request-alert strong {
    font-size: .95rem;
}

.request-alert--error {
    background: rgba(239, 68, 68, .14);
    border-color: rgba(239, 68, 68, .25);
    color: #fecaca;
    display: none;
}

.request-alert--error.show {
    display: flex;
}

.request-alert--success {
    background: rgba(16, 185, 129, .18);
    border-color: rgba(16, 185, 129, .35);
    color: #d1fae5;
    display: none;
}

.request-alert--success.show {
    display: flex;
}

.request-alert.alert-success,
.request-alert.alert-danger,
.request-alert.alert-warning,
.server-alert {
    display: flex;
}

.request-alert.alert-success {
    background: rgba(16, 185, 129, .18);
    border-color: rgba(16, 185, 129, .35);
    color: #d1fae5;
}

.request-alert.alert-danger,
.request-alert.alert-warning {
    background: rgba(239, 68, 68, .14);
    border-color: rgba(239, 68, 68, .25);
    color: #fecaca;
}

.request-sections {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.request-section {
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
}

.request-section > *:not(.section-header) {
    margin-top: 20px;
}

.section-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.section-badge {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #0ea5e9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
}

.section-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.section-header p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.option-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-block + .option-block {
    margin-top: 24px;
}

.option-title {
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.field-error {
    margin-top: 6px;
    font-size: .85rem;
    line-height: 1.4;
    color: #fecaca;
    font-weight: 600;
}

.chip-group .field-error {
    flex-basis: 100%;
}

input.field-invalid:not([type="radio"]),
textarea.field-invalid,
select.field-invalid {
    border-color: rgba(239, 68, 68, .6);
    box-shadow: 0 0 0 1px rgba(239, 68, 68, .35);
}

input.field-invalid:not([type="radio"]):focus,
textarea.field-invalid:focus,
select.field-invalid:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, .35);
}

.chip input.field-invalid + span {
    border-color: rgba(239, 68, 68, .6);
    background: rgba(239, 68, 68, .1);
    color: #fecaca;
}

.chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.chip {
    position: relative;
    border-radius: 999px;
    cursor: pointer;
}

.chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-weight: 600;
    font-size: .92rem;
    transition: all .2s ease;
}

.chip span:hover {
    border-color: rgba(56, 189, 248, .4);
}

.chip input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.chip input:focus-visible + span {
    box-shadow: 0 0 0 2px rgba(56, 189, 248, .4);
}

.chip input:checked + span {
    background: var(--btn);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 25px rgba(14, 165, 233, .35);
}

.chip--block span {
    width: 100%;
    justify-content: flex-start;
}

.coordinate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.label .sub-label {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: .85rem;
}

.request-note {
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, .25);
    padding: 12px 16px;
    color: var(--muted);
    font-size: .9rem;
    background: rgba(255, 255, 255, .03);
}

.file-input {
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .04);
    color: var(--ink);
}

.signature-box {
    border: 1px dashed rgba(255, 255, 255, .2);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, .03);
}

.signature-box .input {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.signature-box .input:focus {
    outline: none;
}

.request-aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.request-checklist {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 18px;
}

.request-checklist h4 {
    margin-bottom: 10px;
}

.request-checklist ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--muted);
    font-size: .95rem;
    padding-left: 0;
}

.request-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.request-checklist li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

.request-card .actions {
    justify-content: flex-end;
}

/* ========== Request Form Page Mobile Responsive ========== */
@media (max-width: 968px) {
    .page-hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section {
        padding: 50px 0;
    }
    .request-card form {
        gap: 20px;
    }

    .request-heading {
        margin-bottom: 10px;
    }

    .request-heading__eyebrow {
        font-size: 0.72rem;
    }

    .request-heading h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .request-heading p {
        font-size: 0.95rem;
    }

    .request-alert {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .request-sections {
        gap: 16px;
    }

    .request-section {
        padding: 20px;
    }

    .request-section > *:not(.section-header) {
        margin-top: 18px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-badge {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .section-header h3 {
        font-size: 1.1rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .option-block {
        gap: 8px;
    }

    .option-block + .option-block {
        margin-top: 20px;
    }

    .option-title {
        font-size: 0.78rem;
    }

    .chip-group {
        gap: 8px;
    }

    .chip span {
        padding: 7px 16px;
        font-size: 0.88rem;
    }

    .coordinate-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }

    .request-note {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .request-checklist {
        padding: 16px;
    }

    .request-checklist h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .request-checklist ul {
        gap: 8px;
        font-size: 0.9rem;
    }

    .request-card .actions {
        flex-direction: column;
    }

    .request-card .actions .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 40px 0;
    }

    .request-card form {
        gap: 18px;
    }

    .request-heading__eyebrow {
        font-size: 0.7rem;
    }

    .request-heading h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .request-heading p {
        font-size: 0.9rem;
    }

    .request-alert {
        padding: 9px 12px;
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    .request-sections {
        gap: 14px;
    }

    .request-section {
        padding: 18px;
    }

    .request-section > *:not(.section-header) {
        margin-top: 16px;
    }

    .section-badge {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .section-header h3 {
        font-size: 1.05rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .option-block {
        gap: 7px;
    }

    .option-block + .option-block {
        margin-top: 18px;
    }

    .option-title {
        font-size: 0.75rem;
    }

    .chip-group {
        gap: 7px;
    }

    .chip span {
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    .chip-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .coordinate-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .label .sub-label {
        font-size: 0.8rem;
    }

    .request-note {
        padding: 9px 12px;
        font-size: 0.8rem;
    }

    .file-input {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .signature-box {
        padding: 14px;
    }

    .request-checklist {
        padding: 14px;
    }

    .request-checklist h4 {
        font-size: 0.95rem;
    }

    .request-checklist ul {
        gap: 7px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 30px 0;
    }

    .request-card form {
        gap: 16px;
    }

    .request-heading {
        margin-bottom: 8px;
    }

    .request-heading__eyebrow {
        font-size: 0.68rem;
        margin-bottom: 4px;
    }

    .request-heading h2 {
        font-size: clamp(1.3rem, 6vw, 1.6rem);
        margin-bottom: 4px;
    }

    .request-heading p {
        font-size: 0.85rem;
    }

    .request-alert {
        padding: 8px 10px;
        font-size: 0.8rem;
        border-radius: 12px;
    }

    .request-alert strong {
        font-size: 0.8rem;
    }

    .request-sections {
        gap: 12px;
    }

    .request-section {
        padding: 16px;
        border-radius: 16px;
    }

    .request-section > *:not(.section-header) {
        margin-top: 14px;
    }

    .section-header {
        gap: 10px;
    }

    .section-badge {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        border-radius: 12px;
    }

    .section-header h3 {
        font-size: 1rem;
    }

    .section-header p {
        font-size: 0.8rem;
    }

    .option-block {
        gap: 6px;
    }

    .option-block + .option-block {
        margin-top: 16px;
    }

    .option-title {
        font-size: 0.72rem;
    }

    .chip-group {
        gap: 6px;
    }

    .chip span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .chip-grid {
        gap: 6px;
    }

    .coordinate-grid {
        gap: 8px;
    }

    .label .sub-label {
        font-size: 0.75rem;
    }

    .request-note {
        padding: 8px 10px;
        font-size: 0.75rem;
        border-radius: 12px;
    }

    .file-input {
        padding: 7px 10px;
        font-size: 0.8rem;
        border-radius: 12px;
    }

    .signature-box {
        padding: 12px;
        border-radius: 12px;
    }

    .request-checklist {
        padding: 12px;
        border-radius: 14px;
    }

    .request-checklist h4 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .request-checklist ul {
        gap: 6px;
        font-size: 0.8rem;
    }

    .request-checklist li {
        gap: 6px;
    }
}
