/* ─────────────────────────────────────────────────
   Design Tokens  (Figma variables → CSS vars)
───────────────────────────────────────────────── */
:root {
  --col-brand: #0c70b5;
  --col-brand-secondary: #095080;
  --col-brand-soft: #b7dffa;
  --col-text: #181d27;
  --col-muted: #535862;
  --col-label: #414651;
  --col-placeholder: #717680;
  --col-border: #d5d7da;
  --col-divider: #e9eaeb;
  --col-bg: #ffffff;
  --col-bg-2: #fafafa;
  --col-kakao: #ffe812;

  --fs-disp-2xl: 72px; --lh-disp-2xl: 90px; --ls-disp-2xl: -1.44px;
  --fs-disp-xl:  60px; --lh-disp-xl:  72px; --ls-disp-xl:  -1.2px;
  --fs-disp-lg:  48px; --lh-disp-lg:  60px; --ls-disp-lg:  -0.96px;
  --fs-disp-md:  36px; --lh-disp-md:  44px; --ls-disp-md:  -0.72px;
  --fs-disp-sm:  30px; --lh-disp-sm:  38px;
  --fs-disp-xs:  24px; --lh-disp-xs:  32px;
  --fs-text-xl:  20px; --lh-text-xl:  30px;
  --fs-text-md:  16px; --lh-text-md:  24px;
  --fs-text-sm:  14px; --lh-text-sm:  20px;

  --r-md: 8px;
  --max-w: 1280px;
  --px: 80px;        /* 좌우 패딩 (Figma container x=80) */
}

/* ─────────────────────────────────────────────────
   Reset
───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--col-text);
  background: var(--col-bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─────────────────────────────────────────────────
   ① Navigation
───────────────────────────────────────────────── */
.top-nav {
  background: var(--col-brand-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: calc(var(--max-w) + var(--px) * 2);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-mark { width: 32px; height: 32px; border-radius: 999px; object-fit: contain; }
.logo-text  { width: 96px;  height: 32px; object-fit: contain; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  justify-content: center;
  font-size: var(--fs-text-md);
  font-weight: 500;
  color: var(--col-label);
}

.nav-cta {
  flex-shrink: 0;
  background: var(--col-brand);
  color: #fff;
  font-size: var(--fs-text-md);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--r-md);
  letter-spacing: 0;
  box-shadow: 0 1px 2px rgba(10,13,18,.05),
    inset 0 0 0 1px rgba(10,13,18,.18),
    inset 0 -2px 0 rgba(10,13,18,.05);
  border: 2px solid rgba(255,255,255,.12);
}

/* ─────────────────────────────────────────────────
   ② Hero
───────────────────────────────────────────────── */
.hero {
  background: var(--col-brand-soft);
  text-align: center;
}

.hero-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px var(--px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-title {
  font-size: var(--fs-disp-2xl);
  line-height: var(--lh-disp-2xl);
  letter-spacing: var(--ls-disp-2xl);
  font-weight: 600;
  color: var(--col-text);
  max-width: 1024px;
}

.hero-sub {
  margin-top: 24px;
  font-size: var(--fs-disp-sm);
  line-height: var(--lh-disp-sm);
  color: var(--col-muted);
  font-weight: 400;
  max-width: 768px;
}

.hero-cta {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--col-brand);
  color: #fff;
  font-size: var(--fs-text-md);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--r-md);
  min-width: 131px;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: 0 1px 2px rgba(10,13,18,.05),
    inset 0 0 0 1px rgba(10,13,18,.18),
    inset 0 -2px 0 rgba(10,13,18,.05);
}

/* hero-pattern: HTML에는 남아있지만 표출하지 않음 */
.hero-pattern {
  display: none;
}

/* ─────────────────────────────────────────────────
   ③ Headline  (Figma 사선 배경 밴드)
───────────────────────────────────────────────── */
.headline {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 0 0 64px;
  padding-bottom: 280px;
  text-align: center;
}

.headline-bg {
  position: absolute;
  inset: 0;
  background: url("/bg-headline.svg") left top / 100% auto no-repeat;
  pointer-events: none;
}

.headline-body {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--px) 0;
}

.headline-sub {
  font-size: var(--fs-disp-md);
  line-height: var(--lh-disp-md);
  letter-spacing: var(--ls-disp-md);
  font-weight: 700;
  color: var(--col-brand-secondary);
  margin-bottom: 12px;
}

.headline-title {
  font-size: var(--fs-disp-xl);
  line-height: var(--lh-disp-xl);
  letter-spacing: var(--ls-disp-xl);
  font-weight: 700;
  color: var(--col-text);
}

/* ─────────────────────────────────────────────────
   ④ Split intro (체크리스트 + 문서 이미지)
───────────────────────────────────────────────── */
.split-intro {
  background: #fff;
  /* Figma: Content y=60 (top gap) + section pb=96px */
  padding: 0px 0 96px;
}

.si-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 576px 1fr;
  gap: 64px;
  align-items: center;
}

.si-title {
  font-size: var(--fs-disp-md);
  line-height: var(--lh-disp-md);
  letter-spacing: var(--ls-disp-md);
  font-weight: 600;
  color: var(--col-text);
}
.si-title span { color: var(--col-brand); }

.si-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 16px;
}

.si-list li {
  position: relative;
  padding-left: 40px;
  font-size: var(--fs-disp-sm);
  line-height: var(--lh-disp-sm);
  color: var(--col-muted);
  font-weight: 500;
}

.si-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 28px;
  height: 28px;
  background: url("/images/icon-check.svg") center / contain no-repeat;
}

.si-image {
  /* Figma: Modern screen mockup — 원본 비율 그대로 */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}
.si-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ─────────────────────────────────────────────────
   ⑤ Testimonial
───────────────────────────────────────────────── */
.testimonial {
  background: var(--col-bg-2);
  padding: 96px 0;
  text-align: center;
}

.t-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;   /* Figma: container-padding-desktop = 32px */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.t-sub {
  font-size: var(--fs-disp-md);
  line-height: var(--lh-disp-md);
  letter-spacing: var(--ls-disp-md);
  font-weight: 500;
  color: var(--col-brand-secondary);
  margin-bottom: 20px;
}

.t-title {
  font-size: var(--fs-disp-2xl);
  line-height: var(--lh-disp-2xl);
  letter-spacing: var(--ls-disp-2xl);
  font-weight: 600;
  color: var(--col-text);
  max-width: 1216px;
  text-align: center;
}
.t-title span { color: var(--col-brand); }

.t-body {
  margin-top: 20px;
  max-width: 1216px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.t-body p {
  font-size: var(--fs-disp-xs);
  line-height: var(--lh-disp-xs);
  color: var(--col-muted);
  font-weight: 400;
}

/* section 앵커 점프 시 sticky header에 가려지지 않도록 */
#hero, #contact, #cases, #notice {
  scroll-margin-top: 80px;
}

/* ─────────────────────────────────────────────────
   ⑥ Contact + FAQ (2분할)
───────────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* 왼쪽 */
.c-left {
  background: #fff;
  padding: 96px 0;
  display: flex;
  justify-content: center;
}

.c-left-inner {
  width: 480px;
  max-width: 100%;
  padding: 0 32px;
}

.c-title {
  font-size: var(--fs-disp-lg);
  line-height: var(--lh-disp-lg);
  letter-spacing: var(--ls-disp-lg);
  font-weight: 700;
  text-align: center;
}

.c-btns {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 180px;
  height: 48px;
  border-radius: var(--r-md);
  font-size: var(--fs-text-md);
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: 0 1px 2px rgba(10,13,18,.05),
    inset 0 0 0 1px rgba(10,13,18,.18),
    inset 0 -2px 0 rgba(10,13,18,.05);
}
.cbtn img { width: 20px; height: 20px; object-fit: contain; }
.cbtn-blue   { background: var(--col-brand); color: #fff; }
.cbtn-yellow { background: var(--col-kakao); color: #020e17; }
.cbtn-full   { width: 100%; margin-top: 4px; height: 54px; font-size: var(--fs-text-xl); }

.c-desc {
  margin-top: 20px;
  font-size: var(--fs-disp-xs);
  line-height: var(--lh-disp-xs);
  color: var(--col-text);
  font-weight: 600;
  text-align: center;
}

/* 폼 */
.c-form { margin-top: 32px; }

.field { margin-top: 24px; }
.field:first-child { margin-top: 0; }

.field > label {
  display: block;
  font-size: var(--fs-text-sm);
  line-height: var(--lh-text-sm);
  font-weight: 500;
  color: var(--col-label);
  margin-bottom: 6px;
}
.req { color: var(--col-brand); }

input[type="text"],
input[type="tel"],
input:not([type="checkbox"]):not([type="submit"]):not([type="button"]),
textarea {
  width: 100%;
  border: 1px solid var(--col-border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: var(--fs-text-md);
  line-height: var(--lh-text-md);
  font-family: inherit;
  color: var(--col-text);
  background: #fff;
  box-shadow: 0 1px 2px rgba(10,13,18,.05);
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--col-placeholder); }
textarea { min-height: 128px; resize: vertical; }

.checks {
  display: flex;
  gap: 64px;
  margin-top: 4px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-text-md);
  color: var(--col-label);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-text-md);
  line-height: var(--lh-text-md);
  color: var(--col-label);
  cursor: pointer;
}
.consent-label a { text-decoration: underline; }

.result-msg {
  min-height: 20px;
  margin-top: 10px;
  font-size: var(--fs-text-sm);
  color: var(--col-brand);
}

/* 오른쪽 */
.c-right {
  background: var(--col-bg-2);
  padding: 96px 0;
  display: flex;
  justify-content: center;
}

.c-right-inner {
  width: 640px;
  max-width: 100%;
  padding: 0 40px;
}

.faq-heading {
  font-size: var(--fs-disp-2xl);
  line-height: var(--lh-disp-2xl);
  letter-spacing: var(--ls-disp-2xl);
  font-weight: 600;
  text-align: center;
}

.faq-lead {
  margin-top: 8px;
  font-size: var(--fs-disp-sm);
  line-height: var(--lh-disp-sm);
  color: var(--col-muted);
  font-weight: 400;
  text-align: center;
  margin-bottom: 64px;
}

.faq-list { }

.faq-item {
  border-top: 1px solid var(--col-divider);
  padding: 24px 0;
  cursor: pointer;
}

.faq-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.faq-q {
  font-size: var(--fs-disp-sm);
  line-height: var(--lh-disp-sm);
  font-weight: 600;
  color: var(--col-text);
}

.faq-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 6px; }

.faq-a {
  display: none;
  margin-top: 4px;
  font-size: var(--fs-text-xl);
  line-height: var(--lh-text-xl);
  color: var(--col-muted);
}

.faq-item.active .faq-a { display: block; }

/* ─────────────────────────────────────────────────
   ⑦ 성공사례
───────────────────────────────────────────────── */
.cases {
  background: var(--col-bg);
  padding: 96px 0;
}

.cases-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section-title {
  font-size: var(--fs-disp-2xl);
  line-height: var(--lh-disp-2xl);
  letter-spacing: var(--ls-disp-2xl);
  font-weight: 600;
  text-align: center;
}
.section-title span { color: var(--col-brand); }

.section-sub {
  margin-top: 12px;
  margin-bottom: 50px;
  font-size: var(--fs-disp-sm);
  line-height: var(--lh-disp-sm);
  color: var(--col-muted);
  font-weight: 600;
  text-align: center;
}

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

.case-card {
  position: relative;
  aspect-ratio: 384 / 512;
  overflow: hidden;
  background: #ccc;
  border-radius: 4px;
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background:
    linear-gradient(to top, rgba(0,0,0,.45) 0%, rgba(0,0,0,.06) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.3);
}

.case-overlay h4 {
  font-size: var(--fs-disp-lg);
  line-height: var(--lh-disp-lg);
  letter-spacing: var(--ls-disp-lg);
  font-weight: 600;
  color: #fff;
}

.case-overlay p {
  margin-top: 4px;
  font-size: var(--fs-disp-xs);
  line-height: var(--lh-disp-xs);
  font-weight: 600;
  color: #fff;
}

/* ─────────────────────────────────────────────────
   ⑧ 공지사항
───────────────────────────────────────────────── */
.notice {
  background: var(--col-bg-2);
  padding: 96px 0;
}

.notice-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.notice-list { }

.notice-item {
  border-top: 1px solid var(--col-divider);
  padding: 24px 0;
  cursor: pointer;
}

.notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.notice-title {
  font-size: var(--fs-disp-sm);
  line-height: var(--lh-disp-sm);
  font-weight: 600;
  color: var(--col-text);
}

.notice-icon-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.notice-arrow { width: 24px; height: 24px; opacity: .5; display: block; }

.notice-body {
  display: none;
  margin-top: 10px;
  font-size: 18px;
  line-height: 28px;
  color: var(--col-muted);
}

.notice-item.active .notice-body { display: block; }

/* ─────────────────────────────────────────────────
   ⑨ Footer
───────────────────────────────────────────────── */
.footer {
  background: var(--col-bg-2);
  padding: 64px 0 48px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--px) 0;
  border-top: 1px solid var(--col-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  font-size: var(--fs-text-md);
  line-height: var(--lh-text-md);
  color: var(--col-placeholder);
}

/* ─────────────────────────────────────────────────
   ⑩ 공용 모달 (성공사례 / 공지사항)
───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 13, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow:
    0 24px 48px rgba(10,13,18,.16),
    0 8px 16px rgba(10,13,18,.08);
  transform: translateY(12px) scale(.98);
  transition: transform .24s cubic-bezier(.34,1.56,.64,1);
  position: relative;
}
.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1);
}

/* 성공사례 모달 — 이미지 상단 풀블리드 */
.modal-case-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  display: block;
}

.modal-body {
  padding: 32px 36px 40px;
}

.modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--col-brand-soft);
  color: var(--col-brand);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.modal-title {
  font-size: var(--fs-disp-md);
  line-height: var(--lh-disp-md);
  letter-spacing: var(--ls-disp-md);
  font-weight: 700;
  color: var(--col-text);
  margin-bottom: 8px;
}

.modal-location {
  font-size: var(--fs-text-md);
  color: var(--col-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-location::before {
  content: "📍";
  font-size: 14px;
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--col-divider);
  margin: 0 0 24px;
}

.modal-content {
  font-size: 17px;
  line-height: 28px;
  color: var(--col-muted);
  white-space: pre-wrap;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(10,13,18,.15);
  font-size: 18px;
  color: var(--col-text);
  line-height: 1;
  transition: background .15s;
}
.modal-close:hover { background: #fff; }

/* 성공사례 카드 호버 */
.case-card {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10,13,18,.18);
}

/* 공지 아이콘 클릭 영역 강조 */
.notice-arrow {
  transition: opacity .15s;
  cursor: pointer;
}
.notice-item:hover .notice-arrow { opacity: 1; }

/* ─────────────────────────────────────────────────
   Admin styles
───────────────────────────────────────────────── */
.admin-body { background: #f4f7fb; }

.admin-header {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h1 { font-size: 20px; }

.admin-main {
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 14px;
}

.admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; }

.admin-tabs button {
  border: 1px solid #d8deea;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
}
.admin-tabs button.active {
  background: var(--col-brand);
  color: #fff;
  border-color: var(--col-brand);
}

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-form { display: grid; gap: 10px; margin-bottom: 18px; }
.admin-form > div { display: flex; gap: 8px; }

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid #d5d7da;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
}

.admin-list { border-top: 1px solid var(--col-divider); }

.admin-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--col-divider);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.admin-item p { margin: 2px 0; font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
}
.btn-primary { background: var(--col-brand); color: #fff; border-color: var(--col-brand); }
.btn-sm { padding: 8px 12px; font-size: 12px; }

/* ─────────────────────────────────────────────────
   Responsive  — ≤1024px  (태블릿 가로)
───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --px: 40px; }

  /* Nav */
  .nav-menu { display: none; }

  /* Hero */
  .hero { padding-bottom: 0; }
  .hero-body { padding: 72px var(--px) 32px; }
  .hero-title { font-size: 48px; line-height: 58px; letter-spacing: -0.96px; }
  .hero-sub   { font-size: 20px; line-height: 30px; margin-top: 16px; margin-bottom: 0; }
  .hero-cta   { margin-top: 32px; }

  /* Headline */
  .headline { padding: 0 0 48px; }
  .headline-body { padding: 48px var(--px) 0; }
  .headline-title { font-size: 40px; line-height: 50px; letter-spacing: -0.8px; }
  .headline-sub   { font-size: 22px; line-height: 30px; margin-bottom: 10px; }

  /* Split intro */
  .split-intro { padding: 48px 0 72px; }
  .si-container { grid-template-columns: 1fr; gap: 32px; padding: 0 var(--px); }
  .si-title     { font-size: 26px; line-height: 36px; letter-spacing: -0.52px; }
  .si-list      { margin-top: 24px; gap: 14px; }
  .si-list li   { font-size: 20px; line-height: 30px; }

  /* Testimonial */
  .testimonial { padding: 72px 0; }
  .t-inner { padding: 0 var(--px); }
  .t-sub   { font-size: 22px; line-height: 30px; margin-bottom: 12px; }
  .t-title { font-size: 44px; line-height: 56px; letter-spacing: -0.88px; text-align: center; }
  .t-body  { margin-top: 16px; gap: 16px; }
  .t-body p { font-size: 17px; line-height: 26px; }

  /* Contact + FAQ — 1컬럼 */
  .contact-wrap { grid-template-columns: 1fr; }
  .c-left  { padding: 56px 0; }
  .c-right { padding: 56px 0; }
  .c-left-inner  { width: 100%; padding: 0 var(--px); }
  .c-right-inner { width: 100%; padding: 0 var(--px); }
  .c-title { font-size: 38px; line-height: 48px; }
  .c-btns  { gap: 10px; }
  .c-desc  { font-size: 18px; line-height: 26px; }

  .faq-heading { font-size: 40px; line-height: 50px; }
  .faq-lead    { font-size: 18px; line-height: 26px; margin-bottom: 40px; }
  .faq-q       { font-size: 20px; line-height: 28px; }
  .faq-a       { font-size: 16px; line-height: 24px; }

  /* Cases */
  .cases { padding: 72px 0; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-title { font-size: 40px; line-height: 50px; letter-spacing: -0.8px; }
  .section-sub   { font-size: 18px; line-height: 26px; margin-bottom: 32px; }
  .case-overlay h4 { font-size: 26px; line-height: 34px; }
  .case-overlay p  { font-size: 15px; line-height: 22px; }

  /* Notice */
  .notice { padding: 72px 0; }
  .notice-title { font-size: 20px; line-height: 28px; }
}

/* ─────────────────────────────────────────────────
   Responsive  — ≤768px  (태블릿 세로)
───────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --px: 24px; }

  /* Nav */
  .nav-container { padding: 0 var(--px); height: 64px; }
  .logo-text { width: 80px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }

  /* Hero */
  .hero-body { padding: 56px var(--px) 24px; }
  .hero-title { font-size: 36px; line-height: 46px; letter-spacing: -0.72px; }
  .hero-sub   { font-size: 17px; line-height: 26px; }
  .hero-cta   { margin-top: 28px; min-width: 120px; height: 44px; font-size: 15px; }

  /* Headline */
  .headline { padding: 0 0 40px; }
  .headline-body { padding: 40px var(--px) 0; }
  .headline-title { font-size: 30px; line-height: 40px; letter-spacing: -0.6px; }
  .headline-sub   { font-size: 18px; line-height: 26px; }

  /* Split */
  .split-intro { padding: 40px 0 56px; }
  .si-container { gap: 24px; }
  .si-title   { font-size: 22px; line-height: 32px; }
  .si-list li { font-size: 17px; line-height: 26px; padding-left: 34px; }
  .si-list li::before { width: 24px; height: 24px; }

  /* Testimonial */
  .testimonial { padding: 56px 0; }
  .t-sub   { font-size: 18px; line-height: 26px; }
  .t-title { font-size: 32px; line-height: 42px; letter-spacing: -0.64px; }
  .t-body p { font-size: 15px; line-height: 24px; }

  /* Contact */
  .c-left  { padding: 48px 0; }
  .c-right { padding: 48px 0; }
  .c-title { font-size: 30px; line-height: 40px; }
  .c-btns  { flex-direction: column; }
  .cbtn    { width: 100%; }
  .c-desc  { font-size: 16px; line-height: 24px; }

  .faq-heading { font-size: 32px; line-height: 42px; }
  .faq-lead    { font-size: 16px; line-height: 24px; margin-bottom: 32px; }
  .faq-q       { font-size: 17px; line-height: 26px; }

  /* Cases */
  .cases { padding: 56px 0; }
  .section-title { font-size: 30px; line-height: 40px; }
  .section-sub   { font-size: 16px; line-height: 24px; margin-bottom: 24px; }
  .case-overlay  { padding: 14px; }
  .case-overlay h4 { font-size: 20px; line-height: 28px; }
  .case-overlay p  { font-size: 13px; line-height: 20px; margin-top: 2px; }

  /* Notice */
  .notice { padding: 56px 0; }
  .notice-title { font-size: 17px; line-height: 25px; }
  .notice-item { padding: 18px 0; }
}

/* ─────────────────────────────────────────────────
   Responsive  — ≤480px  (모바일)
───────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --px: 20px; }

  /* Nav */
  .nav-container { height: 60px; }
  .logo-mark { width: 28px; height: 28px; }
  .logo-text { width: 72px; height: 28px; }
  .nav-cta { font-size: 12px; padding: 8px 12px; }

  /* Hero */
  .hero { padding-bottom: 0; }
  .hero-body { padding: 48px var(--px) 20px; }
  .hero-title { font-size: 28px; line-height: 38px; letter-spacing: -0.56px; }
  .hero-sub   { font-size: 15px; line-height: 23px; margin-top: 12px; width: 100%; }
  .hero-cta   { margin-top: 24px; width: 100%; justify-content: center; }

  /* Headline */
  .headline { padding: 0 0 32px; }
  .headline-body { padding: 32px var(--px) 0; }
  .headline-title { font-size: 24px; line-height: 34px; letter-spacing: -0.48px; }
  .headline-sub   { font-size: 15px; line-height: 22px; }

  /* Split */
  .split-intro { padding: 32px 0 48px; }
  .si-container { gap: 20px; }
  .si-title   { font-size: 20px; line-height: 30px; }
  .si-list    { margin-top: 20px; gap: 12px; }
  .si-list li { font-size: 15px; line-height: 23px; padding-left: 30px; }
  .si-list li::before { width: 20px; height: 20px; top: 2px; }

  /* Testimonial */
  .testimonial { padding: 48px 0; }
  .t-inner { padding: 0 var(--px); }
  .t-sub   { font-size: 15px; line-height: 22px; margin-bottom: 8px; }
  .t-title { font-size: 26px; line-height: 36px; letter-spacing: -0.52px; }
  .t-body  { margin-top: 12px; gap: 12px; }
  .t-body p { font-size: 14px; line-height: 22px; }

  /* Contact */
  .c-left  { padding: 40px 0; }
  .c-right { padding: 40px 0; }
  .c-left-inner  { padding: 0 var(--px); }
  .c-right-inner { padding: 0 var(--px); }
  .c-title { font-size: 26px; line-height: 36px; letter-spacing: -0.52px; }
  .c-btns  { margin-top: 16px; margin-bottom: 24px; gap: 8px; }
  .cbtn    { height: 44px; font-size: 15px; }
  .cbtn-full { height: 48px; font-size: 16px; }
  .c-desc  { font-size: 14px; line-height: 22px; margin-bottom: 20px; }
  .c-form  { margin-top: 24px; }
  .field   { margin-top: 16px; }

  .faq-heading { font-size: 26px; line-height: 36px; }
  .faq-lead    { font-size: 14px; line-height: 22px; margin-bottom: 24px; }
  .faq-q       { font-size: 15px; line-height: 23px; }
  .faq-a       { font-size: 14px; line-height: 22px; }
  .faq-icon    { width: 20px; height: 20px; margin-top: 2px; }
  .faq-item    { padding: 16px 0; }

  /* Cases */
  .cases { padding: 48px 0; }
  .case-grid { grid-template-columns: 1fr; gap: 12px; }
  .section-title { font-size: 26px; line-height: 36px; }
  .section-sub   { font-size: 14px; line-height: 22px; margin-bottom: 20px; }
  .case-overlay  { padding: 12px 16px; }
  .case-overlay h4 { font-size: 18px; line-height: 26px; letter-spacing: -0.36px; }
  .case-overlay p  { font-size: 13px; line-height: 20px; }

  /* Notice */
  .notice { padding: 48px 0; }
  .notice-title { font-size: 15px; line-height: 23px; }
  .notice-item { padding: 16px 0; }
  .notice-arrow { width: 20px; height: 20px; }

  /* Footer */
  .footer { padding: 40px 0 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; }
  .footer-inner p { font-size: 13px; }

  /* Modal */
  .modal-box { border-radius: 16px; }
  .modal-body { padding: 24px 20px 32px; }
  .modal-title { font-size: 22px; line-height: 30px; }
  .modal-content { font-size: 15px; line-height: 24px; }
  .modal-case-img { border-radius: 16px 16px 0 0; }
}

/* ── 약관보기 버튼 ── */
.privacy-link {
  background: none;
  border: none;
  color: #2563eb;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.privacy-link:hover { color: #1d4ed8; }

/* ── 약관 모달 본문 ── */
.privacy-text {
  font-family: inherit;
  font-size: 16px;
  line-height: 2;
  color: #374151;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  max-height: 60vh;
  overflow-y: auto;
}

/* ── 관리자 SEO 설정 UI ── */
.admin-seo-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}
.admin-seo-group {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.admin-seo-group h3 {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 14px;
}
.admin-seo-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-top: 12px;
  margin-bottom: 4px;
}
.seo-hint {
  font-weight: 400;
  color: #9ca3af;
  font-size: 12px;
}

/* ── 관리자 이미지 업로드 UI ── */
.image-upload-field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.image-upload-field input[type="file"] {
  display: none;
}
.upload-status {
  font-size: 13px;
}
.upload-status.uploading { color: #888; }
.upload-status.success   { color: #16a34a; }
.upload-status.error     { color: #dc2626; }
.image-preview {
  margin-top: 8px;
}
.upload-preview-img {
  max-width: 240px;
  max-height: 160px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  object-fit: cover;
}
.case-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 6px;
  display: block;
}
.no-image {
  font-size: 12px;
  color: #9ca3af;
}
