/* ==========================================================================
   Lumina Dental 2 - "Oradent" design
   Desktop values are measured from the design (2560px wide viewport).
   ========================================================================== */

:root {
	--cyan: #1adeff;
	--ink: #101010;
	--gray: #727272;
	--line: #e4ecee;
	--soft: #f5f5f5;
	--white: #fff;
	--font-head: "Radio Canada Big", "Inter Tight", system-ui, sans-serif;
	--font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1400px;
	--gutter: 20px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 40px; /* in-page links (#faq, #booking...) stop below the sticky top bar */
}

body {
	margin: 0;
	background: var(--white);
	color: var(--gray);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

.icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 10px 16px;
	margin: 0;
	clip: auto;
	background: var(--ink);
	color: var(--white);
	border-radius: 8px;
}

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

.container {
	width: min(var(--container), calc(100% - 2 * var(--gutter)));
	margin-inline: auto;
}

.container--narrow {
	width: min(860px, calc(100% - 2 * var(--gutter)));
}

.center {
	text-align: center;
}

/* Shared pieces --------------------------------------------------------- */
.section-title,
.hero-title,
.card-title,
.page-hero-title {
	color: var(--ink);
	font-family: var(--font-head);
	font-weight: 400;
}

.section-title {
	font-size: 52px;
	line-height: 52px;
	letter-spacing: -0.026em;
}

.section-lead {
	margin-top: 19.06px;
}

.about .section-lead {
	max-width: 586px;
}

.appointment .section-lead {
	max-width: 540px;
}

.u {
	text-decoration-line: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 4.67px;
	text-underline-offset: 4px;
	text-decoration-skip-ink: auto;
}

.u--c {
	text-decoration-color: var(--cyan);
}

.section-head--center {
	text-align: center;
}

.section-head--center .section-lead {
	max-width: 560px;
	margin-inline: auto;
}

.section-head--light .section-title,
.section--dark .section-title {
	color: var(--white);
}

.section--dark .section-lead {
	color: var(--soft);
}

.card-title {
	font-size: 26px;
	line-height: 32px;
	letter-spacing: -0.047em;
}

.head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.section {
	padding: 100px 0;
}

.section--soft {
	background: var(--soft);
}

.section--dark {
	background: var(--ink);
	color: var(--soft);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 27.33px;
	border: 1px solid transparent;
	border-radius: 21px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--cyan {
	background: var(--cyan);
	color: var(--ink);
}

.btn--cyan:hover {
	background: #00cff2;
}

.btn--dark {
	background: var(--ink);
	color: var(--white);
}

.btn--dark:hover {
	background: #2a2a2a;
}

.btn--white {
	background: var(--white);
	color: var(--ink);
}

.btn--white:hover {
	background: var(--ink);
	color: var(--white);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.12);
	color: var(--white);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.25);
}

.btn--block {
	display: flex;
	width: 100%;
}

/* Check tiles (about + CTA) ---------------------------------------------- */
.check-tiles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.check-tiles li {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 92.67px;
	padding: 15.33px 15.33px 16px;
	border-radius: 10px;
	background: var(--line);
}

.check-tile-label {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 18.67px;
	line-height: 24px;
	letter-spacing: -0.04em;
}

.check-dot {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	font-size: 12.67px;
}

.check-dot--soft {
	width: 28px;
	height: 28px;
	background: var(--line);
	font-size: 13.6px;
}

/* Cyan banner -------------------------------------------------------------- */
.cyan-banner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 20.36px;
	min-height: 143.33px;
	margin-top: 20px;
	padding: 23.64px 20px;
	border-radius: 15px;
	background: var(--cyan);
	text-align: center;
}

.cyan-banner-title {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 26px;
	line-height: 32px;
	letter-spacing: -0.046em;
}

/* Top bar ------------------------------------------------------------------ */
.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 32px;
	padding: 0 20px;
	background: var(--cyan);
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: -0.012em;
}

.topbar-info,
.topbar-social {
	display: flex;
	align-items: center;
}

.topbar-info {
	gap: 20px;
}

.topbar-info li {
	display: flex;
	align-items: center;
	gap: 5.33px;
}

.topbar-info .icon-location-dot {
	width: 10px;
	height: 13.33px;
}

.topbar-info .icon-envelope {
	width: 12px;
	height: 12px;
}

.topbar-social {
	gap: 14.67px;
}

.topbar-social a {
	display: grid;
	place-items: center;
	width: 12px;
	height: 12px;
}

.topbar-social .icon {
	width: 12px;
	height: 12px;
}

.topbar-social .icon-instagram {
	width: 13.7px;
	height: 13.7px;
}

.topbar a:hover {
	opacity: 0.7;
}

/* The address in the bar is a link to the maps app / Google Maps directions. */
.topbar-address a {
	display: flex;
	align-items: center;
	gap: 5.33px;
	min-width: 0;
}

/* Sticky: the blue contact bar stays at the top of the screen on desktop and mobile. */
.topbar {
	position: sticky;
	top: 0;
	z-index: 60;
}

/* While the mobile menu is open the bar sits under the dark overlay like the rest of the page. */
body.nav-open .topbar {
	z-index: 40;
}

/* Logged-in admins: keep the bar below the WordPress admin bar (it is fixed above 600px). */
body.admin-bar .topbar {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .topbar {
		top: 46px;
	}
}

@media (max-width: 600px) {
	body.admin-bar .topbar {
		top: 0;
	}
}

/* Header ------------------------------------------------------------------- */
.site-header {
	position: relative;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
	padding: 0 20px;
	background: var(--white);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #000;
}

.brand-mark {
	flex: none;
	width: 30px;
	height: 31.93px;
	fill: var(--cyan);
}

.brand-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}

.brand-name {
	font-family: var(--font-head);
	font-size: clamp(18px, 5.5vw - 50px, 24px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.06em;
	white-space: nowrap;
}

.brand-sub {
	color: var(--gray);
	font-size: 9.5px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand-logo {
	width: auto;
	max-height: 40px;
}

.primary-nav {
	height: 100%;
	margin-inline: auto;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	height: 100%;
}

.primary-nav .menu > li {
	position: relative;
	height: 100%;
}

.primary-nav .menu > li > a {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 100%;
	padding: 0 20px;
	color: var(--gray);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.02em;
	transition: color 0.2s ease;
}

.primary-nav .menu > li > a:hover,
.primary-nav .menu > .current-menu-item > a,
.primary-nav.spy-on .menu > .is-active > a {
	color: var(--ink);
}

.primary-nav.spy-on .menu > .current-menu-item:not(.is-active) > a {
	color: var(--gray);
}

.primary-nav .menu > li > a:hover {
	color: var(--ink);
}

.primary-nav .caret {
	position: relative;
	top: -1.67px;
	width: 6.67px;
	height: 10.67px;
	margin-left: 1.33px;
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% - 6px);
	left: 4px;
	min-width: 220px;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--white);
	box-shadow: 0 18px 40px rgba(16, 16, 16, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-nav .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
}

.primary-nav .sub-menu a:hover {
	background: var(--soft);
}

.nav-cta {
	display: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-cta {
	height: 38px;
	padding: 0 22px;
	border-radius: 19px;
	font-size: 14.67px;
}

.nav-toggle {
	display: none;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--line);
	color: var(--ink);
	cursor: pointer;
}

.nav-toggle .icon {
	width: 18px;
	height: 18px;
}

.nav-toggle-close,
.nav-toggle[aria-expanded="true"] .nav-toggle-open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
	display: block;
}

/* Hero ---------------------------------------------------------------------- */
.hero,
.page-hero {
	position: relative;
	padding: 40px max(var(--gutter), calc(50% - 680px)) 60px;
	overflow: hidden;
	background:
		radial-gradient(circle at 1px 1px, rgba(16, 16, 16, 0.12) 1px, transparent 0) 0 0 / 22px 22px,
		linear-gradient(115deg, var(--cyan) 0%, #8ff0ff 62%, #dffaff 100%);
	color: var(--ink);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
	isolation: isolate;
}

.hero::after,
.page-hero::after {
	content: "";
	position: absolute;
	top: 50%;
	right: max(60px, calc(50% - 640px));
	z-index: -1;
	width: 420px;
	height: 420px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.14), 0 0 0 80px rgba(255, 255, 255, 0.08);
}

.hero-tooth {
	position: absolute;
	top: 50%;
	right: max(150px, calc(50% - 550px));
	z-index: -1;
	width: 240px;
	height: auto;
	transform: translateY(-50%) rotate(10deg);
	fill: var(--white);
	filter: drop-shadow(0 18px 24px rgba(0, 90, 120, 0.25));
}

.hero {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 525px;
}

.hero-title {
	font-size: 85px;
	line-height: 84px;
	letter-spacing: -0.022em;
}

.hero-title .u {
	text-decoration-thickness: 8px;
	text-decoration-color: var(--white);
	text-underline-offset: 4.67px;
}

/* About -------------------------------------------------------------------- */
.about {
	position: relative;
	overflow: hidden;
}

.about-deco {
	position: absolute;
	top: 36.54px;
	left: calc(50% + 642px);
	z-index: 0;
	width: 594px;
	height: 674px;
	fill: #e8fcff;
	pointer-events: none;
}

.about-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 670px 1fr;
	align-items: end;
	column-gap: 80px;
}

.about-media {
	position: relative;
	padding: 20px 0 0 20px;
}

.about-media::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	border-radius: 25px;
	background: var(--line);
}

.about-media img {
	position: relative;
	width: 650px;
	height: 812.67px;
	border-radius: 20px;
	object-fit: cover;
}

.about-body .check-tiles {
	margin-top: 35.53px;
}

.about-body .btn {
	margin-top: 39.33px;
}

/* Services ----------------------------------------------------------------- */
.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 21.33px 20px;
	margin-top: 70.27px;
}

.service-card {
	display: flex;
	flex-direction: column;
	padding: 25px 25px 25.67px;
	border: 1px solid var(--line);
	border-radius: 15px;
	background: var(--white);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(16, 16, 16, 0.06);
}

.service-icon {
	width: 60px;
	height: 60px;
	border-radius: 12px;
}

.service-card .card-title {
	margin-top: 55.2px;
}

.service-card p {
	margin-top: 9.33px;
}

/* Why choose us ------------------------------------------------------------ */
.why-grid {
	display: grid;
	grid-template-columns: 650.67px 1fr;
	align-items: start;
	column-gap: 100px;
}

.why-media img {
	width: 650.67px;
	height: 875.33px;
	border-radius: 20px;
	object-fit: cover;
}

.why-body {
	max-width: 520px;
	padding-top: 30px;
}

.why-body .section-lead {
	max-width: 480px;
	margin-top: 19.42px;
}

.why-list {
	padding-top: 0.67px;
}

.why-list li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 30px 0 29.5px;
	border-bottom: 1px solid var(--line);
}

.why-list li:first-child {
	padding-top: 30.67px;
}

.why-list .check-dot {
	flex: none;
}

.why-title {
	margin-top: 1.33px;
}

.why-title {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 21.33px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.04em;
}

.why-list p {
	margin-top: 5.59px;
	line-height: 24.67px;
}

/* Results ------------------------------------------------------------------ */
.ba {
	position: relative;
	height: 933.33px;
	margin-top: 70.87px;
	overflow: hidden;
	border-radius: 20px;
	background: #222;
	user-select: none;
	touch-action: pan-y;
}

.ba img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.ba-before {
	clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 2px;
	margin-left: -2px;
	background: var(--white);
	pointer-events: none;
}

.ba-handle {
	position: absolute;
	top: 444px;
	left: var(--pos);
	display: grid;
	place-items: center;
	width: 43.33px;
	height: 43.33px;
	margin-left: -22px;
	border-radius: 10px;
	background: var(--white);
	pointer-events: none;
}

.ba-handle svg {
	width: 22px;
	height: 12px;
	fill: #000;
}

.ba-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
}

.ba:focus-within {
	outline: 2px solid var(--cyan);
	outline-offset: 4px;
}

.results-actions {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

/* Appointment -------------------------------------------------------------- */
.appointment-grid {
	display: grid;
	grid-template-columns: 652px 1fr;
	column-gap: 100px;
}

.booking {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 13.4px 10.67px;
	padding: 27.1px 30px 30.67px;
	border-radius: 20px;
	background: var(--line);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8.23px;
}

.field--full {
	grid-column: 1 / -1;
}

.field label {
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.015em;
}

.req {
	color: var(--cyan);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	height: 48.67px;
	padding: 0 13.33px;
	border: 1px solid #dde3e5;
	border-radius: 8.67px;
	background: var(--white);
	color: var(--ink);
	font-size: 16px;
	outline: 0;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--gray);
	opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(26, 222, 255, 0.2);
}

.field textarea {
	height: 149.33px;
	padding-top: 11px;
	resize: vertical;
}

.select {
	position: relative;
}

.field select {
	appearance: none;
	color: var(--gray);
	cursor: pointer;
}

.field select.has-value {
	color: var(--ink);
}

.select .icon {
	position: absolute;
	top: 50%;
	right: 16.67px;
	width: 6.67px;
	height: 10.67px;
	transform: translateY(-50%);
	fill: #c7c7c7;
	pointer-events: none;
}

.booking .btn {
	grid-column: 1 / -1;
	height: 45.33px;
	margin-top: 2.93px;
	border-radius: 23px;
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	grid-column: 1 / -1;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font-size: 15px;
}

.form-notice--success {
	border-left: 4px solid #22b07d;
}

.form-notice--error {
	border-left: 4px solid #e5484d;
}

.appointment-body {
	display: flex;
	flex-direction: column;
}

.info-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: auto;
}

.info-card {
	display: flex;
	flex-direction: column;
	min-height: 126.67px;
	padding: 15.33px 15.33px 16.2px;
	border-radius: 13px;
	background: var(--line);
}

.info-icon {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
}

.info-icon .icon {
	width: 10px;
	height: 10px;
}

.info-title {
	margin-top: auto;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 18.67px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.04em;
}

.info-card a,
.info-card span:last-child {
	margin-top: 6px;
	color: var(--gray);
}

.info-card a:hover {
	color: var(--ink);
}

/* Testimonials ----------------------------------------------------------------- */
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 21.33px 20px;
	margin-top: 71.6px;
}

.testimonial {
	display: flex;
	flex-direction: column;
	min-height: 397.33px;
	padding: 20px 20px 24.67px;
	border: 1px solid var(--line);
	border-radius: 15px;
	background: var(--soft);
}

.stars {
	display: flex;
	gap: 1.75px;
	height: 13.33px;
}

.star {
	position: relative;
	width: 15px;
	height: 13.33px;
	color: #d7dee0;
}

.star .icon {
	width: 15px;
	height: 13.33px;
}

.star .star-fill {
	position: absolute;
	inset: 0;
	color: #ffaa64;
	clip-path: inset(0 calc(100% - var(--fill)) 0 0);
}

.testimonial-head {
	margin-top: 20.7px;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 21.33px;
	line-height: 26.67px;
	letter-spacing: -0.045em;
}

.testimonial blockquote {
	margin-top: 10.76px;
	margin-bottom: 64px;
	font-size: 19px;
	line-height: 26.67px;
}

.testimonial figcaption {
	display: flex;
	align-items: center;
	gap: 15.33px;
	margin-top: auto;
}

.avatar {
	width: 54.67px;
	height: 54.67px;
	flex: none;
	border-radius: 50%;
	object-fit: cover;
}

.avatar--initials {
	display: grid;
	place-items: center;
	background: var(--line);
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 20px;
}

.testimonial figcaption > span:not(.avatar) {
	display: flex;
	flex-direction: column;
}

.testimonial figcaption strong {
	margin-top: 2.67px;
	color: var(--ink);
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.testimonial figcaption strong + span {
	margin-top: -2.67px;
}

.testimonial:nth-child(n + 4) {
	min-height: 400px;
}

/* Process ------------------------------------------------------------------------ */
.process {
	position: relative;
	background: #2a2622 var(--process-bg) center / cover no-repeat;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 70.27px;
	counter-reset: none;
}

.step {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 300px;
	padding: 20px 20px 21.5px;
	border-radius: 15px;
	background: var(--white);
}

.step .card-title {
	margin-top: auto;
}

.step p {
	margin-top: 9.96px;
}

/* FAQ ------------------------------------------------------------------------------ */
.faq-list {
	display: grid;
	gap: 5.33px;
	width: min(806px, 100%);
	margin: 70.27px auto 0;
}

.faq-item {
	border-radius: 8px;
	background: var(--line);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 63.33px;
	padding: 19.67px 19.33px 19.67px 20px;
	color: var(--ink);
	font-size: 17.33px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: -0.01em;
	list-style: none;
	cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-plus {
	position: relative;
	top: -1.33px;
	width: 17.33px;
	height: 17.33px;
	transition: transform 0.25s ease;
}

.faq-item[open] .faq-plus {
	transform: rotate(45deg);
}

.faq-answer {
	padding: 0 20px 20px;
}

.faq-answer p + p {
	margin-top: 10px;
}

/* Blog -------------------------------------------------------------------------------- */
/* Not ".blog": WordPress adds that class to <body> on the posts page. */
.home-blog {
	background: linear-gradient(180deg, var(--soft) 51%, var(--white) 98%);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 70.27px;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 15px;
	background: var(--line);
}

.post-card-media {
	display: block;
	aspect-ratio: 446.67 / 298;
	overflow: hidden;
	background: #d9e2e5;
}

.post-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-card:hover .post-card-media img {
	transform: scale(1.04);
}

.post-card-placeholder {
	display: grid;
	place-items: center;
	height: 100%;
}

.post-card-placeholder .icon {
	width: 80px;
	height: 90px;
	fill: var(--white);
}

.post-card-body {
	flex: 1;
	padding: 24.18px 20px 20.85px;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-size: 14.67px;
	line-height: 20px;
	letter-spacing: -0.02em;
}

.post-meta-sep {
	position: relative;
	width: 12.67px;
	height: 6px;
}

.post-meta-sep::before,
.post-meta-sep::after {
	content: "";
	position: absolute;
	top: 0.67px;
	width: 5.33px;
	height: 5.33px;
	border-radius: 50%;
	background: var(--ink);
}

.post-meta-sep::before {
	left: 0;
}

.post-meta-sep::after {
	right: 0;
}

.post-card .card-title {
	margin-top: 11.68px;
}

.post-card .card-title a:hover {
	color: #0a8fa6;
}

.post-card p:last-child {
	margin-top: 7.95px;
}

/* CTA panel ---------------------------------------------------------------------------- */
.cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 700px;
	margin-top: 100px;
	padding: 60px 70px;
	overflow: hidden;
	border-radius: 30px;
	background: #5d9fb6;
	text-align: center;
	isolation: isolate;
}

.cta-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta-inner {
	width: 100%;
}

.cta .section-title {
	color: var(--white);
}

.cta-text {
	max-width: 500px;
	margin: 23.42px auto 0;
	color: var(--white);
}

.cta-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 24.85px;
}

.check-tiles--row {
	grid-template-columns: repeat(4, 1fr);
	margin-top: 50.67px;
	text-align: left;
}

/* Instagram ------------------------------------------------------------------------------ */
.instagram {
	padding-bottom: 106.67px;
}

.insta-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 70.27px;
}

.insta-grid a,
.insta-grid .insta-item {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 15px;
}

.insta-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.insta-grid a:hover img {
	transform: scale(1.05);
}

/* Footer ------------------------------------------------------------------------------------ */
.site-footer {
	padding: 100px 20px;
	background: #9fc3cc var(--footer-bg) center / cover no-repeat;
}

.footer-card {
	width: min(1500px, 100%);
	margin-inline: auto;
	padding: 98.67px 50px 24.48px;
	border-radius: 30px;
	background: var(--white);
}

.footer-grid {
	display: grid;
	grid-template-columns: 639.33px 374px 246.67px 1fr;
}

.brand--footer {
	display: flex;
	width: fit-content;
	gap: 10px;
}

.brand--footer .brand-mark {
	width: 52px;
	height: 55.35px;
}

.brand--footer .brand-text {
	gap: 8px;
}

.brand--footer .brand-name {
	font-size: 38px;
	letter-spacing: -0.06em;
}

.brand--footer .brand-sub {
	font-size: 12.5px;
}

.footer-social {
	display: flex;
	gap: 4.67px;
	margin-top: 17.33px;
}

.footer-col {
	padding-top: 1.67px;
}

.footer-social a {
	display: grid;
	place-items: center;
	width: 28.67px;
	height: 28.67px;
	border-radius: 50%;
	background: var(--line);
	color: var(--ink);
	transition: background-color 0.2s ease;
}

.footer-social a:hover {
	background: var(--cyan);
}

.footer-social .icon {
	width: 12.67px;
	height: 12.67px;
}

.footer-social .icon-instagram {
	width: 15.5px;
	height: 15.5px;
}

.footer-note {
	max-width: 320px;
	margin-top: 99.33px;
	line-height: 24.67px;
}

.footer-subscribe {
	position: relative;
	width: 318.67px;
	max-width: 100%;
	margin-top: 9.33px;
}

.footer-subscribe input {
	width: 100%;
	height: 49.33px;
	padding: 0 52px 0 16px;
	border: 0;
	border-radius: 8px;
	background: var(--soft);
	color: var(--ink);
	outline: 0;
}

.footer-subscribe input::placeholder {
	color: var(--gray);
	opacity: 1;
}

.footer-subscribe button {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 52px;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cyan);
	cursor: pointer;
}

.footer-subscribe .icon {
	width: 23.33px;
	height: 15.56px;
}

.footer-title {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 18.67px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.04em;
}

.footer-col p,
.footer-col .footer-links {
	margin-top: 8.6px;
}

.footer-col p + .footer-title,
.footer-col .footer-links + .footer-title {
	margin-top: 20.4px;
}

.footer-links {
	display: grid;
	gap: 10px;
}

.footer-links a:hover {
	color: var(--ink);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 100px;
	padding-top: 21.52px;
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.025em;
}

.footer-bottom ul {
	display: flex;
	gap: 19.33px;
}

.footer-bottom a:hover {
	color: #0a8fa6;
}

/* Inner pages --------------------------------------------------------------------------------- */
.page-hero {
	display: flex;
	align-items: flex-end;
	min-height: 460px;
}
.page-hero-inner {
	max-width: 900px;
}

.page-hero-title {
	font-size: 64px;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.page-hero-text {
	max-width: 620px;
	margin-top: 16px;
}

.with-aside {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	align-items: start;
	gap: 60px;
}

.side-card {
	position: sticky;
	top: 30px;
	padding: 30px;
	border-radius: 20px;
	background: var(--line);
}

.side-card .card-title {
	margin-top: 24px;
}

.side-card p {
	margin-top: 10px;
}

.side-card .btn {
	margin-top: 24px;
}

.price {
	color: var(--ink);
	font-weight: 600;
}

.entry-media {
	margin-bottom: 40px;
	overflow: hidden;
	border-radius: 20px;
}

.entry-media img {
	width: 100%;
}

.entry-content {
	color: #4d4d4d;
	font-size: 18px;
	line-height: 30px;
}

.entry-content > * + * {
	margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.6em;
	color: var(--ink);
	font-family: var(--font-head);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.entry-content h2 {
	font-size: 40px;
}

.entry-content h3 {
	font-size: 30px;
}

.entry-content a {
	color: #0a8fa6;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
	list-style: revert;
}

.entry-content blockquote {
	padding: 20px 24px;
	border-left: 4px solid var(--cyan);
	border-radius: 0 12px 12px 0;
	background: var(--soft);
	color: var(--ink);
}

.entry-content img {
	border-radius: 14px;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 30px;
}

.entry-tags a {
	padding: 6px 14px;
	border-radius: 20px;
	background: var(--line);
	color: var(--ink);
	font-size: 14px;
}

.post-navigation {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 20px;
}

.post-navigation .nav-links a {
	display: grid;
	gap: 6px;
}

.post-navigation .nav-next {
	margin-left: auto;
	text-align: right;
}

.post-navigation .nav-label {
	color: var(--gray);
	font-family: var(--font-body);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.post-navigation a:hover .nav-title {
	text-decoration: underline;
	text-decoration-color: var(--cyan);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.pagination,
.navigation.pagination {
	margin-top: 50px;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 21px;
	background: var(--white);
	color: var(--ink);
	font-weight: 600;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--cyan);
}

.pagination .icon {
	width: 12px;
	height: 12px;
}

.search-bar {
	margin-bottom: 40px;
}

/* Listing templates: the grid opens the section (no section head above it). */
.container > .post-grid:first-child,
.container > .service-grid:first-child,
.search-bar + .post-grid {
	margin-top: 0;
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 560px;
	margin-inline: auto;
}

.search-form input {
	flex: 1;
	height: 46px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 23px;
	background: var(--white);
	outline: 0;
}

.search-form .btn {
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
}

.center > .btn {
	margin-top: 10px;
}

.empty-state {
	text-align: center;
}

.comments {
	margin-top: 60px;
}

.comments-title,
.comment-reply-title {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 30px;
	font-weight: 400;
}

.comment-list {
	display: grid;
	gap: 20px;
	margin-top: 24px;
}

.comment-list .children {
	display: grid;
	gap: 20px;
	margin-top: 20px;
	padding-left: 40px;
}

.comment-body {
	position: relative;
	min-height: 88px;
	padding: 20px 20px 20px 88px;
	border-radius: 15px;
	background: var(--soft);
}

.comment-author .avatar {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.comment-author .fn {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
}

.comment-author .fn a {
	color: inherit;
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	margin-top: 2px;
	font-size: 13px;
}

.comment-metadata a {
	color: var(--gray);
}

.comment-metadata .edit-link {
	margin-left: 8px;
}

.comment-awaiting-moderation {
	display: block;
	margin-top: 6px;
	color: var(--ink);
	font-size: 14px;
	font-style: italic;
}

.comment-content {
	margin-top: 10px;
}

.comment-content p + p {
	margin-top: 10px;
}

.comment-body .reply {
	margin-top: 10px;
}

.comment-reply-link {
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
}

.comment-reply-link:hover {
	text-decoration: underline;
	text-decoration-color: var(--cyan);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.bypostauthor > .comment-body {
	border-left: 3px solid var(--cyan);
}

.comment-respond .comment-reply-title small {
	margin-left: 10px;
	font-family: var(--font-body);
	font-size: 14px;
}

.comment-respond .comment-reply-title small a {
	color: var(--gray);
	text-decoration: underline;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form-cookies-consent input {
	margin-top: 5px;
}

.comment-respond {
	margin-top: 40px;
}

.comment-form {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
}

.comment-form .submit {
	height: 42px;
	padding: 0 27px;
	border: 0;
	border-radius: 21px;
	background: var(--cyan);
	color: var(--ink);
	font-weight: 600;
	cursor: pointer;
}

.widget + .widget {
	margin-top: 30px;
}

.alignwide {
	width: min(1200px, 100vw - 40px);
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignfull {
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.wp-caption-text,
figcaption.wp-element-caption {
	margin-top: 8px;
	font-size: 14px;
	text-align: center;
}

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 1480px) {
	/* Two-column sections get narrower than the design: let titles wrap naturally. */
	.about-body .br,
	.implants-body .br,
	.why-body .br,
	.appointment-body .br {
		display: none;
	}

	.about-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 60px;
	}

	.about-media img {
		width: 100%;
		height: auto;
		aspect-ratio: 650 / 812.67;
	}

	.why-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 60px;
	}

	.why-media img {
		width: 100%;
		height: auto;
		aspect-ratio: 650.67 / 875.33;
	}

	.appointment-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 60px;
	}

	.ba {
		height: auto;
		aspect-ratio: 1400 / 933.33;
	}

	.footer-grid {
		grid-template-columns: 1.6fr 1fr 0.7fr 0.7fr;
		gap: 30px;
	}
}

@media (max-width: 1200px) {
	.primary-nav {
		position: fixed;
		top: 0;
		right: 0;
		left: auto;
		z-index: 60;
		display: flex;
		flex-direction: column;
		gap: 24px;
		width: min(360px, 88vw);
		height: 100vh;
		height: 100dvh;
		padding: 90px 24px 30px;
		overflow-y: auto;
		background: var(--white);
		box-shadow: -20px 0 60px rgba(16, 16, 16, 0.12);
		visibility: hidden;
		transform: translateX(105%);
		transition: transform 0.3s ease, visibility 0s linear 0.3s;
	}

	.primary-nav.is-open {
		visibility: visible;
		transform: none;
		transition: transform 0.3s ease;
	}

	.primary-nav .menu {
		flex-direction: column;
		align-items: stretch;
		height: auto;
	}

	.primary-nav .menu > li {
		height: auto;
		border-bottom: 1px solid var(--line);
	}

	.primary-nav .menu > li > a {
		justify-content: space-between;
		height: auto;
		padding: 14px 4px;
		font-size: 16px;
	}

	.primary-nav .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		margin: 0 0 12px;
		padding: 4px;
		border: 0;
		box-shadow: none;
		background: var(--soft);
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav li.is-open > .sub-menu {
		display: block;
	}

	.primary-nav li:hover > .sub-menu {
		transform: none;
	}

	.nav-cta {
		display: inline-flex;
		align-self: flex-start;
	}

	.nav-toggle {
		position: relative;
		z-index: 70;
		display: grid;
	}

	body.nav-open {
		overflow: hidden;
	}

	body.nav-open .site-header::after {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 55;
		background: rgba(16, 16, 16, 0.4);
	}

	.hero {
		height: auto;
		min-height: 450px;
	}

	.hero-title {
		font-size: 68px;
		line-height: 1.02;
	}

	.service-grid,
	.testimonial-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-grid {
		gap: 20px;
	}

	.process-grid,
	.insta-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.check-tiles--row {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		row-gap: 50px;
	}

	.footer-note {
		margin-top: 40px;
	}
}

@media (max-width: 960px) {
	.section {
		padding: 80px 0;
	}

	.about-grid,
	.why-grid,
	.appointment-grid,
	.with-aside {
		grid-template-columns: 1fr;
		row-gap: 50px;
	}

	.about-media {
		max-width: 560px;
	}

	.about-deco {
		display: none;
	}

	.why-body {
		max-width: none;
		padding-top: 0;
	}

	.why-media {
		order: 2;
	}

	.appointment-body {
		order: -1;
	}

	.info-cards {
		margin-top: 40px;
	}

	.section-title {
		font-size: 44px;
		line-height: 1.05;
	}

	.cta {
		padding: 60px 30px;
	}

	.side-card {
		position: static;
	}
}

@media (max-width: 767px) {
	:root {
		--gutter: 16px;
	}

	.br {
		display: none;
	}

	.topbar {
		justify-content: center;
		height: auto;
		min-height: 32px;
		padding: 6px 16px;
		font-size: 13px;
	}

	/* On phones the top bar is a tap-to-call strip. The address and booking live in the bottom action bar. */
	.topbar-info li:not(.topbar-phone),
	.topbar-social {
		display: none;
	}

	.topbar-info .icon-phone {
		width: 12px;
		height: 12px;
	}

	.brand-mark {
		width: 26px;
		height: 27.7px;
	}

	.brand-name {
		font-size: 20px;
	}

	.brand-sub {
		font-size: 8.5px;
		letter-spacing: 0.14em;
	}

	.site-header {
		height: 64px;
		padding: 0 16px;
	}

	.header-cta {
		display: none;
	}

	.hero,
	.page-hero {
		padding-block: 24px 44px;
		clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
	}

	.hero::after,
	.page-hero::after {
		top: -40px;
		right: -80px;
		width: 240px;
		height: 240px;
		transform: none;
		box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.14), 0 0 0 48px rgba(255, 255, 255, 0.08);
	}

	.hero-tooth {
		top: 18px;
		right: -15px;
		width: 110px;
		transform: rotate(10deg);
	}

	.hero {
		min-height: 0;
	}

	.hero-title {
		font-size: 46px;
		line-height: 1.05;
	}

	.section {
		padding: 64px 0;
	}

	.section-title {
		font-size: 36px;
		line-height: 1.08;
	}

	.head-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.service-grid,
	.testimonial-grid,
	.post-grid,
	.process-grid,
	.check-tiles,
	.check-tiles--row,
	.info-cards {
		grid-template-columns: 1fr;
	}

	.service-grid,
	.testimonial-grid,
	.post-grid,
	.process-grid,
	.insta-grid,
	.faq-list {
		margin-top: 40px;
	}

	.service-card .card-title {
		margin-top: 30px;
	}

	.testimonial,
	.testimonial:nth-child(n + 4) {
		min-height: 0;
	}

	.testimonial blockquote {
		margin-bottom: 30px;
	}

	.step {
		min-height: 240px;
	}

	.process {
		background-position: 35% 50%;
	}

	.process::before {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(16, 16, 16, 0.35);
	}

	.process .container {
		position: relative;
	}

	.booking {
		grid-template-columns: 1fr;
		padding: 24px 18px;
	}

	.cta {
		min-height: 0;
		padding: 50px 18px;
		border-radius: 22px;
	}

	.cta-actions {
		flex-wrap: wrap;
	}

	.site-footer {
		padding: 50px 10px;
	}

	.footer-card {
		padding: 40px 22px 22px;
		border-radius: 22px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		row-gap: 36px;
	}

	.brand--footer .brand-name {
		font-size: 32px;
	}

	.brand--footer .brand-sub {
		font-size: 11px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 40px;
	}

	.page-hero {
		min-height: 340px;
	}

	.page-hero-title {
		font-size: 40px;
	}

	.comment-list .children {
		padding-left: 14px;
	}

	.comment-body {
		min-height: 76px;
		padding: 16px 16px 16px 70px;
	}

	.comment-author .avatar {
		top: 16px;
		left: 16px;
		width: 40px;
		height: 40px;
	}

	.post-navigation .nav-links {
		flex-direction: column;
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

/* ===========================================================================
   Apex Dental additions: language switcher, implants, contact map, details
   =========================================================================== */

/* Top bar phone */
.topbar-info .icon-phone {
	width: 11px;
	height: 11px;
}

/* Language switcher -------------------------------------------------------- */
.lang-switch ul {
	display: flex;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.lang-switch a {
	display: grid;
	place-items: center;
	min-width: 34px;
	height: 30px;
	padding: 0 8px;
	border-radius: 16px;
	color: var(--gray);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch a:hover {
	background: var(--soft);
	color: var(--ink);
}

.lang-switch a[aria-current="true"] {
	background: var(--ink);
	color: var(--white);
}

/* Dental implants spotlight ------------------------------------------------ */
.implants-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	column-gap: 90px;
}

.implants-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.implants-body .section-lead {
	max-width: 560px;
}

.implant-options {
	display: grid;
	gap: 26px;
	margin: 44px 0 46px;
}

.implant-options li {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.implant-num {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--cyan);
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 500;
}

.implant-title {
	margin-top: 2px;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 21.33px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: -0.04em;
}

.implant-options p {
	margin-top: 4px;
	max-width: 480px;
}

.implants-art {
	padding: 40px;
	border-radius: 30px;
	background: var(--soft);
}

.implant-figure {
	margin: 0;
}

.implant-svg {
	width: 100%;
	max-width: 520px;
	height: auto;
	margin-inline: auto;
}

.implant-legend {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 28px;
	margin-top: 30px;
	counter-reset: legend;
}

.implant-legend li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-left: 38px;
	counter-increment: legend;
}

.implant-legend li::before {
	content: counter(legend);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
}

.implant-legend strong {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 500;
	line-height: 26px;
	letter-spacing: -0.02em;
}

.implant-legend span {
	font-size: 14px;
	line-height: 20px;
}

.entry-content .implant-figure {
	margin: 34px 0;
	padding: 30px;
	border-radius: 24px;
	background: var(--soft);
}

/* Contact page: visit block ------------------------------------------------ */
.visit-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	align-items: stretch;
	column-gap: 60px;
}

.visit-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.visit-body .section-lead {
	max-width: 520px;
}

.visit-list {
	display: grid;
	gap: 14px;
	margin: 30px 0 34px;
}

.visit-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--ink);
	font-weight: 500;
}

.visit-list .icon {
	margin-top: 4px;
	font-size: 15px;
	color: var(--ink);
}

.visit-map {
	min-height: 440px;
	overflow: hidden;
	border-radius: 25px;
	background: var(--line);
}

.visit-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 440px;
	border: 0;
}

/* Smaller details ---------------------------------------------------------- */
.footer-directions {
	display: block;
	margin-top: 8px;
	color: var(--ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--cyan);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.footer-sub-notice {
	margin-top: 10px;
	font-size: 14px;
	line-height: 20px;
}

.footer-sub-notice--success {
	color: #12805c;
}

.footer-sub-notice--error {
	color: #c23a3f;
}

.side-card-phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--ink);
	font-weight: 600;
}

.side-card-phone .icon {
	font-size: 14px;
}

/* Responsive additions ----------------------------------------------------- */
@media (max-width: 1480px) {
	.implants-grid {
		column-gap: 60px;
	}
}

@media (max-width: 1200px) {
	.header-actions {
		gap: 10px;
	}

	.implants-grid,
	.visit-grid {
		grid-template-columns: 1fr;
		row-gap: 50px;
	}
}

@media (max-width: 767px) {
	.lang-switch ul {
		padding: 2px;
	}

	.lang-switch a {
		min-width: 30px;
		height: 28px;
		padding: 0 6px;
		font-size: 12px;
	}

	.implants-art {
		padding: 22px;
		border-radius: 22px;
	}

	.implant-legend {
		grid-template-columns: 1fr;
	}

	.visit-map,
	.visit-map iframe {
		min-height: 320px;
	}

	.entry-content .implant-figure {
		padding: 20px;
	}
}

@media (max-width: 380px) {
	.brand-sub {
		display: none;
	}
}

@media (max-width: 800px) {
	.brand-tag {
		display: none;
	}
}

/* Mobile action bar: Book + Location, fixed to the bottom of the screen -------------------------- */
.mobile-cta {
	display: none;
}

@media (max-width: 767px) {
	/* Room for the bar so it never covers the end of the page. */
	body {
		padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
	}

	.mobile-cta {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 40; /* under the mobile-menu overlay (50) */
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		border-radius: 22px 22px 0 0;
		background: rgba(255, 255, 255, 0.95);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		box-shadow: 0 -8px 28px rgba(16, 16, 16, 0.16);
	}

	.mobile-cta__item {
		display: flex;
		align-items: center;
		gap: 10px;
		min-width: 0;
		height: 56px;
		padding: 0 14px 0 8px;
		border-radius: 16px;
		font-family: var(--font-head);
		font-size: 15px;
		font-weight: 600;
		line-height: 1.15;
		letter-spacing: -0.01em;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
		transition: transform 0.15s ease;
	}

	.mobile-cta__item:only-child {
		grid-column: 1 / -1;
	}

	.mobile-cta__item:active {
		transform: scale(0.97);
	}

	.mobile-cta__icon {
		display: grid;
		flex: none;
		place-items: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
	}

	.mobile-cta__icon svg {
		width: 20px;
		height: 20px;
	}

	.mobile-cta__icon .icon-location-dot {
		width: 15px;
		height: 20px;
	}

	/* Up to two lines, so "Torrance, California" is shown in full instead of being cut. */
	.mobile-cta__label {
		display: -webkit-box;
		min-width: 0;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	/* Book: bright cyan pill with a white icon disc. */
	.mobile-cta__item--book {
		background: linear-gradient(135deg, #5be8ff, var(--cyan));
		color: var(--ink);
		box-shadow: 0 6px 16px rgba(26, 222, 255, 0.45);
	}

	.mobile-cta__item--book .mobile-cta__icon {
		background: var(--white);
		color: var(--ink);
	}

	/* Location: dark pill with a cyan icon disc. */
	.mobile-cta__item--map {
		background: var(--ink);
		color: var(--white);
		box-shadow: 0 6px 16px rgba(16, 16, 16, 0.3);
	}

	.mobile-cta__item--map .mobile-cta__icon {
		background: var(--cyan);
		color: var(--ink);
	}
}

@media (max-width: 340px) {
	.mobile-cta__item {
		gap: 6px;
		padding-right: 8px;
		font-size: 13.5px;
	}

	.mobile-cta__icon {
		width: 34px;
		height: 34px;
	}
}
