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

body {
    font-family:Arial, Helvetica, sans-serif;
    min-height:100vh;
    overflow-x:hidden;
}



.logo {
	display: flex;
	justify-content: center; /* Centra horizontalmente */
	align-items: center;     /* Centra verticalmente */
	width: 250px;
  	height: 132px;
	margin: 0 auto -50px auto; 
	/* animación */
  	opacity: 0; /* estado inicial */
  	animation: fadeIn 5s ease-out forwards;
}

.logo img {
	display: block;
  	width: 250px;
  	height: 132px;
	margin: 0 auto;
}

.logo a:hover {
	opacity: .7;
}

@keyframes fadeIn {
  from {
    opacity: 0;   /* totalmente transparente */
  }
  to {
    opacity: 1;   /* totalmente visible */
  }
}



/* ==========================
   Menu idiomas
========================== */

.language-menu {
	text-transform: capitalize;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
	margin-top: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    letter-spacing: 2px;
}

.language-menu a {
    color: #000000;
    text-decoration: none;
	padding: 6px;
	background-color: #FFFFFF;
    transition: all .3s ease;
}

.language-menu a:hover {
	color: #FFFFFF;
    background-color: #900101;
}

.language-menu a.active {
    font-weight: 700;
    color: #FFFFFF;
	background-color: #D20000;
}

.language-menu span {
    color: #ffffff;
}



/* Responsive */
@media(max-width:480px) {

.language-menu {
	font-size: 12px;
	gap: 8px;
	letter-spacing: 1px;
    }

}



/* -------------------------
   PRENSA
------------------------- */

.container_galeria_fotografica {
  	min-width: 100%;
  	/* min-height: 100vh; */
  	position: relative;
  	display: grid;
  	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  	grid-gap: 10px; /* Espacios entre imágenes */
}

.container_galeria_prensa {
  	min-width: 100%;
  	/* min-height: 100vh; */
  	position: relative;
  	display: grid;
  	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  	grid-gap: 10px; /* Espacios entre imágenes */
}

.galeria {
	width: 100%;
	height: auto;
	/* height: 21vh; */
	position: relative;
	margin: 1.25rem 0 0 0;
	overflow: hidden;
}

.galeria img {
	display: block;
  	width: 100%;
  	height: auto;
}

.galeria .pie_img {
	color: white;
	text-align: center;
	font-size: 1rem;
  	letter-spacing: 0;
	text-transform: uppercase;
	width: 100%;
	margin: 0;
	padding: 10px;
	position: relative;
	z-index: 2;
  	background: rgba(0, 0, 0, 1);
}

.galeria p {
  	position: relative;
	top: 0;
  	width: 100%;
  	text-align: center;
  	color: white;
  	padding: 5px 0;
  	font-size: 0.8em;
  	letter-spacing: 2px;
  	z-index: 2;
	background-color: rgba(0, 0, 0, 0.5); /* Fondo translúcido */
}

.galeria .titulo {
	color: white;
  	position: relative;
	top: 0;
  	width: 100%;
  	text-align: center;
  	padding: 5px 0;
  	font-size: 1rem;
  	/* letter-spacing: 2px; */
  	z-index: 2;
	background-color: rgba(0, 0, 0, 1); /* Fondo translúcido */
}

/* Contador de imagenes */
.image-counter {
	color: #999999;
	font-size: 1rem;
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 1000;
    pointer-events: none; /* no bloquea clics */
}

.grid__overlay {
  	position: absolute;
	inset: 0; /* en lugar de height: 100% y top: 0 */
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.5);
	transform: translateY(100%);
	transition: transform 0.3s ease-in-out;
}

.galeria:hover .grid__overlay {
  transform: translateY(0); /* Mostrar el overlay al hacer hover */
}

.grid__overlay button {
	line-height: normal;
 	background: none;
  	border: 1px solid #ffffff;
	border-radius: 0;
  	color: white;
  	text-transform: uppercase;
  	letter-spacing: 2px;
  	padding: 10px 20px;
  	cursor: pointer;
}

.grid__overlay button:hover {
	line-height: normal;
    color: #D20000 !important;
    background-color: #FFFFFF;
    transition: all 0.3s ease-in-out;
}



/* -------------------------
   FONDOS
------------------------- */

.bg-layer {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: -2;
}

.bg-layer.active {
    opacity: 1;
}


/* oscurecer fondo */

.bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
}


/* -------------------------
   CONTENEDOR
------------------------- */

.tabs-wrapper {
    width: 90%;
    max-width: 700px;
    margin: 80px auto;
}


/* -------------------------
   Pestanas
------------------------- */

.tabs-menu {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.tab-btn {
    border: none;
    padding: 12px 22px;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 12px 12px 0 0;
    transition: .3s;
}

.tab-btn:hover {
    background-color: #900101;
}

.tab-btn.active {
    background-color: #D20000;
}

/* -------------------------
   Caja contenido
------------------------- */

.content-box {
    position: relative;
    min-height: 600px;
    background: rgba(0,0,0,.65);
    border-radius: 35px;
    overflow: hidden;
    box-shadow:
    0 10px 50px rgba(0,0,0,.35);
}


/* -------------------------
   Paneles
------------------------- */

.tab-content {
	display: none;
    inset: 0;
    padding: 40px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition:
    opacity .7s ease,
    transform .7s ease,
    visibility .7s;
}

.tab-content a {
	color: #FFFFFF;
	font-size: 25px;
	text-decoration: none;
}

.tab-content a:hover {
    color: #D20000;
    text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 8px;
}

.tab-content.active {
	display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tab-content h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.tab-content h3 {
    margin-bottom: 20px;
    font-size: 25px;
}

.tab-content h5 {
	margin-bottom: 5px;
    font-size: 20px;
}

.tab-content p {
    line-height: 1.8;
    margin-bottom: 20px;
	text-align: justify;
}

.tab-content img {
	display: block;
	max-width: 100%;
	margin: 20px auto 0 auto;
}



/* Icono Instagram */	
.icons {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	margin: -50px auto 0 auto; /* centra el bloque */
	padding: 0;
	list-style: none;
}


.icons li {
	display: inline-block;
}

.icons img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.icons a {
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
}

.icons img:hover {
  transform: scale(1.2);
}
/* FIN Icono Instagram */	




/* -------------------------
   Responsive
------------------------- */

@media(max-width:768px){

.tabs-menu {
	flex-wrap: wrap;
}

.tab-btn {
	padding: 10px 15px;
	font-size: 13px;
}

.content-box {
	min-height: 500px;
}

.tab-content {
	padding: 25px;
    }
}

@media(max-width:480px) {

.tabs-wrapper {
	width: 95%;
}

    .tab-btn {
	font-size: 12px;
	padding: 8px 12px;
}

    .content-box {
	min-height: 450px;
	border-radius: 25px;
}

.tab-content h2 {
	font-size: 24px;
}

.tab-content p {
	font-size:14px;
}
}