:root {
  --ink: #16302f;
  --muted: #5a6f6d;
  --line: #d8e5df;
  --paper: #fbfdfb;
  --mint: #dff4eb;
  --teal: #157d74;
  --teal-dark: #0e5f59;
  --coral: #d96459;
  --gold: #c9932e;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(22, 48, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.65;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 253, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  background: var(--teal);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--teal-dark);
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 88px clamp(18px, 5vw, 72px) 64px;
  background:
    linear-gradient(90deg, rgba(13, 71, 67, 0.88), rgba(21, 125, 116, 0.6)),
    url("https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--white);
}

.hero-inner {
  width: min(780px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2.3vw, 20px);
}

.contact-panel {
  width: min(420px, 100%);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 850;
  font-size: 16px;
  line-height: 1.2;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.button-sms {
  color: var(--white);
  background: var(--coral);
}

.button-kakao {
  color: #2a2200;
  background: #ffe04b;
}

.button-community {
  width: 100%;
  margin-top: 10px;
  color: var(--white);
  background: var(--teal-dark);
  border-color: rgba(255, 255, 255, 0.18);
}

.section {
  padding: 72px clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.rich-copy {
  display: grid;
  gap: 14px;
}

.courses,
.qna {
  background: var(--white);
}

.section-heading {
  margin-bottom: 28px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.course-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), #f7fbf8);
  box-shadow: var(--shadow);
}

.course-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.course-card .time {
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 800;
}

.course-card .price {
  margin-top: 4px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
}

.course-card .course-desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfa;
  font-size: 15px;
}

.features {
  background: #f1f8f3;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.feature-card p {
  font-size: 15px;
}

.process {
  background: #f8fbf8;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  min-height: 180px;
  padding: 58px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(22, 48, 47, 0.08);
  counter-increment: steps;
}

.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--teal);
  font-size: 20px;
  font-weight: 900;
}

.step-list strong,
.step-list span {
  display: block;
}

.step-list strong {
  margin-bottom: 10px;
  font-size: 19px;
}

.step-list span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.place-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.place-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 800;
  text-align: center;
}

.area-copy {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.keyword-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.etiquette {
  background: var(--white);
}

.recruit {
  background: #eef8f5;
}

.recruit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.recruit-box p {
  max-width: 720px;
  margin-top: 14px;
}

.recruit-button {
  flex: 0 0 auto;
  min-width: 180px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 850;
}

details p {
  padding: 0 20px 20px;
}

.site-footer {
  padding: 34px 18px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  background: var(--ink);
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
  }

  .brand small {
    white-space: normal;
  }

  .hero {
    min-height: auto;
    padding: 64px 18px 48px;
  }

  .contact-panel {
    width: min(360px, 94vw);
  }

  .button {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .two-column,
  .course-grid,
  .feature-grid,
  .step-list,
  .place-list {
    grid-template-columns: 1fr;
  }

  .recruit-box {
    align-items: stretch;
    flex-direction: column;
  }

  .recruit-button {
    width: min(240px, 100%);
  }
}

@media (max-width: 380px) {
  .contact-panel {
    width: 100%;
  }

  .contact-row {
    gap: 8px;
  }

  .button {
    font-size: 14px;
    padding-inline: 10px;
  }
}
