/* Services Section Slider */
.services-section {
  padding-top: 2rem;
  padding-bottom: 6rem;
  background-color: var(--color-white);
}

.services-section__container {
  margin: 0 auto;
}

/* Header */
.services-section__header {
  margin-bottom: 3rem;
}

.services-section__title {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin: 0 0 1rem 0;
}

.services-section__description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin: 0 0 2rem 0;
  max-width: 100%;
}

.services-section__divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-secondary);
}

/* Slider */
.services-section__slider {
  position: relative;
}

.services-section__slider-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  min-height: 450px;
}

/* Image Container */
.services-section__image-container {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background-color: var(--color-bgc-primary);
  min-height: 400px;
}

.services-section__image-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.services-section__image-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.services-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-section__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bgc-primary);
}

.services-section__image-placeholder span {
  font-size: 4rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Content Container */
.services-section__content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

/* Navigation */
.services-section__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.services-section__nav-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}

.services-section__nav-buttons {
  display: flex;
  gap: 0.5rem;
}

.services-section__nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-primary);
}

.services-section__nav-button:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.services-section__nav-button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.services-section__nav-button svg {
  width: 20px;
  height: 20px;
}

/* Content Slides */
.services-section__content-slides {
  position: relative;
  min-height: 280px;
  padding: 40px;
  background-color: var(--color-bgc-primary);
  overflow: hidden;
}

.services-section__content-slide {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}

.services-section__content-slide.is-active {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.services-section__service-title {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin: 0 0 1.25rem 0;
}

.services-section__service-description {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text-primary);
  margin: 0 0 1.5rem 0;
}

/* CTA Button */
.services-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.services-section__cta:hover {
  color: var(--color-secondary);
}

.services-section__cta svg {
  flex-shrink: 0;
}

/* Indicators */
.services-section__indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.services-section__indicator {
  width: 12px;
  height: 12px;
  background-color: rgba(34, 60, 78, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.services-section__indicator:hover {
  background-color: rgba(34, 60, 78, 0.4);
}

.services-section__indicator.is-active {
  background-color: var(--color-secondary);
  transform: scale(1.1);
}

.services-section__indicator:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-section__slider-wrapper {
    gap: 2rem;
  }

  .services-section__service-title {
    font-size: 1.5rem;
  }

  .services-section__image-container {
    min-height: 350px;
  }
}

@media (max-width: 900px) {
  .services-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .services-section__slider-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .services-section__image-container {
    min-height: 300px;
    order: 1;
  }

  .services-section__content-container {
    order: 2;
    padding: 0;
  }

  .services-section__nav {
    justify-content: space-between;
  }

  .services-section__content-slides {
    min-height: auto;
    padding: 2rem;
  }

  .services-section__content-slide {
    position: relative;
    display: none;
  }

  .services-section__content-slide.is-active {
    display: block;
  }
}

@media (max-width: 767px) {
  .services-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .services-section__title {
    font-size: 1.6rem;
  }

  .services-section__description {
    font-size: 0.95rem;
  }

  .services-section__service-title {
    font-size: 1.35rem;
  }

  .services-section__service-description {
    font-size: 0.95rem;
  }

  .services-section__image-container {
    min-height: 250px;
  }

  .services-section__nav-button {
    width: 40px;
    height: 40px;
  }

  .services-section__nav-label {
    font-size: 0.85rem;
  }

  .services-section__indicators {
    margin-top: 2rem;
  }

  .services-section__indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .services-section__image-container {
    min-height: 220px;
  }

  .services-section__service-title {
    font-size: 1.2rem;
  }
}
