/* ==========================================================
   WEBART FRAMEWORK
   Proyecto : Electric Vial SpA
   Archivo  : projects.css
   Autor    : WebArt SpA
========================================================== */

/* ==========================================================
   PROYECTO INDIVIDUAL
========================================================== */

.wa-project-single {
	background: var(--wa-color-white);
}

.wa-project-single__article {
	margin: 0;
}

/* ==========================================================
   CABECERA DEL PROYECTO
========================================================== */

.wa-project-single__header {
	padding: 72px 0 40px;
	background: var(--wa-color-white);
}

.wa-project-single__header .wa-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.wa-project-single__eyebrow {
	margin-bottom: 12px;
	color: var(--wa-color-primary);
	font-size: 0.8125rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wa-project-single__title {
	max-width: 920px;
	margin: 0 !important;
	color: var(--wa-color-black-soft);
	font-size: clamp(3rem, 5vw, 5rem);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.wa-project-single__line {
	width: 56px;
	height: 4px;
	margin: 24px 0;
	background: var(--wa-color-primary);
	border-radius: var(--wa-radius-round);
}

.wa-project-single__excerpt {
	max-width: 760px;
	margin: 0;
	color: var(--wa-color-text);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.wa-project-single__excerpt p {
	margin: 0;
}

.wa-project-single__type {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	margin-top: 20px;
	padding: 6px 14px;
	border: 1px solid rgba(5, 5, 5, 0.12);
	border-radius: var(--wa-radius-round);
	background: var(--wa-color-gray-light);
	color: var(--wa-color-black-soft);
	font-size: 0.8125rem;
	font-weight: 700;
}

/* ==========================================================
   IMAGEN DESTACADA
========================================================== */

.wa-project-single__featured {
	width: min(
		calc(100% - (var(--wa-space-3) * 2)),
		var(--wa-container)
	);
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--wa-radius-lg);
	background: var(--wa-color-gray-light);
	box-shadow: var(--wa-shadow-sm);
	aspect-ratio: 16 / 9;
}

.wa-project-single__featured-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* ==========================================================
   CUERPO DEL PROYECTO
========================================================== */

.wa-project-single__body {
	padding: 64px 0 96px;
}

.wa-project-single__content {
	max-width: 920px !important;
}

.wa-project-single__content > *:first-child {
	margin-top: 0;
}

.wa-project-single__content h2,
.wa-project-single__content h3,
.wa-project-single__content h4 {
	color: var(--wa-color-black-soft);
}

.wa-project-single__content h2 {
	margin: 48px 0 18px;
	font-size: clamp(2rem, 3vw, 2.8rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.wa-project-single__content h3 {
	margin: 34px 0 14px;
	font-size: 1.5rem;
	line-height: 1.2;
}

.wa-project-single__content p,
.wa-project-single__content li {
	color: var(--wa-color-text);
	font-size: 1rem;
	line-height: 1.75;
}

.wa-project-single__content p {
	margin: 0 0 20px;
}

.wa-project-single__content ul,
.wa-project-single__content ol {
	margin: 24px 0 36px;
	padding-left: 24px;
}

.wa-project-single__content li + li {
	margin-top: 8px;
}

.wa-project-single__content strong {
	color: var(--wa-color-black-soft);
}

/* ==========================================================
   GALERÍA NATIVA DE WORDPRESS
========================================================== */

.wa-project-single__content .wp-block-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px !important;
	margin: 48px 0 0 !important;
}

.wa-project-single__content .wp-block-gallery figure,
.wa-project-single__content .wp-block-gallery .wp-block-image {
	position: relative;
	width: 100% !important;
	margin: 0 !important;
	overflow: hidden;
	border-radius: var(--wa-radius-md);
	background: var(--wa-color-gray-light);
	aspect-ratio: 4 / 3;
}

.wa-project-single__content .wp-block-gallery img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition:
		transform 0.45s ease,
		filter 0.45s ease;
}

.wa-project-single__content .wp-block-gallery figure:hover img,
.wa-project-single__content .wp-block-gallery .wp-block-image:hover img {
	transform: scale(1.035);
	filter: brightness(0.86);
}

/* Cursor visual cuando la ampliación está activa */
.wa-project-single__content .wp-block-gallery a,
.wa-project-single__content .wp-block-gallery button {
	cursor: zoom-in;
}

/* ==========================================================
   GRILLA DE PROYECTOS
   Usada por el shortcode [wa_proyectos]
========================================================== */

.wa-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.wa-project-card {
	min-width: 0;
	overflow: hidden;
	border-radius: var(--wa-radius-md);
	background: var(--wa-color-black);
}

.wa-project-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.wa-project-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--wa-color-black);
}

.wa-project-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition:
		transform 0.55s ease,
		filter 0.45s ease;
}

.wa-project-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(255, 196, 0, 0);
	opacity: 0;
	transition:
		background-color 0.4s ease,
		opacity 0.4s ease;
}

.wa-project-card__plus {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border: 2px solid var(--wa-color-black);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.86);
	transform: scale(0.72) rotate(-30deg);
	transition:
		transform 0.42s ease,
		background-color 0.3s ease;
}

.wa-project-card__plus span {
	position: absolute;
	display: block;
	width: 22px;
	height: 2px;
	background: var(--wa-color-black);
	border-radius: 999px;
}

.wa-project-card__plus span:last-child {
	transform: rotate(90deg);
}

.wa-project-card__meta {
	position: absolute;
	right: 20px;
	bottom: 20px;
	left: 20px;
	transform: translateY(12px);
	opacity: 0;
	text-align: left;
	transition:
		transform 0.4s ease,
		opacity 0.4s ease;
}

.wa-project-card__category {
	display: block;
	margin-bottom: 5px;
	color: var(--wa-color-black);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.wa-project-card__title {
	margin: 0;
	color: var(--wa-color-black);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.18;
}

.wa-project-card:hover .wa-project-card__image,
.wa-project-card__link:focus-visible .wa-project-card__image {
	transform: scale(1.06);
	filter: contrast(0.92);
}

.wa-project-card:hover .wa-project-card__overlay,
.wa-project-card__link:focus-visible .wa-project-card__overlay {
	background: rgba(255, 196, 0, 0.78);
	opacity: 1;
}

.wa-project-card:hover .wa-project-card__plus,
.wa-project-card__link:focus-visible .wa-project-card__plus {
	transform: scale(1) rotate(0);
	background: var(--wa-color-white);
}

.wa-project-card:hover .wa-project-card__meta,
.wa-project-card__link:focus-visible .wa-project-card__meta {
	transform: translateY(0);
	opacity: 1;
}

.wa-projects__empty {
	margin: 0;
	padding: 32px;
	border: 1px solid rgba(5, 5, 5, 0.08);
	border-radius: var(--wa-radius-md);
	background: var(--wa-color-gray-light);
	color: var(--wa-color-text);
	text-align: center;
}

/* ==========================================================
   RESPONSIVE — TABLET
========================================================== */

@media (max-width: 1024px) {

	.wa-project-single__header {
		padding: 56px 0 32px;
	}

	.wa-project-single__title {
		max-width: 780px;
	}

	.wa-project-single__featured {
		aspect-ratio: 16 / 10;
	}

	.wa-project-single__body {
		padding: 56px 0 80px;
	}

	.wa-project-single__content .wp-block-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.wa-projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ==========================================================
   RESPONSIVE — MÓVIL
========================================================== */

@media (max-width: 767px) {

	.wa-project-single__header {
		padding: 44px 0 28px;
	}

	.wa-project-single__title {
		font-size: clamp(2.5rem, 11vw, 3.5rem);
	}

	.wa-project-single__excerpt {
		font-size: 1rem;
	}

	.wa-project-single__featured {
		width: calc(100% - 32px);
		border-radius: var(--wa-radius-md);
		aspect-ratio: 4 / 3;
	}

	.wa-project-single__body {
		padding: 44px 0 64px;
	}

	.wa-project-single__content {
		width: calc(100% - 32px) !important;
	}

	.wa-project-single__content h2 {
		margin-top: 38px;
	}

	.wa-project-single__content .wp-block-gallery {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
		margin-top: 36px !important;
	}

	.wa-project-single__content .wp-block-gallery figure,
	.wa-project-single__content .wp-block-gallery .wp-block-image {
		aspect-ratio: 4 / 3;
	}

	.wa-projects-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.wa-project-card__overlay {
		background: linear-gradient(
			180deg,
			transparent 35%,
			rgba(255, 196, 0, 0.84) 100%
		);
		opacity: 1;
	}

	.wa-project-card__plus {
		width: 54px;
		height: 54px;
		transform: none;
	}

	.wa-project-card__meta {
		transform: none;
		opacity: 1;
	}
}

/* ==========================================================
   AJUSTES DE TARJETAS DE PROYECTOS
========================================================== */

.wa-projects .wa-project-card__media {
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--wa-color-black);
}

.wa-projects .wa-project-card__media > img,
.wa-projects .wa-project-card__image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
}

/* Información inferior del hover */
.wa-projects .wa-project-card__meta {
	position: absolute;
	right: 22px;
	bottom: 20px;
	left: 22px;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;

	transform: translateY(14px);
	opacity: 0;
	text-align: left;
}

/* Categoría */
.wa-projects .wa-project-card__category {
	display: block;
	margin: 0 !important;

	color: var(--wa-color-black) !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

/* Título */
.wa-projects .wa-project-card__title {
	display: block;
	width: 100%;
	margin: 0 !important;

	color: var(--wa-color-black) !important;
	font-size: 1.2rem !important;
	font-weight: 800 !important;
	line-height: 1.18 !important;
	letter-spacing: -0.02em !important;
}

.wa-projects .wa-project-card:hover .wa-project-card__meta,
.wa-projects .wa-project-card__link:focus-visible .wa-project-card__meta {
	transform: translateY(0);
	opacity: 1;
}


/* ==========================================================
   SECCIÓN PROYECTOS EN HOME
========================================================== */

.wa-projects {
	--width: 100%;

	width: 100% !important;
	padding: 80px 0 26px !important;
	background: var(--wa-color-white);
}

.wa-projects .wa-projects__inner {
	--width: 100%;

	display: flex !important;
	flex-direction: column !important;

	width: min(
		calc(100% - (var(--wa-space-3) * 2)),
		var(--wa-container)
	) !important;

	max-width: var(--wa-container) !important;
	margin-inline: auto !important;
}

.wa-projects__header {
	--width: 100%;

	display: flex !important;
	flex-direction: row !important;
	align-items: flex-end !important;
	justify-content: space-between !important;

	width: 100% !important;
	margin-bottom: 32px !important;
	gap: 24px !important;
}

.wa-projects__heading {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
}

.wa-projects__heading .wa-eyebrow {
	margin: 0 0 8px !important;
	color: var(--wa-color-primary) !important;
	font-size: 0.8125rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wa-projects__heading h2,
.wa-projects__heading .elementor-heading-title {
	margin: 0 !important;
	color: var(--wa-color-black-soft) !important;
	font-size: clamp(2.2rem, 3vw, 3.3rem) !important;
	line-height: 1.05 !important;
	letter-spacing: -0.035em;
}

.wa-projects__line {
	width: 56px !important;
	max-width: 56px !important;
	min-width: 56px;
	height: 4px;
	min-height: 4px !important;
	margin-top: 18px !important;
	padding: 0 !important;
	background: var(--wa-color-primary);
	border-radius: var(--wa-radius-round);
}

/* ==========================================================
   BOTÓN VER MÁS PROYECTOS
========================================================== */

.wa-projects__header > .wa-projects__button {
	--width: auto;

	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 0 0 auto !important;
	align-self: flex-end !important;
}

.wa-projects__button .elementor-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	min-width: 184px;
	min-height: 48px;
	padding: 12px 22px !important;

	border: 1px solid rgba(5, 5, 5, 0.25) !important;
	border-radius: var(--wa-radius-sm) !important;
	background: transparent !important;
	color: var(--wa-color-black-soft) !important;

	font-weight: 700;
	line-height: 1 !important;
	text-align: center !important;
}

.wa-projects__button .elementor-button-content-wrapper {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 100%;
	height: 100%;
}

.wa-projects__button .elementor-button-text {
	display: block;
	line-height: 1 !important;
}

.wa-projects__button .elementor-button:hover,
.wa-projects__button .elementor-button:focus-visible {
	border-color: var(--wa-color-primary) !important;
	background: var(--wa-color-primary) !important;
	color: var(--wa-color-black) !important;
}

@media (max-width: 767px) {

	.wa-projects {
		padding: 56px 0 72px !important;
	}

	.wa-projects__header {
		flex-direction: column !important;
		align-items: flex-start !important;
		margin-bottom: 24px !important;
	}

	.wa-projects__button {
		width: 100%;
	}

	.wa-projects__button .elementor-button {
		width: 100%;
	}
}

/* ==========================================================
   HOME PROYECTOS — CENTRADO REAL DEL BOTÓN +
========================================================== */

@media (max-width: 1024px) {

	.wa-projects:not(.wa-project-archive) .wa-project-card__plus,
	.wa-projects:not(.wa-project-archive) .wa-project-card:hover .wa-project-card__plus,
	.wa-projects:not(.wa-project-archive)
	.wa-project-card__link:focus-visible
	.wa-project-card__plus {
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
	}
}

/* ==========================================================
   PROYECTOS — TABLET Y DISPOSITIVOS TÁCTILES
========================================================== */

@media (max-width: 1024px) {

	/* Overlay visible permanentemente, sin amarillo */
	.wa-projects .wa-project-card__overlay,
	.wa-projects .wa-project-card:hover .wa-project-card__overlay,
	.wa-projects .wa-project-card__link:focus-visible .wa-project-card__overlay {
		opacity: 1 !important;

		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.82) 0%,
			rgba(0, 0, 0, 0.48) 34%,
			rgba(0, 0, 0, 0.08) 68%,
			transparent 100%
		) !important;
	}

	/* Texto visible sin hover */
	.wa-projects .wa-project-card__meta,
	.wa-projects .wa-project-card:hover .wa-project-card__meta,
	.wa-projects .wa-project-card__link:focus-visible .wa-project-card__meta {
		transform: none !important;
		opacity: 1 !important;
	}

	/* Categoría y título blancos */
	.wa-projects .wa-project-card__category,
	.wa-projects .wa-project-card__title {
		color: var(--wa-color-white) !important;
	}

	/* Círculo transparente con borde blanco */
	.wa-projects .wa-project-card__plus,
	.wa-projects .wa-project-card:hover .wa-project-card__plus,
	.wa-projects .wa-project-card__link:focus-visible .wa-project-card__plus {
		opacity: 1 !important;
		transform: none !important;

		border-color: var(--wa-color-white) !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	/* Signo + blanco */
	.wa-projects .wa-project-card__plus span {
		background: var(--wa-color-white) !important;
	}

	/* Sin efectos exclusivos de mouse */
	.wa-projects .wa-project-card__image,
	.wa-projects .wa-project-card:hover .wa-project-card__image,
	.wa-projects .wa-project-card__link:focus-visible .wa-project-card__image {
		transform: none !important;
		filter: none !important;
	}

	.wa-projects .wa-project-card__overlay,
	.wa-projects .wa-project-card__plus,
	.wa-projects .wa-project-card__meta,
	.wa-projects .wa-project-card__image {
		transition: none !important;
	}
}

/* ==========================================================
   PROYECTOS — MÓVIL
========================================================== */

@media (max-width: 767px) {

	.wa-projects .wa-project-card__meta {
		right: 18px;
		bottom: 18px;
		left: 18px;
	}

	.wa-projects .wa-project-card__category {
		font-size: 0.7rem !important;
	}

	.wa-projects .wa-project-card__title {
		font-size: 1.1rem !important;
		line-height: 1.2 !important;
	}

	.wa-projects .wa-project-card__plus {
		width: 54px !important;
		height: 54px !important;
	}
}

/* ==========================================================
   ARCHIVO DE PROYECTOS
========================================================== */

.wa-project-archive {
	width: 100%;
	background: var(--wa-color-white);
}

/* Encabezado */
.wa-project-archive__header {
	padding: 76px 0 42px;
	background: #f6f6f3;
}

.wa-project-archive__header-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0 !important;
	row-gap: 0 !important;
}

.wa-project-archive__eyebrow {
	margin: 0 0 10px;
	color: var(--wa-color-primary);
	font-size: 0.8125rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wa-project-archive__eyebrow,
.wa-project-archive__eyebrow p {
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-bottom: 10px !important;
	margin-left: 0 !important;
	padding: 0 !important;
}

.wa-project-archive__eyebrow p {
	margin-bottom: 0 !important;
}

.wa-project-archive__title {
	margin-top: 0 !important;
}

.wa-project-archive__title {
	max-width: 900px;
	margin: 0 !important;
	color: var(--wa-color-black-soft);
	font-size: clamp(3rem, 5vw, 5rem);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.wa-project-archive__line {
	width: 56px;
	height: 4px;
	margin: 24px 0;
	background: var(--wa-color-primary);
	border-radius: var(--wa-radius-round);
}

.wa-project-archive__intro {
	max-width: 760px;
	margin: 0;
	color: var(--wa-color-text);
	font-size: 1.05rem;
	line-height: 1.65;
}

/* Contenido y grilla */
.wa-project-archive__content {
	padding: 56px 0 96px;
}

.wa-project-archive__content > .wa-container {
	width: min(
		calc(100% - (var(--wa-space-3) * 2)),
		var(--wa-container)
	);
	max-width: var(--wa-container);
	margin-inline: auto;
}

.wa-project-archive .wa-projects-grid {
	gap: 22px;
}

/* ==========================================================
   PAGINACIÓN
========================================================== */

.wa-project-archive .navigation.pagination {
	margin-top: 48px;
}

.wa-project-archive .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.wa-project-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid rgba(5, 5, 5, 0.14);
	border-radius: var(--wa-radius-sm);
	background: var(--wa-color-white);
	color: var(--wa-color-black-soft);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.wa-project-archive .page-numbers.current,
.wa-project-archive .page-numbers:hover,
.wa-project-archive .page-numbers:focus-visible {
	border-color: var(--wa-color-primary);
	background: var(--wa-color-primary);
	color: var(--wa-color-black);
}

/* ==========================================================
   ARCHIVO — TABLET
========================================================== */

@media (max-width: 1024px) {

	.wa-project-archive__header {
		padding: 58px 0 36px;
	}

	.wa-project-archive__content {
		padding: 44px 0 80px;
	}
}

/* ==========================================================
   ARCHIVO — MÓVIL
========================================================== */

@media (max-width: 767px) {

	.wa-project-archive__header {
		padding: 46px 0 32px;
	}

	.wa-project-archive__header-inner,
	.wa-project-archive__content > .wa-container {
		width: calc(100% - 32px);
	}

	.wa-project-archive__title {
		font-size: clamp(2.6rem, 12vw, 3.5rem);
	}

	.wa-project-archive__intro {
		font-size: 1rem;
	}

	.wa-project-archive__content {
		padding: 36px 0 64px;
	}

	.wa-project-archive .wa-projects-grid {
		gap: 16px;
	}
}

/* ==========================================================
   TARJETAS ARCHIVE — AJUSTE OVERLAY
========================================================== */

.wa-project-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 18px 18px 20px !important;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.04) 0%,
		rgba(0, 0, 0, 0.12) 38%,
		rgba(0, 0, 0, 0.58) 100%
	);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.wa-project-card:hover .wa-project-card__overlay,
.wa-project-card:focus-within .wa-project-card__overlay {
	opacity: 1;
	visibility: visible;
}

.wa-project-card__plus {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 2px solid #111;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #111;
	font-size: 2rem;
	font-weight: 300;
	line-height: 1;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
	transition: transform 0.28s ease, background 0.28s ease;
}

.wa-project-card:hover .wa-project-card__plus,
.wa-project-card:focus-within .wa-project-card__plus {
	transform: translate(-50%, -50%) scale(1);
}

.wa-project-card__tax {
	margin: 0 0 8px !important;
	color: #111 !important;
	font-size: 0.82rem !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.wa-project-card__title {
	margin: 0 !important;
	color: #111 !important;
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	line-height: 1.18 !important;
	letter-spacing: -0.02em;
	max-width: 92%;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* comportamiento móvil/tablet se mantiene visible */
@media (max-width: 1024px) {
	.wa-project-card__overlay {
		opacity: 1;
		visibility: visible;
		padding: 16px !important;
		background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.06) 0%,
			rgba(0, 0, 0, 0.18) 44%,
			rgba(0, 0, 0, 0.70) 100%
		);
	}

	.wa-project-card__plus {
		width: 58px;
		height: 58px;
		border: 2px solid rgba(255,255,255,0.9);
		background: transparent;
		color: #fff;
		box-shadow: none;
	}

	.wa-project-card__tax,
	.wa-project-card__title {
		color: #fff !important;
	}

	.wa-project-card__title {
		font-size: 0.98rem !important;
		line-height: 1.2 !important;
		-webkit-line-clamp: 3;
	}
}

/* ==========================================================
   ARCHIVE PROYECTOS — OVERLAY Y TEXTOS
========================================================== */

/* Más aire entre categoría y título */
.wa-project-archive .wa-project-card__meta {
	right: 22px !important;
	bottom: 20px !important;
	left: 22px !important;

	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 8px !important;

	max-width: calc(100% - 44px);
}

/* Categoría */
.wa-project-archive .wa-project-card__category {
	display: block !important;
	margin: 0 !important;

	font-size: 0.72rem !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	letter-spacing: 0.07em !important;
	text-transform: uppercase;
}

/* Título */
.wa-project-archive .wa-project-card__title {
	display: -webkit-box !important;
	width: 100%;
	max-width: 100%;
	margin: 0 !important;

	font-size: 1.08rem !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.015em !important;

	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

/* ==========================================================
   ARCHIVE — TABLET Y MÓVIL
========================================================== */

@media (max-width: 1024px) {

	/*
	 * En dispositivos sin mouse:
	 * overlay y textos visibles permanentemente.
	 */
	.wa-project-archive .wa-project-card__overlay,
	.wa-project-archive .wa-project-card:hover .wa-project-card__overlay,
	.wa-project-archive .wa-project-card__link:focus-visible
	.wa-project-card__overlay {
		opacity: 1 !important;
		visibility: visible !important;

		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.82) 0%,
			rgba(0, 0, 0, 0.42) 38%,
			rgba(0, 0, 0, 0.05) 68%,
			transparent 100%
		) !important;
	}

	/* Texto visible desde el inicio */
	.wa-project-archive .wa-project-card__meta,
	.wa-project-archive .wa-project-card:hover .wa-project-card__meta,
	.wa-project-archive .wa-project-card__link:focus-visible
	.wa-project-card__meta {
		transform: none !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	/* Categoría y título blancos */
	.wa-project-archive .wa-project-card__category,
	.wa-project-archive .wa-project-card__title {
		color: var(--wa-color-white) !important;
	}

	/*
	 * Círculo transparente,
	 * borde y símbolo + blancos.
	 */
	.wa-project-archive .wa-project-card__plus,
	.wa-project-archive .wa-project-card:hover .wa-project-card__plus,
	.wa-project-archive .wa-project-card__link:focus-visible
	.wa-project-card__plus {
		opacity: 1 !important;
		visibility: visible !important;
		transform: translate(-50%, -50%) !important;

		width: 58px !important;
		height: 58px !important;

		border: 2px solid var(--wa-color-white) !important;
		background: transparent !important;
		color: var(--wa-color-white) !important;
		box-shadow: none !important;
	}

	/* Las dos líneas que forman el signo + */
	.wa-project-archive .wa-project-card__plus span {
		background: var(--wa-color-white) !important;
	}

	/* Anular efectos propios del mouse */
	.wa-project-archive .wa-project-card__image,
	.wa-project-archive .wa-project-card:hover .wa-project-card__image {
		transform: none !important;
		filter: none !important;
	}

	.wa-project-archive .wa-project-card__overlay,
	.wa-project-archive .wa-project-card__meta,
	.wa-project-archive .wa-project-card__plus,
	.wa-project-archive .wa-project-card__image {
		transition: none !important;
	}
}

/* ==========================================================
   ARCHIVE — MÓVIL
========================================================== */

@media (max-width: 767px) {

	.wa-project-archive .wa-project-card__meta {
		right: 18px !important;
		bottom: 18px !important;
		left: 18px !important;

		max-width: calc(100% - 36px);
		gap: 7px !important;
	}

	.wa-project-archive .wa-project-card__category {
		font-size: 0.69rem !important;
		line-height: 1.25 !important;
	}

	.wa-project-archive .wa-project-card__title {
		font-size: 1rem !important;
		line-height: 1.28 !important;
		-webkit-line-clamp: 3;
	}

	.wa-project-archive .wa-project-card__plus {
		width: 54px !important;
		height: 54px !important;
	}
}