/*------ FONTS ------*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@100;200;300;400;500;600;700;800;900&family=Saira+Semi+Condensed:wght@100;200;300;400;500;600;700;800;900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');

/*------ ESTILOS PRINCIPALES ------*/

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
  -webkit-user-select: none; /* Chrome / Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE */
  user-select: none;         /* estándar */

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  min-width: 400px;
  background-color: #fff;
}

a{
  text-decoration: none !important;
}

a, button {
    -webkit-tap-highlight-color: transparent;
}

a:focus {
    outline: none;
}

.cont{
  margin: 0 auto;
  width: 95%;
  max-width: 1200px;
}

.full-cont{
  position: relative;
  width: 100%;
  margin: 0 auto;
  background-size: cover;
}

/* CABECERA */

.header{
  position: relative;
  width: calc(100% - 20px);
  max-width: 1200px;
  
  padding: 10px;

  background-color: #00183abd;
  backdrop-filter: blur(20px);
  border-radius: 10px;

  border-top: #006affbd solid 1px;

  top: 10px;
  left: 50%;
  transform: translateX(-50%);

  z-index: 11;
}

.header-btns{
  width: auto;
  height: 40px;
  position: absolute;
  /*float: right;*/
  display: flex;

  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 12;
}

.btn-header{
  width: 36px;
  padding: 2px;
  position: relative;
  top: 2px;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.6s ease;
}

.btn-header:hover{
  scale: 1.2;
}


/* SLIDER */

.slider {
  position: relative;
  width: 100%;
  max-width: 1800px;
  margin: auto;
  overflow: hidden;
  aspect-ratio: 21 / 9;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide {
  position: relative;
}

.slide-info-max-w{
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.slide-content {
  position: absolute;
  width: auto;

  color: red;
  /*background: #0025581a;*/
  /*backdrop-filter: blur(5px);*/
  
  border-radius: 6px;
  z-index: 10;

  display: flex;
  align-items: left;

  transition: background-color 0.3s ease;

  bottom: clamp(10px, 3vw, 30px);

  padding: clamp(4px, 1vw, 8px);
  border-radius: clamp(4px, 0.6vw, 8px);

  max-height: none; /* quitamos el límite fijo */
}


.slide-content:hover {
  background: #006affdd;
  cursor: pointer;
}

.slider-info{
  width: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}


.slide-titulo {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  /*font-size: 24px;*/
  color: #fff;
  font-style: normal;
  /*letter-spacing: 2px;*/

  font-size: clamp(16px, 2.2vw, 28px);
  letter-spacing: clamp(1px, 0.2vw, 2px);
  line-height: 1;

}

.slide-center{
  position: relative;
}

.slide-desc{
  /*padding: 10px;*/
  border-radius: 5px;
  padding-left: clamp(6px, 1vw, 12px);
  line-height: 1;

  position: relative;
  top: 50%;
  transform: translateY(-50%);
  
}

.slide-tagline {
  font-family: "Inter", sans-serif;
  /*font-size: 18px;*/
  font-weight: 500;
  color: #fff;
  font-style: normal;
  letter-spacing: 1px;
  line-height: 1;
  font-size: clamp(12px, 1.6vw, 20px);
}

.slider-marca{
  height: 100%;
  /*padding: 10px;*/
  background-color: #fff;
  border-radius: 5px;
  /*aspect-ratio: 2 / 1;*/

  width: clamp(70px, 9vw, 140px);
  aspect-ratio: 2 / 1;
  padding: clamp(6px, 0.8vw, 12px);
}

.slider-marca img{
  aspect-ratio: 2 / 1;
  width: 100%;
  height: 100%;
  /*object-fit: contain;*/
}

.wallslider{
  background-image: url("../imagenes/fondo-slider.svg");
  background-repeat: no-repeat;
  background-position: center center;
}


/*----------------------- SLIDER DE MARCAS -----------------------*/

.sl-marcas-cont{


  position: relative;

  max-width: 100vw;
  opacity: 1;
  animation: ani-marcas 1s ease-in forwards;
  animation-delay: 500ms;

  padding-top: clamp(20px, 2vw, 20px);

  margin: 0 auto;
}

.sl-marcas{
  
  width: 100%;
  height: auto;
  
  overflow: hidden;
  border-radius: 10px;

  margin: 0 auto;
}

.sl-track{
  border-radius: 10px;
}

.sl-marcas .sl-track{
  border-radius: 10px;
  display: flex;
  animation: scrolling 40s linear infinite;
  -webkit-animation: scrolling 40s linear infinite;
  width: calc(160px * 18);
}

.sl-track:hover{
  animation-play-state: paused;
}

.sl-img{
  background-color: #f5f5f5;
  border-radius: 10px;
  margin: 0px 5px 0px 5px;
  transition: all 250ms ease-in-out;
  cursor: pointer;
}

.sl-marcas .sl-img{
  width: 160px;
}

.sl-marcas .sl-img img{
  width: 100%;
}

.sl-img:hover{
  background-color: #008cff;
  scale: 0.9;
}

@keyframes scrolling {
  0%{
    /*-webkit-transform: translateX(0);*/
    transform: translateX(0);
  }
  100%{
    /*-webkit-transform: translateX(calc(-160 * 9));*/
    transform: translateX(calc(-160px * 9));
  }
  
}

/* DESTACADO */

.destacado-cont{
  width: 100%;
  height: 100%;
  max-width: 1200px;
  aspect-ratio: 21 / 9;
  position: relative;
  margin: 0 auto;
}

.walldestacado{
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
}



/* SLIDER : Botones */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  font-size: 32px;
  /*padding: 10px 15px;*/
  z-index: 10;

  background: none;
  border: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.btn-slider{
  width: 40px;
  opacity: 0.6;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 5;
}

.btn-slider:hover {
  transform: scale(1.2);
  opacity: 1;
}

.nav.prev {
  left: 10px;
}

.nav.next {
  right: 10px;
}

/* SLIDER : BARRA DE PROGRESO */

.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #006aff5e;
  overflow: hidden;
  z-index: 10;
}

/* BARRA */
.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 50%;

  width: 100%;
  height: 100%;

  background: #006aff;

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;

  will-change: transform;
}

/* MENÚ DESPLEGABLE */

.menu-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 2px;
  border-radius: 10%;
  margin-right: 10px;
  transition: all 0.6s ease;


}

.menu-wrapper img{
  width: 34px;
  height: 34px;
  position: relative;
  top: -0px;
}

.menu-wrapper:hover {
  background-color: #006affdd;
}

.menu-trigger {
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

/* Menú */
.dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #00183ae1;
  backdrop-filter: blur(20px);
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;

  border-top: #006affbd solid 1px;
  border-bottom: #006affbd solid 1px;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: opacity 0.25s ease,
              transform 0.25s ease;

  z-index: 15;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  font-family: Inter;
  font-weight: 500;
  font-size: 10pt;
  color: white;
  text-decoration: none;
}

.dropdown a:hover {
  background: #006affbd;
}

.dropdown.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/*  CONTENEDORES ELEMENTOS  */

.titulo-separador{
  width: 100%;
  text-align: center;

  font-family: Orbitron;
  font-size: 18pt;
  font-weight: 500;
  padding: 20px;
}

.cont-grid-X3{
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 3vw, 30px);

  grid-auto-rows: auto;
  align-content: start;
}

.cont-grid-X3 > a {
  display: block;
}

.cont-grid-X3 {
  align-items: stretch;
}

.cont-grid-X2{
  grid-template-columns: 1fr 1fr !important;
}

.element{
  position: relative;
}

.grid-element{
  width: 100%;
  aspect-ratio: 4 / 3;

  border-radius: 5px 5px 10px 10px;
  border-top: #006afe solid 2px;
  

  background-size: cover;
  background-position: center;
  background-repeat: none;

  transition: all 0.6s ease;

  cursor: pointer;

  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;

  
/*clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );*/
}

.element-titulo{
  position: absolute;
  font-family: Inter;

  font-optical-sizing: auto;
  font-style: normal;

  font-size: 12pt;
  font-weight: 500;
  width: 100%;
  color: #000000ec;

  border-radius: 0px 0px 5px 5px;

  background-color: #f5f5f5;

  line-height: 0.7;
  
  bottom: 0;
  left: 0;

  padding: 10px;
}

.element-titulo-hero{
  position: absolute;
  font-family: Inter;
  font-size: clamp(32px, 10vw, 80px);
  font-weight: 900;
  width: 100%;
  color: #fff;
  text-align: center;
  text-shadow: 0px 0px 20px rgba(0,0,0,0.9);

  /*background-color: #00183ae1;*/

  line-height: 0.7;
  
  padding: 10px;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.grid-element::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1);
  transition: transform 1s ease;
  z-index: 0;
}

.grid-element:hover::before {
  transform: scale(1.15);
}


/*  DESTACADO  */

.destacado{
  background-color: #f5f5f5;
  border-top: #006affbd solid 2px;
  position: relative;
}

.wide{
  height: auto;
}

.dest-info{
  width: 90%;
  background-color: #ffffffa1;
  /*border: #ffffff70 solid 1px;*/
  border-top: #006affbd solid 2px;
  backdrop-filter: blur(7px);
  border-radius: 5px;
  position: absolute;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  box-shadow: 0 0px 7px rgba(0,0,0,0.3);

  
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  
  /*padding: 20px;
  margin: 10px;*/

 /* transform: scale(clamp(0.6, calc(100vw / 1920), 1));*/
  transform-origin: bottom right;

  padding: clamp(15px, 1.5vw, 20px);
  margin-bottom: clamp(10px, 1vw, 10px);
}

.dest-titulo{
  color: #002458;
  font-family: "Inter", sans-serif;
  /*font-size: 18px;*/
  font-weight: 700;
  font-style: normal;
  /*letter-spacing: 1px;*/
  line-height: 1;
  font-size: clamp(18px, 3vw, 30px);
  text-align: left;

  display: flex;
  align-items: center;
  justify-content: left;
}

.dest-tagline{
  color: #000;
  font-family: "Inter", sans-serif;
  /*font-size: 18px;*/
  font-weight: 400;
  font-style: normal;
  /*padding-top: 20px;
  padding-bottom: 20px;*/
  /*letter-spacing: 1px;*/
  line-height: 1;
  font-size: clamp(14px, 1.6vw, 20px);
  text-align: left;

  display: flex;
  align-items: center;
  justify-content: center;
}

.btn{
  width: max-content;
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
  font-style: normal;
  text-align: center;
  margin-left: 10px;
  /*padding: 5px 10px 5px 10px;*/
  border-radius: 5px;
  color: #000;
  border: #ffffff46 solid 2px;
  background-color: #ffffff31;
  display: inline;
  position: relative;

  cursor: pointer;
  transition: all 0.6s ease;

  height: 40px;                 /* MISMA ALTURA */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 0 14px;              /* horizontal solamente */
  box-sizing: border-box;

  overflow: visible;

}

.btn-whatsapp img {
  height: 26px;     /* tamaño real */
  width: auto;
  max-width: none;  /* MUY IMPORTANTE */
  padding-right: 0;
  height: auto !important;
  scale: 1.8;
}

.btn-whatsapp{
  background-color: #0ea80086;
  color: #fff;

  padding: 0 10px; 

  display: flex;
  align-items: center; /* centra vertical */
  justify-content: center; /* opcional, centra horizontal */

}

.btn-cont{
  display: flex;
  align-items: center;   /* centra verticalmente */
  justify-content: right; /* opcional: centra el grupo horizontalmente */
   
}

.btn img{
  width: 24px;
  position: relative;
  /*top: 10px;*/
  height: 100%;
  padding-right: 4px;
  object-fit: cover;
}

.btn:hover{
  color: #fff;
  border: #00419bf5 solid 2px;
  background-color: #006afe;
}

/*  FOOTER  */

.footer{
  width: 100vW;
  background-color: #002458;
  border-top: #006aff solid 2px; 
}

.footer-grid{
  width: 95%;
  max-width: 1200px;
  display: grid;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-btn{
  width: max-content;
  font-family: Inter;
  font-weight: 400;
  font-size: 10pt;
  color: #fff;
  background-color: #002b68;
  border: #00419b63 solid 1px;
  border-radius: 3px;
  padding-right: 5px;
  display: flex;
  float: left;
  padding: 5px;
  margin-top: 4px;
  margin-top: 4px;
  margin-right: 4px;

  
  transition: all 0.6s ease;

}

.footer-btn:hover{
  background-color: #006afe;
}

.footer-logo-cont{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.footer-logo-cont img{
  width: 100%;
  max-width: 200px;

}

.footer-txt{
  font-family: " Inter", sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-style: normal;
  text-align: center;
  color: #fff;
  font-weight: 500;

  display: inline-block;

}

.footer-copy{
  height: 100%;
  
}

.footer-copy-2{
  height: 100%;
  display: flex;
  flex-direction: column;   /* uno debajo del otro */
  justify-content: center;  /* centro vertical */
  align-items: flex-end;      
}

.footer-copy img{
  /*display: inline-block;*/
}

.footer-copy-2 div, img{
  padding: 5px;
}

/* ============================= ESTILOS 0KM ============================= */




/*  RESPONSIVE  */

@media (max-width: 800px){

  /* GRID 3 → 2 columnas */
  .cont-grid-X3 {
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
  }

  /* Último item ocupa todo el ancho */
  .wide > a:last-child {
    grid-column: 1 / -1;
  }

  /* Wide solo controla altura, no layout */
  .wide {
    height: auto;
  }

  /* Variante más baja (si la usás) */
  .widemin {
    aspect-ratio: 2 / 1;
  }

  .dest-info{
    grid-template-columns: 1fr;
    bottom: -70px;
    gap: 10px;

    overflow: auto;
  }


  .dest-info-resp{
    padding-bottom: 70px;
  }


  .dest-titulo, .dest-tagline, .btn-cont{
    text-align: center;
    justify-content: center;

  }

  .dest-tagline{
    width: 60vw;
    margin: 0 auto;
  }

  .btn{
    border: #0000001c solid 2px;
  }

  .btn-header{
    margin-right: 2px;
  }

  .slider{
    aspect-ratio: 16 / 9;
  }

  
}


@media (max-width: 600px){

/*        FOOTER        */
  .footer-grid{
  grid-template-columns: 1fr;
  
  }

  .footer-links{
    margin: 0 auto;
    text-align: center;
  }

  .footer-btn{
    display: inline-block;
    float: none;
    margin-right: 0px;
  }

  .footer-copy{
    margin: 0 auto;
    width: 100%;
  }

  .footer-copy-2{
    flex-direction: row; 
  }

  .footer-copy img{
    width: 100px !important;
  /*display: inline-block;*/
  }

  .footer-txt{
    font-size: 12pt;
  }

  .footer-links, .footer-logo, .footer-copy{
    padding-bottom: 25px;
  }
}
