/* =====================================================
   CUSTOMER STORIES
===================================================== */

.customer-stories {
  overflow:
    hidden;

  padding:
    140px 7vw 105px;

  border-top:
    1px solid var(--line);

  background:
    #fff;
}


.customer-stories-inner {
  max-width:
    1500px;

  margin:
    auto;
}


.customer-metrics {
  display:
    grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  overflow:
    hidden;

  border:
    1px solid #d3deef;

  border-radius:
    24px;

  background:
    #f8fbff;

  box-shadow:
    0 18px 44px rgba(43,70,117,.06);
}


.customer-metric {
  position:
    relative;

  display:
    flex;

  align-items:
    center;

  flex-direction:
    column;

  justify-content:
    center;

  min-height:
    184px;

  padding:
    34px 24px;

  text-align:
    center;

  transition:
    background .35s ease,
    color .35s ease;
}


.customer-metric + .customer-metric {
  border-left:
    1px solid #d3deef;
}


.customer-metric::before {
  content:
    "";

  position:
    absolute;

  top:
    26px;

  left:
    26px;

  width:
    7px;

  height:
    7px;

  border-radius:
    50%;

  background:
    #1b68fa;

  opacity:
    .24;

  transition:
    opacity .35s ease,
    transform .35s cubic-bezier(.2,.8,.2,1);
}


.customer-metric strong {
  color:
    #1b68fa;

  font-size:
    clamp(45px, 5vw, 76px);

  font-weight:
    800;

  line-height:
    .95;

  letter-spacing:
    -3px;
}


.customer-metric span {
  margin-top:
    17px;

  color:
    #606b7c;

  font-size:
    17px;

  line-height:
    1.45;
}


.customer-stories-head {
  display:
    flex;

  align-items:
    end;

  justify-content:
    space-between;

  gap:
    40px;

  margin-top:
    118px;
}


.customer-stories-label {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    9px;

  color:
    #1b68fa;

  font-size:
    13px;

  font-weight:
    800;

  letter-spacing:
    1.4px;
}


.customer-stories-label::before {
  content:
    "";

  width:
    8px;

  height:
    8px;

  background:
    #1b68fa;
}


.customer-stories-head h2 {
  margin-top:
    0;

  color:
    var(--black);

  font-size:
    clamp(44px, 4.8vw, 72px);

  font-weight:
    800;

  line-height:
    1.03;

  letter-spacing:
    -3.5px;

  white-space:
    nowrap;
}


.customer-stories-copy {
  max-width:
    none;

  margin-top:
    22px;

  color:
    #657288;

  font-size:
    16px;

  line-height:
    1.65;

  white-space:
    nowrap;
}


.customer-stories-nav {
  display:
    flex;

  gap:
    9px;
}


.customer-stories-nav button {
  display:
    grid;

  width:
    52px;

  height:
    52px;

  place-items:
    center;

  border:
    1px solid #cbd8ee;

  border-radius:
    50%;

  background:
    #fff;

  color:
    var(--black);

  font-size:
    23px;

  line-height:
    1;

  cursor:
    pointer;

  transition:
    transform .3s cubic-bezier(.2,.8,.2,1),
    border-color .3s ease,
    background .3s ease,
    color .3s ease,
    box-shadow .3s ease;
}


.customer-stories-nav button:focus-visible,
.customer-story:focus-visible,
.customer-story-dot:focus-visible {
  outline:
    3px solid rgba(27,104,250,.32);

  outline-offset:
    4px;
}


.customer-stories-carousel {
  position:
    relative;

  display:
    flex;

  gap:
    24px;

  margin-top:
    52px;

  padding:
    8px 4px 26px;

  overflow-x:
    auto;

  overflow-y:
    hidden;

  overscroll-behavior-x:
    contain;

  scroll-behavior:
    smooth;

  scroll-snap-type:
    x mandatory;

  touch-action:
    pan-x pan-y;

  scrollbar-width:
    none;

  cursor:
    grab;
}


.customer-stories-carousel::-webkit-scrollbar {
  display:
    none;
}


.customer-stories-carousel.is-dragging {
  scroll-snap-type:
    none;

  cursor:
    grabbing;
}


.customer-story {
  position:
    relative;

  isolation:
    isolate;

  display:
    grid;

  grid-template-columns:
    minmax(176px, 31%) 1fr;

  flex:
    0 0 min(100%, 1120px);

  min-width:
    0;

  min-height:
    365px;

  overflow:
    hidden;

  border:
    1px solid #d3deef;

  border-radius:
    22px;

  background:
    #fff;

  scroll-snap-align:
    start;
}


.customer-story-visual {
  position:
    relative;

  display:
    flex;

  align-items:
    flex-start;

  flex-direction:
    column;

  justify-content:
    space-between;

  padding:
    26px;

  overflow:
    hidden;

  background:
    linear-gradient(145deg, #eaf1ff 0%, #dfeaff 100%);

  color:
    #1b68fa;
}


.customer-story-visual.customer-story-photo {
  padding: 0;
  min-height: 220px;
  background: #eaf1ff;
}

.customer-story-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  pointer-events: none;
  user-select: none;
}

.customer-story-visual.customer-story-photo::before,
.customer-story-visual.customer-story-photo::after {
  content: none;
}

.customer-story-visual::before,
.customer-story-visual::after {
  content:
    "";

  position:
    absolute;

  border:
    1px solid rgba(27,104,250,.22);

  border-radius:
    50%;

  pointer-events:
    none;
}


.customer-story-visual::before {
  width:
    180px;

  height:
    180px;

  right:
    -88px;

  bottom:
    -82px;
}


.customer-story-visual::after {
  width:
    76px;

  height:
    76px;

  right:
    25px;

  top:
    24px;
}


.customer-story-number {
  position:
    relative;

  z-index:
    1;

  font-size:
    15px;

  font-weight:
    800;

  letter-spacing:
    .8px;
}


.customer-story-symbol {
  position:
    relative;

  z-index:
    1;

  display:
    grid;

  width:
    76px;

  height:
    76px;

  place-items:
    center;

  border-radius:
    50%;

  background:
    #1b68fa;

  color:
    #fff;

  font-size:
    25px;

  font-weight:
    800;

  box-shadow:
    0 12px 22px rgba(27,104,250,.22);
}


.customer-story-visual small {
  position:
    relative;

  z-index:
    1;

  margin-top:
    14px;

  color:
    #5570a7;

  font-size:
    11px;

  font-weight:
    800;

  letter-spacing:
    .8px;
}


.customer-story-body {
  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  padding:
    36px;
}


.customer-story-category {
  color:
    #1b68fa;

  font-size:
    14px;

  font-weight:
    800;
}


.customer-story h3 {
  margin-top:
    16px;

  color:
    var(--black);

  font-size:
    clamp(26px, 2.25vw, 36px);

  font-weight:
    800;

  line-height:
    1.2;

  letter-spacing:
    -1.6px;
}


.customer-story-copy {
  margin-top:
    20px;

  color:
    #5e6a7d;

  font-size:
    15px;

  line-height:
    1.7;
}


.customer-story-author {
  margin-top:
    25px;

  color:
    #758197;

  font-size:
    14px;

  line-height:
    1.5;
}


.customer-story-author strong {
  color:
    #273247;
}


.customer-stories-footer {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  gap:
    24px;
}
