/* ==========================================================================
   GovNext - Estilos principales
   Optimizado para Core Web Vitals y rendimiento
   ========================================================================== */

/* Variables CSS */
:root {
	--color-primary: #1a3a5c;
	--color-primary-dark: #0f2840;
	--color-secondary: #f5a623;
	--color-accent: #e8941f;
	--color-text: #333333;
	--color-text-light: #666666;
	--color-white: #ffffff;
	--color-bg-light: #f8f9fa;
	--color-bg-dark: #1a3a5c;
	--font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--transition: all 0.3s ease;
	--bs-border-color: #9d9d9d;
}

/* Reset y base */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family);
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text);
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

b,
strong {
	font-weight: bold;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition);
}

/* Navegación */
.navbar {
	background: transparent;
	padding: 1rem 0;
	position: absolute;
	width: 100%;
	z-index: 1000;
	transition: var(--transition);
}

.navbar.scrolled {
	background: var(--color-primary-dark);
	position: fixed;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
	height: 40px;
	width: auto;
}

.navbar-logo,
.footer-logo-img {
	filter: brightness(0) invert(1);
}

.navbar-nav .nav-link {
	color: var(--color-white) !important;
	font-weight: 500;
	padding: 0.5rem 1rem !important;
	transition: var(--transition);
}

.navbar-nav .nav-link:hover {
	color: var(--color-secondary) !important;
}

.navbar-toggler {
	border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, rgba(26, 58, 92, 0.1) 0%, rgba(15, 40, 64, 0.2) 100%), url("../img/hero.jpg") center/cover no-repeat;
	min-height: 60vh;
	display: flex;
	align-items: center;
	padding-top: 80px;
	position: relative;
}

.hero-content {
	color: var(--color-white);
	padding: 2rem 0;
}

.hero-date {
	display: inline-block;
	background: var(--color-secondary);
	color: var(--color-primary-dark);
	padding: 0.5rem 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.hero-location {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.hero h1 {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 2rem;
}

.hero h1 span {
	color: var(--color-secondary);
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Botones */
.btn-outline-light {
	border: 2px solid var(--color-white);
	color: var(--color-white);
	padding: 0.75rem 2rem;
	font-weight: 600;
	border-radius: 0;
	transition: var(--transition);
}

.btn-outline-light:hover {
	background: var(--color-white);
	color: var(--color-primary);
}

.btn-warning {
	background: var(--color-secondary);
	border: 2px solid var(--color-secondary);
	color: var(--color-primary-dark);
	padding: 0.75rem 2rem;
	font-weight: 600;
	border-radius: 0;
	transition: var(--transition);
}

.btn-warning:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-primary-dark);
}

/* Sección Qué es */
.section-about {
	padding: 5rem 0;
	background: var(--color-white);
	position: relative;
	overflow: hidden;
}

.section-about::after {
	content: "";
	position: absolute;
	right: -10%;
	top: 50%;
	transform: translateY(-50%);
	width: 550px;
	height: 550px;
	background: url("../img/logo-sin-texto.png") center/contain no-repeat;
	opacity: 0.08;
	pointer-events: none;
	z-index: 0;
}

.section-about .container {
	position: relative;
	z-index: 1;
}

.about-logo {
	max-width: 200px;
	height: auto;
	margin-bottom: 1rem;
}

.about-subtitle {
	color: var(--color-primary);
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.4;
}

.about-subtitle strong {
	color: var(--color-secondary);
	font-weight: 600;
}

.about-description {
	font-size: 1.2rem;
	color: var(--color-primary);
	line-height: 1.8;
}

.about-description strong {
	font-weight: bold;
}

/* Stats Section */
.section-stats {
	background: var(--color-bg-light);
	padding: 3rem 0;
}

.section-stats .row {
	display: flex;
	flex-wrap: wrap;
}

.section-stats .row > [class*="col-"] {
	display: flex;
}

.stats-title {
	text-align: center;
	color: var(--color-primary);
	font-size: 2rem;
	font-weight: 200;
	margin-bottom: 2rem;
}

.stat-card {
	background: var(--color-primary);
	color: var(--color-white);
	padding: 2rem 1.5rem;
	text-align: center;
	margin-bottom: 1rem;
	transition: var(--transition);
	border-radius: 20px;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.stat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(26, 58, 92, 0.3);
}

.stat-number {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1;
	margin-bottom: 0.5rem;
	color: var(--color-secondary);
}

.stat-label {
	font-size: 1rem;
	opacity: 1;
}

/* Retos Section */
.section-challenges {
	background: var(--color-primary);
	padding: 5rem 0;
	color: var(--color-white);
}

.section-challenges .section-title {
	text-align: center;
	font-size: 2.75rem;
	font-weight: 900;
	margin-bottom: 0rem;
}

.section-challenges hr {
	color: var(--color-secondary);
	opacity: 0.8;
}

.challenge-card {
	margin-bottom: 2rem;
	padding: 0 1rem;
}

.challenge-number {
	font-size: 4.5rem;
	font-weight: 900;
	color: var(--color-secondary);
	display: flex;
	align-items: baseline;
	margin-bottom: 1rem;
	line-height: 1;
}

.challenge-number img {
	width: 24px;
	margin-left: 0.5rem;
}

.challenge-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 0.2rem;
}

.challenge-text {
	font-size: 1.1rem;
	opacity: 0.85;
	line-height: 1.4;
}

/* Objetivos Section */
.section-objectives {
	padding: 0;
	position: relative;
}

.objectives-bg-image {
	min-height: 100%;
	background: url("../img/Barcelona-BN.jpg") center/cover no-repeat;
}

.objectives-image {
	position: relative;
	min-height: 100%;
	background-color: var(--color-white);
}

.objectives-image::before {
	content: "";
	position: absolute;
	left: -50%;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 100%;
	background: url("../img/logo-sin-texto.png") center/contain no-repeat;
	opacity: 0.08;
	pointer-events: none;
	z-index: 0;
}

.objectives-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: left;
	color: var(--color-primary);
	padding: 0;
	z-index: 1;
}

.objectives-label {
	font-size: 1.9rem;
	font-weight: 900;
	margin-bottom: 0rem;
}

.objectives-title {
	font-size: 1.9rem;
	font-weight: 900;
	margin-bottom: 0.5rem;
	white-space: nowrap;
}

.objectives-date {
	color: var(--color-secondary);
	font-weight: 900;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.objectives-subtitle {
	font-size: 1.3rem;
	max-width: 300px;
	margin: 0 auto;
}

.objectives-subtitle span {
	color: var(--color-secondary);
}

.objectives-stats {
	background: var(--color-white);
	padding: 3rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.objective-stat {
	display: flex;
	flex-direction: column;
	align-items: start;
	margin-bottom: 2.5rem;
}

.objective-stat:last-child {
	margin-bottom: 0;
}

.objective-number {
	font-size: 2.5rem;
	line-height: 1;
	font-weight: 900;
	color: var(--color-primary);
	min-width: 100px;
}

.objective-label {
	color: var(--color-primary);
	font-size: 1.4rem;
}

/* Áreas Section */
.section-areas {
	padding: 5rem 0;
	background: var(--color-white);
}

.section-areas .section-title {
	text-align: center;
	font-size: 2.75rem;
	font-weight: 900;
	color: var(--color-primary);
	margin-bottom: 3rem;
}

.section-areas .section-title span {
	color: var(--color-secondary);
}

.area-card {
	text-align: center;
	padding: 2rem 1rem;
	margin-bottom: 2rem;
}

.area-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	display: flex;
}

.area-icon img {
	width: 100%;
	height: auto;
}

.area-title {
	color: var(--color-primary);
	font-size: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.area-text {
	color: var(--color-text-light);
	font-size: 1rem;
	line-height: 1.3;
}

/* Temas Section */
.section-topics {
	padding: 0;
}

.section-topics .container-fluid {
	padding: 0;
}

.section-topics .row {
	margin: 0;
}

.section-topics .col-lg-6 {
	padding: 0;
}

.section-topics .col-lg-6:first-child {
	background: var(--color-primary);
}

.section-topics .col-lg-6:last-child {
	background: var(--color-secondary);
}

.topics-column {
	padding: 4rem 3rem;
	min-height: 100%;
	max-width: 650px;
}

.topics-column--primary {
	margin-left: auto;
}

.topics-column--secondary {
	margin-right: auto;
}

.topics-column--primary .topics-title {
	color: var(--color-secondary);
}

.topics-column--primary .topic-content h4 {
	color: var(--color-secondary);
}

.topics-column--primary .topic-content p {
	color: rgba(255, 255, 255, 0.85);
}

.topics-column--secondary .topics-title {
	color: var(--color-primary);
}

.topics-column--secondary .topic-content h4 {
	color: var(--color-primary);
}

.topics-column--secondary .topic-content p {
	color: var(--color-primary-dark);
}

.topics-title {
	color: var(--color-primary);
	font-size: 1.75rem;
	font-weight: 900;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
}

.topic-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

.topic-item img {
	width: 16px;
	height: 16px;
	margin-right: 0.75rem;
	margin-top: 0.25rem;
}

.topic-content h4 {
	color: var(--color-secondary);
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.topic-content p {
	color: var(--color-text-light);
	font-size: 1rem;
	margin: 0;
	line-height: 1.5;
}

/* Contacto Section */
.section-contact {
	padding: 5rem 0;
	background: var(--color-white);
}

.section-contact .section-title {
	color: var(--color-primary);
	font-size: 2.75rem;
	font-weight: 900;
	margin-bottom: 2rem;
}

.form-control {
	border: none;
	border: 2px solid #e0e0e0;
	border-radius: 0;
	padding: 0.75rem 0;
	font-size: 0.95rem;
	transition: var(--transition);
}

.form-control:focus {
	box-shadow: none;
	border-color: var(--color-secondary);
}

.form-label {
	color: var(--color-text-light);
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

textarea.form-control {
	min-height: 100px;
	resize: vertical;
}

.btn-submit {
	background: var(--color-secondary);
	border: none;
	color: var(--color-primary-dark);
	padding: 0.75rem 3rem;
	font-weight: 600;
	border-radius: 0;
	transition: var(--transition);
}

.btn-submit:hover {
	background: var(--color-accent);
	color: var(--color-primary-dark);
}

/* Footer */
.footer {
	background: var(--color-primary-dark);
	color: var(--color-white);
	padding: 3rem 0 1.5rem;
}

.footer-logo img {
	height: 40px;
	width: auto;
	margin-bottom: 1.5rem;
}

.footer-info {
	font-size: 0.9rem;
	opacity: 0.85;
	line-height: 1.8;
	border-left: 1px solid #fff;
	padding-left: 25px;
}

.footer-social {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
	justify-content: center;
}

.footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	transition: var(--transition);
}

.footer-social a:hover {
	opacity: 0.7;
}

.footer-social img {
	width: 24px;
	height: 24px;
}

.footer-links {
	text-align: right;
}

.footer-links a {
	display: block;
	color: var(--color-white);
	font-size: 0.85rem;
	opacity: 0.85;
	margin-bottom: 0.5rem;
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--color-secondary);
	opacity: 1;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 2rem;
	padding-top: 1rem;
	text-align: center;
	font-size: 0.8rem;
	opacity: 0.7;
}

/* Form Messages */
.form-message {
	font-size: 0.95rem;
	font-weight: 500;
}

.form-message--success {
	color: #198754;
}

.form-message--error {
	color: #dc3545;
}

/* Language switcher */
.lang-switcher {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.lang-switcher a {
	color: var(--color-white);
	font-size: 0.85rem;
	padding: 0.25rem 0.5rem;
	opacity: 0.7;
	transition: var(--transition);
}

.lang-switcher a:hover,
.lang-switcher a.active {
	opacity: 1;
	color: var(--color-secondary);
}

.lang-switcher span {
	color: var(--color-white);
	opacity: 0.5;
}

/* Responsive - Tablets (992px y menos) */
@media (max-width: 991.98px) {
	/* Hero */
	.hero h1 {
		font-size: 2rem;
	}

	.hero-location {
		font-size: 1.5rem;
	}

	/* Section About */
	.section-about {
		padding: 3rem 0;
	}

	.about-logo {
		max-width: 160px;
	}

	.about-subtitle {
		font-size: 1.25rem;
	}

	.about-description {
		font-size: 1.1rem;
	}

	.section-about::after {
		width: 400px;
		height: 400px;
		right: -15%;
	}

	/* Section Stats */
	.stats-title {
		font-size: 1.75rem;
	}

	.stat-number {
		font-size: 2.5rem;
	}

	/* Section Challenges */
	.section-challenges {
		padding: 3rem 0;
	}

	.section-challenges .section-title {
		font-size: 2.25rem;
	}

	.challenge-number {
		font-size: 3.5rem;
	}

	/* Section Objectives */
	.objectives-bg-image {
		min-height: 350px;
	}

	.objectives-image {
		min-height: 350px;
	}

	.objectives-content {
		text-align: center;
	}

	.objectives-label,
	.objectives-title {
		font-size: 1.5rem;
	}

	.objectives-date {
		font-size: 1.25rem;
	}

	.objectives-subtitle {
		font-size: 1.1rem;
	}

	.objective-stat {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.objective-number {
		font-size: 2rem;
		min-width: auto;
		margin-bottom: 0.25rem;
	}

	.objective-label {
		font-size: 1.2rem;
	}

	/* Section Areas */
	.section-areas {
		padding: 3rem 0;
	}

	.section-areas .section-title {
		font-size: 2.25rem;
		margin-bottom: 2rem;
	}

	.area-icon {
		width: 60px;
		height: 60px;
	}

	.area-title {
		font-size: 1.25rem;
	}

	/* Section Topics */
	.topics-column {
		padding: 3rem 2rem;
		max-width: none;
	}

	.topics-column--primary,
	.topics-column--secondary {
		margin-left: 0;
		margin-right: 0;
	}

	.topics-title {
		font-size: 1.5rem;
	}

	.topic-content h4 {
		font-size: 1.1rem;
	}

	/* Section Contact */
	.section-contact {
		padding: 3rem 0;
	}

	.section-contact .section-title {
		font-size: 2.25rem;
	}

	.section-contact .d-flex.align-items-center {
		flex-direction: column;
		align-items: flex-start !important;
	}

	.section-contact .form-message {
		margin-top: 0.75rem;
	}

	/* Footer */
	.footer-links {
		text-align: center;
		margin-top: 2rem;
	}

	.footer-info {
		border-left: none;
		padding-left: 0;
		text-align: center;
		margin-top: 1.5rem;
	}
}

/* Responsive - Mobile (768px y menos) */
@media (max-width: 767.98px) {
	/* Aumentar padding lateral del container */
	.container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	/* Reducir márgenes mb-4 a mb-2 en mobile */
	.mb-4 {
		margin-bottom: 0.5rem !important;
	}

	.mb-lg-0 {
		margin-bottom: 0.5rem !important;
	}

	/* Hero */
	.hero {
		min-height: auto;
		padding: 100px 0 50px;
	}

	.hero h1 {
		font-size: 2rem;
		margin-bottom: 1.5rem;
	}

	.hero-date {
		padding: 0.5rem 1.25rem;
		font-size: 1.1rem;
	}

	.hero-location {
		font-size: 1.75rem;
		margin-bottom: 1rem;
	}

	.hero-content {
		padding: 1.5rem 0;
	}

	.hero-buttons {
		flex-direction: column;
		gap: 0.75rem;
	}

	.hero-buttons .btn {
		width: 100%;
		text-align: center;
		padding: 0.6rem 1.5rem;
	}

	/* Section About */
	.section-about {
		padding: 2.5rem 0;
	}

	.about-logo {
		max-width: 140px;
		margin-bottom: 1.5rem;
	}

	.about-subtitle {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}

	.about-description {
		font-size: 1.1rem;
	}

	.section-about::after {
		width: 300px;
		height: 300px;
		right: -20%;
		opacity: 0.05;
	}

	/* Section Stats */
	.section-stats {
		padding: 2rem 0;
	}

	.stats-title {
		font-size: 1.75rem;
		margin-bottom: 1.5rem;
	}

	.section-stats .row {
		display: flex;
		flex-wrap: wrap;
	}

	.section-stats .row > [class*="col-"] {
		display: flex;
		margin-bottom: 1rem;
	}

	.stat-card {
		padding: 1.5rem 1rem;
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.stat-number {
		font-size: 2.5rem;
	}

	.stat-label {
		font-size: 1rem;
	}

	/* Section Challenges */
	.section-challenges {
		padding: 2.5rem 0;
	}

	.section-challenges .section-title {
		font-size: 2rem;
	}

	.challenge-card {
		text-align: center;
		margin-bottom: 1.5rem;
		padding: 0;
	}

	.challenge-number {
		font-size: 3.5rem;
		justify-content: center;
	}

	.challenge-number img {
		width: 20px;
	}

	.challenge-title {
		font-size: 1.15rem;
	}

	.challenge-text {
		font-size: 1.05rem;
	}

	/* Section Objectives - Stack columns */
	.objectives-bg-image {
		min-height: 250px;
	}

	.objectives-image {
		min-height: 200px;
		padding: 2rem 1rem;
	}

	.objectives-content {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		text-align: center;
	}

	.objectives-label,
	.objectives-title {
		font-size: 1.5rem;
	}

	.objectives-date {
		font-size: 1.25rem;
	}

	.objectives-subtitle {
		font-size: 1.15rem;
		max-width: none;
	}

	.objectives-stats {
		padding: 2rem 1.5rem;
	}

	.objective-stat {
		flex-direction: column;
		text-align: center;
		align-items: center;
		margin-bottom: 2rem;
	}

	.objective-number {
		font-size: 2.25rem;
		min-width: auto;
		margin-bottom: 0.25rem;
	}

	.objective-label {
		font-size: 1.2rem;
	}

	/* Section Areas */
	.section-areas {
		padding: 2.5rem 0;
	}

	.section-areas .section-title {
		font-size: 2rem;
		margin-bottom: 1.5rem;
	}

	.area-card {
		padding: 1.5rem 1rem;
		margin-bottom: 1rem;
	}

	.area-icon {
		width: 60px;
		height: 60px;
		margin-bottom: 1rem;
	}

	.area-title {
		font-size: 1.25rem;
		margin-bottom: 0.5rem;
	}

	.area-text {
		font-size: 1rem;
	}

	/* Section Topics - Stack columns */
	.topics-column {
		padding: 2.5rem 1.5rem;
	}

	.topics-title {
		font-size: 1.5rem;
		margin-bottom: 1.25rem;
	}

	.topic-item {
		padding-left: 0;
		margin-bottom: 1.25rem;
	}

	.topic-content h4 {
		font-size: 1.15rem;
	}

	.topic-content p {
		font-size: 1rem;
	}

	/* Section Contact */
	.section-contact {
		padding: 2.5rem 0;
	}

	.section-contact .section-title {
		font-size: 2rem;
		margin-bottom: 1.5rem;
	}

	.form-label {
		font-size: 1rem;
	}

	.form-control {
		font-size: 1rem;
	}

	.btn-submit {
		width: 100%;
		font-size: 1.1rem;
	}

	/* Footer */
	.footer {
		padding: 2.5rem 0 1rem;
	}

	.footer-logo {
		text-align: center;
	}

	.footer-logo img {
		margin-bottom: 1rem;
		height: 30px;
		width: auto;
	}

	.footer-info {
		border-left: none;
		padding-left: 0;
		text-align: center;
		margin-top: 0;
		font-size: 1rem;
	}

	.footer-links {
		text-align: center;
		margin-top: 1.5rem;
	}

	.footer-links a {
		font-size: 1rem;
	}

	.footer-social {
		justify-content: center;
		margin-top: 1rem;
	}

	.footer-bottom {
		margin-top: 1.5rem;
		font-size: 0.9rem;
	}

	/* Navbar */
	.navbar-brand img {
		height: 32px;
	}

	.navbar-nav {
		padding: 1rem 0;
		background: var(--color-primary-dark);
		margin-top: 0.5rem;
		border-radius: 4px;
	}

	.navbar-nav .nav-link {
		padding: 0.75rem 1rem !important;
		text-align: center;
	}

	.lang-switcher {
		justify-content: center;
		padding: 0.5rem 0;
	}
}

/* Responsive - Small Mobile (480px y menos) */
@media (max-width: 480px) {
	.hero h1 {
		font-size: 1.75rem;
	}

	.hero-location {
		font-size: 1.5rem;
	}

	.about-subtitle {
		font-size: 1.15rem;
	}

	.about-description {
		font-size: 1rem;
	}

	.stats-title {
		font-size: 1.5rem;
	}

	.stat-number {
		font-size: 2.25rem;
	}

	.stat-label {
		font-size: 0.9rem;
	}

	.section-challenges .section-title {
		font-size: 1.75rem;
	}

	.challenge-number {
		font-size: 3rem;
	}

	.challenge-title {
		font-size: 1.1rem;
	}

	.challenge-text {
		font-size: 1rem;
	}

	.section-areas .section-title {
		font-size: 1.75rem;
	}

	.area-title {
		font-size: 1.15rem;
	}

	.topics-title {
		font-size: 1.35rem;
	}

	.topic-content h4 {
		font-size: 1.1rem;
	}

	.section-contact .section-title {
		font-size: 1.75rem;
	}

	.objectives-label,
	.objectives-title {
		font-size: 1.35rem;
	}

	.objectives-date {
		font-size: 1.15rem;
	}

	.objective-number {
		font-size: 2rem;
	}

	.objective-label {
		font-size: 1.1rem;
	}
}

/* Legal Pages */
.legal-page {
	padding: 8rem 0 4rem;
	background: var(--color-white);
	min-height: calc(100vh - 200px);
}

.legal-title {
	color: var(--color-primary);
	font-size: 2.5rem;
	font-weight: 900;
	margin-bottom: 3rem;
	padding-bottom: 1rem;
	border-bottom: 3px solid var(--color-secondary);
}

.legal-section {
	margin-bottom: 2.5rem;
}

.legal-section h2 {
	color: var(--color-primary);
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.legal-section p {
	color: var(--color-text);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.legal-section ul {
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}

.legal-section li {
	color: var(--color-text);
	line-height: 1.8;
	margin-bottom: 0.5rem;
}

.legal-section a {
	color: var(--color-primary);
	text-decoration: underline;
	transition: var(--transition);
}

.legal-section a:hover {
	color: var(--color-secondary);
}

.legal-back {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e0e0e0;
}

.legal-back .btn-primary {
	background: var(--color-primary);
	border: 2px solid var(--color-primary);
	color: var(--color-white);
	padding: 0.75rem 2rem;
	font-weight: 600;
	border-radius: 0;
	transition: var(--transition);
}

.legal-back .btn-primary:hover {
	background: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
}

/* Legal Pages - Navbar fix */
.legal-page ~ .navbar,
body:has(.legal-page) .navbar {
	background: var(--color-primary-dark);
	position: fixed;
}

/* Responsive Legal Pages */
@media (max-width: 767.98px) {
	.legal-page {
		padding: 6rem 0 3rem;
	}

	.legal-title {
		font-size: 1.75rem;
		margin-bottom: 2rem;
	}

	.legal-section h2 {
		font-size: 1.15rem;
	}

	.legal-section p,
	.legal-section li {
		font-size: 0.95rem;
	}
}

/* Animaciones suaves */
@media (prefers-reduced-motion: no-preference) {
	.stat-card,
	.area-card,
	.challenge-card {
		opacity: 0;
		transform: translateY(20px);
		animation: fadeInUp 0.6s ease forwards;
	}

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

/* Accesibilidad */
:focus-visible {
	outline: 3px solid var(--color-secondary);
	outline-offset: 2px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
