@charset "utf-8";
body.menu-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  padding: 0 clamp(28px, 4.4vw, 72px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-logo {
  width: max-content;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.site-logo img{max-width:100%; width:165px;}

.global-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 52px);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.global-nav a {
  position: relative;
  padding: 28px 0;
  font-size:17px;
  font-weight:500;
  color:#000
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 1px;
  background: currentColor;
  transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  right: 0;
}

.header-tel {
  justify-self: end;
  font-size: clamp(27px, 1.5vw, 27px);
  font-weight: 700;
  letter-spacing: 0;
  color:#2b313c
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* ========================================================================== 
   NAVIGATION MEDIA
============================================================================ */
@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 180px 1fr 180px;
    padding-inline: 28px;
  }

  .global-nav {
    gap: 24px;
    font-size: 13px;
  }
}

/* ========================================================================== 
   NAVIGATION MEDIA : MOBILE
============================================================================ */
@media (max-width:1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
  }

  .global-nav,
  .header-tel {
    display: none;
  }

  .site-logo {
    position: relative;
    z-index: 4;
    opacity: 1;
    visibility: visible;
  }

  .site-logo img {width:140px}

  .menu-toggle {
    position: relative;
    z-index: 4;
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .menu-toggle em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100vw;
    height: 100dvh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4.2vh, 36px);
    padding: calc(var(--header-h) + 28px) 24px 42px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu a {
    display: block;
    font-size: clamp(21px, 6.2vw, 26px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.045em;
  }

  .mobile-menu a:last-child {
    margin-top: 6px;
    font-size: clamp(22px, 6.6vw, 28px);
    font-weight: 800;
    letter-spacing: -0.05em;
  }

  body.menu-open .site-header { background: transparent; }

  body.menu-open .site-logo,
  body.menu-open .menu-toggle { color: var(--ink); }
}
@media (max-width:375px) {
  .site-logo img {width:120px}
}