/* Batı Ambalaj — site footer.
   Self-contained: loads on every page, so it defines its own tokens rather
   than relying on the landing-page stylesheet. */

.ba-footer {
	/* Corporate palette, taken from the site's own Elementor globals:
	   footer ground #2D3058 (--e-global-color-text), brand #2C2F8E
	   (--e-global-color-primary), muted copy #B9C5D0. No colour outside
	   this set is introduced. */
	--f-deep: #2d3058;
	--f-deeper: #242745;
	--f-primary: #2c2f8e;
	--f-accent: #b9c5d0;
	--f-line: rgba(185,197,208,.22);
	--f-text: #b9c5d0;
	--f-wrap: 1220px;

	font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--f-deep);
	color: #fff;
	font-size: 15px;
	line-height: 1.6;
}

.ba-footer *,
.ba-footer *::before,
.ba-footer *::after { box-sizing: border-box; }

.ba-footer__wrap {
	width: 100%;
	max-width: var(--f-wrap);
	margin-inline: auto;
	padding-inline: 20px;
}

.ba-footer p { margin: 0 0 .8em; }
.ba-footer ul { margin: 0; padding: 0; list-style: none; }
.ba-footer a { text-decoration: none; color: inherit; }

/* ---------- Top CTA ---------- */

.ba-footer__cta {
	padding-block: clamp(30px, 4vw, 46px);
	background: var(--f-primary);
}

.ba-footer__cta-inner {
	display: grid;
	gap: 20px;
	align-items: center;
}

@media (min-width: 900px) {
	.ba-footer__cta-inner { grid-template-columns: 1.5fr auto; gap: 36px; }
}

.ba-footer__cta-title {
	margin: 0 0 .3em;
	font-size: clamp(20px, 2.4vw, 27px);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.ba-footer__cta-text { margin: 0; max-width: 64ch; color: rgba(255,255,255,.88); font-size: 15.5px; }

.ba-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ba-footer__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 26px;
	border: 2px solid transparent;
	border-radius: 50em;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.ba-footer__btn:hover { transform: translateY(-2px); }
.ba-footer .ba-footer__btn--solid { background: #fff; color: var(--f-primary); }
.ba-footer .ba-footer__btn--line  { border-color: rgba(255,255,255,.55); color: #fff; }
.ba-footer .ba-footer__btn--line:hover { background: #fff; color: var(--f-deep); }

/* ---------- Main ---------- */

.ba-footer__main { padding-block: clamp(38px, 5vw, 62px); }

.ba-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 34px 28px;
}

@media (min-width: 620px)  { .ba-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ba-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1240px) {
	.ba-footer__grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)) 1.3fr; }
	.ba-footer__brand { grid-column: span 1; }
}

/* Brand block */
.ba-footer__name { margin: 0 0 .5em; font-size: 20px; font-weight: 700; color: #fff; }
.ba-footer__blurb { color: var(--f-text); font-size: 14.5px; line-height: 1.6; }

/* Each fact is its own tile. Loose text in a bare grid read as drifting
   fragments; a bordered tile gives every figure a clear boundary. */
.ba-footer__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0;
	padding: 0;
}

.ba-footer__facts li {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-width: 0;
	min-height: 74px;
	padding: 12px 14px;
	border: 1px solid var(--f-line);
	border-radius: 10px;
	background: rgba(255,255,255,.04);
}

.ba-footer .ba-footer__facts strong {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: #fff;
}

.ba-footer .ba-footer__facts span {
	font-size: 12.5px;
	line-height: 1.35;
	color: var(--f-text);
}

@media (max-width: 340px) {
	.ba-footer__facts { grid-template-columns: 1fr; }
}

/* Three equal tiles instead of pills that wrapped 2 + 1 */
.ba-footer__social {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.ba-footer .ba-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 6px;
	border: 1px solid var(--f-line);
	border-radius: 10px;
	background: rgba(255,255,255,.04);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	color: #fff;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ba-footer .ba-footer__social a:hover { background: #fff; border-color: #fff; color: var(--f-deep); }

/* Link columns */
.ba-footer__coltitle {
	margin: 0 0 1em;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
}

.ba-footer__col li { margin-bottom: .55em; }

.ba-footer__col a {
	font-size: 14.5px;
	color: var(--f-text);
	transition: color .2s ease, padding-inline-start .2s ease;
}

.ba-footer__col a:hover { color: #fff; padding-inline-start: 4px; }

/* Contact block */
.ba-footer__label {
	margin: 16px 0 4px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(185,197,208,.7);
}

.ba-footer__label:first-of-type { margin-top: 0; }

.ba-footer__link {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 3px;
}

.ba-footer__link:hover { color: var(--f-text); }
.ba-footer .ba-footer__link--wa { color: var(--f-text); }

.ba-footer__addr {
	font-style: normal;
	font-size: 14px;
	line-height: 1.5;
	color: var(--f-text);
	margin-bottom: 8px;
}

/* ---------- Bottom bar ---------- */

.ba-footer__bottom {
	padding-block: 18px;
	border-top: 1px solid var(--f-line);
	background: var(--f-deeper);
}

.ba-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	align-items: center;
	justify-content: space-between;
}

.ba-footer__bottom p { margin: 0; font-size: 13.5px; color: var(--f-text); }

.ba-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ba-footer__legal a { font-size: 13.5px; color: var(--f-text); }
.ba-footer__legal a:hover { color: #fff; text-decoration: underline; }

/* Keep the mobile sticky bar from covering the footer bottom bar */
@media (max-width: 860px) {
	body.ba-has-template .ba-footer__bottom { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.ba-footer * { transition-duration: .01ms !important; }
}

/* ---------- Mobile ---------- */

@media (max-width: 620px) {
	.ba-footer__wrap { padding-inline: 16px; }
	.ba-footer__cta { padding-block: 28px; }
	.ba-footer__cta-title { font-size: 21px; }
	.ba-footer__cta-actions { width: 100%; }
	.ba-footer__cta-actions .ba-footer__btn { flex: 1 1 100%; }
	.ba-footer__main { padding-block: 32px; }
	.ba-footer__grid { gap: 26px 20px; }
	.ba-footer__coltitle { margin-bottom: .8em; }
	.ba-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
	.ba-footer__legal { gap: 6px 16px; }
}

@media (max-width: 400px) {
	.ba-footer__wrap { padding-inline: 14px; }
	.ba-footer__facts li { min-height: 68px; padding: 11px 12px; }
	.ba-footer .ba-footer__facts strong { font-size: 16px; }
	.ba-footer .ba-footer__social a { padding: 9px 4px; font-size: 11.5px; }
}
