
:root{
  --primary:#2563EB;
  --primary-700:#1D4ED8;
  --primary-soft:#EFF6FF;
  --ink:#0F172A;
  --muted:#64748B;
  --line:#E2E8F0;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Pretendard,"Noto Sans KR",Apple SD Gothic Neo,Arial,sans-serif;color:var(--ink);background:#fff}
img{max-width:100%;height:auto;display:block}
.wrap{width:min(calc(100% - 40px),var(--max));margin:0 auto}
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(226,232,240,.9)}
.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;text-decoration:none;white-space:nowrap;flex:0 0 auto}
.site-brand-logo{display:block;width:auto;height:42px;max-width:220px;object-fit:contain}
header nav{display:flex;align-items:center;gap:4px}
header nav a{display:inline-flex;align-items:center;background:transparent;color:#475569;padding:10px 11px;border-radius:10px;font-weight:700;font-size:14px;white-space:nowrap;text-decoration:none}
header nav a:hover,header nav a.active{background:#EFF6FF;color:#2563EB}
.header-actions{display:flex;align-items:center;gap:10px}
.header-actions .btn{border:0;border-radius:12px;padding:13px 18px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s ease;text-decoration:none}
.header-actions .btn.primary{
  background:#fff;
  color:#17386f;
  border:1px solid #cbd8ea;
  box-shadow:0 6px 18px rgba(15,23,42,.05);
}
.header-actions .btn.primary:hover{
  background:#f7faff;
  border-color:#aebfda;
  color:#0f2e5f;
  box-shadow:0 8px 22px rgba(37,99,235,.10);
  transform:translateY(-1px);
}
.kakao-official-icon{width:22px!important;height:22px!important;min-width:22px;object-fit:contain;border-radius:5px}
.menu-btn{display:none;border:1px solid #E2E8F0;background:#fff;width:42px;height:42px;border-radius:12px;cursor:pointer;font-size:18px}
.mobile-nav{display:none}
.gt-footer{margin-top:0;background:#101827;color:#dce5f3;border-top:1px solid #243247}
.gt-footer-top{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:64px;padding-top:54px;padding-bottom:38px}
.gt-footer-logo{display:inline-block;color:#fff;font-size:23px;font-weight:900;letter-spacing:-.045em;text-decoration:none}
.gt-footer-brand p{max-width:560px;margin:14px 0 20px;color:#91a2b8;font-size:13px;line-height:1.75}
.gt-footer-contact{display:flex;gap:9px;flex-wrap:wrap}
.gt-footer-contact a{text-decoration:none;color:#eaf2ff;font-size:12px;font-weight:800;padding:9px 12px;border:1px solid #33455f;border-radius:10px;background:#172235}
.gt-footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.gt-footer-links strong{display:block;color:#fff;font-size:12px;margin-bottom:13px}
.gt-footer-links a{display:block;color:#8fa1b8;text-decoration:none;font-size:12px;margin:9px 0}
.gt-footer-links a:hover,.gt-footer-contact a:hover{color:#fff}
.gt-footer-business{border-top:1px solid #223046;padding-top:18px;padding-bottom:18px}
.gt-footer-business-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 28px}
.gt-footer-business-item{display:flex;gap:8px;align-items:flex-start;min-width:0}
.gt-footer-business-item strong{flex:0 0 auto;color:#9db0c7;font-size:11px;line-height:1.6}
.gt-footer-business-item span,.gt-footer-business-item a{color:#71849d;font-size:11px;line-height:1.6;text-decoration:none;word-break:keep-all}
.gt-footer-business-item a:hover{color:#fff}
.gt-footer-bottom{border-top:1px solid #223046;color:#64758c;font-size:10.5px}
.gt-footer-bottom .wrap{padding-top:17px;padding-bottom:19px}
@media(max-width:1000px){
  header nav{display:none}
  .menu-btn{display:block}
  .header-actions{margin-left:auto}
  .mobile-nav{position:fixed;inset:76px 0 auto 0;background:#fff;border-bottom:1px solid #E2E8F0;padding:14px 20px;z-index:49;grid-template-columns:1fr 1fr;gap:8px;box-shadow:0 8px 24px rgba(15,23,42,.06)}
  .mobile-nav.open{display:grid}
  .mobile-nav a{display:block;border:1px solid #E2E8F0;background:#fff;border-radius:10px;padding:11px;text-align:left;font-weight:700;color:#334155;text-decoration:none}
  .mobile-nav a:hover,.mobile-nav a.active{background:#EFF6FF;color:#2563EB}
}
@media(max-width:900px){
  .gt-footer-business-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  .gt-footer-top{grid-template-columns:1fr;gap:34px;padding-top:42px}
  .gt-footer-links{grid-template-columns:repeat(2,1fr);row-gap:26px}
}
@media(max-width:700px){
  .wrap{width:min(calc(100% - 28px),var(--max))}
  .header-inner{height:68px}
  .mobile-nav{inset:68px 0 auto 0}
  .site-brand-logo{height:34px;max-width:176px}
  .kakao-official-icon{width:20px!important;height:20px!important;min-width:20px}
}
@media(max-width:560px){
  .gt-footer-business-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .gt-footer-links{grid-template-columns:1fr 1fr}
}

/* ===== KAKAO HEADER CTA V2 ===== */
.header-actions .btn.primary{
  min-height:48px;
  padding:11px 17px;
  border-radius:14px;
  font-size:14px;
  font-weight:800;
}
.header-actions .btn.primary .kakao-official-icon{
  width:24px !important;
  height:24px !important;
  min-width:24px;
}
@media(max-width:700px){
  .header-actions .btn.primary{
    min-height:44px;
    padding:9px 13px;
    font-size:13px;
  }
  .header-actions .btn.primary .kakao-official-icon{
    width:21px !important;
    height:21px !important;
    min-width:21px;
  }
}


/* ===== V19 NARROW MOBILE HEADER ===== */
@media(max-width:370px){
  .header-inner{
    gap:12px;
  }
  .site-brand-logo{
    height:32px;
    max-width:136px;
  }
  .header-actions{
    gap:8px;
  }
  .header-actions .btn.primary{
    width:40px;
    height:40px;
    min-width:40px;
    padding:0;
    border-radius:11px;
  }
  .header-actions .btn.primary span{
    display:none;
  }
  .header-actions .kakao-official-icon{
    width:20px!important;
    height:20px!important;
    min-width:20px;
  }
  .menu-btn{
    width:40px;
    height:40px;
    min-width:40px;
  }
}
