body {
  overflow-x: hidden;
}

iframe {
  border-radius: 15px; /* Esquina superior izquierda redondeada */
}

@media (min-width: 770px) {
}
@media (max-width: 769.98px) {
  .coete {
    font-size: 1rem;
  }
  .chevron {
    display: none;
  }
}

/* INICIO ----------------------------------------------------------------------------*/

@media (min-width: 770px) {
  .contIni {
    padding-left: 80px;
    padding-right: 80px;
    margin-bottom: 115px !important;
  }
  .txtIni-txtPrincipal-SO {
    font-size: 5.5em;
  }
  .txtIni {
    padding-right: 25px;
  }
  .imgIni {
    width: 90%;
  }
}

@media (max-width: 769.98px) {
  .contIni {
    height: 100%;
    padding-left: 35px;
    padding-right: 35px;
  }
  .imgIni {
    padding: 30px 0;
    margin-bottom: 35px;
  }
  .txtIni-txtPrincipal-SO {
    font-size: 3em;
  }

  .imgIni {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 100px;
  }
}

.contIni {
  margin-top: 85px !important;
}

.txtIni-txtPrincipal {
  color: #20a49c;
  text-align: center;
}

.txtIni-txtPrincipal-PO {
  font-size: 1.9em;
}

.txtIni-txtPrincipal-SO {
  font-family: "Lilita";
  font-weight: bold;
}

.txtIni-txtSecundario {
  font-size: 1.1em;
  margin: 0%;
  margin-bottom: 15px;
}

.cardIni {
  border-left: 7px solid #248985 !important;
  margin-top: 10px;
  padding: 8px;
  background-color: #f1fcfa;
}

.cardIni-txt {
  font-size: 1.1em;
  margin: 0;
}

.btnInicio {
  font-size: 1em !important;
  margin-top: 5px;
}

/* -- */

.containerArrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 150px;
  position: absolute;
  z-index: 7;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.chevron {
  position: absolute;
  width: 1.2rem;
  height: 0.3rem;
  opacity: 0;
  transform: scale(0.3);
  animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
  animation: move-chevron 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move-chevron 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: black;
}

.chevron:before {
  left: 0;
  transform: skewY(30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skewY(-30deg);
}

@keyframes move-chevron {
  25% {
    opacity: 1;
  }
  33.3% {
    opacity: 1;
    transform: translateY(2.28rem);
  }
  66.6% {
    opacity: 1;
    transform: translateY(3.12rem);
  }
  100% {
    opacity: 0;
    transform: translateY(4.8rem) scale(0.5);
  }
}

/* MAS SOBRE MI ----------------------------------------------------------------------------*/

@media (min-width: 770px) {
  #porqueami {
    background-size: contain;
  }
  .fsfg-2 {
    font-size: 1.2em;
  }
}

@media (max-width: 769.98px) {
  .fsfg-2 {
    font-size: 1.1em;
  }
}

#porqueami {
  background-image: url(/img/index/linea1.webp);
  background-repeat: no-repeat;
  background-position: center;
}

.imgMSM {
  background-image: url("../img/index/perfil3.webp");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  min-height: 400px;
}

/* SERVICIOS ----------------------------------------------------------------------------*/

@media (min-width: 770px) {
  .contSer {
    background-size: contain;
  }
}

@media (max-width: 769.98px) {
  .imgAdorno {
    display: none;
  }
}

.contSer {
  background-color: #f1fcfa;
  background-image: url(/img/index/lineaFondo.webp);
  background-repeat: no-repeat;
  background-position: bottom;
}

.imgAdorno {
  background-image: url(/img/index/lineaServ.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  width: 200px;
  height: 200px;
  right: 20px;
}

.text-card-serv{
  font-size: 1.1em;
}

.linkServ{
  text-decoration: none;
  color: #20a49c;
}

.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cardSer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 1rem;
  width: 100%;
  height: 50%; /* Ajusta este valor según el tamaño del difuminado que desees */
  background: linear-gradient(
    to top,
    #072b2c,
    rgba(255, 255, 255, 0)
  ); /* Ajusta los colores del gradiente según tus necesidades */
  pointer-events: none; /* Asegúrate de que el pseudo-elemento no interfiera con la interacción del contenido de la tarjeta */
}

.card-front {
  font-family: "Lilita";
  z-index: 1;

  font-size: 2em;
  position: absolute;
  bottom: 0;
  width: 90%;
  color: white;
}

.flip-card-back {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;

  background: #072b2c;
  color: white;
  transform: rotateY(180deg);
}

.click-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .click-indicator {
    display: block;
    animation: click 1s infinite;
  }
}

@keyframes click {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Testimonios ----------------------------------------------------------------------------*/

.wrapper {
  position: relative;
}

.wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  z-index: 1;
}

.wrapper i:hover {
  transform: translateY(-50%) scale(0.9);
}

.wrapper i:active {
  transform: translateY(-50%) scale(0.8);
}
.wrapper i:first-child {
  left: -22px;
}
.wrapper i:last-child {
  right: -22px;
}
.wrapper .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel.no-transition {
  scroll-behavior: auto;
}
.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}
.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel .card {
  scroll-snap-align: start;
  list-style: none;
  background: #fff;
  cursor: pointer;
  padding: 15px;
  flex-direction: column;
  border-radius: 8px;
}
.carousel .card .img {
  background: #20a49c;
  height: 148px;
  width: 148px;
  border-radius: 50%;
  justify-content: bottom;
}
.card .img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}

.carousel :where(.card, .img) {
  justify-content: initial;
}
.carousel .card img,
.carousel .img img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.carousel .card h2 {
  font-weight: 500;
  font-size: 1.56rem;
  margin: 30px 0 5px;
}
.carousel .card span {
  color: #6a6d78;
  font-size: 1rem;
}

@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}

/* Marcas ----------------------------------------------------------------------------*/

.scroller__inner {
  height: 100px;
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
}

.scroller[data-animated="true"]:hover .scroller__inner {
  animation-play-state: paused;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

/* Blogs ----------------------------------------------------------------------------*/

#blogs {
  background-image: url(/img/index/linea2.webp);
  background-repeat: no-repeat;
  background-position: center bottom;
}

.cardSombra {
  transition: box-shadow 0.3s ease;
}

.cardSombra:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.derechaA {
  text-align: right;
}

/* Frase final ----------------------------------------------------------------------------*/

.fraseFinal {
  background-color: #f1fcfa;
  transition: transform 0.3s ease-in-out;

  background-image: url("../img/index/linea8.webp");
  background-repeat: no-repeat;
}

.fraseFinal:hover {
  transform: scale(1.01); /* Usa transform en lugar de scale directamente */
}

/* ----------------------------------------------------------------------------*/

@media (max-width: 576px) {
  .nav_desple {
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    background-color: rgba(0, 0, 0, 0.7);
  }
}

img {
  max-width: 100%;
  height: auto;
}

.saca_butter {
  --bs-gutter-x: 0;
}

.tex {
  font-size: x-large;
}

.tex2 {
  color: #ef8024;
  font-size: x-large;
}

.tex3 {
  font-size: large;
}
