/****
SIGNATURE
AUTHOR: GUILLERMO ARTURO PINILLA FARÍAS - WEBMASTER - FRONTEND DEVELOPER
-> CONTACT: gapinilla@minenergia.gov.co - pinieco23@gmail.com
****/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

/*#section-footer-main{display: none;}*/
/*******CAMBIOS PLANTILLA MINENERGIA 2022 FIN*******/

/****MODIFICACIONES BOOTSTRAP INICIO***/
hr:not([size]) {
	height: 2px;
}

h1:after{
    display: none;
}

hr {
	margin: 1rem 0;
	opacity: 0.7;
	width: 60px;
}

.row {
	margin-right: 0;
	margin-left: 0;
}

@media (min-width: 1200px) {

	.h2,
	h2 {
		font-size: 2rem;
	}
}

a:hover {
	text-decoration: underline;
	color: #FFF;
}

.btn-primary {
	background-color: #6e89f0;
	border-color: #6e89f0;
	border-radius: 30px;
	transition: 0.5s;
}

.btn-primary:hover {
	transform: scale(1.1);
}

.modal-header {
	background-color: #6e89f0;
	color: #FFF;
}

.nav-pills .nav-link.active>.badge {
	background: #FFF;
	color: #0d6efd;
}

.badge {
	background: #6e89f0;
}

.list-group-item-action:focus,
.list-group-item-action:hover {
	background-color: #a1a1a1;
	color: #FFF;
}

.carousel-control-next,
.carousel-control-prev {
	opacity: 0.3;
	width: 5%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
	width: 4rem;
	height: 4rem;
	background-color: #808080;
	border-radius: 15px;
}

/*.carousel-control-prev-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
}*/
.carousel-indicators [data-bs-target] {
	background-color: #808080;
	width: 30px;
	height: 30px;
}

/****MODIFICACIONES BOOTSTRAP FIN***/

/*****MAIN DISTRITOS MINEROS****/
:root {
	--blue: #004884;
	--gov: #3366cc;
	--yellow: #f4c400;
	--ink: #0b1628;
	--text: #253144;
	--muted: #627085;
	--soft: #f3f7fb;
	--line: #d7e0ea;
	--white: #fff
}

* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--text);
	background: #fff;
	line-height: 1.55
}

.skip-link {
	position: absolute;
	left: -999px;
	top: auto;
	background: var(--yellow);
	color: #111;
	padding: .75rem 1rem;
	z-index: 999
}

.skip-link:focus {
	left: 1rem;
	top: 1rem
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0)
}

.gov-bar {
	background: var(--gov);
	height: 52px;
	color: #fff;
	font-size: 28px;
	font-weight: 800;
	display: flex;
	align-items: center
}

.gov-bar strong {
	margin-left: calc((100vw - min(1180px, 92vw))/2)
}

.brand-row {
	height: 128px;
	display: flex;
	align-items: center;
	justify-content: space-between
}

.brand-mark {
	color: #d7a800;
	text-align: center;
	font-size: 24px
}

.brand-mark .crest {
	display: block;
	font-size: 40px;
	line-height: 1
}

.search {
	display: flex
}

.search input {
	height: 42px;
	width: 320px;
	border: 1px solid var(--line);
	border-radius: 12px 0 0 12px;
	padding: 0 14px;
	font-size: 16px
}

.search button {
	height: 42px;
	border: 0;
	background: #cfcfd2;
	border-radius: 0 12px 12px 0;
	padding: 0 16px
}

.main-nav {
	border-bottom: 4px solid var(--yellow);
	background: #f1f1f1
}

.nav-scroll {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	overflow-x: auto
}

.main-nav a {
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 700;
	padding: 20px 15px;
	white-space: nowrap
}

.main-nav a.active {
	background: var(--yellow)
}

.intro {
	text-align: center;
	padding: 46px 0 28px
}

.intro h1 {
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.15;
	margin: 0 0 14px;
	color: var(--ink)
}

.intro p {
	font-size: 20px;
	max-width: 920px;
	margin: auto
}

.topic-submenu {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fff;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 5px 18px rgba(0, 0, 0, .06)
}

.submenu-wrap {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 14px 0
}

.submenu-wrap a {
	text-decoration: none;
	color: #00726f;
	border: 2px solid #009c95;
	border-radius: 7px;
	padding: 10px 14px;
	font-weight: 800;
	background: #fff
}

.submenu-wrap a:hover,
.submenu-wrap a:focus {
	background: #009c95;
	color: #fff
}

.section {
	padding: 82px 0
}

.section h2 {
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.05;
	margin: 8px 0 22px;
	color: var(--ink)
}

.eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 900;
	color: var(--blue);
	background: #e5eefb;
	border-radius: 999px;
	padding: 4px 16px;
	font-size: 13px
}

.eyebrow.yellow {
	background: var(--yellow);
	color: #111
}

.lead {
	font-size: 20px;
	color: var(--muted);
	max-width: 900px
}

.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 34px
}

.panel {
	border-radius: 18px;
	padding: 28px;
	border: 1px solid var(--line);
	box-shadow: 0 8px 24px rgba(10, 30, 60, .08)
}

.panel h3 {
	font-size: 26px;
	margin-top: 0;
	color: var(--ink)
}

.panel-blue {
	background: var(--blue);
	color: #fff
}

.panel-blue h3,
.panel-blue p {
	color: #fff
}

.panel-light {
	background: #fff
}

.check-list {
	padding-left: 20px
}

.check-list li {
	margin: 12px 0;
	font-weight: 700
}

.negative li::marker {
	color: #d82424
}

.soft-bg {
	background: var(--soft)
}

.goal-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 28px
}

.goal-grid article {
	background: #fff;
	border: 1px solid var(--line);
	border-left: 6px solid var(--yellow);
	padding: 22px;
	border-radius: 16px;
	font-weight: 800;
	color: var(--ink);
	min-height: 120px;
	box-shadow: 0 8px 22px rgba(10, 30, 60, .06)
}

.route-section {
	background: #edf5fb
}

.route {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 54px 0 38px;
	position: relative
}

.route:before {
	content: "";
	position: absolute;
	left: 7%;
	right: 7%;
	top: 38px;
	height: 5px;
	background: #d6e1ec
}

.route:after {
	content: "";
	position: absolute;
	left: 7%;
	top: 38px;
	height: 5px;
	width: var(--progress, 0%);
	background: var(--yellow)
}

.route-step {
	position: relative;
	z-index: 1;
	background: transparent;
	border: 0;
	text-align: left;
	cursor: pointer;
	padding: 0 10px;
	color: var(--text)
}

.route-icon {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 6px solid #d6e1ec;
	background: #fff;
	font-size: 26px;
	margin-bottom: 22px
}

.route-step.active .route-icon {
	background: var(--blue);
	border-color: var(--yellow);
	color: #fff
}

.route-step small {
	color: var(--yellow);
	font-weight: 900;
	display: block
}

.route-step strong {
	display: block;
	font-size: 18px;
	color: var(--text);
	line-height: 1.2
}

.route-step em {
	display: block;
	font-style: normal;
	color: #6b7481;
	font-size: 15px
}

.route-detail {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 34px;
	box-shadow: 0 8px 22px rgba(10, 30, 60, .08)
}

.detail-icon {
	width: 58px;
	height: 58px;
	border-radius: 12px;
	background: var(--blue);
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 28px
}

.route-detail span {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 900;
	color: var(--yellow)
}

.route-detail h3 {
	margin: 2px 0 10px;
	font-size: 28px;
	color: var(--ink)
}

.text-link {
	background: transparent;
	border: 0;
	color: var(--gov);
	font-weight: 900;
	margin-top: 10px;
	cursor: pointer;
	font-size: 16px
}

.stats-landscape {
	background: linear-gradient(rgba(0, 72, 132, .74), rgba(0, 72, 132, .74)), url('https://minenergia.gov.co/documents/15796/fondo-avances-distritos-mineros.webp') center/cover;
	color: #fff
}

.stats-landscape h2,
.stats-landscape .lead {
	color: #fff
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 34px
}

.stats-grid article {
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 18px;
	padding: 28px;
	min-height: 170px
}

.stats-grid span {
	display: block;
	color: var(--yellow);
	font-size: 56px;
	font-weight: 900;
	line-height: 1
}

.stats-grid p {
	font-weight: 800
}

.map-section {
	text-align: center
}

.map-section .lead {
	margin-inline: auto
}

.map-layout {
	display: grid;
	grid-template-columns: 1.05fr 1.35fr;
	gap: 28px;
	text-align: left;
	margin-top: 40px;
	align-items: start
}

.map-card {
	background: var(--blue);
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 10px 28px rgba(0, 72, 132, .22)
}

.map-card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px
}

.filter-pills {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 14px
}

.filter-pills button {
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 999px;
	padding: 10px 16px;
	font-weight: 800;
	cursor: pointer
}

.filter-pills button.active {
	background: var(--blue);
	color: #fff
}

.district-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px
}

.district-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px;
	display: flex;
	gap: 13px;
	align-items: center;
	cursor: pointer;
	box-shadow: 0 5px 14px rgba(10, 30, 60, .04)
}

.district-item:hover,
.district-item:focus {
	outline: 3px solid rgba(244, 196, 0, .55)
}

.district-item .badge {
	width: 42px;
	height: 42px;
	border-radius: 9px;
	background: var(--yellow);
	display: grid;
	place-items: center;
	color: #111;
	font-weight: 900
}

.district-item.formulado .badge {
	background: #e9f1fb;
	color: var(--gov)
}

.district-item strong {
	display: block;
	color: var(--ink);
	font-size: 18px
}

.district-item small {
	color: #6b7481
}

.events-section {
	background: #f7fafc
}

.events-layout {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 28px;
	margin-top: 34px
}

.calendar-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 10px 26px rgba(10, 30, 60, .08)
}

.calendar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	color: var(--ink)
}

.calendar-head button {
	border: 0;
	background: #fff;
	font-size: 28px;
	cursor: pointer
}

.calendar-head strong {
	display: block;
	font-size: 22px
}

.calendar-head span {
	display: block;
	color: #6b7481
}

.calendar-grid,
.calendar-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	gap: 8px
}

.calendar-grid {
	margin-top: 26px;
	font-size: 13px;
	text-transform: uppercase;
	color: #5f6b7c
}

.calendar-days button {
	height: 42px;
	border: 0;
	background: transparent;
	border-radius: 8px;
	font-size: 16px;
	color: #1a2638;
	position: relative
}

.calendar-days button.has-event {
	background: var(--gov);
	color: #fff;
	font-weight: 800
}

.calendar-days button.has-event:after {
	content: "";
	position: absolute;
	bottom: 6px;
	left: 50%;
	width: 5px;
	height: 5px;
	background: var(--yellow);
	border-radius: 50%;
	transform: translateX(-50%)
}

.legend span {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: var(--gov);
	border-radius: 50%;
	margin-right: 8px
}

.event-card {
	background: var(--blue);
	border-radius: 18px;
	padding: 52px;
	color: #fff;
	position: relative;
	box-shadow: 0 14px 32px rgba(0, 72, 132, .22)
}

.event-card:after {
	content: "📅";
	position: absolute;
	right: 42px;
	top: 42px;
	font-size: 86px;
	background: rgba(255, 255, 255, .12);
	padding: 28px;
	border-radius: 18px
}

.event-card span {
	text-transform: uppercase;
	background: var(--yellow);
	color: #111;
	border-radius: 999px;
	padding: 8px 16px;
	font-weight: 900;
	font-size: 12px;
	letter-spacing: .08em
}

.event-card h3 {
	font-size: 92px;
	line-height: .9;
	margin: 36px 0 20px;
	color: var(--yellow)
}

.event-card h4 {
	font-size: 25px;
	max-width: 560px
}

.event-card p {
	max-width: 600px;
	color: #dce9ff
}

.event-card ul {
	display: flex;
	gap: 18px;
	list-style: none;
	padding: 0;
	flex-wrap: wrap
}

.event-card button,
.primary-btn,
.docs-grid button,
.join-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: var(--yellow);
	color: #111;
	border-radius: 8px;
	padding: 14px 28px;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer
}

.geovisor {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 40px;
	align-items: center
}

.docs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px
}

.docs-grid article {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 28px
}

.join-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px
}

.join-form {
	display: grid;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 26px;
	box-shadow: 0 8px 22px rgba(10, 30, 60, .08)
}

.join-form input,
.join-form select {
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 0 12px;
	font-size: 16px
}

.footer {
	background: var(--blue);
	color: #fff;
	padding: 34px 0;
	margin-top: 50px
}

.modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 24, 60, .82);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 5vh 5vw;
	z-index: 100
}

.modal.open {
	display: flex
}

.modal-card {
	width: min(1220px, 96vw);
	max-height: 90vh;
	overflow: auto;
	background: #fff;
	border-radius: 24px;
	position: relative;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35)
}

.modal-close {
	position: absolute;
	right: 30px;
	top: 30px;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font-size: 44px;
	cursor: pointer;
	z-index: 2
}

.modal-head {
	background: var(--blue);
	color: #fff;
	padding: 44px
}

.modal-head h2 {
	font-size: 48px;
	margin: 12px 0 6px;
	color: #fff
}

.modal-head>span {
	color: var(--yellow);
	text-transform: uppercase;
	letter-spacing: .16em;
	font-weight: 900
}

.mini-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 30px
}

.mini-stats article {
	background: rgba(255, 255, 255, .12);
	border-radius: 14px;
	padding: 18px
}

.mini-stats strong {
	font-size: 28px;
	display: block
}

.mini-stats span {
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #dbe8ff
}

.modal-tabs {
	display: flex;
	overflow-x: auto;
	background: #eef3f8;
	border-bottom: 1px solid var(--line)
}

.modal-tabs button {
	white-space: nowrap;
	border: 0;
	background: transparent;
	padding: 20px 24px;
	font-weight: 900;
	color: #4d5866;
	border-bottom: 4px solid transparent;
	cursor: pointer;
	font-size: 16px
}

.modal-tabs button.active {
	color: var(--blue);
	border-color: var(--yellow)
}

.modal-body {
	padding: 36px 44px
}

.modal-body h3 {
	font-size: 26px;
	color: var(--ink)
}

.modal-body p {
	font-size: 20px
}

@media(max-width:900px) {
	.brand-row {
		height: auto;
		padding: 26px 0;
		gap: 20px;
		flex-direction: column
	}

	.search input {
		width: 70vw
	}

	.two-col,
	.map-layout,
	.events-layout,
	.geovisor,
	.join-section {
		grid-template-columns: 1fr
	}

	.goal-grid,
	.stats-grid,
	.district-list,
	.docs-grid {
		grid-template-columns: 1fr
	}

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

	.route:before,
	.route:after {
		display: none
	}

	.route-step {
		display: flex;
		gap: 14px;
		align-items: center
	}

	.route-icon {
		margin: 0;
		width: 58px;
		height: 58px
	}

	.event-card h3 {
		font-size: 58px
	}

	.event-card:after {
		display: none
	}

	.mini-stats {
		grid-template-columns: 1fr
	}

	.section {
		padding: 56px 0
	}
}

/* Ajuste solicitado: submenú tipo píldoras como referencia enviada */
.topic-submenu {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #f7f8fa;
	border: 0;
	box-shadow: none;
	padding: 34px 0 28px;
}

.submenu-title {
	margin: 0 0 34px;
	text-align: center;
	font-size: clamp(32px, 3.6vw, 54px);
	line-height: 1;
	color: #0b4db8;
	font-weight: 900;
}

.submenu-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	padding: 0;
}

.submenu-wrap a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 54px;
	padding: 13px 32px;
	border: 3px solid #0b4db8;
	border-radius: 999px;
	background: #fff;
	color: #0b4db8;
	text-decoration: none;
	font-size: clamp(17px, 1.35vw, 22px);
	font-weight: 700;
	line-height: 1;
	box-shadow: none;
	transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.submenu-wrap a span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	font-size: 20px;
	line-height: 1;
	color: currentColor;
}

.submenu-wrap a.active,
.submenu-wrap a:hover,
.submenu-wrap a:focus {
	background: #eda541;
	border-color: #eda541;
	color: #fff;
}

.submenu-wrap a:hover,
.submenu-wrap a:focus {
	transform: translateY(-2px);
}

.submenu-wrap a:focus-visible {
	outline: 4px solid rgba(51, 102, 204, .28);
	outline-offset: 4px;
}

@media(max-width:900px) {
	.topic-submenu {
		position: relative;
		padding: 26px 0 22px;
	}

	.submenu-title {
		margin-bottom: 22px;
	}

	.submenu-wrap {
		gap: 12px;
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding: 0 4vw 8px;
		scroll-snap-type: x proximity;
	}

	.submenu-wrap a {
		white-space: nowrap;
		min-height: 48px;
		padding: 11px 22px;
		font-size: 16px;
		scroll-snap-align: start;
	}
}

/* =========================================================
   Ajuste visual institucional limpio inspirado en el sistema GOV.CO
   Variables adaptadas del set compartido por el usuario.
   ========================================================= */
:root {
	--radius: 0.5rem;
	--background: oklch(0.99 0.003 240);
	--foreground: oklch(0.18 0.04 250);
	--surface: oklch(0.97 0.008 240);
	--surface-alt: oklch(0.94 0.012 240);
	--card: oklch(1 0 0);
	--card-foreground: oklch(0.18 0.04 250);
	--primary: oklch(0.46 0.18 258);
	--primary-deep: oklch(0.28 0.14 260);
	--primary-foreground: oklch(0.99 0.003 240);
	--accent-yellow: oklch(0.82 0.17 86);
	--muted: oklch(0.96 0.008 240);
	--muted-foreground: oklch(0.45 0.03 250);
	--border: oklch(0.9 0.015 240);
	--ring: oklch(0.46 0.18 258);
	--blue: #004884;
	--gov: #3366cc;
	--yellow: #f4c400;
	--ink: #0b1628;
	--text: #253144;
	--muted-text: #657386;
	--soft: #f6f9fc;
	--line: #dbe5ee;
	--white: #fff;
	--shadow-card: 0 4px 14px -6px color-mix(in oklab, var(--primary-deep) 20%, transparent);
	--shadow-elevated: 0 20px 50px -20px color-mix(in oklab, var(--primary) 35%, transparent);
}

.intro {
	padding: 38px 0 22px
}

.intro h1 {
	font-size: clamp(30px, 3.7vw, 46px);
	font-weight: 850
}

.intro p,
.lead {
	font-size: 18px;
	line-height: 1.65;
	color: var(--muted-text)
}

.eyebrow {
	background: #e7f0fc;
	color: #0b4db8;
	padding: 5px 14px;
	font-size: 12px;
	letter-spacing: .14em
}

.heading-rule::after,
.section h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	background: var(--yellow);
	border-radius: 999px;
	margin-top: 14px
}

.panel,
.goal-grid article,
.calendar-card,
.docs-grid article,
.join-form,
.route-detail,
.district-item {
	border: 1px solid var(--border);
	box-shadow: var(--shadow-card);
	border-radius: 18px
}

.panel {
	padding: 26px
}

.panel h3 {
	font-size: 24px
}

.panel-blue {
	background: var(--blue)
}

.goal-grid article {
	border-left: 0;
	border-top: 4px solid var(--yellow);
	min-height: 112px;
	padding: 20px
}

.soft-bg,
.events-section,
.route-section {
	background: var(--surface)
}

/* Submenú compacto, delicado e integrado en una misma sección */
.topic-submenu {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(248, 250, 252, .96);
	backdrop-filter: saturate(120%) blur(8px);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 8px 22px -18px rgba(0, 0, 0, .22);
	padding: 18px 0;
}

.submenu-title {
	display: none
}

.submenu-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 0;
}

.submenu-wrap a {
	min-height: 42px;
	padding: 9px 18px;
	border: 2px solid #d8e2ec;
	border-radius: 999px;
	background: #fff;
	color: #2b2f36;
	font-size: 15px;
	font-weight: 750;
	line-height: 1;
	gap: 8px;
	box-shadow: none;
	transform: none;
}

.submenu-wrap a span {
	width: 18px;
	height: 18px;
	font-size: 15px;
	color: currentColor
}

.submenu-wrap a.active,
.submenu-wrap a:hover,
.submenu-wrap a:focus {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
	transform: none;
}

.submenu-wrap a:focus-visible {
	outline: 3px solid rgba(51, 102, 204, .25);
	outline-offset: 3px
}

/* Ruta de implementación más limpia y con azul puro */
.route-section {
	background: #eef5fb
}

.route:before {
	height: 4px;
	background: #d8e4ee
}

.route:after {
	height: 4px;
	background: var(--blue)
}

.route-icon {
	width: 58px;
	height: 58px;
	border: 4px solid #d8e4ee;
	background: #fff;
	color: #536272;
	font-size: 22px
}

.route-step.active .route-icon {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff
}

.route-step small {
	color: var(--yellow);
	font-size: 12px
}

.route-step strong {
	font-size: 16px;
	color: #222b37
}

.route-step em {
	font-size: 13px;
	color: #6f7a88
}

.route-detail {
	padding: 30px;
	grid-template-columns: 56px 1fr
}

.detail-icon {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background: var(--blue)
}

.route-detail h3 {
	font-size: 25px
}

.text-link {
	color: var(--blue)
}

/* Azul puro en secciones oscuras, sin degradados */
.stats-landscape {
	background: linear-gradient(rgba(0, 72, 132, .72), rgba(0, 72, 132, .72)), url('https://minenergia.gov.co/documents/15796/fondo-avances-distritos-mineros.webp') center/cover;
	color: #fff
}

.stats-grid article {
	background: rgba(255, 255, 255, .1);
	box-shadow: none
}

.map-card,
.event-card,
.footer {
	background: var(--blue)
}

.event-card {
	box-shadow: var(--shadow-elevated)
}

/* Mapa y filtros más delicados */
.filter-pills button {
	min-height: 42px;
	padding: 9px 20px;
	border: 2px solid #d8e2ec;
	border-radius: 999px;
	color: #2b2f36;
	background: #fff
}

.filter-pills button.active {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff
}

.district-item {
	padding: 14px;
	border-radius: 14px
}

.district-item strong {
	font-size: 16px
}

.district-item .badge {
	width: 38px;
	height: 38px;
	border-radius: 10px
}

/* Formularios y documentos */
.join-form input,
.join-form select,
.search input {
	border-color: var(--border);
	background: #fff
}

.primary-btn,
.docs-grid button,
.join-form button,
.event-card button {
	border-radius: 10px;
	background: var(--yellow);
	color: #111;
	box-shadow: none
}

.primary-btn:hover,
.docs-grid button:hover,
.join-form button:hover,
.event-card button:hover {
	filter: brightness(.98)
}

@media(max-width:900px) {
	.topic-submenu {
		position: relative;
		padding: 14px 0
	}

	.submenu-wrap {
		justify-content: flex-start;
		flex-wrap: wrap;
		justify-content: center;
		overflow-x: auto;
		padding: 2px 4vw 8px;
		gap: 10px
	}

	.submenu-wrap a {
		white-space: nowrap;
		min-height: 40px;
		padding: 9px 16px;
		font-size: 14px
	}

	.section {
		padding: 58px 0
	}

	.route {
		overflow-x: auto;
		grid-template-columns: repeat(4, 220px);
		padding-bottom: 10px
	}

	.route-detail {
		grid-template-columns: 1fr
	}

	.goal-grid,
	.stats-grid,
	.district-list,
	.docs-grid {
		grid-template-columns: 1fr
	}

	.map-layout,
	.events-layout,
	.join-section,
	.two-col,
	.geovisor {
		grid-template-columns: 1fr
	}

	.event-card h3 {
		font-size: 58px
	}

	.event-card:after {
		display: none
	}
}

/* Ajuste v8: unificación de ¿Qué son? y ¿Qué buscan? con video a la izquierda */
.info-video-section {
	padding-top: 64px;
}

.video-info-layout {
	display: grid;
	grid-template-columns: minmax(320px, .86fr) minmax(420px, 1.14fr);
	gap: 28px;
	align-items: stretch;
	margin-top: 32px;
}

.video-placeholder,
.district-info-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 22px;
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.video-placeholder {
	min-height: 470px;
	padding: 18px;
}

.video-box {
	width: 100%;
	height: 100%;
	min-height: 430px;
	border-radius: 18px;
	background: linear-gradient(rgba(0, 72, 132, .74), rgba(0, 72, 132, .74)), url('assets/tema-distritos-mineros.jpg') center/cover;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 34px;
}

.play-icon {
	width: 74px;
	height: 74px;
	border-radius: 999px;
	background: var(--yellow);
	color: #0b1628;
	display: grid;
	place-items: center;
	font-size: 30px;
	margin-bottom: 18px;
	padding-left: 5px;
}

.video-box h3 {
	margin: 0 0 8px;
	font-size: 28px;
}

.video-box p {
	max-width: 360px;
	margin: 0;
	font-size: 16px;
	color: rgba(255, 255, 255, .88);
}

.district-info-card {
	padding: 30px;
}

.district-info-card h3 {
	margin: 0 0 10px;
	font-size: 28px;
	color: var(--ink);
}

.district-info-card p {
	margin: 0 0 18px;
	color: var(--muted-text);
	font-size: 16px;
	line-height: 1.65;
}

.info-blocks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 20px 0 24px;
}

.info-blocks>div {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 18px;
}

.info-blocks h4 {
	margin: 0 0 10px;
	color: var(--blue);
	font-size: 18px;
}

.info-blocks ul {
	margin: 0;
	padding-left: 18px;
	color: var(--muted-text);
}

.info-blocks li {
	margin: 7px 0;
}

.compact-title {
	margin-top: 18px !important;
}

.compact-goals {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.compact-goals span {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 8px 13px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #d8e2ec;
	color: #263241;
	font-weight: 700;
	font-size: 14px;
}

.compact-goals span::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--yellow);
	margin-right: 8px;
	flex: 0 0 auto;
}

@media(max-width:900px) {
	.video-info-layout {
		grid-template-columns: 1fr;
	}

	.video-placeholder {
		min-height: 300px;
	}

	.video-box {
		min-height: 300px;
	}

	.info-blocks {
		grid-template-columns: 1fr;
	}
}

/* Ajuste v12: comportamiento por secciones, sin scroll infinito */
.tab-panel {
	display: none;
	animation: panelFade .22s ease both;
}

.tab-panel.active-panel {
	display: block;
}

@keyframes panelFade {
	from {
		opacity: 0;
		transform: translateY(8px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

.topic-submenu {
	position: sticky;
	top: 0;
}

.submenu-wrap a[role="tab"] {
	cursor: pointer;
}

.submenu-wrap a[aria-selected="true"] {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

/* Evita que las secciones ocultas ocupen espacio y mantiene una navegación tipo pestañas */
main.tab-mode .tab-panel:not(.active-panel) {
	display: none !important;
}

/* Ajuste v15: mapa de Distritos Mineros con tarjetas alineadas, hover visible y selección desde el mapa */
.stats-landscape {
	background: linear-gradient(rgba(0, 72, 132, .38), rgba(0, 72, 132, .38)), url('https://minenergia.gov.co/documents/15796/fondo-avances-distritos-mineros.webp') center/cover !important;
}

.map-section {
	text-align: center;
	background: #f8fbff;
}

.map-section h2 {
	margin-bottom: 12px;
}

.map-layout {
	display: grid;
	grid-template-columns: minmax(360px, .94fr) minmax(520px, 1.18fr);
	gap: 32px;
	align-items: stretch;
	margin-top: 36px;
}

.map-card {
	position: relative;
	height: 100%;
	min-height: 690px;
	background: var(--blue);
	border-radius: 32px;
	padding: 26px;
	box-shadow: 0 24px 70px rgba(0, 72, 132, .20);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.map-media {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 610px;
	border-radius: 24px;
	overflow: hidden;
	background: #075aa7;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.map-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 24px;
}

.map-hotspots {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.map-hotspot {
	position: absolute;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--yellow);
	transform: translate(-50%, -50%);
	box-shadow: 0 5px 14px rgba(0, 0, 0, .24);
	cursor: pointer;
	pointer-events: auto;
	transition: transform .18s ease, box-shadow .18s ease, outline-color .18s ease;
}

.map-hotspot.formulado {
	background: #94b8e6;
}

.map-hotspot::after {
	content: attr(aria-label);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 9px);
	transform: translateX(-50%);
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	box-shadow: 0 10px 24px rgba(10, 30, 60, .16);
	transition: opacity .18s ease, visibility .18s ease;
}

.map-hotspot:hover,
.map-hotspot:focus,
.map-hotspot.active {
	transform: translate(-50%, -50%) scale(1.35);
	outline: 5px solid rgba(51, 102, 204, .22);
	box-shadow: 0 10px 26px rgba(0, 72, 132, .30);
	z-index: 5;
}

.map-hotspot:hover::after,
.map-hotspot:focus::after,
.map-hotspot.active::after {
	opacity: 1;
	visibility: visible;
}

.map-caption {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	color: #fff;
	font-weight: 700;
	padding-top: 16px;
}

.legend-dot {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: -2px;
	border: 2px solid #fff;
}

.legend-dot.adopted {
	background: var(--yellow)
}

.legend-dot.formulated {
	background: #94b8e6
}

.districts-panel {
	height: 100%;
	min-height: 690px;
	display: flex;
	flex-direction: column;
}

.filter-pills {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 20px;
	justify-content: flex-start;
}

.filter-pills button {
	min-height: 54px;
	border: 2px solid var(--line);
	color: #1f2937;
	background: #fff;
	border-radius: 999px;
	padding: 0 28px;
	font-size: 16px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(10, 30, 60, .03);
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.filter-pills button:hover,
.filter-pills button:focus {
	transform: translateY(-1px);
	border-color: var(--blue);
	outline: 0;
}

.filter-pills button.active {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

.district-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	flex: 1;
	align-content: stretch;
}

.district-item {
	min-height: 112px;
	height: 100%;
	background: #fff;
	border: 2px solid #d7e2ee;
	border-radius: 22px;
	padding: 20px 24px;
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 18px;
	align-items: center;
	text-align: left;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(10, 30, 60, .055);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.district-item:hover,
.district-item:focus,
.district-item.active {
	border-color: var(--gov);
	box-shadow: 0 18px 38px rgba(0, 72, 132, .16);
	transform: translateY(-2px);
	outline: 0;
}

.district-item .badge {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: var(--yellow);
	display: grid;
	place-items: center;
	color: #111;
	font-weight: 900;
	font-size: 22px;
}

.district-item.formulado .badge {
	background: #e8f1fb;
	color: #0050a4;
}

.district-item strong {
	display: block;
	color: var(--ink);
	font-size: 23px;
	line-height: 1.1;
	margin-bottom: 4px;
	letter-spacing: -.02em;
}

.district-item small {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #687386;
	font-size: 15px;
	line-height: 1.2;
}

.district-item small::before {
	content: "⌖";
	color: #506070;
	font-size: 18px;
}

@media(max-width:1100px) {
	.map-layout {
		grid-template-columns: 1fr;
	}

	.map-card,
	.districts-panel {
		min-height: auto;
	}

	.map-media {
		min-height: 520px;
	}
}

@media(max-width:680px) {
	.map-card {
		border-radius: 24px;
		padding: 16px;
	}

	.map-media {
		min-height: 430px;
		border-radius: 18px;
	}

	.map-media img {
		border-radius: 18px;
	}

	.district-list {
		grid-template-columns: 1fr;
	}

	.district-item {
		min-height: 104px;
		padding: 18px;
		grid-template-columns: 54px 1fr;
	}

	.district-item .badge {
		width: 50px;
		height: 50px;
	}

	.district-item strong {
		font-size: 21px;
	}

	.filter-pills button {
		min-height: 46px;
		padding: 0 18px;
		font-size: 14px;
	}

	.map-hotspot {
		width: 20px;
		height: 20px;
	}
}

/* Ajuste v16: mapa real y tarjetas de distritos más compactas, delicadas y alineadas */
.map-layout {
	grid-template-columns: minmax(420px, .98fr) minmax(540px, 1.32fr) !important;
	gap: 30px !important;
	align-items: stretch !important;
}

.map-card {
	background: transparent !important;
	border-radius: 28px !important;
	padding: 0 !important;
	min-height: auto !important;
	box-shadow: none !important;
	justify-content: stretch !important;
}

.map-media {
	min-height: 640px !important;
	height: 100% !important;
	border-radius: 24px !important;
	background: #fff !important;
	box-shadow: 0 18px 42px rgba(10, 30, 60, .10) !important;
	border: 1px solid var(--border) !important;
}

.map-media img {
	object-fit: cover !important;
	object-position: center !important;
	border-radius: 24px !important;
}

.map-caption {
	display: none !important;
}

.map-hotspot {
	width: 20px !important;
	height: 20px !important;
	border: 3px solid #fff !important;
	background: var(--yellow) !important;
	box-shadow: 0 5px 14px rgba(0, 0, 0, .25) !important;
}

.map-hotspot.formulado {
	background: #e9f1fb !important;
	border-color: #fff !important;
}

.map-hotspot:hover,
.map-hotspot:focus,
.map-hotspot.active {
	transform: translate(-50%, -50%) scale(1.48) !important;
	outline: 4px solid rgba(0, 72, 132, .25) !important;
	box-shadow: 0 12px 28px rgba(0, 72, 132, .30) !important;
}

.districts-panel {
	min-height: 640px !important;
}

.filter-pills {
	gap: 10px !important;
	margin-bottom: 16px !important;
}

.filter-pills button {
	min-height: 40px !important;
	height: 40px !important;
	padding: 0 22px !important;
	font-size: 14px !important;
	border-radius: 999px !important;
	border: 2px solid #d8e2ec !important;
	box-shadow: none !important;
}

.district-list {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 12px !important;
	align-content: stretch !important;
}

.district-item {
	min-height: 84px !important;
	height: 100% !important;
	padding: 14px 16px !important;
	border-radius: 16px !important;
	border: 2px solid #d7e2ee !important;
	grid-template-columns: 46px 1fr !important;
	gap: 14px !important;
	box-shadow: 0 6px 18px rgba(10, 30, 60, .045) !important;
	align-items: center !important;
}

.district-item:hover,
.district-item:focus,
.district-item.active {
	border-color: #0050b5 !important;
	box-shadow: 0 12px 26px rgba(0, 72, 132, .14) !important;
	transform: translateY(-1px) !important;
	outline: 0 !important;
}

.district-item .badge {
	width: 44px !important;
	height: 44px !important;
	border-radius: 10px !important;
	font-size: 18px !important;
}

.district-item.formulado .badge {
	background: #e9f1fb !important;
	color: #0050b5 !important;
}

.district-item strong {
	font-size: 19px !important;
	line-height: 1.12 !important;
	margin: 0 0 3px !important;
}

.district-item small {
	font-size: 14px !important;
	line-height: 1.1 !important;
	justify-content: flex-start !important;
}

.district-item small::before {
	content: "⌖" !important;
	font-size: 16px !important;
}

@media(max-width:1100px) {
	.map-layout {
		grid-template-columns: 1fr !important;
	}

	.map-media {
		min-height: 560px !important;
	}

	.districts-panel {
		min-height: auto !important;
	}
}

@media(max-width:680px) {
	.map-media {
		min-height: 440px !important;
	}

	.district-list {
		grid-template-columns: 1fr !important;
	}

	.district-item {
		min-height: 86px !important;
		grid-template-columns: 46px 1fr !important;
		padding: 14px !important;
	}

	.district-item strong {
		font-size: 19px !important;
	}

	.filter-pills button {
		height: 38px !important;
		min-height: 38px !important;
		padding: 0 16px !important;
		font-size: 13px !important;
	}
}


/* v17 - Sistema de iconos estilo Flaticon, minimalistas y consistentes */
.fi-icon,
.badge-icon {
	width: 1.08em;
	height: 1.08em;
	display: inline-block;
	vertical-align: -0.16em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.1;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.search button {
	display: grid;
	place-items: center;
	color: #fff;
	background: #bfc5cc;
	min-width: 48px;
	cursor: pointer;
}

.search button .fi-icon {
	width: 20px;
	height: 20px;
}

.submenu-wrap a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.submenu-wrap a .fi-icon {
	width: 17px;
	height: 17px;
	stroke-width: 2.2;
}

.play-icon {
	display: grid;
	place-items: center;
}

.play-icon .fi-icon {
	width: 48px;
	height: 48px;
	color: #fff;
	stroke-width: 1.9;
}

.event-card:after {
	content: none !important;
	display: none !important;
}

.event-visual-icon {
	position: absolute;
	right: 42px;
	top: 42px;
	width: 128px;
	height: 128px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .12);
	display: grid;
	place-items: center;
	color: var(--yellow);
}

.event-visual-icon .fi-icon {
	width: 72px;
	height: 72px;
	stroke-width: 1.8;
}

.event-card ul li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.event-inline {
	width: 18px;
	height: 18px;
	color: var(--yellow);
	stroke-width: 2;
}

.district-item .badge {
	font-size: 0;
}

.district-item .badge .badge-icon {
	width: 24px;
	height: 24px;
	stroke-width: 2.2;
}

.district-item.formulado .badge .badge-icon {
	width: 25px;
	height: 25px;
}

.modal-head p::before,
.district-item small::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 5px;
	vertical-align: -2px;
	background: currentColor;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M12 21s7-6.1 7-12a7 7 0 1 0-14 0c0 5.9 7 12 7 12Z"/><circle fill="none" stroke="black" stroke-width="2" cx="12" cy="9" r="2.4"/></svg>') center/contain no-repeat;
}

.docs-grid article h3::before {
	content: "";
	display: inline-block;
	width: 26px;
	height: 26px;
	margin-right: 10px;
	vertical-align: -5px;
	color: var(--blue);
	background: currentColor;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M7 3h7l4 4v14H7zM14 3v5h5M9 13h6M9 17h6"/></svg>') center/contain no-repeat;
}

.stats-grid article::before {
	content: "";
	display: block;
	width: 38px;
	height: 38px;
	margin-bottom: 16px;
	border-radius: 10px;
	background: var(--yellow);
	box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .0);
}

.stats-grid article:nth-child(1)::before {
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M9 18 3 21V6l6-3 6 3 6-3v15l-6 3-6-3ZM9 3v15M15 6v15"/></svg>') center/58% no-repeat;
}

.stats-grid article:nth-child(2)::before {
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M4 21V9l8-5 8 5v12M9 21v-7h6v7M7 10h.01M17 10h.01"/></svg>') center/58% no-repeat;
}

.stats-grid article:nth-child(3)::before {
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M4 20V7l8-4 8 4v13M9 20v-8h6v8M8 8h8"/></svg>') center/58% no-repeat;
}

.stats-grid article:nth-child(4)::before {
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM2.5 19c.7-3.4 2.6-5.2 5.5-5.2s4.8 1.8 5.5 5.2M16 11a2.5 2.5 0 1 0 0-5M15.5 14c2.3.2 3.8 1.8 4.3 4.6"/></svg>') center/58% no-repeat;
}

.stats-grid article:nth-child(5)::before,
.stats-grid article:nth-child(6)::before {
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M7 3h7l4 4v14H7zM14 3v5h5M9 14l2 2 4-5"/></svg>') center/58% no-repeat;
}

@media(max-width:900px) {
	.event-visual-icon {
		display: none
	}

	.submenu-wrap a .fi-icon {
		width: 15px;
		height: 15px
	}
}

/* Ajuste solicitado: ruta de implementación con iconos minimalistas, monocromáticos y avance azul puro */
.route-section {
  background: #edf5fb;
}

.route {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 58px 0 42px;
  position: relative;
  --progress: 0%;
}

.route:before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 30px;
  height: 5px;
  background: #d5e0e9;
  border-radius: 999px;
  z-index: 0;
}

.route:after {
  content: "";
  position: absolute;
  left: 24px;
  top: 30px;
  height: 5px;
  width: var(--progress, 0%);
  background: var(--blue);
  border-radius: 999px;
  z-index: 0;
  transition: width .35s ease;
}

.route-step {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  padding: 0 12px;
  color: var(--text);
}

.route-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 5px solid #d5e0e9;
  background: #fff;
  color: #6b7481;
  margin-bottom: 22px;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.route-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-step.active .route-icon,
.route-step.completed .route-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.route-step.active .route-icon {
  box-shadow: 0 0 0 6px rgba(0, 72, 132, .10);
  transform: scale(1.03);
}

.route-step small {
  color: var(--yellow);
  font-weight: 900;
  display: block;
  margin-bottom: 4px;
}

.route-step strong {
  display: block;
  font-size: 18px;
  color: var(--text);
  line-height: 1.22;
}

.route-step.active strong {
  color: var(--ink);
}

.route-step em {
  display: block;
  font-style: normal;
  color: #6b7481;
  font-size: 15px;
  margin-top: 2px;
}

.route-detail {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 8px 22px rgba(10, 30, 60, .08);
}

.detail-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0;
}

.detail-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media(max-width:900px) {
  .route {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .route:before,
  .route:after {
    display: none
  }

  .route-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 14px;
    align-items: center
  }

  .route-icon {
    grid-row: 1/4;
    margin: 0;
    width: 58px;
    height: 58px
  }

  .route-step small,
  .route-step strong,
  .route-step em {
    grid-column: 2
  }
}

/* Ajuste v18 - calendario con detalle dinámico por evento */
.calendar-days button {
	cursor: default;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.calendar-days button.has-event {
	cursor: pointer;
}

.calendar-days button.has-event:hover,
.calendar-days button.has-event:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(0, 72, 132, .18);
	outline: 2px solid rgba(244, 196, 0, .45);
	outline-offset: 2px;
}

.calendar-days button.selected {
	background: var(--yellow) !important;
	color: #111 !important;
	box-shadow: 0 8px 18px rgba(244, 196, 0, .35);
	font-weight: 900;
}

.calendar-days button.selected:after {
	background: var(--blue) !important;
}

.calendar-days button.no-event {
	opacity: .72;
}

.event-card {
	transition: opacity .22s ease, transform .22s ease;
}

.event-card ul {
	row-gap: 10px;
}

.event-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: var(--yellow);
	color: #111;
	border-radius: 8px;
	padding: 14px 28px;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
	margin-top: 10px;
}

.event-cta:hover,
.event-cta:focus-visible {
	filter: brightness(.96);
	outline: 3px solid rgba(244, 196, 0, .35);
	outline-offset: 3px;
}

/* Ajuste estético solicitado: Ejes de transformación como bloque visual independiente */
.transformation-axes {
	margin-top: 34px;
	padding: 30px;
	border-radius: 28px;
	background:
		radial-gradient(circle at top left, rgba(244, 196, 0, .18), transparent 28%),
		linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
	border: 1px solid var(--border);
	box-shadow: 0 18px 46px rgba(10, 30, 60, .08);
}

.axes-intro {
	display: grid;
	grid-template-columns: minmax(260px, .7fr) 1.3fr;
	gap: 18px 32px;
	align-items: end;
	margin-bottom: 24px;
}

.axes-intro .eyebrow {
	grid-column: 1/-1;
	width: max-content;
}

.axes-intro h3 {
	margin: 0;
	color: var(--ink);
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.05;
	letter-spacing: -.03em;
}

.axes-intro h3::after {
	content: "";
	display: block;
	width: 58px;
	height: 4px;
	margin-top: 12px;
	border-radius: 999px;
	background: var(--yellow);
}

.axes-intro p {
	margin: 0;
	color: var(--muted-text);
	font-size: 17px;
	line-height: 1.65;
}

.axes-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.axis-card {
	position: relative;
	min-height: 315px;
	padding: 24px 22px 24px;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	border: 1px solid #dbe5ee;
	box-shadow: 0 10px 26px rgba(10, 30, 60, .055);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.axis-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, var(--blue), var(--yellow));
}

.axis-card::after {
	content: "";
	position: absolute;
	right: -38px;
	bottom: -38px;
	width: 120px;
	height: 120px;
	border-radius: 999px;
	background: rgba(0, 72, 132, .06);
}

.axis-card:hover,
.axis-card:focus-within {
	transform: translateY(-4px);
	border-color: rgba(0, 72, 132, .34);
	box-shadow: 0 18px 42px rgba(0, 72, 132, .14);
}

.axis-icon {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	background: var(--blue);
	color: #fff;
	margin-bottom: 18px;
	box-shadow: 0 10px 24px rgba(0, 72, 132, .2);
}

.axis-icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.05;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.axis-card span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 26px;
	padding: 0 10px;
	margin-bottom: 12px;
	border-radius: 999px;
	background: #fff7d1;
	color: #6f5400;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
}

.axis-card h4 {
	margin: 0 0 12px;
	color: var(--ink);
	font-size: 20px;
	line-height: 1.14;
	letter-spacing: -.02em;
}

.axis-card p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #5c6a7d;
	font-size: 15px;
	line-height: 1.58;
}

@media(max-width:1050px) {
	.axes-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.axis-card {
		min-height: 260px;
	}
}

@media(max-width:720px) {
	.transformation-axes {
		padding: 22px;
		border-radius: 22px;
	}

	.axes-intro {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.axes-grid {
		grid-template-columns: 1fr;
	}

	.axis-card {
		min-height: auto;
	}
}

/* Ajuste minimalista solicitado: Ejes de transformación más sobrios y alineados al micrositio */
.transformation-axes {
	margin-top: 34px !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.axes-intro {
	display: block !important;
	max-width: 860px !important;
	margin: 0 0 24px !important;
}

.axes-intro .eyebrow {
	width: max-content !important;
	margin-bottom: 10px !important;
}

.axes-intro h3 {
	margin: 0 0 10px !important;
	color: var(--ink) !important;
	font-size: clamp(26px, 2.6vw, 36px) !important;
	line-height: 1.12 !important;
	letter-spacing: -.02em !important;
}

.axes-intro h3::after {
	content: "" !important;
	display: block !important;
	width: 48px !important;
	height: 3px !important;
	margin-top: 12px !important;
	border-radius: 999px !important;
	background: var(--yellow) !important;
}

.axes-intro p {
	margin: 0 !important;
	color: var(--muted-text) !important;
	font-size: 16px !important;
	line-height: 1.65 !important;
	max-width: 780px !important;
}

.axes-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
}

.axis-card {
	position: relative !important;
	min-height: auto !important;
	padding: 22px 22px 22px 24px !important;
	overflow: visible !important;
	border-radius: 18px !important;
	background: #fff !important;
	border: 1px solid #dbe5ee !important;
	border-left: 4px solid var(--blue) !important;
	box-shadow: 0 4px 14px rgba(10, 30, 60, .045) !important;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.axis-card::before,
.axis-card::after {
	content: none !important;
	display: none !important;
}

.axis-card:hover,
.axis-card:focus-within {
	transform: translateY(-1px) !important;
	border-color: #cddae8 !important;
	border-left-color: var(--yellow) !important;
	box-shadow: 0 8px 20px rgba(10, 30, 60, .075) !important;
}

.axis-icon {
	width: 38px !important;
	height: 38px !important;
	display: grid !important;
	place-items: center !important;
	border-radius: 10px !important;
	background: #eef5fb !important;
	color: var(--blue) !important;
	margin: 0 0 14px !important;
	box-shadow: none !important;
}

.axis-icon svg {
	width: 21px !important;
	height: 21px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.axis-card span {
	position: absolute !important;
	top: 22px !important;
	right: 22px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: auto !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #8a98aa !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: .08em !important;
}

.axis-card h4 {
	margin: 0 0 8px !important;
	padding-right: 38px !important;
	color: var(--ink) !important;
	font-size: 18px !important;
	line-height: 1.22 !important;
	letter-spacing: -.01em !important;
}

.axis-card p {
	position: relative !important;
	z-index: 1 !important;
	margin: 0 !important;
	color: #5f6f82 !important;
	font-size: 14.5px !important;
	line-height: 1.58 !important;
}

@media(max-width:900px) {
	.axes-grid {
		grid-template-columns: 1fr !important;
	}

	.axis-card {
		padding: 20px !important;
		border-radius: 16px !important;
	}

	.axis-card span {
		top: 20px !important;
		right: 20px !important;
	}
}