/*
Theme Name: Eses
Description: Tema personalizado con estructura SPA
Version: 1.0.0
Author: j{AI}son
*/

/* Variables CSS */
:root {
	font-size: clamp(4px, 1.05vw, 20px);
	--max-width: 1920px;
	--dark-color: #1b1b1a;
}

/* Font Face */
@font-face {
	font-family: 'Founders Grotesk';
	src: url('./fonts/FoundersGroteskBold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
}

/* Estilos base */
html {
	background: white;
}

body {
	font-family: "Open Sauce Two", sans-serif;
	max-width: var(--max-width);
	margin: 0 auto;
	background: white;
}

h1, h2 {
	font-family: 'Founders Grotesk', sans-serif;
	font-weight: 700;
	font-size: 3rem;
	line-height: 110%;
	letter-spacing: 0;
	color: #1b1b1a;
}

@media(max-width:767px) {
	h1, h2 {
		font-size: 27px;
		line-height: 110%;
		letter-spacing: 0;
	}
}

.parrafo-normal p {
	color: #1B1B1A;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 1.0625rem; /* 17px */
	font-style: normal;
	font-weight: 400;
	line-height: 160%;
	margin: 0;
}

/* Utilidades básicas */
.padding-16px {
	padding: 1rem 1rem 0 1rem;
}

.no-decor {
	text-decoration: none;
}

.oculto {
	display: none;	
}

/* Layout SPA */
.spa-layout {
	display: flex;
	height: 100vh;
}

.spa-aside {
	width: 17.2rem;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	background: transparent;
	height: 100vh;         
	position: sticky;      
	top: 0;
	flex-shrink: 0;       
	overflow: hidden;
}

.spa-aside__top {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.spa-aside__bottom {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

/* Botones del aside */
.spa-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid var(--dark-color);
	padding: 0.57rem 1rem;
	border-radius: 0.5rem;
	background: transparent;
	color: var(--dark-color);
	font-size: 0.875rem;
	line-height: 0.875rem;
	letter-spacing: 0.00875rem;
	transition: all 0.3s ease;
	width: 100%;
	box-sizing: border-box;
	cursor: pointer;
}

.spa-btn:hover {
	border-radius: 1.25rem;
}

.spa-btn--active {
	background: var(--dark-color);
	color: white;
	border-radius: 1.25rem;
}

.spa-btn--logo {
	justify-content: flex-start;
	padding: 1rem;
}

.spa-btn--logo img {
	width: 3.75rem;      
	max-width: 100%;     
	height: auto;        
	margin-left: 0;
	flex-shrink: 0;
}

/* Video container */
.spa-video-container {
	width: 100%;
	height: 15.2rem;
	border-radius: 8px;
	overflow: hidden;
	background: #000;
}

.spa-video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Botones de navegación */
.spa-nav-buttons {
	display: flex;
	justify-content: space-between;
	gap: 0.25rem;
}

.spa-nav-buttons button {
	flex: 1;
	height: 0.5rem;
	border: 1px solid var(--dark-color);
	border-radius: 2rem;
	background: transparent;
	cursor: pointer;
}

.spa-nav-buttons button:hover,
.spa-nav-buttons button.spa-nav-button--active {
	background: var(--dark-color);
}

/* Contenido principal */
.spa-content {
	flex: 1;
	overflow-y: auto;      
	height: 100vh;         
	box-sizing: border-box;
	padding-left: 6.9rem;
	background-color: transparent;
}

.hero-video video,
.hero-video img {
	width: 100%;
	border-radius: 8px;
}

#eses-eyes-hero-container {
	margin: 0 !important;
}

@media (min-width: 768px) {
	.hero-video video,
	.hero-video img {
		max-height: 35rem;
		object-fit: cover;
	}
	.padding-16px {
		min-height: calc(100vh - 5rem);
	}
}

.hero-titulo {
	margin: 2rem 0 6rem 0 !important;
}

/* Estilos para iframe en hero */
.hero-video iframe {
	width: 100%;
	border-radius: 8px;
	border: none;
}

@media (min-width: 768px) {
	.hero-video iframe {
		max-height: 750rem;
		height: 40rem;
	}
}

@media (max-width: 767px) {
	.hero-video iframe {
		max-height: 600px;
		height: 212px;
	}
}

/* Responsive - Mobile */
@media (max-width: 767px) {
	.spa-aside {
		display: none;
	}

	.spa-content {
		padding-left: 0;
	}

	.page-id-24 .spa-content,
	.page-id-522 .spa-content {
		height: auto;
		overflow-y: visible;
	}

	.padding-16px {
		padding: 150px 16px 16px 16px;
	}

	.home .padding-16px {
		padding: 100px 16px 16px 16px;
	}

	.hero-titulo {
		margin: 24px 0 96px 0 !important;
	}

	.hero-video video,
	.hero-video img {
		max-height: 212px;
		object-fit: cover;
	}

	.parrafo-normal p {
		font-size: 14px;
		line-height: 150%;
		letter-spacing: 0.14px;
	}
}

/* Container animado */
.container-animado {
	display: flex;
	align-items: stretch;
	justify-content: center;
	transition: width 0.7s cubic-bezier(.77,0,.18,1);
	position: relative;
	width: 100%;
	height: 40.8rem;
	max-height: 750px;
	--main-border: 1px solid #1b1b1a;
	--main-radius: 10px;
	--main-padding: 3rem;
	--gap: 0.5rem;
	--button-radius: 8px;
	--button-border: 1px solid #1b1b1a;
}

.container-animado h2 {
	color: #1b1b1a;
	font-size: 3rem;
	line-height: normal;
	margin-bottom: 0;
}

.panel {
	background: transparent;
	border: var(--main-border);
	border-radius: var(--main-radius);
	padding: var(--main-padding);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
	transition: width 0.7s cubic-bezier(.77,0,.18,1);
	height: 100%;
	z-index: 2;
}

.panel h2 {
	margin-top: 0;
}

.panel p {
	font-size: 1.06rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.6rem;
	margin: 3rem 0;
	width: 100%;
	color: #1b1b1a;
}

.boton-proyecto {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid #1B1B1A;
	border-radius: 0.5rem;
	background: transparent;
	color: #1B1B1A;
	font-size: 1.06rem;
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
	padding: 0.57rem 1rem;
	cursor: pointer;
	width: 100%;
	box-sizing: border-box;
	transition: all 0.3s ease;
	gap: 1rem;
}

.boton-proyecto:hover {
	border-radius: 40px;
}

.boton-proyecto img {
	object-fit: contain;
	margin-left: auto;
	display: block;
}

.panel-imagen {
	display: flex;
	align-items: stretch;
	justify-content: center;
	width: 0;
	overflow: hidden;
	transition: width 0.7s cubic-bezier(.77,0,.18,1);
	height: 100%;
	border-radius: var(--main-radius);
	margin-left: var(--gap);
	z-index: 1;
	background: #fff;
	box-sizing: border-box;
}

.panel-imagen img,
.panel-imagen video {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: var(--main-radius);
	object-fit: cover;
	aspect-ratio: 1080/1350;
}

.container-animado:hover .panel {
	width: calc(50% - var(--gap) / 2);
}

.container-animado:hover .panel-imagen {
	width: calc(50% - var(--gap) / 2);
	padding: 0;
}

@media (min-width: 768px) {
	.page-id-346 .container-animado .parr p {
		font-size: 1.0625rem;
		line-height: 160%;
	}
}

/* Responsive para container animado */
@media (max-width: 767px) {
	.container-animado {
		flex-direction: column;
		height: auto !important;
		gap: 8px;
		max-height: unset;
	}

	.panel-imagen {
		width: 100% !important;
		height: auto;
		margin-left: 0;
		order: 1;
	}

	.panel {
		width: 100% !important;
		height: auto;
		order: 2;
		padding: 32px;
	}

	.container-animado:hover .panel {
		width: 100% !important;
	}

	.container-animado:hover .panel-imagen {
		width: 100% !important;
	}

	.container-animado h2 {
		font-size: 27px;
		line-height: 29.7px;
		letter-spacing: -0.54px;
	}

	.panel p {
		font-size: 17px;
		line-height: 27.2px;
		margin: 48px 0;
	}

	.boton-proyecto {		
		font-size: 15px;
		line-height: normal;
		padding: 10px 16px;
		gap: 1rem;
		border-radius: 8px;
	}

	.boton-proyecto:hover {
		border-radius: 24px;
	}
}

/* Bloque servicios */
.bloque-servicios {
	margin-top: 96px;
}

.enlace-flecha-contenedor {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
}

.enlace-flecha-contenedor:hover .enlace-flecha-icono {
	border-radius: 40px;
}

.enlace-flecha-icono {
	padding: 0.60rem 0.65rem;
	border: 1px solid #1B1B1A;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-radius 0.7s ease;
}

.enlace-flecha-texto {
	color: #1B1B1A;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 1.6875rem; /* 27px */
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
	margin: 0;
	letter-spacing: 0;
}

.servicios-botones {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 2rem;
}

.servicios-botones h3 {
	all: unset;
}

/* Responsive bloque servicios */
@media (max-width: 767px) {
	.enlace-flecha-texto {
		font-size: 20px;
		line-height: 150%;
	}
	.servicios-botones {
		gap: 8px;
		margin-top: 16px;
	}
	.enlace-flecha-icono {
		padding: 9px 10px;
	}
}


/* Bloque casos grid */
.bloque-casos {
	margin-top: 96px;
}

.bloque-casos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 2rem;
}

.caso-card {
	position: relative;
}

.caso-media {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 8px;
	aspect-ratio: 364/455;
}

.caso-media img,
.caso-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Tags de servicios en hover */
.caso-servicios-hover {
	position: absolute;
	bottom: 12px;
	left: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.caso-card:hover .caso-servicios-hover {
	opacity: 1;
}

.caso-card:hover .boton-proyecto {
	border-radius: 40px
}

.servicio-tag {
	display: inline-block;
	background: #E0E1F0;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: 14px;
	font-family: "Open Sauce Two", sans-serif;
	color: #1B1B1A;
}

/* Responsive mobile */
@media (max-width: 767px) {
	.bloque-casos-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.enlace-flecha-contenedor{
		margin-bottom: 16px;
	}

	.servicio-tag {
		font-size: 12px;
		padding: 6px 10px;
	}

	.caso-card {
		margin-bottom: 8px;
	}

	.caso-servicios-hover {
		opacity: 1 !important;
	}
}

/* Bloque Tendencias */
.bloque-tendencias {
	background: #4A546A;
	border-radius: 8px;
	padding: 3rem;
	margin-top: 72px;
	height: 34.7rem;
/* 	display: flex; */
	display: none;
	align-items: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

/* Video de fondo - oculto por defecto */
.bloque-tendencias .video-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

/* Video visible en hover */
.bloque-tendencias:hover .video-background {
	opacity: 1;
}

.tendencias-contenido {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-rows: 1fr auto;
	gap: 2rem;
}

.tendencias-textos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
}

.bloque-tendencias h2 {
	color: #E0E1F0;
	font-family: "Founders Grotesk", sans-serif;
	font-size: 3rem;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: -0.96px;
	margin: 0;
	transition: color 0.3s ease;
}

.bloque-tendencias p {
	color: #E0E1F0;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 160%;
	margin: 0;
	transition: color 0.3s ease;
}

.tendencias-boton {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

/* Botón expandible - adaptado del proyecto */
.expandable-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid #E0E1F0;
	border-radius: 8px;
	background: transparent;
	padding: 0.6rem 0.65rem;
	cursor: pointer;
	width: 46px;
	overflow: hidden;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-sizing: border-box;
	text-decoration: none;
}

.expandable-btn p {
	margin: 0;
	font-size: 1.06rem;
	line-height: 1.06rem;
	color: #E0E1F0;
	white-space: nowrap;
	opacity: 0;
	width: 0;
	overflow: hidden;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expandable-btn svg {
	width: 18px;
	height: 20px;
	flex-shrink: 0;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expandable-btn svg path {
	stroke: #E0E1F0;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover en todo el bloque */
.bloque-tendencias:hover h2,
.bloque-tendencias:hover p {
	color: #82FF7A;
}

.bloque-tendencias:hover .expandable-btn {
	border-color: #82FF7A;
	width: 100%;
}

.bloque-tendencias:hover .expandable-btn p {
	opacity: 1;
	width: auto;
	color: #82FF7A;
}

.bloque-tendencias:hover .expandable-btn svg path {
	stroke: #82FF7A;
}

.expandable-btn:hover {
	border-radius: 24px;
}

/* Responsive Mobile */
@media (max-width: 767px) {
	.bloque-tendencias {
		height: auto;
		padding: 32px;
		margin-top: 90px;
		overflow: visible;
		display: none;
	}

	/* En mobile, ocultar el video siempre */
	.bloque-tendencias .video-background {
		display: none;
	}

	.tendencias-textos {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.bloque-tendencias h2 {
		font-size: 27px;
		line-height: 110%;
		letter-spacing: -0.54px;
	}

	.bloque-tendencias p {
		font-size: 17px;
		line-height: 160%;
	}

	.tendencias-textos .bl-parr {
		margin-bottom: 96px
	}

	.bloque-tendencias .expandable-btn {
		width: 100% !important; 
	}

	.bloque-tendencias .expandable-btn p {
		opacity: 1 !important; 
		width: auto !important; 
	}

	.expandable-btn {
		padding: 8px 10px;
	}
}

/* Bloque Herramientas */
.bloque-herramientas {
	margin: 6rem 0 3rem 0;
}

.herramientas-grid {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	gap: 8px;
}

.herramientas-titulo {
	color: #1B1B1A;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 1.6875rem;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
	margin: 0 0 2.5rem 0;
	letter-spacing: 0;
}

.herramienta-item {
	background: #E0E1F0;
	padding: 1rem;
	border-radius: 8px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	aspect-ratio: 1;
	box-sizing: border-box;
}

.texto-grande {
	color: #1B1B1A;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 1.6875rem;
	font-weight: 400;
	line-height: 1;
	margin-bottom: 1rem;
}

.texto-pequeno {
	color: #1B1B1A;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 0.75rem; /* 12px */
	font-weight: 400;
	line-height: 140%;
	text-align: center;
}

/* Responsive Mobile */
@media (max-width: 767px) {
	.bloque-herramientas {
		margin: 96px 0 48px 0;
	}

	.herramientas-titulo {
		font-size: 20px;
		line-height: 150%;
		margin-bottom: 32px;
	}

	.herramientas-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.herramienta-item {
		padding: 16px;
	}

	.texto-grande {
		font-size: 27px;
		line-height: 1;
		margin-bottom: 16px;
	}

	.texto-pequeno {
		font-size: 12px;
		line-height: 140%;
	}
}

/* Servicios - CSS completo con gap corregido */
.bloque-servicio {
	margin-bottom: 1rem;
}

.bloque-servicio:last-child {
	margin-bottom: 3rem;
}

/* Container animado - gap solo en hover */
.bloque-servicio .container-animado {
	gap: 0; /* Sin gap por defecto */
	transition: gap 0.7s cubic-bezier(.77,0,.18,1);
}

.bloque-servicio .container-animado:hover {
	gap: var(--gap); /* Gap solo en hover */
}

/* Panel-imagen behavior - sin márgenes manuales */
.bloque-servicio .panel-imagen {
	display: flex;
	align-items: stretch;
	justify-content: center;
	width: 0;
	overflow: hidden;
	transition: width 0.7s cubic-bezier(.77,0,.18,1);
	height: 100%;
	border-radius: var(--main-radius);
	margin-left: 0;
	margin-right: 0;
	z-index: 1;
	background: #fff;
	box-sizing: border-box;
}

/* Alternancia usando order */
.container-animado--reverse .panel {
	order: 2;
}

.container-animado--reverse .panel-imagen {
	order: 1;
}

/* Panel con botón oculto inicialmente */
.bloque-servicio .panel {
	justify-content: center;
	padding-top: var(--main-padding);
	padding-bottom: var(--main-padding);
}

.bloque-servicio .panel h2 {
	margin-top: 0;
}

.bloque-servicio .panel p {
	margin: 3rem 0;
	width: 100%;
}

/* Botón oculto por defecto */
.bloque-servicio .boton-proyecto {
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(.77,0,.18,1);
}

/* Mostrar botón en hover */
.bloque-servicio .container-animado:hover .boton-proyecto {
	opacity: 1;
}

.bloque-servicio .panel-imagen img,
.bloque-servicio .panel-imagen video {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: var(--main-radius);
	object-fit: cover;
}

.bloque-servicio .container-animado:hover .panel {
	width: calc(50% - var(--gap) / 2);
}

.bloque-servicio .container-animado:hover .panel-imagen {
	width: calc(50% - var(--gap) / 2);
	padding: 0;
}

/* Responsive Mobile */
@media (max-width: 767px) {
	.bloque-servicio {
		margin-bottom: 16px;
	}

	.bloque-servicio:last-child {
		margin-bottom: 48px;
	}

	.bloque-servicio .container-animado {
		flex-direction: column;
		height: auto !important;
		gap: 8px !important; /* Gap fijo en mobile */
	}

	/* En mobile: texto arriba, imagen abajo */
	.bloque-servicio .panel {
		width: 100% !important;
		height: auto;
		order: 1 !important;
		padding: 32px;
		min-height: unset;
	}

	.bloque-servicio .panel-imagen {
		width: 100% !important;
		height: auto;
		margin-left: 0 !important;
		margin-right: 0 !important;
		order: 2 !important;
	}

	.bloque-servicio .container-animado:hover .panel {
		width: 100% !important;
	}

	.bloque-servicio .container-animado:hover .panel-imagen {
		width: 100% !important;
	}

	/* Tipografía y espaciado mobile */
	.bloque-servicio .container-animado h2 {
		font-size: 27px;
		line-height: 29.7px;
		letter-spacing: -0.54px;
		margin-bottom: 0;
	}

	.bloque-servicio .panel p {
		font-size: 17px;
		line-height: 27.2px;
		margin: 40px 0;
	}

	/* Botón siempre visible en mobile */
	.bloque-servicio .boton-proyecto {
		opacity: 1 !important;
		font-size: 15px;
		line-height: 0;
		padding: 10px 16px;
		gap: 1rem;
		border-radius: 8px;
	}

	.bloque-servicio .boton-proyecto:hover {
		border-radius: 24px;
	}
}

/* Carrusel del aside - Estilos adicionales para style.css */

/* Container del carrusel */
.spa-carousel-container {
	position: relative;
	width: 100%;
}

/* Video container actualizado para carrusel */
.spa-video-container {
	width: 100%;
	height: 15.2rem;
	border-radius: 8px;
	overflow: hidden;
	background: #000;
	position: relative;
}

/* Slides del carrusel */
.spa-carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
	z-index: 1;
}

.spa-carousel-slide.active {
	opacity: 1;
	z-index: 2;
}

.spa-carousel-slide video,
.spa-carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Botones de navegación actualizados */
.spa-nav-buttons {
	display: flex;
	justify-content: space-between;
	gap: 0.25rem;
}

.spa-nav-button {
	flex: 1;
	height: 0.5rem;
	border: 1px solid var(--dark-color);
	border-radius: 2rem;
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
}

.spa-nav-button:hover,
.spa-nav-button.spa-nav-button--active {
	background: var(--dark-color);
}

/* Animación de progreso para el botón activo */
.spa-nav-button.spa-nav-button--active {
	position: relative;
	overflow: hidden;
}

.spa-nav-button.spa-nav-button--active::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--dark-color);
/* 	animation: progressBar 2s linear forwards; */
}

@keyframes progressBar {
	from {
		left: -100%;
	}
	to {
		left: 0;
	}
}

/* Container de botones dinámicos */
.spa-dynamic-button {
	position: relative;
	height: auto;
}

/* Botones del carrusel */
.spa-carousel-btn {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 1;
}

.spa-carousel-btn.active {
	position: relative;
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

/* Efectos de hover suaves */
.spa-carousel-slide video {
	transition: transform 0.3s ease;
}

.spa-carousel-slide:hover video {
	transform: scale(1.02);
}

/* Responsive - Mobile: Mantener comportamiento original */
@media (max-width: 767px) {
	.spa-carousel-container,
	.spa-dynamic-button {
		display: none;
	}

	/* En mobile, mostrar solo el video original */
	.spa-video-container {
		background: #000;
	}

	.spa-video-container video {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}
}


/* Submenú de servicios en aside */
.spa-submenu-servicios {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.5rem 0 0.5rem 1rem;
	border: 1px solid #1b1b1a;
	border-radius: 8px;
	transition: all 0.3s ease;
	height: 60px;
 	overflow: auto;
}

.spa-submenu-link {
	color: var(--dark-color);
	font-family: "Open Sauce Two", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 100%;
	padding: 0;
	transition: opacity 0.3s ease;
	opacity: 0.6;
}

.spa-submenu-link:hover {
	opacity: 1;
}

.spa-submenu-link.active {
	opacity: 1;
	font-weight: 600;
}

/* Responsive - Ocultar en mobile */
@media (max-width: 767px) {
	.spa-submenu-servicios {
		display: none;
	}
}


/* single equipo */
.single-equipo .contenido-texto h2 {
	margin-bottom: 3rem; 
}

.single-equipo .bloque-articulos-relacionados {
	margin-top: 6rem;
}

@media (max-width: 767px) {
	.single-equipo .contenido-texto h2 {
		margin-bottom: 32px; 
	}
	
	.single-equipo .bloque-articulos-relacionados {
		margin-top: 64px;
	}
}

/* Banner Lawwwing */
@media (min-width: 768px) {
	#lw-banner {
		max-width: 550px !important;
		transform: unset !important;
		top: unset !important;
		left: unset !important;
		bottom: 1% !important;
		right: 1% !important;
	}
}

.lw-button.lw-consent-reject {
	order: 3;
}

.lw-button.lw-consent-accept {
	order: 2;
}