/* ============================================================================
   EZSPEAK — DESIGN SYSTEM  (이지스피크 영어회화)
   ----------------------------------------------------------------------------
   방향성: "동네 영어회화 전문학원". 흰 바탕 + 로고 파랑(주색) + 주황(포인트 소량).
   Pretendard 단일 서체 + 웨이트/크기 대비로 위계를 만든다.
   전 영역 Pretendard 단일 서체.

   ── 지역/ 페이지 재사용 안내 ────────────────────────────────────────────────
   "INDEX-ONLY" 구분선 위쪽은 공용 시스템. 지역 페이지 7,300여 개가
   .container .section .section-head .section-title .section-sub .btn .card
   .card-grid .timeline .pill .field .choice .reveal .site-footer .eyebrow
   .mobile-cta-bar 등 공용 클래스를 그대로 쓴다.
   클래스 이름은 유지하고 스타일만 새 방향으로 재정의했으므로 지역 페이지도
   자동으로 새 룩을 입는다. (마크업이 바뀌는 부분은 generate_pages.py 도 함께 수정)

   COLOR TOKENS
     --paper / --paper-2 / --paper-3   흰 바탕 + 연한 블루틴트 면
     --ink / --ink-2 / --ink-3         본문 (짙은 남색 → 회색)
     --blue / --blue-deep / --blue-bright / --blue-tint   주색(로고 파랑)
     --orange / --orange-deep          포인트 색 (소량)
     --line / --line-2                 헤어라인
     --kakao / --kakao-ink             카카오 상담

   TYPE
     --font-body   Pretendard   (전 영역)
     --font-serif  (폐지 — --font-body 별칭)
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

/* ---- TOKENS -------------------------------------------------------------- */
:root {
  /* surfaces */
  --paper:   #FFFFFF;
  --paper-2: #F4F8FC;
  --paper-3: #E9F1F9;
  /* ink */
  --ink:   #17212B;
  --ink-2: #44566A;
  --ink-3: #7C8A99;
  /* primary blue (from logo) */
  --blue:        #1D6FC2;
  --blue-deep:   #144F8C;
  --blue-bright: #49A2E6;
  --blue-tint:   #EAF3FB;
  /* point accent (orange rays in logo) — 소량 */
  --orange:      #F0811E;
  --orange-deep: #D66C0E;
  /* structure */
  --line:   #E1E8F0;
  --line-2: #ECF1F6;
  /* kakao */
  --kakao:     #FAE100;
  --kakao-ink: #391F1F;

  /* type */
  --font-body:  "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --font-serif: var(--font-body); /* 세리프 폐지 — 전 영역 Pretendard */
  /* 하위호환(재생성 전 옛 지역 페이지가 참조할 수 있는 토큰) */
  --font-display: var(--font-body);
  --persimmon: #1D6FC2; --persimmon-deep: #144F8C; --amber: #F0811E;
  --forest: #144F8C; --forest-2: #0E3D6E;

  /* spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 40px; --sp-7: 64px; --sp-8: 96px; --sp-9: 128px;

  /* radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;

  /* shadow (아주 절제) */
  --sh-1: 0 1px 2px rgba(20,50,90,.05), 0 8px 20px -16px rgba(20,50,90,.20);
  --sh-2: 0 10px 30px -18px rgba(20,50,90,.30);

  --header-h: 66px;
}

/* ---- RESET / BASE -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

/* scroll-behavior: smooth 미사용 — 일부 임베디드 렌더러에서 앵커 이동이
   완료되지 않아 클릭이 무반응처럼 보이는 문제가 있어 즉시 점프를 사용 */
html { scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- LAYOUT PRIMITIVES --------------------------------------------------- */
.container { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 20px; }

.section { padding-block: clamp(44px, 8vw, 82px); }

.section-head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head.is-center { margin-inline: auto; text-align: center; }

/* 소제목 라벨 — 한국어 소제목용. 영문 대문자/틱 라인 없음 */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body); font-weight: 700;
  font-size: 14px; letter-spacing: 0;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-size: clamp(24px, 4.6vw, 38px);
  color: var(--ink);
  word-break: keep-all;
}
.section-sub {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: clamp(15px, 2.2vw, 17px);
  max-width: 60ch;
  word-break: keep-all;
}
.is-center .section-sub { margin-inline: auto; }

/* 강조 span — 히어로 슬로건 전용(세리프). 그 외 섹션에서는 쓰지 않음 */
.accent { color: var(--blue); font-weight: 800; }

/* ---- BUTTONS ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  line-height: 1; letter-spacing: -.01em;
  padding: 15px 24px; border: 1.5px solid transparent; border-radius: var(--r-md);
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-deep); }

.btn--outline { background: #fff; color: var(--blue-deep); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

.btn--ghost { background: #fff; color: var(--blue-deep); border-color: transparent; }
.btn--ghost:hover { background: var(--blue-tint); }

.btn--kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn--kakao:hover { background: #F2D800; }

.btn--block { display: flex; width: 100%; }

/* 옛 지역 페이지 잔여 마크업 대비: 화살표 span 은 감춘다 */
.btn__arrow { display: none; }

/* ---- PILL / TAG (지역 페이지 지역 링크에 사용) --------------------------- */
.pill {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: var(--r-sm);
}

/* ---- 지역별 영어회화 바로가기 (메인 내부링크) ---------------------------- */
.region-links-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.region-links-pills a.pill { text-decoration: none; transition: border-color .16s, color .16s, background-color .16s; }
.region-links-pills a.pill:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }
.region-links-pills a.pill--hub { font-weight: 700; color: var(--blue-deep); border-color: var(--blue-tint); background: var(--blue-tint); }
.region-links-pills a.pill--hub:hover { color: #fff; background: var(--blue); border-color: var(--blue); }

/* ---- CARD (지역 body_blocks 등에서 재사용) ------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__index {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-weight: 800; font-size: 13px;
  padding: 3px 9px; color: #fff; background: var(--blue); border-radius: var(--r-sm);
}
.card__body { padding: 18px 18px 20px; }
.card__title { font-weight: 800; font-size: 17px; letter-spacing: -.02em; margin-bottom: 7px; color: var(--ink); word-break: keep-all; }
.card__text { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; word-break: keep-all; }

/* ---- TIMELINE (운영 방식 번호 리스트) ------------------------------------ */
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline__step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline__num {
  font-weight: 800; font-size: 15px;
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--blue); background: var(--blue-tint); border-radius: var(--r-sm);
}
.timeline__title { font-weight: 800; font-size: 18px; color: var(--ink); margin-bottom: 5px; word-break: keep-all; }
.timeline__desc { color: var(--ink-2); font-size: 15px; line-height: 1.65; word-break: keep-all; }

/* ---- FORM FIELDS --------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field__label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.req { font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--blue-deep); background: var(--blue-tint); padding: 2px 7px; border-radius: var(--r-sm); }

.field__control,
.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 15px;
  transition: border-color .16s, box-shadow .16s;
}
.consult-form textarea { resize: vertical; min-height: 90px; }
.consult-form input::placeholder,
.consult-form textarea::placeholder { color: var(--ink-3); }
.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,111,194,.14);
}
.consult-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237C8A99' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 40px;
}

.choice-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.choice {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: #fff; cursor: pointer; font-size: 14.5px; line-height: 1.4;
  transition: border-color .16s, background-color .16s;
  word-break: keep-all;
}
.choice:hover { border-color: var(--blue-bright); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice .checkmark {
  flex: 0 0 auto; width: 21px; height: 21px; margin-top: 1px;
  border: 2px solid var(--ink-3); border-radius: 6px; background: #fff;
  position: relative; transition: all .16s;
}
.choice input:checked ~ .checkmark { background: var(--blue); border-color: var(--blue); }
.choice .checkmark::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0);
  transition: transform .16s;
}
.choice input:checked ~ .checkmark::after { transform: rotate(45deg) scale(1); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }

/* ---- SCROLL REVEAL (절제) ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---- FOOTER -------------------------------------------------------------- */
.site-footer { background: var(--paper-2); color: var(--ink-2); padding-block: 38px; text-align: center; border-top: 1px solid var(--line); }
.site-footer a { color: var(--blue); }
.site-footer a:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink); margin-bottom: 12px; }
.footer-meta { color: var(--ink-3); font-size: 14px; line-height: 1.9; }

/* ---- MOBILE 하단 고정 상담바 (한국 학원 사이트 실용 요소) ---------------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(20,50,90,.08);
}
.mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 800; letter-spacing: -.01em;
}
.mobile-cta-bar a svg { width: 18px; height: 18px; }
.mobile-cta-bar a.mc-kakao { background: var(--kakao); color: var(--kakao-ink); }
.mobile-cta-bar a.mc-test { background: var(--blue); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero [data-load] { opacity: 1; transform: none; }
}

/* ============================================================================
   ── INDEX-ONLY ──────────────────────────────────────────────────────────
   아래는 홈페이지 전용 레이아웃. 지역 페이지는 이 선택자에 의존하지 않는다.
   ========================================================================== */

/* ---- HEADER -------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo a { display: inline-flex; align-items: center; gap: 9px; }
.logo img { height: 32px; width: auto; }
.logo-word { font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--ink); }

.nav ul { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: block; padding: 9px 13px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  border-radius: var(--r-sm); transition: color .16s, background-color .16s;
}
.nav a:hover { color: var(--blue); background: var(--blue-tint); }

.mobile-menu-btn { display: none; width: 42px; height: 42px; border: none; background: transparent; position: relative; }
.mobile-menu-btn span {
  position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .28s, opacity .18s;
}
.mobile-menu-btn span:nth-child(1) { top: 14px; }
.mobile-menu-btn span:nth-child(2) { top: 20px; }
.mobile-menu-btn span:nth-child(3) { top: 26px; }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(36px, 8vw, 78px));
  padding-bottom: clamp(44px, 8vw, 84px);
  background:
    linear-gradient(180deg, var(--blue-tint), #fff 72%);
  border-bottom: 1px solid var(--line);
}
.hero .hero-content { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 20px; text-align: center; }

.hero-kicker {
  display: inline-block;
  font-weight: 700; font-size: 15px; color: var(--blue);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(34px, 8vw, 60px); line-height: 1.14; letter-spacing: -.03em;
  color: var(--ink); word-break: keep-all;
}
.hero h1 .line { display: block; }
.hero h1 .easy { font-weight: 800; color: var(--blue); }

.hero p {
  margin-top: 20px; font-size: clamp(16px, 2.4vw, 19px); color: var(--ink-2);
  max-width: 44ch; word-break: keep-all; line-height: 1.72;
  margin-inline: auto;
}

.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }

.hero-stats {
  margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center;
  padding-top: 22px; border-top: 1px solid var(--line); max-width: 540px; margin-inline: auto;
}
.hero-stat .num { font-weight: 800; font-size: clamp(22px, 5vw, 30px); color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.hero-stat .lbl { font-size: 13px; color: var(--ink-3); margin-top: 6px; font-weight: 600; }

/* staggered page-load reveal (절제) */
.hero [data-load] { opacity: 0; transform: translateY(14px); animation: heroIn .55s ease forwards; }
.hero [data-load="1"] { animation-delay: .04s; }
.hero [data-load="2"] { animation-delay: .12s; }
.hero [data-load="3"] { animation-delay: .20s; }
.hero [data-load="4"] { animation-delay: .28s; }
.hero [data-load="5"] { animation-delay: .36s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---- ABOUT (2단 비대칭 · 사진 없음) ------------------------------------- */
.about-content { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.about-head .section-title { font-size: clamp(26px, 4.6vw, 40px); }
.about-closing {
  margin-top: 20px; font-weight: 700;
  color: var(--blue-deep); font-size: 17px; line-height: 1.7; word-break: keep-all;
}
.about-lead {
  font-weight: 700; font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.55; color: var(--ink); margin-bottom: 20px; word-break: keep-all;
}
.about-text p { color: var(--ink-2); margin-bottom: 14px; word-break: keep-all; font-size: 15.5px; line-height: 1.75; }
.about-text p strong { color: var(--ink); font-weight: 700; }
.about-panel {
  margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  background: var(--blue-tint); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px 22px;
}
.about-panel .k { font-weight: 800; font-size: 26px; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.about-panel .v { font-size: 15px; color: var(--ink-2); line-height: 1.55; word-break: keep-all; }

/* ---- PROGRAMS (표 형태: 과정 · 설명 · 대상) ------------------------------ */
.programs { background: var(--paper-2); border-block: 1px solid var(--line); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.programs-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.programs-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.programs-table thead th {
  text-align: left; font-size: 13px; font-weight: 700; color: var(--blue-deep);
  background: var(--blue-tint); padding: 13px 20px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.programs-table tbody th {
  text-align: left; font-weight: 800; font-size: 16px; color: var(--ink);
  padding: 16px 20px; vertical-align: top; white-space: nowrap; word-break: keep-all;
}
.programs-table tbody td { padding: 16px 20px; vertical-align: top; font-size: 14.5px; color: var(--ink-2); word-break: keep-all; }
.programs-table tbody td.target { color: var(--ink); font-weight: 600; white-space: nowrap; }
.programs-table tbody tr + tr th,
.programs-table tbody tr + tr td { border-top: 1px solid var(--line-2); }
.programs-table tbody tr:hover th,
.programs-table tbody tr:hover td { background: var(--paper-2); }
.programs-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ---- FEATURES (운영 방식 · 옅은 블루틴트 면으로 리듬) --------------------- */
.features { background: var(--paper-2); border-block: 1px solid var(--line-2); }
.features .timeline { border-top-color: var(--line); }
.features .timeline__step { border-bottom-color: var(--line); }
.features-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.features .section-head { margin-bottom: 8px; }

/* ---- REVIEWS (실제 카톡 캡처) -------------------------------------------- */
.reviews-note { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.reviews-slider { position: relative; max-width: 860px; margin: 26px auto 0; padding-inline: 8px; }
.reviews-viewport { overflow: hidden; border-radius: var(--r-md); }
.reviews-track { display: flex; gap: 20px; transition: transform .5s ease; }
.review-slide { flex: 0 0 calc((100% - 40px) / 3); }
.review-image {
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
  background: #fff;
}
.review-image img { width: 100%; height: auto; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); display: grid; place-items: center;
  box-shadow: var(--sh-1); transition: background-color .16s, color .16s, border-color .16s;
}
.slider-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.slider-prev { left: -10px; }
.slider-next { right: -10px; }

.reviews-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.reviews-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); cursor: pointer; transition: all .25s; }
.reviews-dots .dot.active { background: var(--blue); width: 22px; border-radius: var(--r-pill); }

/* ---- CONTACT ------------------------------------------------------------- */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 5vw, 52px); align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 22px); }
.contact-aside .big {
  font-weight: 800; font-size: clamp(24px, 4.4vw, 36px); line-height: 1.2; color: var(--ink);
  letter-spacing: -.02em; word-break: keep-all;
}
.contact-aside p { margin-top: 14px; color: var(--ink-2); word-break: keep-all; }
.contact-callbox {
  margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px;
}
.contact-callbox .lbl { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.contact-callbox .tel { display: block; margin-top: 4px; font-weight: 800; font-size: clamp(26px, 5vw, 34px); color: var(--blue-deep); letter-spacing: -.01em; }
.contact-callbox .kakao-link {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px; color: var(--kakao-ink);
  background: var(--kakao); padding: 11px 18px; border-radius: var(--r-md);
}
.contact-facts { margin-top: 16px; display: grid; gap: 8px; }
.contact-fact { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.contact-fact .ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--blue-tint); display: grid; place-items: center; color: var(--blue-deep); }

.contact-form-wrapper {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 4vw, 34px);
}
.form-row.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.two-columns .field { margin-bottom: 18px; }
.btn-submit {
  width: 100%; margin-top: 6px;
  font-family: var(--font-body); font-weight: 800; font-size: 17px; color: #fff;
  background: var(--blue); border: none; border-radius: var(--r-md); padding: 17px;
  transition: background-color .18s;
}
.btn-submit:hover { background: var(--blue-deep); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ---- KAKAO (말풍선 상담) ------------------------------------------------- */
.kakao-section { padding: 0 0 clamp(48px, 8vw, 84px); text-align: center; }
.kakao-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; color: var(--kakao-ink);
  background: var(--kakao); padding: 15px 28px;
  border-radius: 22px 22px 22px 4px;  /* 말풍선 느낌 */
  transition: background-color .18s;
}
.kakao-btn:hover { background: #F2D800; }
.kakao-icon { font-size: 20px; }

/* ---- RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 900px) {
  .about-content { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .review-slide { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 720px) {
  :root { --header-h: 58px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .24s, transform .24s; box-shadow: var(--sh-2);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .nav.active { opacity: 1; transform: none; pointer-events: auto; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 6px; }
  .nav a { padding: 14px 15px; font-size: 16px; border-radius: var(--r-md); }
  .mobile-menu-btn { display: block; }

  .hero p { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  /* 모바일 버튼 위계: 3번째(커리큘럼 보기)는 조용한 텍스트 링크로 */
  .hero-actions .btn--outline {
    border-color: transparent; background: transparent;
    color: var(--ink-3); font-weight: 600; font-size: 15px;
    text-decoration: underline; text-underline-offset: 4px;
    padding: 10px;
  }
  .hero-stats { gap: 12px 24px; margin-top: 28px; }

  /* 커리큘럼 표 → 카드형 (우측 잘림/가로 스크롤 제거) */
  .table-wrap { overflow-x: visible; border: none; border-radius: 0; background: transparent; }
  .programs-table { min-width: 0; display: block; }
  .programs-table thead { display: none; }
  .programs-table tbody { display: grid; gap: 10px; }
  .programs-table tbody tr {
    display: block; background: #fff;
    border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 14px 16px;
  }
  .programs-table tbody th,
  .programs-table tbody td { display: block; padding: 0; border: none !important; white-space: normal; }
  .programs-table tbody th { font-size: 15.5px; margin-bottom: 4px; }
  .programs-table tbody td { font-size: 14px; }
  .programs-table tbody td.target {
    margin-top: 8px; display: inline-block;
    font-size: 12.5px; font-weight: 700; color: var(--blue-deep);
    background: var(--blue-tint); padding: 3px 9px; border-radius: var(--r-pill);
  }
  .programs-table tbody tr:hover th,
  .programs-table tbody tr:hover td { background: transparent; }

  .review-slide { flex-basis: 100%; }
  .slider-prev { left: 0; } .slider-next { right: 0; }
  .slider-btn { width: 38px; height: 38px; }
  .form-row.two-columns { grid-template-columns: 1fr; gap: 0; }

  /* 하단 고정 상담바 노출 + 본문 하단 여백 확보 */
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: 78px; }
}

@media (max-width: 380px) {
  .container { padding-inline: 15px; }
  .hero .hero-content { padding-inline: 15px; }
}

/* ---- 학습 흐름 / 레벨테스트 / 학습관리 / 수강절차 / FAQ (콘텐츠 심화) ------ */

/* 학습 흐름 5단계 — 공용 .timeline 재사용, 단독 배치라 폭 제한 */
.flow .timeline { max-width: 760px; margin-inline: auto; }

/* 레벨테스트 안내 */
.leveltest { background: var(--paper-2); border-block: 1px solid var(--line); }
.leveltest .card-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.leveltest .card__body { padding: 20px 20px 22px; }
.lv-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.lv-fact {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 14px; color: var(--blue-deep);
  background: #fff; border: 1px solid var(--line); padding: 9px 15px; border-radius: var(--r-pill);
}
.lv-cta { margin-top: 26px; text-align: center; }

/* 학습 관리 시스템 */
.care-intro { max-width: 720px; margin-inline: auto; text-align: center; color: var(--ink-2); margin-bottom: clamp(22px, 4vw, 34px); word-break: keep-all; font-size: 15.5px; line-height: 1.75; }
.care-daily { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.care-daily .d-item { background: var(--blue-tint); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.care-daily .d-t { font-weight: 800; font-size: 16px; color: var(--blue-deep); margin-bottom: 6px; }
.care-daily .d-d { font-size: 14px; color: var(--ink-2); line-height: 1.6; word-break: keep-all; }
.care-daily-head { max-width: 760px; margin: clamp(24px, 4vw, 36px) auto 0; text-align: center; font-weight: 800; font-size: 18px; color: var(--ink); }

/* 수강 절차 */
.procedure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 18px; }
.p-num { width: 32px; height: 32px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--blue); border-radius: var(--r-sm); margin-bottom: 12px; }
.p-title { font-weight: 800; font-size: 16px; color: var(--ink); margin-bottom: 6px; word-break: keep-all; }
.p-text { font-size: 14px; color: var(--ink-2); line-height: 1.6; word-break: keep-all; }

/* FAQ */
.faq { background: var(--paper-2); border-top: 1px solid var(--line); }
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; font-weight: 700; font-size: 16px; color: var(--ink); word-break: keep-all;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px;
  border-right: 2.4px solid var(--ink-3); border-bottom: 2.4px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s; margin-right: 3px;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-a { padding: 0 20px 20px; color: var(--ink-2); font-size: 15px; line-height: 1.75; word-break: keep-all; }

@media (max-width: 720px) {
  .procedure { grid-template-columns: 1fr 1fr; }
  .care-daily { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .procedure { grid-template-columns: 1fr; }
}
