:root {
  --bg: #fffaf7;
  --bg-soft: #fff1ea;
  --surface: #ffffff;
  --text: #181818;
  --subtext: #5b5b5b;
  --line: #edd8d1;
  --primary: #ff6f61;
  --primary-dark: #e45a4d;
  --secondary: #ffe7d9;
  --accent: #ffb38a;
  --mint: #dff7ef;
  --shadow: 0 14px 40px rgba(42, 26, 18, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffdfb 0%, #fff7f3 100%);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

input,
textarea,
select {
  outline: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: linear-gradient(180deg, #fff3ee 0%, #fffaf7 100%);
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--subtext);
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 4px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 247, 0.82);
  border-bottom: 1px solid rgba(237, 216, 209, 0.75);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--subtext);
  font-weight: 600;
  font-size: 0.96rem;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.hero-copy h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.hero-desc {
  margin: 0 0 26px;
  color: var(--subtext);
  max-width: 600px;
  font-size: 1.06rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #4d403a;
  font-weight: 600;
  font-size: 0.94rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.hero-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: #fff6f2;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 28px;
  align-items: stretch;
}

.about-grid-upgraded {
  align-items: start;
}

.about-image img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.about-card.featured {
  background: linear-gradient(135deg, #fff8f4 0%, #fff1ea 100%);
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
}

.about-card p {
  margin: 0;
  color: var(--subtext);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.program-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.program-image img {
  height: 320px;
  object-fit: cover;
}

.program-body {
  padding: 22px;
}

.program-body h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.3;
}

.program-body p {
  margin: 0;
  color: var(--subtext);
}

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

.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.process-thumb img {
  height: 240px;
  object-fit: cover;
}

.process-content {
  padding: 22px;
}

.step-number {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 900;
  font-size: 0.95rem;
}

.process-content h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 800;
}

.process-content p {
  margin: 0;
  color: var(--subtext);
}

.review-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.review-highlight-card {
  background: linear-gradient(135deg, #fff7f3 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.review-highlight-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.review-highlight-card span {
  color: var(--subtext);
  font-size: 0.94rem;
}

.review-list {
  display: grid;
  gap: 22px;
}

.review-list.upgraded {
  gap: 24px;
}

.review-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}

.review-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #faf4f1;
}

.review-image img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.review-image span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.review-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-copy h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

.quote {
  margin: 0 0 18px;
  font-size: 1.08rem;
  color: #2a2320;
  font-weight: 600;
  line-height: 1.8;
}

.review-summary {
  margin: 0 0 18px;
  color: var(--subtext);
  font-size: 0.98rem;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tags span {
  border: 1px solid var(--line);
  background: #fff7f4;
  color: #7e5247;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 700;
}

.section-apply {
  background: linear-gradient(180deg, #fff3ee 0%, #fffdfb 100%);
}

.apply-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.apply-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.progress-card,
.summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}

.progress-card h3,
.summary-card h3 {
  margin: 0 0 16px;
  font-size: 1.08rem;
  font-weight: 800;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.step-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8f5;
  color: #6a5a54;
  border: 1px solid #f2dfd7;
  font-weight: 700;
}

.step-list li.active {
  background: linear-gradient(135deg, #ff7a6d 0%, #ff9c7b 100%);
  color: #fff;
  border-color: transparent;
}

.summary-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.summary-card li {
  color: var(--subtext);
  font-size: 0.96rem;
}

.apply-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-head {
  margin-bottom: 28px;
}

.step-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff0eb;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.step-head h3 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.step-head p {
  margin: 0;
  color: var(--subtext);
}

.sequential-picker {
  display: grid;
  gap: 20px;
}

.picker-stage {
  display: flex;
  justify-content: center;
}

.picker-card {
  width: 100%;
  max-width: 620px;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.picker-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.picker-card-body {
  padding: 24px;
}

.picker-card-body strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 900;
}

.picker-card-body p {
  margin: 0;
  color: var(--subtext);
  font-size: 1rem;
}

.picker-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.picker-indicator {
  text-align: center;
  color: var(--subtext);
  font-weight: 700;
}

.picker-select-box {
  background: #fff8f5;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
}

.picker-current-label {
  margin: 0 0 14px;
  color: var(--subtext);
}

.selected-style-result {
  margin: 14px 0 0;
  color: var(--primary);
  font-weight: 800;
}

.question-block {
  margin-bottom: 28px;
}

.question-block h4 {
  margin: 0 0 14px;
  font-size: 1.06rem;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fffaf8;
  cursor: pointer;
  font-weight: 600;
}

.choice-grid label:hover {
  background: #fff2ec;
}

.image-mood-grid {
  grid-template-columns: repeat(4, 1fr);
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: #fffaf8;
  resize: vertical;
  min-height: 140px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  font-weight: 700;
  font-size: 0.96rem;
}

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  background: #fffaf8;
}

.field input:focus,
.field select:focus,
textarea:focus {
  border-color: var(--primary);
  background: #fff;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--subtext);
  font-size: 0.95rem;
}

.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.step-actions.between {
  justify-content: space-between;
}

.complete-box {
  text-align: center;
  padding: 42px 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff7f4 0%, #ffffff 100%);
  border: 1px solid var(--line);
}

.complete-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--mint);
  color: #25765c;
  font-size: 0.84rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.complete-box h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 900;
}

.complete-box p {
  margin: 0 0 24px;
  color: var(--subtext);
}

.site-footer {
  padding: 26px 0 42px;
  border-top: 1px solid rgba(237, 216, 209, 0.7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-inner strong {
  display: block;
  margin-bottom: 4px;
}

.footer-inner p {
  margin: 0;
  color: var(--subtext);
}

.footer-note {
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .review-card,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .apply-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav {
    display: none;
  }

  .about-card-grid,
  .review-highlight,
  .choice-grid,
  .form-grid,
  .review-images {
    grid-template-columns: 1fr;
  }

  .image-mood-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-image img,
  .process-thumb img,
  .picker-card img {
    height: 260px;
  }

  .apply-form {
    padding: 22px;
    border-radius: 24px;
  }

  .step-actions,
  .step-actions.between,
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .image-mood-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges span {
    font-size: 0.85rem;
  }

  .progress-card,
  .summary-card,
  .about-card,
  .program-body,
  .process-content,
  .review-card {
    padding: 18px;
  }
}
