/* ===================================
BODY
=================================== */

body{
    font-family: 'Poppins', sans-serif;

    background-image: url('../assets/img/fondo.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    min-height: 100vh;

    position: relative;
}



/* ===================================
BANNER
=================================== */

.banner-container{
    width: 100%;
    overflow: hidden;
}

.banner-img{
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
LOGO SECTION
=================================== */

.logo-section{
    padding: 50px 20px 30px;
}

/* ===================================
LOGO CARD REDONDO
=================================== */

.logo-card{

    width: 260px;
    height: 260px;

    margin: auto;

    border-radius: 50%;

    background: #F7F7F7;

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    border: 3px solid #CF0F11;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 20px;

    overflow: hidden;
}

/* ===================================
ANIMACION PULSE LOGO
=================================== */

.logo-card{
    animation: pulseLogo 2.5s infinite;
}

/* ===================================
KEYFRAMES
=================================== */

@keyframes pulseLogo{

    0%{
        transform: scale(1);

        box-shadow:
            0 0 0 0 rgba(255,215,0,0.35),
            0 10px 30px rgba(0,0,0,0.25);
    }

    50%{
        transform: scale(1.03);

        box-shadow:
            0 0 25px rgba(255,215,0,0.35),
            0 10px 35px rgba(0,0,0,0.30);
    }

    100%{
        transform: scale(1);

        box-shadow:
            0 0 0 0 rgba(255,215,0,0),
            0 10px 30px rgba(0,0,0,0.25);
    }

}

/* ===================================
LOGO
=================================== */

.empresa-logo{

    width: 120%;

    height: auto;

    object-fit: contain;

    display: block;
}

/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px){

    .logo-card{

        width: 190px;
        height: 190px;

        padding: 15px;
    }

}

/* ===================================
FORMULARIO
=================================== */

.form-section{
    padding: 40px 20px 80px;
}

.form-card{
    max-width: 650px;

    margin: auto;

    padding: 40px;

    border-radius: 30px;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.10);

    box-shadow: 0 10px 30px rgba(0,0,0,0.20);
}

/* ===================================
TITULOS
=================================== */

.form-title{
    text-align: center;

    color: #ffffff;

    font-size: 2.2rem;

    font-weight: 700;

    margin-bottom: 10px;
}

.form-subtitle{
    text-align: center;

    color: rgba(255,255,255,0.75);

    margin-bottom: 35px;

    font-size: 1rem;
}

/* ===================================
INPUTS
=================================== */

.custom-input{
    height: 58px;

    border-radius: 50px;

    border: 1px solid rgba(255,255,255,0.20);

    background: rgba(255,255,255,0.08);

    color: #ff2b2b;

    font-size: 1rem;

    padding: 0 25px;

    transition: 0.3s ease;
}

/* PLACEHOLDER */

.custom-input::placeholder{
    color: rgba(255,255,255,0.65);
}

/* FOCUS */

.custom-input:focus{
    background: rgba(255,255,255,0.12);

    border-color: #ff2b2b;

    color: #ff2b2b;

    box-shadow: 0 0 15px rgba(255,43,43,0.25);

    outline: none;
}

/* ===================================
BOTON
=================================== */

.btn-form{
    width: 100%;

    height: 58px;

    border-radius: 50px;

    border: none;

    background: #ff2b2b;

    color: #ffffff;

    font-size: 1rem;

    font-weight: 600;

    transition: 0.3s ease;
}

.btn-form:hover{
    transform: translateY(-2px);

    background: #ff0000;

    box-shadow: 0 10px 20px rgba(255,0,0,0.25);
}

/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px){

    .form-card{
        padding: 30px 20px;
    }

    .form-title{
        font-size: 1.8rem;
    }

}

/* ===================================
RATINGS
=================================== */

.rating-section{
    margin-top: 35px;
}

.rating-box{
    margin-bottom: 35px;
}

.rating-title{
    color: #ffffff;

    font-size: 1.1rem;

    font-weight: 600;

    margin-bottom: 15px;

    text-align: center;
}

/* ===================================
ESTRELLAS
=================================== */

.star-rating{
    display: flex;

    flex-direction: row-reverse;

    justify-content: center;

    gap: 8px;
}

.star-rating input{
    display: none;
}

.star-rating label{
    font-size: 2.5rem;

    color: rgba(255,255,255,0.25);

    cursor: pointer;

    transition: 0.3s ease;
}

/* HOVER */

.star-rating label:hover,
.star-rating label:hover ~ label{
    color: #F0B001;
}

/* SELECCIONADO */

.star-rating input:checked ~ label{
    color: #F0B001;
}

/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px){

    .star-rating label{
        font-size: 2rem;
    }

}

/* ===================================
MENSAJE CALIFICACION
=================================== */

.rating-message{
    text-align: center;

    margin-top: 40px;
    margin-bottom: 35px;
}

.rating-message-title{
    color: #ffd700;

    font-size: 1.5rem;

    font-weight: 700;

    margin-bottom: 12px;
}

.rating-message-text{
    color: rgba(255,255,255,0.85);

    font-size: 1rem;

    line-height: 1.8;
}

.rating-message-text span{
    color: #ffd700;

    font-weight: 600;
}

/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px){

    .rating-message-title{
        font-size: 1.2rem;
    }

    .rating-message-text{
        font-size: 0.95rem;
    }

}

/* ===================================
TIPO DE COMPRA
=================================== */

.purchase-section{
    margin-top: 35px;
    margin-bottom: 40px;
}

.purchase-title{
    color: #ffffff;

    text-align: center;

    font-size: 1.2rem;

    font-weight: 600;

    margin-bottom: 20px;
}

/* OPCIONES */

.purchase-options{
    display: flex;

    gap: 20px;

    justify-content: center;

    flex-wrap: wrap;
}

/* CARD */

.purchase-card{
    cursor: pointer;

    width: 220px;
}

.purchase-card input{
    display: none;
}

/* CONTENIDO */

.purchase-content{
    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 22px;

    padding: 22px;

    text-align: center;

    transition: 0.3s ease;

    backdrop-filter: blur(10px);
}

.purchase-icon{
    font-size: 2rem;

    margin-bottom: 10px;
}

.purchase-content span{
    color: #ffffff;

    font-weight: 600;

    font-size: 1rem;
}

/* HOVER */

.purchase-content:hover{
    transform: translateY(-4px);

    border-color: #ffd700;

    box-shadow: 0 10px 25px rgba(255,215,0,0.15);
}

/* ACTIVO */

.purchase-card input:checked + .purchase-content{
    border-color: #ffd700;

    background: rgba(255,215,0,0.12);

    box-shadow: 0 0 20px rgba(255,215,0,0.20);
}

/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px){

    .purchase-card{
        width: 100%;
    }

}

/* ===================================
BOTON ENVIAR
=================================== */

.submit-container{
    margin-top: 45px;
}

.custom-btn{
    width: 100%;

    height: 60px;

    border: none;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #ffd700,
        #ffb800
    );

    color: #000000;

    font-size: 1.1rem;

    font-weight: 700;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition: 0.3s ease;

    box-shadow: 0 10px 25px rgba(255,215,0,0.25);
}

/* HOVER */

.custom-btn:hover{
    transform: translateY(-3px);

    box-shadow: 0 15px 30px rgba(255,215,0,0.35);
}

/* CLICK */

.custom-btn:active{
    transform: scale(0.98);
}

/* TEXTO */

.btn-text{
    display: inline-flex;

    align-items: center;

    gap: 10px;
}

/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px){

    .btn-submit{
        height: 56px;

        font-size: 1rem;
    }

}

.custom-btn:disabled{

    opacity: 0.5;

    cursor: not-allowed;

    filter: grayscale(100%);
}