:root {
	--dark: #063d4f;
	--primary: #117a88;
	--accent: #6fd3d9;
	--light: #eceae5;
	--white: #ffffff;
	--text: #222222;
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	background: var(--light);
	color: var(--text);
}


/* ── LAYOUT SPACING ── */
.container.header-content {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

/* ── SECTION CARDS ── */
.main-inicio {
	border-radius: 5px;
	padding: 30px 20px;
	margin: 20px 0px;
	background-image: linear-gradient(to bottom, #ffffff, #eceae5);
}

.main-articulo {
	border-radius: 5px;
	padding: 20px;
	background-image: linear-gradient(to bottom, #ffffff, #eceae5);
}

.main-ediciones {
	border-radius: 5px;
	padding: 40px 20px;
	margin: 20px 10px;
	background-image: linear-gradient(to bottom, #fff, #fff);
}

.main-trayectoria {
	border-radius: 5px;
	padding: 40px 20px;
	margin: 20px 10px;
	background-image: linear-gradient(to bottom, #eceae5, #eceae5);
}

.main-sobre {
	border-radius: 5px;
	padding: 40px 20px;
	margin: 20px 10px;
	background-image: linear-gradient(to bottom, #e8e5df, #e8e5df);
}

.main-noticias {
	border-radius: 5px;
	padding: 40px 20px;
	margin: 20px 10px;
	background-image: linear-gradient(to bottom, #e8e5df, #e8e5df);
}

.noticia-link {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	padding: .85rem 1rem;
	background: #fff;
	border: 1px solid #c3bdae;
	border-radius: 0.5rem;
	color: var(--dark);
	text-decoration: none;
	font-size: .88rem;
	font-weight: 400;
	transition: background .2s, border-color .2s, color .2s;
	line-height: 1.4;
	height: 100%;
}

.noticia-link:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

.noticia-source {
	display: inline-block;
	background: var(--primary);
	color: #fff;
	font-size: .65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: .2rem .55rem;
	border-radius: 0.5rem;
	flex-shrink: 0;
	align-self: flex-start;
}

.noticia-link:hover .noticia-source {
	background: #fff;
	color: var(--primary);
}

.noticia-title {
	font-size: .88rem;
	font-weight: 400;
	line-height: 1.4;
}

/* ── HERO CONTAINER ── */
#inicio.header-content {
	padding-top: 2rem;
	margin-top: 0;
}

/* ── HERO ── */
.hero-scorecard {
	background: var(--dark);
	border: 1px solid rgba(111, 211, 217, .3);
	border-radius: 0.5rem;
	padding: 1.75rem 2rem;
	color: var(--white);
}

.hero-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 900;
	color: var(--dark);
	line-height: 1.15;
}

.hero-title span {
	color: var(--primary);
}

.hero-subtitle {
	color: #444;
	font-size: clamp(.95rem, 2vw, 1.1rem);
	font-weight: 300;
	max-width: 520px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--primary);
	color: var(--white);
	border-radius: 0.5rem;
	padding: .35rem 1rem;
	font-size: .8rem;
	font-weight: 500;
	letter-spacing: .04em;
	margin-bottom: 1.5rem;
}

.hero-logos {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1rem;
}

.hero-logos a {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-logos img {
	width: 100%;
	height: auto;
	opacity: .85;
	object-fit: contain;
}

/* ── SCORE CARD ── */
.hero-scorecard h6 {
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	opacity: .7;
	margin-bottom: .25rem;
}

.score-big {
	font-size: 3.5rem;
	font-weight: 900;
	line-height: 1;
	color: var(--dark);
}

.hero-scorecard .score-big,
.hero-scorecard .score-label,
.hero-scorecard .score-mini {
	color: var(--white);
}

.score-label {
	font-size: .75rem;
	color: #666;
}

.score-mini {
	font-size: 1.8rem;
	font-weight: 700;
}

/* ── WAVE ── */
.wave-divider {
	line-height: 0;
}

.wave-divider svg {
	display: block;
	width: 100%;
}

/* ── SECTION ── */
.section-label {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--primary);
}

.section-title-lg {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 700;
	color: var(--dark);
}

/* ── EDITION CARDS ── */
.edition-card {
	border-radius: 0.5rem;
	overflow: hidden;
	border: none;
	box-shadow: 0 8px 30px rgba(6, 61, 79, .1);
	transition: transform .35s ease, box-shadow .35s ease;
	height: 100%;
}

.edition-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(6, 61, 79, .2);
}

.edition-card .card-header {
	padding: 1.5rem 1.5rem 1rem;
	position: relative;
}

.edition-card .year-badge {
	font-size: 3.5rem;
	font-weight: 900;
	line-height: 1;
	opacity: .12;
	position: absolute;
	color: rgba(255, 255, 255, .82);
	top: .5rem;
	right: 1rem;
}

.edition-card .year-label {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--white);
}

.edition-card .year-sub {
	font-size: .8rem;
	font-weight: 400;
	color: rgba(255, 255, 255, .82);
}

/* 2021 — light teal (oldest) */
.card-2021 .card-header {
	background-color: #117a88;
}

/* 2023 — medium teal */
.card-2023 .card-header {
	background-color: #0e6371;
}

/* 2025 — dark teal (newest, most authoritative) */
.card-2025 .card-header {
	background-color: #063d4f;
}

.edition-card .card-body {
	background: var(--white);
	padding: 1.25rem 1.5rem;
}

.score-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .45rem 0;
	border-bottom: 1px solid #ede9e3;
}

.score-row:last-of-type {
	border-bottom: none;
}

.score-row .label {
	font-size: .8rem;
	color: #555;
}

.score-row .value {
	font-size: 1rem;
	font-weight: 700;
	color: var(--primary);
}

.score-row .bar-wrap {
	flex: 1;
	margin: 0 .75rem;
	height: 6px;
	background: #ddd8d0;
	border-radius: 0.5rem;
	overflow: hidden;
}

.score-row .bar-inner {
	height: 100%;
	border-radius: 0.5rem;
	width: 0;
	transition: width 1.4s ease-out;
}

.bar-transparencia {
	background: var(--primary);
}

.bar-participacion {
	background: var(--dark);
}

.bar-vigilancia {
	background: var(--accent);
}


.btn-card {
	border-radius: 0.5rem;
	font-weight: 500;
	font-size: .9rem;
	padding: .6rem 1.25rem;
	width: 100%;
	margin-top: .5rem;
	transition: all .3s;
}

.btn-card-2021 {
	background: linear-gradient(135deg, #117a88, #117a88);
	color: var(--white);
	border: none;
}

.btn-card-2023 {
	background: linear-gradient(135deg, #0e6371, #0e6371);
	color: var(--white);
	border: none;
}

.btn-card-2025 {
	background: linear-gradient(135deg, #063d4f, #063d4f);
	color: var(--white);
	border: none;
}

/* Score value colors in cards */
.val-transparencia {
	color: var(--primary) !important;
}

.val-participacion {
	color: var(--dark) !important;
}

.val-vigilancia {
	color: var(--accent) !important;
	filter: brightness(.75);
}

/* ── TIMELINE ── */
.timeline-section {
	background: transparent;
	color: var(--text);
	padding: 0;
}

.tl-title {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
}

.tl-subtitle {
	color: #555;
	font-size: .95rem;
}

.tl-track {
	position: relative;
	padding: 2.5rem 0 1rem;
}

.tl-track::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 3px;
	background: rgba(111, 211, 217, .5);
	transform: translateY(-50%);
}

.tl-bar-fill {
	position: absolute;
	top: 50%;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--accent), var(--primary));
	transform: translateY(-50%);
	width: 0;
	transition: width 2s ease-out;
}

.tl-points {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
}

.tl-point {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .4rem;
	cursor: default;
}

.tl-dot {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--light);
	border: 3px solid var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.4rem;
	transition: all .4s;
	position: relative;
	z-index: 1;
	color: var(--dark);
}

.tl-point.active .tl-dot {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--dark);
	box-shadow: 0 0 0 6px rgba(111, 211, 217, .25);
	transform: scale(1.2);
}

.tl-year {
	font-size: .72rem;
	color: #666;
	font-weight: 500;
}

.tl-score {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--dark);
}

.tl-point.active .tl-score {
	color: var(--primary);
}

/* ── PILLARS ── */
.pillar-section {
	padding: 0;
}

.pillar-card {
	border-radius: 0.5rem;
	padding: 1.75rem;
	height: 100%;
	border: 2px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}

.pillar-card:hover {
	border-color: var(--accent);
	box-shadow: 0 8px 30px rgba(17, 122, 136, .12);
}

.pillar-icon {
	width: 56px;
	height: 56px;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	margin-bottom: 1rem;
}

.pillar-card h5 {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: .4rem;
	color: var(--dark);
}

.pillar-card p {
	font-size: .85rem;
	color: #555;
	margin: 0;
}

/* ── FOOTER ── */
.site-footer {
	background: var(--dark);
	color: rgba(255, 255, 255, .72);
	padding: 3rem 0 1.5rem;
}

.site-footer a {
	color: rgba(255, 255, 255, .6);
	text-decoration: none;
	transition: color .2s;
}

.site-footer a:hover {
	color: var(--white);
}

.footer-logo {
	filter: brightness(0) invert(1);
	opacity: .65;
	max-height: 45px;
}

.social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(111, 211, 217, .12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, .75);
	transition: all .25s;
	text-decoration: none;
}

.social-icon:hover {
	background: var(--accent);
	color: var(--dark);
	transform: translateY(-3px);
}

/* ── COUNTER ── */
.counter {
	font-variant-numeric: tabular-nums;
}

/* ── SCROLL TO TOP ── */
#scrollTop {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--primary);
	color: var(--white);
	border: none;
	font-size: 1rem;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(17, 122, 136, .4);
	opacity: 0;
	transition: opacity .3s, transform .3s;
	z-index: 999;
}

#scrollTop.visible {
	opacity: 1;
}

#scrollTop:hover {
	transform: translateY(-3px);
	background: var(--dark);
}

@media (max-width: 768px) {
	.hero-scorecard {
		padding: 1.25rem;
	}

	.tl-track::before {
		top: 22px;
		transform: none;
	}

	.tl-bar-fill {
		top: 22px;
		transform: none;
	}

	.tl-year,
	.tl-score {
		font-size: .65rem;
	}

	.tl-dot {
		width: 48px;
		height: 48px;
		font-size: .9rem;
	}

	.site-footer {
		padding: 40px 20px;
	}
}

/* ── OBS 2025 ARTICLE SECTION ── */
.obs-article {
	background: var(--white);
	padding: 5rem 0 4rem;
}

.obs-article h1.obs-title {
	font-weight: 900;
	font-size: clamp(1.7rem, 3.5vw, 2.6rem);
	color: var(--dark);
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.obs-article .obs-lead {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--dark);
	line-height: 1.7;
	margin-bottom: 2rem;
}

.obs-article .obs-section-title {
	font-weight: 900;
	font-size: 1.25rem;
	color: var(--primary);
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 2.5rem 0 1rem;
	padding-bottom: .4rem;
	border-bottom: 3px solid var(--accent);
	display: inline-block;
}

.obs-article p {
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text);
	margin-bottom: 1.2rem;
}

.obs-article p strong {
	font-weight: 700;
	color: var(--dark);
}

.obs-blockquote,
.obs-blockquote-sm {
	font-style: italic;
	color: #111;
	background-color: #eceae5;
	border: 1px solid #c3bdae;
	border-radius: 0.5rem;
	padding: 2.2rem 3rem;
	margin: 2rem 0;
	font-size: 1.08em;
	line-height: 1.4em;
	letter-spacing: 0.2px;
	font-weight: 400;
}

.obs-blockquote-sm a {
	color: var(--primary);
	font-weight: 700;
}

.obs-logo-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
	max-width: 100%;
	height: auto;
	margin: 2rem 0;
}

.obs-logo-row img {
	max-width: 100%;
	height: auto;
	opacity: .9;
}

.obs-closing {
	font-weight: 300;
	font-size: .95rem;
	color: #555;
	line-height: 1.8;
	border-top: 1px solid #ddd;
	padding-top: 1.5rem;
	margin-top: 1rem;
}
