/* ═══════════════════════════════════════════════════════════════════
   ARFEKTA – poraštė (footer)

   Trys dizaino variantai kaip klasės ant <footer>:
     .arf-footer--a  tamsus gradientas + oranžinės akcentinės linijos
     .arf-footer--b  šviesus, minimalistinis
     .arf-footer--c  kontrastingas, oranžinė viršutinė juosta, kortelės

   Taisyklės:
   - jokio 100vw (horizontalus scroll'as)
   - animacijos tik transform / opacity
   - prefers-reduced-motion išjungia judesį
   ═══════════════════════════════════════════════════════════════════ */

:root {
	--arf-orange: #f37a1f;
	--arf-orange-dark: #d35400;
	--arf-dark: #2b3444;
	--arf-dark-2: #1d242f;
}

/* ── Bendra bazė ─────────────────────────────────────────────────── */

.arf-footer,
.arf-footer * {
	box-sizing: border-box;
}

.arf-footer {
	position: relative;
	overflow: hidden; /* dekoratyvinės formos neišstumia puslapio */
	/* Jokio margin-top: pagrindiniame puslapyje virš poraštės eina
	   tamsus CTA blokas, ir 48px tarpas tarp jų atrodydavo kaip balta
	   juosta. Tarpą, kur jo reikia, duoda .arf-main padding-bottom. */
	margin-top: 0;
	font-size: 15px;
	line-height: 1.6;
	/* apačioje plaukioja skambinimo mygtukas, sutarties atsisakymas ir sticky CTA */
	padding-bottom: 16px;
}

.arf-container {
	width: 100%;
	padding-inline: 15px;
}

.arf-footer a {
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.arf-footer h2.arf-col__title {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* Widget'ai, kurie patenka į stulpelius, atrodo kaip nuorodų sąrašai */
.arf-footer .widget {
	margin: 0 0 18px;
}

.arf-footer .widget-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.arf-footer .widget ul,
.arf-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.arf-footer .widget li,
.arf-links li {
	margin: 0 0 8px;
}

/* ── Viršutinė pasitikėjimo juosta ───────────────────────────────── */

.arf-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 26px 0;
	list-style: none;
}

.arf-trust__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.arf-trust__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	transition: transform .25s ease;
}

.arf-trust__item:hover .arf-trust__icon {
	transform: translateY(-2px);
}

.arf-trust__txt {
	display: block;
}

.arf-trust__txt strong {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
}

.arf-trust__txt span {
	display: block;
	font-size: 13px;
	opacity: .75;
}

/* ── Vidurinė dalis ──────────────────────────────────────────────── */

.arf-footer__main {
	padding: 36px 0 30px;
}

.arf-footer__grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr 1fr;
	gap: 32px;
}

.arf-footer__promo-grid,
.arf-footer__bottom-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	padding-block: 20px;
}

.arf-contact {
	margin: 0 0 12px;
	font-style: normal;
}

.arf-contact__row {
	margin: 0 0 12px;
}

.arf-contact__label {
	display: block;
	margin-bottom: 2px;
	font-size: 12px;
	letter-spacing: .07em;
	text-transform: uppercase;
	opacity: .6;
}

.arf-contact__link--tel {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .01em;
}

.arf-note {
	margin: 12px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	opacity: .65;
}

.arf-hours {
	margin: 0 0 16px;
}

.arf-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
}

.arf-hours__row dt {
	font-weight: 700;
}

.arf-hours__row dd {
	margin: 0;
}

.arf-hours__row--off dd {
	opacity: .55;
}

.arf-map-link {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
}

.arf-map-link__icon {
	display: inline-flex;
}

/* ── Apatinė juosta ──────────────────────────────────────────────── */

.arf-footer__bottom-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 26px;
	align-items: center;
	justify-content: space-between;
	padding-block: 18px;
}

.arf-copy {
	margin: 0;
	font-size: 13px;
	opacity: .7;
}

.arf-bottom-menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.arf-bottom-menu .widget,
.arf-bottom-menu li {
	margin: 0;
}

.arf-bottom-menu .widget-title {
	display: none;
}

.arf-pay {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.arf-pay__item {
	padding: 5px 11px;
	border-radius: 6px;
	font-size: 11.5px;
	letter-spacing: .03em;
	white-space: nowrap;
}

.arf-social {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.arf-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.arf-social a:hover {
	transform: translateY(-2px);
}

/* ── Dekoratyvinės formos (tik transform / opacity) ──────────────── */

.arf-footer__deco {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.arf-footer__shape {
	position: absolute;
	display: block;
	border-radius: 50%;
	opacity: 0;
	will-change: transform;
}

.arf-footer__shape--1 {
	top: -120px;
	left: -80px;
	width: 340px;
	height: 340px;
}

.arf-footer__shape--2 {
	right: -60px;
	bottom: -140px;
	width: 420px;
	height: 420px;
}

.arf-footer__shape--3 {
	top: 40%;
	left: 55%;
	width: 220px;
	height: 220px;
}

@keyframes arf-drift-a {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	50%      { transform: translate3d(24px, -18px, 0) scale(1.06); }
}

@keyframes arf-drift-b {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	50%      { transform: translate3d(-28px, 16px, 0) scale(1.08); }
}

/* ═══ VARIANTAS A – tamsus gradientas, oranžinės akcentinės linijos ═ */

.arf-footer--a {
	background: linear-gradient(160deg, var(--arf-dark) 0%, var(--arf-dark-2) 100%);
	color: #d8dee8;
}

.arf-footer--a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--arf-orange), var(--arf-orange-dark) 55%, transparent);
}

.arf-footer--a .arf-footer__shape {
	filter: blur(70px);
	opacity: .28;
}

.arf-footer--a .arf-footer__shape--1 {
	background: var(--arf-orange);
	animation: arf-drift-a 26s ease-in-out infinite;
}

.arf-footer--a .arf-footer__shape--2 {
	background: #3c6ea5;
	animation: arf-drift-b 32s ease-in-out infinite;
}

.arf-footer--a .arf-footer__shape--3 {
	background: var(--arf-orange-dark);
	opacity: .16;
	animation: arf-drift-a 38s ease-in-out infinite;
}

.arf-footer--a .arf-footer__trust,
.arf-footer--a .arf-footer__promo,
.arf-footer--a .arf-footer__bottom {
	position: relative;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.arf-footer--a .arf-footer__trust {
	border-top: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.arf-footer--a .arf-footer__main {
	position: relative;
}

.arf-footer--a .arf-trust__icon {
	background: rgba(243, 122, 31, .14);
	color: var(--arf-orange);
}

.arf-footer--a h2.arf-col__title,
.arf-footer--a .widget-title {
	position: relative;
	padding-bottom: 10px;
	color: #fff;
}

.arf-footer--a h2.arf-col__title::after,
.arf-footer--a .widget-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 34px;
	height: 2px;
	background: var(--arf-orange);
}

.arf-footer--a a {
	color: #c3ccda;
}

.arf-footer--a a:hover {
	color: var(--arf-orange);
}

.arf-footer--a .arf-contact__link--tel {
	color: #fff;
}

.arf-footer--a .arf-hours__row {
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.arf-footer--a .arf-map-link {
	border: 1px solid rgba(243, 122, 31, .5);
	color: var(--arf-orange);
}

.arf-footer--a .arf-map-link:hover {
	background: var(--arf-orange);
	color: #fff;
}

.arf-footer--a .arf-pay__item {
	border: 1px solid rgba(255, 255, 255, .12);
	color: #aab4c2;
}

.arf-footer--a .arf-social a {
	background: rgba(255, 255, 255, .07);
	color: #d8dee8;
}

.arf-footer--a .arf-social a:hover {
	background: var(--arf-orange);
	color: #fff;
}

/* ═══ VARIANTAS B – šviesus, minimalistinis ═══════════════════════ */

.arf-footer--b {
	background: linear-gradient(180deg, #fff 0%, #f6f7f9 100%);
	color: #4b5566;
	border-top: 1px solid #e7e9ee;
}

.arf-footer--b .arf-footer__shape {
	filter: blur(90px);
	opacity: .12;
}

.arf-footer--b .arf-footer__shape--1 {
	background: var(--arf-orange);
	animation: arf-drift-a 34s ease-in-out infinite;
}

.arf-footer--b .arf-footer__shape--2 {
	background: #9db4cc;
	animation: arf-drift-b 40s ease-in-out infinite;
}

.arf-footer--b .arf-footer__shape--3 {
	display: none;
}

.arf-footer--b .arf-footer__trust {
	position: relative;
	border-bottom: 1px solid #e7e9ee;
}

.arf-footer--b .arf-trust {
	padding: 32px 0;
}

.arf-footer--b .arf-trust__item {
	position: relative;
	padding-right: 20px;
}

.arf-footer--b .arf-trust__item + .arf-trust__item {
	border-left: 1px solid #e7e9ee;
	padding-left: 20px;
}

.arf-footer--b .arf-trust__icon {
	width: 34px;
	height: 34px;
	background: none;
	border-radius: 0;
	color: var(--arf-orange);
}

.arf-footer--b .arf-footer__main,
.arf-footer--b .arf-footer__promo,
.arf-footer--b .arf-footer__bottom {
	position: relative;
}

.arf-footer--b .arf-footer__main {
	padding: 52px 0 44px;
}

.arf-footer--b .arf-footer__grid {
	gap: 44px;
}

.arf-footer--b h2.arf-col__title,
.arf-footer--b .widget-title {
	color: var(--arf-dark);
	font-size: 12.5px;
	letter-spacing: .12em;
}

.arf-footer--b a {
	color: #566071;
}

.arf-footer--b a:hover {
	color: var(--arf-orange);
}

.arf-footer--b .arf-links li a {
	position: relative;
	display: inline-block;
}

.arf-footer--b .arf-links li a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background: var(--arf-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}

.arf-footer--b .arf-links li a:hover::after {
	transform: scaleX(1);
}

.arf-footer--b .arf-contact__link--tel {
	color: var(--arf-dark);
	font-size: 18px;
}

.arf-footer--b .arf-hours__row {
	border-bottom: 1px solid #ebedf1;
	padding: 8px 0;
}

.arf-footer--b .arf-map-link {
	padding-inline: 0;
	border-radius: 0;
	border-bottom: 1px solid var(--arf-orange);
	color: var(--arf-orange);
}

.arf-footer--b .arf-map-link:hover {
	color: var(--arf-orange-dark);
	border-color: var(--arf-orange-dark);
}

.arf-footer--b .arf-footer__bottom {
	border-top: 1px solid #e7e9ee;
}

.arf-footer--b .arf-pay__item {
	background: #fff;
	border: 1px solid #e7e9ee;
	color: #78818f;
}

.arf-footer--b .arf-social a {
	border: 1px solid #e0e3e9;
	color: #6a7382;
}

.arf-footer--b .arf-social a:hover {
	border-color: var(--arf-orange);
	color: var(--arf-orange);
}

/* ═══ VARIANTAS C – kontrastingas, oranžinė juosta, kortelės ══════ */

.arf-footer--c {
	background: #171d26;
	color: #c8d0dc;
}

.arf-footer--c .arf-footer__shape {
	filter: blur(80px);
	opacity: .2;
}

.arf-footer--c .arf-footer__shape--1 {
	background: var(--arf-orange-dark);
	animation: arf-drift-b 30s ease-in-out infinite;
}

.arf-footer--c .arf-footer__shape--2 {
	background: #2b3444;
	opacity: .5;
	animation: arf-drift-a 36s ease-in-out infinite;
}

.arf-footer--c .arf-footer__shape--3 {
	background: var(--arf-orange);
	opacity: .12;
	animation: arf-drift-b 44s ease-in-out infinite;
}

.arf-footer--c .arf-footer__trust {
	position: relative;
	background: linear-gradient(90deg, var(--arf-orange) 0%, var(--arf-orange-dark) 100%);
	color: #fff;
}

.arf-footer--c .arf-trust {
	padding: 22px 0;
}

.arf-footer--c .arf-trust__icon {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

.arf-footer--c .arf-trust__txt span {
	opacity: .85;
}

.arf-footer--c .arf-footer__main,
.arf-footer--c .arf-footer__promo,
.arf-footer--c .arf-footer__bottom {
	position: relative;
}

.arf-footer--c .arf-footer__main {
	padding: 40px 0 34px;
}

.arf-footer--c .arf-footer__grid {
	gap: 22px;
}

.arf-footer--c .arf-col,
.arf-footer--c .arf-footer__promo-col,
.arf-footer--c .arf-footer__bottom-col {
	padding: 24px 22px;
	background: linear-gradient(150deg, #222b38 0%, #1b222d 100%);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 14px;
	transition: transform .25s ease, border-color .25s ease;
}

.arf-footer--c .arf-col:hover {
	transform: translateY(-3px);
	border-color: rgba(243, 122, 31, .45);
}

.arf-footer--c h2.arf-col__title,
.arf-footer--c .widget-title {
	color: #fff;
}

.arf-footer--c h2.arf-col__title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.arf-footer--c h2.arf-col__title::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--arf-orange);
	transform: rotate(45deg);
}

.arf-footer--c a {
	color: #b4bdcb;
}

.arf-footer--c a:hover {
	color: var(--arf-orange);
}

.arf-footer--c .arf-contact__link--tel {
	color: #fff;
}

.arf-footer--c .arf-hours__row {
	border-bottom: 1px dashed rgba(255, 255, 255, .1);
}

.arf-footer--c .arf-map-link {
	background: var(--arf-orange);
	color: #fff;
}

.arf-footer--c .arf-map-link:hover {
	background: var(--arf-orange-dark);
	color: #fff;
}

.arf-footer--c .arf-footer__bottom {
	background: #10151c;
}

.arf-footer--c .arf-pay__item {
	background: rgba(255, 255, 255, .05);
	color: #9aa4b3;
}

.arf-footer--c .arf-social a {
	background: rgba(255, 255, 255, .06);
	color: #c8d0dc;
}

.arf-footer--c .arf-social a:hover {
	background: var(--arf-orange);
	color: #fff;
}

/* ── Adaptyvumas ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {

	.arf-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.arf-trust {
		grid-template-columns: 1fr 1fr;
	}

	.arf-footer--b .arf-trust__item + .arf-trust__item {
		border-left: 0;
		padding-left: 0;
	}
}

@media (max-width: 640px) {

	.arf-footer {
		margin-top: 32px;
		/* vieta plaukiojantiems mygtukams: skambinti / sutarties atsisakymas / sticky CTA */
		padding-bottom: 96px;
	}

	.arf-footer__grid,
	.arf-trust {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.arf-footer__main {
		padding: 28px 0 24px;
	}

	.arf-footer__bottom-grid {
		justify-content: flex-start;
	}

	.arf-copy {
		width: 100%;
	}
}

/* ── Judesio mažinimas ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {

	.arf-footer *,
	.arf-footer *::before,
	.arf-footer *::after {
		animation: none !important;
		transition: none !important;
	}

	.arf-footer__shape {
		transform: none !important;
	}
}

/* ═══════════════════════════════════════════════════════════════════
   IKONŲ CENTRAVIMAS IR ANTRAŠČIŲ IKONOS

   Problema: legacy.css nustato html{line-height:1.6} ir img/svg
   vertical-align:middle. Dėl to SVG viduje flex konteinerio gaudavo
   papildomą eilutės aukštį ir atrodė pastumtas žemyn.

   Sprendimas: wrapper'iui line-height:0, SVG – display:block su
   fiksuotais matmenimis. Tada flex centruoja tiksliai.
   ═══════════════════════════════════════════════════════════════════ */

.arf-trust__icon,
.arf-col__ico {
	line-height: 0;
}

.arf-trust__icon svg,
.arf-col__ico svg {
	display: block;
	width: 20px;
	height: 20px;
	vertical-align: middle;
	flex: 0 0 auto;
}

/* Antraščių ikonos – tas pats kvadratėlis kaip pasitikėjimo juostoje */
.arf-col__ico {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 7px;
}

.arf-col__ico svg {
	width: 17px;
	height: 17px;
}

.arf-col__txt {
	display: block;
}

/* ── C variantas ──
   Rombas ::before nebereikalingas – jo vietą užima tikra ikona. */
.arf-footer--c h2.arf-col__title::before {
	content: none;
}

.arf-footer--c .arf-col__ico {
	background: rgb(243 122 31 / .16);
	color: var(--arf-orange);
	transition: background .22s ease, transform .22s ease;
}

.arf-footer--c .arf-footer__col:hover .arf-col__ico {
	background: rgb(243 122 31 / .28);
	transform: translateY(-2px);
}

/* ── A variantas ── */
.arf-footer--a .arf-col__ico {
	background: rgb(243 122 31 / .14);
	color: var(--arf-orange);
}

.arf-footer--a h2.arf-col__title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.arf-footer--a h2.arf-col__title::after {
	display: none;
}

/* ── B variantas ── */
.arf-footer--b .arf-col__ico {
	background: transparent;
	color: var(--arf-orange);
	width: 22px;
	height: 22px;
	border-radius: 0;
}

.arf-footer--b h2.arf-col__title {
	display: flex;
	align-items: center;
	gap: 8px;
}
