
/* Logo positioning - Integrado con el header */
#header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 10000 !important;
	display: flex !important;
	align-items: center !important;
}

#logo {
	position: relative !important;
	left: 0 !important;
	top: 0 !important;
	transform: none !important;
	margin: 0 2rem !important;
	z-index: 10001 !important;
	display: flex !important;
	align-items: center !important;
}

#logo a {
	display: flex !important;
	align-items: center !important;
	height: 100%;
}

#logo img {
	display: block !important;
	max-height: 40px !important;
	width: auto !important;
	filter: brightness(1);
	transition: all 0.3s ease;
}

#logo img:hover {
	filter: brightness(1.1);
	transform: scale(1.05);
}

/* Ajustar navegación para que no se solape con el logo */
#nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

/* Hero Header de Servicios - Profesional y Moderno */
.services-page-header {
	position: relative;
	padding: 4rem 3rem !important;
	margin-bottom: 4rem !important;
	overflow: hidden;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.header-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, #1a1d23 0%, #2E3842 50%, #3d4f5c 100%);
	z-index: 0;
}

.gradient-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 30%, rgba(74, 158, 255, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.12) 0%, transparent 50%);
}

.pattern-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.02) 35px, rgba(255,255,255,0.02) 70px);
	opacity: 0.5;
}

.header-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: 0 auto;
}

.header-badge {
	display: inline-block;
	background: rgba(74, 158, 255, 0.2);
	backdrop-filter: blur(10px);
	color: white;
	padding: 0.5rem 1.5rem;
	border-radius: 25px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 1.5px;
	margin-bottom: 1.5rem;
	border: 1px solid rgba(74, 158, 255, 0.3);
	text-transform: uppercase;
}

.main-title {
	font-size: 3.5rem !important;
	font-weight: 700 !important;
	color: white !important;
	margin: 0 0 1.5rem 0 !important;
	line-height: 1.2 !important;
	text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.main-subtitle {
	font-size: 1.25rem !important;
	color: rgba(255,255,255,0.9) !important;
	line-height: 1.6 !important;
	margin-bottom: 2.5rem !important;
	text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-features {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(255,255,255,0.1);
	backdrop-filter: blur(10px);
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.2);
	transition: all 0.3s ease;
	min-height: 50px;
}

.feature-item:hover {
	background: rgba(255,255,255,0.15);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.feature-item span {
	color: white !important;
	font-size: 0.95rem;
	font-weight: 600;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
	display: inline-block;
}

.feature-item i {
	font-size: 1.8rem;
	color: #4da5f5 !important;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
	min-width: 32px;
	width: 32px;
	height: 32px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Asegurar que los íconos sean visibles */
.header-features .feature-item i {
	opacity: 1;
	visibility: visible;
}

.header-features .feature-item i::before {
	display: block;
	text-align: center;
}

/* Intro Section Moderna */
.services-intro-modern {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	padding: 3rem;
	border-radius: 12px;
	margin-bottom: 3rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	border-left: 5px solid #4da5f5;
}

.intro-icon {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #4da5f5 0%, #357abd 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 25px rgba(74, 158, 255, 0.3);
}

.intro-icon i {
	font-size: 2.5rem;
	color: white;
}

.intro-content h2 {
	color: #2c3e50;
	font-size: 2rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

.intro-content p {
	color: #34495e;
	font-size: 1.1rem;
	line-height: 1.8;
	margin: 0;
}

.intro-content strong {
	color: #2c3e50;
	font-weight: 600;
}

/* Fondo General de la Página */
body {
	background: 
		linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(52, 152, 219, 0.03) 2px, rgba(52, 152, 219, 0.03) 4px),
		repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(52, 152, 219, 0.03) 2px, rgba(52, 152, 219, 0.03) 4px),
		radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(74, 158, 255, 0.05) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

#page-wrapper {
	position: relative;
	z-index: 1;
}

.wrapper.style1 {
	background: transparent !important;
}

/* Patrón decorativo en el contenedor */
.container {
	position: relative;
}

.container::before {
	content: '';
	position: absolute;
	top: -50px;
	right: -50px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(74, 158, 255, 0.08) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
	z-index: -1;
}

.container::after {
	content: '';
	position: absolute;
	bottom: -50px;
	left: -50px;
	width: 250px;
	height: 250px;
	background: radial-gradient(circle, rgba(52, 152, 219, 0.06) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
	z-index: -1;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablets and smaller desktops */
@media screen and (max-width: 768px) {
	.services-page-header {
		padding: 3rem 1.5rem !important;
	}

	.main-title {
		font-size: 2rem !important;
	}

	.main-subtitle {
		font-size: 1rem !important;
	}

	.header-features {
		gap: 1.5rem;
		flex-direction: column;
		align-items: center;
	}

	.services-intro-modern {
		flex-direction: column;
		padding: 2rem;
		text-align: center;
	}

	.intro-icon {
		margin: 0 auto;
	}

	.intro-content h2 {
		font-size: 1.5rem;
	}

	.intro-content p {
		font-size: 1rem;
	}

	/* Ocultar botón "Solicitar Consulta" en móviles */
	#header .button.primary {
		display: none !important;
	}
}

/* Mobile devices */
@media screen and (max-width: 980px) {
	/* Ocultar logo en móviles */
	#logo {
		display: none !important;
	}

	/* Ocultar todos los enlaces del menú en la barra superior */
	#nav > ul > li {
		display: none !important;
	}

	/* Centrar el header */
	#header {
		justify-content: center !important;
		padding: 1rem 1.5rem !important;
	}

	/* Ocultar botón en tablets también */
	#header .button.primary {
		display: none !important;
	}
}
