/**
 * GC Studio — ajustes de calidad y accesibilidad (revisión del 25/11/2026).
 */

/* CAL-19: el banner de Complianz no puede ser más ancho que la pantalla en tablet. */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
}

/* CAL-20: en las fichas de proyecto las fotos con altura fija se recortan en vez de deformarse. */
.single-proyectos .elementor-widget-image img {
	object-fit: cover;
}

/* CAL-12: botón de pausa de los vídeos de fondo (lo crea gc-ui.js). */
.gc-video-pausa {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
}
.gc-video-pausa:hover { background: rgba(0, 0, 0, 0.65); }
.gc-video-pausa:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gc-video-pausa svg { width: 16px; height: 16px; fill: currentColor; }

/* CAL-06: el gris #777 de los campos del formulario no llega a 4,5:1 sobre blanco. */
.elementor-form .elementor-field,
.elementor-form .elementor-field::placeholder,
.elementor-form .elementor-field-label {
	color: #595959;
}

/* CAL-11: teléfono, email y redes del pie con zona táctil mínima de 24 px (WCAG 2.5.8). */
.elementor-element-c1d2079 .elementor-icon-list-item > a,
.elementor-element-e4c5683 .elementor-icon-list-item > a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
}

/* Selector de idioma de Linguise en la cabecera: sin borde, con la tipografía y el color
   del menú, y un desplegable sencillo y legible sobre el vídeo. */
[data-elementor-type="header"] .linguise_switcher .linguise_current_lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0 4px 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
	font-family: "Avenir Next", sans-serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 21px;
	text-transform: uppercase;
	cursor: pointer;
}
[data-elementor-type="header"] .linguise_switcher .linguise_lang_name {
	margin: 0;
	font: inherit;
}
/* Linguise inyecta en línea `.linguise_lang_name { color: #000 !important }`: hace falta más especificidad. */
[data-elementor-type="header"] .linguise_dropdown_mount .linguise_switcher_dropdown .linguise_current_lang .linguise_lang_name,
[data-elementor-type="header"] .linguise_dropdown_mount .linguise_switcher_dropdown .linguise_switcher_sub .linguise_lang_name {
	color: #fff !important;
}
[data-elementor-type="header"] .linguise_switcher .lccaret,
[data-elementor-type="header"] .linguise_switcher .lccaret svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
	transition: transform 0.2s ease;
}
[data-elementor-type="header"] .linguise_switcher .linguise_current_lang[aria-expanded="true"] .lccaret {
	transform: rotate(180deg);
}
[data-elementor-type="header"] .linguise_switcher .linguise_current_lang:hover,
[data-elementor-type="header"] .linguise_switcher .linguise_dropdown_item a:hover {
	opacity: 0.7;
}
[data-elementor-type="header"] .linguise_switcher .linguise_current_lang:focus-visible,
[data-elementor-type="header"] .linguise_switcher .linguise_dropdown_item a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
[data-elementor-type="header"] .linguise_switcher .linguise_switcher_sub {
	min-width: 0;
	margin-top: 6px;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: rgba(17, 17, 17, 0.72);
	box-shadow: none;
}
[data-elementor-type="header"] .linguise_dropdown_mount .linguise_switcher .linguise_switcher_sub > li > a {
	display: block;
	min-height: 0;
	padding: 6px 12px;
	border-radius: 0;
	background: transparent;
	color: #fff !important;
	font-family: "Avenir Next", sans-serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 21px;
	text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
	[data-elementor-type="header"] .linguise_switcher .lccaret { transition: none; }
}

/* Texto solo para lectores de pantalla. */
.gc-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
