﻿:root {
	--col-navy: #1a3490;
	--col-yellow: #f5c800;
	--col-red: #c8102e;
	--col-dark: #0f1e5a;
	--col-light: #f4f6ff;
}

/* ── HERO ── */
.hero {
	background: linear-gradient(150deg, var(--col-dark) 45%, #2a1060 100%);
	color: #fff;
	min-height: 92vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	/*padding: 5rem 0 4rem;*/
}

	.hero::before {
		content: '';
		position: absolute;
		inset: 0;
		background: repeating-linear-gradient( 45deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 0, transparent 50% );
		background-size: 22px 22px;
	}

.hero-flag-deco {
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	/*height: 150px;*/
	overflow: hidden;
	pointer-events: none;
}

	.hero-flag-deco img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: top;
		opacity: 0.18;
	}

.hero-eyebrow {
	color: var(--col-yellow);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.hero-title {
	font-family: 'Barlow Condensed',sans-serif;
	font-size: clamp(3rem,7.5vw,6rem);
	font-weight: 900;
	line-height: 1.05;
	text-transform: uppercase;
}

	.hero-title .t-yellow {
		color: var(--col-yellow);
	}

	.hero-title .t-red {
		color: #ff4060;
	}

.hero-sub {
	font-size: 1.1rem;
	color: rgba(255,255,255,0.78);
	max-width: 500px;
	line-height: 1.7;
}

.hero-date-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 50px;
	padding: 0.45rem 1.1rem;
	font-size: 1.3rem;
	color: rgba(255,255,255,0.85);
}
.hero-right-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.hero-logo-block {
	width: 100%;
}

	/* Logo más compacto cuando comparte espacio con el video */
	.hero-logo-block .hero-logo-img {
		max-width: 320px;
		filter: drop-shadow(0 0 1px white) /* Sharp edge layer 1 */
		drop-shadow(0 0 2px white) /* Sharp edge layer 2 */
		drop-shadow(0 0 5px white) /* Medium density transition */
		drop-shadow(0 0 20px white); /* The soft transparent fade */
	}

	.hero-logo-block .hero-logo-glow {
		display: none;
	}

.hero-video-wrap {
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
	border: 2px solid rgba(255, 255, 255, 0.12);
}

/* ── COUNTDOWN ── */
.countdown-wrap {
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 16px;
	padding: 1rem 1.5rem;
	display: inline-flex;
	gap: 0.7rem;
	align-items: center;
	backdrop-filter: blur(6px);
}

.cd-unit {
	text-align: center;
	min-width: 64px;
}

.cd-num {
	font-family: 'Barlow Condensed',sans-serif;
	font-size: 3rem;
	font-weight: 900;
	color: var(--col-yellow);
	line-height: 1;
	display: block;
	font-variant-numeric: tabular-nums;
}

.cd-label {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: rgba(255,255,255,0.5);
	font-weight: 600;
}

.cd-sep {
	font-size: 2.2rem;
	color: rgba(255,255,255,0.25);
	font-weight: 300;
	line-height: 1;
	padding-bottom: 0.9rem;
}

/* ── HERO LOGO ── */
.hero-logo-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
}

.hero-logo-glow {
	position: absolute;
	width: 350px;
	height: 350px;
	background: radial-gradient(circle,rgba(245,200,0,0.2) 0%,transparent 70%);
	border-radius: 50%;
}

.hero-logo-img {
	position: relative;
	z-index: 2;
	/*max-width: 320px;*/
	width: 100%;
	filter: drop-shadow(0 8px 32px rgba(0,0,0,0.45));
}

/* ── STATS BAR ── */
.stats-bar {
	background: var(--col-yellow);
}

.stat-num {
	font-family: 'Barlow Condensed',sans-serif;
	font-size: 2.2rem;
	font-weight: 900;
	color: var(--col-dark);
	line-height: 1;
}

.stat-label {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: rgba(15,30,90,0.65);
}

.stat-div {
	border-left: 1px solid rgba(15,30,90,0.2);
	height: 44px;
}

/* ── CITIES ── */
.city-section {
	background: var(--col-light);
}

.city-search-wrap {
	background: #fff;
	border: 2px solid #d0d8f0;
	border-radius: 12px;
	display: flex;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(26,52,144,0.08);
	transition: border-color .2s;
}

	.city-search-wrap:focus-within {
		border-color: var(--col-navy);
	}

	.city-search-wrap input {
		flex: 1;
		border: none;
		outline: none;
		padding: 0.9rem 1.25rem;
		font-size: 0.95rem;
	}

	.city-search-wrap button {
		background: var(--col-navy);
		color: #fff;
		border: none;
		padding: 0 1.5rem;
		font-weight: 700;
		font-size: 0.875rem;
		white-space: nowrap;
		transition: background .18s;
	}

		.city-search-wrap button:hover {
			background: #0f2270;
		}

.city-card {
	background: #fff;
	border-radius: 14px;
	padding: 1.4rem 1.5rem;
	box-shadow: 0 2px 12px rgba(26,52,144,0.08);
	border-top: 4px solid var(--col-navy);
	height: 100%;
	transition: transform .2s, box-shadow .2s;
}

	.city-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 8px 24px rgba(26,52,144,0.14);
	}

	.city-card h5 {
		font-weight: 700;
		color: var(--col-dark);
		margin-bottom: 0.5rem;
	}

.city-detail {
	font-size: 0.85rem;
	color: #6c757d;
	line-height: 1.65;
}

.city-link {
	font-size: 0.82rem;
	color: var(--col-navy);
	font-weight: 700;
	text-decoration: none;
}

	.city-link:hover {
		text-decoration: underline;
	}

/* ── ABOUT ── */
.about-section {
	background: var(--col-dark);
	color: #fff;
}

	.about-section p {
		color: rgba(255,255,255,0.75);
	}

.feature-tile {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 14px;
	padding: 1.4rem;
}

	.feature-tile h6 {
		font-weight: 700;
		color: #fff;
		margin-bottom: 0.2rem;
	}

	.feature-tile p {
		font-size: 0.83rem;
		color: rgba(255,255,255,0.6);
		margin: 0;
	}

/* ── RESOURCES ── */
.resources-section {
	background: #fff;
}

.resource-cat-title {
	font-family: 'Barlow Condensed',sans-serif;
	font-size: 1.3rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--col-dark);
	letter-spacing: 0.04em;
	border-left: 4px solid var(--col-yellow);
	padding-left: 0.75rem;
	margin-bottom: 1.25rem;
}

.resource-card {
	background: var(--col-light);
	border: 1px solid #dde3f5;
	border-radius: 16px;
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
	height: 100%;
	display: flex;
	flex-direction: column;
}

	.resource-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 10px 28px rgba(26,52,144,0.13);
	}

.resource-preview {
	background: #e8ecf8;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 180px;
	overflow: hidden;
	position: relative;
}

	.resource-preview img {
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		padding: 1.25rem;
	}

.format-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: var(--col-navy);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0.2rem 0.6rem;
	border-radius: 50px;
	text-transform: uppercase;
}

.resource-body {
	padding: 1.1rem 1.25rem 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

	.resource-body h6 {
		font-weight: 700;
		color: var(--col-dark);
		font-size: 0.95rem;
		margin-bottom: 0.2rem;
	}

	.resource-body p {
		font-size: 0.8rem;
		color: #6c757d;
		margin-bottom: 0.9rem;
		flex: 1;
	}

.btn-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	background: var(--col-navy);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 0.55rem 1.1rem;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	transition: background .18s;
	width: 100%;
}

	.btn-download:hover {
		background: #0f2270;
		color: #fff;
	}

.usage-note {
	background: #fffbe6;
	border: 1px solid #f5c800;
	border-radius: 10px;
	padding: 1rem 1.25rem;
	font-size: 0.83rem;
	color: #5a4800;
}

/* ── CTA ── */
.cta-section {
	background: var(--col-red);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.cta-flag-deco {
	position: absolute;
	bottom: 0;
	right: -40px;
	height: 180px;
	opacity: 0.18;
	pointer-events: none;
}

.section-kicker {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.display-heading {
	font-family: 'Barlow Condensed',sans-serif;
	font-weight: 800;
	text-transform: uppercase;
}
