/*
 * IslaMarket FAQ - V11
 * Usa el mismo header/footer real que /ayuda.
 * Solo estiliza el contenido FAQ y fija el footer real.
 */

html,
body.im-help-faq-page {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #f5f7fb !important;
}

body.im-help-faq-page {
  padding-bottom: 92px !important;
  color: #0f172a !important;
}

body.im-help-faq-page :where(.im-help-shell, .im-help-page, .im-help-layout, .im-help-main, .im-help-content, main) {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/*
 * No tocamos .im-help-header / nav real.
 * El header debe venir del mismo partial usado por /ayuda.
 */

.im-help-faq-v10,
.im-help-faq {
  width: min(1120px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
  padding: 32px 0 150px !important;
}

.im-help-faq-v10__hero,
.im-help-faq__hero {
  position: relative !important;
  overflow: hidden !important;
  padding: clamp(34px, 5vw, 62px) !important;
  border-radius: 30px !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(14, 165, 233, .16), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(249, 115, 22, .14), transparent 31%),
    linear-gradient(135deg, rgba(255,255,255,.99), rgba(255,255,255,.90)) !important;
  box-shadow: 0 26px 72px rgba(15, 23, 42, .10) !important;
}

.im-help-faq-v10__hero-bg {
  position: absolute;
  right: -90px;
  top: -70px;
  width: 420px;
  height: 300px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 45%, rgba(59, 130, 246, .18), transparent 42%),
    radial-gradient(circle at 70% 55%, rgba(20, 184, 166, .16), transparent 40%);
  pointer-events: none;
}

.im-help-faq-v10__hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.im-help-faq-v10__badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .80);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, .20);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.im-help-faq-v10 h1 {
  margin: 22px 0 0;
  max-width: 820px;
  color: #020617;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: .92;
  letter-spacing: -.075em;
  font-weight: 950;
}

.im-help-faq-v10__hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #1e293b;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 750;
  line-height: 1.55;
}

.im-help-faq-v10__search {
  width: min(760px, 100%);
  min-height: 62px;
  margin-top: 28px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(148, 163, 184, .22);
  color: #64748b;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.im-help-faq-v10__search svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.im-help-faq-v10__search span {
  font-size: 16px;
  font-weight: 750;
}

.im-help-faq-v10__actions,
.im-help-faq-v10__chips,
.im-help-faq-v10__links,
.im-help-faq-v10__cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.im-help-faq-v10__actions {
  margin-top: 18px;
}

.im-help-faq-v10__chips {
  margin-top: 16px;
}

.im-help-faq-v10__primary,
.im-help-faq-v10__secondary,
.im-help-faq-v10__chips a,
.im-help-faq-v10__links a,
.im-help-faq-v10__cta a {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.im-help-faq-v10__primary {
  background: #020617;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .18);
}

.im-help-faq-v10__secondary,
.im-help-faq-v10__links a,
.im-help-faq-v10__cta a {
  background: #ffffff;
  color: #0f766e;
  border: 1px solid rgba(20, 184, 166, .18);
}

.im-help-faq-v10__chips a {
  background: #fff7ed;
  color: #0f766e;
  border: 1px solid rgba(249, 115, 22, .22);
}

.im-help-faq-v10__featured,
.im-help-faq-v10__block,
.im-help-faq-v10__cta {
  margin-top: 24px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 54px rgba(15, 23, 42, .07);
}

.im-help-faq-v10__section-head h2,
.im-help-faq-v10__block h2,
.im-help-faq-v10__cta h2 {
  margin: 0 0 12px;
  color: #020617;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 950;
}

.im-help-faq-v10__section-head p,
.im-help-faq-v10__block p,
.im-help-faq-v10__cta p {
  margin: 0;
  color: #334155;
  font-size: 15.5px;
  line-height: 1.72;
  font-weight: 650;
}

.im-help-faq-v10__cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.im-help-faq-v10__card {
  min-height: 188px;
  padding: 20px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .18);
  text-decoration: none;
  color: inherit;
}

.im-help-faq-v10__card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #f97316;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.im-help-faq-v10__card strong {
  display: block;
  color: #020617;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.im-help-faq-v10__card p {
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.im-help-faq-v10__item {
  padding: 18px 0;
  border-top: 1px solid rgba(148, 163, 184, .16);
}

.im-help-faq-v10__item:first-of-type {
  border-top: 0;
}

.im-help-faq-v10__item h3 {
  margin: 0 0 8px;
  color: #020617;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -.02em;
}

.im-help-faq-v10__links {
  margin-top: 18px;
}

.im-help-faq-v10__cta {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, .13), transparent 36%),
    #ffffff;
}

.im-help-faq-v10__cta div {
  margin-top: 16px;
}

/* Footer real fijo de ayuda */
.im-help-footer {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 99990 !important;
  width: 100% !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, .97) !important;
  border-top: 1px solid rgba(148, 163, 184, .18) !important;
  box-shadow: 0 -14px 42px rgba(15, 23, 42, .08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

@media (max-width: 900px) {
  .im-help-faq-v10__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.im-help-faq-page {
    padding-bottom: 132px !important;
  }

  .im-help-faq-v10,
  .im-help-faq {
    width: min(100% - 22px, 1120px) !important;
    padding-top: 22px !important;
    padding-bottom: 190px !important;
  }

  .im-help-faq-v10__hero,
  .im-help-faq-v10__featured,
  .im-help-faq-v10__block,
  .im-help-faq-v10__cta {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .im-help-faq-v10 h1 {
    font-size: clamp(34px, 12vw, 48px) !important;
    letter-spacing: -.065em !important;
  }

  .im-help-faq-v10__search {
    min-height: 56px;
    border-radius: 20px;
    align-items: flex-start;
    padding: 15px;
  }

  .im-help-faq-v10__primary,
  .im-help-faq-v10__secondary,
  .im-help-faq-v10__chips a,
  .im-help-faq-v10__links a,
  .im-help-faq-v10__cta a {
    width: 100%;
  }
}

/* ISLAMARKET_HELP_FAQ_REAL_FOOTER_FIXED_V12_START */
/*
 * FAQ: usa help-header.php real y help-footer.php real.
 * Este bloque solo asegura scroll y footer fijo.
 */

html,
body.im-help-faq-page {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #f5f7fb !important;
}

body.im-help-faq-page {
  padding-bottom: 92px !important;
}

body.im-help-faq-page :where(.im-help-shell, .im-help-page, .im-help-layout, .im-help-main, .im-help-content, main) {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Footer real fijo como portada de ayuda */
body.im-help-faq-page .im-help-footer {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 99990 !important;
  width: 100% !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, .97) !important;
  border-top: 1px solid rgba(148, 163, 184, .18) !important;
  box-shadow: 0 -14px 42px rgba(15, 23, 42, .08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* Deja espacio para que el footer fijo no tape el final */
body.im-help-faq-page .im-help-faq,
body.im-help-faq-page .im-help-faq-v10 {
  padding-bottom: 170px !important;
}

@media (max-width: 720px) {
  body.im-help-faq-page {
    padding-bottom: 132px !important;
  }

  body.im-help-faq-page .im-help-faq,
  body.im-help-faq-page .im-help-faq-v10 {
    padding-bottom: 210px !important;
  }
}
/* ISLAMARKET_HELP_FAQ_REAL_FOOTER_FIXED_V12_END */

/* IM_HELP_FAQ_RELATED_LINKS_V13_START */
/*
 * IslaMarket FAQ - Enlaces internos editoriales
 * Version: 20260516-faq-v13
 */

.im-help-faq-v10__related {
  margin-top: 24px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, .18);
  background:
    radial-gradient(circle at top left, rgba(255, 90, 60, .10), transparent 34%),
    #ffffff;
  box-shadow: 0 18px 54px rgba(15, 23, 42, .07);
}

.im-help-faq-v10__related-head span {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff7ed;
  color: #ff5a3c;
  border: 1px solid rgba(255, 90, 60, .22);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.im-help-faq-v10__related-head h2 {
  margin: 14px 0 12px;
  color: #020617;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 950;
}

.im-help-faq-v10__related-head p {
  max-width: 780px;
  margin: 0;
  color: #334155;
  font-size: 15.5px;
  line-height: 1.72;
  font-weight: 650;
}

.im-help-faq-v10__related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.im-help-faq-v10__related-grid a {
  min-height: 128px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  border-radius: 20px;
  text-decoration: none;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, .18);
}

.im-help-faq-v10__related-grid a:hover {
  background: #fff7ed;
  border-color: rgba(255, 90, 60, .24);
  transform: translateY(-1px);
}

.im-help-faq-v10__related-grid strong {
  color: #020617;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.im-help-faq-v10__related-grid span {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

@media (max-width: 720px) {
  .im-help-faq-v10__related {
    padding: 22px;
    border-radius: 22px;
  }

  .im-help-faq-v10__related-grid {
    grid-template-columns: 1fr;
  }

  .im-help-faq-v10__related-grid a {
    min-height: 0;
  }
}
/* IM_HELP_FAQ_RELATED_LINKS_V13_END */
