.verde{
	color:#00905E;
}
.verde-claro{
	color:#15965B;
}
.amarillo{
	color:#FFDA3D;
}
.azul{
	color:#1B3268;
}
.azul-oscuro{
	color:#00264E;
}
.azul-claro{
	color:#225EA3;
}
.gris{
	color:#00000040;
}

.thin{
	font-weight:300!important;
}

/* Selector de idioma (fijo, esquina superior derecha) */
.lang-switch{
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 9999;
	display: flex;
	gap: 0.35rem;
	align-items: center;
	padding: 0.25rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 12px rgba(0, 38, 78, 0.15);
}
.lang-switch__btn{
	display: inline-block;
	min-width: 2.5rem;
	padding: 0.45rem 0.65rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	text-decoration: none;
	color: #00264E;
	border-radius: 999px;
	border: 1px solid transparent;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lang-switch__btn:hover:not(.is-current){
	background: rgba(0, 38, 78, 0.06);
	border-color: rgba(0, 38, 78, 0.12);
	color: #00264E;
}
.lang-switch__btn:focus-visible{
	outline: 2px solid #15965B;
	outline-offset: 2px;
}
.lang-switch__btn.is-current{
	background: linear-gradient(135deg, #15965B 0%, #00905E 100%);
	color: #fff;
	cursor: default;
	pointer-events: none;
}
@media (max-width: 575px){
	.lang-switch{
		top: 0.65rem;
		right: 0.65rem;
	}
	.lang-switch__btn{
		min-width: 2.35rem;
		padding: 0.4rem 0.55rem;
		font-size: 0.72rem;
	}
}

.wow{
	visibility:hidden;
}


@media (min-width: 992px) {
	.container-fluid{
		padding-left:1rem;
		padding-right:1rem;
	}
}
@media (min-width: 1200px) {
	.container-fluid{
		padding-left:2rem;
		padding-right:2rem;
	}
}
@media (min-width: 1450px) {
	.container-fluid{
		padding-left:8vw;
		padding-right:8vw;
	}
}

/*Video Inicio*/
.hero-video{
    height: 100vh; /* altura completa pantalla */
    min-height: 600px;
}

.video-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* oscurece el vídeo */
    z-index: 2;
}

.content{
    z-index: 3;
    width: 100%;
    padding: 20px;
}


.container-logo-central{
    width: 40vw;
	margin:0 auto;
}
@media (max-width: 991px){
    .container-logo-central{
		width: 60vw;
    }
}
.container-logo-central img{
    display: block;
    width: 100%;
    height: auto;
}
.container-logo-central h1{
    width: 100%;
    margin: 0;
    color: #fff;
    font-weight: 700;
	font-size: 1.69vw;
}
.container-logo-central h1.h1-eu{
	font-size:1.7vw;
}
.container-logo-central img.logo-eu{
	padding-bottom:1.2vw;
}
@media (max-width: 991px){
	.container-logo-central h1{
		font-size:2.55vw;
	}
    .container-logo-central h1.h1-eu{
		font-size:2.55vw;
	}
	.container-logo-central img.logo-eu{
		padding-bottom:1.5vw;
	}
}



/*Manifiesto*/
h2{
	letter-spacing:2px;
	font-size: calc(1.325rem + 3vw);
	margin-bottom:2rem;
}

@media (min-width: 1200px) {
	h2{
		font-size:4vw;
		margin-top:-1rem;
	}
	.page-section p{
		font-size:1.35vw;
	}
	.page-section p.subtitulo{
		font-size:1.75vw;
	}
}

.manifiesto {
	background: linear-gradient(
		152deg,
		#FFDA3D 0%,
		#15965B 91%,
		#00905E 100%
	);
	color:#fff;
}

.manifiesto{
	background: linear-gradient(
		152deg,
		#FFDA3D 0%,
		#15965B 91%,
		#00905E 100%
	);
	background-size: 200% 200%;
	animation: gradientMove 12s ease infinite;
}

@keyframes gradientMove {
	0% {
		background-position: 0% 50%;
	}
	25% {
		background-position: 100% 50%;
	}
	50% {
		background-position: 100% 100%;
	}
	75% {
		background-position: 0% 100%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.video-wrapper{
    position: relative;
    cursor: pointer;
}
.video-element{
    display: block;
    width: 100%;
    height: auto;
}
.play-button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    z-index: 2;
    cursor: pointer;
    padding: 0;
}
.play-button img{
    width: 10vw;
    height: auto;
    transition: transform 0.2s ease;
}
.play-button:hover img{
    transform: scale(1.1);
}
.video-wrapper.playing .play-button{
    display: none;
}

/*Testimonios*/
.testimonios{
	background-color:#fff;
	color:#00264E;
	padding-top: 10rem;
	margin-top: -10rem;
}
@media (max-width: 991px) {
	.testimonios{
		padding-top:6rem;
	}
}

.owl-carousel-testimonios .imagen,
.testimonios .item .imagen{
	position:relative;
	background-color:#000;
}
.testimonios .item .imagen a{
	display:block;
	position:relative;
}
.testimonios .item .imagen a:after{
	content:'';
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background-image:url(img/icon-play.svg);
	background-size:15%;
	background-repeat:no-repeat;
	background-position:center center;
	transition:all 0.2s ease;
}
.testimonios .item .imagen a:hover:after{
	background-size:20%;
}
.testimonios .item.medio .imagen a:after{
	content:none;
}

.owl-carousel-testimonios .imagen img,
.testimonios .item .imagen img{
	opacity:0.8;
}
.owl-carousel-testimonios .leyenda,
.testimonios .item .leyenda{
	position:absolute;
	bottom:0;
	left:1rem;
	right:0.5rem;
	color:#fff;
}
.owl-carousel-testimonios .leyenda h3,
.testimonios .item .leyenda h3{
	margin-bottom:0;
	line-height:1.1;
}
.owl-carousel-testimonios .leyenda p,
.testimonios .item .leyenda p{
	line-height:1.1;
}
.owl-carousel-testimonios .testimonio,
.testimonios .item .testimonio{
	padding:1rem;
}
.owl-carousel-testimonios .leyenda p,
.owl-carousel-testimonios .testimonio p,
.testimonios .item .leyenda p,
.testimonios .item .testimonio p{
	font-size:1rem;
}
.testimonios .item .testimonio p.titulo{
	font-size:1.2rem;
	font-weight:700;
	margin-bottom:0;
}
@media (min-width: 1450px) {
	.container-carousel-testimonios{
		margin-left:-3vw;
	}
	.owl-carousel-testimonios{
		transform:translateX(3vw);
	}
	.owl-carousel-testimonios .leyenda p,
	.owl-carousel-testimonios .testimonio p{
		font-size:1vw;
	}
	.testimonios .item .testimonio p.titulo{
		font-size:1.1vw;
	}
}

/*Cifras*/
.cifras{
	background: linear-gradient(
		171deg,
		#00905E 0%,
		#15965B 9%,
		#1B3268 100%
	);
	color:#fff;
}

@property --angulo {
	syntax: '<angle>';
	inherits: false;
	initial-value: 171deg;
}

.cifras{
	--angulo: 171deg;

	background: linear-gradient(
		var(--angulo),
		#00905E 0%,
		#15965B 9%,
		#1B3268 100%
	);

	background-size: 200% 200%;
	background-position: 0% 50%;

	color:#fff;

	animation:
		cifrasGradientMove 14s ease-in-out infinite,
		cifrasGradientRotate 10s ease-in-out infinite alternate;
}

@keyframes cifrasGradientMove {
	0%{
		background-position: 0% 50%;
	}
	25%{
		background-position: 100% 40%;
	}
	50%{
		background-position: 100% 100%;
	}
	75%{
		background-position: 0% 60%;
	}
	100%{
		background-position: 0% 50%;
	}
}

@keyframes cifrasGradientRotate {
	0%{
		--angulo: 168deg;
	}
	50%{
		--angulo: 174deg;
	}
	100%{
		--angulo: 170deg;
	}
}

.page-section .cifra{
	font-weight:700;
	font-size:2rem;
	line-height:1;
}
.cifras .leyenda{
	width:240px;
	margin-left:auto;
	margin-right:auto;
}
@media (min-width: 1200px) {
	.cifras h2{
		font-size:4.5rem;
	}
	.page-section .cifra{
		font-size:5.5rem;
	}
}

.contador {
  display: inline-block;
  unicode-bidi: isolate;
  font-variant-numeric: normal;
}

/*Mapa*/
.iframe-mapa{
    width: 100%;
    min-height: 100vh;
    border: 0;
    display: block;
}
.leyenda-mapa p{
	font-size:1rem;
	margin-top:1rem;
}
@media (max-width: 991px) {
	.leyenda-mapa p{
		font-size:0.9rem;
	}
}

/*Footer*/
.btn-rrss{
	color:#00264E;
	font-size:2rem;
	margin-right:2rem;
}
@media (max-width: 991px) {
	footer{
		text-align:center;
	}
	.btn-rrss{
		font-size:1.5rem;
		padding:0.5rem;
		margin-right:0;
	}
}
@media (min-width: 992px) {
	footer .logo-enercluster{
		width:300px;
	}
}
@media (min-width: 1200px) {
	footer .logo-enercluster{
		width:15.2vw;
	}
}
@media (max-width: 991px) {
	footer .logo-enercluster{
		width:50vw;
	}
}

.enlaces-legales{
	font-size:1rem!important;
	line-height:1.1!important;
}
.enlaces-legales a{
	color:#225EA3;
	text-decoration:none;
}
.enlaces-legales a:hover{
	color:#00264E;
}