/* B02 — NAVIGATION (Header sticky) */

:root{
  --b02-navy: #1E2D3F;
  --b02-navy2: #27384B;
  --b02-orange: #F5A623;
  --b02-orange3: #FF7A00;
  --b02-off: #FAF9F6;
  --b02-gray: #6B7888;
}

.b02-nav{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 2px solid var(--b02-orange);
  font-family: 'IBM Plex Sans', sans-serif;
  transition: box-shadow 0.3s ease;
}
.b02-nav.is-scrolled{
  box-shadow: 0 4px 24px rgba(30, 45, 63, 0.08);
}
.b02-nav-container{
  max-width: none; margin: 0 auto;
  padding: 0 40px;
}
.b02-nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.b02-logo{
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.b02-logo:hover{ opacity: 0.85; }
.b02-logo svg{ display: block; }

.b02-nav-links{
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  align-items: center;
}
.b02-nav-links > li{ position: relative; }
.b02-nav-links a,
.b02-nav-links .b02-dropdown-toggle{
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--b02-navy);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  letter-spacing: -0.01em;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.b02-nav-links > li > a::after,
.b02-nav-links > li > .b02-dropdown-toggle::after{
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--b02-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.b02-nav-links > li:hover > a::after,
.b02-nav-links > li:hover > .b02-dropdown-toggle::after,
.b02-nav-links > li.is-active > a::after{ transform: scaleX(1); }
.b02-nav-links > li:hover > a,
.b02-nav-links > li:hover > .b02-dropdown-toggle{ color: var(--b02-orange); }
.b02-dropdown-arrow{
  width: 11px;
  height: 11px;
  transition: transform 0.25s ease;
}
.b02-nav-links > li.has-dropdown:hover .b02-dropdown-arrow,
.b02-nav-links > li.has-dropdown.is-open .b02-dropdown-arrow{ transform: rotate(180deg); }

.b02-dropdown{
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(30, 45, 63, 0.12), 0 4px 12px rgba(30, 45, 63, 0.04);
  padding: 12px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  border: 1px solid rgba(30, 45, 63, 0.06);
}
.b02-nav-links > li.has-dropdown:hover .b02-dropdown,
.b02-nav-links > li.has-dropdown.is-open .b02-dropdown{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.b02-dropdown::before{
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(30, 45, 63, 0.06);
  border-top: 1px solid rgba(30, 45, 63, 0.06);
}
.b02-dropdown li{ list-style: none; }
.b02-dropdown a{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--b02-navy);
  transition: background 0.18s ease, transform 0.18s ease;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.b02-dropdown a:hover{
  background: rgba(245, 166, 35, 0.08);
  color: var(--b02-orange);
  transform: translateX(2px);
}
.b02-dropdown-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(245, 166, 35, 0.1);
  color: var(--b02-orange);
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.b02-dropdown a:hover .b02-dropdown-icon{
  background: var(--b02-orange);
  color: #fff;
}
.b02-dropdown-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.b02-dropdown-title{ font-weight: 600; font-size: 0.92rem; }
.b02-dropdown-sub{
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--b02-gray);
}
.b02-dropdown a:hover .b02-dropdown-sub{ color: rgba(30, 45, 63, 0.6); }

.b02-nav-right{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.b02-nav-tel{
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--b02-navy);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: -0.015em;
}
.b02-nav-tel svg{
  color: var(--b02-orange);
  flex-shrink: 0;
}
.b02-nav-tel:hover{ color: var(--b02-orange); }
.b02-btn{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.b02-btn-primary{
  background: linear-gradient(135deg, var(--b02-orange3), var(--b02-orange));
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}
.b02-btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.5);
}
.b02-btn-primary:active{ transform: translateY(0); }
.b02-btn-arrow{ transition: transform 0.22s ease; }
.b02-btn-primary:hover .b02-btn-arrow{ transform: translateX(3px); }

.b02-mobile-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--b02-navy);
  transition: color 0.2s;
}
.b02-mobile-toggle:hover{ color: var(--b02-orange); }

@media (max-width: 1100px){
  .b02-nav-links{ gap: 22px; }
  .b02-nav-links a,
  .b02-nav-links .b02-dropdown-toggle{ font-size: 0.84rem; }
  .b02-nav-tel span{ font-size: 0.92rem; }
  .b02-btn-primary{ padding: 11px 20px; font-size: 0.86rem; }
}
@media (max-width: 860px){
  .b02-nav-inner{ height: 64px; }
  .b02-nav-links{
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 2px solid var(--b02-orange);
    box-shadow: 0 16px 32px rgba(30, 45, 63, 0.1);
    align-items: stretch;
  }
  .b02-nav-links.is-open{ display: flex; }
  .b02-nav-links > li{ width: 100%; }
  .b02-nav-links > li > a,
  .b02-nav-links > li > .b02-dropdown-toggle{
    display: flex;
    width: 100%;
    padding: 16px 28px;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(30, 45, 63, 0.06);
    justify-content: space-between;
    align-items: center;
  }
  .b02-nav-links > li > a::after,
  .b02-nav-links > li > .b02-dropdown-toggle::after{ display: none; }
  .b02-dropdown{
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: rgba(245, 166, 35, 0.04);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height 0.3s ease;
  }
  .b02-dropdown::before{ display: none; }
  .b02-nav-links > li.has-dropdown.is-open .b02-dropdown{
    max-height: 300px;
    transform: none;
  }
  .b02-dropdown a{
    padding: 14px 28px 14px 56px;
    border-radius: 0;
    border-bottom: 1px solid rgba(30, 45, 63, 0.04);
  }
  .b02-dropdown a:hover{ transform: none; }
  .b02-nav-tel span{ display: none; }
  .b02-nav-tel{ padding: 8px; }
  .b02-mobile-toggle{ display: inline-flex; }
  .b02-btn-primary{ padding: 10px 16px; font-size: 0.82rem; }
}
@media (max-width: 480px){
  .b02-nav-container{ padding: 0 16px; }
  .b02-nav-right{ gap: 8px; }
  .b02-btn-primary{ padding: 9px 14px; font-size: 0.78rem; }
}
