/**
 * Ad landing pages. Forum for headings, Archivo for text and buttons.
 */

body.ad-landing-page {
	margin: 0;
	background: #ffffff;
	color: #333839;
}

.ad-landing {
	font-family: Archivo, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: #333839;
	background: #ffffff;
}

.ad-landing__skip {
	position: absolute;
	left: -999px;
	top: 0;
}

.ad-landing__skip:focus {
	left: 16px;
	top: 16px;
	z-index: 5;
	background: #ffffff;
	color: #0d2b33;
	padding: 8px 12px;
}

.ad-wrap {
	width: min(1080px, calc(100% - 48px));
	margin: 0 auto;
}

.ad-kicker {
	margin: 0 0 12px;
	font-family: Archivo, sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: #2e798c;
}

.ad-kicker--light {
	color: #b8dadc;
}

.ad-landing h1,
.ad-landing h2,
.ad-landing h3 {
	font-family: Forum, serif;
	font-weight: 400;
	color: #0d2b33;
	letter-spacing: 0;
}

.ad-landing h1 {
	margin: 0 0 16px;
	font-size: clamp(42px, 6vw, 68px);
	line-height: 1.05;
}

.ad-landing h2 {
	margin: 0 0 12px;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.15;
}

.ad-landing h3 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.2;
}

.ad-header {
	position: sticky;
	top: 0;
	z-index: 4;
	background: #ffffff;
	border-bottom: 1px solid #e0e0e0;
}

.ad-header__inner,
.ad-footer__inner {
	width: min(1080px, calc(100% - 48px));
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ad-header__inner {
	min-height: 88px;
}

.ad-header__brand {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ad-landing__logo {
	display: block;
	width: auto;
	height: 52px;
}

.ad-footer__logo {
	display: block;
	width: auto;
	height: 52px;
	margin: 0 0 14px;
}

.ad-header__name,
.ad-footer__name {
	margin: 0;
	max-width: 26rem;
	font-family: Forum, serif;
	font-size: 18px;
	line-height: 1.25;
	color: #0d2b33;
}

.ad-header__place,
.ad-header__phone {
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: #333839;
}

.ad-header__phone {
	margin: 0;
	font-family: Archivo, sans-serif;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	color: #2e798c;
}

.ad-header__cta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 20px;
}

body.ad-landing-page a.ad-landing__book--header {
	min-height: 44px;
	padding: 10px 22px;
}

.ad-hero {
	background:
		linear-gradient(180deg, #f4f0ea 0%, #ffffff 72%);
	padding: 56px 0 24px;
}

.ad-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
	gap: 40px;
	align-items: center;
}

.ad-hero__side {
	display: grid;
	gap: 0;
}

.ad-hero__photo,
.ad-split__photo {
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
}

.ad-hero__photo img,
.ad-split__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ad-hero__photo {
	aspect-ratio: 4 / 3;
}

.ad-hero__photo + .ad-hero__panel {
	position: relative;
	margin: -48px 20px 0;
}

.ad-split {
	padding: 72px 0;
}

.ad-split__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

.ad-split__photo {
	aspect-ratio: 3 / 2;
}

.ad-hero__lead,
.ad-lead {
	max-width: 38rem;
	margin: 0 0 24px;
	font-size: 18px;
	line-height: 1.6;
}

.ad-hero__address {
	margin: 16px 0 0;
	color: #333839;
}

.ad-hero__panel {
	background: #0d2b33;
	color: #ffffff;
	border-radius: 20px;
	padding: 28px 28px 12px;
}

.ad-hero__panel-label {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #b8dadc;
}

.ad-hero__panel-title {
	margin: 0 0 16px;
	font-family: Forum, serif;
	font-size: 32px;
	line-height: 1.15;
	color: #ffffff;
}

.ad-hero__panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ad-hero__panel li {
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	color: #f4f0ea;
}

.ad-landing__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
}

body.ad-landing-page a.ad-landing__book {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 26px;
	border-radius: 8px;
	background: #2e798c !important;
	color: #ffffff !important;
	font-family: Archivo, sans-serif !important;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	text-transform: capitalize;
}

body.ad-landing-page a.ad-landing__book:hover,
body.ad-landing-page a.ad-landing__book:focus {
	background: #0a3c49 !important;
	color: #ffffff !important;
}

body.ad-landing-page a.ad-landing__phone {
	color: #2e798c !important;
	font-family: Archivo, sans-serif !important;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
}

.ad-section {
	padding: 72px 0;
}

.ad-section--cream {
	background: #f4f0ea;
}

.ad-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 28px;
}

.ad-cards--three {
	grid-template-columns: repeat(3, 1fr);
}

.ad-card,
.ad-price {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 18px;
	padding: 28px;
}

.ad-card--dark {
	background: #0a3c49;
	border-color: #0a3c49;
}

.ad-card--dark h3,
.ad-card--dark p {
	color: #ffffff;
}

.ad-card__index {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.14em;
	color: #2e798c;
}

.ad-card--dark .ad-card__index {
	color: #f7e5cd;
}

.ad-steps {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.ad-steps li {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 16px;
	align-items: start;
	background: #ffffff;
	border-radius: 16px;
	padding: 20px;
}

.ad-steps span {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #2e798c;
	color: #ffffff;
	font-family: Forum, serif;
	font-size: 26px;
}

.ad-steps p,
.ad-card p,
.ad-price p {
	margin: 0;
}

.ad-prices {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 28px;
}

.ad-price--featured {
	background: #0d2b33;
	border-color: #0d2b33;
}

.ad-price--featured h3,
.ad-price--featured p {
	color: #ffffff;
}

.ad-price__amount {
	margin: 8px 0 12px !important;
	font-family: Forum, serif;
	font-size: 48px;
	line-height: 1;
	color: #0d2b33;
}

.ad-price--featured .ad-price__amount {
	color: #f7e5cd;
}

.ad-close {
	background: #2e798c;
	color: #ffffff;
	padding: 72px 0;
}

.ad-close h2,
.ad-close p {
	color: #ffffff;
}

.ad-close .ad-wrap {
	max-width: 720px;
}

body.ad-landing-page .ad-close a.ad-landing__book {
	background: #ffffff !important;
	color: #0d2b33 !important;
}

body.ad-landing-page .ad-close a.ad-landing__book:hover,
body.ad-landing-page .ad-close a.ad-landing__book:focus {
	background: #f7e5cd !important;
	color: #0d2b33 !important;
}

body.ad-landing-page .ad-close a.ad-landing__phone {
	color: #ffffff !important;
}

.ad-footer {
	background: #0d2b33;
	color: #f4f0ea;
	padding: 36px 0;
}

.ad-footer p {
	margin: 0 0 6px;
}

.ad-footer__name {
	color: #ffffff;
}

@media (max-width: 900px) {
	.ad-hero__grid,
	.ad-split__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ad-hero__photo {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 800px) {
	.ad-cards,
	.ad-cards--three,
	.ad-prices,
	.ad-footer__inner {
		grid-template-columns: 1fr;
		display: grid;
	}

	.ad-hero {
		padding-top: 36px;
	}
}

@media (max-width: 600px) {
	.ad-header__inner,
	.ad-footer__inner {
		width: calc(100% - 32px);
	}

	.ad-header__inner {
		min-height: 72px;
		gap: 12px;
	}

	.ad-landing__logo {
		height: 36px;
	}

	.ad-footer__logo {
		height: 44px;
	}

	.ad-header__cta {
		flex-wrap: nowrap;
		gap: 12px;
	}

	.ad-header__phone {
		font-size: 20px;
		white-space: nowrap;
	}

	body.ad-landing-page a.ad-landing__book--header {
		min-height: 42px;
		padding: 8px 16px;
		white-space: nowrap;
	}
}

/* Very narrow phones: logo on the first row, phone and Book Now on the second. */
@media (max-width: 420px) {
	.ad-header__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding-top: 10px;
	}

	.ad-header__cta {
		justify-content: space-between;
		margin-top: 8px;
		padding: 8px 0 10px;
		border-top: 1px solid #e0e0e0;
	}

	.ad-header__phone {
		font-size: 22px;
	}
}
