:root {
  --main-bg:       #111;
  --area-dark:     #181818;
  --area-medium:   #1f1f1f;
  --cc-color:       #00C78C;
  --cc-accent:     #ffffff;
  --cc-hover:      #018b62;
}

/*―――――――――――――――――――――――――――――――――*/
/* 1. OVERLAY LAYOUT                      */
.overlay-menu {
  position: fixed; inset: 0;
  background: var(--main-bg);
  z-index: 1200;
  opacity: 0; pointer-events: none;
  transform: translateX(100%);
  transition: transform .4s ease, opacity .4s ease;
}
.overlay-menu.active {
  opacity: 1; pointer-events: auto;
  transform: translateX(0);
}

.overlay-content {
  display: grid;
  grid-template-columns: 30% 70%;
  width: 100vw; height: 100vh;
  overflow: hidden;
}

.left-center-wrap {
  display: grid;
  grid-template-columns: 50% 50%;
  height: 100%;
}

.overlay-col {
  display: flex; flex-direction: column;
  padding: 0;
}

.overlay-col.right {
  justify-content: center; align-items: center;
  border-left: 1px solid #2a2a2a;
}

a:focus, button:focus {
  outline: 2px solid var(--cc-color);
  outline-offset: 4px;
}
.overlay-menu[hidden] {
  display: none !important;
}

/*―――――――――――――――――――――――――――――――――*/
/* 2. CHESSBOARD BACKGROUNDS              */
.logo-area    { background: var(--area-medium); }
.article-area { background: var(--area-dark);   }
.svg-area     { background: var(--area-dark);   }
.contact-area { background: var(--area-medium); }

/*―――――――――――――――――――――――――――――――――*/
/* 3. LOGO AREA                           */
.logo-area, 
.logo-link {
  flex: 0 0 65%;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-decoration: none;
}
.overlay-logo {
  max-width: 115px;
}
.logo-tagline {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  opacity: 0.8;
  text-align: center;
  text-decoration: none;
}
.overlay-logo {
  width: 115px;
  height: auto;
}
.logo-link:hover {
  opacity: 0.8;
}
/*―――――――――――――――――――――――――――――――――*/
/* 4. ARTICLE AREA                        */
.article-area {
  flex: 1 1 35%;
  display: flex; flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}
.article-label {
  font-size: .9rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.article-area a {
  color: var(--cc-color);
  text-decoration: none;
  font-size: 1.08rem;
  transition: color .2s;
}
.article-area a:hover {
  color: var(--cc-hover);
}

/*―――――――――――――――――――――――――――――――――*/
/* 5. SVG AREA                            */
.svg-area {
  flex: 0 0 65%;
  position: relative;
  background-color: var(--area-dark);
  background-image: url('/assets/pattern.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex; justify-content: center; align-items: center;
  padding: 0;
}
.svg-area img {
  max-width: 60%;
  height: auto;
  position: relative; z-index: 1;
}

/*―――――――――――――――――――――――――――――――――*/
/* 6. CONTACT AREA                        */
.contact-area {
  flex: 1 1 35%;
  display: flex; flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  color: rgba(255,255,255,0.8);
}
.contact-phone {
  font-size: 1.16rem; font-weight: bold;
  margin-bottom: 8px;
}
.contact-phone a,
.contact-mail a {
  color: var(--cc-color);
  text-decoration: none;
}

.contact-phone a:hover,
.contact-mail a:hover {
  color: var(--cc-hover);
}

.contact-mail a {
  margin-bottom: 4px;
  display: inline-block;
}

.contact-hours {
  font-size: .97rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}


/*―――――――――――――――――――――――――――――――――*/
/* 7. MEGA-MENU                           */
.mega-menu {
  width: 100%; max-width: 500px;
  margin: 0 auto;
  padding: 60px 6vw 40px 4vw;
  display: flex; flex-direction: column; justify-content: center;
}
.mega-menu ul { list-style: none; margin: 0; padding: 0; }

.mega-menu > ul > li.main-link {
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--area-medium);
  color: var(--cc-accent);
  font-size: 2rem; font-weight: bold;
  margin-bottom: 1.8rem;
  opacity: 0; transform: translateX(20px);
}
.mega-menu > ul > li > span {
  display: block; margin-bottom: 8px;
}
.mega-menu ul ul li {
  font-size: 1.05rem; font-weight: 400;
  margin: 4px 0; color: var(--cc-hover);
}
.mega-menu ul ul li a {
  color: var(--cc-accent); text-decoration: none;
  transition: color .14s;
}
.mega-menu ul ul li a:hover {
  color: var(--cc-color);
}
.mega-menu .coming-soon {
  color: #aaa !important; font-style: italic;
  pointer-events: none;
}
.mega-menu .coming-soon span {
  font-size: .99rem; color: #aaa;
}


.mega-menu a {
  text-decoration: none;
}

.mega-menu > ul > li.main-link > a {
  color: #fff;
  text-decoration: none;
}
.mega-menu ul ul li a:hover,
.mega-menu > ul > li.main-link span:hover {
  transform: translateX(4px);
  transition: transform 0.2s ease;
}
.mega-menu > ul > li.main-link > a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.mega-menu > ul > li.main-link > a:hover {
  transform: translateX(4px);
}




/*―――――――――――――――――――――――――――――――――*/
/* 8. HAMBURGER BUTTON                   */
.hamburger {
  position: absolute; right: 32px;
  z-index: 1300;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  backdrop-filter: blur(5px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 4px; cursor: pointer;
  transition: background .3s;
}
.hamburger:hover { background: rgba(255,255,255,0.1); border-color: var(--cc-color); }
.hamburger span { width: 24px; height: 3px; background: var(--cc-color); transition: transform .4s, opacity .4s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); }


/*―――――――――――――――――――――――――――――――――*/
/* 9. ANIMATIONS                          */

.overlay-menu {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.overlay-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mega-menu > ul > li.main-link {
  opacity: 1;
  transform: none;
  transition: none;
}


/**/
html,
body {
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}


/*―――――――――――――――――――――――――――――――――*/
/* 10. RESPONSIVE                         */
@media (max-width: 768px) {
  .overlay-menu {
    position: fixed;
    inset: 0;
    background: var(--main-bg);
    z-index: 1200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }

.overlay-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}

.left-center-wrap {
  order: 0;
  display: block;
}

  .overlay-col {
    width: 100%;
    padding: 20px;
    border-left: none !important;
    border-bottom: 1px solid #2a2a2a;
  }

  .overlay-col.right {
    order: -1;
    border-bottom: 1px solid #2a2a2a;
  }

  .mega-menu {
    padding: 24px 20px;
  }

  .mega-menu > ul > li.main-link {
    opacity: 1 !important;
    transform: none !important;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
    padding-left: 12px;
  }

  .mega-menu ul ul li {
    font-size: 1rem;
  }

  .logo-area,
  .article-area,
  .svg-area,
  .contact-area {
    padding: 16px 20px;
  }

  .overlay-logo {
    width: 80px;
    height: auto;
  }

  .hamburger {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1400;
  }

  body {
    overflow: hidden;
    touch-action: none;
  }
}
/**/