/* =========================================================
   Motion Crafters — Production CSS v2.0
   Premium physiotherapy clinic theme
   ========================================================= */

:root {
	--mc-navy:    #0d2233;
	--mc-teal:    #1a7a7a;
	--mc-teal-lt: #e8f5f5;
	--mc-gold:    #c49a5a;
	--mc-gold-lt: #faf4ea;
	--mc-cream:   #faf8f4;
	--mc-white:   #ffffff;
	--mc-text:    #1a2e3a;
	--mc-muted:   #6b7f8a;
	--mc-border:  rgba(13,34,51,.08);
	--font-display: 'Playfair Display', Georgia, serif;
	--font-body:    'DM Sans', system-ui, sans-serif;
	--radius:      8px;
	--radius-lg:   10px;
	--shadow-soft: 0 4px 24px rgba(13,34,51,.07);
	--shadow-md:   0 12px 48px rgba(13,34,51,.12);
	--shadow-lg:   0 24px 80px rgba(13,34,51,.16);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.75; color: var(--mc-text); background: var(--mc-cream); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; letter-spacing: 0; color: var(--mc-navy); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { color: #526b78; font-size: 1.025rem; line-height: 1.8; }

.container { width: min(1240px, calc(100% - 3rem)); margin: 0 auto; }
.section-pad { padding: 100px 0; }
.section-pad--sm { padding: 60px 0; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 0.6rem;
	font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
	letter-spacing: 0.18em; text-transform: uppercase; color: var(--mc-teal); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--mc-teal); border-radius: 2px; flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0.85rem 1.9rem; border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: transform .18s var(--ease-out), background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; white-space: nowrap; }
.btn-primary { background: var(--mc-teal); color: var(--mc-white); border-color: var(--mc-teal); }
.btn-primary:hover { background: #155f5f; border-color: #155f5f; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(26,122,122,.28); }
.btn-outline { background: transparent; color: var(--mc-navy); border-color: rgba(13,34,51,.25); }
.btn-outline:hover { border-color: var(--mc-teal); color: var(--mc-teal); }
.btn-white { background: var(--mc-white); color: var(--mc-navy); }
.btn-white:hover { background: var(--mc-cream); box-shadow: var(--shadow-md); }
.btn-white-outline { background: transparent; color: var(--mc-white); border-color: rgba(255,255,255,.4); }
.btn-white-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-gold { background: var(--mc-gold); color: var(--mc-white); border-color: var(--mc-gold); }
.btn-gold:hover { background: #a87e3f; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(196,154,90,.3); }
.btn:active { transform: scale(0.98); }

.button-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.section-action { text-align: center; margin-top: 3rem; }

/* ── Header ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s ease, box-shadow .35s ease; }
.admin-bar .site-header { top: 32px; }
.site-header--transparent { background: transparent; }
.site-header--solid { background: rgba(255,255,255,.97); backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--mc-border), var(--shadow-soft); }

.header-inner { display: grid; grid-template-columns: minmax(300px, auto) minmax(0, 1fr) auto; align-items: center; gap: 1.15rem; padding: 1.1rem 0; transition: padding .3s ease; }
.site-header--solid .header-inner { padding: 0.85rem 0; }

.brand { display: flex; align-items: center; gap: 0.85rem; min-width: 0; margin-right: 0.75rem; }
.brand-icon { width: 84px; height: 58px; object-fit: contain; transition: width .3s, height .3s; }
.site-header--solid .brand-icon { width: 72px; height: 50px; }
.brand-copy { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.1; color: var(--mc-navy); transition: color .3s; }
.site-header--transparent .brand-name { color: #fff; }
.brand-tagline { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mc-muted); transition: color .3s; }
.site-header--transparent .brand-tagline { color: rgba(255,255,255,.6); }

.primary-nav { display: flex; justify-content: center; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; flex-wrap: nowrap; }
.nav-list > li { position: relative; }
/* Bridge gap so hover stays active when cursor moves toward dropdown */
.nav-list > li.has-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.nav-list > li > a { display: flex; align-items: center; padding: 0.62rem 0.9rem; font-size: 0.88rem; font-weight: 600; color: var(--mc-text); border-radius: 6px; transition: color .2s, background .2s; white-space: nowrap; letter-spacing: 0.01em; }
.site-header--transparent .nav-list > li > a { color: rgba(255,255,255,.92); }
.nav-list > li > a:hover { color: var(--mc-teal); background: var(--mc-teal-lt); }
.site-header--transparent .nav-list > li > a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Chevron indicator */
.has-dropdown > a::after {
	content: '';
	display: inline-block;
	width: 7px; height: 7px;
	margin-left: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .22s ease;
	flex-shrink: 0;
}
.has-dropdown:hover > a::after,
.has-dropdown.dropdown-open > a::after { transform: rotate(-135deg) translateY(-2px); }

/* Base dropdown panel */
.dropdown-menu {
	position: absolute; top: calc(100% + 4px); left: 0;
	background: var(--mc-white);
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(13,34,51,.18), 0 0 0 1px rgba(13,34,51,.07);
	padding: 1rem;
	opacity: 0; pointer-events: none;
	transform: translateY(8px) scale(0.98);
	transform-origin: top left;
	transition: opacity .22s ease, transform .22s ease;
	z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.dropdown-open .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }

/* ── MEGA MENU – Services (3-col image cards) ── */
/*
   We anchor the mega menu to .primary-nav (position:relative) rather than
   the individual li, so the centered mega panel sits under the whole nav
   regardless of which item triggered it.
*/
.primary-nav { position: relative; }
/* Make the services li non-positioning so dropdown bubbles to primary-nav */
.has-dropdown:has(.dropdown-menu--services) { position: static; }

.dropdown-menu--services {
	width: min(760px, 96vw);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	padding: 1.1rem;
	/* Centered under the nav */
	left: 50%;
	top: calc(100% + 4px);
	transform: translateY(8px) scale(0.98) translateX(-50%);
	transform-origin: top center;
}
.has-dropdown:hover .dropdown-menu--services,
.has-dropdown.dropdown-open .dropdown-menu--services {
	transform: translateY(0) scale(1) translateX(-50%);
}
/* Override default 'a' styles for mega cards */
.dropdown-menu--services a { padding: 0; background: transparent !important; }
.dropdown-menu--services a:hover { background: transparent !important; }

/* Service mega card */
.mega-svc {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.75rem 0.9rem !important;
	border-radius: 10px;
	transition: background .18s ease !important;
	text-decoration: none;
	color: var(--mc-text) !important;
}
.mega-svc:hover { background: var(--mc-teal-lt) !important; }
.mega-svc-img {
	width: 64px; height: 52px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
	display: block;
}
.mega-svc-info { display: flex; flex-direction: column; gap: 0.15rem; }
.mega-svc-name { font-size: 0.88rem; font-weight: 700; color: var(--mc-navy); line-height: 1.2; }
.mega-svc-desc { font-size: 0.77rem; color: var(--mc-muted); line-height: 1.3; }
.mega-svc:hover .mega-svc-name { color: var(--mc-teal); }

/* Mega menu footer row */
.dropdown-menu-footer { grid-column: 1 / -1; padding-top: 0.6rem; margin-top: 0.25rem; border-top: 1px solid var(--mc-border); }
.dropdown-menu-cta {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 100%; padding: 0.75rem 1rem !important;
	font-size: 0.88rem !important; font-weight: 700;
	color: var(--mc-teal) !important; background: var(--mc-teal-lt) !important;
	border-radius: 10px;
	transition: background .18s ease, color .18s ease !important;
}
.dropdown-menu-cta:hover { background: var(--mc-teal) !important; color: var(--mc-white) !important; }

/* ── Conditions dropdown (2-col text list) ── */
.dropdown-menu--conditions { width: min(820px, 96vw); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.1rem 0.45rem; padding: 1rem; }
.dropdown-menu--conditions a { padding: 0.5rem 0.75rem; font-size: 0.84rem; line-height: 1.25; color: var(--mc-text); border-radius: 7px; transition: background .15s, color .15s; }
.dropdown-menu--conditions a:hover { background: var(--mc-teal-lt); color: var(--mc-teal); }
.dropdown-menu--conditions .dropdown-menu-footer { grid-column: 1 / -1; }

/* ── Simple dropdown (Meet the Team etc.) ── */
.dropdown-menu--simple { min-width: 240px; display: flex; flex-direction: column; gap: 0.1rem; }
.dropdown-menu--simple a { padding: 0.6rem 1rem; font-size: 0.88rem; color: var(--mc-text); border-radius: 7px; }
.dropdown-menu--simple a:hover { background: var(--mc-teal-lt); color: var(--mc-teal); }

.condition-directory {
	margin-top: 2rem;
	padding: 2rem;
	background: var(--mc-white);
	border: 1px solid var(--mc-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
}
.condition-directory-head {
	max-width: 720px;
	margin-bottom: 1.6rem;
}
.condition-directory-head h2 {
	margin-bottom: 0.8rem;
}
.condition-directory-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}
.condition-directory-card {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.1rem;
	background: var(--mc-cream);
	border: 1px solid rgba(13,34,51,.07);
	border-radius: var(--radius);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.condition-directory-card:hover {
	transform: translateY(-3px);
	background: #fff;
	border-color: rgba(26,122,122,.28);
	box-shadow: var(--shadow-soft);
}
.condition-directory-title {
	font-weight: 800;
	color: var(--mc-navy);
	line-height: 1.25;
}
.condition-directory-copy {
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--mc-muted);
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; border-radius: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--mc-navy); border-radius: 2px; transition: transform .25s var(--ease-in-out), opacity .2s ease, background .2s ease; }
.site-header--transparent .menu-toggle span { background: #fff; }
.site-header--solid .menu-toggle span { background: var(--mc-navy); }

/* ── Hero ── */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img,
.hero-bg-video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-img { animation: kenburns 22s ease-in-out infinite alternate; }
.hero-bg-video { display: block; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 42%, rgba(26,122,122,.18), rgba(26,122,122,0) 30%), linear-gradient(100deg, rgba(6,15,23,.96) 0%, rgba(7,18,27,.92) 44%, rgba(8,24,36,.58) 70%, rgba(8,24,36,.24) 100%); }

@keyframes kenburns {
	0%   { transform: scale(1.0) translate(0, 0); }
	33%  { transform: scale(1.07) translate(-1.5%, 0.8%); }
	66%  { transform: scale(1.05) translate(1%, -0.5%); }
	100% { transform: scale(1.1) translate(-0.5%, 1%); }
}
.hero-content { position: relative; z-index: 1; max-width: 780px; padding: 150px 0 104px; }

.hero-badge { display: inline-flex; align-items: center; gap: 0.55rem; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); border-radius: 100px; padding: 0.45rem 1.1rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 1.8rem; }
.hero-badge-dot { width: 7px; height: 7px; background: var(--mc-gold); border-radius: 50%; flex-shrink: 0; animation: pulse-dot 2.5s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.7); } }

.hero h1 { color: #fff; margin-bottom: 1.4rem; max-width: 760px; text-shadow: 0 3px 28px rgba(0,0,0,.32); text-wrap: balance; }
.hero-lead { font-size: 1.12rem; line-height: 1.75; color: rgba(255,255,255,.84); max-width: 620px; margin-bottom: 2.4rem; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 0; }


/* ── Stats strip ── */
.stats-strip { background: var(--mc-navy); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { padding: 1.5rem 2rem; text-align: center; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,.1); }
.stat-number { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 700; color: var(--mc-gold); line-height: 1; margin-bottom: 0.35rem; }
.stat-number--text { font-family: var(--font-body); font-size: clamp(1.2rem, 2.1vw, 1.65rem); letter-spacing: 0.02em; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,.5); font-weight: 500; }

/* ── About ── */
.about-section { background: var(--mc-white); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-media { position: relative; }
.about-media-main { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-media-badge { position: absolute; bottom: -24px; right: -24px; background: var(--mc-white); border-radius: var(--radius); padding: 1.4rem 1.8rem; box-shadow: var(--shadow-md); border: 1px solid var(--mc-border); min-width: 190px; }
.about-media-badge-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--mc-teal); line-height: 1; }
.about-media-badge-text { font-size: 0.82rem; color: var(--mc-muted); margin-top: 0.25rem; }
.about-copy h2 { margin-bottom: 1.2rem; }
.about-copy > p { margin-bottom: 2rem; }

.check-list { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2.4rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.97rem; color: var(--mc-text); }
.check-list li::before { content: ''; flex-shrink: 0; margin-top: 0.35rem; width: 18px; height: 18px; background: var(--mc-teal); border-radius: 50%; display: flex; }

/* ── Services ── */
.services-section { background: var(--mc-cream); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.service-card { background: var(--mc-white); border: 1px solid var(--mc-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 rgba(13,34,51,.03); transition: transform .28s var(--ease-out), box-shadow .28s ease, border-color .28s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(26,122,122,.3); }
.service-card-img { width: 100%; height: 190px; object-fit: cover; }
.service-card-body { padding: 1.4rem; }
.service-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mc-teal); margin-bottom: 0.4rem; }
.service-card-body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--mc-navy); }
.service-card-body p { font-size: 0.88rem; line-height: 1.65; color: var(--mc-muted); }
.service-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.95rem; font-size: 0.88rem; font-weight: 700; color: var(--mc-teal); transition: gap .2s, color .2s; }
.service-link:hover { gap: 0.7rem; color: var(--mc-gold); }

.services-more { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; padding-top: 0.5rem; }
.tag-pill { background: var(--mc-white); color: var(--mc-text); border: 1px solid var(--mc-border); border-radius: 100px; padding: 0.4rem 1.1rem; font-size: 0.85rem; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.tag-pill:hover { background: var(--mc-teal-lt); border-color: rgba(26,122,122,.3); color: var(--mc-teal); }

/* ── Conditions ── */
.conditions-section { background: var(--mc-navy); color: #fff; }
.conditions-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.conditions-copy .eyebrow { color: var(--mc-gold); }
.conditions-copy .eyebrow::before { background: var(--mc-gold); }
.conditions-copy h2 { color: #fff; margin-bottom: 1rem; }
.conditions-copy > p { color: rgba(255,255,255,.6); margin-bottom: 2.4rem; }

.conditions-grid { columns: 2; column-gap: 1rem; margin-bottom: 2.5rem; }
.conditions-grid li { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0; font-size: 0.9rem; color: rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.06); break-inside: avoid; transition: color .2s; }
.conditions-grid li:hover { color: #fff; }
.conditions-grid li::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; background: var(--mc-gold); border-radius: 50%; }
.conditions-grid a { color: inherit; display: inline-flex; align-items: center; width: 100%; }

.conditions-media img { width: 100%; height: 580px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 32px 80px rgba(0,0,0,.4); }

/* ── Team ── */
.team-section { background: var(--mc-cream); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3.5rem; }
.team-card { background: var(--mc-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--mc-border); box-shadow: 0 1px 0 rgba(13,34,51,.03); transition: transform .28s var(--ease-out), box-shadow .28s ease, border-color .28s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(26,122,122,.22); }
.team-card--featured { grid-column: span 2; display: grid; grid-template-columns: minmax(280px, .9fr) 1.1fr; }
.team-photo-wrap { overflow: hidden; }
.team-photo { width: 100%; height: 280px; object-fit: cover; transition: transform .5s ease; }
.team-card--featured .team-photo { height: 100%; min-height: 320px; }
.team-card:hover .team-photo { transform: scale(1.04); }
.team-body { padding: 1.6rem; }
.team-card--featured .team-body { padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.team-role { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mc-teal); margin-bottom: 0.5rem; }
.team-body h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.team-card--featured .team-body h3 { font-size: 1.5rem; }
.team-bio { font-size: 0.88rem; line-height: 1.7; color: var(--mc-muted); }
.team-card--featured .team-bio { font-size: 0.95rem; margin-bottom: 1.4rem; }
.team-langs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.lang-tag { background: var(--mc-teal-lt); color: var(--mc-teal); border-radius: 100px; padding: 0.25rem 0.75rem; font-size: 0.78rem; font-weight: 600; }
.team-view-bio { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--mc-teal); margin-top: 1rem; transition: gap .2s; }
.team-view-bio:hover { gap: 0.65rem; }

/* ── Team bio page ── */
.bio-page-header { background: var(--mc-navy); padding: 160px 0 80px; }
.bio-hero-inner { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: start; }
.bio-hero-photo { width: 260px; height: 320px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.1); }
.bio-hero-copy .eyebrow { color: var(--mc-gold); }
.bio-hero-copy .eyebrow::before { background: var(--mc-gold); }
.bio-hero-copy h1 { color: #fff; font-size: clamp(2rem,4vw,3rem); margin-bottom: 0.5rem; }
.bio-hero-copy .team-role { font-size: 0.85rem; margin-bottom: 1.4rem; }
.bio-hero-copy p { color: rgba(255,255,255,.68); max-width: 580px; margin-bottom: 1.6rem; }

.bio-body-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; padding: 80px 0; }
.bio-sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 1.5rem; }
.bio-sidebar-card { background: var(--mc-cream); border: 1px solid var(--mc-border); border-radius: var(--radius-lg); padding: 2rem; }
.bio-sidebar-card h4 { margin-bottom: 0.75rem; }
.bio-sidebar-card p { font-size: 0.9rem; margin-bottom: 1.2rem; }

/* ── FAQ ── */
.faq-section { background: var(--mc-white); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.faq-intro h2 { margin-bottom: 1rem; }
.faq-intro p { margin-bottom: 2rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item { border: 1px solid var(--mc-border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--mc-teal); }
.faq-item:hover { box-shadow: var(--shadow-soft); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 0.97rem; font-weight: 600; color: var(--mc-navy); transition: background .2s; }
.faq-item.open .faq-question { background: var(--mc-teal-lt); color: var(--mc-teal); }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; border: 2px solid var(--mc-border); border-radius: 50%; position: relative; transition: background .2s, transform .3s, border-color .2s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--mc-muted); border-radius: 2px; transition: background .2s; }
.faq-icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 10px; transform: translate(-50%, -50%); transition: opacity .3s, background .2s; }
.faq-item.open .faq-icon { background: var(--mc-teal); border-color: var(--mc-teal); transform: rotate(45deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(0.4,0,0.2,1); }
.faq-answer-inner { padding: 0 1.5rem 1.3rem; }
.faq-answer p { font-size: 0.93rem; }

/* ── Billing ── */
.billing-section { background: var(--mc-navy); }
.billing-section .eyebrow { color: var(--mc-gold); }
.billing-section .eyebrow::before { background: var(--mc-gold); }
.billing-header { text-align: center; max-width: 560px; margin: 0 auto 3rem; }
.billing-header h2 { color: #fff; }
.billing-header p { color: rgba(255,255,255,.58); }

/* Billing partner cards — elegant typographic cards, no broken icons */
.billing-logo-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 16px;
	padding: 1.5rem 1.2rem 1.3rem;
	min-height: 120px;
	transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
	cursor: default;
}
.billing-logo-item:hover {
	transform: translateY(-4px);
	background: rgba(255,255,255,.12);
	border-color: rgba(196,154,90,.4);
	box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
/* Initial badge circle */
.billing-initial {
	width: 44px; height: 44px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display);
	font-size: 1rem; font-weight: 700;
	color: #fff;
	flex-shrink: 0;
}
.billing-initial--sun-life { background: linear-gradient(135deg, #b48a3c, #e7c56c); }
.billing-initial--canada-life { background: linear-gradient(135deg, #bd3642, #ef7b69); }
.billing-initial--manulife { background: linear-gradient(135deg, #116b59, #36b08c); }
.billing-initial--blue-cross { background: linear-gradient(135deg, #1d63a7, #58a6d8); }
.billing-initial--green-shield { background: linear-gradient(135deg, #2f7d50, #79bf72); }
.billing-initial--desjardins { background: linear-gradient(135deg, #0d7a63, #46c2a5); }
.billing-initial--industrial-alliance { background: linear-gradient(135deg, #624b8f, #a083c9); }
.billing-initial--chambers-plan { background: linear-gradient(135deg, #58606f, #9da8ba); }
.billing-initial--johnston-group { background: linear-gradient(135deg, #7a4a28, #c98b58); }
.billing-logo-name {
	font-size: 0.82rem; font-weight: 700;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,.88);
	text-align: center;
	line-height: 1.3;
}
.billing-logo-tag {
	font-size: 0.68rem; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--mc-gold);
}
.billing-note { text-align: center; font-size: 0.88rem; color: rgba(255,255,255,.42); margin-top: 2rem; }

/* ── Testimonials ── */
.testimonials-section { background: var(--mc-teal); padding: 100px 0; }
.testimonials-section .section-header { margin-bottom: 3.5rem; }
.testimonials-section .section-header h2 { color: #fff; }
.testimonials-section .eyebrow { color: rgba(255,255,255,.75); }
.testimonials-section .eyebrow::before { background: rgba(255,255,255,.5); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 2rem; backdrop-filter: blur(8px); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 1.2rem; }
.testimonial-stars span { font-size: 1rem; color: var(--mc-gold); }
.testimonial-quote { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.9); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-name { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 0.6rem; }
.testimonial-name::before { content: ''; display: block; width: 24px; height: 1px; background: rgba(255,255,255,.35); }

/* ── CTA banner ── */
.cta-banner { background: var(--mc-navy); padding: 80px 0; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; max-width: 560px; }
.cta-banner p { color: rgba(255,255,255,.6); max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; flex-shrink: 0; }

/* ── Contact strip ── */
.contact-strip { background: var(--mc-white); border-top: 1px solid var(--mc-border); }
.contact-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.contact-item { padding: 2.5rem 2rem; border-right: 1px solid var(--mc-border); display: flex; flex-direction: column; gap: 0.35rem; }
.contact-item:last-child { border-right: none; }
.contact-item-icon { width: 44px; height: 44px; background: var(--mc-teal-lt); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--mc-teal); margin-bottom: 0.75rem; }
.contact-item-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mc-muted); }
.contact-item-value { font-size: 0.97rem; font-weight: 600; color: var(--mc-navy); line-height: 1.5; }
.contact-item a { color: var(--mc-navy); transition: color .2s; }
.contact-item a:hover { color: var(--mc-teal); }
.contact-link { display: inline-flex; align-items: center; width: fit-content; margin-top: 0.25rem; color: var(--mc-teal) !important; font-size: 0.85rem; font-weight: 700; }
.contact-link:hover { color: #155f5f !important; }
.contact-booking-btn { margin-top: 0.75rem; padding: 0.62rem 1.3rem; font-size: 0.85rem; }

/* ── Footer ── */
.site-footer { background: #060f17; padding-top: 80px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand .brand-name { color: #fff; font-size: 1.15rem; }
.footer-brand .brand-tagline { color: rgba(255,255,255,.35); }
.footer-brand-link { margin-bottom: 0; }
.footer-brand-desc { font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,.42); margin: 1.2rem 0 1.8rem; max-width: 300px; }
.footer-cta { padding: 0.7rem 1.5rem; font-size: 0.88rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,.52); transition: color .2s; }
.footer-col a:hover { color: var(--mc-gold); }
.footer-hours { font-size: 0.9rem; line-height: 2; color: rgba(255,255,255,.5); }
.footer-email { margin-top: 1.2rem; font-size: 0.85rem; color: rgba(255,255,255,.38); }
.footer-email a { color: rgba(255,255,255,.48); }
.footer-email a:hover { color: var(--mc-gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; font-size: 0.82rem; color: rgba(255,255,255,.25); }

/* ── Team page (stand-alone) ── */
.team-page-header { background: var(--mc-navy); padding: 160px 0 80px; text-align: center; }
.team-page-header .eyebrow { color: var(--mc-gold); }
.team-page-header .eyebrow::before { background: var(--mc-gold); }
.team-page-header h1 { color: #fff; margin-bottom: 1rem; }
.team-page-header p { color: rgba(255,255,255,.62); max-width: 560px; margin: 0 auto; }

.team-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 80px 0; }
.team-page-card { background: var(--mc-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--mc-border); transition: transform .3s, box-shadow .3s; }
.team-page-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-page-photo { width: 100%; height: 300px; object-fit: cover; }
.team-page-body { padding: 1.8rem; }
.team-page-body .team-role { margin-bottom: 0.5rem; }
.team-page-body h3 { margin-bottom: 0.75rem; }
.team-page-body .team-bio { margin-bottom: 1.4rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.team-page-link { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; font-weight: 600; color: var(--mc-teal); transition: gap .2s; }
.team-page-link:hover { gap: 0.7rem; }

/* ── Inner page ── */
.page-hero { background: linear-gradient(135deg, var(--mc-navy) 0%, #1a3a50 100%); padding: 150px 0 70px; }
.page-hero .eyebrow { color: var(--mc-gold); }
.page-hero .eyebrow::before { background: var(--mc-gold); }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.62); max-width: 560px; }
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.page-hero-grid--media { grid-template-columns: minmax(0, 1fr) 440px; }
.page-hero-media img { width: 100%; height: 320px; object-fit: cover; border-radius: calc(var(--radius-lg) + 2px); box-shadow: 0 24px 72px rgba(0,0,0,.24); }
.page-highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.page-highlight-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.3rem 1.4rem; backdrop-filter: blur(8px); }
.page-highlight-card h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; letter-spacing: 0; }
.page-highlight-card p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,.68); }

.page-body { padding: 80px 0; }
.page-body-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start; }
.page-content h2 { font-size: 1.7rem; margin: 2rem 0 0.75rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin-bottom: 1.2rem; }
.page-content ul { display: flex; flex-direction: column; gap: 0.7rem; margin: 1rem 0 1.5rem; }
.page-content ul li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.97rem; color: var(--mc-text); }
.page-content ul li::before { content: '●'; color: var(--mc-teal); font-size: 0.55rem; margin-top: 0.55rem; flex-shrink: 0; }

.page-sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: var(--mc-cream); border: 1px solid var(--mc-border); border-radius: var(--radius-lg); padding: 1.8rem; }
.sidebar-card h4 { margin-bottom: 0.75rem; }
.sidebar-card p { font-size: 0.9rem; margin-bottom: 1.2rem; }
.sidebar-checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-checklist li { position: relative; padding-left: 1.1rem; font-size: 0.9rem; line-height: 1.65; color: var(--mc-text); }
.sidebar-checklist li::before { content: ''; position: absolute; left: 0; top: 0.72rem; width: 6px; height: 6px; border-radius: 50%; background: var(--mc-teal); }
.sidebar-contact-row { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; color: var(--mc-text); margin-bottom: 0.6rem; }
.sidebar-contact-icon { color: var(--mc-teal); flex-shrink: 0; font-size: 1rem; }
.page-related-links { margin-top: 3rem; }
.page-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.page-related-card { background: var(--mc-cream); border: 1px solid var(--mc-border); border-radius: var(--radius); padding: 1.2rem 1.25rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.page-related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: rgba(26,122,122,.25); }
.page-related-kicker { display: block; margin-bottom: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mc-teal); }
.page-related-card strong { display: block; font-size: 1rem; line-height: 1.4; color: var(--mc-navy); }

.page-section-card { position: relative; background: var(--mc-white); border: 1px solid var(--mc-border); border-radius: var(--radius-lg); padding: 2rem 2rem 1.9rem; box-shadow: var(--shadow-soft); margin-bottom: 1.35rem; overflow: hidden; }
.page-section-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--mc-teal) 0%, var(--mc-gold) 100%); }
.page-section-kicker { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mc-teal-lt); color: var(--mc-teal); font-size: 0.82rem; font-weight: 700; margin-bottom: 1rem; }
.page-content .page-section-card h2 { font-size: 1.58rem; margin: 0 0 0.85rem; }
.page-content .page-section-card p { margin-bottom: 1rem; }
.page-content .page-section-card ul { display: flex; flex-direction: column; gap: 0.7rem; margin: 1rem 0 0; }
.page-content .page-section-card ul li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.97rem; color: var(--mc-text); }
.page-content .page-section-card ul li::before { content: '•'; color: var(--mc-teal); font-size: 0.55rem; margin-top: 0.55rem; flex-shrink: 0; }

/* ── Scroll reveal ── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 1100px) {
	.header-inner { grid-template-columns: minmax(300px, auto) minmax(0, 1fr) auto; }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.team-card--featured { grid-template-columns: 1fr; }
	.team-card--featured .team-photo { height: 280px; }
	.footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1240px) {
	.header-inner { grid-template-columns: minmax(300px, auto) minmax(0, 1fr) auto; }
}

@media (max-width: 900px) {
	.about-split, .conditions-split, .faq-layout, .page-body-grid, .bio-body-grid, .page-hero-grid--media { grid-template-columns: 1fr; gap: 3rem; }
	.hero-bg::after { background: linear-gradient(180deg, rgba(6,15,23,.92), rgba(6,15,23,.88)), linear-gradient(100deg, rgba(6,15,23,.9), rgba(9,26,40,.62)); }
	.hero-content { max-width: 720px; }
	.about-media-badge { right: 0; }
	.conditions-media { display: none; }
	.team-page-grid { grid-template-columns: repeat(2, 1fr); }
	.bio-hero-inner { grid-template-columns: 1fr; }
	.bio-hero-photo { width: 200px; height: 240px; }
	.contact-strip-inner { grid-template-columns: repeat(2, 1fr); }
	.cta-banner-inner { flex-direction: column; text-align: center; }
	.cta-actions { justify-content: center; }
	.page-highlight-grid,
	.page-related-grid { grid-template-columns: 1fr; }
	.condition-directory-grid { grid-template-columns: 1fr; }
	.primary-nav { display: none; position: absolute; top: calc(100% + 0.85rem); left: 1.5rem; right: 1.5rem; background: var(--mc-white); border: 1px solid var(--mc-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1rem; }
	body.mobile-open .primary-nav { display: block; }
	body.mobile-open .site-header { background: rgba(255,255,255,.98); backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--mc-border), var(--shadow-soft); }
	body.mobile-open .brand-name { color: var(--mc-navy); }
	body.mobile-open .brand-tagline { color: var(--mc-muted); }
	body.mobile-open .menu-toggle span { background: var(--mc-navy); }
	.primary-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
	.primary-nav .nav-list > li > a { color: var(--mc-text) !important; background: transparent !important; padding: 0.8rem 0.75rem; }
	.primary-nav .nav-list > li.has-dropdown::before { display: none; }
	.primary-nav .has-dropdown > a::after { display: none; }
	.primary-nav .dropdown-menu,
	.primary-nav .dropdown-menu--services,
	.primary-nav .dropdown-menu--conditions {
		position: static; width: auto; min-width: 0;
		opacity: 1; pointer-events: auto;
		transform: none !important; /* override mega menu transforms */
		box-shadow: none; border: none;
		padding: 0 0 0.6rem 0.75rem;
		background: transparent;
		display: flex; flex-direction: column; gap: 0.1rem;
	}
	/* Reset mega-svc cards in mobile to simple list items */
	.primary-nav .mega-svc { flex-direction: row; align-items: center; gap: 0.65rem; padding: 0.5rem 0.75rem !important; border-radius: 6px; background: transparent !important; }
	.primary-nav .mega-svc:hover { background: var(--mc-teal-lt) !important; }
	.primary-nav .mega-svc-img { width: 36px; height: 30px; border-radius: 4px; }
	.primary-nav .mega-svc-desc { display: none; }
	.primary-nav .mega-svc-name { font-size: 0.875rem; }
	.primary-nav .dropdown-menu a { padding: 0.55rem 0.75rem; font-size: 0.84rem; }
	.primary-nav .dropdown-menu-footer { border-top: 0; padding-top: 0.2rem; margin-top: 0.15rem; }
	.primary-nav .dropdown-menu-cta { justify-content: flex-start; width: auto; background: transparent !important; padding: 0.55rem 0.75rem !important; color: var(--mc-teal) !important; }
	.primary-nav .dropdown-menu-cta:hover { background: var(--mc-teal-lt) !important; }
	.menu-toggle { display: flex; }
	.header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.85rem; }
	.site-header .header-inner > .btn { min-height: 42px; padding: 0.72rem 1.1rem; font-size: 0.88rem; }
	.menu-toggle { width: 42px; height: 42px; align-items: center; justify-content: center; }
	.brand { margin-right: 0; }
}

@media (max-width: 640px) {
	.container { width: min(100% - 2rem, 1240px); }
	.section-pad { padding: 74px 0; }
	.header-inner { gap: 0.6rem; padding: 0.9rem 0; }
	.site-header--solid .header-inner { padding: 0.72rem 0; }
	.brand { gap: 0.62rem; }
	.brand-icon { width: 70px; height: 49px; }
	.site-header--solid .brand-icon { width: 64px; height: 45px; }
	.site-header .header-inner > .btn { min-height: 40px; padding: 0.62rem 0.88rem; font-size: 0.82rem; }
	.hero { min-height: auto; }
	.hero-content { padding: 7.5rem 0 4.5rem; }
	.hero-badge { font-size: 0.68rem; letter-spacing: 0.08em; padding: 0.42rem 0.85rem; }
	.hero h1 { font-size: clamp(2.25rem, 11vw, 3.1rem); }
	.hero-lead { font-size: 1.02rem; }
	.hero-actions .btn { width: 100%; }
	.services-grid, .team-grid, .team-page-grid, .testimonials-grid { grid-template-columns: 1fr; }
	.team-card--featured { grid-column: auto; }
	.contact-strip-inner { grid-template-columns: 1fr; }
	.footer-main { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
	.brand-name { font-size: 0.98rem; }
	.brand-tagline { display: none; }
	.site-header .header-inner > .btn { padding: 0.58rem 0.78rem; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
	.hero-bg-img { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════
   Accessibility — WCAG 2.2 AA
   ══════════════════════════════════════════════════════════════════ */

/* ── Skip link ── */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1.5rem;
	z-index: 9999;
	background: var(--mc-navy);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	padding: 0.75rem 1.4rem;
	border-radius: 0 0 8px 8px;
	text-decoration: none;
	transition: top 0s;
}
.skip-link:focus {
	top: 0;
}

/* ── Visible focus states (keyboard users) ── */
:focus-visible {
	outline: 3px solid var(--mc-teal);
	outline-offset: 3px;
	border-radius: 4px;
}
/* Remove default browser outline only when custom is set */
:focus:not(:focus-visible) {
	outline: none;
}

/* High-contrast focus on dark backgrounds */
.hero a:focus-visible,
.cta-banner a:focus-visible,
.testimonials-section a:focus-visible,
.conditions-section a:focus-visible,
.site-footer a:focus-visible {
	outline-color: #fff;
}

/* ── Hero fallback when no image is available ── */
.hero--no-image .hero-bg {
	background: linear-gradient(135deg, #0d2233 0%, #1a3a50 100%);
}

/* ── Service card without image ── */
.service-card-body--no-img {
	padding-top: 2rem;
}

/* ── Keyboard-open dropdowns ── */
.nav-list > li.dropdown-open > .dropdown-menu,
.nav-list > li.dropdown-open > .sub-menu {
	opacity: 1;
	pointer-events: all;
	transform: translateY(0) scale(1);
}
/* Services mega menu uses translateX centering */
.nav-list > li.dropdown-open > .dropdown-menu--services,
.has-dropdown.dropdown-open .dropdown-menu--services {
	transform: translateY(0) scale(1) translateX(-50%);
}

/* ── Testimonial review source attribution ── */
.testimonial-source {
	font-size: 0.78rem;
	color: rgba(255,255,255,.45);
	margin-top: 0.3rem;
}

/* ── Screen-reader utility ── */
.screen-reader-text {
	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;
}

/* ══════════════════════════════════════════════════════════
   Carousels — Services & Billing
   ══════════════════════════════════════════════════════════ */

/* ── Shared carousel chrome ── */
.services-carousel-wrap,
.billing-carousel-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.carousel-btn {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--mc-white);
	border: 1.5px solid var(--mc-border);
	box-shadow: var(--shadow-soft);
	cursor: pointer;
	color: var(--mc-navy);
	transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .18s var(--ease-out);
	z-index: 2;
}
.carousel-btn:hover {
	background: var(--mc-teal);
	border-color: var(--mc-teal);
	color: var(--mc-white);
	box-shadow: 0 8px 24px rgba(26,122,122,.28);
	transform: scale(1.06);
}
.carousel-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	transform: none;
}
.carousel-btn--sm { width: 40px; height: 40px; }
.carousel-btn:active { transform: scale(0.96); }

/* ── Services carousel track ── */
.services-carousel {
	display: flex;
	gap: 1.5rem;
	overflow: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	flex: 1;
	min-width: 0;
}
.services-carousel .service-card {
	flex: 0 0 calc(25% - 1.125rem); /* 4 visible on desktop */
	min-width: 0;
	background: var(--mc-white);
	border: 1px solid var(--mc-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	scroll-snap-align: start;
	transition: transform .28s var(--ease-out), box-shadow .28s ease, border-color .28s ease;
}
.services-carousel .service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
	border-color: rgba(26,122,122,.3);
}
.services-carousel .service-card-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}
.service-card-img-placeholder {
	width: 100%;
	height: 200px;
	background: linear-gradient(135deg, var(--mc-teal-lt) 0%, #d4eaea 100%);
}

/* ── Carousel dots ── */
.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
}
.carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mc-border);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.carousel-dot.active {
	background: var(--mc-teal);
	transform: scale(1.35);
}

/* ── Billing carousel btn variant (dark bg) ── */
.billing-section .carousel-btn {
	background: rgba(255,255,255,.1);
	border-color: rgba(255,255,255,.2);
	color: rgba(255,255,255,.85);
}
.billing-section .carousel-btn:hover {
	background: var(--mc-gold);
	border-color: var(--mc-gold);
	color: #fff;
	box-shadow: 0 8px 24px rgba(196,154,90,.35);
}

/* ── Billing carousel track ── */
.billing-carousel {
	display: flex;
	gap: 1.2rem;
	overflow: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	flex: 1;
	min-width: 0;
}
.billing-carousel .billing-logo-item {
	flex: 0 0 calc(20% - 0.96rem); /* 5 visible on desktop */
	min-width: 140px;
	scroll-snap-align: start;
}

/* ── Responsive carousel ── */
@media (max-width: 1100px) {
	.services-carousel .service-card { flex-basis: calc(33.333% - 1rem); }
	.billing-carousel .billing-logo-item { flex-basis: calc(25% - 0.9rem); }
}
@media (max-width: 760px) {
	.services-carousel .service-card { flex-basis: calc(50% - 0.75rem); }
	.billing-carousel .billing-logo-item { flex-basis: calc(33.333% - 0.8rem); }
}
@media (max-width: 480px) {
	.services-carousel .service-card { flex-basis: calc(100% - 0.75rem); }
	.billing-carousel .billing-logo-item { flex-basis: calc(50% - 0.6rem); }
}
@media (max-width: 480px) {
	.services-carousel .service-card { flex-basis: calc(85% - 0.75rem); }
	.carousel-btn { width: 38px; height: 38px; }
	.billing-carousel .billing-logo-item { flex-basis: calc(50% - 0.5rem); }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.hero-badge-dot {
		animation: none;
	}
}

/* ══════════════════════════════════════════════════════════════════
   Production refinements
   ══════════════════════════════════════════════════════════════════ */
.hero-pathways {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin-bottom: 2rem;
}
.hero-pathways li {
	border: 1px solid rgba(255,255,255,.26);
	border-radius: 999px;
	padding: .42rem .78rem;
	color: #fff;
	font-size: .82rem;
	font-weight: 700;
	background: rgba(255,255,255,.08);
}
.hero-note {
	margin-top: 1rem;
	font-size: .84rem;
	line-height: 1.55;
	color: rgba(255,255,255,.7);
}

.about-media-main { object-position: center 48%; }
.page-hero-media img { object-position: center; }
.footer-planned { margin-top: 1rem; font-size: .82rem; line-height: 1.55; color: rgba(255,255,255,.58); }

.newsletter-section {
	background: #0d313d;
	padding: clamp(4rem, 7vw, 6rem) 0;
}
.newsletter-layout {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
	gap: clamp(2.5rem, 7vw, 6rem);
	align-items: center;
}
.newsletter-label {
	margin-bottom: .8rem;
	color: #e5c48f;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.newsletter-copy h2 { color: #fff; margin-bottom: 1rem; }
.newsletter-copy > p:last-child { color: rgba(255,255,255,.72); max-width: 55ch; }
.newsletter-form-wrap { max-width: 640px; }
.newsletter-field-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; }
.newsletter-field-row input {
	min-height: 50px;
	width: 100%;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 8px;
	background: #fff;
	color: var(--mc-navy);
	font: inherit;
	padding: .75rem 1rem;
}
.newsletter-field-row input::placeholder { color: #526b78; opacity: 1; }
.newsletter-consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .65rem;
	align-items: start;
	margin-top: 1rem;
	color: rgba(255,255,255,.8);
	font-size: .8rem;
	line-height: 1.55;
	cursor: pointer;
}
.newsletter-consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--mc-gold); }
.newsletter-privacy { margin-top: .85rem; color: rgba(255,255,255,.62); font-size: .76rem; line-height: 1.55; }
.newsletter-privacy a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.newsletter-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-message { margin-bottom: 1rem; border-radius: 8px; padding: .75rem 1rem; font-size: .88rem; line-height: 1.5; }
.form-message--success { background: #e7f6ef; color: #124f38; }
.form-message--error { background: #fff0f0; color: #7d2020; }

.cookie-consent {
	position: fixed;
	left: 50%;
	bottom: 1rem;
	z-index: 500;
	transform: translateX(-50%);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.2rem;
	align-items: center;
	width: min(920px, calc(100% - 2rem));
	padding: 1rem 1.1rem;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(7,27,40,.22);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent strong { color: var(--mc-navy); }
.cookie-consent p { margin-top: .15rem; font-size: .82rem; line-height: 1.5; color: #425b68; }
.cookie-actions { display: flex; gap: .6rem; }
.cookie-actions .btn { min-height: 40px; padding: .55rem .85rem; font-size: .8rem; }

@media (max-width: 900px) {	.newsletter-layout { grid-template-columns: 1fr; gap: 2rem; }
	.cookie-consent { grid-template-columns: 1fr; }
	.cookie-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
	.hero-pathways { gap: .4rem; }
	.hero-pathways li { font-size: .76rem; }
	.stats-grid { grid-template-columns: 1fr 1fr; }
	.newsletter-field-row { grid-template-columns: 1fr; }
	.newsletter-field-row .btn { width: 100%; }
	.cookie-actions { flex-direction: column-reverse; }
	.cookie-actions .btn { width: 100%; }
}
/* ══════════════════════════════════════════════════════════════════
   Production accessibility and resource refinements
   ══════════════════════════════════════════════════════════════════ */

.btn-gold,
.btn-gold:hover {
	color: var(--mc-navy);
}
.btn-gold:hover {
	background: #d8b77f;
	border-color: #d8b77f;
}

.billing-header p { color: rgba(255,255,255,.78); }
.services-carousel {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(13,34,51,.22) transparent;
	-webkit-overflow-scrolling: touch;
}
.carousel-dot {
	position: relative;
	width: 44px;
	height: 44px;
	background: transparent;
}
.carousel-dot::before {
	content: '';
	position: absolute;
	inset: 17px;
	border-radius: 50%;
	background: var(--mc-border);
	transition: background .2s, transform .2s;
}
.carousel-dot.active { background: transparent; transform: none; }
.carousel-dot.active::before { background: var(--mc-teal); transform: scale(1.4); }

.newsletter-section { scroll-margin-top: 150px; }
.footer-brand-desc,
.footer-planned,
.footer-hours,
.footer-col a,
.footer-email,
.footer-email a { color: rgba(255,255,255,.74); }
.footer-col h4,
.footer-brand .brand-tagline { color: rgba(255,255,255,.72); }
.footer-bottom,
.footer-bottom p,
.footer-bottom a { color: rgba(255,255,255,.74); font-size: .82rem; }
.footer-privacy-choice {
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.footer-privacy-choice:hover { color: var(--mc-gold); }

.resource-hero {
	padding: 167px 0 80px;
	background: linear-gradient(135deg, var(--mc-navy), #173d4c);
}
.resource-hero-inner { max-width: 850px; }
.resource-hero h1 { color: #fff; max-width: 18ch; margin-bottom: 1.2rem; }
.resource-hero p { color: rgba(255,255,255,.78); max-width: 68ch; }
.resource-hero .eyebrow { color: #e7c88f; }
.resource-hero .eyebrow::before { background: #e7c88f; }
.resource-hero--article h1 { max-width: 22ch; }
.resource-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}
.resource-card,
.resource-empty,
.resource-aside,
.resource-disclaimer {
	border: 1px solid var(--mc-border);
	border-radius: var(--radius-lg);
	background: #fff;
}
.resource-card { padding: 1.7rem; }
.resource-card h2 { margin-bottom: .8rem; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.resource-card h2 a:hover { color: var(--mc-teal); }
.resource-card > p:not(.resource-meta) { margin-bottom: 1.1rem; font-size: .96rem; }
.resource-meta { color: #667a85 !important; font-size: .78rem !important; letter-spacing: .04em; text-transform: uppercase; }
.resource-empty { max-width: 760px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem); text-align: center; }
.resource-empty p { margin: 1rem auto 1.5rem; max-width: 55ch; }
.navigation.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--mc-border); border-radius: 7px; background: #fff; }
.page-numbers.current { background: var(--mc-teal); color: #fff; }
.resource-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.resource-article-content { max-width: 780px; }
.resource-article-content > * + * { margin-top: 1.35rem; }
.resource-article-content h2 { margin-top: 2.4rem; }
.resource-article-content ul { list-style: disc; padding-left: 1.35rem; }
.resource-featured-image img { width: 100%; border-radius: var(--radius-lg); }
.resource-disclaimer { margin-top: 2.5rem; padding: 1.3rem 1.5rem; background: var(--mc-gold-lt); }
.resource-disclaimer p { margin-top: .35rem; font-size: .9rem; }
.resource-aside { position: sticky; top: 150px; padding: 1.5rem; }
.resource-aside h2 { font-size: 1.45rem; margin-bottom: .75rem; }
.resource-aside p { font-size: .93rem; margin-bottom: 1.2rem; }
.resource-aside .btn { width: 100%; margin-bottom: 1rem; }
.text-link { color: var(--mc-teal); font-weight: 700; }
.not-found { min-height: 70vh; padding-top: 182px; }
.not-found-inner { max-width: 760px; text-align: center; }
.not-found-inner > p:not(.eyebrow) { margin: 1rem auto 1.5rem; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

@media (max-width: 900px) {
	body.mobile-open { overflow: hidden; }
	.primary-nav {
		top: 100%;
		max-height: calc(100dvh - 94px);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
	.admin-bar .primary-nav { max-height: calc(100dvh - 126px); }
	.resource-grid { grid-template-columns: 1fr; }
	.resource-article-layout { grid-template-columns: 1fr; }
	.resource-aside { position: static; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .primary-nav { max-height: calc(100dvh - 140px); }
}

@media (max-width: 640px) {
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.resource-hero { padding: 147px 0 64px; }
	.not-found { padding-top: 152px; }
}

/* Service status labels retain the existing service-card design. */
.service-status-badge {
	display: inline-flex;
	margin-bottom: 0.65rem;
	border-radius: 999px;
	padding: 0.28rem 0.62rem;
	background: var(--mc-gold-lt);
	color: var(--mc-navy);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.mega-svc-status {
	align-self: flex-start;
	margin-top: 0.16rem;
	border-radius: 999px;
	padding: 0.18rem 0.45rem;
	background: var(--mc-gold-lt);
	color: var(--mc-navy);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.footer-coming-soon {
	margin-left: 0.25rem;
	color: #e7c88f;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Monthly newsletter invitation */
.newsletter-popup {
	position: fixed;
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	z-index: 450;
	width: min(430px, calc(100% - 2rem));
	padding: 1.45rem;
	background: var(--mc-white);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(7, 27, 40, .2);
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px);
	transition: opacity .24s var(--ease-out), transform .24s var(--ease-out);
}
.newsletter-popup[hidden] { display: none; }
.newsletter-popup.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.newsletter-popup-close {
	position: absolute;
	top: .6rem;
	right: .6rem;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--mc-navy);
	font: inherit;
	font-size: 1.65rem;
	line-height: 1;
	cursor: pointer;
}
.newsletter-popup-close:hover { background: var(--mc-teal-lt); }
.newsletter-popup-label {
	margin: 0 3rem .35rem 0;
	color: var(--mc-teal);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.newsletter-popup h2 { margin: 0 2.5rem .55rem 0; font-size: clamp(1.55rem, 4vw, 2rem); }
.newsletter-popup > p:not(.newsletter-popup-label) { max-width: 52ch; margin-bottom: 1rem; color: #425b68; font-size: .92rem; line-height: 1.6; }
.newsletter-popup-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; }
.newsletter-popup-field input {
	min-width: 0;
	min-height: 48px;
	border: 1px solid rgba(13, 34, 51, .24);
	border-radius: 8px;
	background: var(--mc-white);
	color: var(--mc-navy);
	font: inherit;
	padding: .7rem .85rem;
}
.newsletter-popup-field input::placeholder { color: #526b78; opacity: 1; }
.newsletter-popup-field input:focus { outline: 3px solid rgba(26, 122, 122, .24); border-color: var(--mc-teal); }
.newsletter-popup-consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .6rem;
	align-items: start;
	margin-top: .8rem;
	color: #425b68;
	font-size: .8rem;
	line-height: 1.5;
	cursor: pointer;
}
.newsletter-popup-consent input { width: 18px; height: 18px; margin-top: .08rem; accent-color: var(--mc-teal); }
.newsletter-popup-footer { display: flex; align-items: center; gap: 1rem; margin-top: .85rem; font-size: .78rem; }
.newsletter-popup-footer a,
.newsletter-popup-skip { display: inline-flex; align-items: center; min-height: 44px; color: #425b68; text-decoration: underline; text-underline-offset: 3px; }
.newsletter-popup-skip { padding: .45rem 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.newsletter-popup-footer a:hover,
.newsletter-popup-skip:hover { color: var(--mc-teal); }

@media (max-width: 640px) {
	.newsletter-popup { left: .75rem; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 1.5rem - env(safe-area-inset-bottom)); overflow-y: auto; }
	.newsletter-popup-field { grid-template-columns: 1fr; }
	.newsletter-popup-field .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.newsletter-popup { transition: none; }
}
