/* Estilos para la página de Contacto */
.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

/* Hero Section */
.hero-contacto {
    background: linear-gradient(135deg, #f72585 0%, #b5179e 33%, #7209b7 66%, #3a0ca3 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-contacto h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-contacto p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid de Contacto */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Información de Contacto */
.info-contacto {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.info-contacto h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    color: var(--text-color);
}

.info-contacto h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #f72585;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.descripcion {
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0.9;
}

.contacto-item {
    display: flex;
    margin-bottom: 30px;
    align-items: center; /* Cambiado de flex-start a center */
}

.contacto-item:last-child {
    margin-bottom: 0;
}

.icono {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f72585 0%, #b5179e 33%, #7209b7 66%, #3a0ca3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.detalle h3 {
    color: var(--text-color);
    margin: 30px 0 15px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.detalle p {
    color: var(--text-color);
    margin: 5px 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Redes Sociales */
.redes-sociales {
    margin-top: 40px;
}

.redes-sociales h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.social-link:hover {
    background: #f72585;
    color: white;
    transform: translateY(-3px);
}

/* Formulario de Contacto */
.formulario-contacto {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.formulario-contacto h2 {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.formulario-contacto h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #f72585;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(107, 48, 185, 0.1);
}

.btn-enviar {
    background: #f72585;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-enviar .btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #f72585;
    border-radius: 50px;
}

.btn-enviar .btn-loading i {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-enviar.is-loading .btn-text {
    visibility: hidden;
}

.btn-enviar.is-loading .btn-loading {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
}

.btn-enviar:hover {
    background: #d41b6e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mapa */
.mapa {
    display: none; /* Ocultar la sección de ubicación */
    margin-bottom: 80px;
}

.mapa h2 {
    color: var(--text-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
}

.mapa h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: #f72585;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.mapa-contenedor {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

/* Estilos para notificaciones */
/* Estilos para notificaciones */
.notificacion {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    padding: 15px 28px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1.05rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: center;
    max-width: 85%;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Estilos para tema oscuro */
@media (prefers-color-scheme: dark) {
    .notificacion {
        background: rgba(30, 30, 30, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
    }
}

.notificacion.mostrar {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.notificacion.exito {
    color: #10b981;
}

.notificacion.error {
    color: #ef4444;
}

/* Mejoras de contraste para mejor legibilidad */
.notificacion i.fa-check-circle {
    color: #10b981;
}

.notificacion i.fa-exclamation-circle {
    color: #ef4444;
}

/* Asegurar que el texto sea legible en ambos temas */
.notificacion span {
    color: inherit;
}

.notificacion .cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

/* Estilos para el botón de carga */
.btn-loading i {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .info-contacto {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .contacto-container {
        padding: 250px 15px 40px;
    }
    
    .hero-contacto h1 {
        font-size: 2.5rem;
    }
    
    .formulario-contacto {
        padding: 30px 20px;
    }
    
    .contacto-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 15px;
    }
    
    .icono {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .mapa h2 {
        font-size: 2rem;
    }
}
