/* ═══════════════════════════════════════════
   ORDER PAGE — 홈페이지 의뢰
═══════════════════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(480px, 60svh, 560px);
  padding: calc(var(--header-height) + 72px) 24px 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(249, 115, 22, 0.10), transparent 32%),
    radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.07), transparent 28%),
    linear-gradient(135deg, #fffaf6 0%, #fffdfb 48%, #fff5eb 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 112px;
  opacity: 0.28;
}

.page-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  width: 100%;
}

.page-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--weight-heading);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: #111111;
}

.page-hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.62);
  letter-spacing: -0.01em;
  max-width: 36ch;
  min-height: calc(18px * 1.75 * 3);
}

.page-hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── SHARED ORDER SECTION ── */
.order-section {
  position: relative;
  padding: 96px 24px;
  background: var(--background);
}

.order-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.045;
  mix-blend-mode: multiply;
  z-index: 0;
}

.order-section .section-container {
  position: relative;
  z-index: 1;
}

.order-section .section-header {
  align-items: flex-start;
  text-align: left;
}

.section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.55);
  margin-top: 4px;
}

/* ── 준비물 섹션 ── */
.prep-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: start;
}

.prep-header {
  margin-bottom: 0;
  max-width: 340px;
  padding-top: 8px;
}

.prep-icon {
  max-width: 100%;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prep-item {
  display: flex;
  padding: 30px;
  min-height: 196px;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.prep-item:hover {
  border-color: rgba(17, 17, 17, 0.12);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.05);
}

.prep-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.prep-title {
  font-family: var(--font-heading);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #111111;
  letter-spacing: -0.02em;
}

.prep-optional {
  color: rgba(17, 17, 17, 0.42);
}

.prep-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.58);
  max-width: 30ch;
}

/* ── 가격 섹션 ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 940px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 34px 34px 32px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  gap: 26px;
  box-shadow: none;
}

.pricing-card--featured {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.08);
  color: #111111;
}

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

.pricing-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pricing-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.pricing-card--featured .pricing-label {
  color: var(--accent);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 650;
  letter-spacing: var(--tracking-tight);
  color: #111111;
}

.pricing-card--featured .pricing-price {
  color: #111111;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.76);
}

.pricing-card--featured .pricing-features li {
  color: rgba(17, 17, 17, 0.76);
}

.pricing-features li::before {
  content: "·";
  flex-shrink: 0;
  color: rgba(17, 17, 17, 0.4);
  font-weight: 700;
}

.pricing-card--featured .pricing-features li::before {
  color: rgba(17, 17, 17, 0.4);
}

.pricing-note {
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.5);
}

/* ── 제작 과정 섹션 ── */
.process-list {
  display: flex;
  flex-direction: column;
}

.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.process-item:first-child {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.process-step {
  padding-top: 2px;
}

.process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}

.process-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: #111111;
  letter-spacing: var(--tracking-tight-soft);
}

.process-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.6);
  max-width: 60ch;
}

.process-notes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.process-notes li {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.45);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.process-notes li::before {
  content: "·";
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  margin-top: -1px;
}

/* ── 토글 ── */
.process-toggle {
  margin-top: 12px;
}

.process-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.45);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

.process-toggle-btn::-webkit-details-marker { display: none; }

.process-toggle-btn::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s;
}

.process-toggle[open] .process-toggle-btn::after {
  transform: rotate(180deg);
}

.process-toggle-btn:hover {
  color: rgba(17, 17, 17, 0.7);
}

.process-toggle[open] .process-toggle-btn {
  color: rgba(17, 17, 17, 0.6);
}

.process-toggle-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-left: 2px;
}

.process-toggle-list li {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.45);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.process-toggle-list li::before {
  content: "·";
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .prep-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .prep-header {
    max-width: 560px;
    padding-top: 0;
  }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .page-hero {
    min-height: 440px;
    padding: calc(var(--header-height-mobile) + 52px) 24px 64px;
    text-align: center;
  }

  .page-hero-sub {
    font-size: 15px;
  }

  .order-section {
    padding: 72px 24px;
  }

  .prep-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .prep-header {
    margin-bottom: 0;
    max-width: none;
    padding-top: 0;
  }

  .prep-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .prep-item {
    min-height: auto;
    padding: 24px 22px;
  }

  .prep-title {
    font-size: 18px;
    gap: 6px;
  }

  .prep-desc {
    font-size: 15px;
    line-height: 1.65;
    max-width: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid.reveal-section,
  .process-list.reveal-section {
    margin-top: -28px;
  }

  .pricing-card {
    padding: 32px;
  }

  .pricing-head {
    gap: 8px;
  }

  .process-item {
    grid-template-columns: 44px 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .process-num {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .process-title {
    font-size: 17px;
  }

  /* 모바일: reveal 애니메이션 즉시 표시 */
  html.js .order-section .reveal-section,
  html.js .order-section .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }
}
