:root {
	--accent-color: #3f9d6e; /* Color principal (verde) que coincide con --primary-color */
	--accent-hover: #2c7b52; /* Versión más oscura para hover */
	--light-color: #ffffff; /* Color blanco para texto claro */
	--text-light: #ffffff; /* Color blanco para texto claro */
	--text-secondary: #ffffffb0; /* Color blanco semi-transparente para texto secundario */
}

.app-footer {
	background: hsla(219, 45%, 11%, 0.9);
	color: var(--light-color);
	padding: 3rem 0rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	position: relative;
	overflow: hidden;
}

.app-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--accent-color), transparent);
}

/* Main footer container */
.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	padding: 0 2rem;
	position: relative;
}

/* Info section */
.footer-info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-description {
	color: #ffffffb0;
	line-height: 1.6;
	font-size: 0.95rem;
	text-align: justify;
}

/* Logo section */
.footer-logo {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.5rem;
}

.footer-logo-img {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
	transform: rotate(10deg);
}

.footer-logo h3 {
	font-size: 1.4rem;
	margin: 0;
	color: white;
	background: linear-gradient(90deg, #fff, var(--accent-color));
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

/* Titles in footer sections */

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
	align-content: center;
	flex-wrap: wrap;
}

.footer-links h4,
.footer-social h4 {
	color: white;
	margin-bottom: 1.2rem;
	position: relative;
	padding-bottom: 0.8rem;
	font-size: 1.1rem;
	display: inline-block;
}

.footer-links h4::after,
.footer-social h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--accent-color);
	transition: width 0.3s ease;
}

.footer-links:hover h4::after,
.footer-social:hover h4::after {
	width: 60px;
}

/* Footer links */
.footer-links-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	justify-content: start;
}

.footer-links li {
	margin-bottom: 0.9rem;
	display: inline-flex;
}

.footer-link {
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.3rem 0;
}

.footer-link:hover {
	color: var(--text-light);
	transform: translateX(8px);
}

.footer-link i {
	color: var(--accent-color);
	font-size: 0.9rem;
}

/* Social icons */
.social-icons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background-color: rgba(255, 255, 255, 0.05);
	color: var(--text-light);
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
}

.social-icon:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--accent-color);
	transform: translateY(100%);
	transition: transform 0.3s ease;
	z-index: 1;
}

.social-icon i {
	position: relative;
	z-index: 2;
}

.social-icon:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.social-icon:hover::before {
	transform: translateY(0);
}

/* Footer bottom part */
.footer-bottom {
	max-width: 1200px;
	margin: 3rem auto 0;
	padding: 1.5rem 2rem 0;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.footer-bottom a {
	color: var(--accent-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.footer-bottom a:hover {
	color: var(--text-light);
}

/* Media queries for footer */
@media (max-width: 1200px) {
	.footer-content {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 992px) {
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 3rem 2rem;
	}

	.footer-info {
		grid-column: span 2;
	}
}

@media (max-width: 768px) {
	.app-footer {
		padding: 3rem 0 1rem;
	}

	.footer-links {
		flex-wrap: nowrap;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}

	.footer-info {
		grid-column: auto;
	}

	.social-icons {
		justify-content: center;
	}

	.footer-bottom {
		margin-top: 2rem;
	}

	.footer-logo {
		justify-content: flex-start;
	}

	.footer-description {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.app-footer {
		padding: 2rem 0 1rem;
	}

	.footer-content {
		padding: 0 1rem;
		gap: 2rem;
	}

	.social-icons {
		gap: 0.8rem;
		flex-wrap: wrap;
		max-width: 100%;
	}

	.social-icon {
		width: 38px;
		height: 38px;
		font-size: 0.9rem;
	}

	.footer-logo h3 {
		font-size: 1.2rem;
	}

	.footer-bottom {
		padding: 1rem 1rem 0;
		font-size: 0.85rem;
		line-height: 1.5;
	}

	.footer-description {
		font-size: 0.9rem;
	}
}
