/*
 * IslaMarket - Comprar/Vender seguro Canarias
 * Version: 20260516-buy-sell-safe-v1
 */

body.im-help-buy-sell-safe-page {
  background: #f5f7fb;
}

.im-help-safe {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 120px;
}

.im-help-safe__article {
  display: block;
}

.im-help-safe__hero,
.im-help-safe__block,
.im-help-safe__cta {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(255,255,255,.97);
  box-shadow: 0 22px 64px rgba(15, 23, 42, .08);
}

.im-help-safe__hero {
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(14, 165, 233, .16), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(249, 115, 22, .13), transparent 31%),
    #ffffff;
}

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

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

.im-help-safe__hero p {
  max-width: 820px;
  margin: 24px 0 0;
  color: #1e293b;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 750;
  line-height: 1.6;
}

.im-help-safe__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.im-help-safe__quick a,
.im-help-safe__actions a,
.im-help-safe__cta a {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: #ff5a3c;
  background: #fff7ed;
  border: 1px solid rgba(255, 90, 60, .18);
  font-size: 14px;
  font-weight: 900;
}

.im-help-safe__block,
.im-help-safe__cta {
  margin-top: 24px;
  padding: 30px;
}

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

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

.im-help-safe p {
  color: #334155;
  font-size: 15.8px;
  line-height: 1.75;
  font-weight: 650;
}

.im-help-safe p:last-child {
  margin-bottom: 0;
}

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

.im-help-safe__dosdonts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.im-help-safe__card,
.im-help-safe__dosdonts > div,
.im-help-safe__warning {
  padding: 20px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .18);
}

.im-help-safe__warning {
  margin-top: 20px;
  background: #fff7ed;
  border-color: rgba(249, 115, 22, .24);
}

.im-help-safe__warning strong {
  display: block;
  margin-bottom: 8px;
  color: #9a3412;
  font-weight: 950;
}

.im-help-safe__list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: #334155;
  font-size: 15.8px;
  line-height: 1.75;
  font-weight: 650;
}

.im-help-safe__list li + li {
  margin-top: 8px;
}

.im-help-safe__list--alert li::marker {
  color: #f97316;
}

.im-help-safe__dosdonts ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 650;
}

.im-help-safe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.im-help-safe__cta {
  background:
    radial-gradient(circle at top left, rgba(255, 90, 60, .12), transparent 35%),
    #ffffff;
}

.im-help-safe__cta a {
  margin-top: 12px;
  color: #ffffff;
  background: #ff5a3c;
  border-color: #ff5a3c;
}

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

@media (max-width: 720px) {
  .im-help-safe {
    width: min(100% - 22px, 1120px);
    padding: 22px 0 110px;
  }

  .im-help-safe__hero,
  .im-help-safe__block,
  .im-help-safe__cta {
    padding: 22px;
    border-radius: 22px;
  }

  .im-help-safe h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .im-help-safe__quick a,
  .im-help-safe__actions a,
  .im-help-safe__cta a {
    width: 100%;
  }
}

/* IM_HELP_BUY_SELL_SAFE_FIXED_FOOTER_V2_START */
/*
 * IslaMarket - Guía comprar/vender seguro
 * Footer real de Ayuda fijo abajo.
 * Version: 20260516-buy-sell-safe-v2
 */

html,
body.im-help-buy-sell-safe-page {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

body.im-help-buy-sell-safe-page {
  padding-bottom: 108px !important;
}

/*
 * Mantener scroll normal en el contenido.
 */
body.im-help-buy-sell-safe-page main,
body.im-help-buy-sell-safe-page .im-help-safe,
body.im-help-buy-sell-safe-page .im-help-safe__article {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/*
 * Footer real del Centro de Ayuda fijo.
 */
body.im-help-buy-sell-safe-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;
}

/*
 * Evita que la última sección quede tapada.
 */
body.im-help-buy-sell-safe-page .im-help-safe {
  padding-bottom: 190px !important;
}

@media (max-width: 720px) {
  body.im-help-buy-sell-safe-page {
    padding-bottom: 136px !important;
  }

  body.im-help-buy-sell-safe-page .im-help-safe {
    padding-bottom: 220px !important;
  }

  body.im-help-buy-sell-safe-page .im-help-footer {
    max-height: 136px !important;
    overflow-y: auto !important;
  }
}
/* IM_HELP_BUY_SELL_SAFE_FIXED_FOOTER_V2_END */

/* IM_HELP_BUY_SELL_SAFE_CORAL_BRAND_V3_START */
/*
 * IslaMarket - Brand fix coral
 * Version: 20260516-buy-sell-safe-v3
 *
 * Mantiene la guía dentro de la identidad visual IslaMarket.
 */

body.im-help-buy-sell-safe-page {
  --im-brand-coral: #ff5a3c;
  --im-brand-coral-dark: #e8462c;
  --im-brand-coral-soft: #fff7ed;
  --im-brand-coral-border: rgba(255, 90, 60, .22);
}

/* Chips, enlaces y acciones: coral de marca */
body.im-help-buy-sell-safe-page .im-help-safe__quick a,
body.im-help-buy-sell-safe-page .im-help-safe__actions a {
  color: var(--im-brand-coral) !important;
  background: var(--im-brand-coral-soft) !important;
  border-color: var(--im-brand-coral-border) !important;
}

/* CTA final: botón coral, texto blanco visible */
body.im-help-buy-sell-safe-page .im-help-safe__cta a {
  min-width: 210px !important;
  min-height: 46px !important;
  padding: 0 22px !important;

  color: #ffffff !important;
  background: var(--im-brand-coral) !important;
  border: 1px solid var(--im-brand-coral) !important;

  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  white-space: nowrap !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  box-shadow: 0 16px 34px rgba(255, 90, 60, .22) !important;
}

body.im-help-buy-sell-safe-page .im-help-safe__cta a:hover {
  background: var(--im-brand-coral-dark) !important;
  border-color: var(--im-brand-coral-dark) !important;
  transform: translateY(-1px);
}

/* Bloques de aviso: coral suave, no verde */
body.im-help-buy-sell-safe-page .im-help-safe__warning {
  background: var(--im-brand-coral-soft) !important;
  border-color: var(--im-brand-coral-border) !important;
}

body.im-help-buy-sell-safe-page .im-help-safe__warning strong {
  color: var(--im-brand-coral-dark) !important;
}

/* Marcadores de alerta */
body.im-help-buy-sell-safe-page .im-help-safe__list--alert li::marker {
  color: var(--im-brand-coral) !important;
}
/* IM_HELP_BUY_SELL_SAFE_CORAL_BRAND_V3_END */

/* IM_HELP_BUY_SELL_SAFE_CTA_TEXT_FIX_V4_START */
/*
 * IslaMarket - CTA final guía seguridad
 * Version: 20260516-buy-sell-safe-v4
 *
 * Corrige herencia verde/teal antigua y mantiene marca coral.
 */

body.im-help-buy-sell-safe-page .im-help-safe__cta a,
body.im-help-buy-sell-safe-page .im-help-safe__cta a:link,
body.im-help-buy-sell-safe-page .im-help-safe__cta a:visited,
body.im-help-buy-sell-safe-page .im-help-safe__cta a:hover,
body.im-help-buy-sell-safe-page .im-help-safe__cta a:active,
body.im-help-buy-sell-safe-page .im-help-safe__cta a:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  background: #ff5a3c !important;
  border-color: #ff5a3c !important;

  min-width: 230px !important;
  min-height: 46px !important;
  padding: 0 24px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  white-space: nowrap !important;

  border-radius: 999px !important;
  box-shadow: 0 16px 34px rgba(255, 90, 60, .22) !important;
}

body.im-help-buy-sell-safe-page .im-help-safe__cta a:hover {
  background: #e8462c !important;
  border-color: #e8462c !important;
}

/* Mantener los chips/enlaces secundarios en coral suave, no verde */
body.im-help-buy-sell-safe-page .im-help-safe__quick a,
body.im-help-buy-sell-safe-page .im-help-safe__actions a {
  color: #ff5a3c !important;
  -webkit-text-fill-color: #ff5a3c !important;
  background: #fff7ed !important;
  border-color: rgba(255, 90, 60, .22) !important;
}
/* IM_HELP_BUY_SELL_SAFE_CTA_TEXT_FIX_V4_END */

/* IM_HELP_BUY_SELL_SAFE_RELATED_LINKS_V5_START */
/*
 * IslaMarket - Guía compraventa segura
 * Bloque de enlaces internos editoriales.
 * Version: 20260516-buy-sell-safe-v5
 */

body.im-help-buy-sell-safe-page .im-help-safe__related {
  margin-top: 24px;
  padding: 30px;
  border-radius: 28px;
  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 22px 64px rgba(15, 23, 42, .08);
}

body.im-help-buy-sell-safe-page .im-help-safe__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;
}

body.im-help-buy-sell-safe-page .im-help-safe__related-head h2 {
  margin-top: 14px;
}

body.im-help-buy-sell-safe-page .im-help-safe__related-head p {
  max-width: 780px;
  margin-top: 0;
}

body.im-help-buy-sell-safe-page .im-help-safe__related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

body.im-help-buy-sell-safe-page .im-help-safe__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);
}

body.im-help-buy-sell-safe-page .im-help-safe__related-grid a:hover {
  background: #fff7ed;
  border-color: rgba(255, 90, 60, .24);
  transform: translateY(-1px);
}

body.im-help-buy-sell-safe-page .im-help-safe__related-grid strong {
  color: #020617;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -.02em;
}

body.im-help-buy-sell-safe-page .im-help-safe__related-grid span {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

@media (max-width: 720px) {
  body.im-help-buy-sell-safe-page .im-help-safe__related {
    padding: 22px;
    border-radius: 22px;
  }

  body.im-help-buy-sell-safe-page .im-help-safe__related-grid {
    grid-template-columns: 1fr;
  }

  body.im-help-buy-sell-safe-page .im-help-safe__related-grid a {
    min-height: 0;
  }
}
/* IM_HELP_BUY_SELL_SAFE_RELATED_LINKS_V5_END */
