@media (max-width: 1024px) {
  .hero-background {
    left: initial;
    right: -200px;
    width: initial;
  }
}
@media (max-width: 768px) {
  .hero-background {
    right: -300px;
  }
}
@media (max-width: 640px) {
  .hero-background {
    right: -400px;
  }
}
@media (max-width: 420px) {
  .hero-background {
    right: -480px;
  }
}
/* Start Philosophy */
.philosophy {
  position: relative;
  padding: 100px var(--sidePadding);
}

.philosophy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: rgba(12, 99, 47, 1);
}

.philosophy::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    360deg,
    rgba(203, 213, 11, 0.2) 34.13%,
    rgba(12, 99, 47, 0.2) 100%
  );
  z-index: -1;
}

.philosophy > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.2;
}

.philosophy__wrapper {
  max-width: var(--maxScreenWidth);
  color: white;
  margin: 0 auto;
}

.philosophy__wrapper h2 {
  font-size: var(--textFontSizeL);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  margin: 0 auto 50px;
}

.philosophy__footer-text,
.philosophy__content {
  font-weight: 300;
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeM);
  line-height: 1.33;
  margin-bottom: 110px;
}

.philosophy__footer-text strong,
.philosophy__content strong {
  font-weight: 700;
}

.philosophy__footer-text {
  text-align: center;
  margin-bottom: 0;
}

.philosophy__principles {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  column-gap: var(--sidePadding);
  row-gap: 65px;
}

.philosophy__principles li {
  width: 100%;
  max-width: 300px;
}

@media (max-width: 600px) {
  .philosophy__principles {
    flex-wrap: wrap;
  }

  .philosophy__principles li {
    max-width: 240px;
  }
}

@media (max-width: 400px) {
  .philosophy__principles li {
    max-width: 3000px;
  }
}

/* End Philosophy */

/* Start Highlights */
.highlights {
  padding: 45px var(--sidePadding) 25px;
  background: var(--green3);
}

.highlights__wrapper {
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
}

.highlights__wrapper ul {
  display: flex;
  justify-content: space-between;
  gap: var(--sidePadding);
}

.highlight {
  display: flex;
  align-items: flex-start;
  color: white;
  gap: 15px;
  width: 349px;
}

.highlight svg {
  width: 70px;
  height: 70px;
  min-width: 70px;
  min-height: 70px;
  object-fit: contain;
  --iconColor1: var(--green);
}

.highlight div b {
  font-family: var(--secondaryFont);
  font-weight: 600;
  font-size: var(--textFontSizeM);
  display: block;
  margin-bottom: 10px;
}

.highlight div p {
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  font-weight: 400;
  text-align: justify;
}

@media (max-width: 1250px) {
  .highlight {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .highlight svg {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
  }

  .highlights {
    padding: 0;
  }

  .highlights__wrapper ul {
    flex-direction: column;
    gap: 0;
  }

  .highlight {
    flex-direction: row;
    width: 100%;
    padding: 30px var(--sidePadding);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
  }

  .highlight:first-of-type {
    border-top: none;
  }
}

/* End Highlights */

/* Start Authorized */

.authorized {
  padding: 85px var(--sidePadding);
}

.authorized__wrapper {
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
}

.authorized__wrapper h2 {
  font-size: var(--textFontSizeL);
  color: var(--grayDark);
  text-transform: uppercase;
  text-align: center;
  max-width: 666px;
  margin: 0 auto 50px;
}

.authorized__content {
  color: var(--grayDark);
  font-size: var(--textFontSizeS);
  font-weight: 400;
  font-family: var(--secondaryFont);
  line-height: 1.33;
  text-align: justify;
  margin-bottom: 50px;
}

.authorized__flex {
  display: flex;
}

.authorized__highlights {
  width: 50%;
  display: flex;
  justify-content: center;
}

.authorized__highlights ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.authorized__highlights li {
  display: flex;
  align-items: center;
  gap: 15px;
}

.authorized__highlights li svg {
  width: 40px;
  height: 40px;
  object-fit: contain;
  --iconColor1: var(--green);
}

.authorized__highlights li p {
  text-align: justify;
  max-width: 390px;
}

.authorized__highlights li strong {
  font-size: var(--textFontSizeM);
  font-weight: 600;
  font-family: var(--secondaryFont);
}

.authorized__image {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.authorized__image img {
  width: 566px;
  aspect-ratio: 566 / 320;
  object-fit: contain;
}

@media (max-width: 1250px) {
  .authorized__image img {
    width: 466px;
  }
}

@media (max-width: 1100px) {
  .authorized__image img {
    width: 386px;
  }
}

@media (max-width: 950px) {
  .authorized__image img {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .authorized {
    padding: 75px var(--sidePadding);
  }

  .authorized__image img {
    width: 240px;
  }

  .authorized__wrapper h2 {
    margin-bottom: 40px;
  }
}

@media (max-width: 550px) {
  .authorized__flex {
    flex-direction: column;
    gap: 30px;
  }

  .authorized__highlights {
    width: 100%;
  }

  .authorized__highlights li p {
    max-width: 100%;
  }

  .authorized__image {
    width: 100%;
  }

  .authorized__image img {
    width: 100%;
  }
}

/* End Authorized */

/* Start Common Pests */

.common-pests {
  padding: 100px var(--sidePadding);
  overflow: hidden;
  position: relative;
}

.common-pests::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: rgb(0, 0, 0);
}

.common-pests::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: -1;
}

.common-pests > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.2;
}

.common-pests__wrapper {
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.common-pests__wrapper h2 {
  font-size: var(--textFontSizeL);
  color: white;
  text-transform: uppercase;
  text-align: center;
  margin: 0 auto 25px;
  max-width: 666px;
}

.common-pests__content {
  font-weight: 400;
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeS);
  color: white;
  text-align: center;
  line-height: 1.33;
  margin-bottom: 50px;
}

.common-pests__list {
  cursor: grab;
  /* Indicar que se puede arrastrar */
  user-select: none;
  /* Prevenir selección de texto al arrastrar */
}

.common-pests__list:active {
  cursor: grabbing;
  /* Cambiar cursor cuando se está arrastrando */
}

.common-pests__list.dragging {
  cursor: grabbing;
}

.common-pests__list.dragging ul {
  transition: none;
  /* Deshabilitar transición durante el arrastre para mayor fluidez */
}

.common-pests__list.dragging .common-pests__item {
  pointer-events: none;
  /* Prevenir interacciones durante el arrastre */
}

.common-pests__list ul {
  display: grid;
  grid-auto-flow: column;
  gap: 25px;
  width: auto;
  transition: transform 0.1s ease-out;
  /* Transición suave para el arrastre */
  will-change: transform;
  /* Optimizar rendimiento de transformaciones */
}

.common-pests__list ul li {
  width: 140px;
  height: 500px;
  position: relative;
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  padding: 53px 48px;
  display: flex;
  align-items: flex-end;
  transition: all 0.3s ease-in-out;
}

.common-pests__list ul li.active {
  width: 500px;
  border-radius: 30px;
  cursor: default;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

.common-pests__list ul figure img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  display: block;
  bottom: 0;
  border-radius: 100px;
  left: 0;
  z-index: -1;
  padding: 0 1px 1px 1px;
  transition: all 0.3s ease-in-out;
}

.common-pests__list ul li.active figure img {
  border-radius: 30px;
}

.common-pests__caption {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.common-pests__caption h3 {
  color: white;
  width: 370px;
  font-size: var(--textFontSizeL);
  margin-bottom: 10px;
}

.common-pests__caption p {
  color: white;
  width: 370px;
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
}

.common-pests__list ul li.active .common-pests__caption {
  opacity: 1;
}

@media (max-width: 1000px) {
  .common-pests__list ul li {
    height: 420px;
  }

  .common-pests__list ul li.active {
    width: 420px;
  }
}

@media (max-width: 768px) {
  .common-pests__list ul li {
    height: 360px;
    width: 120px;
  }

  .common-pests__list ul li.active {
    width: 360px;
  }
}

@media (max-width: 480px) {
  .common-pests__list ul li {
    height: 270px;
    width: 100px;
  }

  .common-pests__list ul li.active {
    width: 270px;
  }
}

/* End Common Pests */

/* Start Location Map */
.location-map iframe {
  width: 100%;
  height: 855px;
  display: block;
}

/* End Location Map */
.feedback__slider h2 {
  max-width: 666px;
}


.page-template-page-about .service-treatments ul li footer{
  padding-top: 25px;
}
.page-template-page-about .service-treatments ul li footer .button--primary{
  width: 100%;
  justify-content: center;
  gap: 20px;
}