/* ===== COLABORA - Hero con fondo y tarjeta ===== */
.colabora-hero {
    width: 100%;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #c8d6e5 0%, #dfe6ed 60%, #f4f5f7 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 20px 40px;
}

.colabora-hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background:
        radial-gradient(ellipse 30% 50% at 15% 100%, #a0b4c8 0%, transparent 100%),
        radial-gradient(ellipse 25% 60% at 50% 100%, #b0c0d0 0%, transparent 100%),
        radial-gradient(ellipse 30% 50% at 85% 100%, #a0b4c8 0%, transparent 100%);
    opacity: 0.5;
    pointer-events: none;
}

.colabora-hero-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 46, 94, 0.12);
    padding: 40px 56px;
    text-align: center;
    max-width: 620px;
    width: 100%;
}

.colabora-hero-card h1 {
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradiente-azul-verde);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.colabora-hero-sub {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px;
}

.colabora-hero-choose {
    color: var(--azul-marino);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* ===== Tres opciones de colaboración ===== */
.colabora-options {
    background: #f4f5f7;
    padding: 48px 20px 56px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.colabora-option {
    background: var(--blanco);
    border: 1px solid #d7d7d7;
    border-radius: 16px;
    padding: 32px 24px 28px;
    text-align: center;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.option-circle--green {
    background: var(--verde);
}

.option-circle--blue {
    background: #377edc;
}

.option-plus {
    color: var(--blanco);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.colabora-option h3 {
    color: var(--azul-marino);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
}

.colabora-option p {
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 20px;
    flex: 1;
}

.btn-green,
.btn-navy {
    border: none;
    border-radius: 999px;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    color: var(--blanco);
}

.btn-green {
    background: var(--verde);
}

.btn-navy {
    background: var(--azul-marino);
}

.btn-green:hover,
.btn-navy:hover {
    filter: brightness(1.08);
}

/* ===== Sección voluntariado ===== */
.colabora-volunteer {
    background: var(--blanco);
    padding: 52px 20px 56px;
    text-align: center;
}

.colabora-volunteer h2 {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradiente-azul-verde);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px;
}

.volunteer-sub {
    color: #555;
    font-size: 14px;
    margin: 0 0 36px;
}

.volunteer-areas {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.volunteer-area {
    background: #f6f6f6;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    padding: 24px 22px 20px;
    width: 270px;
    text-align: left;
}

.volunteer-area h4 {
    color: var(--azul-marino);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
}

.area-line {
    width: 100%;
    height: 3px;
    background: var(--verde);
    border-radius: 2px;
    margin-bottom: 12px;
}

.volunteer-area p {
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
}

.area-more {
    color: #2d2d2d;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.area-more:hover {
    text-decoration: underline;
}

/* ===== Formulario de inscripción ===== */
.colabora-form-section {
    background: #f4f5f7;
    padding: 52px 20px 60px;
    display: flex;
    justify-content: center;
}

.colabora-form-card {
    background: var(--blanco);
    border: 1px solid #d7d7d7;
    border-radius: 16px;
    padding: 40px 48px;
    max-width: 820px;
    width: 100%;
    text-align: center;
}

.colabora-form-card h2 {
    font-size: 26px;
    font-weight: 700;
    background: var(--gradiente-azul-verde);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px;
}

.form-sub {
    color: #555;
    font-size: 14px;
    margin: 0 0 32px;
}

.colabora-form {
    text-align: left;
}

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #696969;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input {
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    outline: none;
}

.form-group input:focus {
    border-color: var(--verde);
    box-shadow: 0 0 0 2px rgba(90, 188, 85, 0.15);
}

.form-submit {
    text-align: center;
    margin-top: 28px;
}

.btn-submit {
    padding: 14px 44px;
    font-size: 15px;
    border-radius: 999px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .colabora-hero-card {
        padding: 28px 24px;
    }

    .colabora-hero-card h1 {
        font-size: 26px;
    }

    .colabora-options {
        padding: 32px 20px 40px;
        gap: 20px;
    }

    .colabora-option {
        width: 100%;
        max-width: 320px;
    }

    .colabora-volunteer {
        padding: 36px 20px 40px;
    }

    .colabora-volunteer h2 {
        font-size: 22px;
    }

    .volunteer-area {
        width: 100%;
        max-width: 320px;
    }

    .colabora-form-card {
        padding: 28px 20px;
    }

    .colabora-form-card h2 {
        font-size: 22px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }
}

/* ── Modal de confirmación ── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-check {
    margin-bottom: 20px;
}

.modal-check svg {
    animation: modalCheckScale 0.4s ease;
}

@keyframes modalCheckScale {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.modal-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: #2d3e50;
    margin-bottom: 10px;
}

.modal-content p {
    color: #555;
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-content .btn-green {
    min-width: 140px;
}
