@charset "UTF-8";

.service-detail {
  padding: 60px 0;
}

.service-hero {
  position: relative;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
}

.service-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(31, 41, 55, 0.9) 0%, rgba(31, 41, 55, 0.4) 100%);
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.service-hero-content {
  color: #fff;
  max-width: 600px;
}

.service-hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-hero-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.service-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.service-intro-main h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}

.service-intro-main p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-sidebar {
  background: var(--light);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.service-sidebar h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--dark);
}

.service-sidebar-list {
  list-style: none;
}

.service-sidebar-list li {
  margin-bottom: 4px;
}

.service-sidebar-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.2s ease;
}

.service-sidebar-list a:hover,
.service-sidebar-list a.active {
  background: var(--dark);
  color: var(--primary);
}

.service-features {
  margin-bottom: 60px;
}

.service-features h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--light);
  border-radius: 10px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 6px 20px var(--shadow);
  transform: translateY(-4px);
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.service-flow {
  background: var(--light);
  border-radius: 12px;
  padding: 48px;
  margin-bottom: 60px;
}

.service-flow h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 32px;
  text-align: center;
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--border);
}

.flow-step {
  text-align: center;
  position: relative;
  flex: 1;
}

.flow-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.flow-step h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 13px;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .service-intro {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

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

@media (max-width: 768px) {
  .service-hero {
    height: 350px;
  }

  .service-hero-overlay {
    padding: 0 24px;
  }

  .service-hero-content h1 {
    font-size: 26px;
  }

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

  .flow-steps {
    flex-direction: column;
    gap: 32px;
  }

  .flow-steps::before {
    display: none;
  }
}
