
/* BEMCP:ctc-header — managed block, do not edit inline. */
/* ==========================================================================
   CTC site header (child theme). Sizes follow the site scale (3 Nov 2026):
   spacing on 4px steps, type 16/24/32, radius 12 (compact controls) and
   16 (buttons), controls 44px (header) and 48px (menu buttons).
   ========================================================================== */
.ctc-skip-link {
	position: absolute;
	left: 8px;
	top: -60px;
	z-index: 100000;
	padding: 12px 16px;
	background: #003674;
	color: #fff;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	border-radius: 8px;
}
.ctc-skip-link:focus { top: 8px; }
.ctc-header {
	position: relative;
	z-index: 999;
	background: #fff;
	border-bottom: 1px solid #dcdcdc;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
	font-family: "DM Sans", sans-serif;
}
.ctc-header__inner {
	box-sizing: content-box;
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1140px;
	min-height: 56px;
	margin: 0 auto;
	padding: 16px 32px;
}
.ctc-header__logo { display: block; flex: 0 0 auto; line-height: 0; }
.ctc-header__logo-img {
	display: block;
	width: 133px;
	height: 36px;
	object-fit: contain;
	object-position: left center;
}

/* Desktop nav */
.ctc-nav { flex: 1 1 auto; }
.ctc-nav__list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ctc-nav__list a {
	position: relative;
	display: block;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	color: #000;
	text-decoration: none;
	transition: color 0.3s;
}
.ctc-nav__list a:hover,
.ctc-nav__list a:focus-visible,
.ctc-nav__list .current-menu-item > a,
.ctc-nav__list a.is-current { color: #003674; }
/* Current page (and hover): 2px navy underline under the label, inset to the link padding. */
.ctc-nav__list a::after {
	content: "";
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: #003674;
	transform: scaleX(0);
	transition: transform 0.3s ease;
}
.ctc-nav__list a:hover::after,
.ctc-nav__list a:focus-visible::after,
.ctc-nav__list .current-menu-item > a::after,
.ctc-nav__list a.is-current::after { transform: scaleX(1); }

.ctc-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex: 0 0 auto;
	margin-inline-start: auto;
}
.ctc-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 160px;
	min-height: 44px;
	padding: 10px 24px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-align: center;
	white-space: nowrap;
	color: #fff;
	background: #0058bd;
	border-radius: 12px;
	text-decoration: none;
	transition: background-color 0.3s;
}
.ctc-header__cta:hover,
.ctc-header__cta:focus-visible { background: #003674; color: #fff; }

/* Toggle (hamburger to X) */
.ctc-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #003674;
	color: #fff;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.ctc-menu-toggle:hover,
.ctc-menu-toggle:focus { background: #003674; color: #fff; }
.ctc-menu-toggle:focus-visible,
.ctc-header__cta:focus-visible,
.ctc-menu-btn:focus-visible { outline: 2px solid #0058bd; outline-offset: 2px; }
.ctc-burger { position: relative; display: block; width: 20px; height: 16px; }
.ctc-burger i {
	position: absolute;
	left: 0;
	right: 0;
	display: block;
	height: 2px;
	background: currentColor;
	transform-origin: center;
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.ctc-burger i:nth-child(1) { top: 0; }
.ctc-burger i:nth-child(2) { top: 7px; }
.ctc-burger i:nth-child(3) { top: 14px; }
.ctc-menu-toggle[aria-expanded="true"] .ctc-burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.ctc-menu-toggle[aria-expanded="true"] .ctc-burger i:nth-child(2) { opacity: 0; }
.ctc-menu-toggle[aria-expanded="true"] .ctc-burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Mobile panel: fixed below the header */
.ctc-menu-panel {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: var(--ctc-panel-top, 89px);
	z-index: 9999;
	opacity: 0;
	transform: translateY(24px);
	pointer-events: none;
	transition: transform 0.28s ease, opacity 0.25s ease;
}
.ctc-menu-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ctc-menu-panel__inner {
	box-sizing: border-box;
	height: 100%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 32px;
	background: #fff;
}
.ctc-menu-panel__card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 24px;
	max-width: 640px;
	padding: 40px 0 48px;
}
.ctc-menu-panel__title {
	margin: 0;
	font-family: "Epilogue", sans-serif;
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #003674;
}
.ctc-mnav__list { margin: 0; padding: 0; list-style: none; }
.ctc-mnav__list a {
	display: block;
	padding: 16px 0;
	font-size: 32px;
	font-weight: 500;
	line-height: 40px;
	color: #1e1e1e;
	text-decoration: none;
	border-bottom: 1px solid #d3d3d3;
	transition: color 0.3s;
}
.ctc-mnav__list li:last-child a { border-bottom: 0; }
.ctc-mnav__list a:hover,
.ctc-mnav__list a:focus-visible,
.ctc-mnav__list .current-menu-item > a,
.ctc-mnav__list a.is-current { color: #003674; }

/* Menu actions: call (primary) and maps (outline), same size as site buttons */
.ctc-menu-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ctc-menu-btn {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	text-align: center;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 16px;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.ctc-menu-btn svg { flex: 0 0 auto; height: 20px; width: auto; }
.ctc-menu-btn--primary { color: #fff; background: #0058bd; border-color: #0058bd; }
.ctc-menu-btn--primary:hover,
.ctc-menu-btn--primary:focus-visible { color: #fff; background: #003674; border-color: #003674; }
.ctc-menu-btn--outline { color: #1e1e1e; background: #fff; border-color: #b9b9b9; }
.ctc-menu-btn--outline svg { color: #003674; transition: color 0.3s; }
.ctc-menu-btn--outline:hover,
.ctc-menu-btn--outline:focus-visible { color: #fff; background: #003674; border-color: #003674; }
.ctc-menu-btn--outline:hover svg,
.ctc-menu-btn--outline:focus-visible svg { color: #fff; }

html.ctc-menu-lock,
html.ctc-menu-lock body { overflow: hidden; }

/* Customizer rule carried over: menu items flagged hide-desktop */
@media (min-width: 1025px) {
	.hide-desktop { display: none !important; }
	.ctc-menu-panel { display: none; }
	/* Original desktop logo sits on the nav row's top edge, not its centre. */
	.ctc-header__logo { align-self: flex-start; margin-top: 8px; }
}
@media (max-width: 1024px) {
	.ctc-nav { display: none; }
	.ctc-menu-toggle { display: inline-flex; }
	.ctc-header__cta { min-width: 140px; }
}
@media (max-width: 767px) {
	.ctc-header__inner { padding: 16px 20px; gap: 12px; }
	.ctc-header__actions { gap: 8px; }
	.ctc-header__cta { min-width: 0; padding: 10px 20px; }
	.ctc-menu-panel__inner { padding: 0 20px; }
	.ctc-menu-panel__card { padding: 32px 0 40px; }
	.ctc-menu-panel__title { font-size: 24px; }
	.ctc-mnav__list a { padding: 12px 0; font-size: 24px; line-height: 32px; }
}
/* /BEMCP:ctc-header */

/* BEMCP:ctc-gallery — managed block, do not edit inline. */
/* ==========================================================================
   CTC Gallery widget. Filter pills mirror the original Inspiration gallery.
   ========================================================================== */
.ctc-gallery__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 0 0 32px;
}
.ctc-gallery__filters button {
	padding: 8px 20px;
	font-family: "Epilogue", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 22px;
	text-transform: none;
	color: #000;
	background: #fff;
	border: 1px solid #d3d3d3;
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.ctc-gallery__filters button:hover,
.ctc-gallery__filters button:focus-visible {
	color: #003674;
	background: #fff;
	border-color: #003674;
}
.ctc-gallery__filters button[aria-pressed="true"] {
	color: #fff;
	background: #003674;
	border-color: #003674;
}
.ctc-gallery__grid {
	--ctc-cols: 3;
	--ctc-gap: 20px;
	--ctc-ratio: 3 / 2;
	--ctc-radius: 16px;
	display: grid;
	grid-template-columns: repeat(var(--ctc-cols), minmax(0, 1fr));
	gap: var(--ctc-gap);
	align-items: start;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ctc-gallery__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: var(--ctc-ratio);
	border-radius: var(--ctc-radius);
	background: #e8e8e8;
}
.ctc-gallery__item[hidden] { display: none; }
/* Absolutely positioned so the image never feeds back into the row height. */
.ctc-gallery__link { position: absolute; inset: 0; display: block; }
.ctc-gallery__link:focus-visible { outline: 3px solid #0058bd; outline-offset: -3px; }
/* Doubled scope beats Elementor's ".elementor img { height: auto }", which
   otherwise renders the image at natural height and crops it from the top. */
.ctc-gallery .ctc-gallery__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ctc-gallery .ctc-gallery__grid.has-zoom .ctc-gallery__item:hover .ctc-gallery__img,
.ctc-gallery .ctc-gallery__grid.has-zoom .ctc-gallery__item:focus-within .ctc-gallery__img {
	transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
	.ctc-gallery .ctc-gallery__img { transition: none; }
}
.ctc-gallery__grid.has-overlay .ctc-gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	z-index: 1;
	transition: background-color 0.8s;
	pointer-events: none;
}
.ctc-gallery__grid.has-overlay .ctc-gallery__item:hover::after,
.ctc-gallery__grid.has-overlay .ctc-gallery__item:focus-within::after { background: rgba(0, 0, 0, 0.5); }
.ctc-gallery__more {
	display: block;
	margin: 32px auto 0;
	padding: 12px 32px;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	color: #000;
	background: #fff;
	border: 1px solid #b9b9b9;
	border-radius: 16px;
	cursor: pointer;
	transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.ctc-gallery__more:hover,
.ctc-gallery__more:focus-visible { color: #fff; background: #003674; border-color: #003674; }
.ctc-gallery__more[hidden] { display: none; }
/* Kit button styles (.elementor-kit-6 button) outrank the class above; keep the
   kit colours but hold the button to the site size: 48px tall, radius 16. */
.ctc-gallery .ctc-gallery__more { padding: 12px 32px; font-size: 16px; line-height: 22px; border-radius: 16px; }
.ctc-gallery__empty { padding: 24px; border: 1px dashed #b9b9b9; text-align: center; }
/* /BEMCP:ctc-gallery */

/* BEMCP:ctc-v4-descendants — managed block, do not edit inline. */
/* ==========================================================================
   V4 rules that global classes cannot express (pseudo-elements, descendants).
   Global classes compile to ".elementor .label", so these match that scope.
   ========================================================================== */

/* Home hero card: angled top-left corner (was .builtforbusiness::before) */
.elementor .ctc-hero-card::after {
	content: "";
	position: absolute;
	top: -5px;
	left: -5px;
	width: 150px;
	height: 150px;
	background: #fff;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	z-index: 1;
	pointer-events: none;
}

/* Two-tone headings: wrap the second tone in <span> inside a .ctc-two-tone
   heading (Elementor strips classes from inline spans). */
.elementor .ctc-two-tone span { color: #8e8e8e; }
.elementor .ctc-two-tone.ctc-two-tone--flip { color: #8e8e8e; }
.elementor .ctc-two-tone.ctc-two-tone--flip span { color: #1a3a6b; }
/* /BEMCP:ctc-v4-descendants */

/* BEMCP:ctc-forms — managed block, do not edit inline. */
/* ==========================================================================
   V4 atomic forms: pieces global classes cannot express (pseudo-elements).
   Radios mirror the original Pro form: grey ring, navy inner dot.
   ========================================================================== */
.elementor .ctc-radio { appearance: none; -webkit-appearance: none; cursor: pointer; }
.elementor .ctc-radio::before {
	width: 10px;
	height: 10px;
	background-color: #003674;
}
.elementor .ctc-radio:focus-visible,
.elementor .ctc-checkbox:focus-visible { outline: 2px solid #0058bd; outline-offset: 2px; }
.elementor .ctc-choice-label { cursor: pointer; }
.elementor .ctc-input::placeholder { color: #9da5ae; }
/* Only flag a field once the visitor has interacted with it. */
.elementor .ctc-input:user-invalid { border-color: #c0392b; }
.elementor .ctc-input[type="file"] {
	height: auto;
	padding: 12px 16px;
	background: #fafafa;
	border-color: #e4e4e4;
	border-radius: 8px;
	font-size: 14px;
	color: #666;
}
.elementor .ctc-input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 12px;
	border: 0;
	border-radius: 8px;
	background: #1a3a6b;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
.elementor .ctc-input[type="file"]::file-selector-button:hover { background: #142d52; }
.elementor select.ctc-input {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%231e1e1e' d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 9px 14px;
}
/* /BEMCP:ctc-forms */
