/* ============================================
   SERVICES PAGE STYLES
   carbotrace.in | css/pages/services.css
   ============================================ */


/* ================================================================== */
/*  SERVICE ENTRY SECTIONS                                             */
/* ================================================================== */

.service-section {
  padding-block: var(--space-24);
}

.service-section--alt {
  background: var(--color-surface-alt);
}

.service-section--dark {
  background: var(--color-secondary);
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.service-layout--reversed .service-content {
  order: 2;
}

.service-layout--reversed .service-aside {
  order: 1;
}

/* Content side */
.service-content .badge {
  margin-bottom: var(--space-5);
}

.service-content__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
}

.service-section--dark .service-content__title {
  color: var(--color-text-inverse);
}

.service-content__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.service-section--dark .service-content__lead {
  color: rgba(255 255 255 / 0.65);
}

.service-content__cta {
  margin-top: var(--space-8);
}

/* Aside / panel */
.service-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.service-section--dark .service-panel {
  background: rgba(255 255 255 / 0.04);
  border-color: rgba(255 255 255 / 0.1);
}

.service-panel__title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.service-section--dark .service-panel__title {
  color: rgba(255 255 255 / 0.35);
}

/* Timeline meta */
.service-meta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.service-meta-item {
  flex: 1;
  min-width: 120px;
  padding: var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.service-section--dark .service-meta-item {
  background: rgba(255 255 255 / 0.04);
  border-color: rgba(255 255 255 / 0.1);
}

.service-meta-item__num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.service-section--dark .service-meta-item__num {
  color: var(--color-accent);
}

.service-meta-item__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.service-section--dark .service-meta-item__label {
  color: rgba(255 255 255 / 0.4);
}

/* Urgency notice */
.urgency-notice {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
}

.urgency-notice__icon {
  flex-shrink: 0;
  color: var(--color-error);
  margin-top: 2px;
}

.urgency-notice__text {
  font-size: var(--text-sm);
  color: #991b1b;
  line-height: var(--leading-relaxed);
}

.urgency-notice__text strong {
  color: var(--color-error);
}

@media (max-width: 1024px) {
  .service-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .service-layout--reversed .service-content,
  .service-layout--reversed .service-aside {
    order: unset;
  }

  .service-content__title {
    font-size: var(--text-4xl);
  }
}

@media (max-width: 640px) {
  .service-section {
    padding-block: var(--space-16);
  }

  .service-content__title {
    font-size: var(--text-3xl);
  }
}


/* ================================================================== */
/*  COMPARISON TABLE                                                   */
/* ================================================================== */

.comparison-section {
  background: var(--color-bg);
  padding-block: var(--space-24);
}

.comparison-section .section-header {
  margin-bottom: var(--space-12);
}
