/**
 * Parts24 — Services Page
 * src/css/pages/services.css
 *
 * Page-specific styles for the services page only.
 * Mobile-first: base = mobile, min-width overrides scale up.
 *
 * Sections:
 *   1. WhatsApp cards
 *   2. How it works / steps
 *   3. Delivery schedule (dark section)
 *   4. Professional features (light section)
 *   5. Section CTA
 *   6. Tablet (≥ 768px)
 *   7. Desktop (≥ 1024px)
 */

/* ============================================
   1. WHATSAPP CARDS
   ============================================ */

.wa-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.wa-card {
  background: var(--color-white);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition:
    border-color var(--transition-base),
    box-shadow  var(--transition-base),
    transform   var(--transition-base);
}

.wa-card:hover {
  border-color: #25D366;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.wa-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.wa-card__header h3 {
  font-size: var(--text-lg);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-1);
}

.wa-card__number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  font-family: var(--font-heading);
  color: #25D366;
  text-decoration: none;
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.wa-card__number:hover {
  color: #1ebe5b;
}

.wa-card__desc {
  margin: 0;
  color: var(--color-gray-700);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* ============================================
   2. HOW IT WORKS / STEPS
   ============================================ */

.how-it-works {
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.how-it-works h3 {
  font-size: var(--text-xl);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-5);
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0;
}

.steps-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: var(--space-10);
  margin-bottom: var(--space-5);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
}

.steps-list li:last-child {
  margin-bottom: 0;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--color-accent-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
}

.steps-list strong {
  color: var(--color-primary-dark);
}

/* ============================================
   3. DELIVERY SCHEDULE (dark section)
   ============================================ */

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.schedule-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  text-align: center;
}

.schedule-card__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-3);
}

.schedule-card h3 {
  font-size: var(--text-lg);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-3);
}

.schedule-card__cutoff {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin-bottom: var(--space-3);
}

.schedule-card__cutoff strong {
  color: var(--color-primary-dark);
}

.schedule-card__result {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-700);
}

.schedule-card__result strong {
  display: block;
  font-size: var(--text-base);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-1);
}

.schedule-card__note {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-gray-500);
  font-style: italic;
}

.schedule-card--express {
  border-color: var(--color-accent-primary);
}

/* ============================================
   4. PROFESSIONAL FEATURES (light section)
   ============================================ */

.pro-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.pro-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.pro-feature__icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: var(--space-1);
}

.pro-feature h4 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-1);
}

.pro-feature p {
  margin: 0;
  color: var(--color-gray-700);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* ============================================
   5. SECTION CTA
   ============================================ */

.srv-cta {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.srv-cta__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.srv-cta__hint {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  font-style: italic;
  text-align: center;
  max-width: 30ch;
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* ============================================
   6. TABLET (≥ 768px)
   ============================================ */

@media (min-width: 768px) {

  .wa-cards {
    grid-template-columns: 1fr 1fr;
  }

  .wa-card__header h3 { font-size: var(--text-xl); }
  .wa-card__number    { font-size: var(--text-3xl); }

  .how-it-works { padding: var(--space-8); }
  .how-it-works h3 { font-size: var(--text-2xl); }

  .steps-list li {
    padding-left: var(--space-12);
    margin-bottom: var(--space-6);
  }

  .steps-list li::before {
    width: 32px;
    height: 32px;
    font-size: var(--text-base);
  }

  .schedule-grid {
    grid-template-columns: 1fr 1fr;
  }


  .schedule-card { padding: var(--space-8); }
  .schedule-card__icon { font-size: 3rem; }
  .schedule-card h3 { font-size: var(--text-xl); }
  .schedule-card__result { font-size: var(--text-base); }

  .pro-features {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .pro-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pro-feature__icon {
    margin-top: 0;
  }

}

/* ============================================
   7. DESKTOP (≥ 1024px)
   ============================================ */

@media (min-width: 1024px) {

  .pro-features {
    gap: var(--space-6);
  }

}
