/* ═══════════════════════════════════════════════════
   PAGE: PROCESS — 服務流程 專用樣式
   前衛東方官網（抽出自原站 process/index.html 內嵌 <style>）
   ═══════════════════════════════════════════════════ */

/* ── Hero ── */
.process-hero {
  position: relative;
  height: 52vh;
  min-height: 380px;
  max-height: 600px;
  width: 100%;
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.process-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-narrow);
  padding: 0 var(--sp-lg);
}
.process-hero .tag {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: .875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-md);
}
.process-hero h1 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.4;
  margin: 0 0 var(--sp-md);
}
.process-hero .hero-sub {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--stone);
  line-height: 1.7;
}

/* ── Timeline connector ── */
.process-timeline {
  position: relative;
}

/* ── Step section ── */
.process-step {
  position: relative;
  padding: var(--sp-3xl) 0;
  overflow: hidden;
}
.process-step .step-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}
.process-step .step-content {
  flex: 1;
  min-width: 0;
}
.process-step .step-visual {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Alternating layout ── */
.process-step:nth-child(even) .step-container {
  flex-direction: row-reverse;
}

/* ── Background alternation ── */
.process-step--white  { background: var(--card); }
.process-step--warm   { background: var(--surface-warm); }
.process-step--dark   { background: var(--dark); color: #fff; }
.process-step--stone  { background: var(--stone); }
.process-step--cool   { background: var(--surface-cool); }

/* ── Step number ── */
.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 1;
  color: var(--accent);
  opacity: .25;
  margin-bottom: var(--sp-sm);
}
.process-step--dark .step-number {
  color: var(--accent-light);
  opacity: .35;
}

/* ── Step tag ── */
.step-tag {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-xs);
}
.process-step--dark .step-tag {
  color: var(--accent-light);
}

/* ── Step title ── */
.step-title {
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  margin: 0 0 var(--sp-md);
  color: var(--ink);
}
.process-step--dark .step-title {
  color: #fff;
}

/* ── Step description ── */
.step-desc {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--mute);
  max-width: 520px;
}
.process-step--dark .step-desc {
  color: var(--stone);
}

/* ── Step icon ── */
.step-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--surface-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
  border: 2px solid var(--line);
  transition: transform var(--duration-normal) var(--ease-out);
}
.step-icon:hover {
  transform: scale(1.05);
}
.process-step--dark .step-icon {
  background: rgba(154, 132, 86, .12);
  border-color: var(--accent-dark);
}
.process-step--stone .step-icon {
  background: var(--card);
}

/* ── Icon SVG ── */
.step-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Divider between steps ── */
.step-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
  margin: 0 auto;
}
.step-divider--dark {
  background: var(--accent-dark);
  opacity: .4;
}

/* ── CTA section ── */
.process-cta {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: var(--sp-3xl) var(--sp-lg);
}
.process-cta .cta-inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.process-cta h2 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.5;
  margin: 0 0 var(--sp-xl);
}
.process-cta .cta-buttons {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}
.process-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-md) var(--sp-xl);
  border-radius: var(--radius-md);
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 400;
  font-size: .95rem;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  border: none;
}
.process-cta .btn--line {
  background: var(--line-green);
  color: #fff;
}
.process-cta .btn--line:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.process-cta .btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--stone);
}
.process-cta .btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .process-step {
    padding: var(--sp-2xl) 0;
  }
  .process-step .step-container {
    flex-direction: column !important;
    text-align: center;
    gap: var(--sp-lg);
  }
  .process-step .step-visual {
    flex: none;
    order: -1;
  }
  .step-desc {
    max-width: 100%;
  }
  .step-icon {
    width: 96px;
    height: 96px;
    font-size: 2rem;
  }
  .step-icon svg {
    width: 40px;
    height: 40px;
  }
  .step-number {
    font-size: 3.5rem;
  }
  .step-divider {
    height: 32px;
  }
}

/* ── Entrance animation ── */
.process-step .step-container {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.process-step.is-visible .step-container {
  opacity: 1;
  transform: translateY(0);
}
