:root {
  color-scheme: light;
  --ink: #142421;
  --muted: #5d6f6a;
  --line: #dfe8e4;
  --paper: #f8faf7;
  --white: #ffffff;
  --green: #1f4f46;
  --green-dark: #13352f;
  --mint: #dcebe5;
  --blue: #325b73;
  --gold: #b9874d;
  --shadow: 0 20px 50px rgba(20, 36, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(248, 250, 247, 0.9);
  border-bottom: 1px solid rgba(223, 232, 228, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.78rem;
}

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

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

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(31, 79, 70, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switch a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.language-switch a:hover,
.language-switch a.active {
  background: var(--green);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92vh;
  padding: 120px clamp(20px, 6vw, 88px) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 29, 25, 0.84) 0%, rgba(10, 29, 25, 0.66) 38%, rgba(10, 29, 25, 0.22) 70%, rgba(10, 29, 25, 0.1) 100%),
    linear-gradient(0deg, rgba(10, 29, 25, 0.48), rgba(10, 29, 25, 0.02) 45%);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: var(--green-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.button.sms {
  position: relative;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.76);
  background: linear-gradient(135deg, #ffffff 0%, #eaf4ef 100%);
  color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(8, 28, 24, 0.22);
}

.button.sms::before {
  content: "";
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 6px;
  background:
    linear-gradient(currentColor, currentColor) 4px 4px / 3px 3px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 4px / 3px 3px no-repeat,
    linear-gradient(currentColor, currentColor) 12px 4px / 3px 3px no-repeat;
}

.button.sms::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 30px;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-18deg);
}

.button.sms:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(8, 28, 24, 0.28);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 5px;
  color: var(--green);
  font-size: 1.04rem;
}

.trust-band span {
  color: var(--muted);
}

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

.section-text {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  background: var(--white);
}

.intro > p {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.therapist-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding: 92px clamp(20px, 6vw, 88px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.therapist-image-wrap {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(20, 36, 33, 0.14);
}

.therapist-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.therapist-copy {
  width: min(620px, 100%);
}

.therapist-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

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

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

.card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(20, 36, 33, 0.06);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

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

.process {
  background: var(--green-dark);
  color: var(--white);
}

.process .eyebrow {
  color: #dfb477;
}

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

.steps div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 9px;
  font-size: 1.08rem;
}

.steps span {
  color: rgba(255, 255, 255, 0.76);
}

.courses {
  background:
    linear-gradient(180deg, #fbfcfb 0%, #f0f6f2 100%);
}

.section-text.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-text.centered > p:not(.eyebrow) {
  margin: 18px auto 0;
  width: min(720px, 100%);
  color: var(--muted);
  font-size: 1.08rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 0;
  border: 1px solid rgba(31, 79, 70, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(20, 36, 33, 0.1);
  overflow: hidden;
}

.course-card::before {
  content: "";
  display: block;
  height: 7px;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 100%);
}

.course-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #fff 0%, #fffaf4 100%);
  box-shadow: 0 30px 80px rgba(185, 135, 77, 0.2);
  transform: translateY(-10px);
}

.course-card h3 {
  margin: 0;
  padding: 32px 34px 8px;
  color: var(--green-dark);
  font-size: clamp(1.35rem, 1.7vw, 1.72rem);
  line-height: 1.1;
  text-align: left;
}

.price {
  margin: 0;
  padding: 0 34px 30px;
  color: var(--green);
  font-size: clamp(2.35rem, 3.6vw, 3.65rem);
  line-height: 1;
  font-weight: 900;
  text-align: left;
}

.price span {
  margin-left: 8px;
  color: var(--gold);
  font-size: 0.28em;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.course-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 26px 34px 34px;
  border-top: 1px solid rgba(31, 79, 70, 0.12);
  background: rgba(248, 250, 247, 0.8);
  list-style: none;
}

.course-card li {
  position: relative;
  padding: 0 0 0 28px;
  border-top: 0;
  color: #44504d;
  font-size: 1rem;
}

.course-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(185, 135, 77, 0.14);
}

.ribbon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: auto;
  padding: 7px 12px;
  border-radius: 999px;
  transform: none;
  background: var(--green);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-list span {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--green-dark);
  font-weight: 800;
}

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

.faq-list {
  display: grid;
  gap: 12px;
  width: min(920px, 100%);
}

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

summary {
  padding: 20px 22px;
  color: var(--green-dark);
  font-weight: 850;
  cursor: pointer;
}

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

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(28px, 6vw, 76px);
  padding: 92px clamp(20px, 6vw, 88px);
  background: var(--green);
  color: var(--white);
}

.contact-section-simple {
  display: block;
}

.contact-section-simple .contact-copy {
  width: min(760px, 100%);
}

.contact-copy p:not(.eyebrow) {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.subpage {
  padding-top: 72px;
  background: var(--paper);
}

.subpage-hero {
  padding: 110px clamp(20px, 6vw, 88px) 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(19, 53, 47, 0.95), rgba(31, 79, 70, 0.82)),
    url("/assets/hero-busan-women-massage.png") center / cover;
}

.subpage-hero h1 {
  width: min(900px, 100%);
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.subpage-hero > p:not(.eyebrow) {
  width: min(760px, 100%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
}

.page-actions {
  margin-top: 30px;
}

.subpage-content {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: 82px clamp(20px, 6vw, 88px);
}

.subpage-copy {
  color: var(--muted);
  font-size: 1.1rem;
}

.subpage-card {
  padding: 30px;
  border: 1px solid rgba(31, 79, 70, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(20, 36, 33, 0.08);
}

.subpage-card h2 {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 1.35rem;
}

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

.subpage-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.subpage-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfb;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(185, 135, 77, 0.28);
  border-color: var(--gold);
}

.contact-form .button {
  width: fit-content;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.76);
  background: #0d211d;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #dfb477;
  font-weight: 850;
}

.footer-languages {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-page {
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(31, 79, 70, 0.96), rgba(19, 53, 47, 0.9)),
    url("/assets/hero-busan-women-massage.png") center / cover fixed;
}

.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  color: var(--white);
}

.admin-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.admin-hero p:not(.eyebrow) {
  width: min(720px, 100%);
  color: rgba(255, 255, 255, 0.82);
}

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

.analytics-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(8, 28, 24, 0.18);
}

.admin-card.wide {
  grid-column: 1 / -1;
}

.admin-card h2 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 1.35rem;
}

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

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.admin-link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-link-list a {
  display: block;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--green-dark);
  font-weight: 800;
}

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

.admin-checks span {
  padding: 13px 14px;
  border-radius: 6px;
  background: #edf6f0;
  color: var(--green-dark);
  font-weight: 800;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.admin-metrics article {
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(8, 28, 24, 0.15);
}

.admin-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.admin-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.admin-table th,
.admin-table td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th:last-child,
.admin-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.admin-table td:first-child {
  word-break: break-word;
}

.admin-chart {
  display: flex;
  align-items: end;
  gap: 7px;
  min-height: 170px;
  margin: 8px 0 20px;
  padding: 16px 10px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.admin-chart .bar {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  min-width: 22px;
  flex: 1;
  height: 140px;
}

.admin-chart .bar span {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--gold), var(--green));
}

.admin-chart .bar em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  text-align: center;
  writing-mode: vertical-rl;
}

.admin-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .service-grid,
  .course-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .therapist-feature,
  .subpage-content,
  .admin-grid,
  .admin-metrics,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .admin-card.wide {
    grid-column: auto;
  }

  .admin-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro > p {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    min-height: 0;
    padding: 14px 18px;
  }

  .brand {
    max-width: 190px;
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
  }

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

  .language-switch {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    margin-top: 8px;
    overflow-x: auto;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 9px 15px;
  }

  .hero {
    min-height: 88vh;
    padding: 110px 20px 58px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 29, 25, 0.88), rgba(10, 29, 25, 0.48)),
      linear-gradient(0deg, rgba(10, 29, 25, 0.58), rgba(10, 29, 25, 0.08) 54%);
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .trust-band,
  .service-grid,
  .course-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    padding: 22px 20px;
  }

  .section,
  .therapist-feature,
  .contact-section {
    padding: 68px 20px;
  }

  .subpage {
    padding-top: 0;
  }

  .subpage-hero {
    padding: 150px 20px 56px;
  }

  .subpage-content {
    padding: 58px 20px;
  }

  .card {
    min-height: 0;
  }

  .courses .section-text {
    margin-bottom: 22px;
  }

  .courses .section-text.centered {
    text-align: left;
  }

  .section-text.centered > p:not(.eyebrow) {
    margin-top: 12px;
    font-size: 0.98rem;
  }

  .course-grid {
    gap: 12px;
  }

  .course-card {
    display: grid;
    min-height: 0;
    padding: 20px;
  }

  .course-card::before {
    display: none;
  }

  .course-card.featured {
    transform: none;
  }

  .course-card h3 {
    margin-bottom: 10px;
    padding: 0;
    font-size: 1.22rem;
    text-align: left;
  }

  .price {
    margin-bottom: 12px;
    padding: 0;
    font-size: clamp(2rem, 11vw, 2.8rem);
    text-align: left;
  }

  .course-card ul {
    padding: 10px 0 0;
    background: transparent;
  }

  .course-card li {
    padding: 9px 0;
    font-size: 0.94rem;
  }

  .ribbon {
    top: 14px;
    right: 14px;
    width: auto;
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  .site-footer {
    display: block;
  }

  .admin-page {
    padding: 20px;
  }

  .admin-hero {
    display: grid;
    align-items: start;
  }

  .admin-checks {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 12px;
  }
}
