/* contactanos_style.css */

.contactanos {
    padding: 60px 0;
    background-image: linear-gradient(to bottom, var(--bg-body), #e4e7f0);
}

/* Tarjeta de Contacto */
.contacto-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
}

.contacto-header {
    background-image: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    padding: 25px;
    color: white;
    display: flex;
    align-items: center;
}

/* FIX COLOR */
.contacto-icon { 
    font-size: 2.5rem; 
    opacity: 0.9; 
    margin-right: 20px; 
    color: white;
}

.contacto-title h2 { 
    margin: 0; 
    font-size: 1.8rem; 
    color: white; /* FIX */
}
.contacto-body { padding: 30px; }

/* Ítems de información */
.contacto-info { margin-bottom: 30px; }

.info-item {
    display: flex;
    margin-bottom: 25px;
    align-items: center;
}

/* FIX CÍRCULOS PERFECTOS */
.info-icon {
    /* Dimensiones Rígidas */
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0, 64, 128, 0.3);
}

.info-content { flex: 1; }
.info-content h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 5px;
}
.info-content p { margin: 0; color: var(--text-muted); font-size: 1rem; }

/* Descripción */
.contacto-descripcion h3 {
    color: var(--color-primary-dark);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.contacto-descripcion h3 i { margin-right: 10px; color: var(--color-primary); }
.contacto-descripcion p { color: var(--text-muted); margin-bottom: 25px; font-size: 1rem; }

/* Formulario */
.formulario-contacto {
    background-color: var(--bg-body);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.formulario-contacto h4 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.formulario-contacto .form-control {
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 0.95rem;
    border-radius: 8px;
}

.formulario-contacto .form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 64, 128, 0.15);
    border-color: var(--color-primary);
}

.formulario-contacto .btn-primary {
    background-color: var(--color-primary);
    border: none;
    padding: 10px 30px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.formulario-contacto .btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Ubicación */
.ubicacion-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    padding: 40px;
    border: 1px solid var(--border-light);
}

.ubicacion-info h2 {
    color: var(--color-primary-dark);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ubicacion-info h2 i { color: var(--color-primary); margin-right: 10px; }

.mapa-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 992px) {
    .contacto-card, .ubicacion-card { margin: 0 20px; }
}

@media (max-width: 768px) {
    .contactanos { padding: 40px 0; }
    .contacto-header { flex-direction: column; text-align: center; }
    .contacto-icon { margin-bottom: 15px; margin-right: 0; }
    
    .info-item { flex-direction: column; align-items: center; text-align: center; margin-bottom: 30px; }
    .info-icon { margin-bottom: 15px; margin-right: 0; }
    
    .ubicacion-card { padding: 30px 20px; }
}

@media (max-width: 576px) {
    .contactanos { padding: 30px 0; }
    .contacto-body, .ubicacion-card { padding: 20px; }
    .formulario-contacto { padding: 15px; }
}