* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
}

.logo-mobile h1 {
    color: white;
}

.nav-link {
    color: black;
}

.titulo-producto h1 {
    color: black;
}

.contactanos-link {
    color: black;
}


/* ========== MAIN CONTENT ========== */
.main-content {
    max-width: 1540px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

/* Introducción */
.introduccion {
    margin-bottom: 60px;
    padding: 0 20px;
}

.introduccion p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.4;
    color: #000000;
}

/* Formulario del test */
.test-form {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grupo de pregunta */
.pregunta-grupo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pregunta-texto {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
    color: #000000;
    text-align: center;
    padding: 0 20px;
}

/* Contenedor de opciones */
.opciones-contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* Radio button personalizado */
.opcion-radio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.opcion-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2.5px solid #1E1E1E;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.opcion-radio:hover .radio-custom {
    border-color: #955f39;
}

.opcion-radio input[type="radio"]:checked + .radio-custom {
    border-color: #955f39;
    background-color: #955f39;
}

.opcion-radio input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.radio-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: #000000;
    white-space: nowrap;
    user-select: none;
}

/* Botón de calcular */
.btn-calcular-estres {
    background-color: #ac7f5e;
    color: #f5f5f5;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    align-self: center;
    margin-top: 30px;
}

.btn-calcular-estres:hover {
    background-color: #8f6b51;
    transform: translateY(-2px);
}

.btn-calcular-estres:active {
    transform: translateY(0);
}

/* Resultado del estrés */
.resultado-estres {
    display: none;
    margin-top: 80px;
    padding: 40px 20px;
}

.resultado-estres.visible {
    display: block;
}

.barra-estres-contenedor {
    max-width: 1121px;
    margin: 0 auto;
    position: relative;
}

.barra-estres {
    height: 55px;
    border-radius: 33px;
    background: linear-gradient(
        90deg,
        rgb(115, 255, 115) 0%,
        rgb(124, 244, 111) 6.25%,
        rgb(133, 233, 108) 12.5%,
        rgb(150, 211, 100) 25%,
        rgb(185, 167, 85) 50%,
        rgb(220, 123, 70) 75%,
        rgb(238, 101, 63) 87.5%,
        rgb(255, 78, 55) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.texto-resultado {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Flecha indicador */
.flecha-indicador {
    position: absolute;
    bottom: -70px;
    left: 0%;
    transform: translateX(-50%);
    transition: left 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.flecha-indicador svg {
    width: 100%;
    height: 100%;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
    .main-content {
        padding: 30px 15px 80px;
    }

    .introduccion {
        margin-bottom: 40px;
    }

    .introduccion p,
    .pregunta-texto,
    .radio-label {
        font-size: 18px;
    }

    .test-form {
        gap: 40px;
    }

    .pregunta-grupo {
        gap: 15px;
    }

    .opciones-contenedor {
        gap: 25px;
    }

    .btn-calcular-estres {
        font-size: 18px;
        padding: 10px 35px;
    }

    .texto-resultado {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 10px 60px;
    }

    .introduccion p,
    .pregunta-texto {
        font-size: 16px;
    }

    .test-form {
        gap: 35px;
    }

    .opciones-contenedor {
        gap: 20px;
    }

    .radio-label {
        font-size: 16px;
    }

    .radio-custom {
        width: 18px;
        height: 18px;
        border-width: 2px;
    }

    .opcion-radio input[type="radio"]:checked + .radio-custom::after {
        width: 6px;
        height: 6px;
    }

    .btn-calcular-estres {
        font-size: 16px;
        padding: 10px 30px;
    }

    .barra-estres {
        height: 45px;
    }

    .texto-resultado {
        font-size: 16px;
    }

    .flecha-indicador {
        width: 70px;
        height: 70px;
        bottom: -55px;
    }
}

@media (max-width: 600px) {
    .opciones-contenedor {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .opcion-radio {
        flex-direction: row;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        justify-content: flex-start;
        padding: 10px 20px;
        background-color: #f9f9f9;
        border-radius: 8px;
        transition: background-color 0.3s;
    }

    .opcion-radio:hover {
        background-color: #eae5df;
    }

    .pregunta-texto {
        font-size: 15px;
        text-align: left;
    }

    .radio-label {
        font-size: 15px;
    }

    .resultado-estres {
        margin-top: 50px;
        padding: 30px 10px;
    }

    .barra-estres {
        height: 40px;
        border-radius: 25px;
    }

    .texto-resultado {
        font-size: 14px;
    }

    .flecha-indicador {
        width: 60px;
        height: 60px;
        bottom: -45px;
    }
}

@media (max-width: 400px) {
    .introduccion p,
    .pregunta-texto {
        font-size: 14px;
    }

    .radio-label {
        font-size: 14px;
    }

    .btn-calcular-estres {
        font-size: 15px;
        padding: 8px 25px;
    }

    .barra-estres {
        height: 35px;
    }

    .texto-resultado {
        font-size: 13px;
    }

    .flecha-indicador {
        width: 50px;
        height: 50px;
        bottom: -38px;
    }
}