/**
 * Baraja de módulos — última capa (después de tp-platform).
 * 1) body con overflow-y:scroll es contenedor de scroll propio (nunca scrollea) → sticky no engancha; body: x clip (menú off-canvas ensancha la página), y visible
 * 2) --ink/#fafafa en section.dark deja texto invisible en mocks claros
 * 3) sticky + z-index como en el diseño antiguo
 */
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){

  html:not(.tp-offline) body,
  html body{
    overflow:visible !important;
    overflow-x:clip !important;
    overflow-y:visible !important;
  }

  .modules-section,
  .modules-section .inner,
  #bentoGrid,
  #bentoGrid.bento,
  .bento,
  .bento-stack{
    overflow:visible !important;
    overflow-x:visible !important;
    overflow-y:visible !important;
    transform:none !important;
    filter:none !important;
    perspective:none !important;
    contain:none !important;
  }

  .bento{
    display:flex !important;
    flex-direction:column !important;
    gap:14px !important;
    width:100% !important;
  }

  .bento-stack{
    display:flex !important;
    flex-direction:column !important;
    gap:14px !important;
    width:100% !important;
    position:relative !important;
  }

  /* quitar wrappers pin si quedaran */
  .bento-pin{
    display:contents !important;
  }

  .modules-section .bento-tile,
  .bento-tile{
    position:sticky !important;
    top:calc(var(--tope-h, 96px) + 6px + (var(--i, 0) * 6px)) !important;
    z-index:calc(10 + var(--i, 0)) !important;
    grid-column:span 1 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:20px 16px 0 !important;
    border-radius:22px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    /* fondo oscuro fijo — no --surface claro del platform */
    background:#141210 !important;
    background-image:none !important;
    border:1px solid rgba(255,255,255,0.10) !important;
    box-shadow:0 -14px 36px rgba(0,0,0,0.40) !important;
    transform-origin:center top !important;
    will-change:transform, opacity !important;
    transition:none !important;
    isolation:isolate !important;
    color:#fafafa !important;
  }

  /* reveal: anular solo el translateY inicial, NO bloquear el scale del JS de baraja */
  html.tp-reveal-on .modules-section .bento-tile.reveal:not(.in){
    opacity:1 !important;
    transform:none !important;
  }

  .bento-tile .bt-name,
  .bento-tile .bt-desc{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    opacity:1 !important;
  }
  .bento-tile .bt-tag{
    color:#E3A033 !important;
    -webkit-text-fill-color:#E3A033 !important;
  }
}

/* Contraste de las tarjetas de módulos: oscuro→blanco, claro→negro. Nunca gris. */
.modules-section .bento-tile .bt-name,
.modules-section .bento-tile .bt-desc,
.bento-tile .bt-name,
.bento-tile .bt-desc{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  opacity:1 !important;
}

.modules-section .bento-tile .bt-screen,
.bento-tile .bt-screen{
  --ink:#0A0A0A !important;
  --fg:#0A0A0A !important;
  --gray-on-dark:#0A0A0A !important;
  --gray-on-light:#0A0A0A !important;
  --white:#ffffff !important;
  --surface:#ffffff !important;
  --surface-2:#F4F1EA !important;
  --light:#F9F6F2 !important;
  --line:#E8E4DE !important;
  --line-on-light:#E8E4DE !important;
  color:#0A0A0A !important;
  -webkit-text-fill-color:#0A0A0A !important;
  background:#F9F6F2 !important;
}
.bento-tile .bt-screen,
.bento-tile .bt-screen *{
  color:#0A0A0A !important;
  -webkit-text-fill-color:#0A0A0A !important;
  opacity:1 !important;
}

/* Botones y chips con relleno oscuro o naranja: texto blanco */
.bento-tile .bt-screen .mp-btn,
.bento-tile .bt-screen .bx-btn:not(.ghost),
.bento-tile .bt-screen .mp-biobtn.primary,
.bento-tile .bt-screen .lb-btn.primary,
.bento-tile .bt-screen .lb-btn.primary span,
.bento-tile .bt-screen .lb-btn.primary em,
.bento-tile .bt-screen .us-cluster span:not(.us-more),
.bento-tile .bt-screen .af-pos,
.bento-tile .bt-screen .sl-m,
.bento-tile .bt-screen .cp-link i,
.bento-tile .bt-screen .lb-av,
.bento-tile .bt-screen .lb-name i{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}

/* Superficies oscuras dentro del mock (wallet, creatividades) */
.bento-tile .bt-screen .wl-card,
.bento-tile .bt-screen .wl-card *,
.bento-tile .bt-screen .mp-bigcard,
.bento-tile .bt-screen .mp-bigcard *,
.bento-tile .bt-screen .ag-cr,
.bento-tile .bt-screen .ag-cr *{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  opacity:1 !important;
}
.bento-tile .bt-screen .wl-live,
.bento-tile .bt-screen .wl-live *{
  color:#22C55E !important;
  -webkit-text-fill-color:#22C55E !important;
}

/* Checkout demo (Dos pasos. Ni uno más.): cabecera centrada en móvil */
@media (max-width:860px){
  .chk-demo-txt > .eyebrow{
    display:flex !important;
    justify-content:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .chk-demo-txt > h2,
  .chk-demo-txt > p{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}
/* Link Bio de la landing (mock oscuro .lb-screen). No aplica al teléfono crema de las tarjetas. */
.lb-screen,
.lb-wrap .lb-screen{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.lb-screen .lb-btn,
.lb-screen .lb-btn b,
.lb-screen .lb-btn.primary,
.lb-screen .lb-btn.primary b,
.lb-screen .lb-card b,
.lb-screen .lb-name,
.lb-screen .lb-foot b{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.lb-screen .lb-btn em,
.lb-screen .lb-btn.primary em{
  color:rgba(255,255,255,0.78) !important;
  -webkit-text-fill-color:rgba(255,255,255,0.78) !important;
}
.lb-screen .lb-card em,
.lb-screen .lb-desc,
.lb-screen .lb-handle{
  color:#B8B2AB !important;
  -webkit-text-fill-color:#B8B2AB !important;
}
.lb-screen .lb-btn i,
.lb-screen .lb-btn svg{
  color:#fff !important;
  stroke:#fff !important;
}
/* Agencia dark (Meta/Telegram/Clipping): mismos colores que Meta Ads */
.svc.on-dark h2,
.svc.on-dark .svc-txt h2{
  color:#fafafa !important;
  -webkit-text-fill-color:#fafafa !important;
}
.svc.on-dark .svc-lead{
  color:#a1a1aa !important;
  -webkit-text-fill-color:#a1a1aa !important;
}
.svc.on-dark .svc-specs b{
  color:var(--pc, #0866FF) !important;
  -webkit-text-fill-color:var(--pc, #0866FF) !important;
}
.svc.on-dark .svc-specs span{
  color:rgba(250,248,245,0.88) !important;
  -webkit-text-fill-color:rgba(250,248,245,0.88) !important;
}
.svc.on-dark .svc-pts li{
  color:rgba(250,248,245,0.82) !important;
  -webkit-text-fill-color:rgba(250,248,245,0.82) !important;
}

/* Clipping: misma jerarquía (blanco / gris suave / acento) */
.clp .clp-h{
  color:#fafafa !important;
  -webkit-text-fill-color:#fafafa !important;
}
.clp .clp-h span{
  -webkit-text-fill-color:transparent !important;
}
.clp .clp-sub,
.clp .clp-excl-l2,
.clp .clp-excl-txt,
.clp .clp-txt > p,
.clp .clp-note,
.clp .clp-pie{
  color:#a1a1aa !important;
  -webkit-text-fill-color:#a1a1aa !important;
}
.clp .clp-excl-l1,
.clp .clp-excl b,
.clp .clp-steps b{
  color:#fafafa !important;
  -webkit-text-fill-color:#fafafa !important;
}
.clp .clp-steps span{
  color:rgba(250,248,245,0.88) !important;
  -webkit-text-fill-color:rgba(250,248,245,0.88) !important;
}
/* Tarjeta «La letra clara»: esquinas + título visible + menos aire */
.py2-close{
  border-radius:24px !important;
  overflow:hidden;
}
.py2-close h2{
  color:#fafafa !important;
  -webkit-text-fill-color:#fafafa !important;
  margin-top:10px !important;
}
.py2-close p{
  margin-top:10px !important;
}
/* Oficinas (Melilla / São Paulo / Delaware): centradas en móvil */
@media (max-width:860px){
  .ep-sedes{
    grid-template-columns:1fr !important;
    justify-items:center !important;
    text-align:center !important;
  }
  .ep-sede{
    width:100% !important;
    padding:18px 16px !important;
    text-align:center !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
  }
  .ep-sede i{
    display:block !important;
    margin:0 auto !important;
  }
  .ep-sede b,
  .ep-sede span{
    text-align:center !important;
  }
}
/* Desarrolladores: terminal + webhook centrados y más juntos (móvil) */
@media (max-width:860px){
  .dv-visual{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    padding-right:0 !important;
    padding-left:0 !important;
    gap:12px !important;
  }
  .dv-win{
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
  }
  .dv-hook{
    position:relative !important;
    right:auto !important;
    left:auto !important;
    bottom:auto !important;
    top:auto !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    margin-top:0 !important;
    box-sizing:border-box !important;
  }
}
/* Footer logo = mismo SVG y misma acción que el header */
.ft-logo{
  cursor:pointer;
  display:inline-flex;
  align-items:center;
}
.ft-logo img.logo-light,
.ft-logo img{
  height:20px !important;
  width:auto !important;
  max-width:140px !important;
  display:block !important;
}
/* Timeline howto: número centrado en la línea vertical (fs-num 28px en columna 48px) */
.flow-steps .fs-num{
  justify-self:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.flow-steps .fs-spine{
  left:24px !important; /* centro de la columna de 48px */
  width:2px !important;
  transform:translateX(-50%) !important;
}
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  .flow-steps .fs-spine{
    left:19px !important; /* centro de la columna de 38px en móvil */
  }
}
/* —— Scroll fluido (desktop + móvil) —— */
/* Un solo scrollport también en desktop (no solo en el MQ móvil). */
html:not(.tp-offline),
html{
  overflow-x:hidden !important;
  overflow-y:scroll !important;
  scroll-behavior:auto !important;
}
html:not(.tp-offline) body,
html body{
  overflow:visible !important;
  overflow-x:clip !important;
  overflow-y:visible !important;
}
html.tp-scrolling .site-top,
html.tp-scrolling nav,
html.tp-scrolling nav.scrolled,
html.tp-scrolling nav.on-dark,
html.tp-scrolling .sc-rail,
html.tp-scrolling .sc-pill{
  transition:none !important;
}
/* Durante la rueda: blur grande = paint caro; bajar radio mientras scrollea. */
html.tp-scrolling .hv-aura{
  filter:blur(40px) !important;
}
/* sombras grandes en sticky de baraja: más baratas al scrollear */
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  .modules-section .bento-tile,
  .bento-tile{
    box-shadow:0 -8px 20px rgba(0,0,0,0.28) !important;
    will-change:transform !important;
  }
}
/* no content-visibility en secciones: rompe sticky (FAQ, legal, etc.) */

/* —— Contraste final de las tarjetas de módulos (después de todo lo demás) —— */
.bento-tile .bt-screen .bx-total,
.bento-tile .bt-screen .sl-amt,
.bento-tile .bt-screen .an-tag,
.bento-tile .bt-screen .fs-stamp:not(.wait){
  color:#16A34A !important;
  -webkit-text-fill-color:#16A34A !important;
}
.bento-tile .bt-screen .sh-price,
.bento-tile .bt-screen .bx-btn.ghost,
.bento-tile .bt-screen .us-segs span.on{
  color:var(--orange, #FF8A06) !important;
  -webkit-text-fill-color:var(--orange, #FF8A06) !important;
}
.bento-tile .bt-screen .sh-price i,
.bento-tile .bt-screen .us-more,
.bento-tile .bt-screen .us-segs span:not(.on),
.bento-tile .lb-phone,
.bento-tile .lb-phone *,
.bento-tile .lb-stat,
.bento-tile .lb-stat *,
.bento-tile .wl-m,
.bento-tile .wl-m *{
  color:#0A0A0A !important;
  -webkit-text-fill-color:#0A0A0A !important;
}
.bento-tile .lb-av,
.bento-tile .lb-name i,
.bento-tile .lb-btn.primary,
.bento-tile .lb-btn.primary span,
.bento-tile .lb-btn.primary em,
.bento-tile .bt-screen .mp-btn,
.bento-tile .bt-screen .bx-btn:not(.ghost),
.bento-tile .bt-screen .us-cluster span:not(.us-more),
.bento-tile .bt-screen .af-pos,
.bento-tile .bt-screen .sl-m,
.bento-tile .bt-screen .cp-link i{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.bento-tile .wl-card,
.bento-tile .wl-card *,
.bento-tile .ag-cr,
.bento-tile .ag-cr *{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  opacity:1 !important;
}
.bento-tile .wl-live,
.bento-tile .wl-live *{
  color:#22C55E !important;
  -webkit-text-fill-color:#22C55E !important;
}
.bento-tile .fs-stamp.wait{
  color:#B07B17 !important;
  -webkit-text-fill-color:#B07B17 !important;
}

/* Link Bio de la tarjeta: teléfono crema (el mock de /bio pinta .lb-phone de negro) */
.bento-tile .lb-wrap{
  position:relative !important;
  overflow:visible !important;
}
.bento-tile .lb-phone{
  width:150px !important;
  max-width:100% !important;
  margin:0 auto !important;
  background:#F9F6F2 !important;
  border:1px solid #E8E4DE !important;
  border-radius:22px 22px 0 0 !important;
  padding:0 12px !important;
  box-shadow:none !important;
  position:relative !important;
  z-index:0 !important;
}
.bento-tile .lb-cover{
  height:44px !important;
  margin:0 -12px 0 !important;
  background:linear-gradient(120deg,#FFAB40,#E3A033) !important;
}
.bento-tile .lb-av{
  width:46px !important;
  height:46px !important;
  margin:-23px auto 8px !important;
  background:linear-gradient(160deg,#2A2724,#0F0F0F) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-size:13px !important;
  border:3px solid #fff !important;
}
.bento-tile .lb-name{
  font-size:12.5px !important;
  color:#0A0A0A !important;
  -webkit-text-fill-color:#0A0A0A !important;
}
.bento-tile .lb-btn{
  padding:9px 11px !important;
  border-radius:100px !important;
  margin-bottom:7px !important;
  background:#F9F6F2 !important;
  border:1px solid #E8E4DE !important;
  color:#0A0A0A !important;
  -webkit-text-fill-color:#0A0A0A !important;
}
.bento-tile .lb-btn span,
.bento-tile .lb-btn em{
  color:#0A0A0A !important;
  -webkit-text-fill-color:#0A0A0A !important;
}
.bento-tile .lb-btn.primary,
.bento-tile .lb-btn.primary span,
.bento-tile .lb-btn.primary em{
  background:var(--orange, #FF8A06) !important;
  border-color:transparent !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.bento-tile .lb-stat{
  position:absolute !important;
  z-index:4 !important;
  background:#F9F6F2 !important;
  border:1px solid #E8E4DE !important;
}

/* CTA naranja bajo los módulos: botón píldora, más grande, crema sobre naranja */
.bento-cta .btn,
.bento-cta button.btn{
  height:56px !important;
  min-height:56px !important;
  padding:0 32px !important;
  border-radius:9999px !important;
  font:700 16px/1 var(--font, inherit) !important;
  background:#F9F6F2 !important;
  color:#E8480F !important;
  -webkit-text-fill-color:#E8480F !important;
  border:none !important;
  box-shadow:none !important;
  flex-shrink:0 !important;
  white-space:nowrap !important;
}
.bento-cta .btn .i-arrow,
.bento-cta .btn svg{
  width:18px !important;
  height:18px !important;
  stroke:#E8480F !important;
  color:#E8480F !important;
}
.bento-cta .btn:hover{
  background:#fff !important;
  color:#E8480F !important;
  -webkit-text-fill-color:#E8480F !important;
  transform:scale(1.03) !important;
  filter:none !important;
}

/* Precios: «Ver cómo lo cobramos» — píldora (anti-slop lo deja a 6px) */
.fr-section .fr-txt .btn,
.fr-txt > .btn{
  border-radius:9999px !important;
}

/* CTA de cierre en todas las páginas: píldora grande (anti-slop deja .cta-section .btn.white a 6px / 40px) */
.cta-section .btn,
.cta-section a.btn,
.cta-section button.btn,
.cta-section .btn.white,
.cta-section a.btn.white,
.cta-section button.btn.white,
.cta-section .btn.hero-btn-outline-light,
.cta-final .btn,
.cta-final a.btn,
.cta-final button.btn,
.cta-final .cf-ghost,
.cta-final .btn--secondary,
.ba-cta-actions .btn{
  height:56px !important;
  min-height:56px !important;
  padding:0 32px !important;
  border-radius:9999px !important;
  font:600 16px/1 var(--font, inherit) !important;
}
.cta-section .btn .i-arrow,
.cta-section .btn svg,
.cta-final .btn .i-arrow,
.cta-final .btn svg{
  width:18px !important;
  height:18px !important;
}

/* CTAs de marketing en toda la web: píldora. Gana a anti-slop / tp-hero 6px. */
html body .btn,
html body a.btn,
html body button.btn,
html body .btn.white,
html body a.btn.white,
html body button.btn.white,
html body .btn:not(.white),
html body .tp-hero-btn,
html body .tp-hero-btn.btn,
html body .nav-cta,
html body a.nav-cta,
html body .navright > a.nav-cta,
html body .mob-cta,
html body .cf-ghost,
html body .pg-btn,
html body .pg-btn.pri,
html body .pg-btn.sec,
html body .dx-btn,
html body .dx-btn.pri,
html body .dx-btn.sec,
html body .jn-cta,
html body .cx-cta-btn,
html body .co-link,
html body a.co-link,
html body .mega-foot-btn,
html body .tp-hero-jump,
html body .pv-btn{
  border-radius:9999px !important;
}

/* Anclas: con header compacto no reservar altura del anuncio (hueco blanco) */
html.tp-scrolled section[id],
html.tp-scrolled article[id],
html body .site-top.is-compact ~ * section[id],
.site-top.is-compact ~ main section[id]{
  scroll-margin-top:calc(var(--nav-sticky, 56px) + 8px) !important;
}
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  html.tp-scrolled #sec-equipo-marketing,
  html.tp-phone #sec-equipo-marketing,
  html.tp-mobile-ui #sec-equipo-marketing{
    scroll-margin-top:calc(var(--nav-sticky, 56px) + 4px) !important;
  }
}

/* Móvil: heroes de landings — el header ya es sticky en flujo;
   no sumar --tope-h ni padding enorme otra vez (tp-hero, pg, dx, jn, ct, home) */
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  html body .tp-hero{
    padding-top:40px !important;
    padding-bottom:48px !important;
  }
  html body .pg-wrap,
  html body .pg-wrap.pg-tight,
  html body .dx-wrap,
  html body .ct-wrap,
  html body .ep-hero{
    padding-top:40px !important;
    padding-bottom:48px !important;
  }
  html body .jn-hero{
    padding-top:40px !important;
    padding-bottom:48px !important;
  }
  html body .hero.hero-v3,
  html body .hero.hero-light.hero-v3,
  html.tp-mobile-ui body .hero.hero-v3{
    padding-top:24px !important;
    padding-bottom:32px !important;
  }
  html.sv-iphone body .ct-wrap{
    padding-top:40px !important;
  }
}

/* Móvil: Explora TipsterPage — puntos y textos más pequeños */
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  html body .tp-explore-list li{
    padding:7px 0 7px 20px !important;
    font-size:14px !important;
    line-height:1.4 !important;
  }
  html body .tp-explore-list li::before{
    width:7px !important;
    height:7px !important;
    margin-top:-3.5px !important;
    border-radius:1.5px !important;
  }
  html body .tp-explore-list a{
    font-size:14px !important;
    font-weight:500 !important;
  }
}

/* Móvil: pastillas de precios en grid 2×2 */
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  html body .fr-list{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }
  html body .fr-list span{
    width:100% !important;
    justify-content:center !important;
    text-align:center !important;
    box-sizing:border-box !important;
  }
  html body .sc-chan{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:8px !important;
    align-self:stretch !important;
  }
  html body .sc-chan span{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-width:0 !important;
    min-height:36px !important;
    padding:8px 10px !important;
    text-align:center !important;
    box-sizing:border-box !important;
  }
  html body .wr-meta{
    display:flex !important;
    flex-wrap:nowrap !important;
    flex-direction:row !important;
    gap:5px !important;
    overflow:visible !important;
  }
  html body .wr-meta span{
    flex:0 1 auto !important;
    white-space:nowrap !important;
    font-size:clamp(9.5px, 2.55vw, 11px) !important;
    padding:5px 8px !important;
  }
  html body .sec-badges{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    justify-content:stretch !important;
  }
  html body .sec-badges span{
    width:100% !important;
    text-align:center !important;
    box-sizing:border-box !important;
  }
}

/* Móvil: CTA checkout en una sola línea */
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  html body a.co-link,
  html body .fus-band a.co-link,
  html body .co-grid a.co-link,
  html body .co-feats a.co-link,
  html body .co-link{
    display:flex !important;
    white-space:nowrap !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    width:fit-content !important;
    max-width:100% !important;
    height:42px !important;
    min-height:42px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding:0 14px !important;
    gap:5px !important;
    font:600 clamp(11.5px, 3.1vw, 13.5px)/1 var(--font, inherit) !important;
  }
  html body a.co-link .i-arrow,
  html body a.co-link svg,
  html body .co-link .i-arrow,
  html body .co-link svg{
    width:14px !important;
    height:14px !important;
    flex-shrink:0 !important;
  }
}

/* Hero de landings: CTA más grande (mismo tamaño que los de cierre) */
html body .tp-hero-btn,
html body .tp-hero-btn.btn,
html body .tp-hero-cta .btn,
html body .tp-hero-cta a.btn,
html body .tp-hero-cta button.btn{
  height:56px !important;
  min-height:56px !important;
  padding:0 32px !important;
  font:600 16px/1 var(--font, inherit) !important;
}
html body .tp-hero-btn .i-arrow,
html body .tp-hero-btn svg,
html body .tp-hero-cta .btn .i-arrow,
html body .tp-hero-cta .btn svg{
  width:18px !important;
  height:18px !important;
}

/* Cita Yahoo Finance: texto justificado y centrado; cite abajo a la izquierda */
html body .ep-quote{
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  align-items:stretch !important;
  text-align:left !important;
  padding:clamp(26px,3vw,40px) !important;
  box-sizing:border-box;
  height:100%;
}
html body .ep-quote p{
  margin-top:auto !important;
  margin-bottom:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  flex:0 0 auto;
  font-size:clamp(22px,2.6vw,34px) !important;
  line-height:1.18 !important;
  letter-spacing:-0.045em !important;
  word-spacing:-0.08em !important;
  max-width:none !important;
  text-align:justify !important;
  text-align-last:left !important;
  text-justify:inter-word;
  text-wrap:pretty;
}
html body .ep-quote cite{
  margin-top:auto !important;
  text-align:left !important;
  align-self:flex-start !important;
}

/* Módulos: misma altura por fila en desktop (el mock rellena el hueco) */
@media (min-width:861px){
  html body .bento{
    align-items:stretch !important;
  }
  html body .bento-tile{
    height:100%;
    display:flex !important;
    flex-direction:column !important;
  }
  html body .bento-tile .bt-head{
    flex:0 0 auto;
  }
  html body .bento-tile .bt-screen{
    flex:1 1 auto;
    min-height:250px;
    margin-top:auto;
  }
}
/* Móvil: no forzar 250px; respeta el max-height del mock */
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  html body .bento-tile .bt-screen{
    min-height:0 !important;
    max-height:176px !important;
    flex:0 0 auto !important;
  }
}

/* Métodos de pago: la ficha se ajusta al logo, sin hueco */
html body .method-stage{
  --mg-chip-h:90px;
}
html body .method-chip{
  padding:7px 6px 6px !important;
  gap:4px !important;
  justify-content:center !important;
}
html body .method-chip .mi{
  height:56px !important;
  min-height:56px !important;
  max-height:56px !important;
}
html body .method-chip .ml{
  min-height:0 !important;
}
html body .method-chip .mi.mi-logo .brand-svg svg,
html body .method-chip .mi.mi-logo .brand-svg img{
  height:calc(var(--bh, 14px) * 1.45) !important;
  max-height:78% !important;
  max-width:88% !important;
}
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  html body .method-stage{
    --mg-chip-h:86px;
  }
}

/* Checkout: la burbuja del pack, centrada en el mock de Telegram */
html body .ck-mock-chat .ck-msg{
  margin-top:auto !important;
  margin-bottom:auto !important;
}

/* Checkout: las tres fichas del mock izquierdo, centradas */
html body .ck-mock:not(.ck-mock-chat) > .ck-field:nth-child(2){
  margin-top:auto !important;
}
html body .ck-mock:not(.ck-mock-chat) > .ck-link{
  margin-bottom:auto !important;
}

/* Suscripciones: el contenido del bot, centrado bajo la línea */
html body .sub-bot{
  display:flex !important;
  flex-direction:column !important;
  height:100%;
}
html body .sub-bot-head{
  flex:0 0 auto;
}
html body .sub-events{
  margin-top:auto !important;
}
html body .sub-kpis{
  margin-bottom:auto !important;
}

/* Wallet: checks verdes en “0 € de comisión”, no el carácter roto */
html body .wr-points li::before{
  content:'' !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 13 9.5 17.5 19 7'/%3E%3C/svg%3E"),
    linear-gradient(160deg,#4ADE80,#16A34A);
  background-repeat:no-repeat;
  background-position:center, 0 0;
  background-size:11px 11px, 100% 100%;
}

/* CRM: el contenido de la tarjeta verde, centrado en el hueco */
html body .crm-own-grid{
  align-items:stretch !important;
}
html body .crm-promise{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-self:stretch !important;
  box-sizing:border-box !important;
  min-height:100% !important;
  height:100% !important;
}
html body .crm-promise-ico{
  margin-top:0 !important;
}
html body .crm-promise-list{
  margin-bottom:0 !important;
}

/* Agencia: mismas alturas; iconos arriba como antes */
html body .adp-grid{
  align-items:stretch !important;
}
html body .adp-card{
  align-items:flex-start !important;
  height:100%;
}

/* Meta Ads: Reels/TikTok centrada bajo el mock de Feed */
html body .svc-stack .ad-piece:last-child{
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Precios: el bloque derecho, centrado a la tarjeta 0€ */
html body .pz-wrap{
  align-items:center !important;
}

/* Móvil: tarjeta verde de recomendación (legacy tops UI; tpr-tops.js not enqueued) */
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  html body .tpr-dest{
    grid-template-columns:1fr !important;
    gap:14px !important;
    padding:16px !important;
    border-radius:18px !important;
    margin-bottom:18px !important;
  }
  html body .tpr-dest__logo{
    width:118px !important;
    height:52px !important;
    border-radius:12px !important;
  }
  html body .tpr-dest__letra{
    font-size:18px !important;
  }
  html body .tpr-dest__cuerpo{
    gap:10px !important;
  }
  html body .tpr-dest__et{
    height:24px !important;
    padding:0 10px !important;
    font-size:10.5px !important;
    letter-spacing:.06em !important;
  }
  html body .tpr-dest__tit{
    font-size:17px !important;
    line-height:1.25 !important;
  }
  html body .tpr-dest__bono{
    font-size:13.5px !important;
  }
  html body .tpr-dest__razones{
    grid-template-columns:1fr !important;
    gap:7px !important;
  }
  html body .tpr-dest__razones li{
    font-size:13px !important;
    line-height:1.4 !important;
    gap:8px !important;
  }
  html body .tpr-dest__tic{
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    min-height:16px !important;
  }
  html body .tpr-dest__tic svg{
    width:9px !important;
    height:9px !important;
  }
  html body .tpr-dest__acc{
    flex-direction:column !important;
    align-items:stretch !important;
    gap:8px !important;
    margin-top:4px !important;
  }
  html body .tpr-dest__acc .tpr-ir,
  html body .tpr-dest__acc .tpr-dest__ver{
    width:100% !important;
    height:42px !important;
    padding:0 16px !important;
    font-size:13.5px !important;
    box-sizing:border-box !important;
  }
}

/* Móvil: Nombre y Email del formulario de contacto, uno debajo de otro */
@media (max-width:860px),
((hover: none) and (pointer: coarse) and (orientation: portrait)),
((any-pointer: coarse) and (orientation: portrait) and (max-width:1400px)){
  html body .ct-row{
    grid-template-columns:1fr !important;
  }
}

/* Suscripciones: canales 2×2 siempre que la UI sea móvil (tp-mobile-ui ≤900px) */
html.tp-mobile-ui body .sc-chan,
html.tp-phone body .sc-chan,
html.tp-ar-mobile body .sc-chan{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:8px !important;
  align-self:stretch !important;
}
html.tp-mobile-ui body .sc-chan span,
html.tp-phone body .sc-chan span,
html.tp-ar-mobile body .sc-chan span{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-width:0 !important;
  min-height:36px !important;
  padding:8px 10px !important;
  text-align:center !important;
  box-sizing:border-box !important;
}