/**
 * Site footer — Pawzy-inspired layout.
 *
 * @package Twenty Twenty-Four
 */

.footer {
	margin-top: auto;
	color: #111827;
}

.footer__main {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background-color: #f3f4f6;
}

.footer__main .container {
	padding-top: 0;
	padding-bottom: 0;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 640px) {
	.footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.footer__grid {
		grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

.footer__newsletter {
	padding-right: 0;
	border-right: none;
}

@media (min-width: 1024px) {
	.footer__newsletter {
		padding-right: 1.5rem;
		border-right: 1px solid #e5e7eb;
	}
}

@media (min-width: 640px) and (max-width: 1023px) {
	.footer__newsletter {
		grid-column: 1 / -1;
	}
}

.footer__logo-link {
	display: inline-flex;
	margin-bottom: 1.25rem;
}

.footer__logo {
	display: block;
	max-height: 48px;
	width: auto;
}

.footer__newsletter-title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #111827;
}

.footer__newsletter-text {
	margin: 0 0 1.25rem;
	max-width: 22rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: #6b7280;
}

.footer__newsletter-form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	max-width: 22rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid #d1d5db;
}

.footer__newsletter-input {
	flex: 1;
	width: 100%;
	padding: 0.75rem 0;
	font-family: inherit;
	font-size: 0.875rem;
	color: #111827;
	background: transparent;
	border: none;
}

.footer__newsletter-input::placeholder {
	color: #9ca3af;
}

.footer__newsletter-input:focus {
	outline: none;
}

.footer__newsletter-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	font-size: 1.125rem;
	color: #111827;
	background: transparent;
	border: none;
	cursor: pointer;
}

.footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	font-size: 0.6875rem;
	font-weight: 700;
	color: #111827;
	text-decoration: none;
	background-color: #ffffff;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.footer__social-link:hover {
	color: #ffffff;
	background-color: #111827;
}

.footer__heading {
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
}

.footer__menu {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__menu a {
	font-size: 0.875rem;
	color: #4b5563;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer__menu a:hover {
	color: #d71920;
}

.footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #4b5563;
}

.footer__contact-item a {
	color: inherit;
	text-decoration: none;
}

.footer__contact-item a:hover {
	color: #d71920;
}

.footer__contact-icon {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin-top: 0.15rem;
	background-color: #111827;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.footer__contact-icon--location {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
}

.footer__contact-icon--phone {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.5 2.8 3.9 5.1 6.8 6.8l2.3-2.3c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.5 2.8 3.9 5.1 6.8 6.8l2.3-2.3c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
}

.footer__contact-icon--email {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.footer__contact-icon--hours {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 11H8v-2h4V6h2v7z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 11H8v-2h4V6h2v7z'/%3E%3C/svg%3E");
}

.footer__bottom {
	position: relative;
	padding: 1rem 0 1.35rem;
	background-color: #111827;
	color: #ffffff;
}

.footer__bottom .container {
	position: relative;
}

.footer__bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
}

@media (min-width: 768px) {
	.footer__bottom-inner {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding-right: 4rem;
		text-align: left;
	}
}

.footer__copyright {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.72);
}

.footer__payment-note {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.88);
}

.footer__top {
	position: absolute;
	top: -1.25rem;
	right: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	font-size: 1.125rem;
	color: #111827;
	background-color: #f5c518;
	border: none;
	border-radius: 50%;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: transform 0.2s ease;
}

.footer__top:hover {
	transform: translateY(-2px);
}

@media (min-width: 768px) {
	.footer__top {
		right: 0;
	}
}
