/* ── Tilted photo gallery ────────────────────────────────────────────────── */

.photo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: var(--s5) 0;
  margin-top: var(--s5);
}

.photo-strip__item {
  flex: 0 0 auto;
  width: clamp(220px, 28vw, 360px);
  margin: 0;
  padding: 12px 12px 28px;
  background: var(--paper);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}

.photo-strip__item:nth-child(1) {
  transform: rotate(-5deg) translateX(22px);
  z-index: 1;
}

.photo-strip__item:nth-child(2) {
  transform: rotate(3deg) translateY(-10px);
  z-index: 3;
  margin: 0 -24px;
}

.photo-strip__item:nth-child(3) {
  transform: rotate(-4deg) translateX(-22px);
  z-index: 2;
}

.photo-strip__item:hover {
  transform: rotate(0deg) scale(1.04) translateY(-6px);
  box-shadow:
    0 16px 48px color-mix(in srgb, var(--color-accent) 18%, transparent),
    0 4px 16px rgba(0, 0, 0, 0.10);
  z-index: 10;
}

.photo-strip__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ── Rich testimonial carousel ───────────────────────────────────────────── */

.testimonial-carousel__track {
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--s3) 0;
}

.testimonial-carousel__track::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  flex: 0 0 calc(33.333% - var(--s4) * 2 / 3);
  min-width: 300px;
  scroll-snap-align: start;
  position: relative;
  padding: var(--s6) var(--s5);
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animated gold gradient border */
.testimonial-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(135deg,
      var(--color-accent) 0%,
      var(--color-border) 30%,
      var(--color-accent) 60%,
      var(--color-border) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Oversized decorative quote mark */
.testimonial-slide__quote-mark {
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.testimonial-slide:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px color-mix(in srgb, var(--color-accent) 15%, transparent),
    0 4px 12px rgba(0, 0, 0, 0.06);
}

.testimonial-slide blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.testimonial-slide cite {
  display: block;
  margin-top: var(--s4);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
}

.testimonial-slide cite span {
  display: block;
  margin-top: 0.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: none;
  font-size: 0.7rem;
}

/* Dot navigation */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--s2);
  margin-top: var(--s5);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background: var(--color-accent);
  transform: scale(1.15);
}

/* ── Decorative Star ─────────────────────────────────────────────────────── */

.deco-star {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}

.deco-star::before,
.deco-star::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  opacity: 0.3;
}

.deco-star::before {
  clip-path: polygon(50% 0%, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0% 50%, 40% 38%);
  animation: deco-star-rotate 20s linear infinite;
}

.deco-star::after {
  clip-path: polygon(50% 5%, 58% 40%, 95% 50%, 58% 60%, 50% 95%, 42% 60%, 5% 50%, 42% 40%);
  animation: deco-star-rotate 30s linear infinite reverse;
  opacity: 0.2;
}

@keyframes deco-star-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {

  .deco-star::before,
  .deco-star::after {
    animation: none;
  }
}

/* ── Photo strip responsive ──────────────────────────────────────────────── */

@media (max-width: 64rem) {
  .photo-strip {
    flex-direction: column;
    align-items: center;
    gap: var(--s3);
  }

  .photo-strip__item {
    width: min(80%, 340px);
    margin: 0;
  }

  .photo-strip__item:nth-child(1),
  .photo-strip__item:nth-child(2),
  .photo-strip__item:nth-child(3) {
    transform: rotate(0deg) translateX(0) translateY(0);
  }

  .testimonial-slide {
    flex: 0 0 85%;
    min-width: 260px;
  }

  .deco-star {
    width: 50px;
    height: 50px;
    bottom: 2rem;
    right: 2rem;
  }
}
