.service-details-3 {
  background-color: color-mix(in srgb, var(--background-color), var(--default-color) 2%);

  .service-header {
    margin-bottom: 2.5rem;

    .service-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background-color: var(--surface-color);
      border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
      color: var(--accent-color);
      padding: 0.5rem 1rem;
      border-radius: 4px;
      font-size: 0.875rem;
      font-weight: 500;
      margin-bottom: 1.5rem;

      i {
        font-size: 1rem;
      }
    }

    h1 {
      font-size: 2.5rem;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 1.25rem;
      color: var(--heading-color);
    }

    .lead {
      font-size: 1.125rem;
      line-height: 1.7;
      color: color-mix(in srgb, var(--default-color), transparent 20%);
      margin: 0;
    }
  }

  .featured-image {
    margin-bottom: 3rem;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);

    img {
      width: 100%;
      height: auto;
      display: block;
    }
  }

  .content-block {
    margin-bottom: 3.5rem;

    h2 {
      font-size: 1.75rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      color: var(--heading-color);
      padding-bottom: 0.75rem;
      border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
    }

    p {
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 1.25rem;
      color: var(--default-color);
    }
  }

  .deliverables-list {
    .deliverable-item {
      display: flex;
      gap: 1.5rem;
      margin-bottom: 2rem;
      padding-bottom: 2rem;
      border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);

      &:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
      }

      .deliverable-number {
        font-size: 2rem;
        font-weight: 700;
        color: color-mix(in srgb, var(--accent-color), transparent 20%);
        line-height: 1;
        flex-shrink: 0;
        width: 60px;
      }

      .deliverable-content {
        flex: 1;

        h3 {
          font-size: 1.25rem;
          font-weight: 600;
          margin-bottom: 0.75rem;
          color: var(--heading-color);
        }

        p {
          font-size: 1rem;
          line-height: 1.6;
          color: color-mix(in srgb, var(--default-color), transparent 15%);
          margin: 0;
        }
      }
    }
  }

  .industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;

    .industry-card {
      background-color: var(--surface-color);
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
      border-radius: 6px;
      padding: 1.75rem;
      transition: all 0.3s ease;

      &:hover {
        border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      }

      .industry-icon {
        width: 48px;
        height: 48px;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;

        i {
          font-size: 1.5rem;
          color: var(--accent-color);
        }
      }

      h4 {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--heading-color);
      }

      p {
        font-size: 0.9375rem;
        line-height: 1.6;
        color: color-mix(in srgb, var(--default-color), transparent 25%);
        margin: 0;
      }
    }
  }

  .process-timeline {
    .process-step {
      background-color: var(--surface-color);
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
      border-radius: 6px;
      padding: 2rem;
      margin-bottom: 1.5rem;

      &:last-child {
        margin-bottom: 0;
      }

      .step-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;

        .step-number {
          background-color: var(--accent-color);
          color: var(--contrast-color);
          font-size: 0.875rem;
          font-weight: 600;
          padding: 0.375rem 0.875rem;
          border-radius: 4px;
        }

        .step-duration {
          font-size: 0.875rem;
          font-weight: 500;
          color: color-mix(in srgb, var(--default-color), transparent 40%);
        }
      }

      h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--heading-color);
      }

      p {
        font-size: 1rem;
        line-height: 1.6;
        color: color-mix(in srgb, var(--default-color), transparent 15%);
        margin: 0;
      }
    }
  }

  .sidebar {
    .sidebar-card {
      background-color: var(--surface-color);
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
      border-radius: 6px;
      padding: 2rem;
      margin-bottom: 2rem;

      &:last-child {
        margin-bottom: 0;
      }

      h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: var(--heading-color);
      }
    }
  }

  .quick-facts {
    .fact-list {
      .fact-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);

        &:first-child {
          padding-top: 0;
        }

        &:last-child {
          padding-bottom: 0;
          border-bottom: none;
        }

        .fact-label {
          font-size: 0.9375rem;
          color: color-mix(in srgb, var(--default-color), transparent 30%);
          font-weight: 500;
        }

        .fact-value {
          font-size: 1rem;
          color: var(--heading-color);
          font-weight: 600;
        }
      }
    }
  }

  .client-success {
    .success-quote {
      p {
        font-size: 0.9375rem;
        line-height: 1.7;
        color: color-mix(in srgb, var(--default-color), transparent 15%);
        margin-bottom: 1.5rem;
        font-style: italic;
      }
    }

    .client-info {
      display: flex;
      gap: 1rem;
      margin-bottom: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);

      .client-avatar {
        width: 56px;
        height: 56px;
        border-radius: 6px;
        object-fit: cover;
        flex-shrink: 0;
      }

      .client-details {
        .client-name {
          font-size: 1rem;
          font-weight: 600;
          color: var(--heading-color);
          margin-bottom: 0.25rem;
        }

        .client-title {
          font-size: 0.875rem;
          color: color-mix(in srgb, var(--default-color), transparent 30%);
          display: block;
          margin-bottom: 0.25rem;
        }

        .client-company {
          font-size: 0.8125rem;
          color: color-mix(in srgb, var(--default-color), transparent 40%);
          display: block;
        }
      }
    }

    .success-metrics {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;

      .metric-item {
        text-align: center;

        .metric-value {
          font-size: 1.75rem;
          font-weight: 700;
          color: var(--accent-color);
          display: block;
          line-height: 1;
          margin-bottom: 0.5rem;
        }

        .metric-label {
          font-size: 0.8125rem;
          color: color-mix(in srgb, var(--default-color), transparent 40%);
          font-weight: 500;
        }
      }
    }
  }

  .consultation-card {
    .consultation-intro {
      font-size: 0.9375rem;
      line-height: 1.6;
      color: color-mix(in srgb, var(--default-color), transparent 25%);
      margin-bottom: 1.5rem;
    }

    .consultation-form {
      .form-group {
        margin-bottom: 1.25rem;

        label {
          display: block;
          font-size: 0.875rem;
          font-weight: 500;
          color: var(--heading-color);
          margin-bottom: 0.5rem;
        }

        .form-control {
          width: 100%;
          padding: 0.75rem 1rem;
          font-size: 0.9375rem;
          border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
          border-radius: 4px;
          transition: all 0.3s ease;

          &:focus {
            outline: none;
            border-color: var(--accent-color);
          }
        }
      }

      input[type="text"],
      input[type="email"],
      input[type="tel"],
      textarea {
        color: var(--default-color);
        background-color: var(--surface-color);
        font-size: 14px;
        border-color: color-mix(in srgb, var(--default-color), transparent 80%);

        &:focus {
          border-color: var(--accent-color);
        }

        &::placeholder {
          color: color-mix(in srgb, var(--default-color), transparent 70%);
        }
      }

      .btn-submit {
        width: 100%;
        background-color: var(--accent-color);
        color: var(--contrast-color);
        border: none;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s ease;

        &:hover {
          background-color: color-mix(in srgb, var(--accent-color), black 10%);
        }
      }
    }
  }

  .related-services {
    .service-links {
      .service-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 0;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
        text-decoration: none;
        transition: all 0.3s ease;

        &:first-child {
          padding-top: 0;
        }

        &:last-child {
          padding-bottom: 0;
          border-bottom: none;
        }

        i {
          font-size: 1rem;
          color: var(--accent-color);
          transition: transform 0.3s ease;
        }

        span {
          font-size: 0.9375rem;
          font-weight: 500;
          color: var(--heading-color);
        }

        &:hover {
          i {
            transform: translateX(4px);
          }

          span {
            color: var(--accent-color);
          }
        }
      }
    }
  }

  @media (max-width: 992px) {
    .sidebar {
      margin-top: 3rem;
    }
  }

  @media (max-width: 768px) {
    .service-header {
      h1 {
        font-size: 2rem;
      }

      .lead {
        font-size: 1rem;
      }
    }

    .industry-grid {
      grid-template-columns: 1fr;
    }

    .deliverables-list {
      .deliverable-item {
        flex-direction: column;
        gap: 1rem;

        .deliverable-number {
          width: auto;
        }
      }
    }
  }
}

.blog-posts {
  padding-block: 4rem;
}

.blog-posts-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-posts-actions {
  margin-top: 0.25rem;
}

.blog-posts .post-img {
  overflow: hidden;
  height: 240px;
  border-radius: 6px;
}

.blog-posts .post-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
