/**
 * 00 - Design System Tokens (CreaWeb.pe & Sublime Child Design System)
 */
:root {
	/* Aliases estándar */
	--primary-color: #4732D7;
	--primary-hover: #3924B8;
	--secondary-color: #1E2238;

	/* Paleta de Colores Principal */
	--color-primary: #4732D7;
	--color-primary-hover: #3924B8;
	--color-primary-light: #6351EE;
	--color-secondary: #1E2238;
	--color-secondary-light: #2A304D;
	--color-accent: #06B6D4;
	--color-accent-hover: #0891B2;
	--color-whatsapp: #25D366;

	/* Colores de Texto (Modo Claro) */
	--color-text-dark: #0F172A;
	--color-text-main: #1E2238;
	--color-text-muted: #64748B;
	--color-text-light: #94A3B8;

	/* Fondos (Modo Claro) */
	--color-bg-main: #F8FAFC;
	--color-bg-white: #FFFFFF;
	--color-bg-card: #FFFFFF;
	--color-bg-alt: #F1F5F9;

	/* Tipografía */
	--font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;

	/* Design Tokens de Estilo (Moderno & Tecnológico) */
	--border-radius: 12px;
	--border-radius-sm: 8px;
	--border-radius-lg: 20px;
	--border-radius-full: 9999px;

	--border-color: #E2E8F0;
	
	/* Sombras Suaves */
	--shadow-sm: 0 4px 12px rgba(30, 34, 56, 0.04);
	--shadow-md: 0 10px 25px rgba(30, 34, 56, 0.08);
	--shadow-lg: 0 20px 40px rgba(125, 141, 255, 0.15);
	--shadow-whatsapp: 0 8px 24px rgba(37, 211, 102, 0.35);

	/* Transiciones */
	--transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Variables para Modo Oscuro Nativo */
body.dark-theme,
[data-theme="dark"] {
	--color-text-dark: #F8FAFC;
	--color-text-main: #E2E8F0;
	--color-text-muted: #94A3B8;
	--color-text-light: #64748B;

	--color-bg-main: #0F172A;
	--color-bg-white: #1E293B;
	--color-bg-card: #1E293B;
	--color-bg-alt: #0F172A;

	--border-color: #334155;
	--shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 20px 40px rgba(125, 141, 255, 0.2);
}
/**
 * 01 - CSS Reset & Base Normalization
 */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-family: var(--font-main);
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-body);
	color: var(--text-main);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

img, video, svg {
	max-width: 100%;
	height: auto;
	display: block;
}

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

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

ul, ol {
	list-style: none;
}
/**
 * 02 - Typography & Headings (Estilo Sublime)
 */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--text-dark);
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: clamp(1rem, 2vw, 1.15rem); }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1.25rem;
	color: var(--text-muted);
}

.text-gradient {
	background: linear-gradient(135deg, var(--primary-color) 0%, #4456ED 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
/**
 * 03 - Layout, Container & Grids (Sublime Grid Structure)
 */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.site-main {
	flex: 1;
	padding: 2.5rem 0;
}

.layout-sidebar-right {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 2.5rem;
}

.layout-no-sidebar {
	display: block;
}

.grid-3-col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
}
/**
 * 04 - Components (Buttons, Cards, Badges, Botón Flotante WhatsApp de CreaWeb.pe)
 */

/* Botones Base */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-weight: 600;
	padding: 0.85rem 1.85rem;
	border-radius: var(--border-radius);
	text-align: center;
	cursor: pointer;
	border: 2px solid transparent;
	transition: var(--transition);
	font-size: 0.95rem;
	text-decoration: none;
}

.btn-primary {
	background-color: var(--cw-primary, #4732D7);
	color: #FFFFFF !important;
	border: 2px solid var(--cw-primary, #4732D7);
	box-shadow: 0 4px 16px rgba(71, 50, 215, 0.35);
	font-weight: 700;
}

.btn-primary:hover {
	background-color: var(--cw-primary-hover, #3924B8);
	border-color: var(--cw-primary-hover, #3924B8);
	color: #FFFFFF !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(71, 50, 215, 0.45);
}

.btn-accent {
	background-color: var(--color-accent);
	color: #FFFFFF;
	box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.btn-accent:hover {
	background-color: var(--color-accent-hover);
	color: #FFFFFF;
	transform: translateY(-2px);
}

.btn-outline {
	background-color: transparent;
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn-outline:hover {
	background-color: var(--color-primary);
	color: #FFFFFF;
}

/* Botón Flotante de WhatsApp estilo CreaWeb.pe */
.btn-whatsapp-float {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 9999;
	background-color: var(--color-whatsapp);
	color: #FFFFFF;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-whatsapp);
	transition: var(--transition);
	text-decoration: none;
}

.btn-whatsapp-float:hover {
	transform: scale(1.1) rotate(5deg);
	color: #FFFFFF;
}

.btn-whatsapp-float svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

/* Tarjetas (Cards) */
.card {
	background: var(--color-bg-card);
	border-radius: var(--border-radius);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-color);
	transition: var(--transition);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

/* Master Icon Box (Sublime Child + Design Tokens) */
.master-icon-box {
	text-align: center;
	padding: 2.5rem 1.5rem;
	background: var(--color-bg-card);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-color);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.master-icon-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
	opacity: 0;
	transition: var(--transition);
}

.master-icon-box:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.master-icon-box:hover::before {
	opacity: 1;
}

.master-icon-box svg {
	stroke: var(--color-primary) !important;
	width: 110px;
	height: 110px;
	stroke-width: 1;
	margin: 0 auto 1.5rem auto;
	display: block;
	transition: var(--transition);
}

.master-icon-box:hover svg {
	transform: scale(1.08);
	stroke: var(--color-accent) !important;
}

/* Badges */
.badge-cyan {
	display: inline-block;
	background: rgba(6, 182, 212, 0.12);
	color: var(--color-accent);
	border: 1px solid rgba(6, 182, 212, 0.3);
	padding: 0.35rem 1rem;
	border-radius: var(--border-radius-full);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}
/**
 * 05 - Header & Navigation (Estilo Nav Sublime Clean Header)
 */
.site-header {
	background-color: var(--bg-white);
	border-bottom: 1px solid var(--border-color);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: var(--shadow-sm);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.site-branding .site-title {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.5px;
}

.site-branding .site-title a {
	color: var(--secondary-color);
}

.site-branding .site-title a span {
	color: var(--primary-color);
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.main-navigation a {
	color: var(--text-dark);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.5rem 0;
	position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--primary-color);
}

.main-navigation a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 2px;
	background-color: var(--primary-color);
	transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
	width: 100%;
}
/**
 * 06 - Sections & Native Slider (Reemplazo puro de Revolution Slider y Elementor)
 */

/* -------------------------------------------------------------
   Slider Nativo de Alta Velocidad (Reemplazo de Revolution Slider)
   ------------------------------------------------------------- */
.native-slider-container {
	position: relative;
	width: 100%;
	min-height: 580px;
	overflow: hidden;
	background: #F8FAFC;
	background: linear-gradient(135deg, #F8FAFC 0%, #EFF2F7 100%);
	border-bottom: 1px solid var(--cw-border, #E7E7E7);
	color: var(--cw-text-dark, #26256C);
}

.native-slider-wrapper {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.native-slide {
	min-width: 100%;
	min-height: 580px;
	display: flex;
	align-items: center;
	padding: 4.5rem 0;
	position: relative;
}

.native-slide::before {
	display: none;
}

.native-slide-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 4rem;
}

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

.native-slide-media {
	position: relative;
	z-index: 2;
}

.cw-mockup-frame {
	background: #111417;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.cw-mockup-browser-bar {
	background: #1E2336;
	padding: 10px 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.cw-mockup-url {
	color: #A0AABF;
	font-size: 0.8rem;
	margin-left: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cw-mockup-img-wrap {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #111417;
	width: 100%;
}

.cw-mockup-img-wrap picture,
.cw-mockup-picture {
	display: block;
	width: 100%;
	height: 100%;
}

.cw-mockup-img-wrap img,
.cw-mockup-img-wrap picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.cw-mockup-hover-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.cw-mockup-hover-btn {
	background: var(--primary-color);
	color: #FFFFFF;
	padding: 1rem 2rem;
	border-radius: 50px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.cw-mockup-img-wrap:hover .cw-mockup-hover-overlay {
	opacity: 1;
}

/* Responsive Slider */
@media (max-width: 991px) {
	.native-slider-container {
		min-height: auto;
	}
	.native-slide {
		min-height: auto;
		padding: 3.5rem 0 3rem;
	}
	.native-slide-grid {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}
	.native-slide-title {
		font-size: clamp(2rem, 5vw, 2.5rem);
		margin-bottom: 1rem;
	}
	.native-slide-desc {
		font-size: 1.05rem;
		margin-bottom: 1.5rem;
	}
}

@media (max-width: 768px) {
	/* Ocultar flechas en móvil para evitar que se superpongan con los botones y el contenido */
	.slider-arrow {
		display: none !important;
	}
	.native-slide {
		padding: 2.75rem 0 2.25rem;
	}
	.native-slide-badge {
		margin-bottom: 0.85rem;
		padding: 0.3rem 0.85rem;
		font-size: 0.75rem;
	}
	.native-slide-actions {
		gap: 0.75rem;
	}
	.native-slide-actions .btn-primary,
	.cw-slider-btn-outline {
		padding: 0.7rem 1.4rem;
		font-size: 0.925rem;
		font-weight: 600;
	}
}

@media (max-width: 480px) {
	.native-slide {
		padding: 2.25rem 0 1.75rem;
	}
	.native-slide-title {
		font-size: 1.85rem;
		line-height: 1.22;
	}
	.native-slide-desc {
		font-size: 0.95rem;
		line-height: 1.55;
		margin-bottom: 1.25rem;
	}
	.native-slide-actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0.65rem;
	}
	.native-slide-actions .btn-primary,
	.cw-slider-btn-outline {
		width: 100%;
		justify-content: center;
		padding: 0.75rem 1.25rem;
		font-size: 0.9rem;
	}
	.slider-dots {
		bottom: 0.85rem;
	}
}

.native-slide-badge {
	display: inline-block;
	background: rgba(71, 50, 215, 0.08);
	color: var(--cw-primary, #4732D7);
	border: 1px solid rgba(71, 50, 215, 0.22);
	padding: 0.35rem 1rem;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 1.25rem;
}

.native-slide-title {
	font-size: clamp(2.2rem, 4vw, 3.25rem);
	color: var(--cw-text-dark, #26256C);
	font-weight: 800;
	line-height: 1.18;
	margin-bottom: 1.25rem;
	letter-spacing: -0.5px;
}

.native-slide-desc {
	font-size: 1.15rem;
	color: var(--cw-text-muted, #5E709D);
	margin-bottom: 2rem;
	line-height: 1.65;
	max-width: 560px;
}

.native-slide-actions {
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
	align-items: center;
}

.native-slide-actions .btn-primary {
	background: var(--cw-primary, #4732D7);
	border: 2px solid var(--cw-primary, #4732D7);
	color: #FFFFFF !important;
	padding: 0.85rem 2rem;
	border-radius: 50px;
	font-weight: 700;
	font-size: 1rem;
	box-shadow: 0 8px 24px rgba(71, 50, 215, 0.35);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.native-slide-actions .btn-primary:hover {
	background: #3924B8;
	border-color: #3924B8;
	color: #FFFFFF !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(71, 50, 215, 0.5);
}

.cw-slider-btn-outline {
	color: var(--cw-text-dark, #26256C) !important;
	border: 2px solid #CBD5E1 !important;
	background: transparent;
	padding: 0.85rem 2rem;
	border-radius: 50px;
	font-weight: 700;
	font-size: 1rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}
.cw-slider-btn-outline:hover {
	border-color: var(--cw-primary, #4732D7) !important;
	color: var(--cw-primary, #4732D7) !important;
	background: rgba(71, 50, 215, 0.06);
	transform: translateY(-2px);
}

/* Nav Arrows */
.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: var(--cw-text-dark, #26256C);
	border: 1px solid var(--cw-border, #E7E7E7);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(38, 37, 108, 0.08);
}

.slider-arrow:hover {
	background: var(--cw-primary, #4732D7);
	color: #FFFFFF;
	border-color: var(--cw-primary, #4732D7);
	transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }

/* Dots Pagination */
.slider-dots {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 0.6rem;
}

.slider-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(38, 37, 108, 0.2);
	cursor: pointer;
	transition: all 0.3s ease;
}

.slider-dot.active {
	background: var(--cw-primary, #4732D7);
	width: 28px;
	border-radius: 10px;
}

/* -------------------------------------------------------------
   Adaptación del Slider en Modo Oscuro (body.dark-theme)
   ------------------------------------------------------------- */
body.dark-theme .native-slider-container {
	background: #0C0F1D;
	background: radial-gradient(circle at 85% 20%, rgba(71, 50, 215, 0.22) 0%, transparent 45%), radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.12) 0%, transparent 40%), #0C0F1D;
	border-bottom-color: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
}
body.dark-theme .native-slide-title {
	color: #FFFFFF;
}
body.dark-theme .native-slide-desc {
	color: #E2E8F0;
}
body.dark-theme .native-slide-badge {
	background: rgba(125, 141, 255, 0.15);
	color: #8B99FF;
	border-color: rgba(125, 141, 255, 0.35);
}
body.dark-theme .native-slide-actions .btn-primary {
	background: var(--cw-primary, #4732D7);
	border-color: var(--cw-primary, #4732D7);
	color: #FFFFFF !important;
	box-shadow: 0 8px 25px rgba(71, 50, 215, 0.45);
}
body.dark-theme .native-slide-actions .btn-primary:hover {
	background: #5B48EE;
	border-color: #5B48EE;
	box-shadow: 0 12px 30px rgba(91, 72, 238, 0.6);
}
body.dark-theme .cw-slider-btn-outline {
	color: #FFFFFF !important;
	border-color: rgba(255, 255, 255, 0.6) !important;
}
body.dark-theme .cw-slider-btn-outline:hover {
	border-color: #FFFFFF !important;
	color: #FFFFFF !important;
	background: rgba(255, 255, 255, 0.12);
}
body.dark-theme .slider-arrow {
	background: rgba(255, 255, 255, 0.12);
	color: #FFFFFF;
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: none;
}
body.dark-theme .slider-arrow:hover {
	background: var(--cw-primary, #4732D7);
	border-color: var(--cw-primary, #4732D7);
}
body.dark-theme .slider-dot {
	background: rgba(255, 255, 255, 0.3);
}
body.dark-theme .slider-dot.active {
	background: #7D8DFF;
}
body.dark-theme .cw-mockup-frame {
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* -------------------------------------------------------------
   Sección Call To Action Box (Reemplazo Elementor CTA)
   ------------------------------------------------------------- */
.cta-banner-section {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #1E2238 100%);
	color: #FFFFFF;
	padding: 4.5rem 0;
	margin: 4rem 0;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	position: relative;
	overflow: hidden;
}

.cta-banner-section::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 450px;
	height: 450px;
	background: radial-gradient(circle, rgba(125, 141, 255, 0.15) 0%, transparent 70%);
	border-radius: 50%;
}

.cta-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	position: relative;
	z-index: 2;
}

.cta-text h2 {
	color: #FFFFFF;
	font-size: 2.25rem;
	margin-bottom: 0.75rem;
}

.cta-text p {
	color: #B3B9D6;
	font-size: clamp(1rem, 2vw, 1.15rem);
	margin: 0;
}

/* -------------------------------------------------------------
   Sección Estadísticas / Novedades
   ------------------------------------------------------------- */
.counters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	text-align: center;
	padding: 3rem 0;
}

.counter-item .number {
	font-size: 3rem;
	font-weight: 800;
	color: var(--primary-color);
	display: block;
	line-height: 1;
	margin-bottom: 0.5rem;
}

.counter-item .label {
	color: var(--text-muted);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 1px;
}
/**
 * 08 - Footer (Pie de página estilo Sublime)
 */
.site-footer {
	background-color: var(--secondary-color);
	color: #D3D8EE;
	margin-top: auto;
	padding: 4rem 0 2rem 0;
}

.site-footer a {
	color: #FFFFFF;
}

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

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2.5rem;
	margin-bottom: 3rem;
}

.footer-widget-title {
	color: #FFFFFF;
	font-size: 1.15rem;
	margin-bottom: 1.25rem;
	border-bottom: 2px solid rgba(125, 141, 255, 0.3);
	padding-bottom: 0.5rem;
	display: inline-block;
}

.site-info-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	text-align: center;
	font-size: 0.9rem;
	color: #A0A7CC;
}
/**
 * 09 - Responsive Media Queries
 */
@media (max-width: 992px) {
	.layout-sidebar-right {
		grid-template-columns: 1fr;
	}
	
	.hero-title {
		font-size: 2.25rem;
	}

	.site-header .container {
		height: auto;
		padding: 1rem 1.5rem;
		flex-direction: column;
		gap: 1rem;
	}
}

@media (max-width: 576px) {
	.hero-title {
		font-size: 1.75rem;
	}

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

	.btn {
		width: 100%;
	}
}
/**
 * 10 - Dark Mode Native Support (Soporte Nativo para Modo Oscuro)
 */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--color-text-dark: #F8FAFC;
		--color-text-main: #E2E8F0;
		--color-text-muted: #94A3B8;
		--color-text-light: #64748B;

		--color-bg-main: #0F172A;
		--color-bg-white: #1E293B;
		--color-bg-card: #1E293B;
		--color-bg-alt: #0F172A;

		--border-color: #334155;
	}
}

.theme-toggle-btn {
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--color-text-main);
	padding: 0.4rem 0.8rem;
	border-radius: var(--border-radius-sm);
	cursor: pointer;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: var(--transition);
}

.theme-toggle-btn:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}
/* ==============================================
   VARIABLES (Paleta Original Índigo/Slate Blue)
=============================================== */
:root {
	--cw-primary: #4732D7;     /* Índigo vibrante */
	--cw-secondary: #8F99B7;   /* Azul pizarra */
	--cw-text-dark: #26256C;   /* Índigo oscuro para encabezados */
	--cw-text-muted: #5E709D;  /* Gris azulado para textos */
	--cw-bg-light: #FFFFFF;    /* Blanco */
	--cw-bg-alt: #F8F9FA;      /* Gris ultra claro */
	--cw-border: #E7E7E7;      /* Gris claro bordes */
}

body {
	background-color: var(--cw-bg-light);
	color: var(--cw-text-muted);
	font-family: 'Inter', sans-serif;
	margin: 0;
	padding: 0;
}

.cw-section {
	padding: 6rem 0;
}
.cw-section.bg-alt {
	background: var(--cw-bg-alt);
}
.sec-subtitle {
	display: block;
	color: var(--cw-primary);
	font-weight: 700;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.9rem;
}

/* Nuevo Encabezado Centrado para Secciones */
.section-header-centered {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 4rem auto;
}
.cw-badge {
	display: inline-block;
	padding: 0.4rem 1rem;
	background: rgba(71, 50, 215, 0.1);
	color: var(--cw-primary);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	border-radius: 50px;
	margin-bottom: 1.5rem;
}
.sec-title {
	color: var(--cw-text-dark);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 800;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}
.sec-desc {
	color: var(--cw-text-muted);
	font-size: clamp(1rem, 2vw, 1.15rem);
	line-height: 1.7;
	margin: 0 auto;
	max-width: 650px;
}

/* ==============================================
   1. HERO AREA
=============================================== */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes subtleZoom {
	0% { transform: scale(1); }
	100% { transform: scale(1.15); }
}

.hero__area {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.hero__bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	animation: subtleZoom 8s linear infinite alternate;
	transform-origin: center center;
	z-index: 0;
}
.hero__area::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 100%);
	z-index: 1;
}
.hero__content {
	position: relative;
	z-index: 10;
	max-width: 800px;
}
.hero__title {
	color: var(--cw-text-dark);
	font-size: clamp(2rem, 5vw, 4.5rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 1.5rem;
	opacity: 0;
	animation: fadeInUp 0.8s ease forwards;
	animation-delay: 0.2s;
}
.hero__desc {
	font-size: 1.25rem;
	line-height: 1.6;
	margin-bottom: 2.5rem;
	color: var(--cw-text-muted);
	opacity: 0;
	animation: fadeInUp 0.8s ease forwards;
	animation-delay: 0.4s;
}
.hero__content .cw-btn {
	opacity: 0;
	animation: fadeInUp 0.8s ease forwards;
	animation-delay: 0.6s;
}
.cw-btn {
	display: inline-block;
	background: var(--cw-primary);
	color: #FFFFFF;
	padding: 1.2rem 2.5rem;
	border-radius: 50px;
	font-size: clamp(1rem, 2vw, 1.15rem);
	font-weight: 700;
	text-decoration: none;
	transition: var(--transition);
	box-shadow: 0 10px 25px rgba(71, 50, 215, 0.3);
	border: none;
	cursor: pointer;
}
.cw-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px rgba(71, 50, 215, 0.4);
	color: #FFFFFF;
}
.cw-btn-outline {
	background: transparent;
	color: var(--cw-primary);
	border: 2px solid var(--cw-primary);
	box-shadow: none;
}
.cw-btn-outline:hover {
	background: var(--cw-primary);
	color: #FFFFFF;
}

/* ==============================================
   MARQUEE ROLLER
=============================================== */
.roll__area {
	background: var(--cw-primary);
	padding: 1.5rem 0;
	overflow: hidden;
	position: relative;
	display: flex;
}
.roll__wrapper {
	display: flex;
	white-space: nowrap;
	animation: scroll_roller 40s linear infinite;
}
.roll__slide {
	display: inline-flex;
	align-items: center;
	padding: 0 3rem;
}
.roll__slide h2 {
	color: #FFFFFF;
	font-size: 1.35rem;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0;
	letter-spacing: 1px;
}
@keyframes scroll_roller {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ==============================================
   SERVICIOS ICON BOXES
=============================================== */
.grid-4 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}
.service-card {
	background: #FFFFFF;
	border: 1px solid var(--cw-border);
	padding: 3rem 2rem;
	border-radius: 12px;
	text-align: center;
	transition: var(--transition);
}
.service-card:hover {
	transform: translateY(-8px);
	border-color: var(--cw-primary);
	box-shadow: 0 15px 35px rgba(38, 37, 108, 0.08);
}
@keyframes drawIcon {
	0% { stroke-dashoffset: 100; }
	100% { stroke-dashoffset: 0; }
}
@keyframes drawIconHover {
	0% { stroke-dashoffset: 100; }
	100% { stroke-dashoffset: 0; }
}
.service-icon {
	color: var(--cw-primary);
	margin-bottom: 1.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
.service-icon svg path,
.cw-contact-card .icon svg path {
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	animation: drawIcon 2s ease-out forwards;
	animation-delay: 0.2s;
}
.service-card:hover .service-icon svg path,
.cw-contact-card:hover .icon svg path {
	animation: drawIconHover 1s ease-out forwards;
}
.service-card h3 {
	color: var(--cw-text-dark);
	font-size: 1.35rem;
	margin-bottom: 1rem;
	font-weight: 700;
}
/* ==============================================
   SCROLL REVEAL ANIMATIONS
=============================================== */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.service-link {
	display: inline-block;
	margin-top: 1.5rem;
	color: var(--cw-primary);
	font-weight: 600;
	text-decoration: none;
}
.service-link:hover {
	text-decoration: underline;
}

/* ==============================================
   SECCIONES DE TEXTO (ACERCA DE)
=============================================== */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}
.about-grid ul {
	list-style: none;
	padding: 0;
}
.about-grid ul li {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
	position: relative;
}
.about-grid ul li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--cw-primary);
	font-weight: bold;
}

/* ==============================================
   PORTAFOLIO
=============================================== */
.grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
}
.portfolio-card {
	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.04);
	box-shadow: 0 10px 30px rgba(38, 37, 108, 0.03);
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	position: relative;
}
.portfolio-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(71, 50, 215, 0.12);
	border-color: rgba(71, 50, 215, 0.2);
}
.portfolio-img {
	height: 260px;
	background-color: #F4F6FA; /* Fondo suave para el enmarcado */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem; /* Espacio para que la imagen no toque los bordes */
	position: relative;
	overflow: hidden;
}
.portfolio-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Sombra que recorta exactamente la imagen real */
	border-radius: 4px;
	z-index: 1;
}

.portfolio-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(38,37,108,0.85), rgba(71,50,215,0.5));
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 2;
}
.portfolio-card:hover .portfolio-overlay {
	opacity: 1;
}
.portfolio-action {
	background: #fff;
	color: var(--cw-primary);
	padding: 0.75rem 1.5rem;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transform: translateY(20px);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.portfolio-card:hover .portfolio-action {
	transform: translateY(0);
}
.portfolio-info {
	padding: 1.8rem 1.5rem;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.portfolio-title {
	color: var(--cw-text-dark);
	font-weight: 800;
	font-size: 1.25rem;
	margin: 0;
	line-height: 1.3;
}
.portfolio-cat {
	color: var(--cw-secondary);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ==============================================
   TESTIMONIOS DE ALTA CONVERSIÓN (BENTO + 3 COLS)
=============================================== */
.cw-testi-trust-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: #FFFFFF;
	border: 1px solid rgba(71, 50, 215, 0.15);
	padding: 0.4rem 1.15rem;
	border-radius: 50px;
	box-shadow: 0 4px 16px rgba(71, 50, 215, 0.06);
	margin-bottom: 1.25rem;
	font-size: 0.88rem;
}
.cw-testi-trust-stars {
	color: #F59E0B;
	letter-spacing: 2px;
	font-size: 0.95rem;
}
.cw-testi-trust-text {
	color: var(--cw-text-dark, #26256C);
	font-weight: 700;
}
.cw-testi-trust-text span {
	color: var(--cw-text-muted, #64748B);
	font-weight: 500;
}
.cw-testi-trust-verified {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: #059669;
	font-weight: 700;
	font-size: 0.8rem;
	background: rgba(16, 185, 129, 0.1);
	padding: 0.2rem 0.65rem;
	border-radius: 20px;
}

/* 1. Tarjeta Hero / Destacada (Caso B2B Insignia) */
.cw-featured-testi {
	background: #FFFFFF;
	border: 1px solid rgba(71, 50, 215, 0.2);
	border-radius: 20px;
	padding: 2.5rem 3rem;
	box-shadow: 0 20px 50px rgba(38, 37, 108, 0.08);
	margin-bottom: 2.25rem;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}
.cw-featured-testi::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #4732D7 0%, #00D2B4 100%);
}
.cw-featured-testi:hover {
	transform: translateY(-4px);
	box-shadow: 0 25px 60px rgba(38, 37, 108, 0.12);
	border-color: var(--cw-primary, #4732D7);
}
.cw-featured-grid {
	display: grid;
	grid-template-columns: 290px 1fr;
	gap: 2.5rem;
	align-items: center;
}
@media (max-width: 860px) {
	.cw-featured-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.cw-featured-testi {
		padding: 2rem 1.5rem;
	}
}
.cw-featured-author {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}
.cw-featured-avatar {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	border: 3px solid var(--cw-border, #E2E8F0);
	flex-shrink: 0;
	box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.cw-featured-meta h3 {
	margin: 0 0 0.25rem 0;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--cw-text-dark, #26256C);
}
.cw-featured-meta .role {
	margin: 0 0 0.4rem 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--cw-primary, #4732D7);
}
.cw-badge-pill-row {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 0.4rem;
}
.cw-badge-b2b {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: rgba(71, 50, 215, 0.1);
	color: var(--cw-primary, #4732D7);
	padding: 0.15rem 0.55rem;
	border-radius: 6px;
}
.cw-badge-check {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #059669;
	background: rgba(16, 185, 129, 0.1);
	padding: 0.15rem 0.55rem;
	border-radius: 6px;
}
.cw-featured-quote {
	position: relative;
	padding-left: 2rem;
	border-left: 3px solid rgba(71, 50, 215, 0.2);
}
@media (max-width: 860px) {
	.cw-featured-quote {
		padding-left: 0;
		border-left: none;
		border-top: 1px solid rgba(71, 50, 215, 0.1);
		padding-top: 1.25rem;
	}
}
.cw-featured-quote blockquote {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.75;
	color: #334155;
	font-style: normal;
	font-weight: 400;
}
.cw-featured-stars {
	color: #F59E0B;
	letter-spacing: 2px;
	font-size: 1.1rem;
	margin-bottom: 0.6rem;
}

/* 2. Grilla de 3 Columnas */
.cw-testi-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}
@media (max-width: 991px) {
	.cw-testi-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.cw-testi-grid-3 {
		grid-template-columns: 1fr;
	}
}

/* 3. Tarjeta de Testimonio Rediseñada */
.cw-testi-card {
	background: #FFFFFF;
	border: 1px solid var(--cw-border, #E2E8F0);
	border-radius: 16px;
	padding: 2.25rem 1.85rem;
	box-shadow: 0 10px 30px rgba(38, 37, 108, 0.05);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.3s ease;
	height: 100%;
}
.cw-testi-card:hover {
	transform: translateY(-6px);
	border-color: var(--cw-primary, #4732D7);
	box-shadow: 0 16px 40px rgba(71, 50, 215, 0.1);
}
.cw-testi-quote-mark {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	color: #4732D7;
	opacity: 0.12;
	pointer-events: none;
}
.cw-testi-card-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.1rem;
}
.cw-testi-avatar-img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 2px solid var(--cw-border, #E2E8F0);
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.cw-testi-header-text h3 {
	margin: 0 0 0.15rem 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--cw-text-dark, #26256C);
	line-height: 1.3;
}
.cw-testi-header-text .role {
	margin: 0 0 0.35rem 0;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--cw-primary, #4732D7);
}
.cw-testi-stars-row {
	color: #F59E0B;
	letter-spacing: 2px;
	font-size: 0.95rem;
	margin-bottom: 0.85rem;
}
.cw-testi-body-text {
	font-size: 0.95rem;
	line-height: 1.68;
	color: #475569;
	font-style: normal;
	font-weight: 400;
	margin: 0;
	flex-grow: 1;
}

/* Fallback compatibilidad legacy */
.testimonial-card {
	background: #FFFFFF;
	border: 1px solid var(--cw-border, #E2E8F0);
	border-radius: 12px;
	padding: 2.5rem 2rem;
	position: relative;
	transition: var(--transition);
	height: 100%;
	box-shadow: 0 10px 30px rgba(38,37,108,0.08);
}
.testimonial-card:hover {
	transform: translateY(-8px);
	border-color: var(--cw-primary);
	box-shadow: 0 15px 40px rgba(38,37,108,0.12);
}
.testi-author-wrap {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.testi-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--cw-bg-alt);
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
	border: 2px solid var(--cw-border);
}
.testi-info h3 {
	margin: 0 0 0.2rem 0;
	color: var(--cw-text-dark);
	font-size: clamp(1rem, 2vw, 1.15rem);
	font-weight: 700;
}
.testi-info .role {
	margin: 0;
	font-size: 0.85rem;
	color: var(--cw-secondary);
}
.testi-comment {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--cw-text-muted);
	font-style: italic;
}
.testi-stars {
	color: #FFB800; /* Gold */
	font-size: 1.2rem;
	margin-top: 0.5rem;
}

/* Dark Mode Tokens para Testimonios */
body.dark-theme .cw-testi-trust-pill {
	background: #181D2D;
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
body.dark-theme .cw-testi-trust-text {
	color: #FFFFFF;
}
body.dark-theme .cw-testi-trust-text span {
	color: #94A3B8;
}
body.dark-theme .cw-featured-testi {
	background: #181D2D;
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
body.dark-theme .cw-featured-avatar {
	border-color: rgba(255, 255, 255, 0.15);
}
body.dark-theme .cw-featured-meta h3 {
	color: #FFFFFF;
}
body.dark-theme .cw-featured-meta .role {
	color: #7D8DFF;
}
body.dark-theme .cw-featured-quote {
	border-left-color: rgba(255, 255, 255, 0.1);
}
body.dark-theme .cw-featured-quote blockquote {
	color: #CBD5E1;
}
body.dark-theme .cw-testi-card {
	background: #181D2D;
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
body.dark-theme .cw-testi-avatar-img {
	border-color: rgba(255, 255, 255, 0.12);
}
body.dark-theme .cw-testi-header-text h3 {
	color: #FFFFFF;
}
body.dark-theme .cw-testi-header-text .role {
	color: #7D8DFF;
}
body.dark-theme .cw-testi-body-text {
	color: #94A3B8;
}
body.dark-theme .cw-testi-quote-mark {
	color: #7D8DFF;
	opacity: 0.18;
}

/* ==============================================
   COUNTERS / ESTADÍSTICAS
=============================================== */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 3rem;
	text-align: center;
	margin-top: 3rem;
}
.stat-box {
	background: #FFFFFF;
	padding: 2.5rem 1.5rem;
	border-radius: 12px;
	border: 1px solid var(--cw-border);
	transition: var(--transition);
}
.stat-box:hover {
	transform: translateY(-8px);
	border-color: var(--cw-primary);
	box-shadow: 0 15px 35px rgba(71, 50, 215, 0.1);
}
.stat-box h3 {
	font-size: 3.5rem;
	color: var(--cw-primary);
	font-weight: 800;
	margin-bottom: 0.5rem;
	transition: var(--transition);
	display: inline-block;
}
.stat-box:hover h3 {
	transform: scale(1.1) rotate(-2deg);
}
.stat-box h4 {
	color: var(--cw-text-dark);
	font-size: 1.2rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

/* ==============================================
   CONTACTO FINAL (NUEVO DISEÑO CTA)
=============================================== */
.cw-cta-section {
	background-color: var(--cw-bg-alt);
	padding: 6rem 0;
	position: relative;
}
.cw-cta-banner {
	background: var(--cw-primary);
	border-radius: 20px;
	padding: 4rem 3rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 2rem;
	box-shadow: 0 20px 40px rgba(71, 50, 215, 0.2);
	margin-bottom: 4rem;
}
.cw-cta-content {
	flex: 1 1 500px;
}
.cw-cta-content h2 {
	color: #FFFFFF;
	font-size: 2.5rem;
	font-weight: 800;
	margin: 0 0 1rem 0;
	line-height: 1.2;
}
.cw-cta-content p {
	color: rgba(255,255,255,0.8);
	font-size: clamp(1rem, 2vw, 1.15rem);
	margin: 0;
}
.cw-btn-white {
	background: #FFFFFF;
	color: var(--cw-primary);
}
.cw-contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}
.cw-contact-card {
	background: #FFFFFF;
	padding: 2.5rem;
	border-radius: 12px;
	border: 1px solid var(--cw-border);
	text-align: center;
	transition: var(--transition);
}
.cw-contact-card:hover {
	transform: translateY(-5px);
	border-color: var(--cw-primary);
	box-shadow: 0 15px 35px rgba(38, 37, 108, 0.08);
}
.cw-contact-card .icon {
	width: 64px;
	height: 64px;
	background: var(--cw-bg-alt);
	color: var(--cw-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem auto;
}
.cw-contact-card h3 {
	color: var(--cw-text-dark);
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}
.cw-contact-card p {
	color: var(--cw-text-muted);
	margin: 0;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* ==============================================================
   ESTILOS MODERNOS DE ENTRADAS (SINGLE POST), RELACIONADOS Y COMENTARIOS
   ============================================================== */

/* Hero del Single Post */
.cw-single-hero {
	background-color: var(--cw-bg-alt, #F8F9FA);
	padding: 5rem 0 3.5rem;
	border-bottom: 1px solid var(--cw-border, #E7E7E7);
	text-align: center;
	position: relative;
}
.cw-single-meta {
	display: inline-flex;
	gap: 0.75rem;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	color: var(--cw-text-muted, #5E709D);
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}
.cw-single-cat-badge {
	background: rgba(71, 50, 215, 0.1);
	color: var(--cw-primary, #4732D7);
	padding: 0.35rem 0.85rem;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: all 0.2s ease;
}
.cw-single-cat-badge:hover {
	background: var(--cw-primary, #4732D7);
	color: #ffffff;
}
.cw-single-title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 800;
	color: var(--cw-text-dark, #26256C);
	margin: 0 0 1.75rem 0;
	line-height: 1.25;
	max-width: 860px;
	margin-inline: auto;
	letter-spacing: -0.5px;
}
.cw-single-author {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	font-size: 0.95rem;
	color: var(--cw-text-muted, #5E709D);
	background: var(--cw-bg-light, #ffffff);
	padding: 0.4rem 1.2rem 0.4rem 0.4rem;
	border-radius: 50px;
	border: 1px solid var(--cw-border, #E7E7E7);
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cw-single-author img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}
.cw-single-thumb {
	max-width: 860px;
	margin: -2.5rem auto 3.5rem;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
	border: 1px solid var(--cw-border, #E7E7E7);
	background: var(--cw-bg-alt, #1E1E1E);
	position: relative;
	z-index: 10;
}
.cw-single-thumb img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* Contenido Principal del Post */
.cw-single-content {
	max-width: 820px;
	margin: 0 auto 4rem;
	padding: 0 1.5rem;
	font-size: 1.15rem;
	line-height: 1.85;
	color: var(--cw-text-muted, #5E709D);
}
.cw-single-content p {
	margin-bottom: 1.75rem;
}
.cw-single-content h2, 
.cw-single-content h3, 
.cw-single-content h4 {
	color: var(--cw-text-dark, #26256C);
	margin-top: 3rem;
	margin-bottom: 1.25rem;
	font-weight: 800;
	line-height: 1.3;
}
.cw-single-content h2 { font-size: 1.85rem; }
.cw-single-content h3 { font-size: 1.45rem; }
.cw-single-content ul, 
.cw-single-content ol {
	margin-bottom: 2rem;
	padding-left: 1.5rem;
}
.cw-single-content li {
	margin-bottom: 0.65rem;
	position: relative;
}
.cw-single-content blockquote {
	border-left: 4px solid var(--cw-primary, #4732D7);
	padding: 1.5rem 2rem;
	margin: 2.5rem 0;
	background: var(--cw-bg-alt, #F8F9FA);
	font-style: italic;
	color: var(--cw-text-dark, #26256C);
	font-size: 1.25rem;
	border-radius: 0 12px 12px 0;
}
.cw-single-tags {
	max-width: 820px;
	margin: 0 auto 3rem;
	padding: 0 1.5rem;
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	align-items: center;
}
.cw-single-tags-label {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--cw-text-dark, #26256C);
	margin-right: 0.5rem;
}
.cw-single-tags a {
	background: var(--cw-bg-alt, #F8F9FA);
	color: var(--cw-text-dark, #26256C);
	padding: 0.45rem 1rem;
	border-radius: 50px;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 600;
	border: 1px solid var(--cw-border, #E7E7E7);
	transition: all 0.3s ease;
}
.cw-single-tags a:hover {
	background: var(--cw-primary, #4732D7);
	color: #ffffff;
	border-color: var(--cw-primary, #4732D7);
	transform: translateY(-2px);
}

/* Artículos Relacionados (Compacto y Editorial) */
.cw-related-posts {
	margin-top: 3.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--cw-border, #E7E7E7);
}
.cw-related-header {
	margin-bottom: 1.25rem;
}
.cw-related-badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.75px;
	color: var(--cw-primary, #4732D7);
	margin-bottom: 0.25rem;
}
.cw-related-title-sec {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--cw-text-dark, #26256C);
	margin: 0;
}
.cw-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1rem;
}
.cw-related-card {
	background: var(--cw-bg-alt, #F8F9FA);
	border: 1px solid var(--cw-border, #E7E7E7);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	min-height: 105px;
	max-width: 100%;
}
.cw-related-card:hover {
	transform: translateY(-3px);
	border-color: var(--cw-primary, #4732D7);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.cw-related-thumb-link {
	width: 130px;
	min-width: 130px;
	max-width: 130px;
	overflow: hidden;
	position: relative;
	background: #181c24;
	display: block;
	flex-shrink: 0;
}
.cw-related-thumb-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.cw-related-card:hover .cw-related-thumb-link img {
	transform: scale(1.08);
}
.cw-related-fallback-thumb {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #242738 0%, #151722 100%);
	color: #A0AABF;
	gap: 0.35rem;
	padding: 0.5rem;
	text-align: center;
	box-sizing: border-box;
}
.cw-related-fallback-thumb svg {
	color: var(--cw-primary, #7D8DFF);
	width: 24px;
	height: 24px;
}
.cw-related-fallback-thumb span {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #C2CBE0;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cw-related-body {
	padding: 0.85rem 1.15rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 1;
	overflow: hidden;
}
.cw-related-cat {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--cw-primary, #4732D7);
	margin-bottom: 0.25rem;
}
.cw-related-title {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.35rem 0;
}
.cw-related-title a {
	color: var(--cw-text-dark, #26256C);
	text-decoration: none;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cw-related-card:hover .cw-related-title a {
	color: var(--cw-primary, #4732D7);
}
.cw-related-meta {
	font-size: 0.8rem;
	color: var(--cw-text-muted, #5E709D);
}
.cw-related-meta time {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}
@media (max-width: 480px) {
	.cw-related-thumb-link {
		width: 100px;
		min-width: 100px;
		max-width: 100px;
	}
	.cw-related-body {
		padding: 0.65rem 0.85rem;
	}
	.cw-related-title {
		font-size: 0.88rem;
	}
}

/* Sección de Comentarios */
.cw-comments-area {
	margin-top: 4.5rem;
	padding-top: 3.5rem;
	border-top: 1px solid var(--cw-border, #E7E7E7);
}
.cw-comments-header {
	margin-bottom: 2rem;
}
.cw-comments-title {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--cw-text-dark, #26256C);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.cw-comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 3rem 0;
}
.cw-comment-list .comment {
	margin-bottom: 1.75rem;
}
.cw-comment-list .comment-body {
	background: var(--cw-bg-alt, #F8F9FA);
	border: 1px solid var(--cw-border, #E7E7E7);
	border-radius: 12px;
	padding: 1.5rem;
}
.cw-comment-list .comment-meta {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 0.85rem;
}
.cw-comment-list .comment-author .avatar {
	border-radius: 50%;
	border: 2px solid var(--cw-primary, #4732D7);
}
.cw-comment-list .comment-author .fn {
	font-weight: 700;
	color: var(--cw-text-dark, #26256C);
	font-style: normal;
}
.cw-comment-list .comment-metadata a {
	color: var(--cw-text-muted, #5E709D);
	font-size: 0.85rem;
	text-decoration: none;
}
.cw-comment-list .comment-content {
	color: var(--cw-text-muted, #5E709D);
	line-height: 1.7;
	font-size: 1rem;
}
.cw-comment-list .reply a {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--cw-primary, #4732D7);
	text-decoration: none;
}

/* Formulario de Comentarios */
.cw-respond-container {
	background: var(--cw-bg-alt, #F8F9FA);
	border: 1px solid var(--cw-border, #E7E7E7);
	border-radius: 16px;
	padding: 2.5rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.cw-reply-title {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--cw-text-dark, #26256C);
	margin: 0 0 0.5rem 0;
}
.cw-cancel-reply a {
	font-size: 0.85rem;
	color: #e53e3e;
	margin-left: 1rem;
	font-weight: 600;
	text-decoration: none;
}
.cw-comment-notes {
	color: var(--cw-text-muted, #5E709D);
	font-size: 0.95rem;
	margin-bottom: 2rem;
}
.cw-comment-notes .required {
	color: #e53e3e;
}
.cw-comment-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.cw-form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.cw-form-group label {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--cw-text-dark, #26256C);
}
.cw-form-group label .required {
	color: #e53e3e;
}
.cw-comment-fields-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
}
.cw-comment-form input[type="text"],
.cw-comment-form input[type="email"],
.cw-comment-form input[type="url"],
.cw-comment-form textarea {
	width: 100% !important;
	background: #FFFFFF !important;
	border: 1px solid var(--cw-border, #E7E7E7) !important;
	border-radius: 10px !important;
	padding: 0.85rem 1.15rem !important;
	font-size: 1rem !important;
	font-family: inherit !important;
	color: var(--cw-text-dark, #26256C) !important;
	transition: all 0.25s ease !important;
	box-sizing: border-box !important;
}
.cw-comment-form textarea {
	min-height: 130px;
	resize: vertical;
}
.cw-comment-form input:focus,
.cw-comment-form textarea:focus {
	outline: none !important;
	border-color: var(--cw-primary, #4732D7) !important;
	box-shadow: 0 0 0 4px rgba(71, 50, 215, 0.12) !important;
}
.cw-cookies-group {
	margin: 0.5rem 0;
}
.cw-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 500 !important;
	color: var(--cw-text-muted, #5E709D);
	line-height: 1.5;
}
.cw-checkbox-label input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	margin-top: 2px !important;
	accent-color: var(--cw-primary, #4732D7);
	cursor: pointer;
}
.cw-comment-submit-btn {
	align-self: flex-start;
	background: var(--cw-primary, #4732D7);
	color: #FFFFFF !important;
	border: none;
	padding: 0.95rem 2.2rem;
	font-size: 1rem;
	font-weight: 700;
	border-radius: 50px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px rgba(71, 50, 215, 0.25);
}
.cw-comment-submit-btn:hover {
	background: #3924B8;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(71, 50, 215, 0.35);
}

/* Modo Oscuro (body.dark-theme) */
body.dark-theme .cw-single-hero {
	background-color: #16181D;
	border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.dark-theme .cw-single-title {
	color: #FFFFFF;
}
body.dark-theme .cw-single-author {
	background: #1E222B;
	border-color: rgba(255, 255, 255, 0.1);
	color: #A0AABF;
}
body.dark-theme .cw-single-thumb {
	background: #1E222B;
	border-color: rgba(255, 255, 255, 0.1);
}
body.dark-theme .cw-single-content {
	color: #A0AABF;
}
body.dark-theme .cw-single-content h2,
body.dark-theme .cw-single-content h3,
body.dark-theme .cw-single-content h4 {
	color: #FFFFFF;
}
body.dark-theme .cw-single-content blockquote {
	background: #1A1D24;
	color: #E2E8F0;
	border-left-color: var(--cw-primary, #7D8DFF);
}
body.dark-theme .cw-single-tags-label {
	color: #FFFFFF;
}
body.dark-theme .cw-single-tags a {
	background: #1A1D24;
	border-color: rgba(255, 255, 255, 0.1);
	color: #A0AABF;
}
body.dark-theme .cw-single-tags a:hover {
	background: var(--cw-primary, #7D8DFF);
	color: #FFFFFF;
	border-color: var(--cw-primary, #7D8DFF);
}
body.dark-theme .cw-related-posts,
body.dark-theme .cw-comments-area {
	border-top-color: rgba(255, 255, 255, 0.1);
}
body.dark-theme .cw-related-title-sec,
body.dark-theme .cw-comments-title,
body.dark-theme .cw-reply-title {
	color: #FFFFFF;
}
body.dark-theme .cw-related-card {
	background: #1A1D24;
	border-color: rgba(255, 255, 255, 0.08);
}
body.dark-theme .cw-related-title a {
	color: #FFFFFF;
}
body.dark-theme .cw-related-title a:hover {
	color: var(--cw-primary, #7D8DFF);
}
body.dark-theme .cw-respond-container {
	background: #1A1D24;
	border-color: rgba(255, 255, 255, 0.08);
}
body.dark-theme .cw-form-group label {
	color: #E2E8F0;
}
body.dark-theme .cw-comment-form input[type="text"],
body.dark-theme .cw-comment-form input[type="email"],
body.dark-theme .cw-comment-form input[type="url"],
body.dark-theme .cw-comment-form textarea {
	background: #12141A !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	color: #FFFFFF !important;
}
body.dark-theme .cw-comment-form input:focus,
body.dark-theme .cw-comment-form textarea:focus {
	border-color: var(--cw-primary, #7D8DFF) !important;
	box-shadow: 0 0 0 4px rgba(125, 141, 255, 0.2) !important;
}
body.dark-theme .cw-checkbox-label {
	color: #A0AABF;
}
body.dark-theme .cw-comment-list .comment-body {
	background: #1A1D24;
	border-color: rgba(255, 255, 255, 0.08);
}
body.dark-theme .cw-comment-list .comment-author .fn {
	color: #FFFFFF;
}
