@font-face {
	font-display: swap;
	font-family: "Techovier";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/Techovier.woff2") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Techovier";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/Techovier-Bold.woff2") format("woff2");
}

/* ==================================================
   ROOT
================================================== */

.falcon-footer-root {
	--falcon-footer-primary-red: #ED1B30;
	--falcon-footer-dark-red: #AF2224;
	--falcon-footer-black: #010101;
	--falcon-footer-white: #FFFFFF;
	--falcon-footer-light-gray: #C3C3C3;
	--falcon-footer-muted: rgba(255, 255, 255, 0.72);
	--falcon-footer-border: rgba(255, 255, 255, 0.14);

	background: var(--falcon-footer-black);
	color: var(--falcon-footer-white);
	font-family: Arial, Helvetica, sans-serif;
	width: 100%;
}

.falcon-footer-root,
.falcon-footer-root * {
	box-sizing: border-box;
}

/* ==================================================
   MAIN LAYOUT
================================================== */

.falcon-footer-inner {
	align-items: start;
	display: grid;
	gap: clamp(40px, 5vw, 76px);
	grid-template-columns:
		minmax(300px, 1.25fr)
		minmax(160px, 0.6fr)
		minmax(270px, 0.9fr);
	margin: 0 auto;
	max-width: 1280px;
	padding: 36px 28px 30px;
	width: 100%;
}

.falcon-footer-brand,
.falcon-footer-links,
.falcon-footer-contact {
	align-self: start;
	min-width: 0;
}

/* ==================================================
   BRAND
================================================== */

.falcon-footer-logo-wrap {
	margin: 0 0 16px;
}

.falcon-footer-logo,
.falcon-footer-logo a,
.falcon-footer-logo .custom-logo-link {
	align-items: center;
	display: inline-flex;
	line-height: 0;
}

.falcon-footer-root .falcon-footer-logo img,
.falcon-footer-root .falcon-footer-logo .custom-logo,
.falcon-footer-root .custom-logo-link img {
	display: block;
	height: auto;
	margin: 0;
	max-height: 92px;
	max-width: 165px;
	object-fit: contain;
	width: auto;
}

.falcon-footer-site-name {
	color: var(--falcon-footer-white);
	display: inline-block;
	font-family: "Techovier", Arial, sans-serif;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
}

.falcon-footer-site-name:focus,
.falcon-footer-site-name:hover {
	color: var(--falcon-footer-primary-red);
}

/*
 * الاسم القانوني والجملة التسويقية عاملين طول وتكرار كبير.
 * الأفضل حذفهما من PHP لاحقًا، لكن إخفاؤهما هنا آمن حاليًا.
 */
.falcon-footer-legal-name,
.falcon-footer-brand-line {
	display: none;
}

.falcon-footer-description {
	color: var(--falcon-footer-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
	max-width: 350px;
}

.falcon-footer-group {
	color: var(--falcon-footer-light-gray);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	margin: 12px 0 0;
}

/* ==================================================
   HEADINGS
================================================== */

.falcon-footer-heading {
	color: var(--falcon-footer-white);
	font-family: "Techovier", Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	margin: 0 0 14px;
}

/* ==================================================
   LINKS
================================================== */

.falcon-footer-link-list,
.falcon-footer-bottom-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.falcon-footer-link-list {
	display: grid;
	gap: 8px;
}

.falcon-footer-link,
.falcon-footer-bottom-link {
	color: var(--falcon-footer-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
	transition: color 160ms ease;
}

.falcon-footer-link:focus,
.falcon-footer-link:hover,
.falcon-footer-bottom-link:focus,
.falcon-footer-bottom-link:hover {
	color: var(--falcon-footer-primary-red);
}

/* ==================================================
   CONTACT
================================================== */

.falcon-footer-address {
	display: grid;
	font-style: normal;
	gap: 9px;
	margin: 0;
}

.falcon-footer-contact-row {
	display: grid;
	gap: 2px;
}

.falcon-footer-contact-label {
	color: var(--falcon-footer-light-gray);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.3;
}

.falcon-footer-contact-text,
.falcon-footer-contact-link {
	color: var(--falcon-footer-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	transition: color 160ms ease;
	overflow-wrap: anywhere;
}

.falcon-footer-contact-link:focus,
.falcon-footer-contact-link:hover {
	color: var(--falcon-footer-primary-red);
}

/* ==================================================
   ACTION BUTTONS
================================================== */

.falcon-footer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 15px;
}

.falcon-footer-action {
	align-items: center;
	border: 1px solid transparent;
	color: var(--falcon-footer-white);
	display: inline-flex;
	font-family: "Techovier", Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 40px;
	padding: 9px 16px;
	text-decoration: none;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease;
	white-space: nowrap;
}

.falcon-footer-action-primary {
	background: var(--falcon-footer-primary-red);
	border-color: var(--falcon-footer-primary-red);
}

.falcon-footer-action-primary:focus,
.falcon-footer-action-primary:hover {
	background: var(--falcon-footer-dark-red);
	border-color: var(--falcon-footer-dark-red);
	color: var(--falcon-footer-white);
}

.falcon-footer-action-secondary {
	background: transparent;
	border-color: var(--falcon-footer-border);
}

.falcon-footer-action-secondary:focus,
.falcon-footer-action-secondary:hover {
	border-color: var(--falcon-footer-primary-red);
	color: var(--falcon-footer-primary-red);
}

/* ==================================================
   ACCESSIBILITY
================================================== */

.falcon-footer-link:focus-visible,
.falcon-footer-contact-link:focus-visible,
.falcon-footer-action:focus-visible,
.falcon-footer-site-name:focus-visible,
.falcon-footer-bottom-link:focus-visible {
	outline: 2px solid var(--falcon-footer-primary-red);
	outline-offset: 4px;
}

/* ==================================================
   BOTTOM BAR
================================================== */

.falcon-footer-bottom {
	border-top: 1px solid var(--falcon-footer-border);
}

.falcon-footer-bottom-inner {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1280px;
	padding: 14px 28px;
	width: 100%;
}

.falcon-footer-copyright {
	color: var(--falcon-footer-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
}

.falcon-footer-bottom-list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	justify-content: flex-end;
}

.falcon-footer-bottom-link {
	font-size: 13px;
}

.falcon-footer-admin-message {
	color: var(--falcon-footer-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1024px) {
	.falcon-footer-inner {
		gap: 30px 44px;
		grid-template-columns:
			minmax(0, 0.85fr)
			minmax(0, 1.15fr);
		padding: 32px 24px 28px;
	}

	.falcon-footer-brand {
		grid-column: 1 / -1;
	}

	.falcon-footer-root .falcon-footer-logo img,
	.falcon-footer-root .falcon-footer-logo .custom-logo,
	.falcon-footer-root .custom-logo-link img {
		max-height: 82px;
		max-width: 150px;
	}

	.falcon-footer-description {
		max-width: 520px;
	}

	.falcon-footer-link-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.falcon-footer-bottom-inner {
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 640px) {
	.falcon-footer-inner {
		gap: 22px;
		grid-template-columns: 1fr;
		padding: 28px 18px 24px;
	}

	.falcon-footer-brand {
		grid-column: auto;
		order: 1;
	}

	.falcon-footer-contact {
		order: 2;
	}

	.falcon-footer-links {
		order: 3;
	}

	.falcon-footer-root .falcon-footer-logo img,
	.falcon-footer-root .falcon-footer-logo .custom-logo,
	.falcon-footer-root .custom-logo-link img {
		max-height: 74px;
		max-width: 135px;
	}

	.falcon-footer-logo-wrap {
		margin-bottom: 12px;
	}

	.falcon-footer-description {
		font-size: 13px;
		line-height: 1.5;
		max-width: 420px;
	}

	.falcon-footer-group {
		font-size: 12px;
		margin-top: 9px;
	}

	.falcon-footer-heading {
		font-size: 15px;
		margin-bottom: 11px;
	}

	.falcon-footer-link-list {
		gap: 9px 14px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.falcon-footer-link,
	.falcon-footer-contact-text,
	.falcon-footer-contact-link {
		font-size: 13px;
	}

	.falcon-footer-contact-label {
		font-size: 11px;
	}

	.falcon-footer-actions {
		gap: 8px;
		margin-top: 14px;
	}

	.falcon-footer-action {
		flex: 1 1 calc(50% - 4px);
		min-height: 39px;
		padding: 9px 11px;
	}

	.falcon-footer-bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		padding: 13px 18px 14px;
	}

	.falcon-footer-bottom-list {
		gap: 7px 16px;
		justify-content: flex-start;
	}

	.falcon-footer-copyright,
	.falcon-footer-bottom-link {
		font-size: 12px;
	}
}

/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 380px) {
	.falcon-footer-action {
		flex-basis: 100%;
	}

	.falcon-footer-link-list {
		grid-template-columns: 1fr 1fr;
	}
}