.volunteering-page {
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
    padding: 40px 0 120px;
    min-height: 1276px;
}

.volunteering-page__clouds {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.volunteering-page__clouds img {
    display: block;
    width: 100%;
    height: auto;
    transform: scaleY(-1);
    transform-origin: center center;
}

.volunteering-page__spark {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.volunteering-page__spark--1 {
    top: 442px;
    right: calc(var(--page-pad) + 129px);
    width: 124px;
    height: 124px;
}

.volunteering-page__spark--2 {
    top: 1088px;
    left: calc(var(--page-pad) + 105px);
    width: 124px;
    height: 124px;
}

.volunteering-page__spark--3 {
    top: 611px;
    right: calc(var(--page-pad) + 129px);
    width: 66px;
    height: 66px;
}

.volunteering-page__spark--4 {
    top: 1172px;
    left: calc(var(--page-pad) + 219px);
    width: 66px;
    height: 66px;
}

.volunteering-page__spark--5 {
    top: 677px;
    left: calc(var(--page-pad) + 105px);
    width: 66px;
    height: 66px;
}

.volunteering-page__spark--6 {
    top: 1338px;
    right: calc(var(--page-pad) + 169px);
    width: 66px;
    height: 66px;
}

.volunteering-page__inner {
    position: relative;
    z-index: 2;
    width: var(--container);
    margin: 0 auto;
}

.volunteering-intro {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 896px);
    justify-content: space-between;
    align-items: start;
    gap: 48px;
    margin-bottom: 64px;
}

.volunteering-intro__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-display);
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-navy);
}

.volunteering-intro__copy {
    max-width: 896px;
}

.volunteering-intro__lead {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--fs-subtitle);
    line-height: 45px;
    color: var(--color-navy);
}

.volunteering-intro__text {
    margin: 24px 0 0;
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 30px;
    color: var(--color-navy);
}

.volunteering-form {
    position: relative;
    width: min(936px, 100%);
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: 0 8px 40px rgba(12, 18, 58, 0.06);
}

.volunteering-form__section {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.volunteering-form__section + .volunteering-form__section {
    margin-top: 40px;
}

.volunteering-form__legend {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 24px;
    font-family: var(--font-body);
    font-size: var(--fs-lead);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-navy);
}

.volunteering-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.volunteering-form__field {
    display: block;
    min-width: 0;
}

.volunteering-form__field input,
.volunteering-form__field textarea {
    display: block;
    width: 100%;
    border: 2px solid rgba(12, 18, 58, 0.3);
    border-radius: 14px;
    background: var(--color-white);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    font-weight: 400;
    line-height: 1.2;
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.volunteering-form__field input {
    height: 66px;
    padding: 0 24px;
}

.volunteering-form__field textarea {
    min-height: 140px;
    padding: 22px 24px;
    resize: vertical;
}

.volunteering-form__field input::placeholder,
.volunteering-form__field textarea::placeholder {
    color: var(--color-placeholder);
    opacity: 1;
}

.volunteering-form__field input:hover,
.volunteering-form__field textarea:hover,
.volunteering-form__field input:focus,
.volunteering-form__field textarea:focus {
    border-color: var(--color-navy);
}

.volunteering-form__field input:focus,
.volunteering-form__field textarea:focus {
    box-shadow: 0 0 0 3px rgba(253, 205, 33, 0.35);
}

.volunteering-form__checks {
    display: grid;
    gap: 24px;
    padding-left: 24px;
}

.volunteering-form__checks--row {
    grid-template-columns: repeat(4, max-content);
    gap: 40px;
}

.volunteering-check {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    cursor: pointer;
}

.volunteering-check__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.volunteering-check__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border: 2px solid var(--color-navy);
    border-radius: 4px;
    background: var(--color-white);
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.volunteering-check__box img {
    width: 12px;
    height: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.volunteering-check__input:checked + .volunteering-check__box {
    background: var(--color-navy);
}

.volunteering-check__input:checked + .volunteering-check__box img {
    opacity: 1;
    transform: scale(1);
}

.volunteering-check__input:focus-visible + .volunteering-check__box {
    box-shadow: 0 0 0 3px rgba(253, 205, 33, 0.45);
}

.volunteering-check:hover .volunteering-check__box {
    transform: translateY(-1px);
}

.volunteering-check__label {
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-navy);
}

.volunteering-check__label--mobile {
    display: none;
}

.volunteering-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 856px;
    min-height: var(--btn-height);
    margin: 40px auto 0;
    padding: 0 40px;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--color-yellow);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: var(--fs-lead);
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.volunteering-form__submit:hover {
    transform: translateY(-2px);
    background: #f0b800;
}

.volunteering-form__legal {
    margin: 27px 0 0;
    max-width: 856px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #8e8e8e;
}

.volunteering-form__legal a {
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s var(--ease);
}

.volunteering-form__legal a:hover {
    color: var(--color-navy);
}

@media (max-width: 1400px) {
    .volunteering-intro {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        gap: 32px;
    }

    .volunteering-page__spark--1,
    .volunteering-page__spark--3,
    .volunteering-page__spark--6 {
        right: 24px;
    }

    .volunteering-page__spark--2,
    .volunteering-page__spark--4,
    .volunteering-page__spark--5 {
        left: 24px;
    }
}

@media (max-width: 1023px) {
    .volunteering-page {
        padding: 40px 0 80px;
        min-height: 0;
    }

    .volunteering-page__clouds {
        top: 0;
        height: auto;
    }

    .volunteering-page__spark {
        display: none;
    }

    .volunteering-intro {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        margin-bottom: 32px;
    }

    .volunteering-intro__title {
        font-size: 32px;
        line-height: 1.38;
    }

    .volunteering-intro__copy {
        max-width: 386px;
    }

    .volunteering-intro__lead {
        font-size: 24px;
        line-height: 1.2;
    }

    .volunteering-intro__text {
        margin-top: 10px;
        font-size: 14px;
        line-height: 22px;
    }

    .volunteering-intro__text br {
        display: none;
    }

    .volunteering-form {
        padding: 24px 8px 24px;
        border-radius: 14px;
        box-shadow: none;
    }

    .volunteering-form__legend {
        margin-bottom: 16px;
        padding: 0 12px;
        font-size: 20px;
    }

    .volunteering-form__section + .volunteering-form__section {
        margin-top: 28px;
    }

    .volunteering-form__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .volunteering-form__field input {
        height: 56px;
        padding: 0 12px;
        font-size: 20px;
        border-radius: 14px;
    }

    .volunteering-form__field textarea {
        min-height: 140px;
        padding: 16px 12px;
        font-size: 20px;
    }

    .volunteering-form__checks {
        gap: 20px;
        padding-left: 0;
    }

    .volunteering-form__checks--row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .volunteering-check {
        gap: 8px;
    }

    .volunteering-check__label {
        font-size: 16px;
        line-height: 1.2;
    }

    .volunteering-check__label--desktop {
        display: none;
    }

    .volunteering-check__label--mobile {
        display: inline;
    }

    .volunteering-form__submit {
        min-height: 56px;
        margin-top: 28px;
        border-radius: 14px;
        font-size: 20px;
    }

    .volunteering-form__legal {
        margin-top: 12px;
        font-size: 12px;
        line-height: 18px;
    }
}

@media (max-width: 480px) {
    .volunteering-page {
        padding: 24px 0 64px;
    }

    .volunteering-intro__title {
        font-size: 28px;
    }

    .volunteering-intro__lead {
        font-size: 22px;
    }
}
