/* ==========================================================================
   AGH Casos de éxito — ficha sin Elementor
   Valores copiados de la ficha original hecha con Elementor
   (escritorio / tablet ≤1024px / móvil ≤767px).
   ========================================================================== */

.agh-case {
	--agh-negro: #0C0A08;
	--agh-texto: #212121;
	--agh-rojo: #FE0000;
	--agh-filete: rgba(12, 10, 8, 0.1);
	--agh-display: "Special Gothic Expanded One", sans-serif;
	--agh-sans: "Host Grotesk", sans-serif;
}

/* Contenedores --------------------------------------------------------- */
.agh-case__inner,
.agh-case-more__inner {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.agh-case__inner { max-width: 61%; }
.agh-case-more__inner { max-width: 80%; }

.agh-case__bc {
	margin-top: 100px;
	padding: 50px 15px 0;
	background-color: #FFFFFF;
}
.agh-case__main {
	padding: 80px 15px 0;
}

/* Migas ---------------------------------------------------------------- */
.agh-case .pxl-breadcrumb {
	color: #CCD1CB;
	font-family: var(--agh-sans);
}

/* Título (H1) ---------------------------------------------------------- */
.agh-case .pxl-heading .agh-case__title {
	color: var(--agh-negro);
	-webkit-text-stroke-color: var(--agh-negro);
	font-family: var(--agh-display);
	font-size: 40px;
	font-weight: 500;
	line-height: 1.11111;
	letter-spacing: -1px;
	text-transform: none;
	margin: 0 0 49px;
}

/* Subtítulo y frase de cierre ------------------------------------------- */
.agh-case .agh-case__subtitle,
.agh-case .agh-case__closing {
	color: var(--agh-negro);
	font-family: var(--agh-sans);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.05455;
	letter-spacing: -1px;
	text-transform: none;
	margin: 0 0 35px;
	padding: 0;
}
.agh-case .agh-case__closing {
	margin-top: 26px;
}

/* Filetes -------------------------------------------------------------- */
.agh-case__divider {
	display: block;
	width: 100%;
	height: 1px;
	background-color: var(--agh-filete);
}
.agh-case__divider--section {
	margin-top: 50px;
}

/* Sector con icono ------------------------------------------------------ */
.agh-case__sector {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	padding: 48px 0;
}
.agh-case__sector .pxl-link-wrap {
	margin: 0 0 3px;
}
.agh-case__sector .pxl-link {
	margin: 0;
	padding: 0;
	list-style: none;
}
.agh-case__sector .pxl-link li a {
	display: flex;
	align-items: center;
	color: var(--agh-texto);
	font-family: var(--agh-sans);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.5px;
	cursor: default;
}
/* Iconos propios AGH (SVG de línea, negros) */
.agh-sector-icon {
	display: inline-block;
	flex: 0 0 auto;
	color: #000;
	vertical-align: middle;
	overflow: visible;
}
.agh-case__sector .pxl-link a .agh-sector-icon {
	margin-right: 10px;
}
.agh-case__sector .pxl-link a i,
.agh-case__sector .pxl-link a svg {
	margin-right: 6px;
}

/* Introducción --------------------------------------------------------- */
.agh-case .agh-case__intro {
	margin-top: 50px;
}
.agh-case .agh-case__intro,
.agh-case .agh-case__intro p,
.agh-case .agh-case__intro li {
	color: rgba(12, 10, 8, 0.7);
	font-family: var(--agh-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 24.96px;
	letter-spacing: -0.2px;
}
.agh-case .agh-case__intro p {
	margin: 0;
}
.agh-case .agh-case__intro strong,
.agh-case .agh-case__intro b {
	font-weight: 700;
	color: inherit;
}

/* Secciones Reto / Enfoque / Resultado ---------------------------------- */
.agh-case .agh-case__label {
	color: var(--agh-rojo);
	-webkit-text-stroke-color: var(--agh-rojo);
	font-family: var(--agh-display);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.13333;
	letter-spacing: -1px;
	text-transform: capitalize;
	margin: 100px 0 11px;
	padding: 0;
}
.agh-case .agh-case__section-title {
	color: var(--agh-negro);
	-webkit-text-stroke-color: var(--agh-negro);
	font-family: var(--agh-display);
	font-size: 40px;
	font-weight: 500;
	line-height: 1.13333;
	letter-spacing: -1px;
	text-transform: none;
	margin: 0 0 27px;
	padding: 0;
}

/* Texto de las secciones */
.agh-case .agh-case__body,
.agh-case .agh-case__body p,
.agh-case .agh-case__body ul,
.agh-case .agh-case__body ul li {
	color: var(--agh-texto);
	font-family: var(--agh-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 24.96px;
	letter-spacing: -0.2px;
}
.agh-case .agh-case__body p {
	margin: 0 0 30px;
}
.agh-case .agh-case__body strong,
.agh-case .agh-case__body b {
	font-weight: 700;
}
.agh-case .agh-case__body > *:last-child {
	margin-bottom: 0;
}

/* Lista con viñetas = puntos */
.agh-case .agh-case__body ul {
	margin: 0 0 32px;
	padding: 0;
	list-style: disc;
}
.agh-case .agh-case__body ul li {
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

/* Lista numerada = lista con flechas (fases) */
.agh-case .agh-case__body p:has(+ ol) {
	margin-bottom: 0;
}
.agh-case .agh-case__body ol,
.agh-case .agh-case__body > ol:last-child {
	margin: 26px 0 64px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.agh-case .agh-case__body ol li {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0 0 0 21px;
	color: #444444;
	font-family: var(--agh-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 22.4px;
	letter-spacing: -0.2px;
}
.agh-case .agh-case__body ol li + li {
	margin-top: 19px;
}
.agh-case .agh-case__body ol li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 12px;
	height: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11' fill='none'%3E%3Cpath d='M8.33333 1.00781L13 5.67448M13 5.67448L8.33333 10.3411M13 5.67448L1 5.67448' stroke='%230B282E' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat left top / 12px auto;
}
.agh-case .agh-case__body ol li strong,
.agh-case .agh-case__body ol li b {
	color: rgb(10, 19, 32);
	font-family: Inter, sans-serif;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
}

/* Ver más casos de éxito ------------------------------------------------ */
.agh-case-more {
	padding: 140px 15px;
}
.agh-case-more__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.agh-case-more__head {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 45px;
}
.agh-case .agh-case-more__title {
	color: var(--agh-texto);
	-webkit-text-stroke-color: var(--agh-texto);
	font-family: var(--agh-display);
	font-size: 36px;
	font-weight: 500;
	line-height: 1.13333;
	letter-spacing: -1px;
	text-transform: none;
	margin: 0;
}
.agh-case-more__grid > .elementor-widget-container {
	margin: -85px -4px 0 -56px;
	padding: 0;
}
.agh-case-more__grid .pxl-grid-inner {
	margin: -15px;
}
.agh-case-more__grid .pxl-grid-inner .pxl-grid-item {
	padding: 15px;
}
body .agh-case-more .pxl-grid .pxl-post--title,
body .agh-case-more .pxl-grid .pxl-post--title a {
	color: var(--agh-texto);
	font-family: var(--agh-sans);
	font-weight: 700;
	text-transform: none;
	line-height: 28px;
	letter-spacing: 0;
}

/* Tablet ≤ 1024px ------------------------------------------------------- */
@media (max-width: 1024px) {
	.agh-case__inner,
	.agh-case-more__inner {
		max-width: 100%;
	}
	.agh-case__bc {
		margin-top: 20px;
		padding-top: 0;
	}
	.agh-case .pxl-heading .agh-case__title,
	.agh-case .agh-case__subtitle,
	.agh-case .agh-case__closing {
		font-size: 32px;
	}
	.agh-case .agh-case__label,
	.agh-case .agh-case__section-title {
		font-size: 28px;
	}
	.agh-case-more {
		padding-top: 100px;
		padding-bottom: 100px;
	}
	.agh-case-more__head {
		margin-bottom: 30px;
	}
	.agh-case .agh-case-more__title {
		font-size: 30px;
	}
}

/* Móvil ≤ 767px --------------------------------------------------------- */
@media (max-width: 767px) {
	.agh-case .pxl-heading .agh-case__title,
	.agh-case .agh-case__section-title,
	.agh-case .agh-case__closing {
		line-height: 1.2;
	}
	.agh-case-more {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	.agh-case .agh-case-more__title {
		font-size: 28px;
	}
	.agh-case-more__grid > .elementor-widget-container {
		margin: -56px 0 0;
	}
}
