/* Site-wide green atmosphere + footer */

@keyframes hbc-scene-drift-a {
  0% {
    transform: translate(0%, 0%) scale(1);
  }
  100% {
    transform: translate(-6%, 4%) scale(1.12);
  }
}

@keyframes hbc-scene-drift-b {
  0% {
    transform: translate(0%, 0%) scale(1.05);
  }
  100% {
    transform: translate(8%, -5%) scale(1);
  }
}

@keyframes hbc-foot-shine {
  0% {
    opacity: 0.35;
    transform: translateX(-20%);
  }
  100% {
    opacity: 0.55;
    transform: translateX(20%);
  }
}

body.hbc-site {
  background-color: #d8ebe0;
  --color--c3: #2d6a4f;
}

body.hbc-site .hbc-shell {
  background: transparent;
  position: relative;
  z-index: 1;
}

.hbc-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    #c8e6d4 0%,
    #e4f2e8 28%,
    #d4ebdc 52%,
    #bfe0cc 78%,
    #a8d4bc 100%
  );
}

.hbc-scene::before,
.hbc-scene::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
}

.hbc-scene::before {
  width: 55vmax;
  height: 55vmax;
  left: -12vmax;
  top: -8vmax;
  background: radial-gradient(circle, #7bc89a 0%, transparent 68%);
  animation: hbc-scene-drift-a 22s ease-in-out infinite alternate;
}

.hbc-scene::after {
  width: 48vmax;
  height: 48vmax;
  right: -10vmax;
  bottom: -6vmax;
  background: radial-gradient(circle, #95d5b2 0%, #52b788 35%, transparent 70%);
  animation: hbc-scene-drift-b 26s ease-in-out infinite alternate;
}

body.hbc-site .hbc-body .spacer-large,
body.hbc-site .hbc-body .spacer-small {
  background: transparent;
}

body.hbc-site .topic-links {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(27, 67, 50, 0.06);
}

body.hbc-site .top-bar {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border-radius: 0 0 1rem 1rem;
}

@media screen and (max-width: 991px) {
  body.hbc-site .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }

  body.hbc-site .top-bar__ticker {
    display: none;
  }

  body.hbc-site .top-bar__sub {
    display: none;
  }
}

/* —— Nav overlay (mobile menu panel) —— */
body.hbc-site .nav__content {
  position: relative;
  background: linear-gradient(
    165deg,
    #40916c 0%,
    #2d6a4f 38%,
    #1b4332 72%,
    #142a1f 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 28px 56px rgba(20, 42, 31, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

body.hbc-site .nav__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(149, 213, 178, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(82, 183, 136, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

body.hbc-site .nav__head,
body.hbc-site .nav__main,
body.hbc-site .nav__social {
  position: relative;
  z-index: 1;
}

body.hbc-site .nav__main {
  border-top-color: rgba(255, 255, 255, 0.14);
}

body.hbc-site .nav__link {
  transition:
    padding 0.2s cubic-bezier(0.39, 0.575, 0.565, 1),
    background-color 0.2s ease;
}

body.hbc-site .nav__link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

body.hbc-site .nav__flow {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.hbc-site .nav__flow-label {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body.hbc-site .nav__flow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

body.hbc-site .nav__flow-steps li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

body.hbc-site .nav__flow-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #1b4332;
  background: #d8f3dc;
}

body.hbc-site .close-nav {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.hbc-site .nav-head__button.kakao-btn {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

body.hbc-inquiry .hbc-foot__head > .kakao-btn {
  display: none;
}

body.hbc-site .service-grid__content,
body.hbc-site .ops-panel__content .ops-panel__photo,
body.hbc-site .ops-panel__content .ops-panel__board {
  /* 카드·포스터 섹션 */
}

/* —— Footer —— */
.footer.hbc-foot {
  position: relative;
  margin-top: 0;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  background: linear-gradient(180deg, rgba(27, 67, 50, 0.92) 0%, #142a1f 100%);
  color: #e8f5e9;
  overflow: hidden;
}

.footer.hbc-foot .footer__content {
  padding-top: 0;
  padding-bottom: 0;
}

.hbc-foot__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(149, 213, 178, 0.25), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(82, 183, 136, 0.2), transparent 50%);
  pointer-events: none;
}

.hbc-foot__mesh::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: hbc-foot-shine 8s ease-in-out infinite alternate;
}

.hbc-foot__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hbc-foot__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hbc-foot__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hbc-foot__logo.brand-lockup {
  align-items: center;
  max-width: none;
}

.hbc-foot__logo .brand-lockup__mark {
  width: 2.5rem;
  height: 2.5rem;
}

.hbc-foot__tagline {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(232, 245, 233, 0.78);
  letter-spacing: 0.02em;
}

.hbc-foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hbc-foot__nav a {
  padding: 0.65rem 1.1rem;
  border-radius: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hbc-foot__nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.hbc-foot__nav a.kakao-btn {
  background: #fee500;
  color: #191919;
  border-color: transparent;
  font-weight: 600;
}

.hbc-foot__nav a.kakao-btn:hover {
  background: #f5dc00;
}

.hbc-foot__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem 2rem;
}

.hbc-foot__info-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hbc-foot__info-block .text-regular,
.hbc-foot__info-block a {
  color: rgba(232, 245, 233, 0.88);
}

.hbc-foot__info-block a:hover {
  color: #fff;
}

.hbc-foot__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #95d5b2;
  margin-bottom: 0.25rem;
}

.hbc-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(232, 245, 233, 0.65);
}

.hbc-foot__bottom a {
  color: rgba(232, 245, 233, 0.85);
  text-decoration: none;
}

.hbc-foot__bottom a:hover {
  color: #fff;
}

.hbc-foot__watermark {
  margin-top: 2rem;
  text-align: center;
  opacity: 0.12;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  user-select: none;
  pointer-events: none;
}

.footer.hbc-foot .footer__img {
  display: none;
}

.footer.hbc-foot .footer__main {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hbc-scene::before,
  .hbc-scene::after,
  .hbc-foot__mesh::after {
    animation: none;
  }
}

@media screen and (max-width: 767px) {
  .hbc-foot__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
