/* Variables CSS */
:root {
	--primary-color: #213A78;
	--secondary-color: #5514B4;
	--highlight-color: #E63D8C;
	--background-white: #FFFFFF;
	--background-light: #F7F9FC;
	--text-dark: #333333;
	--text-light: #666666;
	--text-white: #FFFFFF;
	--border-color: #E0E4E8;
	--shadow-light: 0 4px 8px rgba(0, 0, 0, 0.05);
	--shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Reset y Estilos Generales */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Open Sans', sans-serif;
	line-height: 1.6;
	color: var(--text-dark);
	background-color: var(--background-white);
}

body.no-scroll {
    overflow: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-header {
	text-align: center;
	margin-bottom: 4rem;
}

.section-header h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 10px;
}

.section-header p {
	font-size: 1.1rem;
	color: var(--text-light);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
}

.loader-logo {
    max-width: 150px;
    animation: pulsate 2s infinite ease-in-out;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes pulsate {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

/* Botones */
.btn {
	display: inline-block;
	padding: 12px 25px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 50px;
	transition: background-color 0.3s ease, color 0.3s ease;
	text-align: center;
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--text-white);
	border: 2px solid var(--primary-color);
}

.btn-primary:hover {
	background-color: #1a2e5e;
}

.btn-secondary {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
	background-color: var(--primary-color);
	color: var(--text-white);
}

.btn-outline {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-outline:hover {
	background-color: var(--primary-color);
	color: var(--text-white);
}

.btn-card-link {
	display: block;
	margin-top: 15px;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.btn-card-link:hover {
	color: var(--highlight-color);
}

/* Header */
.header {
	padding: 15px 0;
	background-color: var(--background-white);
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
	box-shadow: var(--shadow-light);
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-logo .logo {
	height: 40px;
}

.nav-menu ul {
	list-style: none;
	display: flex;
}

.nav-menu li {
	margin-left: 25px;
}

.nav-menu a {
	text-decoration: none;
	color: var(--text-dark);
	font-weight: 600;
	transition: color 0.3s ease;
}

.nav-menu a:hover {
	color: var(--primary-color);
}

/* HAMBURGUESA - Estilos por defecto (escritorio) */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

/* Las tres líneas de la hamburguesa */
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	display: block;
	height: 3px;
	width: 100%;
	background-color: var(--primary-color);
	border-radius: 2px;
	transition: all 0.3s ease;
}

.nav-toggle span {
	position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
	content: '';
	position: absolute;
	left: 0;
}

.nav-toggle span::before {
	top: -8px;
}

.nav-toggle span::after {
	top: 8px;
}

/* Animación de la hamburguesa cuando está activa */
.nav-toggle.active span {
	background-color: transparent;
}

.nav-toggle.active span::before {
	transform: rotate(45deg);
	top: 0;
}

.nav-toggle.active span::after {
	transform: rotate(-45deg);
	top: 0;
}

/* Sección Hero */
.hero {
	padding-top: 120px;
	padding-bottom: 80px;
	background-color: var(--background-light);
}

.hero-container {
	display: flex;
	align-items: center;
	gap: 40px;
}

.hero-left {
	flex: 1;
}

.hero-tag {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--primary-color);
	background-color: #E3E9F8;
	padding: 5px 15px;
	border-radius: 50px;
	display: inline-block;
	margin-bottom: 20px;
}

.hero-left h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 20px;
	color: var(--primary-color);
}

.hero-left h1 .highlight-text {
	font-weight: 800;
	color: transparent;
	background-image: linear-gradient(to right, var(--primary-color), var(--highlight-color));
	-webkit-background-clip: text;
	background-clip: text;
}

.hero-left p {
	font-size: 1.1rem;
	color: var(--text-light);
	margin-bottom: 30px;
}

.hero-buttons {
	display: flex;
	gap: 15px;
}

.hero-right {
	flex: 1;
	display: flex;
	justify-content: center;
}

.erp-card {
	position: relative;
	width: 100%;
	max-width: 450px;
	background-color: var(--background-white);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--shadow-medium);
}

.card-header-gradient {
	height: 100px;
	background: linear-gradient(90deg, #6a44f5, #e63d8c);
}

.card-content {
	padding: 30px;
	text-align: center;
}

.card-content h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 5px;
}

.card-content .subtitle {
	font-size: 0.9rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.card-placeholder {
	height: 150px;
	background-color: #f0f4f8;
	border-radius: 10px;
	margin: 20px 0;
}

.card-buttons {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.btn-card {
	flex: 1;
	padding: 10px;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	text-decoration: none;
	color: var(--primary-color);
	font-weight: 600;
	background-color: #f0f4f8;
	transition: background-color 0.3s ease;
}

.btn-card:hover {
	background-color: #e6eaf0;
}

/* Benefits Section */
.benefits-section {
	padding: 80px 0;
	background-color: var(--background-white);
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.benefit-card {
	text-align: center;
	padding: 30px;
	background-color: var(--background-light);
	border-radius: 15px;
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-light);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-color: #d1d8e0;
}

.benefit-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-medium);
}

.icon-circle {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background-color: #E3E9F8;
	border: 1px solid #c8d2e0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.icon-circle i {
	font-size: 2rem;
	color: var(--primary-color);
}

/* Ajustes de color para iconos específicos */
.benefit-card:nth-child(2) .icon-circle {
	background-color: #f7f0e3;
	border-color: #e0d1c8;
}

.benefit-card:nth-child(2) .icon-circle i {
	color: #f28a0e;
}

.benefit-card:nth-child(3) .icon-circle {
	background-color: #e8f7e3;
	border-color: #d2e0c8;
}

.benefit-card:nth-child(3) .icon-circle i {
	color: #2ecc71;
}

.benefit-card:nth-child(4) .icon-circle {
	background-color: #f2e3f7;
	border-color: #e0c8e0;
}

.benefit-card:nth-child(4) .icon-circle i {
	color: #e63d8c;
}

.benefit-card:nth-child(5) .icon-circle {
	background-color: #e3e9f8;
	border-color: #c8d2e0;
}

.benefit-card:nth-child(5) .icon-circle i {
	color: #213a78;
}

.benefit-card:nth-child(6) .icon-circle {
	background-color: #f7e3e8;
	border-color: #e0c8d2;
}

.benefit-card:nth-child(6) .icon-circle i {
	color: #e63d8c;
}

.benefit-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 10px;
}

.benefit-card p {
	font-size: 1rem;
	color: var(--text-light);
}

/* Solutions by Industry Section */
.industries-section {
	padding: 80px 0;
	background-color: var(--background-light);
}

.industry-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
	justify-content: center;
}

.industry-card {
	text-align: center;
	padding: 30px;
	background-color: var(--background-white);
	border-radius: 15px;
	box-shadow: var(--shadow-light);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--border-color);
}

.industry-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-medium);
}

.industry-card img {
	width: 60px;
	height: 60px;
	margin-bottom: 15px;
}

.industry-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 10px;
}

.industry-card p {
	font-size: 0.95rem;
	color: var(--text-light);
}

/* Slider de logos (Ancho completo) */
.logo-slider-section {
	padding: 40px 0;
	background-color: var(--background-light);
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	overflow: hidden;
}

.logos-slider-container {
	width: 100%;
}

.logos-slider {
	display: flex;
	white-space: nowrap;
	animation: slide 15s linear infinite;
}

.logos-slider img {
	height: 40px;
	margin: 0 20px;
	display: inline-block;
	filter: grayscale(100%);
	opacity: 0.6;
	transition: all 0.3s ease;
}

.logos-slider img:hover {
	filter: grayscale(0%);
	opacity: 1;
}

/* Animación del carrusel */
@keyframes slide {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

/* Pausar animación en hover */
.logos-slider-container:hover .logos-slider {
	animation-play-state: paused;
}

/* Casos de Éxito Section */
.casos-section {
	padding: 80px 0;
	background-color: var(--background-white);
}

.casos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 30px;
}

.caso-card {
	padding: 30px;
	background-color: var(--background-light);
	border-radius: 15px;
	border: 1px solid #d1d8e0;
	box-shadow: var(--shadow-light);
}

.testimonial {
	border-left: 4px solid var(--primary-color);
	padding-left: 20px;
	margin-bottom: 20px;
}

.testimonial p {
	font-size: 1rem;
	font-style: italic;
	color: var(--text-dark);
}

.author-info {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-left: 24px;
}

.author-img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--primary-color);
}

.author-name {
	font-weight: 700;
	color: var(--primary-color);
}

.author-title {
	font-size: 0.9rem;
	color: var(--text-light);
}

.author-niche {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--highlight-color);
}

/* Stats Section */
.stats-section {
	padding: 60px 0;
	background-color: var(--primary-color);
	color: var(--text-white);
	text-align: center;
}

.stats-section h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 40px;
}

.stats-grid {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
}

.stat-card {
	background-color: var(--background-white);
	color: var(--primary-color);
	padding: 25px 40px;
	border-radius: 15px;
	box-shadow: var(--shadow-medium);
}

.stat-number {
	font-family: 'Montserrat', sans-serif;
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	background-image: linear-gradient(to right, var(--secondary-color), var(--highlight-color));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stat-text {
	font-size: 1rem;
	font-weight: 600;
	margin-top: 5px;
}

/* Pricing Section */
.precios-section {
	padding: 80px 0;
	background-color: var(--background-light);
}

.precios-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
	align-items: center;
}

.precio-card {
	position: relative;
	padding: 40px 30px;
	background-color: var(--background-white);
	border-radius: 20px;
	box-shadow: var(--shadow-light);
	border: 1px solid var(--border-color);
	text-align: center;
	transition: transform 0.3s ease;
}

.precio-card.popular {
	background: linear-gradient(45deg, var(--secondary-color), var(--highlight-color));
	color: var(--text-white);
	transform: scale(1.05);
	border: 1px solid #7a469f;
	box-shadow: var(--shadow-medium);
}

.precio-card.popular h3,
.precio-card.popular .tagline,
.precio-card.popular .price,
.precio-card.popular .features-list li {
	color: var(--text-white);
}

.precio-card.popular .features-list i {
	color: var(--text-white);
}

.popular-tag {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: var(--highlight-color);
	color: var(--text-white);
	font-size: 0.8rem;
	font-weight: 700;
	padding: 5px 15px;
	border-radius: 50px;
	text-transform: uppercase;
}

.precio-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 5px;
}

.precio-card .tagline {
	font-size: 1rem;
	color: var(--text-light);
	margin-bottom: 20px;
}

.precio-card .price {
	font-family: 'Montserrat', sans-serif;
	font-size: 3rem;
	font-weight: 800;
	color: var(--primary-color);
	line-height: 1;
	margin-bottom: 20px;
}

.precio-card.popular .price {
	color: var(--text-white);
}

.precio-card .currency {
	font-size: 1.5rem;
	vertical-align: top;
	margin-right: 5px;
}

.precio-card .period {
	font-size: 1rem;
	font-weight: 400;
	color: var(--text-light);
}

.precio-card .features-list {
	list-style: none;
	text-align: left;
	margin-bottom: 30px;
}

.precio-card .features-list li {
	font-size: 1rem;
	color: var(--text-dark);
	margin-bottom: 10px;
}

.precio-card .features-list i {
	color: #4CAF50;
	margin-right: 10px;
}

.precio-card .btn-primary {
	width: 100%;
}

.precio-card.popular .btn-primary {
	background-color: var(--background-white);
	color: var(--primary-color);
	border: 2px solid var(--background-white);
}

.precio-card.popular .btn-primary:hover {
	background-color: #f0f0f0;
}

.legal-notice {
	text-align: center;
	font-size: 0.9rem;
	color: var(--text-light);
	margin-top: 30px;
}

/* Contact Section */
.contact-section {
	padding: 80px 0;
	background-color: var(--background-white);
}

.contact-container {
	display: flex;
	align-items: center;
	gap: 40px;
}

.contact-text {
	flex: 1;
}

.contact-text h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 20px;
}

.contact-text p {
	font-size: 1.1rem;
	color: var(--text-light);
}

.contact-form-container {
	flex: 1;
	padding: 40px;
	background-color: var(--background-light);
	border-radius: 15px;
	box-shadow: var(--shadow-medium);
}

.form-group {
	margin-bottom: 20px;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	font-size: 1rem;
	color: var(--text-dark);
}

.form-group input::placeholder {
	color: var(--text-light);
}

.privacy-policy {
	display: flex;
	align-items: center;
	gap: 10px;
}

.privacy-policy a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
}

.contact-form-container .btn-primary {
	width: 100%;
}

/* Footer */
.footer {
	background-color: var(--primary-color);
	color: var(--text-white);
	padding: 60px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-logo img {
	height: 40px;
	margin-bottom: 20px;
}

.footer-column p {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 20px;
}

.footer-column h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--text-white);
}

.social-icons a {
	color: var(--text-white);
	font-size: 1.2rem;
	margin-right: 15px;
	transition: color 0.3s ease;
}

.social-icons a:hover {
	color: var(--highlight-color);
}

.footer-bottom {
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 20px;
}

.footer-bottom p {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.5);
}

/* Iconos de Redes Sociales Flotantes */
.social-float-group {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 999;
}

.social-float {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--text-white);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-float:hover {
	transform: scale(1.1);
}

.social-float.facebook {
	background-color: #3b5998;
}

.social-float.instagram {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-float.youtube {
	background-color: #ff0000;
}

.social-float.whatsapp {
	background-color: #25D366;
}

/* RESPONSIVE DESIGN - MEDIA QUERIES CORREGIDAS */
@media (max-width: 992px) {
	.section-header h2 {
		font-size: 2rem;
	}

	.hero {
		padding-top: 100px;
	}

	.benefits-section,
	.industries-section,
	.casos-section,
	.precios-section,
	.contact-section {
		padding: 60px 0;
	}

	.hero-container {
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}

	.hero-left h1 {
		font-size: 2.8rem;
	}

	.hero-buttons {
		justify-content: center;
		flex-wrap: wrap;
	}

	.contact-container {
		flex-direction: column;
		gap: 30px;
	}

	.contact-text {
		text-align: center;
	}

	.contact-text h2 {
		font-size: 2rem;
	}
}

/* Móviles y pantallas pequeñas */
@media (max-width: 768px) {
	/* NAVEGACIÓN MÓVIL - HAMBURGUESA */
	.nav-toggle {
		display: flex;
		z-index: 1000;
	}

	.nav-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background-color: var(--background-white);
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		padding-top: 80px;
		transition: right 0.3s ease;
		z-index: 999;
		box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	}

	.nav-menu.active {
		right: 0;
	}

	.nav-toggle.active span {
		background-color: transparent;
	}

	.nav-toggle.active span::before {
		transform: rotate(45deg);
		top: 0;
	}

	.nav-toggle.active span::after {
		transform: rotate(-45deg);
		top: 0;
	}
	
	.nav-menu ul {
		flex-direction: column;
		align-items: center;
		gap: 0;
		width: 100%;
		padding: 0;
		margin: 0;
		list-style: none;
	}

	.nav-menu li {
		margin: 0;
		width: 100%;
		text-align: center;
		border-bottom: 1px solid var(--border-color);
	}

	.nav-menu a {
		position: relative;
		z-index: 1000;
		font-size: 1.2rem;
		color: var(--text-dark);
		padding: 15px 20px;
		display: block;
		width: 100%;
		text-decoration: none;
		transition: all 0.3s ease;
	}

	.nav-menu a:hover {
		background-color: var(--background-light);
		color: var(--primary-color);
	}

	/* Overlay para cerrar el menú */
	.nav-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 998;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	}

	.nav-overlay.active {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.3s ease;
	}

	/* HERO MÓVIL */
	.hero {
		padding-top: 90px;
		padding-bottom: 60px;
	}

	.hero-left h1 {
		font-size: 2.2rem;
	}

	.hero-left p {
		font-size: 1rem;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.hero-right {
		display: none;
	}

	/* GRIDS MÓVIL */
	.benefits-grid,
	.industries-grid,
	.casos-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.precios-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ... (resto de estilos, sin cambios) ... */