
/* =========================================
   TESTIMONI — DESKTOP FIRST
========================================= */

.testimoni {
  padding: 85px 0 95px;
  background: #ffffff;
  overflow: hidden;
}

.testimoni-heading {
  margin-bottom: 42px;
}

.testimoni-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #176B9B;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.testimoni-viewport {
  overflow: hidden;
  width: 100%;
}

.testimoni-track {
  display: flex;
  gap: 24px;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.testimoni-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 30px 27px 26px;
  background: #F6F1E5;
  border: 1.5px solid #899B35;
  border-radius: 18px;
  transition: transform .3s ease, border-color .3s ease,
              box-shadow .3s ease, background .3s ease;
}

.testimoni-card:hover {
  transform: translateY(-5px);
  background: #F0EBD9;
  border-color: #718526;
  box-shadow: 0 14px 32px rgba(113,133,38,.13);
}

.testimoni-quote-mark {
  color: #718526;
  font-family: Georgia, serif;
  font-size: 54px;
  font-weight: 700;
  line-height: .8;
  margin-bottom: 17px;
}

.testimoni-text {
  flex: 1;
  margin: 0 0 27px;
  color: #40566A;
  font-size: 14px;
  line-height: 1.9;
}

.testimoni-author {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 19px;
  border-top: 1px solid #DFE9F0;
}

.testimoni-avatar {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #E8E7D2;
  color: #718526;
  font-size: 14px;
  font-weight: 700;
}

.testimoni-author-name {
  margin: 0 0 3px;
  color: #173D5D;
  font-size: 13px;
  font-weight: 700;
}

.testimoni-author-role {
  margin: 0;
  color: #8193A2;
  font-size: 11px;
}

/* PLACEHOLDER LABEL */

.testimoni-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 25px;
  padding: 8px 13px;
  border-radius: 30px;
  background: #FFF8E5;
  color: #8B7130;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
}

/* NAVIGATION */

.testimoni-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

.testimoni-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimoni-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #C9DCE9;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.testimoni-dot.is-active {
  width: 26px;
  background: #176B9B;
}

.testimoni-arrows {
  display: flex;
  gap: 10px;
}

.testimoni-arrow {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid #C8DCE9;
  border-radius: 50%;
  background: #ffffff;
  color: #176B9B;
  cursor: pointer;
  transition: background .2s ease, color .2s ease,
              border-color .2s ease, transform .2s ease;
}

.testimoni-arrow:hover {
  background: #176B9B;
  border-color: #176B9B;
  color: #ffffff;
  transform: translateY(-2px);
}

.testimoni-arrow svg {
  width: 19px;
  height: 19px;
}

/* TABLET */

@media (max-width: 767px) {
  .testimoni-card {
    flex-basis: 100%;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .testimoni {
    padding: 60px 0 70px;
  }

  .testimoni-track {
    gap: 16px;
  }

  .testimoni-card {
    flex-basis: 100%;
    padding: 25px 22px;
  }

  .testimoni-text {
    font-size: 13px;
  }

  .testimoni-controls {
    margin-top: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimoni-track,
  .testimoni-card,
  .testimoni-dot,
  .testimoni-arrow {
    transition: none !important;
  }
}

/* FINAL OVERRIDE — TESTIMONI */
@media (min-width: 768px) {
  .testimoni-card {
    flex: 0 0 calc((100% - 48px) / 3) !important;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .testimoni-card {
    flex: 0 0 100% !important;
  }
}
