/*------ 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 img, .menu-wrapper img{
  padding: 4px;
}

.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{
    position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 95%;
  max-width: 1200px;

  display: flex;
  justify-content: flex-start; /* izquierda */
}

.slide-content {
  position: absolute;
  width: auto;

  color: red;
  background: #ffffffbe;
  backdrop-filter: blur(5px);

  border-top: #ffffffaf 1px solid;
  
  border-radius: 6px;
  z-index: 10;

  display: flex;
  align-items: left;

  transition: background-color 0.3s ease;

  bottom: clamp(10px, 3vw, 20px);

  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: #0d418a;
  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);
  padding-right: clamp(2px, 0.8vw, 4px);
  line-height: 1;

  position: relative;
  top: 50%;
  transform: translateY(-50%);
  
}

.slide-tagline {
  font-family: "Inter", sans-serif;
  /*font-size: 18px;*/
  font-weight: 500;
  color: #0d418a;
  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;*/
  scale: 1.5;
  overflow: hidden;
}

/* HERO */

.hero{
  background-repeat: no-repeat;
  background-position: center center;
  max-height: 80vh;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}


.hero::before{
  content: "";
  position: absolute;
  inset: 0;

  background-image: inherit; /* mantiene la imagen inline */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1);
  transition: transform 5s ease;

  z-index: 0;
}

.hero:hover::before{
  transform: scale(1.1);
}

/* VIDEO HERO */

.full-cont.hero{
  position: relative;
  overflow: hidden;
}

.hero-bg-video{
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  z-index: 0;

  transition: transform 1s ease;
}

.full-cont.hero.video-bg:hover .hero-bg-video{
  transform: scale(1.05);
}

.full-cont.hero .hero-content{
  position: relative;
  z-index: 2;
}

/* VIDEO EN TARJETA */

.video-bg2 {
  position: relative;
  overflow: hidden;
}

.video-bg2 video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 ESTO ES LA CLAVE */

}

/* VIDEO HERO SEPARADOR */

.hero-separador{
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 800px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
  
  display: flex;
  justify-content: center;  /* Horizontal */
  align-items: center; 
}

.vid-hero-sep {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.img-hero-sep {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  background-size: cover;
  background-position:center;
  z-index: 0;
}

.hero-sep-cont {
   
  font-size: clamp(36px, 4vw, 70px);
  font-weight: 900;
  line-height: 105%;
  font-family: "Inter", sans-serif;
  text-shadow: 0px 0px 20px rgba(0,0,0,0.9);
  color: #fff;
  position: relative;
  z-index: 1;

}

/*----------------------- 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;
}

.titulo-separador-tagline{
  width: 75%;
  text-align: center;

  font-family: "Inter", sans-serif;
  font-size: clamp(14pt, 0.6vw, 18pt);
  font-weight: 300;
  padding-bottom: 20px;
  margin: 0 auto;
}

.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;
}

.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);
}

/* BOX info */

.box-imgtxt{
  width: 100%;
  aspect-ratio: 8 / 3;
  display: grid;
  grid-template-columns: 50% 50%;
  
  background-color:#f5f5f5;
  border-radius: 5px;
  overflow: hidden;
}

.box-info-v2{
  height: 100%;
  min-height: 0;
}

/* Separador Scroll bar */

.scrollsep{
  padding-right: 15px; /* 👈 ESTO ES LO QUE BUSCÁS */
}

/* BOX INFO SCROLL BAR */
.box-info-subtit::-webkit-scrollbar-thumb {
  background: #006aff;     /* 👈 COLOR PRINCIPAL */
  border-radius: 10px;
}

.box-info-subtit::-webkit-scrollbar-thumb:hover {
  background: #0050c7;     /* 👈 color al pasar el mouse */
}

.box-info-subtit{
  scrollbar-color: #006aff transparent; /* thumb | track */
  scrollbar-width: thin;
}
/* CIERRA SCROLL BAR */

.box-info-bg{
  background-size: cover;
  background-image: inherit;
  background-position: center;
  background-repeat: no-repeat;
}

.box-info-before{
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
  font-style: italic;
  font-weight: 800;
}

.box-info-tit{
  font-family: "Inter", sans-serif;
  font-size: clamp(16px, 3vw, 40px);
  font-style: italic;
  font-weight: 800;
  padding-bottom: 20px;
}

.box-info-subtit{
  font-family: "Inter", sans-serif;
  font-size: clamp(10px, 1vw, 14px);
  font-style: normal;
  font-weight: 400;

  overflow-y: auto;   /* 👈 scroll vertical */
  max-height: 100%;   /* 👈 no se pasa del contenedor */

  flex: 1;       /* 👈 ocupa el espacio disponible */
  min-height: 0; /* 👈 CLAVE ABSOLUTA */
}

.box-info-subtit::-webkit-scrollbar {
  width: 6px;
}

.box-info-subtit::-webkit-scrollbar-thumb {
  background: #006aff;
  border-radius: 3px;
}

.box-info-txt-cont{
  width: 100%;
  height: 100%;        /* 👈 ESTO FALTABA */
  padding: clamp(5%, 4vw, 40px);

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  min-height: 0;
}

/* BOX DETALLES */
  .detalles{
    display: grid;
    width: 100%;
    text-align: center;
    gap: 10px;
  }

  .det{
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 5%;
    width: 100%;
    text-align: center;
    display: grid;
    gap: 10px;

  }

  .det-titulo{
    color: #002458;
    font-family: "Inter", sans-serif;
    /*font-size: 18px;*/
    font-weight: 800;
    font-style: italic;
    /*letter-spacing: 1px;*/
    line-height: 1;
    font-size: clamp(14px, 3vw, 30px);
    text-align: center;

    hyphens: auto;
    overflow-wrap: break-word;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .det-det{
    color: #161616;
    font-family: "Inter", sans-serif;
    /*font-size: 18px;*/
    font-weight: 400;
    font-style: normal;
    /*letter-spacing: 1px;*/
    line-height: 1;
    font-size: clamp(12px, 2vw, 26px);
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .det-det-v2{
    color: #161616;
    font-family: "Inter", sans-serif;
    /*font-size: 18px;*/
    font-weight: 400;
    font-style: normal;
    /*letter-spacing: 1px;*/
    line-height: 1.2;
    font-size: clamp(12px, 1vw, 18px);
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
  }


/*  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,
.footer-copy-2 img{
  padding: 5px;
}

/*        ARTICULOS         */

.box-wide-left, .box-wide-right{
  width: 100%;
  position: relative;

  aspect-ratio: 21 / 9;

  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 5px;
  border-top: #ffffff77 1px solid;
  margin-top: 20px;

  transform: scale(1);
  transition: transform 1s ease;

  overflow: hidden;
}

.box-wide-text-center{
  width: 100% !important;
  text-align: center !important;
}

.box-wide-left::before, .box-wide-right::before{
  content: "";
  position: absolute;
  inset: 0;

  background-image: inherit; /* mantiene la imagen inline */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1);
  transition: transform 1s ease;

  z-index: 0;
}

.box-wide-right{
  display: flex !important;
  justify-content: flex-end !important;

}

.box-wide-left:hover::before, .box-wide-right:hover::before{
  transform: scale(1.1);
}


.box-wide-info-left, .box-wide-info-right{
  padding: 5%;
  height: 100%;
  width: 35%;
  position: relative;
  text-align: left !important;
}

.box-wide-info-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right !important;

}

.box-wide-info-right .subtitulo{
  text-align: right;
}

.box-wide-info-left, 
.box-wide-info-right{
  padding: 5%;
  height: 100%;
  width: 35%;
  position: relative;

  display: flex;
  flex-direction: column;

  font-family: "Inter", sans-serif;
  font-size: clamp(12px, 1.4vw, 18px);
  color: #fff;
  font-weight: 500;
}

.box-wide-info-left .subtitulo, .box-wide-info-right .subtitulo{
  margin-top: auto;
}

.box-wide-info-left .titulo, .box-wide-info-right .titulo{
  font-size: clamp(25px, 4vw, 50px);
  font-weight: 900;
  line-height: 105%;
}

.box-wide-info-left .subtitulo, .box-wide-info-right .subtitulo{
  bottom: 0;
}

.subt2{
  width: 100%;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: #000;
  margin-top: 5px;
  font-size: clamp(10px, 1vw, 14px);
}

.no-break {
  white-space: nowrap;
  display: inline-block;
  margin-right: 12px;
}

.text-shadow-v1{
  text-shadow: 0px 0px 5px rgba(0,0,0,0.7);
}

.text-shadow-v2{
  text-shadow: 0px 0px 5px rgba(0,0,0,0.9);
}

.box-v1{
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.box-v1 > div:last-child:nth-child(odd):nth-child(n+5){
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.box-v1 > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.box-v2{
  width: 100%;
  aspect-ratio: 4 / 3;
  /*border-radius: 5px;*/
  

  position: relative;
 /*overflow: hidden;*/

  display: flex;
  flex-direction: column;

  background: none;

  position: relative;
  clip-path: inset(0 round 7px);

  overflow: hidden;
}


.box-bg{
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  transition: transform 0.8s ease;
}

.box-v2:hover .box-bg{
  transform: scale(1.1);
}

.box-v2-txt{
  position: relative;
  z-index: 2;
}

.box-v2-txt{
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  text-align: center;
  color: #000000;
  background-color: #ffffffc9;
  backdrop-filter: blur(5px);
  font-weight: 500;
  padding: 10px;
  border-radius: 0px 0px 5px 5px;
  margin-top: auto;

  transform: translateY(0);
  transition: transform 0.5s ease;
}

.box-v2:hover .box-v2-txt{
  transform: translateY(100%);
}

.box-g2{
  grid-template-columns: repeat(2, 1fr);
}

.box-g3{
  grid-template-columns: repeat(3, 1fr);
}

.txt-dest-v1{
  font-weight: 700;
  font-style: italic;
}

/*  CAJA DE BOTONES  */
.box-btn{
  width: 100%;
  padding: 10px;
  margin: 10px 0px 10px 0px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: #00000013;
  border-radius: 5px;
  align-items: center;
}

.box-btn-txt{
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #0d418a;
  font-style: normal;

  font-size: clamp(16px, 2.2vw, 20px);
}

/*  VIDEO BOX BACKGROUND  */

.box-bg-video{
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  z-index: 0;
  transition: transform 0.8s ease;
}

.box-v2.video-bg:hover .box-bg-video{
  transform: scale(1.1);
}

/*  DEGRADADOS  */

.deg-v1{
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #00000000 0%,
    #00000000 50%,
    #000000be 60%,
    #000000f3 100%
);
}

/* GALERIA UNIVERSAL */

/* ===== GALERÍA ===== */


.gallery {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: 5px;
}

.gallery-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: scroll linear infinite;
}

.gallery:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-item::after {
  pointer-events: none;
}

/* Item */
.gallery-item {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.gallery-item img {
  height: 220px;
  display: block;
}

/* Tinte azul */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #006aff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 0.70;
}

/* Animación infinita */
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.gallery-item img {
  transition: filter 0.3s ease;
}

.gallery-item:hover img {
  filter: grayscale(100%);
}


/* ===== MODAL ===== */

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal img {
  max-width: 92%;
  max-height: 92%;
  border-radius: 5px;
}
  
/* =========================== ESTILOS 0KM // USADOS =========================== */

.hero-0km{
  background-repeat: no-repeat;
  background-position: center center;
  height: 100%;
  max-height: 100px;
  aspect-ratio: 16 / 9;
  overflow: visible;

}

/* ===== CONTENEDOR ===== */

.marca-item{
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.titulo-categorias{
    font-family: "Inter", sans-serif;
    font-weight: 900;
    /*font-size: 24px;*/
    color: #fff;
    font-style: normal;
    /*letter-spacing: 2px;*/
    /*text-shadow: 0px 0px 15px rgba(8, 11, 54, 0.911);*/
    font-size: clamp(20px, 4vw, 40px);
    letter-spacing: 4px;
    width: 100%;
    text-align: center;


    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 25px);
}


.catalogo {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;

    /*display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;*/
}

/* ===== MARCA HEADER ===== */

.marca-header {
    position: relative;
    height: 180px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center; /* centrado inicial */
    /*padding-left: 60px;*/
    width: 100%;

}

.marca-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 2s ease;
}

.marca-header:hover .marca-bg {
    transform: scale(1.08);
}

.marca-logo {
    height: 100%;
    max-height: 120px;
    margin: 0 auto;
    /*background-color: #ffffffad;*/

    background: linear-gradient(
    to right,
    #ffffff5b 0%,
    #ffffffd5 20%,
    #ffffffd5 80%,
    #ffffff5b 100%);

    border-top: #ffffffea solid 1px;
    border-bottom: #ffffffea solid 1px;
    border-right: #ffffff3f solid 1px;
    border-left: #ffffff3f solid 1px; 
    backdrop-filter: blur(5px);
    border-radius: 5px;

    scale: 1;
    /*filter: brightness(0) invert(1); /* opcional si el svg es oscuro */
    z-index: 2;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    /*height: 60px;*/
    transition: all 0.5s ease;
    
}

.marca-item.active .marca-header {
    justify-content: flex-start;
    padding-left: 60px;
}

.marca-item.active .marca-logo {
    left: 30px;              /* distancia real desde el borde */
    transform: translateY(-50%);
}
.marca-logo:hover{
  transform: translate(-50%, -50%) scale(0.9);
}

/* ===== CONTENIDO ACORDEON ===== */

.marca-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #f5f5f5;
}

/* ===== GRID MODELOS ===== */

.modelos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    margin: 10px;
}

/* ===== CARD MODELO ===== */

.modelo {
    position: relative;
    height: 220px;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: block;
}

.modelo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

/* SCALE SOLO IMAGEN */

.modelo:hover .modelo-bg {
    transform: scale(1.08);
}

/* NOMBRE ABAJO */

.modelo-nombre {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 18px;
    font-size: 18px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0)
    );

    font-family: "Inter", sans-serif;
    font-weight: 500;
    /*font-size: 24px;*/
    color: #fff;
    font-style: normal;
    /*letter-spacing: 2px;*/
    text-shadow: 0px 0px 15px rgba(0,0,0,1);
    font-size: clamp(16px, 1vw, 28px);

}

  /*      COLORES DE LOS COCHES        */
  .colores {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
  }

  .colores img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .colores img.active {
    opacity: 1;
  }

/*  RESPONSIVE  */

@media (max-width: 1000px){
  .box-v1{
    grid-template-columns: repeat(2, 1fr);
  }

.box-v1 > div:last-child:nth-child(odd){
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
}

@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;
  }

  .box-imgtxt{
    display: block;
    height: auto;
    aspect-ratio: auto;
  }

  .box-info-bg{
    aspect-ratio: 16 / 9;
  }

  
  /*      ARTICULOS      */

  .box-wide-left, .box-wide-right{
  width: 100%;

  aspect-ratio: 16 / 9;
  margin-top: 2.5vw;
  }


  .box-wide-info-left, .box-wide-info-right{
    width: 35%;
    bottom: 0;
  }

  .titulo-separador-tagline{
    width: 80%;
  }

  .imgtxt-mini{
    overflow: visible !important;
  }
}


@media (max-width: 600px){
  .hero{
    aspect-ratio: 1 / 1;
  }

  .box-mini-1fr{
    grid-template-columns: 1fr !important;
  }

  .box-mini-1fr > div:last-child:nth-child(odd){
    grid-column: span 1 !important;
    aspect-ratio: 4 / 3; /* opcional, para normalizar */
  }

  .marca-header{
    height: 120px;
  }

  .marca-logo{
    height: 80px;
  }

  .marca-item.active .marca-logo {
    left: 4%;              /* distancia real desde el borde */
  }

/*        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;
  }

  .box-wide-left,
  .box-wide-right{
    height: auto;
    min-height: 30vh;   /* o el valor que te guste */
    display: flex;
  }

  .box-wide-info-left,
  .box-wide-info-right{
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .subtitulo{
    width: 90%;
    background-color: #0000003b;
    backdrop-filter: blur(5px);
    padding: 10px;
    border-radius: 5px 5px 0px 0px;
    bottom: -20px;

    position: absolute;
  }


  .box-wide-info-left .subtitulo, .box-wide-info-right .subtitulo{
    text-align: center;
    border-bottom: #006afe solid 2px;
    border-top: #ffffff47 solid 1px;
    border-left: #ffffff18 solid 1px;
    border-right: #ffffff18 solid 1px;
  }

  .box-wide-text-center {
    width: 95% !important;
    margin: 0 auto;
  }

  .sutitulo-mid{
    left: 50%;
    transform: translateX(-50%);
  }

  .box-imgtxt{
    aspect-ratio: auto;
  }


}

@media (max-width: 500px){
  
}