/* [cc_testimonios] — carrusel scroll-snap B09. */
.cc-comp.cc-testimonios {
  width: 100%;
  background: var(--cc-cream);
}

.cc-comp .cc-testimonios__inner {
  width: 100%;
  max-width: var(--cc-container);
  margin: 0 auto;
  padding: var(--cc-pad-y) 32px;
}

.cc-comp .cc-testimonios__track {
  display: flex;
  gap: 24px;
  width: 100%;
  padding: 8px 2px 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cc-comp .cc-testimonios__track::-webkit-scrollbar {
  display: none;
}

.cc-comp .cc-testimonios__track:focus-visible {
  outline: 2px solid var(--cc-green);
  outline-offset: 4px;
}

.cc-comp .cc-testimonios__card {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  flex-direction: column;
  min-width: 0;
  min-height: 300px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.cc-comp .cc-testimonios__quote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--cc-ink);
  font-size: 18px;
  line-height: 27px;
}

.cc-comp .cc-testimonios__quote p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.cc-comp .cc-testimonios__quote p + p {
  margin-top: 12px;
}

.cc-comp .cc-testimonios__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 32px;
}

.cc-comp .cc-testimonios__avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
}

.cc-comp .cc-testimonios__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-comp .cc-testimonios__avatar--placeholder {
  display: grid;
  place-items: center;
  background: var(--cc-mint);
}

.cc-comp .cc-testimonios__avatar--placeholder span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cc-green);
  opacity: .45;
}

.cc-comp .cc-testimonios__author-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cc-comp .cc-testimonios__name {
  color: var(--cc-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.cc-comp .cc-testimonios__role {
  color: var(--cc-body);
}

.cc-comp .cc-testimonios__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 24px;
}

.cc-comp .cc-testimonios__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.cc-comp .cc-testimonios__dot::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #D9D9D9;
  transition: width .2s ease, background-color .2s ease;
}

.cc-comp .cc-testimonios__dot.is-active::before {
  width: 32px;
  background: var(--cc-green);
}

.cc-comp .cc-testimonios__dot:focus-visible {
  outline: 2px solid var(--cc-green);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .cc-comp .cc-testimonios__card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .cc-comp .cc-testimonios__inner {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 560px) {
  .cc-comp .cc-testimonios__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .cc-comp .cc-testimonios__card {
    flex-basis: 100%;
    min-height: 280px;
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-comp .cc-testimonios__track {
    scroll-behavior: auto;
  }
}
