/* ==========================================================================
   TRANSAVA theme — loaded after Bootstrap 5 and Bootstrap Icons.
   Brand colours from the logo: sky #3aaadc, grey #7b7c7e.
   ========================================================================== */

:root {
	--tv-sky: #3aaadc;          /* logo blue: accents, icons, text on dark */
	--tv-sky-rgb: 58, 170, 220;
	--tv-primary: #1a7db0;      /* buttons/links on white (AA 4.5:1) */
	--tv-primary-rgb: 26, 125, 176;
	--tv-primary-dark: #176f9e;
	--tv-grey: #7b7c7e;         /* logo grey */
	--tv-muted: #5e6064;        /* secondary text (AA) */
	--tv-ink: #0f2433;          /* headings, dark sections */
	--tv-ink-2: #14304a;
	--tv-mist: #f2f6f9;         /* light sections */
	--tv-line: #dfe7ee;
	--tv-radius: 1rem;
	--tv-radius-lg: 1.5rem;
	--tv-shadow: 0 1px 2px rgba(15, 36, 51, .06), 0 8px 24px rgba(15, 36, 51, .06);
	--tv-shadow-lg: 0 2px 4px rgba(15, 36, 51, .06), 0 24px 48px rgba(15, 36, 51, .12);
	--tv-header-h: 76px;

	/* Bootstrap overrides */
	--bs-primary: var(--tv-primary);
	--bs-primary-rgb: var(--tv-primary-rgb);
	--bs-secondary: var(--tv-grey);
	--bs-link-color: var(--tv-primary);
	--bs-link-color-rgb: var(--tv-primary-rgb);
	--bs-link-hover-color: var(--tv-primary-dark);
	--bs-link-hover-color-rgb: 23, 111, 158;
	--bs-body-color: #26343f;
	--bs-body-color-rgb: 38, 52, 63;
	--bs-heading-color: var(--tv-ink);
	--bs-secondary-color: var(--tv-muted);
	--bs-border-color: var(--tv-line);
	--bs-border-radius: .625rem;
	--bs-border-radius-lg: var(--tv-radius);
	--bs-focus-ring-color: rgba(var(--tv-sky-rgb), .35);
	--bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

html { scroll-padding-top: calc(var(--tv-header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
::selection { background: rgba(var(--tv-sky-rgb), .25); }
:focus-visible { outline: 3px solid rgba(var(--tv-sky-rgb), .6); outline-offset: 2px; }

.btn-primary {
	--bs-btn-bg: var(--tv-primary);
	--bs-btn-border-color: var(--tv-primary);
	--bs-btn-hover-bg: var(--tv-primary-dark);
	--bs-btn-hover-border-color: var(--tv-primary-dark);
	--bs-btn-active-bg: #135e86;
	--bs-btn-active-border-color: #135e86;
	--bs-btn-focus-shadow-rgb: var(--tv-sky-rgb);
	--bs-btn-disabled-bg: var(--tv-primary);
	--bs-btn-disabled-border-color: var(--tv-primary);
}
.btn-outline-primary {
	--bs-btn-color: var(--tv-primary);
	--bs-btn-border-color: var(--tv-primary);
	--bs-btn-hover-bg: var(--tv-primary);
	--bs-btn-hover-border-color: var(--tv-primary);
	--bs-btn-active-bg: var(--tv-primary-dark);
	--bs-btn-active-border-color: var(--tv-primary-dark);
}
.btn { font-weight: 600; border-radius: 999px; padding-inline: 1.35rem; }
.btn-lg { padding-inline: 1.75rem; font-size: 1.05rem; }
.btn .bi { transition: transform .2s ease; }
.btn:hover .bi-arrow-right { transform: translateX(3px); }
.btn-outline-light:hover { color: var(--tv-ink); }

.tv-skip-link { position: absolute; z-index: 2000; top: .5rem; left: .5rem; padding: .5rem 1rem; background: #fff; border-radius: .5rem; box-shadow: var(--tv-shadow); }

/* ---------- Top bar & header ---------- */
.tv-topbar { background: var(--tv-ink); font-size: .875rem; padding: .4rem 0; }
.tv-topbar a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.tv-topbar a:hover { color: #fff; }
.tv-topbar .bi { color: var(--tv-sky); margin-right: .3rem; }

.tv-header { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.tv-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 36, 51, .08); border-bottom-color: var(--tv-line); }
.tv-header .navbar { min-height: var(--tv-header-h); padding-block: .75rem; }
.tv-logo { display: inline-flex; align-items: center; padding: 0; margin-right: 1.5rem; }
.tv-logo-img { display: block; height: 26px; width: auto; max-width: 100%; }
.tv-header .navbar-toggler { border: 0; font-size: 1.75rem; color: var(--tv-ink); padding: .25rem .5rem; }
.tv-header .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(var(--tv-sky-rgb), .35); }

.tv-header .nav-link { color: var(--tv-ink); font-weight: 600; font-size: .95rem; padding: .5rem .85rem !important; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.tv-header .nav-link:hover,
.tv-header .nav-link:focus-visible { color: var(--tv-primary); background: rgba(var(--tv-sky-rgb), .08); }
.tv-header .nav-link.active { color: var(--tv-primary); }
.tv-header .dropdown-menu { border: 1px solid var(--tv-line); border-radius: var(--tv-radius); box-shadow: var(--tv-shadow-lg); padding: .5rem; min-width: 15rem; }
.tv-header .dropdown-item { border-radius: .6rem; padding: .55rem .85rem; font-weight: 500; color: var(--tv-ink); }
.tv-header .dropdown-item:hover,
.tv-header .dropdown-item:focus { background: var(--tv-mist); color: var(--tv-primary); }
.tv-header .dropdown-item.active,
.tv-header .dropdown-item:active { background: rgba(var(--tv-sky-rgb), .14); color: var(--tv-primary-dark); }
.tv-header .dropdown-item-parent { font-weight: 700; }
.tv-header .nav-cta { margin-left: .5rem; }

@media (min-width: 992px) {
	.tv-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
	.tv-header .dropdown-menu { animation: tv-drop .18s ease-out; }
}
@media (max-width: 991.98px) {
	.tv-header .navbar-collapse { padding: .75rem 0 1rem; border-top: 1px solid var(--tv-line); margin-top: .75rem; }
	.tv-header .dropdown-menu { box-shadow: none; border: 0; padding: 0 0 0 1rem; background: transparent; }
	.tv-header .nav-cta { margin: .75rem 0 0; display: inline-block; }
}
@keyframes tv-drop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Generic sections ---------- */
.tv-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.tv-section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }
.tv-section-alt { background: var(--tv-mist); }
.tv-section-dark { background: var(--tv-ink); color: rgba(255, 255, 255, .82); }
.tv-section-dark h2, .tv-section-dark h3 { color: #fff; }
.tv-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tv-primary); margin-bottom: .9rem; }
.tv-eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--tv-sky); border-radius: 2px; }
.tv-section-dark .tv-eyebrow, .tv-hero .tv-eyebrow, .tv-page-hero .tv-eyebrow { color: var(--tv-sky); }
.tv-section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.tv-section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.tv-section-head.text-center { margin-inline: auto; }
.tv-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--tv-ink); font-weight: 500; }
.tv-text { color: var(--tv-muted); font-size: 1.05rem; line-height: 1.75; }
.tv-text p:last-child { margin-bottom: 0; }

/* ---------- Home hero ---------- */
.tv-hero,
.tv-page-hero {
	position: relative;
	overflow: hidden;
	color: rgba(255, 255, 255, .86);
	background:
		radial-gradient(60rem 30rem at 85% -10%, rgba(var(--tv-sky-rgb), .35), transparent 60%),
		radial-gradient(40rem 26rem at -10% 110%, rgba(var(--tv-sky-rgb), .18), transparent 60%),
		linear-gradient(160deg, var(--tv-ink) 0%, var(--tv-ink-2) 100%);
	isolation: isolate;
}
.tv-hero::before,
.tv-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.2px);
	background-size: 22px 22px;
	mask-image: linear-gradient(115deg, transparent 20%, #000 75%);
	-webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 75%);
}
.tv-hero::after,
.tv-page-hero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--tv-sky), rgba(var(--tv-sky-rgb), 0));
}
.tv-hero.has-photo,
.tv-page-hero.has-photo {
	background: var(--tv-ink);
}
.tv-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -2;
	pointer-events: none;
}
.tv-hero.has-photo::before,
.tv-page-hero.has-photo::before {
	z-index: -1;
	background-image: none;
	mask-image: none;
	-webkit-mask-image: none;
	background:
		linear-gradient(105deg, rgba(15, 36, 51, .88) 0%, rgba(15, 36, 51, .7) 46%, rgba(15, 36, 51, .42) 100%);
}
.tv-page-hero.has-photo::before {
	background:
		linear-gradient(180deg, rgba(15, 36, 51, .78) 0%, rgba(15, 36, 51, .62) 100%);
}

.tv-hero { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.tv-hero-brand { font-size: .95rem; font-weight: 800; letter-spacing: .32em; color: var(--tv-sky); margin-bottom: 1.25rem; }
.tv-hero-title { color: #fff; font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 1.25rem; }
.tv-hero-title span { color: var(--tv-sky); }
.tv-hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: rgba(255, 255, 255, .82); max-width: 36rem; margin-bottom: 2rem; }
.tv-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.tv-hero-panel {
	position: relative;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--tv-radius-lg);
	padding: 1.25rem;
	backdrop-filter: blur(6px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.tv-hero-mode {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--tv-radius);
	background: rgba(255, 255, 255, .95);
	color: var(--tv-ink);
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}
.tv-hero-mode + .tv-hero-mode { margin-top: .75rem; }
.tv-hero-mode:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 0, 0, .18); color: var(--tv-ink); }
.tv-hero-mode .tv-icon { flex: 0 0 auto; }
.tv-hero-mode strong { display: block; font-size: 1.05rem; }
.tv-hero-mode small { color: var(--tv-muted); font-weight: 600; letter-spacing: .04em; }
.tv-hero-mode .bi-arrow-right { margin-left: auto; color: var(--tv-primary); }
.tv-hero-route {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .9rem .5rem .2rem;
	color: rgba(255, 255, 255, .75);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.tv-hero-route::before,
.tv-hero-route::after { content: ""; flex: 1; border-top: 2px dashed rgba(var(--tv-sky-rgb), .55); }

/* ---------- Inner page hero ---------- */
.tv-page-hero { padding-block: clamp(3.5rem, 8vw, 6rem); }
.tv-page-hero-compact { padding-block: clamp(2.5rem, 6vw, 4rem); }
.tv-page-hero-title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -.025em; margin-bottom: .75rem; max-width: 48rem; }
.tv-page-hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 44rem; margin-bottom: 0; }

/* ---------- Icons ---------- */
.tv-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: .9rem;
	background: rgba(var(--tv-sky-rgb), .12);
	color: var(--tv-primary);
	font-size: 1.5rem;
	line-height: 1;
}
.tv-icon-lg { width: 4.25rem; height: 4.25rem; font-size: 2rem; border-radius: 1.15rem; }
.tv-icon-solid { background: linear-gradient(135deg, var(--tv-sky), var(--tv-primary)); color: #fff; box-shadow: 0 10px 20px rgba(var(--tv-primary-rgb), .25); }

/* ---------- Cards ---------- */
.tv-card {
	height: 100%;
	background: #fff;
	border: 1px solid var(--tv-line);
	border-radius: var(--tv-radius-lg);
	padding: clamp(1.5rem, 2.5vw, 2rem);
	box-shadow: var(--tv-shadow);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tv-card:hover { transform: translateY(-3px); box-shadow: var(--tv-shadow-lg); border-color: rgba(var(--tv-sky-rgb), .45); }
.tv-card .tv-icon { margin-bottom: 1.15rem; }
.tv-card-title { font-size: 1.2rem; margin-bottom: .6rem; }
.tv-card-text { color: var(--tv-muted); margin-bottom: 0; line-height: 1.7; }
.tv-card-text + .tv-card-text { margin-top: .75rem; }
.card.tv-card { padding: 0; overflow: hidden; }

.tv-service-card { position: relative; padding: clamp(1.75rem, 3vw, 2.5rem); overflow: hidden; }
.tv-service-card::after {
	content: "";
	position: absolute;
	right: -3.5rem; top: -3.5rem;
	width: 11rem; height: 11rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--tv-sky-rgb), .16), transparent 70%);
	pointer-events: none;
}
.tv-service-card .tv-card-title { font-size: 1.5rem; }
.tv-service-card .tv-card-title a { color: inherit; text-decoration: none; }
.tv-service-card .tv-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tv-card-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font-weight: 700; color: var(--tv-primary); }
.tv-service-card:hover .tv-card-more .bi { transform: translateX(3px); }
.tv-card-more .bi { transition: transform .2s ease; }

/* Numbered cards (Why TRANSAVA) */
.tv-number-card { position: relative; }
.tv-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem; height: 3rem;
	padding-inline: .5rem;
	border-radius: .9rem;
	background: var(--tv-ink);
	color: var(--tv-sky);
	font-weight: 800;
	font-size: 1.2rem;
	margin-bottom: 1.15rem;
	font-variant-numeric: tabular-nums;
}

/* ---------- Lists ---------- */
.tv-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.tv-checklist li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.55; }
.tv-checklist .bi { flex: 0 0 auto; color: var(--tv-sky); font-size: 1.2rem; line-height: 1.3; }
.tv-checklist-2 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); column-gap: 1.5rem; }
.tv-list-title { font-size: 1rem; font-weight: 700; color: var(--tv-ink); margin: 1.5rem 0 1rem; }

/* ---------- Statement / quote ---------- */
.tv-quote {
	background: linear-gradient(120deg, var(--tv-primary) 0%, var(--tv-sky) 100%);
	color: #fff;
	text-align: center;
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.tv-quote p { margin: 0; font-size: clamp(1.35rem, 2.8vw, 2.1rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.tv-quote .bi { display: block; font-size: 2rem; opacity: .6; margin-bottom: .5rem; }

.tv-statement {
	position: relative;
	padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.75rem, 3.5vw, 3rem);
	border-radius: var(--tv-radius-lg);
	background: var(--tv-ink);
	color: rgba(255, 255, 255, .9);
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	line-height: 1.6;
	font-weight: 500;
	overflow: hidden;
}
.tv-statement::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 5px;
	background: linear-gradient(var(--tv-sky), var(--tv-primary));
}
.tv-statement p { margin: 0; }

/* ---------- Photos in imported pages ---------- */
.tv-photo {
	margin: 0 0 1.5rem;
	border-radius: var(--tv-radius-lg);
	overflow: hidden;
	box-shadow: var(--tv-shadow);
	background: var(--tv-ink);
}
.tv-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.tv-photo.is-4x3 img { aspect-ratio: 4 / 3; }

/* ---------- Media panel (photo or icon composition) ---------- */
.tv-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 18rem;
	height: 100%;
	border-radius: var(--tv-radius-lg);
	background:
		radial-gradient(18rem 14rem at 70% 20%, rgba(var(--tv-sky-rgb), .35), transparent 70%),
		linear-gradient(150deg, var(--tv-ink), var(--tv-ink-2));
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.tv-visual::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px);
	background-size: 20px 20px;
}
.tv-visual > .bi { font-size: clamp(5rem, 10vw, 7.5rem); color: var(--tv-sky); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.tv-visual.has-photo { min-height: 22rem; padding: 0; }
.tv-visual.has-photo > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}
.tv-visual.has-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(15, 36, 51, .72) 100%);
	pointer-events: none;
}
.tv-visual-tags { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; z-index: 1; }
.tv-visual-tags span { padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: .8rem; font-weight: 700; letter-spacing: .05em; }

/* ---------- Services page ---------- */
.tv-anchor-nav { position: sticky; top: var(--tv-header-h); z-index: 10; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--tv-line); }
.tv-anchor-nav .nav { gap: .5rem; padding-block: .75rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tv-anchor-nav .nav::-webkit-scrollbar { display: none; }
.tv-anchor-nav .nav-link { white-space: nowrap; border-radius: 999px; border: 1px solid var(--tv-line); color: var(--tv-ink); font-weight: 600; padding: .45rem 1rem; }
.tv-anchor-nav .nav-link .bi { color: var(--tv-sky); margin-right: .35rem; }
.tv-anchor-nav .nav-link:hover,
.tv-anchor-nav .nav-link.active { border-color: var(--tv-primary); color: var(--tv-primary); background: rgba(var(--tv-sky-rgb), .08); }
.tv-service-block + .tv-service-block { border-top: 1px solid var(--tv-line); }
.tv-panel { background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--tv-shadow); }
.tv-section-alt .tv-panel { box-shadow: none; }

/* ---------- Mission & Vision ---------- */
.tv-mv-card { position: relative; height: 100%; border-radius: var(--tv-radius-lg); padding: clamp(2rem, 4vw, 3rem); background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow); }
.tv-mv-card.is-dark { background: linear-gradient(160deg, var(--tv-ink), var(--tv-ink-2)); border-color: transparent; color: rgba(255, 255, 255, .82); }
.tv-mv-card.is-dark h2 { color: #fff; }
.tv-mv-card.is-dark .tv-mv-statement { color: #fff; }
.tv-mv-card.is-dark .tv-icon { background: rgba(var(--tv-sky-rgb), .18); color: var(--tv-sky); }
.tv-mv-card h2 { font-size: 1.75rem; margin: 1.25rem 0 1rem; }
.tv-mv-statement { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--tv-ink); line-height: 1.5; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(var(--tv-sky-rgb), .35); }
.tv-mv-card p:last-child { margin-bottom: 0; }

/* ---------- Responsibility blocks ---------- */
.tv-pillar { display: flex; gap: 1.25rem; }
.tv-pillar .tv-icon { flex: 0 0 auto; }
.tv-pillar h2, .tv-pillar h3 { font-size: 1.4rem; margin-bottom: .75rem; }

/* ---------- Contacts ---------- */
.tv-contacts { margin: 0; display: grid; gap: 1rem; }
.tv-contact { display: flex; gap: 1rem; align-items: flex-start; }
.tv-contact-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .8rem; background: rgba(var(--tv-sky-rgb), .12); color: var(--tv-primary); font-size: 1.2rem; }
.tv-contact-body { display: flex; flex-direction: column; min-width: 0; }
.tv-contact-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-muted); }
.tv-contact-value { font-weight: 600; color: var(--tv-ink); overflow-wrap: anywhere; }
.tv-contact-value a { color: inherit; text-decoration: none; }
.tv-contact-value a:hover { color: var(--tv-primary); }
.tv-contacts-cards .tv-contact { padding: 1rem 1.15rem; border: 1px solid var(--tv-line); border-radius: var(--tv-radius); background: #fff; }
.tv-contacts-footer { gap: .85rem; }
.tv-contacts-footer .tv-contact-icon { width: 2.25rem; height: 2.25rem; font-size: 1rem; background: rgba(var(--tv-sky-rgb), .15); color: var(--tv-sky); }
.tv-contacts-footer .tv-contact-label { color: rgba(255, 255, 255, .55); }
.tv-contacts-footer .tv-contact-value { color: #fff; font-weight: 500; }

.tv-form-wrap { background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--tv-shadow-lg); }
.tv-form .form-label { font-weight: 600; color: var(--tv-ink); font-size: .92rem; }
.tv-form .form-control { padding: .75rem 1rem; border-radius: .75rem; background-color: var(--tv-mist); border-color: transparent; }
.tv-form .form-control:focus { background-color: #fff; border-color: var(--tv-sky); box-shadow: 0 0 0 .25rem rgba(var(--tv-sky-rgb), .2); }
.tv-form .form-control.is-invalid { border-color: var(--bs-form-invalid-border-color, #dc3545); background-color: #fff; }
.tv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA band ---------- */
.tv-cta { padding-block: clamp(3rem, 6vw, 5rem); }
.tv-cta-inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
	padding: clamp(2rem, 4.5vw, 3.5rem);
	border-radius: var(--tv-radius-lg);
	background:
		radial-gradient(30rem 16rem at 100% 0%, rgba(255, 255, 255, .22), transparent 60%),
		linear-gradient(120deg, var(--tv-primary-dark), var(--tv-sky));
	color: #fff;
	overflow: hidden;
	box-shadow: 0 24px 48px rgba(var(--tv-primary-rgb), .25);
}
.tv-cta-text { flex: 1 1 28rem; }
.tv-cta-title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.35rem); margin-bottom: .6rem; }
.tv-cta-lead { margin: 0; font-size: 1.1rem; color: rgba(255, 255, 255, .92); max-width: 40rem; }
.tv-cta .btn-light { color: var(--tv-primary-dark); }
.tv-cta .btn-light:hover { background: var(--tv-ink); border-color: var(--tv-ink); color: #fff; }

/* ---------- Footer ---------- */
.tv-footer { background: var(--tv-ink); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.tv-footer-main { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.tv-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.tv-footer a:hover { color: var(--tv-sky); }
.tv-logo-footer { margin-bottom: 1.25rem; }
.tv-logo-footer .tv-logo-img { height: 24px; filter: brightness(0) invert(1); opacity: .95; }
.tv-footer-tagline { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.tv-footer .widget { margin-bottom: 1.5rem; }
.tv-footer .widget:last-child { margin-bottom: 0; }
.footer-widget-title { color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.tv-footer .widget ul:not(.tv-contacts) { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.tv-footer .widget_nav_menu .sub-menu { padding-left: 1rem; margin-top: .55rem; }
.tv-footer .widget p { line-height: 1.7; }
.tv-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.25rem; font-size: .875rem; color: rgba(255, 255, 255, .55); }
.tv-footer-menu { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.tv-footer-menu li { list-style: none; }

/* ---------- Sidebar / prose ---------- */
.tv-sidebar .widget { background: var(--tv-mist); border-radius: var(--tv-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.tv-sidebar .widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.tv-sidebar .widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.tv-prose { font-size: 1.05rem; line-height: 1.75; }
.tv-prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.tv-prose h3 { margin-top: 2rem; margin-bottom: .75rem; }
.tv-prose img { max-width: 100%; height: auto; border-radius: var(--tv-radius); }
.tv-entry-thumb { margin-bottom: 2rem; }
.tv-pagination .nav-links { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.tv-pagination .page-numbers { display: inline-flex; min-width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--tv-line); text-decoration: none; padding-inline: .75rem; }
.tv-pagination .page-numbers.current { background: var(--tv-primary); border-color: var(--tv-primary); color: #fff; }
.alignwide, .alignfull { max-width: 100%; }

/* ---------- Reveal on scroll ---------- */
.tv-reveal-ready [data-tv-reveal].tv-reveal-wait { opacity: 0; transform: translateY(18px); }
.tv-reveal-ready [data-tv-reveal] { transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; }
	.tv-reveal-ready [data-tv-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
	.tv-card, .tv-hero-mode, .btn .bi { transition: none; }
}

@media print {
	.tv-header, .tv-topbar, .tv-anchor-nav, .tv-cta, .tv-footer { display: none !important; }
	.tv-hero, .tv-page-hero { background: none; color: #000; }
	.tv-hero-title, .tv-page-hero-title { color: #000; }
	.tv-hero-bg, .tv-visual.has-photo > img { display: none; }
}
