.after-sales-testimonials {
  margin-top: 0;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.after-sales-testimonials__bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.after-sales-testimonials__bg--mobile {
  display: none;
}

.after-sales-testimonials__inner {
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.after-sales-testimonials__title {
  font-family: var(--font-geely);
  color: var(--c-black);
  font-weight: 700;
}

.after-sales-testimonials__description {
  margin-top: 24px;
  font-family: var(--font-inter);
  color: var(--c-black);
  font-weight: 500;
}
.after-sales-testimonials__carousel {
  margin-top: 40px;
}
.after-sales-testimonials__card {
  display: grid;
  grid-template-columns: minmax(415px, 1fr) 640px;
  gap: 24px;
}

.after-sales-testimonials__card-photo {
  max-height: 485px;
  overflow: hidden;
}

.after-sales-testimonials__card-photo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
}

.after-sales-testimonials__card-customer {
  margin-top: 24px;
}
.after-sales-testimonials__card-name {
  font-family: var(--font-geely);
  color: var(--c-black);
  font-weight: 700;
}
.after-sales-testimonials__card-quote {
  margin: 0;
  font-family: var(--font-inter);
  color: var(--c-urban-graphite);
  font-weight: 500;
  margin-top: 16px;
}

.c-swiper-controls.controls-postventa-testimonials {
  padding-inline: 0;
  margin-top: 40px;
}
.after-sales-testimonials__card-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.after-sales-testimonials__card-content-inner {
  max-width: 415px;
}

@media (max-width: 1199px) {
  .after-sales-testimonials__card {
    grid-template-columns: minmax(415px, 1fr) 540px;
  }
}

@media (max-width: 1023px) {
  .after-sales-testimonials__card {
    grid-template-columns: 1fr;
  }
  .after-sales-testimonials__card-content {
    order: 2;
  }
  .after-sales-testimonials__card-photo {
    order: 1;
  }
  .after-sales-testimonials__card-content-inner {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .after-sales-testimonials {
    padding-block: 40px;
    padding-inline: 16px;
  }
  .after-sales-testimonials__card-content-inner {
    padding: 24px;
  }

  .after-sales-testimonials__bg--desktop {
    display: none;
  }
  .after-sales-testimonials__bg--mobile {
    display: block;
  }
  .after-sales-testimonials__description{
    font-size: 16px !important;
    font-weight: 400;
    line-height: 140% !important;
  }
}

/* ================================
   PATCH: after-sales-testimonials
   Pegar al FINAL del CSS existente
================================ */

/* Degradado última palabra del título */
.after-sales-testimonials__title .emg-title-highlight {
  background: linear-gradient(90deg, rgba(24,47,215,1) 0%, rgba(134,223,189,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Controles: grid para bullets izquierda, flechas juntas a la derecha */
.c-swiper-controls.controls-postventa-testimonials {
  display: grid !important;
  grid-template-columns: 1fr auto auto !important;
  align-items: center !important;
  gap: 0 !important;
  padding-inline: 0 !important;
  margin-top: 40px !important;
}

/* Bullets pill con borde */
.controls-postventa-testimonials .c-swiper-controls__pagination {
  grid-column: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255, 255, 255, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  padding: 8px 14px;
  width: fit-content;
}

.controls-postventa-testimonials .c-swiper-controls__pagination .swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  border-radius: 100px !important;
  background: #194BFF !important;
  opacity: 0.35 !important;
  margin: 0 !important;
  transition: width 0.3s ease, opacity 0.3s ease !important;
}

.controls-postventa-testimonials .c-swiper-controls__pagination .swiper-pagination-bullet-active {
  width: 24px !important;
  opacity: 1 !important;
  background: #194BFF !important;
}

/* Flechas circulares */
.controls-postventa-testimonials .c-swiper-controls__nav {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.10) !important;
  padding: 0 !important;
  transition: box-shadow 0.2s ease !important;
}

.controls-postventa-testimonials .c-swiper-controls__nav:hover {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.14) !important;
}

/* Ocultar PNG original */
.controls-postventa-testimonials .c-swiper-controls__icon {
  display: none !important;
}

/* SVG flechas via pseudo */
.controls-postventa-testimonials .c-swiper-controls__nav--prev::after,
.controls-postventa-testimonials .c-swiper-controls__nav--next::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background-color: #194BFF;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.controls-postventa-testimonials .c-swiper-controls__nav--prev {
  grid-column: 2 !important;
  margin-right: 4px !important;
}

.controls-postventa-testimonials .c-swiper-controls__nav--prev::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.40091 11.4002C8.54491 11.4002 8.67691 11.3522 8.79691 11.2562C8.91691 11.1602 8.98491 11.0282 9.00091 10.8602C9.01691 10.6922 8.96891 10.5442 8.85691 10.4162L6.16891 7.20016L8.76091 3.98416C8.87291 3.85616 8.92091 3.70816 8.90491 3.54016C8.88891 3.37216 8.81291 3.23216 8.67691 3.12016C8.54091 3.00816 8.38891 2.96416 8.22091 2.98816C8.05291 3.01216 7.91291 3.08816 7.80091 3.21616L4.89691 6.81616C4.81691 6.92816 4.77691 7.05616 4.77691 7.20016C4.77691 7.34416 4.81691 7.47216 4.89691 7.58416L7.89691 11.1842C8.02491 11.3442 8.19291 11.4162 8.40091 11.4002Z' fill='%23194BFF'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.40091 11.4002C8.54491 11.4002 8.67691 11.3522 8.79691 11.2562C8.91691 11.1602 8.98491 11.0282 9.00091 10.8602C9.01691 10.6922 8.96891 10.5442 8.85691 10.4162L6.16891 7.20016L8.76091 3.98416C8.87291 3.85616 8.92091 3.70816 8.90491 3.54016C8.88891 3.37216 8.81291 3.23216 8.67691 3.12016C8.54091 3.00816 8.38891 2.96416 8.22091 2.98816C8.05291 3.01216 7.91291 3.08816 7.80091 3.21616L4.89691 6.81616C4.81691 6.92816 4.77691 7.05616 4.77691 7.20016C4.77691 7.34416 4.81691 7.47216 4.89691 7.58416L7.89691 11.1842C8.02491 11.3442 8.19291 11.4162 8.40091 11.4002Z' fill='%23194BFF'/%3E%3C/svg%3E");
}

.controls-postventa-testimonials .c-swiper-controls__nav--next {
  grid-column: 3 !important;
}

.controls-postventa-testimonials .c-swiper-controls__nav--next::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.99948 11.4002C5.85548 11.4002 5.72348 11.3522 5.60348 11.2562C5.48348 11.1602 5.41548 11.0282 5.39948 10.8602C5.38348 10.6922 5.43148 10.5442 5.54348 10.4162L8.23148 7.20016L5.63948 3.98416C5.52748 3.85616 5.47948 3.70816 5.49548 3.54016C5.51148 3.37216 5.58748 3.23216 5.72348 3.12016C5.85948 3.00816 6.01148 2.96416 6.17948 2.98816C6.34748 3.01216 6.48748 3.08816 6.59948 3.21616L9.50348 6.81616C9.58348 6.92816 9.62348 7.05616 9.62348 7.20016C9.62348 7.34416 9.58348 7.47216 9.50348 7.58416L6.50348 11.1842C6.37548 11.3442 6.20748 11.4162 5.99948 11.4002Z' fill='%23194BFF'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.99948 11.4002C5.85548 11.4002 5.72348 11.3522 5.60348 11.2562C5.48348 11.1602 5.41548 11.0282 5.39948 10.8602C5.38348 10.6922 5.43148 10.5442 5.54348 10.4162L8.23148 7.20016L5.63948 3.98416C5.52748 3.85616 5.47948 3.70816 5.49548 3.54016C5.51148 3.37216 5.58748 3.23216 5.72348 3.12016C5.85948 3.00816 6.01148 2.96416 6.17948 2.98816C6.34748 3.01216 6.48748 3.08816 6.59948 3.21616L9.50348 6.81616C9.58348 6.92816 9.62348 7.05616 9.62348 7.20016C9.62348 7.34416 9.58348 7.47216 9.50348 7.58416L6.50348 11.1842C6.37548 11.3442 6.20748 11.4162 5.99948 11.4002Z' fill='%23194BFF'/%3E%3C/svg%3E");
}

.controls-postventa-testimonials .c-swiper-controls__nav.swiper-button-disabled {
  opacity: 0.35 !important;
  cursor: default !important;
}


.c-swiper-controls.controls-postventa-testimonials {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-inline: 0 !important;
  margin-top: 40px !important;
  gap: 8px !important;
  /* quita el grid anterior */
  grid-template-columns: unset !important;
}

/* Bullets — primero visualmente, ocupa el espacio restante */
.controls-postventa-testimonials .c-swiper-controls__pagination {
  order: 1 !important;
  flex: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255, 255, 255, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  padding: 8px 14px;
  width: fit-content;
  flex-grow: 0 !important;
}

/* Flecha prev — segunda visualmente */
.controls-postventa-testimonials .c-swiper-controls__nav--prev {
  order: 2 !important;
  grid-column: unset !important;
  margin-right: 0 !important;
}

/* Flecha next — tercera visualmente */
.controls-postventa-testimonials .c-swiper-controls__nav--next {
  order: 3 !important;
  grid-column: unset !important;
}

.c-swiper-controls.controls-postventa-testimonials {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-inline: 0 !important;
  margin-top: 40px !important;
  gap: 0 !important;
  grid-template-columns: unset !important;
}

/* Bullets a la izquierda, ocupa todo el espacio restante */
.controls-postventa-testimonials .c-swiper-controls__pagination {
  order: 1 !important;
  flex: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255, 255, 255, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  padding: 8px 14px;
  width: fit-content;
  flex-grow: 0 !important;
}

/* Flechas juntas a la derecha, sin espacio entre ellas */
.controls-postventa-testimonials .c-swiper-controls__nav--prev {
  order: 2 !important;
  margin-left: auto !important; /* empuja ambas flechas a la derecha */
  margin-right: 8px !important;
  grid-column: unset !important;
}

.controls-postventa-testimonials .c-swiper-controls__nav--next {
  order: 3 !important;
  grid-column: unset !important;
}
