/* OneScreen Países: selector y modal. Fondos en gris #FAFAFA (nunca blanco puro). */
.osp-sel{position:relative;display:inline-block;font-family:Rubik,Manrope,Arial,sans-serif}
.osp-sel-btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:39px;padding:0 12px;color:inherit;cursor:pointer;border-radius:8px}
.osp-sel-btn:focus-visible{outline:2px solid #3976ff;outline-offset:2px}
.osp-flag{display:inline-block;flex:none;box-sizing:border-box;overflow:hidden;background:#FAFAFA;border:1px solid rgba(26,26,26,.16);vertical-align:middle}
.osp-flag img{display:block;width:100%;height:100%;object-fit:cover}
.osp-flag-s{width:26px;height:20px;border-radius:3px;border-color:rgba(128,128,128,.55)}
.osp-flag-m{width:36px;height:27px;border-radius:4px}
.osp-flag-b{width:24px;height:18px;border-radius:3px}
.osp-chev{transition:transform .15s}
.osp-sel-btn[aria-expanded=true] .osp-chev{transform:rotate(180deg)}

.osp-panel{position:absolute;z-index:99999;top:calc(100% + 8px);right:0;width:344px;max-width:calc(100vw - 24px);box-sizing:border-box;background:#FAFAFA;border:1px solid #e6e9ee;border-radius:14px;padding:10px;color:#1a1a1a;text-align:left;box-shadow:0 12px 40px rgba(11,13,18,.18);font-family:Rubik,Manrope,Arial,sans-serif;line-height:1.3}
.osp-panel[hidden]{display:none}
.osp-panel *{box-sizing:border-box}
.osp-h{padding:12px 12px 10px;font-size:20px;font-weight:300;letter-spacing:-.02em;display:flex;align-items:center;gap:10px;color:#1a1a1a}
.osp-h b{font-weight:700}
.osp-back{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:#1f56d6;padding:4px 8px;border-radius:6px;margin:2px 0 0 2px}
.osp-back:hover{background:#eef2fa}
.osp-search{display:flex;align-items:center;gap:10px;height:44px;margin:0 2px 8px;padding:0 14px;border:1px solid #e6e9ee;border-radius:10px;background:#FAFAFA}
.osp-search svg{flex:none}
.osp-search input{all:unset;flex:1;min-width:0;font:400 15px Manrope,Arial,sans-serif;color:#1a1a1a}
.osp-search:focus-within{border-color:#3976ff}
.osp-list{display:flex;flex-direction:column;gap:2px;max-height:226px;overflow-y:auto;overscroll-behavior:contain}
.osp-row{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:14px;min-height:48px;padding:0 12px;border-radius:10px;color:#1a1a1a;cursor:pointer;width:100%}
.osp-row:hover,.osp-row:focus-visible{background:#f0f3f9}
.osp-row.is-cur{background:#eef2fa}
.osp-row .nm{flex:1;font-size:16px;font-weight:500;letter-spacing:-.01em}
.osp-row svg{flex:none;color:#5b6170}
.osp-row.is-cur svg{color:#1f56d6}
.osp-hr{height:1px;background:#e6e9ee;margin:6px 12px}
.osp-more{margin-top:6px;border-top:1px solid #e6e9ee;padding-top:6px}
.osp-more .osp-row{color:#1f56d6}
.osp-more .osp-row svg{color:#1f56d6}
.osp-empty{padding:18px 14px;font-size:14px;color:#5b6170}
.osp-note{padding:6px 12px 12px;display:flex;flex-direction:column;gap:14px}
.osp-note p{margin:0;font:400 15px/1.6 Manrope,Arial,sans-serif;color:#3b4150}

.osp-btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:42px;padding:0 22px;border-radius:5px;background:#3976ff;color:#fff;font:700 14px Manrope,Arial,sans-serif;cursor:pointer;white-space:nowrap;text-decoration:none}
.osp-btn:hover{background:#1f56d6;color:#fff}
.osp-btn:focus-visible{outline:2px solid #1f56d6;outline-offset:2px}
.osp-btn.osp-tx{background:transparent;color:#1a1a1a;padding:0 8px}
.osp-btn.osp-tx:hover{background:#f0f3f9;color:#1a1a1a}
.osp-btn svg{display:block;flex:none}
.osp-link{all:unset;display:inline-flex;align-items:center;gap:8px;font:500 15px Rubik,Arial,sans-serif;color:#1f56d6;cursor:pointer}
.osp-link:hover{text-decoration:underline}

.osp-ov{position:fixed;inset:0;z-index:100000;background:rgba(11,13,18,.72);display:flex;align-items:center;justify-content:center;padding:16px;opacity:0;transition:opacity .2s}
.osp-ov.is-in{opacity:1}
.osp-modal{position:relative;width:900px;max-width:100%;max-height:calc(100vh - 32px);overflow:auto;display:flex;gap:44px;padding:12px;background:#FAFAFA;border:1px solid #e6e9ee;border-radius:20px;color:#1a1a1a;font-family:Rubik,Manrope,Arial,sans-serif;transform:translateY(8px);transition:transform .2s}
.osp-ov.is-in .osp-modal{transform:none}
.osp-modal *{box-sizing:border-box}
.osp-modal.no-img{width:560px;gap:0}
.osp-ph{flex:0 0 360px;width:360px;min-height:420px;object-fit:cover;object-position:70% 50%;border-radius:14px;align-self:stretch}
.osp-mb{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:36px 36px 36px 0}
.no-img .osp-mb{padding:36px}
.osp-mb h2{margin:0;padding-right:44px;font-size:40px;line-height:1.04;letter-spacing:-.03em;font-weight:700;color:#1a1a1a}
.osp-mb h2 span{font-weight:300}
.osp-mb p{margin:0;font:400 16px/1.65 Manrope,Arial,sans-serif;color:#3b4150;max-width:420px}
.osp-acts{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.osp-x{all:unset;position:absolute;top:24px;right:24px;width:44px;height:44px;box-sizing:border-box;border:1px solid #e6e9ee;border-radius:5px;background:#FAFAFA;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.osp-x:hover{background:#f0f3f9}
.osp-modal .osp-list{max-height:260px}
.osp-modal .osp-row{background:transparent}
.osp-modal .osp-row.is-cur{background:#eef2fa}
@media (max-width:760px){
 .osp-modal{flex-direction:column;gap:0;width:100%}
 .osp-ph{display:none}
 .osp-mb,.no-img .osp-mb{padding:28px 20px 20px}
 .osp-mb h2{font-size:30px}
 .osp-panel{position:fixed;top:64px;left:12px;right:12px;width:auto}
}
@media (prefers-reduced-motion:reduce){.osp-ov,.osp-modal,.osp-chev{transition:none}}

.osp-sel .osp-sel-btn,.osp-sel .osp-sel-btn:hover,.osp-sel .osp-sel-btn:focus,.osp-sel .osp-sel-btn:active{background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;text-decoration:none!important}
.osp-sel .osp-sel-btn:hover{background:rgba(255,255,255,.14)!important}
.osp-sel .osp-chev{color:currentColor}

/* Blindaje contra los estilos de botón/campo del tema (hello-elementor pinta [type=button] de rosa) */
html body .osp-panel button,html body .osp-ov button{border:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal;text-shadow:none!important;margin:0!important;font-family:Manrope,Arial,sans-serif;line-height:1.2;min-width:0;-webkit-appearance:none;appearance:none}
html body .osp-panel .osp-row,html body .osp-ov .osp-row{display:flex!important;align-items:center!important;gap:14px;width:100%;min-height:48px;padding:0 12px!important;border-radius:10px!important;background:transparent!important;color:#1a1a1a!important;text-align:left;font-size:16px;font-weight:500}
html body .osp-panel .osp-row:hover,html body .osp-panel .osp-row:focus-visible,html body .osp-ov .osp-row:hover,html body .osp-ov .osp-row:focus-visible{background:#f0f3f9!important;color:#1a1a1a!important}
html body .osp-panel .osp-row.is-cur,html body .osp-ov .osp-row.is-cur{background:#eef2fa!important}
html body .osp-panel .osp-more .osp-row,html body .osp-ov .osp-more .osp-row{color:#1f56d6!important}
html body .osp-panel .osp-more .osp-row:hover{background:#eef2fa!important;color:#1f56d6!important}
html body .osp-panel .osp-back,html body .osp-ov .osp-back{display:inline-flex!important;align-items:center;gap:6px;padding:4px 8px!important;background:transparent!important;color:#1f56d6!important;border-radius:6px!important;font-size:14px;font-weight:500}
html body .osp-panel .osp-back:hover,html body .osp-ov .osp-back:hover{background:#eef2fa!important}
html body .osp-ov .osp-btn,html body .osp-panel .osp-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;height:42px;padding:0 22px!important;border-radius:5px!important;background:#3976ff!important;color:#fff!important;font-size:14px;font-weight:700;white-space:nowrap}
html body .osp-ov .osp-btn:hover,html body .osp-panel .osp-btn:hover{background:#1f56d6!important;color:#fff!important}
html body .osp-ov .osp-btn.osp-tx,html body .osp-panel .osp-btn.osp-tx{background:transparent!important;color:#1a1a1a!important;padding:0 8px!important}
html body .osp-ov .osp-btn.osp-tx:hover,html body .osp-panel .osp-btn.osp-tx:hover{background:#f0f3f9!important;color:#1a1a1a!important}
html body .osp-ov .osp-link,html body .osp-panel .osp-link{display:inline-flex!important;align-items:center;gap:8px;padding:0!important;background:transparent!important;color:#1f56d6!important;font-size:15px;font-weight:500}
html body .osp-ov .osp-link:hover{background:transparent!important;color:#1f56d6!important;text-decoration:underline}
html body .osp-ov .osp-x{display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;padding:0!important;border:1px solid #e6e9ee!important;border-radius:5px!important;background:#FAFAFA!important;color:#1a1a1a!important}
html body .osp-ov .osp-x:hover{background:#f0f3f9!important;color:#1a1a1a!important}
html body .osp-panel .osp-search input,html body .osp-ov .osp-search input{outline:0!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;height:auto!important;width:auto;flex:1;min-width:0;color:#1a1a1a}

/* Tamaños acordes al menú del sitio (~14px) */
html body .osp-panel .osp-h{font-size:16px;padding:10px 12px 8px}
html body .osp-panel .osp-search{height:40px}
html body .osp-panel .osp-search input{font-size:14px}
html body .osp-panel .osp-row,html body .osp-ov .osp-panel .osp-row,html body .osp-ov .osp-row{font-size:14px;min-height:42px;gap:12px}
html body .osp-panel .osp-row .nm,html body .osp-ov .osp-row .nm{font-size:14px;font-weight:600}
html body .osp-panel .osp-back{font-size:13px}
html body .osp-panel .osp-note p{font-size:14px}
html body .osp-panel .osp-btn,html body .osp-ov .osp-btn{font-size:13px;height:40px}
html body .osp-ov .osp-link{font-size:14px}
html body .osp-panel .osp-flag,html body .osp-panel .osp-row img{transform:none}

/* --- Botón del header: más pequeño y centrado con el resto de elementos --- */
.osp-sel{display:inline-flex;align-items:center;line-height:0;vertical-align:middle}
html body .osp-sel .osp-sel-btn{height:34px;padding:0 8px!important;gap:5px;border-radius:7px!important}
.osp-flag-s{width:22px;height:16px;border-radius:3px}
.osp-sel .osp-chev{width:14px;height:14px;opacity:.85}
.elementor-widget-shortcode:has(.osp-sel){align-self:center;margin:0!important}
.elementor-widget-shortcode:has(.osp-sel) .elementor-shortcode{display:flex;align-items:center}

/* --- Animaciones cortas (150-200 ms), sin exagerar --- */
@keyframes ospPop{from{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:none}}
@keyframes ospFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.osp-panel:not([hidden]){animation:ospPop .16s cubic-bezier(.2,.7,.2,1) both;transform-origin:top right}
.osp-panel>*,.osp-mb>*{animation:ospFade .18s ease-out both}
.osp-mb>*:nth-child(2){animation-delay:.03s}.osp-mb>*:nth-child(3){animation-delay:.06s}.osp-mb>*:nth-child(4){animation-delay:.09s}
.osp-row,.osp-btn,.osp-link,.osp-back,.osp-x{transition:background-color .12s ease,color .12s ease,transform .12s ease}
.osp-sel-btn{transition:background-color .15s ease}
.osp-sel-btn:active{transform:scale(.96)}
.osp-btn:active,.osp-row:active{transform:scale(.985)}
.osp-ov{transition:opacity .2s ease}

/* Transición suave entre páginas (navegadores que la soportan: Chrome, Edge, Safari 18.2+): fundido rápido, sin saltos bruscos. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:ospVtOut .14s ease-in both}
::view-transition-new(root){animation:ospVtIn .22s ease-out both}
@keyframes ospVtOut{to{opacity:0}}
@keyframes ospVtIn{from{opacity:0}}
@media (prefers-reduced-motion:reduce){
  .osp-panel:not([hidden]),.osp-panel>*,.osp-mb>*{animation:none}
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
  .osp-row,.osp-btn,.osp-link,.osp-back,.osp-x,.osp-sel-btn{transition:none}
}

/* El tema deja el botón en display:block y descuadra bandera/flecha: se fuerza el centrado. */
html body .osp-sel .osp-sel-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px;line-height:0;vertical-align:middle}
html body .osp-sel .osp-sel-btn>*{display:block!important;margin:0!important;flex:none;align-self:center}
html body .osp-sel .osp-sel-btn .osp-flag{display:block!important;width:22px;height:16px}
html body .osp-sel .osp-sel-btn .osp-flag img{display:block;width:100%;height:100%}
html body .osp-sel .osp-sel-btn .osp-chev{width:14px;height:14px}

/* Puente invisible entre el botón y el panel para que no se cierre al cruzar el espacio con el mouse */
.osp-panel::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}

/* Bandera del botón (data-URI en línea) */
.osp-flag-bg{display:block;width:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat}

/* Header "Bicolor Latam" (2328):
   - flecha blanca en el header transparente (el primero), para que se lea sobre la portada;
   - el segundo header (el que se pega al hacer scroll) arranca oculto hasta que Elementor le aplica su efecto de movimiento;
     sin esto se ve un segundo el menú repetido, porque el HTML llega sin las clases que lo esconden. */
html body .elementor-element-a4e4241 .osp-sel .osp-chev{color:#fff}
html body .elementor-element-fb7f111:not(.elementor-motion-effects-element){opacity:0;pointer-events:none}

/* Primer pintado sin franja: en escritorio/tablet la portada sube 60 px bajo el header; el script la ajusta al valor exacto
   y, si la página no tiene portada con margen negativo, suelta esta regla. */
@media (min-width:768px){
  html body:has([data-elementor-type="wp-page"] > .e-con:first-child) .elementor-location-header{height:60px}
}
