/* Páginas de proyectos: /proyectos/ y cada caso. Paleta y medidas del brief v4. */

.andomu-pro {
	--azul: #1B3A4B;
	--oscuro: #0B2333;
	--dorado: #F2A93B;
	--crema: #FBE9CD;
	--marron: #7C561A;
	--gris: #4A5A66;
	--calido: #F6F3EE;
	--linea: #E3E5E7;
	--titulos: 'Montserrat', Tahoma, Geneva, Verdana, sans-serif;
	--texto: 'Inter', Tahoma, Geneva, Verdana, sans-serif;
	--lateral: 80px;
	font-family: var(--texto);
	color: var(--oscuro);
}

.andomu-pro *,
.andomu-pro *::before,
.andomu-pro *::after {
	box-sizing: border-box;
}

.andomu-pro {
	width: 100%;
	overflow-x: clip;
}

.andomu-pro p,
.andomu-pro h2,
.andomu-pro h1,
.andomu-pro h3 {
	margin: 0;
}

.andomu-pro .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.andomu-pro-icono {
	flex: none;
	width: 18px;
	height: 18px;
}

/* Foco visible: 3 px azul con 2 px de separación dorada. */
.andomu-pro a:focus-visible,
.andomu-pro button:focus-visible {
	outline: 3px solid var(--azul);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--dorado);
}

.andomu-pro-etiqueta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px !important;
	font-family: var(--titulos);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: .7px;
	text-transform: uppercase;
	color: var(--marron);
}

.andomu-pro-etiqueta::before {
	content: '';
	width: 40px;
	height: 4px;
	border-radius: 2px;
	background: var(--dorado);
}

/* Botones */

.andomu-pro-boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 28px;
	border: 0;
	border-radius: 12px;
	font-family: var(--titulos);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}

.andomu-pro-boton:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(11, 35, 51, .18);
}

.andomu-pro-boton--azul,
.andomu-pro-boton--azul:hover,
.andomu-pro-boton--azul:focus {
	background: var(--azul);
	color: #fff;
}

.andomu-pro-boton--dorado,
.andomu-pro-boton--dorado:hover,
.andomu-pro-boton--dorado:focus {
	background: var(--dorado);
	color: var(--oscuro);
}

/* 1. Apertura */

.andomu-pro-apertura,
.andomu-pro-cifras__lista,
.andomu-pro-bloque__interior,
.andomu-pro-voluntariado__interior,
.andomu-pro-caso__interior {
	width: 100%;
	max-width: 1366px;
	margin-inline: auto;
	padding-inline: var(--lateral);
}

.andomu-pro-apertura {
	padding-top: 56px;
	padding-bottom: 72px;
}

.andomu-pro-apertura__titular {
	max-width: 16ch;
	margin-bottom: 24px !important;
	font-family: var(--titulos);
	font-size: clamp(36px, 4.4vw, 56px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.02em;
	color: var(--azul);
}

.andomu-pro-apertura__bajada {
	max-width: 60ch;
	margin-bottom: 16px !important;
	font-size: clamp(19px, 1.6vw, 22px);
	font-weight: 600;
	line-height: 1.45;
	color: var(--oscuro);
}

.andomu-pro-apertura__parrafo {
	max-width: 65ch;
	font-size: 18px;
	line-height: 1.5;
	color: var(--gris);
}

/* 2. Banda de cifras */

.andomu-pro-cifras {
	background: var(--azul);
	color: #fff;
}

.andomu-pro-cifras__lista {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
	margin-block: 0;
	padding-block: 64px;
	list-style: none;
}

.andomu-pro-cifra__numero {
	font-family: var(--titulos);
	font-size: clamp(40px, 4vw, 56px);
	font-weight: 800;
	line-height: 1.05;
	color: var(--dorado);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.andomu-pro-cifra__mas {
	font-size: .6em;
	font-weight: 700;
}

.andomu-pro-cifra__texto {
	margin-top: 12px !important;
	font-size: 16px;
	line-height: 1.45;
	color: #fff;
}

.andomu-pro-cifra__nota {
	margin-top: 10px !important;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, .25);
	font-size: 13px;
	line-height: 1.45;
	color: #DCE4E9;
}

/* Bloques con tarjetas */

.andomu-pro-bloque {
	padding-top: 96px;
}

.andomu-pro-bloque__titulo {
	margin-bottom: 40px !important;
	font-family: var(--titulos);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--azul);
}

.andomu-pro-rejilla {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

/* 4. Tarjeta */

.andomu-pro-tarjeta {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--linea);
	border-radius: 20px;
	background: #fff;
	transition: transform .25s ease, box-shadow .25s ease;
}

.andomu-pro-tarjeta:hover,
.andomu-pro-tarjeta:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(11, 35, 51, .14);
}

.andomu-pro-cabecera {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 148px;
	overflow: hidden;
	background: linear-gradient(135deg, #1B3A4B 0%, #24506A 55%, #0B2333 100%);
	color: #fff;
}

.andomu-pro-cabecera__icono {
	width: 56px;
	height: 56px;
	stroke-width: 1.5;
	opacity: .95;
}

/* Con .andomu-pro delante para ganarle a «.elementor img { height: auto }» dentro de la página de Elementor. */
.andomu-pro .andomu-pro-cabecera__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Foto de la tarjeta bajo la misma capa azul de la marca que la cabecera de la ficha; las barras quedan encima. */
.andomu-pro-cabecera--foto::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(11, 35, 51, .85) 0%, rgba(27, 58, 75, .7) 55%, rgba(27, 58, 75, .45) 100%);
}

.andomu-pro-cabecera--foto .andomu-pro-barras {
	z-index: 2;
}

.andomu-pro-barras {
	position: absolute;
	right: 20px;
	bottom: 18px;
	width: 44px;
	height: 32px;
	fill: var(--dorado);
}

.andomu-pro-tarjeta__cuerpo {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
}

.andomu-pro-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.andomu-pro-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.andomu-pro-chip .andomu-pro-icono {
	width: 16px;
	height: 16px;
}

.andomu-pro-chip--categoria {
	background: var(--crema);
	color: var(--marron);
}

/* El rol se distingue por ícono y forma del borde, no solo por color. */
.andomu-pro-chip--rol {
	border: 2px solid var(--azul);
	background: #fff;
	color: var(--azul);
}

.andomu-pro-chip--voluntariado {
	border-style: dashed;
}

.andomu-pro-chip--curso {
	background: var(--dorado);
	color: var(--oscuro);
}

.andomu-pro-chip__punto {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--oscuro);
}

.andomu-pro-tarjeta__titulo {
	font-family: var(--titulos);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--oscuro);
}

.andomu-pro-tarjeta__enlace,
.andomu-pro-tarjeta__enlace:hover,
.andomu-pro-tarjeta__enlace:focus {
	color: inherit;
	text-decoration: none;
}

/* Toda la tarjeta es un solo objetivo táctil. */
.andomu-pro-tarjeta__enlace::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 20px;
}

.andomu-pro .andomu-pro-tarjeta__enlace:focus-visible {
	outline: 0;
	box-shadow: none;
}

.andomu-pro-tarjeta__enlace:focus-visible::after {
	outline: 3px solid var(--azul);
	outline-offset: -3px;
	box-shadow: inset 0 0 0 5px var(--dorado);
}

.andomu-pro-tarjeta__breve {
	font-size: 16px;
	line-height: 1.5;
	color: var(--oscuro);
}

.andomu-pro-tarjeta__contexto {
	margin-top: auto !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--gris);
}

.andomu-pro-tarjeta__ver {
	align-self: flex-start;
	font-family: var(--titulos);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--azul);
	text-decoration: underline;
	text-decoration-color: var(--dorado);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

/* 3. Caso destacado */

.andomu-pro-tarjeta--destacada {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.andomu-pro-tarjeta--destacada .andomu-pro-cabecera {
	height: auto;
	min-height: 320px;
	background: linear-gradient(160deg, #1B3A4B 0%, #0B6B52 100%);
}

.andomu-pro-tarjeta--destacada .andomu-pro-cabecera__icono {
	width: 96px;
	height: 96px;
}

.andomu-pro-tarjeta--destacada .andomu-pro-barras {
	right: 28px;
	bottom: 28px;
	width: 66px;
	height: 48px;
}

.andomu-pro-tarjeta--destacada .andomu-pro-tarjeta__cuerpo {
	gap: 18px;
	padding: 40px;
}

.andomu-pro-tarjeta--destacada .andomu-pro-tarjeta__titulo {
	font-size: clamp(26px, 2.6vw, 34px);
}

.andomu-pro-tarjeta__datos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Con 4 viñetas, 2 × 2 en vez de 3 + 1. */
.andomu-pro-tarjeta__datos:has(> li:nth-child(4):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.andomu-pro-tarjeta__datos li {
	padding: 14px 16px;
	border-left: 4px solid var(--dorado);
	border-radius: 12px;
	background: var(--calido);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--oscuro);
}

/* Tarjeta dorada de contacto: ocupa las dos columnas libres de la última fila. */
.andomu-pro-invitacion {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	grid-column: span var(--columnas, 2);
	padding: 40px;
	border-radius: 20px;
	background: var(--dorado);
	font-size: 18px;
	line-height: 1.5;
	color: var(--oscuro);
}

.andomu-pro-invitacion__titulo {
	font-family: var(--titulos);
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 800;
	line-height: 1.15;
}

/* 5. Voluntariado */

.andomu-pro-voluntariado {
	margin-top: 96px;
	background: var(--calido);
}

.andomu-pro-voluntariado__interior {
	padding-block: 96px;
}

.andomu-pro-voluntariado .andomu-pro-bloque__titulo {
	margin-bottom: 20px !important;
}

.andomu-pro-voluntariado__bajada,
.andomu-pro-mas p {
	max-width: 65ch;
	font-size: 18px;
	line-height: 1.5;
	color: var(--oscuro);
}

.andomu-pro-mas p {
	margin-top: 16px !important;
	color: var(--gris);
}

.andomu-pro .andomu-pro-leer {
	margin: 16px 0 0;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-family: var(--titulos);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--azul);
	text-decoration: underline;
	text-decoration-color: var(--dorado);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
	cursor: pointer;
}

.andomu-pro .andomu-pro-leer:hover,
.andomu-pro .andomu-pro-leer:focus {
	background: none;
	color: var(--azul);
}

/* Línea de tiempo: lista ordenada con la línea que se dibuja al desplazarse. */
.andomu-pro-linea {
	--progreso: 1;
	position: relative;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 16px;
	margin: 56px 0;
	padding: 0;
	list-style: none;
}

.andomu-pro-linea::before,
.andomu-pro-linea::after {
	content: '';
	position: absolute;
	top: 9px;
	left: 0;
	right: 0;
	height: 3px;
	border-radius: 2px;
}

.andomu-pro-linea::before {
	background: rgba(27, 58, 75, .15);
}

.andomu-pro-linea::after {
	background: linear-gradient(90deg, var(--azul) 0%, var(--azul) 80%, var(--dorado) 100%);
	transform: scaleX(var(--progreso));
	transform-origin: left;
}

.andomu-pro-linea > li {
	position: relative;
	z-index: 1;
	padding-top: 36px;
}

.andomu-pro-linea > li::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 21px;
	height: 21px;
	border: 3px solid var(--azul);
	border-radius: 50%;
	background: var(--azul);
	transition: background-color .3s;
}

.andomu-pro--anim .andomu-pro-linea > li:not(.is-lleno)::before {
	background: var(--calido);
}

.andomu-pro .andomu-pro-linea > li:last-child::before {
	border-color: var(--dorado);
	background: var(--dorado);
}

/* En la página de Elementor la línea es una lista del editor de texto: el año va en negrita. */
.andomu-pro-linea__anio,
.andomu-pro-linea strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--titulos);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--azul);
}

.andomu-pro-linea > li,
.andomu-pro-linea__texto {
	display: block;
	font-size: 15px;
	line-height: 1.4;
	color: var(--gris);
}

/* 6. Cierre: tarjeta contenida con contacto directo */

.andomu-pro-cierre {
	padding-block: 96px;
}

.andomu-pro-cierre__tarjeta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 40px;
	width: calc(100% - 2 * var(--lateral));
	max-width: calc(1366px - 2 * 80px);
	margin-inline: auto;
	padding: 48px 56px;
	border-radius: 20px;
	background: var(--azul);
	color: #fff;
}

.andomu-pro-cierre__texto h2 {
	margin-bottom: 12px;
	font-family: var(--titulos);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.andomu-pro-cierre__texto p {
	max-width: 52ch;
	font-size: 18px;
	line-height: 1.5;
	color: #DCE4E9;
}

.andomu-pro-cierre__botones {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.andomu-pro-boton--blanco,
.andomu-pro-boton--blanco:hover,
.andomu-pro-boton--blanco:focus {
	background: #fff;
	color: var(--azul);
}

.andomu-pro-boton--borde,
.andomu-pro-boton--borde:hover,
.andomu-pro-boton--borde:focus {
	border: 2px solid rgba(255, 255, 255, .7);
	background: transparent;
	color: #fff;
}

/* Bloques: bajada opcional y varios destacados apilados */

.andomu-pro-bloque__bajada {
	max-width: 65ch;
	margin: -24px 0 40px !important;
	font-size: 18px;
	line-height: 1.5;
	color: var(--gris);
}

.andomu-pro-destacados {
	display: grid;
	gap: 28px;
}

/* Página de un caso */

.andomu-pro-caso__cabecera {
	background: linear-gradient(135deg, #1B3A4B 0%, #24506A 55%, #0B2333 100%);
	color: #fff;
}

.andomu-pro-caso__cabecera .andomu-pro-caso__interior {
	padding-top: 40px;
	padding-bottom: 64px;
}

/* Con imagen destacada: la foto de fondo bajo una capa azul más densa a la izquierda, donde va el texto. */
.andomu-pro-caso__cabecera--foto {
	background:
		linear-gradient(90deg, rgba(11, 35, 51, .92) 0%, rgba(27, 58, 75, .8) 55%, rgba(27, 58, 75, .55) 100%),
		var(--foto) center / cover no-repeat;
}

.andomu-pro-caso__cabecera--foto .andomu-pro-caso__interior {
	padding-bottom: 96px;
}

.andomu-pro-migas ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
	font-size: 15px;
	line-height: 1.4;
	color: #DCE4E9;
}

.andomu-pro-migas li + li::before {
	content: '›';
	margin-right: 8px;
	color: var(--dorado);
}

.andomu-pro-migas a,
.andomu-pro-migas a:hover,
.andomu-pro-migas a:focus {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--dorado);
	text-underline-offset: 4px;
}

.andomu-pro-caso__encabezado {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 48px;
}

.andomu-pro-caso__encabezado > div:first-child {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Sobre fondo azul, el chip de rol lleva borde y texto blancos. */
.andomu-pro-caso__cabecera .andomu-pro-chip--rol {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

.andomu-pro-caso__titulo {
	max-width: 22ch;
	font-family: var(--titulos);
	font-size: clamp(32px, 4.4vw, 56px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.01em;
	color: #fff;
}

.andomu-pro-caso__contexto {
	max-width: 65ch;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	color: #DCE4E9;
}

.andomu-pro-caso__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 200px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .08);
}

.andomu-pro-caso__icono {
	width: 88px;
	height: 88px;
	stroke-width: 1.5;
}

.andomu-pro-caso__visual .andomu-pro-barras {
	right: 18px;
	bottom: 18px;
}

.andomu-pro-caso__cuerpo {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	align-items: start;
	gap: 64px;
	padding-top: 64px;
}

.andomu-pro-caso__texto {
	max-width: 65ch;
}

.andomu-pro-caso__texto p {
	margin-bottom: 20px;
	font-size: 18px;
	line-height: 1.65;
	color: var(--oscuro);
}

.andomu-pro-caso__lateral {
	position: sticky;
	top: 120px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.andomu-pro-caso__datos {
	padding: 28px;
	border-radius: 20px;
	background: var(--calido);
}

.andomu-pro-caso__datos h2 {
	margin-bottom: 12px;
	font-family: var(--titulos);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .7px;
	text-transform: uppercase;
	color: var(--marron);
}

.andomu-pro-caso__datos ul {
	margin: 0;
	padding-left: 20px;
}

.andomu-pro-caso__datos li {
	margin: 10px 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--oscuro);
}

.andomu-pro-caso__datos li::marker {
	color: var(--marron);
}

.andomu-pro-caso__contacto {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.andomu-pro-caso__contacto .andomu-pro-boton {
	width: 100%;
	margin-bottom: 8px;
}

.andomu-pro .andomu-pro-caso__enlace {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-family: var(--texto);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--azul);
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

.andomu-pro .andomu-pro-caso__enlace:hover,
.andomu-pro .andomu-pro-caso__enlace:focus {
	background: none;
	color: var(--oscuro);
}

.andomu-pro-caso__pie {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 72px;
	padding-top: 32px;
	padding-bottom: 96px;
	border-top: 1px solid var(--linea);
}

.andomu-pro-caso__volver,
.andomu-pro-caso__volver:hover {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-family: var(--titulos);
	font-size: 16px;
	font-weight: 700;
	color: var(--azul);
	text-decoration: none;
}

.andomu-pro-caso__siguiente,
.andomu-pro-caso__siguiente:hover {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 16px;
	min-height: 44px;
	text-align: right;
	color: var(--oscuro);
	text-decoration: none;
}

.andomu-pro-caso__siguiente span {
	grid-column: 1;
	font-size: 14px;
	font-weight: 600;
	color: var(--gris);
}

.andomu-pro-caso__siguiente strong {
	grid-column: 1;
	font-family: var(--titulos);
	font-size: 18px;
	line-height: 1.35;
	text-decoration: underline;
	text-decoration-color: var(--dorado);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

.andomu-pro-caso__siguiente .andomu-pro-icono {
	grid-column: 2;
	grid-row: 1 / 3;
	color: var(--azul);
}

@media (max-width: 1024px) {
	.andomu-pro-cierre__tarjeta {
		grid-template-columns: minmax(0, 1fr);
	}

	.andomu-pro-cierre__botones {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.andomu-pro-caso__cuerpo {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.andomu-pro-caso__lateral {
		position: static;
	}

	.andomu-pro-caso__contacto .andomu-pro-boton {
		width: auto;
	}
}

/* Movimiento: solo si JS lo activa y el sistema no pide reducirlo. */

.andomu-pro--anim [data-entra] {
	opacity: 0;
	transform: translateY(12px);
}

.andomu-pro--anim [data-entra].is-visto {
	opacity: 1;
	transform: none;
	transition: opacity .6s ease, transform .6s ease, box-shadow .25s ease;
	transition-delay: var(--retraso, 0ms);
}

.andomu-pro--anim .andomu-pro-tarjeta.is-visto:hover,
.andomu-pro--anim .andomu-pro-tarjeta.is-visto:focus-within {
	transform: translateY(-4px);
	transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
	.andomu-pro-tarjeta:hover,
	.andomu-pro-tarjeta:focus-within,
	.andomu-pro-boton:hover {
		transform: none;
	}
}

/* Tablet */

@media (max-width: 1024px) {
	.andomu-pro {
		--lateral: 40px;
	}

	.andomu-pro-cifras__lista {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.andomu-pro-rejilla {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.andomu-pro-invitacion {
		grid-column: span 1;
	}

	.andomu-pro-tarjeta--destacada {
		grid-template-columns: minmax(0, 1fr);
	}

	.andomu-pro-tarjeta--destacada .andomu-pro-cabecera {
		min-height: 200px;
	}

	.andomu-pro-linea {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 32px;
	}

	.andomu-pro-linea::before,
	.andomu-pro-linea::after {
		display: none;
	}
}

/* Móvil: línea de tiempo vertical y una sola columna. */

@media (max-width: 767px) {
	.andomu-pro {
		--lateral: 20px;
	}

	.andomu-pro-apertura {
		padding-top: 32px;
		padding-bottom: 48px;
	}

	.andomu-pro-cifras__lista {
		gap: 32px 20px;
		padding-block: 48px;
	}

	.andomu-pro-cifra__numero {
		font-size: 36px;
	}

	.andomu-pro-cifra__texto {
		font-size: 15px;
	}

	.andomu-pro-bloque {
		padding-top: 56px;
	}

	.andomu-pro-bloque__titulo {
		margin-bottom: 28px !important;
	}

	.andomu-pro-rejilla {
		grid-template-columns: minmax(0, 1fr);
	}

	.andomu-pro-tarjeta--destacada .andomu-pro-tarjeta__cuerpo,
	.andomu-pro-invitacion {
		padding: 28px 24px;
	}

	.andomu-pro-tarjeta__datos,
	.andomu-pro-tarjeta__datos:has(> li:nth-child(4):last-child) {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.andomu-pro-voluntariado {
		margin-top: 56px;
	}

	.andomu-pro-voluntariado__interior {
		padding-block: 56px;
	}

	.andomu-pro-linea {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		margin: 40px 0;
	}

	.andomu-pro-linea::before,
	.andomu-pro-linea::after {
		display: block;
		top: 10px;
		bottom: 10px;
		left: 9px;
		right: auto;
		width: 3px;
		height: auto;
	}

	.andomu-pro-linea::after {
		background: linear-gradient(180deg, var(--azul) 0%, var(--azul) 80%, var(--dorado) 100%);
		transform: scaleY(var(--progreso));
		transform-origin: top;
	}

	.andomu-pro-linea > li {
		padding: 0 0 24px 40px;
	}

	.andomu-pro-linea > li:last-child {
		padding-bottom: 0;
	}

	.andomu-pro-cierre {
		padding-block: 48px;
	}

	.andomu-pro-cierre__tarjeta {
		grid-template-columns: minmax(0, 1fr);
		padding: 32px 24px;
	}

	.andomu-pro-cierre__botones .andomu-pro-boton {
		width: 100%;
	}

	.andomu-pro-bloque__bajada {
		margin-top: -12px !important;
	}

	.andomu-pro-caso__cabecera .andomu-pro-caso__interior {
		padding-top: 24px;
		padding-bottom: 40px;
	}

	.andomu-pro-caso__cabecera--foto {
		background:
			linear-gradient(rgba(11, 35, 51, .85), rgba(11, 35, 51, .85)),
			var(--foto) center / cover no-repeat;
	}

	.andomu-pro-caso__cabecera--foto .andomu-pro-caso__interior {
		padding-bottom: 56px;
	}

	.andomu-pro-migas ol {
		margin-bottom: 24px;
	}

	.andomu-pro-caso__encabezado {
		grid-template-columns: minmax(0, 1fr);
	}

	.andomu-pro-caso__visual {
		display: none;
	}

	.andomu-pro-caso__cuerpo {
		padding-top: 40px;
	}

	.andomu-pro-caso__contacto .andomu-pro-boton {
		width: 100%;
	}

	.andomu-pro-caso__pie {
		flex-direction: column-reverse;
		align-items: flex-start;
		margin-top: 48px;
		padding-bottom: 64px;
	}

	.andomu-pro-caso__siguiente {
		text-align: left;
	}
}
