:root {
  --bg: #f5f7f2;
  --paper: #ffffff;
  --ink: #101820;
  --muted: #64707a;
  --line: rgba(16, 24, 32, .13);
  --accent: #0d7377;
  --accent-2: #d3a545;
  --dark: #101820;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(16, 24, 32, .13);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

/* Final price-table override: keep the reference-style dark course table last. */
.price-preview {
  background: #080706;
  color: #f8f1df;
}
.price-preview .section-head p {
  color: rgba(248, 241, 223, .72);
}
.price-grid article {
  border-color: rgba(211, 169, 87, .24);
  background: #11100e;
  color: #fff8e9;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.price-grid article span {
  color: #caa15c;
}
.price-grid strong {
  color: #f2c96b;
}
.price-grid a {
  background: rgba(211, 169, 87, .14);
  color: #f2c96b;
}
.price-grid .featured {
  border-color: rgba(242, 201, 107, .5);
  background: linear-gradient(135deg, #18130c, #070707);
}
.price-grid .featured a {
  background: #f2c96b;
  color: #12100d;
}
.full-price-table {
  border: 1px solid rgba(211, 169, 87, .34);
  border-radius: 8px;
  background: #070707;
  color: #f8f1df;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}
.price-course {
  grid-template-columns: minmax(150px, .65fr) minmax(280px, 1.15fr) minmax(220px, .85fr);
  gap: 0;
  padding: 0;
  border-bottom: 1px solid rgba(211, 169, 87, .2);
  background: linear-gradient(90deg, #101010, #090909);
}
.course-name,
.course-desc,
.course-items {
  padding: 24px;
}
.course-name {
  display: grid;
  align-content: center;
  background: #13110e;
  border-right: 1px solid rgba(211, 169, 87, .2);
}
.course-name strong {
  color: #fff7e6;
  font-size: 21px;
}
.course-name span {
  color: #caa15c;
}
.course-desc {
  border-right: 1px solid rgba(211, 169, 87, .16);
}
.course-desc p,
.course-desc ul {
  color: rgba(248, 241, 223, .72);
}
.course-items {
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.course-row {
  min-height: 68px;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(211, 169, 87, .14);
  background: transparent;
}
.course-row:last-child {
  border-bottom: 0;
}
.course-row span,
.course-row strong {
  display: grid;
  align-items: center;
  padding: 0 16px;
}
.course-row span {
  color: rgba(248, 241, 223, .68);
}
.course-row strong {
  color: #f2c96b;
  font-size: 20px;
}

@media (max-width: 860px) {
  .price-course {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .course-name,
  .course-desc,
  .course-items {
    padding: 20px;
  }
  .course-name,
  .course-desc {
    border-right: 0;
    border-bottom: 1px solid rgba(211, 169, 87, .18);
  }
  .course-items {
    padding-top: 0;
    padding-bottom: 0;
  }
  .course-row span,
  .course-row strong {
    padding: 0 14px;
  }
}

/* Dark course table, matched to the reference price-list capture. */
.price-preview {
  background: #080706;
  color: #f8f1df;
}
.price-preview .section-head p {
  color: rgba(248, 241, 223, .72);
}
.price-grid article {
  border-color: rgba(211, 169, 87, .24);
  background: #11100e;
  color: #fff8e9;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.price-grid article span {
  color: #caa15c;
}
.price-grid strong {
  color: #f2c96b;
}
.price-grid a {
  background: rgba(211, 169, 87, .14);
  color: #f2c96b;
}
.price-grid .featured {
  border-color: rgba(242, 201, 107, .5);
  background: linear-gradient(135deg, #18130c, #070707);
}
.price-grid .featured a {
  background: #f2c96b;
  color: #12100d;
}
.full-price-table {
  border: 1px solid rgba(211, 169, 87, .34);
  border-radius: 8px;
  background: #070707;
  color: #f8f1df;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}
.price-course {
  grid-template-columns: minmax(150px, .65fr) minmax(280px, 1.15fr) minmax(220px, .85fr);
  gap: 0;
  padding: 0;
  border-bottom: 1px solid rgba(211, 169, 87, .2);
  background: linear-gradient(90deg, #101010, #090909);
}
.course-name,
.course-desc,
.course-items {
  padding: 24px;
}
.course-name {
  display: grid;
  align-content: center;
  background: #13110e;
  border-right: 1px solid rgba(211, 169, 87, .2);
}
.course-name strong {
  color: #fff7e6;
  font-size: 21px;
}
.course-name span {
  color: #caa15c;
}
.course-desc {
  border-right: 1px solid rgba(211, 169, 87, .16);
}
.course-desc p,
.course-desc ul {
  color: rgba(248, 241, 223, .72);
}
.course-items {
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.course-row {
  min-height: 68px;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(211, 169, 87, .14);
  background: transparent;
}
.course-row:last-child {
  border-bottom: 0;
}
.course-row span,
.course-row strong {
  display: grid;
  align-items: center;
  padding: 0 16px;
}
.course-row span {
  color: rgba(248, 241, 223, .68);
}
.course-row strong {
  color: #f2c96b;
  font-size: 20px;
}

@media (max-width: 860px) {
  .price-course {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .course-name,
  .course-desc,
  .course-items {
    padding: 20px;
  }
  .course-name,
  .course-desc {
    border-right: 0;
    border-bottom: 1px solid rgba(211, 169, 87, .18);
  }
  .course-items {
    padding-top: 0;
    padding-bottom: 0;
  }
  .course-row span,
  .course-row strong {
    padding: 0 14px;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f9fbf5 0, var(--bg) 460px),
    var(--bg);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.brand span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
}
nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.call,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 900;
}
.call,
.primary {
  background: var(--accent);
  color: #fff;
}
.secondary {
  border: 1px solid rgba(255, 255, 255, .68);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 24, .88), rgba(8, 17, 24, .58) 48%, rgba(8, 17, 24, .12)),
    linear-gradient(0deg, rgba(8, 17, 24, .4), rgba(8, 17, 24, 0));
}
.hero-copy,
.page-hero,
.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}
.hero-copy {
  position: relative;
  padding: 104px 0 70px;
  color: #fff;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}
.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.06;
}
.hero p:not(.eyebrow) {
  max-width: 710px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.75;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.stats {
  display: inline-grid;
  grid-template-columns: repeat(3, auto auto);
  gap: 10px 12px;
  align-items: baseline;
  margin-top: 44px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}
.stats b { font-size: 28px; }
.stats span { color: rgba(255, 255, 255, .7); font-weight: 800; }

.section {
  padding: clamp(58px, 8vw, 102px) 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}
.section-head p:not(.eyebrow),
.split p,
.answer-band p,
.category-card p,
.local-grid p,
.answer-grid p,
.faq p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}
.category-grid,
.area-grid,
.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.category-card,
.area-grid a,
.answer-grid article,
.local-grid article,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 15px 42px rgba(16, 24, 32, .06);
}
.category-card {
  display: grid;
  gap: 12px;
  min-height: 205px;
  padding: 24px;
  border-top: 4px solid var(--accent);
}
.category-card span,
.answer-grid span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.category-card strong,
.area-grid strong,
.local-grid strong,
.answer-grid strong {
  font-size: 21px;
}
.category-card p,
.area-grid span,
.area-grid em,
.local-grid p {
  margin: 0;
}
.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.area-grid a {
  display: grid;
  gap: 10px;
  padding: 22px;
}
.area-grid em {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}
.answer-band {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.answer-band p {
  max-width: 900px;
  color: rgba(255, 255, 255, .74);
}
.inner-page {
  padding-top: 34px;
}
.page-hero {
  padding: clamp(64px, 9vw, 112px) 0 42px;
}
.page-hero h1 {
  max-width: 850px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
}
.page-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}
.page-hero .secondary {
  border-color: var(--line);
  color: var(--ink);
}
.local-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.local-grid article {
  padding: 18px;
  min-height: 138px;
}
.geo-answer {
  padding-top: 36px;
}
.geo-answer > p:not(.eyebrow) {
  max-width: 940px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}
.geo-answer > p strong {
  color: var(--ink);
}
.answer-grid {
  margin-top: 22px;
}
.answer-grid article {
  min-height: 190px;
  padding: 22px;
}
.answer-grid strong {
  display: block;
  margin: 8px 0 10px;
}
.faq details {
  margin-bottom: 10px;
  padding: 18px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 900;
}
.footer {
  margin-top: 70px;
  padding: 34px 18px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer p {
  margin: 0 auto 10px;
  max-width: 900px;
}

.price-preview {
  border-top: 1px solid var(--line);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.price-grid article {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 52px rgba(16, 24, 32, .08);
}
.price-grid article span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.price-grid h3 {
  font-size: 22px;
}
.price-grid strong {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}
.price-grid a {
  align-self: end;
  justify-self: start;
  padding: 11px 14px;
  border-radius: var(--radius);
  background: rgba(13, 115, 119, .1);
  color: var(--accent);
  font-weight: 900;
}
.price-grid .featured {
  background: var(--dark);
  color: #fff;
  transform: translateY(-8px);
}
.price-grid .featured a {
  background: var(--accent-2);
  color: var(--dark);
}
.price-page .price-hero {
  padding-bottom: 64px;
}
.price-hero-meta {
  display: inline-grid;
  grid-template-columns: auto auto auto auto;
  gap: 10px 14px;
  align-items: center;
  margin: 26px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
}
.price-hero-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.price-hero-meta strong {
  font-size: 22px;
}
.full-price-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.price-course {
  display: grid;
  grid-template-columns: .75fr 1.25fr .8fr;
  gap: 24px;
  align-items: stretch;
  padding: 26px;
  border-bottom: 1px solid var(--line);
}
.price-course:last-child {
  border-bottom: 0;
}
.course-name strong {
  display: block;
  font-size: 24px;
}
.course-name span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.course-desc p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}
.course-desc ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.course-items {
  display: grid;
  gap: 8px;
  align-content: start;
}
.course-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: #f5f7f2;
}
.course-row span {
  color: var(--muted);
  font-weight: 900;
}
.course-row strong {
  white-space: nowrap;
}
.price-note {
  margin-bottom: 90px;
}
.blog-page {
  padding: clamp(44px, 7vw, 86px) 0 90px;
}
.blog-article {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
}
.blog-article h1 {
  max-width: 850px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
}
.blog-article h2 {
  margin-top: 46px;
  font-size: clamp(26px, 3vw, 38px);
}
.blog-article p,
.blog-article li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}
.blog-article ul {
  margin: 18px 0 0;
  padding-left: 22px;
}
.blog-image {
  margin: 30px 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.blog-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 46px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}
.blog-cta strong {
  margin-right: auto;
  font-size: 20px;
}
.blog-cta a {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--accent);
  font-weight: 900;
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 62px;
  }
  nav { display: none; }
  .call {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
  .hero {
    min-height: 620px;
  }
  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }
  .hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 17px;
  }
  .stats {
    grid-template-columns: auto auto;
  }
  .category-grid,
  .area-grid,
  .answer-grid,
  .price-grid,
  .local-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .price-grid .featured {
    transform: none;
  }
  .price-course {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
  .price-hero-meta {
    grid-template-columns: auto auto;
  }
  .blog-article p,
  .blog-article li {
    font-size: 16px;
  }
  .blog-cta {
    align-items: stretch;
  }
  .blog-cta strong,
  .blog-cta a {
    width: 100%;
  }
  .answer-band {
    padding: 26px;
  }
}

/* Final price-table override: keep the reference-style dark course table last. */
.price-preview {
  background: #080706;
  color: #f8f1df;
}
.price-preview .section-head p {
  color: rgba(248, 241, 223, .72);
}
.price-grid article {
  border-color: rgba(211, 169, 87, .24);
  background: #11100e;
  color: #fff8e9;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.price-grid article span {
  color: #caa15c;
}
.price-grid strong {
  color: #f2c96b;
}
.price-grid a {
  background: rgba(211, 169, 87, .14);
  color: #f2c96b;
}
.price-grid .featured {
  border-color: rgba(242, 201, 107, .5);
  background: linear-gradient(135deg, #18130c, #070707);
}
.price-grid .featured a {
  background: #f2c96b;
  color: #12100d;
}
.full-price-table {
  border: 1px solid rgba(211, 169, 87, .34);
  border-radius: 8px;
  background: #070707;
  color: #f8f1df;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}
.price-course {
  grid-template-columns: minmax(150px, .65fr) minmax(280px, 1.15fr) minmax(220px, .85fr);
  gap: 0;
  padding: 0;
  border-bottom: 1px solid rgba(211, 169, 87, .2);
  background: linear-gradient(90deg, #101010, #090909);
}
.course-name,
.course-desc,
.course-items {
  padding: 24px;
}
.course-name {
  display: grid;
  align-content: center;
  background: #13110e;
  border-right: 1px solid rgba(211, 169, 87, .2);
}
.course-name strong {
  color: #fff7e6;
  font-size: 21px;
}
.course-name span {
  color: #caa15c;
}
.course-desc {
  border-right: 1px solid rgba(211, 169, 87, .16);
}
.course-desc p,
.course-desc ul {
  color: rgba(248, 241, 223, .72);
}
.course-items {
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.course-row {
  min-height: 68px;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(211, 169, 87, .14);
  background: transparent;
}
.course-row:last-child {
  border-bottom: 0;
}
.course-row span,
.course-row strong {
  display: grid;
  align-items: center;
  padding: 0 16px;
}
.course-row span {
  color: rgba(248, 241, 223, .68);
}
.course-row strong {
  color: #f2c96b;
  font-size: 20px;
}

@media (max-width: 860px) {
  .price-course {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .course-name,
  .course-desc,
  .course-items {
    padding: 20px;
  }
  .course-name,
  .course-desc {
    border-right: 0;
    border-bottom: 1px solid rgba(211, 169, 87, .18);
  }
  .course-items {
    padding-top: 0;
    padding-bottom: 0;
  }
  .course-row span,
  .course-row strong {
    padding: 0 14px;
  }
}
