/* Import Raleway as a replacement for the missing Sackers font */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap");

/*
Brand Style Guide

Fonts:
- Primary Heading: 'Playfair Display', serif
- Secondary & Navigation: 'Sackers', sans-serif
- Body Text: 'Work Sans', sans-serif
- Accents: 'Poppins', 'Montserrat', sans-serif

Colors:
- Dark Blue (Primary Text, Footer BG): #0b2935
- Muted Brown (Accent): #82634c
- Dusty Rose (Hover): #8d8180
- Blue Grey (Accent): #9fbdbf
- Warm Tan (Button Accent): #a07e66
- Off-White (Main BG): #f9f7f4
- Light Tan (Secondary BG): #f5f3ed
- White: #ffffff
*/

:not(:defined) {
	display: none;
}

:root {
	--font-heading: "Playfair Display", serif;
	--font-nav: "Raleway", sans-serif;
	--font-body: "Work Sans", sans-serif;

	/* Light Mode Colors */
	--color-dark-blue: #0b2935;
	--color-muted-brown: #82634c;
	--color-dusty-rose: #8d8180;
	--color-blue-grey: #9fbdbf;
	--color-warm-tan: #a07e66;
	--color-off-white: #f9f7f4;
	--color-light-tan: #f5f3ed;
	--color-white: #ffffff;

	/* Accessible Text Colors (WCAG AA Compliant on light backgrounds) */
	--color-warm-tan-text: #82634c;
	--color-dusty-rose-text: #705c5b;
	--color-blue-grey-text: #6a8a8c;

	/* Dynamic colors that change with theme */
	--bg-primary: #f9f7f4;
	--bg-secondary: #f5f3ed;
	--bg-tertiary: #ffffff;
	--bg-primary-alpha: rgba(249, 247, 244, 0.95);
	--bg-tertiary-alpha: rgba(255, 255, 255, 0.95);
	--text-primary: #0b2935;
	--text-secondary: #82634c;
	--text-muted: #705c5b;
	--accent-primary: #a07e66;
	--accent-primary-alpha: rgba(160, 126, 102, 0.1);
	--accent-secondary: #9fbdbf;
	--border-color: rgba(159, 189, 191, 0.15);
	--shadow-color: rgba(0, 0, 0, 0.08);
	--overlay-bg: rgba(11, 41, 53, 0.85);
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
	:root {
		/* Dark Mode Colors - WCAG AA Compliant */
		--bg-primary: #0f1419;
		--bg-secondary: #1a1f26;
		--bg-tertiary: #242933;
		--bg-primary-alpha: rgba(15, 20, 25, 0.95);
		--bg-tertiary-alpha: rgba(36, 41, 51, 0.95);
		--text-primary: #e8e6e3;
		--text-secondary: #d4b5a0;
		--text-muted: #b8a99d;
		--accent-primary: #d4a574;
		--accent-primary-alpha: rgba(212, 165, 116, 0.1);
		--accent-secondary: #7da8aa;
		--border-color: rgba(212, 165, 116, 0.2);
		--shadow-color: rgba(0, 0, 0, 0.4);
		--overlay-bg: rgba(15, 20, 25, 0.9);

		/* Accessible text color overrides for dark mode */
		--color-blue-grey-text: #a8c5c7;
		--color-warm-tan-text: #d4b5a0;
		--color-dusty-rose-text: #c9b3af;
	}
}

/* Manual dark mode class (overrides system preference) */
[data-theme="dark"] {
	--bg-primary: #0f1419;
	--bg-secondary: #1a1f26;
	--bg-tertiary: #242933;
	--bg-primary-alpha: rgba(15, 20, 25, 0.95);
	--bg-tertiary-alpha: rgba(36, 41, 51, 0.95);
	--text-primary: #e8e6e3;
	--text-secondary: #d4b5a0;
	--text-muted: #b8a99d;
	--accent-primary: #d4a574;
	--accent-primary-alpha: rgba(212, 165, 116, 0.1);
	--accent-secondary: #7da8aa;
	--border-color: rgba(212, 165, 116, 0.2);
	--shadow-color: rgba(0, 0, 0, 0.4);
	--overlay-bg: rgba(15, 20, 25, 0.9);

	/* Accessible text color overrides for dark mode */
	--color-blue-grey-text: #a8c5c7;
	--color-warm-tan-text: #d4b5a0;
	--color-dusty-rose-text: #c9b3af;
}

[data-theme="light"] {
	--bg-primary: #f9f7f4;
	--bg-secondary: #f5f3ed;
	--bg-tertiary: #ffffff;
	--bg-primary-alpha: rgba(249, 247, 244, 0.95);
	--bg-tertiary-alpha: rgba(255, 255, 255, 0.95);
	--text-primary: #0b2935;
	--text-secondary: #82634c;
	--text-muted: #705c5b;
	--accent-primary: #a07e66;
	--accent-primary-alpha: rgba(160, 126, 102, 0.1);
	--accent-secondary: #9fbdbf;
	--border-color: rgba(159, 189, 191, 0.15);
	--shadow-color: rgba(0, 0, 0, 0.08);
	--overlay-bg: rgba(11, 41, 53, 0.85);
}

/* Basic Reset & Body Styles */
html {
	/* Removed overflow-x: hidden to allow proper debugging of layout issues */
}

body {
	font-family: var(--font-body);
	margin: 0;
	padding: 0;
	line-height: 1.7;
	background-color: var(--bg-primary);
	color: var(--text-primary);
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
	/* Removed overflow-x: hidden - fix layout issues at their source instead */
	max-width: 100vw;
}

/* Ensure footer is the last element with no trailing space */
body > footer:last-child,
body > lc-footer:last-child {
	margin-bottom: 0;
}

/* Prevent dev tools from affecting layout */
#web-vitals-overlay {
	position: fixed;
	pointer-events: auto;
}

#web-vitals-overlay.hidden {
	pointer-events: none;
}

/* Screen reader only utility */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	line-height: 1.3;
	font-weight: 700;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	margin-bottom: 2.5rem;
}

h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1.25rem;
}

h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 1rem;
}

h4 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	margin-bottom: 0.875rem;
}

p {
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.8;
	margin-bottom: 1.5rem;
	text-wrap: pretty;
}

a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--text-muted);
}

/* Focus styles for accessibility */
:where(a, button, input, textarea, select):focus {
	outline: 3px solid var(--accent-primary);
	outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--color-dark-blue);
	color: var(--color-white);
	padding: 8px 16px;
	text-decoration: none;
	z-index: 100;
	font-weight: 600;
}

.skip-link:focus {
	top: 0;
}

/* A simple container for content */
.container {
	width: 87.5%;
	margin: 0 auto;
	max-width: 1440px;
}

#info-cards.container {
	width: min(calc(100% - 8rem), 100%);
	max-width: 100%;
	padding-left: clamp(1rem, 4vw, 4rem);
	padding-right: clamp(1rem, 4vw, 4rem);
}


/* Page content wrapper - adds proper spacing below sticky header */
.page-content {
	padding-top: 2rem;
	min-height: 60vh;
}

/* Main content area */
main {
	position: relative;
}

/* Header, Nav, and Footer Styles */
/* Placed here before content sections to maintain proper CSS specificity order */

/* Default: Solid header with white/dark background */
header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	padding: 1rem 0;
	z-index: 1000;
	background-color: var(--bg-tertiary);
	box-shadow: 0 2px 10px var(--shadow-color);
	transition: all 0.3s ease;
	border-bottom: 1px solid var(--border-color);
}

/* Navigation container - constrains content and prevents overlap */
header .nav-container {
	width: 85%;
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	flex-flow: row-reverse nowrap;
	align-items: center;
}

/* Default: Nav links use primary text color */
header nav ul a {
	color: var(--text-primary);
	opacity: .64;
}

header nav ul a:hover {
	color: var(--accent-primary);
	opacity: 1;
}

/* Default: Buttons with subtle background */
header :is(.language-toggle, .theme-toggle) {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
}

header :is(.language-toggle, .theme-toggle):hover {
	background: var(--accent-primary);
	color: var(--color-white);
}

/* Solid header class (same as default now, kept for backwards compatibility) */
header.solid-header {
	position: sticky;
	background-color: var(--bg-tertiary);
	box-shadow: 0 2px 10px var(--shadow-color);
}

header.solid-header nav ul a {
	color: var(--text-primary);
}

header.solid-header nav ul a:hover {
	color: var(--accent-primary);
}

header.solid-header :is(.language-toggle, .theme-toggle) {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
}

header.solid-header :is(.language-toggle, .theme-toggle):hover {
	background: var(--accent-primary);
	color: var(--color-white);
}

/* Transparent header variant for hero sections (homepage) */
header.transparent-header {
	position: absolute;
	background-color: transparent;
	box-shadow: none;
	border-bottom: none;
	padding: 2rem 0;
}

header.transparent-header nav ul a {
	color: var(--color-white);
}

header.transparent-header nav ul a:hover {
	color: var(--color-warm-tan);
}

header.transparent-header :is(.language-toggle, .theme-toggle) {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--color-white);
}

header.transparent-header :is(.language-toggle, .theme-toggle):hover {
	background: var(--accent-primary);
	color: var(--color-white);
}

/* Navigation and logo layout */
header nav {
	width: 100%;
	font-family: var(--font-nav);
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
}

header .logo {
	font-size: 1.5rem;
	font-weight: bold;
	z-index: 1001;
	order: 1;
}

header .logo a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--text-primary);
	text-decoration: none;
}

header .logo svg {
	flex-shrink: 0;
}

header .logo-text {
	font-family: var(--font-heading);
	font-weight: 700;
	white-space: nowrap;
}

/* Base navigation list styles */
header nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

header nav ul a {
	font-size: 0.875rem;
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

header nav ul li {
	list-style: none;
}

/* Language Toggle */
.language-toggle {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--color-white);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-family: var(--font-nav);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.language-toggle:hover {
	background: var(--accent-primary);
	border-color: var(--accent-primary);
	color: var(--color-white);
	transform: translateY(-2px);
}

.language-toggle:focus {
	outline: 3px solid var(--accent-primary);
	outline-offset: 2px;
}

/* Transparent header scrolled state */
header.transparent-header.scrolled .language-toggle {
	background: rgba(255, 255, 255, 0.15);
}

header.transparent-header.scrolled .language-toggle:hover {
	background: var(--accent-primary);
}

/* Theme Toggle */
.theme-toggle {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--color-white);
	padding: 0.5rem 0.75rem;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 1rem;
}

.theme-toggle:hover {
	background: var(--accent-primary);
	border-color: var(--accent-primary);
	transform: translateY(-2px);
}

.theme-toggle:focus {
	outline: 3px solid var(--accent-primary);
	outline-offset: 2px;
}

.theme-toggle .icon {
	display: none;
}

.theme-toggle .icon.active {
	display: block;
}

/* Transparent header scrolled state */
header.transparent-header.scrolled .theme-toggle {
	background: rgba(255, 255, 255, 0.15);
}

header.transparent-header.scrolled .theme-toggle:hover {
	background: var(--accent-primary);
}

/* Footer */
footer {
	background-color: var(--color-dark-blue);
	color: var(--color-white);
	padding: 5rem 0 3rem;
	margin-top: 6rem;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 6rem;
	margin-bottom: 4rem;
	text-align: left;
	align-items: start;
}

.footer-brand {
	max-width: 480px;
	place-content: center;
	place-items: center;
	padding-top: 2.25rem;
}

.footer-logo {
	margin-bottom: 1.5rem;
}

footer .footer-logo svg {
	width: 60px;
	height: 60px;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.footer-logo a:hover svg {
	opacity: 1;
}

.footer-tagline {
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

.footer-section h4 {
	font-family: var(--font-nav);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 1.5rem;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-links li {
	margin: 0;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 0.875rem;
	transition: all 0.2s ease;
	display: inline-block;
}

.footer-links a:hover {
	color: var(--color-warm-tan);
	transform: translateX(2px);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 2rem;
	text-align: center;
}

.footer-copyright {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.4);
	margin: 0;
	letter-spacing: 0.5px;
}

@media (max-width: 768px) {
	.footer-content {
		grid-template-columns: 1fr;
		gap: 3rem;
		text-align: left;
	}

	.footer-brand {
		max-width: 100%;
	}

	footer .footer-logo svg {
		width: 50px;
		height: 50px;
	}

	.footer-section {
		align-self: center;
		text-align: center;
		place-items: center;
		place-content: center;
	}
}

@media (max-width: 480px) {
	footer {
		padding: 3rem 0 2rem;
	}

	.footer-container {
		padding: 0 1.5rem;
	}

	.footer-content {
		gap: 2.5rem;
		margin-bottom: 2.5rem;
	}
}

/* Global button styles - Placed here to maintain proper CSS specificity order */
button {
	transition: all 0.3s ease-in-out;
}

/* Hero Section */
#hero {
	background:
		url("../assets/media/photos/team/team-nurse.jpg") no-repeat center center /
		cover;
	color: var(--color-white);
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 8rem 2rem 6rem;
	position: relative;
	z-index: 1;
}

#hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--overlay-bg);
	z-index: -1;
}

#hero .container {
	position: relative;
	z-index: 2;
	max-width: 900px;
}

#hero h1 {
	font-size: clamp(2.5rem, 6vw, 4rem);
	margin-bottom: 1.5rem;
	color: var(--color-white);
	font-family: var(--font-heading);
	letter-spacing: -0.02em;
}

#hero p {
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	max-width: 650px;
	margin: 0 auto 2.5rem auto;
	line-height: 1.7;
	opacity: 0.95;
	text-wrap: balance;
}

.cta-button {
	font-family: var(--font-nav);
	background-color: var(--accent-primary);
	color: var(--color-white);
	padding: 1.125rem 2.5rem;
	border-radius: 50px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1.5px;
	font-size: 0.9rem;
	display: inline-block;
	box-shadow: 0 4px 15px var(--shadow-color);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: none;
	cursor: pointer;
}

.cta-button:hover {
	background-color: var(--accent-secondary);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px var(--shadow-color);
}

/* Info Cards Section */
#info-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(2rem, 4vw, 4rem);
	margin-top: -100px;
	position: relative;
	z-index: 3;
	padding: 0;
	column-gap: clamp(2.5rem, 5vw, 4rem);
	row-gap: clamp(2rem, 3vw, 3rem);
}

/* Reduced padding for info cards specifically */
#info-cards .card,
#info-cards lc-card {
	padding: 1.25rem 1.5rem;
}

/* Move icons down in info cards */
#info-cards lc-icon {
	transform: translateY(2rem);
}

.card {
	background-color: var(--bg-tertiary);
	padding: 1.5rem 2rem;
	border-radius: 16px;
	box-shadow: 0 10px 40px var(--shadow-color);
	text-align: center;
	border: 1px solid var(--border-color);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	min-width: 20rem;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 60px var(--shadow-color);
	border-color: var(--accent-primary);
}

.card h4 {
	font-family: var(--font-nav);
	color: var(--text-secondary);
	letter-spacing: 0.5px;
	margin-bottom: 1rem;
	font-size: 1.125rem;
	text-transform: uppercase;
}

.card p {
	font-size: 1rem;
	color: var(--text-primary);
	line-height: 1.7;
	opacity: 0.9;
	text-wrap: pretty;
}

/* Pinnacle Section */
#pinnacle {
	display: flex;
	gap: 5rem;
	align-items: center;
	padding: 8rem 0;
}

.pinnacle-content,
.pinnacle-image {
	flex: 1;
}

.pinnacle-content h3 {
	font-family: var(--font-body);
	font-weight: 500;
	color: var(--text-secondary);
	font-size: clamp(1rem, 2vw, 1.25rem);
	margin: 0 0 0.75rem 0;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.pinnacle-content h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 0 0 2rem 0;
	line-height: 1.2;
}

.pinnacle-content p {
	text-wrap: pretty;
}

.pinnacle-image img {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.comparison-list {
	list-style: none;
	padding: 0;
	margin-top: 2rem;
}

.comparison-list li {
	display: flex;
	justify-content: space-between;
	padding: 1rem 0;
	border-bottom: 1px solid var(--color-light-tan);
	font-size: 1.1rem;
}

.comparison-list li .ratio {
	font-weight: 600;
}

.comparison-list li.legacy-ratio {
	font-weight: bold;
	color: var(--color-warm-tan-text);
}

/* Our Story Section */
#our-story {
	background-color: var(--bg-secondary);
	padding: 8rem 0;
}

.story-header {
	text-align: center;
	margin-bottom: 5rem;
}

.story-header h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.story-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
}

.story-column h4 {
	font-family: var(--font-nav);
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	color: var(--text-secondary);
	letter-spacing: 0.5px;
	margin-bottom: 1.75rem;
	text-transform: uppercase;
}

.story-column p {
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.8;
	text-wrap: pretty;
}

/* Testimonials Section */
#testimonials {
	background: linear-gradient(
		135deg,
		var(--color-dark-blue) 0%,
		rgba(11, 41, 53, 0.95) 100%
	);
	color: var(--color-white);
	padding: 8rem 0;
	text-align: center;
}

#testimonials h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 5rem;
	color: var(--color-white);
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2.5rem;
	text-align: left;
}

.testimonial-card {
	background: var(--bg-secondary);
	padding: 0;
	border-radius: 16px;
	border: 1px solid var(--border-color);
	backdrop-filter: blur(10px);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
	box-shadow: 0 4px 16px var(--shadow-color);
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 60px var(--shadow-color);
	border-color: var(--accent-primary);
}

/* Blockquote area - the main quote */
.testimonial-card blockquote {
	margin: 0;
	padding: 2rem 2.5rem;
	background: linear-gradient(
		135deg,
		var(--bg-tertiary) 0%,
		var(--bg-secondary) 100%
	);
	position: relative;
}

/* Decorative quote mark */
.testimonial-card blockquote::before {
	content: '"';
	position: absolute;
	top: 1rem;
	left: 1rem;
	font-size: 4rem;
	line-height: 1;
	color: var(--accent-primary);
	opacity: 0.2;
	font-family: Georgia, serif;
}

.testimonial-card .quote {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--text-primary);
	margin: 0;
	text-wrap: pretty;
	position: relative;
	z-index: 1;
}

/* Footer area - author attribution */
.testimonial-footer {
	padding: 1.5rem 2.5rem;
	background: var(--bg-primary);
	border-top: 1px solid var(--border-color);
}

.testimonial-card .author {
	font-family: var(--font-nav);
	font-weight: 600;
	font-size: 1rem;
	color: var(--accent-primary);
	margin: 0 0 0.25rem 0;
}

.testimonial-card .title {
	font-size: 0.875rem;
	color: var(--text-secondary);
	margin: 0;
	opacity: 0.8;
}

/* Care Model Section */
#care-model {
	padding: 8rem 0;
	text-align: center;
}

#care-model h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1rem;
}

#care-model h3 {
	font-family: var(--font-body);
	font-weight: 500;
	color: var(--color-warm-tan-text);
	font-size: clamp(1rem, 2vw, 1.25rem);
	margin-bottom: 5rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.care-steps {
	list-style: none;
	padding: 0;
	counter-reset: steps-counter;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
	grid-auto-flow: dense;
	gap: 2.5rem;
	text-align: left;
}

.care-steps li {
	background-color: var(--bg-tertiary);
	padding: 2.5rem;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	position: relative;
	padding-top: 5rem;
	border: 1px solid rgba(159, 189, 191, 0.1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	min-width: 20rem;
}

.care-steps li:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.care-steps li::before {
	counter-increment: steps-counter;
	content: "0" counter(steps-counter);
	position: absolute;
	top: 2rem;
	left: 2.5rem;
	font-size: 2.5rem;
	font-weight: bold;
	font-family: var(--font-heading);
	color: var(--color-blue-grey);
	opacity: 0.2;
}

.care-steps h4 {
	font-family: var(--font-nav);
	font-size: clamp(1.125rem, 2vw, 1.3rem);
	margin-bottom: 1rem;
	color: var(--color-warm-tan-text);
}

.care-steps p {
	text-wrap: pretty;
}

/* Generic Page Styles */
.page-content {
	padding: 8rem 0;
}

.page-subtitle {
	text-align: left;
	font-size: clamp(1.125rem, 2vw, 1.325rem);
	color: var(--color-blue-grey-text);
	line-height: 1.5;
	text-wrap: balance;
	margin-block: -1rem 3rem;
	font-weight: 500;
}

.page-eyebrow {
	text-align: left;
	font-size: clamp(.8rem, 2vw, 1.08rem);
	color: var(--color-dusty-rose-text);
	line-height: 1.5;
	text-wrap: balance;
	margin-block: 0 -2rem;
	text-transform: uppercase;
	font-weight: 600;
}

.page-subtitle.text-center {
	text-align: center;
}

/* Team Page */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
}

.team-member-card {
	background-color: var(--color-white);
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	text-align: center;
	padding: 2rem;
}

.team-member-card img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 1.5rem;
}

.team-member-card h4 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.team-member-card h5 {
	font-family: var(--font-nav);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-warm-tan-text);
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.team-member-card p {
	font-size: 1rem;
	line-height: 1.6;
	text-wrap: pretty;
}

/* Contact Page */
.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	background-color: var(--color-white);
	padding: 4rem;
	border-radius: 8px;
}

.contact-info h3,
.contact-form h3 {
	font-family: var(--font-heading);
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.contact-info ul {
	list-style: none;
	padding: 0;
}

.contact-info li {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	line-height: 1.6;
	text-wrap: pretty;
}

.contact-form form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 1rem;
	border: 1px solid var(--color-light-tan);
	border-radius: 5px;
	font-family: var(--font-body);
	font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--color-warm-tan);
	border-color: var(--color-warm-tan);
}

.contact-form button {
	align-self: flex-start;
	border: none;
	cursor: pointer;
}

/* Careers Page */
.careers-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	margin-bottom: 4rem;
}

.why-us-section ul,
.benefits-section ul {
	list-style: none;
	padding: 0;
}

.why-us-section li,
.benefits-section li {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	text-wrap: pretty;
}

.careers-apply {
	max-width: 800px;
	margin: 4rem auto 0 auto;
	padding: 3rem;
	background-color: var(--color-white);
	border-radius: 8px;
}

.careers-apply h3 {
	text-align: center;
}

.careers-apply p {
	text-align: center;
	margin-bottom: 2rem;
	text-wrap: balance;
}

.careers-apply label {
	margin-top: 1rem;
	font-weight: 600;
}

/* Partners Page */
.partner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 3rem;
	align-items: center;
	margin-bottom: 6rem;
}

.partner-logo {
	text-align: center;
}

.partner-logo img {
	max-width: 100%;
	height: auto;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all 0.3s ease;
}

.partner-logo img:hover {
	filter: grayscale(0%);
	opacity: 1;
}

.cta-section {
	text-align: center;
	background-color: var(--color-white);
	padding: 4rem 2rem;
	border-radius: 8px;
}

.cta-section h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.cta-section p {
	font-size: 1.2rem;
	max-width: 600px;
	margin: 0 auto 2rem auto;
	text-wrap: balance;
}

/* Locations Page */
.locations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 3rem;
}

.location-column h4 {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	color: var(--color-warm-tan-text);
	margin-bottom: 1.5rem;
}

.location-column ul {
	list-style: none;
	padding: 0;
}

.location-column li {
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
	color: var(--color-dark-blue);
}

/* Services/Treatments Page */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2.5rem;
}

.service-card {
	background-color: var(--color-white);
	border: 1px solid rgba(159, 189, 191, 0.15);
	padding: 3rem 2.5rem;
	border-radius: 16px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
	border-color: var(--color-warm-tan);
}

/* Icon styling within service cards */
.service-card lc-icon {
	display: block;
	margin-bottom: 1.5rem;
}

.card-info lc-icon {
	display: block;
	margin: 0 auto 1rem;
}

.service-card h4 {
	font-family: var(--font-heading);
	font-size: clamp(1.375rem, 2.5vw, 1.6rem);
	margin-bottom: 1.25rem;
	color: var(--color-dark-blue);
}

.service-card p {
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.7;
	margin-bottom: 2rem;
	color: var(--color-dark-blue);
	opacity: 0.85;
	text-wrap: pretty;
}

.service-card a {
	font-family: var(--font-nav);
	font-weight: 600;
	color: var(--color-warm-tan-text);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.875rem;
	transition: all 0.3s ease;
}

.service-card a:hover {
	color: var(--color-dusty-rose-text);
}

/* Service Detail Pages */
.service-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.service-image img {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-description h2 {
	font-size: clamp(2rem, 4vw, 2.5rem);
	margin-bottom: 1.75rem;
}

.service-description p {
	text-wrap: pretty;
}

.service-description ul {
	list-style: none;
	padding: 0;
}

.service-description li {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	padding-left: 1.5rem;
	position: relative;
}

.service-description li::before {
	content: "\2713";
	color: var(--color-warm-tan-text);
	position: absolute;
	left: 0;
}

/* Specific Header Adjustments */
/* Placed here after content image selectors to maintain proper CSS specificity order */
header .logo img {
	max-height: 55px;
	transition: all 0.3s ease;
}

/* Flair Additions: Transitions, Shadows, Animations */

/* 1. Global Smoothness - Removed universal selector for better performance and accessibility */
/* Note: button transitions defined earlier to maintain proper CSS specificity order */
a,
.card,
.service-card,
.team-member-card,
.testimonial-card,
.cta-button {
	transition: all 0.3s ease-in-out;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
	}
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	/* Button styles first to maintain proper specificity order */
	button {
		text-decoration: underline;
	}

	a {
		text-decoration: underline;
	}

	:root {
		--border-color: currentColor;
		--shadow-color: rgba(0, 0, 0, 0.5);
	}

	.card,
	.service-card,
	.team-member-card,
	.testimonial-card {
		border: 2px solid var(--text-primary);
	}
}

/* Low contrast mode support */
@media (prefers-contrast: low) {
	:root {
		--shadow-color: rgba(0, 0, 0, 0.02);
		--border-color: rgba(159, 189, 191, 0.08);
	}
}

/* Reduced data mode - minimize bandwidth usage */
@media (prefers-reduced-data: reduce) {
	/* Disable background images */
	* {
		background-image: none;
	}

	/* Use system fonts instead of web fonts */
	:root {
		--font-heading: serif;
		--font-nav: sans-serif;
		--font-body: sans-serif;
	}
}

/* 2. Header Scroll Effect - Only for transparent headers */
header.transparent-header.scrolled {
	position: fixed;
	background-color: var(--bg-tertiary);
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 20px var(--shadow-color);
	padding: 1rem 0;
	border-bottom: 1px solid var(--border-color);
}

header.transparent-header.scrolled .logo img {
	max-height: 45px;
}

header.transparent-header.scrolled nav ul a {
	color: var(--text-primary);
}

header.transparent-header.scrolled :is(.language-toggle, .theme-toggle) {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
}

header.transparent-header.scrolled :is(.language-toggle, .theme-toggle):hover {
	background: var(--accent-primary);
	color: var(--color-white);
}

/* 3. Interactive Effects (Hovers) */
.cta-button:hover,
.contact-form button:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card:hover,
.service-card:hover,
.team-member-card:hover,
.testimonial-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

header nav ul a::after {
	content: "";
	display: block;
	width: 0;
	height: 2px;
	background: var(--color-warm-tan);
	transition: width 0.3s;
}

header nav ul a:hover::after {
	width: 100%;
}

/* ========================================
   DROPDOWN NAVIGATION - Mobile-First, 5-Level Support
   ======================================== */

/* Dropdown parent container */
.dropdown {
	position: relative;
}

/* Level 1: Main dropdown menu */
.dropdown-menu {
	display: none;
	position: absolute;
	left: 0;
	top: calc(100% + 0.5rem);
	background-color: var(--bg-tertiary);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 0.75rem 0;
	list-style: none;
	min-width: 260px;
	box-shadow: 0 10px 40px var(--shadow-color);
	opacity: 0;
	transform: translateY(-10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	z-index: 100;
}

/* Level 2-5: Nested submenus - unified styling */
.dropdown-submenu,
.dropdown-submenu .dropdown-submenu,
.dropdown-submenu .dropdown-submenu .dropdown-submenu,
.dropdown-submenu .dropdown-submenu .dropdown-submenu .dropdown-submenu {
	display: none;
	position: absolute;
	left: calc(100% + 0.5rem);
	top: -0.75rem;
	background-color: var(--bg-tertiary);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 0.75rem 0;
	list-style: none;
	min-width: 260px;
	box-shadow: 0 10px 40px var(--shadow-color);
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	z-index: 101;
}

/* Show dropdowns on hover */
.dropdown:hover > .dropdown-menu,
.dropdown-menu:hover {
	display: block;
	opacity: 1;
	transform: translateY(0);
	pointer-events: all;
}

/* Show submenus on hover - all levels */
.dropdown-menu > li:hover > .dropdown-submenu,
.dropdown-submenu > li:hover > .dropdown-submenu,
.dropdown-submenu:hover {
	display: block;
	opacity: 1;
	transform: translateX(0);
	pointer-events: all;
}

/* Show dropdowns on keyboard focus */
.dropdown:focus-within > .dropdown-menu {
	display: block;
	opacity: 1;
	transform: translateY(0);
	pointer-events: all;
}

/* Show submenus on keyboard focus - all levels */
.dropdown-menu > li:focus-within > .dropdown-submenu,
.dropdown-submenu > li:focus-within > .dropdown-submenu {
	display: block;
	opacity: 1;
	transform: translateX(0);
	pointer-events: all;
}

/* Dropdown list items */
.dropdown-menu li,
.dropdown-submenu li {
	position: relative;
}

/* Dropdown link styling - theme-aware */
.dropdown-menu a,
.dropdown-submenu a {
	color: var(--text-primary);
	padding: 0.875rem 1.75rem;
	display: block;
	white-space: nowrap;
	font-size: 0.875rem;
	transition: all 0.2s ease;
	position: relative;
}

/* Remove underline animation for dropdown links */
.dropdown-menu a::after,
.dropdown-submenu a::after {
	display: none;
}

/* Dropdown link hover/focus state */
.dropdown-menu a:is(:hover, :focus),
.dropdown-submenu a:is(:hover, :focus) {
	background-color: var(--accent-primary);
	color: var(--color-white);
	padding-left: 2rem;
	outline: none;
}

/* Visual indicator for items with submenus */
.dropdown-menu > li:has(.dropdown-submenu) > a::before,
.dropdown-submenu > li:has(.dropdown-submenu) > a::before {
	content: "›";
	position: absolute;
	right: 1rem;
	opacity: 0.6;
}

/* Viewport-aware positioning - opens left when needed */
.dropdown-submenu.opens-left,
.dropdown-submenu .dropdown-submenu.opens-left {
	left: auto;
	right: calc(100% + 0.5rem);
	transform: translateX(10px);
}

.dropdown-menu > li:is(:hover, :focus-within) > .dropdown-submenu.opens-left,
.dropdown-submenu > li:is(:hover, :focus-within) > .dropdown-submenu.opens-left {
	transform: translateX(0);
}

/* 4. Fade-in Animation on Scroll */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.6s ease-out,
		transform 0.6s ease-out;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* 5. Layered Visuals (Pseudo-elements) */
.pinnacle-image {
	position: relative;
}

.service-image {
	position: relative;
}

.service-image::after {
	content: "";
	position: absolute;
	bottom: -15px;
	right: -15px;
	width: 100%;
	height: 100%;
	background-color: var(--color-light-tan);
	border-radius: 8px;
	z-index: -1;
}

/* ========================================
   MOBILE NAVIGATION - Mobile-First Approach
   ======================================== */

/* Mobile toggle button - Hidden on desktop */
.nav-toggle {
	display: block;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 1001;
	order: 3;
}

.nav-toggle .hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.nav-toggle .hamburger span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--text-primary);
	transition: all 0.3s ease;
}

/* Hamburger animation when open */
.nav-toggle.open .hamburger span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.open .hamburger span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.open .hamburger span:nth-child(3) {
	transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile: Navigation menu hidden by default */
#main-nav {
	display: none;
	flex-direction: column;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--bg-secondary);
	padding: 5rem 2rem 2rem;
	overflow-y: auto;
	z-index: 999;
	gap: 0;
}

/* Mobile: Show menu when open */
#main-nav.open {
	display: flex;
}

/* Mobile: List items full width */
#main-nav > li {
	width: 100%;
	text-align: left;
	margin: 0;
	border-bottom: 1px solid var(--border-color);
}

/* Mobile: Links larger for touch */
#main-nav > li > a {
	display: block;
	padding: 1.25rem 1rem;
	font-size: 1.125rem;
}

/* Mobile: Dropdowns stack vertically */
#main-nav .dropdown-menu {
	position: static;
	opacity: 1;
	transform: none;
	box-shadow: none;
	border: none;
	border-radius: 0;
	background-color: var(--bg-primary);
	padding: 0;
	margin: 0;
	min-width: auto;
}

#main-nav .dropdown-menu .dropdown-submenu {
	margin-right: -1.5rem;
}

/* Mobile: Submenus also stack */
#main-nav .dropdown-submenu,
#main-nav .dropdown-submenu .dropdown-submenu,
#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu,
#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu .dropdown-submenu {
	position: static;
	opacity: 1;
	transform: none;
	box-shadow: none;
	border: none;
	border-radius: 0;
	background-color: transparent;
	padding: 0;
	margin: 0;
	min-width: auto;
}

/* Mobile: Nested indentation for hierarchy */
#main-nav .dropdown-menu a {
	padding-left: 2rem;
}

#main-nav .dropdown-submenu a {
	padding-left: 3rem;
}

#main-nav .dropdown-submenu .dropdown-submenu a {
	padding-left: 4rem;
}

#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu a {
	padding-left: 5rem;
}

#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu .dropdown-submenu a {
	padding-left: 6rem;
}

/* Mobile: Remove hover transform effect */
#main-nav .dropdown-menu a:hover,
#main-nav .dropdown-submenu a:hover {
	padding-left: 2rem;
}

#main-nav .dropdown-submenu a:hover {
	padding-left: 3rem;
}

#main-nav .dropdown-submenu .dropdown-submenu a:hover {
	padding-left: 4rem;
}

#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu a:hover {
	padding-left: 5rem;
}

#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu .dropdown-submenu a:hover {
	padding-left: 6rem;
}

/* Mobile: Buttons full width */
#main-nav .language-toggle,
#main-nav .theme-toggle {
	width: 100%;
	justify-content: center;
	margin: 1rem 0;
	padding: 1rem;
}

#main-nav > .dropdown:has(a[aria-expanded="true" i]) ul {
	opacity: 1;
}

/* ========================================
   DESKTOP NAVIGATION - Min-width: 769px
   ======================================== */

@media (min-width: 769px) {
	/* Desktop: Hide mobile toggle */
	.nav-toggle {
		display: none;
	}

	/* Desktop: Show navigation inline */
	#main-nav {
		display: flex;
		flex-direction: row;
		position: static;
		width: auto;
		height: auto;
		background-color: transparent;
		padding: 0;
		overflow: visible;
		gap: 2.5rem;
		align-items: center;
	}

	/* Desktop: List items inline */
	#main-nav > li {
		width: auto;
		text-align: left;
		margin: 0;
		border-bottom: none;
	}

	/* Desktop: Normal link sizing */
	#main-nav > li > a {
		padding: 0;
		font-size: 0.875rem;
	}

	/* Desktop: Dropdowns positioned absolutely */
	#main-nav .dropdown-menu {
		position: absolute;
		opacity: 0;
		transform: translate3d(-8px, -10px, 0);
		box-shadow: 0 10px 40px var(--shadow-color);
		border: 1px solid var(--border-color);
		border-top: 4px solid var(--accent-primary);
		border-radius: 0 0 8px 8px;
		background-color: var(--bg-tertiary);
		padding: 0.75rem 0;
		min-width: 260px;
	}

	/* Desktop: Submenus positioned to the right */
	#main-nav .dropdown-submenu,
	#main-nav .dropdown-submenu .dropdown-submenu,
	#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu,
	#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu .dropdown-submenu {
		position: absolute;
		opacity: 0;
		transform: translateX(-10px);
		box-shadow: 0 10px 40px var(--shadow-color);
		border: 1px solid var(--border-color);
		border-radius: 8px;
		background-color: var(--bg-tertiary);
		padding: 0.75rem 0;
		min-width: 260px;
	}

	/* Desktop: Reset padding for all levels */
	#main-nav .dropdown-menu a,
	#main-nav .dropdown-submenu a,
	#main-nav .dropdown-submenu .dropdown-submenu a,
	#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu a,
	#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu .dropdown-submenu a {
		padding: 0.425rem 1.5rem;
	}

	/* Desktop: Hover effect shifts right */
	#main-nav .dropdown-menu a:hover,
	#main-nav .dropdown-submenu a:hover,
	#main-nav .dropdown-submenu .dropdown-submenu a:hover,
	#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu a:hover,
	#main-nav .dropdown-submenu .dropdown-submenu .dropdown-submenu .dropdown-submenu a:hover {
		padding-left: 2rem;
	}

	/* Desktop: Buttons normal sizing */
	#main-nav .language-toggle,
	#main-nav .theme-toggle {
		width: auto;
		margin: 0;
		padding: 0.5rem 0.75rem;
	}

	#info-cards .card-info {
		transform: scale(1);
	}

	#info-cards {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	}
}

/* Responsive Typography & Spacing */
@media (max-width: 1024px) {
	#info-cards {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
		gap: clamp(2rem, 3vw, 3rem);
		column-gap: clamp(2rem, 4vw, 3rem);
		row-gap: clamp(1.5rem, 2.5vw, 2.5rem);
	}
	.container {
		width: 90%;
	}

	#hero {
		min-height: 70vh;
		padding: 6rem 2rem 4rem;
	}

	#pinnacle {
		flex-direction: column;
		gap: 3rem;
		padding: 5rem 0;
	}

	.pinnacle-image {
		order: -1;
	}

	.story-content {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.service-details {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.service-image {
		order: -1;
	}

	.contact-content {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.careers-content {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	#info-cards .card-info {
		transform: scale(.8);
	}

}

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}

	.container {
		width: 92%;
	}

	/* Hero Section */
	#hero {
		min-height: 60vh;
		padding: 5rem 1.5rem 3rem;
	}

	#hero h1 {
		font-size: clamp(2rem, 8vw, 2.5rem);
	}

	#hero p {
		font-size: clamp(1rem, 3vw, 1.125rem);
	}

	.cta-button {
		padding: 1rem 2rem;
		font-size: 0.85rem;
	}

	/* Info Cards */
	#info-cards {
		grid-template-columns: 1fr;
		margin-top: -60px;
		gap: 2.5rem;
		padding: 0;
		column-gap: 0;
		row-gap: 2.5rem;
	}

	#info-cards .card,
	#info-cards lc-card {
		padding: 1rem 1.25rem;
		max-width: 100%;
	}

	#info-cards .card-info {
		transform: scale(.9);
	}

	.card {
		padding: 2rem 1.5rem;
	}

	/* Sections */
	#pinnacle,
	#our-story,
	#testimonials,
	#care-model,
	.page-content {
		padding: 4rem 0;
	}

	/* Testimonials */
	.testimonial-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	/* Care Steps */
	.care-steps {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	/* Team Grid */
	.team-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	/* Services Grid */
	.services-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	/* Locations Grid */
	.locations-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	/* Partner Grid */
	.partner-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

	/* Page Subtitle */
	.page-subtitle {
		margin-block: 0 -1.25rem;
	}
}

@media (max-width: 480px) {
	.container {
		width: 95%;
	}

	/* Hero */
	#hero {
		min-height: 50vh;
		padding: 4rem 1rem 2rem;
	}

	.cta-button {
		padding: 0.875rem 1.75rem;
		font-size: 0.8rem;
		letter-spacing: 1px;
	}

	/* Info Cards */
	#info-cards {
		margin-top: -40px;
	}

	.card {
		padding: 1.5rem 1.25rem;
	}

	.card h4 {
		font-size: 1rem;
	}

	/* Sections */
	#pinnacle,
	#our-story,
	#testimonials,
	#care-model,
	.page-content {
		padding: 3rem 0;
	}

	/* Story Header */
	.story-header {
		margin-bottom: 3rem;
	}

	/* Testimonials */
	:where(#testimonials, .story-header, #care-model) h2 {
		font-size: clamp(1.75rem, 6vw, 2rem);
	}

	.testimonial-card {
		padding: 1.75rem;
	}

	/* Care Steps */
	.care-steps li {
		padding: 2rem 1.5rem;
		padding-top: 4rem;
	}

	.care-steps li::before {
		font-size: 2rem;
		top: 1.5rem;
		left: 1.5rem;
	}

	/* Service Cards */
	.service-card {
		padding: 2rem 1.5rem;
	}

	/* Team Member Cards */
	.team-member-card {
		padding: 1.5rem;
	}

	.team-member-card img {
		width: 120px;
		height: 120px;
	}

	/* Contact Content */
	.contact-content {
		padding: 2rem;
	}

	/* Partner Grid - Single Column on Very Small Screens */
	.partner-grid {
		grid-template-columns: 1fr;
	}

	/* Comparison List */
	.comparison-list li {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
}

/* Container Queries for Component-Level Responsiveness */
@supports (container-type: inline-size) {
	.container {
		container-type: inline-size;
	}

	@container (max-width: 700px) {
		.story-content {
			grid-template-columns: 1fr;
		}

		.service-details {
			grid-template-columns: 1fr;
		}

		.contact-content {
			grid-template-columns: 1fr;
		}
	}

	@container (max-width: 500px) {
		.testimonial-grid {
			grid-template-columns: 1fr;
		}

		.services-grid {
			grid-template-columns: 1fr;
		}
	}
}

/* ========================================
   BLOG COMPONENT STYLES
   ======================================== */

/* Blog Card Styles */
.lc-blog-card {
	background: var(--bg-tertiary);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.lc-blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px var(--shadow-color);
}

.lc-blog-card-image {
	width: 100%;
	height: 250px;
	overflow: hidden;
	background: var(--bg-secondary);
}

.lc-blog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.lc-blog-card:hover .lc-blog-card-image img {
	transform: scale(1.05);
}

.lc-blog-card-content {
	padding: 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.lc-blog-card-category {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: var(--accent-primary-alpha);
	color: var(--accent-primary);
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1rem;
	width: fit-content;
}

.lc-blog-card-title {
	font-size: 1.3rem;
	margin-bottom: 0.75rem;
	color: var(--text-primary);
	line-height: 1.3;
}

.lc-blog-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.lc-blog-card-title a:hover {
	color: var(--accent-primary);
}

.lc-blog-card-excerpt {
	font-size: 0.95rem;
	color: var(--text-secondary);
	margin-bottom: 1rem;
	line-height: 1.6;
	flex-grow: 1;
}

.lc-blog-card-meta {
	padding-top: 1rem;
	border-top: 1px solid var(--border-color);
}

/* Blog Meta Styles */
.lc-blog-meta {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.lc-blog-meta > span {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.lc-blog-meta svg {
	flex-shrink: 0;
}

/* Blog Filter Styles */
.lc-blog-filter {
	background: var(--bg-tertiary);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 1.5rem;
}

.lc-blog-filter-search {
	position: relative;
	margin-bottom: 1.5rem;
}

.lc-blog-filter-search-input {
	width: 100%;
	padding: 0.875rem 3rem 0.875rem 1rem;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	background: var(--bg-primary);
	color: var(--text-primary);
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.lc-blog-filter-search-input:focus {
	outline: none;
	border-color: var(--accent-primary);
	box-shadow: 0 0 0 3px var(--accent-primary-alpha);
}

.lc-blog-filter-search-button {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.lc-blog-filter-search-button:hover {
	color: var(--accent-primary);
	background: var(--accent-primary-alpha);
}

.lc-blog-filter-categories {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* Blog Grid Styles */
.lc-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 2rem;
}

/* Blog Responsive Styles */
@media (max-width: 768px) {
	.lc-blog-card-image {
		height: 200px;
	}

	.lc-blog-grid {
		grid-template-columns: 1fr;
	}

	.lc-blog-meta {
		flex-direction: column;
		gap: 0.5rem;
	}
}

/* Blog Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.lc-blog-card,
	.lc-blog-card-image img {
		transition: none;
	}

	.lc-blog-card:hover {
		transform: none;
	}

	.lc-blog-card:hover .lc-blog-card-image img {
		transform: none;
	}
}

/* Print Styles */
@media print {
	header,
	footer,
	.nav-toggle,
	.language-toggle,
	.cta-button {
		display: none;
	}

	body {
		font-size: 12pt;
		color: #000;
		background: #fff;
	}

	.container {
		width: 100%;
		max-width: none;
	}

	a {
		color: #000;
		text-decoration: underline;
	}

	.card,
	.service-card,
	.testimonial-card {
		break-inside: avoid;
		page-break-inside: avoid;
	}
}

/* Contact Section */
#contact {
	padding: 8rem 0;
}

.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.contact-info h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 2rem;
}

.contact-info p {
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.8;
	margin-bottom: 2rem;
}

.contact-info ul {
	list-style: none;
	padding: 0;
}

.contact-info li {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

.contact-form h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 2rem;
}

.form-group {
	position: relative;
	margin-bottom: 1.5rem;
}

.form-textbox,
.form-textarea {
	width: 100%;
	padding: 1rem;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	background-color: var(--bg-secondary);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-textarea {
	min-height: 150px;
	resize: vertical;
}

.form-textbox:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--accent-primary);
	box-shadow: 0 0 0 3px var(--accent-primary-alpha);
}

.form-label {
	position: absolute;
	top: 1rem;
	left: 1rem;
	color: var(--text-muted);
	pointer-events: none;
	transition: all 0.3s ease;
}

.form-textbox:focus + .form-label,
.form-textbox:not(:placeholder-shown) + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
	top: -0.75rem;
	left: 0.75rem;
	font-size: 0.875rem;
	color: var(--accent-primary);
	background-color: var(--bg-secondary);
	padding: 0 0.25rem;
}
