/* ============================================================
   TEMU CATÓLICO - CENTRO DE AYUDA MODAL STYLES
   ============================================================ */

.help-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.help-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.help-modal-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.help-modal-overlay.is-active .help-modal-box {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.help-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
}

.help-modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-modal-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff0e6;
  color: #fa6400;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.help-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  line-height: 1.2;
}

.help-modal-subtitle {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #666666;
}

.help-modal-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #777777;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.help-modal-close-btn:hover {
  background: #eeeeee;
  color: #111111;
}

/* Modal Body */
.help-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* WhatsApp Hero Card */
.help-wa-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.help-wa-info h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: #14532d;
  display: flex;
  align-items: center;
  gap: 6px;
}

.help-wa-info p {
  margin: 0;
  font-size: 13px;
  color: #166534;
  line-height: 1.4;
}

.help-btn-wa-action {
  background: #25D366;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
  transition: transform 0.15s, background-color 0.2s;
}

.help-btn-wa-action:hover {
  background: #20ba59;
  transform: translateY(-1px);
}

/* 4 Quick Info Pills Grid */
.help-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.help-quick-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
}

.help-quick-card:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.help-quick-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.help-quick-card p {
  margin: 0;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
}

/* FAQ Section */
.help-faq-title {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-accordion-item {
  border: 1px solid #ebebeb;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.help-accordion-item.is-open {
  border-color: #fa6400;
}

.help-accordion-header {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: none;
  padding: 13px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #222222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.help-accordion-header:hover {
  background: #fafafa;
}

.help-accordion-icon {
  font-size: 14px;
  font-weight: 700;
  color: #888888;
  transition: transform 0.25s;
}

.help-accordion-item.is-open .help-accordion-icon {
  transform: rotate(180deg);
  color: #fa6400;
}

.help-accordion-content {
  display: none;
  padding: 0 16px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #555555;
  background: #ffffff;
}

.help-accordion-item.is-open .help-accordion-content {
  display: block;
}

/* Modal Footer */
.help-modal-footer {
  padding: 14px 24px;
  background: #fafafa;
  border-top: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
}

.help-modal-footer a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
}

.help-modal-footer a:hover {
  text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 600px) {
  .help-modal-body {
    padding: 16px;
  }
  .help-wa-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .help-btn-wa-action {
    width: 100%;
    justify-content: center;
  }
  .help-quick-grid {
    grid-template-columns: 1fr;
  }
}
