/* =====================================================================
   Home page stats + working process (index.php, section.process-v2)
   One dark rounded panel on a light section:
   title + button / 3-step horizontal timeline / 4 stats.
   Uses brand tokens from header-modern.css and .hero-btn from hero.css.
   ===================================================================== */
.process-v2 {
  position: relative;
  padding: 100px 0;
  background: #fbfaff;
}
.process-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Panel ---------- */
.process-panel {
  position: relative;
  padding: 30px 52px 22px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(45% 70% at 0% 0%, rgba(255, 122, 61, 0.22), transparent 70%),
    radial-gradient(45% 80% at 100% 100%, rgba(106, 61, 240, 0.4), transparent 70%),
    radial-gradient(35% 60% at 55% 45%, rgba(232, 49, 138, 0.14), transparent 70%),
    #0f0e22;
  box-shadow: 0 40px 80px -40px rgba(60, 30, 140, 0.7);
}
/* faint grid inside the panel, like the hero */
.process-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* pattern: soft flowing wave lines */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24'%3E%3Cpath d='M0 12 C 20 2, 40 2, 60 12 S 100 22, 120 12' fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 120px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

/* ---------- Head ---------- */
.process-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
/* same eyebrow pill as Services (dark version) */
.process-v2 .section-eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  color: #f0abfc;
}
/* same title style as the other sections */
.process-v2 .process-title {
  margin: 20px 0 0;
  font-family: var(--title-font);
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
}
.process-title-grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-head .hero-btn {
  flex-shrink: 0;
  height: 54px;
}

/* ---------- Steps: horizontal timeline ---------- */
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
/* glowing line through the icon circles (from 1st to 3rd centre) */
.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink) 50%, var(--brand-purple));
  box-shadow: 0 0 14px rgba(232, 49, 138, 0.6);
  opacity: 0.7;
}
.process-step {
  position: relative;
  text-align: center;
}
.process-step-icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(#17152f, #17152f) padding-box,
    var(--brand-gradient) border-box;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 0 0 8px #0f0e22, 0 12px 30px -8px rgba(232, 49, 138, 0.55);
  transition: background 400ms ease, transform 450ms var(--header-ease);
}
.process-step:hover .process-step-icon {
  background: var(--brand-gradient) border-box;
  transform: translateY(-4px) scale(1.06);
}
.process-step-label {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--text-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f9a8d4;
}
.process-v2 .process-step h3 {
  margin: 8px 0 0;
  font-family: var(--title-font);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.process-v2 .process-step p {
  max-width: 360px;
  margin: 6px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- Stats ---------- */
.process-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.process-stats li {
  text-align: center;
}
.process-stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.process-stats strong {
  display: block;
  font-family: var(--title-font);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.process-stats em {
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-stats small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .process-v2 {
    padding: 90px 0;
  }
  .process-panel {
    padding: 40px 28px 32px;
  }
  .process-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-steps::before {
    display: none;
  }
  .process-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }
  .process-stats li:nth-child(3) {
    border-left: 0;
  }
}
@media (max-width: 575.98px) {
  .process-container {
    padding: 0 16px;
  }
  .process-panel {
    padding: 34px 20px 28px;
    border-radius: 24px;
  }
  .process-stats strong {
    font-size: 28px;
  }
}

/* tablets & phones: move "Get a Free Consultation" to the bottom of the panel */
@media (max-width: 991.98px) {
  .process-panel {
    display: flex;
    flex-direction: column;
  }
  .process-head {
    display: contents;
  }
  .process-head .hero-btn {
    order: 10;
    align-self: center;
    margin-top: 28px;
  }
}
@media (max-width: 575.98px) {
  .process-head .hero-btn {
    align-self: stretch;
    justify-content: center;
  }
}

/* tablets & phones: centre the label + title */
@media (max-width: 991.98px) {
  .process-head > div {
    text-align: center;
  }
}
