
/* Navigation, touch interactions and readable service cards. Loaded after legacy styles. */
.neo-mobile-toggle,.neo-mobile-nav{display:none}
.neo-contact-strip .container{display:flex;justify-content:center}
.neo-contact-strip .neo-quick-contact{width:min(100%,520px);margin-inline:auto}
.neo-home .hero-actions{display:flex;flex-direction:column;align-items:center}
.neo-home .hero-actions .neo-quick-contact{margin-inline:auto}
.services-listing .listing-card[hidden]{display:none!important}
.services-listing .listing-card:is(:hover,:focus-within){background:#fff;border-color:#ff8b25;color:#17344b;box-shadow:0 14px 34px #102f4b20}
.services-listing .listing-card:is(:hover,:focus-within) :is(h3,h3 a,.listing-link,.neo-service-menu a,.listing-top>span:last-child){color:#17344b}
.services-listing .listing-card:is(:hover,:focus-within) :is(p,.neo-service-menu a small){color:#365a72}
.services-listing .listing-card:is(:hover,:focus-within) .neo-service-custom a small{color:#a25012}
.services-listing .listing-card:is(:hover,:focus-within) .service-icon{background:#e9f1f5;color:#17344b}
html[data-theme=dark] .services-listing .listing-card:is(:hover,:focus-within){background:#1b2c3b;border-color:#ffac62;color:#e5eff7}
html[data-theme=dark] .services-listing .listing-card:is(:hover,:focus-within) :is(h3,h3 a,.listing-link,.neo-service-menu a,.listing-top>span:last-child){color:#e5eff7}
html[data-theme=dark] .services-listing .listing-card:is(:hover,:focus-within) :is(p,.neo-service-menu a small){color:#bfd0d9}
.neo-company-page .neo-project-image img,.neo-home .neo-project-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#edf3f4}
.neo-company-page .neo-project-image figcaption{position:static;display:block;width:fit-content;max-width:100%;margin:0;padding:8px 12px;background:#fff;color:#365266;font-size:11px;line-height:1.4}
@media(max-width:760px){
 .neo-header .neo-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center;gap:8px!important;min-height:64px!important;padding:8px 0!important}
 .neo-header .brand{grid-column:1;grid-row:1;min-width:0}
 .neo-header .neo-primary-nav{display:none!important}
 .neo-header .neo-header-end{grid-column:2;grid-row:1;display:none!important;margin:0!important}
 .neo-home .neo-header .neo-header-end{display:flex!important}
 .neo-header .neo-header-end :is(.neo-header-auth,.neo-menu){display:none!important}
 .neo-header .neo-header-end .neo-whatsapp{display:inline-flex!important;width:42px;height:42px}
 .neo-header .neo-mobile-toggle{grid-column:3;grid-row:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #cbdce5;border-radius:10px;background:#edf3f7;color:#17344b;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
 .neo-header .neo-mobile-toggle[aria-expanded=true]{background:#102f4b;color:#fff;border-color:#102f4b}
 .neo-header .neo-mobile-toggle:focus-visible,.neo-header .neo-mobile-nav a:focus-visible,.neo-header .neo-mobile-nav summary:focus-visible{outline:3px solid #ff8b25;outline-offset:2px}
 .neo-header .neo-mobile-nav:not([hidden]){grid-column:1/-1;grid-row:2;display:grid!important;gap:2px;width:100%;max-height:min(72dvh,660px);overflow-y:auto;padding:8px 0 12px;border-top:1px solid #dbe5eb;background:#fff;box-shadow:0 18px 26px #102f4b16}
 .neo-header .neo-mobile-nav>a,.neo-header .neo-mobile-nav>details>summary{display:flex;align-items:center;justify-content:space-between;min-height:45px;padding:9px 14px;border-radius:8px;color:#17344b;font-size:15px;font-weight:750;text-decoration:none;cursor:pointer;list-style:none}
 .neo-header .neo-mobile-nav summary::-webkit-details-marker{display:none}
 .neo-header .neo-mobile-nav>details[open]>summary,.neo-header .neo-mobile-nav>a:hover{background:#edf4f8}
 .neo-header .neo-mobile-submenu{display:grid;gap:2px;padding:3px 0 8px 14px}
 .neo-header .neo-mobile-submenu a{display:block;padding:10px 14px;min-height:42px;color:#365a72;font-size:14px}
 .neo-header .neo-mobile-account{display:flex;gap:8px;padding:10px 14px 0}
 .neo-header .neo-mobile-account a{flex:1;padding:10px;border:1px solid #cbdce5;border-radius:8px;text-align:center;font-weight:750}
 .neo-header .neo-mobile-account a:last-child{background:#ffad64;border-color:#ffad64;color:#102f4b}
 .neo-contact-strip .neo-quick-contact{width:min(100%,520px)}
 .neo-quick-contact a{white-space:normal;text-align:center;font-size:11px;line-height:1.2}
 .neo-showcase-controls{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:7px}
 .neo-showcase-types{min-width:0;max-width:100%;width:100%}
 .neo-showcase-pause{grid-column:1/-1;justify-self:center}
 .neo-company-page .neo-project-image figcaption{font-size:10px}
 .neo-cookie-panel{box-sizing:border-box;max-height:min(62dvh,440px);overflow-y:auto;padding:13px}
 .neo-cookie-panel h2{font-size:16px;margin-bottom:5px}
 .neo-cookie-panel p{font-size:12px;line-height:1.4;margin-bottom:9px}
 .neo-cookie-actions{gap:6px}
 .neo-cookie-actions button{flex:1;min-width:125px;padding:8px;font-size:12px}
}
@media(max-width:380px){
 .neo-header .brand strong{font-size:20px}
 .neo-header .brand small{font-size:5px}
 .neo-header .neo-header-end .neo-whatsapp{width:38px;height:38px}
 .neo-header .neo-mobile-toggle{padding:7px 9px;font-size:12px}
}
html[data-theme=dark] .neo-header .neo-mobile-toggle{background:#203646;border-color:#466070;color:#e5eff7}
html[data-theme=dark] .neo-header .neo-mobile-nav:not([hidden]){background:#1b2c3b;border-color:#466070}
html[data-theme=dark] .neo-header .neo-mobile-nav :is(a,summary){color:#e5eff7}
html[data-theme=dark] .neo-header .neo-mobile-nav>details[open]>summary{background:#29495d}

/* Compact mobile navigation and consistently sized contact controls. */
@media(max-width:760px){
 .neo-header .neo-primary-nav{display:flex!important;grid-column:1/-1;grid-row:2;width:100%;min-width:0;gap:4px!important;overflow-x:auto;justify-content:flex-start;padding:4px 0;white-space:nowrap;scrollbar-width:thin}
 .neo-header .neo-primary-nav>a,.neo-header .neo-primary-nav .neo-nav-group>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;font-size:13px}
 .neo-header .neo-primary-nav .neo-nav-group{flex-shrink:0}
 .neo-header .neo-primary-nav .neo-services-menu{display:none}
 .neo-header .neo-mobile-nav:not([hidden]){grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));box-shadow:none}
 .neo-mobile-nav>details,.neo-mobile-nav>.neo-mobile-account{grid-column:1/-1}
 .neo-contact-strip .container{width:calc(100% - 32px)}
 .neo-contact-strip .neo-quick-contact,.neo-home .hero-actions .neo-quick-contact{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;width:100%;max-width:460px;margin:0 auto;overflow:visible;white-space:normal}
 .neo-contact-strip .neo-quick-contact a,.neo-home .hero-actions .neo-quick-contact a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:64px;padding:8px 3px;font-size:12px;line-height:1.3;white-space:normal;border-radius:8px}
 .neo-quick-contact svg{width:18px;height:18px;flex:none}
 .neo-home .hero-grid{grid-template-columns:minmax(0,1fr)!important}
 .neo-home .hero-copy{width:100%}
 .neo-home .neo-modern-visual{display:none}
 .neo-home .hero h1{font-size:clamp(32px,9vw,44px)}
 .neo-home .hero-actions{width:100%;gap:16px;margin-top:20px}
 .neo-home .hero-actions>.button{width:100%;max-width:460px}
 .next-step .next-panel{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:28px 22px;min-width:0}
 .next-step .next-panel>div{min-width:0;width:100%}
 .next-step .next-panel h2{font-size:32px;line-height:1.2}
 .next-step .next-panel>.button{width:100%;white-space:normal;gap:12px}
 .neo-showcase-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;max-width:100%}
 .neo-showcase-types{grid-column:1/-1;grid-row:1;display:flex;max-width:100%!important;width:100%;min-width:0;overflow-x:auto;border-radius:12px;padding:5px}
 .neo-showcase-types button{min-height:44px;flex-shrink:0;padding:10px 14px}
 .neo-showcase-arrow{grid-row:2;width:44px;height:44px}
 .neo-showcase-arrow[data-neo-prev]{grid-column:1}
 .neo-showcase-arrow[data-neo-next]{grid-column:3}
 .neo-showcase-pause{grid-column:2;grid-row:2;justify-self:center;min-height:44px;min-width:80px}
 .neo-showcase-stage{height:calc(86vw * .5625 + 160px)}
 .neo-showcase-links a{min-height:44px;align-items:center}
}

/* Reset the legacy .site-header nav column layout explicitly. */
@media(max-width:760px){
 .site-header.neo-header .neo-primary-nav{position:static!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;gap:2px!important;width:100%!important;min-height:44px;max-height:56px;padding:0!important;border:0;box-shadow:none}
 .site-header.neo-header .neo-primary-nav>a,.site-header.neo-header .neo-primary-nav .neo-nav-group>a{flex-direction:row!important;flex:0 0 auto;min-width:0;min-height:44px;padding:8px 6px!important;margin:0!important;font-size:12px!important;background:transparent!important;border:0!important;border-radius:0;white-space:nowrap}
 .site-header.neo-header .neo-primary-nav .neo-nav-group{display:flex;align-items:center;flex:0 0 auto}
 .site-header.neo-header .neo-mobile-nav{position:static!important;top:auto;left:auto;right:auto;white-space:normal}
 .site-header.neo-header .neo-mobile-nav[hidden]{display:none!important}
 .site-header.neo-header .neo-mobile-nav:not([hidden]){max-height:60dvh;overflow-y:auto}
}

/* v1.4.2: restore the small 3D character beside homepage hero copy on phones.
   This overrides the older mobile display:none and one-column !important rules. */
@media(max-width:760px){
  body.neo-home .hero-grid{display:grid!important;grid-template-columns:minmax(0,1fr) clamp(82px,24vw,122px)!important;gap:8px!important;align-items:center!important}
  body.neo-home .hero-copy{min-width:0!important;width:auto!important;padding:15px 0!important}
  body.neo-home .neo-modern-visual{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:clamp(110px,34vw,160px)!important;min-width:0!important;justify-self:end!important;align-self:center!important;pointer-events:none!important;overflow:visible!important}
  body.neo-home .neo-modern-visual .hero-character{display:block!important;position:absolute!important;width:100%!important;max-width:135px!important;height:auto!important;bottom:0!important;right:0!important;left:auto!important;top:auto!important;object-fit:contain!important}
  body.neo-home .neo-modern-visual :is(.neo-hero-browser,.hero-main-chart,.hero-channel-pill,.hero-visual-glow){display:none!important}
  body.neo-home .hero h1{font-size:clamp(25px,6.6vw,37px)!important;overflow-wrap:normal}
  body.neo-home .hero-lead{font-size:clamp(12px,2.9vw,15px);line-height:1.55}
}
@media(max-width:380px){
 body.neo-home .hero-grid{grid-template-columns:minmax(0,1fr) 80px!important;gap:5px!important}
 body.neo-home .neo-modern-visual{height:106px!important}
 body.neo-home .hero h1{font-size:clamp(23px,7vw,28px)!important}
}

/* v1.4.3 — icon-first quick contacts in the mobile homepage hero only.
   The full text remains in the DOM for screen readers. Inner-page contacts retain labels. */
@media(max-width:760px){
 body.neo-home .hero-actions .neo-quick-contact{
   display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
   width:min(100%,288px)!important;max-width:288px!important;
   margin-inline:auto!important;gap:9px!important;
 }
 body.neo-home .hero-actions .neo-quick-contact a{
   display:flex!important;flex-direction:row!important;
   width:100%;min-width:0;min-height:48px!important;
   padding:10px 8px!important;gap:0!important;
   justify-content:center;align-items:center;
   border-radius:12px!important;line-height:1!important;
 }
 body.neo-home .hero-actions .neo-quick-contact a svg{
   display:block!important;width:23px!important;height:23px!important;
   flex:0 0 23px!important;
 }
 body.neo-home .hero-actions .neo-quick-contact a span{
   position:absolute!important;width:1px!important;height:1px!important;
   padding:0!important;margin:-1px!important;overflow:hidden!important;
   clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
 }
}
