/**
 * Modern B2B refresh — led-display industrial preset.
 * Tokens live in main.css :root; this file applies visual polish globally.
 * Loaded last (enqueue priority 99).
 */

/* ── Base typography ───────────────────────────────────────────── */
body.jcproto-body {
	font-family: var(--jcproto-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--jcproto-text-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.sitewidget-hd > h1,
.sitewidget-hd > h2,
.sitewidget-hd > h3,
.graphicNewTitle,
.jcproto-section__title {
	font-family: var(--jcproto-font-display);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--jcproto-text);
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.jcproto-footer .sitewidget-bd,
.jcproto-section__lead {
	font-family: var(--jcproto-font-body);
	font-size: 1rem;
	line-height: 1.7;
	max-width: 65ch;
}

.jcproto-legacy-body-wrap .sitewidget-bd {
	max-width: 100%;
}

a {
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

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

/* ── Buttons & CTAs ────────────────────────────────────────────── */
.jcproto-btn,
.jcproto-header .backstage-component-btncolor,
.jcproto-quote-banner__btn,
.jcproto-legacy-body-wrap .backstage-component-btncolor:not(.gbBgColor0) {
	border-radius: var(--jcproto-radius) !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
	box-shadow: var(--jcproto-shadow-sm);
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.jcproto-btn--primary,
.jcproto-header .backstage-component-btncolor,
.jcproto-quote-banner__btn {
	background-color: var(--jcproto-accent) !important;
	border-color: var(--jcproto-accent) !important;
	color: #fff !important;
}

.jcproto-btn--primary:hover,
.jcproto-header .backstage-component-btncolor:hover,
.jcproto-quote-banner__btn:hover,
.jcproto-legacy-body-wrap .backstage-component-btncolor:not(.gbBgColor0):hover {
	background-color: var(--jcproto-accent-hover) !important;
	border-color: var(--jcproto-accent-hover) !important;
	box-shadow: var(--jcproto-shadow-md);
	text-decoration: none !important;
	transform: translateY(-1px);
}

.jcproto-btn--primary:active,
.jcproto-header .backstage-component-btncolor:active,
.jcproto-quote-banner__btn:active {
	transform: translateY(0);
}

/* ── Top bar ─────────────────────────────────────────────────── */
#outerContainer_1675305041679,
.jcproto-topbar {
	background: linear-gradient(180deg, #0a0a0a 0%, var(--jcproto-topbar-bg) 100%) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding: 0;
}

.jcproto-topbar__inner {
	min-height: 40px;
	padding: 8px 0;
	gap: 12px;
}

.jcproto-topbar__items {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1;
}

.jcproto-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	color: #94a3b8;
	line-height: 1.4;
}

.jcproto-topbar__item a {
	color: #e2e8f0;
	text-decoration: none;
	font-weight: 500;
}

.jcproto-topbar__item a:hover {
	color: #ffffff;
	text-decoration: none;
}

.jcproto-topbar__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: var(--jcproto-radius-pill);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #e0e0e0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.jcproto-topbar__lang {
	position: absolute;
	right: 0;
}

/* ── Header — sticky light bar ───────────────────────────────── */
.jcproto-header {
	position: sticky;
	top: 0;
	z-index: var(--jcproto-z-header);
}

#outerContainer_1675246415286,
.jcproto-header__main {
	background-color: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--jcproto-border);
	box-shadow: var(--jcproto-shadow-sm);
}

.jcproto-header__inner {
	min-height: var(--jcproto-header-h);
}

.jcproto-header__logo-col,
.jcproto-header__nav-col {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.jcproto-logo img {
	max-height: 34px;
	margin-left: 0;
	transition: opacity 0.2s ease;
}

.jcproto-logo:hover img {
	opacity: 0.88;
}

.jcproto-header__quote {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: 32px !important;
	line-height: 1 !important;
	padding: 0 18px !important;
	font-size: 14px !important;
	border-radius: var(--jcproto-radius) !important;
	font-weight: 600 !important;
}

.jcproto-header__quote-wrap {
	margin-left: 12px !important;
}

@media (min-width: 990px) {
	.jcproto-nav .navnew-link,
	.jcproto-nav .smsmart > .navnew-item > .navnew-link,
	.jcproto-nav .smsmart > .navnew-item > .navnew-link .text-width {
		color: var(--jcproto-text) !important;
		font-weight: 500 !important;
		font-size: 15px !important;
		line-height: 52px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		transition: color 0.2s ease;
	}

	.jcproto-nav .navnew-link:hover,
	.jcproto-nav .navnew-item:hover > .navnew-link {
		color: var(--jcproto-primary) !important;
		text-decoration: none !important;
	}

	.jcproto-nav .navnew-item.is-current > .navnew-link,
	.jcproto-nav .navnew-item > .navnew-link.is-current {
		color: var(--jcproto-primary) !important;
		border-bottom: 2px solid var(--jcproto-primary) !important;
		font-weight: 600 !important;
	}

	.jcproto-nav .navnew-sub1 {
		border-radius: var(--jcproto-radius-lg);
		box-shadow: var(--jcproto-shadow-lg);
		border: 1px solid var(--jcproto-border);
		padding: 10px 0;
		margin-top: 0;
	}

	.jcproto-nav .navnew-item.jcproto-nav__item--has-children::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		height: 10px;
		z-index: 199;
	}

	.jcproto-nav .navnew-sub1 .navnew-link {
		font-size: 14px !important;
		line-height: 1.5 !important;
		padding: 10px 20px !important;
		color: var(--jcproto-text-body) !important;
	}

	.jcproto-nav .navnew-sub1 .navnew-link:hover {
		color: var(--jcproto-primary) !important;
		background: var(--jcproto-surface);
	}

	.jcproto-nav .navnew-sub2 {
		border-radius: var(--jcproto-radius);
		box-shadow: var(--jcproto-shadow-md);
		border: 1px solid var(--jcproto-border);
	}
}

#outerContainer_1675246415286 .jcproto-nav-toggle .nav-thumb-ham {
	background: var(--jcproto-text);
}

/* ── Homepage hero (legacy LayerSlider + skeleton slider) ─────── */
.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child {
	position: relative;
	background: var(--jcproto-primary-dark);
}

.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: min(28%, 180px);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
	pointer-events: none;
	z-index: 4;
}

.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child .terminal-wrapper.pc,
.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child [class*="sitewidget-206fdc5a"],
.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child .sitewidget-advancedSlider {
	max-height: min(850px, 88vh);
}

.jcproto-page--home .jcproto-legacy-body-wrap .terminal-wrapper.jcproto-ls-fallback .ls-slide .ls-bg,
.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child .ls-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child .jcproto-ls-nav {
	margin-top: 0;
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 6;
	gap: 8px;
}

.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child .jcproto-ls-dot {
	width: 10px;
	height: 10px;
	border: 2px solid rgba(255, 255, 255, 0.65);
	background: transparent;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child .jcproto-ls-dot.ls-nav-active,
.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:first-child .jcproto-ls-dot.is-active {
	background: #ffffff;
	border-color: #ffffff;
	transform: scale(1.15);
}

/* Theme skeleton hero (fallback when no legacy import) */
.jcproto-hero-slider {
	background: var(--jcproto-primary-dark);
}

.jcproto-hero-slider__track {
	aspect-ratio: 1920 / 720;
	max-height: min(720px, 88vh);
}

.jcproto-hero-slider__dot {
	border-color: rgba(255, 255, 255, 0.6);
	transition: background 0.25s ease, transform 0.2s ease;
}

.jcproto-hero-slider__dot.is-active {
	background: #ffffff;
	border-color: #ffffff;
}

/* ── Quote banner above footer ───────────────────────────────── */
#outerContainer_1686733984631.jcproto-quote-banner,
.jcproto-quote-banner {
	background: linear-gradient(135deg, var(--jcproto-primary-dark) 0%, #0a0a0a 50%, #000000 100%) !important;
	padding: clamp(2.75rem, 5vw, 4.25rem) 0;
	position: relative;
	overflow: hidden;
}

.jcproto-quote-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
		radial-gradient(ellipse 40% 60% at 0% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
	pointer-events: none;
}

.jcproto-quote-banner__inner {
	position: relative;
	z-index: 1;
}

.jcproto-quote-banner__title {
	font-family: var(--jcproto-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff !important;
	text-wrap: balance;
}

.jcproto-quote-banner__lead {
	margin: 0 0 1.5rem;
	color: #cbd5e1;
	font-size: 1.0625rem;
	line-height: 1.6;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.jcproto-quote-banner__action {
	margin: 0;
}

.jcproto-quote-banner__btn {
	border-radius: var(--jcproto-radius) !important;
	padding: 14px 28px !important;
	font-size: 15px !important;
	height: auto !important;
	min-height: 48px;
	line-height: 1.4 !important;
	box-sizing: border-box;
	background-color: #ffffff !important;
	border-color: #ffffff !important;
	color: var(--jcproto-primary) !important;
}

.jcproto-quote-banner__btn:hover {
	background-color: #f8f8f8 !important;
	border-color: #f8f8f8 !important;
	color: var(--jcproto-primary) !important;
}

/* ── Footer ──────────────────────────────────────────────────── */
.jcproto-footer__main {
	background: linear-gradient(180deg, var(--jcproto-footer-bg) 0%, var(--jcproto-footer-bottom) 100%) !important;
	padding: clamp(3rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 2.5rem) !important;
	border-top: 3px solid var(--jcproto-primary-hover);
}

.jcproto-footer__grid {
	row-gap: 2rem;
}

.jcproto-footer__title,
.jcproto-footer .graphicNewTitle {
	font-family: var(--jcproto-font-display);
	font-size: 1rem;
	font-weight: 600;
	color: #f1f5f9 !important;
	letter-spacing: 0.02em;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jcproto-footer__links li {
	margin-bottom: 10px;
}

.jcproto-footer__links a {
	color: var(--jcproto-footer-link);
	font-size: 14px;
	line-height: 1.5;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.jcproto-footer__links a:hover {
	color: var(--jcproto-footer-link-hover);
	padding-left: 4px;
	text-decoration: none;
}

.jcproto-footer__muted {
	color: #94a3b8;
	font-size: 14px;
	line-height: 1.65;
}

.jcproto-footer__label {
	color: #e2e8f0;
	margin-top: 1rem;
	margin-bottom: 0.35rem;
}

.jcproto-footer__phone,
.jcproto-footer__email {
	font-size: 15px;
}

.jcproto-footer__phone a,
.jcproto-footer__email a {
	color: #e2e8f0;
	font-weight: 500;
}

.jcproto-footer__phone a:hover,
.jcproto-footer__email a:hover {
	color: var(--jcproto-footer-link-hover);
}

.jcproto-footer__social .follow-a {
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.jcproto-footer__social .follow-a:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.jcproto-footer__iso-img {
	border-radius: var(--jcproto-radius-sm);
}

.jcproto-footer__bottom {
	background-color: var(--jcproto-footer-bottom) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.jcproto-footer__copy {
	color: #64748b;
	font-size: 13px;
	letter-spacing: 0.01em;
}

.jcproto-footer a:hover {
	color: var(--jcproto-footer-link-hover);
}

/* ── Homepage legacy sections ────────────────────────────────── */
.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > .outerContainer:not(:first-child) {
	padding-top: var(--jcproto-section-y);
	padding-bottom: var(--jcproto-section-y);
}

.jcproto-page--home .jcproto-legacy-body-wrap .graphicNewTitle,
.jcproto-page--home .jcproto-legacy-body-wrap .sitewidget-hd h2,
.jcproto-page--home .jcproto-legacy-body-wrap .sitewidget-hd h3 {
	font-family: var(--jcproto-font-display);
	font-weight: 700 !important;
	color: var(--jcproto-text) !important;
	line-height: 1.25 !important;
	letter-spacing: -0.02em;
}

.jcproto-page--home .jcproto-legacy-body-wrap .sitewidget-pictureNew .picture-wrap,
.jcproto-page--home .jcproto-legacy-body-wrap .sitewidget-graphic .graphic-item {
	border-radius: var(--jcproto-radius-lg);
	overflow: hidden;
}

.jcproto-page--home #outerContainer_1675415757527 {
	background-color: var(--jcproto-surface) !important;
}

.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > #outerContainer_1676011612636,
.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > #outerContainer_1684920715865,
.jcproto-page--home .jcproto-legacy-body-wrap #backstage-bodyArea > #outerContainer_1688363766964 {
	background-color: #0f0f0f !important;
}

.jcproto-page--home .jcproto-legacy-body-wrap #outerContainer_1676011612636 a.backstage-component-btncolor:not(.gbBgColor0),
.jcproto-page--home .jcproto-legacy-body-wrap #outerContainer_1684920715865 a.backstage-component-btncolor:not(.gbBgColor0),
.jcproto-page--home .jcproto-legacy-body-wrap #outerContainer_1688363766964 a.backstage-component-btncolor:not(.gbBgColor0) {
	background-color: #ffffff !important;
	border-color: #ffffff !important;
	color: var(--jcproto-primary) !important;
	border-radius: var(--jcproto-radius) !important;
}

.jcproto-page--home .jcproto-legacy-body-wrap #outerContainer_1676011612636 a.backstage-component-btncolor:not(.gbBgColor0):hover,
.jcproto-page--home .jcproto-legacy-body-wrap #outerContainer_1684920715865 a.backstage-component-btncolor:not(.gbBgColor0):hover,
.jcproto-page--home .jcproto-legacy-body-wrap #outerContainer_1688363766964 a.backstage-component-btncolor:not(.gbBgColor0):hover {
	background-color: #f8f8f8 !important;
	border-color: #f8f8f8 !important;
	color: var(--jcproto-primary) !important;
}

.jcproto-page--home .jcproto-legacy-body-wrap .sitewidget-pictureNew-description .picture-description,
.jcproto-page--home .jcproto-legacy-body-wrap .sitewidget-graphicNew .graphic-description {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jcproto-page--home .jcproto-legacy-body-wrap .sitewidget-pictureNew-description:hover .picture-description {
	transform: translateY(-4px);
	box-shadow: var(--jcproto-shadow-md);
}

/* ── Inner legacy pages ──────────────────────────────────────── */
body.jcproto-has-legacy-body .jcproto-legacy-body-wrap .articledetail-title h1 {
	font-family: var(--jcproto-font-display);
	font-weight: 700;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.2;
	color: var(--jcproto-text);
	letter-spacing: -0.02em;
}

body.jcproto-has-legacy-body .jcproto-legacy-body-wrap .articledetail-cont {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--jcproto-text-body);
}

body.jcproto-has-legacy-body .jcproto-legacy-body-wrap .articledetail-cont h2,
body.jcproto-has-legacy-body .jcproto-legacy-body-wrap .articledetail-cont h3 {
	font-family: var(--jcproto-font-display);
	font-weight: 700;
	color: var(--jcproto-text);
	margin-top: 2em;
	margin-bottom: 0.75em;
}

body.jcproto-has-legacy-body .jcproto-legacy-body-wrap .articledetail-cont img {
	border-radius: var(--jcproto-radius);
}

body.jcproto-has-legacy-body .jcproto-legacy-body-wrap .articledetail-cont table {
	border-collapse: collapse;
	border-radius: var(--jcproto-radius);
	overflow: hidden;
	box-shadow: var(--jcproto-shadow-sm);
}

body.jcproto-has-legacy-body .jcproto-legacy-body-wrap .articledetail-cont table th {
	background: var(--jcproto-surface);
	font-weight: 600;
}

/* ── Article list / archive cards ────────────────────────────── */
.jcproto-article-card,
.articlelistWidget .article-item,
.sitewidget-articleListNew .article-item {
	border-radius: var(--jcproto-radius-lg);
	overflow: hidden;
	box-shadow: var(--jcproto-shadow-sm);
	border: 1px solid var(--jcproto-border);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.jcproto-article-card:hover,
.articlelistWidget .article-item:hover,
.sitewidget-articleListNew .article-item:hover {
	box-shadow: var(--jcproto-shadow-md);
	transform: translateY(-2px);
}

.jcproto-article-search input[type="search"] {
	border-radius: var(--jcproto-radius);
	border: 1px solid var(--jcproto-border);
	padding: 12px 16px;
	font-size: 15px;
}

.jcproto-article-search button {
	border-radius: var(--jcproto-radius);
	background: var(--jcproto-primary);
	border: none;
	font-weight: 600;
	cursor: pointer;
}

/* ── Forms ───────────────────────────────────────────────────── */
.jcproto-legacy-body-wrap .sitewidget-inquire input[type="text"],
.jcproto-legacy-body-wrap .sitewidget-inquire input[type="email"],
.jcproto-legacy-body-wrap .sitewidget-inquire textarea,
.jcproto-legacy-body-wrap .sitewidget-form input[type="text"],
.jcproto-legacy-body-wrap .sitewidget-form input[type="email"],
.jcproto-legacy-body-wrap .sitewidget-form textarea,
.jcproto-article--contact input[type="text"],
.jcproto-article--contact input[type="email"],
.jcproto-article--contact textarea,
.jcproto-article--quote input[type="text"],
.jcproto-article--quote input[type="email"],
.jcproto-article--quote textarea {
	border-radius: var(--jcproto-radius);
	border: 1px solid var(--jcproto-border);
	padding: 12px 14px;
	font-size: 15px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jcproto-legacy-body-wrap .sitewidget-inquire input:focus,
.jcproto-legacy-body-wrap .sitewidget-form input:focus,
.jcproto-legacy-body-wrap .sitewidget-inquire textarea:focus,
.jcproto-legacy-body-wrap .sitewidget-form textarea:focus {
	border-color: var(--jcproto-primary);
	box-shadow: 0 0 0 3px rgba(15, 79, 134, 0.15);
	outline: none;
}

/* ── Accessibility ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.jcproto-btn:focus-visible,
.jcproto-header .backstage-component-btncolor:focus-visible,
.jcproto-nav .navnew-link:focus-visible,
.jcproto-quote-banner__btn:focus-visible {
	outline: 2px solid var(--jcproto-accent);
	outline-offset: 2px;
}

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 989px) {
	.jcproto-topbar__items {
		flex-direction: column;
		gap: 6px;
	}

	.jcproto-topbar__lang {
		position: static;
		transform: none;
	}

	.jcproto-header__main {
		backdrop-filter: none;
	}
}

/* ── Desktop large screens (1440+) ─────────────────────────────── */
@media (min-width: 1400px) {
	:root {
		--jcproto-header-h: 56px;
	}

	.jcproto-topbar__item {
		font-size: 14px;
	}

	.jcproto-topbar__badge {
		font-size: 12px;
		padding: 4px 12px;
	}

	.jcproto-logo img {
		max-height: 36px;
	}

	.jcproto-header .jcproto-logo img {
		filter: brightness(0) saturate(100%);
	}

	.jcproto-header__quote {
		height: 34px !important;
		padding: 0 20px !important;
		font-size: 15px !important;
	}

	.jcproto-nav .navnew-link,
	.jcproto-nav .smsmart > .navnew-item > .navnew-link,
	.jcproto-nav .smsmart > .navnew-item > .navnew-link .text-width {
		font-size: 16px !important;
		line-height: var(--jcproto-header-h) !important;
	}

	.jcproto-nav .navnew-sub1 .navnew-link {
		font-size: 15px !important;
	}
}
