:root {
    --green: #28a745;
    --green-dark: #28a745;
    --green-light: #edf4ef;

    --text: #26332b;
    --text-light: #66736b;

    --background: #ffffff;
    --white: #ffffff;
    --border: #dfe5e1;

    --shadow: 0 10px 35px rgba(35, 55, 43, 0.08);
}


* {
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
}


/* =========================
   HEADER
========================= */

.header {
    height: 76px;
    background: var(--white);
    display: flex;
    align-items: center;
}


.header-content {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo-link img {
    max-height: 42px;
    max-width: 190px;
}


.back-link {
    color: var(--green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: opacity 0.2s;
}


.back-link:hover {
    opacity: 0.7;
}


/* =========================
   PAGE
========================= */

.page {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;

    padding: 35px 0 80px;
}


/* =========================
   INTRO
========================= */

.intro {
    margin-bottom: 35px;
}


.eyebrow {
    display: inline-block;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;

    color: var(--green);
    margin-bottom: 12px;
}


.intro h1 {
    margin: 0 0 15px;

    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;

    color: var(--green-dark);
}


.intro > p {
    max-width: 680px;

    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: var(--text-light);
}


/* =========================
   INFO BOX
========================= */

.info-box {
    margin-top: 25px;

    display: flex;
    gap: 15px;

    padding: 18px 20px;

    background: var(--green-light);
    border: 1px solid #d8e6dc;
    border-radius: 10px;
}


.info-icon {
    flex-shrink: 0;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--green);
    color: white;

    font-size: 14px;
    font-weight: bold;
}


.info-box strong {
    display: block;
    margin-bottom: 4px;

    font-size: 14px;
}


.info-box p {
    margin: 0;

    font-size: 13px;
    line-height: 1.6;

    color: var(--text-light);
}


/* =========================
   FORM CARD
========================= */

.form-card {
    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 16px;

    box-shadow: var(--shadow);

    overflow: hidden;
}


/* =========================
   FORM SECTION
========================= */

.form-section {
    padding: 38px 42px;

    
}


.section-heading {
    display: flex;
    gap: 15px;

    margin-bottom: 30px;
}


.section-number {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 10px;

    background: var(--green-light);
    color: var(--green);

    font-size: 12px;
    font-weight: 700;
}


.section-heading h2 {
    margin: 0 0 5px;

    font-size: 21px;
    color: var(--green-dark);
}


.section-heading p {
    margin: 0;

    color: var(--text-light);
    font-size: 14px;
}


/* =========================
   FIELDS
========================= */

.fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 22px;
}


.field-full {
    grid-column: 1 / -1;
}


.field label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 700;
}


.field label span,
.required-info span {
    color: #c34a4a;
}


.field input,
.field select,
.field textarea {
    width: 100%;

    border: 1px solid #d5ddd8;
    border-radius: 8px;

    background: #fff;

    padding: 13px 14px;

    font-family: inherit;
    font-size: 14px;

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}


.field input,
.field select {
    height: 48px;
}


.field textarea {
    resize: vertical;
    min-height: 145px;
}


.field input::placeholder,
.field textarea::placeholder {
    color: #9ba49e;
}


.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--green);

    box-shadow:
        0 0 0 3px rgba(49, 92, 69, 0.10);
}


/* =========================
   REQUEST OPTIONS
========================= */

.request-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.request-option {
    position: relative;

    cursor: pointer;
}


.request-option input {
    position: absolute;
    opacity: 0;
}


.option-content {
    min-height: 86px;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 10px;

    transition:
        border-color 0.2s,
        background 0.2s,
        transform 0.2s;
}


.request-option:hover .option-content {
    border-color: #a9bbae;
    transform: translateY(-1px);
}


.request-option input:checked + .option-content {
    border-color: var(--green);
    background: var(--green-light);

    box-shadow:
        inset 0 0 0 1px var(--green);
}


.option-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f0f3f1;

    color: var(--green);

    font-size: 16px;
    font-weight: bold;
}


.request-option input:checked + .option-content .option-icon {
    background: var(--green);
    color: white;
}


.option-content strong {
    display: block;

    margin-bottom: 5px;

    font-size: 13px;
}


.option-content small {
    display: block;

    color: var(--text-light);

    font-size: 12px;
    line-height: 1.45;
}


/* =========================
   DETAILS
========================= */

.details-field {
    margin-top: 25px;
}


.field-helper {
    display: flex;
    justify-content: space-between;

    margin-top: 7px;

    font-size: 11px;
    color: #89938d;
}


/* =========================
   CONSENT
========================= */

.consent-section {
    padding-top: 28px;
    padding-bottom: 28px;

    background: #fafbfa;
}


.consent {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    cursor: pointer;
}


.consent input {
    width: 18px;
    height: 18px;

    margin-top: 2px;

    accent-color: var(--green);
}


.consent-text {
    font-size: 13px;
    line-height: 1.6;

    color: var(--text-light);
}


.consent-text a {
    color: var(--green);
    font-weight: 600;
}


/* =========================
   FOOTER DO FORM
========================= */

.form-footer {
    padding: 25px 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.required-info {
    margin: 0;

    color: #89938d;

    font-size: 12px;
}


.submit-button {
    border: 0;

    min-width: 190px;

    padding: 14px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border-radius: 8px;

    background: var(--green);
    color: white;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s,
        transform 0.2s;
}


.submit-button:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}


.submit-button .arrow {
    font-size: 18px;
}


/* =========================
   PRIVACY FOOTER
========================= */

.privacy-footer {
    margin-top: 22px;

    display: flex;
    gap: 14px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.65);
}


.privacy-footer-icon {
    font-size: 20px;
}


.privacy-footer strong {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;
}


.privacy-footer p {
    margin: 0;

    color: var(--text-light);

    font-size: 12px;
    line-height: 1.5;
}


.privacy-footer a {
    color: var(--green);
    font-weight: 600;
}


/* =========================
   SUCCESS
========================= */

.success-overlay {
    position: fixed;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(20, 30, 24, 0.55);

    opacity: 0;
    visibility: hidden;

    transition: 0.25s;

    z-index: 1000;
}


.success-overlay.show {
    opacity: 1;
    visibility: visible;
}


.success-modal {
    width: min(450px, 100%);

    padding: 42px 35px;

    text-align: center;

    background: white;

    border-radius: 16px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);

    transform: translateY(15px);

    transition: 0.25s;
}


.success-overlay.show .success-modal {
    transform: translateY(0);
}


.success-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--green-light);
    color: var(--green);

    font-size: 28px;
    font-weight: bold;
}


.success-modal h2 {
    margin: 0 0 12px;

    color: var(--green-dark);

    font-size: 24px;
}


.success-modal p {
    margin: 0 0 25px;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.6;
}


.success-button {
    display: inline-block;

    padding: 13px 20px;

    border-radius: 8px;

    background: var(--green);
    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .header {
        height: auto;
        padding: 16px 0;
    }


    .header-content {
        width: min(100% - 30px, 960px);

        flex-direction: column;
        gap: 12px;
    }


    .back-link {
        font-size: 12px;
    }


    .page {
        width: calc(100% - 24px);

        padding: 40px 0 50px;
    }


    .intro h1 {
        font-size: 30px;
    }


    .intro > p {
        font-size: 14px;
    }


    .form-section {
        padding: 28px 20px;
    }


    .fields-grid,
    .request-grid {
        grid-template-columns: 1fr;
    }


    .field-full {
        grid-column: auto;
    }


    .section-heading {
        gap: 11px;
    }


    .section-heading h2 {
        font-size: 19px;
    }


    .section-heading p {
        font-size: 12px;
    }


    .form-footer {
        padding: 22px 20px;

        flex-direction: column;
        align-items: stretch;
    }


    .submit-button {
        width: 100%;
    }


    .required-info {
        text-align: center;
    }
}