/* ==========================================================================
   GetOnData — footer.css  (matches the live "Footer Dark" layout)
   Loaded non-blocking (below the fold).
   ========================================================================== */

.site-footer {
	padding-top: 80px;
	background: var(--gd-ink);
	color: #f5f7fa;
	font-size: 16px;
	line-height: 36px;
}

/* 5 equal columns + contact/social row on the same grid. */
.site-footer__cols,
.site-footer__meta {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 32px 20px;
}

.site-footer__title {
	margin: 0 0 20px;
	color: var(--gd-orange);
	font: 700 18px/28px var(--gd-font);
}

.site-footer a {
	color: #f5f7fa;
	font-weight: 500;
	text-decoration: none;
	transition: color .3s;
}
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--gd-orange); }

/* Contact + social row */
.site-footer__meta { margin-top: 60px; padding-bottom: 50px; }
.site-footer__contact { grid-column: 1 / span 3; }
.site-footer__social { grid-column: 4 / span 2; }
.site-footer__contact-list { display: flex; flex-wrap: wrap; gap: 0 32px; }
.site-footer__contact-list a { display: inline-flex; align-items: center; gap: 14px; }
.site-footer__contact-list .gd-icon { color: var(--gd-orange); }

.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.social-links a { display: inline-flex; color: #fff; }
.social-links a { transition: opacity .3s; }
.social-links a:hover,
.social-links a:focus-visible { color: #fff; opacity: .9; }

/* Bottom bar */
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); }
.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 24px;
}
.site-footer__logo img { display: block; width: auto; height: 26px; }
.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	color: #f1f1f1;
	font: 600 14px/30px var(--gd-font);
}
.site-footer__copy { margin: 0; }
.site-footer__legal-links { display: flex; flex-wrap: wrap; }
.site-footer__legal-links li::before { content: "|"; margin: 0 6px; }
.site-footer__legal a { font-weight: 600; color: #fff; }
.site-footer__badge img { display: block; width: 100px; height: auto; }

/* Back to top (square, bottom-left — as on the live site) */
.back-to-top {
	position: fixed;
	left: 26px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 0;
	background: var(--gd-blue);
	color: #fff;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .3s, transform .3s, background-color .3s;
}
.back-to-top.is-visible { opacity: 1; transform: none; }
.back-to-top:hover { background: var(--gd-orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__meta { grid-template-columns: 1fr 1fr; }
	.site-footer__contact,
	.site-footer__social { grid-column: auto; }
}
/* Tablet, as live: 4 menu columns, Quick Links as one row below them,
   contact and social on their own rows, bottom bar stacked. */
@media (min-width: 768px) and (max-width: 1024px) {
	.site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.site-footer__col:nth-child(5) { grid-column: 1 / -1; }
	.site-footer__col:nth-child(5) .site-footer__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
	.site-footer__meta { grid-template-columns: 1fr; gap: 24px; }
	.site-footer__bottom-inner { flex-direction: column; }
	.site-footer__logo { align-self: flex-start; }
}
@media (max-width: 767px) {
	.site-footer { padding-top: 50px; }
	.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.site-footer__meta { grid-template-columns: 1fr; margin-top: 32px; }
	.site-footer__bottom-inner { flex-direction: column; text-align: center; }
	/* Copyright on its own line; separators only between the links. */
	.site-footer__legal { flex-direction: column; gap: 2px; }
	.site-footer__legal-links li:first-child::before { display: none; }
	.back-to-top { left: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* Footer headings fade in and slide up when they scroll into view (as live).
   Hidden only after JS has marked them (.gd-reveal), so they always show without JS. */
.site-footer__title.gd-reveal { opacity: 0; }
.site-footer__title.gd-reveal.is-revealed { animation: gd-fade-in-up 1.25s ease both; }
@keyframes gd-fade-in-up {
	from { opacity: 0; transform: translate3d(0, 100%, 0); }
	to { opacity: 1; transform: none; }
}