/**
 * OTR footer — parity with optimataxrelief.com SiteFooter
 */

.otr-footer {
	margin-top: auto;
	font-family: var(--otr-font);
}

.otr-footer__inner {
	width: 100%;
	max-width: 72rem; /* max-w-6xl */
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.otr-footer__main {
	color: #fff;
	background-image: linear-gradient(10deg, #0c71c3 1%, #003ea3 100%);
}

.otr-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 3rem 1.25rem;
}

@media (min-width: 640px) {
	.otr-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 2rem;
		row-gap: 2.5rem;
		padding: 3.5rem 1.5rem;
	}
}

@media (min-width: 1024px) {
	.otr-footer__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 2rem;
		padding: 4rem 1rem;
	}
}

.otr-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

@media (min-width: 640px) {
	.otr-footer__brand {
		align-items: flex-start;
		text-align: left;
	}
}

.otr-footer__logo {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

.otr-footer__logo img {
	display: block;
	height: 3rem;
	width: auto;
}

@media (min-width: 640px) {
	.otr-footer__logo img {
		height: 3.5rem;
	}
}

@media (min-width: 768px) {
	.otr-footer__logo img {
		height: 4rem;
	}
}

.otr-footer__address {
	margin: 1rem 0 0;
	font-size: 15px;
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 640px) {
	.otr-footer__address {
		margin-top: 1.25rem;
	}
}

.otr-footer__phone {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
}

.otr-footer__social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.otr-footer__social {
		justify-content: flex-start;
		gap: 1rem;
		margin-top: 1.25rem;
	}
}

.otr-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.otr-footer__social a:hover,
.otr-footer__social a:focus-visible {
	opacity: 0.8;
	color: #fff;
}

@media (min-width: 640px) {
	.otr-footer__social a {
		min-width: 0;
		min-height: 0;
	}
}

.otr-footer__col {
	text-align: center;
}

@media (min-width: 640px) {
	.otr-footer__col {
		text-align: left;
	}
}

.otr-footer__col-title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: #fff;
}

.otr-footer__list {
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.otr-footer__list {
		margin-top: 1rem;
	}
}

.otr-footer__list li + li {
	margin-top: 0.625rem;
}

.otr-footer__list a {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.15s ease;
}

.otr-footer__list a:hover,
.otr-footer__list a:focus-visible {
	color: #fff;
}

/* Legal band */
.otr-footer__legal {
	background: #3e4149;
	color: #c8c9cc;
}

.otr-footer__legal .otr-footer__inner {
	padding: 3rem 1rem;
}

@media (min-width: 768px) {
	.otr-footer__legal .otr-footer__inner {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}
}

.otr-footer__disclaimer + .otr-footer__disclaimer {
	margin-top: 1.5rem;
}

.otr-footer__disclaimer-title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff;
}

.otr-footer__disclaimer-body {
	margin: 0.5rem 0 0;
	font-size: 11px;
	line-height: 1.625;
}

@media (min-width: 768px) {
	.otr-footer__disclaimer-body {
		font-size: 0.75rem;
	}
}

.otr-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	font-size: 0.75rem;
}

@media (min-width: 640px) {
	.otr-footer__bottom {
		align-items: flex-start;
		text-align: left;
	}
}

@media (min-width: 768px) {
	.otr-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.otr-footer__copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
}

.otr-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
	.otr-footer__legal-links {
		justify-content: flex-start;
	}
}

.otr-footer__legal-links a {
	color: inherit;
	text-decoration: none;
}

.otr-footer__legal-links a:hover,
.otr-footer__legal-links a:focus-visible {
	color: #fff;
}

.otr-footer__legal-links span {
	color: rgba(255, 255, 255, 0.4);
}
