:root {
  --ink: #17282b;
  --muted: #637174;
  --line: #d9e1de;
  --paper: #fbfaf6;
  --soft: #eef5f1;
  --teal: #154b52;
  --teal-2: #237781;
  --rose: #b96b63;
  --gold: #c7984c;
  --white: #ffffff;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(217, 225, 222, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--rose));
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #31484c;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100svh - 70px);
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 86px) clamp(42px, 7vw, 78px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 34, 37, 0.82) 0%, rgba(21, 75, 82, 0.66) 44%, rgba(251, 250, 246, 0.2) 100%);
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("/assets/busan-wellness-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.hero-content {
  width: min(760px, 100%);
  color: var(--white);
}

.hero-figure {
  margin: 0;
  justify-self: end;
  width: min(430px, 100%);
}

.hero-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.2vw, 22px);
  word-break: keep-all;
}

.cta-group {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 12px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.btn-sms {
  background: var(--rose);
}

.btn-kakao {
  color: #2b2112;
  background: #f7d94c;
  border-color: #f7d94c;
}

.btn-community {
  background: var(--teal-2);
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.keyword-strip li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.section {
  padding: clamp(58px, 8vw, 92px) clamp(20px, 6vw, 86px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

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

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

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

.intro-grid article,
.course-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-grid article {
  padding: 24px;
}

.intro-grid p,
.recruit p,
.seo-text p,
.faq-list p {
  color: var(--muted);
  word-break: keep-all;
}

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

.course-card {
  display: grid;
  min-height: 190px;
  padding: 26px;
  align-content: space-between;
}

.course-card span {
  color: var(--rose);
  font-weight: 900;
}

.course-card strong {
  font-size: 34px;
  line-height: 1;
}

.course-card b {
  color: var(--teal);
  font-size: 24px;
}

.course-card.featured {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.course-card.featured span,
.course-card.featured b {
  color: #f6dc91;
}

.recruit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #182c2f;
  color: var(--white);
}

.recruit-copy {
  max-width: 760px;
}

.recruit p {
  color: rgba(255, 255, 255, 0.78);
}

.recruit-btn {
  flex: 0 0 auto;
}

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

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--teal);
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.seo-text {
  padding-top: 34px;
  background: var(--white);
}

.seo-text h2 {
  font-size: 24px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 28px 20px;
  color: rgba(255, 255, 255, 0.78);
  background: #102326;
  font-size: 14px;
}

.site-footer strong {
  color: var(--white);
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(10, 31, 34, 0.84) 0%, rgba(21, 75, 82, 0.76) 62%, rgba(21, 75, 82, 0.62) 100%);
  }

  .hero-media {
    background-position: center top;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-figure {
    justify-self: start;
    width: min(280px, 82vw);
  }

  .cta-group {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    gap: 10px;
  }

  .btn {
    min-width: 122px;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .btn-community {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 180px;
  }

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

  .recruit {
    display: block;
  }

  .recruit-btn {
    margin-top: 18px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 38px;
  }

  .cta-group {
    gap: 8px;
  }

  .btn {
    min-width: 108px;
    padding-inline: 10px;
    font-size: 13px;
  }
}
