/* ============================================================
   FORMULARIO DE CONTACTO - ContactosW
============================================================ */

body.contacto-body {
    background-image: url('../img/fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.contacto-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 15px;
}

.contacto-card {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #27272a;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    text-align: center;
}

.contacto-logo img {
    max-height: 50px;
    margin-bottom: 15px;
    width: auto;
}

.contacto-titulo {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: .3px;
}

.contacto-subtitulo {
    font-size: 13.5px;
    color: #a1a1aa;
    margin-bottom: 20px;
    line-height: 1.4;
}

.contacto-field {
    text-align: left;
    margin-bottom: 14px;
}

.contacto-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #e4e4e7;
}

.contacto-input, 
.contacto-textarea {
    width: 100%;
    background-color: #16161d;
    border: 1px solid #27272a;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
}

.contacto-textarea {
    resize: none;
    height: 85px;
    min-height: 85px;
    max-height: 85px;
}

.contacto-input:focus, 
.contacto-textarea:focus {
    background-color: #1a1a22;
    border-color: #dc2626;
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.contacto-input::placeholder, 
.contacto-textarea::placeholder {
    color: #71717a;
    font-size: 13.5px;
}

.contacto-btn {
    width: 100%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: none;
    border-radius: 10px;
    padding: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
    margin-top: 5px;
}

.contacto-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.contacto-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contacto-login {
    margin-top: 15px;
    font-size: 13.5px;
}

.contacto-login a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s;
}

.contacto-login a:hover {
    color: #dc2626;
}

/* ============================================================
   DISEÑO EXCLUSIVO PARA MÓVILES (Pantalla completa)
============================================================ */
@media (max-width: 768px) {
    body.contacto-body {
        background-image: none; /* Quitamos la foto de fondo en móvil */
        background-color: #0a0a0a;
        display: block; /* Dejamos de centrar estrictamente */
    }

    .contacto-wrapper {
        max-width: 100%;
        padding: 0;
        height: 100%;
    }

    .contacto-card {
        background: #0a0a0a; /* Fondo sólido, sin transparencia */
        border: none;
        border-radius: 0; /* Quitamos bordes curvos */
        padding: 40px 20px; /* Más espacio arriba */
        box-shadow: none;
        min-height: 100vh; /* Ocupa toda la altura de la pantalla */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centra el formulario verticalmente */
    }

    /* Hacemos los inputs un poco más grandes para dedos en móvil */
    .contacto-input, 
    .contacto-textarea {
        font-size: 16px; /* Evita que iOS haga zoom al tocar el input */
        padding: 14px 16px;
        border-radius: 12px;
    }

    .contacto-textarea {
        height: 120px; /* Más espacio para escribir en el celular */
        min-height: 120px;
        max-height: 120px;
    }

    .contacto-btn {
        padding: 16px;
        font-size: 16px;
        border-radius: 12px;
        margin-top: 15px;
    }

    .contacto-logo img {
        max-height: 60px;
        margin-bottom: 25px;
    }
}