.perfil-container {
  display: flex;
  justify-content: center;
  padding: 2rem;
  background-image: url('../images/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.perfil-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(193, 186, 186, 0.45); /* Antes 0.85, ahora más transparente */
  z-index: 1;
}

.perfil-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.perfil-img {
  width: 200px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  margin-bottom: 0;
  align-self: center;
}

.info-container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.mision-vision-content {
  max-width: 100%;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .perfil-content {
    flex-direction: column;
    align-items: center;
  }
  
  .info-container {
    justify-content: center;
  }
  
  .mision-vision-content {
    max-width: 100%;
  }
  
  .perfil-img {
    margin-bottom: 2rem;
  }
}

.btn-contacto {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 22px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(82, 87, 251, 0.1);
  transition: background 0.22s, transform 0.18s;
  background: #5257fb;
}

.btn-contacto[href*="gmail"] {
  background: #ea4335;
}
.btn-contacto[href^="tel"] {
  background: #34b7f1;
}
.btn-contacto[href*="wa.me"] {
  background: #25d366;
}
.btn-contacto[href^="mailto"] {
  background: #5257fb;
}

.btn-contacto:hover {
  filter: brightness(1.1) saturate(1.2);
  transform: scale(1.08);
  color: #fff !important;
}

/* Botón atractivo para "Ver trabajos realizados" */
.boton-contacto-flotante {
  display: inline-block;
  padding: 18px 38px;
  font-size: 22px;
  font-weight: bold;
  color: #fff !important;
  background: linear-gradient(90deg, #5257fb 0%, #25d366 100%);
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(82, 87, 251, 0.15);
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  margin-top: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-align: center;
}
.boton-contacto-flotante i {
  margin-right: 10px;
  font-size: 22px;
  vertical-align: middle;
}
.boton-contacto-flotante:hover {
  background: linear-gradient(90deg, #25d366 0%, #5257fb 100%);
  transform: translateY(-3px) scale(1.04);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(82, 87, 251, 0.18);
}

