/* KSVF 2026 — Partner Recruitment pages
 *  - /ksvf/2026/partner.do        (안내 페이지)
 *  - /ksvf/2026/partner-agree.do  (참가규정·개인정보 동의 페이지)
 *
 *  다크 테마 + 우주 별 배경. 홈화면(index.jsp)과 동일한 톤을 유지하되
 *  hero 대신 컴팩트한 subpage-header 를 사용한다.
 */

/* ============================================================
   Sub-page header — 상단 nav + 페이지 인트로
   ============================================================ */
.subpage-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 64px;
}
.subpage-bg { position: absolute; inset: 0; pointer-events: none; }
.subpage-bg.gradient {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%,  rgba(26, 58, 140, .55), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(157, 123, 255, .18), transparent 60%),
    radial-gradient(ellipse 50% 30% at 20% 100%, rgba(62, 224, 216, .14), transparent 60%);
}
.subpage-bg.stars { z-index: 0; }
.subpage-bg.stars span {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: ksvfStarTwinkle var(--dur, 6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes ksvfStarTwinkle {
  0%, 100% { opacity: 0;  transform: scale(.6); }
  50%      { opacity: .9; transform: scale(1);  }
}

/* 헤더 내 nav는 components.css 의 .nav 스타일을 그대로 재사용 */
.subpage-header .nav { position: relative; z-index: 10; }

/* 현재 메뉴 강조 — "파트너 기관 공모" */
.nav-links a.is-active {
  color: var(--accent-mint);
  position: relative;
}
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent-mint);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(125, 240, 160, .5);
}

/* 인트로 영역 */
.subpage-intro {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 32px 0;
  text-align: center;
}
.subpage-intro .section-kicker {
  display: inline-block;
  margin-bottom: var(--sp-4);
}
.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink-on-dark-0);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-4);
}
.subpage-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-on-dark-1);
}

/* ============================================================
   Step indicator (01 공모 안내 → 02 동의 → 03 신청)
   ============================================================ */
.step-indicator {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-4);
  margin: 40px auto 0;
  flex-wrap: nowrap;
}
.step-indicator .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 96px;
}
.step-indicator .step-num {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-on-dark-3);
  transition: all .2s ease;
}
.step-indicator .step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-on-dark-3);
  text-transform: uppercase;
}
.step-indicator .step.is-current .step-num {
  background: var(--accent-mint);
  border-color: var(--accent-mint);
  color: var(--bg-0);
  box-shadow: var(--shadow-glow-mint);
}
.step-indicator .step.is-current .step-label {
  color: var(--ink-on-dark-0);
}
.step-indicator .step.is-done .step-num {
  background: rgba(125, 240, 160, .15);
  border-color: rgba(125, 240, 160, .5);
  color: var(--accent-mint);
}
.step-indicator .step.is-done .step-label {
  color: var(--ink-on-dark-1);
}
.step-indicator .step-line {
  flex: 0 0 60px;
  height: 2px;
  background: rgba(255, 255, 255, .12);
  border-radius: 2px;
}
.step-indicator .step-line.is-done {
  background: rgba(125, 240, 160, .5);
  box-shadow: 0 0 6px rgba(125, 240, 160, .35);
}

/* ============================================================
   Main content layout
   ============================================================ */
.partner-main {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 32px 0;
}
.partner-section {
  margin-bottom: 72px;
}
.partner-section:last-child {
  margin-bottom: 96px;
}

/* 인트로 요약 카드 */
.partner-summary-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-lg);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.partner-summary-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 0% 0%, rgba(62, 224, 216, .08), transparent 60%);
  pointer-events: none;
}
.partner-summary-card > * { position: relative; }
.partner-summary-card p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-on-dark-1);
}
.partner-summary-card p + p { margin-top: var(--sp-5); }
.partner-summary-card strong {
  color: var(--ink-on-dark-0);
  font-weight: 700;
}
.partner-summary-card mark {
  background: linear-gradient(transparent 62%, rgba(125, 240, 160, .25) 62%);
  color: var(--ink-on-dark-0);
  font-weight: 700;
  padding: 0 2px;
}
.partner-summary-card .lead {
  font-size: 18px;
  line-height: 1.7;
}
.partner-summary-card .cta-copy {
  margin-top: var(--sp-7);
  font-size: 17px;
  color: var(--ink-on-dark-0);
  font-weight: 500;
}

/* 키 정보 그리드 (행사일정 / 모집기간 / 모집분야) */
.key-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  padding-top: var(--sp-7);
  border-top: 1px dashed rgba(255, 255, 255, .12);
}
.key-info-card {
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.key-info-card .ki-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-mint);
}
.key-info-card .ki-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-on-dark-0);
  letter-spacing: -.01em;
}
.key-info-card .ki-sub {
  font-size: 12px;
  color: var(--ink-on-dark-3);
}

/* ============================================================
   Section head (■ 마커형)
   ============================================================ */
.ps-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--sp-6);
}
.ps-bar {
  display: inline-block;
  width: 4px; height: 22px;
  background: var(--accent-mint);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(125, 240, 160, .5);
}
.ps-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--ink-on-dark-0);
  letter-spacing: -.01em;
}
.ps-body {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .06);
  margin-left: 2px;
}
.ps-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-on-dark-1);
}
.ps-foot {
  margin-top: var(--sp-3);
  font-size: 13px;
  color: var(--ink-on-dark-3);
  line-height: 1.6;
}

/* ============================================================
   공모 분야 카드
   ============================================================ */
.field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.field-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .15s ease, border-color .15s ease;
}
.field-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 240, 160, .35);
}
.field-card .field-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 500;
}
.field-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-on-dark-1);
}

/* ============================================================
   Schedule table (1일차 / 2일차 시간표)
   ============================================================ */
.schedule-table-wrap {
  margin-top: var(--sp-6);
}
/* 1일차 / 2일차 분리표 — 각 표가 좁은 3컬럼이라 폰 폭에 그대로 들어감(가로 스크롤 불필요) */
.schedule-day + .schedule-day {
  margin-top: var(--sp-5);
}
.schedule-day-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-on-dark-0);
  margin-bottom: var(--sp-3);
}
.schedule-day-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--accent-mint);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(125, 240, 160, .5);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, .03);
  border-radius: var(--r-sm);
  overflow: hidden;
  font-size: 14px;
  /* 3컬럼(시간·프로그램·전시) 자연 비율 — 시간/전시는 좁게, 프로그램이 나머지 차지 */
  table-layout: auto;
}
/* 시간·전시 열은 내용폭만큼만, 프로그램이 남는 폭 차지 */
.schedule-table .col-time,
.schedule-table .col-exh {
  width: 1%;
  white-space: nowrap;
}
.schedule-table th,
.schedule-table td {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  vertical-align: middle;
  color: var(--ink-on-dark-1);
}
.schedule-table thead th {
  background: rgba(26, 58, 140, .35);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-on-dark-0);
  letter-spacing: .02em;
  text-align: center;
}
.schedule-table .time-cell {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
  white-space: nowrap;
  background: rgba(0, 0, 0, .2);
}
.schedule-table .recep-cell {
  text-align: center;
  font-weight: 500;
  color: var(--ink-on-dark-0);
}
.schedule-table .empty-cell {
  text-align: center;
  color: var(--ink-on-dark-3);
}
/* 2일차 09:00~18:00 rowspan 셀: 칩들이 셀 중앙에 보이게 */
.schedule-table .day2-progsess,
.schedule-table .day2-exhibition {
  text-align: center;
  vertical-align: middle;
}
.schedule-table .day2-progsess .cat-chip {
  display: block;
  margin: 4px auto;
  width: fit-content;
}
.cat-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  margin: 2px 4px 2px 0;
  /* 한글이 글자 단위로 세로로 쪼개지지 않도록(좁은 셀 대비) — 띄어쓰기에서만 줄바꿈 */
  word-break: keep-all;
  white-space: normal;
}
.cat-chip.cat-special {
  background: rgba(255, 122, 217, .15);
  color: var(--accent-pink);
  border: 1px solid rgba(255, 122, 217, .3);
}
.cat-chip.cat-session {
  background: rgba(62, 224, 216, .15);
  color: var(--accent-cyan);
  border: 1px solid rgba(62, 224, 216, .3);
}
.cat-chip.cat-exhibition {
  background: rgba(255, 209, 102, .15);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 209, 102, .3);
}

/* ============================================================
   참가 절차 — process list
   ============================================================ */
.process-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.process-list li {
  display: flex;
  gap: var(--sp-4);
  padding: 16px 20px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--r-sm);
  align-items: baseline;
}
.process-list .proc-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-mint);
  letter-spacing: .04em;
  flex-shrink: 0;
  min-width: 64px;
}
.process-list .proc-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-on-dark-1);
}
.process-list .proc-body strong {
  color: var(--ink-on-dark-0);
  font-weight: 700;
}

/* ============================================================
   가격 테이블 (전시 / 스페셜 프로그램 / 세션)
   ============================================================ */
.price-block {
  margin-bottom: var(--sp-7);
}
.price-block:last-of-type {
  margin-bottom: var(--sp-5);
}
.price-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-on-dark-0);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-title .price-hash {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 500;
}
.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, .03);
  border-radius: var(--r-sm);
  overflow: hidden;
  font-size: 14px;
  min-width: 580px;
}
.price-table th,
.price-table td {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  text-align: left;
  vertical-align: middle;
  color: var(--ink-on-dark-1);
  line-height: 1.55;
}
.price-table thead th {
  background: rgba(26, 58, 140, .35);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-on-dark-0);
  text-align: center;
}
.price-table .row-key {
  font-weight: 700;
  color: var(--ink-on-dark-0);
  background: rgba(0, 0, 0, .2);
  white-space: nowrap;
  width: 160px;
}
.price-table .price {
  font-family: var(--font-mono);
  white-space: nowrap;
  width: 180px;
  text-align: right;
  color: var(--ink-on-dark-0);
}
.price-table .price strong {
  font-size: 16px;
  color: var(--accent-mint);
  font-weight: 700;
}
.price-table .price .vat {
  font-size: 11px;
  color: var(--ink-on-dark-3);
  font-family: var(--font-mono);
}

/* 할인 안내 리스트 */
.discount-list {
  list-style: none;
  margin-top: var(--sp-5);
  padding: 18px 22px;
  background: rgba(125, 240, 160, .06);
  border: 1px solid rgba(125, 240, 160, .2);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.discount-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-on-dark-1);
}
.discount-list li::before {
  content: '*';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-mint);
  font-weight: 700;
}
.discount-list strong {
  color: var(--accent-mint);
  font-weight: 700;
}

/* ============================================================
   공모 일정 — 타임라인
   ============================================================ */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.timeline li {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-sm);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
}
.timeline .tl-step {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--accent-cyan);
}
.timeline .tl-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline .tl-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-on-dark-0);
}
.timeline .tl-date {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-mint);
}

/* ============================================================
   사무국 연락처
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-sm);
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.contact-card:hover {
  border-color: rgba(125, 240, 160, .4);
  transform: translateY(-2px);
}
.contact-card .contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-on-dark-3);
}
.contact-card .contact-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-mint);
}

/* ============================================================
   CTA 카드 (안내 → 동의 이동 / 동의 → 신청 이동)
   ============================================================ */
.partner-cta-section {
  margin-bottom: 96px;
}
.cta-card {
  background: linear-gradient(135deg, rgba(26, 58, 140, .35), rgba(20, 42, 92, .35));
  border: 1px solid rgba(125, 240, 160, .25);
  border-radius: var(--r-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(125, 240, 160, .12), transparent 60%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink-on-dark-0);
  letter-spacing: -.01em;
  margin-bottom: var(--sp-4);
}
.cta-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-on-dark-1);
  margin-bottom: var(--sp-7);
}
.btn-xl {
  padding: 18px 36px;
  font-size: 16px;
}

/* ============================================================
   ====== 동의 페이지 (partner-agree.do) 전용 스타일 ======
   ============================================================ */

/* 행사 정보 카드 */
.event-info-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-lg);
  padding: 36px 40px;
}
.ev-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ev-info-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
  gap: 16px;
}
.ev-info-row:nth-last-child(-n+2) { border-bottom: none; }
.ev-info-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-on-dark-3);
}
.ev-info-row dd {
  font-size: 15px;
  color: var(--ink-on-dark-0);
  font-weight: 500;
}
.ev-info-row dd a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(62, 224, 216, .3);
  text-underline-offset: 3px;
}
.ev-info-row dd a:hover {
  color: var(--accent-mint);
}

.ev-milestone-wrap {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.ev-milestone-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-on-dark-0);
  margin-bottom: var(--sp-3);
}
.ev-milestone {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.ev-milestone li {
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--r-xs);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ev-milestone .m-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-on-dark-3);
  letter-spacing: .04em;
}
.ev-milestone .m-date {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-mint);
}

/* ============================================================
   약관 박스 (스크롤 가능)
   ============================================================ */
.terms-box {
  max-height: 420px;
  overflow-y: auto;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-md);
  padding: 32px 36px;
  color: var(--ink-on-dark-1);
  font-size: 14px;
  line-height: 1.75;
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 240, 160, .35) transparent;
}
.terms-box::-webkit-scrollbar { width: 8px; }
.terms-box::-webkit-scrollbar-track { background: transparent; }
.terms-box::-webkit-scrollbar-thumb {
  background: rgba(125, 240, 160, .3);
  border-radius: 4px;
}
.terms-box::-webkit-scrollbar-thumb:hover {
  background: rgba(125, 240, 160, .5);
}
.terms-box:focus-visible {
  outline: 2px solid var(--accent-mint);
  outline-offset: 2px;
}

.terms-intro {
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
  color: var(--ink-on-dark-1);
  font-size: 14px;
  line-height: 1.7;
}

.terms-article {
  margin-bottom: var(--sp-6);
}
.terms-article:last-child { margin-bottom: 0; }
.terms-article h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-mint);
  margin-bottom: var(--sp-3);
  letter-spacing: -.005em;
}
.terms-article p {
  color: var(--ink-on-dark-1);
}
.terms-article ol,
.terms-article ul {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.terms-article ol { list-style: decimal; }
.terms-article ul { list-style: disc; }
.terms-article li {
  color: var(--ink-on-dark-1);
}
.terms-article strong {
  color: var(--ink-on-dark-0);
  font-weight: 700;
}

.terms-subblock {
  margin: var(--sp-3) 0 var(--sp-3) -22px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .03);
  border-left: 2px solid rgba(125, 240, 160, .4);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
}
.terms-subblock .ts-head {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  letter-spacing: .04em;
  margin-bottom: 6px;
  margin-top: var(--sp-3);
}
.terms-subblock .ts-head:first-child { margin-top: 0; }
.terms-subblock ul {
  list-style: none;
  padding-left: 12px;
  gap: 4px;
}
.terms-subblock ul li {
  position: relative;
  padding-left: 12px;
  font-size: 13px;
}
.terms-subblock ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--ink-on-dark-3);
}
.terms-subblock .ts-note {
  margin-top: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px dashed rgba(255, 255, 255, .08);
  font-size: 12px;
  color: var(--ink-on-dark-3);
  line-height: 1.6;
}
.terms-article .ts-bullet {
  margin-top: 8px;
  padding-left: 22px;
  list-style: disc;
}
.terms-article .ts-bullet li {
  font-size: 13px;
}

/* ============================================================
   동의 체크박스 (커스텀)
   ============================================================ */
.agree-check {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--sp-5);
  padding: 18px 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  user-select: none;
}
.agree-check:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(125, 240, 160, .25);
}
.agree-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.agree-box {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .25);
  border-radius: var(--r-xs);
  color: transparent;
  transition: all .15s ease;
}
.agree-box svg {
  width: 14px; height: 14px;
}
.agree-check input[type="checkbox"]:checked + .agree-box {
  background: var(--accent-mint);
  border-color: var(--accent-mint);
  color: var(--bg-0);
  box-shadow: 0 0 12px rgba(125, 240, 160, .35);
}
.agree-check input[type="checkbox"]:focus-visible + .agree-box {
  outline: 2px solid var(--accent-mint);
  outline-offset: 2px;
}
.agree-label {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-on-dark-1);
}
.agree-label strong {
  color: var(--ink-on-dark-0);
  font-weight: 700;
}
.agree-required {
  color: var(--accent-pink);
  font-size: 13px;
  font-weight: 500;
  margin-left: 4px;
}

/* ============================================================
   동의 라디오 (개인정보)
   ============================================================ */
.agree-radio-group {
  margin-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agree-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  user-select: none;
}
.agree-radio:hover {
  background: rgba(255, 255, 255, .06);
}
.agree-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.agree-radio .ar-dot {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .25);
  border-radius: 50%;
  position: relative;
  transition: all .15s ease;
}
.agree-radio .ar-dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent-mint);
  transform: scale(0);
  transition: transform .15s ease;
}
.agree-radio input[type="radio"]:checked + .ar-dot {
  border-color: var(--accent-mint);
  box-shadow: 0 0 8px rgba(125, 240, 160, .3);
}
.agree-radio input[type="radio"]:checked + .ar-dot::after {
  transform: scale(1);
}
.agree-radio input[type="radio"]:focus-visible + .ar-dot {
  outline: 2px solid var(--accent-mint);
  outline-offset: 2px;
}
.agree-radio:has(input[value="yes"]:checked) {
  border-color: rgba(125, 240, 160, .35);
  background: rgba(125, 240, 160, .06);
}
.agree-radio .ar-label {
  font-size: 14px;
  color: var(--ink-on-dark-1);
}
.agree-radio .ar-label strong {
  color: var(--ink-on-dark-0);
  font-weight: 700;
}

/* ============================================================
   동의 액션 영역 (하단 CTA)
   ============================================================ */
.agree-action {
  text-align: center;
  padding: 40px 24px;
}
.agree-hint {
  font-size: 14px;
  color: var(--ink-on-dark-2);
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}
.agree-hint.is-ok {
  color: var(--accent-mint);
  font-weight: 500;
}
.agree-buttons {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* 비활성 상태 */
.btn.is-disabled {
  background: rgba(255, 255, 255, .08);
  color: var(--ink-on-dark-3);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: auto; /* 클릭 가드로 안내 모달 띄움 */
}
.btn.is-disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, .08);
}

/* Warn 모달 아이콘 */
.modal-icon.icon-warn {
  background: rgba(255, 209, 102, .12);
  border-color: rgba(255, 209, 102, .35);
  color: var(--accent-yellow);
}

/* ============================================================
   반응형 (960px 미만 — 태블릿 + 모바일)
   ============================================================ */
@media (max-width: 960px) {
  .subpage-header { padding-bottom: 40px; }
  .subpage-intro { padding: 32px 20px 0; }
  .partner-main { padding: 40px 20px 0; }

  .step-indicator { gap: var(--sp-2); }
  .step-indicator .step { min-width: 72px; }
  .step-indicator .step-num { width: 36px; height: 36px; font-size: 12px; }
  .step-indicator .step-label { font-size: 10px; }
  .step-indicator .step-line { flex: 0 0 24px; }

  .partner-summary-card { padding: 28px 24px; }
  .partner-summary-card p { font-size: 15px; }
  .partner-summary-card .lead { font-size: 16px; }

  .key-info-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .field-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .schedule-table th, .schedule-table td { padding: 10px 12px; font-size: 13px; }

  .event-info-card { padding: 28px 24px; }
  .ev-info-grid { grid-template-columns: 1fr; }
  .ev-info-row { grid-template-columns: 100px 1fr; padding: 12px 0; }
  .ev-info-row:not(:last-child) { border-bottom: 1px dashed rgba(255,255,255,.08); }
  .ev-milestone { grid-template-columns: 1fr; }

  .terms-box { padding: 22px 20px; max-height: 360px; }
  .terms-article h3 { font-size: 14px; }

  .cta-card { padding: 40px 24px; }
  .cta-title { font-size: 22px; }
  .agree-buttons { flex-direction: column-reverse; }
  .agree-buttons .btn { width: 100%; justify-content: center; }
  .btn-xl { padding: 16px 28px; font-size: 15px; }

  .ps-body { padding-left: 14px; }
}

/* ============================================================
   svp_mobile 전용 — 폰 화면 반응형 보강 (KSVF 2026 partner)
   (640px 블록은 540px 블록보다 먼저 와서 cascade 보존)
   ============================================================ */
@media (max-width: 640px) {
  .subpage-intro { padding: 28px 18px 0; }
  .subpage-title { font-size: 30px; }
  .subpage-subtitle { font-size: 16px; }
  .partner-main { padding: 36px 18px 0; }
  .partner-section { margin-bottom: 56px; }
  .partner-summary-card { padding: 24px 20px; }
  .partner-summary-card p { font-size: 15px; }
  .partner-summary-card .lead { font-size: 15px; }
  .ps-title { font-size: 22px; }
  .ps-body { padding-left: 12px; }
  .price-table, .schedule-table { font-size: 13px; }
  .price-block { margin-bottom: var(--sp-6); }
  .cta-card { padding: 36px 20px; }
  .cta-title { font-size: 24px; }
}

@media (max-width: 540px) {
  .nav { padding: 16px 20px; flex-wrap: wrap; gap: var(--sp-3); }
  .nav-links { display: none; }
  .subpage-title { font-size: 28px; }
  .subpage-subtitle { font-size: 15px; }
  .step-indicator { gap: 4px; }
  .step-indicator .step { min-width: 60px; }
  .step-indicator .step-line { flex: 0 0 12px; }
}
