.upload-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 78px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(38, 195, 176, .22), transparent 30%),
        radial-gradient(circle at 10% 100%, rgba(71, 118, 255, .25), transparent 35%),
        linear-gradient(135deg, #07172f 0%, #0a2850 55%, #0d3a5c 100%);
}

.upload-hero::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .14;
    background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to right, transparent, #000 45%, #000);
}

.upload-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(290px, .6fr);
    gap: 64px;
    align-items: center;
}

.upload-eyebrow {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    color: #73e2d2;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.upload-hero h1 {
    max-width: 790px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.upload-hero__copy > p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.74);
    font-size: 1.08rem;
    line-height: 1.85;
}

.upload-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 28px;
    color: rgba(255,255,255,.86);
    font-size: .9rem;
}

.upload-hero__trust span { display: inline-flex; gap: 8px; align-items: center; }
.upload-hero__trust i { color: #73e2d2; font-size: 1.1rem; }

.upload-hero__aside {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 24px 70px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}

.upload-hero__aside > strong { display: block; margin-bottom: 18px; color: #fff; font-size: 1.05rem; }
.upload-hero__aside ol { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.upload-hero__aside li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; color: rgba(255,255,255,.78); font-size: .9rem; }
.upload-hero__aside li span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #06253c; background: #73e2d2; font-weight: 800; }

.upload-page { padding: 72px 0 96px; background: #f3f7fb; }
.upload-form { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.upload-form__main { display: grid; gap: 24px; }

.upload-panel {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #dfe8f1;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(17, 46, 76, .06);
}

.upload-panel__heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 30px; }
.upload-panel__heading > span { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 13px; color: #08796d; background: #e2f8f4; font-size: .82rem; font-weight: 850; }
.upload-panel__heading h2 { margin: 0 0 5px; color: #102b49; font-size: 1.35rem; letter-spacing: -.02em; }
.upload-panel__heading p { margin: 0; color: #6a7d90; font-size: .92rem; line-height: 1.6; }

.upload-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.upload-field { display: grid; gap: 8px; margin: 0; }
.upload-field--wide { grid-column: 1 / -1; }
.upload-field > span { color: #314860; font-size: .86rem; font-weight: 700; }
.upload-field em { color: #dc3545; font-style: normal; }
.upload-field input,
.upload-field textarea {
    width: 100%;
    border: 1px solid #d6e0ea;
    border-radius: 12px;
    outline: none;
    color: #18344f;
    background: #fbfdff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.upload-field input { height: 50px; padding: 0 15px; }
.upload-field textarea { padding: 14px 15px; resize: vertical; }
.upload-field input:focus,
.upload-field textarea:focus { border-color: #18a796; background: #fff; box-shadow: 0 0 0 4px rgba(24, 167, 150, .11); }

.upload-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.upload-dropzone {
    position: relative;
    display: flex;
    min-height: 220px;
    padding: 25px 20px 20px;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border: 1.5px dashed #b9cad9;
    border-radius: 18px;
    background: #f8fbfd;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.upload-dropzone--wide { grid-column: 1 / -1; min-height: 190px; }
.upload-dropzone.is-dragging { border-color: #14a493; background: #ecfaf8; transform: translateY(-2px); }
.upload-dropzone > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-dropzone > i { display: grid; width: 48px; height: 48px; margin-bottom: 12px; place-items: center; border-radius: 15px; color: #08796d; background: #e2f8f4; font-size: 1.45rem; }
.upload-dropzone > strong { color: #1c3854; font-size: 1rem; }
.upload-dropzone > small { min-height: 38px; margin: 6px 0 14px; color: #74889a; line-height: 1.5; }
.upload-dropzone > button { padding: 8px 15px; border: 0; border-radius: 9px; color: #fff; background: #0d806f; font-size: .82rem; font-weight: 750; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.upload-dropzone > button:hover { background: #09695d; transform: translateY(-1px); }
.upload-dropzone.has-files::after { position: absolute; top: 14px; right: 14px; content: attr(data-count); color: #08796d; font-size: .72rem; font-weight: 800; }

.upload-file-list { display: grid; width: 100%; gap: 6px; margin-top: 13px; }
.upload-file { display: grid; grid-template-columns: minmax(0, 1fr) 26px; gap: 6px; align-items: center; padding: 6px 6px 6px 10px; border-radius: 8px; color: #436078; background: #fff; box-shadow: 0 2px 8px rgba(20, 52, 78, .06); font-size: .75rem; text-align: left; }
.upload-file span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.upload-file button { display: grid; width: 25px; height: 25px; padding: 0; place-items: center; border: 0; border-radius: 7px; color: #9a4d56; background: #fff0f1; cursor: pointer; }
.upload-limits { display: flex; gap: 8px; margin: 17px 0 0; color: #76899b; font-size: .8rem; line-height: 1.5; }
.upload-limits i { color: #0d806f; }
.upload-notes { margin-top: 25px; }

.upload-submit-card {
    position: sticky;
    top: 105px;
    padding: 30px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(155deg, #0c2543, #0b3d58);
    box-shadow: 0 20px 60px rgba(9, 39, 66, .18);
}
.upload-submit-card__icon { display: grid; width: 54px; height: 54px; margin-bottom: 22px; place-items: center; border-radius: 17px; color: #08354a; background: #72e0d0; font-size: 1.45rem; }
.upload-submit-card h2 { margin: 0 0 10px; color: #fff; font-size: 1.35rem; }
.upload-submit-card > p { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.7; }
.upload-submit-card ul { display: grid; gap: 11px; margin: 24px 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); list-style: none; }
.upload-submit-card li { display: flex; gap: 9px; color: rgba(255,255,255,.82); font-size: .84rem; }
.upload-submit-card li i { color: #72e0d0; }
.upload-submit { display: flex; width: 100%; min-height: 50px; padding: 0 18px; align-items: center; justify-content: space-between; border: 0; border-radius: 12px; color: #073247; background: #72e0d0; font-weight: 850; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.upload-submit:hover { background: #8becdd; transform: translateY(-1px); }
.upload-submit:disabled { opacity: .68; cursor: wait; transform: none; }
.upload-submit.is-loading i { animation: upload-spin 1s linear infinite; }
.upload-result { display: none; margin-top: 15px; padding: 11px 12px; border-radius: 10px; font-size: .8rem; line-height: 1.55; overflow-wrap: anywhere; }
.upload-result--success { display: block; color: #d4fff6; background: rgba(52, 211, 153, .16); }
.upload-result--error { display: block; color: #ffe3e3; background: rgba(248, 113, 113, .17); }
.upload-contact { display: block; margin-top: 18px; color: rgba(255,255,255,.52); font-size: .75rem; line-height: 1.55; }
.upload-contact a { color: #72e0d0; }
.upload-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

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

@media (max-width: 991px) {
    .upload-hero { padding-top: 130px; }
    .upload-hero__inner { grid-template-columns: 1fr; gap: 30px; }
    .upload-hero__aside { max-width: 520px; }
    .upload-form { grid-template-columns: 1fr; }
    .upload-submit-card { position: static; }
}

@media (max-width: 575px) {
    .upload-hero { padding: 112px 0 58px; }
    .upload-hero__trust { display: grid; }
    .upload-page { padding: 38px 0 68px; }
    .upload-panel { padding: 22px 18px; border-radius: 18px; }
    .upload-fields,
    .upload-category-grid { grid-template-columns: 1fr; }
    .upload-field--wide,
    .upload-dropzone--wide { grid-column: auto; }
    .upload-dropzone { min-height: 205px; }
    .upload-submit-card { padding: 25px 22px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .upload-dropzone,
    .upload-dropzone > button,
    .upload-submit { transition: none; }
    .upload-submit.is-loading i { animation: none; }
}
