/* 디자인: 아이보리 바탕 + 짙은 남색 + 은은한 골드. 제목은 명조체, 영어 장식은 Cormorant.
   휴대폰 화면을 먼저 만들고, 넓은 화면은 아래 @media에서 맞춘다. */

:root {
  --text: #1d2230;
  --muted: #6a6f7b;
  --line: #e6dfd3;          /* 따뜻한 회색 선 */
  --bg: #fffdf9;            /* 아이보리 */
  --tint: #f6f1e8;          /* 더 짙은 아이보리 (번갈아 쓰는 섹션 배경) */
  --accent: #1b2b4b;        /* 짙은 남색: 버튼·제목 강조 */
  --accent-soft: #eef0f5;
  --gold: #a8854f;          /* 장식용 골드 (선, 번호, 영어 이름표) */
  --gold-soft: #f3ebdc;
  --navy: #14203a;          /* 상담 칸·바닥글 배경 */
  --radius: 16px;
  --header-h: 64px;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --display: "Cormorant Garamond", "Noto Serif KR", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Pretendard", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { line-height: 1.35; margin: 0; letter-spacing: -0.02em; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
p { margin: 0; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── 상단 메뉴 ── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 253, 249, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 16px;
}
.logo {
  font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  color: var(--accent); text-decoration: none; white-space: nowrap;
}
.nav {
  display: flex; gap: 20px; margin-left: auto;
  min-width: 0;                               /* 메뉴가 화면 폭을 넘지 않고 줄어들게 */
  overflow-x: auto; scrollbar-width: none;   /* 좁은 화면에서는 메뉴를 옆으로 밀어서 보기 */
}
.nav::-webkit-scrollbar { display: none; }
@media (max-width: 959px) {                  /* 메뉴가 넘치는 폭: 오른쪽을 흐리게 해서 옆으로 더 있다는 걸 보여준다 */
  .nav { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); padding-right: 24px; }
}
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap; transition: color .15s; }
.nav a:hover { color: var(--accent); }

/* ── 버튼 ── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.button:hover { background: var(--navy); box-shadow: 0 10px 24px rgba(20, 32, 58, .18); transform: translateY(-1px); }
.button-ghost { background: transparent; color: var(--accent); border-color: rgba(27, 43, 75, .35); }
.button-ghost:hover { background: var(--accent-soft); box-shadow: none; }
.button-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.button-large { min-height: 56px; padding: 0 34px; font-size: 16.5px; }
.button[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.header-cta { display: none; flex-shrink: 0; white-space: nowrap; }   /* 휴대폰에서는 숨기고 하단 버튼을 쓴다 */

/* ── 섹션 공통 ── */
section { padding: 84px 0; scroll-margin-top: var(--header-h); }
section.tinted { background: var(--tint); }
.section-label {                                  /* 영어 이름표: 골드 이탤릭 + 앞쪽 가는 선 */
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 19px; letter-spacing: .02em; color: var(--gold); margin-bottom: 10px;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h2 { font-size: 30px; margin-bottom: 22px; color: var(--accent); }
h3 { font-size: 17px; margin: 40px 0 14px; }
h4 { font-size: 17px; margin-bottom: 6px; }
.lead { font-size: 16.5px; color: var(--muted); max-width: 40em; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* 원장님 확인이 필요한 곳: 내용을 채우면 class="todo"를 지운다 */
.todo { background: #fff4d6; color: #8a5a00; font-style: normal; padding: 0 4px; border-radius: 4px; }

/* ── 1. 첫인상: 왼쪽 글, 오른쪽 아치형 사진 ── */
.hero {
  padding: 48px 0 72px;
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(168, 133, 79, .10), transparent 60%),
    linear-gradient(var(--bg), var(--tint));
}
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero-logo {
  width: 64px; height: 64px; padding: 8px; margin-bottom: 20px;
  border-radius: 50%; object-fit: contain;
  background: #fff; border: 1px solid var(--line);   /* 로고 파일 배경이 흰색이라 같은 색으로 */
}
.eyebrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.eyebrow span { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 18px; color: var(--gold); }
.hero h1 { font-size: 40px; line-height: 1.25; margin-bottom: 18px; color: var(--accent); letter-spacing: -0.03em; }
.tagline { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.6; color: var(--text); margin-bottom: 24px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 8px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.hero-points li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-arch { position: relative; isolation: isolate; margin: 0 auto; width: min(100%, 360px); }
.hero-arch img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px 18px 18px;           /* 위쪽이 둥근 아치 */
  box-shadow: 0 30px 60px -20px rgba(20, 32, 58, .35);
}
.hero-arch::before {                               /* 사진 뒤 골드 아치 선 */
  content: ""; position: absolute; inset: -12px -12px 20px 12px; z-index: -1;
  border: 1px solid var(--gold); border-radius: 999px 999px 20px 20px; opacity: .55;
}
.hero-arch figcaption {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  padding: 8px 18px; border-radius: 999px; white-space: nowrap;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(20, 32, 58, .08);
  font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--accent);
}

/* ── 2. 원장 인사말 · 학력 · 경력 ── */
.about-head { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.about-head h2 { margin: 0; }
.profile-photo {
  width: 92px; height: 92px; flex-shrink: 0;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold);
}
.greeting {
  max-width: 46em; color: var(--text); font-size: 16px;
  padding-left: 20px; border-left: 2px solid var(--gold);
}
.greeting p + p { margin-top: 12px; }
.about-grid { display: grid; gap: 8px; margin-top: 12px; }
.cv-list { list-style: none; padding: 0; margin: 0; }
.cv-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cv-list b { display: inline-block; min-width: 26px; color: var(--gold); font-weight: 700; }

/* 공간 사진 (영어 도서관 + 렉사일 테스트 센터 입구) */
.gallery { display: grid; gap: 12px; margin-top: 28px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img { display: block; width: 100%; height: 240px; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(20, 32, 58, .78));
  color: #fff; font-size: 13px;
}
.gallery figcaption b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; }

/* ── 3. 과목 태그, 특징 카드 ── */
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 6px 14px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); font-size: 15px;
}
.cards { display: grid; gap: 12px; }
.card {
  padding: 24px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.card-num { display: block; font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.card p { color: var(--muted); }

/* ── 레벨 색 (원장님 리딩 로드맵 PDF의 단계 색을 따름) ──
   solid: 로드맵 배지 / c: 글자·테두리 / bg: 연한 배경 */
:root {
  --lv-little: #b0245c;   --lv-little-bg: #fde8ef;   --lv-little-solid: #e0578b;
  --lv-big: #b4291f;      --lv-big-bg: #fde5e2;      --lv-big-solid: #d9443b;
  --lv-super: #8a5a00;    --lv-super-bg: #fff2c7;    --lv-super-solid: #e4a300;
  --lv-duper: #1f7340;    --lv-duper-bg: #e1f3e7;    --lv-duper-solid: #3a9a57;
  --lv-awesome: #1f5fae;  --lv-awesome-bg: #e2ecfb;  --lv-awesome-solid: #3a77c8;
  --lv-novel: #6a3fa0;    --lv-novel-bg: #efe7fa;    --lv-novel-solid: #7d50b3;
  --lv-literacy: #0f6e66; --lv-literacy-bg: #ddf4f2; --lv-literacy-solid: #1c8f85;
  --lv-club: #6b5d45;     --lv-club-bg: #f0eee9;     --lv-club-solid: #8a7a5e;
}
.lv-little   { --c: var(--lv-little);   --bg-c: var(--lv-little-bg);   --solid: var(--lv-little-solid); }
.lv-big      { --c: var(--lv-big);      --bg-c: var(--lv-big-bg);      --solid: var(--lv-big-solid); }
.lv-super    { --c: var(--lv-super);    --bg-c: var(--lv-super-bg);    --solid: var(--lv-super-solid); }
.lv-duper    { --c: var(--lv-duper);    --bg-c: var(--lv-duper-bg);    --solid: var(--lv-duper-solid); }
.lv-awesome  { --c: var(--lv-awesome);  --bg-c: var(--lv-awesome-bg);  --solid: var(--lv-awesome-solid); }
.lv-novel    { --c: var(--lv-novel);    --bg-c: var(--lv-novel-bg);    --solid: var(--lv-novel-solid); }
.lv-literacy { --c: var(--lv-literacy); --bg-c: var(--lv-literacy-bg); --solid: var(--lv-literacy-solid); }
.lv-club     { --c: var(--lv-club);     --bg-c: var(--lv-club-bg);     --solid: var(--lv-club-solid); }

/* ── 3-2. 리딩 로드맵: 휴대폰은 세로 타임라인, PC는 6단계 가로 계단 ── */
.rm-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 24px 0 28px; }
.rm-summary > div { padding: 14px 16px; border-radius: 12px; background: var(--tint); font-size: 13px; color: var(--muted); }
.rm-summary b { display: block; font-size: 18px; color: var(--text); letter-spacing: -0.02em; }

.rm { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 12px; }
.rm::before {                                   /* 단계를 잇는 세로 선 */
  content: ""; position: absolute; left: 15px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(var(--lv-little-solid), var(--lv-big-solid), var(--lv-super-solid), var(--lv-duper-solid), var(--lv-awesome-solid), var(--lv-novel-solid));
  border-radius: 2px;
}
.rm-step {
  position: relative; display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0;
  margin-left: 40px; border-radius: 16px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 16px);
  transition: box-shadow .2s, transform .2s;
}
.rm-step::before {                              /* 타임라인 위 동그라미 */
  content: ""; position: absolute; left: -33px; top: 22px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--solid); box-shadow: 0 0 0 4px var(--bg);
}
.rm-step:target { box-shadow: 0 0 0 3px var(--solid); }
.rm-badge {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 18px; background: var(--solid); color: #fff;
}
.rm-no { font-size: 12px; font-weight: 800; opacity: .85; letter-spacing: .06em; }
.rm-badge strong { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.rm-badge em {
  margin-left: auto; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--c);
  font-size: 12px; font-style: normal; font-weight: 700; white-space: nowrap;
}
.rm-body { padding: 16px 18px 18px; }
.rm-body h3 { margin: 0 0 4px; font-size: 16px; }
.rm-desc { color: var(--muted); font-size: 14px; }
.rm-sub { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; }
.rm-sub > span, .rm-books > span {
  flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 3px;
}
.rm-sub ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.rm-sub li {
  padding: 2px 8px; border-radius: 6px; background: var(--bg-c); color: var(--c);
  font-size: 12px; font-weight: 700;
}
.rm-books { margin-top: 10px; font-size: 13px; color: var(--text); line-height: 1.6; }
.rm-books > span { display: block; padding: 0 0 2px; }
.rm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; }
.rm-foot .note { margin: 0; flex: 1 1 320px; }

/* ── 시간표 설명 풍선 ── */
.tt-tip {
  position: absolute; z-index: 40; width: min(320px, calc(100vw - 24px));
  padding: 0 0 14px; border-radius: 14px; overflow: hidden;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(25, 31, 40, .18);
  font-size: 13px; line-height: 1.55;
  animation: tip-in .14s ease-out;
}
.tt-tip[hidden] { display: none; }
@keyframes tip-in { from { opacity: 0; transform: translateY(4px); } }
.tt-tip-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 14px; background: var(--solid, var(--accent)); color: #fff;
}
.tt-tip-step { font-size: 11px; font-weight: 800; letter-spacing: .06em; opacity: .85; }
.tt-tip-head strong { font-size: 15px; }
.tt-tip-head em {
  margin-left: auto; padding: 1px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--c, var(--accent));
  font-size: 11px; font-style: normal; font-weight: 700;
}
.tt-tip p { margin: 0; padding: 0 14px; }
.tt-tip-class { padding-top: 10px !important; font-size: 12px; font-weight: 700; color: var(--c, var(--muted)); }
.tt-tip-stage { margin-top: 6px !important; font-size: 14px; font-weight: 800; }
.tt-tip-desc { margin-top: 2px !important; color: var(--muted); }
.tt-tip-books { margin-top: 8px !important; font-size: 12px; }
.tt-tip-books b { color: var(--muted); }
.tt-tip-link {
  display: inline-block; margin: 10px 14px 0; font-size: 12.5px; font-weight: 700; color: var(--c, var(--accent));
  text-decoration: none;
}
.tt-tip-link:hover { text-decoration: underline; }
.tt-block[data-tip] { cursor: pointer; }
.tt-block:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }

/* ── 4. 주간 달력 시간표 (timetable.js가 그림) ── */
/* 레벨마다 색 하나: 배경(연한 색) / 글자·테두리(진한 색) */
.tt {
  --tt-axis: 38px;
  --tt-row: 58px;            /* 30분 한 줄 높이 (휴대폰은 칸이 좁아 더 높게) */
  margin-top: 28px;
}

/* 요일 탭(휴대폰)과 레벨 필터 */
.tt-toolbar { display: grid; gap: 14px; }
.tt-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 4px; border-radius: 12px; background: var(--tint);
}
.tt-tabs button {
  min-height: 44px; border: 0; border-radius: 9px; background: transparent;
  font: inherit; font-weight: 700; color: var(--muted); cursor: pointer;
}
.tt-tabs button[aria-selected="true"] { background: var(--bg); color: var(--text); box-shadow: 0 1px 4px rgba(25, 31, 40, .1); }
.tt-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tt-filter::-webkit-scrollbar { display: none; }
.tt-filter button {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer;
}
.tt-filter button i { width: 10px; height: 10px; border-radius: 50%; }
.tt-filter button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.tt-filter [data-level="little"] i { background: var(--lv-little); }
.tt-filter [data-level="big"] i { background: var(--lv-big); }
.tt-filter [data-level="super"] i { background: var(--lv-super); }
.tt-filter [data-level="duper"] i { background: var(--lv-duper); }
.tt-filter [data-level="awesome"] i { background: var(--lv-awesome); }
.tt-filter [data-level="literacy"] i { background: var(--lv-literacy); }
.tt-filter [data-level="novel"] i { background: var(--lv-novel); }
.tt-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* 달력 판 */
.tt-cal {
  position: relative; display: grid; column-gap: 4px;
  margin-top: 16px; padding: 0 8px 12px 0;
  border: 1px solid var(--line); border-radius: 16px; background: var(--bg);
  overflow: hidden;
}
.tt-line { grid-column: 1 / -1; z-index: 1; border-top: 1px solid var(--line); pointer-events: none; }
.tt-line.half { border-top-style: dashed; border-top-color: #eef0f2; }
.tt-time {
  grid-column: 1; align-self: start; transform: translateY(-50%);
  padding-right: 8px; text-align: right;
  font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums;
}
.tt-time.first { transform: none; }
.tt-col { z-index: 0; border-left: 1px solid var(--line); margin-left: -2px; }
.tt-col.today { background: linear-gradient(var(--accent-soft), rgba(238, 242, 251, .35)); }
.tt-head {
  grid-row: 1; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 4px 12px;
}
.tt-day { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.tt-today {
  padding: 2px 8px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
}

/* 수업 블록 */
.tt-block {
  position: relative; z-index: 2; margin: 3px 0; min-width: 0;
  display: flex; flex-direction: column; gap: 1px;
  padding: 7px 6px 7px 8px; border-radius: 10px;
  border-left: 4px solid var(--c); background: var(--bg-c); color: var(--c);
  overflow: hidden; transition: opacity .2s, transform .2s, box-shadow .2s;
}
.tt-block:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(25, 31, 40, .1); }
.tt-name { display: block; font-size: 13px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; word-break: keep-all; overflow-wrap: break-word; }
.tt-age { font-size: 11.5px; font-weight: 600; opacity: .85; line-height: 1.35; }
.tt-clock { margin-top: auto; font-size: 11.5px; font-weight: 600; opacity: .7; font-variant-numeric: tabular-nums; }
.tt-new {
  display: inline-block; margin-left: 4px; padding: 0 5px; vertical-align: 2px;
  border-radius: 4px; background: var(--c); color: #fff;
  font-size: 9.5px; font-style: normal; font-weight: 800; letter-spacing: .04em;
}
.tt-block.dim { opacity: .18; transform: none; box-shadow: none; }

.lv-club {
  --c: var(--lv-club); --bg-c: var(--lv-club-bg);
  background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(107, 93, 69, .06) 8px 16px);
}
.lv-open {
  --c: var(--muted); --bg-c: transparent;
  border: 1.5px dashed #cfd5dc; border-left-width: 1.5px; justify-content: center; align-items: center;
}
.lv-open .tt-name { font-size: 12.5px; font-weight: 600; }

/* 시간표 아래 안내 3칸 */
.tt-info { display: grid; gap: 10px; margin-top: 16px; }
.tt-info > div { padding: 14px 16px; border-radius: 12px; background: var(--tint); font-size: 14px; color: var(--muted); }
.tt-info b { display: block; margin-bottom: 2px; color: var(--text); font-size: 15px; }
.note-list { margin: 20px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.note-list li { margin-top: 4px; }

/* 원비표: 휴대폰에서는 줄마다 카드 한 장, PC에서는 일반 표 */
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table thead { display: none; }
.fee-table tr {
  display: block; margin-bottom: 10px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.fee-table td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; text-align: right; }
.fee-table td::before { content: attr(data-label); flex-shrink: 0; color: var(--muted); font-size: 14px; text-align: left; }
.fee-table td:first-child { display: block; text-align: left; font-weight: 700; font-size: 17px; padding-bottom: 6px; }
.fee-table td:first-child::before { display: none; }
.fee-table td:nth-child(3) { font-weight: 700; color: var(--accent); }
.reg-table td:nth-child(3) { font-weight: 400; color: var(--text); }   /* 등록표는 4번째 칸(교습비)을 강조 */
.reg-table td:nth-child(4) { font-weight: 700; color: var(--accent); }
.fee-table small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.fee-info { display: grid; gap: 12px; margin-top: 20px; }
.fee-info > div { padding: 18px 20px; border-radius: var(--radius); background: var(--tint); }
.fee-info h4 { font-size: 15px; margin-bottom: 6px; }
.fee-info ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted); }

.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button-row.center { justify-content: center; }

/* ── 5. 오시는 길 ── */
.location-inner { display: grid; gap: 28px; }
.info-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 24px; }
.info-list dt { font-weight: 700; }
.info-list dd { margin: 0; }
.map {
  height: 260px; overflow: hidden;
  border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ── 6. 상담 문의 ── */
.contact-box {
  padding: 40px 24px; text-align: center;
  border-radius: var(--radius); background: var(--accent-soft);
}
.contact-box .lead { margin: 0 auto 24px; }

/* ── 바닥글 ── */
/* (바닥글 스타일은 파일 끝 "바닥글" 참고) */

/* ── 오른쪽 아래에 항상 떠 있는 신청 버튼 (상담 문의 · 렉사일 시험 신청) ── */
.side-cta {
  position: fixed; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.side-cta a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--bg); color: var(--accent); border: 1px solid var(--gold);
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(20, 32, 58, .35); transition: transform .15s;
}
.side-cta a:hover { transform: translateY(-2px); }
.side-cta .side-cta-main { background: var(--navy); color: #fff; border-color: #d6b98a; min-height: 48px; padding: 0 22px; }

/* ── 넓은 화면 (태블릿·PC) ── */
@media (max-width: 767px) {
  .tt-clock { display: none; }   /* 휴대폰: 시각은 왼쪽 눈금으로 보고 칸에는 반 이름·대상만 */
  .tt-name { font-size: 12.5px; hyphens: manual; }
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
  section { padding: 112px 0; }
  h2 { font-size: 38px; }

  .header-cta { display: inline-flex; }
  .site-footer { padding-bottom: 32px; }

  .hero { padding: 48px 0 88px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .profile-photo { width: 112px; height: 112px; }
  .hero-arch { width: 100%; max-width: 370px; }
  .gallery { grid-template-columns: 1.7fr 1fr; gap: 16px; }
  .gallery img { height: 360px; }
  .about-grid { grid-template-columns: 1fr 1.4fr; gap: 48px; }
  .hero h1 { font-size: 54px; }
  .tagline { font-size: 22px; }
  .hero-actions { justify-content: flex-start; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tt { --tt-axis: 56px; --tt-row: 46px; }
  .rm-summary { grid-template-columns: repeat(4, 1fr); }
  .rm { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .rm::before { display: none; }
  .rm-step { margin-left: 0; }
  .rm-step::before { display: none; }
  .rm-step:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(25, 31, 40, .08); }
  .tt-toolbar { grid-template-columns: 1fr; }
  .tt-tabs { display: none; }
  .tt-cal { padding-right: 12px; }
  .tt-info { grid-template-columns: repeat(3, 1fr); }

  .fee-table thead { display: table-header-group; }
  .fee-table tr { display: table-row; padding: 0; border: 0; }
  .fee-table th, .fee-table td {
    display: table-cell; padding: 14px 18px; text-align: left;
    border-bottom: 1px solid var(--line);
  }
  .fee-table th { font-size: 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--text); }
  .fee-table td::before { display: none; }
  .fee-table td:first-child { display: table-cell; font-size: 16px; padding-bottom: 14px; }
  .fee-table td:nth-child(3), .fee-table th:nth-child(3) { text-align: right; }
  .fee-info { grid-template-columns: repeat(3, 1fr); }
  .reg-table td:nth-child(3), .reg-table th:nth-child(3) { text-align: left; }
  .reg-table td:nth-child(4), .reg-table th:nth-child(4),
  .reg-table td:nth-child(5), .reg-table th:nth-child(5) { text-align: right; }

  .location-inner { grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
  .map { height: 340px; }

  .contact-box { padding: 64px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 고정된 설명 풍선: 닫기 버튼 */
.tt-tip.pinned { box-shadow: 0 0 0 2px var(--solid, var(--accent)), 0 14px 40px rgba(25, 31, 40, .2); }
.tt-tip-close {
  width: 26px; height: 26px; margin-left: 4px; padding: 0; flex-shrink: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff;
  font: inherit; font-size: 13px; line-height: 26px; cursor: pointer;
}
.tt-tip-close:hover { background: rgba(255, 255, 255, .4); }
.tt-tip-head em + .tt-tip-close { margin-left: 4px; }

/* ── 함께하는 선생님 ── */
.teachers { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.teachers h3 { margin: 0 0 6px; font-size: 22px; }
.teachers-lead { color: var(--muted); margin-bottom: 20px; }
.teacher-grid { display: grid; gap: 12px; }
.teacher {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
}
.teacher-photo {                                   /* 사진은 학원 소개 PDF 6~7쪽에서 잘라 옴 */
  width: 76px; height: 76px; flex-shrink: 0; border-radius: 50%; overflow: hidden;
  background: var(--tint); border: 1px solid var(--line);
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-body h4 { margin: 2px 0 4px; font-size: 17px; }
.teacher-tag { color: var(--accent); font-weight: 700; font-size: 14px; }
.teacher-facts { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.teacher-facts li { padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.teacher-body > p:last-child { color: var(--muted); font-size: 14px; }

@media (min-width: 768px) {
  .teacher-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1000px) {
  .teacher-grid { grid-template-columns: repeat(3, 1fr); }
  .teacher { flex-direction: column; }
  .teacher-photo { width: 96px; height: 96px; }
}

/* ══ 고급스러운 마감 (2026-10-27): 앞의 규칙 위에 덮어쓴다 ══ */

/* 과목 태그 · 특징 카드 */
.tags li { background: var(--bg); border-color: var(--line); color: var(--text); }
.card {
  position: relative; padding: 28px 26px; border: 1px solid var(--line); background: var(--bg);
  box-shadow: 0 1px 0 rgba(20, 32, 58, .02);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(20, 32, 58, .28); }
.card-num { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 26px; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.card h4 { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--accent); }

/* 로드맵 요약 · 단계 카드 */
.rm-summary > div { background: var(--bg); border: 1px solid var(--line); }
.rm-summary b { font-family: var(--serif); font-weight: 600; color: var(--accent); }
.rm-step { border-color: var(--line); background: var(--bg); }
.rm-badge strong { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
.rm-no { font-family: var(--display); font-style: italic; font-size: 15px; letter-spacing: .04em; }
.rm-body h3 { font-family: var(--serif); font-weight: 600; color: var(--accent); }
.rm::before { opacity: .7; }

/* 시간표 판 · 안내 칸 */
.tt-cal { background: var(--bg); border-color: var(--line); box-shadow: 0 24px 50px -36px rgba(20, 32, 58, .35); }
.tt-day { font-family: var(--serif); font-weight: 600; color: var(--accent); }
.tt-filter button { background: var(--bg); border-color: var(--line); }
.tt-filter button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.tt-tabs { background: var(--tint); }
.tt-info > div, .fee-info > div { background: var(--tint); border: 1px solid var(--line); }
.tt-info b { font-family: var(--serif); font-weight: 600; color: var(--accent); }
section.tinted .tt-info > div, section.tinted .fee-info > div { background: var(--bg); }

/* 원비 표 */
.fee-table tr { border-color: var(--line); }
.fee-table th { border-bottom-color: var(--accent) !important; }

/* 오시는 길 지도 */
.map { border-color: var(--line); box-shadow: 0 24px 50px -36px rgba(20, 32, 58, .35); }
.info-list dt { color: var(--gold); }

/* 상담 문의: 짙은 남색 칸 */
.contact-box {
  position: relative; overflow: hidden; padding: 56px 24px;
  background: var(--navy); color: #f4efe6; border-radius: 24px;
}
.contact-box::before {                         /* 은은한 골드 아치 장식 */
  content: ""; position: absolute; left: 50%; top: -120px; width: 520px; height: 520px; transform: translateX(-50%);
  border: 1px solid rgba(168, 133, 79, .35); border-radius: 50%; pointer-events: none;
}
.contact-box > * { position: relative; }
.contact-box .section-label { justify-content: center; color: #d6b98a; }
.contact-box .section-label::before { background: #d6b98a; }
.contact-box h2 { color: #fff; }
.contact-box .lead { color: rgba(244, 239, 230, .78); }
.contact-box .note { color: rgba(244, 239, 230, .6); }
.contact-box .button { background: #f4efe6; color: var(--navy); border-color: #f4efe6; }
.contact-box .button:hover { background: #fff; }
.contact-box .button-ghost { background: transparent; color: #f4efe6; border-color: rgba(244, 239, 230, .45); }
.contact-box .button-ghost:hover { background: rgba(244, 239, 230, .08); }

/* 함께하는 선생님 */
.teachers { border-top-color: var(--line); }
.teachers h3 { font-family: var(--serif); font-weight: 600; color: var(--accent); }
.teacher { border-color: var(--line); background: var(--bg); transition: box-shadow .25s, transform .25s; }
.teacher:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(20, 32, 58, .28); }
.teacher-photo { border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold); }
.teacher-body h4 { font-family: var(--serif); font-weight: 600; color: var(--accent); }
.teacher-tag { color: var(--gold); font-family: var(--serif); font-weight: 500; }
.teacher-facts li { background: var(--gold-soft); color: #7a5f33; }

/* ── 바닥글: 짙은 남색, 로고 · 공식 채널 · 학원 정보 ── */
.site-footer { padding: 56px 0 120px; background: var(--navy); color: rgba(244, 239, 230, .7); font-size: 13.5px; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 48px; height: 48px; padding: 6px; border-radius: 50%; background: #fff; }
.footer-brand strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 18px; color: #fff; }
.footer-brand span { font-family: var(--display); font-style: italic; font-size: 16px; color: #d6b98a; }
.social { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.social a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border-radius: 14px; border: 1px solid rgba(244, 239, 230, .14); background: rgba(255, 255, 255, .04);
  color: #f4efe6; text-decoration: none; transition: background .2s, border-color .2s;
}
.social a:hover { background: rgba(255, 255, 255, .09); border-color: rgba(214, 185, 138, .6); }
.social-ico { width: 34px; height: 34px; flex-shrink: 0; padding: 6px; border-radius: 10px; color: #fff; }
.social-ico.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-ico.nv { padding: 0; color: #03c75a; }
.social-ico.pl { padding: 5px; background: #03c75a; }
.social span { display: flex; flex-direction: column; line-height: 1.35; font-size: 13px; color: rgba(244, 239, 230, .65); }
.social b { font-size: 15px; font-weight: 700; color: #fff; }
.footer-info { display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid rgba(244, 239, 230, .12); }
.copyright { margin-top: 8px; font-family: var(--display); font-size: 15px; color: rgba(244, 239, 230, .45); }

@media (min-width: 768px) {
  .site-footer { padding-bottom: 56px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .social { grid-template-columns: repeat(2, auto); }
  .footer-info { grid-column: 1 / -1; }
  .contact-box { padding: 80px 40px; }
}

/* ══ 대형 어학원 구성 참고: 안내 띠 · 입학 안내 · 후기 · FAQ · 소식 · 퀵 메뉴 ══ */

/* 맨 위 안내 띠 */
.notice-bar { background: var(--navy); color: #f4efe6; font-size: 13px; }
.notice-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 12px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.notice-bar a { color: #d6b98a; font-weight: 700; text-decoration: none; }
.notice-bar a:hover { text-decoration: underline; }

/* 입학 안내: 5단계 흐름 */
.steps-flow { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; counter-reset: none; }
.steps-flow li {
  position: relative; padding: 22px 22px 22px 76px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.step-no {
  position: absolute; left: 20px; top: 20px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--display); font-style: italic; font-weight: 600; font-size: 18px;
}
.steps-flow h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--accent); }
.steps-flow p { color: var(--muted); font-size: 14.5px; }
.admission-cta { margin-top: 28px; }

/* 학부모 후기 */
.reviews { display: grid; gap: 14px; margin-top: 8px; }
.review {
  position: relative; margin: 0; padding: 34px 26px 24px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.review::before {                                 /* 큰 따옴표 장식 */
  content: "\201C"; position: absolute; left: 20px; top: -6px;
  font-family: var(--display); font-size: 72px; line-height: 1; color: var(--gold); opacity: .55;
}
.review blockquote { margin: 0; font-family: var(--serif); font-size: 16.5px; line-height: 1.75; color: var(--text); }
.review figcaption { margin-top: 14px; font-size: 13px; color: var(--gold); font-weight: 700; }
.review figcaption::before { content: "— "; }

/* 자주 묻는 질문 */
.faq-inner { display: grid; gap: 24px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 52px 18px 20px; font-weight: 700; color: var(--accent);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; margin-right: 10px; font-family: var(--display); font-style: italic; font-size: 19px; color: var(--gold); }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 20px 44px; color: var(--muted); font-size: 15px; }

/* 핸즈온 이야기 (블로그 최신 글) */
.story-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.story-head h2 { margin-bottom: 10px; }

/* PC 오른쪽 퀵 메뉴 */
.quick { display: none; }

@media (min-width: 768px) {
  .steps-flow { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .steps-flow li { padding: 76px 18px 22px; }
  .step-no { left: 18px; }
  .steps-flow li:not(:last-child)::after {        /* 단계 사이 연결선 */
    content: ""; position: absolute; left: 64px; right: -10px; top: 40px; height: 1px; background: var(--gold); opacity: .4;
  }
  .reviews { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .faq-inner { grid-template-columns: 1fr 1.8fr; gap: 48px; align-items: start; }
}

@media (min-width: 1360px) {   /* 본문(1080px)과 겹치지 않을 만큼 넓은 화면에서만 */
  .quick {
    position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 25;
    display: grid; gap: 1px; overflow: hidden; border-radius: 16px;
    background: var(--line); border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(20, 32, 58, .35);
  }
  .quick a {
    display: grid; place-items: center; width: 68px; min-height: 60px; padding: 8px 4px;
    background: var(--bg); color: var(--accent); text-decoration: none; text-align: center;
    font-size: 12.5px; font-weight: 700; line-height: 1.3; transition: background .2s;
  }
  .quick a:hover { background: var(--tint); }
  .quick-main { background: var(--navy) !important; color: #f4efe6 !important; }
  .quick-main b { display: block; font-family: var(--serif); font-size: 15px; color: #fff; }
  .quick-lexile { color: #7a5f33 !important; background: var(--gold-soft) !important; }
  .side-cta { display: none; }   /* 이 폭에서는 오른쪽 퀵 메뉴가 같은 역할 */
}

/* ── 핸즈온 이야기: 블로그 앨범 (휴대폰은 옆으로 넘기는 앨범, PC는 3칸 격자) ── */
.story-head .lead { margin: 0; }
.album {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
  margin: 24px -20px 0; padding: 0 20px 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.album::-webkit-scrollbar { display: none; }
.post {
  scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 22px 44px -26px rgba(20, 32, 58, .35); }
.post-thumb { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.post-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .post-thumb img { transform: scale(1.05); }
.post-thumb.cover {                                /* 사진이 없는 글: 학원 색으로 만든 표지 */
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 20px;
  background: var(--navy); color: #f4efe6;
  background-image: radial-gradient(260px 200px at 85% 15%, rgba(168, 133, 79, .35), transparent 70%);
}
.post-thumb.cover.alt { background-color: #2a3b5f; }
.post-thumb.cover.gold { background-color: #8c6d3f; background-image: radial-gradient(260px 200px at 85% 15%, rgba(255, 255, 255, .18), transparent 70%); }
.post-thumb.cover i { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 34px; line-height: 1.1; color: #d6b98a; }
.post-thumb.cover.gold i { color: #fff3dc; }
.post-thumb.cover b { font-family: var(--serif); font-weight: 600; font-size: 15px; color: #fff; }
.post-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.post-body em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--gold); }
.post-body strong { font-family: var(--serif); font-weight: 600; font-size: 15.5px; line-height: 1.5; color: var(--accent); }
.post-body time { margin-top: auto; padding-top: 8px; font-family: var(--display); font-style: italic; font-size: 15px; color: var(--muted); }

@media (min-width: 768px) {
  .album { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 0; padding: 0; overflow: visible; }
}

/* 후기: 네이버 플레이스 리뷰 6개 (PC 3칸 × 2줄) */
.review-score b { color: var(--accent); }
#reviews .story-head { margin-bottom: 20px; }
#reviews .review blockquote { font-size: 15.5px; }

/* ── 3-3. 공식 렉사일 테스트 ── */
.lexile-intro { display: grid; gap: 28px; align-items: center; }
.lexile-cta { margin-top: 24px; }
.lexile-photo { margin: 0; }
.lexile-photo img {
  display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 1; object-fit: cover; margin: 0 auto;
  border-radius: 999px 999px 18px 18px; box-shadow: 0 30px 60px -24px rgba(20, 32, 58, .35);
}
.lexile-grid { display: grid; gap: 12px; margin-top: 40px; }
.lexile-card { padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.lexile-card h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--accent); }
.lexile-card p { color: var(--muted); font-size: 14.5px; }
.lexile-card b { color: var(--text); }
.lexile-areas { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lexile-areas li { padding: 10px 4px; border-radius: 10px; background: var(--gold-soft); text-align: center; font-weight: 700; font-size: 14px; color: #7a5f33; }
.lexile-areas span { display: block; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 13px; color: var(--gold); }
.lexile-sub { margin-top: 44px; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--accent); }
.lexile-results { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lexile-results li {
  padding: 18px; border-radius: var(--radius); background: var(--navy); color: rgba(244, 239, 230, .7); font-size: 13px;
}
.lexile-results b { display: block; font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.1; color: #d6b98a; }
.lexile-results span { display: block; margin: 4px 0 2px; font-weight: 700; font-size: 15px; color: #fff; }
.lexile-steps { margin-top: 0; }

@media (min-width: 768px) {
  .lexile-intro { grid-template-columns: 1.4fr 1fr; gap: 56px; }
  .lexile-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .lexile-results { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .lexile-steps { grid-template-columns: repeat(4, 1fr); }
}

/* 로드맵 단계별 기간 (12월부터 파닉스 주 3회 반영) */
.rm-period { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 10px; font-size: 13.5px; color: var(--text); }
.rm-period > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.rm-period em { padding: 1px 7px; border-radius: 999px; background: var(--c); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }
.tt-tip-period { margin-top: 6px !important; font-size: 12px; font-weight: 700; color: var(--c, var(--accent)); }

/* ── 레디 소리영어 · 소리 독서 (학원 소개 안) ── */
.sound {
  position: relative; overflow: hidden; margin-top: 28px; padding: 32px 24px;
  border-radius: 20px; background: var(--navy); color: rgba(244, 239, 230, .78);
}
.sound::after {                                       /* 소리 물결 장식 */
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(214, 185, 138, .25), 0 0 0 28px rgba(214, 185, 138, .05), 0 0 0 29px rgba(214, 185, 138, .18), 0 0 0 60px rgba(214, 185, 138, .04), 0 0 0 61px rgba(214, 185, 138, .12);
  pointer-events: none;
}
.sound > * { position: relative; }
.sound-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; font-weight: 700; color: #d6b98a; }
.sound-label i { font-family: var(--display); font-weight: 600; font-size: 20px; }
.sound-head h3 { margin: 8px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.45; color: #fff; }
.sound-head p { font-size: 14.5px; max-width: 46em; }
.sound-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.sound-steps li { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(244, 239, 230, .12); font-size: 13.5px; }
.sound-steps b { display: block; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 24px; line-height: 1.1; color: #d6b98a; }
.sound-steps strong { display: block; margin: 4px 0 4px; font-size: 15px; color: #fff; }
.sound-cycle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 13.5px; font-weight: 700; color: #fff; }
.sound-cycle span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(214, 185, 138, .55); }
.sound-cycle span + span::before { content: "→"; margin: 0 8px 0 -2px; color: #d6b98a; font-weight: 400; }
.sound-more { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; color: #d6b98a; text-decoration: none; }
.sound-more:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .sound { padding: 44px 40px; }
  .sound-steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

/* ---------- 언어학 전공 원장의 파닉스 (#phonics) ---------- */
.phonics {
  margin-top: 28px; padding: 32px 22px; border-radius: 20px;
  background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.phonics-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; font-weight: 700; color: var(--gold); }
.phonics-label i { font-family: var(--display); font-weight: 600; font-size: 20px; }
.phonics-head h3 { margin: 8px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.45; color: var(--accent); }
.phonics-head p { font-size: 14.5px; color: var(--muted); max-width: 48em; }
.phonics-head p b { color: var(--text); }

.phonics-compare { margin-top: 24px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: 13.5px; }
.pc-row { display: grid; grid-template-columns: 52px 1fr 1fr; }
.pc-row + .pc-row { border-top: 1px solid var(--line); }
.pc-row > * { padding: 12px 10px; }
.pc-row b { display: flex; align-items: center; font-size: 13px; color: var(--accent); background: var(--tint); }
.pc-row span:nth-child(2) { color: var(--muted); }
.pc-row span:nth-child(3) { color: var(--text); font-weight: 600; background: var(--gold-soft); }
.pc-title > * { padding-top: 10px; padding-bottom: 10px; font-size: 12.5px; font-weight: 700; }
.pc-title span:first-child { background: var(--tint); }
.pc-title span:nth-child(2) { color: var(--muted); background: var(--tint); }
.pc-title span:nth-child(3) { color: #fff; background: var(--accent); }

.phonics-sub { margin: 28px 0 12px; font-family: var(--serif); font-size: 17px; color: var(--accent); }
.phonics-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.phonics-facts li { padding: 18px; border-radius: 14px; background: var(--tint); font-size: 13.5px; color: var(--muted); }
.phonics-facts b { display: block; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 24px; line-height: 1.15; color: var(--gold); }
.phonics-facts b small { font-family: Pretendard, sans-serif; font-style: normal; font-size: 12px; font-weight: 700; }
.phonics-facts strong { display: block; margin: 6px 0 4px; font-size: 15px; color: var(--text); }
.phonics-facts em { font-style: normal; font-weight: 700; color: var(--accent); }
.phonics-quote { margin: 20px 0 0; padding-left: 14px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 15px; line-height: 1.7; color: var(--accent); }
.phonics-more { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; }
.phonics-more a { font-size: 14px; font-weight: 700; color: var(--gold); text-decoration: none; }
.phonics-more a:hover { text-decoration: underline; }
.cv-link { display: inline-block; margin-left: 4px; font-size: 13px; font-weight: 700; color: var(--gold); text-decoration: none; white-space: nowrap; }
.cv-link:hover { text-decoration: underline; }
.faq details p a { color: var(--gold); font-weight: 700; }

@media (min-width: 768px) {
  .phonics { padding: 44px 40px; }
  .pc-row { grid-template-columns: 90px 1fr 1fr; }
  .pc-row > * { padding: 14px 18px; }
  .phonics-facts { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

/* ---------- 후기 숫자 ---------- */
.review-stats { list-style: none; padding: 0; margin: 18px 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.review-stats li { border-radius: 14px; background: var(--tint); text-align: center; }
.review-stats a { display: block; padding: 16px 10px; color: inherit; text-decoration: none; }
.review-stats li.rs-total { grid-column: 1 / -1; padding: 18px 10px; background: var(--accent); color: #fff; }
.review-stats b { display: block; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; color: var(--accent); }
.review-stats .rs-total b { font-size: 52px; color: #d6b98a; }
.review-stats b::after { content: "+"; font-size: .6em; vertical-align: .35em; margin-left: 2px; }
.review-stats span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; }
.review-stats a:hover span { text-decoration: underline; }
.review-asof { margin: 0 0 18px; font-size: 12px; color: var(--muted); }
@media (min-width: 768px) {
  .review-stats { grid-template-columns: 1.4fr 1fr 1fr; }
  .review-stats li.rs-total { grid-column: auto; }
}

/* ---------- 로드맵 대표 도서 표지 ---------- */
.book {
  padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline dotted; text-decoration-color: var(--gold); text-underline-offset: 3px;
}
.book:hover, .book:focus-visible { color: var(--accent); text-decoration-style: solid; }
.book-pop {
  position: absolute; z-index: 60; margin: 0; width: 150px; padding: 10px 10px 8px;
  border-radius: 12px; background: var(--bg); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(20, 32, 58, .18);
  opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .15s, transform .15s;
}
.book-pop.is-open { opacity: 1; transform: none; }
.book-pop img { display: block; width: 100%; height: 180px; object-fit: contain; border-radius: 4px; background: var(--tint); }
.book-pop figcaption { margin-top: 6px; font-size: 12px; font-weight: 700; line-height: 1.35; text-align: center; color: var(--text); }

/* 시간표 아래 원비 안내로 가는 링크 (원비는 아래쪽 #fee 섹션) */
.schedule-fee { margin-top: 18px; }
.schedule-fee a { font-size: 14px; font-weight: 700; color: var(--gold); text-decoration: none; }
.schedule-fee a:hover { text-decoration: underline; }
#fee h2 { scroll-margin-top: var(--header-h); }

/* 강사 소개가 별도 섹션(#teachers)이 되면서 원장 소개 아래 구분선은 필요 없다 */
#teachers .teachers { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- 고학년 · 메타수능 (#meta) ---------- */
.meta-why { display: grid; gap: 14px; margin-top: 8px; }
.meta-why-text { padding: 24px 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.meta-why-text h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.45; color: var(--accent); }
.meta-why-text ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.meta-why-text li { font-size: 14.5px; color: var(--muted); }
.meta-why-text li b { display: block; font-size: 14px; color: var(--text); }
.meta-stat { margin: 0; padding: 24px 22px; border-radius: var(--radius); background: var(--navy); color: rgba(244, 239, 230, .8); display: flex; flex-direction: column; justify-content: center; }
.meta-stat > b { font-family: var(--display); font-weight: 600; font-size: 56px; line-height: 1; color: #d6b98a; }
.meta-stat > b small { font-size: .5em; margin-left: 2px; }
.meta-stat figcaption { margin-top: 8px; font-size: 15px; font-weight: 700; color: #fff; }
.meta-stat figcaption span { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: rgba(244, 239, 230, .7); }

.meta-sub { margin: 36px 0 12px; font-family: var(--serif); font-size: 19px; color: var(--accent); }
.meta-road { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.meta-road li { padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.meta-road span { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--gold-soft); color: #7a5f33; font-size: 12.5px; font-weight: 700; }
.meta-road strong { display: block; margin: 8px 0 4px; font-size: 16px; color: var(--text); }
.meta-road li.is-key { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.meta-road li.is-key span { background: var(--accent); color: #fff; }
.meta-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.meta-note b { color: var(--text); }

.meta-box { margin-top: 28px; padding: 30px 22px; border-radius: 20px; background: var(--navy); color: rgba(244, 239, 230, .78); }
.meta-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; font-weight: 700; color: #d6b98a; }
.meta-label i { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: .08em; }
.meta-box-head h3 { margin: 8px 0 0; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.45; color: #fff; }
.meta-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.meta-steps li { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(244, 239, 230, .12); font-size: 13.5px; }
.meta-steps b { display: block; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 24px; line-height: 1.1; color: #d6b98a; }
.meta-steps strong { display: block; margin: 4px 0; font-size: 15px; color: #fff; }
.meta-lexile { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(214, 185, 138, .45); }
.meta-lexile > div { flex: 1; }
.meta-lexile span { display: block; font-size: 12px; color: rgba(244, 239, 230, .7); }
.meta-lexile b { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; color: #fff; }
.meta-lexile em { font-style: normal; font-size: 12px; color: #d6b98a; }
.meta-lexile > i { font-style: normal; font-size: 20px; color: #d6b98a; }
.meta-example { margin: 14px 0 0; font-size: 13px; }

.meta-grid { display: grid; gap: 14px; margin-top: 18px; }
.meta-card { padding: 24px 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.meta-card h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--accent); }
.meta-card p { margin: 0 0 8px; font-size: 14.5px; color: var(--muted); }
.meta-card p b { color: var(--text); }
.meta-card-note { padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13.5px !important; color: var(--accent) !important; }

@media (min-width: 768px) {
  .meta-why { grid-template-columns: 1fr 260px; }
  .meta-road { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .meta-box { padding: 44px 40px; }
  .meta-steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
}
.rm-books > span small { margin-left: 4px; font-size: 11px; font-weight: 500; color: var(--muted); }
/* Big Hands 카드: 기간과 12월 운영 방식을 한 상자에 */
.rm-way { display: block; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: var(--bg-c); font-size: 13px; line-height: 1.6; }
.rm-way > span { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 999px; background: var(--c); color: #fff; font-size: 11px; font-weight: 700; }
.rm-way small { font-size: 12px; color: var(--muted); }
/* 학원 소개 태그 중 고학년 섹션으로 가는 태그 */
.tags li.tag-link a { color: inherit; text-decoration: none; }
.tags li.tag-link a::after { content: " →"; color: var(--gold); }
.tags li.tag-link:hover { border-color: var(--gold); }

/* ---------- 핸즈온 수업 탭 (파닉스 철학 · 소리영어 · 고학년 메타수능) ---------- */
.programs { margin-top: 32px; scroll-margin-top: calc(var(--header-h) + 12px); }
.programs-tabs { display: none; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.programs.is-ready .programs-tabs { display: flex; }
.programs-tabs button {
  flex: 1; min-width: 0; padding: 10px 8px; border: 0; border-radius: 999px; background: none;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.programs-tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
.programs.is-ready .program-panel:not(.is-active) { display: none; }
.programs.is-ready .program-panel { margin-top: 14px; }
.program-panel { scroll-margin-top: calc(var(--header-h) + 12px); }
.meta-panel { margin-top: 28px; padding: 24px 14px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.panel-head { margin-bottom: 8px; }
.panel-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; font-weight: 700; color: var(--gold); }
.panel-label i { font-family: var(--display); font-weight: 600; font-size: 20px; }
.panel-head h3 { margin: 8px 0 8px; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.45; color: var(--accent); }
.panel-head p { margin: 0; font-size: 14.5px; color: var(--muted); }
.meta-panel .meta-why-text, .meta-panel .meta-road li, .meta-panel .meta-card { background: var(--tint); border-color: transparent; }
@media (max-width: 400px) { .programs-tabs button { font-size: 13px; padding: 10px 4px; } }
@media (min-width: 768px) { .meta-panel { padding: 44px 40px; } }
@media (max-width: 767px) { .meta-panel .meta-why-text, .meta-panel .meta-card { padding: 18px 16px; } .meta-panel .meta-box { padding: 24px 16px; } }

/* ---------- 입학 안내 안의 렉사일 블록 ---------- */
.lexile-block { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.block-h { margin: 6px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.4; color: var(--accent); }
.lexile-more { margin-top: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.lexile-more > summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 15px; color: var(--accent); }
.lexile-more > summary::-webkit-details-marker { display: none; }
.lexile-more > summary::after { content: "+"; float: right; font-weight: 400; color: var(--gold); }
.lexile-more[open] > summary::after { content: "–"; }
.lexile-more[open] > summary { border-bottom: 1px solid var(--line); }
.lexile-more > :not(summary) { margin-left: 16px; margin-right: 16px; }
.lexile-more > :last-child { margin-bottom: 20px; }

/* ---------- 더 알아보기 탭 ---------- */
#more .programs { margin-top: 18px; }
.more-panel .block-h { margin-top: 0; }
.more-panel .section-label { margin-top: 8px; }
.more-panel .teachers { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 400px) { #more .programs-tabs { overflow-x: auto; } #more .programs-tabs button { flex: 0 0 auto; padding: 10px 12px; } }

/* 렉사일 응시 대상 안내 (2년 이상 / 그 전은 원장 인터뷰) */
.lexile-who { margin: 0 0 20px; padding: 12px 16px; border-left: 2px solid var(--gold); background: var(--bg); color: var(--text); font-size: 14.5px; line-height: 1.6; }
.lexile-who b { color: var(--accent); margin-right: 8px; }

/* ── 로드맵 화살표 띠: 한 줄로 이어진 6단계 (다음 단계가 화살표 방향으로 보이게) ── */
.rm-flow { list-style: none; padding: 0; margin: 0 0 24px; display: flex; }
.rm-flow li { flex: 1 1 0; min-width: 0; }
.rm-flow li + li { margin-left: -7px; }          /* 앞 화살표 끝이 다음 칸의 홈에 들어가게 */
.rm-flow a {
  --tip: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  height: 58px; padding: 0 calc(var(--tip) + 2px) 0 calc(var(--tip) + 4px);
  background: var(--solid); color: #fff; text-decoration: none; text-align: center;
  clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%, var(--tip) 50%);
  transition: filter .15s, transform .15s;
}
.rm-flow li:first-child a { padding-left: 8px; clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); border-radius: 10px 0 0 10px; }
.rm-flow a:hover { filter: brightness(1.08); transform: translateY(-2px); }
.rm-flow b { font-family: var(--serif); font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.rm-flow b span { display: none; }               /* 휴대폰: 이름 앞부분만 (Little, Big …) */
.rm-flow small { font-size: 10.5px; font-weight: 600; opacity: .92; white-space: nowrap; letter-spacing: -0.02em; }
.rm-flow .lv-super a { color: #3d2a00; }          /* 노랑 위 흰 글씨는 잘 안 보여서 진한 색 */
@media (max-width: 767px) {
  .rm-flow a { padding: 0 6px 0 12px; }
  .rm-flow b { font-size: 12px; letter-spacing: -0.02em; }
  .rm-flow small { font-size: 10px; }
}

@media (min-width: 768px) {
  .rm-flow { margin-bottom: 32px; }
  .rm-flow li + li { margin-left: -10px; }
  .rm-flow a { --tip: 16px; height: 72px; }
  .rm-flow b { font-size: 16px; }
  .rm-flow small { font-size: 12.5px; }
}
@media (min-width: 1024px) {
  .rm-flow b span { display: inline; }           /* 넓은 화면: Little Hands 처럼 전체 이름 */
}

/* 메타수능 탭: 단어 암기 · 구문 분석의 한계, 같은 문장 다른 읽기, 뿌리 먼저 · 스킬은 준비된 때 (고학년 간담회 내용) */
.meta-grid-3 .meta-card h3 { font-size: 17px; }
.meta-compare { margin-top: 14px; padding: 22px 18px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.meta-compare-label { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.meta-compare-en { margin: 6px 0 16px; font-family: var(--display); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--accent); }
.meta-compare-en u { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.meta-compare-cols { display: grid; gap: 12px; }
.meta-compare-cols > div { padding: 16px; border-radius: 12px; background: var(--tint); font-size: 14px; color: var(--muted); }
.meta-compare-cols b { display: block; margin-bottom: 8px; font-size: 14.5px; color: var(--text); }
.meta-compare-cols ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.meta-compare-cols p { margin: 0 0 6px; }
.meta-compare-cols .is-hands { background: var(--navy); color: rgba(244, 239, 230, .8); }
.meta-compare-cols .is-hands b { color: #d6b98a; }
.meta-compare-cols .is-hands p:first-of-type { font-family: var(--serif); font-size: 17px; color: #fff; }
.meta-compare-cols em { font-style: normal; font-weight: 700; color: #fff; }
.meta-lead { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.meta-lead b { color: var(--text); }
.meta-quote { margin: 18px 0 0; text-align: center; font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--accent); }
.meta-quote::before, .meta-quote::after { content: "—"; margin: 0 10px; color: var(--gold); }
@media (min-width: 768px) {
  .meta-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .meta-compare { padding: 28px 30px; }
  .meta-compare-cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) { .social { grid-template-columns: repeat(3, auto); } }   /* 공식 채널 3개를 한 줄로 */

/* FAQ 안의 짧은 목록 (학습 상황 안내: 알림장 · 전화 상담 · 렉사일 결과 상담) */
.faq-list { list-style: none; margin: 0; padding: 0 20px 12px 44px; display: grid; gap: 8px; }
.faq-list li { padding: 10px 14px; border-radius: 10px; background: var(--tint); font-size: 14.5px; color: var(--muted); }
.faq-list b { display: block; font-size: 14.5px; color: var(--accent); }
