/* Contacto Section */
.contacto {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contacto-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contacto-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e40af;
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc2626;
  background: #fef2f2;
}

.form-group.error .error-message {
  opacity: 1;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #f97316, #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-item:hover .info-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
  transform: scale(1.1);
}

.info-icon i {
  font-size: 1.2rem;
  color: white;
}

.info-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.mapa {
  margin-top: 1rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mapa iframe {
  border-radius: 15px;
  transition: all 0.3s ease;
}

.mapa:hover iframe {
  transform: scale(1.02);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .contacto {
    padding: 4rem 0;
  }

  .contacto-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contacto-form {
    padding: 2rem;
  }

  .info-item {
    padding: 1.2rem;
  }

  .info-icon {
    width: 45px;
    height: 45px;
  }

  .info-icon i {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contacto-form {
    padding: 1.5rem;
  }

  .form-group {
    margin-bottom: 1.2rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
  }

  .btn-submit {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .info-item {
    padding: 1rem;
  }

  .info-icon {
    width: 40px;
    height: 40px;
  }
}
