/* ---------------------------------------------------
     SECCIÓN: SOCIEDADES CIENTÍFICAS
     --------------------------------------------------- */
.societies {
	background-color: var(--white);
	padding: 50px 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}

.societies-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 60px;
	flex-wrap: wrap;
}

.societies-logos img {
	height: 50px;
	width: auto;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all var(--transition);
}

.societies-logos img:hover {
	filter: grayscale(0%);
	opacity: 1;
}

.societies-alt {
	background-color: var(--light-gray);
}

/* ---------------------------------------------------
     SECCIÓN: MENSAJE FINAL
     --------------------------------------------------- */
.commitment {
	background-color: var(--white);
	border-top: 1px solid var(--border-color);
}

.commitment-content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.commitment-content h2 {
	font-size: 2rem;
	color: var(--dark-teal);
	margin-bottom: 20px;
	font-style: italic;
}

.commitment-content>p {
	font-size: 1rem;
	color: var(--text-light);
	line-height: 1.7;
	margin-bottom: 40px;
}

.commitment-contact {
	display: flex;
	justify-content: center;
	gap: 60px;
	margin-bottom: 40px;
}

.commitment-item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.commitment-item .icon {
	font-size: 1.5rem;
}

.commitment-item strong {
	display: block;
	font-size: 0.85rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 4px;
}

.commitment-item a {
	font-size: 1.1rem;
	color: var(--dark-teal);
	font-weight: 600;
}

.commitment-logo img {
	max-width: 200px;
	margin: 0 auto;
	opacity: 0.8;
}

/* ---------------------------------------------------
     FOOTER
     --------------------------------------------------- */
.footer {
	background-color: var(--dark-bg);
	color: var(--white);
	padding: 60px 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
	font-size: 1rem;
	margin-bottom: 20px;
	color: var(--white);
}

.footer-col p {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
}

.footer-col nav {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-col nav a,
.footer-col address a,
.footer-col address p {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	transition: color var(--transition);
}

.footer-col nav a:hover,
.footer-col address a:hover {
	color: var(--primary-green);
}

.footer-logo {
	max-width: 180px;
	margin-bottom: 16px;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
	display: flex;
	gap: 24px;
}

.footer-legal a {
	color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
	color: var(--primary-green);
}

/* ---------------------------------------------------
     BACK TO TOP
     --------------------------------------------------- */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background-color: var(--primary-green);
	color: var(--white);
	border: none;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all var(--transition);
	z-index: 999;
	box-shadow: var(--shadow-md);
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background-color: var(--primary-green-dark);
	transform: translateY(-3px);
}
