/* Banner de Contacto */
.contacto-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, rgba(50,0,90,0.9) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  margin-bottom: 0;
}

.contacto-banner h1 {
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contacto-banner .lead {
  color: rgba(255,255,255,0.95);
  font-size: 1.15rem;
}

/* Sección de Contacto */
.Contacto {
  background: linear-gradient(180deg, var(--muted) 0%, rgba(255,255,255,0.5) 100%);
}

/* Formulario */
.Contacto .card {
  background: var(--white);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Contacto .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(50,0,90,0.12) !important;
}

.Contacto .card h3 {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1.5rem;
}

/* Información de Contacto */
.contacto-info-wrapper {
  position: sticky;
  top: 20px;
}

.contacto-info-wrapper h3 {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1.5rem;
}

.contacto-info-card {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(50,0,90,0.06);
  transition: all 0.3s ease;
}

.contacto-info-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(50,0,90,0.12);
}

.contacto-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacto-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.contacto-info-card h5 {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Iconos de redes sociales */
.social-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(255,43,80,0.3);
  color: var(--white);
}

/* Mejoras al formulario */
.Contacto .form-label {
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.Contacto .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.Contacto .form-control:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 0.2rem rgba(255,43,80,0.15);
}

.Contacto textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.Contacto .form-text {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Botón de envío */
.Contacto .btn-primary {
  padding: 14px 24px;
  font-size: 1.05rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Alertas */
.Contacto .alert {
  border-radius: 12px;
  border: none;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
}

/* Responsive */
@media (max-width: 991px) {
  .contacto-banner {
    padding: 60px 0 40px;
  }
  
  .contacto-banner h1 {
    font-size: 2.5rem;
  }
  
  .contacto-info-wrapper {
    position: static;
    margin-top: 30px;
  }
  
  .contacto-info-card:hover {
    transform: translateY(-4px);
  }
}

/* Honeypot field hidden (placed via class on the input) */
.honeypot { display: none !important; }

@media (max-width: 576px) {
  .contacto-banner {
    padding: 40px 0 30px;
  }
  
  .contacto-banner h1 {
    font-size: 2rem;
  }
  
  .contacto-banner .lead {
    font-size: 1rem;
  }
  
  .contacto-icon {
    width: 40px;
    height: 40px;
  }
  
  .contacto-icon i {
    font-size: 1.2rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
