.php-testi-section {
  background-color: #ecf2f8;
  padding: 142px 0 99px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 59px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* ── Desktop nav — absolutely placed to the sides ── */
.php-testi-nav--prev,
.php-testi-nav--next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.php-testi-nav--prev {
  left: 60px;
}

.php-testi-nav--next {
  right: 60px;
}

/* ── Mobile nav row — hidden on desktop ── */
.php-testi-nav-row {
  display: none;
}

/* ── Content row ── */
.php-testi-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 160px;
  box-sizing: border-box;
}

/* ── Nav arrow buttons (shared) ── */
.php-testi-nav {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
}

.php-testi-nav:focus-visible {
  outline: 2px solid #e15520;
  outline-offset: 4px;
  border-radius: 50%;
}

/* ── Quote content ── */
.php-testi-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 774px;
  width: 100%;
}

/* ── Decorative open-quote ── */
.php-testi-quote-mark {
  display: block;
  flex-shrink: 0;
}

.php-testi-quote {
  margin: 0;
  font-family: 'League Spartan', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 37px;
  color: #000000;
}

.php-testi-author {
  margin: 0;
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 45px;
  color: #000000;
  text-align: right;
}

/* ── Progress bar ── */
.php-testi-progress {
  width: 324px;
  height: 3px;
  background-color: #dbdbdb;
  position: relative;
  flex-shrink: 0;
}

.php-testi-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #e15520;
  transition: width 0.35s ease;
}

/* ════════════════════════════════
   Tablet  ≤ 1024px
════════════════════════════════ */
@media (max-width: 1024px) {
  .php-testi-section {
    padding: 80px 0 72px;
    gap: 48px;
  }

  .php-testi-inner {
    padding: 0 100px;
  }

  .php-testi-nav--prev {
    left: 32px;
  }

  .php-testi-nav--next {
    right: 32px;
  }

  .php-testi-quote {
    font-size: 22px;
    line-height: 30px;
  }

  .php-testi-author {
    font-size: 20px;
  }
}

/* ════════════════════════════════
   Mobile  ≤ 767px
════════════════════════════════ */
@media (max-width: 767px) {
  .php-testi-section {
    padding: 64px 20px 56px;
    gap: 32px;
  }

  /* Hide desktop absolute nav */
  .php-testi-nav--prev,
  .php-testi-nav--next {
    display: none;
  }

  /* Show mobile nav row below progress bar */
  .php-testi-nav-row {
    display: flex;
    gap: 24px;
  }

  .php-testi-inner {
    padding: 0;
    width: 100%;
  }

  .php-testi-content {
    gap: 12px;
  }

  .php-testi-quote {
    font-size: 16px;
    line-height: 26px;
  }

  .php-testi-author {
    font-size: 16px;
    line-height: 1.2;
  }

  .php-testi-progress {
    width: 240px;
  }
}

