:root {
  --ink: #183232;
  --muted: #5c6d6a;
  --paper: #fbfaf7;
  --line: #dce4dd;
  --teal: #0f6f68;
  --teal-dark: #0a4d49;
  --coral: #dd7f68;
  --mint: #dfeee6;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(18, 54, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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: 16px clamp(18px, 4vw, 64px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(220, 228, 221, 0.85);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--coral));
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 16px;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-right: clamp(18px, 6vw, 88px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/hero-spa.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.96) 0%, rgba(251, 250, 247, 0.82) 42%, rgba(251, 250, 247, 0.12) 76%),
    linear-gradient(0deg, rgba(15, 111, 104, 0.18), rgba(15, 111, 104, 0.02));
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 64px 0;
}

.hero-visual {
  margin: 0;
  justify-self: end;
  width: min(100%, 430px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(18, 54, 51, 0.24);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 720px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: #314744;
  font-size: clamp(18px, 2.4vw, 22px);
}

.cta-group,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(15, 111, 104, 0.22);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--line);
}

.notice {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.keyword-band {
  display: flex;
  gap: 10px;
  padding: 18px clamp(18px, 4vw, 64px);
  overflow-x: auto;
  background: var(--teal-dark);
}

.keyword-band span {
  flex: 0 0 auto;
  padding: 8px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 14px;
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 6vw, 88px);
}

.intro,
.recruit {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro p:last-child,
.seo-copy p {
  color: var(--muted);
  font-size: 18px;
}

.courses {
  background: var(--mint);
}

.visit {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

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

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

.visit-grid article {
  min-height: 170px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 54, 51, 0.09);
}

.visit-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 21px;
}

.visit-grid p {
  margin: 0;
  color: var(--muted);
}

.course-card {
  min-height: 220px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(15, 111, 104, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.course-card.featured {
  border-color: rgba(221, 127, 104, 0.7);
}

.time {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
}

.price {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.recruit {
  background: #fff6f0;
}

.recruit p {
  color: var(--muted);
}

.recruit-panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(221, 127, 104, 0.26);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.recruit-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.seo-copy {
  max-width: 1040px;
}

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

details {
  max-width: 920px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 6vw, 88px);
  color: var(--white);
  background: #102b2a;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: 760px;
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.9) 48%, rgba(251, 250, 247, 0.28) 100%),
      linear-gradient(0deg, rgba(15, 111, 104, 0.18), rgba(15, 111, 104, 0.02));
  }

  .hero-content {
    margin: 0 auto;
    padding: 58px 0 0;
  }

  .hero-visual {
    justify-self: center;
    width: min(72vw, 360px);
    margin-bottom: 54px;
  }

  .intro,
  .recruit,
  .course-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 40px;
  }

  .button,
  .cta-group {
    width: 100%;
  }

  .button {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-visual {
    width: min(86vw, 330px);
  }
}
