/* =========================================================
   REQUEST PART HERO
========================================================= */

.request-part-hero {
    position: relative;

    min-height: 320px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(100deg,
            rgba(5, 12, 20, .78),
            rgba(7, 17, 28, .96)),
        url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1800&q=85") center / cover no-repeat;
}

.request-part-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 18% 50%,
            rgba(229, 35, 41, .25),
            transparent 30%);
}

.request-part-hero-content {
    position: relative;
    z-index: 2;

    text-align: center;

    padding: 70px 0;
}

.request-part-hero-content h1 {
    margin-top: 5px;

    font-size: clamp(34px, 4vw, 54px);

    line-height: 1.3;

    font-weight: 800;
}

.request-part-hero-content h1 span {
    color: var(--primary);
}

.request-part-hero-content p {
    max-width: 680px;

    margin: 12px auto 0;

    color: #cbd2da;

    font-size: 13px;

    line-height: 2;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.request-part-section {
    padding: 75px 0;

    background: #f7f8fa;
}


/* =========================================================
   PROCESS
========================================================= */

.request-process {
    display: flex;

    align-items: flex-start;
    justify-content: center;

    max-width: 900px;

    margin: 0 auto 50px;
}

.request-process-item {
    position: relative;

    z-index: 2;

    flex: 0 1 170px;

    text-align: center;
}

.request-process-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 8px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff;

    color: #929ba6;

    border: 1px solid #e1e4e8;

    box-shadow: 0 7px 20px rgba(0, 0, 0, .05);

    font-size: 18px;
}

.request-process-item.active .request-process-icon {
    background: var(--primary);

    color: #fff;

    border-color: var(--primary);

    box-shadow:
        0 8px 22px rgba(229, 35, 41, .22);
}

.request-process-item span {
    display: block;

    color: #a0a7b0;

    font-size: 8px;
}

.request-process-item strong {
    display: block;

    margin-top: 2px;

    color: #3a424d;

    font-size: 10px;
}

.request-process-line {
    flex: 1;

    height: 1px;

    margin-top: 29px;

    max-width: 100px;

    border-top: 1px dashed #d5d9de;
}


/* =========================================================
   GRID
========================================================= */

.request-part-grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 310px;

    gap: 30px;

    align-items: start;
}


/* =========================================================
   FORM CARD
========================================================= */

.request-form-card {
    padding: 32px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);
}

.request-form-heading {
    margin-bottom: 30px;
}

.request-form-heading h2 {
    margin-top: 3px;

    font-size: 25px;
}

.request-form-heading p {
    max-width: 650px;

    margin-top: 5px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.9;
}


/* =========================================================
   FORM SECTION TITLES
========================================================= */

.form-section-title {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 28px 0 18px;

    padding-bottom: 12px;

    border-bottom: 1px solid #edf0f2;
}

.form-section-title>span {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: #fff1f1;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;
}

.form-section-title strong {
    display: block;

    font-size: 12px;
}

.form-section-title small {
    display: block;

    margin-top: 1px;

    color: var(--muted);

    font-size: 8px;
}


/* =========================================================
   FORM
========================================================= */

.request-part-form {
    display: grid;

    gap: 15px;
}

.request-form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.request-form-group {
    display: flex;

    flex-direction: column;

    gap: 6px;
}

.request-form-group label {
    color: #343c46;

    font-size: 10px;

    font-weight: 700;
}

.optional-label {
    color: #9ca3ab;

    font-size: 8px;

    font-weight: 400;
}


.request-input {
    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 49px;

    padding: 0 13px;

    background: #fff;

    border: 1px solid #e0e3e7;

    border-radius: 10px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.request-input:focus-within,
.request-textarea:focus-within {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(229, 35, 41, .08);
}

.request-input>i {
    color: #9da5ae;

    font-size: 13px;
}

.request-input input {
    width: 100%;

    height: 47px;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--text);

    font-family: inherit;

    font-size: 11px;
}

.request-error {
    min-height: 13px;

    color: var(--primary);

    font-size: 8px;
}

.input-error {
    border-color: var(--primary) !important;

    background: #fffafa;
}


/* =========================================================
   CONDITION
========================================================= */

.condition-options {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.condition-option {
    cursor: pointer;
}

.condition-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.condition-option span {
    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 8px;

    border: 1px solid #e0e3e7;

    border-radius: 10px;

    color: #606873;

    background: #fff;

    font-size: 10px;

    transition: .2s ease;
}

.condition-option span i {
    color: #9da5ae;
}

.condition-option input:checked+span {
    color: var(--primary);

    background: #fff7f7;

    border-color: var(--primary);
}

.condition-option input:checked+span i {
    color: var(--primary);
}


/* =========================================================
   UPLOAD
========================================================= */

.upload-box {
    position: relative;

    min-height: 155px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    border: 1.5px dashed #d4d9df;

    border-radius: 13px;

    background: #fafbfc;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.upload-box:hover,
.upload-box.dragover {
    border-color: var(--primary);

    background: #fff8f8;
}

.upload-box input {
    display: none;
}

.upload-placeholder {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.upload-icon {
    width: 46px;
    height: 46px;

    margin-bottom: 8px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #fff1f1;

    color: var(--primary);

    font-size: 19px;
}

.upload-placeholder strong {
    font-size: 11px;
}

.upload-placeholder span {
    margin-top: 3px;

    color: #969ea8;

    font-size: 8px;
}

.image-preview {
    display: none;

    max-width: 100%;

    max-height: 180px;

    border-radius: 10px;

    object-fit: contain;
}

.upload-box.has-image .upload-placeholder {
    display: none;
}

.upload-box.has-image .image-preview {
    display: block;
}

.request-upload-error {
    color: var(--primary);

    font-size: 8px;
}


/* =========================================================
   TEXTAREA
========================================================= */

.request-textarea {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    min-height: 120px;

    padding: 0 13px;

    border: 1px solid #e0e3e7;

    border-radius: 10px;

    background: #fff;
}

.request-textarea>i {
    margin-top: 14px;

    color: #9da5ae;

    font-size: 13px;
}

.request-textarea textarea {
    width: 100%;

    min-height: 115px;

    padding: 13px 0;

    border: 0;

    outline: 0;

    resize: vertical;

    background: transparent;

    font-family: inherit;

    color: var(--text);

    font-size: 11px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT METHODS
========================================================= */

.contact-methods {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.contact-method {
    cursor: pointer;
}

.contact-method input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.contact-method span {
    min-height: 62px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 1px;

    border: 1px solid #e0e3e7;

    border-radius: 11px;

    background: #fff;

    transition: .2s ease;
}

.contact-method span i {
    color: #9da5ae;

    font-size: 17px;

    margin-bottom: 2px;
}

.contact-method span strong {
    font-size: 10px;
}

.contact-method span small {
    color: #969ea8;

    font-size: 7px;
}

.contact-method input:checked+span {
    border-color: var(--primary);

    background: #fff7f7;

    color: var(--primary);
}

.contact-method input:checked+span i {
    color: var(--primary);
}


/* =========================================================
   SUBMIT
========================================================= */

.request-submit {
    width: 100%;

    min-height: 51px;

    margin-top: 10px;

    cursor: pointer;

    font-size: 12px;
}


/* =========================================================
   SUCCESS
========================================================= */

.request-success {
    display: none;

    align-items: center;

    gap: 12px;

    padding: 14px;

    border: 1px solid #ccefdc;

    border-radius: 11px;

    background: #eefaf3;

    color: #167342;
}

.request-success.show {
    display: flex;
}

.request-success>i {
    font-size: 22px;
}

.request-success strong {
    display: block;

    font-size: 11px;
}

.request-success span {
    display: block;

    margin-top: 2px;

    font-size: 9px;
}

.request-success b {
    font-size: 10px;
}


/* =========================================================
   SIDE CARDS
========================================================= */

.request-side {
    display: grid;

    gap: 13px;
}

.request-side-card {
    padding: 20px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 16px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .035);
}

.request-side-icon {
    width: 43px;
    height: 43px;

    margin-bottom: 10px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: #fff1f1;

    color: var(--primary);

    font-size: 17px;
}

.request-side-card h3 {
    font-size: 13px;

    margin-bottom: 4px;
}

.request-side-card p {
    color: var(--muted);

    font-size: 9px;

    line-height: 1.9;
}


/* =========================================================
   SIDE HELP
========================================================= */

.request-side-help {
    padding: 22px;

    color: #fff;

    border-radius: 16px;

    background:
        radial-gradient(circle at 90% 20%,
            rgba(229, 35, 41, .25),
            transparent 40%),
        linear-gradient(135deg,
            #07111f,
            #102033);
}

.request-side-help>span {
    display: block;

    color: #aeb8c4;

    font-size: 9px;
}

.request-side-help>strong {
    display: block;

    margin: 3px 0 15px;

    font-size: 15px;
}

.request-side-help .primary-btn {
    width: 100%;

    padding: 10px;

    font-size: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .request-part-grid {
        grid-template-columns: 1fr;
    }

    .request-side {
        grid-template-columns: repeat(3, 1fr);
    }

    .request-side-help {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .request-part-hero {
        min-height: 270px;
    }

    .request-part-hero-content {
        padding: 55px 0;
    }

    .request-part-hero-content h1 {
        font-size: 32px;
    }

    .request-part-hero-content p {
        font-size: 10px;
    }


    .request-part-section {
        padding: 50px 0;
    }


    .request-process {
        margin-bottom: 35px;
    }

    .request-process-line {
        display: none;
    }

    .request-process-item {
        flex: 1;
    }

    .request-process-icon {
        width: 45px;
        height: 45px;

        font-size: 14px;
    }

    .request-process-item strong {
        font-size: 8px;
    }

    .request-process-item span {
        font-size: 7px;
    }


    .request-form-card {
        padding: 20px 15px;

        border-radius: 16px;
    }

    .request-form-heading h2 {
        font-size: 20px;
    }


    .request-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .condition-options {
        grid-template-columns: 1fr 1fr 1fr;

        gap: 6px;
    }

    .condition-option span {
        font-size: 8px;
    }


    .contact-methods {
        grid-template-columns: 1fr 1fr 1fr;

        gap: 6px;
    }

    .contact-method span strong {
        font-size: 8px;
    }


    .request-side {
        grid-template-columns: 1fr;
    }

    .request-side-help {
        grid-column: auto;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .request-part-hero-content h1 {
        font-size: 27px;
    }

    .request-process-item strong {
        font-size: 7px;
    }

    .request-process-icon {
        width: 40px;
        height: 40px;

        font-size: 12px;
    }

    .condition-option span {
        min-height: 44px;

        gap: 4px;

        font-size: 7px;
    }

    .condition-option span i {
        font-size: 11px;
    }

    .contact-method span {
        min-height: 57px;
    }

    .contact-method span i {
        font-size: 14px;
    }

    .contact-method span strong {
        font-size: 7px;
    }

}