:root {
	--turquoise: #00CED1;
	--turquoise-dark: #00A7AE;
	--turquoise-darker: #008B8C;
	--turquoise-light: #48D1CC;
	--turquoise-lighter: #AFEEEE;
	--emerald: #10B981;
	--emerald-dark: #059669;
	--navy: #0F172A;
	--navy-light: #1E293B;
	--slate-900: #0F172A;
	--slate-800: #1E293B;
	--slate-700: #334155;
	--slate-600: #475569;
	--slate-500: #64748B;
	--slate-400: #94A3B8;
	--slate-300: #CBD5E1;
	--slate-200: #E2E8F0;
	--slate-100: #F1F5F9;
	--slate-50: #F8FAFC;
	--white: #FFFFFF;

	--gradient-turquoise: linear-gradient(135deg, #00CED1 0%, #00A7AE 100%);
	--gradient-mesh: radial-gradient(at 40% 20%, hsla(178, 100%, 74%, 0.8) 0px, transparent 50%),
	radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.8) 0px, transparent 50%),
	radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.8) 0px, transparent 50%),
	radial-gradient(at 80% 50%, hsla(340, 100%, 76%, 0.8) 0px, transparent 50%),
	radial-gradient(at 0% 100%, hsla(22, 100%, 77%, 0.8) 0px, transparent 50%),
	radial-gradient(at 80% 100%, hsla(242, 100%, 70%, 0.8) 0px, transparent 50%),
	radial-gradient(at 0% 0%, hsla(343, 100%, 76%, 0.8) 0px, transparent 50%);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Outfit', -apple-system, system-ui, sans-serif;
	background: var(--white);
	color: var(--slate-900);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: var(--slate-100);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	background: var(--turquoise);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--turquoise-dark);
}

/* Futuristic Navigation - FIXED */
.nav-future {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(40px) saturate(200%);
	-webkit-backdrop-filter: blur(40px) saturate(200%);
	border-bottom: 1px solid rgba(0, 206, 209, 0.1);
	transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-future.scrolled {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 10px 40px -10px rgba(0, 206, 209, 0.15);
}

.nav-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.25rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.logo {
	height: 45px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.05);
}

.nav-menu {
	display: flex;
	gap: 2rem;
	align-items: center;
	list-style: none;
}

.nav-item {
	position: relative;
}

/* Navigation Link - FIXED */
.nav-link {
	color: var(--slate-700);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	transition: all 0.3s ease;
	position: relative;
	background: transparent;
}

/* Active state without problematic circle */
.nav-link.active {
	color: var(--turquoise-dark);
	background: rgba(0, 206, 209, 0.08);
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--turquoise);
	transition: width 0.3s ease;
}

.nav-link:hover {
	color: var(--turquoise-dark);
	background: rgba(0, 206, 209, 0.05);
}

.nav-link.active::after,
.nav-link:hover::after {
	width: 80%;
}

.nav-cta {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.btn-glass {
	padding: 0.75rem 1.5rem;
	background: rgba(0, 206, 209, 0.1);
	border: 1px solid rgba(0, 206, 209, 0.2);
	color: var(--turquoise-dark);
	border-radius: 12px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.btn-glass:hover {
	background: rgba(0, 206, 209, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -10px rgba(0, 206, 209, 0.5);
}

.btn-primary-glow {
	padding: 0.75rem 2rem;
	background: var(--gradient-turquoise);
	color: white;
	border: none;
	border-radius: 12px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 15px -3px rgba(0, 206, 209, 0.4);
}

.btn-primary-glow::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.btn-primary-glow:hover::after {
	width: 300px;
	height: 300px;
}

.btn-primary-glow:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px -5px rgba(0, 206, 209, 0.5);
}

/* Hero Spectacular */
.hero-spectacular {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-top: 80px;
	background: #0F172A;
}

.hero-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--gradient-mesh);
	opacity: 0.4;
	filter: blur(100px);
	animation: mesh-move 20s ease-in-out infinite;
}

@keyframes mesh-move {
	0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
	33% { transform: translate(-20px, -20px) rotate(120deg) scale(1.1); }
	66% { transform: translate(20px, -10px) rotate(240deg) scale(0.9); }
}

.hero-particles {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: var(--turquoise);
	border-radius: 50%;
	opacity: 0.5;
	animation: particle-float 15s infinite linear;
}

@keyframes particle-float {
	from { transform: translateY(100vh) translateX(0); }
	to { transform: translateY(-100px) translateX(100px); }
}

.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: 2rem;
	max-width: 1200px;
	width: 100%;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1.5rem;
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: 50px;
	color: var(--emerald);
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 2rem;
	animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
	50% { box-shadow: 0 0 20px 5px rgba(16, 185, 129, 0.3); }
}

.hero-title {
	font-family: 'Sora', sans-serif;
	font-size: clamp(3rem, 8vw, 5.5rem);
	font-weight: 800;
	color: var(--white);
	margin-bottom: 1.5rem;
	line-height: 1;
	letter-spacing: -0.02em;
}

.hero-title-gradient {
	background: linear-gradient(135deg, #00CED1 0%, #48D1CC 25%, #00CED1 50%, #00A7AE 75%, #00CED1 100%);
	background-size: 200% auto;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
	to { background-position: 200% center; }
}

.hero-description {
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	color: var(--slate-300);
	max-width: 700px;
	margin: 0 auto 3rem;
	line-height: 1.7;
	font-weight: 400;
}

/* AI-Powered Search */
.search-ai-enhanced {
	max-width: 720px;
	margin: 0 auto 3rem;
	position: relative;
}

.search-container-ai {
	position: relative;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 0.5rem;
	transition: all 0.3s ease;
}

.search-container-ai:focus-within {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--turquoise);
	box-shadow: 0 0 0 4px rgba(0, 206, 209, 0.1),
	0 20px 40px -10px rgba(0, 206, 209, 0.3);
}

.search-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.search-ai-icon {
	margin-left: 1.5rem;
	color: var(--turquoise);
	animation: ai-pulse 2s ease-in-out infinite;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

@keyframes ai-pulse {
	0%, 100% { opacity: 0.5; }
	50% { opacity: 1; }
}

.search-input-ai {
	flex: 1;
	background: none;
	border: none;
	color: var(--white);
	font-size: 1.1rem;
	padding: 1rem 0;
	outline: none;
}

.search-input-ai::placeholder {
	color: var(--slate-400);
}

.search-submit {
	padding: 0.875rem 2rem;
	background: var(--gradient-turquoise);
	border: none;
	border-radius: 14px;
	color: white;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.search-submit:hover {
	transform: scale(1.05);
	box-shadow: 0 10px 20px -5px rgba(0, 206, 209, 0.5);
}

/* Interactive Stats */
.stats-interactive {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: 900px;
	margin: 0 auto;
}

.stat-hexagon {
	position: relative;
	width: 100%;
	text-align: center;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.stat-hexagon:hover {
	transform: translateY(-10px);
}

.hexagon-shape {
	width: 150px;
	height: 150px;
	margin: 0 auto;
	position: relative;
	background: rgba(0, 206, 209, 0.1);
	backdrop-filter: blur(20px);
	border: 2px solid rgba(0, 206, 209, 0.3);
	clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.stat-hexagon:hover .hexagon-shape {
	background: rgba(0, 206, 209, 0.2);
	border-color: var(--turquoise);
	box-shadow: 0 0 30px rgba(0, 206, 209, 0.4);
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--turquoise);
	font-family: 'Sora', sans-serif;
}

.stat-text {
	font-size: 0.875rem;
	color: var(--slate-300);
	margin-top: 0.5rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* NEW: Smart Filters Section */
.smart-filters-section {
	padding: 4rem 2rem 2rem;
	background: linear-gradient(135deg, var(--slate-50) 0%, rgba(0, 206, 209, 0.03) 100%);
	position: relative;
	overflow: hidden;
}

.filters-container {
	max-width: 1400px;
	margin: 0 auto;
}

.filter-header {
	text-align: center;
	margin-bottom: 2rem;
}

.filter-header h3 {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--slate-900);
	margin-bottom: 0.5rem;
}

.filter-header p {
	color: var(--slate-600);
	font-size: 1rem;
}

.filter-pills {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.filter-pill {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: white;
	border: 2px solid var(--slate-200);
	border-radius: 100px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--slate-700);
	cursor: pointer;
	transition: all 0.3s ease;
}

.filter-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.1);
}

.filter-pill.active {
	background: var(--gradient-turquoise);
	border-color: var(--turquoise);
	color: white;
	transform: scale(1.05);
}

.pill-icon {
	font-size: 1.2rem;
}

.view-toggle {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin:0 auto;
}

.view-btn {
	padding: 0.75rem;
	background: white;
	border: 2px solid var(--slate-200);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.view-btn.active {
	background: var(--turquoise);
	border-color: var(--turquoise);
	color: white;
}

.view-btn:hover:not(.active) {
	background: var(--slate-50);
}

/* Services Grid Bento Style - Enhanced and Fixed */
.services-section {
	padding: 6rem 2rem;
	background: var(--slate-50);
	position: relative;
}

.section-header {
	text-align: center;
	margin-bottom: 4rem;
}

.section-label {
	display: inline-block;
	padding: 0.375rem 1rem;
	background: var(--turquoise-lighter);
	color: var(--turquoise-dark);
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.section-title {
	font-family: 'Sora', sans-serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--slate-900);
	margin-bottom: 1rem;
}

.section-description {
	font-size: 1.125rem;
	color: var(--slate-600);
	max-width: 600px;
	margin: 0 auto;
}

.bento-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1.5rem;
	max-width: 1400px;
	margin: 0 auto;
	grid-auto-rows: minmax(180px, auto);
	transition: all 0.3s ease;
}

/* List View Mode */
.bento-grid.list-view {
	grid-template-columns: 1fr;
	gap: 1rem;
}

.bento-grid.list-view .bento-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 1.5rem;
	min-height: auto;
}

.bento-grid.list-view .bento-card-featured,
.bento-grid.list-view .bento-card-normal,
.bento-grid.list-view .bento-card-wide {
	grid-column: span 1;
}

.bento-card {
	background: white;
	border-radius: 20px;
	padding: 1.75rem;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid var(--slate-100);
	display: flex;
	flex-direction: column;
}

.filter-animate {
	animation: filterFade 0.3s ease;
}

@keyframes filterFade {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

.bento-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px -15px rgba(0, 206, 209, 0.2);
	border-color: var(--turquoise-light);
}

/* Featured Card - Redesigned */
.bento-card-featured {
	grid-column: span 5;
	grid-row: span 2;
	background: linear-gradient(135deg, #00CED1 0%, #00A7AE 100%);
	border: none;
	color: white;
	position: relative;
	overflow: hidden;
	padding: 2rem;
}

.featured-glow {
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
	animation: rotate 20s linear infinite;
}

@keyframes rotate {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.card-header {
	position: relative;
	z-index: 2;
	margin-bottom: 1.5rem;
}

.status-badge.status-ai {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.status-badge.status-ai svg {
	width: 16px;
	height: 16px;
}

.featured-content {
	position: relative;
	z-index: 2;
}

.featured-icon {
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.featured-icon svg {
	width: 48px;
	height: 48px;
	stroke: white;
	stroke-width: 1.5;
}

.featured-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.2;
	color: white;
}

.featured-description {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.95);
}

.featured-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 2rem;
}

.stat-card {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.stat-icon {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.5rem;
}

.stat-icon svg {
	width: 24px;
	height: 24px;
	fill: white;
}

.stat-info {
	display: flex;
	flex-direction: column;
}

.stat-number {
	font-size: 1.5rem;
	font-weight: 700;
	color: white;
}

.stat-label {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.8);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.featured-action {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 100px;
	color: white;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.featured-action:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateX(5px);
}

.featured-action svg {
	width: 20px;
	height: 20px;
}

/* Regular Bento Cards */
.bento-card-normal {
	grid-column: span 3;
	min-height: 180px;
}

.bento-card-wide {
	grid-column: span 4;
}

/* Card Actions */
.card-actions {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: flex;
	gap: 0.5rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.bento-card:hover .card-actions {
	opacity: 1;
}

.btn-favorite,
.btn-compare {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: white;
	border: 1px solid var(--slate-200);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-favorite:hover,
.btn-compare:hover {
	transform: scale(1.1);
	background: var(--turquoise-lighter);
}

.btn-favorite.active {
	background: var(--turquoise);
	color: white;
}

.animate-favorite {
	animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.3); }
}

/* Card Status */
.card-status {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
}

.status-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.status-online {
	background: rgba(16, 185, 129, 0.1);
	color: var(--emerald-dark);
	border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-popular {
	background: rgba(245, 158, 11, 0.1);
	color: #D97706;
	border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-new {
	background: rgba(139, 92, 246, 0.1);
	color: #7C3AED;
	border: 1px solid rgba(139, 92, 246, 0.2);
}

.status-urgent {
	background: rgba(239, 68, 68, 0.1);
	color: #DC2626;
	border: 1px solid rgba(239, 68, 68, 0.2);
}

.bento-icon {
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, rgba(0, 206, 209, 0.1), rgba(0, 206, 209, 0.05));
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	margin-top: 2rem;
}

.bento-icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--turquoise-dark);
	stroke-width: 2;
	fill: none;
}

.bento-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--slate-900);
	line-height: 1.3;
}

.bento-description {
	color: var(--slate-600);
	font-size: 0.875rem;
	line-height: 1.5;
	flex: 1;
}

/* Tramite Indicators */
.tramite-indicators {
	display: flex;
	gap: 1rem;
	margin: 1rem 0;
}

.indicator {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	color: var(--slate-600);
}

.indicator-icon {
	font-size: 1rem;
}

/* Progress Preview */
.mini-progress {
	margin-top: auto;
	padding-top: 1rem;
}

.progress-bar {
	width: 100%;
	height: 6px;
	background: var(--slate-100);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.progress-fill {
	height: 100%;
	background: var(--gradient-turquoise);
	border-radius: 3px;
	transition: width 1s ease;
}

.progress-text {
	font-size: 0.75rem;
	color: var(--slate-500);
}

/* NEW: Ranking Section */
.ranking-section {
	padding: 5rem 2rem;
	background: linear-gradient(135deg, white 0%, rgba(0, 206, 209, 0.02) 100%);
	position: relative;
	overflow: hidden;
}

.ranking-container {
	max-width: 1400px;
	margin: 0 auto;
}

.ranking-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.ranking-item {
	background: white;
	border-radius: 16px;
	padding: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	border: 1px solid var(--slate-100);
	transition: all 0.3s ease;
	cursor: pointer;
}

.ranking-item:hover {
	transform: translateX(5px);
	box-shadow: 0 10px 30px -10px rgba(0, 206, 209, 0.2);
	border-color: var(--turquoise-light);
}

.ranking-item.top-3 {
	background: linear-gradient(135deg, rgba(0, 206, 209, 0.05), rgba(0, 206, 209, 0.02));
	border-color: var(--turquoise-light);
}

.ranking-position {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--turquoise-dark);
	min-width: 50px;
	text-align: center;
}

.ranking-info {
	flex: 1;
}

.ranking-info h4 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--slate-900);
	margin-bottom: 0.5rem;
}

.ranking-stats {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.visits-count {
	font-size: 0.875rem;
	color: var(--slate-600);
	font-weight: 500;
}

.popularity-bar {
	flex: 1;
	height: 6px;
	background: var(--slate-100);
	border-radius: 3px;
	overflow: hidden;
}

.popularity-fill {
	height: 100%;
	background: var(--gradient-turquoise);
	transition: width 0.5s ease;
}

.ranking-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.stats-card {
	background: white;
	border-radius: 16px;
	padding: 1.5rem;
	border: 1px solid var(--slate-100);
	display: flex;
	align-items: center;
	gap: 1rem;
}

.stats-card svg {
	width: 40px;
	height: 40px;
	fill: var(--turquoise-dark);
}

.stats-value {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--slate-900);
}

.stats-label {
	font-size: 0.875rem;
	color: var(--slate-500);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.no-rankings {
	text-align: center;
	color: var(--slate-500);
	padding: 3rem;
	font-size: 1rem;
}

/* Comparison Panel */
.comparison-panel {
	position: fixed;
	bottom: 2rem;
	left: 2rem;
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	padding: 1.5rem;
	width: 320px;
	transform: translateY(200%);
	transition: transform 0.3s ease;
	z-index: 999;
}

.comparison-panel.active {
	transform: translateY(0);
}

.comparison-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.comparison-header h3 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--slate-900);
}

.comparison-header button {
	background: none;
	border: none;
	font-size: 24px;
	color: var(--slate-400);
	cursor: pointer;
}

.comparison-content p {
	color: var(--slate-600);
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.comparison-items {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.comparison-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem;
	background: var(--slate-50);
	border-radius: 8px;
}

.comparison-item button {
	background: none;
	border: none;
	color: var(--slate-400);
	cursor: pointer;
	font-size: 20px;
}

.btn-compare-now {
	width: 100%;
	padding: 0.75rem;
	background: var(--gradient-turquoise);
	color: white;
	border: none;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-compare-now:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -5px rgba(0, 206, 209, 0.5);
}

/* Timeline Section */
.timeline-section {
	padding: 4rem 2rem;
	background: white;
}

.timeline-container {
	max-width: 800px;
	margin: 3rem auto;
	position: relative;
}

.timeline-line {
	position: absolute;
	left: 50px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, var(--turquoise) 0%, var(--turquoise-light) 100%);
}

.timeline-item {
	position: relative;
	padding-left: 100px;
	margin-bottom: 3rem;
	opacity: 0;
	animation: slideInLeft 0.5s ease forwards;
}

.timeline-item:nth-child(2) { animation-delay: 0.1s; }
.timeline-item:nth-child(3) { animation-delay: 0.2s; }
.timeline-item:nth-child(4) { animation-delay: 0.3s; }

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.timeline-dot {
	position: absolute;
	left: 40px;
	top: 10px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: white;
	border: 4px solid var(--slate-300);
	transition: all 0.3s ease;
}

.timeline-dot.completed {
	background: var(--emerald);
	border-color: var(--emerald);
}

.timeline-dot.active {
	background: var(--turquoise);
	border-color: var(--turquoise);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(0, 206, 209, 0.4); }
	50% { box-shadow: 0 0 0 10px rgba(0, 206, 209, 0); }
}

.timeline-dot.pending {
	background: var(--slate-300);
	border-color: var(--slate-300);
}

.timeline-content {
	background: white;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--slate-100);
	transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
	transform: translateX(5px);
	box-shadow: 0 15px 40px -10px rgba(0, 206, 209, 0.2);
}

.timeline-content h4 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--slate-900);
	margin-bottom: 0.5rem;
}

.timeline-content p {
	color: var(--slate-600);
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.timeline-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
}

/* Institutions Carousel - Enhanced */
.institutions-section {
	padding: 6rem 2rem;
	background: var(--slate-50);
	overflow: hidden;
}

.carousel-container {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
}

.carousel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: white;
	border: 2px solid var(--slate-200);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--slate-700);
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
}

.carousel-control:hover {
	background: var(--turquoise);
	color: white;
	border-color: var(--turquoise);
}

.carousel-control.prev {
	left: -24px;
}

.carousel-control.next {
	right: -24px;
}

.carousel-track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 1rem 0;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
	display: none;
}

.institution-modern {
	min-width: 350px;
	background: white;
	border: 1px solid var(--slate-200);
	border-radius: 20px;
	padding: 1.5rem;
	transition: all 0.3s ease;
	cursor: pointer;
}

.institution-modern:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px -10px rgba(0, 206, 209, 0.15);
	border-color: var(--turquoise-light);
}

.institution-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.institution-logo-container {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, var(--slate-50), white);
	border: 1px solid var(--slate-100);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 10px;
}

.institution-logo-container img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.institution-info h3 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--slate-900);
	margin-bottom: 0.25rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.institution-info p {
	font-size: 0.875rem;
	color: var(--slate-500);
}

.institution-rating {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--slate-100);
	margin-bottom: 1rem;
}

.rating-stars {
	font-size: 1rem;
	margin-bottom: 0.25rem;
}

.rating-text {
	font-size: 0.75rem;
	color: var(--slate-500);
}

.institution-footer {
	display: flex;
	gap: 1rem;
}

.institution-metric {
	flex: 1;
	text-align: center;
}

.metric-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--turquoise-dark);
}

.metric-label {
	font-size: 0.75rem;
	color: var(--slate-500);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* AI Chat Interface - FIXED */
.ai-chat-container {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1rem;
}

/* AI Chat Window - FIXED */
.ai-chat-window {
	width: 420px;
	height: 600px;
	background: white;
	border-radius: 24px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	display: none;
	flex-direction: column;
	overflow: hidden;
	animation: slideUp 0.3s ease;
	border: 1px solid rgba(0, 206, 209, 0.1);
}

.ai-chat-window.active {
	display: flex;
}

@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.ai-chat-header {
	padding: 1.5rem;
	background: linear-gradient(135deg, #00CED1, #00A7AE);
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
}

.ai-header-info {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.ai-status {
	width: 10px;
	height: 10px;
	background: #10B981;
	border-radius: 50%;
	animation: pulse 2s infinite;
	flex-shrink: 0;
}

.ai-header-text {
	display: flex;
	flex-direction: column;
}

.ai-name {
	font-weight: 600;
	font-size: 1rem;
}

.ai-subtitle {
	font-size: 0.875rem;
	opacity: 0.9;
}

.ai-close-btn {
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s ease;
}

.ai-close-btn:hover {
	background: rgba(255, 255, 255, 0.2);
}

.ai-chat-body {
	flex: 1;
	padding: 1.5rem;
	overflow-y: auto;
	background: #F8FAFB;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ai-message {
	display: flex;
	gap: 0.75rem;
	animation: fadeIn 0.3s ease;
	align-items: flex-start;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.ai-message.user {
	flex-direction: row-reverse;
}

.ai-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.ai-message.bot .ai-avatar {
	background: linear-gradient(135deg, #00CED1, #00A7AE);
}

.ai-message.user .ai-avatar {
	background: #E5E7EB;
}

.ai-bubble {
	max-width: 75%;
	padding: 0.75rem 1rem;
	border-radius: 18px;
	line-height: 1.5;
	word-wrap: break-word;
}

.ai-message.bot .ai-bubble {
	background: white;
	color: #1F2937;
	border-bottom-left-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ai-message.user .ai-bubble {
	background: linear-gradient(135deg, #00CED1, #00A7AE);
	color: white;
	border-bottom-right-radius: 4px;
}

.ai-typing {
	display: flex;
	gap: 4px;
	padding: 1rem;
	align-items: center;
}

.typing-dot {
	width: 8px;
	height: 8px;
	background: #94A3B8;
	border-radius: 50%;
	animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
	0%, 60%, 100% { transform: translateY(0); }
	30% { transform: translateY(-10px); }
}

.ai-quick-actions {
	padding: 0.75rem;
	background: white;
	border-top: 1px solid #E5E7EB;
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	flex-shrink: 0;
}

.quick-action-chip {
	padding: 0.5rem 1rem;
	background: #F3F4F6;
	border-radius: 100px;
	font-size: 0.875rem;
	color: #4B5563;
	border: 1px solid #E5E7EB;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.quick-action-chip:hover {
	background: #00CED1;
	color: white;
	transform: translateY(-2px);
}

.ai-chat-footer {
	padding: 1rem;
	background: white;
	border-top: 1px solid #E5E7EB;
	flex-shrink: 0;
}

.ai-input-group {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	background: #F3F4F6;
	border-radius: 100px;
	padding: 0.5rem;
}

.ai-input {
	flex: 1;
	background: none;
	border: none;
	padding: 0.5rem 1rem;
	font-size: 0.95rem;
	outline: none;
	min-width: 0;
}

.ai-send-btn {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #00CED1, #00A7AE);
	border: none;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

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

/* Process Visualization */
.ai-process-viz {
	padding: 1rem;
	background: linear-gradient(135deg, rgba(0, 206, 209, 0.05), rgba(0, 167, 174, 0.05));
	border-radius: 12px;
	margin: 0.5rem 0;
}

.viz-title {
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--slate-900);
}

.ai-step {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem;
	position: relative;
}

.ai-step:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 20px;
	top: 100%;
	width: 2px;
	height: 20px;
	background: #00CED1;
}

.ai-step-number {
	width: 40px;
	height: 40px;
	background: white;
	border: 2px solid #00CED1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	color: #00CED1;
	flex-shrink: 0;
}

.ai-step.completed .ai-step-number {
	background: #00CED1;
	color: white;
}

.step-title {
	font-weight: 500;
	color: var(--slate-900);
	margin-bottom: 0.25rem;
}

.step-desc {
	font-size: 0.875rem;
	color: #6B7280;
}

/* AI FAB Button */
.ai-fab {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, #00CED1, #00A7AE);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 10px 30px -10px rgba(0, 206, 209, 0.5);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.ai-fab::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
	animation: ripple 2s infinite;
}

@keyframes ripple {
	0% { transform: scale(0); opacity: 1; }
	100% { transform: scale(2); opacity: 0; }
}

.ai-fab:hover {
	transform: scale(1.1);
	box-shadow: 0 15px 40px -10px rgba(0, 206, 209, 0.6);
}

.ai-fab-icon {
	width: 32px;
	height: 32px;
	position: relative;
	z-index: 1;
}

.fab-notification {
	position: absolute;
	top: 0;
	right: 0;
	background: #EF4444;
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 600;
	border: 2px solid white;
}

/* AI Suggestions Panel */
.ai-suggestions {
	position: absolute;
	bottom: 100%;
	right: 0;
	background: white;
	border-radius: 12px;
	padding: 1rem;
	margin-bottom: 1rem;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
	display: none;
	min-width: 280px;
}

.ai-suggestions.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

.suggestion-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.suggestion-item:hover {
	background: #F3F4F6;
	transform: translateX(4px);
}

.suggestion-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, rgba(0, 206, 209, 0.1), rgba(0, 206, 209, 0.05));
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.suggestion-title {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--slate-900);
}

.suggestion-desc {
	font-size: 0.75rem;
	color: #6B7280;
}

/* Enhanced Search Suggestions */
.ai-search-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: white;
	border-radius: 20px;
	margin-top: 0.5rem;
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
	padding: 1rem;
	display: none;
	z-index: 100;
	max-height: 400px;
	overflow-y: auto;
}

.ai-search-suggestions.active {
	display: block;
}

.ai-suggestion-category {
	padding: 0.5rem 0;
}

.ai-suggestion-title {
	font-size: 0.75rem;
	font-weight: 600;
	color: #6B7280;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.75rem;
	padding: 0 0.5rem;
}

.ai-result-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ai-result-item:hover {
	background: #F3F4F6;
	transform: translateX(4px);
}

.ai-result-item.ai-interpretation {
	background: linear-gradient(135deg, rgba(0, 206, 209, 0.05), rgba(0, 206, 209, 0.02));
}

.result-icon {
	font-size: 24px;
	flex-shrink: 0;
}

.result-content {
	flex: 1;
}

.result-title {
	font-weight: 600;
	color: var(--slate-900);
	margin-bottom: 0.25rem;
}

.result-desc {
	font-size: 0.875rem;
	color: #6B7280;
}

.ai-confidence-badge {
	padding: 0.25rem 0.5rem;
	background: linear-gradient(135deg, #10B981, #059669);
	color: white;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 600;
	flex-shrink: 0;
}

/* Voice Button */
.voice-button {
	width: 36px;
	height: 36px;
	background: white;
	border: 2px solid #E5E7EB;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 18px;
}

.voice-button.recording {
	background: #EF4444;
	border-color: #EF4444;
	color: white;
	animation: pulse 1.5s infinite;
}

/* Footer Modern */
.footer-modern {
	background: linear-gradient(135deg, var(--navy) 0%, #1a2332 100%);
	color: white;
	padding: 6rem 2rem 2rem;
	position: relative;
	overflow: hidden;
}

.footer-wave {
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 120px;
	background: var(--slate-50);
	clip-path: polygon(0 0, 100% 0, 100% 40%, 0 80%);
}

.footer-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
	position: relative;
	z-index: 1;
}

.footer-brand h3 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
	color: var(--turquoise);
	font-weight: 700;
}

.footer-brand p {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.8;
	font-size: 0.95rem;
}

.footer-logos {
	display: flex;
	gap: 1.5rem;
	margin-top: 1.5rem;
	align-items: center;
}

.footer-logo {
	height: 45px;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.footer-logo:hover {
	opacity: 1;
}

.footer-column h4 {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--turquoise);
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.footer-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	padding: 0.5rem 0;
	transition: all 0.3s ease;
	font-size: 0.95rem;
}

.footer-link:hover {
	color: var(--turquoise-light);
	transform: translateX(8px);
}

.footer-bottom {
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
}

/* Accessibility Features */
.skip-to-content {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--turquoise);
	color: white;
	padding: 0.5rem 1rem;
	text-decoration: none;
	z-index: 10000;
	border-radius: 0 0 8px 0;
}

.skip-to-content:focus {
	top: 0;
}

/* Loading Animation */
.loader-dna {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

.dna-strand {
	width: 60px;
	height: 60px;
	position: relative;
}

.dna-strand::before,
.dna-strand::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	background: var(--turquoise);
	border-radius: 50%;
	animation: dna-rotate 1s linear infinite;
}

.dna-strand::after {
	animation-delay: 0.5s;
	background: var(--turquoise-light);
}

@keyframes dna-rotate {
	0% { transform: translate(0, 0); }
	25% { transform: translate(20px, 20px); }
	50% { transform: translate(20px, -20px); }
	75% { transform: translate(-20px, -20px); }
	100% { transform: translate(0, 0); }
}

/* Dark Mode */
body.dark-mode {
	background: var(--navy);
	color: var(--slate-100);
}

body.dark-mode .nav-future {
	background: rgba(15, 23, 42, 0.9);
}

body.dark-mode .nav-link {
	color: var(--slate-300);
}

body.dark-mode .services-section,
body.dark-mode .institutions-section {
	background: var(--navy-light);
}

body.dark-mode .bento-card {
	background: var(--slate-800);
	border-color: var(--slate-700);
}

body.dark-mode .bento-title {
	color: var(--slate-100);
}

body.dark-mode .bento-description {
	color: var(--slate-400);
}

/* Responsive Design */
@media (max-width: 1024px) {
	.bento-grid {
		grid-template-columns: repeat(6, 1fr);
	}

	.bento-card-featured {
		grid-column: span 6;
	}

	.bento-card-normal {
		grid-column: span 3;
	}

	.bento-card-wide {
		grid-column: span 6;
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-interactive {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}
}

@media (max-width: 768px) {
	.nav-menu {
		display: none;
	}

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

	.bento-card-featured,
	.bento-card-normal,
	.bento-card-wide {
		grid-column: span 1;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		text-align: left;
		gap: 2rem;
	}

	.ai-chat-window {
		width: calc(100vw - 2rem);
		height: calc(100vh - 6rem);
		right: 1rem;
		bottom: 1rem;
		left: 1rem;
	}

	.comparison-panel {
		width: calc(100% - 2rem);
		right: 1rem;
		left: 1rem;
	}

	.filter-pills {
		overflow-x: auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding-bottom: 0.5rem;
	}

	.timeline-line {
		left: 30px;
	}

	.timeline-item {
		padding-left: 70px;
	}

	.timeline-dot {
		left: 20px;
	}

	.stats-interactive {
		grid-template-columns: 1fr;
	}

	.carousel-control {
		display: none;
	}
}

/* Comparison Modal Styles */
.comparison-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	z-index: 10000;
	animation: fadeIn 0.3s ease;
}

.comparison-modal.active {
	display: flex;
	justify-content: center;
	align-items: center;
}

.comparison-modal-content {
	background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(13, 13, 23, 0.98) 100%);
	border: 1px solid rgba(0, 206, 209, 0.3);
	border-radius: 24px;
	padding: 40px;
	width: 90%;
	max-width: 1200px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 25px 50px -12px rgba(0, 206, 209, 0.25);
}

.comparison-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 206, 209, 0.2);
}

.comparison-modal-title {
	font-size: 28px;
	font-weight: 700;
	background: linear-gradient(135deg, #00CED1, #48D1CC);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: flex;
	align-items: center;
	gap: 12px;
}

.comparison-modal-close {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: white;
	font-size: 24px;
}

.comparison-modal-close:hover {
	background: rgba(255, 59, 48, 0.2);
	border-color: rgba(255, 59, 48, 0.5);
	transform: rotate(90deg);
}

.comparison-table {
	width: 100%;
	margin-top: 30px;
}

.comparison-row {
	display: grid;
	grid-template-columns: 200px repeat(3, 1fr);
	gap: 20px;
	padding: 20px;
	margin-bottom: 10px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	align-items: center;
}

.comparison-row.header {
	background: linear-gradient(135deg, rgba(0, 206, 209, 0.1), rgba(72, 209, 204, 0.1));
	border: 1px solid rgba(0, 206, 209, 0.2);
}

.comparison-label {
	font-weight: 600;
	color: #00CED1;
	display: flex;
	align-items: center;
	gap: 8px;
}

.comparison-label svg {
	width: 20px;
	height: 20px;
}

.comparison-item-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.comparison-item-card.empty {
	border: 2px dashed rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.02);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 120px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.comparison-item-card.empty:hover {
	border-color: #00CED1;
	background: rgba(0, 206, 209, 0.05);
}

.comparison-item-title {
	font-size: 18px;
	font-weight: 600;
	color: white;
	margin-bottom: 10px;
}

.comparison-item-value {
	font-size: 24px;
	font-weight: 700;
	color: #00CED1;
}

.comparison-item-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	margin: 4px;
}

.badge-online {
	background: rgba(16, 185, 129, 0.2);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-presencial {
	background: rgba(239, 68, 68, 0.2);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-facil {
	background: rgba(34, 197, 94, 0.2);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-medio {
	background: rgba(251, 191, 36, 0.2);
	color: #fbbf24;
	border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-dificil {
	background: rgba(239, 68, 68, 0.2);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.comparison-winner {
	position: absolute;
	top: -10px;
	right: -10px;
	background: linear-gradient(135deg, #FFD700, #FFA500);
	color: #1a1a2e;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.comparison-remove-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(255, 59, 48, 0.2);
	border: 1px solid rgba(255, 59, 48, 0.3);
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #ff3b30;
	transition: all 0.3s ease;
}

.comparison-remove-btn:hover {
	background: rgba(255, 59, 48, 0.3);
	transform: scale(1.1);
}

.comparison-empty-state {
	text-align: center;
	padding: 40px;
	color: rgba(255, 255, 255, 0.6);
}

.comparison-empty-icon {
	font-size: 64px;
	margin-bottom: 20px;
	opacity: 0.5;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideIn {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.comparison-item-card {
	animation: slideIn 0.5s ease forwards;
}

.comparison-actions {
	margin-top: 30px;
	display: flex;
	gap: 15px;
	justify-content: center;
}

.btn-comparison-action {
	padding: 12px 30px;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	font-size: 16px;
}

.btn-comparison-primary {
	background: linear-gradient(135deg, #00CED1, #48D1CC);
	color: white;
}

.btn-comparison-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 206, 209, 0.3);
}

.btn-comparison-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-comparison-secondary:hover {
	background: rgba(255, 255, 255, 0.15);
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.1);
		opacity: 0.7;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.voice-button.recording {
	background: rgba(255, 0, 0, 0.1);
	border-color: #ff0000;
}

.voice-button.recording svg {
	stroke: #ff0000;
}


/* BOTÓN CHATBOT LIMPIO - SOLO ICONO */
.ai-fab {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 65px;
	height: 65px;
	background: linear-gradient(135deg, #00CED1 0%, #1DB9BE 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 206, 209, 0.3);
	transition: all 0.3s ease;
	z-index: 999;
}

.ai-fab:hover {
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 8px 20px rgba(0, 206, 209, 0.4);
}

.ai-fab-icon {
	width: 32px;
	height: 32px;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

/* Esconder texto y tooltips */
.ai-fab-label,
.ai-fab-text,
.ai-fab::before,
.ai-fab::after {
	display: none !important;
}

/* Pulso */
.ai-fab-pulse {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 50%;
	border: 2px solid rgba(0, 206, 209, 0.6);
	animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
	0% { transform: scale(1); opacity: 0.8; }
	50% { transform: scale(1.15); opacity: 0.4; }
	100% { transform: scale(1.3); opacity: 0; }
}

/* Botón cuando chat está abierto */
.ai-fab.active {
	width: 50px !important;
	height: 50px !important;
	background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%) !important;
	z-index: 1001 !important;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Ocultar icono de chat cuando abierto */
.ai-fab.active .ai-fab-icon-wrapper {
	opacity: 0;
	transform: scale(0) rotate(90deg);
	transition: all 0.3s ease;
}

/* Mostrar X cuando abierto */
.ai-fab.active .ai-fab-close {
	opacity: 1;
	transform: scale(1) rotate(0deg);
}

/* Ocultar pulso cuando abierto */
.ai-fab.active .ai-fab-pulse {
	opacity: 0;
}

/* Asegurar transiciones suaves */
.ai-fab {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Z-index correcto */
#aiChatWindow {
	z-index: 998;
}

.ai-fab {
	z-index: 1001;
}

@media (max-width: 768px) {
	.ai-fab {
		bottom: 20px;
		right: 20px;
	}

	.ai-fab.active {
		top: 15px !important;
		right: 15px !important;
		width: 45px !important;
		height: 45px !important;
	}
}
/* ============================================
   ALTERNATIVA: TOOLTIP DESACTIVADO
   (Si prefieres eliminar el tooltip completamente)
   ============================================ */


/*.ai-fab::before,
.ai-fab::after {
	display: none !important;
}*/

/* ============================================
   SISTEMA DE COMPARACIÓN DE TRÁMITES - CSS
   ============================================ */

/* Contenedor flotante de comparación */
#compareContainer {
	position: fixed;
	bottom: 100px;
	right: 30px;
	background: white;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	max-width: 320px;
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
	transition: all 0.3s ease;
	z-index: 998;
}

#compareContainer.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: all;
}

.compare-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
}

.compare-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #2d3748;
}

#compareCounter {
	background: #00CED1;
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}

.btn-clear-compare {
	background: none;
	border: none;
	color: #718096;
	cursor: pointer;
	padding: 4px;
	font-size: 12px;
	transition: color 0.2s;
}

.btn-clear-compare:hover {
	color: #e53e3e;
}

#compareItems {
	margin-bottom: 15px;
	max-height: 200px;
	overflow-y: auto;
}

.compare-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	background: #f7fafc;
	border-radius: 8px;
	margin-bottom: 8px;
	transition: background 0.2s;
}

.compare-item:hover {
	background: #edf2f7;
}

.compare-item-name {
	font-size: 13px;
	color: #2d3748;
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.compare-item-remove {
	background: none;
	border: none;
	color: #718096;
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	border-radius: 4px;
}

.compare-item-remove:hover {
	background: #fff;
	color: #e53e3e;
}

.btn-compare-now {
	width: 100%;
	padding: 12px 20px;
	background: linear-gradient(135deg, #00CED1, #20B2AA);
	color: white;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s;
}

.btn-compare-now:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 206, 209, 0.4);
}

/* Modal de comparación */
#comparisonModal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.75);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
}

.comparison-modal-content {
	background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
	border-radius: 24px;
	padding: 40px;
	max-width: 1400px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.comparison-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
}

.comparison-modal-title {
	font-size: 28px;
	font-weight: 700;
	color: white;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn-close-comparison {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 24px;
}

.btn-close-comparison:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg);
}

/* Tabla de comparación */
.comparison-table {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.comparison-row {
	display: grid;
	grid-template-columns: 200px repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
	align-items: stretch;
}

.comparison-row.header {
	margin-bottom: 10px;
}

.comparison-label {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	color: #a0aec0;
}

.comparison-label svg {
	color: #00CED1;
}

.comparison-item-card {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 24px;
	position: relative;
	border: 2px solid transparent;
	transition: all 0.3s;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 120px;
}

.comparison-item-card:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(0, 206, 209, 0.3);
}

.comparison-item-card.destacado {
	border-color: #00CED1;
	background: rgba(0, 206, 209, 0.1);
}

.comparison-item-card.empty {
	border: 2px dashed rgba(255, 255, 255, 0.2);
	background: transparent;
	cursor: pointer;
	color: #718096;
}

.comparison-item-card.empty:hover {
	border-color: #00CED1;
	background: rgba(0, 206, 209, 0.05);
	color: #00CED1;
}

.comparison-winner {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #f6ad55, #ed8936);
	color: white;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(246, 173, 85, 0.4);
	white-space: nowrap;
}

.comparison-remove-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 20px;
	transition: all 0.2s;
	opacity: 0.6;
}

.comparison-remove-btn:hover {
	background: #e53e3e;
	opacity: 1;
	transform: rotate(90deg);
}

.comparison-item-title {
	font-size: 16px;
	font-weight: 700;
	color: white;
	margin: 0 0 6px 0;
	line-height: 1.4;
}

.comparison-item-subtitle {
	font-size: 13px;
	color: #a0aec0;
	margin: 0;
}

.comparison-item-value {
	font-size: 24px;
	font-weight: 700;
	color: white;
	margin: 0;
}

.comparison-item-value.best {
	color: #48bb78;
	position: relative;
}

.comparison-item-value.best::after {
	content: '✓';
	position: absolute;
	top: -5px;
	right: -5px;
	background: #48bb78;
	color: white;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

.comparison-item-badge {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.badge-online {
	background: rgba(72, 187, 120, 0.2);
	color: #48bb78;
	border: 1px solid rgba(72, 187, 120, 0.3);
}

.badge-presencial {
	background: rgba(237, 137, 54, 0.2);
	color: #ed8936;
	border: 1px solid rgba(237, 137, 54, 0.3);
}

.badge-fácil {
	background: rgba(72, 187, 120, 0.2);
	color: #48bb78;
	border: 1px solid rgba(72, 187, 120, 0.3);
}

.badge-medio {
	background: rgba(246, 173, 85, 0.2);
	color: #f6ad55;
	border: 1px solid rgba(246, 173, 85, 0.3);
}

.badge-complejo {
	background: rgba(245, 101, 101, 0.2);
	color: #f56565;
	border: 1px solid rgba(245, 101, 101, 0.3);
}

.comparison-availability {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.avail-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.avail-badge.online {
	background: rgba(72, 187, 120, 0.2);
	color: #48bb78;
	border-color: rgba(72, 187, 120, 0.3);
}

.avail-badge.presencial {
	background: rgba(237, 137, 54, 0.2);
	color: #ed8936;
	border-color: rgba(237, 137, 54, 0.3);
}

/* Botones de acción */
.comparison-actions {
	display: flex;
	gap: 12px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.btn-comparison-detail {
	flex: 1;
	min-width: 200px;
	padding: 14px 24px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	text-align: center;
	transition: all 0.3s;
	display: block;
}

.btn-comparison-detail:hover {
	background: #00CED1;
	border-color: #00CED1;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 206, 209, 0.4);
}

/* Loading */
.comparison-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 40px;
	color: white;
}

.loader {
	border: 4px solid rgba(255, 255, 255, 0.1);
	border-top: 4px solid #00CED1;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin-bottom: 20px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1200px) {
	.comparison-row {
		grid-template-columns: 180px repeat(auto-fit, minmax(220px, 1fr));
	}
}

@media (max-width: 968px) {
	.comparison-modal-content {
		padding: 30px 20px;
	}

	.comparison-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.comparison-label {
		background: rgba(0, 206, 209, 0.1);
		border-left: 3px solid #00CED1;
		font-size: 14px;
		padding: 12px 16px;
	}

	.comparison-item-card {
		min-height: 80px;
		padding: 16px;
	}

	.comparison-actions {
		flex-direction: column;
	}

	.btn-comparison-detail {
		min-width: auto;
	}

	#compareContainer {
		right: 20px;
		bottom: 80px;
		max-width: calc(100% - 40px);
	}
}


/* ============================================
   SISTEMA DE FAVORITOS
   ============================================ */

/* Botón de favorito en las cards */
.btn-favorite {
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #718096;
}

.btn-favorite:hover {
	background: white;
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-favorite.active {
	color: #e53e3e;
	background: rgba(229, 62, 62, 0.1);
}

.btn-favorite.active:hover {
	color: #c53030;
	background: rgba(229, 62, 62, 0.2);
}

.btn-favorite.animate-favorite {
	animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
	0%, 100% { transform: scale(1); }
	25% { transform: scale(1.3); }
	50% { transform: scale(0.9); }
	75% { transform: scale(1.2); }
}

/* Filtro de favoritos */
.favorites-filter {
	display: flex;
	gap: 8px;
	align-items: center;
	margin:0 auto;
}

.btn-filter-favorites {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: white;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	color: #2d3748;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	height: 44px; /* Misma altura que los otros botones */
}

.btn-filter-favorites:hover {
	border-color: #e53e3e;
	color: #e53e3e;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(229, 62, 62, 0.2);
}

.btn-filter-favorites.active {
	background: linear-gradient(135deg, #e53e3e, #c53030);
	border-color: #e53e3e;
	color: white;
}

.favorites-counter {
	background: #e53e3e;
	color: white;
	min-width: 22px;
	height: 22px;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	padding: 0 6px;
}

.btn-filter-favorites.active .favorites-counter {
	background: white;
	color: #e53e3e;
}

.btn-clear-favorites {
	background: white;
	border: 2px solid #e2e8f0;
	width: 44px; /* Misma altura */
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #718096;
	transition: all 0.3s ease;
}

.btn-clear-favorites:hover {
	border-color: #e53e3e;
	color: #e53e3e;
	background: rgba(229, 62, 62, 0.05);
	transform: translateY(-2px);
}

/* Mensaje de favoritos vacío */
.empty-favorites-message {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 80px 40px;
	text-align: center;
	color: #718096;
}

.empty-favorites-message svg {
	color: #cbd5e0;
	margin-bottom: 20px;
}

.empty-favorites-message h3 {
	font-size: 24px;
	color: #2d3748;
	margin: 0 0 10px 0;
}

.empty-favorites-message p {
	font-size: 16px;
	color: #718096;
	max-width: 400px;
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.favorites-filter {
		margin-right: 10px;
	}

	.btn-filter-favorites span:not(.favorites-counter) {
		display: none;
	}

	.btn-filter-favorites {
		padding: 10px;
		width: 40px;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.favorites-filter {
		margin-left: 0;
		width: 100%;
		justify-content: space-between;
	}

	.btn-filter-favorites {
		flex: 1;
	}
}


	 /* Hero compacto */
 .tramites-hero {
	 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	 padding: 120px 0 40px;
	 position: relative;
	 overflow: hidden;
 }

.tramites-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="%23ffffff" fill-opacity="0.03" width="50" height="50"/></svg>');
	animation: slide 20s linear infinite;
}

@keyframes slide {
	from { transform: translateX(0); }
	to { transform: translateX(100px); }
}

/* Container más amplio */
.tramites-container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 30px 20px;
}

/* Filtros más compactos */
.filters-section {
	background: white;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	margin-bottom: 30px;
}

.filters-grid {
	display: grid;
	grid-template-columns: 2fr 1.5fr 1.5fr;
	gap: 16px;
	margin-bottom: 16px;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.filter-label {
	font-weight: 600;
	color: #2d3748;
	font-size: 13px;
	font-family: 'Outfit', sans-serif;
}

.filter-input,
.filter-select {
	padding: 10px 14px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	font-family: 'Outfit', sans-serif;
	transition: all 0.3s ease;
	background: white;
}

.filter-input:focus,
.filter-select:focus {
	outline: none;
	border-color: #00CED1;
	box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.1);
}

.filter-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.btn-filter {
	padding: 10px 28px;
	background: linear-gradient(135deg, #00CED1, #00A7AE);
	color: white;
	border: none;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Outfit', sans-serif;
	display: flex;
	align-items: center;
	gap: 8px;
}

.btn-filter:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 206, 209, 0.3);
}

.btn-clear {
	padding: 10px 20px;
	background: white;
	color: #718096;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Outfit', sans-serif;
}

.btn-clear:hover {
	border-color: #cbd5e0;
	background: #f7fafc;
}

/* Grid de cards más compacto - 4 columnas */
.tramites-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

/* Cards más pequeñas */
.tramite-card {
	background: white;
	border-radius: 14px;
	padding: 18px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	cursor: pointer;
	border: 2px solid transparent;
	position: relative;
	overflow: hidden;
	min-height: 200px;
}

.tramite-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #00CED1, #667eea);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.tramite-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	border-color: #00CED1;
}

.tramite-card:hover::before {
	transform: scaleX(1);
}

.tramite-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
}

.tramite-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #00CED1, #00A7AE);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 20px;
}

.tramite-actions {
	display: flex;
	gap: 6px;
}

.btn-favorite,
.btn-compare {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: 2px solid #e2e8f0;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-favorite:hover,
.btn-compare:hover {
	border-color: #00CED1;
	transform: scale(1.1);
}

.btn-favorite.active {
	background: linear-gradient(135deg, #e53e3e, #c53030);
	border-color: #e53e3e;
	color: white;
}

.tramite-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	margin-bottom: 10px;
}

.badge-online {
	background: rgba(16, 185, 129, 0.1);
	color: #059669;
}

.badge-presencial {
	background: rgba(249, 115, 22, 0.1);
	color: #ea580c;
}

.tramite-title {
	font-size: 16px;
	font-weight: 700;
	color: #1a202c;
	margin-bottom: 8px;
	font-family: 'Outfit', sans-serif;
	line-height: 1.3;
}

.tramite-description {
	font-size: 13px;
	color: #718096;
	line-height: 1.5;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tramite-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
}

.tramite-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #718096;
}

.btn-view-details {
	padding: 6px 16px;
	background: #f7fafc;
	color: #00CED1;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Outfit', sans-serif;
}

.btn-view-details:hover {
	background: #00CED1;
	color: white;
}

/* Paginación compacta */
.pagination-modern {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 30px;
}

.page-btn {
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	background: white;
	color: #718096;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Outfit', sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-btn:hover:not(.active):not(:disabled) {
	border-color: #00CED1;
	color: #00CED1;
}

.page-btn.active {
	background: linear-gradient(135deg, #00CED1, #00A7AE);
	color: white;
	border-color: #00CED1;
}

.page-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Modo oscuro */
body.dark-mode .filters-section,
body.dark-mode .tramite-card {
	background: var(--slate-800);
	border-color: var(--slate-700);
}

body.dark-mode .filter-label,
body.dark-mode .tramite-title {
	color: var(--slate-100);
}

body.dark-mode .filter-input,
body.dark-mode .filter-select {
	background: var(--slate-700);
	border-color: var(--slate-600);
	color: var(--slate-100);
}

body.dark-mode .tramite-description,
body.dark-mode .tramite-meta {
	color: var(--slate-400);
}

body.dark-mode .page-btn {
	background: var(--slate-800);
	color: var(--slate-300);
	border-color: var(--slate-700);
}

/* Empty state */
.empty-state {
	text-align: center;
	padding: 60px 30px;
	background: white;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.empty-state svg {
	width: 100px;
	height: 100px;
	margin-bottom: 20px;
	opacity: 0.3;
}

.empty-state h3 {
	font-size: 22px;
	color: #2d3748;
	margin-bottom: 10px;
	font-family: 'Outfit', sans-serif;
}

.empty-state p {
	font-size: 15px;
	color: #718096;
}

/* Counter badge compacto */
.results-counter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: linear-gradient(135deg, rgba(0, 206, 209, 0.1), rgba(102, 126, 234, 0.1));
	border-radius: 10px;
	font-weight: 600;
	color: #00CED1;
	font-size: 13px;
	margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1400px) {
	.tramites-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	}
}

@media (max-width: 1024px) {
	.filters-grid {
		grid-template-columns: 1fr 1fr;
	}

	.tramites-grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

@media (max-width: 768px) {
	.tramites-hero {
		padding: 40px 0 30px;
	}

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

	.filter-actions {
		flex-direction: column;
	}

	.btn-filter,
	.btn-clear {
		width: 100%;
		justify-content: center;
	}

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

/* Loading animation */
.loading {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: white;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}


/* Hero con gradiente animado */
.servicios-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 80px 0 60px;
	position: relative;
	overflow: hidden;
}
.servicios-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
	background-size: 50px 50px;
	animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
	0% { transform: translate(0, 0); }
	100% { transform: translate(50px, 50px); }
}

.servicios-container { max-width: 1600px; margin: 0 auto; padding: 40px 20px; position: relative; z-index: 2; }
.hero-badge {
	display: inline-block;
	padding: 8px 20px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50px;
	margin-bottom: 18px;
	backdrop-filter: blur(10px);
}
.hero-title {
	font-size: 52px;
	font-weight: 800;
	color: white;
	margin-bottom: 16px;
	line-height: 1.2;
	text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.hero-subtitle {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.95);
	max-width: 700px;
	line-height: 1.6;
}

/* Filtros y búsqueda */
.filter-section {
	background: white;
	border-radius: 20px;
	padding: 30px;
	margin-bottom: 40px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.search-box {
	position: relative;
	max-width: 600px;
	margin: 0 auto 30px;
}
.search-input {
	width: 100%;
	padding: 16px 50px 16px 50px;
	border: 2px solid #e2e8f0;
	border-radius: 14px;
	font-size: 16px;
	transition: all 0.3s ease;
}
.search-input:focus {
	outline: none;
	border-color: #00CED1;
	box-shadow: 0 0 0 4px rgba(0, 206, 209, 0.1);
}
.search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: #a0aec0;
}

/* Vista switcher */
.view-switcher {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 20px;
}
.view-btn {
	padding: 10px 20px;
	border: 2px solid #e2e8f0;
	background: white;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	font-size: 14px;
}
.view-btn.active {
	background: linear-gradient(135deg, #00CED1, #00A7AE);
	color: white;
	border-color: #00CED1;
}
.view-btn:hover:not(.active) {
	border-color: #00CED1;
	transform: translateY(-2px);
}

/* Grid de colecciones */
.colecciones-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}
.colecciones-grid.list-view {
	grid-template-columns: 1fr;
}

/* Card de colección */
.coleccion-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	position: relative;
	border: 2px solid transparent;
}
.coleccion-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #00CED1, #667eea);
	transform: scaleX(0);
	transition: transform 0.4s ease;
}
.coleccion-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
	border-color: #00CED1;
}
.coleccion-card:hover::before {
	transform: scaleX(1);
}

.coleccion-image {
	width: 100%;
	height: 220px;
	object-fit: cover;
	background: linear-gradient(135deg, rgba(0, 206, 209, 0.1), rgba(102, 126, 234, 0.1));
}

.coleccion-body {
	padding: 30px;
}
.coleccion-title {
	font-size: 22px;
	font-weight: 700;
	color: #1a202c;
	margin-bottom: 12px;
	line-height: 1.3;
}
.coleccion-description {
	color: #718096;
	line-height: 1.6;
	margin-bottom: 20px;
	font-size: 15px;
}

.coleccion-stats {
	display: flex;
	gap: 20px;
	padding: 18px 0;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 20px;
}
.stat-item {
	flex: 1;
	text-align: center;
}
.stat-number {
	font-size: 24px;
	font-weight: 800;
	color: #00CED1;
	display: block;
}
.stat-label {
	font-size: 12px;
	color: #718096;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.coleccion-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.btn-explorar {
	padding: 12px 28px;
	background: linear-gradient(135deg, #00CED1, #00A7AE);
	color: white;
	border: none;
	border-radius: 12px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}
.btn-explorar:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 206, 209, 0.4);
}

/* Vista lista */
.coleccion-card.list-view {
	display: grid;
	grid-template-columns: 280px 1fr;
}
.coleccion-card.list-view .coleccion-image {
	height: 100%;
}
.coleccion-card.list-view .coleccion-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.coleccion-card.list-view .coleccion-stats {
	flex-direction: row;
	border: none;
	padding: 0;
	margin: 0;
}

/* Empty state */
.empty-state {
	text-align: center;
	padding: 80px 30px;
	background: white;
	border-radius: 20px;
	display: none;
}
.empty-state.show {
	display: block;
}
.empty-state h3 {
	font-size: 24px;
	color: #2d3748;
	margin-bottom: 12px;
	font-weight: 700;
}
.empty-state p {
	font-size: 16px;
	color: #718096;
}

/* Animaciones de entrada */
.coleccion-card {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.coleccion-card:nth-child(1) { animation-delay: 0.1s; }
.coleccion-card:nth-child(2) { animation-delay: 0.2s; }
.coleccion-card:nth-child(3) { animation-delay: 0.3s; }
.coleccion-card:nth-child(4) { animation-delay: 0.4s; }
.coleccion-card:nth-child(5) { animation-delay: 0.5s; }
.coleccion-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
	.servicios-hero { padding: 50px 0 40px; }
	.hero-title { font-size: 36px; }
	.colecciones-grid { grid-template-columns: 1fr; }
	.coleccion-card.list-view { grid-template-columns: 1fr; }
	.coleccion-card.list-view .coleccion-image { height: 200px; }
}

/* ========================================
   HAMBURGER MENU & MOBILE NAVIGATION
   ======================================== */

/* Hamburger Button - Hidden by default, shown on mobile */
.nav-hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 10001;
	position: relative;
}

.nav-hamburger span {
	width: 100%;
	height: 3px;
	background: var(--turquoise);
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	position: relative;
	transform-origin: center;
}

.nav-hamburger:hover span {
	background: var(--turquoise-dark);
}

/* Hamburger Animation when active */
.nav-hamburger.active span:nth-child(1) {
	transform: translateY(10px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
	opacity: 0;
	transform: translateX(-20px);
}

.nav-hamburger.active span:nth-child(3) {
	transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.nav-menu.mobile-active {
	display: flex !important;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
	backdrop-filter: blur(40px);
	-webkit-backdrop-filter: blur(40px);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	z-index: 10000;
	animation: slideInFromTop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	padding: 2rem;
}

@keyframes slideInFromTop {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Mobile Menu Items */
.nav-menu.mobile-active .nav-item {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.5s ease forwards;
}

.nav-menu.mobile-active .nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-menu.mobile-active .nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-menu.mobile-active .nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-menu.mobile-active .nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-menu.mobile-active .nav-item:nth-child(5) { animation-delay: 0.5s; }

.nav-menu.mobile-active .nav-link {
	font-size: 1.5rem;
	color: var(--white);
	padding: 1rem 2rem;
	width: 100%;
	text-align: center;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.nav-menu.mobile-active .nav-link:hover,
.nav-menu.mobile-active .nav-link.active {
	color: var(--turquoise);
	background: rgba(0, 206, 209, 0.1);
	border-bottom-color: var(--turquoise);
	transform: scale(1.05);
}

.nav-menu.mobile-active .nav-link::after {
	display: none;
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
   ======================================== */

/* Tablets and iPad (768px - 1024px) */
@media (max-width: 1024px) {
	.nav-wrapper {
		padding: 1rem 1.5rem;
	}

	.logo {
		height: 40px;
	}

	.nav-menu {
		gap: 1.5rem;
	}

	.nav-link {
		font-size: 0.9rem;
		padding: 0.4rem 0.8rem;
	}

	.hero-spectacular {
		margin-top: 70px;
	}

	.hero-title {
		font-size: clamp(2.5rem, 6vw, 4rem);
	}

	.hero-description {
		font-size: clamp(1rem, 2vw, 1.2rem);
	}

	.stats-interactive {
		gap: 1.5rem;
	}

	.hexagon-shape {
		width: 130px;
		height: 130px;
	}

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

	.filters-container {
		padding: 0 1rem;
	}

	.filter-pills {
		gap: 0.5rem;
	}

	.filter-pill {
		font-size: 0.85rem;
		padding: 0.6rem 1rem;
	}
}

/* Mobile phones and small tablets (max-width: 768px) */
@media (max-width: 768px) {
	/* Show hamburger menu */
	.nav-hamburger {
		display: flex;
	}

	/* Hide desktop nav menu */
	.nav-menu {
		display: none;
	}

	/* Adjust navigation wrapper */
	.nav-wrapper {
		padding: 1rem;
	}

	.logo {
		height: 35px;
	}

	/* Hide desktop theme toggle in favor of mobile menu */
	.btn-glass {
		font-size: 0.8rem;
		padding: 0.6rem 1rem;
	}

	.btn-primary-glow {
		display: none;
	}

	/* Hero section adjustments */
	.hero-spectacular {
		margin-top: 60px;
		min-height: 90vh;
		padding: 2rem 0;
	}

	.hero-content {
		padding: 1rem;
	}

	.hero-badge {
		font-size: 0.75rem;
		padding: 0.4rem 1rem;
		margin-bottom: 1.5rem;
	}

	.hero-title {
		font-size: clamp(2rem, 8vw, 3rem);
		margin-bottom: 1rem;
	}

	.hero-description {
		font-size: 1rem;
		margin-bottom: 2rem;
	}

	/* Search bar adjustments */
	.search-ai-enhanced {
		max-width: 100%;
	}

	.search-container-ai {
		padding: 0.3rem;
		border-radius: 16px;
	}

	.search-input-ai {
		font-size: 0.95rem;
		padding: 0.75rem 0;
	}

	.search-ai-icon {
		margin-left: 1rem;
		width: 20px;
		height: 20px;
	}

	.search-submit {
		padding: 0.7rem 1.2rem;
		font-size: 0.85rem;
		border-radius: 12px;
	}

	.voice-button {
		padding: 0.5rem;
	}

	/* Stats adjustments */
	.stats-interactive {
		grid-template-columns: 1fr;
		gap: 1rem;
		margin-top: 2rem;
	}

	.hexagon-shape {
		width: 120px;
		height: 120px;
	}

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

	.stat-text {
		font-size: 0.8rem;
	}

	/* Filters section */
	.smart-filters-section {
		padding: 2rem 1rem 1rem;
	}

	.filter-header h3 {
		font-size: 1.3rem;
	}

	.filter-header p {
		font-size: 0.9rem;
	}

	.filters-container {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.filter-pills {
		overflow-x: auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding-bottom: 0.5rem;
		-webkit-overflow-scrolling: touch;
	}

	.filter-pill {
		font-size: 0.8rem;
		padding: 0.5rem 0.9rem;
		white-space: nowrap;
		flex-shrink: 0;
	}

	.view-toggle {
		justify-content: center;
	}

	/* Services section */
	.services-section {
		padding: 2rem 1rem;
	}

	.section-header {
		margin-bottom: 1.5rem;
	}

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

	.section-description {
		font-size: 0.9rem;
	}

	/* Institutions section */
	.institutions-section {
		padding: 2rem 1rem;
	}

	/* Footer */
	.footer-modern {
		padding: 2rem 1rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-brand h3 {
		font-size: 1.3rem;
	}

	.footer-brand p {
		font-size: 0.9rem;
	}
}

/* Small mobile phones (max-width: 480px) */
@media (max-width: 480px) {
	.nav-wrapper {
		padding: 0.75rem;
	}

	.logo {
		height: 30px;
	}

	.btn-glass {
		font-size: 0.75rem;
		padding: 0.5rem 0.8rem;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-description {
		font-size: 0.9rem;
	}

	.search-input-ai {
		font-size: 0.85rem;
	}

	.search-submit {
		padding: 0.6rem 1rem;
		font-size: 0.8rem;
	}

	.hexagon-shape {
		width: 100px;
		height: 100px;
	}

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

	.filter-pill {
		font-size: 0.75rem;
		padding: 0.4rem 0.8rem;
	}

	.section-title {
		font-size: 1.3rem;
	}
}

/* Landscape orientation fixes */
@media (max-height: 600px) and (orientation: landscape) {
	.hero-spectacular {
		min-height: auto;
		padding: 4rem 0;
	}

	.stats-interactive {
		grid-template-columns: repeat(3, 1fr);
	}

	.nav-menu.mobile-active {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		padding: 1rem;
	}

	.nav-menu.mobile-active .nav-link {
		font-size: 1rem;
		padding: 0.5rem 1rem;
	}
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
	overflow: hidden;
}

