/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo para el cuerpo */
body {
    
    line-height: 1.6;
    background-color: #ffffff;
    
}

/* Encabezados */
h1, h2, h3 {
    margin-bottom: 20px;
    color: #444;
}


/* logos en la galeria */

.image-container {
    width: 100%;
    height: 200px; /* Altura fija del contenedor */
    overflow: hidden; /* Oculta cualquier exceso de imagen */
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen al contenedor sin deformarla */
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.centered-image {
    max-width: 100px; /* Cambia este valor para ajustar el tamaño */
    max-height: 100px;
    margin-bottom: 10px; /* Espacio debajo de la imagen */
}




/* NAVBAR */
.navbar-custom {
  background-color: #004b6a;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

/* Enlaces */
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #0056b3;
}


/* Botones */
button {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #0056b3;
}


@media (min-width: 992px) {
  .navbar-nav {
    display: flex;
    justify-content: center; 
    width: 100%; 
    margin-left: -200px;
  }

  .navbar-nav .nav-item {
    margin: 0 15px;
  }

  .navbar-collapse {
    justify-content: center;
  }
}
.navbar-toggler {
  padding: 5px 10px;
  font-size: 1rem; 
  width: 55px;
  height: 50px;
}

.navbar-toggler-icon {
  width: 20px;
  height: 20px;
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: center;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav .nav-item {
    margin: 10px 0;
  }
}

 /* FIN NAVBAR */ 

 


/* Clases comunes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.text-center {
    text-align: justify;
}

.mt-5 {
    margin-top: 5rem;
}


.icon-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #004b6a; /* Fondo por defecto */
    color: white; /* Color del texto e ícono */
    border-radius: 10px; /* Bordes redondeados */
    padding: 20px; /* Espaciado interno */
    margin: 10px; /* Espaciado entre filas */
    height: 150px; /* Altura fija para los cuadros */
    flex: 0 0 calc(20% - 20px); /* 20% para 5 íconos por fila en desktop */
    max-width: calc(20% - 20px);
}

.icon-container:nth-child(odd) {
    background-color: #faa61a; /* Fondo alternativo para ítems impares */
}

.icon-container i {
    font-size: 2rem; /* Tamaño del ícono */
    margin-bottom: 10px; /* Espaciado entre el ícono y el texto */
}

.icon-text {
    font-size: 0.7rem; /* Tamaño del texto */
    line-height: 1.2; /* Espaciado entre líneas */
    margin: 0; /* Elimina márgenes extra */
    color: #ffffff;
}

/* Ajustes para mobile (2 íconos por fila) */
@media (max-width: 768px) {
    .icon-container {
        flex: 0 0 calc(50% - 20px); /* 50% para 2 íconos por fila */
        max-width: calc(50% - 20px);
    }
}



   :root {
        --background-color: #f0f0f0; /* Color de fondo por defecto */
    }

    .editable-background {
        background-color: var(--background-color); /* Usa la variable como fondo */
        padding: 10px; /* Espaciado interno */
    }

    h3 {
        margin: 0; /* Elimina margen superior e inferior */
        color: #333; /* Color del texto */
    }



    .progressive-number {
        font-size: 2.7rem; /* Tamaño grande */
        font-weight: bold; /* Negrita */
        color: #0e4767; /* Color primario */
        margin-bottom: 0.5rem; /* Espaciado inferior */
    }

    .hierarchical-text {
        font-size: 1.2rem; /* Texto jerárquico más pequeño */
        color: #555; /* Color secundario */
       
    }

    .card-body {
        text-align: center; /* Centrar contenido dentro de la tarjeta */
    }



  /* Estilo general para todas las pantallas */
  h1 {
    font-size: 5rem; /* Tamaño grande para pantallas grandes */
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}


 /* ESTILOS DE LA GALERIA */

.gallery-container {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 400px;/*ALTO*/
    padding: 10px;
    max-width: 1600px;
    margin: 0 auto;
    
}

.gallery-item {
    position: relative;
    flex: 1; /* Todas las imágenes ocupan igual espacio */
    overflow: hidden;
    transition: flex 0.3s ease-in-out; /* Transición suave */
    cursor: pointer;
    object-fit: cover;
    border: 0px solid ;
}

/* Efecto de agrandar cuando se pasa el mouse */
.gallery-item:hover {
    flex: 2; /* Aumenta el espacio ocupado */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out; 
    position: absolute;
}

.gallery-item:hover img {
    transform: scaleX(1.0);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: 0.3s ease-in-out;
}


.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay .logo{/* CAMBIAR LOGO */
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: auto;
}

.btn-group-overlay {
    position: absolute;
    bottom: 10px;
    left: 27%;
    transform: translateX(-20%);
    display: flex;
    justify-content: center;
    gap: 10px;
}


.btn-group-overlay .btn {
    min-width: 130px;
    padding: 8px 15px;
    margin: 0;
    flex: unset;
    white-space: nowrap;
   
}
.btn-group-overlay .btn-primary-class{
    background-color: #4290bd;
    color: #fcfcfc;
    text-decoration: none;
}
.btn-group-overlay .btn-primary-class:hover{
    background-color: #002fff;
}
.btn-group-overlay .btn-secondary-class{
    background-color: #faa81a;
    color: #fcfcfc;
    text-decoration: none;
}
.btn-group-overlay .btn-secondary-class:hover{
    background-color: #ff5e00;
}
.overlay p {
    font-size: 1rem;
    margin: 1rem;
}
.desktop-gallery {
    display: flex;
}
.mobile-slider{
    display: none;
}

/* FIN ESTILOS DE LA GALERIA */


/* ESTILOS DEL SLIDE */
@media screen and (max-width: 768px) {
    .desktop-gallery {
        display: none;
    }
    .prev, .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
        color: white;
        border: none;
        padding: 0;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 10;
        font-size: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
    }
    .prev {
        left: 0;
    }
    .next {
        right: 0;
    }
    .prev:hover,
    .next:hover {
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
    }

    .mobile-slider {
        display: block;
        position: relative;
        overflow: hidden;
        width: 100%;
        max-width: 768px;
        height: 400px;
        margin: 0 auto;
        border: 1px solid ;
    }

    .slides-wrapper {
        display: flex;
        transition: transform 0.5s ease-in-out;
        height: 100%;
        width: 100%;
    }

    .slide {
        flex: 0 0 100%;
        height: 100%;
        position: relative;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .overlay .logo {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: auto;
    }

    .btn-group-overlay {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .btn-group-overlay .btn {
        padding: 8px 15px;
        white-space: nowrap;
    }

    .overlay p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* FIN ESTILOS DEL SLIDE */


/* titulos anunciar y pago */
.h6-anunciar {
    background-color: #f5deb3;
    padding: 10px; /* Espaciado interno */
    border-radius: 5px; /* Bordes redondeados para estética */
  }

  .h6-condiciones {
      background-color: #f5deb3;
    padding: 10px; /* Espaciado interno */
    border-radius: 5px; /* Bordes redondeados para estética */
  }

.content-wrapper {
    display: block; /* Por defecto, contenido en una sola columna */
    padding: 10px;
    text-align: center;
  }

  @media (min-width: 768px) { /* Aplica dos columnas en pantallas grandes */
    .content-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
      column-gap: 20px; /* Espaciado entre columnas */
      text-align: center;
    }

    .content-wrapper h6 {
      margin: 50; /* Quita márgenes para alineación */
    }
  }





/* DIV BANDERAS */
.flag-container {
    background-color: #ffffff; /* Fondo gris claro */
    padding: 15px 0;
    
    border-bottom: 5px solid #faa61a; /* Línea superior naranja */
}

.flags-row {
    display: flex;
    overflow-x: auto; /* Habilitar scroll horizontal en móviles */
    white-space: nowrap; /* Evitar que las banderas se envuelvan a una nueva línea */
    -webkit-overflow-scrolling: touch; /* Scroll suave en móviles */
}

@media (min-width: 992px) {
    .flags-row {
        justify-content: center; /* Centrar las banderas en pantallas grandes */
        overflow-x: visible; /* Desactivar scroll horizontal en desktop */
        white-space: normal; /* Permitir que las banderas se ajusten */
    }
}

.flag-item {
    display: inline-block;
    text-align: center;
    flex: 0 0 auto; /* Asegurar que las banderas no se redimensionen */
    width: 100px; /* Ajustar el tamaño de cada bandera */
    margin: 0 10px; /* Espaciado entre banderas */
}

.flag-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.flag-item p {
    margin-top: 5px;
    font-size: 14px;
}


.container h1 {
    font-weight: bold;
    font-size: 3rem;
    color: #004b6a;
}

.containersubtitulo {
    
    font-size: 1rem;
    color: #141313;
}






.custom-buttons-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Permitir que los elementos se ajusten */
    gap: 10px; /* Espaciado entre botones */
}


.custom-output-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
}
.custom-output-text {
    margin-bottom: 20px;
}
.custom-output-image img {
    max-width: 100%;
    height: auto;
}



/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem; /* Tamaño más pequeño en móviles */
    }

    .container h1 {
        font-size: 1.4rem; /* Reduce el tamaño de la tipografía */
    }

    .containersubtitulo {
        font-size: 0.8rem; /* Opcional: también puedes ajustar el tamaño del párrafo */
    }
}

p {
    text-align: center;
}



/* FORMATOS TRADICIONALES*/
.buttons-row {
    margin-bottom: 20px;
}
.btn-custom-1 {
    background-color: #007bff; /* Color azul personalizado */
    color: white;
    border: none;
    padding: 10px;
}
.btn-custom-1:hover {
    background-color: #0056b3; /* Color más oscuro al pasar el mouse */
}
.output-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
}
.output-text {
    margin-bottom: 20px;
}
.output-text h6 {
    text-align: left;
}
.output-text p {
    text-align: justify;
}
.output-image img {
    max-width: 100%;
    height: auto;
}

 /* FORMATO ESPECIALES */

 .new-buttons-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.new-btn {
    background-color: #e0a21b; /* Color azul */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.new-btn:hover {
    background-color: #0056b3;
}

.new-output-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.new-output-text {
    max-width: 300px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    text-align: left;
}

.new-output-image img {
    max-width: 600px;
    height: auto;
    display: block;
}

.custom-description-text {
    text-align: left; /* Alineación a la izquierda */
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}


 /* Estilo para la línea divisoria */
 .custom-divider {
    border: none;
    height: 3px;
    background-color: #044b6a; /* Color */
    margin: 1px 0; /* Espaciado arriba y abajo */
    width: 80%; /* Largo de la línea como porcentaje del contenedor */
    margin: 20px auto; /* Centrar la línea horizontalmente */

}






  

/* TABLA PRECIOS IMPRESIONES */

.custom-table-container {
    max-width: 90%;
    margin: auto;
    padding: 20px;
  }
  .custom-title {
    background-color: #e4ca92;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #dee2e6;
  }
  .table {
    border-collapse: separate; /* Para permitir bordes internos */
    border-spacing: 0; /* Espaciado entre celdas */
    width: 100%;
    border: 1px solid #dee2e6; /* Borde exterior */
  }
  .table th,
  .table td {
    border: 1px solid #dee2e6; /* Bordes internos */
    padding: 10px;
  }
  .table th {
    background-color: #e9ecef;
  }
  /* Media Query for Mobile Devices */
  @media (max-width: 576px) {
    .custom-title h1 {
      font-size: 3.25rem; /* Reduce font size of title */
    }
    .custom-title p {
      font-size: 0%9; /* Reduce font size of subtitle */
    }
    .table th, .table td {
      padding: 5px; /* Reduce padding in table cells */
      font-size: 0.7rem; /* Reduce font size in table */
    }
    .custom-table-container {
      padding: 10px; /* Reduce padding for the container */
    }
  }




  
/* Media queries para diseño responsivo */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    button {
        width: 100%;
        padding: 15px;
    }
}



@media (min-width: 768px) { /* Dispositivos medianos en adelante */
    .icon-responsive {
        font-size: 0.7rem;
    }
   
}

@media (max-width: 768px) { /* Dispositivos medianos para atras */
    .icon-responsive {
        font-size: 0.7rem;
    }
 

}


@media (min-width: 1200px) { /* Dispositivos grandes */
    .icon-responsive {
        font-size: 1rem;
    }
}



    /* CALENDARIO MANUAL */
     
    .contenedor-central {
      max-width: 900px;
      margin: 0 auto;
      padding: 0 24px;
      background: #fff;
    }
    .calendario-titulo {
      font-family: 'Montserrat', sans-serif;
      font-size: 2rem;
      font-weight: bold;
      text-align: center;
      background: #f6f6f6;
      padding: 16px;
      margin: 24px 0 18px 0;
      border-radius: 3px;
    }
    .listado-destinos-unique {
      width: 100%;
      margin: 0 auto;
      padding: 0;
      box-sizing: border-box;
    }
    .listado-destinos-unique__grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .listado-destinos-unique__item {
      display: flex;
      align-items: flex-start;
      width: 100%;
      background: transparent;
      box-sizing: border-box;
      min-width: 0;
      /* Sin max-width, ocupa todo el ancho de la columna */
    }
    .listado-destinos-unique__imgbox {
      flex-shrink: 0;
      margin-right: 10px;
      border-radius: 0px;
      overflow: visible;
      transform: rotate(-5deg);
      background: #eee;
    }
    .listado-destinos-unique__img {
        width: 85px;
  height: auto;
  object-fit: contain;
    }
    .listado-destinos-unique__content {
      flex: 1 1 0%;
      background: #085a76;
      border-radius: 0 20px 20px 0;
      padding: 12px 10px 12px 12px;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 55px;
      font-family: 'Montserrat', sans-serif;
    }
    .listado-destinos-unique__titulo {
      font-size: 1.02rem;
      font-weight: 700;
      margin: 0 0 4px 0;
      line-height: 1.1;
    }
    .listado-destinos-unique__detalle {
      font-size: 0.95rem;
      font-weight: 400;
      margin: 0;
    }
    /* ------- DESKTOP: dos columnas y bloques compactos ------- */
    @media (min-width: 701px) {
      .contenedor-central {
        max-width: 1300px;
        padding: 0 24px;
      }
      .listado-destinos-unique__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 32px;
      }
      .listado-destinos-unique__item {
        width: 100%;    /* Ocupa todo el ancho de la columna */
        min-width: 0;   /* Permite que se ajuste al grid */
      }
      .listado-destinos-unique__img {
        width: 88px;
        height: 88px;
      }
      .listado-destinos-unique__content {
        padding: 8px 8px 8px 10px;
        min-height: 48px;
        border-radius: 0 20px 20px 0;
      }
      .listado-destinos-unique__titulo {
        font-size: 1rem;
      }
      .listado-destinos-unique__detalle {
        font-size: 0.85rem;
      }
    }
    /* --- Ultra responsive para pantallas muy chicas --- */
    @media (max-width: 370px) {
      .contenedor-central {
        max-width: 99vw;
        padding: 0 2vw;
      }
      .listado-destinos-unique__img {
        width: 45px;
        height: 45px;
      }
      .listado-destinos-unique__content {
        padding: 6px 3px 6px 7px;
        min-height: 35px;
      }
    }

/* --- BANDERAS FLOTANTES --- */

    .floating-flags {
  position: fixed;
  top: 120px; /* Ajusta según la cabecera de tu sitio */
  right: 20px; /* Margen derecho */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0,0,0,0.5); /* Fondo negro transparente */
  padding: 12px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}


.floating-flags a {
  display: block;
  margin: 0;
  padding: 0;
  transition: transform 0.2s;
}

.floating-flags a:hover {
  transform: scale(1.08);
}

.floating-flags img {
  width: 36px; /* Ajusta el tamaño según tus imágenes */
  height: 24px;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.11);
  border: 1px solid #eee;
}



/* Padding para evitar que el navbar tape el contenido */
body {
  padding-top: 80px; /* Ajusta según la altura real de tu navbar */
}





/* EBLAST */
.contactos-specs-section {
  background: #fff;
  padding: 30px 10px;
}
.contactos-specs-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: #23272b;
  letter-spacing: -1px;
}
.contactos-specs-row {
  margin-left: 0;
  margin-right: 0;
}
.contactos-specs-graphic {
  max-width: 300px;
  min-width: 180px;
  width: 100%;
  display: block;
  margin: 0 auto;
}
.contactos-specs-pc-img {
  max-width: 330px;
  min-width: 180px;
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(150,150,150,0.10);
}
.contactos-specs-text {
  color: #23272b;
  line-height: 1.5;
}
.contactos-specs-text ul {
  margin-top: 0.7rem;
  padding-left: 1.2rem;
}
.contactos-specs-text li {
  margin-bottom: 0.5rem;
}

/* Cambios solicitados: texto más chico y margen en costados para columna 3 */
.contactos-specs-col3 {
  font-size: 0.92rem;
  margin-left: 0px;

}



/* Responsive adjustments */
@media (max-width: 767.98px) {
  .contactos-specs-section {
    padding: 16px 3px;
  }
  .contactos-specs-title {
    font-size: 1.4rem;
  }
  .contactos-specs-graphic,
  .contactos-specs-pc-img {
    max-width: 95vw;
  }
  .contactos-specs-col3 {
    margin-left: 6px;
    margin-right: 6px;
    font-size: 0.97rem;
  }

}


/* EBLAST  LATAM*/
.cspec-contenedor {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  max-width: 1400px;
  margin: 40px auto;
  gap: 0px;
}

.cspec-izquierda {
  flex: 0 0 670px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0;
}

.cspec-grafico {
  max-width: 650px;
  width: 100%;
  height: auto;
  display: block;
}

.cspec-derecha {
  flex: 1;
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 280px;
}

.cspec-opciones {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.9rem;
  color: #222;
  margin-left: 20px;
  line-height: 1.45;
  text-align: left; /* Forzar alineación a la izquierda */
  width: 100%;
}

.cspec-opciones p {
  margin-bottom: 10px;
  font-size: 0.9rem;
  text-align: left; /* Forzar alineación a la izquierda */
}

.cspec-opciones a {
  color: #0066cc;
  text-decoration: underline;
}

.cspec-lista {
  margin-top: 12px;
  margin-bottom: 0;
  padding-left: 18px;
  text-align: left; /* Forzar alineación a la izquierda */
}

.cspec-lista li {
  font-size: 0.8rem;
  margin-bottom: 8px;
  text-align: left; /* Forzar alineación a la izquierda */
}

.cspec-lista li strong {
  font-weight: 600;
  color: #222;
}

/* Responsive */
@media (max-width: 1100px) {
  .cspec-contenedor {
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
  .cspec-izquierda {
    margin-bottom: 2px;
    width: 100%;
    max-width: 98vw;
    justify-content: center;
  }
  .cspec-grafico {
    max-width: 94vw;
  }
  .cspec-derecha {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    margin-left: 0;
  }
}