/* Footer v2 — flat, three bands separated by hairlines. No cards, no boxes. */

.footer-v2 {
	/* footer.css is still loaded alongside this file, so neutralise its bare `footer` padding. */
	padding: 0;
	background: var(--footer-bg-color);
	color: #fff;
	--fv-line: rgba(255, 255, 255, 0.1);
	--fv-muted: #979797;
}

.footer-v2 a {
	text-decoration: none;
}

/* One visible focus ring for every interactive element in the footer — the UA
   default is hard to see on the dark background. */
.footer-v2 a:focus-visible,
.footer-v2 button:focus-visible,
.footer-v2 input:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	border-radius: 3px;
}

.footer-v2-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.footer-v2 h3 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.footer-v2 p {
	margin: 0;
	color: var(--fv-muted);
	font-size: 14px;
	line-height: 1.55;
}


/* Compact recruitment preview above the utility sections. */

.footer-v2-jobs {
	padding-top: 24px;
}

.footer-v2-jobs-link {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 26px;
	border-radius: 12px;
	background: #e8eff5;
	color: #173b60;
	transition: background 0.15s ease;
}

.footer-v2-jobs-link:hover {
	background: #dce8f2;
}

.footer-v2 .footer-v2-jobs-link:focus-visible {
	outline: 3px solid #248bff;
	outline-offset: 4px;
	border-radius: 12px;
}

.footer-v2-jobs-icon {
	display: grid;
	place-items: center;
	flex: 0 0 52px;
	height: 52px;
	border-radius: 14px;
	background: #d3e2f0;
}

.footer-v2-jobs-icon svg {
	width: 28px;
	height: 28px;
}

.footer-v2-jobs-copy {
	flex: 1;
	min-width: 0;
}

.footer-v2-jobs h3 {
	margin: 0 0 3px;
	color: #162f48;
	font-size: 23px;
	font-weight: 700;
}

.footer-v2-jobs p {
	color: #47627b;
	font-size: 14px;
}

.footer-v2-jobs-arrow {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	height: 38px;
	border: 1px solid #b7cada;
	border-radius: 50%;
}

.footer-v2-jobs-arrow svg {
	width: 22px;
	height: 22px;
}

@media (max-width: 600px) {
	.footer-v2-jobs {
		padding-top: 18px;
	}
	.footer-v2-jobs-link {
		gap: 12px;
		padding: 18px 16px;
	}
	.footer-v2-jobs-icon {
		flex-basis: 44px;
		height: 44px;
		border-radius: 12px;
	}
	.footer-v2-jobs-icon svg {
		width: 25px;
		height: 25px;
	}
	.footer-v2-jobs h3 {
		font-size: 21px;
	}
	.footer-v2-jobs p {
		font-size: 13px;
	}
	.footer-v2-jobs-arrow {
		flex-basis: 24px;
		height: 24px;
		border: 0;
	}
}

/* --- Band 1: newsletter | app --- */

.footer-v2-top {
	padding: 46px 0;
	border-bottom: 1px solid var(--fv-line);
}

.footer-v2-top-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.footer-v2-top-solo .footer-v2-top-grid {
	grid-template-columns: minmax(0, 620px);
}

/* The split lives on positions, not on which block is which, so the two can be
   reordered in the markup without touching this file. */
.footer-v2-top-grid > section:not(:only-child):first-child {
	padding-right: 60px;
}

.footer-v2-top-grid > section + section {
	padding-left: 60px;
	border-left: 1px solid var(--fv-line);
}

.footer-v2-newsletter p {
	max-width: 58ch;
	text-wrap: pretty;
}


/* Subscribe field */

.footer-v2-newsletter form {
	margin: 22px 0 0;
}

.footer-v2-field {
	display: flex;
	gap: 8px;
	max-width: 540px;
}

.footer-v2-field input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	color: #fff;
	font-size: 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background: transparent;
	transition: border-color 0.15s ease;
}

.footer-v2-field input::placeholder {
	color: #7a7a7a;
}

.footer-v2-field input:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.5);
}

.footer-v2-field input:focus-visible {
	outline-offset: 1px;
}

.footer-v2-field button {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 20px;
	color: var(--btn-blue-text);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	border: none;
	border-radius: 8px;
	background: var(--btn-blue-bg);
	cursor: pointer;
	transition: background 0.15s ease;
}

.footer-v2-field button:hover {
	background: var(--btn-blue-bg-hover);
}

.footer-v2-field button:disabled {
	background: var(--btn-blue-bg-disabled);
	cursor: default;
}

.footer-v2 .footer-subscribe-status {
	margin-top: 10px;
	font-size: 13px;
}


/* --- App block --- */

.footer-v2-app {
	--fv-phone-w: 60px;
	--fv-phone-h: 98px;
	--fv-app-gap: 22px;
}

/* The compact phone identifies the app while keeping the block visually light. */
.footer-v2-app-copy {
	display: grid;
	grid-template-columns: var(--fv-phone-w) minmax(0, 1fr);
	column-gap: var(--fv-app-gap);
	align-items: start;
	min-width: 0;
}

.footer-v2-app-copy > div {
	min-width: 0;
}

.footer-v2-app-text {
	grid-column: 2;
	grid-row: 1;
	padding-top: 1px;
}

.footer-v2-app h3 {
	font-size: 17px;
	letter-spacing: -0.01em;
}

.footer-v2-app p {
	max-width: 46ch;
	text-wrap: pretty;
}

/* A simple frame and inset screen are enough to read clearly as a phone. */
.footer-v2-phone {
	position: relative;
	display: flex;
	grid-column: 1;
	grid-row: 1 / 3;
	align-self: center;
	align-items: center;
	justify-content: center;
	width: var(--fv-phone-w);
	height: var(--fv-phone-h);
	padding: 3px;
	border: 1.5px solid rgba(255, 255, 255, 0.34);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.025);
	box-shadow: 0 9px 22px rgba(0, 0, 0, 0.16);
}

.footer-v2-phone-screen {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 12px;
	background: #101112;
}

.footer-v2-phone-screen::before {
	position: absolute;
	top: 5px;
	left: 50%;
	z-index: 1;
	width: 16px;
	height: 3px;
	content: '';
	transform: translateX(-50%);
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.28);
}

.footer-v2-phone-screen img {
	display: block;
	width: 42px;
	height: 42px;
	border-radius: 10px;
}


/* Store buttons — outline only, so they sit quietly next to the copy. */

.footer-v2-stores {
	display: grid;
	grid-column: 2;
	grid-row: 2;
	grid-template-columns: repeat(2, minmax(0, 180px));
	gap: 10px;
	margin-top: 18px;
}

.footer-v2-store {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 11px;
	min-width: 0;
	min-height: 52px;
	padding: 9px 14px;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.025);
	transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.footer-v2-store:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.06);
}

.footer-v2-store i {
	flex: 0 0 auto;
	width: 22px;
	font-size: 22px;
	text-align: center;
	line-height: 1;
}

.footer-v2-store span {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.footer-v2-store small {
	color: var(--fv-muted);
	font-size: 9px;
	line-height: 1.35;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.footer-v2-store strong {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	white-space: nowrap;
}


/* --- Band 2: brand + link columns --- */

.footer-v2-main {
	padding: 46px 0 44px;
}

.footer-v2-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
	gap: 34px 40px;
}

.footer-v2-contacts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-v2-contacts li {
	margin-bottom: 8px;
}

.footer-v2-contacts a {
	color: var(--fv-muted);
	font-size: 14px;
	transition: color 0.15s ease;
}

.footer-v2-contacts a:hover {
	color: #fff;
}

.footer-v2-social {
	display: flex;
	gap: 20px;
	margin-top: 18px;
}

.footer-v2-social a {
	color: var(--fv-muted);
	font-size: 17px;
	line-height: 1;
	transition: color 0.15s ease;
}

.footer-v2-social a:hover {
	color: #fff;
}

.footer-v2-col-title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-v2-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-v2-links li {
	margin-bottom: 10px;
}

.footer-v2-links a {
	color: var(--fv-muted);
	font-size: 14px;
	overflow-wrap: break-word;
	transition: color 0.15s ease;
}

.footer-v2-links a:hover {
	color: #fff;
}


/* --- Band 3: small print --- */

.footer-v2-bottom {
	padding: 18px 0 32px;
	padding-bottom: calc(32px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--fv-line);
}

.footer-v2-bottom-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 28px;
}

.footer-v2-bottom p {
	font-size: 12.5px;
}

.footer-v2-copy {
	color: #c9c9c9;
}

.footer-v2-note {
	color: #7b7b7b;
}


/* --- Tablet --- */

@media (min-width: 769px) and (max-width: 1100px) {
	.footer-v2-top-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}
	.footer-v2-top-solo .footer-v2-top-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.footer-v2-top-grid > section:first-child {
		padding-right: 0;
	}
	.footer-v2-top-grid > section + section {
		padding: 34px 0 0;
		border-left: none;
		border-top: 1px solid var(--fv-line);
	}
	.footer-v2-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 30px 34px;
	}
	.footer-v2-brand {
		grid-column: 1 / -1;
	}
}


/* --- Mobile --- */

@media (max-width: 768px) {
	.footer-v2-top {
		padding: 32px 0;
	}
	.footer-v2-top-grid,
	.footer-v2-top-solo .footer-v2-top-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.footer-v2-top-grid > section:first-child {
		padding-right: 0;
	}
	.footer-v2-field {
		flex-wrap: wrap;
		max-width: none;
	}
	.footer-v2-field input,
	.footer-v2-field button {
		flex: 1 0 100%;
	}

	.footer-v2-top-grid > section + section {
		padding: 28px 0 0;
		border-left: none;
		border-top: 1px solid var(--fv-line);
	}
	.footer-v2-stores {
		margin-top: 18px;
	}
	.footer-v2-app {
		--fv-phone-w: 50px;
		--fv-phone-h: 80px;
		--fv-app-gap: 16px;
	}
	.footer-v2-phone {
		grid-row: 1;
		padding: 2px;
		border-radius: 13px;
	}
	.footer-v2-phone-screen {
		border-radius: 10px;
	}
	.footer-v2-phone-screen::before {
		top: 4px;
		width: 13px;
	}
	.footer-v2-phone-screen img {
		width: 36px;
		height: 36px;
		border-radius: 9px;
	}
	.footer-v2-stores {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.footer-v2-store {
		padding: 10px 12px;
	}

	.footer-v2-main {
		padding: 30px 0 6px;
	}
	.footer-v2-grid {
		display: block;
		columns: 2;
		column-gap: 24px;
	}
	.footer-v2-brand,
	.footer-v2-col {
		-webkit-column-break-inside: avoid;
		break-inside: avoid;
		margin-bottom: 26px;
	}

	.footer-v2-bottom {
		padding: 16px 0 28px;
		padding-bottom: calc(28px + env(safe-area-inset-bottom));
	}
	.footer-v2-bottom-grid {
		gap: 6px;
	}
	.footer-v2-note {
		font-size: 12px;
		line-height: 1.5;
	}
}

@media (max-width: 359px) {
	.footer-v2-stores {
		grid-template-columns: minmax(0, 1fr);
	}
}
