/* One navigation disclosure across desktop, touch and keyboard. */
#navigation .nav-services{position:relative;flex-shrink:0}
#navigation .nav-services>summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:20px 0;cursor:pointer;list-style:none;color:var(--dark);font:inherit;white-space:nowrap}
#navigation .nav-services>summary::-webkit-details-marker{display:none}
#navigation .nav-services>summary:hover,#navigation .nav-services.is-current>summary,#navigation .nav-services[open]>summary{color:var(--green)}
#navigation .nav-services.is-current>summary:after{content:"";position:absolute;bottom:12px;left:0;right:23px;height:2px;background:var(--gold)}
#navigation .nav-chevron{display:block;flex-shrink:0;transition:transform .18s}
#navigation .nav-services[open] .nav-chevron{transform:rotate(180deg)}
#navigation .service-submenu{position:absolute;z-index:30;top:100%;left:-18px;min-width:286px;margin:0;padding:8px;list-style:none;background:#fff;border:1px solid #dce5da;border-radius:10px;box-shadow:0 16px 40px #173d2d26}
#navigation .service-submenu a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:11px 13px;border-radius:5px;font-size:1rem;font-weight:500;white-space:normal;line-height:1.45;color:#2b4438}
#navigation .service-submenu a:after{display:none}
#navigation .service-submenu a:hover,#navigation .service-submenu a[aria-current="page"]{background:#eef4e9;color:#145944}
#navigation .service-menu-overview{border-bottom:1px solid #e3e9df;padding-bottom:6px;margin-bottom:6px}
#navigation .service-menu-overview a{font-weight:700}
#navigation summary:focus-visible,#navigation a:focus-visible{outline:2px solid #a47e34;outline-offset:3px}
@media(prefers-reduced-motion:reduce){#navigation .nav-chevron{transition:none}}


/* Use the same menu size at every width; reduce the number of columns instead of the type. */
.header #navigation, .header .menu-toggle { font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
.header .menu-toggle { min-height: 2.75rem; }
.header .nav-cta, #navigation .service-submenu a { font-size: 1.0625rem; }
#navigation .service-submenu a { line-height: 1.45; }
#navigation > a, #navigation .nav-services > summary { min-height: 2.75rem; }
@media (min-width: 64.001em) {
  .header #navigation { gap: clamp(.8rem, 1.6vw, 1.65rem); }
}

/* Let the menu respond to available space in the visitor's actual text size. */
.header { container: site-header / inline-size; }
@container site-header (max-width: 64rem) {
  .nav-cta { display: none; }
  .menu-toggle {
    display: block;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 7px 12px;
    color: var(--green);
    background: transparent;
  }
  #navigation {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 12px clamp(.75rem, 4vw, 1.5rem);
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 14px rgb(0 0 0 / 8%);
  }
  #navigation.open { display:flex; flex-direction:column; gap:0; align-items:stretch; justify-content:flex-start; }
  #navigation > a, #navigation .nav-services > summary { display:flex; align-items:center; min-height:2.75rem; white-space:normal; padding:.65rem .75rem; }
  #navigation > a.active::after, #navigation .nav-services.is-current > summary::after { display:none; }
  #navigation .nav-services { width:100%; border-block:1px solid #edf0e9; }
  #navigation .nav-services > summary { justify-content:space-between; }
  #navigation .service-submenu { position:static; min-width:0; width:auto; border:0; border-left:2px solid #c9d8bd; border-radius:0; box-shadow:none; margin:0 .75rem .75rem; padding:0 0 0 .625rem; background:#f7f9f4; }
  #navigation .service-submenu a { font-size:1rem; min-height:2.75rem; padding:.65rem .75rem; }
  #navigation .service-menu-overview { margin:0; padding:0; }
}

.contact-float {
  position: fixed;
  right: max(.65rem, env(safe-area-inset-right));
  bottom: max(.85rem, env(safe-area-inset-bottom));
  z-index: 18;
  display: grid;
  gap: .45rem;
}
.contact-float a {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid white; box-shadow: 0 2px 9px #163b303b;
}
.contact-float .call-icon { background: #eb600f; color: #fff; }
.contact-float .zalo-icon { background: #fff; color: #005bd1; border-color: #d1e4ff; }
.zalo-icon span { font: 750 16px/1 var(--site-font); letter-spacing: -.8px; }
.contact-float a:focus-visible { outline: 3px solid #154f39; outline-offset: 2px; }
@media print { .contact-float { display: none; } }
