/* Section styles: testimonials.
   First the section's own authored rules (hover / animation / state), then the
   classes extracted from the original inline styles. */

/* ---- Layout and typography (from the original inline styles) ---- */

.atlas-testimonials {
  background: var(--color-bg);
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,72px);
}

.testimonials-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--color-divider);
}

.testimonials-label {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent-700);
  font-weight: 600;
}

.testimonials-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px,3.6vw,44px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 14px 0 0;
}

.testimonials-row-2 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonials-strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  font-feature-settings: 'tnum' 1;
  color: var(--color-text);
}

.testimonials-row-3 {
  display: flex;
  gap: 8px;
}

.testimonials-box {
  overflow: hidden;
  padding: 52px 0 44px;
}

.testimonials-row-4 {
  display: flex;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}

.testimonials-figure {
  flex: 0 0 100%;
  margin: 0;
  padding-right: 8%;
}

.testimonials-display {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 88px;
  line-height: .5;
  color: var(--color-accent);
  height: 44px;
}

.testimonials-quote {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px,2.9vw,40px);
  line-height: 1.24;
  letter-spacing: -.02em;
  max-width: 24ch;
  margin: 22px 0 0;
  text-wrap: pretty;
}

.testimonials-caption {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.testimonials-rule {
  width: 44px;
  height: 2px;
  background: var(--color-accent);
  flex: none;
}

.testimonials-span {
  flex: 1;
}

.testimonials-strong-2 {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.01em;
}

.testimonials-span-2 {
  display: block;
  font-size: 13px;
  color: color-mix(in srgb,var(--color-text) 60%,transparent);
  margin-top: 3px;
}

.testimonials-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  border: 2px solid var(--color-text);
  padding: 9px 14px;
  white-space: nowrap;
  transition: background .2s ease,color .2s ease;
}

.testimonials-link:hover {
  background: var(--color-accent) !important;
  color: var(--color-bg) !important;
  border-color: var(--color-accent) !important;
}

.testimonials-row-5 {
  display: flex;
  gap: 10px;
  padding-bottom: 8px;
}


/* Slider dots (the active one is set by atlas-testimonials.js) */
.testimonials-dot {
  width: 44px;
  height: 6px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: color-mix(in srgb, var(--color-text) 22%, transparent);
  transition: background .3s ease;
}

.testimonials-dot.is-active {
  background: var(--color-accent);
}
