/* Treatment-template header. Same tokens as the page: copper #d1936c, warm ink
   #211e1c, Quicksand. No Max Mega Menu, no mobile-menu plugin. */

/* The theme does not set border-box on everything, so width:100% plus padding
   overflows. Scoped here rather than globally to avoid disturbing the theme. */
.nav, .nav *, .nav *::before, .nav *::after,
.nav-drawer, .nav-drawer * { box-sizing: border-box; }

.nav {
	--ink: #211e1c;
	--ink-soft: #5f5754;
	--copper: #d1936c;
	--copper-deep: #9d5f36;
	--line: #ecdfe2;
	--bar: 76px;

	/* Fixed, not sticky: the pills float over the hero gradient the way the
	   current header does, and the hero's own top padding already clears them. */
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	font-family: "Quicksand", sans-serif;
	background: transparent;
	padding: 18px 0;
	transition: padding .22s ease, background .22s ease, box-shadow .22s ease;
}
/* Floating pills at the top of the page; once the article scrolls underneath,
   the bar itself takes a surface and the pills flatten into it. */
.nav.is-stuck {
	padding: 8px 0;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(180%) blur(16px);
	box-shadow: 0 4px 20px rgba(33, 30, 28, .07);
}

/* The mobile-menu plugin injects its own header bar and slide-out panel, which
   duplicates this one. Suppressed here only; the rest of the site still uses it
   until this header is rolled out sitewide. */
.mob-menu-header-holder,
.mobmenu-panel,
.mobmenu-overlay,
.mobmenul-container,
.mobmenur-container { display: none !important; }

.nav-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	border-radius: 0 0 8px 8px;
	background: var(--ink);
	color: #fff;
	text-decoration: none;
	transition: top .15s ease;
}
.nav-skip:focus { top: 0; color: #fff; }

.nav__bar {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 32px);
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 24px);
}

/* ---------- The pills ---------- */
.nav__menu {
	background: #fff;
	border-radius: 50px;
	padding: 6px;
	box-shadow: 0 8px 28px rgba(33, 30, 28, .1), 0 1px 3px rgba(33, 30, 28, .05);
	transition: background .22s ease, box-shadow .22s ease;
}
.nav.is-stuck .nav__menu { background: transparent; box-shadow: none; }

.nav__brand { display: flex; align-items: center; flex: 0 0 auto; }
.nav__brand img { display: block; height: 44px; width: auto; }
.nav__brand span { font-weight: 700; font-size: 1.2rem; color: var(--ink); }

/* ---------- Desktop menu ---------- */
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: static; }

.nav__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 11px 15px;
	border: 0;
	border-radius: 50px;
	background: none;
	font: inherit;
	/* Matches the theme's own menu type: 13px, uppercase, 2px tracking, bold. */
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #000;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background .16s ease, color .16s ease;
}
.nav__link:hover { background: #fbf3f0; color: var(--copper-deep); }
.nav__link:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 2px; }
.nav__link svg { width: 11px; height: 8px; transition: transform .2s ease; }
.nav__link[aria-expanded="true"] { background: #fbf3f0; color: var(--copper-deep); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- Mega panel ----------
   Anchored to the bar rather than the item, so wide category grids get the full
   width instead of being pinned under a single word. */
/* A floating card, matching the pills, rather than a full-bleed bar. */
.nav-panel {
	position: absolute;
	left: clamp(16px, 3vw, 32px);
	right: clamp(16px, 3vw, 32px);
	top: calc(100% + 10px);
	max-width: 1216px;
	margin: 0 auto;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 24px 60px rgba(33, 30, 28, .16), 0 2px 6px rgba(33, 30, 28, .05);
	animation: nav-panel-in .18s ease;
}
/* Bridges the 10px gap between the bar and the panel. Without it the pointer
   leaves .nav on the way down and the panel closes under the cursor. */
.nav-panel::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -14px;
	height: 14px;
}
.nav-panel[hidden] { display: none; }
@keyframes nav-panel-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .nav-panel { animation: none; } }

.nav-panel__inner {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
}

/* ---------- Left: category tabs ---------- */
.nav-panel__tabs {
	display: flex;
	flex-direction: column;
	padding: 18px 0 18px 4px;
	border-right: 1px solid var(--line);
}
.nav-panel__tab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 15px 22px 15px 26px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: none;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .5px;
	color: var(--ink);
	text-align: left;
	cursor: pointer;
	transition: background .16s ease, color .16s ease;
}
.nav-panel__tab:last-of-type { border-bottom: 0; }
.nav-panel__tabs.is-dense .nav-panel__tab { padding-top: 10px; padding-bottom: 10px; font-size: 13px; }
.nav-panel__tabs.is-dense .nav-panel__all { margin-top: 14px; }
.nav-panel__tab svg { width: 7px; height: 11px; flex: 0 0 auto; opacity: .45; transition: transform .18s ease, opacity .18s ease; }
.nav-panel__tab:hover { color: var(--copper-deep); }
.nav-panel__tab:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: -2px; }
/* The open category is marked, which the original never did. */
.nav-panel__tab.is-active {
	background: #fbf3f0;
	color: var(--copper-deep);
	border-radius: 8px 0 0 8px;
}
.nav-panel__tab.is-active svg { opacity: 1; transform: translateX(3px); }

.nav-panel__all {
	margin: 18px 22px 0 26px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--copper-deep);
	text-decoration: none;
	border-bottom: 2px solid var(--copper);
	padding-bottom: 3px;
	align-self: flex-start;
}
.nav-panel__all:hover { color: var(--ink); }

/* ---------- Right: the open category's links ---------- */
.nav-panel__panes {
	padding: 26px 30px 26px;
	display: flex;
	flex-direction: column;
}
.nav-panel__pane { flex: 0 0 auto; }

/* Sits at the bottom of the column, using the space the tab list leaves over. */
.nav-panel__foot {
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 20px;
}
.nav-panel__foot p {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}
.nav-panel__foot span { display: inline-flex; align-items: center; gap: 16px; }
.nav-panel__foot-tel {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-soft);
	text-decoration: none;
	white-space: nowrap;
}
.nav-panel__foot-tel:hover { color: var(--copper-deep); }
.nav-panel__pane[hidden] { display: none; }
.nav-panel__pane ul {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 3;
	column-gap: 34px;
}
/* Column count follows the list length: five links spread across three columns
   read as scattered fragments rather than a menu. */
.nav-panel__pane[data-links="1"] ul,
.nav-panel__pane[data-links="2"] ul,
.nav-panel__pane[data-links="3"] ul,
.nav-panel__pane[data-links="4"] ul { columns: 1; max-width: 26rem; }
.nav-panel__pane[data-links="5"] ul,
.nav-panel__pane[data-links="6"] ul,
.nav-panel__pane[data-links="7"] ul,
.nav-panel__pane[data-links="8"] ul { columns: 2; max-width: 42rem; }
.nav-panel__pane li { break-inside: avoid; margin: 0; }
.nav-panel__pane a {
	display: block;
	padding: 13px 4px 13px 0;
	border-bottom: 1px solid var(--line);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	transition: color .16s ease, border-color .16s ease;
}
.nav-panel__pane a:hover { color: var(--copper-deep); border-bottom-color: var(--copper); }
.nav-panel__pane a:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 2px; }

/* ---------- Actions ---------- */
/* Phone and Book travel together as one pill, so the call to action reads as
   part of the header rather than a stray label. */
.nav__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
	margin-left: auto;
	background: #fff;
	border-radius: 50px;
	padding: 6px 6px 6px 8px;
	box-shadow: 0 8px 28px rgba(33, 30, 28, .1), 0 1px 3px rgba(33, 30, 28, .05);
	transition: background .22s ease, box-shadow .22s ease;
}
.nav.is-stuck .nav__actions { background: transparent; box-shadow: none; }

/* Same two-weight treatment as the current header: light label, bold number. */
.nav__tel {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 9px 14px;
	border-radius: 50px;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
	transition: background .16s ease, color .16s ease;
}
.nav__tel-label { font-size: 15px; font-weight: 400; }
.nav__tel-num { font-size: 16px; font-weight: 700; }
.nav__tel:hover { background: #fbf3f0; color: var(--copper-deep); }
.nav__tel:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 2px; }
.nav__cta {
	display: inline-flex;
	align-items: center;
	padding: 11px 22px;
	border-radius: 50px;
	background: var(--copper);
	color: #fff;
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background .18s ease;
}
.nav__cta:hover { background: var(--copper-deep); color: #fff; }
.nav__cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.nav__cta--block { display: flex; justify-content: center; width: 100%; padding: 15px 22px; }

.nav__burger {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	position: relative;
}
.nav__burger span {
	position: absolute;
	left: 9px;
	width: 24px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .22s ease, opacity .18s ease;
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Drawer ---------- */
.nav-drawer { display: none; }

@media (max-width: 1080px) {
	.nav__menu { display: none; }
	.nav__tel-label { display: none; }
	.nav__tel-num { font-size: 15px; }
	.nav__burger { display: block; }

	.nav-drawer {
		display: block;
		position: fixed;
		inset: 84px 0 0;
		z-index: 99;
		background: #fff;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px 0 24px;
	}
	.nav-drawer[hidden] { display: none; }

	.nav-drawer__list { margin: 0; padding: 0 20px; list-style: none; }
	.nav-drawer__list > li { border-bottom: 1px solid var(--line); }
	.nav-drawer__link, .nav-drawer__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 17px 0;
		border: 0;
		background: none;
		font: inherit;
		font-size: 1.05rem;
		font-weight: 700;
		color: var(--ink);
		text-decoration: none;
		cursor: pointer;
	}
	.nav-drawer__toggle svg { width: 13px; height: 9px; transition: transform .2s ease; }
	.nav-drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.nav-drawer__sub { padding: 0 0 18px; }
	.nav-drawer__sub[hidden] { display: none; }
	.nav-drawer__all {
		display: inline-block;
		margin-bottom: 14px;
		font-size: .85rem;
		font-weight: 700;
		color: var(--copper-deep);
		text-decoration: none;
		border-bottom: 2px solid var(--copper);
	}
	.nav-drawer__heading {
		font-size: .68rem;
		font-weight: 700;
		letter-spacing: .14em;
		text-transform: uppercase;
		color: var(--copper-deep);
		margin: 16px 0 6px;
	}
	.nav-drawer__sub ul { margin: 0; padding: 0; list-style: none; }
	.nav-drawer__sub a:not(.nav-drawer__all) {
		display: block;
		padding: 7px 0;
		font-size: .95rem;
		color: var(--ink-soft);
		text-decoration: none;
	}
	.nav-drawer__foot { padding: 22px 20px 0; }
	.nav-drawer__tel {
		display: block;
		margin-top: 14px;
		text-align: center;
		font-weight: 700;
		color: var(--ink);
		text-decoration: none;
	}
}

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

.nav-panel__pane .nav-panel__sub{grid-column:1/-1;list-style:none}.nav-panel__pane .nav-panel__sub>ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;margin:6px 0 18px;padding:0;list-style:none}.nav-panel__subhead{display:block;font-weight:700;color:#9d5f36!important;letter-spacing:2px;text-transform:uppercase;font-size:12px;padding:6px 0;border-bottom:1px solid currentColor}.nav-drawer__subhead{font-weight:700;color:#9d5f36;text-transform:uppercase;letter-spacing:1.5px;font-size:12px;padding:10px 0 2px}
.nav-panel__pane .nav-panel__sub>ul{display:block}.nav-panel__pane .nav-panel__sub{grid-column:auto}
.nav-panel__pane>ul:has(>.nav-panel__sub){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-count:auto!important;columns:auto!important;gap:0 40px;align-items:start}.nav-panel__sub{break-inside:avoid}
.nav-panel__pane .nav-panel__sub>ul{columns:1!important;column-count:1!important;display:block!important}.nav-panel__pane .nav-panel__sub>ul>li{display:block}

body:not(.tlc-treatment-page) .nav__brand{background:#fff;border-radius:999px;padding:8px 18px;box-shadow:0 6px 22px rgba(33,30,28,.12)}body:not(.tlc-treatment-page) .nav__brand img{display:block}

body:not(.tlc-treatment-page) .nav__brand{padding:6px 20px}body:not(.tlc-treatment-page) .nav__brand img{height:48px;width:auto;clip-path:inset(0 0 20% 0);margin-bottom:-10px}

body:not(.tlc-treatment-page) .nav__brand img{height:58px;filter:brightness(.62) saturate(1.5) contrast(1.15);margin-bottom:-12px}

body:not(.tlc-treatment-page) .nav__brand{padding:5px 18px}body:not(.tlc-treatment-page) .nav__brand img{height:50px;width:auto;filter:none;clip-path:none;margin:0}

body:not(.tlc-treatment-page) .nav__brand{padding:9px 24px}body:not(.tlc-treatment-page) .nav__brand img{height:42px}

body:not(.tlc-treatment-page) .nav__brand{display:none}

/* MOBILE FIT: logo + phone + Book + burger did not fit a 390px screen, so the
   pill ran off the right edge. Tighter sizes below 480px keep it all on screen. */
@media (max-width: 480px) {
	.nav__bar { gap: 8px; padding: 0 12px; }
	.nav__brand img { height: 36px; }
	.nav__actions { margin-left: auto; min-width: 0; padding: 4px 4px 4px 4px; }
	.nav__tel { padding: 8px 8px; }
	.nav__tel-num { font-size: 14px; }
	.nav__cta { padding: 9px 15px; font-size: .85rem; }
	.nav__burger { width: 36px; height: 36px; }
	.nav__burger span { left: 6px; }
}
@media (max-width: 360px) {
	.nav__brand img { height: 30px; }
	.nav__tel { padding: 8px 5px; }
	.nav__tel-num { font-size: 13px; }
	.nav__cta { padding: 8px 12px; }
}
