/* Page header */

.services-hero {
  padding: 5rem 0 3rem;
  background: var(--bg-secondary);
}

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

.services-hero .section-subtitle {
  max-width: 620px;
}

/* Jump links */

.service-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.service-jump-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 1.1rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.service-jump-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-jump-link-accent {
  color: var(--accent);
  border-color: rgba(147, 51, 234, 0.4);
  background: rgba(147, 51, 234, 0.08);
}

/* Service detail sections */

.service-detail {
  padding: 4.5rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  /* Clear the sticky header when jumped to via anchor */
  scroll-margin-top: 6rem;
}

.service-detail-alt {
  background: var(--bg-secondary);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-detail-number {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(147, 51, 234, 0.25);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-detail-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-detail-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-detail-body {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.service-detail-body:last-of-type {
  margin-bottom: 0;
}

/* "Commonly used for" tags */

.service-best-for {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.service-best-for h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem 0.7rem;
}

/* "What's included" panel */

.service-includes {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  position: sticky;
  top: 6rem;
}

.service-includes h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.service-includes ul {
  list-style: none;
  margin-bottom: 1.75rem;
}

.service-includes li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-includes li:last-child {
  margin-bottom: 0;
}

.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Pricing */

.pricing-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  scroll-margin-top: 6rem;
}

/* Promotion cards */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid rgba(147, 51, 234, 0.35);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

/* Accent rail down the left edge */
.promo-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}

.promo-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.promo-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.25);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 1rem;
}

.promo-headline {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.promo-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.promo-terms {
  list-style: none;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.promo-terms li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

.promo-terms li:last-child {
  margin-bottom: 0;
}

.promo-terms li::before {
  content: '*';
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--accent);
}

/* Rate card */

.rate-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
}

.rate-card-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.rate-list {
  list-style: none;
  text-align: left;
  margin-bottom: 1.75rem;
}

.rate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.rate-row:first-child {
  border-top: 1px solid var(--border);
}

.rate-row-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rate-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.rate-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.rate-row-price {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.rate-price {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.rate-unit {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rate-disclaimer {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

/* Industries */

.industries-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.industry-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.industry-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.industry-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* Process */

.process-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.process-steps {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.75rem;
  padding-bottom: 2.25rem;
  position: relative;
}

/* Connector line down the left rail */
.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.process-step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.process-step-content h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  padding-top: 0.9rem;
}

.process-step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* CTA actions */

.services-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-includes {
    position: static;
  }
}

@media (max-width: 600px) {
  .services-hero {
    padding: 3.5rem 0 2.5rem;
  }

  .pricing-section {
    padding: 4rem 0;
  }

  .rate-card {
    padding: 1.75rem 1.25rem;
  }

  /* Stack the price under the service name rather than squeezing both */
  .rate-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .rate-row-price {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
  }

  .rate-price {
    font-size: 1.35rem;
  }

  .promo-card {
    padding: 1.75rem 1.5rem;
  }

  .promo-headline {
    font-size: 1.35rem;
  }

  .service-detail {
    padding: 3.5rem 0;
  }

  .service-detail-title {
    font-size: 1.6rem;
  }

  .process-step {
    gap: 1.15rem;
  }

  .process-step:not(:last-child)::before {
    left: 22px;
  }

  .process-step-number {
    width: 45px;
    height: 45px;
    font-size: 1.05rem;
  }

  .process-step-content h3 {
    padding-top: 0.6rem;
  }
}
