/* Cerakote-It website - values from the Figma "Cerakote-It Website Design" (desktop 1440 / mobile 375) */

:root {
	--ink: #18181b;
	--muted: #71717a;
	--accent: #b5ad92;
	--accent-light: #dddbc2;
	--card: #f8f8f8;
	--card-border: #f3f4f6;
	--line: #e5e7eb;
	--hero-text: #d1d5db;
	--footer-bottom: #9ca3af;
	--white: #fff;
	--content: 1280px;
	--gutter: 80px;
	--font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-heading: "Roboto Condensed", "Roboto", sans-serif;
	--font-small: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--white);
}

img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- shared ---------- */

.highlight { color: var(--accent); }

.heading-lg,
.heading-xl {
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
}
.heading-lg { font-size: 48px; line-height: 48px; letter-spacing: -0.96px; }
.heading-xl { font-size: 72px; line-height: 72px; letter-spacing: -1.44px; }

.section-heading { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.section-heading__sub {
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 2.8px;
	text-transform: uppercase;
}

/* ---------- buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 20px 40px;
	border: 2px solid transparent;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn--accent:hover { background: #a39b7f; border-color: #a39b7f; }
.btn--outline { padding: 20px 40px; background: transparent; }
.btn--outline-light { border-color: var(--white); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }
.btn--small { padding: 8px 22px; font-size: 14px; line-height: 20px; }
.btn--card {
	width: 100%;
	margin-top: auto;
	padding: 16px 2px;
	background: transparent;
	border-color: var(--ink);
	border-radius: 12px;
	color: var(--ink);
	letter-spacing: 1.6px;
	white-space: normal;
	text-align: center;
}
.btn--card:hover { background: var(--ink); color: var(--white); }

.cta-buttons { display: flex; gap: 16px; padding-top: 16px; }

/* ---------- logo ---------- */

.logo { display: block; width: auto; max-width: 100%; }
.logo--header { height: 44px; }
.logo--footer { height: 52px; }

/* ---------- header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	padding: 0 var(--gutter);
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--content);
	height: 80px;
	margin: 0 auto;
	padding: 0 24px;
}
.site-header__logo { display: flex; }
.site-header__toggle { display: none; padding: 2px 0; border: 0; background: none; cursor: pointer; }
.site-header__toggle img { display: block; }

.site-nav { display: contents; }
.site-nav__list { display: flex; align-items: center; gap: 40px; }
.site-nav__link {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.15s ease;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] { color: var(--accent); }

/* ---------- hero ---------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 700px;
	padding: 80px var(--gutter);
	background: var(--ink);
	overflow: hidden;
}
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(24, 24, 27, 0.9) 0%, rgba(24, 24, 27, 0.72) 50%, rgba(24, 24, 27, 0) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.hero__content { display: flex; flex-direction: column; gap: 24px; max-width: 672px; }
.hero__heading {
	color: var(--white);
	font-family: var(--font-heading);
	font-size: 96px;
	font-weight: 700;
	line-height: 96px;
	letter-spacing: -1.92px;
	text-transform: uppercase;
}
.hero__heading .highlight { display: block; color: var(--accent-light); }
.hero__text { max-width: 560px; color: var(--hero-text); font-size: 20px; line-height: 32.5px; }

/* ---------- service cards ---------- */

.service-cards { padding: 96px var(--gutter); background: var(--white); }
.service-cards__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	gap: 48px;
	max-width: var(--content);
	margin: 0 auto;
	padding: 0 24px;
}
.service-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: 24px;
}
.service-card__image { height: 320px; overflow: hidden; }
.service-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 24px; padding: 40px; }
.service-card__head { display: flex; align-items: center; gap: 16px; }
.service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 12px;
}
.service-card__icon img { display: block; width: 18px; height: 16px; }
.service-card__icon--dark { background: var(--ink); }
.service-card__icon--accent { background: var(--accent); }
.service-card__title {
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 700;
	line-height: 36px;
	letter-spacing: -0.6px;
	text-transform: uppercase;
}
.service-card__text { color: var(--muted); font-size: 18px; line-height: 28px; }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 8px 0; }
.feature-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}
.feature-list li::before {
	content: "";
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	background: url("../img/icons/check.svg") no-repeat center / 14px 14px;
}

/* ---------- process steps ---------- */

.process { padding: 96px var(--gutter); background: var(--ink); color: var(--white); }
.process__inner { display: flex; flex-direction: column; gap: 64px; max-width: var(--content); margin: 0 auto; }
.process__steps { display: flex; gap: 24px; counter-reset: none; }
.process__step { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; gap: 12px; min-width: 0; text-align: center; }
.process__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 2px solid var(--accent-light);
	border-radius: 50%;
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
}
.process__title {
	padding-top: 12px;
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.4px;
	text-transform: uppercase;
}
.process__text { max-width: 200px; color: var(--muted); font-size: 14px; line-height: 20px; }
.scroll-progress {
	display: none;
	position: relative;
	width: 100%;
	height: 14px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.2);
	cursor: pointer;
	touch-action: none;
}
.scroll-progress--light { background: var(--line); }
[data-scroller].is-scrollable .scroll-progress { display: block; }
.scroll-progress__bar { position: absolute; top: 0; bottom: 0; left: 0; width: 25%; border-radius: 99px; background: var(--accent); }

/* ---------- google reviews ---------- */

.reviews { padding: 96px var(--gutter); background: var(--card); }
.reviews__inner { display: flex; flex-direction: column; gap: 48px; max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.reviews__heading { color: var(--ink); }
.reviews__track { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.reviews .scroll-progress { margin-top: -16px; }
.review {
	display: flex;
	flex: 0 0 calc((100% - 64px) / 3);
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	padding: 40px 40px 42px;
	border: 1px solid var(--card-border);
	border-radius: 24px;
	background: var(--white);
	scroll-snap-align: start;
}
.review__body { display: flex; flex-direction: column; gap: 16px; }
.review__stars { display: flex; gap: 4px; padding: 3px 0; }
.review__stars img { display: block; }
.review__star--off { opacity: 0.2; }
.review__text { color: var(--muted); font-size: 16px; line-height: 24px; white-space: pre-line; }
.review__name { color: var(--accent); font-size: 14px; font-weight: 700; line-height: 20px; letter-spacing: 1.4px; text-transform: uppercase; }

/* ---------- regions ---------- */

.regions { padding: 96px var(--gutter); background: var(--white); }
.regions__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; max-width: 944px; margin: 0 auto; padding: 0 24px; }
.regions__heading { text-align: center; }
.regions__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 32px; width: 100%; }
.region-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 44px 41px 41px;
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: 12px;
	text-align: center;
}
.region-card__pin { display: block; width: 22.5px; height: 30px; }
.region-card__name {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.4px;
	text-transform: uppercase;
}
.region-card__name a:hover { color: var(--accent); }
.region-card__text { padding-top: 4.7px; color: var(--muted); font-size: 16px; line-height: 24px; }
.regions__note {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 24px 40px;
	background: var(--card);
	border-radius: 9999px;
	line-height: 24px;
}
.regions__note img { display: block; flex: 0 0 auto; }

/* ---------- get a quote ---------- */

.get-a-quote {
	position: relative;
	padding: 128px var(--gutter);
	background: var(--card);
	overflow: hidden;
}
.get-a-quote__backdrop {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #f9fafb;
	font-size: 288px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	opacity: 0.5;
	pointer-events: none;
	user-select: none;
}
.get-a-quote__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	max-width: 1024px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}
.get-a-quote__text { max-width: 672px; color: var(--muted); font-size: 20px; line-height: 28px; }
.get-a-quote .cta-buttons { justify-content: center; }

/* ---------- footer ---------- */

.site-footer {
	padding: 80px var(--gutter) 48px;
	background: var(--ink);
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-family: var(--font-small);
	font-size: 14px;
	line-height: 20px;
}
.site-footer__inner { display: flex; flex-direction: column; gap: 64px; max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.site-footer__columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.site-footer__links { display: contents; }
.site-footer__info { display: flex; flex-direction: column; gap: 24px; }
.site-footer__info > a { display: inline-flex; align-self: flex-start; }
.site-footer__about { padding-top: 8px; }
.site-footer__column { display: flex; flex-direction: column; gap: 24px; }
.site-footer__heading {
	color: var(--white);
	font-family: var(--font);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}
.site-footer__list { display: flex; flex-direction: column; gap: 16px; }
.site-footer__list a { transition: color 0.15s ease; }
.site-footer__list a:hover { color: var(--white); }
.site-footer__hours { margin-top: 16px; padding-top: 17px; border-top: 1px solid var(--muted); font-weight: 700; }
.site-footer__hours strong { font-weight: 700; }
.site-footer__bottom {
	padding-top: 33px;
	border-top: 1px solid var(--line);
	color: var(--footer-bottom);
	font-size: 12px;
	line-height: 16px;
	text-align: center;
}

.social-links { display: flex; gap: 16px; }
.social-links__link { display: flex; align-items: center; padding: 4px 0; transition: opacity 0.15s ease; }
.social-links__link:hover { opacity: 0.75; }
.social-links__link img { display: block; height: 20px; }
.social-links__link--instagram img { width: 17.5px; }
.social-links__link--facebook img { width: 20px; }

/* ---------- page banner ---------- */

.page-banner {
	position: relative;
	padding: 96px var(--gutter);
	background: var(--ink);
	overflow: hidden;
	text-align: center;
}
.page-banner__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-banner__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: var(--content);
	margin: 0 auto;
	padding: 0 24px;
}
.page-banner__heading {
	color: var(--white);
	font-family: var(--font-heading);
	font-size: 60px;
	font-weight: 700;
	line-height: 60px;
	letter-spacing: -1.2px;
	text-transform: uppercase;
}
.page-banner__sub {
	color: #d2d2d2;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* ---------- content sections (image card, image & text, highlights) ---------- */

.content-section { padding: 96px var(--gutter); background: var(--white); }
.content-section + .content-section { padding-top: 0; }
.content-section__inner { max-width: var(--content); margin: 0 auto; padding: 0 24px; }

.btn--dark {
	align-self: flex-start;
	margin-top: 24px;
	padding: 16px 40px;
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
	font-family: var(--font-small);
	text-transform: none;
}
.btn--dark:hover { background: #3f3f46; border-color: #3f3f46; }

.rich-text { color: #4b5563; font-family: var(--font-small); font-size: 16px; line-height: 24px; }
.rich-text p { margin: 0 0 24px; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text a { color: var(--ink); text-decoration: underline; }

.image-card {
	display: flex;
	align-items: center;
	gap: 64px;
	padding: 48px;
	background: #f9fafb;
	border: 1px solid var(--card-border);
	border-radius: 16px;
}
.image-card__image { flex: 0 0 180px; width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.image-card__text { display: flex; flex-direction: column; gap: 24px; max-width: 768px; color: #4b5563; font-family: var(--font-small); font-size: 18px; line-height: 29.25px; }
.image-card__heading { color: #000; font-family: var(--font-small); font-size: 30px; font-weight: 700; line-height: 36px; }

.image-text { display: flex; align-items: flex-start; gap: 80px; }
.image-text--right { flex-direction: row-reverse; }
.image-text--above { flex-direction: column; }
.image-text--under { flex-direction: column-reverse; }
.image-text__media, .image-text__content { flex: 1 1 0; min-width: 0; }
.image-text--above .image-text__media, .image-text--under .image-text__media,
.image-text--above .image-text__content, .image-text--under .image-text__content { flex: none; width: 100%; }
.image-text__media img { display: block; width: 100%; border-radius: 24px; object-fit: cover; }
.image-text__content { display: flex; flex-direction: column; gap: 32px; }
.image-text--no-image .image-text__content { max-width: 768px; }

.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 24px; }
.highlight-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 40px;
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: 12px;
	text-align: center;
}
.highlight-card__value { color: var(--accent); font-family: var(--font-small); font-size: 30px; font-weight: 700; line-height: 36px; }
.highlight-card__icon { display: block; width: auto; height: 24px; }
.highlight-card__label { color: #6b7280; font-family: var(--font-small); font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; }

/* ---------- service details (services page) ---------- */

.service-details { padding: 96px var(--gutter); background: var(--white); }
.service-details__inner { display: flex; flex-direction: column; gap: 120px; max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.service-detail { display: flex; align-items: center; gap: 80px; scroll-margin-top: 112px; }
.service-detail--right { flex-direction: row-reverse; }
.service-detail__media, .service-detail__content { flex: 1 1 0; min-width: 0; }
.service-detail__media { padding: 8px; border: 8px solid #f9fafb; border-radius: 24px; overflow: hidden; }
.service-detail__media img { display: block; width: 100%; height: 704px; border-radius: 8px; object-fit: cover; }
.service-detail__content { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.service-detail__title {
	font-family: var(--font-heading);
	font-size: 60px;
	font-weight: 700;
	line-height: 75px;
	letter-spacing: -1.2px;
	text-transform: uppercase;
}
.service-detail__title .highlight { display: block; }
.service-detail__text { color: var(--muted); font-size: 16px; line-height: 26px; }
.service-detail__text p { margin: 0 0 16px; }
.service-detail__text > :last-child { margin-bottom: 0; }
.service-detail .feature-list { width: 100%; }
.feature-list--large li { font-size: 16px; }
.service-detail__button { border-radius: 12px; letter-spacing: 1.6px; }

/* ---------- gallery ---------- */

.gallery { padding: 96px var(--gutter); background: var(--white); }
.gallery__inner { display: flex; flex-direction: column; gap: 32px; max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.gallery__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.gallery__row[hidden] { display: none; }
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 24px; background: #e5e7eb; }
.gallery-item--compare { grid-column: span 2; aspect-ratio: auto; }
.gallery__row--reverse .gallery-item--compare { grid-column: 2 / span 2; grid-row: 1; }
.gallery-item__link { display: block; height: 100%; cursor: zoom-in; }
.gallery-item__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item__link:hover .gallery-item__image { transform: scale(1.03); }
.gallery__more { align-self: center; width: 343px; max-width: 100%; margin-top: 0; }
.gallery__more[hidden] { display: none; }

/* before / after slider (from Dentwerx): the after photo shows from the divider to the right, moved with transforms */
.compare { --compare: 50%; position: relative; height: 100%; aspect-ratio: 2 / 1; overflow: hidden; border-radius: inherit; user-select: none; }
.gallery-item--compare:not(:only-child) .compare { aspect-ratio: auto; }
.compare__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.compare__after { position: absolute; inset: 0; overflow: hidden; transform: translateX(var(--compare)); will-change: transform; }
.compare__after .compare__image { transform: translateX(calc(var(--compare) * -1)); will-change: transform; }
.compare::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 85px;
	background: linear-gradient(180deg, rgba(24, 24, 27, 0) 19.7%, rgba(24, 24, 27, 0.8) 98.6%);
	pointer-events: none;
}
.compare__label { position: absolute; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; pointer-events: none; }
.compare__arrow { display: block; flex: 0 0 auto; }
.compare__arrow--left { transform: scaleX(-1); }
.compare__label--before { left: 20px; }
.compare__label--after { right: 20px; }
.compare__handle { position: absolute; inset: 0; z-index: 2; transform: translateX(var(--compare)); will-change: transform; pointer-events: none; }
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--white); }
.compare__knob {
	position: absolute;
	top: 50%;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 3px solid var(--white);
	border-radius: 22px;
	background: rgba(24, 24, 27, 0.35);
	box-shadow: 0 0 0 3px rgba(181, 173, 146, 0.7);
	transform: translate(-50%, -50%);
}
.compare__knob img { display: block; }
.compare__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare__range:focus-visible) .compare__knob { box-shadow: 0 0 0 4px var(--accent); }

/* full screen photo (from Dentwerx) */
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(24, 24, 27, 0.94); color: var(--white); }
.lightbox::backdrop { background: transparent; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 96px; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; margin: 0; }
.lightbox__image { display: block; max-width: 100%; max-height: calc(100vh - 128px - 72px); object-fit: contain; border-radius: 8px; }
.lightbox__caption { font-size: 16px; text-align: center; }
.lightbox__instagram { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.lightbox__instagram:hover { color: var(--white); }
.lightbox__instagram[hidden], .lightbox__caption[hidden] { display: none; }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--white); font-size: 40px; line-height: 48px; cursor: pointer; }
.lightbox__arrow { position: absolute; top: 50%; right: 24px; padding: 0; border: 0; background: none; transform: translateY(-50%); cursor: pointer; }
.lightbox__arrow img { display: block; }
.lightbox__arrow--prev { right: auto; left: 24px; }
.lightbox__arrow--prev img { transform: scaleX(-1); }
.lightbox__arrow[hidden] { display: none; }

/* ---------- contact (contact details + enquiry form) ---------- */

.contact { padding: 96px var(--gutter); background: var(--white); }
.contact__inner {
	display: grid;
	grid-template-columns: 520px minmax(0, 1fr);
	grid-template-areas: "intro form" "details form";
	grid-template-rows: auto 1fr;
	column-gap: 64px;
	align-items: start;
	max-width: var(--content);
	margin: 0 auto;
	padding: 0 24px;
	font-family: var(--font-small);
}
.contact__intro { grid-area: intro; display: flex; flex-direction: column; gap: 16px; }
.contact__form { grid-area: form; }
.contact__details { grid-area: details; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.contact__heading { font-size: 30px; font-weight: 700; line-height: 36px; }
.contact__text { color: #4b5563; font-size: 18px; line-height: 29.25px; }
.contact__actions { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }

.contact-card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 28px 24px 24px;
	background: #f9fafb;
	border: 1px solid var(--card-border);
	border-radius: 12px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); }
.contact-card--dark { background: var(--ink); border-color: var(--ink); }
.contact-card__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); }
.contact-card--dark .contact-card__icon { background: var(--accent); }
.contact-card__icon img, .contact-card__arrow { display: block; }
.contact-card__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card__title { font-size: 18px; font-weight: 700; line-height: 28px; }
.contact-card__detail { overflow: hidden; color: #6b7280; font-size: 14px; line-height: 20px; text-overflow: ellipsis; }
.contact-card--dark .contact-card__title { color: var(--white); }
.contact-card--dark .contact-card__detail { color: #a1a1aa; }

.contact-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #4b5563; font-size: 16px; line-height: 26px; }
.contact-detail__label { color: #6b7280; font-family: var(--font-small); font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; }
.contact-detail--strong p { color: var(--ink); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #f3f1ea; border-radius: 999px; color: #7d7558; font-size: 12px; font-weight: 600; line-height: 16px; }
.chip img { display: block; }
.contact-social { display: flex; gap: 12px; }
.contact-social a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; transition: opacity 0.15s ease; }
.contact-social a:hover { opacity: 0.75; }
.contact-social a img { display: block; }
.contact-social__instagram { background: var(--white); border: 1px solid var(--line); }
.sticky-contact { display: none; }

.enquiry { display: flex; flex-direction: column; gap: 24px; padding: 48px; background: #f9fafb; border: 1px solid var(--card-border); border-radius: 16px; scroll-margin-top: 104px; }
.enquiry__header { display: flex; flex-direction: column; gap: 8px; }
.enquiry__title { font-family: var(--font-heading); font-size: 36px; font-weight: 700; line-height: 40px; letter-spacing: -0.72px; text-transform: uppercase; }
.enquiry__intro { color: #4b5563; font-size: 16px; line-height: 24px; }
.enquiry__form { display: flex; flex-direction: column; gap: 24px; }
.enquiry__message { padding: 16px 20px; border-radius: 8px; font-size: 14px; line-height: 22px; }
.enquiry__message ul { margin: 0; padding-left: 18px; list-style: disc; }
.enquiry__message--sent { background: #f3f1ea; color: var(--ink); }
.enquiry__message--sent strong { display: block; margin-bottom: 4px; font-size: 16px; }
.enquiry__message--error { background: #fef2f2; color: #b91c1c; }
.enquiry__message--error:empty, .validation-summary-valid { display: none; }
.enquiry__footer { display: flex; flex-direction: column; gap: 12px; }
.enquiry__submit { width: 100%; padding: 16px; border-radius: 4px; }
.enquiry__note { color: #6b7280; font-size: 12px; line-height: 16px; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field__label { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 20px; }
.field__required { color: var(--accent); }
.field input, .field select, .field textarea {
	width: 100%;
	height: 52px;
	padding: 14px 16px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 6px;
	color: var(--ink);
	font: 16px/24px var(--font-small);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { height: 148px; resize: vertical; }
.field select { padding-right: 44px; background: var(--white) url("../img/icons/chevron-down.svg") no-repeat right 16px center / 20px 20px; appearance: none; }
.field select:invalid { color: #9ca3af; }
.field input::placeholder, .field textarea::placeholder { color: #9ca3af; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(181, 173, 146, 0.25); }
.field .input-validation-error { border-color: #dc2626; }
.field__error { color: #b91c1c; font-size: 13px; line-height: 18px; }
.field__error:empty { display: none; }

.upload { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--white); border: 1px dashed #d1d5db; border-radius: 6px; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.upload:hover, .upload.is-dragover { border-color: var(--accent); background: #fbfaf6; }
.upload:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(181, 173, 146, 0.25); }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #f3f1ea; }
.upload__icon img { display: block; }
.upload__text { display: flex; flex-direction: column; gap: 2px; }
.upload__title { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 20px; }
.upload__mobile { display: none; }
.upload__hint { color: #6b7280; font-size: 12px; line-height: 16px; }
.upload__list { display: flex; flex-wrap: wrap; gap: 8px; }
.upload__list:empty { display: none; }
.upload__item { position: relative; width: 64px; height: 64px; overflow: hidden; border-radius: 6px; background: var(--line); }
.upload__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.upload__remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(24, 24, 27, 0.75); color: var(--white); font-size: 16px; line-height: 22px; cursor: pointer; }
.g-recaptcha { min-height: 78px; }

/* ---------- location map ---------- */

.location { padding: 0 var(--gutter) 96px; background: var(--white); }
.location__inner { display: flex; flex-direction: column; gap: 24px; max-width: var(--content); margin: 0 auto; padding: 0 24px; font-family: var(--font-small); }
.location__header { display: flex; flex-direction: column; gap: 16px; }
.location__eyebrow { color: var(--accent); font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; }
.location__heading { font-size: 30px; font-weight: 700; line-height: 36px; }
.location__map { position: relative; height: 440px; overflow: hidden; border-radius: 24px; background: var(--line); }
.location__canvas { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location__card { position: absolute; bottom: 40px; left: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 340px; padding: 28px; background: var(--white); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); }
.location__name { font-family: var(--font-heading); font-size: 22px; font-weight: 700; line-height: 28px; text-transform: uppercase; }
.location__address { color: #4b5563; font-size: 15px; line-height: 24px; }
.location__directions { display: inline-flex; align-items: center; gap: 8px; padding-top: 4px; color: var(--accent); font-family: var(--font); font-size: 14px; font-weight: 700; line-height: 20px; text-transform: uppercase; }
.location__directions img { display: block; transition: transform 0.15s ease; }
.location__directions:hover img { transform: translateX(3px); }

/* ---------- smaller screens ---------- */

@media (max-width: 1279px) {
	:root { --gutter: 40px; }
	.hero__heading { font-size: 80px; line-height: 80px; }
	.site-footer__columns { gap: 32px; }
}

/* header: the Dentwerx menu, the burger opens the nav under the header */
@media (max-width: 1023px) {
	:root { --gutter: 24px; }
	.site-header { padding: 0; background: var(--white); border-bottom-color: var(--card-border); }
	.site-header__inner { height: 63px; padding: 0 16px; }
	.site-header__toggle { display: block; }
	.logo--header { height: 34px; }
	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		gap: 24px;
		padding: 8px 16px 24px;
		background: var(--white);
		border-bottom: 1px solid var(--card-border);
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
	}
	.site-header.is-open .site-nav { display: flex; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__link { padding: 16px 0; border-bottom: 1px solid var(--card-border); }
	.site-nav .btn--small { padding: 16px; letter-spacing: 1.4px; }

	.process__step { flex: 0 0 160px; }
	.review { flex-basis: calc((100% - 32px) / 2); }
	.process__steps { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.process__steps::-webkit-scrollbar { display: none; }
	.process__step { scroll-snap-align: start; }

	.site-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact__inner { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "details"; grid-template-rows: none; row-gap: 48px; }
	.contact__details { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* mobile design */
@media (max-width: 767px) {
	.heading-lg, .heading-xl { font-size: 30px; line-height: 36px; letter-spacing: -0.3px; }
	.section-heading { gap: 8px; }

	.btn { padding: 16px; font-size: 14px; line-height: 20px; letter-spacing: 1.4px; }
	.btn--outline { border-width: 1px; padding: 17px; }
	.btn--card { padding: 12px 2px; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; }
	.cta-buttons { flex-direction: column; width: 100%; }
	.cta-buttons .btn { width: 100%; }

	.hero { min-height: 500px; padding: 64px 24px; }
	.hero::after { background: linear-gradient(180deg, rgba(24, 24, 27, 0.63) 0%, rgba(24, 24, 27, 0.9) 100%); }
	.hero__inner { padding: 0; }
	.hero__content { align-items: center; max-width: none; text-align: center; }
	.hero__heading { font-size: 48px; line-height: 48px; letter-spacing: -0.48px; }
	.hero__text { max-width: 384px; font-size: 16px; line-height: 26px; }

	.service-cards { padding: 64px 24px; }
	.service-cards__inner { grid-template-columns: 1fr; gap: 32px; padding: 0; }
	.service-card { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
	.service-card__image { height: 224px; }
	.service-card__body { gap: 16px; padding: 32px; }
	.service-card__head { gap: 12px; }
	.service-card__icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 10px; }
	.service-card__title { font-size: 20px; line-height: 28px; letter-spacing: -0.2px; }
	.service-card__text { font-size: 14px; line-height: 20px; }
	.feature-list { grid-template-columns: 1fr; gap: 12px; }

	.process { padding: 64px 24px; }
	.process__inner { gap: 40px; }
	.process__steps { margin: 0 -24px; padding: 0 24px; scroll-padding: 0 24px; }
	.process__step { flex-basis: 193px; }

	.reviews { padding: 64px 24px; }
	.reviews__inner { gap: 40px; padding: 0; }
	.reviews__track { flex-direction: column; gap: 24px; overflow: visible; }
	.review { flex-basis: auto; padding: 32px; }

	.regions { padding: 64px 24px; }
	.regions__inner { gap: 40px; padding: 0; }
	.regions__cards { grid-template-columns: 1fr; gap: 24px; }
	.regions__note { width: 100%; gap: 16px; justify-content: center; border-radius: 9999px; }

	.get-a-quote { padding: 80px 24px; background: #f9f9f9; border-top: 1px solid var(--card); }
	.get-a-quote__backdrop { display: none; }
	.get-a-quote__inner { gap: 16px; padding: 0; }
	.get-a-quote__text { color: #4b5563; font-family: var(--font-small); font-size: 16px; line-height: 24px; }

	.page-banner { display: flex; align-items: center; justify-content: center; min-height: 250px; padding: 24px; }
	.page-banner__inner { padding: 0; }
	.page-banner__heading { font-size: 36px; line-height: 36px; letter-spacing: -0.36px; }
	.page-banner__heading .highlight { display: block; }
	.page-banner__sub { font-size: 16px; line-height: 18px; letter-spacing: 1px; }

	.content-section { padding: 64px 24px; }
	.content-section + .content-section { margin-top: -24px; }
	.content-section__inner { padding: 0; }
	.image-card { flex-direction: column; gap: 32px; padding: 32px; text-align: center; }
	.image-card__text { gap: 15px; font-size: 14px; line-height: 22.75px; }
	.image-card__heading { font-size: 20px; line-height: 28px; }
	.image-text, .image-text--right { flex-direction: column; gap: 40px; }
	.image-text--under { flex-direction: column-reverse; }
	.image-text__media, .image-text__content { flex: none; width: 100%; }
	.image-text__media img { border-radius: 16px; }
	.image-text__content { gap: 24px; }
	.btn--dark { align-self: stretch; margin-top: 0; padding: 16px; letter-spacing: 0; }
	.highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.highlight-card { padding: 16px; }

	.service-details { padding: 64px 24px 80px; }
	.service-details__inner { gap: 64px; padding: 0; }
	.service-detail, .service-detail--right { flex-direction: column; align-items: stretch; gap: 24px; scroll-margin-top: 80px; }
	.service-detail__media, .service-detail__content { flex: none; width: 100%; }
	.service-detail__media { padding: 0; border: 0; border-radius: 40px; }
	.service-detail__media img { height: auto; aspect-ratio: 1 / 1; border-radius: 40px; }
	.service-detail__title { font-size: 42px; line-height: 44px; }
	.feature-list--large { grid-template-columns: 1fr; gap: 12px; }
	.feature-list--large li { font-size: 14px; }
	.service-detail__button { align-self: stretch; }

	.gallery { padding: 48px 16px 64px; }
	.gallery__inner { gap: 24px; padding: 0; }
	.gallery__row { grid-template-columns: 1fr; gap: 24px; }
	.gallery-item--compare, .gallery__row--reverse .gallery-item--compare { grid-column: auto; grid-row: auto; }
	.gallery-item--compare .compare, .gallery-item--compare:not(:only-child) .compare { aspect-ratio: 1; }
	.gallery__more { width: 100%; }
	.lightbox__stage { padding: 64px 16px; }
	.lightbox__arrow { top: auto; bottom: 16px; transform: none; }

	.contact { padding: 56px 24px 64px; }
	.contact__inner { padding: 0; }
	.contact__intro { gap: 12px; }
	.contact__heading { font-size: 24px; line-height: 32px; }
	.contact__text { font-size: 16px; line-height: 26px; }
	.contact__actions { gap: 12px; margin-top: 12px; }
	.contact-card { gap: 16px; padding: 20px; }
	.contact-card__icon { flex-basis: 44px; width: 44px; height: 44px; }
	.contact-card__title { font-size: 16px; line-height: 24px; }
	.contact__details { grid-template-columns: 1fr; gap: 32px; }
	.contact-detail { gap: 10px; }
	.enquiry { gap: 20px; padding: 28px 20px; scroll-margin-top: 80px; }
	.enquiry__header { gap: 6px; }
	.enquiry__title { font-size: 28px; line-height: 32px; letter-spacing: -0.56px; }
	.enquiry__intro { font-size: 14px; line-height: 22px; }
	.enquiry__form { gap: 20px; }
	.field-row { grid-template-columns: 1fr; }
	.field textarea { height: 132px; }
	.upload { gap: 12px; padding: 16px; }
	.upload__desktop { display: none; }
	.upload__mobile { display: inline; }
	.location { padding: 0 24px 64px; }
	.location__inner { gap: 16px; padding: 0; }
	.location__heading { font-size: 24px; line-height: 32px; }
	.location__map { height: 360px; border-radius: 20px; }
	.location__card { right: 16px; bottom: 16px; left: 16px; gap: 8px; width: auto; padding: 20px; }
	.location__name { font-size: 20px; line-height: 26px; }
	.location__address { font-size: 14px; line-height: 22px; }
	.sticky-contact {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 15;
		display: flex;
		gap: 12px;
		padding: 12px 16px;
		background: rgba(255, 255, 255, 0.95);
		border-top: 1px solid var(--line);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
	}
	.sticky-contact .btn { padding: 14px; }
	.sticky-contact__call { flex: 0 0 120px; gap: 8px; border-width: 2px; }
	.sticky-contact__call img { display: block; }
	.sticky-contact__quote { flex: 1 1 auto; }
	body:has(.sticky-contact) { padding-bottom: 77px; }

	.site-footer { padding: 64px 0 32px; }
	.site-footer__inner { gap: 48px; }
	.site-footer__columns { display: flex; flex-direction: column; gap: 48px; }
	.site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	.site-footer__links .site-footer__column { gap: 16px; }
	.site-footer__links .site-footer__list { gap: 12px; }
	.site-footer__hours { margin-top: 24px; padding-top: 0; border-top: 0; }
	.social-links { gap: 24px; }
	.social-links__link img { height: 24px; }
	.social-links__link--instagram img { width: 21px; }
	.social-links__link--facebook img { width: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
