/* =========================================================
   VOLUNTEER REGISTRATION
========================================================= */

.volunteer-page {
    background: #f3efe7;
    color: #18252b;
    overflow-x: hidden;
}


/* =========================================================
   HERO
========================================================= */

.volunteer-hero {
    padding: 125px 0 85px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 65px;

    color: #716c63;
    text-decoration: none;

    font-size: 0.78rem;

    transition: color 0.25s ease;
}

.back-link:hover {
    color: #927044;
}

.volunteer-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 70px;

    align-items: end;
}

.volunteer-hero h1 {
    max-width: 900px;

    margin: 18px 0 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 7vw, 7.2rem);
    font-weight: 400;
    line-height: 0.88;

    letter-spacing: -0.055em;
}

.volunteer-hero h1 span {
    display: block;
    color: #927044;
}

.volunteer-hero-content > p {
    max-width: 315px;

    margin: 0 0 8px;

    color: #6d6962;

    font-size: 0.95rem;
    line-height: 1.8;
}


/* =========================================================
   FORM AREA
========================================================= */

.volunteer-form-section {
    padding: 0 0 120px;
}

.volunteer-form {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    padding: 12px;

    border-radius: 28px;

    background: #e9e4da;

    box-shadow:
        0 30px 80px rgba(35, 31, 24, 0.08);
}


/* =========================================================
   SECTION
========================================================= */

.form-section {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);

    gap: 35px;

    padding: 65px;

    margin-bottom: 12px;

    border-radius: 20px;

    background: #ffffff;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-index {
    padding-top: 7px;

    color: #927044;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.section-main {
    min-width: 0;
    width: 100%;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
    margin-bottom: 40px;
}

.section-title > span {
    display: block;

    margin-bottom: 11px;

    color: #927044;

    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-title h2 {
    max-width: 700px;

    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -0.045em;
}


/* =========================================================
   GRID
========================================================= */

.form-grid {
    width: 100%;
    max-width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.field {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 9px;
}

.field-full {
    grid-column: 1 / -1;
    
}


/* =========================================================
   LABEL
========================================================= */

.field > label {
    color: #333532;

    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.45;
}


/* =========================================================
   INPUTS
========================================================= */

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    box-sizing: border-box;

    padding: 16px 17px;

    border: 1px solid #ddd8ce;
    border-radius: 12px;

    background: #f8f7f3;

    color: #1e282c;

    font: inherit;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.field textarea {
    min-height: 135px;

    resize: vertical;

    line-height: 1.65;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #aaa59d;
}

.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field input[type="tel"]:focus,
.field input[type="number"]:focus,
.field select:focus,
.field textarea:focus {
    border-color: #927044;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(146, 112, 68, 0.08);
}


/* =========================================================
   YES / NO
========================================================= */

.option-row {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.radio-option {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    min-height: 52px;

    padding: 0 20px;

    border: 1px solid #ddd8ce;
    border-radius: 12px;

    background: #f8f7f3;

    cursor: pointer;

    font-size: 0.78rem;
    font-weight: 600;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.radio-option:hover {
    border-color: #927044;

    transform: translateY(-1px);
}

.radio-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.radio-option:has(input:checked) {
    border-color: #927044;

    background: #927044;

    color: #ffffff;
}


/* =========================================================
   SKILLS
========================================================= */

.skill-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
    max-width: 100%;
}

.skill-option {
    position: relative;

    display: flex;
    align-items: center;

    min-width: 0;
    min-height: 72px;

    padding: 17px 18px;

    border: 1px solid #ddd8ce;
    border-radius: 14px;

    background: #f8f7f3;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.skill-option:hover {
    border-color: #927044;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(40, 35, 27, 0.05);
}

.skill-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.skill-option span {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;

    padding-left: 32px;

    color: #343632;

    font-size: 0.8rem;
    line-height: 1.45;
}

.skill-option span::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 17px;
    height: 17px;

    border: 1px solid #bdb7ad;
    border-radius: 5px;

    background: #ffffff;

    transform: translateY(-50%);

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.skill-option span::after {
    content: "✓";

    position: absolute;

    left: 3px;
    top: 50%;

    color: #ffffff;

    font-size: 0.68rem;
    font-weight: 700;

    opacity: 0;

    transform:
        translateY(-50%)
        scale(0.7);

    transition: opacity 0.15s ease;
}

.skill-option:has(input:checked) {
    border-color: #927044;

    background: #f3eadb;

    box-shadow:
        inset 0 0 0 1px rgba(146, 112, 68, 0.12);
}

.skill-option:has(input:checked) span::before {
    border-color: #927044;

    background: #927044;
}

.skill-option:has(input:checked) span::after {
    opacity: 1;

    transform:
        translateY(-50%)
        scale(1);
}
.skill{
    background: #142b39;
}

/* =========================================================
   AVAILABILITY
========================================================= */

.availability-grid {
    margin-top: 22px;
}


/* =========================================================
   DECLARATION
========================================================= */

.declaration-section {
    background: #f8f6f0;
}

.declaration-box {
    display: flex;
    align-items: flex-start;

    width: min(760px, 100%);

    gap: 14px;

    padding: 20px;

    box-sizing: border-box;

    border: 1px solid #ddd8ce;
    border-radius: 14px;

    background: #ffffff;

    cursor: pointer;

    font-size: 0.86rem;
    line-height: 1.7;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.declaration-box:hover {
    border-color: #927044;

    box-shadow:
        0 8px 25px rgba(40, 35, 27, 0.05);
}

.declaration-box input {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin: 3px 0 0;

    accent-color: #927044;
}


/* =========================================================
   SUBMIT
========================================================= */

.submit-area {
    display: flex;
    align-items: center;

    gap: 22px;

    margin-top: 32px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    min-height: 58px;

    padding: 0 28px;

    border: 0;
    border-radius: 12px;

    background: #142b39;
    color: #ffffff;

    cursor: pointer;

    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.submit-btn span {
    font-size: 1.15rem;
}

.submit-btn:hover {
    background: #927044;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(50, 40, 25, 0.15);
}

.submit-area p {
    margin: 0;

    color: #89837b;

    font-size: 0.72rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .volunteer-hero {
        padding-top: 105px;
    }

    .volunteer-hero-content {
        grid-template-columns:
            minmax(0, 1fr)
            260px;

        gap: 40px;
    }

    .volunteer-form {
        width: min(100% - 30px, 1180px);
    }

    .form-section {
        grid-template-columns: 45px minmax(0, 1fr);

        gap: 25px;

        padding: 55px 45px;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 720px) {

    .volunteer-hero {
        padding: 85px 0 55px;
    }

    .back-link {
        margin-bottom: 45px;
    }

    .volunteer-hero-content {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .volunteer-hero-content > p {
        margin: 0;
    }

    .volunteer-hero h1 {
        font-size: clamp(3.4rem, 13vw, 5.2rem);
    }

    .volunteer-form-section {
        padding-bottom: 70px;
    }

    .volunteer-form {
        width: calc(100% - 24px);

        padding: 7px;

        border-radius: 20px;
    }

    .form-section {
        display: block;

        padding: 45px 22px;

        border-radius: 15px;
    }

    .section-index {
        margin-bottom: 18px;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2 {
        font-size: 2.35rem;
    }

    .form-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .field-full {
        grid-column: auto;
    }

    .skill-grid {
        grid-template-columns: 1fr;
    }

    .option-row {
        flex-direction: column;
    }

    .radio-option {
        width: 100%;

        box-sizing: border-box;
    }

    .submit-area {
        flex-direction: column;

        align-items: stretch;
    }

    .submit-btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .volunteer-hero {
        padding: 75px 0 45px;
    }

    .volunteer-hero h1 {
        font-size: 3.15rem;
    }

    .volunteer-form {
        width: calc(100% - 16px);

        padding: 5px;

        border-radius: 17px;
    }

    .form-section {
        padding: 38px 17px;

        border-radius: 13px;
    }

    .section-title h2 {
        font-size: 2.05rem;
    }

    .field input[type="text"],
    .field input[type="email"],
    .field input[type="tel"],
    .field input[type="number"],
    .field select,
    .field textarea {
        border-radius: 10px;
    }

    .skill-option {
        min-height: 66px;

        border-radius: 12px;
    }

    .declaration-box {
        padding: 17px;

        border-radius: 12px;
    }

}