/* ===== RESET Y ESTILOS BASE ===== */
.hz-contacto-container *,
.hz-contacto-container *::before,
.hz-contacto-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hz-contacto-container {
  font-family: "Open Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  padding: 9rem 0rem 1rem 0rem;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}



/* ===== CONTENEDOR PRINCIPAL ===== */
.hz-contacto-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* ===== ESTRUCTURA FLEX ===== */
.hz-contacto-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 992px) {
  .hz-contacto-layout {
    flex-direction: row;
  }
}

/* ===== SECCIÓN FORMULARIO ===== */
.hz-contacto-form-section {
  padding: 2rem;
  flex: 1;
  min-width: 0;
}

.hz-contacto-form-section h2 {
  color: #003366;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #e1e5eb;
}

.hz-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hz-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 768px) {
  .hz-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #003366;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  border-color: #1663ac;
  box-shadow: 0 0 0 3px rgba(22, 99, 172, 0.15);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== CHECKBOX ===== */
.hz-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.hz-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1663ac;
}

.hz-check label {
  font-size: 0.9rem;
  color: #555;
}

.hz-check a {
  color: #1663ac;
  text-decoration: none;
}

.hz-check a:hover {
  text-decoration: underline;
}

/* ===== BOTÓN ===== */
.hz-submit button {
  background: linear-gradient(to right, #1663ac, #004080);
  color: white;
  border: none;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
}

.hz-submit button:hover {
  background: linear-gradient(to right, #004080, #003366);
  transform: translateY(-2px);
}

.hz-submit button:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
}

/* ===== MENSAJES DE ERROR ===== */
.hz-alert {
  background-color: #fdecea;
  border: 1px solid #f5c6cb;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  color: #721c24;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
}

/* ===== SECCIÓN INFORMACIÓN ===== */
.hz-contacto-info-section {
  padding: 2rem;
  background: #f5f7fa;
  flex: 1;
}

.hz-contacto-info-section h2 {
  color: #003366;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #e1e5eb;
}

.hz-contacto-img {
  width: 80%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.hz-contacto-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.hz-contacto-img img:hover {
  transform: scale(1.02);
}

.hz-contacto-datos {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hz-contacto-datos li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #333;
}

.hz-contacto-datos i {
  color: #1663ac;
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.hz-contacto-datos a {
  color: #1663ac;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hz-contacto-datos a:hover {
  color: #004080;
  text-decoration: underline;
}

/* ===== MAPA ===== */
.hz-contacto-map {
  width: 100%;
  margin-top: 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hz-contacto-map iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
.hz-contacto-container {
  margin: 8rem 1rem;
}

  .hz-contacto-layout {
    flex-direction: column;
  }

   .hz-contacto-form-section {
    order: 1;
  }

  .hz-contacto-info-section {
    order: 2;
  }

  .hz-contacto-form-section,
  .hz-contacto-info-section {
    padding: 1.5rem;
  }
}

@media (max-width: 767px) {
  .hz-form-grid {
    grid-template-columns: 1fr;
  }

  .hz-contacto-container {
    padding: 1rem;
  }
}

/* ===== grecaptcha ===== */

.grecaptcha-badge {
  left: 10px !important;
  right: auto !important;
}