/* ── Services Carousel – carousel.css ───────────────────────────── */

.sc-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 0 8px;
}

/* Scrollable track */
.sc-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 20px;
  /* Hide scrollbar visually */
  scrollbar-width: none;
}
.sc-track::-webkit-scrollbar {
  display: none;
}

/* ── Card ────────────────────────────────────────────────────────── */
.sc-card {
  flex: 0 0 calc(33% - 18px);   /* 4 cards default */
/*  min-width: 220px;
  max-width: 320px;*/
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: box-shadow .2s ease, transform .2s ease;
  /* Reset anchor styles when card is a link */
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.sc-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.14);
  transform: translateY(-3px);
}

/* Image wrap */
.sc-card__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 68%; /* ~3:2 ratio */
  overflow: hidden;
  background: #e8e8e8;
}
.sc-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.sc-card:hover .sc-card__image {
  transform: scale(1.04);
}
.sc-card__image--placeholder {
  background: linear-gradient(135deg, #ddd 0%, #c5c5c5 100%);
}

/* Badges overlay */
.sc-card__badges {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sc-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #b5e01f;
    color: #1a1a1a;
    font-size: 12px;
    font-family: 'Geist Regular';
    letter-spacing: .3px;
    line-height: 1;
    white-space: nowrap;
}

.sc-card__badges span:last-child {
    background: #fff;
}

/* Card body */
.sc-card__body {
  padding: 16px 18px 20px;
}
.sc-card__title {
    margin: 0 0 6px;
    font-size: 18px;
    letter-spacing: 0.3px;
    color: #111;
    line-height: 1.25;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: 'Geist Regular';
}

.sc-card__arrow {
  font-size: 13px;
  color: #888;
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.sc-card:hover .sc-card__arrow {
  color: #b5e01f;
  transform: translate(2px, -2px);
}
.sc-card__desc {
    margin: 0;
    font-size: 16px;
    font-family: 'Geist Regular';
    color: #555;
    line-height: 1.55;
}


/* ── Navigation Arrows ───────────────────────────────────────────── */
.sc-arrow {
  display: none;   /* shown via JS when overflow exists */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  z-index: 10;
  transition: background .15s, box-shadow .15s;
}
.sc-arrow:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
}
.sc-arrow--prev { left: 0; }
.sc-arrow--next { right: 0; }
.sc-arrow.is-visible { display: flex; align-items: center; justify-content: center; }
.sc-arrow:disabled { opacity: .35; pointer-events: none; }

/* ── Empty state ─────────────────────────────────────────────────── */
.sc-empty {
  padding: 24px;
  text-align: center;
  color: #888;
  font-size: 15px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sc-card { flex: 0 0 calc(33.333% - 16px); }
}
@media (max-width: 768px) {
  .sc-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 480px) {
  .sc-card { flex: 0 0 85%; }
  .sc-arrow { display: none !important; }
}
