.beneficios-registro {
    background: linear-gradient(135deg, #19A553, #138040);
    color: #ffffff;
    padding: 80px 0;
}
.beneficios-registro .beneficios-header {
    text-align: center;
    margin-bottom: 60px;
}
.beneficios-registro .beneficios-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.beneficios-registro .beneficios-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- Contenedor del Carrusel --- */
.beneficios-carousel-container {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    overflow: hidden; /* Oculta el scroll y los elementos fuera de la vista */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* --- Track de Animación --- */
.beneficios-track {
    display: flex;
    width: fit-content; /* El ancho se ajusta a su contenido */
    animation: scroll 40s linear infinite; /* Animación de scroll */
}

/* Pausar animación al pasar el mouse */
.beneficios-carousel-container:hover .beneficios-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Se detiene al final del primer set de tarjetas */
    }
}

/* --- Tarjetas de Beneficios --- */
.beneficio-card {
    flex: 0 0 350px; /* Ancho fijo para cada tarjeta */
    width: 350px;
    margin: 0 20px;
    border-radius: 20px;
    border: 1px solid rgba(139, 255, 133, 0.3);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.beneficio-card img {
    height: 100px;
    margin-bottom: 20px;
}
.beneficio-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.beneficio-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}


/* === ESTILOS PARA FORMULARIO DE REGISTRO === */
.beneficios-registro .formulario-registro {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 20px;
    max-width: 700px;
    margin: 60px auto 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.beneficios-registro .formulario-registro h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 35px;
    font-weight: 700;
}

/* Estilos para etiquetas flotantes */
.form-floating > .form-control {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-floating > .form-control:focus {
    color: #fff;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid var(--lr-green);
}

.form-floating > label {
    color: rgba(255, 255, 255, 0.7);
}

.form-floating > .form-control:-webkit-autofill,
.form-floating > .form-control:-webkit-autofill:hover, 
.form-floating > .form-control:-webkit-autofill:focus, 
.form-floating > .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(0,0,0,0.2) inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Checkbox */
.beneficios-registro .campo-checkbox {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.beneficios-registro .campo-checkbox > label {
    font-size: 0.9rem;
    color: #e0f2f1;
}
.beneficios-registro .campo-checkbox a {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}
.checkbox-wrapper input[type="checkbox"] { display: none; }
.checkbox-wrapper label { --size: 22px; position: relative; display: block; width: var(--size); height: var(--size); background-color: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; cursor: pointer; flex-shrink: 0; }
.checkbox-wrapper .tick_mark { position: absolute; top: 2px; left: 6px; width: 8px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); opacity: 0; transition: opacity 0.2s ease; }
.checkbox-wrapper input[type="checkbox"]:checked + label { background-color: var(--lr-green); border-color: var(--lr-green); }
.checkbox-wrapper input[type="checkbox"]:checked + label .tick_mark { opacity: 1; }

/* Botón de envío */
.beneficios-registro .btn-submit-registro {
    display: inline-block;
    border-radius: 50px;
    margin-top: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border: none;
    background-color: var(--lr-green);
    transition: all 0.3s;
    padding: 15px 45px;
    text-align: center;
    cursor: pointer;
}
.beneficios-registro .btn-submit-registro:hover {
    background-color: #1baa80;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}