
/* v289 INLINE CRITICO MOBILE: header una línea, chips, proyectos y footer */
@media (max-width: 900px), (pointer: coarse) and (max-width: 1180px){

  /* Servicios: Legalización debajo de Recarga VE */
  body.ortek-mobile-inline-fix #inicio .service-chip-link:nth-child(4){
    grid-column:1!important;
    grid-row:2!important;
  }
  body.ortek-mobile-inline-fix #inicio .service-chip-link:nth-child(5){
    grid-column:3!important;
    grid-row:2!important;
  }

  /* Proyectos realizados: solo 1 tarjeta visible, centrada, desplazamiento 1 a 1 */
  body.ortek-mobile-inline-fix .ortek-projects-carousel{
    width:100%!important;
    max-width:100%!important;
  }

  body.ortek-mobile-inline-fix .ortek-projects-viewport{
    width:100%!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    -webkit-overflow-scrolling:touch!important;
    padding:0!important;
    margin:0!important;
  }

  body.ortek-mobile-inline-fix .ortek-projects-track{
    display:flex!important;
    gap:0!important;
    width:auto!important;
    align-items:stretch!important;
    transform:none!important;
  }

  body.ortek-mobile-inline-fix .ortek-project-card{
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-width:100%!important;
    margin:0!important;
    scroll-snap-align:center!important;
  }

  body.ortek-mobile-inline-fix .ortek-projects-arrow{
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:5!important;
  }

  body.ortek-mobile-inline-fix .ortek-projects-prev{
    left:4px!important;
  }
  body.ortek-mobile-inline-fix .ortek-projects-next{
    right:4px!important;
  }

  body.ortek-mobile-inline-fix #proyectos .h2,
  body.ortek-mobile-inline-fix #projectes .h2,
  body.ortek-mobile-inline-fix #proyectos > .wrap > .lead,
  body.ortek-mobile-inline-fix #projectes > .wrap > .lead{
    text-align:left!important;
  }

  /* Footer móvil */
  body.ortek-mobile-inline-fix .footer .footer-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:18px 14px!important;
    align-items:start!important;
  }

  body.ortek-mobile-inline-fix .footer .footer-brand{
    grid-column:1 / -1!important;
    justify-self:start!important;
  }

  body.ortek-mobile-inline-fix .footer .footer-legal,
  body.ortek-mobile-inline-fix .footer .footer-contact{
    text-align:left!important;
    align-items:flex-start!important;
    justify-self:start!important;
  }

  body.ortek-mobile-inline-fix .footer .footer-legal h3,
  body.ortek-mobile-inline-fix .footer .footer-contact h3,
  body.ortek-mobile-inline-fix .footer .footer-legal p,
  body.ortek-mobile-inline-fix .footer .footer-contact p{
    text-align:left!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  body.ortek-mobile-inline-fix .footer .footer-legal button,
  body.ortek-mobile-inline-fix .footer .footer-contact a{
    text-align:left!important;
    justify-content:flex-start!important;
  }

  body.ortek-mobile-inline-fix .footer .footer-services{
    grid-column:1 / -1!important;
    text-align:center!important;
    justify-self:center!important;
    width:100%!important;
  }

  body.ortek-mobile-inline-fix .footer .footer-services h3,
  body.ortek-mobile-inline-fix .footer .footer-service-links,
  body.ortek-mobile-inline-fix .footer .footer-service-links p{
    text-align:center!important;
    justify-content:center!important;
  }

  body.ortek-mobile-inline-fix .footer .footer-service-links-horizontal{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    gap:8px 14px!important;
  }

  /* Cabecero móvil en UNA línea y orden solicitado */
  body.ortek-mobile-inline-fix .site-header .wrap.nav{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    padding-left:8px!important;
    padding-right:8px!important;
    overflow:visible!important;
    min-height:42px!important;
    height:auto!important;
  }

  body.ortek-mobile-inline-fix .site-header .logo,
  body.ortek-mobile-inline-fix .site-header .menu{
    display:none!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-contact-links{
    display:contents!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 auto!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-phone{
    display:inline-flex!important;
    order:1!important;
    align-items:center!important;
    justify-content:center!important;
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    padding:0!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.16)!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-phone .phone-badge,
  body.ortek-mobile-inline-fix .site-header .header-phone .contact-phone-icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:26px!important;
    height:26px!important;
    font-size:.92rem!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-phone .contact-inline-text{
    display:none!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-email-group{
    display:contents!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-email-button{
    display:inline-flex!important;
    order:2!important;
    align-items:center!important;
    justify-content:center!important;
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    padding:0!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.16)!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-email-button .contact-email-icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:.96rem!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-email-button .contact-label,
  body.ortek-mobile-inline-fix .site-header .header-email-copy{
    display:none!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-whatsapp{
    display:inline-flex!important;
    order:3!important;
    align-items:center!important;
    justify-content:center!important;
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    padding:0!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.16)!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-whatsapp .whatsapp-badge{
    display:inline-flex!important;
    width:26px!important;
    min-width:26px!important;
    height:26px!important;
    align-items:center!important;
    justify-content:center!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-whatsapp img.whatsapp-img{
    display:block!important;
    width:21px!important;
    height:21px!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-whatsapp .contact-inline-text{
    display:none!important;
  }

  body.ortek-mobile-inline-fix .site-header .header-phone::after{
    content:"936419154"!important;
    display:inline-flex!important;
    order:4!important;
    margin-left:6px!important;
    font-size:.72rem!important;
    font-weight:800!important;
    white-space:nowrap!important;
    color:inherit!important;
  }

  body.ortek-mobile-inline-fix .site-header .lang-dropdown-only{
    order:5!important;
    margin-left:auto!important;
    min-width:42px!important;
  }

  body.ortek-mobile-inline-fix .site-header .lang-current{
    height:32px!important;
    min-height:32px!important;
    min-width:42px!important;
    padding:0 7px!important;
    font-size:.72rem!important;
  }

  body.ortek-mobile-inline-fix .site-header .theme-toggle{
    order:6!important;
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    margin:0!important;
  }

  body.ortek-mobile-inline-fix .site-header .mobile-menu-toggle{
    order:7!important;
    display:inline-flex!important;
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    margin:0!important;
  }
}

@media (max-width:380px){
  body.ortek-mobile-inline-fix .site-header .wrap.nav{
    gap:4px!important;
    padding-left:6px!important;
    padding-right:6px!important;
  }
  body.ortek-mobile-inline-fix .site-header .header-phone::after{
    font-size:.66rem!important;
    margin-left:4px!important;
  }
  body.ortek-mobile-inline-fix .site-header .header-phone,
  body.ortek-mobile-inline-fix .site-header .header-email-button,
  body.ortek-mobile-inline-fix .site-header .header-whatsapp,
  body.ortek-mobile-inline-fix .site-header .theme-toggle,
  body.ortek-mobile-inline-fix .site-header .mobile-menu-toggle{
    width:29px!important;
    min-width:29px!important;
    height:29px!important;
  }
  body.ortek-mobile-inline-fix .site-header .lang-current{
    min-width:38px!important;
    height:29px!important;
    font-size:.66rem!important;
  }
}
