/* ============================================
   ELEMENTS/CONTACT - CUSTOM STYLES
   ============================================ */

/* 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;
}

/* Contact Form Styles */
.contact-form .row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}
 
.contact-form .col-6 {
	display: flex;
	flex-direction: column;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	margin-bottom: 1rem;
	padding: 0.75rem;
	border: 1px solid #555;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: #2c2c2e !important;
	color: #ffffff !important;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form textarea::placeholder {
	color: #888 !important;
}

.contact-form .col-6 input {
	height: auto;
	min-height: 44px;
}

/* Asegurar que todos los campos tengan la misma altura */
.contact-form .gtr-uniform > * {
	margin-bottom: 1rem;
}

/* Hacer que ambos botones abarquen todo el ancho disponible */
.contact-form .actions {
	display: flex !important;
	gap: 20px !important;
	width: 100% !important;
}

.contact-form .actions input[type="submit"] {
	flex: 1 !important;
	height: 58px !important;
	padding: 16px 24px !important;
	font-size: 16px !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
}

.contact-form .actions input[type="reset"] {
	flex: 1.3 !important;
	height: 58px !important;
	padding: 16px 24px !important;
	font-size: 16px !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
}

/* ============================================
   CONTACT CARD COMPACT STYLES
   ============================================ */

.contact-card-compact {
	background: linear-gradient(135deg, #1c1d26 0%, #2e323d 100%);
	border-radius: 8px;
	padding: 1.5rem 2rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(77, 165, 245, 0.2);
	margin-bottom: 2rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.contact-compact-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(77, 165, 245, 0.2);
}

.contact-compact-header i {
	font-size: 1.5rem;
	color: #4da5f5;
}

.contact-compact-header h3 {
	font-size: 1.3rem;
	color: #ffffff;
	margin: 0;
	font-weight: 600;
}

.contact-compact-content {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.email-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	background: rgba(77, 165, 245, 0.05);
	border-radius: 5px;
	color: #ffffff;
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	border-left: 3px solid #4da5f5;
}

.email-link:hover {
	background: rgba(77, 165, 245, 0.15);
	transform: translateX(5px);
	color: #4da5f5;
}

.email-link i {
	color: #4da5f5;
	font-size: 1rem;
}

.response-time {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	background: rgba(77, 165, 245, 0.1);
	border-radius: 5px;
	color: #b0b0b0;
	font-size: 0.85rem;
	margin-top: 0.25rem;
}

.response-time i {
	color: #4da5f5;
	font-size: 0.9rem;
}

/* Responsive para contact card compact */
@media screen and (max-width: 736px) {
	.contact-card-compact {
		padding: 1rem 1.25rem;
	}
	
	.contact-compact-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	
	.contact-compact-header h3 {
		font-size: 1.1rem;
	}
	
	.email-link {
		font-size: 0.85rem;
		flex-wrap: wrap;
	}
}

/* ============================================
   END CONTACT CARD COMPACT STYLES
   ============================================ */

/* OLD STYLES - Mantener por compatibilidad */
.contact-card-premium {
	background: linear-gradient(135deg, #1c1d26 0%, #2e323d 100%);
	border-radius: 16px;
	padding: 3rem 2.5rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(77, 165, 245, 0.2);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 3rem;
}

.contact-card-premium:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 50px rgba(77, 165, 245, 0.2);
}

.contact-header-section {
	margin-bottom: 2rem;
}

.contact-icon-large {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	background: linear-gradient(135deg, #4da5f5 0%, #3b8cd4 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(77, 165, 245, 0.3);
}

.contact-icon-large i {
	font-size: 2.5rem;
	color: #ffffff;
}

.contact-header-section h3 {
	font-size: 1.8rem;
	color: #ffffff;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.contact-subtitle {
	color: #b0b0b0;
	font-size: 1rem;
	margin-bottom: 0;
}

.contact-emails {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 12px;
	padding: 2rem 1.5rem;
	margin: 2rem 0;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.email-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	margin: 0.5rem 0;
	background: rgba(77, 165, 245, 0.05);
	border-radius: 8px;
	transition: all 0.3s ease;
}

.email-item:hover {
	background: rgba(77, 165, 245, 0.1);
	transform: translateX(5px);
}

.email-item i {
	font-size: 1.5rem;
	color: #4da5f5;
	margin-right: 1rem;
}

.email-item a {
	color: #ffffff;
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.email-item a:hover {
	color: #4da5f5;
}

.contact-footer-info {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(77, 165, 245, 0.1);
	border-radius: 8px;
	border-left: 4px solid #4da5f5;
}

.contact-footer-info i {
	color: #4da5f5;
	margin-right: 0.75rem;
	font-size: 1.2rem;
}

.contact-footer-info span {
	color: #e0e0e0;
	font-size: 0.95rem;
	font-weight: 500;
}

/* Responsive para contact card premium */
@media screen and (max-width: 736px) {
	.contact-card-premium {
		padding: 2rem 1.5rem;
	}
	
	.contact-icon-large {
		width: 60px;
		height: 60px;
	}
	
	.contact-icon-large i {
		font-size: 2rem;
	}
	
	.contact-header-section h3 {
		font-size: 1.5rem;
	}
	
	.email-item a {
		font-size: 0.95rem;
	}
	
	.email-item {
		flex-direction: column;
		text-align: center;
	}
	
	.email-item i {
		margin-right: 0;
		margin-bottom: 0.5rem;
	}
}

/* ============================================
   END CONTACT CARD PREMIUM STYLES
   ============================================ */

/* Hacer que ambos botones tengan el mismo tamaño */
.contact-form .actions input[type="submit"],
.contact-form .actions input[type="reset"] {
	width: 100% !important;
	padding: 16px 48px !important;
	font-size: 16px !important;
	height: 58px !important;
	min-width: 240px !important;
	box-sizing: border-box !important;
	text-align: center !important;
	display: inline-block !important;
	line-height: 26px !important;
	vertical-align: middle !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px !important;
	cursor: pointer !important;
}

.contact-form .actions input[type="submit"] {
	background: #4da5f5 !important;
	color: white !important;
	border: 2px solid #4da5f5 !important;
}

.contact-form .actions input[type="reset"] {
	background: transparent !important;
	color: #ffffff !important;
	border: 2px solid #555 !important;
}

.contact-form .actions input[type="submit"]:hover {
	background: #3d8fd9 !important;
	border-color: #3d8fd9 !important;
}

.contact-form .actions input[type="reset"]:hover {
	background: #555 !important;
	border-color: #777 !important;
}

.contact-form .actions li {
	flex: 1 !important;
	margin-right: 1rem !important;
}

.contact-form .actions li:last-child {
	margin-right: 0 !important;
}

.contact-form .actions {
	display: flex !important;
	gap: 1rem !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* CSS específico para móviles */
@media screen and (max-width: 768px) {
	/* Ocultar botón "Cotizar Proyecto" en móviles */
	#header .button.primary {
		display: none !important;
	}

	/* Ajustar padding del contenedor */
	.container {
		padding: 0 1rem !important;
	}

	/* Ajustar header major */
	.major {
		padding: 2rem 1rem !important;
	}

	.major h2 {
		font-size: 1.8rem !important;
	}

	.major p {
		font-size: 1rem !important;
	}

	/* Ajustar formulario de contacto */
	.contact-form input,
	.contact-form textarea,
	.contact-form select {
		font-size: 1rem !important;
	}

	/* Ajustar cards de contacto */
	.contact-card {
		margin-bottom: 1rem !important;
	}

	/* Limpiar overflow */
	body, html {
		overflow-x: hidden !important;
	}
}

/* Ajustes para el header en móviles y tablets */
@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;
	}
}
