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

:root {
	--primary: #00d4ff;
	--secondary: #7c3aed;
	--accent: #f59e0b;
	--dark: #0f172a;
	--darker: #020617;
	--light: #f8fafc;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: var(--darker);
	color: var(--light);
	overflow-x: hidden;
}
/*
.particles {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}

.particle {
position: absolute;
width: 2px;
height: 2px;
background: var(--primary);
border-radius: 50%;
opacity: 0.3;
animation: float linear infinite;
}
*/
@keyframes float {
	0% {
		transform: translateY(100vh) translateX(0);
		opacity: 0;
	}
	10% {
		opacity: 0.3;
	}
	90% {
		opacity: 0.3;
	}
	100% {
		transform: translateY(-100px) translateX(100px);
		opacity: 0;
	}
}

header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	background: rgba(15, 23, 42, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

nav {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.5rem 2rem;
	display: flex;
	flex-direction: column;
}

.nav-logo {
	display: flex;
}

.nav-links {
	display: flex;
	gap: clamp(1rem, 2vw, 2rem);
	list-style: none;
	padding: 0;
    width: fit-content;
    margin: auto;	
}

.nav-links a {
	color: var(--light);
	text-decoration: none;
	transition: all 0.3s;
	position: relative;
	font-size: clamp(0.85rem, 1.5vw, 1rem);
	white-space: nowrap;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s;
}

.nav-links a:hover::after {
	width: 100%;
}

/*                  LOGO Y TEXTO DIV LOGO                     */
/*.nav h1 {
	font-size: 3rem;
	font-weight: bold;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	place-self: flex-start;
	margin-left: auto;	
}*/

nav h1 {
	font-size: clamp(1.2rem, 3.5vw, 2.5rem);
	font-weight: bold;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	white-space: nowrap;
    width: fit-content;
    margin: auto;
	
	
}


.nav img {
	width: clamp(60px, 15vw, 132px);
	height: auto;
	object-fit: contain;
}

/*******************LOGO Y TEXTO DIV LOGO***********************/

/*                ORGANIZACIÓN, AUTOMATIZACIÓN                 */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6rem 2rem 2rem;
	overflow: hidden;
}

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

.hero h1 {
	font-size: clamp(2.5rem, 6vw, 4rem);
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
	/*-webkit-background-clip: text;*/
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: fadeInUp 1s ease-out;
}

.hero p {
	font-size: clamp(1.5rem, 0vw, 0rem);
	color: rgba(248, 250, 252, 0.8);
	margin-top: 2rem;
	margin-bottom: 4rem;
	animation: fadeInUp 1s ease-out 0.3s backwards;
}
/*      Texto ->  Inteligencia Aplicada                        */
.text-accent {
	color: #00e0ff;
	font-size: 4em;
}
/*** FIN OGANIZACIÓN, AUTOMATIZACIÓN - Inteligencia Aplicada ***/

.cta-buttons {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	flex-wrap: wrap;
	animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn {
	padding: 1rem 2.5rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: white;
	border: none;
}

.btn-primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--secondary), var(--primary));
	transition: left 0.3s;
	z-index: -1;
}

.btn-primary:hover::before {
	left: 0;
}

.btn-secondary {
	background: transparent;
	color: var(--primary);
	border: 2px solid var(--primary);
}

.btn-secondary:hover {
	background: var(--primary);
	color: var(--darker);
}

section {
	position: relative;
	z-index: 10;
	padding: 6rem 2rem;
	max-width: 1400px;
	margin: 0 auto;
}

.section-title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 3rem;
	text-align: center;
	position: relative;
	display: inline-block;
	left: 50%;
	transform: translateX(-50%);
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	border-radius: 2px;
}

.timeline {
	position: relative;
	padding: 2rem 0;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	height: 100%;
	background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
	display: flex;
	margin-bottom: 4rem;
	position: relative;
}

.timeline-item:nth-child(odd) {
	flex-direction: row-reverse;
}

.timeline-content {
	width: 45%;
	background: rgba(15, 23, 42, 0.6);
	padding: 2rem;
	border-radius: 20px;
	border: 1px solid rgba(0, 212, 255, 0.2);
	backdrop-filter: blur(10px);
	transition: all 0.3s;
}

.timeline-content:hover {
	transform: translateY(-10px);
	border-color: var(--primary);
	box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.timeline-year {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: white;
	padding: 0.5rem 1.5rem;
	border-radius: 50px;
	font-weight: bold;
	top: 0;
}

.timeline-content h3 {
	color: var(--primary);
	margin-bottom: 0.5rem;
	font-size: 1.5rem;
}

.timeline-content h4 {
	color: var(--accent);
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

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

.service-card {
	background: rgba(15, 23, 42, 0.6);
	padding: 2.5rem;
	border-radius: 20px;
	border: 1px solid rgba(0, 212, 255, 0.2);
	backdrop-filter: blur(10px);
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
	transition: left 0.5s;
}

.service-card:hover::before {
	left: 100%;
}

.service-card:hover {
	transform: translateY(-10px);
	border-color: var(--primary);
	box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.service-icon {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	display: block;
}

.service-card h3 {
	color: var(--primary);
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.service-card ul {
	list-style: none;
	padding: 0;
}

.service-card li {
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
}

.service-card li::before {
	content: '▹';
	position: absolute;
	left: 0;
	color: var(--accent);
}

.innovation-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.innovation-card {
	background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
	padding: 2rem;
	border-radius: 20px;
	border: 1px solid rgba(0, 212, 255, 0.3);
	transition: all 0.3s;
	cursor: pointer;
}

.innovation-card:hover {
	transform: scale(1.05) rotate(2deg);
	box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4);
}

.innovation-card h3 {
	color: var(--accent);
	margin-bottom: 1rem;
	font-size: 1.3rem;
}

.tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
	justify-content: center;
}

.tech-badge {
	background: rgba(0, 212, 255, 0.1);
	padding: 0.7rem 1.5rem;
	border-radius: 50px;
	border: 1px solid var(--primary);
	font-size: 0.9rem;
	transition: all 0.3s;
}

.tech-badge:hover {
	background: var(--primary);
	color: var(--darker);
	transform: translateY(-5px);
}

.contact-section {
	text-align: center;
	background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
	padding: 4rem 2rem;
	border-radius: 30px;
	margin: 4rem auto;
}

.contact-info {
	display: flex;
	justify-content: center;
	gap: 3rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.1rem;
}

.contact-item a {
	color: var(--primary);
	text-decoration: none;
	transition: all 0.3s;
}

.contact-item a:hover {
	color: var(--accent);
}

footer {
	text-align: center;
	padding: 2rem;
	border-top: 1px solid rgba(0, 212, 255, 0.1);
	margin-top: 4rem;
}

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

@media (max-width: 968px) {
	nav {
		padding: 0.8rem 1rem;
		gap: 0.5rem;
	}

	.logotipo {
		width: clamp(50px, 12vw, 80px);
	}

	nav h1 {
		font-size: clamp(1rem, 3vw, 1.5rem);
	}

	.nav-links {
		gap: clamp(0.5rem, 1.5vw, 1rem);
	}

	.nav-links a {
		font-size: clamp(0.75rem, 1.2vw, 0.9rem);
	}
}

@media (max-width: 768px) {
	nav {
		flex-wrap: wrap;
		justify-content: center;
		padding: 0.8rem 1rem;
	}

	.logotipo {
		width: 60px;
		order: 1;
	}

	nav h1 {
		font-size: 1.5rem;
		order: 2;
		flex: 1;
		text-align: center;
	}

	.nav-links {
		order: 3;
		width: 100%;
		justify-content: center;
		margin-top: 0.5rem;
		gap: 1rem;
	}

	.nav-links a {
		font-size: 0.85rem;
	}

	.timeline::before {
		left: 0;
	}

	.timeline-item {
		flex-direction: column !important;
	}

	.timeline-content {
		width: 100%;
		margin-left: 2rem;
	}

	.timeline-year {
		left: 0;
		transform: none;
	}
}

@media (max-width: 480px) {
	nav {
		padding: 0.5rem;
	}

	.logotipo {
		width: 50px;
	}

	nav h1 {
		font-size: 1.2rem;
	}

	.nav-links {
		gap: 0.5rem;
		font-size: 0.75rem;
	}

	.nav-links li {
		flex: 1;
		text-align: center;
	}
}

.scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	animation: bounce 2s infinite;
}


@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateX(-50%) translateY(0);
	}
	40% {
		transform: translateX(-50%) translateY(-20px);
	}
	60% {
		transform: translateX(-50%) translateY(-10px);
	}
}

.passion-quote {
	text-align: center;
	font-size: 1.5rem;
	font-style: italic;
	color: var(--accent);
	margin: 4rem 0;
	padding: 2rem;
	border-left: 4px solid var(--primary);
	background: rgba(0, 212, 255, 0.05);
	border-radius: 10px;
}