/* ============================================================
   창업동행 랜딩페이지 스타일
   구성: 1) 변수와 기본값  2) 공통 요소  3) 헤더  4) 히어로
        5) 서비스 특징  6) 프로그램  7) 후기 슬라이더
        8) 영상  9) 문의 양식  10) 푸터  11) 반응형
   ============================================================ */

/* ===== 1. 변수와 기본값 ===== */
:root {
  --blue-50:  #f2f7ff;
  --blue-100: #e2ecfd;
  --blue-200: #c7dbfb;
  --blue-300: #93b8f5;
  --blue-500: #2f6bff;
  --blue-600: #1d51e0;
  --blue-700: #1740b4;
  --navy-800: #16255c;
  --navy-900: #0e1a41;

  --ink:      #17203a;
  --ink-soft: #4a5773;
  --ink-mute: #77839f;
  --line:     #e3e9f4;
  --line-soft:#eef2f9;
  --white:    #ffffff;

  --danger:   #d13c3c;
  --success:  #12885c;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(23, 32, 58, .06);
  --shadow:    0 10px 30px rgba(23, 45, 110, .08);
  --shadow-lg: 0 24px 60px rgba(23, 45, 110, .14);

  --header-h: 68px;
  --font: "Pretendard", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo",
          system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;      /* 한국어 줄바꿈을 어절 단위로 */
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
/* display 값이 지정된 요소에도 hidden 속성이 동작하도록 */
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.32; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  background: var(--blue-600); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 8px; font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ===== 2. 공통 요소 ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 84px 0; }
.section-tint { background: var(--blue-50); }

.section-head {
  max-width: 660px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--blue-200); background: rgba(255, 255, 255, .12); }

.section-title { font-size: clamp(24px, 4.4vw, 36px); margin-bottom: 14px; }
.section-desc { color: var(--ink-soft); font-size: 16px; }
.section-desc-light { color: rgba(255, 255, 255, .78); }

.section-note {
  margin-top: 36px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 15px;
}

.text-accent { color: var(--blue-600); }

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s,
              transform .12s, box-shadow .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 107, 255, .28);
}
.btn-primary:hover { background: var(--blue-600); }

.btn-outline {
  background: #fff;
  color: var(--blue-600);
  border-color: var(--blue-200);
}
.btn-outline:hover { border-color: var(--blue-500); background: var(--blue-50); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-300); color: var(--blue-700); }

.btn[disabled] { cursor: not-allowed; opacity: .75; box-shadow: none; }
.btn[disabled]:active { transform: none; }

/* 전송 중 표시되는 작은 회전 아이콘 */
.btn-spinner { display: none; }
.btn.is-loading .btn-spinner {
  display: block;
  width: 17px; height: 17px;
  border: 2.5px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

.btn-sm  { padding: 9px 16px; font-size: 14px; }
.btn-lg  { padding: 15px 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* 3열 그리드 */
.grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

/* 스크롤 등장 효과 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001s !important; }
}

/* ===== 3. 헤더 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--blue-500);
  color: #fff;
  border-radius: 10px;
  flex: 0 0 auto;
}
.brand-mark svg { width: 20px; height: 20px; }

/* 모바일: 슬라이드 메뉴 */
.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 12px 20px 22px;
  display: none;
}
.nav.is-open { display: block; }

.nav-list { display: flex; flex-direction: column; }
.nav-list a {
  display: block;
  padding: 13px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--blue-600); }

.nav-cta { margin-top: 18px; width: 100%; }

.nav-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars span {
  display: block; width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== 4. 히어로 ===== */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(900px 420px at 12% -10%, var(--blue-100), transparent 65%),
    radial-gradient(700px 380px at 95% 5%, #eef4ff, transparent 60%),
    var(--white);
}

.hero-inner { display: grid; gap: 44px; }

.hero-title { font-size: clamp(32px, 8vw, 56px); margin-bottom: 20px; }
.hero-desc { color: var(--ink-soft); font-size: 17px; max-width: 520px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--ink-mute);
  font-size: 14px;
}
.hero-notes li { display: flex; align-items: center; gap: 7px; }
.hero-notes li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-300);
}

/* 히어로 장식 카드 */
.hero-panel { display: flex; justify-content: center; }
.panel-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 24px;
}
.panel-label {
  font-size: 13px; font-weight: 700; color: var(--ink-mute);
  letter-spacing: .04em; margin-bottom: 16px;
}
.panel-steps { display: grid; gap: 10px; margin-bottom: 20px; }
.panel-steps li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--ink-mute);
}
.panel-steps li span {
  width: 26px; height: 26px; flex: 0 0 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--ink-mute);
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 700;
}
.panel-steps li.done { color: var(--ink); }
.panel-steps li.done span {
  background: var(--blue-100); border-color: var(--blue-200); color: var(--blue-700);
}
.panel-steps li.active { color: var(--ink); font-weight: 700; }
.panel-steps li.active span {
  background: var(--blue-500); border-color: var(--blue-500); color: #fff;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .16);
}
.panel-bar {
  height: 8px; border-radius: 999px;
  background: var(--blue-100); overflow: hidden;
}
.panel-bar span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
}
.panel-foot { margin-top: 12px; font-size: 13px; color: var(--ink-mute); }

/* 지표 */
.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats li {
  background: #fff;
  padding: 22px 18px;
  text-align: center;
}
.stats strong {
  display: block;
  font-size: clamp(24px, 5vw, 32px);
  color: var(--blue-600);
  letter-spacing: -0.03em;
}
.stats strong span { font-size: .55em; margin-left: 2px; }
.stats-label { font-size: 13px; color: var(--ink-mute); }

/* ===== 5. 서비스 특징 ===== */
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

.feature-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 8px;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink);
}
.feature-list li::before {
  content: "";
  position: absolute; left: 4px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-300);
}

/* ===== 6. 프로그램 카드 ===== */
.program {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.program-featured {
  border-color: var(--blue-500);
  box-shadow: 0 18px 44px rgba(29, 81, 224, .16);
}
.program-badge {
  position: absolute;
  top: -13px; left: 24px;
  background: var(--blue-500);
  color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.program-tag {
  font-size: 13px; font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 8px;
}
.program-title { font-size: 21px; margin-bottom: 10px; }
.program-sum { color: var(--ink-soft); font-size: 15px; }

.program-meta {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.program-meta > div { display: flex; gap: 12px; }
.program-meta dt { flex: 0 0 44px; color: var(--ink-mute); }
.program-meta dd { font-weight: 600; }

.program-points { display: grid; gap: 10px; margin-bottom: 26px; }
.program-points li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.program-points li::before {
  content: "";
  position: absolute; left: 2px; top: 7px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--blue-500);
  border-bottom: 2px solid var(--blue-500);
  transform: rotate(-45deg);
}
.program .btn { margin-top: auto; }

/* ===== 7. 후기 슬라이더 ===== */
.slider { max-width: 780px; margin: 0 auto; }
.slider-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.slide { flex: 0 0 100%; min-width: 0; }

.review {
  margin: 0;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.review-quote {
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.75;
  color: var(--ink);
  font-weight: 500;
}
.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.review-avatar {
  width: 44px; height: 44px; flex: 0 0 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-500);
  color: #fff;
  font-weight: 700;
}
.review-meta strong { display: block; font-size: 15px; }
.review-sub { font-size: 13px; color: var(--ink-mute); }
.review-result {
  margin-top: 20px;
  display: inline-block;
  background: #fff;
  border: 1px solid var(--blue-200);
  color: var(--blue-700);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.slider-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s, color .18s, background-color .18s;
}
.slider-btn:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }

.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 9px; height: 9px; padding: 0;
  border: none; border-radius: 50%;
  background: var(--blue-200);
  cursor: pointer;
  transition: width .2s, background-color .2s;
}
.slider-dots button[aria-selected="true"] {
  width: 26px; border-radius: 999px; background: var(--blue-500);
}

/* ===== 8. 영상 영역 ===== */
.section-dark {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, #1b3175);
  color: #fff;
}
.section-dark .section-title { color: #fff; }

/* 영상 영역: 가로 너비에 맞춰 늘어나고 16:9 비율을 유지 */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1330;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-lg);
}

/* aspect-ratio를 지원하지 않는 구형 브라우저용 비율 유지 방법 */
@supports not (aspect-ratio: 16 / 9) {
  .video-frame { height: 0; padding-top: 56.25%; }
}

.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
/* 자바스크립트가 꺼진 경우에만 표시되며, 재생 버튼 위를 덮습니다 */
.video-frame noscript {
  position: absolute; inset: 0; z-index: 2;
}

/* 영상 아래 안내 문구 */
.video-caption {
  margin: 22px auto 0;
  max-width: 800px;
  text-align: center;
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.video-caption::after {
  content: "";
  display: block;
  width: 40px; height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--blue-300);
}

.video-list {
  max-width: 800px;
  margin: 22px auto 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.video-list li {
  position: relative;
  padding: 8px 16px 8px 30px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  font-size: 14.5px;
}
.video-list li::before {
  content: "";
  position: absolute; left: 15px; top: 50%;
  margin-top: -5px;
  width: 0; height: 0;
  border-left: 8px solid var(--blue-300);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.video-note {
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .58);
}
.video-facade {
  position: absolute; inset: 0;
  width: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(47, 107, 255, .35), transparent 70%),
    #101c44;
  border: 0;
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background-color .2s;
}
.video-facade:hover .video-play { transform: scale(1.08); background: var(--blue-500); }
.video-play {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4);
  margin-bottom: 8px;
  transition: transform .2s, background-color .2s;
}
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-label { font-size: 17px; font-weight: 700; }
.video-sub { font-size: 13px; color: rgba(255, 255, 255, .65); }

/* ===== 9. 문의 양식 ===== */
.contact-inner { display: grid; gap: 40px; }
.contact-aside .section-title { margin-bottom: 14px; }

.contact-info {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.contact-info li {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
}
.contact-info-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: .04em;
}
.contact-info a { font-weight: 600; }
.contact-info a:hover { color: var(--blue-600); text-decoration: underline; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 24px;
}

.form-required-note {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 16px;
}

/* 제출 시 나타나는 필수 항목 안내 */
.form-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding: 16px 18px;
  background: #fff5f5;
  border: 1.5px solid #f3c9c9;
  border-radius: var(--radius-sm);
}
.form-alert-icon {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.form-alert strong { display: block; font-size: 14.5px; color: #a52c2c; }
.form-alert ul { margin-top: 8px; display: grid; gap: 6px; }
.form-alert li { font-size: 13.5px; }
.form-alert a { color: #a52c2c; text-decoration: underline; }
.form-alert a:hover { color: var(--danger); }

/* 이름·연락처는 넓은 화면에서 두 칸으로 */
.field-row { display: grid; gap: 0; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 7px;
}
.req { color: var(--danger); }
.opt {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
  background: var(--line-soft);
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: 1px;
}
.field-help { margin-top: 6px; font-size: 12.5px; color: var(--ink-mute); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;               /* 모바일에서 누르기 쉬운 높이 */
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;                /* iOS에서 초점 시 화면 확대를 막는 최소 크기 */
  color: var(--ink);
  background: #fbfcff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%),
                    linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .16);
}
.field input.has-error,
.field textarea.has-error {
  border-color: var(--danger);
  background: #fff7f7;
}

.counter { margin-top: 6px; font-size: 12.5px; color: var(--ink-mute); text-align: right; }
.error { margin-top: 6px; font-size: 13px; color: var(--danger); font-weight: 600; }

/* 체크박스: 글자까지 눌러도 선택되도록 label 전체를 터치 영역으로 */
.field-check { margin-bottom: 24px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14.5px;
  cursor: pointer;
  margin-bottom: 0;
}
.check:hover { border-color: var(--blue-300); }
.check input {
  width: 22px; height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
  accent-color: var(--blue-500);
  cursor: pointer;
}
.check-help {
  margin: 8px 0 0 4px;
  font-size: 12.5px;
  color: var(--ink-mute);
}

.form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* 전송 실패 안내 (제출 버튼 위) */
.form-error {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fff5f5;
  border: 1.5px solid #f3c9c9;
  border-radius: var(--radius-sm);
  color: #a52c2c;
}
.form-error strong { font-size: 14.5px; }
.form-error-detail { font-size: 13px; color: #8d4141; }

/* 접수 완료 패널 */
.form-done { text-align: center; padding: 16px 4px; }
.form-done-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e6f7ef;
  color: var(--success);
}
.form-done-icon svg { width: 28px; height: 28px; }
.form-done h3 { font-size: clamp(19px, 3.4vw, 22px); margin-bottom: 10px; }
.form-done > p { color: var(--ink-soft); font-size: 15px; }
.form-done > .form-done-note {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  color: var(--ink-mute);
}
.form-done-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 16px;
}
.form-done-links .btn { flex: 1 1 170px; }

/* ===== 10. 푸터 ===== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .7);
  padding: 56px 0 28px;
  font-size: 14.5px;
}
.footer-inner {
  display: grid;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.brand-light { color: #fff; }
.brand-light .brand-mark { background: rgba(255, 255, 255, .14); }

.footer-tagline { margin-top: 14px; font-size: 14px; line-height: 1.8; }

.footer-heading {
  font-size: 14px;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.footer-nav ul, .footer-company ul { display: grid; gap: 9px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-company li { font-size: 13.5px; line-height: 1.65; }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.footer-policy { display: flex; gap: 18px; }
.footer-policy a:hover { color: #fff; text-decoration: underline; }

/* 맨 위로 버튼 */
.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--blue-600);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-size: 20px;
  transition: transform .18s, background-color .18s, color .18s;
}
.to-top:hover { background: var(--blue-500); color: #fff; transform: translateY(-3px); }

/* ============================================================
   11. 반응형
   ============================================================ */

/* 태블릿 이상 */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .contact-form-wrap { padding: 36px 34px; }
  .review { padding: 40px 38px; }
  /* 이름 · 연락처를 나란히 배치 */
  .field-row { grid-template-columns: 1fr 1fr; gap: 0 16px; }
}

@media (min-width: 860px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 100px 0; }
  .hero { padding: 76px 0 92px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .hero-panel { justify-content: flex-end; }
  .contact-inner { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 56px; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 32px); }
  .section-head { margin-bottom: 56px; }
  .footer-inner { grid-template-columns: 1.4fr .7fr 1fr; gap: 40px; }
  .to-top { right: 28px; bottom: 28px; }
}

/* 데스크톱: 가로 메뉴 */
@media (min-width: 1000px) {
  :root { --header-h: 76px; }

  .nav-toggle { display: none; }

  /* is-open 상태가 남아 있어도 가로 메뉴가 유지되도록 함께 지정 */
  .nav,
  .nav.is-open {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-list { flex-direction: row; gap: 4px; }
  .nav-list a {
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
  }
  .nav-list a:hover { background: var(--blue-50); }
  .nav-list a.is-active { background: var(--blue-100); color: var(--blue-700); }
  .nav-cta { margin: 0 0 0 10px; width: auto; }

  .program { padding: 32px 28px; }
  .feature { padding: 34px 30px; }
}
