/* ==========================================================================
   ESTILOS UNIFICADOS - PÁGINA DE CONTACTO H.A.R.T.P
   ========================================================================== */

/* 1. Reset y Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background-color: #F9FAFB; color: #1F2937; line-height: 1.6; }

/* 2. Contenedor Principal */
.contact-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* 3. Encabezado de la sección */
.contact-header { text-align: center; margin-bottom: 3rem; }
.contact-header h1 { font-size: 2.5rem; color: #1E3A8A; font-weight: 800; margin-bottom: 0.5rem; line-height: 1.2; }
.contact-header p { font-size: 1.125rem; color: #4B5563; max-width: 600px; margin: 0 auto; }

/* 4. Grid Principal (Formulario + Info) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 3fr 2fr; } /* Formulario más ancho que la info */
}

/* 5. Cajas de Contenido */
.contact-box {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E7EB;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-box:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.contact-box h2 { font-size: 1.5rem; color: #1E3A8A; margin-bottom: 1.5rem; font-weight: 700; }

/* 6. Estilos del Formulario */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: #374151; margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid #D1D5DB; border-radius: 8px;
  font-size: 1rem; transition: all 0.2s ease; background: #FFFFFF;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: #EA580C; box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* Botón de envío */
.btn-submit {
  width: 100%; background: #EA580C; color: white; padding: 0.875rem; border: none;
  border-radius: 9999px; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem;
}
.btn-submit:hover { background: #C2410C; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3); }
.btn-submit:disabled { background: #9CA3AF; cursor: not-allowed; transform: none; }

/* 7. Información de Contacto */
.info-link { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; text-decoration: none; color: inherit; }
.info-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.25rem; }
.info-content h3 { font-size: 1.1rem; font-weight: 700; color: #1E3A8A; margin-bottom: 0.25rem; }
.info-content p { font-size: 0.9rem; color: #6B7280; margin: 0; }
.info-content a { color: #EA580C; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.info-content a:hover { color: #C2410C; }

/* Botón WhatsApp */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.5rem; background: #25D366; color: white;
  padding: 0.6rem 1.2rem; border-radius: 9999px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: all 0.3s ease; margin-top: 0.5rem;
}
.btn-whatsapp:hover { background: #128C7E; transform: scale(1.02); }

/* 8. QR y Compartir */
.qr-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #E5E7EB; text-align: center; }
.qr-grid { display: flex; gap: 2rem; justify-content: center; margin: 1.5rem 0; }
.qr-item img { width: 96px; height: 96px; border-radius: 8px; border: 2px solid #1E3A8A; padding: 4px; background: #fff; }
.qr-item p { font-size: 0.8rem; color: #4B5563; font-weight: 600; margin-top: 0.5rem; }
.btn-share {
  width: 100%; background: #1E3A8A; color: white; padding: 0.875rem; border: none;
  border-radius: 9999px; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem;
}
.btn-share:hover { background: #152C6E; }

/* 9. Valores */
.values-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #E5E7EB; }
.values-section h3 { font-size: 1.25rem; color: #1E3A8A; font-weight: 700; margin-bottom: 1rem; }
.values-list { list-style: none; padding: 0; }
.values-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.9rem; color: #374151; }
.values-list li span { color: #10B981; font-weight: bold; font-size: 1.1rem; line-height: 1; }
.quote-box {
  margin-top: 1.5rem; padding: 1rem; background: rgba(30, 58, 138, 0.05);
  border-left: 4px solid #EA580C; border-radius: 0 8px 8px 0;
  font-style: italic; color: #374151; font-size: 0.9rem; text-align: center;
}

/* 10. Mapa */
.map-section {
  margin-top: 4rem; text-align: center; padding: 3rem 1.5rem;
  background: #FFFFFF; border-radius: 16px; border: 1px solid #E5E7EB;
}
.map-section h2 { font-size: 1.75rem; color: #1E3A8A; font-weight: 700; margin-bottom: 1.5rem; }
.map-container {
  position: relative; width: 100%; padding-bottom: 56.25%; height: 0;
  border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.1); border: 1px solid #E2E8F0;
}
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* 11. Chips de Zonas (Integrado) */
.zone-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; background-color: #EFF6FF;
  color: #1E40AF; padding: 0.5rem 1rem; border-radius: 9999px; font-weight: 600;
  font-size: 0.875rem; border: 1px solid #BFDBFE; transition: all 0.2s ease; text-decoration: none;
}
.zone-chip:hover { background-color: #1E40AF; color: #FFFFFF; }

/* 12. Responsive (Móviles) */
@media (max-width: 768px) {
  .contact-page-wrapper { padding: 2rem 1rem; }
  .contact-header h1 { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; } /* Una sola columna en móvil */
  .qr-grid { flex-direction: column; align-items: center; gap: 1.5rem; }
  .contact-box { padding: 1.5rem; }
}