/*ESTILOS CARD FLIP*/

.scene {
  display: inline-block;
  width: 100%;
  height: 420px;
  margin: 40px 0;
  perspective: 600px;
}
/*
.card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center right;
  transition: transform 1s;
}*/

.card.is-flipped {
  transform: translateX(-100%) rotateY(-180deg);
}

.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card__face--front {
  background: #2f66f2;
}

.card__face--back {
  background: #ececec;
  transform: rotateY(180deg);
}

.amg-corner-button_wrap {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
}

.amg-corner-button {
  display: block;
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 50px;
  height: 50px;
  /*background-color: #f05822;*/
  -webkit-box-shadow: -1px -1px 4px 2px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: -1px -1px 4px 2px rgba(0, 0, 0, 0.25);
  box-shadow: -1px -1px 4px 2px rgba(0, 0, 0, 0.25);
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 0px;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-top-left-radius: 0px;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 0px;
  -moz-border-radius-bottomleft: 0;
  -moz-border-radius-topleft: 0px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  overflow: hidden;
  -webkit-transition: width 300ms, height 300ms;
  -moz-transition: width 300ms, height 300ms;
  -ms-transition: width 300ms, height 300ms;
  -o-transition: width 300ms, height 300ms;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
}

.amg-corner-button:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 0 50px 50px;
  border-style: solid;
  border-color: rgb(255, 255, 255, 0.1) var(--theme-color);
}

.amg-corner-button_text {
  font-size: 14px;
  font-size: 1.4rem;
  width: 120px;
  position: absolute;
  top: 75px;
  right: 0;
  left: 10px;
  -webkit-transform-origin: center top;
  -moz-transform-origin: center top;
  -ms-transform-origin: center top;
  transform-origin: center top;
  -webkit-transform-origin: center top center;
  -moz-transform-origin: center top center;
  -ms-transform-origin: center top center;
  -o-transform-origin: center top center;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  text-align: center;
  color: #ffffff;
}

.amg-corner-button .icon-expand {
  position: absolute;
  bottom: 7px;
  right: 7px;
  color: #ffffff;
}

.cards {
  width: 100%;
  height: 390px;
  perspective: 1500px;
}

@media only screen and (max-width: 1600px) {
  .cards {
    height: 600px;
  }
}

@media only screen and (max-width: 991px) {
  .cards {
    height: 350px;
  }
}

@media only screen and (max-width: 768px) {
  .cards {
    height: 350px;
  }
}
@media only screen and (max-width: 560px) {
  .cards {
    height: 450px;
  }
}

.cards .content {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.75, 0, 0.85, 1);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  border-radius: 10px;
}

.cards .content::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background-color: red;
  z-index: -1;
  box-shadow: -10px 10px 0 0 red; /* Ajusta los valores según sea necesario */
}

.more {
  display: none;
}

.more:checked ~ .content {
  transform: rotateY(180deg);
}

.front,
.back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  border-radius: 10px;
}

.front .inner,
.back .inner {
  height: 100%;
  display: grid;
  padding: 1.5em;
  transform: translateZ(90px) scale(0.94);

}

.inner label {
  position: absolute;
  bottom: 0;
  right: 0;
}

.front:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0px;
  backface-visibility: hidden;
}

.front .inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: start;
}

.front h2 {
  grid-row: 2;
  margin-bottom: 0.3em;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.front .rating {
  grid-row: 3;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  display: flex;
  flex-flow: row nowrap;
}

.front .rating i {
  margin: 0 1px;
}

.back {
  transform: rotateY(180deg);
  background-color: #3D3967;
  color: #ffffff;
}

.back .inner {
  grid-column-gap: 0.8em;
  justify-items: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.back .info {
  position: relative;
  display: flex;
  align-items: center;
  color: #355cc9;
  grid-row: 3;
}

.back .info:not(:first-of-type):before {
  content: "";
  position: absolute;
  left: -0.9em;
  height: 18px;
  width: 1px;
  background-color: #ccc;
}

.back .info span {
  font-size: 2em;
  font-weight: 700;
}

.back .info i {
  font-size: 1.2em;
}

.back .info i:before {
  background: linear-gradient(40deg, #355cc9, #438af3);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

.back .info .icon {
  margin-left: 0.3em;
}

.back .info .icon span {
  display: block;
  margin-top: -0.25em;
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}

.back .description {
  grid-column: 1/-1;
  font-size: 14px;
  font-weight: 600;
  height: max-content;
}



.button {
  grid-row: -1;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  line-height: 2.9em;
  min-width: 3em;
  background-color: transparent;
  color: #fff;
  border-radius: 0px;
  text-align: center;
  backface-visibility: hidden;
  transition: 0.3s ease-in-out;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.button:hover {
  background-color: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  text-shadow: none;
  color: #355cc9;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #859ddf;
}

::-webkit-scrollbar-thumb:hover {
  background: #355cc9;
}

.expand {
  position: absolute;
  background-color: #fe000c;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
  cursor: pointer;
}

.w-fit-cont {
  width: fit-content;
  margin: auto;
}

.border-clip {
  border-right: 10px solid #fe000c;
  border-bottom: 10px solid #fe000c;
}

.swal2-styled.swal2-confirm {
  background-color: var(--theme-color) !important;
}

.swal2-styled.swal2-confirm:focus {
  box-shadow: 0 0 0 3px var(--theme-color) !important;
}



.bg-orange,
.bg-orange:hover,
.btn.bg-orange:first-child:active {
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.bg-danger,
.btn.bg-danger:first-child:active {
  background-color: #b90b13 !important;
  border: 1px solid #b90b13 !important;
  color: #ffffff !important;
}

.bar-scroll {
  height: 60px;
  width: 100%;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  display: inline-block;
}

.bar-scroll i {
  font-size: 25px;
  padding-top: 15px;
  animation: bounce2 2s ease infinite;
  display: inline-block;
}

.bounce2 {
  animation: bounce2 2s ease infinite;
}

@keyframes bounce2 {
  50% {
    transform: translateY(-15px);
  }
}

.bar-top {
  top: 67px;
  z-index: 999999;
  background: rgb(35, 105, 189);
  background: linear-gradient(
    180deg,
    rgba(35, 105, 189, 1) 0%,
    rgba(35, 105, 189, 0.8995973389355743) 60%,
    rgba(35, 105, 189, 0) 100%
  );
}

.bar-bottom {
  bottom: 0;
  z-index: 999999;
  background: rgb(35, 105, 189);
  background: linear-gradient(
    0deg,
    rgba(35, 105, 189, 1) 0%,
    rgba(35, 105, 189, 0.8995973389355743) 60%,
    rgba(35, 105, 189, 0) 100%
  );
}

.arrow {
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 80%;
  transform-origin: 50% 50%;
  transform: translate3d(-50%, -50%, 0);
}

.arrow-first.bottom {
  -webkit-animation: arrow-movement 2s ease-in-out infinite;
  animation: arrow-movement 2s ease-in-out infinite;
}

.arrow-second.bottom {
  -webkit-animation: arrow-movement 2s 1s ease-in-out infinite;
  animation: arrow-movement 2s 1s ease-in-out infinite;
}

.arrow-first.top {
  -webkit-animation: arrow-movements 2s 1s ease-in-out infinite;
  animation: arrow-movements 2s 1s ease-in-out infinite;
}

.arrow-second.top {
  -webkit-animation: arrow-movements 2s ease-in-out infinite;
  animation: arrow-movements 2s ease-in-out infinite;
}

.arrow.top:before,
.arrow.top:after {
  background: #fff;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  bottom: -33px;
  left: 0;
  width: 15px;
}

.arrow.bottom:before,
.arrow.bottom:after {
  background: #fff;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  top: -5px;
  left: 0;
  width: 15px;
}

.arrow:before {
  transform: rotate(45deg) translateX(-23%);
  transform-origin: top left;
}

.arrow:after {
  transform: rotate(-45deg) translateX(23%);
  transform-origin: top right;
}

.arrow.top {
  transform: rotate(180deg);
}

.content.service-item-inner.style-box:after {
  display: none !important;
}

.v-dark .icon-expand {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%)
    hue-rotate(143deg) brightness(105%) contrast(101%);
}

.v-light .icon-expand {
  filter: brightness(0) saturate(100%) invert(12%) sepia(4%) saturate(16%)
    hue-rotate(5deg) brightness(94%) contrast(94%);
}

.amg-corner-button_wrap.v-dark {
  background-color: transparent;
}

.front .inner:before {
  border-radius: 10px;
  background-color: rgb(255, 255, 255, 0.1);
}

.front .inner:before {
  background-color: transparent!important;
}

/**********************/


.card {
  width: 420px;
  height: 340px;
  margin: 1em;
  perspective: 1500px;
}
.card .content {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.75, 0, 0.85, 1);
}

.front {
  background-color: #fff;
  background-size: cover;
  background-position: center center;
  background: rgb(0, 0, 0, 0.5);
}


.back .inner {
  grid-template-rows: 1fr 2fr 1fr 2fr 14fr 1fr 1fr;
  grid-template-columns: repeat(4, auto);
  grid-column-gap: 0.8em;
  justify-items: center;
}





