/**
 * Novacare — Front-end styles
 *
 * Mobile-first, minimal foundation. Extend as page designs are defined.
 *
 * @package Novacare
 */

/* -------------------------------------------------------------------------
   CSS Custom Properties
   ------------------------------------------------------------------------- */
:root {
	--mt-color-text: #2a332e;
	--mt-color-text-muted: #5c6660;
	--mt-color-bg: #ffffff;
	--mt-color-border: #e8e4dc;
	--mt-color-accent: #b8956a;
	--mt-color-brand: #1e2d26;
	--mt-color-nav: #3a4540;
	--mt-color-cta: #C8A46E;
	--mt-color-cta-hover: #b8945f;
	--mt-color-pill-bg: rgba(248, 245, 240, 0.82);
	--mt-font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mt-font-brand: "Playfair Display", Georgia, "Times New Roman", serif;
	--mt-font-size-base: 1rem;
	--mt-line-height: 1.6;
	--mt-container-max: 1200px;
	--mt-container-padding: 1.5rem;
	--mt-header-height: 4.5rem;
	--mt-header-offset: 5.75rem;
	--mt-transition: 0.2s ease;
	--mt-z-header: 100;
	--mt-pill-radius: 999px;
	--mt-nav-link-gap: 0.875rem;

	/* Shared section typography */
	--nv-font-sans: "DM Sans", sans-serif;
	--nv-font-serif: "Playfair Display", serif;
	--nv-color-gold: #B8965A;
	--nv-color-green: #2D4739;
	--nv-color-heading: #1C1917;
	--nv-color-body: #6B6356;
}



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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--mt-font-family);
	font-size: var(--mt-font-size-base);
	line-height: var(--mt-line-height);
	color: var(--mt-color-text);
	background-color: #f3f0ea;
}

/* Editorial medical hierarchy: readable sans-serif body, premium serif headings. */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--nv-font-serif);
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p, li {
	text-wrap: pretty;
}

button,
input,
select,
textarea {
	font-family: inherit;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--mt-color-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

a:hover,
a:focus {
	text-decoration: none;
}

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

.screen-reader-text:focus {
	background-color: var(--mt-color-bg);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--mt-color-text);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 0.5rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	text-decoration: none;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}

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

/* -------------------------------------------------------------------------
   Layout
   ------------------------------------------------------------------------- */
.site-container {
	width: 100%;
	max-width: var(--mt-container-max);
	margin-inline: auto;
	padding-inline: var(--mt-container-padding);
}

.site-content {
	min-height: 50vh;
}

.site-main {
	padding-block: 2rem;
}

body.nav-open {
	overflow: hidden;
}

/* -------------------------------------------------------------------------
   Header — floating pill / glassmorphism
   ------------------------------------------------------------------------- */
.site-header {
	position: relative;
	width: 100%;
	z-index: var(--mt-z-header);
	background: transparent;
	border: none;
	padding: 1.25rem var(--mt-container-padding) 0;
}

.site-header--sticky {
	position: sticky;
	top: 0;
}

.site-header__shell {
	width: 100%;
	max-width: calc(var(--mt-container-max) + 8rem);
	margin-inline: auto;
}

.site-header__pill {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 0.75rem 1rem;
	min-height: var(--mt-header-height);
	padding: 0.5rem 0.625rem 0.5rem 1.5rem;
	border-radius: var(--mt-pill-radius);
	background: var(--mt-color-pill-bg);
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow:
		0 4px 24px rgba(30, 45, 38, 0.06),
		0 1px 2px rgba(30, 45, 38, 0.04);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

/* Homepage: keep the original floating-pill menu, but give it enough
   contrast to stay clearly visible over light or similarly coloured hero images. */
.site-header:not(.site-header--inner) .site-header__pill {
	background: rgba(248, 245, 240, 0.985);
	border-color: rgba(30, 45, 38, 0.18);
	box-shadow:
		0 18px 46px rgba(13, 43, 37, 0.22),
		0 4px 12px rgba(13, 43, 37, 0.10),
		inset 0 1px 0 rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(18px) saturate(135%);
	backdrop-filter: blur(18px) saturate(135%);
}

.site-header__center {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--mt-nav-link-gap);
	min-width: 0;
	font-family: var(--nv-font-sans);
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.7px;
	text-align: center;
	color: #1E2D28;
}

.site-branding {
	min-width: 0;
	flex-shrink: 0;
}

.site-branding__logo img {
	max-height: 2rem;
	width: auto;
}

.site-title {
	margin: 0;
}

.site-title--brand {
	font-family: var(--mt-font-brand);
	font-size: clamp(1.375rem, 2.2vw, 1.625rem);
	font-weight: 500;
	font-style: italic;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.site-title--brand a {
	color: var(--mt-color-brand);
	text-decoration: none;
	transition: opacity var(--mt-transition);
}

.site-title--brand a:hover,
.site-title--brand a:focus {
	opacity: 0.78;
}

/* Header actions — phone + CTA */
.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
	white-space: nowrap;
}

.site-header__actions--mobile {
	display: none;
	flex-direction: column;
	align-items: stretch;
	gap: 0.875rem;
	padding-top: 1rem;
	margin-top: 1rem;
	border-top: 1px solid rgba(30, 45, 38, 0.08);
}

.site-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	color: #1E2D28;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--mt-transition);
}

.site-header__phone-text {
	font-family: var(--nv-font-sans);
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.56px;
	color: #1E2D28;
}

.site-header__phone:hover,
.site-header__phone:focus {
	color: var(--mt-color-brand);
}

.site-header__phone:hover .site-header__phone-text,
.site-header__phone:focus .site-header__phone-text {
	color: var(--mt-color-brand);
}

.site-header__phone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--mt-color-nav);
}

.site-header__phone-icon svg {
	display: block;
}

.site-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.625rem 1rem;
	border-radius: var(--mt-pill-radius);
	background-color: var(--mt-color-cta);
	color: #ffffff;
	font-family: var(--nv-font-sans);
	font-weight: 500;
	font-style: normal;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 1.12px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--mt-transition), transform var(--mt-transition);
}

.site-header__cta:hover,
.site-header__cta:focus {
	background-color: var(--mt-color-cta-hover);
	color: #ffffff;
	transform: translateY(-1px);
}


/* Secondary header actions keep the primary appointment CTA visually dominant. */
.site-header__cta--secondary {
	background: transparent;
	color: #2d4739;
	border: 1px solid rgba(45, 71, 57, 0.28);
	letter-spacing: 0.06em;
}

.site-header__cta--secondary:hover,
.site-header__cta--secondary:focus-visible {
	background: rgba(45, 71, 57, 0.07);
	border-color: rgba(45, 71, 57, 0.5);
	color: #243a2f;
}

.site-header__payment { position: relative; }


/* Language switcher */
.language-switcher {
	position: relative;
	flex-shrink: 0;
}

.language-switcher__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem 0;
	border: 0;
	background: transparent;
	color: #1e2d28;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	flex-shrink: 0;
	transition: color var(--mt-transition);
}

.language-switcher__toggle:hover,
.language-switcher__toggle:focus-visible {
	color: var(--mt-color-brand);
}

.language-switcher.is-open .language-switcher__toggle {
	color: var(--mt-color-brand);
}

.language-switcher__code {
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

.language-switcher__menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	z-index: calc(var(--mt-z-header) + 1);
	min-width: 9rem;
	margin: 0;
	padding: 0.375rem;
	list-style: none;
	border: 1px solid rgba(30, 45, 38, 0.1);
	border-radius: 0.875rem;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 12px 32px rgba(30, 45, 38, 0.12);
}

.language-switcher__menu[hidden] {
	display: none;
}

.language-switcher__item.is-active .language-switcher__link {
	color: var(--mt-color-brand);
}

.language-switcher__link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.625rem;
	width: 100%;
	padding: 0.5rem 0.75rem;
	border-radius: 0.375rem;
	text-decoration: none;
	color: #1e2d28;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
	transition: background-color var(--mt-transition), color var(--mt-transition);
}

.language-switcher__link:hover,
.language-switcher__link:focus-visible {
	background: rgba(30, 45, 38, 0.05);
	color: var(--mt-color-brand);
}

.language-switcher__link .language-switcher__code {
	text-decoration: underline;
}

.language-switcher__name {
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}

body.is-rtl .language-switcher__menu {
	right: auto;
	left: 0;
}

/* Mobile menu toggle */
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(30, 45, 38, 0.06);
	cursor: pointer;
	flex-shrink: 0;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
	display: block;
	width: 1.125rem;
	height: 2px;
	background-color: var(--mt-color-brand);
	transition: transform var(--mt-transition), opacity var(--mt-transition);
}

.menu-toggle__icon {
	position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle__icon::before {
	top: -6px;
}

.menu-toggle__icon::after {
	top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
	background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* Navigation */
.main-navigation {
	display: flex;
	align-items: center;
	min-width: 0;
	flex: 0 1 auto;
}

.site-header__mobile-panel {
	display: none;
}

.primary-menu,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 0.25rem var(--mt-nav-link-gap);
}

.primary-menu a {
	display: block;
	padding: 0.25rem 0;
	color: #1E2D28;
	text-decoration: none;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	white-space: nowrap;
	transition: color var(--mt-transition);
}

.primary-menu a:hover,
.primary-menu a:focus {
	color: var(--mt-color-brand);
}

.primary-menu .sub-menu {
	display: none;
}

/* Mobile navigation */
@media (max-width: 991px) {
	.site-header__pill {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0.5rem 0.625rem 0.5rem 1.25rem;
		gap: 0.75rem;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-header__center {
		flex: 0 0 auto;
		justify-content: flex-end;
		margin-inline-start: auto;
		margin-inline-end: 0.25rem;
	}

	.site-header__actions--desktop {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	.site-header:not(.site-header--inner) {
		--home-header-offset: 5.75rem;
	}

	.site-header:not(.site-header--inner) .site-header__center > .language-switcher {
		display: none;
	}

	.site-header:not(.site-header--inner) .main-navigation {
		position: fixed;
		inset: var(--home-header-offset) var(--mt-container-padding) auto var(--mt-container-padding);
		z-index: calc(var(--mt-z-header) + 2);
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: auto;
		max-width: none;
		max-height: calc(100dvh - var(--home-header-offset) - 1rem);
		margin: 0;
		padding: 0;
		overflow: hidden;
		background-color: #f9f9f7;
		border: 1px solid rgba(30, 45, 40, 0.1);
		border-radius: 1.5rem;
		box-shadow: 0 0.75rem 1.5rem rgba(30, 45, 38, 0.08);
		transform: translateY(-0.375rem);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
	}

	.site-header:not(.site-header--inner) .main-navigation.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.site-header:not(.site-header--inner) .main-navigation .primary-menu {
		flex: 1 1 auto;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		min-height: 0;
		padding: 0.375rem var(--mt-container-padding) 0;
		overflow-y: auto;
	}

	.site-header:not(.site-header--inner) .main-navigation .primary-menu li + li {
		border-top: 1px solid rgba(30, 45, 40, 0.08);
	}

	.site-header:not(.site-header--inner) .main-navigation .primary-menu a {
		padding: 0.9375rem 0;
		font-family: var(--nv-font-sans);
		font-weight: 400;
		font-style: normal;
		font-size: 14px;
		line-height: 20px;
		letter-spacing: 0.7px;
		text-align: center;
		color: #1e2d28;
	}

	.site-header:not(.site-header--inner) .main-navigation .primary-menu a:hover,
	.site-header:not(.site-header--inner) .main-navigation .primary-menu a:focus-visible {
		color: #2d4739;
	}

	.site-header:not(.site-header--inner) .main-navigation .primary-menu .current-menu-item > a,
	.site-header:not(.site-header--inner) .main-navigation .primary-menu .current_page_item > a {
		color: #2d4739;
		border-bottom: 2px solid #b89b72;
	}

	.site-header:not(.site-header--inner) .site-header__mobile-panel {
		display: flex;
		flex-direction: column;
		flex-shrink: 0;
		gap: 0.875rem;
		margin-top: auto;
		padding: 1rem var(--mt-container-padding) 1.25rem;
		background-color: #f3f1eb;
		border-top: 1px solid rgba(30, 45, 40, 0.08);
	}

	.site-header:not(.site-header--inner) .site-header__actions--mobile {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		width: 100%;
		padding-top: 0;
		margin-top: 0;
		border-top: 0;
	}

	.site-header:not(.site-header--inner) .site-header__actions--mobile .site-header__phone {
		justify-content: center;
		padding: 0.625rem 0;
	}

	.site-header:not(.site-header--inner) .site-header__actions--mobile .site-header__cta {
		width: 100%;
		justify-content: center;
		min-height: 2.75rem;
		border-radius: 0.5rem;
		letter-spacing: 0.06em;
		transform: none;
	}

	.site-header:not(.site-header--inner) .site-header__actions--mobile .site-header__cta:not(.site-header__cta--secondary) {
		background-color: #2d4739;
	}

	.site-header:not(.site-header--inner) .site-header__actions--mobile .site-header__cta--secondary {
		background: #ffffff;
		color: #2d4739;
		border-color: rgba(45, 71, 57, 0.22);
	}

	.site-header:not(.site-header--inner) .site-header__actions--mobile .site-header__cta:hover,
	.site-header:not(.site-header--inner) .site-header__actions--mobile .site-header__cta:focus-visible {
		background-color: #243a2f;
		transform: none;
	}

	body.nav-open .site-header:not(.site-header--inner)::after {
		content: "";
		position: fixed;
		inset: var(--home-header-offset) 0 0 0;
		z-index: calc(var(--mt-z-header) + 1);
		background: rgba(30, 45, 40, 0.22);
		pointer-events: none;
	}

	.primary-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.primary-menu li + li {
		border-top: 1px solid rgba(30, 45, 38, 0.06);
	}

	.primary-menu a {
		padding: 0.875rem 0;
	}

	.site-header__mobile-panel {
		display: block;
	}

	.site-header__mobile-panel .language-switcher {
		align-self: center;
		width: 100%;
	}

	.site-header__mobile-panel .language-switcher__toggle {
		display: flex;
		width: 100%;
		justify-content: center;
	}

	.site-header__mobile-panel .language-switcher__code {
		text-align: center;
	}

	.site-header__mobile-panel .language-switcher__menu {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}

	.site-header__actions--mobile {
		display: flex;
	}

	.site-header__actions--mobile .site-header__phone {
		justify-content: center;
	}

	.site-header__actions--mobile .site-header__cta {
		text-align: center;
	}
}

/* Desktop navigation */
@media (min-width: 992px) {
	.site-header__shell {
		max-width: calc(var(--mt-container-max) + 8rem);
	}

	.site-header__pill {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 0.75rem 1rem;
		padding: 0.5rem 0.625rem 0.5rem 1.5rem;
	}

	.site-header__center {
		justify-self: stretch;
	}

	.primary-menu {
		gap: 0.25rem 0.75rem;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	:root {
		--mt-nav-link-gap: 0.625rem;
	}

	.primary-menu {
		gap: 0.25rem var(--mt-nav-link-gap);
	}

	.site-header__cta {
		padding: 0.5625rem 0.875rem;
	}

	.language-switcher__toggle,
	.language-switcher__link {
		font-size: 0.75rem;
	}
}

/* -------------------------------------------------------------------------
   Content / Entries
   ------------------------------------------------------------------------- */
.entry__inner {
	max-width: var(--mt-container-max);
}

.entry-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	line-height: 1.25;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-meta {
	font-size: 0.875rem;
	color: var(--mt-color-text-muted);
	margin-bottom: 1rem;
}

.entry-meta span + span::before {
	content: " · ";
}

.entry-content > * + * {
	margin-top: 1.25rem;
}

.entry-thumbnail {
	margin-bottom: 1.5rem;
}

.posts-loop .entry + .entry {
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--mt-color-border);
}

.page-header {
	margin-bottom: 2rem;
}

.page-title {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2rem);
}

/* Footer styles live in assets/css/footer.css */

/* -------------------------------------------------------------------------
   Forms & Pagination
   ------------------------------------------------------------------------- */
.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 32rem;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--mt-color-border);
	border-radius: 4px;
	font: inherit;
}

.search-form__submit {
	padding: 0.625rem 1rem;
	border: 1px solid var(--mt-color-accent);
	border-radius: 4px;
	background-color: var(--mt-color-accent);
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.navigation.pagination {
	margin-top: 2.5rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* -------------------------------------------------------------------------
   WordPress / Block Editor alignment
   ------------------------------------------------------------------------- */
.alignwide {
	max-width: var(--mt-container-max);
	margin-inline: auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.wp-block-image img {
	height: auto;
}

/* -------------------------------------------------------------------------
   WooCommerce base compatibility
   ------------------------------------------------------------------------- */
.woocommerce .site-main {
	padding-block: 2rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin-bottom: 1.5rem;
}

/* ==========================================================
   NOVACARE FLOATING WHATSAPP BUTTON
   ========================================================== */

.novacare-whatsapp-float {
	position: fixed;
	right: 24px;
	bottom: 105px;
	z-index: 9999;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 60px;
	height: 60px;

	border-radius: 50%;

	background: #25d366;
	color: #ffffff;

	text-decoration: none;

	box-shadow:
		0 8px 25px rgba(0, 0, 0, 0.18),
		0 3px 8px rgba(0, 0, 0, 0.12);

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		background-color 0.25s ease;
}

.novacare-whatsapp-float svg {
	display: block;
	width: 32px;
	height: 32px;
}

.novacare-whatsapp-float:hover,
.novacare-whatsapp-float:focus-visible {
	background: #20bd5a;
	color: #ffffff;

	transform: translateY(-4px) scale(1.05);

	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.22),
		0 5px 12px rgba(37, 211, 102, 0.28);
}

/* Tooltip */

.novacare-whatsapp-float__tooltip {
	position: absolute;
	right: 72px;

	padding: 8px 12px;

	border-radius: 7px;

	background: #173b35;
	color: #ffffff;

	font-size: 13px;
	font-weight: 600;
	line-height: 1;

	white-space: nowrap;

	opacity: 0;
	visibility: hidden;
	transform: translateX(5px);

	transition:
		opacity 0.2s ease,
		transform 0.2s ease,
		visibility 0.2s ease;

	pointer-events: none;
}

.novacare-whatsapp-float:hover .novacare-whatsapp-float__tooltip,
.novacare-whatsapp-float:focus-visible .novacare-whatsapp-float__tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

/* Mobile */

@media (max-width: 767px) {

	.novacare-whatsapp-float {
		right: 16px;
		bottom: 95px;

		width: 56px;
		height: 56px;
	}

	.novacare-whatsapp-float svg {
		width: 30px;
		height: 30px;
	}

	.novacare-whatsapp-float__tooltip {
		display: none;
	}
}



/* NovaCare 1.3.2 — unified responsive navigation */
.site-header .primary-menu {
    align-items: center;
}
.site-header .primary-menu > li > a {
    position: relative;
    border-radius: 999px;
    padding: .58rem .82rem;
    border-bottom: 0 !important;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.site-header .primary-menu > li > a:hover,
.site-header .primary-menu > li > a:focus-visible {
    color: #1f493e;
    background: rgba(184,155,114,.10);
    transform: translateY(-1px);
}
.site-header .primary-menu > li.current-menu-item > a,
.site-header .primary-menu > li.current_page_item > a,
.site-header .primary-menu > li.is-current > a {
    color: #173b33;
    background: rgba(184,155,114,.16);
    font-weight: 650;
}
.site-header .primary-menu > li.current-menu-item > a::after,
.site-header .primary-menu > li.current_page_item > a::after,
.site-header .primary-menu > li.is-current > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: .18rem;
    width: 1.1rem;
    height: 2px;
    border-radius: 2px;
    background: #b89b72;
    transform: translateX(-50%);
}
@media (max-width: 991px) {
    .site-header .main-navigation .primary-menu > li > a {
        justify-content: center;
        width: 100%;
        border-radius: .75rem;
        padding: .9rem 1rem;
    }
    .site-header .main-navigation .primary-menu > li.current-menu-item > a,
    .site-header .main-navigation .primary-menu > li.current_page_item > a,
    .site-header .main-navigation .primary-menu > li.is-current > a {
        background: rgba(184,155,114,.14);
    }
    .site-header .primary-menu > li.current-menu-item > a::after,
    .site-header .primary-menu > li.current_page_item > a::after,
    .site-header .primary-menu > li.is-current > a::after {
        bottom: .38rem;
    }
}


/* NovaCare 1.6.5 — compact desktop navigation after Metabolic Residency launch */
@media (min-width: 992px) {
	.site-header:not(.site-header--inner) .site-header__shell {
		max-width: min(1480px, calc(100vw - 2rem));
	}

	.site-header:not(.site-header--inner) .site-header__pill {
		column-gap: .6rem;
		padding: .48rem .55rem .48rem 1rem;
	}

	.site-header:not(.site-header--inner) .site-header__center {
		gap: .4rem;
		font-size: 13px;
		line-height: 18px;
		letter-spacing: .3px;
	}

	.site-header:not(.site-header--inner) .primary-menu {
		gap: 0 .18rem;
	}

	.site-header:not(.site-header--inner) .primary-menu > li > a {
		padding: .48rem .48rem;
		font-size: 13px;
		line-height: 18px;
		letter-spacing: .25px;
	}

	.site-header:not(.site-header--inner) .site-header__actions {
		gap: .4rem;
	}

	.site-header:not(.site-header--inner) .site-header__cta {
		padding: .5rem .68rem;
		font-size: 12px;
		line-height: 17px;
		letter-spacing: .4px;
	}

	.site-header:not(.site-header--inner) .language-switcher__toggle,
	.site-header:not(.site-header--inner) .language-switcher__link {
		font-size: 12px;
	}
}

/* Smaller desktop/laptop widths need an additional fit pass without wrapping. */
@media (min-width: 992px) and (max-width: 1240px) {
	.site-header:not(.site-header--inner) {
		padding-inline: .65rem;
	}

	.site-header:not(.site-header--inner) .site-header__shell {
		max-width: calc(100vw - 1.3rem);
	}

	.site-header:not(.site-header--inner) .site-header__pill {
		column-gap: .35rem;
		padding-left: .7rem;
		padding-right: .38rem;
	}

	.site-header:not(.site-header--inner) .site-branding__logo img {
		max-height: 1.75rem;
	}

	.site-header:not(.site-header--inner) .primary-menu {
		gap: 0 .05rem;
	}

	.site-header:not(.site-header--inner) .primary-menu > li > a {
		padding-inline: .34rem;
		font-size: 12px;
		letter-spacing: .1px;
	}

	.site-header:not(.site-header--inner) .site-header__actions {
		gap: .25rem;
	}

	.site-header:not(.site-header--inner) .site-header__cta {
		padding: .45rem .52rem;
		font-size: 11px;
		letter-spacing: .15px;
	}

	.site-header:not(.site-header--inner) .language-switcher__toggle {
		font-size: 11px;
	}
}

/* NovaCare 1.6.10 — accommodate the additional Dentaire navigation item */
@media (min-width: 992px) and (max-width: 1160px) {
    .site-header:not(.site-header--inner) .primary-menu > li > a {
        padding-inline: .28rem;
        font-size: 11.4px;
        letter-spacing: 0;
    }
    .site-header:not(.site-header--inner) .site-header__pill {
        column-gap: .22rem;
    }
}

/* -------------------------------------------------------------------------
   NovaCare 1.6.11 — reference-style premium header action pills
   ------------------------------------------------------------------------- */
.site-header__actions {
	gap: .5rem;
}

.site-header__cta {
	position: relative;
	min-height: 2.6rem;
	gap: .48rem;
	padding: .58rem .92rem;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .015em;
	box-shadow: none;
	isolation: isolate;
	transition:
		transform .22s ease,
		box-shadow .22s ease,
		border-color .22s ease,
		background-color .22s ease,
		color .22s ease;
}

.site-header__cta-icon,
.site-header__cta-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.18rem;
	height: 1.18rem;
}

.site-header__cta-icon svg,
.site-header__cta-arrow svg {
	display: block;
	width: 100%;
	height: 100%;
}

.site-header__cta--secondary {
	background: rgba(255, 255, 255, .58);
	color: #1c302a;
	border: 1px solid rgba(29, 49, 42, .16);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .82),
		0 1px 2px rgba(14, 36, 31, .035);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.site-header__cta--secondary .site-header__cta-icon {
	color: #29443b;
}

.site-header__cta--secondary:hover,
.site-header__cta--secondary:focus-visible {
	background: rgba(255, 255, 255, .88);
	border-color: rgba(174, 129, 60, .46);
	color: #173b33;
	box-shadow: 0 8px 22px rgba(18, 47, 40, .09);
	transform: translateY(-1px);
}

.site-header__cta--primary,
.site-header__cta:not(.site-header__cta--secondary) {
	background:
		linear-gradient(135deg, #d8ad67 0%, #c68e43 52%, #b97832 100%);
	color: #fff;
	border: 1px solid rgba(159, 101, 36, .2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .28),
		0 8px 18px rgba(177, 118, 49, .18);
}

.site-header__cta--primary::before,
.site-header__cta:not(.site-header__cta--secondary)::before {
	content: "";
	position: absolute;
	inset: 1px;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(110deg, rgba(255,255,255,.12), transparent 42%);
	pointer-events: none;
}

.site-header__cta--primary:hover,
.site-header__cta--primary:focus-visible,
.site-header__cta:not(.site-header__cta--secondary):hover,
.site-header__cta:not(.site-header__cta--secondary):focus-visible {
	background:
		linear-gradient(135deg, #dfb86f 0%, #ce984c 50%, #bd8035 100%);
	color: #fff;
	box-shadow: 0 10px 24px rgba(177, 118, 49, .26);
	transform: translateY(-1px);
}

.site-header__cta-arrow {
	width: 1.05rem;
	height: 1.05rem;
	margin-inline-start: .1rem;
	transition: transform .22s ease;
}

.site-header__appointment:hover .site-header__cta-arrow,
.site-header__appointment:focus-visible .site-header__cta-arrow {
	transform: translateX(2px);
}

/* Echo the reference's subtle divider before the language control. */
.site-header:not(.site-header--inner) .site-header__center > .language-switcher {
	margin-inline-start: .15rem;
	padding-inline-start: .72rem;
	border-inline-start: 1px solid rgba(30, 45, 40, .18);
}

/* Keep the reference-like full labels on wide desktop. */
@media (min-width: 1261px) {
	.site-header:not(.site-header--inner) .site-header__actions {
		gap: .42rem;
	}

	.site-header:not(.site-header--inner) .site-header__cta {
		min-height: 2.55rem;
		padding-inline: .82rem;
		font-size: 11.25px;
	}
}

/* On smaller laptops, preserve all functionality but make the two utility
   actions icon-first so the long navigation never wraps. */
@media (min-width: 992px) and (max-width: 1260px) {
	.site-header:not(.site-header--inner) .site-header__cta--secondary {
		width: 2.45rem;
		min-width: 2.45rem;
		padding: .55rem;
	}

	.site-header:not(.site-header--inner) .site-header__cta--secondary .site-header__cta-label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.site-header:not(.site-header--inner) .site-header__cta--secondary .site-header__cta-icon {
		width: 1.12rem;
		height: 1.12rem;
	}

	.site-header:not(.site-header--inner) .site-header__appointment {
		padding-inline: .72rem;
	}
}

/* Mobile drawer: full-width, readable actions with the same premium style. */
@media (max-width: 991px) {
	.site-header__actions--mobile {
		gap: .65rem;
	}

	.site-header__actions--mobile .site-header__cta {
		width: 100%;
		min-height: 3rem;
		justify-content: flex-start;
		padding: .75rem 1rem;
		font-size: 13px;
	}

	.site-header__actions--mobile .site-header__appointment {
		justify-content: space-between;
	}

	.site-header__actions--mobile .site-header__cta-icon {
		width: 1.25rem;
		height: 1.25rem;
	}
}

/* RTL polish for the appointment arrow. */
body.is-rtl .site-header__cta-arrow {
	transform: scaleX(-1);
}
body.is-rtl .site-header__appointment:hover .site-header__cta-arrow,
body.is-rtl .site-header__appointment:focus-visible .site-header__cta-arrow {
	transform: scaleX(-1) translateX(2px);
}

/* NovaCare 1.8.0 — Calendar navigation + portal actions desktop fit */
@media (min-width: 992px) and (max-width: 1380px) {
    .site-header:not(.site-header--inner) .site-header__shell {
        max-width: calc(100vw - 1rem);
    }
    .site-header:not(.site-header--inner) .site-header__pill {
        column-gap: .2rem;
        padding-inline: .55rem .3rem;
    }
    .site-header:not(.site-header--inner) .site-header__center {
        gap: .15rem;
        min-width: 0;
    }
    .site-header:not(.site-header--inner) .primary-menu {
        gap: 0;
        flex-wrap: nowrap;
    }
    .site-header:not(.site-header--inner) .primary-menu > li > a {
        padding-inline: .3rem;
        font-size: clamp(10.5px, .84vw, 12px);
        letter-spacing: 0;
        white-space: nowrap;
    }
    .site-header:not(.site-header--inner) .site-header__actions {
        gap: .18rem;
        flex: 0 0 auto;
    }
    .site-header:not(.site-header--inner) .site-header__appointment {
        padding-inline: .6rem;
        font-size: 10.5px;
    }
    .site-header:not(.site-header--inner) .site-branding__logo img {
        max-width: clamp(118px, 10vw, 160px);
    }
}

@media (min-width: 992px) and (max-width: 1120px) {
    .site-header:not(.site-header--inner) .primary-menu > li > a {
        padding-inline: .22rem;
        font-size: 10.2px;
    }
    .site-header:not(.site-header--inner) .site-header__center > .language-switcher {
        margin-inline-start: .05rem;
        padding-inline-start: .36rem;
    }
    .site-header:not(.site-header--inner) .site-header__appointment .site-header__cta-arrow {
        display: none;
    }
}

/* NovaCare 1.9.0 — homepage semantic authority section */
.home-seo-authority{background:#f6f3ee;padding:clamp(52px,7vw,92px) 0;border-bottom:1px solid rgba(15,43,39,.08)}
.home-seo-authority__inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);gap:clamp(28px,5vw,72px);align-items:start}
.home-seo-authority__eyebrow{margin:0 0 12px;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:700;color:#8c6a2f}
.home-seo-authority h2{margin:0 0 18px;color:#0f2b27;font-size:clamp(2rem,4vw,3.4rem);line-height:1.05;max-width:18ch}
.home-seo-authority__intro>p:last-child{margin:0;color:#4f615d;line-height:1.8;max-width:68ch}
.home-seo-authority__links{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(15,43,39,.14)}
.home-seo-authority__links a{display:flex;justify-content:space-between;gap:16px;padding:18px 10px 18px 0;border-bottom:1px solid rgba(15,43,39,.14);color:#0f2b27;text-decoration:none;font-weight:650}
.home-seo-authority__links a:hover{text-decoration:underline;text-underline-offset:4px}
.home-seo-authority__actions{grid-column:1/-1;display:flex;gap:14px;flex-wrap:wrap}
.home-seo-authority__actions a{display:inline-flex;padding:12px 18px;border:1px solid rgba(15,43,39,.24);border-radius:999px;color:#0f2b27;text-decoration:none;font-weight:650}
@media(max-width:800px){.home-seo-authority__inner{grid-template-columns:1fr}.home-seo-authority__links{grid-template-columns:1fr}.home-seo-authority__actions{grid-column:auto}}
