/* === Garzatón v1 (BS3-compatible) === */
:root {
	--uaeh-primary: #7a1e1e;
	--uaeh-dark: #242424;
	--uaeh-muted: #6b7280;
}

.garzaton-hero {
	background: linear-gradient(
			180deg,
			rgba(122, 30, 30, 0.9),
			rgba(122, 30, 30, 0.75)
		),
		url('/img/garzaton/hero.jpg') center/cover no-repeat;
	color: #fff;
	padding: 48px 20px;
	text-align: center;
	border-radius: 12px;
	margin-bottom: 24px;
}
.garzaton-hero h1 {
	font-size: 32px;
	margin: 0 0 8px;
}
.garzaton-hero p {
	margin: 6px 0;
	font-size: 16px;
	opacity: 0.95;
}
.gz-cta {
	display: inline-block;
	margin: 10px 6px 0;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid #fff;
	color: #fff;
}
.gz-cta--fill {
	background: #fff;
	color: var(--uaeh-primary);
	border-color: #fff;
}

.section-title {
	font-size: 22px;
	font-weight: 700;
	margin: 30px 0 14px;
	color: var(--uaeh-dark);
}
.gz-grid {
	margin-left: -10px;
	margin-right: -10px;
}
.gz-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 20px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.gz-card h3 {
	font-size: 16px;
	margin: 0 0 10px;
	color: var(--uaeh-primary);
}
.gz-list {
	margin: 0;
	padding-left: 18px;
}
.gz-list li {
	margin: 6px 0;
}
.gz-list a {
	color: #444;
	text-decoration: underline;
}
.gz-badge {
	display: inline-block;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 12px;
	color: #374151;
	margin: 4px 6px 0 0;
}

.gz-accordion .panel {
	border-radius: 12px;
	overflow: hidden;
	border-color: #e5e7eb;
}
.gz-accordion .panel-heading {
	background: #fafafa;
	padding: 12px 16px;
}
.gz-accordion .panel-title a {
	display: block;
	color: var(--uaeh-dark);
}
.gz-accordion .panel-body {
	padding: 14px 16px;
}

.gz-sticky {
	position: fixed;
	bottom: 12px;
	left: 12px;
	right: 12px;
	z-index: 999;
	display: flex;
	gap: 10px;
}
.gz-sticky a {
	flex: 1;
	text-align: center;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--uaeh-primary);
	color: #fff;
}
@media (min-width: 768px) {
	.gz-sticky {
		display: none;
	}
}

.small-muted {
	color: var(--uaeh-muted);
	font-size: 12px;
}

/* === Garzatón - Cards de donativos === */
:root {
	--uaeh-primary: #7a1e1e;
	--uaeh-dark: #242424;
}

.wrap-20 {
	padding-left: 20px;
	padding-right: 20px;
} /* margen lateral en todo el contenido */

.gz-donar-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: stretch;
}
.gz-donar-card {
	position: relative;
	overflow: hidden;
	flex: 1 1 calc(33.333% - 16px);
	min-width: 260px;
	height: 220px;
	border-radius: 14px;
	background: #ddd bottom/cover no-repeat;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gz-donar-card::before {
	/* overlay para legibilidad del texto */
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
	transition: opacity 0.2s ease;
}
.gz-donar-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.gz-donar-card:hover::before {
	opacity: 0.55;
}

.gz-donar-body {
	position: absolute;
	inset: auto 16px 16px 16px;
	color: #fff;
}
.gz-donar-title {
	margin: 0 0 10px;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	background: #00000082;
	border-radius: 5px;
	padding: 8px 0;
}
.gz-btn {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--uaeh-primary);
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #fff;
}
.gz-btn:hover {
	text-decoration: none;
	background: #f9fafb;
}

@media (max-width: 991px) {
	.gz-donar-card {
		flex: 1 1 calc(50% - 16px);
		height: 210px;
	}
}
@media (max-width: 560px) {
	.gz-donar-card {
		flex: 1 1 100%;
		height: 200px;
	}
}

/* === HERO Garzatón 40/60 === */
:root {
	--uaeh-primary: #7a1e1e;
	--uaeh-dark: #242424;
}

/* margen lateral de 20px en todo el contenido */
.wrap-20 {
	padding-left: 20px;
	padding-right: 20px;
}

/* Hero contenedor */
.gz-hero {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	color: #fff;
	min-height: 380px;
	margin: 20px 0 28px;
	background: #5a0f0f center/cover no-repeat; /* fallback si no carga la imagen */
}

/* overlay para contraste del texto */
.gz-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(122, 30, 30, 0.85) 0%,
		rgba(122, 30, 30, 0.55) 100%
	);
}

/* capa interna en 2 columnas */
.gz-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	gap: 28px;
	padding: 36px 24px;
}

/* columna izquierda (40%) */
.gz-hero-copy {
	flex: 0 1 40%;
	max-width: 560px;
}
.gz-hero-copy h1 {
	margin: 0 0 8px;
	font-size: 36px;
	line-height: 1.1;
}
.gz-hero-copy p {
	margin: 4px 0 12px;
	font-size: 16px;
	opacity: 0.95;
}
.gz-cta {
	display: inline-block;
	margin: 10px 6px 0;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid #fff;
	color: #fff;
}
.gz-cta--fill {
	background: #fff;
	color: var(--uaeh-primary);
	border-color: #fff;
}

/* columna derecha (60%) */
.gz-hero-media {
	flex: 0 1 30%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
}
.gz-hero-media img {
	width: 100%;
	max-width: 720px;
	height: auto;
	display: block;
	filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
	/* evita que sobresalga del hero */
	object-fit: contain;
}

/* Responsive */
@media (max-width: 991px) {
	.gz-hero {
		min-height: 340px;
	}
	.gz-hero-copy h1 {
		font-size: 30px;
	}
}
@media (max-width: 768px) {
	.gz-hero {
		min-height: auto;
	}
	.gz-hero-inner {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 12px;
		padding: 28px 18px;
	}
	.gz-hero-copy {
		flex-basis: auto;
		max-width: 640px;
	}
	.gz-hero-media {
		display: none;
	} /* se oculta la gráfica en móvil */
}

/* Quitar sticky flotante en móviles (y si quieres, en todo lado) */
.gz-sticky {
	display: none !important;
}
/* === Micro-animaciones hero === */
@media (prefers-reduced-motion: no-preference) {
	.gz-anim-enter {
		opacity: 0;
		transform: translateY(12px);
		will-change: transform, opacity;
		transition: opacity 0.6s ease, transform 0.6s ease;
	}
	.gz-anim-enter.is-in {
		opacity: 1;
		transform: translateY(0);
	}

	/* pequeño hover en CTA, ya compatible con tu CSS */
	.gz-cta {
		transition: transform 0.15s ease, box-shadow 0.15s ease;
	}
	.gz-cta:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
	}

	/* Parallax sutil del fondo del hero */
	.gz-hero,
	.gz-hero[data-parallax='on'] {
		background-position: center center !important;
	}
}

/* === Sedes (grid + cards, BS3 friendly) === */
.gz-sedes {
	margin: 10px 0 28px;
}
.gz-sedes .section-title {
	text-align: center;
	margin-bottom: 18px;
}

.gz-sedes-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: stretch;
	justify-content: center;
}

.gz-sede-card {
	flex: 1 1 calc(33.333% - 16px);
	min-width: 290px;
	max-width: 520px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.gz-sede-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.gz-sede-card h3 {
	margin: 0 0 8px;
	font-size: 16px;
	color: #7a1e1e;
}
.gz-sede-list {
	margin: 0;
	padding-left: 18px;
}
.gz-sede-list li {
	margin: 6px 0;
}
.gz-sede-list a {
	text-decoration: underline;
	color: #374151;
}
.gz-sede-list a:hover {
	color: #111;
}

@media (max-width: 991px) {
	.gz-sede-card {
		flex: 1 1 calc(50% - 16px);
	}
}
@media (max-width: 560px) {
	.gz-sede-card {
		flex: 1 1 100%;
	}
}
#protocolo {
	margin: 50px 0;
}
