/* --- ESTILOS EXCLUSIVOS PÁGINA DE CONTACTO --- */

.contact-header {
    text-align: center;
    padding: 80px 10% 40px 10%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: 0.4s;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(0, 242, 255, 0.05);
}

.contact-icon { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; }
.contact-card span { display: block; margin-top: 1rem; color: var(--primary); font-weight: 700; }

/* --- CONTENEDOR DEL FORMULARIO (HIGHLIGHT) --- */
.contact-form-section {
    padding: 5rem 10% 10rem 10%;
    display: flex;
    justify-content: center;
}

.form-container-card {
    background-color: #121212; /* Gris oscuro que resalta del fondo #030303 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 4rem;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.form-container-card h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #fff;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #eee;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Campos de llenado con contraste */
.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 15px;
    background-color: #1a1a1a; /* Más claro que el contenedor para visibilidad */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: #222;
    outline: none;
}

/* Botón de envío interno */
.btn-primary-form {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 1rem;
}

.btn-primary-form:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

@media (max-width: 768px) {
    .form-container-card { padding: 2rem; border-radius: 25px; }
}