@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;800&display=swap');

body{
  font-family: 'Rubik', sans-serif !important;
  font-size: 16px!important;
  text-align: justify;
  overflow-x: hidden;
  overflow-y: auto; /* CAMBIO AQUI PARA HABILITAR SCROLL */
}
.nav-link{
  color: black!important;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}
.active{
  background-color: white!important;
  border-color: black!important;
  border-width: 1px !important;
  border-style: solid !important;
}

.slideshow {
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 50%;
  background-size: cover;
  -webkit-animation-name: kenburns;
          animation-name: kenburns;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-duration: 16s;
          animation-duration: 16s;
  opacity: 1;
  transform: scale(1.2);
}
.slideshow-image:nth-child(1) {
  -webkit-animation-name: kenburns-1;
          animation-name: kenburns-1;
  z-index: 3;
}
.slideshow-image:nth-child(2) {
  -webkit-animation-name: kenburns-2;
          animation-name: kenburns-2;
  z-index: 2;
}
.slideshow-image:nth-child(3) {
  -webkit-animation-name: kenburns-3;
          animation-name: kenburns-3;
  z-index: 1;
}
.slideshow-image:nth-child(4) {
  -webkit-animation-name: kenburns-4;
          animation-name: kenburns-4;
  z-index: 0;
}

@-webkit-keyframes kenburns-1 {
  0% {
    opacity: 1;
    transform: scale(1.2);
  }
  1.5625% {
    opacity: 1;
  }
  23.4375% {
    opacity: 1;
  }
  26.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
  98.4375% {
    opacity: 0;
    transform: scale(1.2117647059);
  }
  100% {
    opacity: 1;
  }
}

@keyframes kenburns-1 {
  0% {
    opacity: 1;
    transform: scale(1.2);
  }
  1.5625% {
    opacity: 1;
  }
  23.4375% {
    opacity: 1;
  }
  26.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
  98.4375% {
    opacity: 0;
    transform: scale(1.2117647059);
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes kenburns-2 {
  23.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  26.5625% {
    opacity: 1;
  }
  48.4375% {
    opacity: 1;
  }
  51.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes kenburns-2 {
  23.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  26.5625% {
    opacity: 1;
  }
  48.4375% {
    opacity: 1;
  }
  51.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@-webkit-keyframes kenburns-3 {
  48.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  51.5625% {
    opacity: 1;
  }
  73.4375% {
    opacity: 1;
  }
  76.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes kenburns-3 {
  48.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  51.5625% {
    opacity: 1;
  }
  73.4375% {
    opacity: 1;
  }
  76.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@-webkit-keyframes kenburns-4 {
  73.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  76.5625% {
    opacity: 1;
  }
  98.4375% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
@keyframes kenburns-4 {
  73.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  76.5625% {
    opacity: 1;
  }
  98.4375% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.top{
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  top: 5%;
  z-index: 99;
}


/* Main CSS */
.grid-wrapper > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-wrapper > div > a {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  grid-auto-rows: 330px;
  grid-auto-flow: dense;
}


.grid-wrapper > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.grid-wrapper > div > a > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 5px;
}


.grid-wrapper > div > img:hover {
  opacity: 0.1;
  
}

.grid-wrapper > div > a > img:hover {
  opacity: 0.1;
  
}

.text{
  z-index: -10;
  position: absolute;
  font-weight: 800;
  font-size: 15px;

}

.grid-wrapper {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  grid-auto-rows: 330px;
  grid-auto-flow: dense;
}
.grid-wrapper .wide {
  grid-column: span 2;
}
.grid-wrapper .tall {
  grid-row: span 2;
}
.grid-wrapper .big {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 800px) {
  .grid-wrapper > div > a { grid-template-columns: repeat(1, 1fr); }
  .grid-wrapper{ grid-template-columns: repeat(2, 1fr); }
}

.footer{
  font-size: 11px!important;
  color:gray;
}

.footericon{
  font-size: 18px!important;
  font-weight: 500;
}
a{
  color:#FF950B!important;
  text-decoration: none!important;
}

.acento{
  color:#FF950B!important;
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
  max-width: 1200px !important;
}

.headerp{
  padding-top: 65px;
  padding-bottom: 65px;
}


.float{
  position:fixed;
  width:70px;
  height:70px;
  bottom:105px;
  right:40px;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
}
.float .fa-brands, .fab{
  color: #25d366;
}

.my-float{
  margin-top:16px;
}
.float img{
  width: 100% !important;
  
}
.logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #FF950B; /* opcional */
  padding: 20px 0;
  margin: 30px 0;
}

.logo-track {
  display: flex;
  width: max-content;
  /* El 'linear' es clave para que no se detenga */
  animation: scroll 60s linear infinite; 
}

@keyframes scroll {
  from { transform: translateX(0); }
  /* Al clonar el contenido, el 50% garantiza que el ciclo reinicie invisiblemente */
  to   { transform: translateX(-50%); } 
}

.logo-track img {
  width: 150px; /* ajusta el tamaño de cada logo */
  height: auto;
  margin: 0 20px;
  object-fit: contain;
}



.flip-card {
  perspective: 1000px;
  margin-bottom: 20px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:active .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* FLIP CARDS */
.flip-card { 
  perspective: 1000px; 
  margin-bottom: 24px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* da altura: cuadrado (ajusta el % si tus svgs no son cuadrados) */
.flip-card-inner::before{
  content: "";
  display: block;
  padding-top: 100%; /* 100% = 1:1 ; usa 75% para 4:3, 56.25% para 16:9 */
}

.flip-card:hover .flip-card-inner,
.flip-card:active .flip-card-inner,
.flip-card.touch-flip .flip-card-inner{
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back{
  position: absolute;
  inset: 0;             /* top/right/bottom/left = 0 */
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card-back{ transform: rotateY(180deg); }

.flip-card img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer{
  background-color: #1c1c1b;
  margin-top: 80px;
  padding-top: 50px;
  padding-bottom: 20px;
}
footer i{
  color: white !important;
}
