:root {
  --ink: #18242b;
  --muted: #5f6b73;
  --line: #dfe7e8;
  --paper: #f8fbfa;
  --soft: #edf5f4;
  --teal: #168283;
  --teal-dark: #0c5f68;
  --gold: #bf8f43;
  --rose: #d36c61;
  --charcoal: #101b22;
  --white: #ffffff;
  --shadow: 0 16px 42px rgba(10, 34, 45, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 86px;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal);
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform .16s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 28, 38, .78), rgba(8, 28, 38, .08));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 8px;
  background: rgba(22, 130, 131, .32);
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.4vw, 24px);
  font-weight: 800;
  font-size: 15px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

.hero-bg {
  display: block;
  overflow: hidden;
  transform: scale(1.02);
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 23, 31, .92) 0%, rgba(8, 23, 31, .74) 38%, rgba(8, 23, 31, .26) 68%, rgba(8, 23, 31, .08) 100%),
    linear-gradient(180deg, rgba(8, 23, 31, .2), rgba(8, 23, 31, .56));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 74px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #d6a85c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 1.06;
  font-weight: 900;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.hero-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px;
  background: rgba(22, 130, 131, .22);
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 700;
}

.contact-panel {
  width: min(440px, 100%);
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 16px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, filter .18s ease;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-sms {
  background: linear-gradient(135deg, #168283, #0c6b73);
  color: var(--white);
}

.btn-kakao {
  background: #fee500;
  color: #2b2216;
}

.section {
  padding: clamp(70px, 9vw, 110px) clamp(18px, 5vw, 64px);
}

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

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

.intro-grid,
.split,
.recruit-box {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.2;
  font-weight: 850;
}

.intro p,
.recruit p,
.faq-list p,
.section-lead,
.text-stack p,
.places p,
.service-area p,
.notice li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.text-stack p:last-child {
  margin-bottom: 0;
}

.section-lead {
  max-width: 860px;
  margin-bottom: 28px;
}

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

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

.feature-grid article,
.step-grid article,
.place-list article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.feature-grid h3,
.step-grid h3,
.place-list h3 {
  margin-bottom: 12px;
  color: #0b6373;
  font-size: 22px;
}

.feature-grid p,
.step-grid p,
.place-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

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

.course-card {
  min-height: 286px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(10, 34, 45, .08);
}

.course-card h3 {
  margin-bottom: 34px;
  color: var(--teal-dark);
  font-size: 28px;
}

.time {
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 800;
  font-size: 18px;
}

.price {
  margin-bottom: 18px;
  font-size: 34px;
  font-weight: 900;
}

.course-desc {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.step-grid article {
  background: var(--white);
}

.step-grid strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 18px;
}

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

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 761px) {
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .review-card {
    width: 100%;
  }

  .review-card img {
    width: 100%;
    height: auto !important;
    max-height: none;
    object-fit: contain;
  }
}

.review-card {
  min-width: 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(10, 34, 45, .08);
}

.review-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  background: #d8e7f3;
}

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

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

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

.service-area .section-lead,
.service-area p:not(.section-kicker) {
  color: rgba(255, 255, 255, .78);
}

.keyword-box {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(22, 130, 131, .12);
}

.keyword-box p {
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.keyword-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.keyword-box li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
}

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

.notice-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 70px);
}

.notice ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice li {
  position: relative;
  padding: 0 0 18px 24px;
  border-bottom: 1px solid var(--line);
}

.notice li + li {
  padding-top: 18px;
}

.notice li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.notice li + li::before {
  top: 31px;
}

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

.recruit-box {
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.recruit-btn {
  justify-self: end;
  width: min(260px, 100%);
}

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

.region-page {
  --region-main: var(--teal);
  --region-deep: var(--teal-dark);
  --region-warm: var(--gold);
}

.region-page .site-header {
  background: linear-gradient(180deg, rgba(8, 28, 38, .84), rgba(8, 28, 38, .12));
}

.region-hero {
  min-height: 720px;
}

.region-page h1 {
  max-width: 820px;
  font-size: clamp(40px, 6.4vw, 72px);
  overflow-wrap: anywhere;
}

.region-page .hero-bg {
  filter: saturate(.94) contrast(1.04);
}

.region-page .hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 23, 31, .94) 0%, color-mix(in srgb, var(--region-deep) 70%, rgba(8, 23, 31, .78)) 42%, rgba(8, 23, 31, .26) 72%, rgba(8, 23, 31, .08) 100%),
    radial-gradient(circle at 20% 24%, color-mix(in srgb, var(--region-main) 32%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(8, 23, 31, .18), rgba(8, 23, 31, .62));
}

.region-page .brand-mark,
.region-page .hero-tags span,
.region-page .step-grid strong,
.region-page .notice li::before {
  background: color-mix(in srgb, var(--region-main) 78%, transparent);
}

.region-page .section-kicker,
.region-page .eyebrow,
.region-page .feature-grid span,
.region-page .keyword-box p,
.region-page .site-footer a {
  color: var(--region-warm);
}

.region-page .feature-grid h3,
.region-page .step-grid h3,
.region-page .place-list h3,
.region-page .course-card h3 {
  color: var(--region-deep);
}

.region-page .btn-sms {
  background: linear-gradient(135deg, var(--region-main), var(--region-deep));
}

.region-intro {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--region-main) 8%, transparent), transparent 42%),
    var(--paper);
}

.region-detail {
  background: var(--white);
}

.region-gimhae {
  --region-main: #168283;
  --region-deep: #0b6373;
  --region-warm: #d6a85c;
}

.region-yangsan {
  --region-main: #6c8b68;
  --region-deep: #3f694d;
  --region-warm: #c69a50;
}

.region-changwon {
  --region-main: #4f7f9b;
  --region-deep: #274f68;
  --region-warm: #c9a15d;
}

.region-jangyu {
  --region-main: #9a7b3f;
  --region-deep: #685529;
  --region-warm: #e0b76a;
}

.region-ulsan {
  --region-main: #6c6f91;
  --region-deep: #434865;
  --region-warm: #d2a66b;
}

.region-daegu {
  --region-main: #9b6b62;
  --region-deep: #704a44;
  --region-warm: #d9aa69;
}

.local-links {
  background: var(--white);
}

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

.service-areas-entry {
  margin: 24px 0 0;
}

.service-areas-entry .btn {
  box-shadow: none;
}

.service-areas-page .service-areas-hero {
  min-height: 680px;
}

.service-areas-page .local-link-card {
  position: relative;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.service-areas-page .local-link-card:hover,
.service-areas-page .local-link-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 18px 38px rgba(10, 34, 45, .12);
}

.service-areas-page .service-area-featured {
  background:
    linear-gradient(135deg, rgba(191, 143, 67, .18), transparent 56%),
    var(--paper);
}

.local-link-card {
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(22, 130, 131, .1), transparent 54%),
    var(--paper);
  box-shadow: 0 14px 34px rgba(10, 34, 45, .06);
}

.local-link-card h3 {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 23px;
}

.local-link-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.local-link-card span {
  color: var(--gold);
  font-weight: 900;
}

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

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

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 900;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 64px);
  background: #08151b;
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .66);
}

.site-footer a {
  color: var(--gold);
  font-weight: 900;
}

.alert-preference-line {
  margin-top: 8px;
}

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

.slack-alert-toggle.is-muted {
  color: #25a45a;
}

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

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    min-height: 62px;
    padding: 10px 16px;
    background: rgba(8, 28, 38, .88);
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 16px;
    font-size: 14px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-bg img {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 19, 22, .88), rgba(15, 19, 22, .52)),
      linear-gradient(180deg, rgba(15, 19, 22, .08), rgba(15, 19, 22, .7));
  }

  .hero-content {
    width: auto;
    max-width: calc(100vw - 32px);
    margin: 0 16px;
  }

  h1 {
    font-size: 42px;
  }

  .region-page h1 {
    font-size: 34px;
    line-height: 1.14;
    word-break: break-all;
  }

  .region-page h2,
  .region-page p,
  .region-page .hero-tags span {
    overflow-wrap: anywhere;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 17px;
  }

  .hero-tags {
    gap: 8px;
    max-width: 100%;
  }

  .hero-tags span {
    max-width: 100%;
    font-size: 13px;
  }

  .contact-panel {
    width: 100%;
    max-width: 360px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-inner {
    width: 100%;
    max-width: 100%;
  }

  .contact-row {
    gap: 8px;
  }

  .btn {
    min-height: 50px;
    padding: 0 12px;
    font-size: 15px;
  }

  .intro-grid,
  .split,
  .recruit-box,
  .course-grid,
  .feature-grid,
  .step-grid,
  .notice-grid,
  .local-link-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .review-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .course-card {
    min-height: auto;
  }

  .keyword-box ul {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .step-grid article,
  .place-list article {
    padding: 22px;
  }

  .review-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .recruit-btn {
    justify-self: start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .btn:hover {
    transform: none;
  }
}

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

  .contact-panel {
    width: 100%;
  }

  .btn {
    min-height: 48px;
    font-size: 14px;
  }
}
