/* DESAGOTE RAPIDITO - NUESTROS CLIENTES */

.clientes-section {
  width: 100%;
  padding: 65px 0;
  background: #ffffff;
}

/* ENCABEZADO */

.clientes-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 45px;
}

.clientes-heading__eyebrow {
  display: block;
  color: #159447;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.clientes-heading h2 {
  color: #171717;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 18px;
}

.clientes-heading p {
  color: #666666;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto;
}

.clientes-heading__line {
  display: block;
  width: 50px;
  height: 4px;
  background: #ed1625;
  border-radius: 4px;
  margin: 25px auto 0;
}

/* GRILLA */

.clientes-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* TARJETAS */

.clientes-gallery__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 150px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.clientes-gallery__item img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: 110px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* HOVER */

.clientes-gallery__item:hover {
  transform: translateY(-4px);
  border-color: #ed1625;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.clientes-gallery__item:hover img {
  transform: scale(1.05);
}

/* TABLET */

@media (max-width: 991px) {
  .clientes-section {
    padding: 45px 0;
  }

  .clientes-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .clientes-heading h2 {
    font-size: 32px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .clientes-section {
    padding: 35px 0;
  }

  .clientes-heading {
    padding: 0 12px;
    margin-bottom: 30px;
  }

  .clientes-heading h2 {
    font-size: 27px;
  }

  .clientes-heading p {
    font-size: 14px;
  }

  .clientes-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .clientes-gallery__item {
    min-height: 120px;
    padding: 12px;
    border-radius: 8px;
  }

  .clientes-gallery__item img {
    max-width: 150px;
    height: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clientes-gallery__item,
  .clientes-gallery__item img {
    transition: none;
  }
}

/* =========================================
   DESAGOTE RAPIDITO - NOSOTROS
========================================= */

.dr-nosotros {
  width: 100%;
  padding: 65px 20px 75px;
  background: #f7f7f7;
  box-sizing: border-box;
}

.dr-nosotros *,
.dr-nosotros *::before,
.dr-nosotros *::after {
  box-sizing: border-box;
}

.dr-nosotros__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ENCABEZADO CENTRADO */

.dr-nosotros__heading {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.dr-nosotros__eyebrow {
  display: block;
  color: #159447;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.dr-nosotros__heading h2 {
  color: #222222;
  font-size: 33px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0;
}

.dr-nosotros__line {
  display: block;
  width: 50px;
  height: 4px;
  background: #ed1625;
  border-radius: 4px;
  margin: 25px auto 0;
}

/* DOS COLUMNAS */

.dr-nosotros__grid {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 50px;
  align-items: center;
}

/* CARRUSEL */

.dr-nosotros__media {
  width: 100%;
  min-width: 0;
}

.dr-nosotros__slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #eaeaea;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.dr-nosotros__slides {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.dr-nosotros__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 0.6s ease,
              visibility 0.6s ease;
}

.dr-nosotros__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.dr-nosotros__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* FLECHAS */

.dr-nosotros .dr-nosotros__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  min-width: 44px;

  padding: 0;
  margin: 0;

  border: none;
  border-radius: 50%;

  background: rgba(255,255,255,0.95);
  color: #222222;

  cursor: pointer;

  transition: background 0.25s ease,
              color 0.25s ease;
}

.dr-nosotros .dr-nosotros__arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dr-nosotros .dr-nosotros__prev {
  left: 15px;
}

.dr-nosotros .dr-nosotros__next {
  right: 15px;
}

.dr-nosotros .dr-nosotros__arrow:hover {
  background: #ed1625;
  color: #ffffff;
}

/* TEXTO INSTITUCIONAL */

.dr-nosotros__content {
  min-width: 0;
}

.dr-nosotros__content p {
  font-size: 15px;
  line-height: 1.85;
  color: #606060;
  margin: 0 0 18px;
  font-weight: 400;
}

.dr-nosotros__content strong {
  color: #444444;
  font-weight: 700;
}

/* FRASE FINAL */

.dr-nosotros__content .dr-nosotros__closing {
  margin-top: 25px;
  margin-bottom: 0;
  padding-left: 16px;
  border-left: 3px solid #ed1625;
  color: #444444;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
}

/* TABLET */

@media (max-width: 991px) {

  .dr-nosotros {
    padding: 50px 20px;
  }

  .dr-nosotros__heading h2 {
    font-size: 29px;
  }

  .dr-nosotros__grid {
    gap: 30px;
  }

  .dr-nosotros__slides {
    height: 440px;
  }

  .dr-nosotros__content p {
    font-size: 14px;
    line-height: 1.75;
  }
}

/* MOBILE */

@media (max-width: 767px) {

  .dr-nosotros {
    padding: 45px 15px 55px;
  }

  .dr-nosotros__heading {
    margin-bottom: 32px;
  }

  .dr-nosotros__eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .dr-nosotros__heading h2 {
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: 0.3px;
  }

  .dr-nosotros__line {
    margin-top: 20px;
  }

  .dr-nosotros__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dr-nosotros__slides {
    height: auto;
    aspect-ratio: 4 / 3.4;
  }

  .dr-nosotros .dr-nosotros__arrow {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .dr-nosotros .dr-nosotros__prev {
    left: 12px;
  }

  .dr-nosotros .dr-nosotros__next {
    right: 12px;
  }

  .dr-nosotros__content p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
  }

  .dr-nosotros__content .dr-nosotros__closing {
    font-size: 15px;
  }
}

@media (max-width: 400px) {

  .dr-nosotros__heading h2 {
    font-size: 21px;
  }

  .dr-nosotros__slides {
    aspect-ratio: 1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  .dr-nosotros__slide,
  .dr-nosotros__arrow {
    transition: none !important;
  }
}