/* Page Hero & Breadcrumbs */
.page-hero-section {
  background: linear-gradient(135deg, #FFFFFF 0%, #EAF6FC 100%);
  padding: 40px 0 50px;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: 14px;
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-btn);
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 10px;
  color: var(--color-border);
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs span {
  color: var(--color-heading);
  font-weight: 500;
}

.page-hero-content {
  max-width: 850px;
}

.page-hero-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 15px;
  line-height: 1.25;
}

.page-hero-desc {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-heading);
  box-shadow: var(--shadow-sm);
}

.hero-chip svg {
  color: var(--color-btn);
}

/* Quick Navigation Anchor Bar */
.services-nav-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 75px;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(46, 70, 99, 0.04);
}

.nav-bar-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.nav-bar-wrapper::-webkit-scrollbar {
  display: none;
}

.nav-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-section);
  color: var(--color-heading);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.nav-bar-item:hover,
.nav-bar-item.active {
  background: var(--color-btn);
  color: #FFFFFF;
}

/* Services Catalog Blocks */
.services-catalog-section {
  padding: 60px 0;
}

.category-block {
  margin-bottom: 70px;
  scroll-margin-top: 130px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg-section);
}

.category-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-btn);
  background: rgba(35, 125, 181, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.category-title-wrap h2 {
  font-size: 28px;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.category-title-wrap p {
  font-size: 15px;
  color: var(--color-text-muted);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-detail-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.service-detail-card.featured {
  border: 2px solid var(--color-btn);
  box-shadow: var(--shadow-md);
}

.card-popular-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #237DB5;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  text-transform: uppercase;
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-detail-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(46, 70, 99, 0.9);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-heading);
}

.card-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.card-features {
  list-style: none;
  margin-bottom: 22px;
  margin-top: auto;
}

.card-features li {
  font-size: 13px;
  color: var(--color-heading);
  padding: 5px 0;
  position: relative;
  padding-left: 20px;
  border-bottom: 1px dashed var(--color-border);
}

.card-features li:last-child {
  border-bottom: none;
}

.card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-btn);
  font-weight: 700;
}

.card-action {
  margin-top: 10px;
}

.link-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-btn);
  display: inline-flex;
  align-items: center;
}

.link-more:hover {
  color: var(--color-btn-hover);
  text-decoration: underline;
}

/* Comparison Table */
.compare-table-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-bottom: 30px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.compare-table th {
  background: var(--bg-section);
  color: var(--color-heading);
  font-weight: 500;
}

.price-old {
  text-decoration: line-through;
  color: var(--color-text-muted);
  font-size: 14px;
}

.price-new {
  font-weight: 700;
  color: var(--color-btn);
  font-size: 16px;
}

.badge-saving {
  display: inline-block;
  background: #E1F5FE;
  color: #0288D1;
  font-weight: 700;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 12px;
}

.compare-cta {
  text-align: center;
}

/* Workflow Section */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.workflow-card {
  background: #FFFFFF;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.wf-step {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
  line-height: 1;
}

.workflow-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--color-heading);
}

.workflow-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-accordion-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq-icon {
  font-size: 20px;
  color: var(--color-btn);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  display: none;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px dashed var(--color-border);
  margin-top: 5px;
  padding-top: 15px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Responsive Overrides for Services Page */
@media (max-width: 1024px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero-title {
    font-size: 28px;
  }

  .services-cards-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .services-nav-bar {
    top: 60px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
    font-size: 13px;
  }
}