/*==========================================================================
* Hilbar S.L. — capa de marca sobre la plantilla BuildGo
* Paleta: primario #00A3D3 · secundario #0C2340 · terciario #0284C7
==========================================================================*/

:root {
	/* Tipografías de marca */
	--body-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--heading-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	/* Tokens de la plantilla, redefinidos con la marca */
	--body-color: #4A5A6E;
	--text-heading-color: #0C2340;
	--primary-color-1: #00A3D3;
	--color-1: #0C2340;
	--color-2: #EFF6FB;
	--color-3: #E3ECF3;
	--color-4: #0284C7;
	--color-5: #52627A;
	--color-6: #B8C6D4;
	--color-7: #14305A;
	--color-8: #0F2A4A;
	--border-color-1: #E2EAF1;
	--border-color-2: #C6D4E1;
	--border-color-3: #1E3A5F;

	/* Tokens propios */
	--hilbar-navy: #0C2340;
	--hilbar-deep: #081A30;
	--hilbar-cyan: #00A3D3;
	--hilbar-cyan-claro: #3FD0F5;
	--hilbar-azul: #0284C7;
	--hilbar-radio: 6px;
	--cabecera-alto: 84px;
}

/*=============== Tipografía ===============*/
body { font-size: 17px; line-height: 29px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); letter-spacing: -0.015em; }

.subtitle {
	font-family: var(--heading-font);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 13px;
}
/* Variante para fondos oscuros */
.subtitle.claro {
	color: var(--hilbar-cyan-claro);
	border-color: rgba(255, 255, 255, 0.28);
}

/*=============== Accesibilidad ===============*/
:focus-visible {
	outline: 3px solid var(--hilbar-cyan);
	outline-offset: 3px;
	border-radius: 2px;
}

.salta-contenido {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	background: var(--hilbar-navy);
	color: #fff;
	padding: 12px 22px;
	font-weight: 600;
}
.salta-contenido:focus { left: 12px; top: 12px; color: #fff; }

img { height: auto; }

/* La plantilla desborda algunas imágenes y rejillas: evitamos el scroll lateral */
html, body { overflow-x: hidden; max-width: 100%; }
.services__four-image img, .industry__four-left img { max-width: 100%; }

/*==========================================================================
* Cabecera
==========================================================================*/
.cabecera {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.cabecera__fila {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--cabecera-alto);
}

.cabecera__logo img {
	display: block;
	width: 158px;
	height: auto;
}

.cabecera__menu ul {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cabecera__menu a {
	position: relative;
	display: inline-block;
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 15px;
	color: #fff;
	padding: 6px 0;
	transition: color 0.25s ease;
}
.cabecera__menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 0;
	background: var(--hilbar-cyan);
	transition: width 0.28s ease;
}
.cabecera__menu a:hover,
.cabecera__menu a[aria-current="page"] { color: var(--hilbar-cyan-claro); }
.cabecera__menu a:hover::after,
.cabecera__menu a[aria-current="page"]::after { width: 100%; }

.cabecera__acciones { display: flex; align-items: center; gap: 14px; }

.cabecera__cta {
	font-size: 14px;
	padding: 6px 6px 6px 22px;
	gap: 14px;
}
.cabecera__cta i { width: 36px; height: 36px; font-size: 20px; }

/* Hamburguesa: solo en móvil, sin caja ni borde */
.cabecera__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.cabecera__burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.2s ease;
}
.cabecera__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cabecera__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cabecera__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Cabecera fija al bajar */
.cabecera.is-sticky {
	position: fixed;
	background: rgba(12, 35, 64, 0.97);
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 26px rgba(8, 26, 48, 0.28);
	animation: bajaCabecera 0.4s ease forwards;
}
.cabecera.is-sticky .cabecera__fila { min-height: 68px; }
.cabecera.is-sticky .cabecera__logo img { width: 140px; }

@keyframes bajaCabecera {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

/* Cabecera sobre fondo claro (páginas interiores) */
.cabecera.sobre-claro {
	/* relative, no static: el menú móvil se posiciona contra la cabecera */
	position: relative;
	background: var(--hilbar-navy);
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

/*==========================================================================
* Botones
==========================================================================*/
.build_button {
	font-family: var(--heading-font);
	font-weight: 600;
	letter-spacing: 0.01em;
	text-transform: none;
	font-size: 15px;
}
/* Texto siempre en blanco: el cian claro no daba contraste suficiente */
.build_button {
	background: var(--hilbar-azul);
	color: #fff;
}
.build_button::before { background: var(--hilbar-navy); }
.build_button i { background: rgba(255, 255, 255, 0.2); color: #fff; font-size: 18px; }
.build_button:hover { color: #fff; }
.build_button:hover i { background: rgba(255, 255, 255, 0.26); color: #fff; }

.build_button.outline {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
}
.build_button.outline i {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 12px;
	width: 34px;
	height: 34px;
}
.build_button.outline::before { background: var(--hilbar-cyan); }
.build_button.outline::before { background: var(--hilbar-azul); }
.build_button.outline:hover { border-color: var(--hilbar-azul); color: #fff; }
.build_button.outline:hover i { background: rgba(255, 255, 255, 0.22); color: #fff; }

.more_btn:hover { color: var(--hilbar-azul); }

/*==========================================================================
* Portada
==========================================================================*/
/* Entrada de la portada solo con CSS: se ve aunque falle el JavaScript */
.aparece {
	animation: apareceAbajo 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: var(--retraso, 0s);
}
@keyframes apareceAbajo {
	from { opacity: 0; transform: translateY(26px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.aparece { animation: none; }
}

.banner__four {
	padding: calc(var(--cabecera-alto) + 90px) 0 0 0;
	background: var(--hilbar-navy);
}
.banner__four::after { display: none; }

.banner__four-fondo {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}
.banner__four-fondo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: none;
}
.banner__four-fondo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(8, 26, 48, 0.94) 0%, rgba(12, 35, 64, 0.82) 45%, rgba(12, 35, 64, 0.55) 100%);
}

.banner__four-content .subtitle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--hilbar-cyan-claro);
	border: 0;
	padding: 0;
	margin-bottom: 20px;
}
.banner__four-content .subtitle::before {
	content: "";
	width: 34px;
	height: 2px;
	background: var(--hilbar-cyan);
}
.banner__four-content h1 {
	font-size: clamp(2.5rem, 6.6vw, 5.6rem);
	line-height: 1.02;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.banner__four-content h2 {
	font-size: clamp(1.8rem, 4.2vw, 3.5rem);
	line-height: 1.08;
	font-weight: 600;
	margin-bottom: 26px;
	color: transparent;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: var(--hilbar-cyan);
}
.banner__four-content .entradilla {
	color: rgba(255, 255, 255, 0.84);
	max-width: 620px;
	margin-bottom: 34px;
	font-size: 18px;
	line-height: 31px;
}
.banner__four-botones { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.banner__four-sellos {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 40px;
	margin-top: 46px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.banner__four-sellos div {
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	font-family: var(--heading-font);
	font-weight: 500;
}
.banner__four-sellos i { color: var(--hilbar-cyan-claro); font-size: 18px; }

/* Franja de sectores */
.banner__four-brand {
	background: rgba(255, 255, 255, 0.06);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	margin-top: 84px;
}
.banner__four-brand .title { padding: 0 30px 0 40px; min-width: 230px; }
.banner__four-brand .title h4 {
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0;
}
.banner__four-brand .scroll__slider {
	background: transparent;
	padding: 28px 0;
	border-left: 1px solid rgba(255, 255, 255, 0.14);
	margin-right: 0;
}
.banner__four-brand .scroll__slider .text-slide { margin-left: 40px; }
.banner__four-brand .scroll__slider ul { display: flex; }
.banner__four-brand .scroll__slider ul li {
	display: flex;
	align-items: center;
	padding-right: 56px;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.01em;
}
.banner__four-brand .scroll__slider ul li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hilbar-cyan);
	margin-right: 16px;
}

/*==========================================================================
* Quiénes somos
==========================================================================*/
.about__four-left img,
.about__four-right img { border-radius: var(--hilbar-radio); }

.about__four { overflow: hidden; }
.about__four-left { padding-right: 40px; height: 100%; }
.about__four-left picture { display: block; height: 100%; }
.about__four-left img {
	width: 100%;
	height: 100%;
	min-height: 460px;
	object-fit: cover;
}
.about__four-right { margin-top: 0; }
.about__four-right img {
	width: 100%;
	height: 230px;
	object-fit: cover;
}
.about__four-title { padding-left: 0; }
.about__four-title p { max-width: 760px; }
@media (max-width: 991px) {
	.about__four-title { padding-left: 0; }
	.about__four-left { padding-right: 0; height: auto; }
	.about__four-left img { height: 340px; min-height: 0; }
}

.about__four-counter-item .box h2 { color: var(--hilbar-cyan); font-weight: 700; }
.about__four-counter-item .box > span {
	font-family: var(--heading-font);
	font-weight: 600;
	color: var(--hilbar-navy);
	font-size: 15px;
}

.lista-marca { margin-top: 26px; list-style: none; padding: 0; }
.lista-marca li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 12px;
	color: var(--body-color);
}
.lista-marca li i {
	position: absolute;
	left: 0;
	top: 6px;
	color: var(--hilbar-cyan);
	font-size: 17px;
}

.certificado {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	padding: 16px 24px;
	background: var(--color-2);
	border-left: 3px solid var(--hilbar-cyan);
	border-radius: 0 var(--hilbar-radio) var(--hilbar-radio) 0;
}
.certificado i { font-size: 30px; color: var(--hilbar-cyan); }
.certificado strong {
	display: block;
	font-family: var(--heading-font);
	color: var(--hilbar-navy);
	font-size: 15px;
	line-height: 22px;
}
.certificado span { font-size: 14px; line-height: 20px; }

/* Sello ISO 9001 junto al registro sanitario: en fila en escritorio, apilados en móvil */
.certificados {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 28px;
}
.certificados .certificado { margin-top: 0; flex: 1 1 280px; }
.certificado--sello { padding-top: 12px; padding-bottom: 12px; }
.certificado--sello img { width: 96px; height: 96px; flex: 0 0 auto; }

/*==========================================================================
* Servicios (sección oscura)
==========================================================================*/
/* Seccion oscura: la plantilla solo aclaraba el texto dentro de
   .services__four-title, asi que lo hacemos valido para toda la seccion. */
.services__four .subtitle { color: var(--hilbar-cyan-claro); border-color: rgba(255, 255, 255, 0.28); }
.services__four h2,
.services__four h3,
.services__four h4 { color: #fff; }
.services__four p { color: rgba(255, 255, 255, 0.78); }

.services__four .services__one-item {
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--hilbar-radio);
	background: rgba(255, 255, 255, 0.04);
	transition: 0.35s;
	height: 100%;
}
.services__four .services__one-item:hover {
	border-color: var(--hilbar-cyan);
	background: rgba(0, 163, 211, 0.1);
	transform: translateY(-4px);
}
.services__four .services__one-item i { color: var(--hilbar-cyan-claro); }
.services__four .services__one-item h4 { color: #fff; }
.services__four .services__one-item p {
	color: rgba(255, 255, 255, 0.76);
	font-size: 16px;
	line-height: 27px;
	margin-top: 12px;
}
.services__four .services__one-item { padding: 32px 28px 30px; }
.services__four .services__one-item > i { font-size: 46px; }
.services__four .services__one-item h4 {
	margin-top: 20px;
	font-size: 21px;
	line-height: 30px;
}
.services__four .services__one-item:hover > i { color: #fff; }
.services__four .services__one-item:hover h4 { color: #fff; }



/*==========================================================================
* Revelado al entrar en pantalla
* Solo se ocultan los elementos si el JavaScript está activo (clase .js en
* <html>), para que sin JS la web se vea entera.
==========================================================================*/
.js .wow { visibility: hidden; }
.js .wow.animated { visibility: visible; }

.js .item_bounce { opacity: 0; transform: translateY(-24px); }
.js .item_bounce.revelado {
	animation: entraRebote 0.85s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}
@keyframes entraRebote {
	from { opacity: 0; transform: translateY(-24px); }
	to { opacity: 1; transform: none; }
}

.js .title_split_anim .palabra {
	display: inline-block;
	opacity: 0;
	transform: translateX(14px);
}
.js .title_split_anim.revelado .palabra {
	animation: entraPalabra 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: calc(var(--i, 0) * 0.045s);
}
@keyframes entraPalabra {
	from { opacity: 0; transform: translateX(14px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.js .wow,
	.js .item_bounce,
	.js .title_split_anim .palabra {
		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}

/* La cinta de sectores se para cuando no se ve: una animación infinita
   mantiene la CPU ocupada y hace que herramientas como PageSpeed nunca den
   la página por estabilizada. */
.scroll__slider.en-pausa .text_scroll { animation-play-state: paused; }

/*==========================================================================
* Rejilla de servicios (antes era un slider de Swiper)
==========================================================================*/
.servicios__rejilla {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
@media (max-width: 1199px) {
	.servicios__rejilla { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
	.servicios__rejilla { grid-template-columns: 1fr; gap: 18px; }
}

/*==========================================================================
* Proceso
==========================================================================*/
.proceso { background: var(--color-2); }
.proceso__item {
	position: relative;
	background: #fff;
	border: 1px solid var(--border-color-1);
	border-radius: var(--hilbar-radio);
	padding: 38px 30px 34px;
	height: 100%;
	transition: 0.35s;
}
.proceso__item:hover {
	border-color: var(--hilbar-cyan);
	box-shadow: 0 18px 44px rgba(12, 35, 64, 0.1);
}
.proceso__item span.num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--hilbar-navy);
	color: #fff;
	font-family: var(--heading-font);
	font-weight: 700;
	font-size: 17px;
	margin-bottom: 20px;
	transition: 0.35s;
}
.proceso__item:hover span.num { background: var(--hilbar-cyan); color: var(--hilbar-navy); }
.proceso__item h4 { font-size: 20px; color: var(--hilbar-navy); margin-bottom: 10px; }
.proceso__item p { font-size: 16px; line-height: 27px; margin: 0; }

/*==========================================================================
* Nuestro trabajo
==========================================================================*/
.portfolio__four { background: var(--hilbar-navy); padding: 110px 0 0; }
.portfolio__four::after { display: none; }
.portfolio__four h2, .portfolio__four h3 { color: #fff; }

.portfolio__four-area-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 26, 48, 0.1) 0%, rgba(8, 26, 48, 0.88) 100%);
	pointer-events: none;
	z-index: 1;
}
.portfolio__four-area-item-area { z-index: 3; }
.portfolio__one-item-content {
	background: rgba(12, 35, 64, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--hilbar-radio);
	padding: 32px 34px;
	backdrop-filter: blur(6px);
}
.portfolio__four-area-item.active .portfolio__one-item-content { margin: 0 40px 40px; }
@media (max-width: 767px) {
	.portfolio__four-area-item.active .portfolio__one-item-content { margin: 0 18px 18px; padding: 22px 20px; }
}
.portfolio__one-item-content span { color: var(--hilbar-cyan-claro); }
.portfolio__one-item-content h4 { color: #fff; }
.portfolio__one-item-content p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	line-height: 25px;
	margin: 8px 0 0;
}

/*==========================================================================
* Sectores
==========================================================================*/
.sectores__texto { padding-right: 40px; }
.sectores__rejilla {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.sector {
	padding: 30px 26px;
	border: 1px solid var(--border-color-1);
	border-radius: var(--hilbar-radio);
	background: #fff;
	transition: 0.35s;
}
.sector:hover {
	border-color: var(--hilbar-cyan);
	box-shadow: 0 16px 40px rgba(12, 35, 64, 0.09);
	transform: translateY(-3px);
}
.sector__icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--color-2);
	margin-bottom: 18px;
	transition: 0.35s;
}
.sector__icono svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: var(--hilbar-cyan);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: 0.35s;
}
.sector:hover .sector__icono { background: var(--hilbar-cyan); }
.sector:hover .sector__icono svg { stroke: #fff; }
.sector h3 {
	font-size: 19px;
	line-height: 28px;
	color: var(--hilbar-navy);
	margin-bottom: 6px;
}
.sector p { font-size: 15px; line-height: 25px; margin: 0; }

@media (max-width: 991px) {
	.sectores__texto { padding-right: 0; }
}
@media (max-width: 575px) {
	.sectores__rejilla { grid-template-columns: 1fr; gap: 18px; }
}

/*==========================================================================
* Llamada a la acción
==========================================================================*/
.cta__four-area {
	position: relative;
	border-radius: 0;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	padding: 110px 0;
}
.cta__four-area::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(8, 26, 48, 0.94) 0%, rgba(2, 132, 199, 0.78) 100%);
}
.cta__four-area-content { position: relative; z-index: 2; }
.cta__four-area-content h2 { color: #fff; }
.cta__four-area-content p {
	color: rgba(255, 255, 255, 0.9);
	max-width: 620px;
	margin: 18px auto 0;
}

/*==========================================================================
* Bloques reutilizables de páginas interiores
==========================================================================*/
.foto-marco { height: 100%; }
.foto-marco picture { display: block; height: 100%; }
.foto-marco img {
	width: 100%;
	height: 100%;
	min-height: 460px;
	object-fit: cover;
	border-radius: var(--hilbar-radio);
}
.bloque-texto { padding-left: 30px; }
@media (max-width: 991px) {
	.bloque-texto { padding-left: 0; }
	.foto-marco { height: auto; }
	.foto-marco img { height: 320px; min-height: 0; }
}

/* Tarjetas de "cómo trabajamos" fuera del slider */
.services__four .row > [class*="col-"] > .services__one-item { height: 100%; }

.trampa { position: absolute; left: -9999px; }

/*==========================================================================
* Contacto
==========================================================================*/
.contacto { background: var(--color-2); }

.contacto__dato {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--border-color-1);
	border-radius: var(--hilbar-radio);
	padding: 26px 24px;
	height: 100%;
	transition: 0.35s;
}
.contacto__dato:hover { border-color: var(--hilbar-cyan); box-shadow: 0 16px 40px rgba(12, 35, 64, 0.08); }
.contacto__dato i {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--color-2);
	color: var(--hilbar-cyan);
	font-size: 22px;
}
.contacto__dato h5 {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-5);
	margin-bottom: 6px;
}
.contacto__dato p, .contacto__dato a {
	font-family: var(--heading-font);
	font-weight: 600;
	color: var(--hilbar-navy);
	font-size: 17px;
	line-height: 26px;
	margin: 0;
}
.contacto__dato a:hover { color: var(--hilbar-azul); }

.contacto__form {
	background: #fff;
	border: 1px solid var(--border-color-1);
	border-radius: var(--hilbar-radio);
	padding: 40px;
}
.contacto__form h2 {
	font-size: 24px;
	line-height: 34px;
	color: var(--hilbar-navy);
}
.contacto__form label {
	display: block;
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 14px;
	color: var(--hilbar-navy);
	margin-bottom: 8px;
}
.contacto__form input,
.contacto__form textarea {
	width: 100%;
	border: 1px solid var(--border-color-2);
	border-radius: var(--hilbar-radio);
	padding: 13px 16px;
	font-size: 16px;
	font-family: var(--body-font);
	color: var(--hilbar-navy);
	background: #fff;
	transition: 0.25s;
}
.contacto__form input:focus,
.contacto__form textarea:focus {
	border-color: var(--hilbar-cyan);
	box-shadow: 0 0 0 3px rgba(0, 163, 211, 0.15);
	outline: none;
}
.contacto__form .campo { margin-bottom: 20px; }
.contacto__form .consentimiento {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 22px;
}
.contacto__form .consentimiento input { width: auto; margin-top: 4px; flex: 0 0 auto; }
.contacto__form .consentimiento label { font-weight: 400; font-family: var(--body-font); margin: 0; }

/* Información básica de protección de datos, encima de la casilla */
.info-basica {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: var(--color-2);
	border-radius: var(--hilbar-radio);
	font-size: 13px;
	line-height: 19px;
}
.info-basica > div { display: flex; gap: 12px; padding: 3px 0; }
.info-basica dt {
	flex: 0 0 140px;
	font-family: var(--heading-font);
	font-weight: 600;
	color: var(--hilbar-navy);
}
.info-basica dd { margin: 0; color: var(--body-color); }
.info-basica a { color: var(--hilbar-azul); text-decoration: underline; }
@media (max-width: 575px) {
	.info-basica > div { flex-wrap: wrap; gap: 0 12px; padding: 4px 0; }
	.info-basica dt { flex-basis: 100%; }
}
.contacto__form button {
	border: none;
	background: var(--hilbar-navy);
	color: #fff;
	font-family: var(--heading-font);
	font-weight: 600;
	padding: 15px 34px;
	border-radius: var(--hilbar-radio);
	transition: 0.3s;
	cursor: pointer;
}
.contacto__form button:hover { background: var(--hilbar-azul); }

.contacto__mapa {
	position: relative;
	min-height: 320px;
	height: 100%;
	border-radius: var(--hilbar-radio);
	overflow: hidden;
	background: var(--color-3);
}
.contacto__mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/*==========================================================================
* Pie
==========================================================================*/
.footer__four { background: var(--hilbar-deep); }
.footer__four-widget .logo img { width: 190px; }
.footer__four-widget h5 { color: rgba(255, 255, 255, 0.78); font-weight: 500; line-height: 28px; font-size: 16px; }

/* Sello ISO en el pie: el logotipo es oscuro, así que va sobre un disco blanco */
.pie__sello {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 24px;
}
.pie__sello img {
	width: 100px;
	height: 100px;
	flex: 0 0 auto;
	padding: 6px;
	background: #fff;
	border-radius: 50%;
}
.pie__sello span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 21px;
}
.footer__four-widget > h4 { color: #fff; font-size: 18px; line-height: 28px; margin-bottom: 16px; }
.footer__four-area { padding-top: 72px; padding-bottom: 72px; }
.footer__four .footer-widget-menu ul li a { color: rgba(255, 255, 255, 0.72); font-size: 16px; }
.footer__four-widget-address h6 { color: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 26px; }
.footer__four-widget-address h4 { margin-top: 16px; }
.footer__four-widget-address h4 a {
	color: var(--hilbar-cyan-claro);
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 19px;
	text-decoration: none;
}
.footer__four-widget-address h6 a { color: rgba(255, 255, 255, 0.72); }
.footer__four-widget-address h4 a:hover,
.footer__four-widget-address h6 a:hover,
.footer-widget-menu ul li a:hover,
.footer-widget-menu ul li a[aria-current="page"] { color: var(--hilbar-cyan-claro); }

.copyright__area.four { background: var(--hilbar-deep); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.copyright__area-content p { color: rgba(255, 255, 255, 0.62); font-size: 15px; margin: 0; }
.copyright__area-content a:hover { color: var(--hilbar-cyan-claro); }

/*==========================================================================
* Aviso de cookies
==========================================================================*/
.cookie__bar {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 998;
	display: none;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	max-width: 780px;
	margin: 0 auto;
	background: var(--hilbar-navy);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	border-radius: var(--hilbar-radio);
	padding: 16px 20px;
	box-shadow: 0 18px 50px rgba(8, 26, 48, 0.4);
}
.cookie__bar.show { display: flex; }
.cookie__bar p {
	flex: 1 1 380px;
	margin: 0;
	color: #fff;
	font-size: 14px;
	line-height: 22px;
}
.cookie__bar a { color: var(--hilbar-cyan-claro); text-decoration: underline; }
.cookie__bar a:hover { color: #fff; }
.cookie__bar-accept {
	border: none;
	background: var(--hilbar-cyan);
	color: var(--hilbar-navy);
	font-family: var(--heading-font);
	font-weight: 700;
	font-size: 14px;
	padding: 10px 26px;
	border-radius: var(--hilbar-radio);
	cursor: pointer;
	white-space: nowrap;
	transition: 0.25s;
}
.cookie__bar-accept:hover { background: #fff; }
.cookie__bar-botones { display: flex; gap: 10px; flex-wrap: wrap; }
/* «Más info» con el mismo peso visual que «Aceptar»: no se empuja a aceptar */
.cookie__bar a.cookie__bar-info {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--hilbar-cyan);
	color: #fff;
	font-family: var(--heading-font);
	font-weight: 700;
	font-size: 14px;
	line-height: 20px;
	padding: 9px 22px;
	border-radius: var(--hilbar-radio);
	text-decoration: none;
	white-space: nowrap;
	transition: 0.25s;
}
.cookie__bar a.cookie__bar-info:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/*==========================================================================
* Botón volver arriba
==========================================================================*/
.scroll-up {
	border: none;
	padding: 0;
	background: rgba(12, 35, 64, 0.9);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.scroll-up::after {
	font-family: "hilbaricons";
	content: "\f191";
	color: var(--hilbar-cyan-claro);
	font-size: 18px;
}
.scroll-up:hover::after { color: #fff; }
.scroll-circle path { stroke: var(--hilbar-cyan); }

/*==========================================================================
* Páginas interiores (legales, 404, gracias)
==========================================================================*/
.cabecera__pagina {
	background: var(--hilbar-navy);
	padding: 58px 0 62px;
	position: relative;
	overflow: hidden;
}
.cabecera__pagina::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -120px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: rgba(0, 163, 211, 0.12);
}
.cabecera__pagina .container { position: relative; z-index: 2; }
.cabecera__pagina .miga {
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 14px;
}
.cabecera__pagina .miga a { color: var(--hilbar-cyan-claro); }
.cabecera__pagina .miga a:hover { color: #fff; }
.cabecera__pagina .miga span[aria-hidden] { margin: 0 8px; }
.cabecera__pagina h1 {
	color: #fff;
	font-size: clamp(1.9rem, 4vw, 2.7rem);
	line-height: 1.15;
	margin: 0;
}
.cabecera__pagina p {
	color: rgba(255, 255, 255, 0.76);
	max-width: 620px;
	margin: 14px 0 0;
	font-size: 17px;
}

.legal { padding: 70px 0 90px; }
.legal.estrecho .container { max-width: 880px; }

.legal h2 {
	font-size: 21px;
	line-height: 30px;
	color: var(--hilbar-navy);
	margin: 42px 0 14px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
	font-size: 17px;
	line-height: 26px;
	font-weight: 600;
	color: var(--hilbar-navy);
	margin: 28px 0 12px;
}
.legal__fecha {
	margin-top: 40px;
	padding-top: 18px;
	border-top: 1px solid var(--border-color-1);
	font-size: 14px;
}
.legal p { color: var(--body-color); margin-bottom: 16px; }
.legal ul { margin: 0 0 18px 20px; list-style: disc; }
.legal li { color: var(--body-color); margin-bottom: 8px; }
.legal a { color: var(--hilbar-azul); text-decoration: underline; }
.legal a:hover { color: var(--hilbar-cyan); }
/* Los botones (gracias, 404) no son enlaces de texto: conservan su estilo */
.legal a.build_button,
.legal a.build_button:hover { color: #fff; text-decoration: none; }
.legal strong { color: var(--hilbar-navy); }

/* Ficha de datos identificativos */
.legal__caja {
	background: var(--color-2);
	border-left: 3px solid var(--hilbar-cyan);
	border-radius: 0 var(--hilbar-radio) var(--hilbar-radio) 0;
	padding: 30px 32px;
	margin-bottom: 20px;
}
.legal__caja h2 { margin-top: 0; }
.legal__caja p:last-child { margin-bottom: 0; }

.legal__datos { margin: 0; }
.legal__datos > div {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	padding: 11px 0;
	border-bottom: 1px solid var(--border-color-2);
}
.legal__datos > div:last-child { border-bottom: 0; padding-bottom: 0; }
.legal__datos dt {
	flex: 0 0 210px;
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-5);
}
.legal__datos dd {
	flex: 1 1 260px;
	margin: 0;
	font-family: var(--heading-font);
	font-weight: 600;
	color: var(--hilbar-navy);
	font-size: 16px;
	line-height: 25px;
}

/* Tabla de cookies */
.legal__tabla { overflow-x: auto; margin-bottom: 22px; }
.legal__tabla table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 15px;
}
.legal__tabla th, .legal__tabla td {
	padding: 14px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--border-color-1);
}
.legal__tabla thead th {
	background: var(--color-2);
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hilbar-navy);
}
.legal__tabla td { color: var(--body-color); line-height: 24px; }
.legal__tabla tbody th {
	width: 26%;
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 15px;
	line-height: 22px;
	color: var(--hilbar-navy);
}
/* Criterios que agrupan varias filas (tabla de tipos de cookies) */
.legal__tabla tbody th[rowspan] { background: var(--color-2); }

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* 404 y gracias */
.legal__centro { text-align: center; padding: 20px 0 30px; }
.legal__centro p { max-width: 520px; margin: 0 auto 32px; }
.legal__centro-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--color-2);
	color: var(--hilbar-cyan);
	font-size: 36px;
	margin-bottom: 28px;
}

@media (max-width: 575px) {
	.legal { padding: 50px 0 70px; }
	.legal__caja { padding: 24px 22px; }
	.legal__datos dt { flex: 1 1 100%; }
}

/*==========================================================================
* Utilidades
==========================================================================*/
.text__slide .scroll__slider ul li a { color: var(--hilbar-navy); }
.text__slide .scroll__slider ul li a:hover { color: var(--hilbar-azul); }

/*==========================================================================
* Responsive
==========================================================================*/
@media (max-width: 1199px) {
	.banner__four-brand { margin-top: 56px; }
	.banner__four-brand .title { display: none; }
	.banner__four-brand .scroll__slider { border-left: 0; padding: 24px 0; }
	.banner__four-brand .scroll__slider .text-slide { margin-left: 0; }
}

@media (max-width: 991px) {
	:root { --cabecera-alto: 72px; }
	/* La plantilla deja 120px arriba y abajo: demasiado en pantallas pequeñas */
	.section-padding { padding: 80px 0; }
	.section-padding.pt-0 { padding-top: 0; }
	.cabecera__pagina { padding: 42px 0 46px; }
	.legal { padding: 50px 0 70px; }
	.cabecera__burger { display: flex; }
	.cabecera__menu {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--hilbar-navy);
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 16px 34px rgba(8, 26, 48, 0.3);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
	}
	/* Alto de sobra para los cinco enlaces, sin pasarse de la pantalla */
	.cabecera__menu.abierto {
		max-height: min(440px, calc(100vh - var(--cabecera-alto)));
		overflow-y: auto;
	}
	.cabecera__menu ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 4px 0;
	}
	.cabecera__menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
	.cabecera__menu li:last-child { border-bottom: 0; }
	.cabecera__menu a {
		display: block;
		/* line-height fijo: si no, el interlineado del cuerpo descuadra el enlace */
		padding: 13px 24px;
		font-size: 16px;
		line-height: 24px;
		font-weight: 500;
	}
	.cabecera__menu a::after { display: none; }
	.banner__four { padding-top: 175px; }
	.contacto__form { padding: 28px 22px; }
}

@media (max-width: 767px) {
	body { font-size: 16px; line-height: 27px; }
	.section-padding { padding: 62px 0; }
	.section-padding.pt-0 { padding-top: 0; }
	.cabecera__pagina { padding: 34px 0 38px; }
	.cabecera__cta { display: none; }
	.banner__four { padding-top: 160px; }
	.banner__four-content .entradilla { font-size: 16px; line-height: 28px; }
	.banner__four-sellos { gap: 12px 24px; margin-top: 32px; }
	.banner__four-botones .build_button { width: 100%; justify-content: space-between; }
	.portfolio__four { padding-top: 70px; }
	.cookie__bar { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
	.cookie__bar-botones { width: 100%; }
	.cookie__bar-botones > * { flex: 1 1 0; justify-content: center; }
	.cookie__bar-accept { width: 100%; }
}

/*=============== Movimiento reducido ===============*/
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.item_bounce, .title_split_anim { opacity: 1 !important; transform: none !important; }
	.wow { visibility: visible !important; animation: none !important; }
}

/*=============== Impresión ===============*/
@media print {
	.cabecera, .cookie__bar, .scroll-up, .banner__four-brand { display: none !important; }
	body { color: #000; }
}
