.container-contact {
    background-image: url("https://jikiu.pe/images/logo/jikiu-blue-50.webp"), url("https://jikiu.pe/images/backgrounds/background-products.webp");  
    background-size: 300px auto, cover;
    background-position: 0 calc(50% + 50px), center;
    background-repeat: no-repeat, no-repeat;    
}

.container-contact::after{
    content: "";

}
.contain-contact {
    width: 90%;
    margin: 0 auto;
    max-width: 800px;
    padding: 150px 0 50px;
}


.title-contact {
    color: var(--blue-low-color);
    text-align: center;
}

.title-contact span {
    color: var(--red-color);
}

.contact {
    padding: 2rem 0;
    font-family: var(--font-text-bold);
    color: var(--text-gray-color);
    font-size: var(--font-size-base);
}

.contact h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
}

.form-field span {
    color: #e91717;
}

.form-field input,
.form-field textarea {
    margin-top: 0.2rem;
}

.form-field p {
    margin-top: 10px;
    font-weight: 700;
}

.grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Dos columnas */
    gap: 15px;
    /* Espaciado entre elementos */
    grid-template-areas:
        "nombre apellido"
        "direccion direccion"
        "telefono email"
        "mensaje mensaje"
        "captcha captcha"
        "submit submit";
    margin: auto;
}

.nombre {
    grid-area: nombre;
}

.apellido {
    grid-area: apellido;
}

.direccion {
    grid-area: direccion;
}

.telefono {
    grid-area: telefono;
}

.email {
    grid-area: email;
}

.mensaje {
    grid-area: mensaje;
}

.captcha {
    grid-area: captcha;
}

.submit {
    grid-area: submit;
    text-align: center;
}

/* Ajustes adicionales */
input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input:focus, textarea:focus {
    border: 1px solid var(--blue-low-color); 
    outline: none; 
    box-shadow: 0 0 5px var(--blue-low-color); 
    transition: border .4s, box-shadow 0.3s; /* Animación suave */
}

textarea {
    height: 100px;
}

.submit input {
    background-color: var(--blue-low-color);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.submit input:hover {
    background-color: #0056b3;
}

.binding {
    font-family: var(--font-text-bold);
    color: var(--text-gray-color);
    font-size: var(--font-size-sm);
}

.binding span{
    color: #e91717;
}

/* Estilos PHP Mailer */
.alert {
    position: fixed; 
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: var(--gray-color); 
    border-radius: 4px;
    font-family: var(--font-text-bold);
    z-index: 1000; 
    opacity: 1;
    transition: opacity 0.5s ease-in-out; 
}

.alert.hide {
    opacity: 0;
    transform: translateY(100%);
}

#scrollTopBtn {
    position: fixed;
    bottom: 50px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--red-light-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 110;
}

#scrollTopBtn img{
    width: 40%;
}

/* Animación al aparecer */
#scrollTopBtn.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Animación al ocultarse */
#scrollTopBtn.hide {
    opacity: 0;
    transform: translateY(20px);
}

#scrollTopBtn:hover {
    transform: scale(1.1);
    background-color: #ff2332;
}