/* ===================================================
   PÁGINA DE CONTACTO - DISEÑO SATELITAL 
   =================================================== */

#contacto_page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px 0;
    overflow: hidden;
    background-color: #000; /* Fondo base negro */
}

/* EFECTO ESPEJO EN LA IMAGEN DE FONDO */
#contacto_page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/img/satelite-espacial-con-paneles-solares-que-orbita-la-tierra-iluminado-por-la-luz-del-sol.jpg');
    background-size: cover;
    background-position: center;
    /* INVIERTE LA IMAGEN HORIZONTALMENTE */
    transform: scaleX(-1); 
    z-index: 0;
}

/* Capa translúcida para legibilidad */
.contact-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TEXTO IZQUIERDA --- */
.contact-text {
    color: white;
}

.contact-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.contact-description {
    font-family: 'Lato', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 520px;
    color: #ffffff;
    opacity: 0.95;
}

/* --- FORMULARIO DERECHA --- */
.contact-form-box {
    color: white;
    background: rgba(255, 255, 255, 0.05); 
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 35px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
}

.geo-form .form-group {
    margin-bottom: 25px;
}

.geo-form label {
    display: block;
    font-family: 'Lato', sans-serif;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.geo-form input, 
.geo-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px; 
    background: #ffffff;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.geo-form input:focus, 
.geo-form textarea:focus {
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

/* --- BOTÓN ENVIAR CON SOMBRA --- */
.form-btn-container {
    text-align: right;
    margin-top: 30px;
}

.btn-enviar {
    background-color: #1e468a; /* Azul de la imagen */
    color: white;
    padding: 14px 50px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    /* SOMBRA DEL BOTÓN */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 
                inset 0 1px 1px rgba(255,255,255,0.2);
}

.btn-enviar:hover {
    background-color: #2a5eb3;
    transform: translateY(-3px); 
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.8);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-main-title { font-size: 2.8rem; }
    .contact-description { margin: 0 auto; }
    .contact-form-box { padding: 20px; }
    .form-btn-container { text-align: center; }
}