/* Small additions on top of style.min.css (location pages) */
.location-page .text-section__title {
	font-size: clamp(32px, 6vw, 60px);
	line-height: 120%;
}

.location-page .text-section__content h2 {
	padding-top: 40px;
	padding-bottom: 8px;
}

.location-page .text-section__content h3 {
	font-size: 20px;
	font-weight: 600;
	padding-top: 20px;
}

.location-page .text-section__content p {
	padding-top: 8px;
}

.location-page__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 24px;
}

.location-page__cta .button,
.location-page__cta .button:hover {
	background-clip: border-box;
	-webkit-background-clip: border-box;
	color: var(--background);
	text-decoration: none;
}

.location-page__facts {
	display: grid;
	gap: 8px 32px;
	grid-template-columns: max-content 1fr;
	padding-top: 16px;
}

.location-page__facts dt {
	font-weight: 600;
	opacity: .7;
}

.location-page__map {
	margin-top: 24px;
	max-width: 957px;
}

@media (max-width: 479px) {
	.location-page__facts {
		grid-template-columns: 1fr;
	}

	.location-page__facts dd {
		padding-bottom: 8px;
	}

	.location-page__cta .button {
		width: 100%;
	}
}

/* Locations item in the top menu: list of city pages */
.nav-locations__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 16px;
}

.nav-locations__list a {
	color: var(--text-color);
	font-size: 14px;
	font-weight: 500;
	opacity: .8;
	transition: color .125s ease, opacity .125s ease;
	white-space: nowrap;
}

.nav-locations__list a:hover,
.nav-locations__list a[aria-current="page"] {
	color: var(--second-accent);
	opacity: 1;
}

@media (min-width: 992px) {
	.nav-locations {
		position: relative;
	}

	.nav-locations__list {
		background-color: var(--background);
		border: 1px solid var(--second-accent);
		border-radius: 8px;
		gap: 0;
		left: 50%;
		min-width: 190px;
		opacity: 0;
		padding: 8px 16px;
		position: absolute;
		text-align: left;
		top: 100%;
		transform: translate(-50%, 24px);
		transition: opacity .3s, visibility .3s, transform .2s;
		visibility: hidden;
		z-index: 10;
	}

	/* keeps the list open while the mouse travels from the menu item to it */
	.nav-locations__list:before {
		content: "";
		height: 18px;
		left: 0;
		position: absolute;
		right: 0;
		top: -18px;
	}

	.nav-locations.is-open .nav-locations__list {
		opacity: 1;
		transform: translate(-50%, 16px);
		visibility: visible;
	}
}

/* hover only where a mouse exists, so a tap on a tablet is not mistaken for it */
@media (min-width: 992px) and (hover: hover) {
	.nav-locations:hover .nav-locations__list,
	.nav-locations:focus-within .nav-locations__list {
		opacity: 1;
		transform: translate(-50%, 16px);
		visibility: visible;
	}
}

@media (min-width: 992px) {
	.nav-locations__list a {
		display: block;
		padding: 8px 0;
	}
}

/* Customer reviews on location pages */
.location-page__reviews {
	display: grid;
	gap: 16px;
	padding-top: 16px;
}

.location-page__review {
	border: 1px solid rgba(255, 201, 46, .35);
	border-radius: 12px;
	padding: 20px;
}

.location-page__review p {
	padding-top: 8px;
}

.location-page__review-stars {
	color: var(--second-accent);
	letter-spacing: .15em;
}

.location-page__review footer {
	font-weight: 600;
	padding: 12px 0 0;
}

.location-page__review footer span {
	font-weight: 400;
	opacity: .7;
}

@media (min-width: 768px) {
	.location-page__reviews {
		grid-template-columns: 1fr 1fr;
	}

	.location-page__review.is-wide {
		grid-column: 1 / -1;
	}
}

/* Small line with city pages at the bottom of the home page */
.footer__areas {
	flex: 0 0 100%;
	font-size: 13px;
	opacity: .6;
	max-width: 100%;
	padding-top: 16px;
	text-align: center;
	width: 100%;
}

.footer__areas a {
	color: var(--text-color);
	text-decoration: underline;
	text-underline-offset: .35ch;
}

.footer__areas a:hover {
	color: var(--second-accent);
}

/* Phones/tablets: the footer is a wrapping column there, so a 100% basis pushed this line into a second column off-screen */
@media (max-width: 991px) {
	.footer__areas {
		flex: 0 0 auto;
	}
}

/* Vinyl Wrap block (home page) */
.vinyl-wrap {
	margin-top: calc(var(--section-margin) * .666);
}

.vinyl-wrap__header {
	margin: 0 auto 40px;
	max-width: 760px;
	text-align: center;
}

.vinyl-wrap__eyebrow {
	align-items: center;
	color: #c9c8c5;
	display: flex;
	font-family: var(--subtitle-font);
	font-size: 14px;
	font-weight: 500;
	gap: 16px;
	justify-content: center;
	letter-spacing: .14em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.vinyl-wrap__eyebrow::before,
.vinyl-wrap__eyebrow::after {
	background: var(--second-accent);
	content: "";
	height: 1px;
	width: 48px;
}

.vinyl-wrap__title {
	margin: 0 0 10px;
}

.vinyl-wrap__lead {
	color: #c7c6c3;
	font-family: var(--subtitle-font);
	font-size: 18px;
	line-height: 1.5;
	margin: 0;
	text-wrap: pretty;
}

.vinyl-wrap__card {
	background: #141416;
	border: 1px solid #f6040c52;
	border-radius: 20px;
	box-shadow: 0 50px 90px -30px #f6040c73, 0 25px 50px -25px #f6040c4d;
	display: grid;
	grid-template-columns: 1fr;
	overflow: hidden;
}

.vinyl-wrap__media {
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: center;
	margin: 0;
	padding: 16px;
}

.vinyl-wrap__media img {
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.vinyl-wrap__caption-work {
	align-items: center;
	display: flex;
	font-family: var(--subtitle-font);
	gap: 14px;
	padding-left: 4px;
	text-transform: uppercase;
}

.vinyl-wrap__caption-work span {
	color: var(--second-accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .2em;
}

.vinyl-wrap__caption-work span::after {
	background: var(--second-accent);
	content: "";
	display: inline-block;
	height: 1px;
	margin-left: 14px;
	vertical-align: middle;
	width: 40px;
}

.vinyl-wrap__caption-work b {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.vinyl-wrap__form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	justify-content: center;
	padding: 24px 16px 32px;
}

.vinyl-wrap__form-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	justify-content: space-between;
}

.vinyl-wrap__form-title {
	color: #fff;
	font-family: var(--main-font);
	font-size: 24px;
	font-weight: 800;
	margin: 0;
	text-transform: uppercase;
}

.vinyl-wrap__form-title span {
	color: var(--second-accent);
}

.vinyl-wrap__switch,
.vinyl-wrap__scopes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vinyl-wrap__switch {
	background: #ffffff0f;
	border-radius: 999px;
	gap: 4px;
	padding: 4px;
}

.vinyl-wrap__switch input,
.vinyl-wrap__scopes input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.vinyl-wrap__switch span,
.vinyl-wrap__scopes span {
	border-radius: 999px;
	cursor: pointer;
	display: inline-block;
	font-family: var(--subtitle-font);
	font-weight: 600;
	transition: background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}

.vinyl-wrap__switch span {
	color: #ffffffbf;
	font-size: 13px;
	padding: 8px 14px;
}

.vinyl-wrap__switch input:checked + span {
	background: var(--accent-gradient);
	color: #000;
}

.vinyl-wrap__scopes span {
	border: 1px solid #ffffff38;
	color: #fff;
	font-size: 14px;
	padding: 11px 18px;
}

.vinyl-wrap__scopes input:checked + span {
	background: #ffc92e1f;
	border-color: var(--second-accent);
	color: var(--second-accent);
}

.vinyl-wrap__switch input:focus-visible + span,
.vinyl-wrap__scopes input:focus-visible + span {
	outline: 2px solid var(--second-accent);
	outline-offset: 2px;
}

.vinyl-wrap__fields {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}

.vinyl-wrap__fields .estimate-select {
	min-height: 56px;
	padding: 16px 24px;
}

.vinyl-wrap__fields .estimate-select.is-invalid {
	box-shadow: 0 0 0 2px var(--accent);
}

.vinyl-wrap__form .estimate__choose-type label span:nth-child(3) {
	color: #9a9a9a;
	font-size: 12px;
	line-height: 1.55;
}

.vinyl-wrap__error {
	color: #ff4a3d;
	font-size: 14px;
	margin: 0;
}

.vinyl-wrap__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
}

.vinyl-wrap__submit {
	border: none;
	font-size: 16px;
	padding: 16px 40px;
	text-transform: uppercase;
}

.vinyl-wrap__submit[aria-busy="true"] {
	opacity: .6;
	pointer-events: none;
}

.vinyl-wrap__tel {
	color: #fff;
	font-family: var(--subtitle-font);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: color .2s;
}

.vinyl-wrap__tel:hover {
	color: var(--second-accent);
}

.vinyl-wrap__done {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px 0;
	text-align: center;
}

.vinyl-wrap__done[hidden] {
	display: none;
}

.vinyl-wrap__done h3 {
	color: #fff;
	font-family: var(--main-font);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
	text-transform: uppercase;
}

.vinyl-wrap__done p {
	color: #cfcfcf;
	margin: 0;
}

.vinyl-wrap__form.is-sent > :not(.vinyl-wrap__done) {
	display: none;
}

@media (min-width: 600px) {
	.vinyl-wrap__fields {
		grid-template-columns: 1fr 1fr;
	}

	.vinyl-wrap__field-wide {
		grid-column: 1 / -1;
	}
}

@media (min-width: 992px) {
	.vinyl-wrap__card {
		grid-template-columns: 1fr 1fr;
	}

	.vinyl-wrap__media {
		padding: 28px;
	}

	.vinyl-wrap__form {
		padding: 48px 48px 48px 24px;
	}

	.vinyl-wrap__form-title {
		font-size: 28px;
	}
}
