/* ==========================================================================
   Galleria De Rings: site footer (every page)
   Navy. Four columns: logo + short line (+ social icons once their links
   are set), Shop links, Help links, and Get in Touch with the WhatsApp
   number and an outline "Chat on WhatsApp" button. Below, a thin line and
   the copyright bar. Tablets: two by two. Phones: logo on top, Shop and
   Help side by side, contact below, bar centred.
   ========================================================================== */

.site-footer {
	--ft-text: rgba(247, 245, 241, 0.68);
	--ft-line: rgba(247, 245, 241, 0.12);

	background: var(--g-navy);
	color: var(--g-cream, #f7f5f1);
	font-family: var(--g-font-body);
}

.site-footer a {
	color: inherit;
}

.site-footer a:focus-visible {
	outline: 2px solid var(--g-white);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Main area */
.footer-main {
	padding: clamp(48px, 5.5vw, 76px) clamp(16px, 4vw, 64px) clamp(36px, 4vw, 56px);
}

.footer-main__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
	gap: clamp(32px, 4vw, 64px);
	max-width: 1200px;
	margin: 0 auto;
}

/* Brand */
.footer-brand__logo {
	display: inline-block;
}

.footer-brand__logo img {
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
}

.footer-brand__text {
	max-width: 34ch;
	margin: 22px 0 0;
	color: var(--ft-text);
	font-size: 1.04rem;
	line-height: 1.7;
}

.footer-social {
	display: flex;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(247, 245, 241, 0.28);
	border-radius: 50%;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-social .icon {
	width: 18px;
	height: 18px;
}

.footer-social a:hover {
	border-color: var(--g-white);
	background: var(--g-white);
	color: var(--g-navy);
}

/* Link columns */
.footer-col__title {
	margin: 4px 0 20px;
	color: var(--g-white);
	font-family: var(--g-font-body);
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.footer-col__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col__list a {
	display: inline-block;
	color: var(--ft-text);
	font-size: 1.04rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.25s ease;
}

.footer-col__list a:hover {
	color: var(--g-white);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

/* Get in touch */
.footer-contact__text {
	max-width: 32ch;
	margin: 0 0 14px;
	color: var(--ft-text);
	font-size: 1.04rem;
	line-height: 1.7;
}

.footer-contact__phone {
	margin: 0 0 18px;
	color: var(--g-white);
	font-family: var(--g-font-heading);
	font-size: 1.6rem;
	letter-spacing: 0.01em;
}

.footer-contact__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 26px;
	border: 1px solid rgba(247, 245, 241, 0.45);
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-contact__btn .icon {
	width: 18px;
	height: 18px;
}

.site-footer .footer-contact__btn:hover {
	border-color: var(--g-white);
	background: var(--g-white);
	color: var(--g-navy);
}

/* Copyright bar */
.footer-bar {
	padding: 0 clamp(16px, 4vw, 64px);
}

.footer-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0 22px;
	border-top: 1px solid var(--ft-line);
	color: rgba(247, 245, 241, 0.6);
	font-size: 0.92rem;
}

.footer-bar__copy,
.footer-bar__note {
	margin: 0;
}

.footer-bar__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-bar__menu a {
	text-decoration: none;
}

.footer-bar__menu a:hover {
	color: var(--g-white);
}

/* Tablets: two by two */
@media (max-width: 1023px) {
	.footer-main__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 40px;
	}
}

/* Phones: everything centred */
@media (max-width: 767px) {
	.footer-main {
		padding: 44px 16px 32px;
	}

	.footer-main__inner {
		gap: 32px 20px;
		text-align: center;
	}

	.footer-brand__text,
	.footer-contact__text {
		margin-right: auto;
		margin-left: auto;
	}

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

	/* One block per row */
	.footer-brand,
	.footer-col,
	.footer-contact {
		grid-column: 1 / -1;
	}

	.footer-brand__logo img {
		width: 250px;
	}

	.footer-col__title {
		margin-bottom: 14px;
	}

	/* Shop / Help links: short centred rows that wrap, not tall lists */
	.footer-col__list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px 22px;
		max-width: 340px;
		margin: 0 auto;
	}

	.footer-col__list a {
		font-size: 1rem;
	}

	.footer-contact {
		padding-top: 28px;
		border-top: 1px solid var(--ft-line);
	}

	.footer-bar {
		padding: 0 16px;
	}

	.footer-bar__inner {
		flex-direction: column;
		padding-bottom: 24px;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.footer-social a,
	.footer-col__list a,
	.footer-contact__btn {
		transition: none;
	}
}
