/* =====================================
   SERVICE DESIGN SYSTEM
   ===================================== */

/* Base container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Unified section spacing (matches home rhythm) */
section {
  padding: 110px 24px;
}

/* Unified section headings */
section h2 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 24px;
}

/* Section subline */
section > .container > p {
  max-width: 720px;
  margin-bottom: 64px;
  color: var(--muted);
  font-size: 18px;
}


/* =====================================
   HERO SECTION
   ===================================== */

.service-hero {
  background: #f8f9fb;
}

.service-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 28px;
  max-width: 860px;
}

.service-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 40px;
}

.cta-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}


/* =====================================
   BUTTONS
   ===================================== */

.btn-primary {
  background: #1f4fd8;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: #183db0;
}

.btn-outline {
  border: 2px solid #1f4fd8;
  color: #1f4fd8;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background: #eef2ff;
}


/* =====================================
   CLEAN SERVICES OVERVIEW (Landing)
   ===================================== */

.services-clean {
  padding: 120px 24px;
}

.section-intro p {
  max-width: 720px;
  margin-bottom: 60px;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.service-overview-card {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  transition: all 0.3s ease;
}

.service-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.service-overview-card h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.service-overview-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 28px;
}

.divider {
  height: 1px;
  background: #e5e7eb;
  margin-bottom: 20px;
}

.learn-link {
  color: #1f4fd8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.learn-link:hover {
  color: #6b21a8;
}


/* =====================================
   PROBLEM SECTION (Detail Pages)
   ===================================== */

.service-problem .card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 60px;
}


.service-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border-left: 4px solid #1f4fd8;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.07);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
}


/* =====================================
   IMPLEMENTATION SECTION
   ===================================== */

.bg-soft {
  background: #f8f9fb;
}

.service-implementation ul {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 60px;
}

.service-implementation li {
  margin-bottom: 14px;
  padding-left: 22px;
  position: relative;
}

.service-implementation li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1f4fd8;
  font-weight: 600;
}


/* =====================================
   PROCESS SECTION
   ===================================== */

.service-process .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
}

.step-number {
  width: 44px;
  height: 44px;
  background: #1f4fd8;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 16px;
}


/* =====================================
   TARGET SECTION
   ===================================== */

.bg-highlight {
  background: #eef2ff;
}

.service-target ul {
  list-style: none;
  padding: 0;
}

.service-target li {
  margin-bottom: 14px;
  padding-left: 20px;
  position: relative;
}

.service-target li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1f4fd8;
  font-weight: bold;
}


/* =====================================
   OUTCOME SECTION
   ===================================== */

.service-outcomes .outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.outcome-box {
  padding: 32px;
  border-radius: 16px;
  background: #f9fbff;
  border: 1px solid #e6ecff;
  transition: all 0.25s ease;
}

.outcome-box:hover {
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.outcome-box h4 {
  margin-bottom: 12px;
  color: #1f4fd8;
}


/* =====================================
   DARK CASE STUDY SECTION
   ===================================== */

.bg-dark {
  background: #0f172a;
  color: #ffffff;
  position: relative;
}

.bg-dark h2 {
  margin-bottom: 40px;
}

.bg-dark p {
  color: #cbd5e1;
  line-height: 1.6;
}

.bg-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #1f4fd8;
}

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

.case-block h4 {
  margin-bottom: 14px;
  font-weight: 600;
}


/* =====================================
   FINAL CTA
   ===================================== */

.bg-soft-cta {
  background: #f8f9fb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.cta-content p {
  color: var(--muted);
  max-width: 600px;
}


/* =====================================
   RESPONSIVE
   ===================================== */

@media (max-width: 992px) {

  .services-grid,
  .service-outcomes .outcome-grid,
   .service-problem .card-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-implementation ul {
    columns: 1;
  }

}

@media (max-width: 768px) {

  section {
    padding: 80px 24px;
  }

  .cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

}
