/* Afarin Store — Site footer */

.site-footer {
	position: relative;
	margin-top: auto;
	overflow: hidden;
	color: #e2e8f0;
	background:
		radial-gradient(circle at 0% 100%, rgba(46, 184, 201, 0.08), transparent 38%),
		radial-gradient(circle at 100% 0%, rgba(184, 61, 82, 0.1), transparent 42%),
		linear-gradient(180deg, #0f172a 0%, #111827 48%, #0b1220 100%);
}

/* ── FEATURES STRIP ── */
.site-footer__features {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.02);
	padding-top: 8px;
}

.site-footer__features-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding-block: 20px;
}

.site-footer__feature {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.site-footer__feature:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(46, 184, 201, 0.25);
	transform: translateY(-2px);
}

.site-footer__feature-icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(46, 184, 201, 0.2), rgba(46, 184, 201, 0.06));
	color: #5eead4;
}

.site-footer__feature-icon svg {
	width: 20px;
	height: 20px;
}

.site-footer__feature-text {
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.6;
	color: #f1f5f9;
}

/* ── MAIN GRID ── */
.site-footer__main {
	padding: 52px 0 44px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr 1.05fr 0.85fr 0.95fr;
	gap: 36px 28px;
	align-items: start;
}

.site-footer__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	font-size: 0.95rem;
	font-weight: 900;
	color: #fff;
}

.site-footer__heading-dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--af-primary, #2eb8c9), #5eead4);
	box-shadow: 0 0 12px rgba(46, 184, 201, 0.55);
}

/* Brand */
.site-footer__col--brand {
	max-width: 440px;
}

.site-footer__logo {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 20px;
	text-decoration: none;
	color: inherit;
}

.site-footer__logo-frame {
	display: grid;
	place-items: center;
	padding: 10px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.site-footer__logo:hover .site-footer__logo-frame {
	transform: translateY(-2px);
	border-color: rgba(46, 184, 201, 0.35);
}

.site-footer__logo img {
	width: 88px;
	height: auto;
	border-radius: 14px;
}

.site-footer__logo-name {
	font-size: 1.05rem;
	font-weight: 900;
	color: #fff;
}

.site-footer__tagline {
	display: block;
	margin-top: 4px;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.5;
	color: #94a3b8;
}

.site-footer__about {
	margin: 0;
	color: #94a3b8;
	font-size: 0.86rem;
	line-height: 1.95;
	text-align: justify;
}

/* Branches */
.site-footer__branches {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.site-footer__branch {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.site-footer__branch:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(46, 184, 201, 0.2);
}

.site-footer__branch-icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(46, 184, 201, 0.12);
	color: #5eead4;
}

.site-footer__branch-icon svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.site-footer__branch-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.site-footer__branch-title {
	font-size: 0.88rem;
	font-weight: 800;
	color: #f8fafc;
}

.site-footer__branch-address {
	font-size: 0.8rem;
	line-height: 1.7;
	color: #94a3b8;
}

/* Links */
.site-footer__menu {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 4px 0;
	color: #94a3b8;
	font-size: 0.86rem;
	font-weight: 600;
	transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__menu a::before {
	content: "";
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(46, 184, 201, 0.35);
	transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer__menu a:hover {
	color: #fff;
	transform: translateX(-4px);
}

.site-footer__menu a:hover::before {
	background: var(--af-primary, #2eb8c9);
	transform: scale(1.2);
}

[dir="ltr"] .site-footer__menu a:hover {
	transform: translateX(4px);
}

/* Contact */
.site-footer__col--contact .site-footer__heading {
	margin-bottom: 14px;
}

.site-footer__contacts {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 20px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.03);
}

.site-footer__phone {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 0;
	padding: 13px 14px;
	margin-bottom: 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 0;
	background: transparent;
	text-decoration: none;
	transition: background 0.2s ease;
}

.site-footer__phone:last-child {
	border-bottom: 0;
}

.site-footer__phone:hover {
	background: rgba(255, 255, 255, 0.06);
	transform: none;
}

.site-footer__phone-icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: rgba(46, 184, 201, 0.14);
	color: #67e8f9;
}

.site-footer__phone-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.site-footer__phone-text {
	display: flex;
	flex: 1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
}

.site-footer__phone-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: #cbd5e1;
	line-height: 1.3;
	white-space: nowrap;
}

.site-footer__phone-number {
	font-size: 0.84rem;
	font-weight: 800;
	color: #f8fafc;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	direction: ltr;
	text-align: end;
}

.site-footer__phone-arrow {
	display: none;
}

.site-footer__phone--instagram .site-footer__phone-icon {
	background: rgba(225, 48, 108, 0.14);
	color: #f9a8d4;
}

.site-footer__phone--instagram:hover {
	background: rgba(225, 48, 108, 0.08);
}

.site-footer__trust {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.site-footer__trust-label {
	font-size: 0.72rem;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.site-footer__enamad,
.site-footer__trust a,
.site-footer__enamad-link {
	display: inline-flex;
	padding: 10px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-footer__enamad:hover,
.site-footer__trust a:hover,
.site-footer__enamad-link:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.site-footer__enamad img,
.site-footer__trust img,
.site-footer__enamad-link img {
	display: block;
	width: 86px;
	height: auto;
	border-radius: 8px;
}

/* ── BOTTOM ── */
.site-footer__bottom {
	padding: 20px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(0, 0, 0, 0.22);
}

.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.site-footer__copy {
	margin: 0;
	color: #64748b;
	font-size: 0.82rem;
	line-height: 1.7;
	text-align: center;
}

.site-footer__copy a {
	color: #cbd5e1;
	font-weight: 800;
	transition: color 0.2s ease;
}

.site-footer__copy a:hover {
	color: var(--af-primary, #2eb8c9);
}

.site-footer__copy-sep {
	margin-inline: 10px;
	opacity: 0.35;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__col--brand {
		grid-column: 1 / -1;
		max-width: none;
	}
}

@media (max-width: 767px) {
	.site-footer__features-inner {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.site-footer__copy {
		text-align: center;
	}

	.site-footer__main {
		padding: 40px 0 32px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.site-footer__about {
		text-align: start;
	}

	.site-footer__trust {
		align-items: center;
		width: 100%;
	}

	.site-footer__contacts {
		gap: 0;
	}

	.site-footer__phone-text {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.site-footer__phone-number {
		text-align: start;
	}
}
