/* Service navigation — stronger hierarchy for the local 8082 preview. */
@media (min-width:1181px) {
  .desktop-nav .gt-services-menu > .gt-nav-row > .gt-nav-link.active {
    border-radius:12px 0 0 12px !important;
  }
  .desktop-nav .gt-services-menu > .gt-nav-row > .gt-nav-link.active + .gt-submenu-toggle {
    height:42px !important;
    margin-left:-1px !important;
    border-radius:0 12px 12px 0 !important;
    color:#0057e1 !important;
    background:rgba(0,87,225,.075) !important;
  }
  .desktop-nav .gt-services-menu > .gt-submenu-shell {
    width:min(960px,calc(100vw - 64px)) !important;
    padding:0 !important;
    overflow:hidden !important;
    border:1px solid rgba(6,103,232,.18) !important;
    border-radius:22px !important;
    background:#fff !important;
    box-shadow:0 30px 80px rgba(8,36,82,.22),0 8px 24px rgba(8,36,82,.1) !important;
  }
  .desktop-nav .gt-services-menu > .gt-submenu-shell::after {
    content:"";
    position:absolute;
    inset:0 0 auto;
    height:3px;
    background:linear-gradient(90deg,#0667e8 0 34%,#24a7ed 34% 67%,#19bdd1 67%);
  }
  .desktop-nav .gt-services-menu__head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:22px 24px 17px;
    border-bottom:1px solid #e5ebf3;
    background:linear-gradient(110deg,#f5f9ff,#fff 60%);
  }
  .desktop-nav .gt-services-menu__head span {
    color:#0667e8;
    font-size:11px;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
  }
  .desktop-nav .gt-services-menu__head p {
    margin:0;
    color:#64728a;
    font-size:12px;
  }
  .desktop-nav .gt-services-menu .gt-submenu-depth-1 {
    gap:8px !important;
    padding:12px !important;
    background:#fff;
  }
  .desktop-nav .gt-services-menu .gt-submenu-depth-1 > .gt-nav-node {
    padding:0 !important;
    overflow:hidden !important;
    border:1px solid #dce5f0 !important;
    border-radius:16px !important;
    background:transparent !important;
  }
  .desktop-nav .gt-services-menu .gt-submenu-depth-1 > .gt-nav-node + .gt-nav-node {
    border-left:1px solid #dce5f0 !important;
  }
  .desktop-nav .gt-services-menu .gt-service-link {
    position:relative;
    display:grid !important;
    grid-template-columns:54px minmax(0,1fr) 18px;
    gap:10px;
    width:100% !important;
    min-height:118px !important;
    height:auto !important;
    align-items:center;
    padding:16px 14px !important;
    border-radius:15px !important;
    color:#10285b !important;
    white-space:normal !important;
    transition:background-color .18s ease,transform .18s ease !important;
  }
  .desktop-nav .gt-services-menu .gt-service-link:hover,
  .desktop-nav .gt-services-menu .gt-service-link:focus-visible {
    color:#10285b !important;
    background:#eef6ff !important;
    transform:translateY(-2px);
  }
  .gt-service-link__visual {
    display:grid;
    width:52px;
    height:52px;
    place-items:center;
    margin:0;
  }
  .gt-service-link__visual img { width:52px; height:52px; object-fit:contain; filter:drop-shadow(0 5px 7px rgba(8,54,116,.14)); transition:transform .2s ease; }
  .gt-service-link:hover .gt-service-link__visual img { transform:scale(1.08) rotate(-2deg); }
  .gt-service-link__copy { display:block; min-width:0; }
  .gt-service-link__copy strong {
    display:block;
    min-height:36px;
    margin:0 0 5px;
    color:#10285b;
    font-size:13px;
    font-weight:750;
    line-height:1.35;
  }
  .gt-service-link__copy small {
    display:block;
    min-height:52px;
    color:#61708a;
    font-size:11.5px;
    font-weight:450;
    line-height:1.5;
  }
  .gt-service-link__arrow {
    color:#0667e8;
    font-size:17px;
    line-height:32px;
    opacity:.72;
    transition:transform .18s ease,opacity .18s ease;
  }
  .gt-service-link:hover .gt-service-link__arrow { opacity:1; transform:translate(2px,-2px); }
}

@media (max-width:1180px) {
  .mobile-menu .gt-services-menu__head { display:none !important; }
  .mobile-menu .gt-services-menu .gt-submenu-depth-1 { padding:5px 0 8px 8px !important; }
  .mobile-menu .gt-services-menu .gt-submenu-depth-1 > .gt-nav-node {
    overflow:hidden !important;
    border:1px solid #dce5f0 !important;
    border-radius:12px !important;
    background:#f1f6fc !important;
  }
  .mobile-menu .gt-services-menu .gt-service-link {
    display:grid !important;
    grid-template-columns:42px minmax(0,1fr) 18px;
    gap:10px;
    min-height:58px !important;
    height:auto !important;
    align-items:center;
    padding:9px 10px !important;
    border-radius:11px !important;
    white-space:normal !important;
  }
  .mobile-menu .gt-service-link__visual { display:grid; width:40px; height:40px; place-items:center; }
  .mobile-menu .gt-service-link__visual img { width:38px; height:38px; object-fit:contain; }
  .mobile-menu .gt-service-link__copy strong { display:block; color:#10285b; font-size:12px; line-height:1.35; }
  .mobile-menu .gt-service-link__copy small { display:none; }
  .mobile-menu .gt-service-link__arrow { color:#0667e8; font-size:14px; }
}

@media (prefers-reduced-motion:reduce) {
  .gt-services-menu .gt-service-link,
  .gt-services-menu .gt-service-link__arrow,
  .gt-services-menu .gt-service-link__visual img { transition:none !important; }
}
