:root {
	--primary: #124666;
	--primary-dark: #0c314d;
	--primary-light: #1a5c8a;
	--accent: #60a5fa;
	--accent-dark: #3b82f6;
	--text-dark: #0f172a;
	--text-light: #475569;
	--white: #ffffff;
	--bg-light: #f8fafc;
	--glass-bg: rgba(255, 255, 255, 0.8);
	--glass-border: rgba(255, 255, 255, 0.5);
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--font-main: 'Montserrat', sans-serif;
	--dark-bg: #030712;
	--deep-blue: #0f172a;
	--neon-blue: #60a5fa;
	--success-green: #2ecc71;
}

@font-face {
	font-family: 'Mondapick';
	src: url('font/mondapick/Mondapick.ttf') format('truetype');
	font-display: swap;
}

/* ==================== GLOBAL STYLES ==================== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-main);
	background: var(--dark-bg);
	color: var(--white);
	line-height: 1.6;
	overflow-x: hidden;
	position: relative;
}

#parallax-stars {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -3;
	pointer-events: none;
}

/* Background image overlay */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('imagenes/constelacion.png');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	opacity: 0.15;
	z-index: -2;
	pointer-events: none;
}

body::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 50% 50%, rgba(18, 70, 102, 0.4) 0%, var(--dark-bg) 100%);
	z-index: -1;
	pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nombre {
	font-family: 'Mondapick', sans-serif !important;
	letter-spacing: 0.5px;
}

p,
a,
span,
li,
input,
textarea,
button {
	font-family: var(--font-main);
}

#parallax-stars {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	pointer-events: none;
}

/* ==================== HEADER & NAV ==================== */
header {
	background: rgba(15, 23, 42, 0.8);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.4s ease;
}

header.scrolled {
	background: rgba(15, 23, 42, 0.95);
	padding: 5px 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-horizontal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	margin: 0 auto;
	padding: 12px 24px;
}

.header-left a {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo-flecha {
	height: 48px;
	filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.4));
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	animation: pulseGlow 3s ease-in-out infinite;
}

.logo-flecha:hover {
	transform: scale(1.15) rotate(-5deg);
	filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.6));
}

@keyframes pulseGlow {

	0%,
	100% {
		transform: scale(1);
		filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.3));
	}

	50% {
		transform: scale(1.05);
		filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.5));
	}
}

.header-left .nombre {
	font-size: 1.8rem;
	color: var(--white);
	background: linear-gradient(to right, #fff, var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 700;
}

.header-center nav {
	display: flex;
	gap: 32px;
}

.header-center nav a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.2s;
	position: relative;
}

.header-center nav a:hover,
.header-center nav a.active {
	color: var(--white);
}

.header-center nav a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	transform: translateX(-50%);
}

.header-center nav a:hover::after,
.header-center nav a.active::after {
	width: 100%;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn-login {
	padding: 8px 18px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 100px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
	transition: all 0.3s ease;
}

.btn-login:hover {
	background: var(--white);
	color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-login.active {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--white);
}

/* ==================== HERO SECTION ==================== */
.hero {
	color: var(--white);
	padding: 240px 24px 180px;
	text-align: center;
	margin: 0 auto;
	max-width: 1300px;
	min-height: 100vh;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.hero h2 {
	font-size: 5.5rem;
	margin-bottom: 32px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -2px;
	text-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	max-width: 1100px;
}

.hero h2 span {
	background: linear-gradient(to right, var(--accent), #a78bfa, #c084fc);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	display: block;
	margin-top: 15px;
	filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.4));
}

.hero p {
	font-size: 1.6rem;
	max-width: 850px;
	margin: 0 auto;
	opacity: 0.85;
	font-weight: 300;
	line-height: 1.4;
	animation: slideUp 1s ease-out 0.2s both;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
	opacity: 1;
	transform: translateX(0);
}

.reveal-right {
	opacity: 0;
	transform: translateX(50px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
	opacity: 1;
	transform: translateX(0);
}

/* ==================== CAROUSEL ==================== */
.carousel-container {
	max-width: 1200px;
	margin: 0 auto 100px;
	padding: 0 20px;
}

.carousel {
	position: relative;
	width: 100%;
	height: 600px;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--shadow-xl);
}

.carousel-slides {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	height: 100%;
}

.carousel-slide {
	min-width: 100%;
	height: 100%;
	position: relative;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.7);
	transition: transform 0.8s ease;
}

.carousel-slide:hover img {
	transform: scale(1.05);
}

.carousel-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
	padding: 80px 40px 40px;
	text-align: left;
}

.carousel-caption h3 {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--white);
}

.carousel-caption p {
	font-size: 1.1rem;
	max-width: 700px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 300;
}

.carousel-dots {
	position: absolute;
	bottom: 40px;
	left: 40px;
	display: flex;
	gap: 12px;
}

.carousel-dot {
	width: 12px;
	height: 12px;
	background: rgba(255, 255, 255, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.carousel-dot.active {
	width: 40px;
	border-radius: 6px;
	background: var(--accent);
	border-color: var(--accent);
}

/* ==================== SERVICES SECTION ==================== */
.nuestros-servicios {
	padding: 100px 24px;
	max-width: 1400px;
	margin: 0 auto;
}

.nuestros-servicios h2 {
	text-align: center;
	color: var(--white);
	font-size: 3rem;
	margin-bottom: 60px;
	position: relative;
}

.nuestros-servicios h2::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: var(--accent);
	border-radius: 2px;
}

.servicios-principales {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.servicio-card {
	background: rgba(15, 23, 42, 0.3);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 48px 32px;
	border-radius: 24px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.servicio-card:hover {
	transform: translateY(-15px);
	box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
	border-color: var(--accent);
}

.servicio-card:hover .servicio-icono {
	transform: scale(1.1) rotate(5deg);
	background: var(--accent);
	color: white;
}

.servicio-icono {
	width: 70px;
	height: 70px;
	background: rgba(96, 165, 250, 0.1);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	margin-bottom: 24px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.servicio-card h3 {
	font-size: 1.6rem;
	color: var(--white);
	margin-bottom: 16px;
}

.servicio-card p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.95rem;
	margin-bottom: 24px;
	flex-grow: 1;
}

.servicio-features {
	list-style: none;
	margin-bottom: 32px;
}

.servicio-features li {
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.85rem;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	transition: transform 0.2s ease;
}

.servicio-card:hover .servicio-features li {
	transform: translateX(5px);
}

.servicio-features li::before {
	content: '✓';
	color: var(--accent);
	font-weight: bold;
}

.servicio-btn {
	display: block;
	padding: 14px;
	background: var(--primary);
	color: var(--white);
	text-align: center;
	text-decoration: none;
	border-radius: 12px;
	font-weight: 700;
	transition: all 0.3s;
}

.servicio-btn:hover {
	background: var(--accent);
	box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4);
	transform: translateY(-2px);
}

.servicio-check {
	color: var(--success-green);
	font-weight: bold;
	margin-right: 8px;
}

.detail-tag {
	display: inline-block;
	padding: 4px 12px;
	background: rgba(96, 165, 250, 0.1);
	color: var(--accent);
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 12px;
	text-transform: uppercase;
}

/* ==================== CONTACT FORM ==================== */
#contacto {
	padding: 120px 24px;
	background: transparent;
	color: var(--white);
}

#contacto h2 {
	text-align: center;
	font-size: 2.8rem;
	margin-bottom: 60px;
}

form {
	background: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	padding: 60px;
	border-radius: 40px;
	box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4);
	max-width: 800px;
	margin: 0 auto;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

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

label {
	display: block;
	margin-bottom: 10px;
	color: var(--primary);
	font-weight: 700;
	font-size: 0.95rem;
}

input,
textarea {
	width: 100%;
	padding: 16px 20px;
	border-radius: 12px;
	border: 2px solid #e2e8f0;
	background: #f8fafc;
	font-size: 1rem;
	transition: all 0.3s;
	color: var(--text-dark);
}

input:focus,
textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: white;
	box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.1);
}

button[type="submit"] {
	width: 100%;
	padding: 18px;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	text-transform: uppercase;
	letter-spacing: 1px;
}

button[type="submit"]:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(18, 70, 102, 0.3);
}

/* ==================== FOOTER ==================== */
footer {
	background: #0f172a;
	color: var(--white);
	padding: 80px 24px 40px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 60px;
	max-width: 1400px;
	margin: 0 auto 60px;
}

.footer-section h3 {
	font-size: 1.4rem;
	margin-bottom: 24px;
}

.footer-section p {
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 12px;
	font-weight: 300;
}

.footer-section a {
	color: var(--accent);
	text-decoration: none;
}

.social-icons-footer {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}

.social-icons-footer a {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s;
}

.social-icons-footer a:hover {
	background: var(--accent);
	transform: translateY(-5px);
}

.companies-carousel {
	padding: 40px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 40px;
}

.companies-carousel h3 {
	text-align: center;
	margin-bottom: 30px;
	opacity: 0.8;
}

.companies-slider {
	overflow: hidden;
}

.companies-track {
	display: flex;
	gap: 60px;
	animation: scroll 30s linear infinite;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.company-logo {
	min-width: 150px;
	height: 80px;
	background: white;
	padding: 15px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

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

/* ==================== WHATSAPP & MOBILE ==================== */
.whatsapp-float {
	position: fixed;
	bottom: 40px;
	right: 40px;
	width: 70px;
	height: 70px;
	background: #25d366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
	z-index: 1000;
	transition: all 0.3s;
}

.whatsapp-float:hover {
	transform: scale(1.1) rotate(10deg);
}

.whatsapp-float svg {
	width: 40px;
	height: 40px;
	fill: white;
}

.hamburger-menu {
	display: none;
	flex-direction: column;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
}

.hamburger-menu span {
	width: 30px;
	height: 3px;
	background: white;
	border-radius: 2px;
}

/* ==================== MOBILE MENU OVERLAY ==================== */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.98);
	backdrop-filter: blur(10px);
	z-index: 2000;
	display: none;
	/* Hidden by default */
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
	display: flex;
	opacity: 1;
}

.mobile-menu-content {
	text-align: center;
	padding: 40px;
}

.mobile-menu-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	color: white;
	font-size: 3rem;
	cursor: pointer;
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.mobile-nav a {
	color: white;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 600;
	font-family: 'Mondapick', sans-serif !important;
}

.mobile-btn {
	background: var(--accent);
	padding: 12px 30px;
	border-radius: 8px;
	margin-top: 10px;
}

/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 1024px) {
	.servicios-principales {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero h2 {
		font-size: 2.8rem;
	}
}

@media (max-width: 768px) {

	.header-center,
	.header-right {
		display: none;
	}

	.hamburger-menu {
		display: flex;
	}

	.hero {
		padding: 80px 24px;
	}

	.hero h2 {
		font-size: 2.2rem;
	}

	.servicios-principales {
		grid-template-columns: 1fr;
	}

	form {
		padding: 30px;
	}

	.carousel {
		height: 400px;
	}

	.carousel-caption h3 {
		font-size: 1.5rem;
	}
}