/* =============================================
   햇빛재가복지센터 — Toss/Banksalad 스타일
   ============================================= */

/* ── 리셋 & 변수 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #FF8A00;
  --orange-dim: #FF8A0020;
  --black: #111111;
  --gray-900: #1A1A1A;
  --gray-700: #3D3D3D;
  --gray-500: #737373;
  --gray-300: #C4C4C4;
  --gray-100: #F5F5F5;
  --gray-50:  #FAFAFA;
  --white: #FFFFFF;
  --surface: #F7F7F5;
  --dark-bg: #0F0F0F;
  --dark-surface: #1A1A1A;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Noto Sans KR', -apple-system, 'Apple SD Gothic Neo', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
em { font-style: normal; }

/* ── 공통 레이아웃 ── */
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 40px;
}
@media (max-width: 768px) { .section-inner { padding: 80px 24px; } }

/* ── 버튼 ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #e07800;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,138,0,0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  color: var(--gray-500);
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  border: 1.5px solid var(--gray-300);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--black); color: var(--black); }

/* =============================================
   네비게이션
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#header.scrolled {
  border-bottom-color: rgba(0,0,0,0.07);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
#nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
#nav a {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: 50px;
  transition: color 0.15s, background 0.15s;
}
#nav a:hover, #nav a.active {
  color: var(--black);
  background: var(--gray-100);
}
.nav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: #e07800; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 40px 16px;
  border-top: 1px solid var(--gray-100);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-link:last-child { border-bottom: none; }

/* =============================================
   히어로
   ============================================= */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 40px 80px;
  max-width: 1080px;
  margin: 0 auto;
  gap: 40px;
  position: relative;
}
.hero-inner { max-width: 560px; }
.hero-tag {
  display: inline-block;
  background: var(--orange-dim);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 20px;
  word-break: keep-all;
}
.hero-title em { color: var(--orange); }
.hero-desc {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 36px;
  word-break: keep-all;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 햇빛 SVG 일러스트 */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sun-svg {
  width: 260px;
  height: 260px;
}
/* 광선: 순서대로 밝아지는 pulse */
.sv-ray {
  animation: sv-ray 4s ease-in-out infinite;
  transform-origin: 120px 120px;
}
.sv-ray:nth-child(1) { animation-delay: 0s; }
.sv-ray:nth-child(2) { animation-delay: 0.5s; }
.sv-ray:nth-child(3) { animation-delay: 1s; }
.sv-ray:nth-child(4) { animation-delay: 1.5s; }
.sv-ray:nth-child(5) { animation-delay: 2s; }
.sv-ray:nth-child(6) { animation-delay: 2.5s; }
.sv-ray:nth-child(7) { animation-delay: 3s; }
.sv-ray:nth-child(8) { animation-delay: 3.5s; }
@keyframes sv-ray {
  0%, 100% { stroke-opacity: 0.5; }
  50%       { stroke-opacity: 1; }
}
/* 코어: 미세한 scale */
.sv-core {
  animation: sv-core 5s ease-in-out infinite;
  transform-origin: 120px 120px;
}
@keyframes sv-core {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

/* 스크롤 힌트 */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gray-300), transparent);
  animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* =============================================
   신뢰 지표 띠
   ============================================= */
.trust-bar {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.trust-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}
.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  gap: 4px;
}
.trust-item strong {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--black);
}
.trust-item span {
  font-size: 13px;
  color: var(--gray-500);
}
.trust-sep {
  width: 1px;
  height: 32px;
  background: var(--gray-100);
  flex-shrink: 0;
}

/* =============================================
   섹션 공통
   ============================================= */
.section { background: var(--white); }
.section-gray { background: var(--surface); }
.section-dark { background: var(--dark-bg); }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-label.light { color: rgba(255,138,0,0.8); }

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 20px;
  word-break: keep-all;
}
.section-title.light { color: var(--white); }

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 72px;
  word-break: keep-all;
}
.br-pc { display: block; }

/* ── Reveal 애니메이션 ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* fade-up (히어로 전용) */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
}
.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.22s; }
.fade-up:nth-child(3) { animation-delay: 0.34s; }
.fade-up:nth-child(4) { animation-delay: 0.46s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   센터 소개
   ============================================= */
.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.about-card {
  background: var(--gray-50);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-100);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.about-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}
.about-card-icon {
  width: 44px;
  height: 44px;
  background: var(--orange-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.about-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}
.about-card p { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* 시설장 인용구 */
.director-wrap {
  background: var(--gray-50);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-100);
  padding: 48px;
}
.director-quote { position: relative; }
.quote-mark { margin-bottom: 16px; }
.director-quote > p {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 28px;
  word-break: keep-all;
}
.director-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.director-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}
.director-role {
  font-size: 13px;
  color: var(--gray-500);
}

/* =============================================
   제공 서비스
   ============================================= */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.svc-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 36px 32px;
  background: var(--white);
  align-items: start;
  transition: background 0.2s;
}
.svc-item:hover { background: #FFFCF7; }
.svc-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  padding-top: 3px;
  letter-spacing: 0.04em;
}
.svc-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.svc-body > p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 14px;
}
.svc-body ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.svc-body li {
  font-size: 13px;
  color: var(--gray-700);
  padding-left: 14px;
  position: relative;
}
.svc-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
}

/* =============================================
   이용안내
   ============================================= */
.subsection-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 28px;
}

/* 이용 대상 */
.guide-target { margin-bottom: 72px; }
.target-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.target-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.target-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}
.target-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.target-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; word-break: keep-all; }

/* 등급 기준표 */
.grade-section { margin-bottom: 72px; }
.grade-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 12px;
}
.grade-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
  transition: background 0.15s;
}
.grade-row:last-child { border-bottom: none; }
.grade-row:not(.grade-header):hover { background: #FFFCF7; }
.grade-row > span {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
  border-right: 1px solid var(--gray-100);
  word-break: keep-all;
}
.grade-row > span:last-child { border-right: none; }
.grade-header {
  background: var(--gray-50);
}
.grade-header > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.grade-badge {
  display: inline-flex;
  align-items: center;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 14px 20px !important;
}
.g1 { color: #C0392B !important; }
.g2 { color: #E67E22 !important; }
.g3 { color: #F39C12 !important; }
.g4 { color: #27AE60 !important; }
.g5 { color: #2980B9 !important; }
.g6 { color: var(--gray-500) !important; }
.grade-note {
  font-size: 13px;
  color: var(--gray-300);
}

/* 단계 */
.steps-section { margin-bottom: 72px; }
.steps {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 24px;
}
.step-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0;
  padding: 28px 32px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
  transition: background 0.2s;
}
.step-item:last-child { border-bottom: none; }
.step-item:hover { background: var(--gray-50); }
.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-dot span {
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
}
.step-dot.last {
  background: var(--orange);
}
.step-dot.last span { color: var(--white); }
.step-content { }
.step-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.step-content p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  word-break: keep-all;
  margin-bottom: 8px;
}
.step-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-dim);
  padding: 4px 12px;
  border-radius: 50px;
  transition: background 0.15s;
}
.step-link:hover { background: rgba(255,138,0,0.15); }

/* 비용 */
.fee-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.fee-card {
  border-radius: var(--r-lg);
  padding: 28px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}
.fee-orange {
  background: #FFF7EE;
  border-color: rgba(255,138,0,0.2);
}
.fee-dark {
  background: var(--gray-900);
  border-color: transparent;
}
.fee-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-500);
  margin-bottom: 16px;
}
.fee-orange .fee-label { background: var(--orange); color: var(--white); }
.fee-dark .fee-label   { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }
.fee-pct {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 10px;
}
.fee-pct span { font-size: 22px; }
.fee-orange .fee-pct { color: var(--orange); }
.fee-dark   .fee-pct { color: var(--white); }
.fee-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.fee-dark p { color: rgba(255,255,255,0.4); }
.fee-note { font-size: 13px; color: var(--gray-300); }

/* =============================================
   문의하기 (다크)
   ============================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

/* 연락처 왼쪽 전체 */
.contact-left { display: flex; flex-direction: column; gap: 28px; }

/* 지도 카드 */
.map-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}
.map-iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
  filter: grayscale(20%) brightness(0.9);
}
.map-card-footer {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.map-address { display: flex; flex-direction: column; gap: 2px; }
.map-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}
.map-addr {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
}
.map-btns { display: flex; gap: 8px; flex-shrink: 0; }
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.map-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.map-btn-naver { background: #03C75A; color: white; }
.map-btn-kakao { background: #FAE100; color: #3C1E1E; }

/* 연락처 정보 */
.contact-info { display: flex; flex-direction: column; gap: 0; }
.cinfo-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cinfo-item:first-child { padding-top: 0; }
.cinfo-item:last-child  { border-bottom: none; }
.cinfo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.cinfo-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.cinfo-value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.cinfo-value a { color: rgba(255,255,255,0.85); }
.cinfo-value a:hover { color: var(--orange); }
.placeholder-note {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin-top: 2px;
}

/* 폼 */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.cf-group label span { color: var(--orange); margin-left: 2px; }
.cf-group input,
.cf-group select,
.cf-group textarea {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.cf-group select { color: rgba(255,255,255,0.5); }
.cf-group select option { background: #222; color: #fff; }
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.07);
}
.cf-group textarea { resize: vertical; min-height: 120px; }
.cf-check {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cf-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.cf-check label { font-size: 13px; color: rgba(255,255,255,0.35); }
.btn-submit {
  position: relative;
  height: 52px;
  border-radius: 50px;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.btn-submit:hover:not(:disabled) { background: #e07800; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-spinner {
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 성공/에러 */
.form-done, .form-error {
  padding: 48px 24px;
  text-align: center;
}
.form-done-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,138,0,0.15);
  color: var(--orange);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-done h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.form-done p, .form-error p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* =============================================
   푸터
   ============================================= */
.footer {
  background: var(--dark-surface);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  line-height: 1.8;
}

/* =============================================
   맨 위로 버튼
   ============================================= */
.to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--gray-700); }

/* =============================================
   반응형
   ============================================= */
@media (max-width: 960px) {
  .about-cards { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 120px 40px 80px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .target-cards { grid-template-columns: repeat(3, 1fr); }
  .grade-row { grid-template-columns: 80px 1fr; }
  .grade-row > span:nth-child(3) { display: none; }
  .grade-header > span:nth-child(3) { display: none; }
  .footer-top { flex-direction: column; gap: 20px; align-items: flex-start; }
}

@media (max-width: 768px) {
  #nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-container { padding: 0 24px; gap: 16px; }
  .mobile-nav { padding: 8px 24px 16px; }

  .trust-inner { flex-wrap: wrap; }
  .trust-item { min-width: 50%; }
  .trust-sep { display: none; }

  .about-cards { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .fee-cards { grid-template-columns: 1fr; }
  .steps { border-radius: var(--r-md); }
  .step-item {
    grid-template-columns: 52px 1fr;
    padding: 20px;
  }
  .target-cards { grid-template-columns: 1fr; }
  .grade-row { grid-template-columns: 80px 1fr; }
  .grade-row > span:nth-child(3) { display: none; }
  .grade-header > span:nth-child(3) { display: none; }
  .director-wrap { padding: 28px 24px; }
  .director-info { flex-direction: column; gap: 4px; align-items: flex-start; }

  .contact-form-wrap { padding: 24px; }
  .cf-row { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: 4px; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 12px 20px; }

  .br-pc { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; height: 50px; }
  .section-inner { padding: 64px 20px; }
}
