@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* =========================================================
   WISE TAX GROUP — Modern Rebuild
   Design tokens
   ========================================================= */
:root {
  --navy-900: #0c2545;
  --navy-800: #103057;
  --navy-700: #16407a;
  --blue-600: #1d6fd6;
  --blue-500: #2b86f0;
  --blue-100: #e7f1fd;
  --ink: #14202e;
  --ink-soft: #44566b;
  --ink-faint: #7a8a9c;
  --line: #e6ebf1;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-navy: #0c2545;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 18px rgba(16, 48, 87, 0.06);
  --shadow-md: 0 14px 40px rgba(16, 48, 87, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 37, 69, 0.16);
  --maxw: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--soft { background: var(--bg-soft); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 16px; font-size: 16px; font-weight: 600; color: var(--ink-soft);
  border-radius: 10px; transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--navy-700); background: var(--blue-100); }
.nav__link.is-active { color: var(--navy-700); }
.nav__link--diag { color: var(--blue-600); font-weight: 700; }
.nav__link--diag:hover { color: var(--navy-700); background: var(--blue-100); }
.drawer__link--diag { color: var(--blue-600); font-weight: 700; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700));
  color: #fff; box-shadow: 0 8px 22px rgba(29, 111, 214, 0.32);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(29, 111, 214, 0.42); }
.cta__icon { width: 17px; height: 17px; }
.cta--ghost { background: #fff; color: var(--navy-700); border: 1.5px solid var(--blue-600); box-shadow: none; }
.cta--ghost:hover { background: var(--blue-100); }
.cta--lg { padding: 16px 32px; font-size: 17px; }
.cta--kakao { background: #FEE500; color: #191919; box-shadow: 0 8px 22px rgba(254, 229, 0, 0.4); }
.cta--kakao:hover { background: #f5dc00; box-shadow: 0 12px 28px rgba(254, 229, 0, 0.5); }

.hamburger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(12, 37, 69, 0.4); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 340px);
  background: #fff; box-shadow: var(--shadow-lg); padding: calc(var(--header-h) + 16px) 24px 32px;
  transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; gap: 6px;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__link { padding: 16px 12px; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer__link:hover { color: var(--navy-700); }
.drawer .cta { margin-top: 20px; justify-content: center; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding-top: var(--header-h); color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/images/main_title.jpg") center/cover no-repeat; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8, 26, 51, 0.92) 0%, rgba(12, 37, 69, 0.78) 45%, rgba(20, 64, 122, 0.55) 100%); }
.hero__inner { position: relative; z-index: 1; padding: 80px 0; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; color: #bcd6f5; margin-bottom: 22px; }
.hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue-500); }
.hero__title { font-size: clamp(36px, 6vw, 68px); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
.hero__title b { background: linear-gradient(120deg, #7db4f5, #cfe3fb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__desc { margin-top: 26px; font-size: clamp(16px, 2vw, 20px); color: #d4e2f3; max-width: 560px; line-height: 1.7; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .cta--ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); }
.hero__actions .cta--ghost:hover { background: rgba(255,255,255,0.16); }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1; color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 0.2em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span { width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,0.7), transparent); animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =========================================================
   Section heading
   ========================================================= */
.head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head__tag { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue-600); text-transform: uppercase; margin-bottom: 14px; }
.head__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.head__title b { color: var(--blue-600); }
.head__desc { margin-top: 18px; font-size: clamp(15px, 1.7vw, 18px); color: var(--ink-soft); line-height: 1.75; }

/* =========================================================
   Service cards (업무영역 / main)
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__num { position: absolute; top: 16px; left: 18px; font-size: 14px; font-weight: 700; color: #fff; background: rgba(12,37,69,0.55); backdrop-filter: blur(4px); padding: 5px 12px; border-radius: 999px; }
.card__body { padding: 28px 28px 32px; }
.card__title { font-size: 21px; font-weight: 800; color: var(--ink); }
.card__title::after { content: ""; display: block; width: 36px; height: 3px; background: var(--blue-600); border-radius: 3px; margin: 14px 0 16px; }
.card__desc { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }

/* =========================================================
   Members
   ========================================================= */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.member__photo { aspect-ratio: 3 / 3.4; background: var(--bg-soft); overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__body { padding: 22px 22px 26px; }
.member__role { font-size: 13px; font-weight: 700; color: var(--blue-600); letter-spacing: 0.04em; }
.member__name { font-size: 22px; font-weight: 800; margin-top: 4px; }
.member__quote { margin-top: 14px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

/* Member search */
.msearch { max-width: 640px; margin: 0 auto 48px; }
.msearch__box { position: relative; display: flex; align-items: center; }
.msearch__input {
  width: 100%; padding: 18px 56px 18px 22px; font-size: 17px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.msearch__input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.msearch__icon { position: absolute; right: 20px; width: 22px; height: 22px; color: var(--ink-faint); pointer-events: none; }
.msearch__hint { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-faint); }
.msearch__results { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.mrow {
  display: flex; align-items: center; gap: 18px; padding: 16px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  animation: rowIn .35s var(--ease) both;
}
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mrow__name { font-size: 18px; font-weight: 800; min-width: 76px; }
.mrow__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.mrow__chip { font-size: 14px; font-weight: 600; padding: 5px 14px; border-radius: 999px; background: var(--blue-100); color: var(--navy-700); }
.mrow__chip--dept { background: #eef1f5; color: var(--ink-soft); }
.msearch__empty { text-align: center; padding: 28px; color: var(--ink-faint); font-size: 15px; }

/* =========================================================
   Sub page hero
   ========================================================= */
.subhero { position: relative; padding: calc(var(--header-h) + 70px) 0 70px; color: #fff; overflow: hidden; }
.subhero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.subhero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8,26,51,0.9), rgba(20,64,122,0.6)); }
.subhero--member .subhero__bg { background-image: url("../assets/images/sub_title_member.jpg"); }
.subhero--business .subhero__bg { background-image: url("../assets/images/sub_title_business.jpg"); }
.subhero--wisenote .subhero__bg { background-image: url("../assets/images/sub_title_wisenote.jpg"); }
.subhero--location .subhero__bg { background-image: url("../assets/images/sub_title_location.jpg"); }
.subhero__crumb { font-size: 14px; color: #bcd6f5; margin-bottom: 16px; }
.subhero__title { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; }
.subhero__desc { margin-top: 16px; font-size: clamp(15px, 1.9vw, 19px); color: #d4e2f3; max-width: 600px; }

/* =========================================================
   Wise Note feature rows
   ========================================================= */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.feature + .feature { margin-top: clamp(56px, 8vw, 110px); }
.feature--rev .feature__media { order: 2; }
.feature__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-soft); }
.feature__media img { width: 100%; }
.feature__tags { display: flex; gap: 10px; margin-top: 22px; }
.feature__tag { font-size: 14px; font-weight: 700; color: var(--blue-600); background: var(--blue-100); padding: 7px 16px; border-radius: 999px; }

/* =========================================================
   Location
   ========================================================= */
.loc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch; }
.loc__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 420px; }
.loc__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.loc__info { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 8px; }
.loc__item { display: flex; flex-direction: column; gap: 8px; }
.loc__label { font-size: 14px; font-weight: 700; color: var(--blue-600); letter-spacing: 0.04em; }
.loc__value { font-size: 19px; font-weight: 600; color: var(--ink); }
.loc__value a:hover { color: var(--blue-600); }
.loc__divider { height: 1px; background: var(--line); }

/* =========================================================
   CTA band
   ========================================================= */
.band { position: relative; padding: clamp(70px, 10vw, 120px) 0; color: #fff; text-align: center; overflow: hidden; }
.band__bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/images/main_section3_bg.jpg") center/cover no-repeat; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(8,26,51,0.86), rgba(12,37,69,0.9)); }
.band__title { font-size: clamp(26px, 4vw, 44px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.band__desc { margin-top: 18px; font-size: clamp(15px, 1.9vw, 19px); color: #d4e2f3; }
.band__actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.band .cta--ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.55); }
.band .cta--ghost:hover { background: rgba(255,255,255,0.2); }

/* =========================================================
   Stats strip
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat__num { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; color: var(--navy-700); letter-spacing: -0.02em; }
.stat__num b { color: var(--blue-600); }
.stat__label { margin-top: 8px; font-size: 15px; color: var(--ink-soft); font-weight: 500; }

/* =========================================================
   Legal pages (terms / privacy)
   ========================================================= */
.legal { max-width: 880px; margin: 0 auto; }
.legal__lead { font-size: 16px; color: var(--ink-soft); padding-bottom: 28px; margin-bottom: 36px; border-bottom: 2px solid var(--navy-700); }
.legal h2 { font-size: 20px; font-weight: 800; color: var(--navy-700); margin: 40px 0 8px; }
.legal h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 26px 0 6px; }
.legal p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; margin: 4px 0; }
.legal p.idx { padding-left: 18px; text-indent: -18px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* =========================================================
   Online self-service tools
   ========================================================= */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tool {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 38px 34px; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.tool:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tool--accent { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); border-color: transparent; color: #fff; }
.tool__icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--blue-600);
}
.tool--accent .tool__icon { background: rgba(255,255,255,0.14); color: #fff; }
.tool__icon svg { width: 28px; height: 28px; }
.tool__title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.tool__desc { font-size: 15px; color: var(--ink-soft); line-height: 1.7; flex: 1; }
.tool--accent .tool__desc { color: #d4e2f3; }
.tool__badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--blue-100); color: var(--navy-700); width: fit-content; }
.tool--accent .tool__badge { background: rgba(255,255,255,0.16); color: #fff; }
.tool__btn {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 4px;
  padding: 13px 24px; border-radius: 999px; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); color: #fff;
  box-shadow: 0 8px 22px rgba(29,111,214,.28); transition: transform .25s var(--ease), box-shadow .25s;
}
.tool--accent .tool__btn { background: #fff; color: var(--navy-700); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.tool__btn:hover { transform: translateX(3px); }
.tool__btn svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr; } }

/* =========================================================
   Tax calculator (단순계산기)
   ========================================================= */
.calc { max-width: 760px; margin: 0 auto; }
.calc__tabs { display: flex; gap: 8px; background: var(--bg-soft); padding: 6px; border-radius: 999px; margin-bottom: 32px; }
.calc__tab {
  flex: 1; padding: 13px 10px; border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink-soft);
  border-radius: 999px; transition: background .25s, color .25s;
}
.calc__tab.is-active { background: #fff; color: var(--navy-700); box-shadow: var(--shadow-sm); }
.calc__panel { display: none; }
.calc__panel.is-active { display: block; animation: rowIn .35s var(--ease) both; }

.calc__field { margin-bottom: 20px; }
.calc__label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.calc__label .opt { font-weight: 500; color: var(--ink-faint); font-size: 13px; }
.calc__inputwrap { position: relative; }
.calc__input {
  width: 100%; padding: 15px 52px 15px 18px; font-size: 17px; font-family: inherit; text-align: right;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.calc__input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.calc__unit { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--ink-faint); pointer-events: none; }
.calc__krw { margin-top: 6px; font-size: 13px; color: var(--blue-600); min-height: 18px; text-align: right; font-weight: 600; }
.calc__select {
  width: 100%; padding: 15px 18px; font-size: 16px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); cursor: pointer;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237a8a9c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center;
}
.calc__select:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.calc__btn {
  width: 100%; padding: 16px; margin-top: 6px; border: 0; border-radius: var(--radius-sm); cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); box-shadow: 0 8px 22px rgba(29,111,214,.28);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.calc__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(29,111,214,.4); }

.calc__result { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: none; }
.calc__result.is-shown { display: block; animation: rowIn .4s var(--ease) both; }
.calc__result-rows { padding: 8px 24px; }
.calc__rrow { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.calc__rrow:last-child { border-bottom: 0; }
.calc__rrow span:first-child { color: var(--ink-soft); }
.calc__rrow span:last-child { font-weight: 600; color: var(--ink); }
.calc__total { background: var(--navy-900); color: #fff; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; }
.calc__total-label { font-size: 15px; color: #bcd6f5; }
.calc__total-value { font-size: 26px; font-weight: 800; }
.calc__total-value small { font-size: 15px; font-weight: 600; color: #bcd6f5; margin-left: 4px; }
.calc__note { margin-top: 18px; font-size: 13px; color: var(--ink-faint); line-height: 1.7; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.calc__cta { margin-top: 18px; text-align: center; }

@media (max-width: 560px) {
  .calc__tab { font-size: 14px; padding: 12px 6px; }
  .calc__total-value { font-size: 22px; }
}

/* =========================================================
   Floating social toggle (SNS 연결)
   ========================================================= */
.sns { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; flex-direction: column-reverse; align-items: center; gap: 14px; }
.sns__toggle {
  width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700));
  color: #fff; box-shadow: 0 10px 28px rgba(16, 48, 87, 0.32);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.sns__toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(16, 48, 87, 0.42); }
.sns__toggle svg { width: 26px; height: 26px; transition: transform .35s var(--ease); }
.sns.is-open .sns__toggle svg { transform: rotate(135deg); }
.sns__icon-close { display: none; }
.sns.is-open .sns__icon-open { display: none; }
.sns.is-open .sns__icon-close { display: block; }

.sns__list { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.sns__item {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(16, 48, 87, 0.22); color: #fff;
  opacity: 0; transform: translateY(14px) scale(.7); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.sns__item svg { width: 26px; height: 26px; }
.sns.is-open .sns__item { opacity: 1; transform: none; pointer-events: auto; }
.sns.is-open .sns__item:nth-child(1) { transition-delay: .12s; }
.sns.is-open .sns__item:nth-child(2) { transition-delay: .06s; }
.sns.is-open .sns__item:nth-child(3) { transition-delay: 0s; }
.sns__item:hover { transform: translateY(-3px) scale(1.06); }

.sns__item--youtube { background: #FF0000; }
.sns__item--instagram { background: radial-gradient(circle at 30% 110%, #FEDA75, #FA7E1E 25%, #D62976 50%, #962FBF 75%, #4F5BD5); }
.sns__item--kakao { background: #FEE500; color: #191919; }

.sns__label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.sns__label::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--ink); }
.sns__item:hover .sns__label { opacity: 1; }

@media (max-width: 560px) {
  .sns { right: 16px; bottom: 16px; }
  .sns__toggle { width: 54px; height: 54px; }
  .sns__item { width: 48px; height: 48px; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--bg-navy); color: #c6d4e6; padding: 64px 0 40px; }
.footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__logo img { height: 30px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { font-size: 15px; color: #c6d4e6; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.footer__addr { font-size: 14.5px; line-height: 1.8; color: #aebfd6; }
.footer__addr .sep { color: rgba(255,255,255,0.25); margin: 0 10px; }
.footer__addr a:hover { color: #fff; }
.footer__copy { font-size: 13px; color: #7c93b3; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .members { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav, .header__actions .cta { display: none; }
  .hamburger { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .feature, .loc { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .loc__map, .loc__map iframe { min-height: 320px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .members { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .footer__top { flex-direction: column; }
  .mrow { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Mobile-optimized background images */
@media (max-width: 768px) {
  .hero { min-height: 88vh; }
  .hero__bg { background-image: url("../assets/images/main_title_mo.jpg"); }
  .band__bg { background-image: url("../assets/images/main_section3_bg_mo.jpg"); }
  .subhero--member .subhero__bg { background-image: url("../assets/images/sub_title_mo_member.jpg"); }
  .subhero--business .subhero__bg { background-image: url("../assets/images/sub_title_mo_business.jpg"); }
  .subhero--wisenote .subhero__bg { background-image: url("../assets/images/sub_title_mo_wisenote.jpg"); }
}
