.top-nav-wrap{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246,241,232,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.top-nav-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-brand{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-brand-logo{
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.10));
}

.site-brand-text{
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #234b34;
  line-height: 1;
}

.top-nav{
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.top-nav > a,
.nav-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  text-decoration: none;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(244,237,225,.92));
  border: 1px solid rgba(86,78,61,.12);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.8),
    0 6px 14px rgba(0,0,0,.08);
  font-weight: 800;
  font-size: 15px;
  color: #2B2B2B;
  line-height: 1;
  white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.top-nav > a:hover,
.nav-link:hover{
  transform: translateY(-2px);
  background: linear-gradient(180deg, #3f6d4d, #2e5a40);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 12px 24px rgba(58,106,75,.22);
}

.nav-item{
  position: relative;
  display: flex;
  align-items: center;
}

.has-dropdown .nav-link::after{
  content: "▾";
  margin-left: 8px;
  font-size: 11px;
  line-height: 1;
  transform: translateY(1px);
}

.dropdown-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,251,245,.96);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 36px rgba(0,0,0,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.dropdown-menu a{
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  transition: background .2s ease, color .2s ease;
}

.dropdown-menu a:hover{
  background: #edf7f0;
  color: #2f5a40;
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== 공통 플로팅 버튼: 시설안내 페이지 버전으로 변경 ===== */
.floating-buttons{
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  transition: opacity 0.4s ease, transform 0.3s ease;
  opacity: 1;
}

.floating-buttons.dimmed{
  opacity: 0.55;
  transform: translateY(4px);
}

.floating-btn{
  background: linear-gradient(135deg, #81c784 0%, #388e3c 100%);
  color: #fff;
  min-width: 138px;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  box-shadow:
    0 10px 24px rgba(46,125,50,.28),
    inset 0 1px 0 rgba(255,255,255,.25);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    opacity .25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.floating-btn:hover{
  background: linear-gradient(135deg, #66bb6a 0%, #2e7d32 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 28px rgba(46,125,50,.34),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.floating-btn:focus-visible{
  outline: 3px solid rgba(129,199,132,.35);
  outline-offset: 2px;
}

.floating-btn__icon{
  font-size: 18px;
  line-height: 1;
}

.floating-btn__text{
  line-height: 1;
}

.care-location-menu{
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 248px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(46,125,50,.10);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(30,54,37,.18);
  padding: 10px;
  z-index: 10000;
  display: none;
  backdrop-filter: blur(10px);
}

.care-location-menu.open{
  display: block;
}

.care-location-menu-title{
  font-size: 13px;
  font-weight: 800;
  color: #2d5a33;
  padding: 8px 10px 6px;
}

.care-location-link{
  display: block;
  text-decoration: none;
  background: #f4faf4;
  color: #1f4b27;
  padding: 12px 14px;
  border-radius: 12px;
  margin: 6px 0;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.care-location-link:hover{
  background: #e8f5e9;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(46,125,50,.08);
}

.care-location-link small{
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #5d7862;
}

@media (max-width: 1100px){
  .top-nav-inner{
    gap: 16px;
  }

  .site-brand-logo{
    width: 60px;
    height: 60px;
  }

  .site-brand-text{
    font-size: 26px;
  }

  .top-nav{
    gap: 10px;
  }
}

@media (max-width: 900px){
  .top-nav-wrap{
    overflow-x: auto;
  }

  .top-nav-inner{
    min-width: max-content;
    align-items: center;
  }

  .top-nav{
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
  }

  .top-nav > a,
  .nav-link{
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 14px;
    flex: 0 0 auto;
  }

  .nav-item{
    flex: 0 0 auto;
  }

  .dropdown-menu{
    top: calc(100% + 8px);
    min-width: 180px;
  }

  .floating-buttons{
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .floating-btn{
    min-width: 124px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .floating-btn__icon{
    font-size: 17px;
  }

  .care-location-menu{
    right: 0;
    bottom: 68px;
    width: 220px;
  }
}

@media (max-width: 640px){
  .site-brand-text{
    display: none;
  }

  .site-brand-logo{
    width: 54px;
    height: 54px;
  }
}