/**
 * Alygio reklama — site footer (widget `ar-site-footer` + site-part wrapper).
 *
 * Reference (DESIGN-SPECIFICATION §5.12; re-measured Task 04):
 * - gradient-13, padding section-y / gutter / bbe-90 bottom, text neutral-300;
 * - columns: row, space-between, stretch, gap 40px; brand column basis 25%
 *   (column, space-between, gap bbe-90): logo (280px image or text logo),
 *   mission 16/27.2, social icons 24px white, 20px apart, hover scale 1.1;
 * - link columns: 1px primary-800 left line + 28px padding; title 17/21.25
 *   600 primary-500; list 28px below, 16px apart, links 16/27.2 white;
 * - contact: phone 24/26.4 white, hours 13/19.5 neutral-500 4px below,
 *   e-mail and address 16/24;
 * - bottom bar section-y below, 14/23.8 neutral-500, space-between, wraps;
 * - ≤1100: columns stack (gap bbe-110), brand full width.
 */

.ar-site-footer > .elementor > .e-con,
.ar-site-footer .elementor-widget-ar-site-footer {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
}

.ar-footer {
	box-sizing: border-box;
	padding: var(--ar-section-padding-y) var(--ar-gutter) var(--ar-space-90);
	background: var(--ar-gradient-footer);
	color: var(--ar-neutral-300);
}

.ar-footer__columns {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 40px;
}

.ar-footer__brand {
	display: flex;
	flex: 0 1 25%;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--ar-space-90);
	min-width: 0;
}

/* Without the social row, keep the mission text under the logo instead of
   pushing it to the bottom of a tall column. */
.ar-footer__brand--no-social {
	justify-content: flex-start;
}

.ar-footer .ar-footer__logo,
.ar-footer .ar-footer__logo:visited {
	display: block;
	max-width: 280px;
	color: var(--ar-neutral-000);
	text-decoration: none;
}

.ar-footer__logo img {
	display: block;
	width: 280px;
	max-width: 100%;
	height: auto;
}

.ar-footer__logo-text {
	display: block;
	/* Temporary text logo, scaled like the reference logo (280px footer vs
	   170px header, header text logo = title-5). */
	font-size: calc(var(--ar-font-size-title-5) * 280 / 170);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: var(--ar-letter-spacing-tight);
}

.ar-footer .ar-footer__mission {
	margin: 0;
	color: var(--ar-neutral-300);
	font-size: var(--ar-font-size-md);
	line-height: var(--ar-line-height-body);
}

.ar-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
}

.ar-footer__social li {
	transition: transform var(--ar-transition-fast);
}

.ar-footer__social li:hover {
	transform: scale(1.1);
}

.ar-footer .ar-footer__social-link,
.ar-footer .ar-footer__social-link:visited {
	display: block;
	color: var(--ar-neutral-000);
	text-decoration: none;
}

.ar-footer__social-icon {
	display: block;
	width: 24px;
	height: 24px;
}

.ar-footer__col {
	padding-left: 28px;
	border-left: var(--ar-border-width) solid var(--ar-primary-800);
}

.ar-footer .ar-footer__title {
	margin: 0;
	color: var(--ar-primary-500);
	font-size: var(--ar-font-size-body);
	font-weight: 600;
	line-height: 1.25;
}

.ar-footer__nav,
.ar-footer .ar-footer__contact {
	margin-top: 28px;
}

.ar-footer__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.ar-footer .ar-footer__link,
.ar-footer .ar-footer__link:visited {
	color: var(--ar-neutral-000);
	font-size: var(--ar-font-size-md);
	line-height: var(--ar-line-height-body);
	text-decoration: none;
	transition: color var(--ar-transition-fast);
}

.ar-footer a.ar-footer__link:hover {
	color: var(--ar-primary-300);
}

.ar-footer .ar-footer__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	font-style: normal;
}

.ar-footer__phone-block {
	display: flex;
	flex-direction: column;
}

.ar-footer .ar-footer__phone,
.ar-footer .ar-footer__phone:visited {
	color: var(--ar-neutral-000);
	font-size: var(--ar-font-size-title-5);
	line-height: 1.1;
	text-decoration: none;
}

.ar-footer__hours {
	margin-top: 4px;
	color: var(--ar-neutral-500);
	font-size: 13px;
	line-height: 1.5;
}

.ar-footer .ar-footer__line,
.ar-footer .ar-footer__line:visited {
	color: var(--ar-neutral-300);
	font-size: var(--ar-font-size-md);
	line-height: 1.5;
	text-decoration: none;
}

.ar-footer a.ar-footer__phone:hover,
.ar-footer a.ar-footer__line:hover {
	color: var(--ar-primary-300);
}

.ar-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: var(--ar-section-padding-y);
	color: var(--ar-neutral-500);
	font-size: var(--ar-font-size-xs);
	line-height: var(--ar-line-height-body);
}

.ar-footer__bottom p {
	margin: 0;
}

@media (max-width: 1100px) {

	.ar-footer__columns {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: var(--ar-space-110);
	}

	.ar-footer__brand {
		flex-basis: auto;
		align-self: stretch;
	}
}
