/**
 * Site footer — main sage green + gold (matches homepage sections).
 */

#rs-footer.etqan-has-custom-footer {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
}

#rs-footer.etqan-has-custom-footer .footer-top,
#rs-footer.etqan-has-custom-footer .footer-bottom {
	display: none !important;
}

.etqan-footer {
	--ef-sage: var(--etqan-color-sage, #3f5b2d);
	--ef-sage-dark: var(--etqan-color-sage-dark, #354d26);
	--ef-sage-deep: #2a3d20;
	--ef-gold: var(--etqan-color-accent, #c8a96e);
	--ef-gold-light: var(--etqan-color-accent-light, #d4b97e);
	--ef-text: rgba(255, 255, 255, 0.92);
	--ef-text-muted: rgba(255, 255, 255, 0.72);
	--ef-text-dim: rgba(255, 255, 255, 0.55);
	--ef-border: rgba(200, 169, 110, 0.35);

	display: block;
	width: 100%;
	direction: rtl;
	font-family: "Cairo", "Tajawal", sans-serif;
	background: transparent;
	overflow: hidden;
	position: relative;
}

.etqan-footer::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--ef-gold) 20%,
		var(--ef-gold-light) 50%,
		var(--ef-gold) 80%,
		transparent 100%
	);
	pointer-events: none;
	z-index: 2;
}

/* Shared centered shell — matches navbar container rhythm */
.etqan-footer .ef-shell {
	width: 100%;
	max-width: var(--etqan-footer-grid-max, 1240px);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 3.5vw, 2rem);
	box-sizing: border-box;
}

/* CTA bar */
.etqan-footer .ef-cta-bar {
	background: var(--ef-sage);
	border-bottom: 1px solid var(--ef-border);
	padding-block: clamp(0.9rem, 2vw, 1.1rem);
	padding-inline: 0;
	width: 100%;
}

.etqan-footer .ef-cta-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 20px;
	direction: rtl;
}

.etqan-footer .ef-cta-bar__text {
	font-size: clamp(0.875rem, 1.35vw, 0.975rem);
	font-weight: 500;
	color: var(--ef-text);
	line-height: 1.65;
	margin: 0;
	flex: 1 1 240px;
}

.etqan-footer .ef-cta-bar__text-sep {
	display: inline-block;
	margin-inline: 0.45rem;
	color: var(--ef-gold-light);
	opacity: 0.85;
}

.etqan-footer .ef-cta-bar__text strong {
	color: var(--ef-gold-light);
	font-weight: 700;
}

.etqan-footer .ef-cta-bar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.65rem 1.5rem;
	background: var(--ef-gold);
	color: var(--ef-sage-dark);
	font-size: 0.9375rem;
	font-weight: 700;
	border-radius: 999px;
	text-decoration: none;
	border: 2px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
	transition:
		background var(--etqan-duration-fast, 0.28s) ease,
		transform var(--etqan-duration-fast, 0.28s) ease,
		box-shadow var(--etqan-duration-fast, 0.28s) ease;
	white-space: nowrap;
}

.etqan-footer .ef-cta-bar__btn:hover,
.etqan-footer .ef-cta-bar__btn:focus-visible {
	background: var(--ef-gold-light);
	color: var(--ef-sage-dark);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* Main grid */
.etqan-footer .ef-main {
	background: var(--ef-sage);
	padding-block: clamp(2.5rem, 5vw, 3.25rem);
	padding-inline: 0;
	width: 100%;
}

.etqan-footer .ef-main__layout {
	display: grid;
	grid-template-columns: minmax(22rem, 28rem) minmax(10.5rem, 13.5rem) minmax(0, 1fr);
	align-items: start;
	gap: clamp(1.25rem, 2.2vw, 2rem);
	width: 100%;
	max-width: min(1480px, 100%);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 3vw, 2.25rem);
	box-sizing: border-box;
	direction: rtl;
}

.etqan-footer .ef-main__brand-slot {
	min-width: 0;
	width: 100%;
}

.etqan-footer .ef-main__about {
	min-width: 0;
}

.etqan-footer .ef-main__cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.85rem, 1.6vw, 1.35rem);
	min-width: 0;
	width: 100%;
}

.etqan-footer .ef-nav-col {
	min-width: 0;
}

.etqan-footer .ef-main__brand {
	min-width: 0;
}

.etqan-footer .ef-main__brand-slot .ef-brand__desc {
	max-width: none;
}

/* Brand */
.etqan-footer .ef-brand {
	position: relative;
	padding: clamp(1.15rem, 2vw, 1.45rem);
	padding-inline: clamp(1.15rem, 2vw, 1.45rem) clamp(1rem, 1.8vw, 1.25rem);
	padding-inline-start: clamp(1.35rem, 2.2vw, 1.65rem);
	border: 1px solid var(--ef-border);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	height: 100%;
}

.etqan-footer .ef-brand::before {
	content: "";
	position: absolute;
	top: 18px;
	bottom: 18px;
	inset-inline-start: 0;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: linear-gradient(
		180deg,
		var(--ef-gold-light) 0%,
		var(--ef-gold) 55%,
		#b89655 100%
	);
}

.etqan-footer .ef-brand__title {
	display: block;
	font-size: clamp(1.65rem, 3.2vw, 2.15rem);
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
	margin: 0;
}

.etqan-footer .ef-brand__eyebrow {
	display: block;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(0.68rem, 1.1vw, 0.75rem);
	font-weight: 400;
	color: var(--ef-gold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 8px 0 0;
	line-height: 1.5;
}

.etqan-footer .ef-brand__divider {
	display: block;
	width: min(72px, 28%);
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--ef-gold) 0%,
		var(--ef-gold-light) 100%
	);
	margin: 16px 0 14px;
	border: none;
	border-radius: 999px;
}

.etqan-footer .ef-brand__desc {
	font-size: 0.9375rem;
	line-height: 1.85;
	color: var(--ef-text-muted);
	max-width: 38rem;
	margin: 0;
}

.etqan-footer .ef-brand__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	margin-top: 1.35rem;
}

.etqan-footer .ef-brand__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ef-border);
	border-radius: 999px;
	padding: 0.45rem 0.95rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--ef-text);
	background: rgba(255, 255, 255, 0.08);
	line-height: 1.35;
	text-align: center;
	transition:
		border-color var(--etqan-duration-fast, 0.28s) ease,
		background var(--etqan-duration-fast, 0.28s) ease,
		color var(--etqan-duration-fast, 0.28s) ease;
}

.etqan-footer .ef-brand__badge:hover {
	border-color: rgba(200, 169, 110, 0.75);
	background: rgba(200, 169, 110, 0.14);
	color: #ffffff;
}

/* Nav columns */
.etqan-footer .ef-nav__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--ef-gold);
	margin: 0 0 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--ef-border);
}

.etqan-footer .ef-nav__title::before {
	content: "";
	width: 24px;
	height: 2px;
	background: var(--ef-gold);
	flex-shrink: 0;
}

.etqan-footer .ef-nav__title a {
	color: inherit;
	text-decoration: none;
}

.etqan-footer .ef-nav__title a:hover,
.etqan-footer .ef-nav__title a:focus-visible {
	color: var(--ef-gold-light);
}

.etqan-footer .ef-nav__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
}

.etqan-footer .ef-nav__list li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.etqan-footer .ef-nav__list li::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ef-gold);
	flex-shrink: 0;
	opacity: 0.85;
}

.etqan-footer .ef-nav__list a {
	display: inline-block;
	padding: 0.2rem 0;
	font-size: 0.9375rem;
	color: var(--ef-text-muted);
	text-decoration: none;
	line-height: 1.5;
	transition: color var(--etqan-duration-fast, 0.28s) ease, transform var(--etqan-duration-fast, 0.28s) ease;
}

.etqan-footer .ef-nav__list a:hover,
.etqan-footer .ef-nav__list a:focus-visible {
	color: #ffffff;
	transform: translateX(-2px);
}

[dir="rtl"] .etqan-footer .ef-nav__list a:hover,
[dir="rtl"] .etqan-footer .ef-nav__list a:focus-visible {
	transform: translateX(2px);
}

/* Contact list */
.etqan-footer .ef-contact__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}

.etqan-footer .ef-contact__item {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.9375rem;
	color: var(--ef-text-muted);
	direction: rtl;
	margin: 0;
	padding: 0;
}

/* Contact & branch icons */
.etqan-footer .ef-contact__icon {
	font-size: 15px;
	flex-shrink: 0;
	line-height: 1;
}

.etqan-footer .ef-branch__detail-icon {
	font-size: 13px;
	flex-shrink: 0;
	margin-top: 2px;
	line-height: 1;
}

.etqan-footer .ef-contact__item a {
	color: var(--ef-text-muted);
	text-decoration: none;
	transition: color var(--etqan-duration-fast, 0.28s) ease;
	direction: ltr;
	unicode-bidi: embed;
}

.etqan-footer .ef-contact__item a:hover,
.etqan-footer .ef-contact__item a:focus-visible {
	color: var(--ef-gold-light);
}

/* Branches */
.etqan-footer .ef-branches {
	background: var(--ef-sage-dark);
	border-top: 1px solid var(--ef-border);
	padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
	padding-inline: 0;
	width: 100%;
}

.etqan-footer .ef-branches__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	direction: rtl;
}

.etqan-footer .ef-branch {
	padding: clamp(1.1rem, 2vw, 1.35rem);
	border: 1px solid var(--ef-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	transition:
		border-color var(--etqan-duration-fast, 0.28s) ease,
		transform var(--etqan-duration-fast, 0.28s) ease,
		box-shadow var(--etqan-duration-fast, 0.28s) ease;
}

.etqan-footer .ef-branch:hover {
	border-color: rgba(200, 169, 110, 0.65);
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.etqan-footer .ef-branch__city {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 0.85rem;
	padding: 0;
}

.etqan-footer .ef-branch__city::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	background: var(--ef-gold);
	border-radius: 50%;
	flex-shrink: 0;
	box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.22);
}

.etqan-footer .ef-branch__details {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
}

.etqan-footer .ef-branch__detail {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.875rem;
	color: var(--ef-text-muted);
	line-height: 1.65;
	margin: 0;
	padding: 0;
}

.etqan-footer .ef-branch__detail a {
	color: var(--ef-text-muted);
	text-decoration: none;
	direction: ltr;
	unicode-bidi: embed;
	transition: color var(--etqan-duration-fast, 0.28s) ease;
}

.etqan-footer .ef-branch__detail a:hover,
.etqan-footer .ef-branch__detail a:focus-visible {
	color: var(--ef-gold-light);
}

/* Bottom bar */
.etqan-footer .ef-bottom {
	background: var(--ef-sage-deep);
	border-top: 1px solid rgba(200, 169, 110, 0.22);
	padding-block: clamp(0.95rem, 2vw, 1.15rem);
	padding-inline: 0;
	width: 100%;
}

.etqan-footer .ef-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px 20px;
	direction: rtl;
}

.etqan-footer .ef-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.etqan-footer .ef-bottom .ef-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--ef-border) !important;
	border-radius: 10px;
	color: var(--ef-text-muted) !important;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.04) !important;
	transition:
		border-color var(--etqan-duration-fast, 0.28s) ease,
		background var(--etqan-duration-fast, 0.28s) ease,
		transform var(--etqan-duration-fast, 0.28s) ease;
}

.etqan-footer .ef-bottom .ef-social__icon {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	background: var(--ef-icon-color) !important;
	-webkit-mask: var(--ef-icon) center / contain no-repeat !important;
	mask: var(--ef-icon) center / contain no-repeat !important;
}

.etqan-footer .ef-social__link--x {
	--ef-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.727-8.835L1.254 2.25H8.08l4.253 5.622L18.244 2.25zm-1.161 17.52h1.833L7.084 4.126H5.117L17.083 19.77z'/%3E%3C/svg%3E");
	--ef-icon-color: #ffffff;
}

.etqan-footer .ef-social__link--linkedin {
	--ef-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
	--ef-icon-color: #0a66c2;
}

.etqan-footer .ef-social__link--whatsapp {
	--ef-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E");
	--ef-icon-color: #25d366;
}

.etqan-footer .ef-social__link--facebook {
	--ef-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
	--ef-icon-color: #1877f2;
}

.etqan-footer .ef-social__link--instagram {
	--ef-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z'/%3E%3C/svg%3E");
	--ef-icon-color: linear-gradient(45deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
}

.etqan-footer .ef-social__link--youtube {
	--ef-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
	--ef-icon-color: #ff0000;
}

.etqan-footer .ef-bottom .ef-social__link:hover,
.etqan-footer .ef-bottom .ef-social__link:focus-visible {
	border-color: var(--ef-gold) !important;
	background: rgba(200, 169, 110, 0.12) !important;
	transform: translateY(-2px);
	text-decoration: none;
}

.etqan-footer .ef-bottom__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.35rem;
	align-items: center;
	margin: 0;
	padding: 0;
}

.etqan-footer .ef-bottom .ef-bottom__links a {
	font-size: 0.875rem;
	font-weight: 700 !important;
	color: #ffffff !important;
	text-decoration: none;
	transition: color var(--etqan-duration-fast, 0.28s) ease;
}

.etqan-footer .ef-bottom .ef-bottom__links a:hover,
.etqan-footer .ef-bottom .ef-bottom__links a:focus-visible {
	color: var(--ef-gold-light) !important;
}

.etqan-footer .ef-bottom .ef-bottom__copyright {
	font-size: 0.875rem;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0;
	text-align: end;
}

/* Accessibility */
.etqan-footer a:focus-visible,
.etqan-footer button:focus-visible {
	outline: 2px solid var(--ef-gold);
	outline-offset: 3px;
}

@media (max-width: 1199px) {
	.etqan-footer .ef-main__layout {
		grid-template-columns: minmax(20rem, 1fr) minmax(10rem, 14rem);
	}

	.etqan-footer .ef-main__cats {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.etqan-footer .ef-branches__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.etqan-footer .ef-cta-bar__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.etqan-footer .ef-cta-bar__text {
		flex-basis: auto;
	}

	.etqan-footer .ef-cta-bar__btn {
		width: 100%;
		max-width: 320px;
		margin-inline: auto;
	}

	.etqan-footer .ef-main__layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.etqan-footer .ef-main__cats {
		grid-template-columns: 1fr;
	}

	.etqan-footer .ef-brand__desc {
		max-width: none;
	}

	.etqan-footer .ef-bottom__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.etqan-footer .ef-bottom__copyright {
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.etqan-footer .ef-cta-bar__btn,
	.etqan-footer .ef-branch,
	.etqan-footer .ef-social__link,
	.etqan-footer .ef-nav__list a,
	.etqan-footer .ef-brand__badge {
		transition: none;
	}
}

/* English — LTR footer alignment */
html[lang^="en"] .etqan-footer,
html[lang^="en"] .etqan-footer .ef-main__layout,
html[lang^="en"] .etqan-footer .ef-main__cats,
html[lang^="en"] .etqan-footer .ef-cta-bar__inner,
html[lang^="en"] .etqan-footer .ef-bottom__inner,
html[lang^="en"] .etqan-footer .ef-branches__grid {
	direction: ltr;
}

html[lang^="en"] .etqan-footer .ef-brand__title,
html[lang^="en"] .etqan-footer .ef-brand__eyebrow,
html[lang^="en"] .etqan-footer .ef-brand__desc {
	text-align: start;
	direction: ltr;
	unicode-bidi: plaintext;
}

html[lang^="en"] .etqan-footer .ef-brand::before {
	border-radius: 4px 0 0 4px;
}

html[lang^="en"] .etqan-footer .ef-nav__list a:hover,
html[lang^="en"] .etqan-footer .ef-nav__list a:focus-visible {
	transform: translateX(2px);
}

html[lang^="en"] .etqan-footer .ef-bottom__copyright {
	text-align: end;
}
