/* ==========================================================================
   Services Grid Section
   ========================================================================== */
.services-section {
  background-color: var(--stone-50);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background-color: #ffffff;
  color: var(--stone-600);
  border: 1px solid var(--stone-200);
}

.filter-tab-btn:hover {
  background-color: var(--stone-100);
}

.filter-tab-btn.active {
  background-color: var(--teal-700);
  color: #ffffff;
  border-color: var(--teal-700);
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ffffff;
  border-radius: var(--radius-2xl);
  padding: 1.625rem;
  border: 1px solid rgba(231, 229, 228, 0.9);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.service-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-xl);
  background-color: var(--teal-50);
  border: 1px solid var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
}

.service-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background-color: var(--stone-100);
  color: var(--stone-700);
  border: 1px solid var(--stone-200);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--stone-900);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.service-card:hover .service-title {
  color: var(--teal-800);
}

.service-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-top: 0.125rem;
}

.service-desc {
  font-size: 0.8125rem;
  color: var(--stone-600);
  line-height: 1.625;
}

.logistics-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--stone-700);
  background-color: var(--stone-50);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--stone-200);
}

.logistics-badge svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

.outcomes-group {
  padding-top: 0.5rem;
  border-top: 1px solid var(--stone-100);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.outcomes-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stone-500);
}

.outcomes-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--stone-700);
  list-style: none;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.outcome-item svg {
  color: var(--teal-600);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.service-action-wrap {
  padding-top: 1.25rem;
  margin-top: 1rem;
  border-top: 1px solid var(--stone-100);
}

.btn-inquire {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-xl);
  background-color: var(--stone-50);
  border: 1px solid var(--stone-200);
  color: var(--teal-800);
  font-weight: 600;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
}

.btn-inquire:hover, .service-card:hover .btn-inquire {
  background-color: var(--teal-700);
  color: #ffffff;
  border-color: var(--teal-700);
}

/* Unsure Diagnostic Callout */
.unsure-banner {
  background: linear-gradient(135deg, var(--teal-50) 0%, #ffffff 50%, var(--teal-100) 100%);
  color: var(--stone-900);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid var(--teal-200);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .unsure-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
  }
}

.unsure-text {
  max-width: 42rem;
}

.unsure-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--stone-900);
  margin-bottom: 0.375rem;
}

.unsure-desc {
  font-size: 0.875rem;
  color: var(--stone-600);
}

.btn-unsure-cta {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl);
  background-color: var(--teal-600);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-unsure-cta:hover {
  background-color: var(--teal-500);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  transform: translateY(-1px);
}