/* Fase 17: exclusivamente páginas internas, sin cambios de escritorio. */
@media (max-width:991.98px){
html:has(body.ge-inner-v11){scroll-padding-top:80px}
body.ge-inner-v11 #headerGeneral{min-height:0}
body.ge-inner-v11 #headerGeneral .navbar>.container{width:100%;padding-inline:16px}
body.ge-inner-v11 #headerGeneral .navbar-brand img{width:min(205px,100%)}
body.ge-inner-v11 #headerGeneral .navbar-toggler{min-width:44px;min-height:44px}
body.ge-inner-v11 #headerGeneral.ge-mobile-nav #navbarNav{background:#fff;max-height:calc(100dvh - 82px);overscroll-behavior:contain}
body.ge-inner-v11 #headerGeneral.ge-mobile-nav #navbarNav .nav-link{color:#14213a!important}
body.ge-inner-v11 #headerGeneral.ge-mobile-nav #navbarNav .nav-item:last-child>a{color:white!important}
body.ge-inner-v11 main{min-width:0;overflow-wrap:break-word}
body.ge-inner-v11 main img,body.ge-inner-v11 main video{max-width:100%}
body.ge-inner-v11 main :is(a,button):focus-visible{outline:3px solid #5475dc;outline-offset:3px}
body.ge-inner-v11 .whatsapp-btn{position:fixed;right:14px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:50px;height:50px;padding:0;display:grid;place-items:center;z-index:1000}
body.ge-inner-v11 .whatsapp-btn a{display:grid;place-items:center;width:100%;height:100%}
body.ge-inner-v11 .whatsapp-btn img{width:34px;height:34px;object-fit:contain}
body.ge-inner-v11:has(#navbarNav.show) .whatsapp-btn,body.ge-inner-v11:has(.pd-dialog[open]) .whatsapp-btn{visibility:hidden}
body.ge-product-v12 .gp-main,body.ge-services-page .ge-service-main,body.gp-page .gp-main,body.ge-project-detail .pd-main{padding-top:84px}
body.ge-company .co-hero{padding-top:84px}
body.ge-product-v12 .gp-hero,body.ge-project-detail .pd-hero,body.ge-project-detail .pd-info{grid-template-columns:minmax(0,1fr);gap:24px}
body.ge-product-v12 .gp-hero{padding-top:8px;padding-bottom:32px}
body.ge-product-v12 .gp-intro h1,body.ge-project-detail .pd-main h1,body.ge-company .ge-company-main h1,body.gp-page .gp-intro h1,body.ge-services-page .ge-service-hero h1{font-size:clamp(1.95rem,5.2vw,3rem);line-height:1.12;overflow-wrap:break-word}
body.ge-product-v12 .gp-media>img,body.ge-product-v12 .gp-media .carousel-item img{height:clamp(240px,65vw,440px)}
body.ge-project-detail .pd-hero>img{height:clamp(240px,65vw,440px)}
body.ge-project-detail .pd-info>div{min-width:0}
body.ge-project-detail .pd-dialog{max-height:90dvh;width:min(96vw,900px);padding:50px 48px 14px}
body.ge-project-detail .pd-dialog img{height:min(65dvh,600px);touch-action:pan-y}
body.ge-project-detail .pd-dialog button{width:44px;height:44px}
body.ge-services-page .ge-service-media{min-height:0}
body.ge-services-page .ge-service-media img{height:auto;aspect-ratio:4/3;object-fit:cover}
body.ge-services-page .ge-service-block,body.ge-services-page #servicios-detalle,body.ge-product-v12 #caracteristicas,body.gp-page #portafolio,body.ge-project-detail .pd-gallery{scroll-margin-top:8px}
body.ge-inner-v11 .ge-footer-bottom{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:575.98px){
body.ge-inner-v11 #headerGeneral .navbar-brand img{width:min(190px,100%)}
body.ge-inner-v11 #headerGeneral .navbar>.container{padding-inline:12px}
body.ge-product-v12 .gp-container,body.gp-page .gp-wrap,body.ge-company .co-wrap{width:calc(100% - 32px);max-width:100%}
body.ge-project-detail .pd-wrap{padding-inline:16px}
body.ge-product-v12 .gp-crumb,body.gp-page .gp-crumb,body.ge-company .co-crumb,body.ge-services-page .ge-breadcrumb,body.ge-project-detail .pd-crumb{margin-bottom:18px;font-size:.82rem;flex-wrap:wrap}
body.ge-product-v12 .gp-actions>a,body.gp-page .gp-intro-action>a,body.ge-company .co-actions>a,body.ge-services-page .ge-hero-actions>a,body.ge-services-page .ge-finalcta-actions>a,body.ge-project-detail .pd-button{width:100%;min-height:48px;white-space:normal;text-align:center;justify-content:center}
body.ge-product-v12 .gp-details{padding:18px 14px}
body.ge-product-v12 .gp-panel{padding:16px}
body.ge-product-v12 .gp-related-card span{padding:10px;font-size:.85rem;overflow-wrap:anywhere}
body.ge-project-detail .pd-hero{padding:18px;border-radius:16px}
body.ge-project-detail .pd-info>div{padding:18px}
body.ge-project-detail .pd-spec dl{gap:8px}
body.ge-project-detail .pd-spec dl div{padding:8px;min-width:0}
body.ge-project-detail .pd-video-grid video{width:100%;height:auto}
body.ge-project-detail .pd-cta{padding:22px;display:flex;flex-direction:column;align-items:stretch;gap:16px}
body.ge-project-detail .pd-dialog{padding-inline:46px}
body.gp-page .gp-heading{align-items:flex-start;flex-direction:column;gap:6px}
body.gp-page .gp-card-body{padding:20px}
body.gp-page .gp-hero-photos{aspect-ratio:1.35}
body.gp-page .gp-cta{padding:22px;flex-direction:column;align-items:stretch}
body.ge-services-page .ge-service-hero{padding-top:20px}
body.ge-services-page .ge-service-hero .container,body.ge-services-page .ge-services-overview .container,body.ge-services-page .ge-service-sections .container{padding-inline:16px}
body.ge-services-page .ge-service-content{padding:24px 20px}
body.ge-services-page .ge-service-content h2{font-size:1.65rem}
body.ge-services-page .ge-service-hero-photo{aspect-ratio:1.5}
body.ge-services-page .ge-finalcta-box,body.ge-company .co-final{padding:22px}
body.ge-company .co-hero .co-photo img{height:clamp(240px,85vw,380px)}
body.ge-company .co-actions{display:flex;flex-wrap:wrap;gap:10px}
body.ge-inner-v11 .ge-footer-grid{gap:24px 14px}
body.ge-inner-v11 .ge-footer h2{margin-bottom:12px}
body.ge-inner-v11 .ge-footer nav>a{overflow-wrap:anywhere;min-height:44px}
body.ge-inner-v11 .ge-designer-credit{flex-wrap:wrap}
}
@media(max-width:359px){body.ge-inner-v11 .ge-footer-grid{grid-template-columns:1fr}body.ge-product-v12 .gp-related-grid,body.ge-project-detail .pd-spec dl{grid-template-columns:1fr}}
@media(max-width:991.98px) and (prefers-reduced-motion:reduce){html:has(body.ge-inner-v11){scroll-behavior:auto}body.ge-inner-v11 main *{transition-duration:0s!important;animation-duration:0s!important}}
