/* ==========================================================================
   ScaleUp Together — Stena-layout clone
   Palette derived from the brand logo (navy + metallic steel-blue),
   replacing Stena's default blue/purple/salmon for brand consistency.
   ========================================================================== */

:root {
	/* tells the browser this page manages its own light/dark styling, so
	   browser-level "force dark mode" features (Edge/Chrome's own color
	   inversion heuristics) don't double-process it on top of our real
	   dark-mode CSS — that double processing is what was turning some text
	   yellow and leaving stray artifacts from the light-mode decoration */
	color-scheme: light dark;
	--su-primary: #1F4E8C;
	--su-primary-dark: #163a68;
	--su-secondary: #14294D;
	--su-purple: #DCE3EC;
	--su-purple-text: #4A6B94;
	--su-salmon: #E7EDF5;
	--su-salmon-text: #2F5C99;
	--su-body: #5B6270;
	--su-border: #e5e9f0;
	--su-bg-light: #F2F4F8;
	--su-white: #ffffff;
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Lato', sans-serif;
	color: var(--su-body);
	font-weight: 400;
}
/* overflow-x is clipped on these content containers rather than html/body —
   overflow set to anything but visible on html/body breaks position:sticky
   for the header (a direct body sibling), causing it to stop sticking/hiding
   correctly on inner pages */
main, footer { overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Aleo', serif;
	color: #1c1c1c;
	font-weight: 700;
}

h1 { font-size: 2.4rem; line-height: 1.2; }

a { color: var(--su-primary); }
a:hover { color: var(--su-primary-dark); }

.text-uppercase { letter-spacing: .08em; }
.eyebrow { color: var(--su-primary); font-weight: 700; letter-spacing: .12em; }

/* buttons */
.btn-primary {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	--bs-btn-color: #fff;
	--bs-btn-border-color: transparent;
	--bs-btn-hover-color: #fff;
	--bs-btn-active-color: #fff;
	background: linear-gradient(120deg, var(--su-primary) 0%, #4685d6 45%, var(--su-primary) 100%);
	border: none;
	border-radius: 10px;
	padding: .75rem 1.7rem;
	font-weight: 700;
	box-shadow: 0 8px 22px rgba(31,78,140,.32), inset 0 1px 0 rgba(255,255,255,.25);
	transition: box-shadow .25s ease, transform .15s ease;
}
.btn-primary::before {
	content: '';
	position: absolute;
	top: 0; left: -60%;
	width: 35%; height: 100%;
	background: linear-gradient(115deg, transparent, rgba(255,255,255,.4), transparent);
	transform: skewX(-20deg);
	transition: left .6s ease;
	z-index: 1;
	pointer-events: none;
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover {
	box-shadow: 0 10px 26px rgba(31,78,140,.42), inset 0 1px 0 rgba(255,255,255,.32);
	transform: translateY(-1px);
	color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-outline-primary {
	--bs-btn-color: var(--su-primary);
	--bs-btn-border-color: var(--su-primary);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--su-primary);
	--bs-btn-hover-border-color: var(--su-primary);
	border-radius: 10px;
	font-weight: 700;
	transition: box-shadow .25s ease, transform .15s ease;
}
.btn-outline-primary:hover { box-shadow: 0 8px 20px rgba(31,78,140,.25); transform: translateY(-1px); }

.btn-link { color: var(--su-primary); font-weight: 700; }
.btn-link:hover { color: var(--su-primary-dark); }

.bg-secondary { background-color: var(--su-secondary) !important; }
.bg-primary { background-color: var(--su-primary) !important; }
.bg-purple { background-color: var(--su-purple) !important; }
.bg-salmon { background-color: var(--su-salmon) !important; }
.text-purple { color: var(--su-purple-text) !important; }
.icon-wrap.bg-purple i { color: var(--su-purple-text); }
.icon-wrap.bg-salmon i { color: var(--su-salmon-text); }
.text-primary { color: var(--su-primary) !important; }
.bg-light { background-color: var(--su-bg-light) !important; }

/* page loader */
.page-loader {
	top: 0; left: 0; z-index: 9999;
	transition: opacity .4s ease, visibility .4s ease;
}
.page-loader.loaded { opacity: 0; visibility: hidden; }
.spinner-grow { color: var(--su-primary) !important; margin: 0 3px; }

/* hero wrap (header overlays this, matching Stena) */
.hero-wrap {
	position: relative;
	overflow: hidden;
	background-color: #fbfcfe;
	background-image: linear-gradient(180deg, rgba(65,138,227,.06) 0%, rgba(65,138,227,0) 45%);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 100% 100%;
}
.hero-wrap::before {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 300px;
	background-image: url('../assets/skyline-band.jpg');
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 260% 150%;
	filter: grayscale(1) brightness(1.6) contrast(.75) blur(3px);
	opacity: .4;
	-webkit-mask-image: linear-gradient(to top, black 0%, black 55%, transparent 100%);
	mask-image: linear-gradient(to top, black 0%, black 55%, transparent 100%);
	z-index: 0;
	pointer-events: none;
}

/* header — transparent overlay on the hero photo until scrolled */
.site-header {
	position: absolute;
	top: 0; left: 0; width: 100%;
	z-index: 1030;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background .25s ease, box-shadow .25s ease, border-color .25s ease, transform .3s ease;
}
.site-header.is-scrolled {
	position: fixed;
	background: transparent;
	border-bottom: none;
	box-shadow: none;
}
.site-header.is-scrolled.header-hidden { transform: translateY(-100%); }
.header-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem; padding-bottom: 1rem;
	transition: width .12s ease, max-width .12s ease, padding .12s ease, gap .12s ease, border-radius .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.site-header.is-scrolled > .header-row {
	/* Bootstrap's .container max-width (on this same element) still caps
	   it alongside fit-content, which was squeezing the last item (the
	   "Book a Private Consultation" button) past the pill's rounded edge
	   once the language switcher made the row wider — override it so the
	   pill can size itself purely from its own content */
	max-width: calc(100vw - 2rem);
	width: fit-content;
	margin: 0 auto;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 1.75rem;
	background: #fff;
	border-radius: 50px;
}
.site-header.is-scrolled .navbar-brand { order: 1; }
.site-header.is-scrolled .header-nav-slot { order: 2; }
.site-header.is-scrolled .hero-utility-bar { order: 3; }
.hero-utility-bar .btn { white-space: nowrap; }
.site-header.is-scrolled > .header-row {
	padding: .5rem .6rem .5rem 1.25rem;
	box-shadow: 0 10px 28px rgba(20,30,50,.16);
}
/* while the mobile menu dropdown is open, keep the header's scrolled
   position:fixed (removing is-scrolled entirely breaks position on
   mobile, since the header falls back to position:static there) but
   reset the floating-pill shape back to a plain full-width bar so it
   doesn't clash with the full-width dropdown list hanging below it */
.site-header.is-scrolled.menu-open > .header-row {
	width: 100%;
	margin: 0;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0;
	background: #fff;
	border-radius: 0;
	padding: 1rem;
	box-shadow: none;
}
.site-header.is-scrolled.menu-open .navbar-brand,
.site-header.is-scrolled.menu-open .header-nav-slot,
.site-header.is-scrolled.menu-open .hero-utility-bar { order: initial; }

.navbar-brand { display: flex; flex-direction: row; align-items: center; gap: .6rem; text-decoration: none; }
.brand-icon { height: 56px; width: auto; display: block; transform: translateY(-7px); }
.footer-brand { display: flex; flex-direction: row; align-items: center; gap: .6rem; }
.logo-text {
	display: flex; flex-direction: column; align-items: center;
	text-align: center; line-height: 1.1;
}
.wordmark-scaleup { height: 20px; width: auto; display: block; }
.logo-text .brand-sub {
	display: flex; align-items: center; justify-content: center; gap: .4rem;
	margin-top: .15rem;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: .6rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #2B5C99;
}
.logo-text .brand-sub::before,
.logo-text .brand-sub::after {
	content: '';
	width: 12px; height: 1px;
	background: #2B5C99;
}

.optional-link .in-icon-link { color: #1c1c1c; text-decoration: none; margin-right: 1.25rem; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.optional-link .icon-wrap {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; color: #fff; font-size: .75rem; margin-right: .4rem;
}
.optional-link .icon-wrap i { transform: translate(-1px, 0.5px); }
/* utility bar sits over the photo while header is transparent — needs light text for contrast */
.hero-utility-bar .in-icon-link { color: #1c1c1c; }
.site-header.is-scrolled .hero-utility-bar .in-icon-link { color: #1c1c1c; text-shadow: none; }

.navbar { background: transparent; }
/* plain Bootstrap default toggler (thin gray border, faint icon) was
   blending into the header on mobile — give it a solid brand-color
   button so it reads as a clear "open menu" affordance */
.navbar-toggler {
	width: 46px; height: 46px;
	display: flex; align-items: center; justify-content: center;
	background: var(--su-primary);
	border: none;
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(31,78,140,.35);
	padding: 0;
	transition: background .2s ease;
}
.navbar-toggler:hover { background: var(--su-primary-dark); }
.navbar-toggler:focus { box-shadow: 0 6px 16px rgba(31,78,140,.35); outline: none; }
.navbar-toggler-icon {
	width: 20px; height: 20px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.header-nav-slot {
	order: 3;
	flex: 0 0 100%;
	margin-top: 1rem;
}
.site-header.is-scrolled .header-nav-slot {
	order: 2;
	flex: 0 0 auto;
	margin-top: 0;
}
.navbar-nav {
	background: var(--su-bg-light);
	border-radius: 10px;
	padding: .3rem .5rem;
	display: inline-flex;
}
.site-header.is-scrolled .navbar-nav { background: transparent; box-shadow: none; }
.navbar-nav .nav-link { color: #1c1c1c; font-weight: 700; padding: .85rem 1.1rem; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--su-primary); }

/* Language switcher — a fully custom dropdown (flags + native names) that
   drives the real Google Translate widget behind the scenes. Google's own
   picker renders its language list inside a cross-origin iframe we can't
   restyle, so the widget itself is kept off-screen (not display:none,
   since Google's init script can skip setting up a zero-size container)
   and only our markup is visible. */
.lang-switch-item { display: flex; align-items: center; }
.lang-google-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
}
body {
	top: 0 !important;
	position: static !important;
}

.lang-dropdown { position: relative; }
.lang-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .85rem 1.1rem;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
}
.lang-switch-icon { color: var(--su-primary); font-size: .85rem; }
.lang-dropdown-current { display: inline-flex; }
.lang-dropdown-current .fi,
.lang-flag.fi {
	width: 20px; height: 15px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0,0,0,.08);
	flex-shrink: 0;
}
.lang-switch-caret { color: #1c1c1c; font-size: .6rem; opacity: .6; transition: transform .2s ease; }
.lang-dropdown.is-open .lang-switch-caret { transform: rotate(180deg); }
.lang-dropdown-menu {
	position: absolute;
	top: 100%; right: 0;
	margin-top: .5rem;
	min-width: 190px;
	max-height: 320px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--su-border);
	border-radius: 10px;
	box-shadow: 0 16px 36px rgba(20,30,50,.18);
	padding: .4rem;
	list-style: none;
	z-index: 1060;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.lang-dropdown.is-open .lang-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown-menu li { margin: 0; }
.lang-dropdown-menu button {
	display: flex;
	align-items: center;
	gap: .6rem;
	width: 100%;
	padding: .55rem .6rem;
	background: none;
	border: none;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 600;
	color: #1c1c1c;
	text-align: left;
	cursor: pointer;
}
.lang-dropdown-menu button:hover,
.lang-dropdown-menu button.is-active { background: var(--su-bg-light); color: var(--su-primary); }
.dropdown-menu { border: 1px solid var(--su-border); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.dropdown-item:hover { background: var(--su-bg-light); color: var(--su-primary); }

/* hero */
.hero-slideshow {
	position: relative;
}
.hero-slideshow .carousel-item,
.hero-slideshow--single {
	min-height: 640px;
	position: relative;
	overflow: hidden;
}
.hero-slideshow .carousel-item.active,
.hero-slideshow--single {
	display: flex;
	align-items: center;
}
.hero-slideshow .carousel-caption {
	position: relative;
	inset: auto;
	width: 100%;
	padding: 11rem 0 5rem;
	text-align: left;
	color: inherit;
	z-index: 2;
}
.hero-slideshow h1 { font-size: 2.9rem; margin-top: .5rem; }
.hero-slideshow .lead { max-width: 520px; color: var(--su-body); }

.hero-cutout-panel {
	position: absolute;
	top: 0; bottom: 0; right: 13%;
	width: 34%;
	z-index: 1;
}
.hero-cutout-box {
	position: absolute;
	top: 130px; left: 0; right: 0; bottom: 0;
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--su-primary) 0%, #3f7fd1 55%, var(--su-secondary) 100%);
	box-shadow: 0 24px 50px rgba(20,30,50,.22);
}
.hero-cutout-box::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.5px);
	background-size: 20px 20px;
	background-position: top right;
	opacity: .5;
}
.hero-cutout-figure {
	position: absolute;
	left: 50%; bottom: 0;
	transform: translateX(-50%);
	height: 94%;
	width: auto;
	max-width: none;
	z-index: 1;
	filter: drop-shadow(0 20px 30px rgba(10,20,40,.3));
}
.hero-cutout-panel--wide { width: 46%; right: 6%; }
.hero-cutout-figure--duo {
	left: 50%; top: 50%; bottom: auto;
	transform: translate(-50%, -50%);
	width: 94%; height: auto;
	max-width: none;
}
.hero-cutout-figure--photo {
	top: 130px; left: 0; right: 0; bottom: 0;
	transform: none;
	width: 100%; height: calc(100% - 130px);
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(10,20,40,.35);
	filter: none;
}
.hero-cutout-figure--hands { height: 88%; }

.hero-float-badge {
	position: absolute;
	z-index: 2;
	display: flex; align-items: center; gap: .5rem;
	background: #fff;
	color: #1c1c1c;
	font-weight: 700; font-size: .82rem;
	white-space: nowrap;
	padding: .6rem 1.1rem;
	border-radius: 30px;
	box-shadow: 0 14px 30px rgba(20,30,50,.2);
}
.hero-float-badge i { color: var(--su-primary); font-size: .9rem; }
.hero-float-badge--left { left: -5%; top: 46%; }
.hero-float-badge--right { right: -5%; top: 46%; }

.badge-card { background: #fff; border: 1px solid var(--su-border); box-shadow: 0 10px 24px rgba(20,30,50,.06); }
.badge-card ul { gap: 1.5rem; flex-wrap: wrap; }
.badge-card li { font-weight: 700; font-size: .85rem; color: #1c1c1c; white-space: nowrap; }
.badge-card li i { color: var(--su-primary); margin-right: .4rem; }

/* stats */
.stats-section .card {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	padding: 2.75rem 1.5rem;
	background:
		radial-gradient(circle at 12% 15%, rgba(90,150,255,.32) 0%, transparent 42%),
		radial-gradient(circle at 88% 85%, rgba(90,150,255,.24) 0%, transparent 42%),
		var(--su-secondary);
}
.stats-section .card::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: .6;
	pointer-events: none;
}
.stats-section .card::after {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 340px; height: 340px;
	background-image: url('../assets/scaleup-icon.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	filter: brightness(0) invert(1);
	opacity: .07;
	transform: translate(-50%, -50%) rotate(0deg);
	animation: stats-logo-spin 60s linear infinite;
	pointer-events: none;
	z-index: 0;
}
@keyframes stats-logo-spin {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(360deg); }
}
.stat-item { position: relative; z-index: 1; }
.stat-item i {
	display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px;
	font-size: 1.35rem;
	border-radius: 50%;
	border: 1px solid rgba(130,175,255,.4);
	box-shadow: 0 0 0 5px rgba(90,150,255,.08), 0 0 22px rgba(90,150,255,.25);
	background: rgba(255,255,255,.04);
	color: #8fc1ff;
	margin-bottom: .35rem;
}
.stat-item h2 { font-size: 2.3rem; letter-spacing: .01em; text-shadow: 0 0 20px rgba(110,170,255,.4); }
.stat-item p { color: rgba(255,255,255,.68); font-size: .9rem; letter-spacing: .01em; }

@media (min-width: 992px) {
	.stat-item:not(:first-child)::before {
		content: '';
		position: absolute;
		left: 0; top: 8%; bottom: 8%;
		width: 1px;
		background: linear-gradient(180deg, transparent, rgba(255,255,255,.22), transparent);
	}
}

/* icon wrap (features/steps) */
.icon-wrap:not(.rounded-circle) {
	width: 46px; height: 46px;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.1rem; color: #1c1c1c;
}

/* features */
.features-section { position: relative; padding-top: 4rem; padding-bottom: 2rem; overflow: hidden; }
.features-section h1 { font-size: 1.9rem; }
.features-section .icon-wrap { width: 44px; height: 44px; font-size: 1.05rem; }
.features-section h3.h6 { margin-bottom: .35rem; }
.features-section p.small { color: var(--su-body); }
/* cutout-figure-on-gradient-card pattern, reused wherever a photo needs this treatment */
.cutout-panel { position: relative; }
.cutout-box {
	position: absolute;
	top: 70px; left: 0; right: 0; bottom: 0;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--su-primary) 0%, #3f7fd1 55%, var(--su-secondary) 100%);
	z-index: 0;
	overflow: hidden;
}
.cutout-box::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.5px);
	background-size: 20px 20px;
	background-position: top right;
	opacity: .5;
}
.cutout-figure {
	position: relative;
	z-index: 1;
	width: 100%;
	display: block;
	filter: drop-shadow(0 18px 28px rgba(10,20,40,.28));
}
.trust-block { gap: 2.5rem; margin-top: 1rem; }
.image-decor { position: relative; }
.image-decor::before {
	content: '';
	position: absolute;
	top: -36px; left: -36px;
	width: calc(100% + 40px); height: calc(100% + 40px);
	background-image: radial-gradient(var(--su-border) 1.8px, transparent 1.8px);
	background-size: 18px 18px;
	z-index: 0;
}
.image-decor img { width: 400px; max-width: 100%; position: relative; z-index: 1; box-shadow: 0 20px 45px rgba(20,30,50,.18); }
.award-list { gap: 1.75rem; }
.award-item { display: flex; align-items: center; gap: .75rem; padding-right: 1.75rem; position: relative; }
.award-item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0; top: 10%; bottom: 10%;
	width: 1px;
	background: var(--su-border);
}
.award-item i { font-size: 1.6rem; color: #C9982F; }

/* steps */
.steps-section { position: relative; background: #fff; overflow: hidden; }
.steps-section h1 { font-size: 2rem; }
.eyebrow-muted { color: #9aa1ac; font-weight: 700; letter-spacing: .12em; }
.highlight {
	text-decoration: underline;
	text-decoration-color: #fbc783;
	text-decoration-thickness: 10px;
	text-decoration-skip-ink: none;
	text-underline-offset: -4px;
}
.steps-grid-lines {
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(90deg, var(--su-border) 0, var(--su-border) 1px, transparent 1px, transparent 16.6%);
	opacity: .6;
	pointer-events: none;
}
.steps-list { max-width: 900px; margin-left: auto; margin-right: auto; }
.step-item { position: relative; padding-right: 1.5rem; }
.step-number {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; margin-bottom: 1rem;
	border-radius: 10px;
	background: #e7f0fd;
	color: var(--su-primary);
	font-family: 'Aleo', serif; font-weight: 700; font-size: 1.05rem;
}
.step-item h3 { margin-bottom: .5rem; }
.step-item p { color: var(--su-body); max-width: 360px; }

/* services */
.service-card {
	background: #fff;
	border: 1px solid var(--su-border);
	border-radius: 14px;
	padding: 2rem 1.75rem;
	height: 100%;
	transition: box-shadow .2s ease;
}
.service-card:hover { box-shadow: 0 12px 28px rgba(20,30,50,.08); }
.service-card .icon-wrap { width: 52px; height: 52px; font-size: 1.3rem; }
.service-card p { font-size: .92rem; }
.service-list-compact { display: flex; flex-direction: column; gap: 1.75rem; }
.service-mini-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.service-mini-item .icon-wrap { flex-shrink: 0; }
.service-mini-item p { font-size: .9rem; color: var(--su-body); }

.service-pill-list { display: flex; flex-direction: column; gap: .9rem; }
.service-pill { display: flex; align-items: center; gap: .9rem; }
.service-pill .icon-wrap { width: 44px; height: 44px; flex-shrink: 0; }
.service-pill span { font-weight: 700; color: #1c1c1c; font-size: .98rem; }

.services-visual {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	padding: 3.5rem 2.5rem;
	display: flex; align-items: center; justify-content: center;
	min-height: 420px;
	background:
		radial-gradient(circle at 15% 20%, rgba(90,150,255,.32) 0%, transparent 45%),
		radial-gradient(circle at 85% 85%, rgba(90,150,255,.22) 0%, transparent 45%),
		var(--su-secondary);
	box-shadow: 0 25px 60px rgba(20,30,50,.2);
}
.services-visual-grid {
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
	background-size: 22px 22px;
	pointer-events: none;
}
.services-visual img {
	position: relative; z-index: 1;
	width: 100%; max-width: 540px; display: block;
	filter: drop-shadow(0 25px 40px rgba(0,0,0,.45));
}

/* services detail page */
.service-detail .icon-wrap { width: 60px; height: 60px; font-size: 1.5rem; }
.service-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.service-list li { padding: .4rem 0; }
.service-list li i { color: var(--su-primary); margin-right: .6rem; }

/* tiers teaser */
.tiers-teaser-section { background: var(--su-bg-light); }

/* office gallery */
.office-gallery-item {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 45px rgba(20,30,50,.12);
	aspect-ratio: 4 / 3;
}
.office-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.office-gallery-item:hover img { transform: scale(1.04); }

/* founder */
.founder-stat-badge {
	display: flex; align-items: center; gap: .6rem;
	width: fit-content;
	background: var(--su-bg-light);
	border: 1px solid var(--su-border);
	border-radius: 50px;
	padding: .5rem 1.1rem;
	margin-bottom: 1rem;
}
.founder-stat-badge strong { font-family: 'Aleo', serif; font-weight: 700; font-size: 1.4rem; color: var(--su-primary); line-height: 1; }
.founder-stat-badge span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--su-body); }
.founder-tagline { border-left: 3px solid var(--su-primary); padding-left: 1rem; font-size: 1.1rem; }
.founder-section .award-list { justify-content: center; }
.founder-initials {
	display: flex; align-items: center; justify-content: center;
	width: 96px; height: 96px; margin: 0 auto 1.25rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--su-primary), var(--su-primary-dark));
	color: #fff;
	font-family: 'Aleo', serif; font-weight: 700; font-size: 2rem;
	box-shadow: 0 12px 28px rgba(31,78,140,.28);
}

/* faq */
.faq-section .accordion-item { border: none; border-bottom: 1px solid var(--su-border); border-radius: 0; background: transparent; }
.faq-section .accordion-item:first-of-type,
.faq-section .accordion-item:last-of-type { border-radius: 0; }
.faq-section .accordion-button {
	font-family: 'Aleo', serif; font-weight: 700; color: #1c1c1c; font-size: 1.05rem;
	padding: 1.25rem 0; background: transparent; box-shadow: none;
}
.faq-section .accordion-button:not(.collapsed) { color: var(--su-primary); background: transparent; box-shadow: none; }
.faq-section .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-section .accordion-button::after { flex-shrink: 0; }
.faq-section .accordion-body { padding: 0 0 1.5rem; color: var(--su-body); font-size: .92rem; }

/* final cta */
.final-cta-section { padding-bottom: 1rem; }
.final-cta-card {
	background: var(--su-bg-light);
	border-radius: 20px;
	padding: 3.5rem 2rem;
}

/* insights + markets */
.insights-section { padding-top: 3.5rem; padding-bottom: 3rem; }
.news-list { border-radius: 12px; height: 100%; }
.news-list li { border-bottom: 1px solid var(--su-border); padding: .85rem 0; }
.news-list li:last-child { border-bottom: none; }
.news-thumb {
	width: 56px; height: 56px; min-width: 56px; border-radius: 8px;
	background: var(--su-bg-light); color: var(--su-primary);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.2rem; margin-right: 1rem;
}
.news-list a.h6 { color: #1c1c1c; text-decoration: none; display: block; }
.news-list a.h6:hover { color: var(--su-primary); }
.news-list span { font-size: .78rem; color: #9a9a9a; }

.tradingview-card { border-radius: 12px; border: 1px solid var(--su-border); height: 100%; }

/* inner page header + banner */
.site-header.site-header--page {
	position: sticky;
	background: #fff;
	border-bottom: 1px solid var(--su-border);
}
/* .site-header--page and .site-header.is-scrolled have equal (two-class)
   specificity, so on inner pages the later --page rule was winning the
   position/background tie once scrolled — header stayed position:sticky
   with its white background instead of switching to the floating-pill
   treatment, which is what made the shape-change read as a jankier
   "blink" there than on the homepage. This three-class rule outranks
   both regardless of source order, so scrolled behavior now matches. */
.site-header.site-header--page.is-scrolled {
	position: fixed;
	background: transparent;
	border-bottom: none;
	box-shadow: none;
}
.site-header.site-header--page .hero-utility-bar .in-icon-link { color: #1c1c1c; text-shadow: none; }
.site-header.site-header--page .navbar-nav { background: var(--su-bg-light); }

.page-banner {
	background-color: #fbfcfe;
	background-image: linear-gradient(180deg, rgba(31,78,140,.06) 0%, rgba(31,78,140,0) 60%);
	padding: 4rem 0 3rem;
}

/* investment tiers */
.tiers-section { padding-top: 1rem; }
.tier-card {
	background: #fff;
	border: 1px solid var(--su-border);
	border-radius: 14px;
	padding: 2rem 1.5rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.tier-card:hover { box-shadow: 0 12px 28px rgba(20,30,50,.08); }
.tier-card.is-popular { border-color: var(--su-primary); box-shadow: 0 12px 32px rgba(31,78,140,.14); }
.popular-badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: var(--su-primary); color: #fff; font-size: .72rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .06em; padding: .3rem .8rem; border-radius: 20px;
	white-space: nowrap;
}
.tier-name { font-size: 1.2rem; margin-bottom: .25rem; }
.tier-capital { font-family: 'Aleo', serif; font-weight: 700; font-size: 1.6rem; color: var(--su-primary); margin-bottom: 1rem; }
.tier-capital span { display: block; font-family: 'Lato', sans-serif; font-weight: 400; font-size: .72rem; color: var(--su-body); text-transform: uppercase; letter-spacing: .06em; margin-top: .15rem; }
.tier-split { margin-bottom: 1rem; }
.split-bar { height: 8px; border-radius: 6px; background: var(--su-bg-light); overflow: hidden; margin-bottom: .5rem; }
.split-bar span { display: block; height: 100%; background: var(--su-primary); border-radius: 6px; }
.split-labels { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 700; color: var(--su-body); }
.tier-desc { font-size: .88rem; color: var(--su-body); flex-grow: 1; }

/* percent gauge — straight ruler scale with fine ticks + highlighter overlay */
.percent-gauge { position: relative; margin-bottom: .5rem; }
.percent-gauge-track {
	position: relative;
	height: 34px;
	border-radius: 10px;
	background-color: #fff;
	background-image: repeating-linear-gradient(90deg, rgba(31,78,140,.25) 0, rgba(31,78,140,.25) 1px, transparent 1px, transparent 2%);
	overflow: hidden;
	box-shadow: inset 0 1px 3px rgba(20,30,50,.1), inset 0 0 0 2px var(--su-border);
}
.percent-gauge-highlight {
	position: absolute; top: 0; left: 0; bottom: 0;
	width: 0;
	display: flex; align-items: center; justify-content: center;
	background: var(--su-primary);
	box-shadow: inset 0 0 0 2px var(--su-primary-dark);
	transition: width 1.2s cubic-bezier(.22,.9,.3,1);
	overflow: hidden;
}
.percent-gauge-label {
	font-size: .72rem; font-weight: 700; white-space: nowrap;
	color: #fff;
}
.percent-gauge-label-rest {
	position: absolute; top: 0; bottom: 0;
	display: flex; align-items: center;
	transform: translateX(-50%);
	color: var(--su-primary);
}
.percent-gauge-majors { position: relative; height: 1.4rem; margin-top: .35rem; }
.percent-gauge-major { position: absolute; top: 0; left: 0; width: 2px; height: 6px; background: var(--su-primary); transform: translateX(-1px); }
.percent-gauge-major.pg-start { transform: none; }
.percent-gauge-major.pg-end { left: 100%; transform: translateX(-2px); }
.percent-gauge-major span {
	position: absolute; top: 10px; left: 0; transform: translateX(-50%);
	font-size: .72rem; font-weight: 700; color: var(--su-body); white-space: nowrap;
}
.percent-gauge-major.pg-start span { left: 0; transform: translateX(0); }
.percent-gauge-major.pg-end span { left: auto; right: 0; transform: translateX(0); }

/* profit gauge — futuristic holographic radial meter */
.profit-gauge-card {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	padding: 1.75rem 1rem 1.5rem;
	height: 100%;
	display: flex; align-items: center; justify-content: center;
	background:
		radial-gradient(circle at 18% 18%, rgba(90,150,255,.3) 0%, transparent 48%),
		radial-gradient(circle at 85% 85%, rgba(90,150,255,.22) 0%, transparent 48%),
		var(--su-secondary);
	box-shadow: 0 20px 45px rgba(20,30,50,.28);
}
.profit-gauge-card::before {
	content: '';
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
	background-size: 16px 16px;
	pointer-events: none;
}
.profit-gauge { position: relative; z-index: 1; width: 100%; max-width: 320px; margin: 0 auto; }
.profit-gauge-row { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.profit-gauge-dial { position: relative; flex: 0 0 auto; width: 100%; max-width: 160px; text-align: center; }
.profit-gauge-svg { width: 100%; height: auto; display: block; overflow: visible; }
.gauge-track { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 12; stroke-linecap: round; }
.gauge-fill {
	fill: none; stroke: #5ab3ff; stroke-width: 12; stroke-linecap: round;
	filter: drop-shadow(0 0 7px rgba(90,180,255,.85));
	transition: stroke-dashoffset 1.3s cubic-bezier(.22,.9,.3,1);
	animation: gauge-pulse-glow 2.4s ease-in-out infinite;
}
@keyframes gauge-pulse-glow {
	0%, 100% { filter: drop-shadow(0 0 6px rgba(90,180,255,.8)); }
	50% { filter: drop-shadow(0 0 13px rgba(90,180,255,1)); }
}
.gauge-needle {
	fill: #fff; stroke: none;
	filter: drop-shadow(0 0 4px rgba(255,255,255,.8));
	transform-origin: 100px 100px;
	transition: transform 1.3s cubic-bezier(.22,.9,.3,1);
}
.gauge-pivot { fill: #fff; filter: drop-shadow(0 0 4px rgba(255,255,255,.9)); }
.gauge-tick-label { font-family: 'Lato', sans-serif; font-size: 9px; font-weight: 700; fill: rgba(255,255,255,.65); text-anchor: middle; dominant-baseline: middle; }
.plan-split-mini .gauge-tick-label { font-size: 12px; font-weight: 800; fill: #1c1c1c; }
.profit-gauge-value {
	font-family: 'Aleo', serif; font-weight: 700; font-size: 1.7rem; color: #fff;
	text-shadow: 0 0 14px rgba(90,180,255,.8);
	margin-top: .35rem; position: relative; z-index: 1;
}
.profit-gauge-flank {
	flex: 0 1 76px;
	min-width: 0;
	display: flex; flex-direction: column; align-items: center; gap: .25rem;
	text-align: center;
}
.profit-gauge-flank.flank-fill { margin-right: .5rem; }
.profit-gauge-flank .flank-label {
	display: block; width: 100%;
	font-size: .66rem; font-weight: 700; color: rgba(255,255,255,.8);
	text-transform: uppercase; letter-spacing: .03em; line-height: 1.25;
}
.profit-gauge-flank strong { font-family: 'Aleo', serif; font-size: 1.15rem; color: #fff; text-transform: none; letter-spacing: 0; }
.profit-gauge-flank .flank-dot { display: none; }

/* compact profit gauge — sits inline in the plan row header, no dark card */
.plan-split-mini .profit-gauge { width: auto; max-width: none; }
.plan-split-mini .profit-gauge-row { gap: .4rem; }
.plan-split-mini .profit-gauge-dial { max-width: 96px; }
.plan-split-mini .profit-gauge-value {
	font-size: .78rem; margin-top: -1rem; color: var(--su-primary); text-shadow: none;
}
.plan-split-mini .gauge-track { stroke: rgba(31,78,140,.2); }
.plan-split-mini .gauge-track, .plan-split-mini .gauge-fill { stroke-width: 14; }
.plan-split-mini .gauge-fill { stroke: var(--su-primary); filter: drop-shadow(0 0 2px rgba(70,133,214,.6)); animation: none; }
.plan-split-mini .gauge-needle { fill: var(--su-primary); filter: none; }
.plan-split-mini .gauge-pivot { fill: var(--su-secondary); filter: none; }
.plan-split-mini .profit-gauge-flank { flex: 0 1 54px; font-size: .58rem; gap: .1rem; }
.plan-split-mini .profit-gauge-flank strong { font-size: .8rem; color: var(--su-primary); }
.plan-split-mini .profit-gauge-flank .flank-label { font-size: .52rem; color: var(--su-body); }

/* plans hero strip — futuristic summary bar */
.plans-hero-strip {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	padding: 2.25rem 1.5rem;
	background:
		radial-gradient(circle at 12% 20%, rgba(90,150,255,.32) 0%, transparent 42%),
		radial-gradient(circle at 88% 80%, rgba(90,150,255,.24) 0%, transparent 42%),
		var(--su-secondary);
}
.plans-hero-grid {
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: .6;
	pointer-events: none;
}
.plans-hero-glow {
	position: absolute; top: 50%; left: 50%;
	width: 340px; height: 340px;
	background-image: url('../assets/scaleup-icon.png');
	background-size: contain; background-repeat: no-repeat; background-position: center;
	filter: brightness(0) invert(1);
	opacity: .06;
	transform: translate(-50%, -50%) rotate(0deg);
	animation: stats-logo-spin 60s linear infinite;
	pointer-events: none;
}
.plans-hero-content {
	position: relative; z-index: 1;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: 1.25rem 2.5rem;
}
.plans-hero-stat { text-align: center; }
.plans-hero-stat strong {
	display: block; font-family: 'Aleo', serif; font-weight: 700; font-size: 1.9rem; color: #fff;
	text-shadow: 0 0 20px rgba(90,150,255,.5);
}
.plans-hero-stat span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: #9fb8e0; margin-top: .2rem; }
.plans-hero-divider { width: 1px; height: 38px; background: rgba(255,255,255,.15); }

/* investment plans — futuristic compact accordion */
.plans-accordion { border: 1px solid var(--su-border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgba(20,30,50,.06); }
.plan-row.accordion-item { position: relative; border: none; border-bottom: 1px solid var(--su-border); border-radius: 0; background: transparent; }
.plan-row.accordion-item:last-of-type { border-bottom: none; }
.plan-row::before {
	content: '';
	position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
	background: linear-gradient(180deg, var(--su-primary), #4685d6);
	transform: scaleY(0); transform-origin: center;
	transition: transform .25s ease;
}
.plan-row:hover::before,
.plan-row.is-popular::before,
.plan-row.is-top::before { transform: scaleY(1); }
.plan-row.is-top::before { background: linear-gradient(180deg, #D98C3D, #f0b168); }
.plan-row .accordion-button {
	display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem;
	padding: 1.15rem 1.5rem; background: transparent; box-shadow: none;
	font-family: 'Lato', sans-serif;
	transition: background .2s ease, padding-left .2s ease;
}
.plan-row .accordion-button:hover { background: linear-gradient(90deg, rgba(31,78,140,.05), transparent); padding-left: 1.75rem; }
.plan-row .accordion-button:not(.collapsed) { background: var(--su-bg-light); box-shadow: none; color: inherit; }
.plan-row .accordion-button:focus { box-shadow: none; border-color: transparent; }
.plan-row .accordion-button::after { display: none; content: none; }
.plan-chevron { margin-left: auto; padding-left: .5rem; color: var(--su-body); font-size: .9rem; transition: transform .25s ease, color .25s ease; flex-shrink: 0; }
.plan-row .accordion-button:not(.collapsed) .plan-chevron { transform: rotate(180deg); color: var(--su-primary); }
.plan-row.is-popular .accordion-button { background: rgba(31,78,140,.04); }
.plan-row.is-top .accordion-button { background: rgba(217,140,61,.06); }

.plan-num {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; min-width: 38px; border-radius: 50%;
	background: linear-gradient(135deg, var(--su-primary), var(--su-primary-dark));
	color: #fff;
	font-family: 'Aleo', serif; font-weight: 700; font-size: .85rem;
	box-shadow: 0 6px 16px rgba(31,78,140,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.plan-row.is-top .plan-num { background: linear-gradient(135deg, #D98C3D, #b56a1f); box-shadow: 0 6px 16px rgba(217,140,61,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.plan-name {
	font-family: 'Aleo', serif; font-weight: 700; font-size: 1.05rem; color: #1c1c1c;
	min-width: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem;
}
.plan-name .popular-badge { position: static; transform: none; display: inline-block; font-size: .6rem; padding: .2rem .55rem; }
.popular-badge--top { background: #D98C3D; }
.plan-capital { font-family: 'Aleo', serif; font-weight: 700; font-size: 1.05rem; color: var(--su-primary); min-width: 130px; }
.plan-capital em { display: block; font-style: normal; font-family: 'Lato', sans-serif; font-weight: 400; font-size: .68rem; color: var(--su-body); text-transform: uppercase; letter-spacing: .05em; }
.plan-split-mini { display: flex; align-items: center; gap: .6rem; min-width: 220px; flex: 1 1 220px; }
.mini-meter { position: relative; width: 56px; height: 34px; flex-shrink: 0; }
.mini-meter-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.mini-meter-track { fill: none; stroke: var(--su-bg-light); stroke-width: 9; stroke-linecap: round; }
.mini-meter-fill {
	fill: none; stroke: var(--su-primary); stroke-width: 9; stroke-linecap: round;
	filter: drop-shadow(0 0 2px rgba(70,133,214,.7));
	transition: stroke-dashoffset 1.3s cubic-bezier(.22,.9,.3,1);
}
.mini-meter-needle {
	stroke: #1c1c1c; stroke-width: 2; stroke-linecap: round;
	transform-origin: 50px 50px;
	transition: transform 1.3s cubic-bezier(.22,.9,.3,1);
}
.mini-meter-pivot { fill: var(--su-secondary); }
.split-text { font-size: .8rem; font-weight: 700; color: var(--su-body); white-space: nowrap; }
.plan-row .accordion-body { padding: 0 1.5rem 1.5rem 4.75rem; color: var(--su-body); font-size: .9rem; }
.plan-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .5rem; }
.demo-trial-link {
	display: inline-flex; align-items: center; gap: .4rem;
	margin: 0; font-size: .82rem; font-weight: 700;
	color: #b56a1f; text-decoration: none;
}
.demo-trial-link i { font-size: .7rem; transition: transform .2s ease; }
.demo-trial-link:hover { color: #D98C3D; }
.demo-trial-link:hover i { transform: translateX(3px); }

/* demo trial callout */
.demo-trial-card {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--su-border);
	border-radius: 18px;
	padding: 2.5rem;
	box-shadow: 0 20px 50px rgba(20,30,50,.06);
}
.demo-trial-card::before {
	content: '';
	position: absolute; top: -90px; right: -90px;
	width: 280px; height: 280px; border-radius: 50%;
	background: radial-gradient(circle, rgba(217,140,61,.16), transparent 70%);
	pointer-events: none;
}
.demo-trial-badge {
	position: relative; z-index: 1;
	display: inline-flex; align-items: center; gap: .4rem;
	background: linear-gradient(135deg, #D98C3D, #b56a1f);
	color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
	padding: .35rem .9rem; border-radius: 20px; margin-bottom: 1rem;
	box-shadow: 0 6px 16px rgba(217,140,61,.35);
}
.demo-trial-steps { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1rem; }
.demo-trial-step { display: flex; align-items: flex-start; gap: .85rem; }
.demo-trial-step .demo-trial-num {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--su-bg-light); color: var(--su-primary);
	font-family: 'Aleo', serif; font-weight: 700; font-size: .85rem;
}
.demo-trial-step strong { display: block; font-size: .92rem; color: #1c1c1c; }
.demo-trial-step span { display: block; font-size: .8rem; color: var(--su-body); margin-top: .1rem; }
.demo-trial-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.demo-trial-actions .btn { text-align: center; }
.demo-trial-note { position: relative; z-index: 1; font-size: .76rem; color: var(--su-body); margin: 1rem 0 0; }

/* demo fee popup */
.demo-fee-modal { border: none; border-radius: 20px; box-shadow: 0 30px 70px rgba(20,30,50,.25); overflow: hidden; }
.demo-fee-modal .modal-body { padding: 2.25rem 2rem; }
.demo-fee-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.demo-fee-modal-icon {
	width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 1rem;
	display: flex; align-items: center; justify-content: center;
	background: var(--su-bg-light); color: var(--su-primary); font-size: 1.3rem;
}
.demo-fee-amount-box {
	text-align: center;
	background: var(--su-bg-light); border-radius: 12px; padding: 1rem 1.1rem;
	margin: .5rem 0 1rem;
}
.demo-fee-amount-box span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--su-body); }
.demo-fee-amount-box strong { display: block; margin-top: .25rem; font-family: 'Aleo', serif; font-weight: 700; font-size: 1.6rem; color: var(--su-primary); }
.demo-fee-refund-note {
	display: flex; align-items: center; gap: .5rem;
	background: rgba(31,78,140,.06); color: var(--su-primary);
	font-weight: 700; font-size: .85rem;
	border-radius: 10px; padding: .7rem .9rem; margin-bottom: .75rem;
}
.demo-fee-refund-note i { font-size: .9rem; }

@media (max-width: 767.98px) {
	.plans-hero-divider { display: none; }
	.plans-hero-content { gap: 1.25rem 1.75rem; }
	.plan-row .accordion-button { padding: 1rem; }
	.plan-row .accordion-button:hover { padding-left: 1.25rem; }
	.plan-name { min-width: 90px; font-size: .95rem; }
	.plan-capital { min-width: 100px; font-size: .92rem; }
	.plan-split-mini { min-width: 100%; order: 3; }
	.plan-row .accordion-body { padding-left: 1.25rem; }
	.demo-trial-card { padding: 1.75rem; }
}

.tier-example-section { background: var(--su-bg-light); }
.example-card { background: #fff; border: 1px solid var(--su-border); border-radius: 14px; padding: 2rem; height: 100%; }
.example-split { display: flex; gap: 2.5rem; margin-top: 1.25rem; }
.example-split strong { display: block; font-family: 'Aleo', serif; font-size: 1.6rem; color: var(--su-primary); }
.example-split span { display: block; font-size: .8rem; color: var(--su-body); text-transform: uppercase; letter-spacing: .04em; margin-top: .2rem; }

.disclaimer-card { background: var(--su-bg-light); border-radius: 14px; padding: 2rem; }
.disclaimer-card h6 { font-size: .95rem; margin-bottom: .75rem; }
.disclaimer-card h6 i { color: #D98C3D; margin-right: .4rem; }
.disclaimer-card p { font-size: .85rem; color: var(--su-body); }

/* how it works page */
.process-list { max-width: 720px; margin: 0 auto; position: relative; }
.process-item { display: flex; gap: 1.75rem; padding-bottom: 2.5rem; position: relative; }
.process-item:last-child { padding-bottom: 0; }
.process-item:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 27px; top: 56px; bottom: 0;
	width: 1px;
	background: var(--su-border);
}
.process-number {
	flex-shrink: 0;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: rgba(31,78,140,.08);
	border: 1px solid var(--su-border);
	color: var(--su-primary);
	font-family: 'Aleo', serif; font-weight: 700; font-size: 1.2rem;
	display: flex; align-items: center; justify-content: center;
	position: relative; z-index: 1;
}
.process-content h3 { margin-bottom: .5rem; }
.process-content p { margin-bottom: 0; color: var(--su-body); }

/* insights page */
.insight-card {
	background: #fff;
	border: 1px solid var(--su-border);
	border-radius: 14px;
	padding: 1.75rem;
	height: 100%;
	position: relative;
}
.insight-icon {
	width: 46px; height: 46px;
	border-radius: 10px;
	background: var(--su-bg-light);
	color: var(--su-primary);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.1rem;
	margin-bottom: 1rem;
}
.insight-card p { color: var(--su-body); margin-top: .5rem; }
.coming-soon-badge {
	display: inline-block;
	margin-top: 1rem;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--su-primary);
	background: var(--su-bg-light);
	padding: .3rem .7rem;
	border-radius: 20px;
}

/* legal page */
.legal-block { scroll-margin-top: 100px; }
.legal-block h3 { margin-bottom: 1rem; }
.legal-block p { color: var(--su-body); font-size: .92rem; }
.legal-section hr { margin: 2rem 0; border-color: var(--su-border); }

/* contact page */
.contact-info-card {
	background: var(--su-bg-light);
	border-radius: 16px;
	padding: 2rem;
	height: 100%;
}
.contact-info-item {
	display: flex; align-items: center; gap: 1rem;
	padding: .85rem 0;
	color: #1c1c1c; text-decoration: none;
}
.contact-info-item .icon-wrap { width: 46px; height: 46px; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item h6 { margin-bottom: .1rem; }
.contact-info-item small { color: var(--su-body); }
.contact-info-item:hover h6 { color: var(--su-primary); }

.contact-form { background: #fff; border: 1px solid var(--su-border); border-radius: 16px; padding: 2rem; }
.contact-form .form-label { font-weight: 700; font-size: .88rem; color: #1c1c1c; }
.contact-form .form-control, .contact-form .form-select {
	border-color: var(--su-border);
	border-radius: 8px;
	padding: .65rem .9rem;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
	border-color: var(--su-primary);
	box-shadow: 0 0 0 3px rgba(31,78,140,.12);
}

/* footer */
.site-footer { background: var(--su-bg-light); }
.site-footer .card { border-radius: 14px; }
.footer-brand { display: flex; flex-direction: row; align-items: center; gap: .6rem; }
.footer-content .nav-link { color: var(--su-body); font-size: .85rem; }
.footer-content .nav-link:hover { color: var(--su-primary); }
.footer-content h6 { font-size: .95rem; }
.footer-content h6 i { color: #D98C3D; margin-right: .4rem; }
.footer-content p { font-size: .82rem; }
.social-media-list a { color: #1c1c1c; }
.social-media-list a:hover.color-facebook { color: #1877f2; }
.social-media-list a:hover.color-threads { color: #000; }
.social-media-list a:hover.color-instagram { color: #e1306c; }
.social-media-list a:hover.color-linkedin { color: #0a66c2; }
.copyright-text { font-size: .82rem; color: #9a9a9a; margin-top: 1rem; margin-bottom: 0; }

/* back to top */
.to-top {
	position: fixed; bottom: 92px; right: 22px; z-index: 1040;
	width: 58px; height: 58px; border-radius: 50%;
	background: linear-gradient(135deg, var(--su-primary), var(--su-primary-dark));
	color: #fff; font-size: 1.2rem;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 26px rgba(31,78,140,.35);
	/* faded via opacity/visibility, not display:none <-> flex — toggling
	   display can't transition, so it was popping in/out instantly instead
	   of fading, which read as a flicker right at the scroll threshold */
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top:hover { transform: scale(1.06); color: #fff; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

@media (max-width: 1199.98px) {
	.site-header { position: static; background: #fff; border-bottom: 1px solid var(--su-border); }
	.navbar { background: #fff; }
	.navbar-nav,
	.site-header.site-header--page .navbar-nav {
		background: transparent;
		padding: 0;
		display: flex;
		flex-direction: column;
		width: 100%;
	}
	.navbar-nav .nav-item { width: 100%; }
	.navbar-nav .nav-link {
		display: flex; align-items: center; justify-content: space-between;
		padding: 1rem 1.5rem;
		border-bottom: 1px solid var(--su-border);
	}
	.navbar-nav .nav-item:last-child > .nav-link,
	.navbar-nav .nav-item:last-child .lang-dropdown-toggle { border-bottom: none; }
	.navbar-collapse { padding: .5rem 0; }
	.dropdown-menu { border: none; padding: 0 0 .5rem 1.5rem; background: var(--su-bg-light); margin: 0; }
	.dropdown-item { padding: .6rem 1rem; }
	/* the language switcher is last in a long stacked nav list, so its
	   floating absolute menu (desktop CSS) could open mostly or entirely
	   below the viewport — needing a page scroll to see it, which that
	   scroll then got misread as "left the menu", closing it and letting
	   the header auto-hide behind it. Expand it inline instead, same as
	   the Services/Company/Resources dropdowns just above, so it only
	   ever pushes the rest of the list down within the open panel. */
	.lang-dropdown-toggle { width: 100%; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--su-border); }
	.lang-dropdown-menu {
		position: static;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		width: 100%;
		max-height: none;
		margin: 0;
		border: none;
		border-radius: 0;
		box-shadow: none;
		background: var(--su-bg-light);
		padding: .4rem 0 .4rem 1.5rem;
	}
	.lang-dropdown.is-open .lang-dropdown-menu { display: block; }
	.hero-slideshow .carousel-caption { padding: 5rem 0; }
	.header-row { position: relative; flex-wrap: nowrap; justify-content: space-between; }
	.header-nav-slot { position: static; order: 2; flex: 0 0 auto; width: auto; margin-top: 0; margin-left: 1rem; }
	.header-nav-slot .navbar-collapse { position: absolute; top: 100%; left: 0; right: 0; width: 100%; background: #fff; box-shadow: 0 10px 24px rgba(20,30,50,.12); z-index: 1050; }
}

@media (max-width: 991.98px) {
	.hero-slideshow h1 { font-size: 2.2rem; }
	.hero-slideshow .carousel-item,
	.hero-slideshow--single { min-height: auto; padding: 3rem 0; }
	.hero-slideshow .carousel-caption { padding: 3rem 0; }
	.image-decor img { width: 100%; max-width: 280px; }
}

@media (max-width: 575.98px) {
	h1 { font-size: 1.7rem; }
	.badge-card ul { flex-direction: column; gap: .6rem; }
}

/* floating contact widget */
.floating-contact { position: fixed; right: 22px; bottom: 22px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; pointer-events: none; }
.floating-contact-toggle {
	width: 58px; height: 58px; border-radius: 50%; border: none;
	background: linear-gradient(135deg, var(--su-primary), var(--su-primary-dark));
	color: #fff; font-size: 1.35rem; box-shadow: 0 10px 26px rgba(31,78,140,.35);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
	transition: transform .2s ease;
	pointer-events: auto;
}
.floating-contact-toggle:hover { transform: scale(1.06); }
.floating-contact-toggle .fa-xmark { display: none; }
.floating-contact.is-open .floating-contact-toggle .fa-comment { display: none; }
.floating-contact.is-open .floating-contact-toggle .fa-xmark { display: block; }

.floating-contact-menu {
	display: flex; flex-direction: column; gap: .6rem;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.floating-contact.is-open .floating-contact-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.floating-contact-item {
	display: flex; align-items: center; gap: .6rem;
	background: #fff; color: #1c1c1c; text-decoration: none;
	padding: .55rem 1rem .55rem .55rem; border-radius: 30px;
	box-shadow: 0 8px 20px rgba(20,30,50,.14); font-size: .85rem; font-weight: 700;
	white-space: nowrap;
}
.floating-contact-item i {
	width: 34px; height: 34px; min-width: 34px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--su-bg-light); color: var(--su-primary); font-size: 1rem;
}
.floating-contact-item:hover { box-shadow: 0 10px 26px rgba(20,30,50,.2); color: var(--su-primary); }

@media (max-width: 575.98px) {
	.floating-contact { right: 16px; bottom: 16px; }
	.floating-contact-item span { display: none; }
	.floating-contact-item { padding: .55rem; border-radius: 50%; }
	.floating-contact-item i { background: transparent; }
}

/* ==========================================================================
   Dark mode — follows the visitor's OS/browser preference automatically
   (no on-site toggle). Additive only: nothing above this point is touched,
   so light mode is unaffected. Two layers:
   1) redefine the --su-* tokens, which most of the site already reads from
      (nav pills, borders, muted text, section backgrounds, accents) —
      this alone re-themes the majority of the page.
   2) explicit overrides for the ~100 spots that hardcode #fff / #1c1c1c
      instead of a token (card surfaces, headings, forms, Bootstrap's own
      component defaults), grouped by what they become.
   Several sections (stats strip, profit-gauge cards, plans-hero strip,
   services-visual) are already dark-navy with white text by design in
   light mode too — intentionally left alone here.
   ========================================================================== */
@media (prefers-color-scheme: dark) {
	:root {
		--su-primary: #5B9FE8;
		--su-primary-dark: #7FB4F0;
		--su-secondary: #0E1B30;
		--su-purple: #202A3D;
		--su-purple-text: #A9C3E8;
		--su-salmon: #202A3D;
		--su-salmon-text: #A9C3E8;
		--su-body: #AEB8C7;
		--su-border: #2A3444;
		--su-bg-light: #18212F;
		--su-white: #111926;
	}

	body { background-color: #0C121C; color: var(--su-body); }
	main, footer { background-color: #0C121C; }

	h1, h2, h3, h4, h5, h6 { color: #F0F3F8; }

	/* page/hero backdrops (near-white in light mode) */
	.hero-wrap, .page-banner { background-color: #0C121C; background-image: none; }
	/* the faint grayscale skyline silhouette blended into the light backdrop
	   by design — against the new dark backdrop it reads as a visible pale
	   smudge/line instead, so hide it in dark mode */
	.hero-wrap::before { display: none; }

	/* the nav-links pill (.navbar-nav) was always there, just invisible in
	   light mode since its bg-light tint barely differed from the near-white
	   page behind it — that same flat --su-bg-light reads as a stark dark
	   box against the even-darker page here, with its rounded bottom edge
	   looking like a stray line. Dropped entirely here instead of tinted —
	   lower specificity than the existing .is-scrolled (stays transparent)
	   and .site-header--page (keeps its solid --su-bg-light) overrides, so
	   this only affects the homepage's non-scrolled, transparent-over-hero
	   header — exactly the case that needed it gone. */
	.navbar-nav { background: transparent; }

	/* card / panel surfaces that hardcode #fff */
	.site-header.is-scrolled > .header-row,
	.site-header.is-scrolled.menu-open > .header-row,
	.site-header.site-header--page,
	.lang-dropdown-menu,
	.hero-float-badge,
	.badge-card,
	.steps-section,
	.service-card,
	.tier-card,
	.percent-gauge-track,
	.plans-accordion,
	.demo-trial-card,
	.example-card,
	.insight-card,
	.contact-form,
	.floating-contact-item,
	.dropdown-menu,
	.modal-content {
		background-color: var(--su-white);
	}
	/* .navbar and .header-nav-slot .navbar-collapse are only ever #fff in
	   light mode inside this same mobile breakpoint (desktop has them
	   transparent, relying on .site-header's own background) — putting them
	   in the unconditional group above was giving the homepage's full-width
	   non-scrolled nav row a solid dark backing rectangle on desktop too */
	@media (max-width: 1199.98px) {
		.site-header, .navbar, .header-nav-slot .navbar-collapse { background-color: var(--su-white); }
	}

	/* text that hardcodes #1c1c1c instead of reading the heading color */
	.navbar-nav .nav-link,
	.hero-float-badge,
	.badge-card li,
	.service-pill span,
	.optional-link .in-icon-link,
	.hero-utility-bar .in-icon-link,
	.site-header.is-scrolled .hero-utility-bar .in-icon-link,
	.site-header.site-header--page .hero-utility-bar .in-icon-link,
	.plan-name,
	.demo-trial-step strong,
	.news-list a.h6,
	.contact-info-item,
	.contact-form .form-label,
	.social-media-list a,
	.lang-switch-caret,
	.lang-dropdown-menu button,
	.icon-wrap:not(.rounded-circle),
	.floating-contact-item,
	.faq-section .accordion-button,
	.demo-fee-modal h5,
	.offcanvas-title {
		color: #F0F3F8;
	}
	.plan-split-mini .gauge-tick-label { fill: #F0F3F8; }
	.mini-meter-needle { stroke: #F0F3F8; }

	/* Bootstrap's own component defaults (form controls, accordion, modal,
	   dropdown items) are white-on-dark-text regardless of our tokens */
	.form-control, .form-select {
		background-color: var(--su-white);
		color: #F0F3F8;
		border-color: var(--su-border);
	}
	.form-control::placeholder { color: #6b7686; }
	.form-control:focus, .form-select:focus { background-color: var(--su-white); color: #F0F3F8; }
	.dropdown-item { color: var(--su-body); }
	.dropdown-item:hover, .dropdown-item:focus { background-color: var(--su-bg-light); color: #F0F3F8; }
	.accordion-button { color: #F0F3F8; }
	.accordion-button::after { filter: invert(1) brightness(1.8); }
	.btn-close { filter: invert(1) brightness(1.8); }

	/* the logo is a dark-navy gradient — invert it to a clean white mark
	   rather than shipping a second asset */
	.brand-icon, .wordmark-scaleup { filter: brightness(0) invert(1); }

	/* Google Translate's own picker renders in an iframe we can't theme,
	   and the demo-fee modal's icon circle is tuned for a light bg */
	.demo-fee-modal-icon, .insight-icon, .news-thumb { background-color: var(--su-bg-light); }

	/* Bootstrap's own muted-gray utility, tuned for a white background —
	   used throughout (card subtext, modal captions, etc.) */
	.text-muted { color: #8893A3 !important; }
}
