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

:root {
  /* Brand */
  --blue: #164EB6;
  --blue-light: #e8f0fe;
  --blue-hover: #0d3a8a;
  --dark: #272A34;
  --dark-soft: #363942;

  /* Palette — warm neutrals to differentiate from MT */
  --bg: #FAFAF8;
  --bg-warm: #F5F3EF;
  --bg-card: #FFFFFF;
  --ink-900: #1a1a1a;
  --ink-700: #3d3d3d;
  --ink-500: #6b6b6b;
  --ink-300: #a3a3a3;
  --ink-100: #e5e5e5;

  /* Accent */
  --accent-teal: #0D9488;
  --accent-amber: #D97706;
  --accent-rose: #E11D48;
  --kakao: #FAE100;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --container: 1200px;
  --section-py: 96px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* prep 전용 — res.css의 .container{padding:0!important}을 오버라이드 */
.section .container,
.hero .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px !important;
}

/* ============================
   SECTION 1: HERO
   ============================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f1923 0%, #1a3350 40%, #164EB6 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(22,78,182,0.4), transparent),
    radial-gradient(ellipse 300px 300px at 20% 80%, rgba(13,148,136,0.15), transparent);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge .material-symbols-outlined { font-size: 16px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: #7DD3FC;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

/* CTA Cards */
.hero-ctas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 680px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}
.hero-cta:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.hero-cta-icon {
  width: 28px;
  height: 28px;
  color: #7DD3FC;
  flex-shrink: 0;
}
.hero-cta span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ============================
   SECTION 2: BOARDING SCHOOL
   ============================ */
.section { padding: var(--section-py) 0; }
.section-header {
  margin-bottom: 48px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-label .material-symbols-outlined { font-size: 16px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 16px;
  color: var(--ink-500);
  max-width: 600px;
  line-height: 1.8;
}

/* Boarding Type Cards */
.boarding-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.type-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.2s ease;
  overflow: hidden;
}
.type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.type-card.elite::before { background: linear-gradient(90deg, #164EB6, #7C3AED); }
.type-card.general::before { background: linear-gradient(90deg, #0D9488, #06B6D4); }
.type-card.intl::before { background: linear-gradient(90deg, #D97706, #F59E0B); }

.type-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}
.type-card-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.type-card.elite .type-card-label { color: #7C3AED; }
.type-card.general .type-card-label { color: var(--accent-teal); }
.type-card.intl .type-card-label { color: var(--accent-amber); }

.type-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-900);
}
.type-card-price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 16px;
}
.type-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* Featured Schools */
.featured-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.featured-label .material-symbols-outlined { font-size: 20px; color: var(--blue); }

.featured-schools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
/* v2 — 이미지 왼쪽 + 텍스트 오른쪽 2줄 구조 (mockup M1 v2) */
.school-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 12px;
  text-decoration: none;
  color: var(--ink-900);
  transition: all 0.2s ease;
}
.school-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue);
}
.school-card-photo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #edf8f7, #fef7ec);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.school-card-photo .material-symbols-outlined { font-size: 28px; color: var(--blue); opacity: 0.4; }
.school-card-body { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.school-card-top {}
.school-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.school-card-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.school-badge { font-size: 10px; padding: 1px 7px; border-radius: 999px; font-weight: 600; line-height: 1.5; }
.school-badge--elite  { background: #edf8f7; color: #0f8a81; }
.school-badge--gen    { background: #f5f5f5; color: #333; }
.school-badge--intl   { background: #fef7ec; color: #b45309; }
.school-badge--priv   { background: #f5f5f5; color: #333; }
.school-badge--gender { background: #fafafa; color: #666; border: 1px solid #e0e0e0; }
.school-card-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-top: 6px; }
.school-card-loc {
  font-size: 11px;
  color: var(--ink-500);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.school-card-cost {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-900);
  flex-shrink: 0;
  letter-spacing: -.01em;
}
.school-card-cost::before { content: "연 "; font-family: var(--font-body); font-weight: 500; color: var(--ink-500); font-size: 10px; }

/* Section CTA */
.section-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-light); }
.btn .material-symbols-outlined { font-size: 18px; }

/* ============================
   SECTION 3: HOMESTAY
   ============================ */
.section-warm { background: var(--bg-warm); }

.homestay-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.cost-summary {
  background: var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.cost-summary h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cost-summary h3 .material-symbols-outlined { color: var(--accent-teal); font-size: 22px; }
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-100);
}
.cost-row:last-child { border-bottom: none; }
.cost-row-label { font-size: 14px; color: var(--ink-500); }
.cost-row-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
}
.cost-row.total { border-top: 2px solid var(--ink-900); margin-top: 8px; padding-top: 16px; }
.cost-row.total .cost-row-label { font-weight: 700; color: var(--ink-900); }
.cost-row.total .cost-row-value { color: var(--blue); font-size: 18px; font-weight: 700; }

.cost-note {
  background: var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cost-note h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cost-note p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.8;
  margin-bottom: 8px;
}
.cost-note-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #92400E;
  margin-top: 8px;
}
.cost-note-highlight .material-symbols-outlined { font-size: 16px; }

/* 비용 요약 — 비용계산 링크 */
.cost-calc-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 16px;
  background: var(--blue-light);
  border-radius: 8px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.cost-calc-link:hover { background: #d0e3ff; }
.cost-calc-link .material-symbols-outlined { font-size: 18px; }

/* 참고사항 — 홈스테이 링크 */
.cost-note-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cost-note-link:hover { color: var(--blue-hover); }

/* District Cards */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.district-card {
  background: var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--ink-900);
  transition: all 0.2s ease;
  text-align: center;
}
.district-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--accent-teal);
}
.district-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #CCFBF1, #99F6E4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.district-icon .material-symbols-outlined { font-size: 22px; color: var(--accent-teal); }
.district-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.district-card-en {
  font-size: 12px;
  color: var(--ink-300);
  font-family: var(--font-display);
}
.district-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 10px;
}
.district-tag.direct { background: #D1FAE5; color: #065F46; }
.district-tag.agency { background: #FEF3C7; color: #92400E; }

/* District Card v2 — with banner + province badge + fees */
.district-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink-900);
  transition: all 0.2s ease;
}
.district-card-v2:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}
.dc-banner {
  position: relative;
  padding: 20px 16px 16px;
  color: #fff;
  min-height: 80px;
  display: flex;
  align-items: flex-end;
}
.dc-banner h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.dc-province-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.dc-province-badge.bc {
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.dc-province-badge.on {
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.dc-body {
  padding: 14px 16px 16px;
}
.dc-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 10px;
}
.dc-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 13px;
  color: var(--ink-500);
}
.dc-fee-val {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ink-900);
}
.dc-total {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  padding: 8px 0 6px;
  border-top: 1.5px solid var(--ink-100);
  margin-top: 6px;
}
.dc-inquiry {
  color: var(--accent-amber);
  font-size: 12px;
  font-weight: 500;
}
.dc-type-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 8px;
}
.dc-type-tag.direct, .dc-type-tag.district_operated { background: #D1FAE5; color: #065F46; }
.dc-type-tag.mixed, .dc-type-tag.district_supported { background: #DBEAFE; color: #1E40AF; }
.dc-type-tag.agency, .dc-type-tag.partner_operated { background: #FEF3C7; color: #92400E; }

/* ============================
   SECTION 4: COST COMPARISON
   ============================ */
.cost-compare-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-decoration: none;
  color: var(--ink-900);
  transition: all 0.2s ease;
  position: relative;
}
.compare-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.compare-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.compare-card:nth-child(1) .compare-rank { background: var(--dark); color: #fff; }
.compare-card:nth-child(2) .compare-rank { background: var(--dark-soft); color: #fff; }
.compare-card:nth-child(3) .compare-rank { background: var(--ink-500); color: #fff; }

.compare-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.compare-province {
  font-size: 12px;
  color: var(--ink-300);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 16px;
}
.compare-total {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}
.compare-breakdown {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.6;
}
.compare-tags {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.compare-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--blue-light);
  color: var(--blue);
}

/* ============================
   SECTION 5: TOTAL CARE
   ============================ */
.totalcare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.totalcare-visual {
  background: linear-gradient(135deg, #1e3a5f 0%, #164EB6 50%, #0D9488 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.totalcare-visual::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.totalcare-visual h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.totalcare-visual p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.totalcare-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--ink-900);
}
.tc-features {
  list-style: none;
  margin-bottom: 32px;
}
.tc-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.6;
}
.tc-features li .material-symbols-outlined {
  font-size: 20px;
  color: var(--accent-teal);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: #1a1d24;
  padding: 48px 0;
  text-align: center;
}
.footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-display);
}
.footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.footer a:hover { color: #fff; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .boarding-types { grid-template-columns: repeat(3, 1fr); }
  .featured-schools { grid-template-columns: repeat(2, 1fr); }
  .districts-grid { grid-template-columns: repeat(3, 1fr); }
  .cost-compare-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .hero { min-height: auto; }
  .hero-inner { padding: 60px 0 80px; }
  .hero h1 { font-size: 32px; }
  .hero-ctas {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 8px;
  }
  .hero-cta {
    padding: 14px 8px;
    gap: 6px;
  }
  .hero-cta-icon {
    width: 22px;
    height: 22px;
  }
  .hero-cta span {
    font-size: 12px;
    line-height: 1.3;
  }

  .boarding-types { grid-template-columns: 1fr; }
  /* mockup M1 v2 모바일 규정: 1열 + 가로 레이아웃 컴팩트 (세로 쌓임 방지) */
  .featured-schools { grid-template-columns: 1fr; gap: 8px; }
  .school-card { grid-template-columns: 64px 1fr; gap: 10px; padding: 10px; }
  .school-card-photo { width: 64px; height: 64px; }
  .school-card h4 { font-size: 13px; -webkit-line-clamp: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .school-card-badges { gap: 3px; }
  .school-badge { font-size: 9px; padding: 1px 6px; }
  .school-card-bottom { margin-top: 4px; }
  .school-card-loc { font-size: 10px; }
  .school-card-cost { font-size: 11px; }
  .homestay-overview { grid-template-columns: 1fr; }
  .districts-grid { grid-template-columns: repeat(2, 1fr); }
  .cost-compare-grid { grid-template-columns: 1fr; }
  .totalcare { grid-template-columns: 1fr; }

  .section-title { font-size: 26px; }
  .section-cta { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
  .districts-grid { grid-template-columns: 1fr; }
  .hero-ctas { gap: 6px; }
  .hero-cta { padding: 12px 6px; }
  .hero-cta span { font-size: 11px; }
}

/* Cost Tab Buttons */
.prep-cost-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--ink-100);
  background: var(--bg-card);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  cursor: pointer;
  transition: all 0.2s ease;
}
.prep-cost-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.prep-cost-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ============================================================
   [Phase 1] prep-conversion-upgrade v4 — 신규 컴포넌트 스타일
   ============================================================ */

/* [P1-2] 비용 요약 카드 */
.prep-cost-overview .cost-cards-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.prep-cost-overview .cost-card {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.prep-cost-overview .cost-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.prep-cost-overview .cost-icon { font-size: 40px; margin-bottom: 8px; }
.prep-cost-overview .cost-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.prep-cost-overview .cost-cad {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 4px;
}
.prep-cost-overview .cost-krw {
  font-size: 13px;
  color: var(--accent-amber);
  margin-bottom: 8px;
}
.prep-cost-overview .cost-desc {
  font-size: 13px;
  color: var(--ink-500);
}
.prep-cost-overview .cost-note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-300);
  margin-top: 16px;
}
@media (max-width: 600px) {
  .prep-cost-overview .cost-cards-row { flex-direction: column; align-items: center; }
  .prep-cost-overview .cost-card { min-width: unset; width: 100%; max-width: 100%; }
}

/* [P1-3] 보딩 type-card 비용 범위 */
.type-card-cost {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tc-cost-label {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tc-cost-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-teal);
}
.tc-cost-krw {
  font-size: 12px;
  color: var(--accent-amber);
}

/* [P1-4] 대학 진학 사례 섹션 (prep 허브 내) */
.prep-university .university-list {
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0 20px;
  background: #fff;
}
.prep-university .university-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink-100);
  text-decoration: none;
  color: var(--ink-900);
  transition: background 0.2s;
}
.prep-university .university-item:last-child { border-bottom: none; }
.prep-university .university-item:hover { background: var(--bg-warm); }
.prep-university .university-title {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  margin-right: 12px;
}
.prep-university .university-meta {
  font-size: 12px;
  color: var(--ink-500);
  white-space: nowrap;
}
.prep-university .university-lock {
  text-align: center;
  padding: 16px;
  color: var(--ink-500);
  font-size: 14px;
}
.prep-university .university-lock p { margin-bottom: 12px; }
.prep-university .university-lock .btn { margin: 4px; }
@media (max-width: 600px) {
  .prep-university .university-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .prep-university .university-title { margin-right: 0; }
}

/* ============================================================
   [Phase 4] prep 허브 sticky 앵커 바
   ============================================================ */
.prep-anchor-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--ink-100);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.prep-anchor-bar::-webkit-scrollbar { height: 4px; }
.prep-anchor-bar::-webkit-scrollbar-thumb { background: var(--ink-100); border-radius: 2px; }
.prep-anchor-bar a {
  padding: 8px 16px;
  border-radius: 20px;
  background: #f5f5f5;
  color: var(--ink-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.prep-anchor-bar a:hover {
  background: #e8f4f5;
  color: #0d7680;
}
@media (max-width: 768px) {
  .prep-anchor-bar {
    padding: 10px 12px;
    gap: 6px;
    position: relative;
  }
  .prep-anchor-bar::after {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 40px; height: 100%;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
  }
  .prep-anchor-bar a {
    padding: 6px 12px;
    font-size: 13px;
  }
}
