/* ============================================
   정도파트너스 서울북부본부 - Design System
   다크 네이비 + 골드 프리미엄 컨설팅 톤
   ============================================ */

:root {
  /* Backgrounds - 딥 네이비 계열 */
  --bg-base: #0A1628;
  --bg-elevated: #0F1E36;
  --bg-card: #152845;
  --bg-card-hover: #1B3153;
  --bg-input: #0B1A30;

  /* Gold - 브랜드 프라이머리 */
  --gold: #C9A961;
  --gold-light: #D4B876;
  --gold-deep: #A88B4A;
  --gold-soft: rgba(201, 169, 97, 0.12);
  --gold-line: rgba(201, 169, 97, 0.25);

  /* Text */
  --text-primary: #F5F1E8;
  --text-secondary: #C9C5B8;
  --text-muted: #8A8778;
  --text-dim: #5C5A54;

  /* Borders */
  --border: rgba(201, 169, 97, 0.15);
  --border-strong: rgba(201, 169, 97, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.06);

  /* Status */
  --success: #7FB77E;
  --warning: #E0B872;
  --danger: #D97B7B;
  --info: #7AA7D9;

  /* Layout */
  --container: 1200px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Type */
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header-note {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================
   HERO — 로고 배경 이미지 활용
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/logo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 22, 40, 0.96) 0%,
    rgba(10, 22, 40, 0.85) 40%,
    rgba(10, 22, 40, 0.55) 70%,
    rgba(10, 22, 40, 0.35) 100%
  );
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 22, 40, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-wrap: pretty;
  max-width: 620px;
}

.hero h1 .gold {
  color: var(--gold);
  font-weight: 600;
}

.hero-copy {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-base);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.25);
}

.btn-primary::after {
  content: '→';
  font-size: 18px;
  transition: transform 0.2s ease;
}

.btn-primary:hover::after {
  transform: translateX(4px);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold-soft);
}

.hero-mini {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-elevated);
}

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

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-wrap: balance;
}

.section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* ============================================
   EXPERTISE STRIP
   ============================================ */
.expertise {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.expertise-item {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.expertise-item:last-child {
  border-right: none;
}

.expertise-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.expertise-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.expertise-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   QUIZ
   ============================================ */
.screen {
  display: none;
  padding: 120px 0 80px;
  min-height: 100vh;
}

.screen.active {
  display: block;
}

/* 진단 진행 중일 때 - 히어로/소개 스트립 숨기기 */
body.quiz-mode .hero,
body.quiz-mode .expertise {
  display: none;
}

.quiz-shell {
  max-width: 780px;
  margin: 0 auto;
}

.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.quiz-title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quiz-title-block .eyebrow {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.quiz-title-block strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
}

.step-indicator {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.step-indicator span {
  color: var(--text-muted);
  font-size: 14px;
}

.progress-shell {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 48px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  width: 0;
  transition: width 0.4s ease;
}

.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.quiz-kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.question {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.question-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  text-align: left;
  transition: all 0.2s ease;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.5;
  width: 100%;
}

.option:hover {
  border-color: var(--gold);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.option-check {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--text-dim);
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 16px;
  transition: all 0.2s ease;
  position: relative;
}

.option:hover .option-check {
  border-color: var(--gold);
}

.quiz-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.back-btn {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.back-btn:hover { color: var(--gold); }
.back-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.quiz-help {
  font-size: 12px;
  color: var(--text-dim);
}

/* ============================================
   RESULT
   ============================================ */
.result-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.result-hero {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.result-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  opacity: 0.5;
}

.result-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.score-block {
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid var(--gold-line);
}

.score-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.score-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
}

.score-num small {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.result-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.result-summary {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.metric-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.metric-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.metric-value {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text-primary);
}

.metric-value small {
  color: var(--text-muted);
  font-size: 13px;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 32px;
}

.panel-head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-head .eyebrow {
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.panel-head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.panel-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.needs {
  display: grid;
  gap: 12px;
}

.need-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.need-num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
  min-width: 32px;
}

.need-body b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.need-body span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Service Groups */
.service-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-group {
  padding: 28px 24px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.service-group h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold-line);
  letter-spacing: -0.01em;
}

.service-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-group li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.service-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ============================================
   WHY GRID
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.why-no {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1;
  display: block;
}

.why-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   ROADMAP
   ============================================ */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.roadmap::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-line), var(--gold), var(--gold-line));
  z-index: 0;
}

.road-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.road-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  margin: 36px auto 24px;
  box-shadow: 0 0 0 6px var(--bg-elevated), 0 0 0 7px var(--gold-line);
}

.road-step b {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.road-step strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.road-step span {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.opportunity-box {
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
}

.opportunity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.opportunity-big {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.55;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.opportunity-big span {
  color: var(--gold);
  font-weight: 600;
}

.opportunity-note {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 8px 16px;
  background: var(--bg-input);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ============================================
   CASE STUDIES (컨설팅 성공사례)
   ============================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s ease;
}

.case-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.case-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  min-height: 56px;
}

.case-result {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.case-result-label {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-result-value {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.case-result-value span {
  color: var(--gold);
}

.case-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.case-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.case-meta span::before {
  content: '· ';
  color: var(--gold);
}

.case-meta span:first-child::before { content: ''; }

.cases-note {
  margin-top: 32px;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-input);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ============================================
   CONSULT FORM
   ============================================ */
.consult-shell {
  max-width: 900px;
  margin: 0 auto;
}

.consult-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}

.consult-header {
  text-align: center;
  margin-bottom: 40px;
}

.consult-header h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.consult-header p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.field label .req {
  color: var(--gold);
  margin-left: 4px;
}

.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.2s ease;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-card);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23C9A961' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  font-family: inherit;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-input);
  border-radius: var(--radius);
  margin-bottom: 12px;
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  margin-top: 2px;
  cursor: pointer;
}

.consent-row span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.privacy-detail {
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 4px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.submit-note {
  font-size: 13px;
  color: var(--text-muted);
}

.submit-btn {
  padding: 16px 40px;
  background: var(--gold);
  color: var(--bg-base);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 169, 97, 0.25);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.submit-btn::after {
  content: '→';
  font-size: 18px;
}

.toast {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  text-align: center;
  display: none;
}

.toast.show { display: block; }
.toast.error { background: rgba(217, 123, 123, 0.12); color: var(--danger); border: 1px solid rgba(217, 123, 123, 0.3); }
.toast.success { background: rgba(127, 183, 126, 0.12); color: var(--success); border: 1px solid rgba(127, 183, 126, 0.3); }

.success-card {
  display: none;
  padding: 32px;
  text-align: center;
  background: rgba(127, 183, 126, 0.08);
  border: 1px solid rgba(127, 183, 126, 0.3);
  border-radius: var(--radius);
  margin-top: 24px;
}

.success-card.show { display: block; }

.success-card b {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--success);
  margin-bottom: 8px;
}

.success-card span {
  font-size: 14px;
  color: var(--text-secondary);
}

.hp { position: absolute; left: -9999px; opacity: 0; }

.bottom-actions {
  margin-top: 40px;
  text-align: center;
}

.restart {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.2s ease;
}

.restart:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.disclaimer {
  margin-top: 32px;
  padding: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 40px;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer h5 {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer ul { list-style: none; }
.footer li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}

.admin-link {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
  text-decoration: none;
}

.admin-link:hover { color: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.75) 0%, rgba(10, 22, 40, 0.95) 100%);
  }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-item { border-right: none; border-bottom: 1px solid var(--border); }
  .expertise-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .service-groups { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .roadmap::before { display: none; }
  .cases-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: 1fr; gap: 24px; }
  .score-block { border-right: none; border-bottom: 1px solid var(--gold-line); padding-bottom: 24px; }
  .opportunity-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .quiz-card { padding: 32px 24px; }
  .panel { padding: 32px 24px; }
  .consult-card { padding: 32px 24px; }
  .result-hero { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .header-note { display: none; }
  .submit-row { flex-direction: column; align-items: stretch; }
  .submit-btn { justify-content: center; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero h1 { font-size: 24px; }
  .hero-copy { font-size: 14px; }
  .quiz-top { flex-direction: column; align-items: flex-start; gap: 12px; }
}
