/* ============================================
   SERVICES CARDS
   ============================================ */

.services-section {
  width: 100%;
  padding: var(--section-padding-vertical-desktop, 80px) var(--section-padding-horizontal-desktop, 20px);
  box-sizing: border-box;
}

.services-section.section-bg--normal {
  background-color: var(--section-bg-normal, transparent);
}

.services-section.section-bg--alt {
  background-color: var(--section-bg-alt, var(--theme-color-7, #f0f0f0));
}

.services-section__inner {
  max-width: var(--content-width-general, 1170px);
  margin: 0 auto;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.services-section__intro {
  text-align: center;
  margin-bottom: 32px;
}

.services-section__intro .services-section__badge {
  display: inline-block;
}

.services-section__brief {
  font-size: var(--general-text-size-desktop, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--section-brief-color, #333);
  margin: 10px 0 0;
}

.services-section__brief p {
  margin: 0 0 1em;
}

.services-section__brief p:last-child {
  margin-bottom: 0;
}

.summary-cards {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
.summary-cards__header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  scroll-margin-bottom: 24px;
}

.summary-cards__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.summary-cards__nav[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.summary-cards__nav--prev i {
  transform: rotate(180deg);
}

.summary-cards__bullets {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.summary-cards__bullet {
  width: 12px;
  height: 12px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: none;
  background: var(--services-bullet-inactive, #cccccc);
  cursor: pointer;
}

.summary-cards__bullet.is-active {
  background: var(--services-bullet-active, #333333);
}

.summary-cards__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--general-item-gap-vertical, 20px) var(--general-item-gap-horizontal, 20px);
}

.summary-card {
  background: #fff;
  border-radius: var(--border-radius-general, 20px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.summary-card__image img {
  width: 100%;
  height: 361px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.summary-card__image--placeholder {
  height: 361px;
  background: #e5e5e5;
}

.summary-card__body {
  padding: 24px;
  display: flex;
  text-align: center;
  flex-direction: column;
  flex: 1;
}

.summary-card__summary {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #1d2327;
}

.summary-card__description {
  margin: 0 0 16px;
  color: #555;
  line-height: 1.5;
  font-size: 15px;
  flex: 1;
}

.summary-card__description p {
  margin: 0 0 12px;
}

.summary-card__description p:last-child {
  margin-bottom: 0;
}

.summary-card__link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 400;
  color: var(--summary-card-link-color, var(--theme-color-1, #333));
  text-decoration: none;
}

.summary-card__link:hover {
  opacity: 0.7;
}

.summary-card__link i {
  font-size: 14px;
}

@media (max-width: 1024px) {
  .summary-cards__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .summary-cards__header {
    display: flex;
    order: 2;
    margin-top: 16px;
    justify-content: center;
  }

  .summary-cards__track {
    order: 1;
    grid-template-columns: none;
    display: flex;
    gap: var(--general-item-gap-vertical, 20px) var(--general-item-gap-horizontal, 20px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: var(--general-item-gap-horizontal, 20px);
    padding-bottom: 8px;
    padding-left: var(--general-item-gap-horizontal, 20px);
    padding-right: var(--general-item-gap-horizontal, 20px);
    margin-left: calc(var(--general-item-gap-horizontal, 20px) * -1);
    width: calc(100% + (var(--general-item-gap-horizontal, 20px) * 2));
  }

  .summary-cards__track::-webkit-scrollbar {
    display: none;
  }

  .summary-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}

