/* ============================================
   COMPONENTS — Reusable UI elements
   ============================================ */

/* Section tags */
.section-tag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--c-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-text-strong);
  margin-bottom: 2rem;
}
.section-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  color: var(--c-accent-light);
}

/* Hero tag */
.hero-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-text-strong);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c-text-strong);
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: var(--c-services-gap);
}
.service-card {
  background: var(--c-glass-heavy);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.5s;
}
.service-card:hover { background: var(--c-glass-hover); }

.service-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--c-number-ghost);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}
.service-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--c-accent);
  font-size: 1rem;
  transition: all 0.4s;
}
.service-card:hover .service-icon {
  background: var(--c-accent);
  color: var(--c-bg);
}
.service-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-text-strong);
  margin-bottom: 1rem;
}
.service-desc {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  line-height: 1.7;
}

/* ---- PROCESS TIMELINE ---- */
.process-header {
  text-align: center;
}
.process-header .section-tag {
  justify-content: center;
}
.process-header .section-tag::before {
  display: none;
}
.process-header .section-tag::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--c-accent);
}

.process-timeline {
  margin-top: 4rem;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
/* Center vertical line */
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--c-line);
  transform: translateX(-50%);
}

.process-step {
  position: relative;
  width: 50%;
  padding: 2rem 0;
}
/* Dot on the line */
.process-step::before {
  content: '';
  position: absolute;
  top: 2.8rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--c-accent);
  background: var(--c-bg);
  z-index: var(--z-local);
}
/* Connecting horizontal line */
.process-step::after {
  content: '';
  position: absolute;
  top: 3.15rem;
  width: 30px;
  height: 1px;
  background: var(--c-line);
}

/* Left-aligned steps */
.step-left {
  padding-right: 3.5rem;
  text-align: right;
}
.step-left::before {
  right: -7px;
}
.step-left::after {
  right: 0;
}
.step-left .step-card {
  margin-left: auto;
}

/* Right-aligned steps */
.step-right {
  margin-left: 50%;
  padding-left: 3.5rem;
  text-align: left;
}
.step-right::before {
  left: -7px;
}
.step-right::after {
  left: 0;
}

/* Reveal slide direction */
.step-left.reveal {
  opacity: 0;
  transform: translateX(-40px);
}
.step-right.reveal {
  opacity: 0;
  transform: translateX(40px);
}

.step-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: var(--c-glass-subtle);
  border: 1px solid var(--c-glass-border-s);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  max-width: 360px;
}
.step-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: 0.6rem;
}
.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-text-strong);
  margin-bottom: 0.6rem;
}
.step-card p {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  line-height: 1.6;
}
