/**
 * Site footer.
 *
 * Visual reference: https://kabuliwala-direct.lovable.app/  (footer scroll).
 * Layout — at >=1024 px the brand block is wider (~1.5fr) and four
 * smaller text columns sit beside it. Background is the light "mist"
 * sage so the footer reads as a soft transition from the cream body
 * rather than a hard dark band (Lovable picks the same approach).
 *
 * @package KabuliWala
 */

.site-footer {
	background: var(--ff-mist);
	color: rgb(255 255 255 / 0.88);
	padding-block: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 36px);
	margin-top: 0;
}

/* ----- top grid ----- */

.ff-footer__top {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ff-space-10);
	padding-bottom: var(--ff-space-10);
}

@media (min-width: 720px) {
	.ff-footer__top {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--ff-space-10) var(--ff-space-8);
	}
}

@media (min-width: 1024px) {
	.ff-footer__top {
		grid-template-columns: 1.5fr 1fr 1.1fr 0.9fr 1fr;
		gap: var(--ff-space-8);
	}
}

/* ----- brand column ----- */

.ff-footer__brand {
	display: flex;
	flex-direction: column;
	gap: var(--ff-space-4);
}

@media (min-width: 720px) and (max-width: 1023.99px) {
	.ff-footer__brand {
		grid-column: 1 / -1;
	}
}

.ff-footer__logo {
	display: inline-block;
	margin-bottom: var(--ff-space-2);
}

.ff-footer__logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(220px, 70%);
	/* Match header logo colours (no invert filter). */
	filter: none;
}

body.kabuliwala .ff-footer__tagline {
	font-size: clamp(1.5rem, 1.4vw + 1rem, 1.875rem);
	font-weight: var(--ff-weight-medium);
	color: #ffffff;
	letter-spacing: var(--ff-tracking-tight);
	line-height: 1.2;
	margin: 0;
}

.ff-footer__about {
	color: rgb(255 255 255 / 0.72);
	max-width: 38ch;
	margin: 0;
	line-height: var(--ff-leading-relaxed);
	font-size: var(--ff-text-base);
}

.ff-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--ff-space-4);
}

.ff-footer__social {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border: 1px solid rgb(255 255 255 / 0.22);
	border-radius: var(--ff-radius-pill);
	color: #ffffff;
	background: rgb(255 255 255 / 0.08);
	font-size: var(--ff-text-sm);
	font-weight: var(--ff-weight-semibold);
	text-decoration: none;
	transition: background-color var(--ff-dur-fast) var(--ff-ease),
	            color var(--ff-dur-fast) var(--ff-ease),
	            transform var(--ff-dur-fast) var(--ff-ease);
}

.ff-footer__social:hover,
.ff-footer__social:focus-visible {
	background: var(--ff-accent);
	color: #000000;
	transform: translateY(-1px);
}

/* ----- column heading ----- */

.ff-footer__col {
	display: flex;
	flex-direction: column;
	gap: var(--ff-space-4);
	min-width: 0;
}

body.kabuliwala .ff-footer__col h4 {
	font-size: var(--ff-text-sm);
	/* Using 600 for footer column heads — they're tiny uppercase labels
	   and 500 reads too thin at 14px / spaced caps. Kept noticeably
	   different from body weight (400) so the hierarchy stays clear. */
	font-weight: var(--ff-weight-semibold);
	letter-spacing: var(--ff-tracking-widest);
	text-transform: uppercase;
	color: var(--ff-accent);
	margin: 0 0 var(--ff-space-1);
}

/* ----- generic list ----- */

.ff-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--ff-space-3);
}

.ff-footer__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: rgb(255 255 255 / 0.88);
	font-size: var(--ff-text-base);
	line-height: 1.5;
}

.ff-footer__list li > span {
	min-width: 0;
}

.ff-footer__list a {
	color: rgb(255 255 255 / 0.92);
	font-weight: var(--ff-weight-semibold);
	text-decoration: none;
	transition: color var(--ff-dur-fast) var(--ff-ease);
}

.ff-footer__list a:hover,
.ff-footer__list a:focus-visible {
	color: var(--ff-accent);
}

/* ----- delivery-areas bullets ----- */

.ff-footer__list--bullets li {
	position: relative;
	padding-inline-start: 16px;
}

.ff-footer__list--bullets li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.7em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ff-accent);
	flex-shrink: 0;
}

.ff-footer__cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: var(--ff-space-2);
	color: var(--ff-accent);
	font-weight: var(--ff-weight-semibold);
	font-size: var(--ff-text-sm);
	text-decoration: none;
	transition: color var(--ff-dur-fast) var(--ff-ease);
}

.ff-footer__cta:hover,
.ff-footer__cta:focus-visible {
	color: #ffffff;
}

/* ----- numbered order-process steps ----- */

.ff-footer__step {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: rgb(255 255 255 / 0.88);
}

.ff-step-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1.5px solid var(--ff-accent);
	background: transparent;
	color: var(--ff-accent);
	font-size: 12px;
	font-weight: var(--ff-weight-bold);
	flex-shrink: 0;
	margin-top: 1px;
	font-feature-settings: "tnum" 1;
}

.ff-footer__step-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

body.kabuliwala .ff-footer__step strong {
	display: block;
	color: #ffffff;
	font-weight: var(--ff-weight-bold);
	font-size: var(--ff-text-base);
	line-height: 1.35;
}

.ff-footer__step-desc {
	display: block;
	color: rgb(255 255 255 / 0.68);
	font-size: var(--ff-text-sm);
	line-height: 1.45;
}

/* ----- contact ----- */

.ff-footer__list--contact {
	gap: var(--ff-space-4);
}

.ff-footer__contact {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	color: #ffffff;
	font-weight: var(--ff-weight-semibold);
	text-decoration: none;
	line-height: 1.45;
}

.ff-footer__contact--static {
	font-weight: var(--ff-weight-medium);
	color: rgb(255 255 255 / 0.88);
}

.ff-footer__contact:hover,
.ff-footer__contact:focus-visible {
	color: var(--ff-accent);
}

.ff-footer__contact-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	color: var(--ff-accent);
}

body.kabuliwala .ff-footer__contact-icon svg {
	width: 16px;
	height: 16px;
	max-width: none;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	display: block;
}

.ff-footer__contact-text {
	min-width: 0;
}

.ff-footer__hours {
	color: rgb(255 255 255 / 0.65);
	font-size: var(--ff-text-sm);
}

/* ----- bottom strip ----- */

.ff-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding-top: var(--ff-space-6);
	margin-top: var(--ff-space-2);
	border-top: 1px solid rgb(255 255 255 / 0.14);
	text-align: center;
	color: rgb(255 255 255 / 0.62);
	font-size: var(--ff-text-sm);
}

.ff-footer__bottom p {
	margin: 0;
}

body.kabuliwala .ff-footer__bottom strong {
	color: rgb(255 255 255 / 0.85);
	font-weight: var(--ff-weight-semibold);
}

body.kabuliwala .ff-footer__bottom a.ff-footer__credit-link,
body.kabuliwala .ff-footer__bottom a.ff-footer__credit-link:visited {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.kabuliwala .ff-footer__bottom a.ff-footer__credit-link:hover,
body.kabuliwala .ff-footer__bottom a.ff-footer__credit-link:focus-visible {
	color: var(--ff-accent);
}

/* =========================================================================
 * Footer typography lock — every <strong> and <span> in the footer renders
 * at 13px. Headings (h1–h6) are explicitly NOT targeted: column titles, the
 * brand tagline (an <h3>), and any future heading inside the footer keep
 * their component-defined sizes. Selector specificity wins over the local
 * step/desc rules above so this single block is enough.
 * ========================================================================= */
body.kabuliwala .site-footer strong,
body.kabuliwala .site-footer span {
	font-size: 13px;
}
