/* Hero de Contacto */
.contact-hero {
  position: relative;
  height: 350px;
  /*background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);*/
  background: radial-gradient(circle at top, #1c2533, #0e1218);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  width: 100%;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("./img/sugerencias.jpeg") center / cover;
  opacity: 0.2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 0px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Sección del Formulario */
.contact-form-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-wrapper h2 {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #ffc107 0%, #a9820f 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

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

.form-message {
  margin-top: 1rem;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  display: block;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

/* Tarjeta de Información */
.contact-info-card {
  background: linear-gradient(135deg, #1c2533 0%, #0e1218 100%);
   /* background: radial-gradient(circle at top, #1c2533, #0e1218);*/
  color: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info-card > p {
  opacity: 0.9;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item:last-of-type {
  border-bottom: none;
  margin-bottom: 2rem;
}

.info-item i {
  font-size: 1.5rem;
  color: #fbbf24;
  margin-top: 2px;
}

.info-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.info-item p {
  opacity: 0.9;
  line-height: 1.6;
  margin: 0;
}

.btn-whatsapp-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.btn-whatsapp-card:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .form-wrapper {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    height: 280px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .contact-form-section {
    padding: 50px 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-wrapper {
    padding: 25px;
  }

  .form-wrapper h2 {
    font-size: 1.6rem;
  }

  .contact-info-card {
    padding: 30px;
  }
}
