/* Trust / slider-card testimonials (Crownstore).
 * Scroll entrance: root `data-cs-scroll-reveal` + `.reveal` columns — theme.css + components/js/animation.js */
.trust-section {
  background: var(--color-surfaceCard, #f2ede3);
  padding: 140px 48px;
  border-top: 1px solid var(--theme-border, var(--color-border, #c4b8a0));
  border-bottom: 1px solid var(--theme-border, var(--color-border, #c4b8a0));
}

.trust-inner {
  max-width: var(--theme-container, 1340px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: center;
}

/* Testimonials */
.trust-testimonials .eyebrow {
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--theme-font-family);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--theme-muted);
  margin-bottom: 20px;
}

/* All slides sit in one grid cell → row height = tallest slide (no jump on change) */
.testimonials {
  display: grid;
  grid-template-areas: stack;
  min-height: 0;
  width: 100%;
}

.testimonial {
  grid-area: stack;
  align-self: start;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.testimonial.active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial {
    transition-duration: 0.01ms;
  }
}

.testimonial blockquote {
  font-family: var(--theme-font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-secondary, #2a2118);
  margin-bottom: 43px;
}

.testimonial cite {
  font-size: 11px;
  font-style: normal;
  font-family: var(--theme-font-family);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted, #9b8e7a);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  min-height: 12px;
}

/* Fixed 40px slots + ::before bar → total width stable (no control strip jump) */
.t-dot {
  flex: 0 0 40px;
  width: 40px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
}

.t-dot::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 0;
  background: var(--theme-border, #c4b8a0);
  transition:
    width 0.38s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94)),
    background 0.28s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.t-dot.active::before {
  width: 40px;
  background: var(--color-secondary, #2a2118);
}

.t-dot:hover:not(.active)::before {
  background: var(--color-textSecondary, #6b5f54);
}

.t-dot:focus-visible {
  outline: 2px solid var(--color-accent, #b8945a);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .t-dot::before {
    transition-duration: 0.01ms;
  }
}

.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-accent, #b8945a);
  flex-shrink: 0;
  opacity: 0.7;
}

/* Guarantees */
.guarantee {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.guarantee:last-child {
  margin-bottom: 0;
}

.guarantee-icon {
  color: var(--heritage-green, var(--color-primary, #4a5c47));
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0;
  color: var(--color-secondary, #2a2118);
  font-family: var(--theme-font-display);
}

.guarantee p {
  font-family: var(--theme-font-serif);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-textSecondary, #6b5f54);
  line-height: 1.7;
}

@media (max-width: 991px) {
  .trust-section {
    padding: clamp(64px, 10vw, 100px) clamp(18px, 4vw, 32px);
  }

  .trust-inner {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 64px);
    align-items: start;
  }

  .testimonial-controls {
    margin-top: clamp(28px, 5vw, 36px);
  }
}