.serviceCompare {
  background: linear-gradient(90deg, #fbfbfb 0%, #ffffff 50%, #fbfbfb 100%);
  color: #000;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.serviceCompare__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 64px;
}

.serviceCompare__table {
  width: 100%;
}

/* Header cards (plans) */
.serviceCompare__head {
  display: grid;
  grid-template-columns: var(--sc-label-col, 299px) repeat(
      var(--sc-cols, 3),
      minmax(180px, 1fr)
    );
  gap: 20px;
  align-items: start;
  margin-bottom: 32px;
}

.serviceCompare__headSpacer {
  height: 1px;
}

.serviceCompare__planCard {
  position: relative;
  border: 0.5px solid #909090;
  border-radius: 10px;
  background: #fff;
  padding: 42px 15px 14px;
}

.serviceCompare__planBadge {
  position: absolute;
  left: 15px;
  top: 7px;
  background: #ff8000;
  color: #fff;
  border-radius: 5px;
  padding: 6px 8px;
  font: 400 12px/1.5 "DM Sans";
}

.serviceCompare__planInfoIcon {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.serviceCompare__planInfoIcon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.serviceCompare__planMonthly {
  margin: 0;
  font: 400 14px/1.5 "DM Sans";
  color: #000;
}

.serviceCompare__planPrice {
  margin: 0;
  font: 700 24px/1.5 "DM Sans";
  color: #000;
}

/* Sections */
.serviceCompare__section {
  margin-top: 40px;
}

.serviceCompare__sectionTitle {
  margin: 0 0 12px;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: #000;
}

.serviceCompare__grid {
  width: 100%;
  border-radius: 0;
}

.serviceCompare__row {
  display: grid;
  grid-template-columns: var(--sc-label-col, 299px) repeat(
      var(--sc-cols, 3),
      minmax(180px, 1fr)
    );
  align-items: stretch;
}

.serviceCompare__row.is-alt {
  background: #f7f7f7;
}

.serviceCompare__cell {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.serviceCompare__cell--label {
  justify-content: flex-start;
}

.serviceCompare__feat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

.serviceCompare__infoBtn {
  width: 14px;
  height: 14px;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.serviceCompare__infoBtn img {
  width: 14px;
  height: 14px;
  display: block;
}

.serviceCompare__tooltip {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  min-width: 180px;
  max-width: 240px;
  background: #151515;
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font: 400 13px/1.4 "DM Sans";
  z-index: 20;
  display: none;
}

.serviceCompare__infoBtn.is-open .serviceCompare__tooltip {
  display: block;
}

.serviceCompare__icon {
  width: 24px;
  height: 24px;
}

.serviceCompare__icon--check {
  color: #20b14b;
}

.serviceCompare__icon--close {
  color: #ff2b2b;
}

/* Bottom CTA row */
.serviceCompare__ctaRow {
  display: grid;
  grid-template-columns: var(--sc-label-col, 299px) repeat(
      var(--sc-cols, 3),
      minmax(180px, 1fr)
    );
  align-items: center;
  margin-top: 40px;
}

.serviceCompare__ctaSpacer {
  height: 1px;
}

.serviceCompare__ctaCell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.serviceCompare__ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 20px;
  border-radius: 30px;
  background: #1e1e1e;
  color: #fff;
  text-decoration: none;
  font: 500 16px/1.5 "DM Sans";
  white-space: nowrap;
}

.serviceCompare__ctaBtn svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

/* Scroll for small screens */
@media (max-width: 1024px) {
  .serviceCompare__inner {
    padding: 96px 32px;
  }
}

@media (max-width: 860px) {
  .serviceCompare__inner {
    padding: 80px 20px;
  }

  .serviceCompare__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .serviceCompare__scroll::-webkit-scrollbar {
    display: none;
  }

  .serviceCompare__head,
  .serviceCompare__row,
  .serviceCompare__ctaRow {
    min-width: calc(var(--sc-label-col, 240px) + (var(--sc-cols, 3) * 220px));
  }
}
