:root {
	--ptm-muted: #6c757d;
	--ptm-accent: #0d6efd;
	--ptm-navy-900: #0d1b3d;
	--ptm-navy-800: #132a59;
}

.site-header .container {
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
	transition: padding 220ms ease;
}

.site-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.site-logo {
	height: 100px;
	width: auto;
	max-width: min(82vw, 360px);
	transition: height 220ms ease, max-width 220ms ease;
}

.site-header-nav {
	margin-top: 0;
}

.site-header-nav .nav {
	gap: 0.4rem;
}

.site-header-nav .nav-link {
	color: #0a2a66;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
}

.site-header-nav .nav-link:hover,
.site-header-nav .nav-link:focus-visible {
	background: rgba(13, 110, 253, 0.1);
}

.site-header-nav .nav-link.is-active,
.site-header-nav .nav-link[aria-current="true"] {
	background: rgba(13, 110, 253, 0.18);
	color: #0a2a66;
}

.site-header.is-compact .container {
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
}

.site-header.is-compact .site-logo {
	height: 56px;
	max-width: min(62vw, 240px);
}

.site-header.is-compact .site-header-nav {
	margin-top: 0;
}

.site-header.is-compact .site-header-nav .nav-link {
	font-size: 0.88rem;
	padding: 0.2rem 0.55rem;
}

@media (max-width: 991.98px) {
	.site-header .container {
		justify-content: center !important;
	}
}

@media (max-width: 575.98px) {
	.site-logo {
		height: 76px;
	}

	.site-header.is-compact .site-logo {
		height: 48px;
	}
}

.hero {
	background: linear-gradient(180deg, rgba(13,110,253,0.08), rgba(255,255,255,0));
}

#title-manager,
#gallery,
#request-demo {
	scroll-margin-top: 160px;
}

.tm-intro-wrap {
	display: grid;
	gap: 1rem;
}

.tm-intro-copy,
.tm-partner-copy {
	padding: 0;
	border-radius: 0;
	border: 0;
	box-shadow: none;
}

.tm-intro-copy {
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(13, 110, 253, 0.18);
}

.tm-partner-copy {
	padding-top: 0.15rem;
}

.tm-tagline {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: rgba(13, 110, 253, 0.12);
	color: #084298;
}

.tm-tagline-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.tm-product-name {
	font-weight: 700;
	color: #0a2a66;
}

.tm-hero-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ff8000;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	padding: 0.65rem 1.4rem;
	border-radius: 999px;
	line-height: 1;
	transition: background-color 160ms ease, transform 160ms ease;
}

.tm-hero-cta-btn:hover,
.tm-hero-cta-btn:focus-visible {
	background: #e67300;
	color: #ffffff;
	transform: translateY( -1px );
}

.tm-partner-copy ul {
	margin: 0;
	padding-left: 1.2rem;
}

.tm-partner-copy li {
	font-weight: 600;
	margin-bottom: 0.45rem;
}

.tm-partner-copy li:last-child {
	margin-bottom: 0;
}

.tm-gallery-band {
	background: linear-gradient(160deg, var(--ptm-navy-900), var(--ptm-navy-800));
	color: #ffffff;
}

.tm-gallery-band h2 {
	color: #ffffff;
}

.tm-gallery-band .text-light-emphasis {
	color: rgba(255, 255, 255, 0.75) !important;
}

.tm-gallery-trigger {
	width: 100%;
	display: block;
	padding: 0;
	border: 0;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.tm-gallery-trigger:hover,
.tm-gallery-trigger:focus-visible {
	transform: translateY( -2px );
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.tm-gallery-trigger img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.tm-gallery-meta-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.25;
}

.tm-gallery-meta-caption {
	font-size: 0.78rem;
	color: rgba(229, 238, 255, 0.82);
	line-height: 1.35;
	margin-top: 0.2rem;
}

.tm-gallery-modal .modal-content {
	background: #f7f9ff;
}

.tm-gallery-lightbox-frame {
	position: relative;
	border-radius: 12px;
	background: #ffffff;
	padding: 0.75rem 2.75rem;
}

.tm-gallery-lightbox-frame img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(70vh, 780px);
	object-fit: contain;
}

.tm-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	width: 2.1rem;
	height: 2.1rem;
	border: 0;
	border-radius: 999px;
	background: rgba(13, 27, 61, 0.9);
	color: #ffffff;
	font-size: 1.6rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tm-gallery-prev {
	left: 0.45rem;
}

.tm-gallery-next {
	right: 0.45rem;
}

@media (min-width: 992px) {
	.tm-intro-wrap {
		grid-template-columns: 1.35fr 1fr;
		gap: 2rem;
		align-items: start;
	}

	.tm-intro-copy {
		padding-right: 1.25rem;
		padding-bottom: 0;
		border-bottom: 0;
		border-right: 1px solid rgba(13, 110, 253, 0.18);
	}

	.tm-partner-copy {
		padding-top: 0;
	}
}

.panel {
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 10px;
	padding: 24px;
	background: #fff;
}

.form-section {
	padding: 0;
	border: 0;
	background: transparent;
}

.form-section + .form-section {
	padding-top: 1.5rem;
	border-top: 1px solid rgba(10, 42, 102, 0.12);
}

.form-section .form-control {
	color: #17233a;
}

.form-section .form-control::placeholder {
	color: #8b95a7;
	opacity: 1;
}

.form-status {
	border-radius: 12px;
	padding: 0.72rem 0.95rem;
	margin-bottom: 1rem;
	font-size: 0.95rem;
	font-weight: 500;
	border: 1px solid transparent;
}

.form-status-success {
	background: rgba(25, 135, 84, 0.1);
	border-color: rgba(25, 135, 84, 0.3);
	color: #0f5132;
}

.form-status-error {
	background: rgba(220, 53, 69, 0.1);
	border-color: rgba(220, 53, 69, 0.28);
	color: #842029;
}

.integration-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
}

@media (min-width: 768px) {
	.integration-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tm-submit-btn {
	background: #0a2a66;
	color: #fff;
	border: 1px solid #0a2a66;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.52rem 1.2rem;
}

.tm-submit-btn:hover,
.tm-submit-btn:focus-visible {
	background: #123a84;
	color: #fff;
	border-color: #123a84;
}

.icon-tile {
	border: 2px solid rgba(0,0,0,0.12);
	border-radius: 10px;
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	user-select: none;
	transition: border-color 120ms ease, background-color 120ms ease;
}

.icon-tile.selected {
	border-color: #0d6efd;
	background: rgba(13,110,253,0.06);
}

.icon-badge {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.05);
	font-weight: 700;
	color: rgba(0,0,0,0.6);
}

.cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: transparent;
	display: none;
	z-index: 1060;
}

.cookie-banner.show {
	display: block;
}

.cookie-banner-inner {
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(10, 42, 102, 0.12);
	border-radius: 16px;
	padding: 0.95rem 1rem;
	box-shadow: 0 12px 32px rgba(7, 17, 36, 0.18);
	backdrop-filter: blur( 12px );
	-webkit-backdrop-filter: blur( 12px );
	transition: background-color 160ms ease;
}

.cookie-banner-inner:hover,
.cookie-banner-inner:focus-within {
	background: rgba(255, 255, 255, 1);
}

.cookie-btn {
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid transparent;
	background: transparent;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.cookie-btn-primary {
	background: #0a2a66;
	border-color: #0a2a66;
	color: #fff;
}

.cookie-btn-primary:hover,
.cookie-btn-primary:focus-visible {
	background: #123a84;
	border-color: #123a84;
	color: #fff;
}

.cookie-btn-secondary {
	background: rgba(10, 42, 102, 0.08);
	border-color: rgba(10, 42, 102, 0.18);
	color: #0a2a66;
}

.cookie-btn-secondary:hover,
.cookie-btn-secondary:focus-visible {
	background: rgba(10, 42, 102, 0.14);
	border-color: rgba(10, 42, 102, 0.28);
	color: #0a2a66;
}

.kpi {
	font-size: 0.95rem;
	color: var(--ptm-muted);
}

.hero-carousel img {
	width: 100%;
	height: 320px;
	object-fit: cover;
}

@media (min-width: 992px) {
	.hero-carousel img {
		height: 380px;
	}
}

.panel.feature-card {
	display: flex;
	flex-direction: column;
}

.panel.feature-card .btn {
	align-self: center;
}


/* ============================================================
   Accordion Styling (Configure your PTM)
   ============================================================ */

.accordion-button {
	position: relative;
	width: 100%;
}

.accordion-button:focus {
	outline: none;
	box-shadow: none;
}

.accordion-button:not(.collapsed) {
	box-shadow: none;
	background-color: #fff;
}

/* Pill aligned to right before chevron */
.accordion-button .selection-pill {
	position: absolute;
	right: 3rem; /* space before chevron */
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.42em 0.8em;
	line-height: 1;
	letter-spacing: 0.2px;
	border-radius: 50rem;
}

/* Softer muted grey for 0 Selected */
.selection-pill.bg-secondary {
	background-color: rgba(108,117,125,0.18) !important;
	color: rgba(33,37,41,0.75) !important;
}

/* Strong Bootstrap green for selections */
.selection-pill.bg-success {
	background-color: #198754 !important;
	color: #ffffff !important;
}

.site-footer {
	background: #273342;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(241, 246, 255, 0.9);
}

.site-footer .text-muted,
.site-footer .small {
	color: rgba(223, 233, 247, 0.86) !important;
}

.site-footer a {
	color: #dbe8ff;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: #ffffff;
}

.site-footer #cookiePrefsBtn {
	color: #dbe8ff;
	border-color: rgba(219, 232, 255, 0.5);
}

.site-footer #cookiePrefsBtn:hover,
.site-footer #cookiePrefsBtn:focus-visible {
	background: rgba(219, 232, 255, 0.14);
	border-color: rgba(219, 232, 255, 0.85);
	color: #ffffff;
}
