/* ── Services Carousel Plugin Styles ── */

.sc-services {
  overflow: hidden;
}

.sc-services-inner {
  max-width: 82rem;
  margin: 0 auto;
}

/* ── Carousel Wrapper ── */
.sc-carousel-wrapper {
  opacity: 0;
  animation: scFadeUp 0.7s ease 0.15s forwards;
}

.sc-carousel-track-outer {
  overflow: hidden;
}

.sc-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

/* ── Card ── */
.sc-service-card {
  position: relative;
  flex: 0 0 100%;
  height: 480px;
  overflow: hidden;
  background: #1a180e;
  cursor: pointer;
}

@media (min-width: 640px) {
  .sc-service-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .sc-service-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.sc-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.sc-service-card:hover .sc-card-bg {
  transform: scale(1.08);
}

.sc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 5, 0.92) 0%, rgba(10, 8, 5, 0.45) 45%, rgba(10, 8, 5, 0.08) 100%);
  opacity: 0.8;
  transition: opacity 0.5s ease;
}

.sc-service-card:hover .sc-card-overlay {
  opacity: 0.95;
}

.sc-card-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.sc-card-top {
  margin-bottom: 0.75rem;
  transition: transform 0.5s ease;
}

.sc-service-card:hover .sc-card-top {
  transform: translateY(-8px);
}

.sc-card-icon {
  display: block;
  margin-bottom: 1rem;
}

.sc-card-icon svg {
  width: 2rem;
  height: 2rem;
  opacity: 0.75;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc-card-title {
  font-size: 1.55rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.6rem !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  border: none !important;
  background: none !important;
}

.sc-card-line {
  height: 1.5px;
  width: 2.5rem;
  background: #FFFFFF;
  transition: width 0.5s ease;
}

.sc-service-card:hover .sc-card-line {
  width: 100%;
}

.sc-card-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0 !important;
  transition: max-height 0.5s ease 0.1s, opacity 0.5s ease 0.1s;
}

.sc-service-card:hover .sc-card-description {
  max-height: 200px;
  opacity: 1;
}

/* ── Controls ── */
.sc-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

.sc-carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.sc-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none !important;
  padding: 0 !important;
  display: block !important;
}

.sc-dot.active {
  background: #000 !important;
  width: 24px !important;
  border-radius: 3px !important;
}

.sc-carousel-counter {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin: 0;
  color: inherit;
}

.sc-carousel-btns {
  display: flex;
  gap: 0.75rem;
}

.sc-carousel-btn {
  width: 44px !important;
  height: 44px !important;
  border: 1.5px solid rgba(26, 24, 20, 0.22) !important;
  background: transparent !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0 !important;
  color: #1a180e !important;
  border-radius: 0 !important;
}

.sc-carousel-btn:hover {
  background: #1a180e;
  border-color: #1a180e;
  color: white;
}

.sc-carousel-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc-carousel-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.sc-empty {
  color: #888;
  font-style: italic;
}

@keyframes scFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
