: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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.skip-link:focus {
  top: 16px;
}

.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:
    radial-gradient(circle at 82% 20%, rgba(199, 152, 76, 0.18), transparent 34%),
    linear-gradient(135deg, #102326 0%, #154b52 52%, #b96b63 130%);
}

.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;
}

.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;
}

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

.area-copy {
  max-width: 960px;
  color: var(--muted);
  word-break: keep-all;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.area-tags li {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.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);
}

.slack-alert-toggle {
  appearance: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-weight: 900;
  line-height: inherit;
  cursor: pointer;
}

.slack-alert-toggle.is-enabled {
  color: #f2a13a;
}

.slack-alert-toggle.is-blocked {
  color: #38c172;
}

.slack-alert-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.locale-page {
  background: #fbfaf6;
}

.locale-page .site-header {
  position: static;
}

.locale-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 86px);
  color: var(--white);
  background:
    radial-gradient(circle at 86% 16%, var(--locale-glow, rgba(199, 152, 76, 0.2)), transparent 34%),
    linear-gradient(135deg, var(--locale-start, #102326) 0%, var(--locale-mid, #154b52) 58%, var(--locale-end, #b96b63) 145%);
  overflow: hidden;
}

.locale-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 72px);
}

.locale-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 20px);
  word-break: keep-all;
}

.locale-visual {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(360px, 100%);
}

.locale-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.locale-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.locale-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.locale-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.locale-panel p {
  color: var(--muted);
  word-break: keep-all;
}

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

.locale-list li {
  padding: 12px 14px;
  border-left: 4px solid var(--locale-mid, var(--teal));
  background: var(--soft);
  color: #31484c;
  font-weight: 800;
}

.local-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.local-keywords li {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(21, 75, 82, 0.1);
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.related-locales {
  padding-top: 30px;
}

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

.locale-link-grid a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(21, 75, 82, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #173f44;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 35, 38, 0.08);
}

.locale-link-grid a:hover,
.locale-link-grid a:focus-visible {
  border-color: rgba(185, 107, 99, 0.55);
  color: #9a4d47;
}

.locale-gimhae { --locale-start: #102f33; --locale-mid: #2b766d; --locale-end: #ad6d59; --locale-glow: rgba(134, 190, 164, 0.22); }
.locale-yangsan { --locale-start: #172a35; --locale-mid: #3f6e8c; --locale-end: #b47a55; --locale-glow: rgba(141, 180, 216, 0.24); }
.locale-changwon { --locale-start: #122f2a; --locale-mid: #47765b; --locale-end: #bd6f6b; --locale-glow: rgba(132, 188, 132, 0.24); }
.locale-jangyu { --locale-start: #182735; --locale-mid: #52698f; --locale-end: #b86f80; --locale-glow: rgba(164, 176, 216, 0.24); }
.locale-ulsan { --locale-start: #102f3a; --locale-mid: #21717c; --locale-end: #b9884f; --locale-glow: rgba(116, 190, 203, 0.24); }
.locale-daegu { --locale-start: #2c2430; --locale-mid: #805d70; --locale-end: #bc7b50; --locale-glow: rgba(218, 163, 121, 0.24); }

@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:
      radial-gradient(circle at 70% 8%, rgba(199, 152, 76, 0.2), transparent 38%),
      linear-gradient(180deg, #102326 0%, #154b52 78%, #b96b63 150%);
  }

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

  .hero-figure {
    justify-self: center;
    width: min(260px, 72vw);
  }

  .hero-figure img {
    height: auto;
    max-height: 46svh;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }

  .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;
  }

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

  .recruit {
    display: block;
  }

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

  .locale-hero,
  .locale-grid {
    grid-template-columns: 1fr;
  }

  .locale-visual {
    justify-self: center;
    width: min(250px, 70vw);
  }

  .locale-visual img {
    height: auto;
    max-height: 44svh;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .locale-link-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .cta-group {
    gap: 8px;
  }

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