/* ==========================================================================
   Omega Oils — global site footer (design v2)
   Facts band (cream-alt) + footer. Phones: cream footer, accordion columns.
   768px+: espresso footer, columns side by side (2 per row, 4 in one row
   from 1024px).
   Uses only tokens and components from omega-base.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Facts band
   -------------------------------------------------------------------------- */

.site-facts {
	background: var(--o-surface-cream-alt);
	padding-block: var(--o-space-lg);
	box-shadow: 0 1px 8px rgba(47, 33, 24, 0.04);
}

.site-facts__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--o-space-md) var(--o-space-md);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-facts__item {
	display: flex;
	align-items: center;
	gap: var(--o-space-sm);
	min-width: 0;
}

.site-facts__icon {
	font-size: 28px;
	color: var(--o-gold);
}

.site-facts__copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.site-facts__title {
	font-family: var(--o-font-heading);
	font-size: 15px;
	line-height: 20px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--o-espresso);
}

.site-facts__text {
	font-size: 13px;
	line-height: 18px;
	color: var(--o-text-muted);
}

@media (min-width: 768px) {
	.site-facts {
		padding-block: var(--o-space-xl);
	}

	.site-facts__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--o-space-lg);
	}

	.site-facts__icon {
		font-size: 32px;
	}

	.site-facts__title {
		font-size: 18px;
		line-height: 24px;
	}

	.site-facts__text {
		font-size: 14px;
		line-height: 20px;
	}
}

/* --------------------------------------------------------------------------
   Footer — phones
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--o-surface-cream);
	color: var(--o-espresso);
	padding-block: var(--o-space-xl) var(--o-space-2xl);
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
}

/* Accordion columns */
.site-footer__col {
	border-bottom: var(--o-hairline);
}

.site-footer__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--o-space-sm);
	min-height: 56px;
	padding-block: var(--o-space-sm);
	list-style: none;
	cursor: pointer;
	font-family: var(--o-font-heading);
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--o-primary-dark);
}

.site-footer__title::-webkit-details-marker {
	display: none;
}

.site-footer__title-text {
	display: flex;
	align-items: center;
	gap: var(--o-space-sm);
}

.site-footer__title-text .o-icon {
	color: var(--o-gold);
}

.site-footer__chevron {
	color: var(--o-text-muted);
	transition: transform var(--o-ease);
}

.site-footer__col[open] .site-footer__chevron {
	transform: rotate(180deg);
}

.site-footer__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0 0 var(--o-space-md) 28px;
	list-style: none;
	font-size: 14px;
	line-height: 20px;
	color: var(--o-text-muted);
}

.site-footer__link {
	display: inline-block;
	padding-block: 6px;
	transition: color var(--o-ease);
}

.site-footer__link:hover {
	color: var(--o-forest);
}

.site-footer__contact {
	display: flex;
	align-items: center;
	gap: var(--o-space-xs);
	min-height: 32px;
}

.site-footer__contact .o-icon {
	font-size: 16px;
	color: var(--o-gold);
}

/* Bottom bar */
.site-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: var(--o-space-md);
	margin-top: var(--o-space-lg);
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	color: var(--o-text-muted);
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--o-space-xs) var(--o-space-md);
}

.site-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--o-space-xs) var(--o-space-md);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal-link {
	display: inline-block;
	padding-block: 4px;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: color var(--o-ease), text-decoration-color var(--o-ease);
}

.site-footer__legal-link:hover {
	text-decoration-color: currentColor;
}

.site-footer__end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--o-space-sm) var(--o-space-md);
}

.site-footer__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--o-space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__chip {
	padding: 4px 10px;
	border-radius: var(--o-radius-full);
	background: var(--o-surface-cream-alt);
	color: var(--o-ochre-deep);
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
}

.site-footer__credit-link {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Footer — 768px+: espresso, open columns
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
	.site-footer {
		background: var(--o-espresso);
		color: var(--o-surface-cream);
		padding-block: var(--o-space-2xl) var(--o-space-lg);
	}

	.site-footer__inner {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--o-space-xl);
	}

	.site-footer__col {
		border-bottom: 0;
	}

	/* Columns are always open: the summary is just a heading. */
	.site-footer__title {
		min-height: 0;
		padding: 0;
		margin-bottom: var(--o-space-md);
		cursor: default;
		pointer-events: none;
		font-size: 20px;
		line-height: 28px;
		font-weight: 600;
		letter-spacing: 0;
		color: var(--o-gold);
	}

	.site-footer__title-text .o-icon,
	.site-footer__chevron {
		display: none;
	}

	.site-footer__list {
		padding: 0;
		gap: 0;
		color: rgba(251, 246, 236, 0.8);
	}

	.site-footer__link {
		padding-block: 4px;
	}

	.site-footer__link:hover {
		color: var(--o-gold);
	}

	.site-footer__bottom {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		margin-top: var(--o-space-lg);
		padding-top: var(--o-space-lg);
		border-top: 1px solid rgba(251, 246, 236, 0.12);
		color: rgba(251, 246, 236, 0.6);
	}

	.site-footer__legal-link:hover,
	.site-footer__credit-link:hover {
		color: var(--o-surface-cream);
	}

	.site-footer__chip {
		background: var(--o-espresso-umber);
		color: var(--o-gold);
	}
}

@media (min-width: 1024px) {
	.site-footer__inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Social links under the contact column */
.site-footer__social {
	gap: var(--o-space-sm);
	margin-top: var(--o-space-md);
	padding-bottom: var(--o-space-md);
}

.site-footer__social .o-social__link {
	width: 40px;
	height: 40px;
	background: var(--o-surface-cream-alt);
	color: var(--o-espresso);
}

.site-footer__social .o-social__link:hover {
	background: var(--o-forest);
	color: var(--o-white);
}

@media (min-width: 768px) {
	.site-footer__social {
		padding-bottom: 0;
	}

	.site-footer__social .o-social__link {
		background: rgba(251, 246, 236, 0.08);
		color: var(--o-surface-cream);
	}

	.site-footer__social .o-social__link:hover {
		background: var(--o-gold);
		color: var(--o-espresso);
	}
}
