html,
body {
  min-height: 100%;
  background:
    radial-gradient(circle 520px at -180px 620px, #c3fdd8, transparent 70%),
    radial-gradient(
      circle 520px at calc(100% + 180px) 360px,
      #c3fdd8,
      transparent 70%
    ),
    radial-gradient(
      circle 520px at calc(100% + 180px) 1760px,
      #c3fdd8,
      transparent 70%
    ),
    radial-gradient(
      circle 520px at calc(100% + 180px) 2860px,
      #c3fdd8,
      transparent 70%
    ),
    #ffffff;

  overflow-x: hidden;
}

.services-pos-section {
  background: transparent;
  padding: clamp(39px, 4.3vw, 62px) 0 clamp(34px, 3.9vw, 56px);
}

.services-pos-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3.5vw, 50px);
}

.services-pos-grid {
  display: grid;
  grid-template-columns: 504px clamp(294px, 32vw, 463px);
  gap: clamp(42px, 4.8vw, 72px);
  align-items: start;
  justify-content: center;
  direction: ltr;
}

.services-pos-grid--reverse {
  grid-template-columns: clamp(294px, 32vw, 463px) 504px;
}

.services-pos-grid--reverse .services-pos-copy {
  text-align: left;
}

.services-pos-grid--reverse .services-pos-acc-btn {
  direction: ltr;
  text-align: left;
}

.services-pos-grid--reverse .services-pos-acc-title,
.services-pos-grid--reverse .services-pos-acc-text {
  text-align: left;
}

.services-pos-image-side {
  display: flex;
  justify-content: center;
}

.service-image-collage {
  --service-green: #d6ffe4;
  --service-inset-w: 47%;
  --service-inset-h: 45.7%;
  --service-inner-radius: 28px;
  --service-frame: 11px;
  --service-inset-gap: 10px;

  position: relative;
  width: 504px;
  height: 480px;
  flex: 0 0 504px;
  padding: var(--service-frame);
  background: var(--service-green);
  border-radius: 22px;
  overflow: hidden;
}

.service-image-collage::before,
.service-image-collage::after {
  display: none;
  content: "";
}

.service-image-collage::before {
  right: 0;
  bottom: calc(var(--service-inset-h) - 1px);
}

.service-image-collage::after {
  right: calc(var(--service-inset-w) - 1px);
  bottom: 0;
}

.service-image-main,
.service-image-small {
  display: block;
  width: 100%;
  height: 100%;
}

.service-image-main {
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: var(--service-main-position, center);
  border-radius: 17px;
}

.service-image-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--service-inset-w);
  height: var(--service-inset-h);
  padding: var(--service-inset-gap);
  overflow: hidden;
  background: var(--service-green);
  border-radius: 18px;
  z-index: 3;
}

.service-image-inset::before {
  display: none;
  content: "";
}

.service-image-inset::after {
  content: "";
  position: absolute;
  inset: var(--service-inset-gap);
  background-image: var(
    --service-image,
    url("../images/our servise/cashier 1.png")
  );
  background-position: var(--service-inset-position, right bottom);
  background-repeat: no-repeat;
  background-size: var(--service-inset-size, 222% auto);
  border-radius: 11px;
  pointer-events: none;
  z-index: 1;
}

.service-image-small {
  display: none;
}

.services-pos-copy {
  direction: rtl;
  width: clamp(294px, 32vw, 463px);
  padding-top: clamp(1px, 0.35vw, 5px);
  text-align: right;
}

.services-pos-title {
  margin: 0 0 clamp(17px, 1.65vw, 24px);
  color: #111111;
  font-size: clamp(20px, 1.95vw, 28px);
  font-weight: 600;
  line-height: 1.34;
}

.services-pos-lead {
  max-width: 100%;
  margin: 0 0 clamp(22px, 2.4vw, 34px);
  color: #565656;
  font-size: clamp(13px, 1.17vw, 17px);
  font-weight: 400;
  line-height: 1.58;
}

.services-pos-accordion {
  --service-acc-row-height: clamp(44px, 4.15vw, 60px);
  --service-acc-open-height: clamp(96px, 8.2vw, 124px);

  width: 100%;
  min-height: calc(
    var(--service-acc-row-height) + var(--service-acc-row-height) +
      var(--service-acc-row-height) + var(--service-acc-row-height) +
      var(--service-acc-open-height) + 4px
  );
}

.services-pos-acc-item {
  border-bottom: 1px solid #d7d7d7;
}

.services-pos-acc-btn {
  width: 100%;
  height: var(--service-acc-row-height);
  min-height: var(--service-acc-row-height);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #111111;
  text-align: right;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.services-pos-acc-title {
  color: #111111;
  font-size: clamp(14px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 1.35;
}

.services-pos-acc-icon {
  flex: 0 0 auto;
  color: #111111;
  font-size: clamp(12px, 1.05vw, 15px);
  transition: transform 0.3s ease;
}

.services-pos-acc-content {
  height: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    height 0.24s ease,
    max-height 0.24s ease,
    opacity 0.18s ease;
}

.services-pos-acc-content.is-open {
  height: var(--service-acc-open-height);
  max-height: var(--service-acc-open-height);
  opacity: 1;
}

.services-pos-acc-text {
  margin: -2px 0 0;
  padding: 0 0 clamp(19px, 2vw, 28px);
  color: #666666;
  font-size: clamp(13px, 1.17vw, 17px);
  font-weight: 400;
  line-height: 1.56;
}

.services-cta-section {
  padding: clamp(42px, 5vw, 72px) 0 clamp(38px, 4.4vw, 64px);
  background: transparent;
}

.services-cta-banner {
  position: relative;
  min-height: clamp(285px, 27vw, 360px);
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
}

.services-cta-banner::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: url("../images/recoust.png") center / cover no-repeat;
  filter: blur(5px);
  transform: scale(1.04);
  z-index: -2;
}

.services-cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: -1;
}

.services-cta-content {
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(26px, 5vw, 74px);
  padding: clamp(30px, 5vw, 70px) clamp(36px, 7vw, 92px);
}

.services-cta-title {
  max-width: 455px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 2.45vw, 34px);
  font-style: italic;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

.services-cta-btn {
  min-width: clamp(210px, 19vw, 260px);
  min-height: 58px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.services-testimonials-section {
  padding: clamp(30px, 3.8vw, 54px) 0 clamp(58px, 7vw, 98px);
  background: transparent;
}

.services-testimonials-section .services-pos-container {
  max-width: 1200px;
}

.services-testimonials-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(32px, 4vw, 54px);
}

.services-testimonials-title {
  margin: 0;
  color: #111111;
  font-size: clamp(22px, 2.15vw, 31px);
  font-style: italic;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

.services-testimonials-arrows {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonials-arrow {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7dec9d;
  font-size: 24px;
  background: #ffffff;
  border: 1px solid #16a34a;
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.testimonials-arrow:hover,
.testimonials-arrow:focus-visible {
  color: #ffffff;
  background: linear-gradient(145deg, #39cd80 0%, #16b85a 48%, #0ea64b 100%);
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(22, 163, 74, 0.3);
}

.testimonials-arrow:hover,
.testimonials-arrow:focus-visible {
  transform: translateY(-2px);
}

.services-testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 28px);
  transform: translateX(0);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.services-testimonials-track.is-changing {
  opacity: 0;
  transform: translateX(-18px);
}

.testimonial-card {
  min-height: 190px;
  padding: 28px 30px 22px;
  display: flex;
  flex-direction: column;
  background: rgba(244, 255, 248, 0.92);
  border: 1px solid rgba(211, 245, 225, 0.9);
  border-radius: 8px;
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.16);
}

.testimonial-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-card-head > div {
  min-width: 0;
  text-align: right;
}

.testimonial-person-name {
  margin: 0 0 2px;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.testimonial-person-role {
  margin: 0;
  color: #6a6a6a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.testimonial-avatar {
  order: -1;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: cover;
  object-position: center 24%;
  padding: 0;
  background: #e9ebf2;
  border-radius: 50%;
}

.testimonial-text {
  margin: 0;
  color: #5f5f5f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

.testimonial-date {
  margin-top: auto;
  padding-top: 14px;
  color: #111111;
  font-size: 11px;
  font-weight: 500;
  direction: ltr;
  text-align: right;
}

@media (max-width: 760px) {
  .services-pos-container {
    padding: 0 22px;
  }

  .services-pos-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-image-collage {
    width: 504px;
    height: 480px;
  }

  .services-pos-copy {
    width: min(100%, 463px);
  }

  .services-pos-copy {
    order: 1;
  }

  .services-pos-image-side {
    order: 2;
  }

  .services-cta-content {
    min-height: 260px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 22px;
    text-align: center;
  }

  .services-cta-title {
    text-align: center;
  }

  .services-cta-btn {
    min-width: min(100%, 245px);
  }

  .services-testimonials-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-testimonials-title {
    width: 100%;
    text-align: right;
  }

  .testimonials-arrow {
    width: 54px;
    height: 54px;
    font-size: 21px;
  }

  .services-testimonials-track {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .services-testimonials-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
