/* =========================================================================
   C-PAID Header & Footer  v1.0.0
   Brand: Navy #022B54 · Teal #029EAB · Orange #F86D1E · Mist #F3F7F8
   ========================================================================= */

:root {
	--cp-navy: #022B54;
	--cp-navy-deep: #011C38;
	--cp-teal: #029EAB;
	--cp-orange: #F86D1E;
	--cp-mist: #F3F7F8;
	--cp-slate: #31465A;
	--cphf-head-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--cphf-body-font: "Inter", "Helvetica Neue", Arial, sans-serif;
	--cphf-h: 104px;
	--cphf-h-s: 80px;
	--cphf-top: 0px;
	--cphf-logo-w: 196px;
	--cphf-flogo-w: 230px;
}
.admin-bar { --cphf-top: 32px; }
@media (max-width: 1279px) { :root { --cphf-h: 98px; --cphf-h-s: 78px; } }
@media (max-width: 782px)  { .admin-bar { --cphf-top: 46px; } }
@media (max-width: 767px)  { :root { --cphf-h: 80px; --cphf-h-s: 74px; } }

html { scroll-padding-top: calc(var(--cphf-h-s) + var(--cphf-top) + 16px); }

/* ---------- Shared ---------- */
.cphf, .cphf *, .cphf *::before, .cphf *::after { box-sizing: border-box; }
.cphf ul, .cphf li { list-style: none; margin: 0; padding: 0; }
.cphf ul::before, .cphf li::before { content: none; }
.cphf a { text-decoration: none; box-shadow: none; }
.cphf svg { display: block; }
.cphf .cphf-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cphf-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 767px) { .cphf-wrap { padding: 0 20px; } }

.cphf a:focus-visible, .cphf button:focus-visible, .cphf input:focus-visible {
	outline: 2px solid var(--cp-orange); outline-offset: 3px; border-radius: 2px;
}

.cphf .cphf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--cphf-body-font); font-size: 15px; font-weight: 600; line-height: 1;
	letter-spacing: .01em; color: var(--cp-navy); background: var(--cp-orange);
	border: 0; border-radius: 4px; padding: 15px 24px; cursor: pointer;
	transition: background-color .25s ease, color .25s ease, transform .25s ease;
	white-space: nowrap; text-transform: none;
}
.cphf .cphf-btn .cphf-icon { width: 18px; height: 18px; transition: transform .25s ease; }
.cphf .cphf-btn:hover .cphf-icon { transform: translateX(3px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.cphf-spacer { height: var(--cphf-h); }

#cphf-header {
	position: fixed; top: var(--cphf-top); left: 0; right: 0; z-index: 9990;
	background: #fff; font-family: var(--cphf-body-font);
	border-bottom: 1px solid rgba(2, 43, 84, .06);
	transition: box-shadow .3s ease, top .2s ease;
}
#cphf-header.is-static { position: relative; top: 0; }
#cphf-header.is-scrolled { box-shadow: 0 8px 28px rgba(2, 43, 84, .09); }

#cphf-header .cphf-header__inner {
	display: flex; align-items: center; gap: 28px; height: var(--cphf-h);
	transition: height .3s ease;
}
#cphf-header.can-shrink.is-scrolled .cphf-header__inner { height: var(--cphf-h-s); }

/* Logo: approved C-PAID artwork. Never narrower than 180px (brand minimum). */
.cphf .cphf-logo { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 1; }
.cphf .cphf-logo__img { display: block; max-width: none; height: auto; border: 0; }
#cphf-header .cphf-logo__stack { display: flex; flex-direction: column; align-items: flex-start; }
#cphf-header .cphf-logo__img { width: var(--cphf-logo-w); transition: width .3s ease; }
#cphf-header.can-shrink.is-scrolled .cphf-logo__img { width: max(180px, calc(var(--cphf-logo-w) * .93)); }
#cphf-header .cphf-tagline {
	display: block; max-width: var(--cphf-logo-w); max-height: 20px; margin-top: 6px; overflow: hidden;
	font-family: var(--cphf-body-font); font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .015em;
	color: var(--cp-slate); white-space: nowrap; opacity: 1;
	transition: max-height .3s ease, margin-top .3s ease, opacity .2s ease;
}
#cphf-header.can-shrink.is-scrolled .cphf-tagline { max-height: 0; margin-top: 0; opacity: 0; }

/* Desktop navigation */
#cphf-header .cphf-nav { margin-left: auto; }
#cphf-header .cphf-menu { display: flex; align-items: center; gap: 2px; }
#cphf-header .cphf-menu__item { position: relative; }
#cphf-header .cphf-menu__link {
	position: relative; display: inline-flex; align-items: center; gap: 7px;
	padding: 12px 11px; font-family: var(--cphf-body-font); font-size: 15px; font-weight: 600;
	color: var(--cp-navy); line-height: 1.2; white-space: nowrap; background: transparent;
	transition: color .2s ease;
}
/* The Change Point indicator: teal line ending in an orange node */
#cphf-header .cphf-menu__link::after {
	content: ""; position: absolute; left: 11px; right: 15px; bottom: 4px; height: 2px;
	background: var(--cp-teal); border-radius: 2px; transform: scaleX(0); transform-origin: left center;
	transition: transform .3s ease;
}
#cphf-header .cphf-menu__link::before {
	content: ""; position: absolute; right: 10px; bottom: 2px; width: 6px; height: 6px; border-radius: 50%;
	background: var(--cp-orange); opacity: 0; transform: scale(.4); transition: opacity .2s ease .15s, transform .2s ease .15s;
}
#cphf-header .cphf-menu__item:hover > .cphf-menu__link,
#cphf-header .cphf-menu__item:focus-within > .cphf-menu__link,
#cphf-header .cphf-menu__item.is-current > .cphf-menu__link,
#cphf-header .cphf-menu__item.is-ancestor > .cphf-menu__link { color: var(--cp-navy); }
#cphf-header .cphf-menu__item:hover > .cphf-menu__link::after,
#cphf-header .cphf-menu__item:focus-within > .cphf-menu__link::after,
#cphf-header .cphf-menu__item.is-current > .cphf-menu__link::after,
#cphf-header .cphf-menu__item.is-ancestor > .cphf-menu__link::after { transform: scaleX(1); }
#cphf-header .cphf-menu__item:hover > .cphf-menu__link::before,
#cphf-header .cphf-menu__item:focus-within > .cphf-menu__link::before,
#cphf-header .cphf-menu__item.is-current > .cphf-menu__link::before,
#cphf-header .cphf-menu__item.is-ancestor > .cphf-menu__link::before { opacity: 1; transform: scale(1); }

#cphf-header .cphf-caret {
	width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; opacity: .7;
}
#cphf-header .cphf-menu__item:hover .cphf-caret,
#cphf-header .cphf-menu__item:focus-within .cphf-caret { transform: translateY(1px) rotate(-135deg); }

/* Dropdowns */
#cphf-header .cphf-sub {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; padding: 10px 0;
	background: #fff; border-top: 3px solid var(--cp-teal); border-radius: 0 0 6px 6px;
	box-shadow: 0 18px 40px rgba(2, 43, 84, .14);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
	z-index: 5;
}
#cphf-header .cphf-sub::before { /* hover bridge */
	content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
#cphf-header .cphf-menu__item:hover > .cphf-sub,
#cphf-header .cphf-menu__item:focus-within > .cphf-sub {
	opacity: 1; visibility: visible; transform: translateY(0);
	transition: opacity .22s ease, transform .22s ease, visibility 0s;
}
#cphf-header .cphf-menu__item:last-child > .cphf-sub,
#cphf-header .cphf-menu__item:nth-last-child(2) > .cphf-sub { left: auto; right: 0; }
#cphf-header .cphf-sub__link {
	position: relative; display: block; padding: 11px 24px 11px 26px;
	font-family: var(--cphf-body-font); font-size: 15px; font-weight: 500; line-height: 1.35;
	color: var(--cp-slate); background: transparent; transition: background-color .2s ease, color .2s ease, padding .2s ease;
}
#cphf-header .cphf-sub__link::before {
	content: ""; position: absolute; left: 14px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
	border-radius: 50%; background: var(--cp-orange); opacity: 0; transform: scale(.3); transition: opacity .2s, transform .2s;
}
#cphf-header .cphf-sub__link:hover,
#cphf-header .cphf-sub__link:focus-visible,
#cphf-header .cphf-sub__item.is-current > .cphf-sub__link { background: var(--cp-mist); color: var(--cp-navy); padding-left: 32px; }
#cphf-header .cphf-sub__link:hover::before,
#cphf-header .cphf-sub__link:focus-visible::before,
#cphf-header .cphf-sub__item.is-current > .cphf-sub__link::before { opacity: 1; transform: scale(1); }

/* CTA */
#cphf-header .cphf-cta { padding: 14px 22px; font-size: 15px; }
#cphf-header .cphf-cta:hover { background: var(--cp-navy); color: #fff; }

/* Burger */
#cphf-header .cphf-burger {
	display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
	margin: 0 0 0 4px; background: var(--cp-mist); border: 0; border-radius: 6px; cursor: pointer; color: var(--cp-navy);
	box-shadow: none;
}
#cphf-header .cphf-burger:hover { background: #E4EEF1; }
#cphf-header .cphf-burger__lines { display: flex; flex-direction: column; gap: 5px; width: 22px; }
#cphf-header .cphf-burger__lines span { display: block; height: 2px; border-radius: 2px; background: var(--cp-navy); }
#cphf-header .cphf-burger__lines span:nth-child(2) { width: 70%; margin-left: auto; background: var(--cp-teal); }

/* Scroll progress bar with the orange ball riding at its tip */
#cphf-header .cphf-progress {
	position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none;
}
#cphf-header .cphf-progress__bar {
	position: absolute; left: 0; top: 0; bottom: 0; width: 100%;
	background: linear-gradient(90deg, var(--cp-teal) 0%, var(--cp-teal) 75%, #2BB3A3 100%);
	transform: scaleX(var(--cphf-p, 0)); transform-origin: left center; border-radius: 0 3px 3px 0;
}
#cphf-header .cphf-progress__ball {
	position: absolute; top: 50%; left: calc(var(--cphf-p, 0) * 100%); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
	border-radius: 50%; background: var(--cp-orange); box-shadow: 0 0 0 3px rgba(248, 109, 30, .18);
	opacity: 0; transition: opacity .25s ease;
}
#cphf-header.has-progress .cphf-progress__ball { opacity: 1; }

/* Tablet and mobile header */
@media (max-width: 1279px) {
	#cphf-header .cphf-nav { display: none; }
	#cphf-header .cphf-cta { margin-left: auto; }
	#cphf-header .cphf-burger { display: inline-flex; }
	#cphf-header .cphf-header__inner { gap: 16px; }
}
@media (max-width: 767px) {
	#cphf-header .cphf-cta { display: none; }
	#cphf-header .cphf-burger { margin-left: auto; }
	#cphf-header .cphf-logo__img,
	#cphf-header.can-shrink.is-scrolled .cphf-logo__img { width: 180px; }
	#cphf-header .cphf-tagline { display: none; }
}

/* =========================================================================
   MOBILE / TABLET PANEL
   ========================================================================= */
#cphf-panel {
	position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column;
	background: var(--cp-navy); color: #fff; font-family: var(--cphf-body-font);
	transform: translateX(100%); transition: transform .38s cubic-bezier(.2, .7, .2, 1);
	overflow: hidden;
}
#cphf-panel[hidden] { display: none; }
#cphf-panel.is-open { transform: translateX(0); }
#cphf-panel::after { /* soft ChangePoint glow */
	content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
	background: radial-gradient(circle, rgba(2, 158, 171, .28), rgba(2, 158, 171, 0) 70%); pointer-events: none;
}
#cphf-panel .cphf-panel__head {
	display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; min-height: 76px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
#cphf-panel .cphf-logo__img { width: 180px; }
#cphf-panel .cphf-close {
	display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; margin: 0;
	background: rgba(255, 255, 255, .08); color: #fff; border: 0; border-radius: 6px; cursor: pointer; box-shadow: none;
}
#cphf-panel .cphf-close:hover { background: rgba(255, 255, 255, .16); }
#cphf-panel .cphf-close .cphf-icon { width: 22px; height: 22px; }
#cphf-panel .cphf-panel__body {
	position: relative; z-index: 1; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
	padding: 12px 24px 40px; width: 100%; max-width: 640px; margin: 0 auto;
}

#cphf-panel .cphf-mmenu__item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
#cphf-panel .cphf-mmenu__row { display: flex; align-items: center; justify-content: space-between; }
#cphf-panel .cphf-mmenu__link {
	flex: 1; display: block; padding: 16px 0; font-family: var(--cphf-head-font); font-size: 20px; font-weight: 600;
	color: #fff; line-height: 1.3; background: transparent;
}
#cphf-panel .cphf-mmenu__item.is-current > .cphf-mmenu__row > .cphf-mmenu__link { color: var(--cp-teal); }
#cphf-panel .cphf-mmenu__toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0;
	background: transparent; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; color: #fff; cursor: pointer; box-shadow: none;
}
#cphf-panel .cphf-mmenu__toggle:hover { border-color: var(--cp-teal); background: transparent; }
#cphf-panel .cphf-chev {
	width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .25s ease;
}
#cphf-panel .cphf-mmenu__toggle[aria-expanded="true"] { background: var(--cp-teal); border-color: var(--cp-teal); }
#cphf-panel .cphf-mmenu__toggle[aria-expanded="true"] .cphf-chev { transform: translateY(2px) rotate(-135deg); }
#cphf-panel .cphf-mmenu__sub { padding: 0 0 14px 14px; border-left: 2px solid var(--cp-teal); margin: 0 0 12px 2px; }
#cphf-panel .cphf-mmenu__sub[hidden] { display: none; }
#cphf-panel .cphf-mmenu__sub a {
	display: block; padding: 10px 0 10px 4px; font-size: 16px; color: rgba(255, 255, 255, .82); background: transparent;
}
#cphf-panel .cphf-mmenu__sub a:hover, #cphf-panel .cphf-mmenu__sub a.is-current { color: var(--cp-teal); }

#cphf-panel .cphf-panel__cta { width: 100%; margin-top: 28px; padding: 18px 24px; font-size: 16px; }
#cphf-panel .cphf-panel__cta:hover { background: #fff; color: var(--cp-navy); }
#cphf-panel .cphf-panel__contact { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
#cphf-panel .cphf-panel__contact a { display: inline-flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); font-size: 15px; }
#cphf-panel .cphf-panel__contact .cphf-icon { color: var(--cp-teal); }
#cphf-panel .cphf-socials { margin-top: 24px; }

body.cphf-locked { overflow: hidden; }

/* =========================================================================
   FOOTER
   ========================================================================= */
#cphf-footer {
	position: relative; margin: 0; padding: 0; background: transparent; clear: both;
	color: rgba(255, 255, 255, .78); font-family: var(--cphf-body-font); font-size: 15px; line-height: 1.7;
}
#cphf-footer.no-curve { margin-top: 0; }

/* The ChangePoint ball and curve */
#cphf-footer .cphf-curve { position: relative; height: clamp(70px, 9.5vw, 140px); margin-bottom: -1px; overflow: visible; }
#cphf-footer .cphf-curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#cphf-footer .cphf-curve__fill path:first-child { fill: var(--cp-navy); }
#cphf-footer .cphf-curve__echo { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1.2; }
#cphf-footer .cphf-curve__line path { fill: none; stroke: var(--cp-teal); stroke-width: 3; stroke-linecap: round; }
#cphf-footer .cphf-curve__line { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.55, .1, .25, 1); }
#cphf-footer .cphf-curve.is-visible .cphf-curve__line { clip-path: inset(0 0 0 0); }
#cphf-footer .cphf-ball {
	position: absolute; left: 59.7222%; top: 57.1429%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
	border-radius: 50%; background: var(--cp-orange);
	box-shadow: 0 0 0 5px rgba(248, 109, 30, .22), 0 6px 18px rgba(248, 109, 30, .35);
	transform: scale(0); transition: transform .55s cubic-bezier(.3, 1.6, .5, 1) .95s; z-index: 2;
}
#cphf-footer .cphf-curve.is-visible .cphf-ball { transform: scale(1); }
#cphf-footer .cphf-ball__halo {
	position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cp-orange); opacity: 0;
}
#cphf-footer .cphf-curve.is-visible .cphf-ball__halo { animation: cphf-pulse 2.8s ease-out 1.6s infinite; }
@keyframes cphf-pulse {
	0% { transform: scale(1); opacity: .6; }
	80%, 100% { transform: scale(2.8); opacity: 0; }
}
@media (max-width: 767px) {
	#cphf-footer .cphf-ball { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
}

#cphf-footer .cphf-footer__body { background: var(--cp-navy); padding-top: 24px; position: relative; overflow: hidden; }
#cphf-footer .cphf-wrap { position: relative; z-index: 1; }

/* Newsletter */
#cphf-footer .cphf-news {
	display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
	padding: 28px 0 52px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
#cphf-footer .cphf-eyebrow {
	margin: 0 0 10px; font-family: var(--cphf-body-font); font-size: 12px; font-weight: 600; letter-spacing: .16em;
	text-transform: uppercase; color: var(--cp-teal);
}
#cphf-footer .cphf-news__title {
	margin: 0 0 10px; padding: 0; font-family: var(--cphf-head-font); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700;
	line-height: 1.2; letter-spacing: -.01em; color: #fff; text-transform: none;
}
#cphf-footer .cphf-news__text { margin: 0; max-width: 470px; color: rgba(255, 255, 255, .72); font-size: 15.5px; }
#cphf-footer .cphf-news__row { display: flex; gap: 10px; }
#cphf-footer input.cphf-news__input {
	flex: 1; min-width: 0; height: 56px; margin: 0; padding: 0 18px; font-family: var(--cphf-body-font); font-size: 15.5px;
	color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .24); border-radius: 4px;
	box-shadow: none; transition: border-color .2s ease, background-color .2s ease;
}
#cphf-footer input.cphf-news__input::placeholder { color: rgba(255, 255, 255, .55); }
#cphf-footer input.cphf-news__input:focus { border-color: var(--cp-teal); background: rgba(255, 255, 255, .1); outline: none; }
#cphf-footer button.cphf-news__btn { height: 56px; padding: 0 26px; }
#cphf-footer button.cphf-news__btn:hover { background: #fff; color: var(--cp-navy); }
#cphf-footer .cphf-news__consent {
	display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-size: 13px; line-height: 1.55;
	color: rgba(255, 255, 255, .66); cursor: pointer; font-weight: 400;
}
#cphf-footer .cphf-news__consent input { flex-shrink: 0; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--cp-teal); }
#cphf-footer .cphf-news__consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
#cphf-footer .cphf-news__msg {
	margin: 14px 0 0; padding: 10px 14px; border-radius: 4px; font-size: 14px; color: #fff;
	background: rgba(2, 158, 171, .22); border-left: 3px solid var(--cp-teal);
}
#cphf-footer .cphf-news__msg.is-error { background: rgba(248, 109, 30, .18); border-left-color: var(--cp-orange); }
#cphf-footer .cphf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Columns */
#cphf-footer .cphf-cols {
	display: grid; grid-template-columns: 1.4fr 1fr 1.05fr .9fr 1.65fr; gap: 40px; padding: 56px 0 60px;
}
/* Footer lock-up: reverse logo with the full name, as the brand guidelines ask for the footer */
#cphf-footer .cphf-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%; }
#cphf-footer .cphf-lockup .cphf-logo__img { width: var(--cphf-flogo-w); max-width: 100%; }
#cphf-footer .cphf-lockup__rule { display: block; width: var(--cphf-flogo-w); max-width: 100%; height: 2px; margin: 14px 0 10px; background: var(--cp-teal); border-radius: 2px; }
#cphf-footer .cphf-lockup__name {
	display: block; max-width: var(--cphf-flogo-w); font-family: var(--cphf-body-font); font-size: 11.5px; font-weight: 600;
	line-height: 1.55; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
#cphf-footer .cphf-about { margin: 20px 0 0; max-width: 300px; color: rgba(255, 255, 255, .74); font-size: 15px; line-height: 1.7; }
#cphf-footer .cphf-col__title {
	position: relative; margin: 0 0 24px; padding: 0 0 14px; font-family: var(--cphf-head-font); font-size: 14px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: #fff; line-height: 1.3;
}
#cphf-footer .cphf-col__title::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; border-radius: 2px; background: var(--cp-teal);
}
#cphf-footer .cphf-node {
	position: absolute; left: 30px; bottom: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--cp-orange);
}
#cphf-footer .cphf-links li + li { margin-top: 11px; }
#cphf-footer .cphf-links a {
	position: relative; display: inline-block; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.45;
	transition: color .2s ease, transform .2s ease;
}
#cphf-footer .cphf-links a:hover, #cphf-footer .cphf-links a:focus-visible { color: #fff; transform: translateX(4px); }
#cphf-footer .cphf-links a::before {
	content: ""; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%;
	background: var(--cp-orange); opacity: 0; transition: opacity .2s ease;
}
#cphf-footer .cphf-links a:hover::before { opacity: 1; }

#cphf-footer .cphf-contact li { display: flex; gap: 12px; align-items: flex-start; }
#cphf-footer .cphf-contact li + li { margin-top: 14px; }
#cphf-footer .cphf-contact .cphf-icon { flex-shrink: 0; width: 19px; height: 19px; margin-top: 3px; color: var(--cp-teal); }
#cphf-footer .cphf-contact a, #cphf-footer .cphf-contact span { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
#cphf-footer .cphf-contact a:hover { color: #fff; }

/* Social icons (footer and panel) */
.cphf .cphf-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cphf .cphf-social {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
	color: #fff; border: 1px solid rgba(255, 255, 255, .24); background: transparent;
	transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.cphf .cphf-social .cphf-icon { width: 18px; height: 18px; }
.cphf .cphf-social:hover { background: var(--cp-teal); border-color: var(--cp-teal); color: #fff; transform: translateY(-2px); }

/* Bottom bar */
#cphf-footer .cphf-bar { background: var(--cp-navy-deep); padding: 22px 0; font-size: 13.5px; color: rgba(255, 255, 255, .62); }
#cphf-footer .cphf-bar__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
#cphf-footer .cphf-bar__legal { flex: 1; min-width: 240px; }
#cphf-footer .cphf-bar p { margin: 0; line-height: 1.6; }
#cphf-footer .cphf-reg { margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
#cphf-footer .cphf-bar__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
#cphf-footer .cphf-bar__links a { color: rgba(255, 255, 255, .72); }
#cphf-footer .cphf-bar__links a:hover { color: #fff; }
#cphf-footer .cphf-top {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
	color: var(--cp-navy); background: var(--cp-teal); transition: background-color .25s ease, transform .25s ease;
}
#cphf-footer .cphf-top:hover { background: var(--cp-orange); transform: translateY(-3px); }
#cphf-footer .cphf-top .cphf-icon { width: 18px; height: 18px; }

/* Footer: tablet */
@media (max-width: 1240px) {
	#cphf-footer .cphf-cols { grid-template-columns: 1fr 1fr 1fr; gap: 44px 36px; }
	#cphf-footer .cphf-col--brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 48px; align-items: start; }
	#cphf-footer .cphf-col--brand .cphf-about { margin-top: 0; max-width: 460px; }
	#cphf-footer .cphf-col--brand { grid-template-rows: auto 1fr; }
	#cphf-footer .cphf-col--brand .cphf-lockup { grid-row: 1 / 3; }
	#cphf-footer .cphf-col--brand .cphf-socials { grid-column: 2; margin-top: 18px; align-self: start; }
	#cphf-footer .cphf-col--contact { grid-column: span 3; }
	#cphf-footer .cphf-col--contact .cphf-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; }
	#cphf-footer .cphf-col--contact .cphf-contact li + li { margin-top: 0; }
}
@media (max-width: 900px) {
	#cphf-footer .cphf-news { grid-template-columns: 1fr; gap: 26px; padding-bottom: 44px; }
}
/* Footer: mobile */
@media (max-width: 767px) {
	#cphf-footer .cphf-cols { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding: 44px 0 48px; }
	#cphf-footer .cphf-col--brand { display: block; grid-column: 1 / -1; }
	#cphf-footer .cphf-col--brand .cphf-about { margin-top: 18px; }
	#cphf-footer .cphf-col--contact { grid-column: 1 / -1; }
	#cphf-footer .cphf-col--contact .cphf-contact { display: block; }
	#cphf-footer .cphf-col--contact .cphf-contact li + li { margin-top: 14px; }
	#cphf-footer .cphf-bar__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
	#cphf-footer .cphf-top { position: absolute; right: 20px; top: 22px; }
	#cphf-footer .cphf-bar { position: relative; padding: 24px 0 26px; }
	#cphf-footer .cphf-bar__legal { padding-right: 56px; }
}
@media (max-width: 480px) {
	#cphf-footer .cphf-news__row { flex-direction: column; }
	#cphf-footer input.cphf-news__input { flex: none; width: 100%; }
	#cphf-footer button.cphf-news__btn { width: 100%; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	.cphf *, .cphf *::before, .cphf *::after { transition-duration: .01ms !important; animation: none !important; }
	#cphf-footer .cphf-curve__line { clip-path: none; }
	#cphf-footer .cphf-ball { transform: scale(1); }
}

/* Print */
@media print {
	#cphf-header, .cphf-spacer, #cphf-panel, #cphf-footer .cphf-curve, #cphf-footer .cphf-news, #cphf-footer .cphf-top { display: none !important; }
}
