@charset "utf-8";
/* =========================================================
   스티나영어학원 (STINA+ ENGLISH) 공식 홈페이지 공통 스타일
   5개 페이지(index / about / curriculum / app / contact) 공용
   ========================================================= */

:root {
  --bg: #faf9f6;
  --bg-alt: #f3f1ea;
  --surface: #ffffff;
  --ink: #16202c;
  --ink-soft: #33404e;
  --muted: #5c6674;
  --line: #e4e0d6;
  --line-strong: #d5cfc1;
  --accent: #164e3f;
  --accent-dark: #0e3a2d;
  --accent-soft: #eaf3ef;
  --gold: #a97822;
  --gold-soft: #fbf4e6;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 28px rgba(22, 32, 44, 0.06);
  --shadow-hover: 0 16px 38px rgba(22, 32, 44, 0.11);
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- Top utility bar ---------------- */
.topbar {
  background: var(--accent-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.81rem;
  letter-spacing: -0.01em;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px 18px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap;
}
.topbar strong { color: #f3d79a; font-weight: 700; }
.topbar .topbar-tel { white-space: nowrap; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Header / Navigation ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 18px; min-height: 70px; padding-top: 8px; padding-bottom: 8px;
}
.brand { display: flex; align-items: baseline; gap: 9px; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 0.95rem; letter-spacing: -0.02em;
  transform: translateY(4px);
}
.brand-main {
  font-weight: 800; font-size: 1.16rem; letter-spacing: -0.035em; color: var(--accent);
}
.brand-sub {
  font-weight: 600; font-size: 0.72rem; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-menu {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
  font-size: 0.94rem; font-weight: 600; color: var(--ink-soft);
}
.nav-menu a {
  position: relative; padding: 9px 12px; border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--accent); background: var(--accent-soft); }
.nav-menu a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.nav-menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 2px; background: var(--gold);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 10px;
  background: var(--accent); color: #fff !important;
  padding: 10px 17px !important; border-radius: 999px;
  font-weight: 700; font-size: 0.89rem; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(22, 78, 63, 0.2);
}
.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; justify-content: space-between; padding-top: 10px; padding-bottom: 6px; }
  .brand { order: 1; }
  .nav-cta { order: 2; }
  .nav-menu {
    order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 2px;
    padding-bottom: 4px; scrollbar-width: none; font-size: 0.9rem;
    /* 오른쪽 끝이 잘려도 스크롤 가능함을 알 수 있게 여백 */
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu::-webkit-scrollbar { display: none; }
  .brand-sub { display: none; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px;
  font-weight: 700; font-size: 0.97rem; letter-spacing: -0.01em;
  transition: transform 0.12s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  border: 1px solid transparent; text-align: center;
}
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(22, 78, 63, 0.22); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-gold { background: #f7e7c3; color: #6b4a10; border-color: #ecd6a7; }
.btn-gold:hover { background: #f2dcae; }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; border-radius: 10px; }

/* ---------------- Page hero (sub pages) ---------------- */
.page-hero {
  background: linear-gradient(180deg, #f0f5f1 0%, #faf9f6 100%);
  border-bottom: 1px solid var(--line);
  padding: 46px 0 42px;
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: clamp(1.72rem, 3.4vw, 2.35rem);
  font-weight: 700; line-height: 1.32; letter-spacing: -0.035em; margin-bottom: 14px;
}
.page-hero p.lead { color: var(--muted); font-size: 1.02rem; max-width: 720px; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 7px; opacity: 0.5; }

/* ---------------- Home hero ---------------- */
.hero { padding: 50px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.hero h1 {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: clamp(1.72rem, 3.9vw, 2.72rem);
  font-weight: 700; line-height: 1.34; letter-spacing: -0.04em; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--accent); box-shadow: inset 0 -0.34em 0 #f6e3b6; }
.hero .lead { font-size: 1.04rem; color: var(--muted); margin-bottom: 4px; }
.hero .lead strong { color: var(--ink); font-weight: 800; }
.hero .lead strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-note { margin-top: 16px; font-size: 0.86rem; color: var(--muted); }

.hero-media { position: relative; }
.hero-photo {
  width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center 45%;
  border-radius: 24px; border: 5px solid #fff;
  box-shadow: 0 22px 48px rgba(22, 32, 44, 0.16);
}
.hero-float {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; font-size: 0.85rem; color: var(--muted); box-shadow: var(--shadow);
}
.hero-float strong { display: block; color: var(--accent); font-size: 0.92rem; margin-bottom: 2px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 36px 0 32px; }
  .hero-photo { aspect-ratio: 4 / 3.1; }
}

/* ---------------- Badges & labels ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 0.82rem; letter-spacing: -0.01em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
  border: 1px solid #d9e8e1;
}
.eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 8px;
}

/* ---------------- Stats strip ---------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
}
.stat-card strong {
  display: block; font-size: 1.18rem; font-weight: 800; color: var(--accent);
  letter-spacing: -0.03em; margin-bottom: 5px;
}
.stat-card span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; gap: 10px; } }

/* ---------------- Sections ---------------- */
.section { padding: 62px 0; border-top: 1px solid var(--line); }
.section.tight { padding: 46px 0; }
.section.alt { background: var(--bg-alt); }
.section.plain-top { border-top: none; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: clamp(1.38rem, 2.7vw, 1.78rem);
  font-weight: 700; line-height: 1.4; letter-spacing: -0.035em; margin-bottom: 12px;
}
.section-desc { color: var(--muted); font-size: 0.98rem; }
.section-desc strong { color: var(--ink-soft); }

/* ---------------- Grids & cards ---------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
}
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--muted); }
.card .card-foot { margin-top: 16px; font-size: 0.86rem; font-weight: 700; color: var(--accent); }
.card-link { display: block; transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #cfdcd5; }
.card-link:hover .card-foot { text-decoration: underline; text-underline-offset: 4px; }

.pill-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 0.9rem; margin-bottom: 14px;
}
.tag {
  display: inline-block; font-size: 0.76rem; font-weight: 700;
  padding: 3px 9px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent); letter-spacing: -0.01em;
}
.tag.gold { background: var(--gold-soft); color: var(--gold); }
.tag.gray { background: #eef0f2; color: #58606b; }

/* ---------------- Home: 3 strengths ---------------- */
.strength-card { display: flex; flex-direction: column; }
.strength-card .mini-list { margin-top: 14px; font-size: 0.88rem; color: var(--muted); display: grid; gap: 6px; }
.strength-card .mini-list li { position: relative; padding-left: 15px; }
.strength-card .mini-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

/* ---------------- Home: winter banner ---------------- */
.banner {
  background: linear-gradient(135deg, #123d32 0%, #1b5c49 60%, #246a54 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 38px 36px;
  box-shadow: 0 20px 44px rgba(18, 61, 50, 0.22);
}
.banner .eyebrow { color: #f3d79a; }
.banner h2 {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: clamp(1.35rem, 2.6vw, 1.72rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.42; margin-bottom: 12px;
}
.banner p { color: rgba(255, 255, 255, 0.82); font-size: 0.96rem; max-width: 760px; }
.banner-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 26px; }
@media (max-width: 820px) { .banner-list { grid-template-columns: 1fr; } .banner { padding: 30px 22px; } }
.banner-item {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px; padding: 16px 18px;
}
.banner-item .bi-label { font-size: 0.76rem; font-weight: 800; color: #f3d79a; letter-spacing: 0.06em; }
.banner-item strong { display: block; font-size: 1rem; margin: 6px 0 4px; letter-spacing: -0.02em; }
.banner-item span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); }
.banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- Home: page shortcuts ---------------- */
.shortcut { position: relative; overflow: hidden; }
.shortcut .arrow { font-size: 1.15rem; color: var(--accent); margin-top: 14px; display: block; }

/* ---------------- Callout ---------------- */
.callout {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: 12px;
  padding: 16px 20px; font-size: 0.93rem; color: var(--ink-soft);
}
.callout strong { color: var(--ink); }
.note {
  font-size: 0.86rem; color: var(--muted);
  background: var(--bg-alt); border-radius: 10px; padding: 12px 16px; margin-top: 14px;
}

/* ---------------- About: message ---------------- */
.message-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 38px; box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.message-card p { font-size: 0.99rem; color: var(--ink-soft); margin-bottom: 14px; }
.message-card p:last-of-type { margin-bottom: 0; }
.message-card .sign {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 0.9rem; font-weight: 700; color: var(--accent);
}
.message-quote {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: 1.16rem !important; line-height: 1.62; color: var(--ink) !important;
  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 20px !important;
}
@media (max-width: 720px) { .message-card { padding: 26px 22px; } }

/* ---------------- About: director profile ---------------- */
.profile-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.profile-id {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 28px;
  background: linear-gradient(135deg, #123d32 0%, #1b5c49 60%, #246a54 100%);
  color: #fff;
}
.profile-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.26);
  font-weight: 800; font-size: 0.95rem; letter-spacing: -0.02em;
}
.profile-id strong { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; }
.profile-id span { display: block; font-size: 0.84rem; color: rgba(255, 255, 255, 0.78); }
.profile-list { display: grid; }
.profile-list li {
  display: grid; grid-template-columns: 116px 1fr; gap: 8px 18px; align-items: baseline;
  padding: 16px 28px; border-top: 1px solid var(--line);
}
.profile-list li:first-child { border-top: none; }
.profile-label {
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--gold);
}
.profile-list strong {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: 1.02rem; font-weight: 700; line-height: 1.55; letter-spacing: -0.03em; color: var(--ink);
}
.profile-note {
  padding: 14px 28px 18px; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--muted); background: #fcfbf8;
}
@media (max-width: 640px) {
  .profile-id { padding: 18px 20px; }
  .profile-list li { grid-template-columns: 1fr; gap: 2px; padding: 14px 20px; }
  .profile-note { padding: 12px 20px 16px; }
}

/* ---------------- Home: hero credential panel ---------------- */
.hero-cred {
  margin-top: 20px; padding: 15px 18px 14px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 14px; box-shadow: 0 6px 18px rgba(22, 32, 44, 0.05);
  max-width: 520px;
}
.hero-cred .hc-label {
  display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 8px;
}
.hero-cred ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.hero-cred li {
  position: relative; padding-left: 13px;
  font-size: 0.83rem; font-weight: 600; color: var(--ink-soft); line-height: 1.6;
}
.hero-cred li::before {
  content: ""; position: absolute; left: 0; top: 0.66em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.hero-cred li.wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .hero-cred ul { grid-template-columns: 1fr; } }

/* ---------------- Home: strength card credential line ---------------- */
.card .card-cred {
  margin-top: 12px; padding: 10px 13px; border-radius: 10px;
  background: var(--accent-soft); border-left: 3px solid var(--gold);
  font-size: 0.82rem; font-weight: 700; color: var(--accent-dark); line-height: 1.62;
}

/* ---------------- Gallery ---------------- */
.gallery-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-cap { padding: 13px 17px; font-size: 0.89rem; font-weight: 600; color: var(--muted); }
.gallery-cap strong { color: var(--ink-soft); display: block; font-weight: 700; }

/* ---------------- Reviews ---------------- */
.review-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.review-tag { font-size: 0.86rem; font-weight: 800; color: var(--gold); letter-spacing: -0.02em; }
.review-text { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.72; flex: 1; }
.review-who {
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
  border-top: 1px solid var(--line); padding-top: 11px;
}

/* ---------------- Filter tabs (curriculum) ---------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px;
  padding: 6px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  width: fit-content; max-width: 100%; box-shadow: var(--shadow);
}
.filter-btn {
  padding: 10px 18px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 700; color: var(--muted);
  transition: background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}
.filter-btn:hover { background: var(--accent-soft); color: var(--accent); }
.filter-btn[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: 0 6px 14px rgba(22, 78, 63, 0.2); }
@media (max-width: 620px) {
  .filter-bar { border-radius: 16px; width: 100%; gap: 6px; }
  .filter-btn { padding: 9px 13px; font-size: 0.84rem; }
}

.class-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.class-card.is-hidden { display: none; }
.class-card.winter { border-color: #e7d6b0; background: linear-gradient(180deg, #fffdf7 0%, #ffffff 60%); }
.class-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.class-card h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; }
.class-card .class-meta { display: grid; gap: 7px; font-size: 0.9rem; color: var(--muted); }
.class-card .class-meta div { display: flex; gap: 9px; }
.class-card .class-meta .k {
  min-width: 62px; font-weight: 700; color: var(--ink-soft); font-size: 0.85rem; flex-shrink: 0;
}
.class-card .class-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.66; }
.class-card .class-price {
  margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-strong);
  font-size: 0.9rem; font-weight: 700; color: var(--accent);
}
.class-card .class-price small { display: block; font-weight: 500; color: var(--muted); font-size: 0.82rem; margin-top: 3px; }
.filter-empty {
  display: none; padding: 30px; text-align: center; color: var(--muted);
  background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius);
}

/* ---------------- Timetable table ---------------- */
.table-wrap {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 0.92rem; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 800; font-size: 0.85rem; letter-spacing: -0.01em; white-space: nowrap;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: #fbfaf7; }
td .row-sub, th .row-sub { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.time-pill {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  white-space: nowrap;
}
.table-scroll-hint { display: none; font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 720px) { .table-scroll-hint { display: block; } }

/* ---------------- App page: interactive showcase ---------------- */
.showcase { display: grid; grid-template-columns: 1fr 1.05fr; gap: 34px; align-items: center; }
@media (max-width: 880px) { .showcase { grid-template-columns: 1fr; gap: 24px; } }

.showcase-shot {
  background: linear-gradient(150deg, #eef3f0 0%, #e3ebe7 100%);
  border: 1px solid var(--line); border-radius: 26px;
  padding: 22px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.showcase-shot img {
  width: 100%; max-width: 320px; border-radius: 18px;
  border: 6px solid #fff;
  box-shadow: 0 16px 32px rgba(22, 32, 44, 0.16);
}
.showcase-panel .panel-kicker {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 8px; display: block;
}
.showcase-panel h2 {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 12px; line-height: 1.42;
}
.showcase-panel p { color: var(--muted); font-size: 0.96rem; margin-bottom: 16px; }
.panel-points { display: grid; gap: 9px; margin-bottom: 22px; }
.panel-points li {
  position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--ink-soft);
}
.panel-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800; font-size: 0.9rem;
}

.tab-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tab-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 12px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 0.9rem; font-weight: 700; color: var(--ink-soft);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  text-align: left; min-width: 150px; flex: 1 1 150px;
}
.tab-btn small { font-size: 0.76rem; font-weight: 500; color: var(--muted); }
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn[aria-selected="true"] {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 8px 20px rgba(22, 78, 63, 0.2);
}
.tab-btn[aria-selected="true"] small { color: rgba(255, 255, 255, 0.78); }

/* ---------------- App page: report ---------------- */
.report-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.report-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.02em; }
.report-card .rc-sub { font-size: 0.82rem; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.report-card ul { display: grid; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.report-card ul li { position: relative; padding-left: 16px; }
.report-card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7;
}

/* ---------------- App: 1+1+1 flow ---------------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: stretch; }
@media (max-width: 820px) { .flow { grid-template-columns: 1fr; } }
.flow-step {
  background: var(--surface); border: 1px solid var(--line); padding: 24px;
  position: relative;
}
.flow-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.flow-step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.flow-step + .flow-step { border-left: none; }
.flow-step .fs-num {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 8px; display: block;
}
.flow-step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.flow-step p { font-size: 0.89rem; color: var(--muted); }
@media (max-width: 820px) {
  .flow-step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .flow-step:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .flow-step + .flow-step { border-left: 1px solid var(--line); border-top: none; }
}

/* ---------------- Contact: steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); position: relative;
}
.step-card .sc-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 14px;
}
.step-card h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: 7px; letter-spacing: -0.02em; }
.step-card p { font-size: 0.91rem; color: var(--muted); }
.step-card .sc-time { margin-top: 12px; font-size: 0.82rem; font-weight: 700; color: var(--gold); }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 11px; }
details.faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; box-shadow: var(--shadow);
  transition: border-color 0.16s ease;
}
details.faq[open] { border-color: #c9dad2; }
details.faq summary {
  font-weight: 700; font-size: 0.98rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  line-height: 1.55; letter-spacing: -0.02em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-size: 1.28rem; line-height: 1; color: var(--accent);
  font-weight: 500; flex-shrink: 0; margin-top: 2px;
}
details.faq[open] summary::after { content: "−"; }
details.faq p { margin-top: 12px; font-size: 0.93rem; color: var(--muted); line-height: 1.72; }
details.faq p strong { color: var(--ink-soft); }

/* ---------------- Contact: info ---------------- */
.info-list { display: grid; gap: 14px; font-size: 0.94rem; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .label {
  min-width: 74px; font-weight: 700; color: var(--ink-soft);
  font-size: 0.86rem; padding-top: 1px; flex-shrink: 0;
}
.info-list .val { color: var(--muted); }
.info-list .val a { color: var(--accent); font-weight: 700; }
.info-list .val a:hover { text-decoration: underline; text-underline-offset: 3px; }
.channel-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.chip-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 15px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--bg); font-size: 0.88rem; font-weight: 600; color: var(--ink-soft);
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.chip-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 36px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: center;
}
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 30px 24px; } }
.cta-band h2 {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.62rem); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.44; margin-bottom: 10px;
}
.cta-band p { color: var(--muted); font-size: 0.95rem; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 10px; }
.cta-band .cta-actions .btn { width: 100%; }

/* ---------------- Footer ---------------- */
.site-footer { background: #131b25; color: rgba(255, 255, 255, 0.66); padding: 48px 0 34px; font-size: 0.86rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-brand .fb-name { color: #fff; font-weight: 800; font-size: 1.04rem; letter-spacing: -0.02em; }
.footer-brand .fb-sub { display: block; font-size: 0.72rem; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.45); margin: 3px 0 12px; }
.footer-brand p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 0.86rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-col li { color: rgba(255, 255, 255, 0.62); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11); padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px;
  font-size: 0.79rem; color: rgba(255, 255, 255, 0.45);
}
.footer-bottom .fb-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.8); }

/* ---------------- Curriculum: 자체 제작 교재 ---------------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 20px; }
.book-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.book-head {
  padding: 18px 20px 15px;
  background: linear-gradient(135deg, #123d32 0%, #1b5c49 60%, #246a54 100%);
  color: #fff;
}
.book-head .bh-stage {
  display: block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.12em; color: #f3d79a;
}
.book-head h3 { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.03em; margin-top: 3px; }
.book-head .bh-meta { display: block; font-size: 0.79rem; color: rgba(255, 255, 255, 0.78); margin-top: 7px; line-height: 1.55; }
.book-shot { display: block; background: #fbfaf7; border-bottom: 1px solid var(--line); }
.book-shot img { width: 100%; height: auto; }
.book-list { padding: 16px 20px 18px; display: grid; gap: 11px; }
.book-list .bk-name {
  display: block; font-size: 0.94rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em;
}
.book-list .bk-desc { display: block; font-size: 0.83rem; color: var(--muted); line-height: 1.6; margin-top: 1px; }
.book-list .bk-flag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 2px 7px; border-radius: 5px;
  background: var(--gold-soft); color: var(--gold); margin-left: 5px; vertical-align: 2px;
}
.book-foot {
  margin-top: auto; padding: 11px 20px; border-top: 1px dashed var(--line-strong);
  background: #fcfbf8; font-size: 0.78rem; color: var(--muted);
}
.shot-hint { font-size: 0.79rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------------- Curriculum: 겨울 특강 상세 블록 ---------------- */
.special-block { margin-top: 48px; }
.special-title { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.special-title .pill-num { flex-shrink: 0; width: 36px; height: 36px; font-size: 0.95rem; margin-bottom: 0; }
.special-title h3 {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: clamp(1.12rem, 2.2vw, 1.34rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.45; margin-bottom: 6px;
}
.special-title p { font-size: 0.92rem; color: var(--muted); max-width: 800px; }
.special-title .st-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700; padding: 2px 8px; border-radius: 5px;
  background: var(--gold-soft); color: var(--gold); margin-left: 6px; vertical-align: 3px;
}

.special-grid { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 22px; align-items: center; }
.special-shot {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.special-shot img { width: 100%; height: auto; }
.special-detail {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.special-detail h4 {
  font-size: 0.98rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--ink);
}
.special-detail + .special-detail { margin-top: 0; }

/* 테이블: 좁은 카드 안에서도 3열이 들어가도록 압축 */
table.compact { min-width: 0; font-size: 0.87rem; }
table.compact th, table.compact td { padding: 11px 12px; }
table.compact thead th { font-size: 0.79rem; }
table.compact .row-sub { font-size: 0.78rem; }
table.compact .time-pill { font-size: 0.78rem; padding: 3px 8px; }

.fee-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 14px; }
.fee-box {
  background: var(--accent); color: #fff; border-radius: 12px; padding: 14px 16px;
}
.fee-box span { display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.82); }
.fee-box strong { display: block; font-size: 1.24rem; font-weight: 800; letter-spacing: -0.03em; margin-top: 2px; }
.fee-box.soft { background: var(--accent-soft); color: var(--accent-dark); }
.fee-box.soft span { color: var(--muted); }
@media (max-width: 480px) { .fee-row { grid-template-columns: 1fr; } }

.point-list { display: grid; gap: 8px; font-size: 0.87rem; color: var(--muted); }
.point-list li { position: relative; padding-left: 16px; }
.point-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.point-list strong { color: var(--ink-soft); }

@media (max-width: 860px) {
  .special-grid { grid-template-columns: 1fr; gap: 16px; }
  .special-block { margin-top: 38px; }
}
@media (min-width: 861px) {
  .special-grid.flip .special-shot { order: 2; }
}

/* 문법 특강: 대상별 3개 과정 카드 */
.grammar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(264px, 1fr)); gap: 20px; }
.grammar-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.gc-head { padding: 16px 20px 14px; border-bottom: 1px solid var(--line); background: #fcfbf8; }
.gc-head .gc-track { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; }
.gc-head h4 { font-size: 1.03rem; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 5px; color: var(--ink); line-height: 1.4; }
.gc-head .gc-target { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.gc-head.t-e { border-top: 4px solid #c06a1c; }
.gc-head.t-e .gc-track { color: #b0611a; }
.gc-head.t-m { border-top: 4px solid #6b46c1; }
.gc-head.t-m .gc-track { color: #5f3cb0; }
.gc-head.t-h { border-top: 4px solid #1f3a6e; }
.gc-head.t-h .gc-track { color: #1c3462; }
.grammar-card .shot-link { display: block; background: #fbfaf7; border-bottom: 1px solid var(--line); }
.grammar-card .shot-link img { width: 100%; height: auto; }
.gc-list { padding: 16px 20px 8px; display: grid; gap: 7px; font-size: 0.85rem; color: var(--muted); }
.gc-list li { position: relative; padding-left: 15px; line-height: 1.55; }
.gc-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong);
}
.gc-how {
  margin: 6px 20px 20px; padding: 10px 13px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 0.81rem; font-weight: 700; line-height: 1.55;
}

/* ---------------- Contact: private 1:1 inquiry form ---------------- */
.inquiry-card {
  max-width: 780px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 28px 30px; box-shadow: var(--shadow);
}
.inquiry-privacy {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid #d5e7df;
  border-radius: 12px; padding: 13px 16px; margin-bottom: 22px;
}
.inquiry-privacy .ip-mark { font-size: 0.95rem; line-height: 1.5; }
.inquiry-privacy p { font-size: 0.88rem; font-weight: 600; color: var(--accent-dark); line-height: 1.6; margin: 0; }
.inquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry-form .field { margin-bottom: 16px; }
.inquiry-form label {
  display: block; font-size: 0.89rem; font-weight: 700; color: var(--ink-soft);
  margin-bottom: 7px; letter-spacing: -0.01em;
}
.inquiry-form .req, .inquiry-form .opt {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0;
  padding: 1px 7px; border-radius: 999px; margin-left: 5px; vertical-align: 1px;
}
.inquiry-form .req { background: #fbeceb; color: #b1382f; }
.inquiry-form .opt { background: #eef0f2; color: #6b7480; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink);
  background: #fcfbf8; border: 1px solid var(--line-strong); border-radius: 11px;
  padding: 12px 14px; appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #9aa1a9; }
.inquiry-form input:focus, .inquiry-form textarea:focus {
  outline: none; background: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 78, 63, 0.1);
}
.inquiry-form textarea { resize: vertical; min-height: 132px; line-height: 1.65; }
.inquiry-form .form-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin-top: 4px; padding-top: 4px;
}
.inquiry-form .form-note { font-size: 0.84rem; color: var(--muted); }
.inquiry-form .btn[disabled] { opacity: 0.62; cursor: progress; }
.form-status { margin-top: 14px; font-size: 0.9rem; font-weight: 700; line-height: 1.6; }
.form-status:empty { display: none; }
.form-status.sending { color: var(--muted); }
.form-status.error { color: #b1382f; }
.inquiry-success {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid #cfe3da;
  border-radius: var(--radius); padding: 22px 22px;
}
.inquiry-success[hidden], .inquiry-form[hidden] { display: none; }
.inquiry-success .is-mark {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 1rem; font-weight: 800;
}
.inquiry-success strong { display: block; font-size: 1rem; color: var(--accent-dark); letter-spacing: -0.02em; margin-bottom: 5px; }
.inquiry-success p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.inquiry-success p a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .inquiry-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .inquiry-card { padding: 22px 18px 24px; }
}

/* =========================================================
   Home v3 (2026-12) · 시선집중 하이라이트 개편
   ========================================================= */

/* ---- Hero: 원장 약력 강조 배지 ---- */
.cred-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 486px; }
.cred {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-dark); color: #fff;
  font-size: 0.82rem; font-weight: 700; letter-spacing: -0.015em;
  padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 5px 14px rgba(18, 51, 37, 0.16);
}
.cred .dot { width: 5px; height: 5px; border-radius: 50%; background: #e7c877; flex: none; }
.cred.is-gold {
  background: linear-gradient(135deg, #f9ebca 0%, #f1d9a4 100%);
  color: #6b4a10; border: 1px solid #e8d2a1; box-shadow: none;
}
.cred.is-gold .dot { background: #a97822; }

/* ---- Hero: 개강 리본 ---- */
.hero-ribbon {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: linear-gradient(135deg, #f7dfa8 0%, #d4a84f 100%);
  color: #4a3208; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.01em;
  padding: 8px 15px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* ---- Impact band (딥그린 × 골드) ---- */
.impact {
  position: relative; overflow: hidden;
  background: radial-gradient(115% 135% at 12% 0%, #1d5040 0%, #123325 46%, #0a2317 100%);
  color: #fff; padding: 56px 0 44px;
  box-shadow: inset 0 1px 0 rgba(212, 168, 79, 0.4);
}
.impact::before {
  content: ""; position: absolute; right: -150px; top: -160px;
  width: 460px; height: 460px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(212, 168, 79, 0.26) 0%, rgba(212, 168, 79, 0) 68%);
}
.impact::after {
  content: ""; position: absolute; left: -120px; bottom: -180px;
  width: 380px; height: 380px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(36, 106, 84, 0.55) 0%, rgba(36, 106, 84, 0) 70%);
}
.impact .container { position: relative; z-index: 1; }
.impact-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; margin-bottom: 26px; }
.impact-head .eyebrow { color: #e2bd6c; letter-spacing: 0.16em; margin-bottom: 6px; }
.impact-head h2 {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: clamp(1.42rem, 3vw, 2rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.34;
}
.impact-head h2 em { font-style: normal; color: #f0c96a; }
.impact-head p { color: rgba(255, 255, 255, 0.7); font-size: 0.93rem; padding-bottom: 4px; }

.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.impact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 168, 79, 0.26);
  border-top: 3px solid #d4a84f;
  border-radius: 16px; padding: 22px 20px 20px;
  display: flex; flex-direction: column;
}
.impact-card .ic-num {
  display: block; font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-weight: 700; color: #f5d489; letter-spacing: -0.045em; line-height: 1.14;
}
.impact-card .ic-num.lg { font-size: clamp(1.85rem, 3.1vw, 2.42rem); }
.impact-card .ic-num.md { font-size: clamp(1.4rem, 2.4vw, 1.82rem); }
.impact-card .ic-num.sm { font-size: clamp(1.14rem, 1.85vw, 1.4rem); }
.impact-card .ic-label {
  display: block; margin-top: 10px;
  font-size: 0.92rem; font-weight: 800; color: #fff; letter-spacing: -0.025em; line-height: 1.45;
}
.impact-card .ic-desc {
  display: block; margin-top: 5px;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.68); line-height: 1.55;
}

.impact-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-top: 22px; padding-top: 16px;
  border-top: 1px dashed rgba(212, 168, 79, 0.34);
  font-size: 0.84rem; color: rgba(255, 255, 255, 0.78);
}
.impact-foot span {
  padding: 5px 12px; border-radius: 999px;
  background: rgba(212, 168, 79, 0.12); border: 1px solid rgba(212, 168, 79, 0.24);
  font-weight: 600;
}
.impact-foot a {
  margin-left: auto; font-weight: 800; color: #f0c96a; white-space: nowrap;
}
.impact-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .impact { padding: 44px 0 36px; }
  .impact-grid { grid-template-columns: 1fr; gap: 10px; }
  .impact-card { padding: 18px 18px 16px; }
  .impact-head { margin-bottom: 20px; }
  .impact-foot a { margin-left: 0; }
}

/* ---- Showcase (교재 · 특강 · 앱) ---- */
.section-title em { font-style: normal; color: var(--accent); box-shadow: inset 0 -0.32em 0 #f6e3b6; }
.showcase-band { border-top: none; padding-top: 56px; }
.show-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .show-grid { grid-template-columns: 1fr; gap: 14px; } }
.show-tile {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.show-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #cfdcd5; }
.show-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eef3f0; }
.show-media.is-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.show-media.is-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 88%);
}
.show-label {
  position: absolute; left: 13px; top: 13px; z-index: 2;
  background: rgba(18, 51, 37, 0.94); color: #f0c96a;
  font-size: 0.71rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 6px;
}
.show-media.is-app {
  background: radial-gradient(120% 120% at 20% 0%, #1d5040 0%, #123325 55%, #0a2317 100%);
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.show-media.is-app img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: 10px; border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}
.show-body { padding: 17px 20px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.show-body h3 { font-size: 1.03rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.show-body p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.show-link { margin-top: auto; padding-top: 11px; font-size: 0.84rem; font-weight: 800; color: var(--accent); }
.show-tile:hover .show-link { text-decoration: underline; text-underline-offset: 4px; }

/* ---- Strength cards: 단계 칩 ---- */
.strength-card { border-top: 4px solid var(--accent); }
.strength-card .pill-num {
  width: 36px; height: 36px; border-radius: 11px; margin-bottom: 12px;
  background: linear-gradient(135deg, #f7dfa8 0%, #d4a84f 100%);
  color: #4a3208; font-weight: 800; font-size: 0.98rem;
}
.strength-card h3 { font-size: 1.14rem; font-weight: 800; line-height: 1.42; }
.strength-card > p { font-size: 0.91rem; line-height: 1.62; }
.step-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.step-chips span {
  font-size: 0.79rem; font-weight: 700; color: var(--accent-dark); letter-spacing: -0.02em;
  background: var(--accent-soft); border: 1px solid #d9e8e1;
  padding: 5px 10px; border-radius: 999px;
}
.step-chips i { font-style: normal; font-size: 0.78rem; font-weight: 800; color: var(--gold); }
.strength-card .card-foot { margin-top: auto; padding-top: 16px; }

@media (max-width: 520px) {
  .cred { font-size: 0.78rem; padding: 7px 12px; }
  .hero-ribbon { font-size: 0.74rem; padding: 7px 12px; top: 10px; right: 10px; }
}

/* ---------------- About: result cards ---------------- */
.result-card {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 18px 22px 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.result-card .tag { align-self: flex-start; }
.result-card .rc-big {
  display: block; margin-top: 12px;
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-size: clamp(1.32rem, 2.3vw, 1.58rem); font-weight: 700;
  color: var(--accent); letter-spacing: -0.045em; line-height: 1.28;
}
.result-card .rc-sub {
  display: block; margin-top: 3px;
  font-size: 0.84rem; font-weight: 800; color: var(--ink-soft); letter-spacing: -0.02em;
}
.result-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; margin-top: 6px; }

/* ---------------- Print ---------------- */
@media print {
  .topbar, .site-header, .cta-band, .site-footer, .hero-actions, .banner-actions { display: none; }
  body { background: #fff; }
}
