@charset "utf-8";

:root{
  --navy:#0B3B70;
  --navy-dark:#062B55;
  --ink:#0f2746;
  --muted:#66758a;
  --gold:#FFD966;
  --gold-strong:#F6C54F;
  --bg:#F7F9FC;
  --line:#E4EAF2;
  --white:#fff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Malgun Gothic","Noto Sans KR",Arial,sans-serif;
  color:var(--ink);
  background:#fff;
}
a{text-decoration:none;color:inherit}

/* Header */
.kcap-header{
  position:relative;
  z-index:50;
  background:#fff;
  border-bottom:1px solid #eef2f7;
}
.header-inner{
  max-width:1480px;
  min-height:96px;
  margin:0 auto;
  padding:0 54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.kcap-logo{
  display:flex;
  align-items:center;
  gap:13px;
  flex:0 0 315px;
}
.logo-symbol{
  width:48px;
  height:48px;
  border:3px solid var(--gold-strong);
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  color:var(--navy-dark);
  font-weight:900;
  line-height:1;
}
.logo-text strong{
  display:block;
  font-size:27px;
  line-height:1.05;
  letter-spacing:-1.5px;
  color:var(--navy-dark);
  font-weight:900;
}
.logo-text em{
  display:block;
  margin-top:5px;
  font-size:14px;
  color:#475569;
  font-style:normal;
  letter-spacing:-.3px;
}

.kcap-nav{
  flex:1;
  display:flex;
  justify-content:center;
}
.mobile-menu-btn{display:none}
.kcap-nav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  gap:32px;
}
.kcap-nav li{position:relative}
.kcap-nav > ul > li > a{
  display:block;
  padding:38px 0;
  font-size:16px;
  font-weight:700;
  letter-spacing:-.4px;
  color:#172642;
  white-space:nowrap;
}
.sub-menu{
  display:none;
  position:absolute;
  left:50%;
  top:88px;
  transform:translateX(-50%);
  min-width:154px;
  background:#1d2635;
  padding:12px 0;
  border-radius:0 0 10px 10px;
  box-shadow:0 16px 36px rgba(0,0,0,.18);
}
.sub-menu a{
  display:block;
  padding:9px 18px;
  color:#fff;
  font-size:14px;
  text-align:center;
  white-space:nowrap;
}
.sub-menu a:hover{
  background:rgba(255,255,255,.08);
  color:var(--gold);
}
.kcap-nav li:hover .sub-menu{display:block}
.kcap-nav > ul > li.active > a{color:var(--gold)}
.sub-menu a.active{background:rgba(255,255,255,.08);color:var(--gold)}

.header-actions{
  flex:0 0 auto;
  display:flex;
  gap:12px;
}
.btn-top{
  height:48px;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  font-size:15px;
  font-weight:800;
  letter-spacing:-.4px;
}
.btn-gold{
  background:linear-gradient(180deg,#FFE28A,#F4BE3B);
  color:#091d35;
  border:1px solid #efbd3b;
}
.btn-white{
  background:#fff;
  color:#0d2747;
  border:1px solid #b9c5d6;
}

/* Main hero */
.main-hero{
  position:relative;
  height:580px;
  overflow:hidden;
  background:linear-gradient(90deg,var(--navy-dark) 0%, var(--navy) 47%, #eef6ff 100%);
}
.hero-inner{
  position:relative;
  z-index:3;
  max-width:1480px;
  height:100%;
  margin:0 auto;
  /* PC: 상단 로고 한글 '한'의 시작선과 메인 문구를 맞춤 */
  padding:95px 54px 0 115px;
}
.hero-copy{
  width:560px;
  color:#fff;
}
.hero-copy h1{
  margin:0;
  /* 메인 큰 제목: 기존 66px에서 3px 축소 */
  font-size:63px;
  line-height:1.14;
  letter-spacing:-3px;
  font-weight:900;
}
.hero-copy h1 span{
  color:var(--gold);
}
.hero-line{
  width:58px;
  height:3px;
  background:var(--gold);
  margin:26px 0 24px;
  border-radius:5px;
}
/* ---------------------------------------
   메인 Hero 문구 (7.11 컨펌)
--------------------------------------- */
.hero-copy .hero-point{
  margin:0 0 8px;
  font-size:21px;
  line-height:1.45;
  font-weight:700;
  color:#fff;
  letter-spacing:-0.5px;
}
.hero-copy .hero-point strong{
  color:var(--gold);
  font-weight:700;
}
.hero-copy .hero-desc{
  margin:0;
  font-size:15px;
  line-height:1.65;
  font-weight:400;
  color:rgba(255,255,255,.92);
  letter-spacing:-0.2px;
  max-width:520px;
}
.hero-bg-photo{
  position:absolute;
  right:0;
  top:0;
  width:61%;
  height:100%;
  z-index:1;
    background:
    linear-gradient(
        90deg,
        rgba(11,59,112,.96) 0%,
        rgba(11,59,112,.82) 32%,
        rgba(11,59,112,.35) 62%,
        rgba(255,255,255,0) 100%
    ),
    url("../images/main_visual.jpg") center center/cover no-repeat;
}  
.hero-shade{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}
.hero-shade:before{
  display:none;
}

/* Services */
.main-services{
  position:relative;
  z-index:8;
  max-width:1480px;
  margin:-88px auto 0;
  padding:0 54px;
}
.service-panel{
  background:#fff;
  border-radius:17px;
  box-shadow:0 16px 38px rgba(20,43,75,.12);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  min-height:154px;
  overflow:hidden;
}
.service-box{
  display:grid;
  grid-template-columns:88px 1fr;
  gap:24px;
  align-items:center;
  padding:34px 34px;
  border-right:1px solid var(--line);
}
.service-box:last-child{border-right:0}
.circle-icon{
  width:78px;
  height:78px;
  border-radius:50%;
  background: #0B3B70;
  color: #FFD966;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:44px;
  font-weight:900;
}
.service-box h3{
  margin:0 0 10px;
  font-size:28px;
  letter-spacing:-1px;
  color:var(--navy-dark);
  font-weight:900;
}
.service-box h3:after{
  content:"";
  display:block;
  width:24px;
  height:2px;
  background:var(--gold-strong);
  margin-top:12px;
}
.service-box p{
  margin:0;
  color:#263750;
  font-size:16px;
  line-height:1.65;
  font-weight:650;
  word-break:keep-all;
}

/* Flow */
.analysis-flow{
  background:var(--bg);
  padding:66px 54px 60px;
}
.flow-title{
  text-align:center;
  margin-bottom:32px;
}
.flow-title h2{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:0 0 9px;
  font-size:34px;
  line-height:1.25;
  letter-spacing:-1.6px;
  color:var(--navy-dark);
  font-weight:900;
}
.flow-title h2:before,
.flow-title h2:after{
  content:"";
  width:46px;
  height:1px;
  background:var(--gold-strong);
}
.flow-title p{
  margin:0;
  font-size:17px;
  color:#65758b;
  font-weight:650;
}
.flow-steps{
  max-width:1320px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
}
.flow-card{
  flex:1;
  min-height:148px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 10px 26px rgba(20,43,75,.07);
  text-align:center;
  padding:20px 18px 18px;
}
.flow-card strong{
  display:block;
  font-size:22px;
  color:#E2A91F;
  line-height:1;
  margin-bottom:10px;
  font-weight:900;
}
.flow-icon{
  font-size:35px;
  line-height:1;
  color:var(--navy-dark);
  margin-bottom:9px;
}
.flow-card h3{
  margin:0 0 7px;
  color:var(--navy-dark);
  font-size:18px;
  letter-spacing:-.7px;
  font-weight:900;
}
.flow-card p{
  margin:0;
  color:#475569;
  font-size:14px;
  line-height:1.45;
  font-weight:650;
}
.flow-arrow{
  flex:0 0 22px;
  font-size:44px;
  color:#E2A91F;
  font-weight:300;
}

/* Stats */
.kcap-stats{
  background:linear-gradient(90deg,#062B55,#0B3B70);
  color:#fff;
}
.stats-inner{
  max-width:1480px;
  margin:0 auto;
  padding:34px 54px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.stat-box{
  display:grid;
  grid-template-columns:70px 1fr;
  gap:18px;
  align-items:center;
  padding:0 30px;
  border-right:1px solid rgba(255,255,255,.22);
}
.stat-box:last-child{border-right:0}
.stat-icon{
  font-size:46px;
  color:var(--gold);
}
.stat-box strong{
  display:block;
  font-size:34px;
  line-height:1;
  color:var(--gold);
  font-weight:900;
}
.stat-box p{
  margin:7px 0 0;
  font-size:16px;
  line-height:1.45;
  font-weight:800;
}
.stat-box span{
  font-size:13px;
  color:#cbd5e1;
  font-weight:500;
}

/* Sub page */
.sub-visual{
  background:linear-gradient(90deg,var(--navy-dark),var(--navy));
  color:#fff;
  padding:74px 54px;
}
.sub-inner{
  max-width:1240px;
  margin:0 auto;
}
.sub-visual h1{
  margin:0 0 16px;
  font-size:42px;
  letter-spacing:-1.5px;
  font-weight:900;
}
.sub-visual p{
  margin:0;
  font-size:20px;
  line-height:1.65;
  color:#eaf2ff;
}
.sub-content{
  background:var(--bg);
  padding:54px 54px 82px;
}
.sub-box{
  max-width:1120px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:52px;
  box-shadow:0 12px 32px rgba(20,43,75,.07);
}
.sub-box h2{
  margin:0 0 18px;
  font-size:31px;
  color:var(--navy-dark);
  letter-spacing:-1px;
}
.lead{
  margin:0;
  font-size:20px;
  line-height:1.75;
  color:#172642;
  border-left:4px solid var(--gold-strong);
  padding-left:18px;
  font-weight:800;
}
.body-text{
  margin-top:28px;
  font-size:17px;
  line-height:1.9;
  color:#334155;
}
.notice-box{
  margin-top:34px;
  padding:22px;
  background:#fff9e8;
  border:1px solid var(--gold-strong);
  border-radius:12px;
}
.notice-box strong{
  color:#7a5a00;
}
.notice-box p{
  margin:8px 0 0;
  line-height:1.7;
}

/* Footer */
.kcap-footer{
  background:#202632;
  color:#cbd5e1;
  padding:36px 54px;
}
.footer-inner{
  max-width:1480px;
  margin:0 auto;
}
.footer-inner strong{
  display:block;
  color:#fff;
  font-size:20px;
}
.footer-inner p{
  margin:6px 0 0;
}
.footer-note{
  font-size:13px;
  color:#94a3b8;
}

@media(max-width:1180px){
  .header-actions{display:none}
  .kcap-nav ul{gap:22px}
  .kcap-logo{flex-basis:285px}
  .service-box{grid-template-columns:1fr;text-align:center}
  .service-box h3:after{margin-left:auto;margin-right:auto}
}
@media(max-width:900px){
  .header-inner{
    min-height:76px;
    padding:16px 20px;
  }
  .kcap-logo{flex:1}
  .logo-symbol{width:40px;height:40px;font-size:22px}
  .logo-text strong{font-size:20px}
  .logo-text em{font-size:12px}
  .mobile-menu-btn{
    display:block;
    background:var(--navy);
    color:#fff;
    border:0;
    border-radius:8px;
    padding:8px 12px;
    font-size:21px;
  }
  .kcap-nav{flex:0}
  .kcap-nav ul{
    display:none;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    background:#fff;
    border-top:1px solid var(--line);
    padding:12px 22px 18px;
    box-shadow:0 14px 24px rgba(0,0,0,.08);
  }
  body.menu-open .kcap-nav ul{display:block}
  .kcap-nav > ul > li > a{padding:12px 0}
  .sub-menu{
    position:static;
    transform:none;
    display:block;
    background:#f8fafc;
    border-radius:8px;
    box-shadow:none;
    margin-bottom:8px;
  }
  .sub-menu a{
    color:#334155;
    text-align:left;
    padding:8px 14px;
  }

  .main-hero{height:auto;min-height:480px}
  .hero-inner{padding:54px 24px 72px}
  .hero-copy{width:100%}
  .hero-copy h1{font-size:44px}
  .hero-copy p{font-size:18px}
  .hero-bg-photo{width:100%;opacity:.30}
  .hero-shade:before{display:none}

  .main-services{
    margin:-40px auto 0;
    padding:0 22px;
  }
  .service-panel{grid-template-columns:1fr}
  .service-box{
    grid-template-columns:76px 1fr;
    text-align:left;
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:24px;
  }
  .service-box:last-child{border-bottom:0}
  .service-box h3:after{margin-left:0}
  .circle-icon{width:68px;height:68px;font-size:38px}

  .analysis-flow{padding:48px 22px}
  .flow-title h2{font-size:28px}
  .flow-title h2:before,.flow-title h2:after{width:28px}
  .flow-steps{display:grid;grid-template-columns:1fr;gap:12px}
  .flow-arrow{display:none}
  .flow-card{min-height:auto}

  .stats-inner{
    grid-template-columns:1fr;
    padding:28px 24px;
  }
  .stat-box{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.18);
    padding:18px 0;
  }
  .stat-box:last-child{border-bottom:0}

  .sub-visual,.sub-content{padding-left:22px;padding-right:22px}
  .sub-box{padding:30px 24px}
}


/* ===== Mobile card separation enhancement (2026-07-22) ===== */
@media (max-width:900px){

  .service-panel{
    background:transparent;
    gap:14px;
    box-shadow:none;
  }

  .service-box{
    background:#fff;
    border:1px solid #C8D7EB;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(11,59,112,.08);
    margin-bottom:14px;
  }

  .service-box:last-child{
    margin-bottom:0;
  }

  .flow-card{
    background:#fff;
    border:1px solid #C8D7EB;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(11,59,112,.08);
  }
}

/* ===== 모바일 메인 Hero 하단 여백 자동 조정 (2026-07-22) =====
   PC 및 다른 디자인은 변경하지 않습니다.
   브라우저의 글자 크기에 맞춰 Hero 높이만 자동으로 계산합니다. */
@media (max-width:900px){
  .main-hero{
    min-height:0;
  }

  .main-hero .hero-inner{
    height:auto;
  }
}
