/* SGDREAM — Light & Minimal design (v14) */

:root{
  --bg:#fbfbfd;
  --bg-alt:#f3f4f6;
  --surface:#ffffff;
  --text:#111827;
  --muted:#636c7a;
  --line:#e5e7eb;
  --brand:#1d4ed8;
  --brand-dark:#1e3a8a;
  --brand-soft:#eef2fb;
  --charcoal:#1f2430;
  --charcoal-dark:#11141b;
  --kakao:#FEE500;
  --kakao-text:#191600;
  --star:#c8952b;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  --shadow-md: 0 10px 24px rgba(16,24,40,.08), 0 2px 6px rgba(16,24,40,.05);
  --shadow-lg: 0 28px 56px rgba(16,24,40,.12);
  --radius: 16px;
  --radius2: 20px;
  --container: 1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--container); margin:0 auto; padding:0 22px}
.section{padding:64px 0}
.section-head{display:flex; flex-direction:column; gap:10px; margin-bottom:32px}
.eyebrow{display:inline-block; font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--brand); margin-bottom:2px}
.section-head h2{margin:0; font-size:32px; letter-spacing:-0.02em; font-weight:800}
.section-head p{margin:0; color:var(--muted); line-height:1.6}

/* ==============================
   Header
   ============================== */
.header{
  position:fixed; top:0; left:0; right:0;
  background: rgba(251,251,253,.82);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
  z-index:999;
}
body{padding-top:72px}
.header-inner{
  height:72px;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}
.brand{display:flex; align-items:center; gap:10px}
.brand-logo{width:32px; height:32px; border-radius:9px; object-fit:cover}
.brand-name{font-weight:800; letter-spacing:.01em; color:var(--text)}
.nav{display:flex; gap:22px; align-items:center}
.nav a{color:var(--muted); font-weight:600; font-size:14px}
.nav a:hover{color:var(--text)}
.header-cta{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.hamburger{
  width:44px; height:44px;
  display:none;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface);
  cursor:pointer;
  padding:0;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
}
.hamburger span{display:block; width:18px; height:2px; background:var(--text); border-radius:2px}
.mobile-nav{
  display:none;
  border-top:1px solid var(--line);
  background: var(--surface);
}
.mobile-nav-inner{padding:14px 22px 18px; display:flex; flex-direction:column; gap:10px}
.mobile-nav a{color:var(--muted); font-weight:700}
.mobile-nav a:hover{color:var(--text)}
.mobile-quick-contact{display:flex; gap:10px; margin:6px 0}
.mobile-quick-contact .btn{flex:1}

/* ==============================
   Buttons
   ============================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btn:hover{background: var(--bg-alt)}
.btn:active{transform: translateY(1px)}
.btn-lg{padding:13px 18px; border-radius:14px}
.btn-ghost{background:var(--surface)}
.btn-soft{background: var(--brand-soft); border-color: transparent; color: var(--brand)}
.btn-primary{
  border-color: transparent;
  background: var(--brand);
  color:#fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{background: var(--brand-dark)}
.btn-call{background:var(--charcoal); border-color:transparent; color:#fff}
.btn-call:hover{background:var(--charcoal-dark)}
.btn-kakao{background:var(--kakao); border-color:transparent; color:var(--kakao-text)}
.btn-kakao:hover{filter:brightness(.96)}
.btn-icon{width:44px; height:44px; padding:0; border-radius:12px; font-size:17px}
.icon-kakao, .icon-phone{width:18px; height:18px; flex:0 0 auto}
.icon-kakao-lg, .icon-phone-lg{width:22px; height:22px}
.w-full{width:100%}

@media (max-width: 980px){
  .header-cta .btn-icon{display:none}
}

/* ==============================
   Hero
   ============================== */
.hero{padding:48px 0 56px; position:relative; overflow:hidden}
.hero::before{
  content:'';
  position:absolute;
  top:-260px; left:50%; transform:translateX(-50%);
  width:1000px; height:640px;
  background: radial-gradient(closest-side, rgba(29,78,216,.12), rgba(29,78,216,0) 70%);
  pointer-events:none;
  z-index:0;
}
.hero .container{position:relative; z-index:1}
.hero-wrap{display:flex; flex-direction:column; gap:22px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:32px;
  align-items:stretch;
}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background: var(--brand-soft);
  color:var(--brand);
  font-weight:700;
  font-size:13px;
}
.pill .dot{width:8px; height:8px; border-radius:999px; background: var(--brand)}
.hero-copy{max-width:640px; padding:8px 0}
.hero-title{
  margin:18px 0 0;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing:-0.03em;
  line-height:1.15;
  font-weight:800;
  color:var(--text);
  word-break: keep-all;
}
.hero-desc{margin:16px 0 0; color:var(--muted); font-size:16px; line-height:1.7}
.hero-actions{display:flex; gap:12px; margin:22px 0 26px; flex-wrap:wrap}
.hero-stats{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px}
.stat{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px 14px;
  box-shadow: var(--shadow-sm);
}
.stat .k{font-size:12px; color:var(--muted); font-weight:600; margin-bottom:4px}
.stat .v{font-weight:800; font-size:14px}

.hero-card{
  position:relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding:32px 28px 28px;
  display:flex; flex-direction:column; justify-content:center;
  overflow:hidden;
}
.hero-card::before{
  content:'';
  position:absolute; top:0; left:0; right:0; height:5px;
  background: linear-gradient(90deg, var(--brand), var(--charcoal));
}
.hero-profile{display:flex; flex-direction:column; gap:20px}
.hp-left{display:flex; gap:16px; align-items:center}
.profile-pic{
  width:104px; height:104px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.overlay-name{font-weight:800; font-size:16px; color:var(--text)}
.overlay-sub{color:var(--muted); font-size:13px; margin-top:3px}
.overlay-meta{display:flex; flex-direction:column; gap:10px}
.meta-row{display:grid; grid-template-columns:76px 1fr; gap:12px; align-items:start}
.meta-row .k{
  font-size:12px; font-weight:700;
  color:var(--muted);
  background: var(--bg-alt);
  padding:5px 8px;
  border-radius:8px;
  text-align:center;
  white-space:nowrap;
}
.meta-row .v{min-width:0; font-size:13px; font-weight:600; color:var(--text); line-height:1.5; word-break:keep-all; padding-top:2px}
.overlay-cta a.btn{width:100%; justify-content:center}

/* ==============================
   Cards & grids
   ============================== */
.grid-3{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px}
.card{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: var(--surface);
  padding:22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover{box-shadow: var(--shadow-md); transform: translateY(-2px)}
.card-icon{
  width:42px; height:42px;
  border-radius:12px;
  background: var(--brand-soft);
  display:flex; align-items:center; justify-content:center;
  font-size:19px;
  margin-bottom:6px;
}
.card h3{margin:6px 0 0; font-size:17px; letter-spacing:-0.01em; font-weight:800}
.card p{margin:10px 0 0; color:var(--muted); line-height:1.65; font-size:14px}
.list{margin:12px 0 0; padding:0 0 0 18px; color:var(--muted); line-height:1.75; font-size:14px}
.list li{margin:4px 0}

/* Pricing */
.price-list{display:flex; flex-direction:column; gap:12px}
.price-row{
  display:grid;
  grid-template-columns: 52px 1fr auto;
  gap:20px;
  align-items:center;
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.price-row:hover{box-shadow: var(--shadow-md); transform: translateY(-2px)}
.price-row-icon{
  width:48px; height:48px; border-radius:12px;
  background: var(--brand-soft);
  display:flex; align-items:center; justify-content:center;
  font-size:20px;
}
.price-row-body h3{margin:0 0 6px; font-size:16px; font-weight:800; letter-spacing:-0.01em}
.price-row-body .list{margin:0}
.price-row-amount{font-size:22px; font-weight:800; color: var(--brand); white-space:nowrap; text-align:right}
.price-note{margin-top:20px; color:var(--muted); font-size:13px; text-align:center}
@media (max-width: 640px){
  .price-row{grid-template-columns: 44px 1fr; row-gap:12px}
  .price-row-amount{grid-column: 1 / -1; text-align:left; font-size:20px}
}

/* Privacy policy page */
.policy{max-width:820px}
.policy-body h3{margin:28px 0 8px; font-size:18px; letter-spacing:-0.01em; font-weight:800}
.policy-body p{margin:0 0 6px; color:var(--muted); line-height:1.7}
.policy-body .list{margin:6px 0 0}
.policy-date{margin-top:28px !important; font-size:13px}

/* Guide pages */
.guide-cta{
  margin-top:32px;
  padding:24px;
  border-radius: var(--radius2);
  background: var(--brand-soft);
  display:flex; flex-wrap:wrap; gap:18px; align-items:center; justify-content:space-between;
}
.guide-cta-text p{margin:6px 0 0; color:var(--muted)}
.guide-related{margin-top:36px; padding-top:24px; border-top:1px solid var(--line)}
.guide-related h4{margin:0 0 10px; font-size:14px; color:var(--text)}
.guide-related .list{margin-top:0}
.guide-related .list a{color:var(--brand); text-decoration:underline; text-underline-offset:2px}
.guide-related .list a:hover{color:var(--brand-dark)}

/* Toast notification */
.toast{
  position:fixed; top:88px; left:50%;
  transform:translateX(-50%) translateY(-16px);
  display:flex; align-items:center; gap:10px;
  padding:14px 16px; border-radius:14px;
  box-shadow: var(--shadow-lg);
  font-weight:700; font-size:14px; line-height:1.4;
  z-index:2000; max-width:min(420px, 90vw);
  opacity:0; pointer-events:none;
  transition: opacity .35s ease, transform .35s ease;
}
.toast.show{opacity:1; transform:translateX(-50%) translateY(0); pointer-events:auto}
.toast-success{background:#16a34a; color:#fff}
.toast-error{background:#dc2626; color:#fff}
.toast-icon{
  flex:0 0 auto; width:22px; height:22px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.22); font-size:13px; font-weight:900;
}
.toast-msg{flex:1 1 auto}
.toast-close{
  flex:0 0 auto; background:none; border:none; color:inherit;
  font-size:18px; line-height:1; cursor:pointer; opacity:.8; padding:0;
}
.toast-close:hover{opacity:1}
@media (max-width:520px){
  .toast{top:80px; left:16px; right:16px; max-width:none; transform:translateY(-16px)}
  .toast.show{transform:translateY(0)}
}

/* ==============================
   Timeline
   ============================== */
.timeline{display:grid; gap:12px; margin-top:18px}
.step{
  display:grid; grid-template-columns: 56px 1fr;
  gap:14px;
  padding:18px;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.step-no{
  width:52px; height:52px; border-radius:14px;
  display:grid; place-items:center;
  font-weight:800;
  color:var(--brand);
  background: var(--brand-soft);
}
.step-title{font-weight:800}
.step-desc{margin-top:6px; color:var(--muted); line-height:1.65; font-size:14px}

/* ==============================
   Reviews
   ============================== */
.review-wrap{border-radius: var(--radius2); border:1px solid var(--line); background: var(--surface); overflow:hidden; box-shadow: var(--shadow-sm)}
.review-slider{display:flex; transition: transform .55s cubic-bezier(.2,.8,.2,1); will-change: transform}
.review-card{flex: 0 0 calc(100% / 3); width: calc(100% / 3); padding:22px; border-right:1px solid var(--line)}
.review-card:last-child{border-right:none}
.stars{letter-spacing:1px; color: var(--star)}
.review-card p{margin:12px 0 0; color:var(--text); line-height:1.7; font-size:14px}
.review-meta{display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:13px; font-weight:600}
.review-meta-link:hover{color:var(--brand)}
.kmong-more{display:flex; justify-content:center; margin-top:18px}
.kmong-icon{width:14px; height:14px; flex:0 0 auto; transform: translateY(-1px)}
.review-controls{display:flex; justify-content:center; align-items:center; gap:10px; padding:12px 14px; border-top:1px solid var(--line)}
.ctrl{width:40px; height:38px; border-radius:12px; border:1px solid var(--line); background: var(--surface); color: var(--text); cursor:pointer}
.ctrl:hover{background: var(--bg-alt)}
.dots{display:flex; gap:8px}
.dot-btn{width:8px; height:8px; border-radius:999px; border:1px solid var(--line); background: transparent; cursor:pointer}
.dot-btn.active{background: var(--brand); border-color: transparent}

/* ==============================
   FAQ
   ============================== */
.faq{display:grid; gap:10px}
.faq-item{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: var(--surface);
  padding:16px 18px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary{cursor:pointer; font-weight:800; list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-body{margin-top:10px; color:var(--muted); line-height:1.7; font-size:14px}

/* ==============================
   Contact
   ============================== */
.contact{padding-top:100px}
.contact-grid{display:grid; grid-template-columns: 1fr 1fr; gap:24px; align-items:start}
.contact-copy h2{margin:0; font-size:32px; letter-spacing:-0.02em; font-weight:800}
.contact-copy p{margin:12px 0 0; color:var(--muted); line-height:1.7}
.quick-contact{display:flex; gap:10px; margin:18px 0 22px; flex-wrap:wrap}
.quick-contact .btn{flex:1; min-width:200px}
.contact-note{
  margin-top:14px;
  border:1px solid var(--line);
  background: var(--bg-alt);
  border-radius: var(--radius2);
  padding:18px;
}
.note-title{font-weight:800; margin-bottom:10px}

.form{
  border:1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius2);
  padding:22px;
  box-shadow: var(--shadow-md);
}
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:14px}
.field span{font-weight:700; font-size:13px; color:var(--muted)}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: var(--bg-alt);
  color: var(--text);
  outline:none;
  font-family: inherit;
  font-size:14px;
}
select option{background:#fff; color:#111}
input:focus, textarea:focus, select:focus{border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft)}
.form-foot{margin-top:10px; color:var(--muted); font-size:12px; font-weight:600}

/* ==============================
   Footer
   ============================== */
.footer{padding:40px 0 48px; background: var(--charcoal); color:#fff}
.footer-inner{display:flex; justify-content:space-between; align-items:flex-start; gap:14px; flex-wrap:wrap}
.footer-brand{display:flex; align-items:center; gap:10px}
.footer-brand img{width:32px; height:32px; border-radius:9px; object-fit:cover}
.footer-title{font-weight:800; color:#fff}
.footer-sub{color:rgba(255,255,255,.55); font-weight:600; font-size:12px}
.footer-copy{margin-top:10px; color:rgba(255,255,255,.62); font-weight:500; font-size:13px; line-height:1.8}
.footer-copy a{color:#fff; text-decoration:underline; text-underline-offset:2px}
.footer-copy a:hover{color:rgba(255,255,255,.8)}
.footer-guides{display:flex; flex-direction:column; gap:8px}
.footer-guides a{color:rgba(255,255,255,.75); font-size:13px; font-weight:500}
.footer-guides a:hover{color:#fff}

/* ==============================
   Reveal on scroll
   ============================== */
.reveal{opacity:0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease}
.reveal.show{opacity:1; transform:none}

/* ==============================
   Floating action buttons
   ============================== */
.fab-contact{position:fixed; right:18px; bottom:78px; display:flex; flex-direction:column; gap:12px; z-index:1000}
.fab-btn{
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:22px; text-decoration:none; color:#fff;
  box-shadow: var(--shadow-lg);
}
.fab-call{background: var(--charcoal)}
.fab-kakao{background: var(--kakao); color: var(--kakao-text)}
.fab-top{
  position: fixed; right: 18px; bottom: 18px;
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  cursor: pointer;
}
.fab-top svg{width:20px; height:20px}
.fab-top.show{display:flex}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .nav{display:none}
  .hamburger{display:inline-flex}
  .mobile-nav.open{display:block}
  .review-card{flex:0 0 100%; width:100%; border-right:none; border-bottom:1px solid var(--line)}
}
@media (max-width: 520px){
  .section{padding:48px 0}
  .hero{padding:32px 0 40px}
  .hero-stats{grid-template-columns:1fr}
  .fab-contact{right:14px; bottom:70px; gap:10px}
  .fab-btn{width:48px; height:48px; font-size:20px}
  .fab-top{right:14px; bottom:14px}
}
