/* ================================================================
   BK — White/Blue Theme
================================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:       #F4F8FF;
  --bg-alt:   #EBF2FF;
  --bg-card:  #FFFFFF;
  --blue:     #1D6AE5;
  --blue-lt:  #4A96FF;
  --blue-dk:  #1455C0;
  --blue-bg:  #EEF5FF;
  --text-900: #0F1F3D;
  --text-600: #4A5A7A;
  --text-400: #8898AA;
  --border:   rgba(29,106,229,0.14);
  --border-h: rgba(29,106,229,0.35);
  --shadow-s: 0 2px 12px rgba(29,106,229,0.09);
  --shadow-m: 0 8px 32px rgba(29,106,229,0.13);
  --shadow-l: 0 16px 56px rgba(29,106,229,0.16);
  --tr:       all 0.3s ease;
  --font-kr:  'Noto Sans KR', sans-serif;
  --font-en:  'Montserrat', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-kr);
  background: var(--bg);
  color: var(--text-900);
  overflow-x: hidden;
  line-height: 1.65;
}
a { text-decoration: none; color: inherit; transition: var(--tr); }
ul, ol { list-style: none; }
img, svg { display: block; }
button { cursor: pointer; font-family: var(--font-kr); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ================================================================
   HEADER
================================================================ */
#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}
#header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(29,106,229,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-kr {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: 1px;
}
.logo-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 3px;
}

/* Desktop nav */
.nav-desktop { display: flex; align-items: center; gap: 36px; }
.nav-desktop a { font-size: 14px; font-weight: 500; color: var(--text-600); }
.nav-desktop a:hover { color: var(--text-900); }
.btn-nav {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(29,106,229,0.3);
}
.btn-nav:hover {
  background: var(--blue-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(29,106,229,0.38);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--text-900); border-radius: 2px; transition: var(--tr); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav { display: none; flex-direction: column; background: rgba(255,255,255,0.99); border-top: 1px solid var(--border); padding: 8px 24px 24px; }
.mobile-nav.open { display: flex; }
.mnav-link { padding: 14px 0; font-size: 15px; color: var(--text-600); border-bottom: 1px solid rgba(29,106,229,0.08); }
.mnav-link:hover { color: var(--text-900); }
.mnav-cta { margin-top: 14px; background: var(--blue); color: #fff !important; text-align: center; padding: 14px; border-radius: 10px; font-weight: 700; border: none; }


/* ================================================================
   HERO
================================================================ */
.hero-section { position: relative; min-height: 100vh; overflow: hidden; }
.hero-swiper { width: 100%; height: 100vh; min-height: 600px; }
.swiper-slide { position: relative; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; z-index: 0; }

/* Hero backgrounds: soft light gradients */
.s-bg-1 {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(29,106,229,0.08) 0%, transparent 55%),
    linear-gradient(145deg, #E8F0FF 0%, #F4F8FF 40%, #EEF4FF 100%);
}
.s-bg-2 {
  background:
    radial-gradient(ellipse at 28% 50%, rgba(29,106,229,0.08) 0%, transparent 55%),
    linear-gradient(145deg, #EDF4FF 0%, #F0F6FF 40%, #E8F0FF 100%);
}
.s-bg-3 {
  background:
    radial-gradient(ellipse at 60% 38%, rgba(29,106,229,0.1) 0%, transparent 55%),
    linear-gradient(145deg, #EBF2FF 0%, #F4F8FF 40%, #EEF4FF 100%);
}

.slide-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  height: 100%;
  padding-top: 72px;
}
.slide-text { flex: 0 0 auto; max-width: 510px; }
.slide-badge {
  display: inline-block;
  background: rgba(29,106,229,0.09);
  border: 1px solid rgba(29,106,229,0.25);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}
.slide-text h1 { font-size: 54px; font-weight: 900; line-height: 1.2; margin-bottom: 22px; color: var(--text-900); }
.slide-text h1 em { font-style: normal; color: var(--blue); }
.slide-text > p { font-size: 16px; color: var(--text-600); margin-bottom: 38px; line-height: 1.85; }
.slide-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--tr);
  box-shadow: 0 4px 20px rgba(29,106,229,0.3);
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,106,229,0.4); }

.btn-ghost {
  background: #fff;
  color: var(--text-900);
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-h);
  transition: var(--tr);
  box-shadow: var(--shadow-s);
}
.btn-ghost:hover { background: var(--blue-bg); border-color: var(--blue); color: var(--blue); }

.slide-visual { flex: 0 0 auto; width: 480px; }
.hero-svg { width: 100%; height: auto; }

/* Swiper pagination */
.hero-pagi { bottom: 32px !important; }
.swiper-pagination-bullet { background: rgba(29,106,229,0.25); width: 10px; height: 10px; opacity: 1; transition: var(--tr); }
.swiper-pagination-bullet-active { background: var(--blue); width: 30px; border-radius: 5px; }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 10; width: 26px; height: 42px; border: 2px solid rgba(29,106,229,0.3); border-radius: 13px; }
.scroll-dot { width: 5px; height: 10px; background: var(--blue); border-radius: 3px; margin: 6px auto 0; animation: sdrop 2s ease-in-out infinite; }
@keyframes sdrop { 0%{ transform:translateY(0);opacity:1 } 75%{ transform:translateY(14px);opacity:0 } 100%{ transform:translateY(0);opacity:0 } }


/* ================================================================
   STATS
================================================================ */
.stats-section {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-card {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-s);
  transition: var(--tr);
}
.stat-card:hover { border-color: var(--blue); box-shadow: var(--shadow-m); transform: translateY(-2px); }
.stat-ico { flex-shrink: 0; width: 44px; height: 44px; }
.stat-ico svg { width: 100%; height: 100%; }
.stat-num { font-family: var(--font-en); font-size: 26px; font-weight: 800; line-height: 1; margin-bottom: 4px; color: var(--text-900); }
.stat-lbl { font-size: 13px; color: var(--text-400); }


/* ================================================================
   SERVICES
================================================================ */
.services-section { padding: 100px 0; }
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow-s);
  transition: var(--tr);
}
.svc-card:hover { border-color: var(--blue); box-shadow: var(--shadow-l); transform: translateY(-5px); }
.svc-ico { width: 64px; height: 64px; margin-bottom: 20px; }
.svc-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text-900); }
.svc-card > p { font-size: 14px; color: var(--text-600); line-height: 1.8; margin-bottom: 20px; }
.svc-card > p strong { color: var(--blue); font-weight: 600; }
.svc-list { display: flex; flex-direction: column; gap: 8px; }
.svc-list li { font-size: 13px; color: var(--text-600); padding-left: 16px; position: relative; }
.svc-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }


/* ================================================================
   SETTLEMENT INFO
================================================================ */
.settlement-section { padding: 100px 0; background: var(--bg-alt); }
.stt-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stt-text h2 { font-size: 40px; font-weight: 800; margin: 14px 0 20px; line-height: 1.3; color: var(--text-900); }
.stt-text > p { font-size: 15px; color: var(--text-600); line-height: 1.85; margin-bottom: 36px; }
.stt-points { display: flex; flex-direction: column; gap: 26px; }
.stt-point { display: flex; gap: 16px; align-items: flex-start; }
.pt-num {
  flex-shrink: 0; width: 40px; height: 40px;
  background: rgba(29,106,229,0.09);
  border: 1px solid rgba(29,106,229,0.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--blue);
}
.stt-point strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text-900); }
.stt-point p { font-size: 13px; color: var(--text-600); line-height: 1.7; }
.stt-visual svg { width: 100%; max-width: 380px; margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(29,106,229,0.12)); }


/* ================================================================
   PROCESS
================================================================ */
.process-section { padding: 100px 0; }
.proc-steps { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
.proc-step {
  flex: 0 0 auto; text-align: center;
  padding: 30px 18px; width: 168px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-s);
  transition: var(--tr);
}
.proc-step:hover { border-color: var(--blue); box-shadow: var(--shadow-m); transform: translateY(-4px); }
.proc-num { font-family: var(--font-en); font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: 2px; margin-bottom: 12px; }
.proc-ico { width: 48px; height: 48px; margin: 0 auto 14px; }
.proc-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text-900); }
.proc-step p { font-size: 12px; color: var(--text-400); line-height: 1.65; }
.proc-arr { flex-shrink: 0; font-size: 24px; color: var(--blue); opacity: 0.35; padding: 0 10px; user-select: none; }


/* ================================================================
   RECENT
================================================================ */
.recent-section {
  padding: 48px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.recent-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.recent-hd h3 { font-size: 18px; font-weight: 700; color: var(--text-900); }
.live-dot { font-size: 11px; font-weight: 600; color: #2AAA5C; animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%,100%{ opacity:1 } 50%{ opacity:0.35 } }
.recent-swiper .swiper-slide {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: auto !important;
  min-width: 200px;
  gap: 20px;
  box-shadow: var(--shadow-s);
}
.r-name { font-size: 14px; font-weight: 600; color: var(--text-900); }
.r-biz  { font-size: 12px; color: var(--text-400); margin-top: 2px; }
.r-time { font-family: var(--font-en); font-size: 11px; color: var(--blue); white-space: nowrap; }


/* ================================================================
   CONTACT
================================================================ */
.contact-section { padding: 100px 0; background: #fff; }
.ct-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.ct-info h2 { font-size: 38px; font-weight: 800; margin: 14px 0 20px; line-height: 1.3; color: var(--text-900); }
.ct-info > p { font-size: 15px; color: var(--text-600); line-height: 1.85; margin-bottom: 36px; }
.ct-details { display: flex; flex-direction: column; gap: 16px; }
.ct-row { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-600); }

/* Form */
.ct-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-m);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-row .fg { margin-bottom: 0; }
.fg label { font-size: 13px; font-weight: 500; color: var(--text-600); }
.fg label em { color: var(--blue); font-style: normal; }
.fg input,
.fg select,
.fg textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-900);
  font-family: var(--font-kr);
  font-size: 14px;
  outline: none;
  transition: var(--tr);
  width: 100%;
}
.fg select option { background: #fff; color: var(--text-900); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29,106,229,0.1);
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-400); }
.fg textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--tr);
  box-shadow: 0 4px 20px rgba(29,106,229,0.3);
  margin-top: 4px;
}
.btn-submit:hover { background: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,106,229,0.4); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--text-400); text-align: center; }


/* ================================================================
   FAQ
================================================================ */
.faq-section { padding: 80px 0; background: var(--bg-alt); }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: var(--tr);
}
.faq-item.open { border-color: var(--blue); box-shadow: var(--shadow-m); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none;
  color: var(--text-900); font-size: 15px; font-weight: 600; text-align: left; gap: 16px;
}
.faq-icon { flex-shrink: 0; font-size: 22px; color: var(--blue); transition: var(--tr); font-weight: 300; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 14px; color: var(--text-600); line-height: 1.8; }
.faq-a p strong { color: var(--blue); }
.faq-item.open .faq-a { max-height: 200px; }


/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--text-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-kr { color: #fff; }
.footer-brand .logo-en { color: var(--blue-lt); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.85; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.fc h5 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: #fff; }
.fc a { display: block; font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 10px; }
.fc a:hover { color: var(--blue-lt); }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }


/* ================================================================
   SECTION HEADER
================================================================ */
.section-hd { text-align: center; margin-bottom: 58px; }
.sec-tag { display: inline-block; font-family: var(--font-en); font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.section-hd h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; color: var(--text-900); }
.section-hd p { font-size: 16px; color: var(--text-600); line-height: 1.85; }
.stt-text .sec-tag, .ct-info .sec-tag { display: block; }


/* ================================================================
   BACK TO TOP
================================================================ */
.back-top {
  position: fixed; bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  background: var(--blue); color: #fff; border: none;
  border-radius: 12px; font-size: 18px;
  z-index: 900; opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: var(--tr);
  box-shadow: 0 4px 16px rgba(29,106,229,0.35);
}
.back-top.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-top:hover { background: var(--blue-dk); transform: translateY(-2px); }


/* ================================================================
   SCROLL ANIMATIONS
================================================================ */
[data-aos] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos].aos-on { opacity: 1; transform: translateY(0); }
[data-delay="0"]   { transition-delay: 0ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }


/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .slide-text h1 { font-size: 44px; }
  .slide-visual { width: 400px; }
}
@media (max-width: 900px) {
  .stt-inner { grid-template-columns: 1fr; gap: 40px; }
  .stt-visual { order: -1; }
  .stt-visual svg { max-width: 340px; }
  .ct-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger   { display: flex; }
  .hero-swiper { height: auto; min-height: 100vh; }
  .slide-inner { flex-direction: column-reverse; align-items: center; justify-content: center; text-align: center; padding-top: 90px; padding-bottom: 70px; gap: 32px; height: auto; min-height: 100vh; }
  .slide-text { max-width: 100%; }
  .slide-text h1 { font-size: 34px; }
  .slide-btns { justify-content: center; }
  .slide-visual { width: 100%; max-width: 320px; }
  .section-hd h2 { font-size: 30px; }
  .stt-text h2, .ct-info h2 { font-size: 28px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .proc-steps { flex-wrap: wrap; justify-content: center; gap: 16px; padding-bottom: 0; }
  .proc-arr { display: none; }
  .ct-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .scroll-indicator { display: none; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .slide-text h1 { font-size: 28px; }
  .footer-links { grid-template-columns: 1fr; }
}
