@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
  scroll-behavior: smooth;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root{
  --color-red-eco: #952639;
}

#backToTopBtn {
  display: none; /* Oculto por defecto */
  position: fixed; /* Fijo en la ventana */
  bottom: 15px; /* Posición desde el fondo */
  right: 15px; /* Posición desde la derecha */
  z-index: 50; /* Asegúrate de que esté en frente */
  width: 50px; /* Ancho del botón */
  height: 50px; /* Altura del botón */
  border: none; /* Sin borde */
  outline: none; /* Sin contorno */
  background-color: #5050507b; /* Color de fondo */
  color: white; /* Color del texto */
  cursor: pointer; /* Cursor de puntero */
  border-radius: 50%; /* Bordes redondeados para hacerlo circular */
  display: flex; /* Flexbox para centrar el contenido */
  align-items: center; /* Centrar verticalmente */
  justify-content: center; /* Centrar horizontalmente */
  padding-top: 8px;
}

#backToTopBtn:hover {
  background-color: #8b8b8b; /* Cambio de color al pasar el ratón */
}

#backToTopBtn::before {
  content: ""; /* Contenido vacío */
  border: solid white; /* Bordes sólidos blancos */
  border-width: 0 4px 4px 0; /* Ajuste de los bordes para crear la flecha */
  display: inline-block; /* Mostrar en línea */
  padding: 8px; /* Tamaño de la flecha */
  transform: rotate(-135deg); /* Rotar para crear la flecha */
  -webkit-transform: rotate(-135deg); /* Rotar para Safari */
}



/* estilos indiv. */
.mbo-10{
  margin-bottom: 10px;
}
.mbo-16{
  margin-bottom: 16px;
}
.mbo-20{
  margin-bottom: 20px;
}
.mbo-30{
  margin-bottom: 30px;
}
.mbo-40{
  margin-bottom: 40px;
}
.mbo-50{
  margin-bottom: 50px;
}


.mto-10{
  margin-top: 10px;
}
.mto-16{
  margin-top: 16px;
}
.mto-20{
  margin-top: 20px;
}
.mto-30{
  margin-top: 30px;
}
.mto-40{
  margin-top: 40px;
}
.mto-50{
  margin-top: 50px;
}

.mtb-10{
  margin: 10px 0;
}
.mtb-16{
  margin: 16px 0;
}
.mtb-20{
  margin: 20px 0;
}
.mtb-30{
  margin: 30px 0;
}
.mtb-40{
  margin: 40px 0;
}
.mtb-50{
  margin: 50px 0;
}

.txt-centerr {
  text-align: center;
}

.txt-startt {
  text-align: start;
}

.txt-endd {
  text-align: end;
}

.c-red-eco {
  color: var(--color-red-eco);
}

.c-black{
  color: black;
}

.c-gray{
  color: #8b8b8b;
}




/* estilos de banner grande */

.bann-princ{
    width: 100%;
    height: 60vh;
    padding: 0;
    margin: 0;
    position: relative;

}

.bann-princ .swiper {
    width: 100%;
    height: 100%;
  }

  .bann-princ .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .bann-princ .bgg1{
        background-image: url(/img/slider_1.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
  }

  .bann-princ .bgg2{
    background-image: url(/img/slider_2.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bann-princ .bgg3{
    background-image: url(/img/slider_3.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bann-princ .swiper-slide .cont-transp-tit{
    width: 90%;
    max-width: 1300px;
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: start;
  }

  .bann-princ .swiper-slide .cont-transp-tit .box-transp-tit{
    width: 60%;
    max-width: 600px;
    height: auto;
    margin: 0;
    padding: 16px;
    border-radius: 16px;
    background-color: rgba(128, 3, 61, 0.651);
  }

  .bann-princ .swiper-slide .cont-transp-tit .box-transp-tit h1{
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    padding: 0;
    margin: 0;
  }

  .bann-princ .swiper-slide .cont-transp-tit .box-transp-tit .slid-txt-princ {
    font-size: 18px;
    font-weight: 600;
    color: white;
    padding: 0;
    margin: 0;
  }

  .bann-princ .swiper-slide .cont-transp-tit .box-transp-tit .slid-btn-princ {
    display: inline-block;
    background-color: white;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 18px;
    font-weight: 400;
    color: red;
    margin: 10px 0 0 0;
    text-align: start;
    text-decoration: none;
  }


  /* estilos seccion calendario */

  .sect1-cal{
    width: 100%;
    height: auto;
    padding: 0;
  }

  .cont-princ-cal{
    width: 90%;
    max-width: 1300px;
    height: auto;
    margin: 0 auto;
    padding: 0;
  }

  .cont-flex-img-tit {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: start;
    align-items: start;
  }

  .cont-flex-img-tit img {
    display: block;
    width: 5%;
    max-width: 40px;
    height: auto;
    margin: 0 10px 0 0;
    padding: 0;
  }

  .txt-tit-eco1{
    width: auto;
    font-size: 30px;
    font-weight: 800;
    padding: 0;
  }

  .subtit-page1{
    font-size: 26px;
    font-weight: 700;
    padding: 0;
  }

  .txt-info-eco1{
    font-size: 17px;
    font-weight: 400;
    color: black;
    padding: 0;
  }

  /* seccion de guias conv */
  .sect2-conv{
    width: 100%;
    height: auto;
    padding: 0;
  }

  .cont-bord-conv{
    width: 90%;
    max-width: 1300px;
    height: auto;
    margin: 0 auto 30px auto;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }

  .cont-bord-conv:last-child{
  
    margin: 0 auto 0 auto;
   
  }

  
  .cont-bord-conv2{
    width: 90%;
    max-width: 1300px;
    height: auto;
    margin: 0 auto 30px auto;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }

  .part-txt-conv{
    width: 55%;
    height: auto;
    margin: 0;
    padding: 16px;
  }

  .part-img-conv{
    width: 45%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .part-img-conv img{
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
    object-fit: cover;
  }

  .subtit-box-bord{
    font-size: 28px;
    font-weight: 800;
    color: var(--color-red-eco);
    padding: 0;
  }

  .txt-sec-conv{
    font-size: 18px;
    font-weight: 600;
    color: black;
    padding: 0;
  }

  .txt-info-conv{
    font-size: 17px;
    font-weight: 400;
    color: black;
    padding: 0;
  }

  .btn-link-conv {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #952639;
    text-decoration: none;
  }


  /* estilos de la pagina de simulacros */

  .cont-princ-sim{
    width: 90%;
    max-width: 1300px;
    height: auto;
    padding: 0;
    margin: 0 auto;
  }

  .txt-princ-pages{
    font-size: 20px;
    font-weight: 700;
    padding: 0;
  }

  .subtit-pages {
    font-size: 30px;
    font-weight: 700;
    padding: 0;
  }

  .subtit-pages2 {
    font-size: 28px;
    font-weight: 600;
    padding: 0;
  }


  /*------------------------*/

  /* Estilos nuevos */

  /* seccion opciones principales */

  .subcont-part-1 {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 16px;
  }

  .boxes-conv-eco-1 {
    width: 32%;
    max-width: 430px;
    min-width: 330px;
    height: auto;
    padding: 0;
    margin: 0;
    border: 1px solid #e4e4e4;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }

  .cont-tit-acc {
    padding: 16px;
  }

  .cont-icon-tit {
    display: flex;
    justify-content: start;
    align-items: start;
  }

  .cont-icon-tit i {
    font-size: 28px;
    color: var(--color-red-eco);
    margin: 0 8px 0 0;
  }

  .subtit-opc-conv {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-red-eco);
  }

.img-conv-eco {
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;

    /* Aplica el difuminado desde arriba hacia abajo */
    mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%);

    /* Mejora suavizado para navegadores modernos */
    mask-mode: alpha;
    -webkit-mask-mode: alpha;
}

.subcont-part-2 {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 0 0 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 16px;
  }

  .boxes-conv-eco-2 {
    width: 23.5%;
    min-width: 280px;
    height: auto;
    padding: 0;
    margin: 0;
    border: 1px solid #e4e4e4;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }


  /* nuevos estilos */

  .subtit-nw1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-red-eco);
    padding: 0;
  }
  
  .cont-pest-exa {
    width: 100%;
    height: auto;
    margin: 16px 0 0 0;
    padding: 0;
    background-color: transparent;
  }


  /* estilos de de lasec de pestañas y acordeones */

.cont-pest-acor {
    width: 100%;
    padding: 0;
}

 /* estilos de secciones de pestañas (modificada) */

    .tabs-sed {
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: stretch;
      flex-wrap: wrap;
      padding: 0;
      margin: 0 0 16px 0;
      gap: 12px;
      overflow-y: hidden;
    }

    .tabs-sed img {
        display: none;
    }

    .tab-s1 {
        width: 32%;
        max-width: 300px;
        height: auto;
        padding: 8px 12px;
        background: white;
        border: 1px solid var(--color-red-eco);
        border-radius: 3px;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.3s;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .tab-s1:hover {
        background-color: var(--color-red-eco);
        border: 1px solid var(--color-red-eco);
        color: white;
    }

    .active-tab-s1 {
        background: var(--color-red-eco);
        border: 1px solid var(--color-red-eco);
        color: white;
        font-weight: 600;
    }

    .txt-mod-lg {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.2;
    }

    .txt-mod-sh {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.2;
    }

    .content-sed {
        width: 100%;
        height: auto;
        margin: 0 0 0 0;
        padding: 0;
    }

    .tab-cont-sed {
      margin: 0 0 0 0;
      padding: 0;
      display: none;
    }

    .active-cont-sed {
      display: flex;
      flex-direction: column;
      align-items: start;
      margin: 0;
      padding: 0;
    }

    .txt-dest-mod {
      font-size: 18px;
      font-weight: 500;
      line-height: 1.2;
    }


  @media(max-width: 800px) {

    .bann-princ{
      width: 100%;
      height: 50vh;
      padding: 0;
      margin: 0;
      position: relative;
  
  }

  .bann-princ .swiper-slide .cont-transp-tit .box-transp-tit{
    width: 90%;
    height: auto;
    margin: 0 auto;
    padding: 16px;
  }

  .bann-princ .swiper-slide .cont-transp-tit .box-transp-tit h1{
    font-size: 24px;
  }

  .bann-princ .swiper-slide .cont-transp-tit .box-transp-tit .slid-txt-princ {
    font-size: 17px;
  }

  .bann-princ .swiper-slide .cont-transp-tit .box-transp-tit .slid-btn-princ {
    display: inline-block;
    background-color: white;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 17px;
    font-weight: 400;
    color: red;
    margin: 10px 0 0 0;
    text-align: start;
    text-decoration: none;
  }

  /* estilos seccion 2  */

  .cont-flex-img-tit {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: start;
    align-items: start;
  }

  .cont-flex-img-tit img {
    width: 8%;
    max-width: 30px;
    height: auto;
    margin: 0 5px 0 0;
  }

  .txt-tit-eco1{
    font-size: 22px;
  }


  .cont-bord-conv{
    width: 90%;
    max-width: 1300px;
    height: auto;
    margin: 0 auto 30px auto;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    justify-content: start;
    align-items: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }

  .cont-bord-conv:last-child{
    margin: 0 auto 0 auto;
  }

  .cont-bord-conv2{
    width: 90%;
    max-width: 1300px;
    height: auto;
    margin: 0 auto 30px auto;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    justify-content: start;
    align-items: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }

  .part-txt-conv{
    width: 100%;
    height: auto;
    margin: 0;
    padding: 16px;
  }

  .part-img-conv{
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .subtit-box-bord{
    font-size: 24px;
  }

  .txt-sec-conv{
    font-size: 18px;
  }

  .txt-info-conv{
    font-size: 16px;
  }

  .btn-link-conv {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #952639;
    text-decoration: none;
  }

  /* estilos de la pagina de simulacros */

  .txt-princ-pages{
    font-size: 18px;
    font-weight: 700;
    padding: 0;
  }

  .subtit-pages {
    font-size: 24px;
    font-weight: 700;
    padding: 0;
  }

  .subtit-pages2 {
    font-size: 24px;
    font-weight: 600;
    padding: 0;
  }

  /*------------------------*/

  /* Estilos nuevos */

  /* seccion opciones principales */

  .subcont-part-1 {
    display: none;
  }

  .subcont-part-2 {
    display: none;
  }


   .tab-s1 {
        width: 45%;
        max-width: 300px;
        height: auto;
        padding: 8px 12px;
        white-space: wrap;
    }

    .txt-mod-lg {
        font-size: 18px;
    }

    .txt-dest-mod {
      font-size: 17px;
    }

    .subtit-nw1 {
    font-size: 24px;
    }
   
    .cont-icon-tit i {
    font-size: 24px;
    margin: 0 4px 0 0;
  }
  
    .subtit-opc-conv {
    font-size: 22px;
   
  }

  }