/* ===================================================
   Services Page — services.css
   XcuTor Creative Studio
   =================================================== */

/* ── Section: Services Grid ─────────────────────── */
.services-section {
  padding: 80px 0 100px;
  background: var(--bg-color);
}

.services-section-header {
  margin-bottom: 3.5rem;
}

/* ── How We Work Process Section ────────────────── */
.services-process {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.services-process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(117, 205, 217, 0.2),
    transparent
  );
}

.services-process::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(117, 205, 217, 0.2),
    transparent
  );
}

/* Process step */
.process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
}

/* Ghost large number */
.process-num {
  font-family: "Libre Baskerville", serif;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(117, 205, 217, 0.08);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  transition: color 0.4s;
  white-space: nowrap;
}
.process-step:hover .process-num {
  color: rgba(117, 205, 217, 0.14);
}

/* Icon box */
.process-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(117, 205, 217, 0.1);
  border-radius: 12px;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 4.5rem auto 1.4rem;
  transition: background 0.35s, transform 0.35s;
}
.process-step:hover .process-icon {
  background: rgba(117, 205, 217, 0.2);
  transform: scale(1.1);
}

/* Title */
.process-title {
  font-family: "Gotham", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

/* Description */
.process-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-text-color);
  margin: 0;
}

/* Connector line between steps — desktop only */
.process-connector {
  position: absolute;
  top: 6.8rem;
  right: -50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(117, 205, 217, 0.25),
    rgba(117, 205, 217, 0.08)
  );
  z-index: 0;
  pointer-events: none;
}
/* Hide connector on the last step */
.process-step:last-child .process-connector {
  display: none;
}

@media (max-width: 991px) {
  .process-connector {
    display: none;
  }
  .process-step {
    margin-bottom: 2rem;
  }
  .process-icon {
    margin-top: 3rem;
  }
  .process-num {
    font-size: 4.5rem;
  }
}

@media (max-width: 767px) {
  .services-process {
    padding: 70px 0;
  }
  .process-step {
    padding: 1.5rem 1rem;
  }
  .process-num {
    font-size: 4rem;
  }
}

/* ── Tools & Technologies Section ───────────────── */
.services-tools {
  padding: 80px 0 100px;
  background: var(--bg-color);
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.5rem;
}

/* Individual pill */
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(117, 205, 217, 0.25);
  border-radius: 100px;
  color: var(--body-text-color);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  background: transparent;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s,
    transform 0.2s;
  cursor: default;
}
.tool-pill:hover {
  background: rgba(117, 205, 217, 0.1);
  color: var(--primary-color);
  border-color: rgba(117, 205, 217, 0.5);
  transform: translateY(-2px);
}

.tool-pill i {
  font-size: 12px;
  color: var(--primary-color);
  opacity: 0.8;
}

/* ── CTA Section (override contact from home.css) ── */
.services-cta {
  background: var(--bg-secondary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(117, 205, 217, 0.25),
    transparent
  );
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
}
.cta-label-num {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--primary-color);
  font-weight: 500;
}
.cta-label-text {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--body-text-color);
  font-weight: 500;
}

.cta-heading {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.cta-heading em {
  font-style: italic;
  color: var(--primary-color);
}

.cta-sub {
  font-size: 15px;
  color: var(--body-text-color);
  line-height: 1.8;
  margin: 0;
  max-width: 460px;
}

.cta-action {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .services-cta {
    padding: 60px 0;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-tools {
    padding: 60px 0 80px;
  }
}

@media (max-width: 576px) {
  .tool-pill {
    font-size: 12px;
    padding: 7px 14px;
  }
}
