:root {
  --ink: #17211f;
  --muted: #697775;
  --paper: #fbfaf6;
  --ivory: #f4efe4;
  --teal: #0f544f;
  --teal-deep: #073633;
  --gold: #c7953b;
  --rose: #b76e79;
  --line: rgba(23, 33, 31, 0.14);
  --shadow: 0 24px 70px rgba(7, 54, 51, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 20, 19, 0.72), rgba(7, 20, 19, 0));
}

.site-header.is-solid {
  background: rgba(7, 54, 51, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(15, 84, 79, 0.78);
  color: #ffe4a8;
}

.nav-links {
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 108px clamp(18px, 5vw, 72px) 58px;
  color: #fff;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 27, 25, 0.88) 0%, rgba(8, 43, 40, 0.62) 44%, rgba(8, 43, 40, 0.2) 100%),
    linear-gradient(0deg, rgba(4, 27, 25, 0.74), rgba(4, 27, 25, 0.1) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.84rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.3rem;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.sub-copy {
  margin-top: 10px;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

.hero-tags,
.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.keyword-list span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.cta-panel {
  width: min(430px, 92vw);
  margin-top: 30px;
}

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

.cta-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, filter 180ms ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.sms {
  background: var(--teal);
}

.kakao {
  background: #b88a24;
}

.community {
  width: 100%;
  margin-top: 10px;
  background: #6f7868;
}

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: end;
}

.intro {
  background: var(--ivory);
}

.intro p:not(.section-kicker),
.rich-copy p,
.section-lead,
.course-desc,
.info-card p,
.step-item p,
.place-grid p,
.check-list,
.recruit p,
.faq-list p {
  color: var(--muted);
  line-height: 1.8;
}

.rich-copy p {
  margin: 0;
}

.rich-copy p + p {
  margin-top: 14px;
}

.section-lead {
  max-width: 760px;
  margin: 16px 0 0;
}

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

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

.info-card,
.step-item,
.place-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.06);
}

.info-card {
  min-height: 224px;
  padding: 24px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 900;
}

.info-card p {
  margin: 14px 0 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.course-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.07);
}

.course-card.featured {
  background: var(--teal-deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.course-time {
  margin: 28px 0 4px;
  color: var(--gold);
  font-weight: 900;
  font-size: 2rem;
}

.course-price {
  margin: 0;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 800;
}

.course-desc {
  margin: 18px 0 0;
}

.featured .course-desc {
  color: rgba(255, 255, 255, 0.78);
}

.process {
  background: var(--ivory);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.step-item {
  min-height: 210px;
  padding: 24px;
}

.step-item strong {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.step-item p {
  margin: 12px 0 0;
}

.location {
  background: #fff;
}

.place-grid {
  display: grid;
  gap: 12px;
}

.place-grid article {
  padding: 22px;
}

.place-grid p {
  margin: 10px 0 0;
}

.service-area {
  background: #163b38;
  color: #fff;
}

.service-area h2 {
  max-width: 680px;
}

.dark-lead {
  max-width: 820px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.keyword-list {
  margin-top: 26px;
}

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

.notice-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 64px);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 18px 18px 18px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.recruit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(23, 33, 31, 0.08);
}

.recruit-link {
  min-width: 176px;
}

.qna {
  background: var(--ivory);
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 72px);
  background: #101816;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-inner strong {
  color: #fff;
}

.footer-inner p {
  margin: 8px 0;
}

.footer-inner a {
  color: #ffe0a1;
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 92svh;
    padding: 104px 18px 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 27, 25, 0.9), rgba(4, 27, 25, 0.58)),
      linear-gradient(0deg, rgba(4, 27, 25, 0.72), rgba(4, 27, 25, 0.14));
  }

  .hero-copy {
    line-height: 1.7;
  }

  .cta-panel {
    width: min(360px, 88vw);
  }

  .cta-button {
    min-height: 50px;
    padding: 0 12px;
    font-size: 0.95rem;
  }

  .split,
  .course-grid,
  .feature-grid,
  .step-list,
  .notice-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 168px;
  }

  .info-card,
  .step-item {
    min-height: auto;
  }

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

  .recruit-link {
    width: min(100%, 280px);
  }
}

@media (max-width: 420px) {
  .brand span:last-child {
    display: none;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-end;
  }

  .hero-tags span,
  .keyword-list span {
    font-size: 0.84rem;
  }
}
