/* Service pages — “more services” carousel (vanilla, inspired by 21st.dev card carousel) */

.svc-more-carousel {
  --svc-more-gap: 1.5rem;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 168, 76, 0.07), transparent 55%),
    var(--off-white, #f7f8fa);
  border-top: 1px solid var(--border, rgba(10, 22, 40, 0.08));
}

.svc-more-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.svc-more-head .s-label {
  justify-content: center;
}

.svc-more-desc {
  font-size: 0.9rem;
  color: var(--text-secondary, #5a6578);
  line-height: 1.75;
  margin-top: 0.75rem;
}

.svc-more-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 1200px;
  margin: 0 auto;
}

.svc-more-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  border-radius: var(--radius, 6px);
  touch-action: pan-y pinch-zoom;
}

.svc-more-track {
  display: flex;
  align-items: stretch;
  gap: var(--svc-more-gap);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .svc-more-track {
    transition: none;
  }
}

.svc-more-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, rgba(10, 22, 40, 0.08));
  border-radius: var(--radius, 6px);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  animation: svc-more-card-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.svc-more-card:nth-child(1) { animation-delay: 0.05s; }
.svc-more-card:nth-child(2) { animation-delay: 0.1s; }
.svc-more-card:nth-child(3) { animation-delay: 0.15s; }
.svc-more-card:nth-child(4) { animation-delay: 0.2s; }
.svc-more-card:nth-child(5) { animation-delay: 0.25s; }
.svc-more-card:nth-child(6) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .svc-more-card {
    animation: none;
  }
}

@keyframes svc-more-card-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.svc-more-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    125deg,
    transparent 0%,
    transparent 38%,
    rgba(201, 168, 76, 0.12) 50%,
    transparent 62%,
    transparent 100%
  );
  background-size: 280% 280%;
  background-position: 100% 50%;
  opacity: 0;
  transition: opacity 0.45s ease, background-position 0.85s ease;
  pointer-events: none;
  z-index: 0;
}

.svc-more-card:hover::before,
.svc-more-card:focus-visible::before {
  opacity: 1;
  background-position: 0% 50%;
}

.svc-more-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 22px 55px rgba(10, 22, 40, 0.1),
    0 0 0 1px rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .svc-more-card:hover {
    transform: none;
  }
}

.svc-more-card:focus-visible {
  outline: 2px solid var(--gold, #c9a84c);
  outline-offset: 4px;
}

.svc-more-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold, #c9a84c), var(--gold-light, #e2c97e));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.svc-more-card:hover::after,
.svc-more-card:focus-visible::after {
  transform: scaleX(1);
}

.svc-more-num {
  font-family: var(--ff-head, Cormorant, Georgia, serif);
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 600;
  color: rgba(10, 22, 40, 0.08);
  line-height: 1;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
  transition: color 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc-more-card:hover .svc-more-num {
  color: rgba(201, 168, 76, 0.35);
  transform: translateX(3px);
}

.svc-more-name {
  font-family: var(--ff-head, Cormorant, Georgia, serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy, #0a1628);
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 1;
}

.svc-more-text {
  font-size: 0.82rem;
  color: var(--text-secondary, #5a6578);
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.svc-more-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.svc-more-list li {
  font-size: 0.74rem;
  color: var(--text-secondary, #5a6578);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.45;
}

.svc-more-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold, #c9a84c);
  flex-shrink: 0;
}

.svc-more-cta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold, #c9a84c);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s;
  position: relative;
  z-index: 1;
}

.svc-more-card:hover .svc-more-cta {
  gap: 0.75rem;
  color: var(--gold-light, #e2c97e);
}

.svc-more-arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.45);
  background: rgba(255, 255, 255, 0.85);
  color: var(--gold, #c9a84c);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 2;
}

.svc-more-arrow:hover:not(:disabled) {
  background: var(--gold, #c9a84c);
  color: var(--navy, #0a1628);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.28);
}

.svc-more-arrow:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.svc-more-arrow:focus-visible {
  outline: 2px solid var(--gold, #c9a84c);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .svc-more-arrow {
    width: 40px;
    height: 40px;
  }
  .svc-more-shell {
    gap: 0.2rem;
  }
}

.svc-more-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.svc-more-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(10, 22, 40, 0.15);
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.svc-more-dot:hover {
  background: rgba(201, 168, 76, 0.55);
}

.svc-more-dot.is-active {
  background: var(--gold, #c9a84c);
  width: 26px;
  border-radius: 100px;
}

.svc-more-dot:focus-visible {
  outline: 2px solid var(--gold, #c9a84c);
  outline-offset: 3px;
}

.svc-more-live.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
