:root {
  --bg: #f8f5ef;
  --ink: #17201c;
  --muted: #5f6762;
  --line: #ded6c9;
  --leaf: #2f6b4f;
  --leaf-dark: #173f31;
  --gold: #b68b48;
  --rose: #9f5d61;
  --white: #fffdfa;
  --shadow: 0 18px 48px rgba(22, 27, 24, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(248, 245, 239, .92);
  border-bottom: 1px solid rgba(222, 214, 201, .8);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: var(--leaf-dark);
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small {
  color: var(--muted);
  font-size: 11px;
}
.nav {
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  font-size: 15px;
  color: #2d3933;
}
.nav a { padding: 8px 2px; }
.nav a:focus-visible, .btn:focus-visible, .region-links a:focus-visible {
  outline: 3px solid rgba(182, 139, 72, .45);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: min(780px, 92svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #111;
}
.hero picture, .hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 18, 16, .86), rgba(12, 18, 16, .55) 42%, rgba(12, 18, 16, .1));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 86px 0 96px;
  color: var(--white);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}
h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}
.hero p {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(17px, 2vw, 21px);
}
.hero-note {
  color: #f3dfbd;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.btn-sms { background: var(--white); color: var(--leaf-dark); }
.btn-kakao { background: #fee500; color: #241c00; }
.btn.single { margin-top: 22px; }

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 64px);
}
.section-head {
  width: min(850px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}
.section-head p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
}
.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.feature-grid, .course-grid, .notice-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card, .course-card, .notice-grid article, .faq-list article {
  background: rgba(255, 253, 250, .78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(23, 32, 28, .05);
}
.feature-card h3, .notice-grid h3 { color: var(--leaf-dark); }
.feature-card p, .course-card p, .notice-grid p, .faq-list p, .article p { color: var(--muted); margin-bottom: 0; }
.course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course-card strong {
  color: var(--rose);
  font-size: 15px;
}
.course-card h3 {
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.two-col {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--leaf);
  font-weight: 900;
}
.faq-list {
  width: min(940px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.notice-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.regions { text-align: center; }
.region-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.region-links a {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
}
.article {
  width: min(940px, 100%);
  margin: 0 auto;
}
.article h2, .article .eyebrow { text-align: center; }
.article p { font-size: 18px; }
.search-form {
  display: grid;
  gap: 10px;
  margin: 32px 0;
}
.search-form label {
  font-weight: 800;
}
.search-form div {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.search-form input {
  width: min(520px, 100%);
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.search-results h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.service-area-grid {
  width: min(1160px, 100%);
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-area-page h1 { font-size: clamp(38px, 6vw, 64px); }
.service-area-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(23, 32, 28, .05);
}
.service-area-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.service-area-card div { padding: 22px; }
.service-area-card h2 {
  margin: 0 0 8px;
  color: var(--leaf-dark);
  font-size: 24px;
}
.service-area-card p {
  margin: 0;
  color: var(--muted);
}
.service-area-card strong {
  display: inline-block;
  margin-top: 14px;
  color: var(--rose);
}
.service-area-card:focus-visible {
  outline: 3px solid rgba(182, 139, 72, .45);
  outline-offset: 3px;
}

.final-cta {
  padding: clamp(70px, 8vw, 110px) 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf-dark), #2b5545 58%, #7b6551);
  text-align: center;
}
.final-cta p {
  max-width: 680px;
  margin: 0 auto;
  color: #f1e8d8;
}
.final-cta .cta-row { justify-content: center; }
.visit-alert-setting {
  margin: 0;
  padding: 22px clamp(18px, 5vw, 64px);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.visit-alert-toggle {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #c4540d;
  background: transparent;
  font: inherit;
  font-weight: 800;
  line-height: inherit;
  cursor: pointer;
}
.visit-alert-toggle.is-blocked { color: #1f7a45; }
.visit-alert-toggle:focus-visible {
  outline: 3px solid rgba(182, 139, 72, .45);
  outline-offset: 3px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px clamp(18px, 5vw, 64px);
  color: #e8e0d1;
  background: #121b17;
}
.footer p {
  max-width: 520px;
  margin: 8px 0 0;
  color: #bbb4a9;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

@media (max-width: 980px) {
  .feature-grid, .notice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid, .two-col { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .footer nav { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .hero {
    min-height: 760px;
    align-items: end;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(12, 18, 16, .18), rgba(12, 18, 16, .9) 56%, rgba(12, 18, 16, .96));
  }
  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 110px 0 54px;
  }
  .cta-row {
    flex-wrap: nowrap;
    align-items: center;
  }
  .btn {
    min-width: 118px;
    width: auto;
    padding: 11px 16px;
    font-size: 15px;
  }
  .feature-grid, .course-grid, .notice-grid { grid-template-columns: 1fr; }
  .service-area-grid { grid-template-columns: 1fr; }
  .feature-card, .course-card, .notice-grid article, .faq-list article { padding: 20px; }
  .search-form div { flex-direction: column; }
  .search-form .btn { width: fit-content; }
}
