/*
Theme Name: Oval Smile Dental
Theme URI: https://ovalsmiledentalclinic.com
Author: Oval Smile Dental Clinic
Description: Hand-coded, page-builder-free theme for Oval Smile Dental Clinic. Premium clinical design system — Cal Sans headings, Hanken Grotesk body, a soft ivory canvas with rounded white panels, deep teal branding, champagne-gold calls-to-action, a floating sticky header, video hero with booking form, before/after smile gallery, treatments grid, review slider and a dark multi-column footer.
Version: 1.4.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ovalsmile-dental
Tags: custom-logo, custom-menu, featured-images, footer-widgets, threaded-comments, translation-ready, wide-blocks
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Canvas & surfaces — soft ivory canvas, white panels, muted sand cards */
	--c-bg: #f9f8f6;
	--c-surface: #ffffff;
	--c-surface-2: #f3f0ea;
	--c-sand: #efece6;

	/* Ink — warm slate instead of pure black */
	--c-ink: #0f2c33;
	--c-text: #2c3e50;
	--c-body: #34495a;
	--c-navy: #1a3c40;
	--c-muted: #5f6b6d;
	--c-subtle: #858d8c;
	--c-line: #e0dbd1;
	--c-line-2: #ebe7df;

	/* Brand — deep teal / petrol */
	--c-primary: #1a3c40;
	--c-primary-600: #0f2c33;
	--c-primary-400: #2e5c61;
	--c-primary-300: #d9bf86;
	--c-primary-100: #e6dcc4;
	--c-primary-50: #e8efee;
	--c-deep: #0f2c33;
	--grad-primary: linear-gradient(to right, #2e5c61 0%, #1a3c40 55%, #0f2c33 100%);
	--grad-fade: linear-gradient(to bottom, rgb(255 255 255 / 0) 0%, #ffffff 60%);

	/* Accent — champagne gold (CTAs, icons, fine lines) */
	--c-accent: #c5a059;
	--c-accent-600: #a8833f;
	--c-accent-300: #d9bf86;
	--c-accent-50: #f6f0e4;
	--grad-accent: linear-gradient(to right, #d6b877 0%, #c5a059 55%, #b48f4a 100%);

	/* Footer */
	--c-footer: #0f2c33;
	--c-footer-link: #b3bfbd;

	/* Feedback */
	--c-star: #d4af37;
	--c-success-bg: #e7f6ee;
	--c-success: #0b6b3a;
	--c-error-bg: #fdecea;
	--c-error: #a4231a;

	/* Typography */
	--font-display: "Cal Sans", "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-h1: clamp(2.25rem, 1.35rem + 3.8vw, 4.5rem);
	--fs-h2: clamp(1.75rem, 1.25rem + 2.1vw, 3rem);
	--fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.4375rem);

	/* Shape */
	--radius-xs: 8px;
	--radius-sm: 10px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 20px;
	--radius-pill: 999px;
	--shadow-sm: 0 1px 2px rgb(15 44 51 / 0.06);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 24px 48px -16px rgb(15 44 51 / 0.28);
	--shadow-header: 0 12px 32px -12px rgb(15 44 51 / 0.18);

	/* Layout */
	--container: 1232px;
	--gutter: 16px;
	--edge: 12px;
	--header-h: 64px;
	--header-top: 12px;
	--section-space: 40px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
	:root {
		--gutter: 24px;
		--edge: 20px;
		--header-h: 68px;
		--header-top: 16px;
		--section-space: 56px;
	}
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + var(--header-top) + 16px);
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

img,
video {
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--c-ink);
	font-family: var(--font-display);
	/* Cal Sans ships as a single, inherently semibold weight. */
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--c-primary);
	text-decoration: none;
	transition: color 0.2s, opacity 0.2s;
}

a:hover {
	color: var(--c-primary-600);
}

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

button {
	cursor: pointer;
}

:where(ul[class], ol[class]) {
	margin: 0;
	padding: 0;
	list-style: none;
}

address {
	font-style: normal;
}

:focus-visible {
	outline: 2px solid var(--c-primary-400);
	outline-offset: 2px;
}

::selection {
	background: var(--c-primary-100);
	color: var(--c-ink);
}

.icon {
	width: 20px;
	height: 20px;
	flex: none;
}

/* Accessibility helpers */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	border-radius: var(--radius-sm);
	background: var(--c-navy);
	color: #fff;
	font-weight: 600;
}

.scroll-sentinel {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 24px;
	pointer-events: none;
}

/* WordPress core classes */
.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption,
figcaption.wp-element-caption {
	margin-top: 8px;
	color: var(--c-muted);
	font-size: 0.875rem;
	text-align: center;
}

.sticky,
.bypostauthor {
	/* Styled contextually; required by theme review. */
	position: relative;
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

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

.section {
	margin-block: var(--section-space);
}

.panel {
	padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 48px);
	border-radius: var(--radius-xl);
	background: var(--c-surface);
}

.panel--fade {
	background: var(--grad-fade);
}

.site-main--inner {
	padding-top: calc(var(--header-h) + var(--header-top) + 32px);
}

/* ==========================================================================
   4. Components
   ========================================================================== */

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn .icon {
	width: 18px;
	height: 18px;
}

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

.btn--primary {
	background: var(--grad-accent);
	color: var(--c-primary-600);
}

.btn--primary:hover {
	opacity: 0.85;
	color: var(--c-primary-600);
}

.btn--pill {
	border-color: var(--c-line);
	border-radius: var(--radius-pill);
	background: var(--c-surface);
	color: var(--c-navy);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.btn--pill:hover {
	border-color: var(--c-navy);
	color: var(--c-navy);
}

.btn--dark {
	border-radius: var(--radius-pill);
	background: var(--c-navy);
	color: #fff;
	font-weight: 600;
}

.btn--dark:hover {
	background: var(--c-primary-600);
	color: #fff;
}

.btn--light {
	border-radius: var(--radius-pill);
	background: #fff;
	color: var(--c-navy);
	font-weight: 600;
}

.btn--light:hover {
	color: var(--c-primary);
	box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.35);
}

.btn--ghost-light {
	border-color: rgb(255 255 255 / 0.4);
	border-radius: var(--radius-pill);
	background: rgb(255 255 255 / 0.1);
	color: #fff;
	font-weight: 600;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.btn--ghost-light:hover {
	background: rgb(255 255 255 / 0.2);
	color: #fff;
}

.btn--sm {
	min-height: 40px;
	padding: 8px 14px;
	border-radius: var(--radius-xs);
}

.btn--lg {
	min-height: 52px;
	padding: 14px 26px;
	font-size: 1rem;
}

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

.icon-btn {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	background: var(--c-surface);
	color: var(--c-navy);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}

.icon-btn:hover:not(:disabled) {
	border-color: var(--c-navy);
	background: var(--c-navy);
	color: #fff;
}

.icon-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.icon-btn--dark {
	border-color: rgb(255 255 255 / 0.18);
	background: transparent;
	color: #fff;
}

.icon-btn--dark:hover:not(:disabled) {
	border-color: #fff;
	background: #fff;
	color: var(--c-footer);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9375rem;
	font-weight: 600;
}

.link-arrow .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

/* Eyebrow, tags, stars ---------------------------------------------------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: var(--c-primary-50);
	color: var(--c-primary);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow .icon {
	width: 14px;
	height: 14px;
}

.eyebrow--light {
	border: 1px solid rgb(255 255 255 / 0.22);
	background: rgb(255 255 255 / 0.12);
	color: #fff;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.eyebrow--light .icon {
	color: var(--c-star);
}

.tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	background: var(--c-primary-50);
	color: var(--c-primary);
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

.stars {
	display: inline-flex;
	gap: 2px;
	color: var(--c-star);
}

.stars .icon {
	width: 18px;
	height: 18px;
}

.stars .is-off {
	color: var(--c-line);
}

/* Section heading ---------------------------------------------------------- */
.section-heading {
	max-width: 760px;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.section-heading .eyebrow {
	margin-bottom: 14px;
}

.section-title {
	font-size: var(--fs-h2);
	line-height: 1.15;
	letter-spacing: 0.03rem;
}

.section-lede {
	margin: 14px 0 0;
	color: var(--c-muted);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.section-heading--center .section-lede {
	max-width: 620px;
	margin-inline: auto;
}

/* Forms --------------------------------------------------------------------- */
.field label {
	display: block;
	margin-bottom: 6px;
	color: var(--c-navy);
	font-size: 0.8125rem;
	font-weight: 600;
}

.field input,
.field select,
.field textarea,
.search-form .search-field,
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	background: var(--c-surface-2);
	font-size: 0.9375rem;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.field textarea,
.comment-form textarea {
	min-height: 120px;
	padding-block: 12px;
	resize: vertical;
}

.field select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2430' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 16px;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search-form .search-field:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--c-primary-400);
	outline: none;
	background-color: #fff;
	box-shadow: 0 0 0 4px rgb(26 60 64 / 0.14);
}

.field-row {
	display: grid;
	gap: 12px;
}

@media (min-width: 480px) {
	.field-row {
		grid-template-columns: 1fr 1fr;
	}
}

.consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--c-muted);
	font-size: 0.8125rem;
	line-height: 1.45;
	cursor: pointer;
}

.consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--c-primary);
}

.consent a {
	text-decoration: underline;
}

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

/* International phone field (intl-tel-input, restyled to match the form) */
.field--phone {
	--iti-border-color: var(--c-line);
	--iti-hover-color: var(--c-primary-50);
	--iti-icon-color: var(--c-navy);
	--iti-arrow-padding: 6px;
	--iti-spacer-horizontal: 14px;
}

.field--phone .iti {
	display: block;
	width: 100%;
}

.field--phone .iti__selected-country {
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.field--phone .iti__selected-country-primary {
	border-radius: inherit;
}

.field--phone .iti__selected-dial-code {
	margin-left: 6px;
	color: var(--c-ink);
	font-size: 0.9375rem;
}

.field--phone .iti__flag {
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08);
}

.iti__country-selector {
	overflow: hidden;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
}

.iti--inline-country-selector .iti__country-selector {
	margin-top: 4px;
	border-color: var(--c-line);
	box-shadow: var(--shadow-lg);
}

.iti--inline-country-selector .iti__country-list {
	max-height: 240px;
}

.iti .iti__search-input,
.field .iti__search-input {
	min-height: 44px;
	padding-left: calc(var(--iti-spacer-horizontal) + var(--iti-globe-icon-size) + var(--iti-spacer-horizontal));
	padding-right: calc(var(--iti-spacer-horizontal) + var(--iti-clear-icon-size) + var(--iti-spacer-horizontal));
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	font-size: 0.9375rem;
}

.field .iti__search-input:focus {
	outline: none;
	background: var(--c-surface-2);
	box-shadow: none;
}

.iti__country.iti__highlight,
.iti__country[aria-selected="true"] {
	color: var(--c-primary);
}

.iti__dial-code {
	color: var(--c-muted);
}

.form-notice {
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	line-height: 1.45;
}

.form-notice--success {
	background: var(--c-success-bg);
	color: var(--c-success);
}

.form-notice--error {
	background: var(--c-error-bg);
	color: var(--c-error);
}

.search-form {
	display: flex;
	gap: 8px;
	margin: 20px 0;
}

.search-form label {
	flex: 1;
}

.search-form .search-submit {
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--c-navy);
	color: #fff;
	font-weight: 600;
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
	position: fixed;
	top: var(--header-top);
	right: var(--edge);
	left: var(--edge);
	z-index: 100;
}

.admin-bar .site-header {
	top: calc(var(--header-top) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: calc(var(--header-top) + 46px);
	}
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	height: var(--header-h);
	max-width: 1400px;
	margin-inline: auto;
	padding: 0 10px 0 14px;
	border-radius: var(--radius-lg);
	background: rgb(255 255 255 / 0.97);
	box-shadow: 0 0 0 1px rgb(15 44 51 / 0.04);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled .site-header__bar {
	box-shadow: var(--shadow-header);
}

/* Branding */
.site-branding {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.site-logo img,
.custom-logo {
	width: auto;
	height: 44px;
}

.site-title {
	display: flex;
	flex-direction: column;
	min-width: 0;
	color: var(--c-ink);
	line-height: 1;
}

.site-title:hover {
	color: var(--c-ink);
}

.site-title__name {
	font-family: var(--font-display);
	font-size: 1.125rem;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.site-title__tagline {
	margin-top: 4px;
	color: var(--c-muted);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-branding--light .site-title,
.site-branding--light .site-title:hover {
	color: #fff;
}

.site-branding--light .site-title__tagline {
	color: var(--c-footer-link);
}

/* Primary navigation */
.primary-nav {
	display: none;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

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

.primary-nav a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 10px 14px;
	border-radius: var(--radius-pill);
	color: var(--c-navy);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s;
}

.primary-nav a:hover,
.primary-nav li:focus-within > a {
	background: var(--c-bg);
	color: var(--c-ink);
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
	color: var(--c-primary);
}

.primary-nav .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin: -3px 0 0 4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	z-index: 10;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-md);
	background: #fff;
	box-shadow: var(--shadow-lg);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}

.primary-nav .sub-menu::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 12px;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.primary-nav .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius-xs);
}

/* Mega menu (Treatments): full-width panel under the header bar */
.site-header__bar {
	position: relative;
}

.primary-nav .menu > li.menu-item--mega {
	position: static;
}

.mega-panel {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 10;
	padding-top: 12px; /* hover bridge between the bar and the panel */
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}

.primary-nav li:hover > .mega-panel,
.primary-nav li:focus-within > .mega-panel {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.mega-panel__inner {
	max-height: calc(100vh - var(--header-top) - var(--header-h) - 40px);
	overflow-y: auto;
	padding: 28px 30px 30px;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-lg);
	overscroll-behavior: contain;
}

.mega-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.mega-panel__title {
	margin: 0;
	color: var(--c-ink);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.primary-nav .mega-panel__all {
	gap: 8px;
	padding: 8px 14px;
	color: var(--c-primary);
	font-size: 0.875rem;
	font-weight: 600;
}

.mega-panel__all .icon {
	width: 16px;
	height: 16px;
}

.mega-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav .mega-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 8px;
	border-radius: var(--radius-md);
	color: var(--c-navy);
	font-weight: 400;
	letter-spacing: 0;
	white-space: normal;
}

.primary-nav .mega-card:hover,
.primary-nav .mega-grid__item:focus-within > .mega-card {
	background: var(--c-surface-2);
}

.mega-card__thumb {
	display: grid;
	flex: none;
	place-items: center;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}

.mega-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mega-card__thumb--placeholder {
	background: linear-gradient(145deg, #f9f8f6 0%, #efece6 100%);
	color: var(--c-primary);
}

.mega-card__thumb--placeholder .icon {
	width: 38px;
	height: 38px;
	stroke-width: 1.5;
}

.mega-card__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.mega-card__title {
	color: var(--c-primary);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.3;
}

.mega-card__text {
	display: -webkit-box;
	overflow: hidden;
	color: var(--c-navy);
	font-size: 0.9375rem;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.mega-grid__item.current-menu-item .mega-card__title {
	color: var(--c-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Actions */
.site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.header-phone {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	color: var(--c-navy);
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
}

.header-phone .icon {
	width: 18px;
	height: 18px;
	color: var(--c-accent-600);
}

.header-cta {
	display: none;
}

.nav-toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--c-bg);
	color: var(--c-navy);
}

@media (min-width: 640px) {
	.header-cta {
		display: inline-flex;
	}
}

@media (min-width: 1100px) {
	.primary-nav {
		display: flex;
		flex: 1;
		justify-content: center;
	}

	.site-header__actions {
		margin-left: 0;
	}

	.nav-toggle {
		display: none;
	}
}

@media (min-width: 1360px) {
	.header-phone {
		display: inline-flex;
	}
}

/* Mobile drawer */
.mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.mobile-drawer[hidden] {
	display: none;
}

.mobile-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(15 44 51 / 0.5);
	opacity: 0;
	transition: opacity 0.3s var(--ease);
}

.mobile-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: min(420px, 100%);
	padding: 16px 20px 24px;
	overflow-y: auto;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.35s var(--ease);
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
	opacity: 1;
}

.mobile-drawer.is-open .mobile-drawer__panel {
	transform: none;
}

.mobile-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.drawer-menu a {
	display: block;
	padding: 14px 4px;
	border-bottom: 1px solid var(--c-line-2);
	color: var(--c-ink);
	font-size: 1.125rem;
	font-weight: 500;
}

.drawer-menu .sub-menu {
	margin: 0;
	padding: 0 0 0 16px;
	list-style: none;
}

.drawer-menu .sub-menu a {
	color: var(--c-muted);
	font-size: 1rem;
}

.mobile-drawer__foot {
	display: grid;
	gap: 10px;
	margin-top: auto;
}

body.drawer-open {
	overflow: hidden;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
	position: relative;
	display: flex;
	isolation: isolate;
	min-height: min(calc(100vh - var(--edge) / 2), 1000px);
	min-height: min(calc(100svh - var(--edge) / 2), 1000px);
	margin: calc(var(--edge) / 2) calc(var(--edge) / 2) 0;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background: var(--c-footer);
	color: #fff;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero__media video,
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgb(15 44 51 / 0.55) 0%, rgb(15 44 51 / 0.1) 30%, rgb(15 44 51 / 0.75) 100%),
		linear-gradient(90deg, rgb(15 44 51 / 0.7) 0%, rgb(15 44 51 / 0) 75%);
}

.hero__inner {
	position: relative;
	display: grid;
	align-content: end;
	gap: 32px;
	padding-top: calc(var(--header-h) + var(--header-top) + 56px);
	padding-bottom: clamp(24px, 5vw, 56px);
}

.hero__title {
	max-width: 13ch;
	margin: 18px 0;
	color: #fff;
	font-size: var(--fs-h1);
	line-height: 1.02;
	letter-spacing: -0.015em;
}

.hero__lede {
	max-width: 560px;
	margin: 0 0 28px;
	color: rgb(255 255 255 / 0.85);
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 28px;
	color: rgb(255 255 255 / 0.9);
	font-size: 0.9375rem;
}

.hero__points li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hero__points .icon {
	width: 18px;
	height: 18px;
	color: var(--c-accent-300);
}

@media (max-width: 479px) {
	.hero__actions .btn {
		width: 100%;
	}
}

@media (min-width: 1024px) {
	.hero__inner {
		grid-template-columns: minmax(0, 1fr) 420px;
		align-items: end;
		gap: 48px;
	}
}

/* Booking card */
.booking-card {
	padding: clamp(20px, 2.5vw, 28px);
	border-radius: var(--radius-xl);
	background: #fff;
	color: var(--c-text);
	box-shadow: var(--shadow-lg);
	scroll-margin-top: calc(var(--header-h) + var(--header-top) + 16px);
}

.booking-card__title {
	margin-bottom: 6px;
	font-size: 1.625rem;
}

.booking-card__sub {
	margin-bottom: 20px;
	color: var(--c-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.booking-form {
	display: grid;
	gap: 12px;
}

.booking-form .btn {
	margin-top: 4px;
}

.booking-form.is-loading .btn {
	opacity: 0.7;
	pointer-events: none;
}

.booking-card__assurance {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	color: var(--c-subtle);
	font-size: 0.8125rem;
}

.booking-card__assurance .icon {
	width: 16px;
	height: 16px;
	color: var(--c-accent-600);
}

/* ==========================================================================
   7. Trust bar
   ========================================================================== */

.trust {
	margin-top: 12px;
}

.trust__panel {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 16px;
	padding: 20px;
	border-radius: var(--radius-xl);
	background: var(--c-surface);
}

.trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.trust__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md);
	background: var(--c-accent-50);
	color: var(--c-accent-600);
}

.trust__icon .icon--star {
	color: var(--c-star);
}

.trust__value {
	display: block;
	color: var(--c-ink);
	font-family: var(--font-display);
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
	line-height: 1;
}

.trust__label {
	display: block;
	margin-top: 6px;
	color: var(--c-muted);
	font-size: 0.8125rem;
	line-height: 1.35;
}

@media (min-width: 1024px) {
	.trust__panel {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: 28px 32px;
	}

	.trust__item + .trust__item {
		padding-left: 24px;
		border-left: 1px solid var(--c-line-2);
	}
}

/* ==========================================================================
   8. Services
   ========================================================================== */

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (min-width: 768px) {
	.services-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (min-width: 1024px) {
	.services-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: #fff;
	color: inherit;
	box-shadow: var(--shadow-md);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-card:hover {
	color: inherit;
	box-shadow: 0 18px 32px -14px rgb(15 44 51 / 0.3);
	transform: translateY(-3px);
}

.service-card__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.service-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
}

.service-card__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: var(--radius-xs);
	background: var(--c-accent-50);
	color: var(--c-accent-600);
}

.service-card__title {
	color: var(--c-ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

.service-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	color: var(--c-subtle);
	font-size: 0.875rem;
	font-style: italic;
	line-height: 1.45;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.service-card__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 12px;
	background: var(--c-primary-400);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: background-color 0.2s;
}

.service-card__cta .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.service-card:hover .service-card__cta {
	background: var(--c-primary);
}

.service-card:hover .service-card__cta .icon {
	transform: translateX(3px);
}

.services__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: clamp(24px, 3vw, 40px);
	text-align: center;
}

.services__footer p {
	margin: 0;
	color: var(--c-body);
	font-size: 1.0625rem;
}

.services__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

@media (max-width: 479px) {
	.service-card__body {
		padding: 12px;
	}

	.service-card__title {
		font-size: 0.9375rem;
	}

	.service-card__excerpt {
		font-size: 0.8125rem;
	}
}

/* ==========================================================================
   9. Smile gallery (before & after)
   ========================================================================== */

.filter-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 28px;
}

.filter-pill {
	min-height: 40px;
	padding: 8px 18px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-pill);
	background: #fff;
	color: var(--c-navy);
	font-size: 0.875rem;
	font-weight: 600;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.filter-pill:hover {
	border-color: var(--c-navy);
}

.filter-pill[aria-pressed="true"] {
	border-color: var(--c-navy);
	background: var(--c-navy);
	color: #fff;
}

.ba-grid {
	display: grid;
	gap: 16px;
}

@media (min-width: 640px) {
	.ba-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ba-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ba-card {
	margin: 0;
	padding: 10px;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-xl);
	background: var(--c-surface-2);
}

.ba-card[hidden] {
	display: none;
}

.ba {
	--pos: 50%;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 14px;
	background: var(--c-line-2);
	-webkit-user-select: none;
	user-select: none;
	touch-action: pan-y;
}

.ba__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ba__before {
	position: absolute;
	inset: 0;
	clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 2px;
	background: #fff;
	transform: translateX(-1px);
	pointer-events: none;
}

.ba__handle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2430' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 20px no-repeat;
	box-shadow: var(--shadow-md);
	transform: translate(-50%, -50%);
	transition: box-shadow 0.2s;
}

.ba:focus-within .ba__handle::after {
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c-primary-400);
}

.ba__range {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	margin: 0;
	background: transparent;
	opacity: 0;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
}

.ba__range::-webkit-slider-thumb {
	width: 48px;
	height: 100vh;
	-webkit-appearance: none;
	appearance: none;
}

.ba__range::-moz-range-thumb {
	width: 48px;
	height: 100vh;
	border: 0;
}

.ba__chip {
	position: absolute;
	top: 12px;
	z-index: 1;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	pointer-events: none;
}

.ba__chip--before {
	left: 12px;
	background: rgb(15 44 51 / 0.6);
	color: #fff;
}

.ba__chip--after {
	right: 12px;
	background: #fff;
	color: var(--c-navy);
}

.ba-card__caption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 6px 4px;
}

.ba-card__title {
	display: block;
	color: var(--c-ink);
	font-weight: 600;
}

.ba-card__meta {
	display: block;
	color: var(--c-muted);
	font-size: 0.8125rem;
}

/* ==========================================================================
   10. Reviews slider
   ========================================================================== */

.reviews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.reviews__head .section-heading {
	margin-bottom: 0;
}

.rating-summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border-radius: var(--radius-lg);
	background: var(--c-surface-2);
}

.rating-summary__value {
	color: var(--c-ink);
	font-family: var(--font-display);
	font-size: 2.5rem;
	line-height: 1;
}

.rating-summary__label {
	display: block;
	margin-top: 4px;
	color: var(--c-muted);
	font-size: 0.8125rem;
}

.slider__track {
	position: relative;
	display: grid;
	grid-auto-columns: 86%;
	grid-auto-flow: column;
	gap: 16px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	border-radius: var(--radius-lg);
}

.slider__track::-webkit-scrollbar {
	display: none;
}

.slider__track > * {
	scroll-snap-align: start;
}

@media (min-width: 768px) {
	.slider__track {
		grid-auto-columns: calc((100% - 16px) / 2);
	}
}

@media (min-width: 1024px) {
	.slider__track {
		grid-auto-columns: calc((100% - 32px) / 3);
	}
}

.slider__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
}

.slider__dots {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.slider__dot {
	position: relative;
	width: 8px;
	height: 8px;
	margin: 8px 2px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--c-line);
	transition: width 0.25s var(--ease), background-color 0.25s;
}

.slider__dot::before {
	content: "";
	position: absolute;
	inset: -10px -4px;
}

.slider__dot.is-active {
	width: 24px;
	background: var(--c-navy);
}

.slider__arrows {
	display: flex;
	gap: 8px;
}

.review-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-lg);
	background: var(--c-surface-2);
}

.review-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.review-card__mark {
	width: 28px;
	height: 28px;
	color: var(--c-primary-100);
}

.review-card__quote {
	flex: 1;
	margin: 0;
	color: var(--c-body);
	font-size: 1rem;
	line-height: 1.65;
}

.review-card__quote p {
	margin: 0;
}

.review-card__author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--c-line-2);
}

.avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--grad-primary);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.review-card__name {
	display: block;
	color: var(--c-ink);
	font-size: 0.9375rem;
	font-style: normal;
	font-weight: 600;
}

.review-card__meta {
	display: block;
	color: var(--c-muted);
	font-size: 0.8125rem;
}

/* ==========================================================================
   11. CTA band
   ========================================================================== */

.cta-band {
	position: relative;
	display: grid;
	align-items: center;
	gap: 28px;
	padding: clamp(32px, 5vw, 72px);
	overflow: hidden;
	border-radius: var(--radius-xl);
	background: var(--grad-primary);
	color: #fff;
	isolation: isolate;
}

.cta-band::before,
.cta-band::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(255 255 255 / 0.18) 0%, rgb(255 255 255 / 0) 70%);
}

.cta-band::before {
	top: -40%;
	right: -10%;
	width: 520px;
	height: 520px;
}

.cta-band::after {
	bottom: -55%;
	left: 20%;
	width: 420px;
	height: 420px;
}

.cta-band__title {
	max-width: 18ch;
	color: #fff;
	font-size: var(--fs-h2);
	line-height: 1.1;
}

.cta-band__text {
	max-width: 560px;
	margin: 14px 0 0;
	color: rgb(255 255 255 / 0.85);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (min-width: 1024px) {
	.cta-band {
		grid-template-columns: 1fr auto;
	}
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.site-footer {
	margin: 100px var(--edge) 0;
	padding: clamp(40px, 6vw, 72px) 0 24px;
	border-radius: var(--radius-xl) var(--radius-xl) 0 0;
	background: var(--c-footer);
	color: #fff;
}

.footer-top {
	display: grid;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

@media (min-width: 1024px) {
	.footer-top {
		grid-template-columns: 1.3fr 1fr;
		align-items: start;
		gap: 64px;
	}
}

.footer-about {
	max-width: 440px;
	margin: 20px 0 0;
	color: var(--c-footer-link);
	line-height: 1.65;
}

.social-links {
	display: flex;
	gap: 10px;
	margin-top: 24px;
}

.social-links a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgb(255 255 255 / 0.16);
	border-radius: 50%;
	color: #fff;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.social-links a:hover {
	border-color: #fff;
	background: #fff;
	color: var(--c-footer);
}

.social-links .icon {
	width: 18px;
	height: 18px;
}

.footer-contact {
	display: grid;
	gap: 20px;
}

.footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.footer-contact__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-md);
	background: rgb(255 255 255 / 0.06);
	color: var(--c-primary-300);
}

.footer-contact__label {
	display: block;
	margin-bottom: 2px;
	color: var(--c-footer-link);
	font-size: 0.8125rem;
}

.footer-contact a,
.footer-contact address {
	color: #fff;
	font-weight: 600;
	line-height: 1.45;
}

.footer-contact a:hover {
	color: var(--c-primary-300);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 24px;
	padding: 40px 0;
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

@media (min-width: 1024px) {
	.footer-widgets {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.footer-widget + .footer-widget {
	margin-top: 28px;
}

.footer-widget__title,
.footer-widget .wp-block-heading {
	margin: 0 0 16px;
	color: #fff;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.footer-widget ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-widget,
.footer-widget p,
.footer-widget li {
	color: var(--c-footer-link);
	font-weight: 500;
}

.footer-widget a {
	color: var(--c-footer-link);
	font-weight: 500;
	transition: color 0.2s;
}

.footer-widget a:hover {
	color: #fff;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-top: 24px;
	color: var(--c-footer-link);
	font-size: 0.875rem;
}

.footer-copy {
	margin: 0;
}

.footer-credit::before {
	content: "·";
	margin: 0 8px;
}

.footer-credit a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgb(255 255 255 / 0.35);
	text-underline-offset: 3px;
}

.footer-credit a:hover {
	text-decoration-color: currentColor;
}

@media (max-width: 639px) {
	.footer-credit {
		display: block;
		margin-top: 4px;
	}

	.footer-credit::before {
		content: none;
	}
}

.legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}

.legal-menu a {
	color: var(--c-footer-link);
}

.legal-menu a:hover {
	color: #fff;
}

/* ==========================================================================
   13. Inner pages, posts & comments
   ========================================================================== */

.page-header {
	max-width: 760px;
	margin: 0 auto clamp(24px, 4vw, 48px);
	text-align: center;
}

.page-header .eyebrow {
	margin-bottom: 14px;
}

.page-title {
	font-size: var(--fs-h2);
	letter-spacing: 0.03rem;
}

.page-lede {
	margin-top: 12px;
	color: var(--c-muted);
}

.entry {
	max-width: 880px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 56px);
	border-radius: var(--radius-xl);
	background: var(--c-surface);
}

.entry + .entry,
.entry + .section,
.entry + .post-navigation,
.post-navigation + .entry {
	margin-top: var(--section-space);
}

.entry-header {
	margin-bottom: 24px;
}

.entry-header .eyebrow {
	margin-bottom: 14px;
}

.entry-title {
	font-size: var(--fs-h2);
	line-height: 1.15;
}

.entry-meta {
	margin: 12px 0 0;
	color: var(--c-muted);
	font-size: 0.875rem;
}

.entry-lede {
	margin: 14px 0 0;
	color: var(--c-muted);
	font-size: 1.125rem;
	line-height: 1.6;
}

.entry-media {
	margin: 0 0 28px;
	overflow: hidden;
	border-radius: var(--radius-lg);
}

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

.entry-content {
	color: var(--c-body);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	margin: 1.6em 0 0.6em;
	font-size: 1.75rem;
}

.entry-content h3 {
	margin: 1.4em 0 0.5em;
	font-size: 1.375rem;
}

.entry-content h4 {
	margin: 1.2em 0 0.5em;
	font-size: 1.125rem;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

.entry-content li + li {
	margin-top: 0.35em;
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content img {
	border-radius: var(--radius-md);
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--c-accent);
	color: var(--c-navy);
	font-size: 1.125rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
}

.entry-content .wp-block-button__link {
	border-radius: var(--radius-sm);
	background: var(--grad-accent);
	color: var(--c-primary-600);
	text-decoration: none;
}

.entry-footer,
.page-links {
	margin-top: 28px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-list a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: var(--c-bg);
	color: var(--c-navy);
	font-size: 0.8125rem;
	font-weight: 600;
}

/* Post grid */
.posts-grid {
	display: grid;
	gap: 16px;
}

@media (min-width: 640px) {
	.posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.posts-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: #fff;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.post-card:hover {
	box-shadow: 0 18px 32px -14px rgb(15 44 51 / 0.25);
	transform: translateY(-3px);
}

.post-card__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
}

.post-card__meta {
	margin: 0;
	color: var(--c-muted);
	font-size: 0.8125rem;
}

.post-card__title {
	font-size: 1.3125rem;
}

.post-card__title a {
	color: var(--c-ink);
}

.post-card__excerpt {
	flex: 1;
	color: var(--c-muted);
	font-size: 0.9375rem;
}

.post-card__excerpt p {
	margin: 0;
}

/* Pagination & post navigation */
.pagination {
	margin-top: 40px;
}

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

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: var(--radius-pill);
	background: #fff;
	color: var(--c-navy);
	font-weight: 600;
}

.page-numbers.current,
a.page-numbers:hover {
	background: var(--c-navy);
	color: #fff;
}

.page-numbers .icon {
	width: 18px;
	height: 18px;
}

.post-navigation {
	max-width: 880px;
	margin-inline: auto;
}

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

@media (min-width: 640px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr 1fr;
	}

	.post-navigation .nav-next {
		grid-column: 2;
		text-align: right;
	}
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 20px 24px;
	border-radius: var(--radius-lg);
	background: #fff;
	color: var(--c-ink);
}

.nav-subtitle {
	display: block;
	color: var(--c-muted);
	font-size: 0.8125rem;
}

.nav-title {
	display: block;
	margin-top: 4px;
	font-weight: 600;
}

/* Comments */
.comments-title,
.comment-reply-title {
	margin-bottom: 20px;
	font-size: 1.5rem;
}

.comment-list {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 0;
	padding-left: 24px;
	list-style: none;
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--c-line-2);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 0.875rem;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.comment-author .avatar {
	width: 36px;
	height: 36px;
}

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

.comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--c-navy);
	font-size: 0.8125rem;
	font-weight: 600;
}

/* 404 */
.error-404 {
	text-align: center;
}

.error-404__code {
	display: block;
	background: var(--grad-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--font-display);
	font-size: clamp(5rem, 3rem + 10vw, 9rem);
	line-height: 1;
}

.error-404 .entry-title {
	margin: 12px 0 16px;
}

.error-404 .search-form {
	max-width: 480px;
	margin-inline: auto;
}

.error-404__actions {
	margin: 24px 0 0;
}

/* ==========================================================================
   14. Prices page
   ========================================================================== */

.site-main--prices {
	padding-top: calc(var(--header-h) + var(--header-top));
}

.booking-form__fields {
	display: grid;
	gap: 12px;
}

@media (min-width: 640px) {
	.booking-form--inline .booking-form__fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.booking-form--inline .field--email,
	.booking-form--inline .field--treatment {
		grid-column: 1 / -1;
	}
}

.media-placeholder {
	display: grid;
	place-items: center;
	background: linear-gradient(145deg, #f9f8f6 0%, #efece6 100%);
	color: var(--c-primary-400);
}

.media-placeholder .icon {
	width: 48px;
	height: 48px;
	stroke-width: 1.25;
	opacity: 0.7;
}

.prices-note {
	margin-top: 12px;
	color: var(--c-subtle);
	font-size: 0.75rem;
	text-align: center;
}

@media (min-width: 1024px) {
	.prices-note {
		padding-left: calc(33% + 16px);
		text-align: left;
	}
}

/* Hero ------------------------------------------------------------------- */
.prices-hero {
	position: relative;
	display: grid;
	min-height: clamp(460px, 62vh, 640px);
	margin: calc(var(--edge) / 2) calc(var(--edge) / 2) 0;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background: #fff;
}

.prices-hero__mosaic {
	position: absolute;
	inset: -40px -60px;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 14px;
	transform: rotate(-4deg);
}

.prices-hero__tile {
	display: grid;
	place-items: center;
	min-height: 150px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, #e8efee, #d3e0de);
	color: rgb(26 60 64 / 0.3);
	box-shadow: var(--shadow-md);
}

.prices-hero__tile:nth-child(2n) {
	transform: translateY(40px);
}

.prices-hero__tile--1 { background: linear-gradient(160deg, #f6efe9, #ead9cc); color: rgb(160 110 80 / 0.3); }
.prices-hero__tile--2 { background: linear-gradient(160deg, #eef1f4, #d8dde3); color: rgb(90 100 120 / 0.3); }
.prices-hero__tile--3 { background: linear-gradient(160deg, #f6f0e4, #e6dcc4); color: rgb(168 131 63 / 0.3); }
.prices-hero__tile--4 { background: linear-gradient(160deg, #e8efee, #d3e0de); color: rgb(26 60 64 / 0.3); }

.prices-hero__tile .icon {
	width: 44px;
	height: 44px;
	stroke-width: 1.25;
}

.prices-hero__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.prices-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 55% 60% at 50% 55%, rgb(255 255 255 / 0.97) 30%, rgb(255 255 255 / 0.75) 60%, rgb(255 255 255 / 0.15) 100%);
	pointer-events: none;
}

.prices-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-block: 72px 56px;
	text-align: center;
}

.breadcrumb {
	position: absolute;
	top: 16px;
	left: var(--gutter);
}

.breadcrumb ol {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 12px;
	border-radius: var(--radius-xs);
	background: rgb(255 255 255 / 0.9);
	box-shadow: var(--shadow-sm);
	color: var(--c-navy);
	font-size: 0.8125rem;
	list-style: none;
}

.breadcrumb li + li::before {
	content: "";
	display: inline-block;
	margin-right: 8px;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 5px solid currentColor;
	vertical-align: 1px;
}

.breadcrumb a {
	color: var(--c-muted);
}

.prices-hero__title {
	margin: 0;
	color: var(--c-text);
	font-size: clamp(2.75rem, 1.6rem + 5vw, 5.25rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.prices-hero__title span {
	display: block;
	color: var(--c-primary);
}

.prices-hero__lede {
	max-width: 440px;
	margin: 20px auto 0;
	color: var(--c-muted);
	font-size: 1.0625rem;
}

.prices-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

/* Cost: range card + comparison ------------------------------------------- */
.cost-grid {
	display: grid;
	gap: 16px;
}

@media (min-width: 1024px) {
	.cost-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
		align-items: start;
	}
}

.range-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--c-primary-600);
	color: #fff;
	box-shadow: var(--shadow-lg);
}

.range-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	align-self: stretch;
	padding: 22px 24px 0;
}

.range-card__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-size: 1.125rem;
	letter-spacing: 0.02em;
}

.range-card__brand img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.range-card__label {
	color: var(--c-primary-300);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.range-card__figures {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	margin: 28px 0 0;
}

.range-card__figure {
	display: grid;
}

.range-card__figure small {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.range-card__figure strong {
	font-family: var(--font-display);
	font-size: clamp(2.75rem, 2rem + 2vw, 3.5rem);
	font-weight: 400;
	line-height: 1;
}

.range-card__figure sup {
	margin-right: 2px;
	color: var(--c-primary-300);
	font-size: 0.55em;
	vertical-align: 0.8em;
}

.range-card__dash {
	padding-bottom: 8px;
	font-size: 1.5rem;
}

.range-card__pill {
	margin-top: 14px;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	background: rgb(197 160 89 / 0.2);
	color: var(--c-primary-300);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.range-card__img {
	width: 100%;
	height: 240px;
	margin-top: 20px;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
}

.compare-card {
	overflow: hidden;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-md);
}

.compare-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: linear-gradient(to right, #fff 40%, var(--c-primary-50));
}

.compare-card__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-xs);
	background: var(--grad-primary);
	color: #fff;
}

.compare-card__icon .icon {
	width: 22px;
	height: 22px;
}

.compare-card__title {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0;
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.compare-table th,
.compare-table td {
	padding: 14px 20px;
	border-top: 1px solid var(--c-line-2);
	text-align: right;
}

.compare-table th[scope="row"],
.compare-table thead th:first-child {
	color: var(--c-navy);
	font-weight: 500;
	text-align: left;
}

.compare-table thead th {
	padding-block: 12px;
	color: var(--c-muted);
	font-size: 0.8125rem;
	font-weight: 600;
}

.compare-table__local {
	color: var(--c-navy);
}

.compare-table td.compare-table__us {
	background: var(--c-primary-50);
	color: var(--c-primary);
	font-weight: 700;
}

.compare-table thead .compare-table__us {
	position: relative;
	width: 34%;
	background: var(--c-primary-600);
	color: #fff;
}

.compare-table__brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.compare-table__brand img {
	border-radius: 50%;
}

.compare-table__vs {
	position: absolute;
	top: 50%;
	left: 0;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--c-primary-400);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
	transform: translate(-50%, -50%);
}

.compare-table tfoot th,
.compare-table tfoot td {
	padding-block: 18px;
	background: var(--c-surface-2);
	font-size: 1rem;
	font-weight: 700;
}

.compare-table tfoot .compare-table__local {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 400;
}

.compare-table tfoot td.compare-table__us {
	background: var(--c-primary);
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.625rem;
	font-weight: 400;
}

.compare-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border-top: 1px solid var(--c-line-2);
}

.saving-badge {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: var(--radius-xs);
	background: var(--c-accent);
	color: #fff;
	line-height: 1;
}

.saving-badge strong {
	font-size: 1rem;
}

.saving-badge small {
	font-size: 0.5625rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.compare-card__saving {
	flex: 1;
	min-width: 180px;
}

.compare-card__saving p {
	margin: 0;
	color: var(--c-navy);
	font-family: var(--font-display);
	font-size: 1.1875rem;
}

.compare-card__saving strong {
	color: var(--c-primary);
	font-weight: 400;
}

.compare-card__saving small {
	color: var(--c-subtle);
	font-size: 0.75rem;
}

@media (max-width: 639px) {
	.compare-table th,
	.compare-table td {
		padding-inline: 12px;
	}

	.compare-card__btn {
		width: 100%;
	}
}

/* Treatments row ---------------------------------------------------------- */
@media (min-width: 1024px) {
	.services-grid--compact {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.services-grid--compact .service-card__excerpt {
	-webkit-line-clamp: 2;
}

.service-card--all {
	justify-content: flex-end;
	gap: 16px;
	padding: 16px;
	background: var(--c-primary-400);
	color: #fff;
}

.service-card--all:hover {
	background: var(--c-primary);
	color: #fff;
}

.service-card--all .service-card__icon {
	background: #fff;
	color: var(--c-primary);
}

.service-card__all-label {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

.prices-treatments__note {
	margin: 24px 0 0;
	color: var(--c-navy);
	text-align: center;
}

/* Implant systems --------------------------------------------------------- */
.implant-grid {
	display: grid;
	gap: 16px;
}

@media (min-width: 768px) {
	.implant-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.implant-card {
	overflow: hidden;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-md);
}

.implant-card__media {
	position: relative;
	display: grid;
	place-items: center;
	height: 220px;
	padding: 16px;
	background: linear-gradient(160deg, #fff 0%, #efece6 100%);
}

.implant-card__img {
	width: auto;
	height: 100%;
	max-height: 190px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.implant-card__logo {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	display: flex;
	align-items: center;
	height: 30px;
	padding: 4px 10px;
	border-radius: 6px;
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.implant-card__logo img {
	width: auto;
	max-width: 110px;
	height: 18px;
}

.implant-card__body {
	padding: 20px;
}

.implant-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 400;
}

.implant-card__tagline {
	margin: 6px 0 0;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--c-line-2);
	color: var(--c-primary);
	font-size: 0.8125rem;
	font-weight: 600;
}

.implant-card__points {
	display: grid;
	gap: 8px;
	margin: 14px 0 0;
	padding-left: 16px;
	color: var(--c-muted);
	font-size: 0.8125rem;
}

.implant-card__points li::marker {
	color: var(--c-accent);
}

/* Info bars (estimate / quiz prompt) --------------------------------------- */
.info-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 16px;
	margin-top: 16px;
	padding: 16px 20px;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-lg);
	background: linear-gradient(to right, #fff 40%, var(--c-primary-50));
}

.info-bar__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--c-primary);
	color: #fff;
}

.info-bar__icon .icon {
	width: 18px;
	height: 18px;
}

.info-bar--soft .info-bar__icon {
	border-radius: var(--radius-xs);
	background: var(--c-primary-50);
	color: var(--c-primary);
}

.info-bar__text {
	display: grid;
	flex: 1;
	gap: 2px;
	min-width: 200px;
	font-size: 0.8125rem;
}

.info-bar__text strong {
	color: var(--c-text);
	font-size: 0.875rem;
}

.info-bar__text span {
	color: var(--c-muted);
}

/* Care plan --------------------------------------------------------------- */
.care-grid {
	display: grid;
	gap: 16px;
}

@media (min-width: 900px) {
	.care-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
	}

	.care-card--main {
		grid-row: span 2;
	}
}

.care-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.care-card--main {
	background: linear-gradient(135deg, var(--c-primary-50) 0%, #fff 60%);
}

.care-card__body {
	flex: 1;
	min-width: 0;
}

.care-card__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 400;
}

.care-card--main .care-card__title {
	font-size: 1.75rem;
}

.care-card__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: var(--radius-xs);
	background: var(--c-accent-50);
	color: var(--c-accent-600);
}

.care-card__icon .icon {
	width: 20px;
	height: 20px;
}

.care-card__media {
	flex: none;
	width: 150px;
	height: 150px;
	overflow: hidden;
	border-radius: var(--radius-md);
}

.care-card--main .care-card__media {
	width: 42%;
	height: 260px;
}

.care-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 599px) {
	.care-card {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.care-card__media,
	.care-card--main .care-card__media {
		width: 100%;
		height: 160px;
	}
}

.check-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	color: var(--c-muted);
	font-size: 0.875rem;
	list-style: none;
}

.check-list li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.check-list .icon {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--c-accent-600);
}

.plan-steps {
	margin-top: 16px;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-lg);
	background: #fff;
}

.plan-steps summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	color: var(--c-text);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.plan-steps summary::-webkit-details-marker {
	display: none;
}

.plan-steps__icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: var(--radius-xs);
	background: var(--c-accent-50);
	color: var(--c-accent-600);
}

.plan-steps__icon .icon {
	width: 18px;
	height: 18px;
}

.plan-steps__chevron {
	width: 18px;
	height: 18px;
	margin-left: auto;
	color: var(--c-muted);
	transition: transform 0.2s var(--ease);
}

.plan-steps[open] .plan-steps__chevron {
	transform: rotate(180deg);
}

.plan-steps__list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 4px 20px 20px;
	counter-reset: plan;
	list-style: none;
}

@media (min-width: 768px) {
	.plan-steps__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.plan-steps__list li {
	display: grid;
	gap: 4px;
	padding: 14px;
	border-radius: var(--radius-md);
	background: var(--c-surface-2);
	font-size: 0.8125rem;
	counter-increment: plan;
}

.plan-steps__list li::before {
	content: counter(plan, decimal-leading-zero);
	color: var(--c-accent-600);
	font-weight: 700;
}

.plan-steps__list strong {
	color: var(--c-text);
	font-size: 0.9375rem;
}

.plan-steps__list span {
	color: var(--c-muted);
}

/* Quiz -------------------------------------------------------------------- */
.prices-quiz {
	padding-block: var(--section-space);
	border-block: 1px solid var(--c-line-2);
}

.quiz-layout {
	display: grid;
	gap: 28px;
	align-items: center;
}

@media (min-width: 1024px) {
	.quiz-layout {
		grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
		gap: 48px;
	}
}

.quiz-intro .section-title {
	margin: 0;
}

.quiz-intro__text {
	margin: 14px 0 0;
	color: var(--c-muted);
	font-size: 1.0625rem;
}

.quiz-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.quiz-meta li {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--c-primary-100);
	border-radius: var(--radius-pill);
	background: var(--c-primary-50);
	color: var(--c-navy);
	font-size: 0.8125rem;
	font-weight: 600;
}

.quiz-meta .icon {
	width: 16px;
	height: 16px;
	color: var(--c-accent-600);
}

.quiz-card {
	position: relative;
	min-height: 320px;
	overflow: hidden;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, #f9f8f6, #efece6);
	box-shadow: var(--shadow-lg);
}

.quiz-card [hidden] {
	display: none !important;
}

.quiz-card.is-running {
	border-color: transparent;
	background: var(--c-primary);
	color: #fff;
}

.quiz-card.is-running::before,
.quiz-card.is-running::after {
	content: "";
	position: absolute;
	border: 26px solid rgb(255 255 255 / 0.1);
	border-radius: 50%;
	pointer-events: none;
}

.quiz-card.is-running::before {
	right: -30%;
	bottom: -70%;
	width: 110%;
	height: 110%;
}

.quiz-card.is-running::after {
	bottom: -30%;
	left: -25%;
	width: 50%;
	height: 50%;
}

.quiz-card .form-notice {
	margin: 20px 20px 0;
}

.quiz-start {
	display: grid;
	align-items: center;
	gap: 24px;
	padding: 28px;
}

@media (min-width: 640px) {
	.quiz-start {
		grid-template-columns: 1fr 1fr;
		min-height: 320px;
	}
}

.quiz-start__deck {
	position: relative;
	height: 190px;
}

.quiz-start__photo {
	position: absolute;
	top: 10px;
	left: 50%;
	display: grid;
	place-items: center;
	width: 120px;
	height: 160px;
	border: 4px solid #fff;
	border-radius: var(--radius-md);
	background: linear-gradient(160deg, #e8efee, #d3e0de);
	color: rgb(26 60 64 / 0.4);
	box-shadow: var(--shadow-lg);
}

.quiz-start__photo .icon {
	width: 40px;
	height: 40px;
	stroke-width: 1.25;
}

.quiz-start__photo--back {
	background: linear-gradient(160deg, #f6efe9, #ead9cc);
	transform: translateX(-120%) rotate(-10deg);
}

.quiz-start__photo--middle {
	background: linear-gradient(160deg, #eef1f4, #d8dde3);
	transform: translateX(-55%) translateY(-10px) rotate(-2deg);
}

.quiz-start__photo--front {
	transform: translateX(5%) rotate(8deg);
}

.quiz-start__tag {
	margin: 0;
	color: var(--c-primary);
	font-size: 0.8125rem;
	font-weight: 700;
}

.quiz-start__title {
	margin: 4px 0 0;
	color: var(--c-text);
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.15;
}

.quiz-start__text {
	margin: 8px 0 20px;
	color: var(--c-muted);
	font-size: 0.875rem;
}

.quiz-stage {
	position: relative;
	z-index: 1;
	margin: 24px;
	padding: 18px;
	border: 1px solid rgb(255 255 255 / 0.1);
	border-radius: var(--radius-lg);
}

.quiz-progress {
	height: 6px;
	overflow: hidden;
	border-radius: var(--radius-pill);
	background: var(--c-line-2);
}

.quiz-progress span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--c-accent);
	transition: width 0.35s var(--ease);
}

.quiz-step__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 40px;
	margin: 18px 0 16px;
}

.quiz-step__question,
.quiz-result__title {
	margin: 0;
	color: #fff;
	font-size: 1.125rem;
	line-height: 1.3;
}

.quiz-step__question:focus,
.quiz-result__title:focus {
	outline: none;
}

.quiz-icon-btn {
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--c-navy);
	cursor: pointer;
}

.quiz-icon-btn .icon {
	width: 18px;
	height: 18px;
}

.quiz-answers {
	display: grid;
	gap: 10px;
}

@media (min-width: 640px) {
	.quiz-answers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.quiz-answer--full {
		grid-column: 1 / -1;
		justify-content: center;
	}
}

.quiz-answer {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 70px;
	padding: 12px 16px;
	border: 2px solid transparent;
	border-radius: var(--radius-xs);
	background: var(--c-surface-2);
	color: var(--c-navy);
	font: inherit;
	font-size: 0.8125rem;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}

.quiz-answer:hover,
.quiz-answer:focus-visible {
	border-color: var(--c-primary-400);
	background: #fff;
}

.quiz-answer:active {
	transform: scale(0.99);
}

.quiz-answer[aria-pressed="true"] {
	border-color: var(--c-accent);
}

.quiz-answer__emoji {
	flex: none;
	font-size: 1.5rem;
	line-height: 1;
}

.quiz-result__summary {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.quiz-result__text {
	margin: 0;
	color: rgb(255 255 255 / 0.85);
	font-size: 0.875rem;
}

.quiz-gauge {
	position: relative;
	flex: none;
	width: 64px;
	height: 64px;
}

.quiz-gauge svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.quiz-gauge circle {
	fill: none;
	stroke-width: 10;
}

.quiz-gauge__track {
	stroke: rgb(255 255 255 / 0.15);
}

.quiz-gauge__bar {
	stroke: #22b573;
	stroke-linecap: round;
	transition: stroke-dashoffset 0.8s var(--ease);
}

[data-level="good"] .quiz-gauge__bar {
	stroke: #f5a524;
}

[data-level="review"] .quiz-gauge__bar {
	stroke: #ef5350;
}

.quiz-gauge__value {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	grid-auto-flow: column;
	align-items: baseline;
	font-size: 0.9375rem;
	font-weight: 700;
}

.quiz-gauge__value small {
	font-size: 0.625rem;
}

.booking-form--dark .field label,
.booking-form--dark .consent {
	color: rgb(255 255 255 / 0.85);
}

.booking-form--dark .consent a {
	color: var(--c-primary-300);
}

.booking-form--dark .field input {
	border-color: transparent;
	background-color: var(--c-surface-2);
}

/* FAQ --------------------------------------------------------------------- */
.faq-layout {
	display: grid;
	gap: 28px;
}

@media (min-width: 1024px) {
	.faq-layout {
		grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
		gap: 48px;
		align-items: start;
	}
}

.faq-intro .section-title {
	margin: 0;
}

.faq-intro__media {
	height: 200px;
	margin-top: 24px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.faq-intro__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1023px) {
	.faq-intro__media {
		display: none;
	}
}

.faq-list {
	display: grid;
	gap: 12px;
}

.faq-item {
	position: relative;
	border: 1px solid var(--c-line-2);
	border-radius: var(--radius-lg);
	background: #fff;
	transition: box-shadow 0.2s;
}

.faq-item[open] {
	box-shadow: var(--shadow-lg);
}

.faq-item[open]::before {
	content: "";
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: -1px;
	width: 3px;
	border-radius: 3px;
	background: var(--c-accent);
}

.faq-item summary {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	cursor: pointer;
	list-style: none;
}

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

.faq-item__num {
	color: var(--c-muted);
	font-size: 0.8125rem;
	font-weight: 700;
}

.faq-item[open] .faq-item__num {
	color: var(--c-primary);
}

.faq-item__question {
	flex: 1;
	color: var(--c-text);
	font-weight: 600;
}

.faq-item__toggle {
	position: relative;
	flex: none;
	width: 24px;
	height: 24px;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	color: var(--c-primary);
}

.faq-item__toggle::before,
.faq-item__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
}

.faq-item__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
	transition: transform 0.2s var(--ease);
}

.faq-item[open] .faq-item__toggle {
	border-color: var(--c-primary);
	background: var(--c-primary);
	color: #fff;
}

.faq-item[open] .faq-item__toggle::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
	margin: 0 20px;
	padding: 14px 0 20px;
	border-top: 1px solid var(--c-line-2);
	color: var(--c-muted);
	font-size: 0.875rem;
	line-height: 1.65;
}

@media (min-width: 640px) {
	.faq-item__answer {
		margin-left: 56px;
	}
}

.faq-item__answer p {
	margin: 0;
}

/* Consultation ------------------------------------------------------------ */
.consult-card {
	display: grid;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background: #fff;
	box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
	.consult-card {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}

.consult-card__form {
	padding: clamp(20px, 3vw, 32px);
}

.consult-card__title {
	margin: 0 0 18px;
	font-size: 1.5rem;
}

.consult-card__form .booking-form .btn {
	width: auto;
	min-width: 280px;
	justify-self: start;
}

@media (max-width: 639px) {
	.consult-card__form .booking-form .btn {
		width: 100%;
		min-width: 0;
	}
}

.consult-card__aside {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 32px;
	background: radial-gradient(circle at 80% 20%, #2e5c61 0%, #1a3c40 55%, #0f2c33 100%);
	color: #fff;
}

.consult-card__aside-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.2;
}

.consult-card__points {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	list-style: none;
}

.consult-card__points li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.consult-card__points .icon {
	width: 18px;
	height: 18px;
	color: var(--c-primary-300);
}

.consult-card__rating {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5rem;
}

/* ==========================================================================
   15. Motion
   ========================================================================== */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}
