/* Compact shared navigation, including the secondary links on smaller screens. */
#gits-site .header .brand img{width:120px;height:120px}
#gits-site .header .brand{width:auto;min-width:0;gap:14px}
#gits-site .head-inner{min-height:142px;gap:18px;padding-top:10px;padding-bottom:10px}
#gits-site .header .brand small{max-width:190px}
#gits-site .footer .brand img{width:80px;height:80px}
#gits-site nav a,#gits-site .subnav a{min-height:44px;padding:10px 17px;font-size:14px;line-height:1.35}
#gits-site nav{gap:8px}
#gits-site .subnav .wrap{padding-top:10px;padding-bottom:10px;gap:10px}
#gits-site a:focus-visible,#gits-site button:focus-visible{outline:3px solid #2f73c9;outline-offset:3px}
#gits-site .reading section{scroll-margin-top:225px}
@media(max-width:1024px){
 #gits-site .navigation-shell{position:sticky;top:0;z-index:90}
 #gits-site .head-inner{min-height:100px;display:flex;flex-wrap:wrap;gap:0 12px;padding-top:10px;padding-bottom:10px}
 #gits-site .header .brand{flex:1;gap:10px;width:auto}
 #gits-site .header .brand img{width:76px;height:76px}
 #gits-site .header .brand strong{font-size:13px}
 #gits-site .header .brand small{font-size:9px;max-width:180px;line-height:1.4}
 #gits-site .menu-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;min-width:66px;padding:9px 12px;font-size:14px;border:1px solid #cbd9ec;border-radius:12px;background:#f4f8ff;color:#143765;font-weight:700}
 #gits-site nav{display:none;width:100%;flex-basis:100%;min-width:0}
 #gits-site nav.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;justify-content:stretch;padding:12px 0 4px;max-height:calc(100dvh - 140px);max-height:calc(100svh - 140px);overflow:auto;overscroll-behavior:contain;align-items:stretch}
 #gits-site nav a{width:100%;min-height:44px;min-width:0;flex:none;padding:10px 9px;font-size:13px;border-radius:12px;word-break:normal}
 #gits-site .subnav{display:none}
 #gits-site .footer .brand img{width:64px;height:64px}
 #gits-site .reading section{scroll-margin-top:120px}
 #gits-site .topline .wrap{font-size:10px;gap:4px 12px;line-height:1.5}
 #gits-site .topline .top-contact{display:none}
}
@media(max-width:760px){
 #gits-site .wrap{padding-left:20px;padding-right:20px}
 #gits-site h1,#gits-site .inner-hero h1{font-size:clamp(30px,8vw,40px);line-height:1.15;overflow-wrap:break-word}
 #gits-site h2{font-size:clamp(25px,6.5vw,33px);line-height:1.2}
 #gits-site .hero-copy{padding-top:32px;padding-bottom:30px}
 #gits-site .hero-media{height:260px}
 #gits-site .section{padding:40px 0}
 #gits-site .action{max-width:100%;white-space:normal;text-align:center;min-height:46px}
 #gits-site .footer .brand small{max-width:200px}
 #gits-site .whatsapp-float{right:14px;bottom:max(14px,env(safe-area-inset-bottom));width:54px;height:54px;min-height:54px;padding:11px}
 /* Dock Relay above WhatsApp so the assistant does not roam over reading text. */
 .relay-embed-roamer{left:auto!important;top:auto!important;right:16px!important;bottom:88px!important;width:64px!important;height:96px!important;transition:none!important}
 .relay-embed-dismiss{left:auto!important;top:auto!important;right:8px!important;bottom:164px!important;width:32px!important;height:32px!important;transition:none!important}
 .relay-embed-roamer.relay-transit{opacity:1;pointer-events:auto}
 .relay-embed-roamer-hint{display:none!important}
 .relay-embed-launcher{right:14px!important;bottom:88px!important}
}
@media(max-width:380px){
 #gits-site .wrap{padding-left:16px;padding-right:16px}
 #gits-site .head-inner{min-height:88px}
 #gits-site .header .brand img{width:64px;height:64px}
 #gits-site .header .brand strong{font-size:11px}
 #gits-site .header .brand small{font-size:8px;max-width:130px}
 #gits-site .menu-button{min-width:60px;padding:8px 10px;font-size:13px}
}
#gits-site nav a.action{border-radius:999px}
@media(max-width:1024px){#gits-site nav a.action{border-radius:12px}}

/* Public site. Keep action and navigation fills solid and controls easy to identify. */
#gits-site .header .brand img { width: 84px; height: 84px; }
#gits-site .head-inner { min-height: 104px; }
#gits-site .navigation-shell { box-shadow: none; }
#gits-site nav a, #gits-site .subnav a {
  background: #fff;
  border-radius: 8px;
  box-shadow: none;
}
#gits-site nav a:hover, #gits-site .subnav a:hover { box-shadow: none; }
#gits-site nav a.action, #gits-site .menu-button { border-radius: 8px; }
#gits-site .subnav { border-top: 1px solid var(--line); }
#gits-site .image-caption { background: var(--navy); }
#gits-site .whatsapp-float { box-shadow: 0 2px 8px #061c3c24; }
#gits-site .tile .number { display: none; }
#gits-site .hero h1 { max-width: 19ch; }
#gits-site .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-block: 64px;
}
#gits-site .home-hero .hero-copy { padding: 0; }
#gits-site .home-service-list {
  background: #fff;
  color: var(--ink);
  padding: 26px;
  border-radius: 10px;
}
#gits-site .home-service-list h2 { color: var(--ink); font-size: 24px; margin: 0 0 12px; }
#gits-site .home-service-list ul { list-style: none; margin: 0; padding: 0; }
#gits-site .home-service-list li + li { border-top: 1px solid var(--line); }
#gits-site .home-service-list a { display: block; padding: 12px 0; color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
#gits-site .home-service-list span { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
#gits-site .gits-relationships { background: #f3f6fa; border: 0; }
#gits-site .gits-relationships p { max-width: 65ch; }
#gits-site .gits-relationships-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#gits-site .gits-relationships-list li { border: 1px solid var(--line); border-radius: 8px; }
#gits-site .partner-intro h1 { max-width: none; }
#gits-site .partner-intro p { max-width: 64ch; margin: 0; }
#gits-site .case-detail { scroll-margin-top: 190px; }
#gits-site #vendor-relationships { scroll-margin-top: 190px; }

@media (max-width: 1024px) {
  #gits-site .header .brand img { width: 70px; height: 70px; }
  #gits-site .head-inner { min-height: 90px; }
  #gits-site .case-detail, #gits-site #vendor-relationships { scroll-margin-top: 110px; }
}
@media (max-width: 760px) {
  #gits-site .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 36px; }
  #gits-site .home-service-list { padding: 20px; }
  #gits-site .gits-relationships-list { grid-template-columns: minmax(0, 1fr); }
}
