/* Estilos para la sección de contacto */
.contact {
  padding: 80px 0;
  color: #333;
  font-family: "Arial", sans-serif;
  background: #f9fafb;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #4a6b2a;
  position: relative;
  font-weight: 700;
}

.contact-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  margin: 20px auto;
  border-radius: 2px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info,
.contact-action {
  flex: 1;
  min-width: 300px;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
  align-items: center;
}

.contact-icon {
  font-size: 1.8rem;
  color: #4caf50;
  margin-right: 25px;
  min-width: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-text {
  flex: 1;
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #4a6b2a;
  font-weight: 600;
}

.contact-item p {
  margin: 5px 0;
  line-height: 1.6;
  color: #555;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icon:hover {
  background: linear-gradient(135deg, #3a8b3a 0%, #7cb342 100%);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.action-text {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.action-text h3 {
  font-size: 2rem;
  color: #4a6b2a;
  margin-bottom: 20px;
  font-weight: 700;
}

.action-text p {
  margin-bottom: 30px;
  line-height: 1.7;
  color: #555;
  font-size: 1.05rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.contact-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.5);
  background: linear-gradient(135deg, #3a9b4d 0%, #7cb342 100%);
}

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.contact-btn:hover i {
  transform: translateX(5px);
}

.contact-map {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 400px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }

  .contact-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  .contact-content {
    flex-direction: column;
    gap: 30px;
  }

  .action-text {
    padding: 30px;
  }

  .action-text h3 {
    font-size: 1.7rem;
  }

  .contact-btn {
    padding: 13px 30px;
    font-size: 1rem;
  }
}
