
html, body {
    font-family: Helvetica, sans-serif;
    height: 100%;
    margin: 0;
    line-height: 25px;
}



/* Fondo del lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor principal que incluye imagen y pie de foto */
.lightbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

/* Contenedor de la imagen */
.lightbox-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border-radius: 5px;
  display: block;
  transition: opacity 0.3s ease-in-out;
}

/* Clase para cuando la imagen está en transición */
#lightbox-img.fading {
  opacity: 0.5;
}

/* Pie de foto debajo de la imagen */
#lightbox-caption {
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 16px;
  max-width: 80%;
  margin: 0 auto;
  transition: opacity 0.3s ease-in-out;
}

/* Clase para cuando el pie de foto está en transición */
#lightbox-caption.fading {
  opacity: 0.5;
}

/* Botón cerrar */
.close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  padding: 5px 10px;
}

/* Botones navegación */
.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 48px;
  padding: 0;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.2s ease;
}

.nav-btn.prev { left: 30px; }
.nav-btn.next { right: 30px; }

.nav-btn:hover {
  color: #ddd;
}








.bg_gris{
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 1px solid #cbcbcb;
}

.azul{
    color: #02bdcc;
}

.espacio{
    padding: 20px;
}

.no_desktop{
    display: none;
}

.dual-carousel {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
}

.carousel {
    position: relative; /* ¡Añadido! */
    width: 48%;
    overflow: hidden;
}

/* Las imágenes ahora llenan el contenedor */
.carousel picture,
.carousel picture img {
    width: 100%;
    height: auto;
    display: block; /* Asegura que la imagen ocupe su espacio */
    border-radius: 5px;
}

/* Todas las imágenes se superponen */
.carousel picture {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.carousel picture.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    position: static; /* Temporalmente para dimensionar el contenedor */
}

.img-bloque {
  display: block;
  margin-bottom: 10px!important; /* ajustable */
}
.img-bloque:last-child {
  margin-bottom: 0; /* sin espacio extra al final */
}


.btn_2025_bis{
    color:#000;
    transition: all 0.2s ease;
}

.btn_2025_bis:hover{
    color: #999;
}

.btn_2025_bis_azul{
    color:#02bdcc;
    transition: all 0.2s ease;
}

.btn_2025_bis_azul:hover{
    color: #000;
}

.btn_2025_bis_azul_proy{
    color:#02bdcc;
    transition: all 0.2s ease;
}

.btn_2025_bis_azul_proy:hover{
    color: #666;
}



.cont_mod{
    margin-bottom: 30px;
}

.corner_bis{
    border-radius: 5px;
    display: block;
    max-width: 100%;
    height: auto;
}

.cont_izq{
    float: left;
    width: 48%;
    text-align: center;
    line-height: 34px;
}

.cont_izq img{
    width: 48px;
    vertical-align: top;

}

.cont_der{
    float: right;
    width: 48%;
    text-align: center;
}

.cont_der img{
    width: 100%;
    vertical-align: top;
}


.envuelve_contenido{
    width: 1300px;
    margin: 0 auto;
}

.tam{
    font-size: 1.3em;
}

.tam_bis{
    font-size: 1.6em;
}

.btn_2025{
    color: #000;
    font-weight: bold;
}



.tit_h1{
    font-size: 1.8em;
    line-height: 40px;
    vertical-align: top;
}

.tit_box{
    font-size: 1.6em;
    font-weight: bold;
    line-height: 34px;
}

.centra{
    text-align: center;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}


.not_izq_2025{
	float: left;
	width: 58%;
	text-align: left;
}

.not_der_2025{
	float: right;
	width: 40%;
}

.not_der_2025 img{
	width: 100%;
	vertical-align: top;
}

.texto_ancho_2025{
	text-align: left;
}



.not_izq_2025_bis{
	float: left;
	width: 40%;
}

.not_izq_2025_bis img{
	width: 100%;
	vertical-align: top;
}

.not_der_2025_bis{
	float: right;
	width: 58%;
}

.envuelve_ante{
	width: 1200px;
	margin: 0 auto;
}



.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contenido_sector {
    width: 1300px;
    margin: 0 auto;
    flex: 1; /* Esto hace que ocupe todo el espacio disponible */
}

/* BOXES */

.box {
  width: 100%;
  height: auto;
  border: 0px solid red;
  display: flex;
}

.box-child {
  width: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.box-child.img {
  background-color: #fff;
  overflow: hidden;
  position: relative;
}
.box-child.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  vertical-align: top;
}

.box-child.text {
  background-color: #fff;
  padding: 30px;
  box-sizing: border-box;
  min-height: 600px;
  align-content: center;
color:#000;
line-height: 25px;
text-align: center;

}

/* Listado noticias */

.envuelve_imgs_home {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* centra horizontalmente */
  gap: 10px; /* opcional: espacio entre imágenes */
}
.envuelve_imgs_home img {
  max-width: 100%; /* opcional, para que no se salgan del div */
  height: auto;
}



.listado_not {
  display: grid;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.listado_not li {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.listado_not li:hover {
  transform: translateY(-5px);
}

.noticia-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.noticia-item picture,
.noticia-item img {
  width: 100%;
  height: auto;
  display: block;
}

.noticia-titulo {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  padding: 10px;
}



/* SLIDE */
.slider-container {
            position: relative;
            width: 100%;
            height: 555px;
            overflow: hidden;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        }

        /* Responsive para móvil */
        @media (max-width: 768px) {
            .slider-container {
                height: 200px;
            }
        }

        @media (max-width: 480px) {
            .slider-container {
                height: 150px;
            }
        }

        .slider-list {
            margin: 0;
            padding: 0;
            list-style: none;
            position: relative;
            width: 100%;
            height: 100%;
        }

        .slider-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
        }

        .slider-item.active {
            opacity: 1;
        }

        .slider-item a {
            display: block;
            width: 100%;
            height: 100%;
        }

        .slider-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }




/* container */

.container {
    width: 100%;
    overflow: hidden;
}



.titulo_h1{
	font-size: 1.8em;
	color: #000;
	padding: 20px;
	text-align: center;
}



/* IMAGENES  */

.not_der_2025 {
	display: inline-block;
	overflow: hidden;
	border-radius: 12px;
	transition: box-shadow 0.4s ease;
	max-width: 100%;
}

img.corner {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	opacity: 0;
	transform: rotate(-3deg);
	transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
	border-radius: 6px;
}

img.corner.visible {
	opacity: 1;
	transform: rotate(0deg);
}




/* PINTADO */

::selection {
  background-color: #000;
  color: #fff;
}


/* PLACEHOLDER */

::placeholder {
  color: #999;
}

.franja-azul{
width: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  background-color: #02bdcc; /* opcional, para asegurar contraste */
  padding: 2%;
  z-index: 0;
  position: relative;
  text-align: center;
  color: #fff;
}


/* MENU */

 /* Navbar Principal */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .navbar {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.4);
            position: relative;
            z-index: 1000;
        }

        .navbar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Logo */
        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            width: 270px;
            height: 78px;
            object-fit: contain;
        }

        /* Menú Desktop */
        .nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-menu li a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            font-size: 16px;
            transition: color 0.3s ease;
        }

        .nav-menu li a:hover {
            color: #999;
        }

        /* Botones derecha */
        .nav-buttons {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .btn-phone, .btn-cat {
            padding: 10px 20px;
            color: #02bdcc;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            border-radius: 5px;
        }

        .btn-phone:hover, .btn-cat:hover {
            color: #999;
        }

        /* Hamburguesa */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: #333;
            margin: 3px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        /* Menú Mobile */

.navbar {
    /* Elimina la sombra de la clase .navbar */
    position: relative;
    z-index: 1000;
}

.nav-menu-mobile {
    background-color: white;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    z-index: 999;
    position: relative;
}

.nav-menu-mobile.active {
    max-height: 500px;
}

        .nav-menu-mobile ul {
            list-style: none;
            padding: 20px 0;
        }

        .nav-menu-mobile li {
            border-bottom: 1px solid #f0f0f0;
        }

        .nav-menu-mobile li:last-child {
            border-bottom: none;
        }

        .nav-menu-mobile li a {
            display: block;
            padding: 15px 30px;
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: background-color 0.3s ease, color 0.3s ease;
            text-align: center;
        }

        .nav-menu-mobile li a:hover {
            background-color: #f8f8f8;
            color: #ff6b35;
        }

        /* Botón teléfono en menú móvil */
        .mobile-phone {
            padding: 15px 30px;
            border-top: 2px solid #f0f0f0;
        }

        .mobile-phone .btn-phone {
            width: 100%;
            text-align: center;
            display: block;
        }

        /* Navbar móvil cuando menú está abierto */

.navbar-container {
    background-color: white; /* 👈 Add background color here */
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.4); /* 👈 Apply shadow here */
    position: relative;
    z-index: 1000;
}

.navbar-mobile-open {
  position: relative; /* Asegura que el pseudo-elemento se posicione correctamente */
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* Pseudo-elemento para la sombra */
.navbar-mobile-open::after {
  content: '';
  position: absolute;
  bottom: -10px; /* Ajusta la posición para que la sombra caiga debajo del menú */
  left: 0;
  width: 100%;
  height: 10px; /* Altura del pseudo-elemento de la sombra */
  background: transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  z-index: -1; /* Coloca la sombra detrás de la barra de navegación */
}

        .mobile-center-logo {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .mobile-center-logo img {
            width: 200px;
            height: 58px;
            object-fit: contain;
        }

        /* Content placeholder */
        .content {
            padding: 40px 20px;
            text-align: center;
            background-color: white;
            margin: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        /* Responsive */
        @media screen and (max-width: 1024px) {

            .navbar-container {
                background-color: white; 
                box-shadow: 0 2px 10px rgba(0,0,0,0.4);
                position: relative;
                z-index: 1000;
            }


            .nav-menu {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .nav-buttons {
                gap: 10px;
            }

            .btn-phone {
                display: none;
            }

            .logo img {
                width: 200px;
                height: 58px;
            }
        }

        @media screen and (max-width: 768px) {
            .btn-cat {
                padding: 8px 15px;
                font-size: 14px;
            }

            .mobile-center-logo img {
                width: 150px;
                height: 44px;
            }
        }


/*
.pie_2025{
	background-color: #000;
	color: #999;
	padding: 4%;
	text-align: center;
}
*/


.page-content {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.main-content {
	flex: 1;
}


.pie_2025 {
    background-color: #000;
    color: #ccc;
    padding: 2%;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
    border-top: 1px solid #f5f5f5;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.envuelve_pie {
    width: 1300px;
    margin: 0 auto;
}

.mod_pie {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
    color: #999!important;
}

.mod_pie li {
    flex: 1;
    padding: 2%;
    text-align: center;
    border-radius: 5px;
    box-sizing: border-box;
    color: #999;
}

.tit_pie {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #999;
}




.pie_2025 a{
	color: #999;
	transition: all 0.3s ease-in-out;
}

.pie_2025 a:hover{
	color: #fff;
}

.listado_legales{
    font-size: 0;
}

.listado_legales li{
    display: inline-block;
    margin-right: 30px;
    text-align: center;
    font-size: 14px;
}

.listado_legales li:last-child{
    margin-right: 0;
}

.listado_legales li a{
    color: #999;
    transition: all 0.3s ease;
}

.listado_legales li a:hover{
    color: #fff;
}



    .box_movil{
        display: none;
    }

    .espacio_mov{
    height: 0;
    display: none;
}

/*------------------------------------*\
    #MOVIL
\*------------------------------------*/

@media only screen and (min-width: 0px) and (max-width: 1024px) {


    .container {
        width: 100%;
        overflow: hidden;
        padding: 0;
    }

    .envuelve_contenido {
    width: 94%;
    margin: 0 auto;
}

.cont_izq {
    float: left;
    width: 100%;
    text-align: center;
    line-height: 34px;
}

.cont_der {
    float: left;
    width: 100%;
    text-align: center;
}

.espacio_mov{
    height: 40px;
    display: block;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

    .no_mov{
        display: none;
    }

    .box_desktop{
        display: none;
    }

    .box_movil{
        display: block;
    }

    .envuelve_pie {
        width: 100% !important;
        max-width: 100vw;
    }

        .mod_pie {
        flex-direction: column;
        gap: 15px;
    }

    .mod_pie li {
        width: 100%;
        flex: none;
        padding: 15px 2%;
    }



    .not_izq_2025{
	float: left;
	text-align: center;
	width: 96%;
	padding: 2%;
}

.not_der_2025{
	float: left;
	width: 96%;
	padding: 2%;
	text-align: center;
}

.not_der_2025 img{
	width: 100%;
	vertical-align: top;
}

.texto_ancho_2025{
	text-align: center;
	width: 96%;
	padding: 2%;
	
}


.not_izq_2025_bis{
	float: left;
	width: 100%;
	text-align: center;
}

.not_izq_2025_bis img{
	width: 100%;
	vertical-align: top;
}

.not_der_2025_bis{
	float: left;
	width: 100%;
	text-align: center;
}

.envuelve_ante{
	width: 100%;
	margin: 0 auto;
}

.contenido_sector {
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

/* BOXES  */


  .box {
    flex-direction: column;
  }

  .box-child {
    width: 100%;
  }

  .box-child.img img {
    position: relative; /* opcional: mejora en móviles si no querés absoluto */
    height: auto;       /* para que respete el contenido en lugar de forzar altura */
    vertical-align: top;
  }

  .envuelve_imgs_home {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pie_2025 {
    background-color: #000;
    color: #ccc;
    padding: 0 4%;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
    border-top: 1px solid #333;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 60px;
}



.listado_legales li {
    display: inline-block;
    margin-right: 0;
    text-align: center;
    font-size: 14px;
    width: 100%;
    padding: 15px;
}

.tit_h1 {
    font-size: 1.6em;
    line-height: 45px;
    vertical-align: top;
    padding-top: 30px;
    padding-bottom: 30px;
}

.no_desktop{
    display: block;
}
    
    
    
    
}

/* LISTADO NOT */
/* Desktop: máximo 4 por fila */
@media (min-width: 1024px) {
  .listado_not {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 📱 Ajustes móviles */
@media (max-width: 600px) {
  .close {
    font-size: 28px;
    top: 10px;
    right: 15px;
  }

  .nav-btn {
    font-size: 32px;
  }

  .nav-btn.prev { left: 10px; }
  .nav-btn.next { right: 10px; }
  
  #lightbox-caption {
    font-size: 14px;
    padding: 10px 0;
  }
}





