/* MOBILE-PUBLIC-COMPRESSION-1.0
   Capa pública de compresión mobile. No cambia lógica: reduce altura visual, fuerza columnas simples y evita scroll horizontal. */
:root{--rh-mobile-public-compression-pass:"MOBILE-PUBLIC-COMPRESSION-1.0";}

@media (max-width: 820px){
  html{scroll-padding-top:16px;}
  body{overflow-x:hidden;}
  .rh-container,.rhpe-container,.ped-container,.rh-cux-container,.rh-cux-team-container,.rh-cux-pricing-container,.rh-ranking-container,.rh-pay-shell{
    width:min(100% - 28px, 1120px)!important;
    max-width:calc(100vw - 28px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .rh-hero,.rhpe-hero,.ped-hero,.rh-cux-hero,.rh-cux-team-hero,.rh-cux-pricing-hero,.rh-ranking-hero,.rh-pay-page{
    padding-top:24px!important;
    padding-bottom:24px!important;
  }
  .rh-hero-inner,.rhpe-hero-inner,.ped-hero__content,.rh-cux-hero-inner,.rh-cux-team-hero-inner,.rh-cux-pricing-hero-inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .rh-hero-copy h1,.rhpe-hero-copy h1,.ped-hero__copy h1,.rh-cux-hero-copy h1,.rh-cux-team-hero-copy h1,.rh-cux-pricing-hero-copy h1,.rh-ranking-hero h1,.rh-pay-title{
    font-size:clamp(30px, 8vw, 42px)!important;
    line-height:1.02!important;
    letter-spacing:-.045em!important;
    margin-bottom:10px!important;
  }
  .rh-hero-copy p,.rhpe-hero-copy p,.ped-hero__copy p,.rh-cux-hero-copy p,.rh-cux-team-hero-copy p,.rh-cux-pricing-hero-copy p,.rh-ranking-hero p,.rh-pay-lead{
    font-size:15px!important;
    line-height:1.5!important;
    max-width:58ch!important;
  }
  .rh-actions,.rhpe-hero-actions,.ped-hero__actions,.rh-cux-hero-actions,.rh-cux-team-hero-actions,.rh-cux-pricing-hero-actions,.rh-pay-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
  }
  .rh-btn,.rhpe-btn,.ped-btn,.rh-cux-btn,.rh-cux-team-btn,.rh-cux-pricing-btn,.rh-pay-btn,.rh-ranking-action-link{
    width:100%!important;
    min-height:46px!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .rh-section,.rhpe-section,.ped-section,.rh-cux-section,.rh-cux-team-section,.rh-cux-pricing-section,.rh-ranking-section{
    padding-top:28px!important;
    padding-bottom:28px!important;
  }
  .rh-section-head,.rhpe-section-head,.ped-section-head,.rh-cux-section-head,.rh-cux-team-section-head,.rh-cux-pricing-section-head{
    margin-bottom:16px!important;
  }
  .rh-section-head h2,.rhpe-section-head h2,.ped-section-head h2,.rh-cux-section-head h2,.rh-cux-team-section-head h2,.rh-cux-pricing-section-head h2{
    font-size:clamp(24px, 7vw, 34px)!important;
    line-height:1.08!important;
  }
}

@media (max-width: 760px){
  .rh-home-focus-grid,.rh-feature-grid,.rh-flow-grid,.rh-commercial-grid,.rh-split-grid,.rh-quick-links,
  .rhpe-events-grid,.rhpe-events-grid-featured,.rhpe-events-grid-reco,.rhpe-ecosystem-grid,.rhpe-kpis,.rhpe-select-filters,
  .ped-content-grid,.ped-distance-grid,.ped-highlight-grid,.ped-include-grid,.ped-decision-grid,.ped-event-ecosystem-grid,
  .rh-rankings-human-guide,.rh-rankings-podium-grid,.rh-rankings-quick-actions,.rh-ranking-components,
  .rh-cux-value-grid,.rh-cux-flow-grid,.rh-cux-start-grid,.rh-cux-fit-grid,.rh-cux-compare-grid,.rh-cux-ecosystem-grid,.rh-cux-split-grid,
  .rh-cux-team-value-grid,.rh-cux-team-flow-grid,.rh-cux-team-integrity-grid,.rh-cux-team-compare-grid,.rh-cux-team-ecosystem-grid,.rh-cux-team-split-grid,
  .rh-cux-pricing-model-grid,.rh-cux-pricing-flow-grid,.rh-cux-pricing-policy-grid,.rh-cux-pricing-value-grid,.rh-cux-pricing-admin-grid,.rh-cux-pricing-split-grid,
  .rh-pay-grid,.rh-pay-state-guide,.rh-pay-summary,.rh-pay-wait-steps{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .rh-card,.rh-home-focus-card,.rh-feature,.rh-commercial-card,
  .rhpe-featured,.rhpe-recommended,.rhpe-organizer-cta,
  .ped-distance-card,.ped-include-card,.ped-decision-panel,.ped-event-ecosystem-card,
  .rh-ranking-board,.rh-ranking-item,.rh-rankings-podium-card,
  .rh-cux-value-card,.rh-cux-flow-card,.rh-cux-start-card,.rh-cux-fit-card,.rh-cux-compare-card,.rh-cux-ecosystem-card,
  .rh-cux-team-value-card,.rh-cux-team-flow-card,.rh-cux-team-policy-card,.rh-cux-team-demo-card,.rh-cux-team-ecosystem-card,
  .rh-cux-pricing-model-card,.rh-cux-pricing-flow-card,.rh-cux-pricing-policy-card,.rh-cux-pricing-money-card,
  .rh-pay-card,.rh-pay-notice,.rh-pay-wait-panel{
    border-radius:18px!important;
    padding:16px!important;
  }
  .rh-nav,.rhpe-navbar,.rh-cux-nav,.rh-cux-team-nav,.rh-cux-pricing-nav{
    position:static!important;
  }
  .rh-nav-links,.rhpe-navlinks,.rh-cux-nav-links,.rh-cux-team-nav-links,.rh-cux-pricing-nav-links{
    display:none!important;
  }
  .rh-nav-actions,.rhpe-authlinks,.rh-cux-nav-actions,.rh-cux-team-nav-actions,.rh-cux-pricing-nav-actions{
    gap:8px!important;
  }
  .rhpe-filter-inner,.rhpe-filter-inner-compact,.rhpe-filters-compact{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .rhpe-search,.rhpe-search-field,.rhpe-advanced-filters summary{
    width:100%!important;
  }
  .rhpe-discipline-chips,.rh-ranking-chips,.rh-rankings-mode-nav,.rh-rankings-entity-tabs{
    display:flex!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:8px!important;
    scroll-snap-type:x proximity;
  }
  .rhpe-chip,.rh-ranking-chips a,.rh-rankings-mode-nav a,.rh-rankings-entity-tabs a{
    flex:0 0 auto!important;
    scroll-snap-align:start;
  }
  .rh-ranking-board,.rh-ranking-list,.ped-content-main,.rh-pay-card{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .rh-ranking-item,.rh-ranking-row-main{
    min-width:0!important;
  }
  .rh-ranking-meta,.rh-rankings-active-filters,.rhpe-filter-summary,.ped-badge-row{
    flex-wrap:wrap!important;
  }
  .ped-sticky-cta,.ped-mobile-cta,.rh-pay-live{
    left:12px!important;
    right:12px!important;
    bottom:max(12px, env(safe-area-inset-bottom))!important;
    width:auto!important;
  }
}

@media (max-width: 520px){
  .rh-hero-mock,.rh-floating-card,.rh-cux-hero-panel,.rh-cux-team-hero-panel,.rh-cux-pricing-hero-panel{
    transform:none!important;
  }
  .rh-metrics,.rh-cux-metrics,.rh-cux-team-metrics,.rh-cux-pricing-metrics{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .rhpe-result-count-compact,.rhpe-filter-summary,.rh-ranking-actions,.rh-pay-actions{
    align-items:stretch!important;
  }
  .ped-hero__media,.rh-hero-mock,.rh-cux-demo,.rh-cux-team-demo-card,.rh-cux-pricing-demo{
    margin-top:4px!important;
  }
  .rh-home-secondary,.rh-cux-reassurance,.rh-cux-team-integrity,.rh-cux-pricing-note{
    font-size:13px!important;
    line-height:1.45!important;
  }
}

@media (prefers-reduced-motion: reduce), (max-width: 760px){
  .rh-reveal,.rh-cux-reveal,.rh-cux-team-reveal,.rh-cux-pricing-reveal,.ped-hero__orb,.rh-hero-bg,.rhpe-hero-bg,.rh-cux-hero-bg,.rh-cux-team-hero-bg,.rh-cux-pricing-hero-bg{
    animation:none!important;
    transition:none!important;
  }
}
