/* Walter landing: Testimonials ("Wall of love"). Figma "Testimonials" (5284:71770): desktop 5284:71702, mobile 5284:71734. */
#walter-testimonials, #walter-testimonials * { box-sizing: border-box; }
#walter-testimonials { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* Theme guard: headings, paragraphs, quotes and images inside the section ignore the theme's own styles */
#walter-testimonials h2, #walter-testimonials p, #walter-testimonials blockquote { font-family: inherit; text-transform: none; text-shadow: none; padding: 0; border: 0; background: none; }
#walter-testimonials blockquote { font-style: normal; quotes: none; }
#walter-testimonials blockquote::before, #walter-testimonials blockquote::after { content: none; }
#walter-testimonials img { max-width: none; box-shadow: none; }
#walter-testimonials { padding: 96px 24px; background: #fff; color: #000; font-family: "InterVariable", "Inter", system-ui, sans-serif; font-feature-settings: "liga" 1, "calt" 1;
  --wt-dur: 250ms; --wt-ease: cubic-bezier(0.22, 1, 0.36, 1); --wt-blur: 3px; /* transitions.dev page slide: --duration-fast, --ease-smooth-out, --blur-medium */
  --wt-off: 12px; --wt-w0: 579px; --wt-w1: 555px; --wt-w2: 531px; --wt-w3: 507px; --wt-pad: 32px; }
/* The glow behind the cards is wider than a phone: keep it inside the section so the page never scrolls sideways or grows */
#walter-testimonials { overflow: hidden; overflow: clip; }
#walter-testimonials .wt-inner { max-width: 748px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 48px; }

/* Heading (Figma 5284:71704) */
#walter-testimonials .wt-head { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
#walter-testimonials .wt-badge { display: inline-flex; align-items: center; gap: 6px; height: 29px; margin: 0 0 20px; padding: 3px 7px 3px 6px; border: 1px solid #e9e7e9; border-radius: 12px; background: #fdfbfd;
  color: rgba(0, 0, 0, 0.6); font-size: 14px; line-height: 21px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; font-variation-settings: "opsz" 15; }
#walter-testimonials .wt-badge svg { width: 16px; height: 16px; flex: none; display: block; }
#walter-testimonials .wt-title { margin: 0 0 12px; color: #000; font-size: 40px; line-height: 48px; font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "opsz" 30; }
#walter-testimonials .wt-title span { display: block; }
#walter-testimonials .wt-sub { max-width: 410px; margin: 0; color: rgba(0, 0, 0, 0.8); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: "opsz" 15; }

/* Cards and arrows (Figma 5284:71712): arrow, 48, stack, 48, arrow */
#walter-testimonials .wt-row { display: flex; align-items: flex-start; gap: 48px; }
#walter-testimonials .wt-deck { position: relative; width: var(--wt-w0); padding-top: 12.59px; }
#walter-testimonials .wt-glow { position: absolute; left: -33px; top: -35px; width: 608px; height: 306px; pointer-events: none; background: url("../glow-d.webp") 0 0 / 100% 100% no-repeat; }
/* The stack: front card at the bottom, two empty cards behind it, each one step higher and 24px narrower */
#walter-testimonials .wt-stack { position: relative; height: calc(var(--wt-h, 188px) + var(--wt-off) * 2); }
#walter-testimonials .wt-card { position: absolute; left: 50%; height: var(--wt-h, 188px); transform: translateX(-50%); border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 4px rgba(0, 0, 0, 0.03), 0 9px 5px rgba(0, 0, 0, 0.02), 0 16px 6px rgba(0, 0, 0, 0.01);
  transition: top var(--wt-dur) var(--wt-ease), width var(--wt-dur) var(--wt-ease), background-color var(--wt-dur) var(--wt-ease), opacity var(--wt-dur) var(--wt-ease), filter var(--wt-dur) var(--wt-ease); }
#walter-testimonials .wt-card[data-pos="0"]  { top: calc(var(--wt-off) * 2); width: var(--wt-w0); background-color: #fff; z-index: 4; }
#walter-testimonials .wt-card[data-pos="1"]  { top: var(--wt-off); width: var(--wt-w1); background-color: #fafafa; z-index: 3; }
#walter-testimonials .wt-card[data-pos="2"]  { top: 0; width: var(--wt-w2); background-color: #f7f7f7; z-index: 2; }
/* Off the stack: above the back card (entering on next, leaving on previous) and below the front card (leaving on next, entering on previous) */
#walter-testimonials .wt-card[data-pos="3"]  { top: calc(var(--wt-off) * -1); width: var(--wt-w3); background-color: #f7f7f7; z-index: 1; opacity: 0; filter: blur(var(--wt-blur)); }
#walter-testimonials .wt-card[data-pos="-1"] { top: calc(var(--wt-off) * 3); width: var(--wt-w0); background-color: #fff; z-index: 5; opacity: 0; filter: blur(var(--wt-blur)); }
#walter-testimonials .wt-card.is-snap { transition: none; }
/* Card content shows only on the front card */
/* The content keeps the front card's width and stays centered, so text never re-wraps while a card widens */
#walter-testimonials .wt-body { position: absolute; left: 50%; top: 0; width: var(--wt-bw, 579px); transform: translateX(-50%); padding: var(--wt-pad); display: flex; flex-direction: column; gap: var(--wt-pad);
  opacity: 0; filter: blur(var(--wt-blur)); transition: opacity var(--wt-dur) var(--wt-ease), filter var(--wt-dur) var(--wt-ease); }
#walter-testimonials .wt-card[data-pos="0"] .wt-body, #walter-testimonials .wt-card[data-pos="-1"] .wt-body { opacity: 1; filter: none; }
#walter-testimonials .wt-quote { margin: 0; color: rgba(0, 0, 0, 0.8); font-size: 20px; line-height: 30px; font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "opsz" 18; }
#walter-testimonials .wt-person { display: flex; align-items: center; gap: 8px; margin: 0; color: rgba(0, 0, 0, 0.8); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: "opsz" 15; }
#walter-testimonials .wt-avatar { width: 32px; height: 32px; flex: none; display: block; border: 1px solid #ebebeb; border-radius: 38px; object-fit: cover; }

/* Arrows: 36px, centered on the front card; they never move */
#walter-testimonials .wt-arrow { all: unset; box-sizing: border-box; position: relative; z-index: 6; flex: none; width: 36px; height: 36px; margin-top: calc(12.59px + var(--wt-off) * 2 + var(--wt-h, 188px) / 2 - 18px);
  display: grid; place-items: center; border-radius: 12px; background: #fff; color: #000; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.06), 0 4px 9px rgba(0, 0, 0, 0.02), 0 15px 15px rgba(0, 0, 0, 0.02), 0 35px 21px rgba(0, 0, 0, 0.01); transition: background-color 150ms ease-out; }
#walter-testimonials .wt-arrow svg { width: 20px; height: 20px; display: block; }
#walter-testimonials .wt-arrow:hover { background: #fafafa; }
#walter-testimonials .wt-arrow:focus-visible { outline: 2px solid #7a37f0; outline-offset: 2px; }
#walter-testimonials .wt-nav { display: contents; }
#walter-testimonials .wt-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Mobile (Figma 5284:71734) */
@media (max-width: 799.98px) {
  #walter-testimonials { padding: 10px 12px; --wt-off: 8px; --wt-w0: 100%; --wt-w1: calc(100% - 24px); --wt-w2: calc(100% - 46px); --wt-w3: calc(100% - 68px); --wt-pad: 24px; }
  #walter-testimonials .wt-inner { max-width: 579px; }
  #walter-testimonials .wt-head { padding: 0 8px; }
  #walter-testimonials .wt-badge { margin-bottom: 16px; }
  #walter-testimonials .wt-title { font-size: 32px; line-height: 40px; }
  #walter-testimonials .wt-sub { max-width: 362px; color: rgba(0, 0, 0, 0.6); }
  /* Stack on top, the two arrows centered under it, 16px apart */
  #walter-testimonials .wt-row { width: 100%; display: grid; grid-template-columns: 1fr 40px 40px 1fr; gap: 24px 16px; }
  #walter-testimonials .wt-deck { grid-column: 1 / -1; grid-row: 1; width: 100%; padding-top: 0; }
  #walter-testimonials .wt-row > .wt-nav:first-child .wt-arrow { grid-column: 2; grid-row: 2; }
  #walter-testimonials .wt-row > .wt-nav:last-child .wt-arrow { grid-column: 3; grid-row: 2; }
  #walter-testimonials .wt-glow { left: calc(50% - 189px - 44px); top: -47px; width: 460px; height: 336px; background-image: url("../glow-m.webp"); }
  /* 40px buttons as in the mobile frame, with a 44px tap target */
  #walter-testimonials .wt-arrow { width: 40px; height: 40px; margin-top: 0; }
  #walter-testimonials .wt-arrow::before { content: ""; position: absolute; inset: -2px; }
}
@media (prefers-reduced-motion: reduce) {
  #walter-testimonials .wt-card, #walter-testimonials .wt-body { transition: none; }
}
