/* Corporate Palette */
:root {
	--color-primary-500: #01abe9;
	--color-primary-600: #0199d2;
	--color-primary-700: #0186b8;
	--color-primary-900: #004b68;
	
	--color-secondary-300: #ff91d1;
	--color-secondary-500: #ee0185;
	
	--color-status-green: #87c21a;
	--color-status-yellow: #ffbd05;
	--color-status-magenta: #b70090;
	
	--color-neutral-100: #f1f5f9;
	--color-neutral-800: #1e293b;
	--color-neutral-900: #0f172a;
	
	--color-surface: #ffffff;
	--background: #f6fafe;
	--foreground: #171c1f;
	
	--font-main: 'Inter', sans-serif;
	
	--transition-smooth: all 0.4s cubic-bezier(0.2, 0, 0, 1);
}

/* Base resets and Typography */
body {
	margin: 0;
	padding: 0;
	color: var(--foreground);
	background: var(--background);
	font-family: var(--font-main);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	margin-top: 0;
	color: var(--color-neutral-900);
}

a {
	color: var(--color-primary-600);
	text-decoration: none;
	transition: var(--transition-smooth);
}

a:hover {
	color: var(--color-primary-700);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Utilities */
.f-blanco { color: #ffffff !important; }
.bg-surface { background-color: var(--color-surface); }

.gradient-primary {
	background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-600) 100%);
}

.neon-glow {
	box-shadow: 0 0 20px rgba(1, 171, 233, 0.4);
}

.neon-glow-secondary {
	box-shadow: 0 0 20px rgba(238, 1, 133, 0.4);
}

.glass-panel {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.tonal-card {
	background: #ffffff;
	border-radius: 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: var(--transition-smooth);
	border: 1px solid rgba(0,0,0,0.03);
}

.tonal-section {
	background: var(--background);
	padding: 80px 0;
}

/* Header & Nav */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 40px;
	transition: var(--transition-smooth);
}

.site-header.scrolled {
	padding: 10px 40px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.site-branding img {
	height: 40px;
	width: auto;
}

.main-navigation.pill-nav {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 5px 20px;
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.4);
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 15px;
}

.main-navigation a {
	display: inline-block;
	color: var(--color-neutral-700);
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 0;
	transition: var(--transition-smooth);
}

.main-navigation a:hover {
	background: var(--color-primary-600);
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(1, 171, 233, 0.3);
}

.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
}

.menu-toggle .bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	background-color: var(--color-neutral-800);
	transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	padding-top: 80px;
	overflow: hidden;
}

.noise-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.05;
	background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.65%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22/%3E%3C/svg%3E');
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 0 20px;
	animation: fadeInUp 1s ease-out forwards;
}

.hero-title {
	font-size: 4rem;
	letter-spacing: -1px;
	margin-bottom: 20px;
}

.hero-subtitle {
	font-size: 1.25rem;
	font-weight: 300;
	opacity: 0.9;
	margin-bottom: 40px;
}

.btn {
	display: inline-block;
	padding: 15px 35px;
	border-radius: 0;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: var(--transition-smooth);
	cursor: pointer;
}

.btn-neon {
	background-color: transparent;
	border: 2px solid #ffffff;
	color: #ffffff;
}

.btn-neon:hover {
	background-color: #ffffff;
	color: var(--color-primary-600);
	transform: scale(1.05);
}

/* Immersive Storyboard Fullscreen */
.immersive-storyboard {
	position: relative;
	width: 100%;
}

.sticky-bg-container {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	z-index: 0;
}

.bg-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.2s ease-in-out; /* Smooth fade crossfade */
}

.bg-img.active {
	opacity: 1;
	z-index: 1;
}

.story-overlay-global {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(to right, rgba(4, 19, 41, 0.9) 0%, rgba(4, 19, 41, 0.4) 50%, rgba(4, 19, 41, 0.1) 100%);
	z-index: 2;
	pointer-events: none;
}

.story-content-scrollable {
	position: relative;
	z-index: 1;
	margin-top: -100vh; /* Start content exactly on top of first sticky bg */
}

.story-fullscreen {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	background: transparent;
	overflow: hidden;
}

.fullscreen-container {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	justify-content: flex-start;
}

.story-fullscreen.right-align .fullscreen-container {
	justify-content: flex-end;
}

.floating-card {
	max-width: 500px;
	padding: 50px;
}

.tonal-card-dark {
	background: rgba(4, 19, 41, 0.6);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.timeline-icon {
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	background-color: transparent;
	border: 2px solid var(--color-primary-600);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #ffffff;
	font-size: 1.2rem;
}

.timeline-icon.neon-glow-secondary {
	border-color: var(--color-secondary-500);
}

.step-title {
	font-size: 2rem;
	margin: 0;
}

.step-desc {
	font-size: 1.15rem;
	margin: 0;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85) !important;
}

/* Animations */
.reveal {
	opacity: 0;
	transform: translateY(50px);
	transition: all 1s cubic-bezier(0.2, 0, 0, 1);
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

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

/* Footer */
.site-footer {
	background: var(--color-neutral-900);
	color: #ffffff;
	padding: 60px 0 30px;
	text-align: center;
}

.footer-logo {
	margin-bottom: 30px;
}

.footer-custom-logo {
	height: 60px;
	filter: brightness(0) invert(1);
}

.footer-links ul {
	list-style: none;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 30px;
}

.footer-links a {
	color: var(--color-neutral-300);
}

.footer-links a:hover {
	color: #ffffff;
}

.copyright {
	color: var(--color-neutral-500);
	font-size: 0.9rem;
}

/* Internal Pages */
.page-content-card, .single-content-card {
	padding: 50px;
	max-width: 900px;
	margin: 0 auto;
}

.entry-header {
	margin-bottom: 40px;
}

.entry-title {
	font-size: 2.5rem;
}

.entry-meta {
	color: var(--color-neutral-500);
	margin-top: 10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
	.story-fullscreen {
		background-attachment: scroll; /* Mobile Safari fix for fixed backgrounds */
	}

	.floating-card {
		padding: 30px;
		margin: 20px;
	}

	.story-overlay,
	.story-fullscreen.right-align .story-overlay {
		background: rgba(4, 19, 41, 0.6); /* Flat overlay for mobile readability */
	}

	.hero-title {
		font-size: 2.5rem;
	}
	
	.menu-toggle {
		display: block;
	}
	
	.main-navigation ul {
		display: none; 
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(255,255,255,0.95);
		backdrop-filter: blur(10px);
		padding: 20px;
		box-shadow: 0 10px 20px rgba(0,0,0,0.1);
	}
	
	.main-navigation.toggled ul {
		display: flex;
	}
}

/* -------------------------------------
   DASHBOARD / MONITOREO SECTION
------------------------------------- */
.dashboard-section {
	padding: 100px 0;
	background-color: var(--color-surface);
	position: relative;
	overflow: hidden;
}

.dashboard-glass-panel {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.8);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
	padding: 40px;
	margin-top: 40px;
}

/* KPI Grid */
.kpi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.stat-card {
	background: #ffffff;
	border-radius: 0;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.02);
	border: 1px solid rgba(0,0,0,0.03);
	transition: transform 0.3s ease;
}

.stat-card:hover {
	transform: translateY(-5px);
}

.stat-icon {
	width: 50px;
	height: 50px;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	flex-shrink: 0;
}

.stat-icon-cyan { background-color: var(--color-primary-500); box-shadow: 0 4px 15px rgba(1, 171, 233, 0.3); }
.stat-icon-green { background-color: var(--color-status-green); box-shadow: 0 4px 15px rgba(135, 194, 26, 0.3); }
.stat-icon-magenta { background-color: var(--color-status-magenta); box-shadow: 0 4px 15px rgba(183, 0, 144, 0.3); }
.stat-icon-yellow { background-color: var(--color-status-yellow); box-shadow: 0 4px 15px rgba(255, 189, 5, 0.3); }

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

.stat-label {
	font-size: 0.85rem;
	color: var(--color-neutral-500);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.stat-value {
	font-size: 1.8rem;
	margin: 0;
	color: var(--color-neutral-900);
	font-weight: 700;
}

/* Charts Grid */
.charts-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
}

@media screen and (max-width: 900px) {
	.charts-grid {
		grid-template-columns: 1fr;
	}
}

.chart-panel {
	background: #ffffff;
	border-radius: 0;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.02);
	border: 1px solid rgba(0,0,0,0.03);
}

.chart-title {
	font-size: 1.1rem;
	color: var(--color-neutral-800);
	margin-bottom: 30px;
	font-weight: 600;
}

/* CSS Bar Chart */
.css-bar-chart {
	display: flex;
	align-items: flex-end;
	justify-content: space-around;
	height: 250px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--color-neutral-200);
	position: relative;
}

.css-bar-chart::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 20px;
	background-image: linear-gradient(to bottom, var(--color-neutral-100) 1px, transparent 1px);
	background-size: 100% 50px;
	z-index: 0;
}

.bar-group {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	justify-content: flex-end;
	width: 12%;
}

.bar {
	width: 100%;
	border-radius: 6px 6px 0 0;
	height: 0; /* Animated via JS */
	transition: height 1.5s cubic-bezier(0.2, 0, 0, 1);
}

.bar-cyan {
	background: linear-gradient(to top, var(--color-primary-600), var(--color-primary-300));
	box-shadow: 0 -4px 15px rgba(1, 171, 233, 0.2);
}

.bar-group span {
	position: absolute;
	bottom: -25px;
	font-size: 0.8rem;
	color: var(--color-neutral-500);
	font-weight: 500;
}

/* CSS Donut Chart */
.css-donut-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.css-donut-chart {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	/* Gradient showing 65% cyan, 20% green, 10% magenta, 5% yellow */
	background: conic-gradient(
		var(--color-primary-500) 0% 65%,
		var(--color-status-green) 65% 85%,
		var(--color-status-magenta) 85% 95%,
		var(--color-status-yellow) 95% 100%
	);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	animation: spin 1s ease-out;
}

@keyframes spin {
	from { transform: rotate(-90deg) scale(0.8); opacity: 0; }
	to { transform: rotate(0) scale(1); opacity: 1; }
}

.donut-hole {
	width: 130px;
	height: 130px;
	background: #ffffff;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.2;
}

.donut-total {
	font-size: 0.8rem;
	color: var(--color-neutral-500);
	text-transform: uppercase;
}

.donut-number {
	font-size: 1.5rem;
	color: var(--color-neutral-900);
}

.donut-legend ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

.donut-legend li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.85rem;
	color: var(--color-neutral-600);
	margin-bottom: 8px;
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.dot-cyan { background: var(--color-primary-500); }
.dot-green { background: var(--color-status-green); }
.dot-magenta { background: var(--color-status-magenta); }
.dot-yellow { background: var(--color-status-yellow); }

/* -------------------------------------
   PRICING SECTION
------------------------------------- */
.pricing-section {
	background-color: var(--background);
	padding: 100px 0;
	position: relative;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 80px;
	align-items: center;
}

@media screen and (max-width: 900px) {
	.pricing-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.pricing-card {
	padding: 40px;
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pricing-card-featured {
	transform: scale(1.05);
	border: 2px solid var(--color-status-magenta);
	box-shadow: 0 0 30px rgba(183, 0, 144, 0.3);
	z-index: 2;
}

.pricing-card-pro {
	border: 1px solid var(--color-primary-500);
}

@media screen and (max-width: 900px) {
	.pricing-card-featured {
		transform: scale(1);
	}
}

.popular-badge {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--color-status-magenta);
	color: #ffffff;
	padding: 5px 15px;
	border-radius: 0;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 0 15px rgba(183, 0, 144, 0.5);
}

.pricing-header {
	text-align: center;
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.plan-name {
	font-size: 1.5rem;
	color: var(--color-neutral-800);
	margin-bottom: 15px;
}

.plan-price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	margin-bottom: 15px;
	color: var(--color-neutral-900);
	font-family: 'JetBrains Mono', monospace;
}

.plan-price .currency {
	font-size: 1.5rem;
	font-weight: 600;
	margin-right: 5px;
}

.plan-price .amount {
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: -1px;
}

.plan-price .period {
	font-size: 1rem;
	color: var(--color-neutral-600);
	margin-left: 5px;
	font-family: 'Inter', sans-serif;
}

.plan-desc {
	font-size: 0.95rem;
	color: var(--color-neutral-600);
	margin: 0;
}

.plan-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 20px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(1, 171, 233, 0.05);
	border: 1px solid rgba(1, 171, 233, 0.1);
}

.plan-icon svg {
	width: 32px;
	height: 32px;
	color: var(--color-primary-500);
}

.pricing-card-featured .plan-icon {
	background: rgba(183, 0, 144, 0.05);
	border-color: rgba(183, 0, 144, 0.2);
	color: var(--color-status-magenta);
}

.pricing-features {
	flex-grow: 1;
	margin-bottom: 40px;
}

.pricing-features ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pricing-features li {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
	color: var(--color-neutral-800);
	font-size: 1.05rem;
}

.pricing-features li svg {
	color: var(--color-status-green);
	flex-shrink: 0;
}

.pricing-cta {
	text-align: center;
}

.btn-solid {
	display: inline-block;
	padding: 15px 35px;
	border-radius: 0;
	font-weight: 600;
	color: #ffffff;
	border: none;
	transition: var(--transition-smooth);
	cursor: pointer;
	width: 100%;
	box-sizing: border-box;
}

.btn-outline {
	display: inline-block;
	padding: 15px 35px;
	border-radius: 0;
	font-weight: 600;
	color: var(--color-primary-600);
	border: 2px solid var(--color-primary-600);
	background: transparent;
	transition: var(--transition-smooth);
	cursor: pointer;
	width: 100%;
	box-sizing: border-box;
}

.btn-outline:hover {
	background: rgba(1, 171, 233, 0.05);
	color: var(--color-primary-700);
}

/* -------------------------------------
   SLEEK ENTERPRISE MINIMALIST PAGES & POSTS
------------------------------------- */

body.page, body.single {
	background-color: #f8fafc; /* Slate-50 base */
	color: #334155; /* Slate-700 */
}

.ag-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 24px 120px;
}

@media screen and (max-width: 900px) {
	.ag-grid {
		padding: 40px 16px 80px;
	}
}

.ag-hero {
	width: 100%;
	padding: 0;
	margin-bottom: 16px;
}

.ag-title {
	font-family: var(--font-main);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0f172a; /* Slate-900 */
	margin: 0 0 16px 0;
}

.ag-meta {
	font-family: var(--font-main);
	color: #64748b; /* Slate-500 */
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	padding-bottom: 24px;
	display: flex;
	gap: 16px;
	align-items: center;
}

.ag-content-wrapper {
	flex: 1 1 700px;
	position: relative;
}

.ag-content {
	background: #ffffff;
	border: 1px solid #e2e8f0; /* Slate-200 */
	border-radius: 12px;
	padding: 48px;
	color: #334155;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
	transition: all 0.3s ease;
	margin-top: 0;
}

.ag-content:hover {
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	border-color: #cbd5e1; /* Slate-300 */
	transform: translateY(-2px);
}

@media screen and (max-width: 900px) {
	.ag-content {
		padding: 24px;
	}
}

.ag-content h1, 
.ag-content h2, 
.ag-content h3 {
	font-family: var(--font-main);
	color: #0f172a;
	margin-top: 48px;
	margin-bottom: 16px;
	letter-spacing: -0.01em;
	font-weight: 600;
	line-height: 1.3;
}

.ag-content > *:first-child {
	margin-top: 0 !important;
}

.ag-content p {
	font-size: 1.125rem;
	line-height: 1.7;
	margin-bottom: 24px;
	max-width: 75ch;
	font-family: var(--font-main);
	color: #475569; /* Slate-600 */
}

.ag-content ul, .ag-content ol {
	margin-bottom: 24px;
	padding-left: 24px;
}

.ag-content li {
	margin-bottom: 12px;
	font-size: 1.125rem;
	line-height: 1.7;
	font-family: var(--font-main);
	color: #475569;
}

.ag-content blockquote {
	background: #f8fafc;
	border-left: 4px solid var(--color-primary-500); /* Cyan accent */
	padding: 24px 32px;
	margin: 40px 0;
	font-size: 1.25rem;
	font-style: italic;
	font-weight: 400;
	color: #1e293b;
	line-height: 1.6;
	border-radius: 0 12px 12px 0;
}

.ag-content a {
	color: var(--color-primary-600);
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid transparent;
	transition: all 0.2s ease;
}

.ag-content a:hover {
	color: var(--color-primary-700);
	border-bottom-color: var(--color-primary-500);
}

.ag-thumbnail {
	margin-bottom: 48px;
	position: relative;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
}

.ag-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.ag-thumbnail:hover img {
	transform: scale(1.02);
}

.ag-sidebar {
	flex: 0 0 320px;
}

@media screen and (max-width: 900px) {
	.ag-sidebar {
		flex: 1 1 100%;
	}
}

.ag-widget {
	margin-bottom: 32px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
}

.ag-widget:hover {
	box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
	border-color: #cbd5e1;
}

.ag-widget-title {
	font-family: var(--font-main);
	font-size: 0.875rem;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
	font-weight: 600;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 12px;
}

.ag-nav {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ag-nav li {
	margin-bottom: 8px;
}

.ag-nav a {
	display: flex;
	align-items: center;
	padding: 8px 12px;
	color: #475569;
	text-decoration: none;
	font-size: 0.95rem;
	font-family: var(--font-main);
	transition: all 0.2s ease;
	border-radius: 6px;
	font-weight: 500;
}

.ag-nav a:hover {
	color: var(--color-primary-600);
	background: #f8fafc;
	transform: translateX(4px);
}

/* -------------------------------------
   CONTACT FORM 7 - SLEEK MINIMALIST
------------------------------------- */
.ag-contact-form {
	max-width: 100%;
	margin-top: 32px;
}

.ag-form-row {
	display: flex;
	gap: 24px;
	margin-bottom: 24px;
}

@media screen and (max-width: 600px) {
	.ag-form-row {
		flex-direction: column;
		gap: 0;
	}
}

.ag-form-group {
	flex: 1;
	margin-bottom: 24px;
}

.ag-form-row .ag-form-group {
	margin-bottom: 0; /* Reset for flex row */
}

@media screen and (max-width: 600px) {
	.ag-form-row .ag-form-group {
		margin-bottom: 24px;
	}
}

.ag-form-group label {
	display: block;
	font-size: 0.875rem;
	color: #475569; /* Slate-600 */
	font-weight: 500;
	margin-bottom: 8px;
	font-family: var(--font-main);
}

.ag-form-group input[type="text"],
.ag-form-group input[type="email"],
.ag-form-group input[type="tel"],
.ag-form-group textarea {
	width: 100%;
	padding: 12px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0; /* Slate-200 */
	border-radius: 8px;
	font-size: 1rem;
	color: #334155;
	font-family: var(--font-main);
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.ag-form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.ag-form-group input:focus,
.ag-form-group textarea:focus {
	border-color: var(--color-primary-500); /* Cyan */
	outline: none;
	box-shadow: 0 0 0 3px rgba(1, 171, 233, 0.15);
}

.ag-form-group input::placeholder,
.ag-form-group textarea::placeholder {
	color: #94a3b8; /* Slate-400 */
}

.ag-form-submit {
	margin-top: 32px;
	text-align: right;
}

.ag-form-submit input[type="submit"] {
	background: #0f172a; /* Navy/Slate-900 */
	color: #ffffff;
	border: none;
	padding: 12px 32px;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	font-family: var(--font-main);
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.ag-form-submit input[type="submit"]:hover {
	background: var(--color-primary-500); /* Cyan */
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(1, 171, 233, 0.2);
}

/* Validaciones y Errores (Sleek) */
span.wpcf7-not-valid-tip {
	color: #ee0185; /* Magenta para errores */
	font-size: 0.8rem;
	margin-top: 6px;
	display: block;
}

div.wpcf7-validation-errors, 
div.wpcf7-acceptance-missing {
	border: 1px solid #ee0185;
	background: rgba(238, 1, 133, 0.05);
	color: #ee0185;
	border-radius: 8px;
	padding: 16px;
	margin-top: 24px;
}

div.wpcf7-mail-sent-ok {
	border: 1px solid #10b981; /* Emerald-500 */
	background: rgba(16, 185, 129, 0.05);
	color: #047857; /* Emerald-700 */
	border-radius: 8px;
	padding: 16px;
	margin-top: 24px;
}

/* -------------------------------------
   NEWS ECOSYSTEM (Category & Article)
------------------------------------- */

.ag-news-header {
	text-align: center;
	margin-bottom: 48px;
}

.ag-news-header h1 {
	font-family: var(--font-main);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}

.ag-news-header p {
	font-family: var(--font-main);
	font-size: 1.125rem;
	color: #64748b;
	max-width: 600px;
	margin: 0 auto;
}

.ag-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 64px;
}

@media screen and (max-width: 992px) {
	.ag-news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 600px) {
	.ag-news-grid {
		grid-template-columns: 1fr;
	}
}

.ag-news-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
	text-decoration: none;
}

.ag-news-card:hover {
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	border-color: #cbd5e1;
	transform: translateY(-2px);
}

.ag-news-card-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	background: #f1f5f9;
}

.ag-news-card-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ag-category-badge {
	display: inline-block;
	background: rgba(1, 171, 233, 0.1);
	color: var(--color-primary-600);
	font-size: 0.75rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 12px;
	align-self: flex-start;
	font-family: var(--font-main);
}

.ag-news-card-title {
	font-family: var(--font-main);
	font-size: 1.25rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 12px 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ag-news-card-excerpt {
	font-family: var(--font-main);
	font-size: 0.95rem;
	color: #475569;
	margin: 0 0 24px 0;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex-grow: 1;
}

.ag-news-card-meta {
	font-family: var(--font-main);
	font-size: 0.85rem;
	color: #64748b;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #f1f5f9;
	padding-top: 16px;
	margin-top: auto;
}

/* Pagination */
.ag-pagination {
	text-align: center;
	margin-top: 48px;
}

.ag-pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.ag-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #475569;
	text-decoration: none;
	font-family: var(--font-main);
	font-weight: 500;
	transition: all 0.2s ease;
}

.ag-pagination .page-numbers:hover {
	border-color: var(--color-primary-500);
	color: var(--color-primary-600);
}

.ag-pagination .page-numbers.current {
	background: #0f172a;
	border-color: #0f172a;
	color: #ffffff;
}

/* Article Specific (Single) */
.ag-article-hero {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 40px;
}

.ag-article-hero .ag-category-badge {
	margin-bottom: 16px;
	align-self: center; /* Override from flex-start */
}

.ag-article-hero h1 {
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.1;
	margin-bottom: 24px;
}

.ag-article-meta {
	display: flex;
	justify-content: center;
	gap: 24px;
	color: #64748b;
	font-size: 0.95rem;
	font-family: var(--font-main);
}

.ag-article-meta .meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ag-article-hero-img {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto 48px;
	display: block;
	border-radius: 16px;
	overflow: hidden;
}

.ag-article-hero-img img {
	width: 100%;
	height: auto;
	display: block;
}

.ag-article-content-wrapper {
	max-width: 800px;
	margin: 0 auto;
}
