:root{
  --primary:#1A3159;
  --accent:#4472B8;
  --ink:#1A1A1A;
  --muted:#6B7280;
  --border:#E5E5E5;
}
html{scroll-behavior:smooth;}
body{
  font-family:'Pretendard',-apple-system,BlinkMacSystemFont,'Malgun Gothic',sans-serif;
  color:var(--ink);
  word-break:keep-all;
  overflow-wrap:break-word;
  background:#fff;
}
h1,h2,h3{font-weight:800;letter-spacing:-0.02em;word-break:keep-all;}
.prose-p{max-width:68ch;}
.eyebrow{
  font-size:.75rem;
  letter-spacing:.18em;
  font-weight:700;
  text-transform:uppercase;
}
.hairline{border-top:1px solid var(--border);}
.hairline-b{border-bottom:1px solid var(--border);}

/* ===== Header ===== */
#site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
#site-header .logo-symbol{width:34px;height:34px;flex:none;}
.nav-cta{
  background:var(--primary);color:#fff;
  padding:.6rem 1.25rem;border-radius:6px;
  font-weight:700;font-size:.88rem;
  transition:transform .15s ease, opacity .15s ease;
}
.nav-cta:hover{opacity:.92;transform:translateY(-1px);}
#mobile-menu{display:none;}
#mobile-menu.open{display:block;}

/* ===== Hero (split) ===== */
.hero-split{display:flex;flex-direction:column;}
.hero-color{
  background:var(--primary);
  color:#fff;
  padding:6.5rem 1.5rem 3rem;
}
.hero-color .eyebrow{color:var(--accent);}
.hero-color h1{font-size:2rem;line-height:1.25;color:#fff;}
.hero-color p{color:rgba(255,255,255,.86);}
.hero-photo{position:relative;min-height:260px;background:#0d1b2e;overflow:hidden;}
.hero-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;opacity:0;transition:opacity 1s ease;}
.hero-photo img.active{opacity:1;}
@media(min-width:900px){
  .hero-split{flex-direction:row;min-height:560px;}
  .hero-split .hero-color{width:44%;padding:9rem 3.5rem 3rem;display:flex;flex-direction:column;justify-content:center;}
  .hero-color h1{font-size:2.75rem;}
  .hero-photo{width:56%;min-height:560px;}
}

/* ===== 단독 색상 히어로 (상담 페이지 등 좌우분할이 아닌 곳) ===== */
.hero-solid{background:var(--primary);color:#fff;padding:7.5rem 1.5rem 3.5rem;}
.hero-solid .eyebrow{color:var(--accent);}
.hero-solid h1{color:#fff;}
.hero-solid p{color:rgba(255,255,255,.86);}
.btn-primary-cta{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--accent);color:#fff;font-weight:700;
  padding:.85rem 1.7rem;border-radius:6px;
  transition:transform .15s ease, opacity .15s ease;
}
.btn-primary-cta:hover{opacity:.92;transform:translateY(-1px);}
.btn-outline-cta{
  display:inline-flex;align-items:center;justify-content:center;
  border:1.5px solid rgba(255,255,255,.6);color:#fff;font-weight:700;
  padding:.8rem 1.65rem;border-radius:6px;
}
.btn-outline-cta:hover{background:rgba(255,255,255,.1);}

/* ===== Sub hero (color block left small) ===== */
.subhero-color{background:var(--primary);color:#fff;}
.subhero-color .eyebrow{color:var(--accent);}

/* ===== Sections ===== */
section{padding:3.5rem 0;}
.section-title-eyebrow{color:var(--accent);}
.section-tint{background:#F7F8FA;}

/* ===== Gallery ===== */
.gallery-item{border-radius:4px;overflow:hidden;cursor:zoom-in;position:relative;}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
.gallery-item:hover img{transform:scale(1.04);}
.gallery-cap{font-size:.78rem;color:var(--muted);margin-top:.5rem;}

/* ===== Service cards ===== */
.service-card{
  display:block;border:1px solid var(--border);border-radius:6px;overflow:hidden;
  background:#fff;transition:transform .15s ease, box-shadow .15s ease;
}
.service-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(26,49,89,.1);}
.service-card-img{aspect-ratio:4/3;overflow:hidden;background:#eee;}
.service-card-img img{width:100%;height:100%;object-fit:cover;}
.service-card-body{padding:1.1rem 1.2rem 1.4rem;}
.service-card-badge{
  display:inline-block;font-size:.7rem;font-weight:700;color:var(--accent);
  letter-spacing:.05em;margin-bottom:.35rem;
}
.service-card-body h3{font-size:1.05rem;margin-bottom:.4rem;color:var(--ink);}
.service-card-body p{font-size:.85rem;color:var(--muted);line-height:1.5;}

/* ===== FAQ ===== */
.faq-item{border-bottom:1px solid var(--border);}
.faq-q{
  width:100%;text-align:left;padding:1.2rem 0;background:none;border:none;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
  font-weight:700;font-size:1rem;color:var(--ink);
}
.faq-q .faq-icon{flex:none;width:20px;height:20px;position:relative;}
.faq-q .faq-icon::before,.faq-q .faq-icon::after{content:'';position:absolute;background:var(--primary);}
.faq-q .faq-icon::before{left:0;top:9px;width:20px;height:2px;}
.faq-q .faq-icon::after{left:9px;top:0;width:2px;height:20px;transition:transform .2s ease;}
.faq-item.open .faq-icon::after{transform:rotate(90deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;}
.faq-a p{padding:0 0 1.2rem;color:var(--muted);font-size:.92rem;line-height:1.6;}

/* ===== Process steps ===== */
.step-num{
  font-family:'Pretendard';font-weight:800;font-size:.95rem;color:var(--accent);
  letter-spacing:.05em;
}

/* ===== CTA band ===== */
.cta-band{background:var(--primary);color:#fff;padding:4rem 0;}
.cta-band h2{color:#fff;}
.cta-band p{color:rgba(255,255,255,.82);}

/* ===== Footer ===== */
#site-footer{background:#15243B;color:rgba(255,255,255,.78);}
#site-footer h4{color:#fff;font-size:.85rem;font-weight:700;letter-spacing:.04em;margin-bottom:.9rem;}
#site-footer a{color:rgba(255,255,255,.72);}
#site-footer a:hover{color:#fff;}
#site-footer .foot-hairline{border-top:1px solid rgba(255,255,255,.12);}

/* ===== Floating buttons ===== */
#floating-wrap{position:fixed;right:1.1rem;bottom:1.1rem;z-index:60;display:flex;flex-direction:column;gap:.6rem;}
.fab{
  width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.22);
}
.fab-cta{background:var(--accent);color:#fff;}
.fab-top{background:#fff;color:var(--primary);border:1px solid var(--border);opacity:0;pointer-events:none;transition:opacity .2s ease;}
.fab-top.show{opacity:1;pointer-events:auto;}

/* ===== Lightbox ===== */
#lightbox{position:fixed;inset:0;background:rgba(10,15,25,.92);z-index:100;display:none;align-items:center;justify-content:center;padding:1.5rem;}
#lightbox.open{display:flex;}
#lightbox img{max-width:100%;max-height:90vh;border-radius:4px;}
#lightbox .lb-close{position:absolute;top:1.2rem;right:1.4rem;color:#fff;font-size:2rem;cursor:pointer;line-height:1;}

/* number badge */
.num-badge{font-size:.8rem;font-weight:800;color:var(--accent);letter-spacing:.08em;}
