/* ============================================================
   Footer — polished production layout
   ============================================================ */

.vault-footer.vault-footer--landing {
	background: var(--color-ink);
	color: var(--color-white);
	padding: 2.5rem 1.25rem 2rem;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.vault-footer.vault-footer--landing {
		padding: 3rem 2rem 2.25rem;
	}
}

@media (min-width: 1024px) {
	.vault-footer.vault-footer--landing {
		padding: 3rem 2.5rem 2.5rem;
	}
}

.vault-footer.vault-footer--landing .vault-container {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 0;
}

/* Grid */
.vault-footer.vault-footer--landing .vault-footer__grid {
	display: grid;
	align-items: start;
	gap: 1.75rem;
}

/* Phone: single column */
@media (min-width: 640px) and (max-width: 1023.98px) {
	.vault-footer.vault-footer--landing .vault-footer__grid {
		grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
		gap: 1.75rem 1.5rem;
	}

	.vault-footer.vault-footer--landing .vault-footer__brand {
		grid-column: 1 / -1;
		align-items: flex-start;
		text-align: left;
		padding-bottom: 0.25rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		margin-bottom: 0.25rem;
	}
}

@media (min-width: 1024px) {
	.vault-footer.vault-footer--landing .vault-footer__grid {
		grid-template-columns: minmax(0, 1.35fr) repeat(var(--vault-footer-cols, 3), minmax(0, 1fr));
		gap: 2rem 2.5rem;
	}
}

/* Brand */
.vault-footer.vault-footer--landing .vault-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 0;
}

@media (min-width: 640px) {
	.vault-footer.vault-footer--landing .vault-footer__brand {
		align-items: flex-start;
		text-align: left;
	}
}

.vault-footer.vault-footer--landing .vault-footer__logo-link {
	display: inline-flex;
	line-height: 0;
}

.vault-footer.vault-footer--landing .vault-footer__logo-link img {
	display: block;
	height: 3.25rem;
	width: auto;
	max-width: 125px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	transition: opacity 0.2s ease;
}

.vault-footer.vault-footer--landing .vault-footer__logo-link:hover img,
.vault-footer.vault-footer--landing .vault-footer__logo-link:focus-visible img {
	opacity: 0.88;
}

.vault-footer.vault-footer--landing .vault-footer__tagline {
	margin: 0.875rem 0 0;
	max-width: 18rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(201, 215, 245, 0.88);
}

/* Contact details sit under brand tagline (first column) */
.vault-footer.vault-footer--landing .vault-footer__brand .vault-footer__contact-list {
	width: 100%;
	max-width: 18rem;
	margin-top: 1rem;
	text-align: left;
}

/* Column headings */
.vault-footer.vault-footer--landing .vault-footer__heading,
.vault-footer.vault-footer--landing .vault-footer__collapse summary {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--color-white);
}

/* Link lists */
.vault-footer.vault-footer--landing .vault-footer__links {
	display: grid;
	gap: 0.125rem;
	margin: 0.875rem 0 0;
	padding: 0;
	list-style: none;
}

.vault-footer.vault-footer--landing .vault-footer__group a {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	padding-block: 0.125rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.45;
	color: rgba(201, 215, 245, 0.92);
	text-decoration: none;
	transition: color 0.2s ease;
}

.vault-footer.vault-footer--landing .vault-footer__group a:hover,
.vault-footer.vault-footer--landing .vault-footer__group a:focus-visible {
	color: var(--color-white);
}

/* Contact rows — match link list rhythm */
.vault-footer.vault-footer--landing .vault-footer__contact-list {
	display: grid;
	gap: 0.125rem;
	margin: 0.875rem 0 0;
	font-style: normal;
}

.vault-footer.vault-footer--landing .vault-footer__contact-line {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.625rem;
	min-height: 2rem;
	padding-block: 0.125rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.45;
	color: rgba(201, 215, 245, 0.92);
	text-decoration: none;
	transition: color 0.2s ease;
}

.vault-footer.vault-footer--landing .vault-footer__contact-line--text {
	cursor: default;
}

.vault-footer.vault-footer--landing a.vault-footer__contact-line:hover,
.vault-footer.vault-footer--landing a.vault-footer__contact-line:focus-visible {
	color: var(--color-white);
}

.vault-footer.vault-footer--landing a.vault-footer__contact-line:hover .vault-footer__contact-icon,
.vault-footer.vault-footer--landing a.vault-footer__contact-line:focus-visible .vault-footer__contact-icon {
	color: var(--color-red);
}

.vault-footer.vault-footer--landing .vault-footer__contact-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	margin-top: 0.15em;
	color: rgba(229, 56, 63, 0.85);
	transition: color 0.2s ease;
}

.vault-footer.vault-footer--landing .vault-footer__contact-line span:last-child {
	overflow-wrap: anywhere;
	word-break: normal;
}

/* Mobile accordion */
.vault-footer.vault-footer--landing .vault-footer__collapse summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 2.75rem;
	cursor: pointer;
	list-style: none;
}

.vault-footer.vault-footer--landing .vault-footer__collapse summary::-webkit-details-marker {
	display: none;
}

.vault-footer.vault-footer--landing .vault-footer__collapse summary::after {
	content: "";
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9d7f5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.2s ease;
}

.vault-footer.vault-footer--landing .vault-footer__collapse[open] summary::after {
	transform: rotate(180deg);
}

/* Accordion only on phones; tablet+ shows full link columns */
@media (min-width: 640px) {
	.vault-footer.vault-footer--landing .vault-footer__collapse {
		display: none;
	}

	.vault-footer.vault-footer--landing .vault-footer__static {
		display: block;
	}
}

@media (max-width: 639.98px) {
	.vault-footer.vault-footer--landing .vault-footer__static {
		display: none;
	}

	.vault-footer.vault-footer--landing .vault-footer__group {
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		padding-bottom: 0.25rem;
	}

	.vault-footer.vault-footer--landing .vault-footer__brand .vault-footer__contact-list {
		max-width: none;
		align-items: flex-start;
	}
}

/*
 * Bottom bar
 * Legal links pin to the far right. Shared padding-bottom reserves a tight
 * strip for the fixed Booking Assistant (iframe stays at default position).
 */
.vault-footer .vault-footer__bottom,
.vault-footer.vault-footer--landing .vault-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 2rem;
	padding-top: 1.25rem;
	padding-right: 0;
	/* Same on mobile + desktop — keeps Privacy/Terms clear without a large gap */
	padding-bottom: calc(0.5rem + 60px);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.vault-footer .vault-footer__bottom,
	.vault-footer.vault-footer--landing .vault-footer__bottom {
		flex-direction: row;
		align-items: center;
		/* Intentionally no larger padding-bottom — inherits the tighter value above */
	}
}

@media (min-width: 1024px) {
	.vault-footer .vault-footer__bottom,
	.vault-footer.vault-footer--landing .vault-footer__bottom {
		margin-top: 2.5rem;
	}
}

.vault-footer.vault-footer--landing .vault-footer__copyright {
	margin: 0;
	max-width: 100%;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(174, 191, 228, 0.9);
	text-align: left;
	overflow-wrap: break-word;
}

.vault-footer.vault-footer--landing .vault-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem 1.25rem;
	margin: 0 0 0 auto; /* push Privacy / Terms to the far right */
}

.vault-footer.vault-footer--landing .vault-footer__legal a {
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(174, 191, 228, 0.9);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.vault-footer.vault-footer--landing .vault-footer__legal a:hover,
.vault-footer.vault-footer--landing .vault-footer__legal a:focus-visible {
	color: var(--color-white);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

@media (max-width: 639.98px) {
	.vault-footer.vault-footer--landing .vault-footer__copyright {
		text-align: center;
	}

	.vault-footer.vault-footer--landing .vault-footer__legal {
		justify-content: center;
		margin-left: 0;
	}
}

@media (min-width: 640px) {
	.vault-footer.vault-footer--landing .vault-footer__copyright {
		flex: 1 1 auto;
		min-width: 0;
		padding-right: 1rem;
	}

	.vault-footer.vault-footer--landing .vault-footer__legal {
		flex: 0 0 auto;
	}
}
