/*
 * Trivanta for Elementor.
 * Layout, spacing, colours and type live in Elementor. This file adds what Elementor can't:
 * the sticky header and its dropdown menu, hover effects, the gold chips, the marquee,
 * decorative arcs and the inquiry form. Selectors are kept low in specificity so anything
 * you change in Elementor wins.
 */

:root {
	--tv-deep: #0F3F44;
	--tv-midnight: #0B1B2B;
	--tv-navy: #19384D;
	--tv-ink: #14212B;
	--tv-slate: #46525D;
	--tv-muted: #66727D;
	--tv-line: #DCE6E4;
	--tv-tint: #E6F2F0;
	--tv-tint2: #F2F8F7;
	--tv-teal: #28827B;
	--tv-teal-dark: #1F6B65;
	--tv-gold: #D1A862;
	--tv-mist: #B9C9CC;
	--tv-ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #FFFFFF;
	color: var(--tv-slate);
	font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--tv-navy); }
a:hover { color: var(--tv-teal-dark); }
.tv-main { display: block; overflow-x: clip; }
[id] { scroll-margin-top: 110px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; left: 16px; top: 16px; z-index: 1000;
	width: auto; height: auto; clip: auto; padding: 12px 18px;
	background: var(--tv-navy); color: #fff; border-radius: 999px;
}
:focus-visible { outline: 2px solid var(--tv-gold); outline-offset: 3px; }

/* Lists from Elementor's Icon List widget never show browser bullets or indents */
.elementor-icon-list-items { list-style: none; margin: 0; padding: 0; }

/* Text widgets: tidy paragraph spacing, links inherit the text colour */
.elementor-widget-text-editor p { margin: 0; }
.elementor-widget-text-editor p + p { margin-top: 1em; }
.tv-site .elementor-widget-text-editor a { color: inherit; text-decoration: none; transition: color .2s ease; }
.tv-site .elementor-widget-text-editor a:hover { color: var(--tv-gold); }
.elementor-heading-title a { color: inherit; }

/* ---------- Eyebrow labels with the gold dot ---------- */
.tv-eyebrow .elementor-heading-title { display: flex; align-items: center; gap: 10px; }
.tv-eyebrow .elementor-heading-title::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--tv-gold); }
.tv-eyebrow--plain .elementor-heading-title::before { display: none; }
.elementor-widget-heading.tv-eyebrow .elementor-heading-title[style*="text-align: center"],
.tv-shead .tv-eyebrow .elementor-heading-title { justify-content: center; }

/* Breadcrumb */
.tv-site .tv-breadcrumb a { color: inherit; }
.tv-site .tv-breadcrumb a:hover { color: #fff; }
.tv-breadcrumb .tv-sep { padding: 0 10px; opacity: .5; }
.tv-breadcrumb .tv-current { color: var(--tv-gold); }

/* ---------- Line icons (uploaded SVGs are drawn as strokes) ---------- */
.tv-ico svg:not(.e-font-icon-svg),
.elementor-button-icon svg:not(.e-font-icon-svg) { fill: none !important; stroke: currentColor; }
.elementor-button-icon svg { width: 18px; height: 18px; }
.tv-ulink .elementor-button-icon svg { width: 20px; height: 20px; }
.tv-list .elementor-icon-list-icon svg { width: 18px; height: 18px; }
.tv-circ .elementor-icon { transition: transform .3s var(--tv-ease), background-color .3s ease; }
.tv-ncirc .elementor-heading-title { line-height: 1; }

/* ---------- Cards ---------- */
.tv-card { transition: transform .3s var(--tv-ease), box-shadow .3s ease, border-color .3s ease; text-decoration: none; }
a.tv-card, a.tv-card:hover { color: inherit; }
.tv-card--link:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(40, 130, 123, .14); border-color: var(--tv-teal) !important; }
.tv-card--link:hover .tv-ulink .elementor-button-icon { transform: translateX(6px); }
.tv-push { margin-top: auto !important; }
.tv-inset { padding-left: 10px; padding-right: 10px; }
.tv-float { box-shadow: 0 30px 70px rgba(11, 27, 43, .22); }
.e-con.tv-hpanel, .e-con.tv-cpanel, .e-con.tv-map, .e-con.tv-band { position: relative; }

/* Numbers in the tinted step cards get a short gold rule */
.tv-tnum .elementor-heading-title { display: inline-block; padding-bottom: 10px; border-bottom: 2px solid var(--tv-gold); }

/* Overlapping icon trio in the hero */
.tv-stack .tv-circ + .tv-circ { margin-left: -16px; }
.tv-stack .tv-circ .elementor-icon { border: 3px solid #fff; }

/* ---------- Buttons ---------- */
.tv-pill .elementor-button { transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.tv-pill .elementor-button:hover { transform: translateY(-2px); }
.tv-pill--gold .elementor-button { box-shadow: 0 12px 26px rgba(209, 168, 98, .3); }
.tv-pill--gold .elementor-button:hover { box-shadow: none; }
.tv-pill .elementor-button-icon, .tv-ulink .elementor-button-icon { transition: transform .25s ease; }
.tv-pill .elementor-button:hover .elementor-button-icon, .tv-ulink .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
/* "Contact Trivanta": outlined pill with the arrow in a navy circle */
.tv-pill--play .elementor-button { padding-top: 7px !important; padding-bottom: 7px !important; padding-right: 7px !important; }
.tv-pill--play .elementor-button-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; margin-left: 6px; border-radius: 50%; background: var(--tv-navy); color: #fff;
}
.tv-pill--play .elementor-button:hover .elementor-button-icon { background: #fff; color: var(--tv-navy); transform: none; }

/* ---------- Dark bands with faint arcs ---------- */
.tv-band::before, .tv-band::after {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%;
}
.tv-band::before { width: 720px; height: 720px; left: -240px; top: -360px; }
.tv-band::after { width: 900px; height: 900px; right: -300px; bottom: -500px; }
.tv-band > .e-con-inner, .tv-band > .elementor-element { position: relative; z-index: 1; }
.tv-sparkle { pointer-events: none; }

/* ---------- Gold check chips (Icon List, inline) ---------- */
.tv-chips .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 10px; }
.tv-chips .elementor-icon-list-item {
	display: inline-flex !important; align-items: center; gap: 8px; height: 36px; margin: 0 !important; padding: 0 14px 0 6px !important;
	border-radius: 999px; background: var(--tv-gold); white-space: nowrap;
}
.tv-chips .elementor-icon-list-item::after { display: none !important; }
.tv-chips .elementor-icon-list-icon {
	display: flex !important; align-items: center; justify-content: center; flex: none;
	width: 24px; height: 24px; border-radius: 50%; background: var(--tv-midnight); color: var(--tv-gold) !important;
}
.tv-chips .elementor-icon-list-icon svg { width: 12px !important; height: 12px !important; fill: none !important; stroke: var(--tv-gold); }
.tv-chips .elementor-icon-list-text { padding: 0 !important; }
.tv-chips--grid .elementor-icon-list-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tv-chips--grid .elementor-icon-list-item { width: 100%; height: 42px; padding-left: 8px !important; white-space: normal; }
@media (max-width: 767px) { .tv-chips--grid .elementor-icon-list-items { grid-template-columns: 1fr; } }

/* Related services (Icon List, inline) as outlined pills */
.tv-rel .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 12px; }
.tv-rel .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.tv-rel .elementor-icon-list-item::after { display: none !important; }
.tv-rel .elementor-icon-list-item a {
	display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border: 1px solid var(--tv-line); border-radius: 999px;
	background: #fff; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.tv-rel .elementor-icon-list-item a:hover { background: var(--tv-teal); border-color: var(--tv-teal); }
.tv-rel .elementor-icon-list-item a:hover .elementor-icon-list-text, .tv-rel .elementor-icon-list-item a:hover .tv-rel__n { color: #fff !important; }
.tv-rel .elementor-icon-list-text { padding: 0 !important; }
.tv-rel__n { color: var(--tv-teal-dark); font-size: 12px; letter-spacing: .06em; margin-right: 10px; transition: color .2s ease; }

/* ---------- Marquee (HTML widget) ---------- */
.tv-marquee { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tv-marquee__t { display: inline-flex; gap: 56px; animation: tvMarquee 40s linear infinite; }
.tv-marquee__t span { display: inline-flex; align-items: center; gap: 16px; font-size: 24px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.tv-marquee__t span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tv-gold); }
@keyframes tvMarquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .tv-marquee__t span { font-size: 18px; } }

/* ---------- Contact panel and location ---------- */
.tv-cpanel::after { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; bottom: -260px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; pointer-events: none; }
.tv-cpanel > .elementor-element { position: relative; z-index: 1; }
.tv-cpanel__value a, .tv-site .tv-cpanel__value a:hover { color: #fff; }
.tv-map { background-image: linear-gradient(rgba(25, 56, 77, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 56, 77, .07) 1px, transparent 1px) !important; background-size: 56px 56px !important; overflow: hidden; }
.tv-map::before, .tv-map::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(25, 56, 77, .14); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.tv-map::before { width: 360px; height: 360px; }
.tv-map::after { width: 560px; height: 560px; border-color: rgba(25, 56, 77, .08); }
.tv-map > .elementor-element { position: relative; z-index: 1; }

/* ---------- Site header ---------- */
.tv-site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-radius: 0 0 22px 22px; transition: box-shadow .3s ease; }
.tv-site-header.is-stuck { box-shadow: 0 12px 30px rgba(11, 27, 43, .08); }
.admin-bar .tv-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tv-site-header { top: 46px; } }
.tv-header { border-bottom: 1px solid var(--tv-line); border-radius: 0 0 22px 22px; }
.tv-logo, .tv-site a.tv-logo, .tv-site a.tv-logo:hover { text-decoration: none; }
.tv-topbar__mail .elementor-icon-list-icon { color: var(--tv-teal) !important; }

.tv-nav { display: flex; justify-content: center; }
.tv-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 36px; }
.tv-nav__menu li { position: relative; margin: 0; }
.tv-site .tv-nav__menu a {
	display: inline-flex; align-items: center; padding: 12px 0;
	font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.2;
	color: var(--tv-ink); text-decoration: none; transition: color .2s ease;
}
.tv-site .tv-nav__menu a:hover,
.tv-site .tv-nav__menu .current-menu-item > a, .tv-site .tv-nav__menu .current-menu-ancestor > a, .tv-site .tv-nav__menu .current-menu-parent > a,
.tv-site .tv-nav__menu a[aria-current="page"] { color: var(--tv-teal-dark); }
.tv-nav__menu > .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 9px; position: relative; top: -2px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7;
}
/* Dropdown */
.tv-nav__menu .sub-menu {
	position: absolute; top: 100%; left: 50%; z-index: 80; min-width: 300px; margin: 0; padding: 10px; list-style: none;
	background: #fff; border: 1px solid var(--tv-line); border-radius: 16px; box-shadow: 0 30px 70px rgba(11, 27, 43, .14);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.tv-nav__menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.tv-nav__menu > li:hover > .sub-menu, .tv-nav__menu > li:focus-within > .sub-menu, .tv-nav__menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tv-site .tv-nav__menu .sub-menu a { display: block; padding: 11px 14px; border-radius: 10px; font-size: 15px; color: var(--tv-ink); white-space: nowrap; }
.tv-site .tv-nav__menu .sub-menu a:hover, .tv-site .tv-nav__menu .sub-menu .current-menu-item > a { background: var(--tv-tint2); color: var(--tv-teal-dark); }
.tv-nav__toggle, .tv-nav__cta { display: none; }

@media (max-width: 1024px) {
	.tv-nav { justify-content: flex-end; }
	.tv-nav__toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 48px; height: 48px; padding: 0; background: #fff; border: 1px solid var(--tv-line); border-radius: 50%;
		color: var(--tv-navy); cursor: pointer;
	}
	.tv-nav__bars, .tv-nav__bars::before, .tv-nav__bars::after {
		display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
	}
	.tv-nav__bars { position: relative; }
	.tv-nav__bars::before, .tv-nav__bars::after { content: ""; position: absolute; left: 0; }
	.tv-nav__bars::before { top: -6px; }
	.tv-nav__bars::after { top: 6px; }
	.tv-nav.is-open .tv-nav__bars { background: transparent; }
	.tv-nav.is-open .tv-nav__bars::before { transform: translateY(6px) rotate(45deg); }
	.tv-nav.is-open .tv-nav__bars::after { transform: translateY(-6px) rotate(-45deg); }
	/* The panel drops down from the bottom of the header */
	.tv-nav-widget, .tv-nav-widget > .elementor-widget-container, .tv-nav-widget .elementor-shortcode, .tv-nav { position: static !important; }
	.tv-nav__panel {
		display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 70;
		max-height: calc(100vh - 80px); overflow-y: auto;
		padding: 8px 24px 28px; background: #fff; border-bottom: 1px solid var(--tv-line); border-radius: 0 0 22px 22px;
		box-shadow: 0 24px 48px -24px rgba(11, 27, 43, .35);
	}
	.tv-nav.is-open .tv-nav__panel { display: block; }
	.tv-nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
	.tv-site .tv-nav__menu a { display: flex; justify-content: space-between; padding: 16px 0; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--tv-line); color: var(--tv-navy) !important; }
	.tv-nav__menu > .menu-item-has-children > a::after { display: none; }
	.tv-nav__menu .sub-menu { position: static; min-width: 0; margin: 0; padding: 6px 0 10px 16px; border: 0; border-bottom: 1px solid var(--tv-line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.tv-site .tv-nav__menu .sub-menu a { padding: 10px 0; border: 0; font-size: 16px; font-weight: 500; color: var(--tv-slate) !important; background: none !important; }
	.tv-site .tv-nav__cta {
		display: flex; align-items: center; justify-content: center; margin-top: 20px; height: 52px;
		background: var(--tv-gold); color: var(--tv-midnight); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
	}
	.tv-site .tv-nav__cta:hover { color: #fff; background: var(--tv-navy); }
	.tv-header { border-radius: 0; }
	.tv-site-header { border-radius: 0; }
}

/* ---------- Site footer ---------- */
.tv-footer-links .elementor-icon-list-text { transition: color .2s ease; }
.tv-footer-contact .elementor-icon-list-icon {
	display: flex !important; align-items: center; justify-content: center; flex: none;
	width: 36px; height: 36px; margin-right: 12px; border-radius: 50%; background: var(--tv-teal); color: #fff !important;
}
.tv-footer-contact .elementor-icon-list-icon svg { width: 16px !important; height: 16px !important; }
.tv-footer-contact .elementor-icon-list-item { align-items: flex-start; }
.tv-site .tv-footer-legal a { color: #fff; }
.tv-site .tv-footer-legal a:hover { color: var(--tv-gold); }

/* ---------- Inquiry form ---------- */
.tv-form { display: flex; flex-direction: column; gap: 24px; margin: 0; font-family: 'Roboto', sans-serif; color: var(--tv-ink); position: relative; }
.tv-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.tv-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.tv-field--full { grid-column: 1 / -1; }
.tv-field label { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--tv-navy); }
.tv-form input[type="text"], .tv-form input[type="email"], .tv-form input[type="tel"], .tv-form select, .tv-form textarea {
	width: 100%; height: 52px; padding: 0 16px; margin: 0;
	border: 1px solid var(--tv-line); border-radius: 12px; background: var(--tv-tint2);
	font-family: inherit; font-size: 15px; line-height: 1.4; color: var(--tv-ink);
	transition: border-color .2s ease, background-color .2s ease;
}
.tv-form textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.tv-form input::placeholder, .tv-form textarea::placeholder { color: #98A3AC; }
.tv-form input:focus, .tv-form select:focus, .tv-form textarea:focus { outline: none; border-color: var(--tv-teal); background: #fff; }
.tv-select { position: relative; display: block; }
.tv-select select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.tv-select svg { position: absolute; right: 16px; top: 17px; pointer-events: none; color: var(--tv-navy); }
.tv-form__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 8px; }
.tv-form__submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 32px;
	background: var(--tv-gold); color: var(--tv-midnight); border: 0; border-radius: 999px; box-shadow: 0 12px 26px rgba(209, 168, 98, .3);
	font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
	transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.tv-form__submit:hover { background: var(--tv-navy); color: #fff; box-shadow: none; transform: translateY(-2px); }
.tv-form__submit svg { transition: transform .25s ease; }
.tv-form__submit:hover svg { transform: translateX(4px); }
.tv-form__note { margin: 0; max-width: 320px; font-size: 13px; line-height: 1.5; color: var(--tv-muted); }
.tv-form__sent { padding: 24px 28px; border-radius: 16px; background: var(--tv-tint); color: var(--tv-navy); }
.tv-form__sent p { margin: 0; }
.tv-form__sent-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.tv-form__sent-title svg { color: var(--tv-teal); flex-shrink: 0; }
.tv-form__sent p + p { margin-top: 6px; font-size: 15px; color: var(--tv-slate); }
.tv-form__status { margin: 0; font-size: 14px; font-weight: 500; }
.tv-form__status.is-error { color: #A32424; }
.tv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 767px) {
	.tv-form__grid { grid-template-columns: 1fr; gap: 18px; }
	.tv-form__submit { width: 100%; }
}

/* ---------- Scroll reveal (Elementor entrance animation "Fade In Up") ---------- */
@keyframes tvFadeUp {
	from { opacity: 0; transform: translate3d(0, 24px, 0); }
	to { opacity: 1; transform: none; }
}
.elementor-element.animated.fadeInUp { animation-name: tvFadeUp; animation-duration: .9s; animation-timing-function: var(--tv-ease); }
.elementor-element.animated.fadeInUp.animated-fast { animation-duration: .6s; }
.elementor-element.animated.fadeInUp.animated-slow { animation-duration: 1.4s; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.elementor-invisible { visibility: visible !important; }
	.elementor-element.animated { animation: none !important; }
	.tv-marquee__t { animation: none; }
	.tv-pill .elementor-button:hover, .tv-card--link:hover { transform: none; }
}

/* ---------- Pages not built with Elementor, and the plain fallback header/footer ---------- */
.tv-page { max-width: 880px; margin: 0 auto; padding: 88px 24px 128px; }
.tv-page__eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tv-teal-dark); }
.tv-page__title { margin: 16px 0 32px; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -.02em; color: var(--tv-navy); }
.tv-page__button { display: inline-flex; align-items: center; height: 52px; padding: 0 28px; background: var(--tv-gold); color: var(--tv-midnight); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.tv-entry + .tv-entry { margin-top: 48px; }
.tv-entry__title { font-size: 28px; line-height: 1.2; }
.tv-entry__title a { color: var(--tv-navy); text-decoration: none; }
.tv-entry__content { font-size: 17px; line-height: 1.7; color: var(--tv-slate); }
.tv-fallback-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; padding: 0 24px; border-bottom: 1px solid var(--tv-line); }
.tv-fallback-header__brand { font-size: 22px; font-weight: 700; color: var(--tv-navy); text-decoration: none; }
.tv-fallback-footer { margin-top: 24px; padding: 40px 24px; background: var(--tv-midnight); color: var(--tv-mist); font-size: 14px; }
