@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@300;400;500;600;700&display=swap');

:root {
  --bg:          #1A1230;
  --bg-2:        #231848;
  --bg-card:     #2A1E55;
  --purple-soft: #7C6FA0;
  --gold:        #F0C040;
  --gold-dim:    #C49A28;
  --gold-glow:   rgba(240,192,64,0.12);
  --off-white:   #F0EDF8;
  --muted:       #A899C8;
  --border:      rgba(240,192,64,0.15);
  --border-soft: rgba(255,255,255,0.07);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family:'Pretendard','Apple SD Gothic Neo',sans-serif;
  background:var(--bg);
  color:var(--off-white);
  line-height:1.7;
  min-height:100vh;
}

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  height:64px;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:nowrap;
  padding:0 48px;
  background:rgba(26,18,48,0.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}

.nav-logo {
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:var(--off-white);
  flex-shrink:0; white-space:nowrap;
}

.logo-mark {
  width:34px; height:34px;
  background:var(--gold);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:15px; font-weight:700; color:var(--bg);
  flex-shrink:0;
}

.logo-text { font-size:15px; font-weight:600; letter-spacing:-0.3px; }
.logo-text em { font-style:normal; color:var(--gold); }

.nav-links { display:flex; gap:32px; list-style:none; }

.nav-links a {
  text-decoration:none;
  font-size:14px; color:var(--muted);
  transition:color 0.2s;
  position:relative; padding-bottom:4px;
}

.nav-links a::after {
  content:'';
  position:absolute; bottom:0; left:0; right:0;
  height:1px; background:var(--gold);
  transform:scaleX(0); transform-origin:left;
  transition:transform 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color:var(--gold); }

.nav-links a.active::after,
.nav-links a:hover::after { transform:scaleX(1); }

.nav-tel {
  font-size:13px; color:var(--muted);
  letter-spacing:0.2px;
}

/* ── PAGE WRAP ── */
.page { padding-top:64px; min-height:100vh; }

/* ── FOOTER ── */
footer {
  padding:40px 48px;
  border-top:1px solid var(--border-soft);
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:16px;
}

.footer-logo { display:flex; align-items:center; gap:8px; }
.footer-logo .logo-mark { width:28px; height:28px; font-size:12px; border-radius:6px; }
.footer-logo span { font-size:13px; color:var(--muted); }
.footer-logo span b { color:var(--gold); font-weight:600; }

.footer-info {
  font-size:12px; color:var(--muted);
  line-height:1.9; text-align:right;
}

/* ── SECTION COMMON ── */
.section-eyebrow {
  font-size:11px; font-weight:500;
  letter-spacing:2.5px; text-transform:uppercase;
  color:var(--gold); margin-bottom:14px;
}

.section-title {
  font-size:clamp(26px,3.5vw,40px);
  font-weight:700; letter-spacing:-1px; line-height:1.2;
  margin-bottom:14px;
}

.section-desc {
  font-size:15px; color:var(--muted); line-height:1.85;
  max-width:500px; margin-bottom:52px;
}

/* ── KAKAO FLOATING ── */
.kakao-float {
  position: fixed;
  bottom: 24px; right: 20px;
  z-index: 999;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.kakao-float-btn {
  width: 40px; height: 40px;
  background: #FEE500;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.28);
  transition: transform 0.18s;
  flex-shrink: 0;
}

.kakao-float:hover .kakao-float-btn { transform: translateY(-2px); }
.kakao-float-btn svg { width: 20px; height: 20px; }

.kakao-float-label {
  font-size: 11px; font-weight: 600;
  color: #3C1E1E;
  background: #FEE500;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ── KAKAO FOOTER LINK ── */
.kakao-footer-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #FEE500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.kakao-footer-link:hover { opacity: 1; }
.kakao-footer-link svg { width: 16px; height: 16px; flex-shrink: 0; fill: #FEE500; }

/* ── RESPONSIVE ── */
/* ── HAMBURGER MENU ── */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 56px; left: 0; right: 0;
  background: rgba(26,18,48,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
  padding: 12px 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 24px;
  font-size: 15px; color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.15s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }

@media (max-width:768px) {
  nav {
    padding:0 16px;
    height:56px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    flex-wrap:nowrap;
  }
  .nav-links { display:none; }
  .nav-tel { display:none; }
  .hamburger { display:flex; order:99; margin-left:8px; }
  #navUserArea { order:98; }
  .nav-logo { order:1; }
  footer { padding:32px 20px; }
  .footer-info { text-align:left; }
  .kakao-float { bottom:20px; right:16px; }
}

.footer-logo span, .footer-logo span b { color: #F0EDF8 !important; }



.mobile-menu {
  display: none;
  position: fixed; top: 56px; left: 0; right: 0;
  background: rgba(26,18,48,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
  padding: 12px 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 24px;
  font-size: 15px; color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.15s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
