/* Geek Soluciones 1.3.4: lectura cómoda, WhatsApp y menú de apariencia simplificado. */
/* Lectura cómoda en escritorio, margen razonable en móvil. */
.gks-site .gks-article-container{max-width:1120px}
.gks-site .gks-article-hero{max-width:980px;margin-inline:auto}
.gks-site .gks-article-hero>p{max-width:830px}
.gks-site .gks-article-cover{max-width:1030px;margin-inline:auto}
.gks-site .gks-article-reading{max-width:1000px;margin:56px auto 0}
.gks-site .gks-article-reading .gks-article-body{max-width:860px;width:100%;margin:0 auto;min-width:0}
.gks-site .gks-article-end{max-width:860px}
.gks-site .gks-article-reading.has-toc{display:grid;grid-template-columns:195px minmax(0,1fr);gap:30px;align-items:start;max-width:1090px}
.gks-site .gks-article-reading.has-toc .gks-article-body{margin:0;max-width:860px}
.gks-site .gks-article-toc[hidden],.gks-site .gks-wa-tip[hidden]{display:none!important}
.gks-site .gks-article-toc{position:sticky;top:24px;border:1px solid #dbe5f5;border-radius:16px;background:#f6f9fe;padding:18px 16px;box-shadow:0 8px 25px #1026530a;font-size:12px;max-height:calc(100vh - 50px);overflow:auto}
.gks-site .gks-article-toc summary{font-weight:800;color:#17366b;cursor:pointer;line-height:1.5}
.gks-site .gks-article-toc nav{display:grid;gap:9px;margin-top:14px}
.gks-site .gks-article-toc a{color:#476186!important;font-size:12px;line-height:1.45;text-decoration:none!important;overflow-wrap:break-word}
.gks-site .gks-article-toc a:hover,.gks-site .gks-article-toc a:focus-visible{color:#2454c4!important;text-decoration:underline!important}
.gks-site .gks-article-toc a.gks-toc-h3{padding-left:12px;font-size:11px}
.gks-site .gks-article-body :is(h2,h3){scroll-margin-top:28px}
.gks-site .gks-article-body .wp-block-table,.gks-site .gks-article-body .gks-table-scroll,.gks-site .gks-article-body .geek-tabla-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.gks-site .gks-article-body table{max-width:100%}
.gks-site .gks-related-posts{background:#f6f8fd}
.gks-site .gks-related-posts h2{font-size:clamp(26px,3vw,37px);margin-bottom:26px;color:#172751}
/* Botón discreto que abre opciones accesibles; sin <select> comprimido en la cabecera. */
.gks-site .gks-theme-control{position:relative;flex:none;align-self:center;isolation:isolate}
.gks-site .gks-theme-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:101px;min-height:39px;padding:8px 11px!important;border-radius:11px!important;border:1px solid #dae4f1!important;color:#214477!important;background:#f4f7fd!important;font-size:12px!important;font-weight:750!important;line-height:1.15!important;white-space:nowrap;box-shadow:none!important;letter-spacing:0!important}
.gks-site .gks-theme-trigger:hover,.gks-site .gks-theme-trigger[aria-expanded="true"]{background:#eaf1ff!important;border-color:#8faef0!important;color:#1745a0!important}
.gks-site .gks-theme-trigger svg{width:18px;height:18px;flex:none}
.gks-site .gks-theme-trigger .gks-theme-chevron{width:12px;height:12px;transition:transform .16s ease}
.gks-site .gks-theme-trigger[aria-expanded="true"] .gks-theme-chevron{transform:rotate(180deg)}
.gks-site .gks-theme-options[hidden]{display:none!important}
.gks-site .gks-theme-options{position:absolute;right:0;top:calc(100% + 9px);z-index:300;display:grid;gap:3px;width:240px;max-width:calc(100vw - 28px);padding:11px;background:#fff;border:1px solid #e0e7f2;border-radius:15px;box-shadow:0 18px 45px #0d21402c}
.gks-site .gks-theme-options-title{display:block;font-size:11px!important;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#687b99;padding:6px 10px 9px}
.gks-site .gks-theme-choice{width:100%;min-height:53px;display:flex;align-items:center;gap:11px;text-align:left;padding:9px 10px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:#1d3151!important;font-size:13px!important;font-weight:750!important;line-height:1.3!important}
.gks-site .gks-theme-choice:hover,.gks-site .gks-theme-choice:focus-visible{background:#f3f7ff!important}
.gks-site .gks-theme-choice[aria-pressed="true"]{background:#edf3ff!important;border-color:#cbdafb!important;color:#214eb6!important}
.gks-site .gks-theme-choice>svg{width:18px;height:18px;flex:none;color:#496da7}
.gks-site .gks-theme-choice>span:nth-child(2){display:grid;gap:2px;flex:1}
.gks-site .gks-theme-choice small{font-size:11px;font-weight:450;color:#60718e;white-space:normal}
.gks-site .gks-theme-check{opacity:0;font-size:15px;flex:none;color:#2358c3}
.gks-site .gks-theme-choice[aria-pressed="true"] .gks-theme-check{opacity:1}
/* Contacto contextual no invasivo. Un saludo opcional una vez por visita. */
.gks-site .gks-wa-dock{position:fixed;right:24px;bottom:22px;z-index:210;display:grid;justify-items:end;gap:12px;max-width:min(290px,calc(100vw - 28px))}
.gks-site .gks-wa-dock .gks-whatsapp-float{position:static!important;display:flex!important;align-items:center;gap:9px;padding:14px 22px!important;min-height:50px;font-size:14px!important;box-shadow:0 12px 30px #0657372a!important;background:#087c4e!important;border:1px solid #087c4e!important;color:#fff!important;letter-spacing:0!important}
.gks-site .gks-wa-dock .gks-whatsapp-float svg{color:#fff!important}
.gks-site .gks-wa-dock .gks-whatsapp-float:hover{background:#05663e!important;transform:translateY(-2px)}
.gks-site .gks-wa-tip{width:270px;max-width:100%;position:relative;padding:16px 35px 16px 17px;border:1px solid #d4e6df;border-radius:15px;background:#fff;box-shadow:0 14px 35px #0e315329;color:#153d2b;display:grid;gap:5px}
.gks-site .gks-wa-tip strong{font-size:13px;color:#123c2a;line-height:1.4}
.gks-site .gks-wa-tip span{font-size:12px;line-height:1.5;color:#566e65}
.gks-site .gks-wa-dismiss{position:absolute;right:7px;top:5px;padding:5px 8px;background:transparent;border:0;color:#4d6b5c;font-size:22px;line-height:1}
/* Modo oscuro: superficies blancas y textos, sin invertir imágenes ni paneles simulados. */
html[data-gks-theme="dark"]{color-scheme:dark}
html[data-gks-theme="dark"] body.gks-site{background:#09142a!important;color:#e9f1ff!important;--gks-ink:#edf4ff;--gks-muted:#b8cae3;--gks-stroke:#2c4266}
html[data-gks-theme="dark"] .gks-site .gks-header,html[data-gks-theme="dark"] .gks-site .gks-nav{background:#101f38;border-color:#2b3f61}
html[data-gks-theme="dark"] .gks-site .gks-brand-wordmark{color:#f4f8ff}
html[data-gks-theme="dark"] .gks-site .gks-header .gks-brand-icon{filter:brightness(0) invert(1)}
html[data-gks-theme="dark"] .gks-site .gks-nav>a:not(.gks-nav-cta),html[data-gks-theme="dark"] .gks-site .gks-nav-services{color:#dde8fd!important}
html[data-gks-theme="dark"] .gks-site .gks-nav-services:hover{color:#9ab8ff!important}
html[data-gks-theme="dark"] .gks-site .gks-theme-trigger{background:#192f50!important;border-color:#38547b!important;color:#edf4ff!important}
html[data-gks-theme="dark"] .gks-site .gks-theme-trigger:hover,html[data-gks-theme="dark"] .gks-site .gks-theme-trigger[aria-expanded="true"]{background:#223c65!important;border-color:#7196cf!important}
html[data-gks-theme="dark"] .gks-site .gks-theme-options{background:#12233e;border-color:#3b5275;box-shadow:0 18px 48px #0007}
html[data-gks-theme="dark"] .gks-site .gks-theme-options-title{color:#b7c7e1}
html[data-gks-theme="dark"] .gks-site .gks-theme-choice{color:#edf5ff!important}
html[data-gks-theme="dark"] .gks-site .gks-theme-choice>svg{color:#aec7f3}
html[data-gks-theme="dark"] .gks-site .gks-theme-choice small{color:#b0c3dc}
html[data-gks-theme="dark"] .gks-site .gks-theme-choice:hover{background:#213858!important}
html[data-gks-theme="dark"] .gks-site .gks-theme-choice[aria-pressed="true"]{background:#26456e!important;border-color:#5477a8!important;color:#fff!important}
html[data-gks-theme="dark"] .gks-site .gks-theme-check{color:#9cbdff}
html[data-gks-theme="dark"] .gks-site .gks-dropdown-menu{background:#11223e;border-color:#31496e;box-shadow:0 24px 65px #0007}
html[data-gks-theme="dark"] .gks-site .gks-mega-intro{background:#162b4b;border-color:#2b4266}
html[data-gks-theme="dark"] .gks-site .gks-mega-intro strong,html[data-gks-theme="dark"] .gks-site .gks-mega-col>a:not(.gks-mega-promo a){color:#edf4ff}
html[data-gks-theme="dark"] .gks-site .gks-mega-label,html[data-gks-theme="dark"] .gks-site .gks-mega-col>a small{color:#b9c9df}
html[data-gks-theme="dark"] .gks-site .gks-mega-col>a:not(.gks-mega-promo a):hover{background:#21365b;border-color:#354b6e}
html[data-gks-theme="dark"] .gks-site :is(.gks-article,.gks-related-posts,.gks-blog-list,.gks-latest,.gks-services,.gks-section.gks-services,.gks-digital-steps,.gks-section.gks-faq,.gks-editorial-hero-light){background:#09142a;color:#e6efff}
html[data-gks-theme="dark"] .gks-site .gks-article-hero h1,html[data-gks-theme="dark"] .gks-site .gks-article-body :is(h2,h3,h4),html[data-gks-theme="dark"] .gks-site .gks-related-posts h2,html[data-gks-theme="dark"] .gks-site .gks-article-body strong,html[data-gks-theme="dark"] .gks-site .gks-article-end p{color:#f0f5ff}
html[data-gks-theme="dark"] .gks-site .gks-article-body{color:#cbdaf0;--geek-ink:#edf4ff;--geek-border:#314662;--geek-light:#152843}
html[data-gks-theme="dark"] .gks-site :is(.gks-article-hero>p,.gks-article-byline,.gks-article-body figcaption,.gks-article-body .wp-element-caption){color:#b7c8e0}
html[data-gks-theme="dark"] .gks-site .gks-article-byline strong{color:#f2f6ff}
html[data-gks-theme="dark"] .gks-site .gks-article-body :is(a,a:hover){color:#92b7ff}
html[data-gks-theme="dark"] .gks-site .gks-article-back a{color:#a2c1ff}
html[data-gks-theme="dark"] .gks-site .gks-article-toc{background:#142743;border-color:#344e73}
html[data-gks-theme="dark"] .gks-site .gks-article-toc summary{color:#f0f5ff}
html[data-gks-theme="dark"] .gks-site .gks-article-toc a{color:#c1d4ee!important}
html[data-gks-theme="dark"] .gks-site .gks-article-body :is(blockquote,.geek-resumen,.geek-consejo,.geek-indice){background:#152943;border-color:#344f79;color:#d7e5fa}
html[data-gks-theme="dark"] .gks-site .gks-article-body :is(.geek-resumen,.geek-consejo,.geek-indice) :is(p,strong,h2,h3,h4){color:#edf3ff}
html[data-gks-theme="dark"] .gks-site .gks-article-body :is(pre,.wp-block-code){background:#071124;border-color:#394c6b}
html[data-gks-theme="dark"] .gks-site .gks-article-body :not(pre)>code{background:#1e355a;color:#d0e2ff}
html[data-gks-theme="dark"] .gks-site .gks-article-body .wp-block-table{border-color:#33496c}
html[data-gks-theme="dark"] .gks-site .gks-article-body table th{background:#1b3356;color:#f0f6ff;border-color:#375274}
html[data-gks-theme="dark"] .gks-site .gks-article-body table td{background:#13243e;color:#dce8fc;border-color:#375274}
html[data-gks-theme="dark"] .gks-site .gks-article-body table tbody tr:nth-child(even) td{background:#1a304f}
html[data-gks-theme="dark"] .gks-site .gks-article-body table tbody tr:hover td{background:#243a58}
html[data-gks-theme="dark"] .gks-site .gks-article-body :is(.geek-dato,.geek-cta-inline){background:#162e63;color:#fff}
html[data-gks-theme="dark"] .gks-site .gks-article-end{border-color:#324966}
html[data-gks-theme="dark"] .gks-site .gks-blog-card{background:#142540;border-color:#314969}
html[data-gks-theme="dark"] .gks-site .gks-blog-card :is(h3,p){color:#eff5ff}
html[data-gks-theme="dark"] .gks-site .gks-blog-meta,html[data-gks-theme="dark"] .gks-site .gks-blog-read{color:#a8c7ff}
html[data-gks-theme="dark"] .gks-site :is(.gks-philosophy,.gks-intro-strip,.gks-process,.gks-industries,.gks-coverage-panel,.gks-coverage-grid,.gks-digital-benefits>div,.gks-service-card,.gks-feature-card,.gks-project-card,.gks-location-highlight,.gks-faq-items details){background:#142640;border-color:#344a69;color:#e8f1ff}
html[data-gks-theme="dark"] .gks-site :is(.gks-philosophy-copy h2,.gks-section-heading h2,.gks-coverage-grid h2,.gks-digital-steps h2,.gks-project-card h2,.gks-service-card h3,.gks-feature-card h3,.gks-faq-grid h2){color:#f0f5ff}
html[data-gks-theme="dark"] .gks-site :is(.gks-philosophy-copy p,.gks-section-heading>p,.gks-coverage-grid p,.gks-digital-steps p,.gks-project-card p,.gks-service-card p,.gks-feature-card p){color:#c0cfe7}
html[data-gks-theme="dark"] .gks-site :is(.gks-digital-benefits>div,.gks-city-chips span){background:#1b3354;border-color:#375274;color:#eaf2ff}
html[data-gks-theme="dark"] .gks-site .gks-contact-page{background:linear-gradient(112deg,#08152e 0%,#101f41 50%,#101e36 50.1%,#111e38 100%)}
html[data-gks-theme="dark"] .gks-site .gks-contact-panel{background:#162843;border-color:#3b5272;color:#f0f5ff}
html[data-gks-theme="dark"] .gks-site .gks-contact-panel-head h2,html[data-gks-theme="dark"] .gks-site .gks-form-section-head strong{color:#f0f6ff}
html[data-gks-theme="dark"] .gks-site .gks-contact-panel :is(label,.gks-field-label){color:#dce7fc!important}
html[data-gks-theme="dark"] .gks-site .gks-contact-form :is(input:not([type=checkbox],[type=radio]),textarea,select){background:#0d1d35!important;color:#f4f7ff!important;border-color:#415877!important}
html[data-gks-theme="dark"] .gks-site .gks-service-option>span{background:#183253;border-color:#345776;color:#edf4ff!important}
html[data-gks-theme="dark"] .gks-site .gks-service-option strong{color:#eaf2ff!important}
html[data-gks-theme="dark"] .gks-site .gks-service-option input:checked+span{background:#264a7d;border-color:#81aaff}
html[data-gks-theme="dark"] .gks-site .gks-contact-form .gks-consent span{color:#c5d3e6!important}
html[data-gks-theme="dark"] .gks-site .gks-wa-tip{background:#162b3d;border-color:#326454;color:#e4fff2}
html[data-gks-theme="dark"] .gks-site .gks-wa-tip strong{color:#edfff4}
html[data-gks-theme="dark"] .gks-site .gks-wa-tip span{color:#bfd7ca}

/* CSS específico del primer artículo: preservar contraste también en modo oscuro. */
html[data-gks-theme="dark"] .gks-site .gks-article-body .gks-costo-resumen{background:#172e4f;border-color:#385580;box-shadow:none}
html[data-gks-theme="dark"] .gks-site .gks-article-body .gks-costo-resumen strong{color:#eef5ff}
html[data-gks-theme="dark"] .gks-site .gks-article-body .gks-costo-tabla{background:#142643;border-color:#385173}
html[data-gks-theme="dark"] .gks-site .gks-article-body .gks-costo-tabla th{background:#142a55;color:#fff}
html[data-gks-theme="dark"] .gks-site .gks-article-body .gks-costo-tabla td:nth-child(2){color:#b3ceff}
html[data-gks-theme="dark"] .gks-site .gks-article-body .gks-costo-nota{color:#d2dfef;background:#152d49;border-color:#688de2}

/* Completa el contraste de las páginas de servicios y del índice del blog. */
html[data-gks-theme="dark"] .gks-site :is(.gks-industries,.gks-cta-section,.gks-section.gks-latest,.gks-intro-strip,.gks-section.gks-services){background:#0d1b31}
html[data-gks-theme="dark"] .gks-site :is(.gks-blog-heading h2,.gks-editorial-hero-light h1,.gks-faq-grid h2,.gks-industry strong,.gks-blog-card h3,.gks-empty-posts h3){color:#ecf3ff}
html[data-gks-theme="dark"] .gks-site :is(.gks-intro-strip p,.gks-check-list div,.gks-industry small,.gks-faq-grid>div:first-child>p,.gks-empty-posts p,.gks-location-highlight p,.gks-coverage-panel small){color:#c4d4e9}
html[data-gks-theme="dark"] .gks-site .gks-editorial-hero-light>div>p{color:#bfd1e9}
html[data-gks-theme="dark"] .gks-site .gks-editorial-hero-light .gks-kicker{background:#203958;border-color:#3b557a;color:#d7e7ff}
html[data-gks-theme="dark"] .gks-site :is(.gks-empty-posts,.gks-location-highlight,.gks-coverage-panel){background:#142943;border-color:#354e71}
html[data-gks-theme="dark"] .gks-site :is(.gks-card-icon,.gks-feature-icon,.gks-empty-posts>span){background:#264374;border-color:#375e92;color:#b0c9ff}
html[data-gks-theme="dark"] .gks-site :is(.gks-service-card .gks-card-more,.gks-text-link,.gks-blog-read,.gks-location-highlight .gks-text-link){color:#9dbaff!important}
html[data-gks-theme="dark"] .gks-site .gks-mega-col>a>svg{background:#28436d;color:#a7beff}
html[data-gks-theme="dark"] .gks-site :is(.gks-service-choice input:checked+span,.gks-service-option:hover>span){background:#213d63;color:#e9f3ff}

@media(max-width:1100px){
 .gks-site .gks-article-reading.has-toc{display:block;margin-top:38px}
 .gks-site .gks-article-toc{position:static;max-height:none;margin:0 auto 26px;max-width:860px}
 .gks-site .gks-article-reading.has-toc .gks-article-body{max-width:860px;margin:0 auto}
}
/* Nuevo selector ocupa espacio: usar menú móvil antes de que se compacte la cabecera. */
@media(max-width:1050px){
 .gks-site .gks-menu-toggle{display:inline-flex}
 .gks-site .gks-header{height:76px}
 .gks-site .gks-nav{position:absolute;top:76px;left:0;right:0;display:none;flex-direction:column;align-items:stretch;height:auto;max-height:calc(100vh - 76px);overflow-y:auto;gap:0;padding:18px 25px 25px;background:#fff;border-top:1px solid #e4eaf4;border-bottom:1px solid #e4eaf4;box-shadow:0 18px 28px #14265122}
 .gks-site .gks-nav.is-open{display:flex}
 .gks-site .gks-nav>a:not(.gks-nav-cta),.gks-site .gks-nav-services{display:flex;width:100%;justify-content:space-between;padding:12px!important;font-size:14px!important}
 .gks-site .gks-nav-dropdown{position:static}
 .gks-site .gks-dropdown-menu{position:static!important;display:none!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;border-radius:15px;width:100%!important;max-width:100%;margin:5px 0 14px;box-shadow:none}
 .gks-site .gks-nav-dropdown.is-open .gks-dropdown-menu{display:block!important}
 .gks-site .gks-theme-control{margin:10px 0;align-self:flex-start;width:240px;max-width:100%}
 .gks-site .gks-theme-trigger{width:100%;justify-content:flex-start;min-height:43px}
 .gks-site .gks-theme-trigger .gks-theme-chevron{margin-left:auto}
 .gks-site .gks-theme-options{position:static;margin-top:7px;width:100%;max-width:100%;box-shadow:none}
 .gks-site .gks-nav .gks-nav-cta{margin-top:12px;justify-content:center}
 html[data-gks-theme="dark"] .gks-site .gks-nav{background:#101f38;border-color:#30486a}
}

@media(max-width:760px){
 .gks-site .gks-header{height:72px}
 .gks-site .gks-nav{top:72px;max-height:calc(100vh - 72px)}
 .gks-site .gks-theme-control{margin:9px 0 4px;max-width:100%}
 .gks-site .gks-article-container{width:calc(100% - 36px)}
 .gks-site .gks-wa-dock{right:14px;bottom:14px}
 .gks-site .gks-wa-dock .gks-whatsapp-float{padding:12px 16px!important;min-height:47px;font-size:13px!important}
 .gks-site .gks-article-reading{margin-top:34px}
 .gks-site .gks-article-body table{min-width:460px}
 .gks-site .gks-article-hero{max-width:100%}
}
@media(prefers-reduced-motion:reduce){.gks-site .gks-wa-dock .gks-whatsapp-float,.gks-theme-trigger .gks-theme-chevron{transition:none!important}}
