/**
 * Footer Styles
 *
 * 3-section footer: Top (nav grid), Middle (info bar), Bottom (legal).
 * Combined Ace Handyman + Neighborly style.
 *
 * @package One_Handyman
 * @version 3.1.0
 */

/* ==========================================================================
   Base typography — scoped above Elementor kit body font (Inter)
   ========================================================================== */

.site-footer.one-footer {
	font-family: 'Jost', var(--one-font-body, sans-serif);
}

.site-footer.one-footer :where(
	p,
	a,
	li,
	span,
	nav,
	button
) {
	font-family: inherit;
}

.site-footer.one-footer .one-footer__column-title {
	font-family: inherit;
	font-weight: 700;
}

/* ==========================================================================
   Top Section: Navigation Grid
   ========================================================================== */

.one-footer__top {
	background-color: var(--one-obsidian-2, #232327);
	color: #e8e8e8;
	padding: var(--one-spacing-3xl, 96px) 0 var(--one-spacing-xl, 40px);
	border-top: 1px solid var(--one-bronze, #B08D57);
}

.one-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: var(--one-spacing-xl, 2rem);
}

/* Column: Brand */
.one-footer__column--brand {
	display: flex;
	flex-direction: column;
	gap: var(--one-spacing-md, 1rem);
}

.one-footer__logo {
	max-height: 90px;
	width: auto;
}

.one-footer__site-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
}

.one-footer__phone {
	margin: 0;
}

.one-footer__phone a {
	display: inline-flex;
	align-items: center;
	gap: var(--one-spacing-xs, 4px);
	color: #ffffff;
	text-decoration: none;
	font-size: 1.125rem;
	font-weight: 600;
}

.one-footer__phone a:hover {
	color: var(--one-bronze-light, #C9A86A);
}

.one-footer__phone svg {
	flex-shrink: 0;
}

/* Social icons */
.one-footer__social {
	display: flex;
	align-items: center;
	gap: var(--one-spacing-sm, 8px);
}

.one-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #e8e8e8;
	transition: color var(--one-transition-fast, 150ms ease);
}

.one-footer__social-link:hover {
	color: var(--one-bronze-light, #C9A86A);
}

.one-footer__social-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Columns: Services, Offices, Resources */
.one-footer__column-title {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #ffffff;
	margin: 0 0 var(--one-spacing-md, 1rem);
}

.one-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.one-footer__list li {
	margin-bottom: var(--one-spacing-xs, 4px);
}

.one-footer__list a {
	color: #c8c8c8;
	text-decoration: none;
	font-size: 0.875rem;
	line-height: 1.8;
	transition: color var(--one-transition-fast, 150ms ease);
}

.one-footer__list a:hover {
	color: #ffffff;
}

.one-footer__list--company {
	margin-top: var(--one-spacing-md, 1rem);
	padding-top: var(--one-spacing-sm, 0.5rem);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.one-footer__see-all {
	display: inline-block;
	margin-top: var(--one-spacing-sm, 0.5rem);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--one-bronze-light, #C9A86A);
	text-decoration: none;
}

.one-footer__see-all:hover {
	text-decoration: underline;
}

/* Brand details (address, hours, license below social) */
.one-footer__brand-details {
	margin-top: var(--one-spacing-sm, 8px);
}

.one-footer__brand-details p {
	margin: 0 0 4px;
	font-size: 0.8125rem;
	color: #c8c8c8;
	line-height: 1.5;
}

.one-footer__brand-details strong {
	color: #e8e8e8;
}

/* ==========================================================================
   Middle Section: Info Bar (Address + Hours + License + Payment)
   ========================================================================== */

.one-footer__middle {
	background-color: var(--one-obsidian, #1C1C1E);
	color: #c8c8c8;
	padding: var(--one-spacing-lg, 1.5rem) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.one-footer__info-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--one-spacing-xl, 2rem);
}

.one-footer__info-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.one-footer__info-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #999;
}

.one-footer__info-value {
	font-size: 0.875rem;
	color: #e8e8e8;
	line-height: 1.5;
}

/* Payment icons */
.one-footer__payment {
	display: flex;
	align-items: center;
	gap: var(--one-spacing-md, 1rem);
	margin-top: var(--one-spacing-md, 1rem);
	padding-top: var(--one-spacing-md, 1rem);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.one-footer__payment-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #999;
	white-space: nowrap;
}

.one-footer__payment-icons {
	display: flex;
	align-items: center;
	gap: var(--one-spacing-sm, 8px);
	flex-wrap: wrap;
}

.one-footer__payment-icon {
	height: 24px;
	width: auto;
	opacity: 0.8;
}

/* ==========================================================================
   Bottom Section: Disclaimer + Copyright + Legal
   ========================================================================== */

.one-footer__bottom {
	background-color: var(--one-obsidian, #1C1C1E);
	color: #999;
	padding: var(--one-spacing-lg, 1.5rem) 0;
}

.one-footer__disclaimer {
	font-size: 0.75rem;
	line-height: 1.6;
	color: #888;
	margin: 0 0 var(--one-spacing-md, 1rem);
	text-align: left;
}

.one-footer__bottom-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--one-spacing-md, 1rem);
	padding-top: var(--one-spacing-md, 1rem);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.one-footer__copyright {
	font-size: 0.75rem;
	color: #888;
	margin: 0;
}

.one-footer__legal-nav {
	margin: 0;
}

.one-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: var(--one-spacing-md, 1rem);
}

.one-footer__legal-list li {
	margin: 0;
}

.one-footer__legal-list a {
	font-size: 0.75rem;
	color: #aaa;
	text-decoration: none;
}

.one-footer__legal-list a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.one-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--one-spacing-xl, 2rem);
	}

	.one-footer__column--brand {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--one-spacing-lg, 1.5rem);
	}
}

@media (max-width: 768px) {
	.one-footer__top {
		padding: var(--one-spacing-xl, 2rem) 0;
	}

	.one-footer__grid {
		grid-template-columns: 1fr;
		gap: var(--one-spacing-lg, 1.5rem);
	}

	.one-footer__column--brand {
		flex-direction: column;
		align-items: flex-start;
	}

	.one-footer__info-bar {
		flex-direction: column;
		gap: var(--one-spacing-md, 1rem);
	}

	.one-footer__bottom-bar {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.one-footer__legal-list {
		flex-wrap: wrap;
		justify-content: center;
	}

	.one-footer__disclaimer {
		font-size: 0.6875rem;
	}
}
