:root {
  --ink: #251b1f;
  --muted: #685d63;
  --paper: #fffaf8;
  --soft: #f4e8e5;
  --line: #e5d3ce;
  --rose: #8f4f5f;
  --rose-dark: #68333f;
  --sage: #6f8069;
  --gold: #b48a53;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(66, 39, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.6;
  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: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 248, 0.92);
  border-bottom: 1px solid rgba(229, 211, 206, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  background: var(--rose);
  border-radius: 8px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100svh - 67px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 8vw, 120px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 88px);
  background:
    radial-gradient(circle at 82% 18%, rgba(180, 138, 83, 0.2), transparent 32%),
    linear-gradient(135deg, #fffaf8 0%, #f3e6e2 54%, #e8ebe3 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 72px;
  content: "";
  background: linear-gradient(to bottom, rgba(255, 250, 248, 0), var(--paper));
}

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

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.line {
  position: absolute;
  border: 2px solid rgba(143, 79, 95, 0.18);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.line-one {
  right: -120px;
  top: 120px;
  width: min(52vw, 620px);
  height: min(52vw, 620px);
}

.line-two {
  right: 80px;
  top: 230px;
  width: min(30vw, 360px);
  height: min(30vw, 360px);
  border-color: rgba(111, 128, 105, 0.2);
}

.line-three {
  right: 300px;
  bottom: 50px;
  width: 160px;
  height: 160px;
  border-color: rgba(180, 138, 83, 0.24);
}

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

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.16rem);
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.keyword-row span {
  padding: 7px 11px;
  color: var(--rose-dark);
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(143, 79, 95, 0.16);
  border-radius: 999px;
}

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

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

.contact-button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  color: var(--white);
  font-weight: 900;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(104, 51, 63, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-button:hover,
.small-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(104, 51, 63, 0.22);
}

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

.kakao {
  color: #2c2518;
  background: #f7d84f;
}

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

.section-heading {
  width: min(1080px, 100%);
  margin: 0 auto 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.feature-grid,
.course-list,
.faq-list,
.plain-copy,
.recruit-band {
  width: min(1080px, 100%);
  margin-right: auto;
  margin-left: auto;
}

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

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

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

.feature-grid h3,
.recruit-band h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.feature-grid p,
.recruit-band p,
.plain-copy,
details p {
  margin: 0;
  color: var(--muted);
}

.courses {
  background: #f7efec;
}

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

.course-card {
  padding: 26px;
}

.course-card.is-featured {
  border-color: rgba(143, 79, 95, 0.38);
  background: #fffdfb;
}

.course-name {
  display: block;
  color: var(--rose-dark);
  font-weight: 900;
}

.course-card strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.course-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 800;
}

.recruit-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
  background: var(--ink);
  border-radius: 8px;
}

.recruit-band h3,
.recruit-band p {
  color: var(--white);
}

.recruit-band p {
  opacity: 0.78;
}

.small-button {
  min-width: 128px;
  background: var(--rose);
}

.regions {
  background: #fffaf8;
}

.region-grid {
  display: grid;
  width: min(1080px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.region-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.region-grid a::after {
  color: var(--rose);
  content: ">";
}

.plain-copy {
  font-size: 1.05rem;
}

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

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin-top: 10px;
}

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

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

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

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

  .recruit-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

.local-page .hero {
  min-height: auto;
}

.local-page.gimhae {
  --rose: #8f4f5f;
  --sage: #667f72;
  --gold: #b48a53;
}

.local-page.yangsan {
  --rose: #7d596f;
  --sage: #5f806f;
  --gold: #a88d4b;
}

.local-page.changwon {
  --rose: #8b5960;
  --sage: #587b78;
  --gold: #ad8555;
}

.local-page.jangyu {
  --rose: #93515a;
  --sage: #617b63;
  --gold: #b58a55;
}

.local-page.ulsan {
  --rose: #7c5a68;
  --sage: #4f7b7d;
  --gold: #b18a4c;
}

.local-page.daegu {
  --rose: #9a4f55;
  --sage: #707a58;
  --gold: #b77f4f;
}

.local-hero {
  display: grid;
  width: min(1080px, 100%);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.local-hero-media {
  overflow: hidden;
  border: 1px solid rgba(143, 79, 95, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.local-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.content-grid {
  display: grid;
  width: min(1080px, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.content-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.content-block {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-block h3 {
  margin: 0 0 10px;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.content-block ul {
  margin: 0;
  padding-left: 20px;
}

.wide-copy {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wide-copy p {
  margin: 0;
  color: var(--muted);
}

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

.process-list {
  display: grid;
  width: min(1080px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  counter-reset: step;
}

.process-list article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  counter-increment: step;
}

.process-list article::before {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  background: var(--rose);
  border-radius: 8px;
  content: counter(step);
}

.process-list h3 {
  margin: 0 0 8px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.breadcrumb {
  width: min(1080px, 100%);
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--rose-dark);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.related-links a {
  padding: 9px 12px;
  color: var(--rose-dark);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 820px) {
  .local-hero,
  .content-grid,
  .content-grid.three,
  .process-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    white-space: normal;
  }

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

  .contact-button {
    min-height: 48px;
    padding: 11px 10px;
    font-size: 0.95rem;
  }

  .line-one {
    right: -190px;
    top: 140px;
    width: 420px;
    height: 420px;
  }

  .line-two,
  .line-three {
    display: none;
  }
}
