/* 검정고시 아카데미 — 색·글꼴은 여기 :root 값만 바꾸면 전체에 반영돼요 */
:root{
  --ink:#111214;        /* 거의 검정: 글자, 어두운 띠 */
  --paper:#ffffff;
  --soft:#f4f2ef;       /* 아주 옅은 따뜻한 회색 바탕 */
  --line:#e4e1dc;
  --muted:#6b6b6b;
  --accent:#8e1b1b;     /* 포인트: 깊은 빨강 (참고 이미지의 띠 색) */
  --accent-2:#b4372c;
  --serif:"Noto Serif KR","Nanum Myeongjo",serif;
  --sans:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --wrap:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--ink);background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased;word-break:keep-all}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 32px}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--ink)}
.eyebrow.light{color:rgba(255,255,255,.75)}
h2.title{font-size:clamp(28px,3.4vw,44px);line-height:1.25;font-weight:700;letter-spacing:-.02em;margin-top:10px}
.pill{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 22px;border-radius:999px;font-size:14px;font-weight:600;border:1px solid currentColor;transition:.2s}
.pill .arr{font-size:16px;transition:transform .2s}
.pill:hover .arr{transform:translateX(4px)}
.pill.solid{background:var(--accent);border-color:var(--accent);color:#fff}
.pill.solid:hover{background:var(--accent-2);border-color:var(--accent-2)}
.pill.ghost-light{color:#fff;border-color:rgba(255,255,255,.55)}
.pill.ghost-light:hover{background:#fff;color:var(--ink)}
.pill.ghost{color:var(--ink);border-color:#bdbab4}
.pill.ghost:hover{border-color:var(--ink)}

/* ---------- 사진 자리 (실제 사진이 오기 전까지 보이는 칸) ---------- */
.ph{position:relative;overflow:hidden;background:#2b2d31}
.ph::after{content:attr(data-label);position:absolute;right:14px;bottom:12px;font-size:11px;color:rgba(255,255,255,.8);background:rgba(0,0,0,.45);padding:4px 9px;border-radius:4px;letter-spacing:.01em;z-index:3;pointer-events:none}
.ph.has-img::after{display:none}
.ph > img{width:100%;height:100%;object-fit:cover}
.ph-night{background:
  radial-gradient(ellipse 38% 45% at 68% 42%,rgba(255,214,150,.55),transparent 70%),
  radial-gradient(ellipse 60% 70% at 72% 55%,rgba(120,90,60,.45),transparent 75%),
  linear-gradient(115deg,#0d0e10 0%,#1a1b1f 45%,#3a3128 100%)}
.ph-desk{background:
  radial-gradient(ellipse 50% 60% at 30% 30%,rgba(255,255,255,.55),transparent 70%),
  linear-gradient(160deg,#d9d3c8 0%,#b9ae9c 55%,#8d8170 100%)}
.ph-class{background:
  radial-gradient(ellipse 45% 55% at 70% 35%,rgba(255,246,230,.7),transparent 70%),
  linear-gradient(140deg,#e9e4db 0%,#c9bfae 60%,#a59882 100%)}
.ph-dusk{background:
  radial-gradient(ellipse 70% 40% at 50% 100%,rgba(255,170,90,.35),transparent 70%),
  linear-gradient(180deg,#1b2330 0%,#2c3a4c 55%,#5b5148 100%)}
.ph-city{background:
  radial-gradient(circle at 20% 70%,rgba(255,200,120,.5) 0 2px,transparent 3px),
  radial-gradient(circle at 60% 60%,rgba(255,200,120,.45) 0 2px,transparent 3px),
  radial-gradient(ellipse 80% 50% at 50% 110%,rgba(255,180,90,.25),transparent 70%),
  linear-gradient(180deg,#05070b 0%,#0e1522 60%,#1b2333 100%)}

/* ---------- 상단 메뉴 ---------- */
.hd{position:absolute;inset:0 0 auto 0;z-index:20;color:#fff}
.hd .wrap{display:flex;align-items:center;height:84px;max-width:1360px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;letter-spacing:-.01em}
.logo .mark{width:34px;height:34px;border:1.5px solid currentColor;border-radius:50%;display:grid;place-items:center;font-family:var(--serif);font-size:15px}
.logo small{display:block;font-size:10.5px;font-weight:500;opacity:.75;letter-spacing:.04em}
.gnb{display:flex;gap:34px;margin-left:auto;font-size:14.5px;font-weight:500}
.gnb a{opacity:.9}.gnb a:hover{opacity:1}
.hd-cta{display:flex;align-items:center;gap:18px;margin-left:40px;font-size:14px}
.hd-cta .tel{opacity:.85}
.hd-cta .pill{height:38px;padding:0 18px;font-size:13px}
.menu-btn{display:none;margin-left:auto;background:none;border:0;color:inherit;font-size:24px}

/* ---------- 첫 화면 ---------- */
.hero{position:relative;height:100vh;min-height:680px;max-height:960px;color:#fff;display:flex;align-items:flex-end}
.hero .ph{position:absolute;inset:0}
.hero .ph::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.35) 45%,rgba(0,0,0,0) 75%);z-index:2}
.hero-in{position:relative;z-index:4;padding-bottom:150px;max-width:1360px;width:100%}
.hero .kicker{display:flex;align-items:center;gap:14px;font-size:12px;letter-spacing:.2em;color:rgba(255,255,255,.7)}
.hero .kicker::before{content:"";width:56px;height:1px;background:rgba(255,255,255,.55)}
.hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(44px,5.6vw,80px);line-height:1.22;letter-spacing:-.02em;margin:26px 0 18px}
.hero .en{font-family:var(--serif);font-style:italic;font-size:19px;color:rgba(255,255,255,.55);margin-bottom:22px}
.hero p.lead{font-size:16.5px;color:rgba(255,255,255,.82);max-width:470px;margin-bottom:36px}
.hero .btns{display:flex;gap:12px}
.scroll-dot{position:absolute;right:48px;bottom:120px;z-index:4;width:46px;height:46px;border-radius:50%;background:var(--accent);display:grid;place-items:center;font-size:18px;color:#fff}

/* ---------- 빨간 흐르는 띠 ---------- */
.band{background:var(--accent);color:#fff;overflow:hidden;white-space:nowrap;height:44px;display:flex;align-items:center;font-size:13px}
.band .track{display:inline-flex;gap:56px;padding-right:56px;animation:flow 40s linear infinite}
.band b{font-weight:700;opacity:.75;margin-right:6px}
@keyframes flow{to{transform:translateX(-50%)}}

/* ---------- 소개 ---------- */
.intro{padding:150px 0 140px;position:relative;overflow:hidden}
.intro::before{content:"";position:absolute;left:-180px;top:40px;width:560px;height:560px;border-radius:50%;background:radial-gradient(circle,rgba(142,27,27,.09),transparent 65%)}
.intro .grid{display:grid;grid-template-columns:1fr 1.05fr .85fr;gap:56px;align-items:center;position:relative}
.intro .txt p{color:var(--muted);margin-top:22px;font-size:15.5px}
.intro .ph{aspect-ratio:4/3.3;border-radius:6px}
.points{list-style:none;display:grid;gap:34px}
.points li{border-top:1px solid var(--line);padding-top:18px}
.points .no{font-size:12px;font-weight:600;color:var(--accent)}
.points h3{font-size:21px;font-weight:700;margin:4px 0 6px;letter-spacing:-.01em}
.points p{font-size:14.5px;color:var(--muted)}

/* ---------- 과정 3칸 ---------- */
.courses{padding:40px 0 140px;text-align:center}
.courses .panels{margin-top:44px;display:grid;grid-template-columns:repeat(3,1fr);height:420px;border-radius:8px;overflow:hidden;text-align:left}
.panel{position:relative;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:34px;border-right:1px solid rgba(255,255,255,.18);overflow:hidden}
.panel:last-child{border-right:0}
.panel .ph{position:absolute;inset:0;transition:transform .6s}
.panel::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.66),rgba(0,0,0,.05) 65%);z-index:2;transition:.3s}
.panel:hover .ph{transform:scale(1.05)}
.panel:hover::before{background:linear-gradient(0deg,rgba(142,27,27,.85),rgba(142,27,27,.15) 75%)}
.panel > *:not(.ph){position:relative;z-index:3}
.panel .lv{font-size:12px;opacity:.75;letter-spacing:.06em}
.panel h3{font-size:25px;font-weight:700;margin:6px 0 8px;display:flex;justify-content:space-between;align-items:center}
.panel h3 i{font-style:normal;width:34px;height:34px;border:1px solid rgba(255,255,255,.6);border-radius:50%;display:grid;place-items:center;font-size:15px}
.panel p{font-size:13.5px;opacity:.85}

/* ---------- 숫자 ---------- */
.stats{position:relative;color:#fff;padding:150px 0 140px;text-align:center}
.stats > .ph{position:absolute;inset:0}
.stats > .ph::before{content:"";position:absolute;inset:0;background:rgba(8,10,14,.55);z-index:2}
.stats .wrap{position:relative;z-index:4}
.stats .sub{color:rgba(255,255,255,.75);margin-top:12px;font-size:15px}
.nums{margin-top:90px;display:grid;grid-template-columns:repeat(4,1fr)}
.nums div{border-left:1px solid rgba(255,255,255,.22);padding:4px 10px}
.nums div:first-child{border-left:0}
.nums strong{font-size:clamp(44px,4.6vw,64px);font-weight:600;letter-spacing:-.03em;line-height:1}
.nums strong small{font-size:20px;font-weight:500;margin-left:4px}
.nums span{display:block;margin-top:14px;font-size:13.5px;color:rgba(255,255,255,.75)}
.stats .note{margin-top:46px;font-size:12px;color:rgba(255,255,255,.5)}

/* ---------- 진행 절차 6단계 ---------- */
.steps{padding:140px 0;background:var(--soft)}
.steps .head{display:flex;justify-content:space-between;align-items:flex-end;gap:40px}
.steps .head p{max-width:330px;color:var(--muted);font-size:15px}
.step-grid{margin-top:56px;display:grid;grid-template-columns:repeat(3,1fr);gap:36px 26px}
.step .ph{aspect-ratio:4/3.2;border-radius:10px}
.step .no{position:absolute;left:16px;top:16px;z-index:4;width:40px;height:40px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:13px;font-weight:600}
.step h3{margin-top:16px;font-size:18px;font-weight:700}
.step p{margin-top:4px;font-size:14px;color:var(--muted)}

/* ---------- 소식 ---------- */
.news{padding:140px 0}
.news .grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}
.news .left{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:end}
.news .left p{color:var(--muted);font-size:14.5px;margin:12px 0 26px}
.news .ph{aspect-ratio:4/3;border-radius:6px}
.news ul{list-style:none;border-top:1px solid var(--line)}
.news li a{display:block;padding:22px 4px;border-bottom:1px solid var(--line)}
.news li strong{font-size:16.5px;font-weight:600}
.news li a:hover strong{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.news li span{display:block;font-size:12.5px;color:#9a9a9a;margin-top:6px}

/* ---------- 상담 ---------- */
.cta{position:relative;color:#fff;padding:140px 0;text-align:center}
.cta > .ph{position:absolute;inset:0}
.cta > .ph::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35);z-index:2}
.cta .wrap{position:relative;z-index:4}
.cta h2{font-size:clamp(28px,3.2vw,42px);font-weight:700;letter-spacing:-.02em;line-height:1.3}
.cta .sub{margin-top:12px;color:rgba(255,255,255,.75)}
.form{margin:40px auto 0;display:flex;gap:10px;max-width:640px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:6px;backdrop-filter:blur(6px)}
.form input{flex:1;min-width:0;background:none;border:0;color:#fff;font:inherit;font-size:15px;padding:0 20px;outline:none}
.form input::placeholder{color:rgba(255,255,255,.6)}
.form input + input{border-left:1px solid rgba(255,255,255,.25)}
.form .pill{height:48px;border:0}
.cta .agree{margin-top:14px;font-size:12px;color:rgba(255,255,255,.55)}

/* ---------- 하단 ---------- */
.ft{background:#000;color:rgba(255,255,255,.7);padding:56px 0 40px;font-size:13px}
.ft .grid{display:flex;justify-content:space-between;gap:40px}
.ft .cols{display:flex;gap:70px}
.ft h4{color:#fff;font-size:14px;margin-bottom:10px}
.ft .logo{color:#fff}
.ft .links{margin-top:18px;display:flex;gap:18px;justify-content:flex-end;color:#fff;font-size:12.5px}
.ft .copy{margin-top:40px;font-size:12px;color:rgba(255,255,255,.4)}
.to-top{position:fixed;right:28px;bottom:28px;width:46px;height:46px;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center;box-shadow:0 4px 18px rgba(0,0,0,.18);z-index:30;font-size:18px}

/* ---------- 모바일 ---------- */
@media (max-width:900px){
  .wrap{padding:0 22px}
  .gnb,.hd-cta .tel,.hd-cta{display:none}
  .menu-btn{display:block}
  .hero{min-height:640px}
  .hero-in{padding-bottom:110px}
  .hero .btns{flex-wrap:wrap}
  .scroll-dot{display:none}
  .intro{padding:100px 0}
  .intro .grid{grid-template-columns:1fr;gap:40px}
  .courses .panels{grid-template-columns:1fr;height:auto}
  .panel{height:220px;border-right:0;border-bottom:1px solid rgba(255,255,255,.18)}
  .nums{grid-template-columns:1fr 1fr;gap:44px 0}
  .nums div:nth-child(3){border-left:0}
  .steps .head{flex-direction:column;align-items:flex-start}
  .step-grid{grid-template-columns:1fr 1fr;gap:28px 14px}
  .news .grid,.news .left{grid-template-columns:1fr;gap:30px}
  .form{flex-direction:column;border-radius:18px;padding:10px}
  .form input{height:46px}
  .form input + input{border-left:0;border-top:1px solid rgba(255,255,255,.25)}
  .ft .grid,.ft .cols{flex-direction:column;gap:26px}
  .ft .links{justify-content:flex-start}
}

/* ---------- 자주 묻는 질문 ---------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:22px 40px 22px 4px;font-size:16.5px;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:8px;top:18px;font-size:22px;font-weight:300;color:var(--muted)}
.faq details[open] summary{color:var(--accent)}
.faq details[open] summary::after{content:"−"}
.faq details p{padding:0 40px 22px 4px;color:var(--muted);font-size:15px}

/* ---------- 하단 (다른 사이트들처럼: 사업자 정보 없이 이름·메뉴·상담만) ---------- */
.ft .tag{margin-top:12px;font-size:13px}
.ft .cols a:hover{color:#fff}
.ft .bottom{margin-top:44px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;font-size:12px;color:rgba(255,255,255,.45)}
.ft .bottom .links{display:flex;gap:18px;margin:0;color:rgba(255,255,255,.75)}
.cta .sub a{color:#fff}
@media (max-width:900px){.ft .bottom{flex-direction:column;gap:10px}}
