/*
 * TechDotBit — light theme (loaded last).
 * White, professional look like most large tech companies: white surfaces,
 * dark text, brand green accents and soft green/teal gradients. It overrides
 * the dark sections from ai-theme.css / landing.css; remove this file's
 * enqueue in functions.php to return to the dark look.
 */

:root {
	--lt-ink: #0b1526;
	--lt-text: #44506a;
	--lt-muted: #6b7690;
	--lt-line: #e6eaf0;
	--lt-soft: #f6f8fb;
	--lt-mint: #f1faf4;
	--lt-green: #3ead3c;
	--lt-green-dark: #23873a;
	--lt-shadow: 0 1px 2px rgba(11, 21, 38, .04), 0 12px 32px -18px rgba(11, 21, 38, .18);
	--lt-grad-text: linear-gradient(100deg, #23873a, #0e9488);
	--ai-bg: #ffffff;
}
body { background: #fff; }
body.page-template-landing-template { background: #fff; }

/* ---------------------------------------------------------------- Header */
.main-header,
.main-header.is-stuck,
.is-stuck .lqd-head-sec-wrap,
.lqd-mobile-sec,
.lqd-mobile-sec-inner,
.lqd-mobile-sec .navbar-header,
.page-template-landing-template .main-header,
html.tdb-scrolled .page-template-landing-template .main-header,
.tdb-lp-style-agents .main-header {
	background: rgba(255, 255, 255, .9) !important;
	border-bottom: 1px solid var(--lt-line) !important;
	border-image: none !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
}
html.tdb-scrolled .main-header { box-shadow: 0 8px 30px -18px rgba(11, 21, 38, .25) !important; }
/* The uploaded logo is white; show it dark on the white header. */
.main-header .navbar-brand img { filter: brightness(0) saturate(100%); }
.main-header .navbar-brand, .main-header .navbar-brand-inner { color: var(--lt-ink); }
.lqd-head-sec .menu > li:not(:last-child) > a { color: #1f2a3c !important; }
.lqd-head-sec .menu > li:not(:last-child) > a:hover,
.lqd-head-sec .menu > li.current-menu-item:not(:last-child) > a,
.lqd-head-sec .menu > li.current-menu-ancestor:not(:last-child) > a { color: var(--lt-green-dark) !important; }
.lqd-head-sec .menu > li.menu-item-has-children > .sub-menu {
	background: #fff !important;
	border-color: var(--lt-line) !important;
	box-shadow: 0 24px 48px -16px rgba(11, 21, 38, .22) !important;
}
.lqd-head-sec .menu .sub-menu a { color: #1f2a3c !important; }
.lqd-head-sec .menu .sub-menu a:hover { color: var(--lt-green-dark) !important; }
.lqd-head-sec .service-menu > .sub-menu > li > a { color: var(--lt-ink) !important; border-color: var(--lt-line) !important; }
.lqd-mobile-sec .nav-trigger, .lqd-mobile-sec .nav-trigger.text-black { color: var(--lt-ink) !important; }
.lqd-mobile-sec .nav-trigger .bar { background-color: var(--lt-ink) !important; }

/* ------------------------------------------------- Page heroes (.banner) */
.banner { background-color: #f4faf7 !important; }
.banner::after {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .88) 48%, rgba(255, 255, 255, .55) 100%),
		linear-gradient(180deg, transparent 80%, #fff 100%) !important;
}
@media (max-width: 767px) {
	.banner::after { background: rgba(255, 255, 255, .88) !important; }
}
.banner::before {
	background:
		radial-gradient(36% 46% at 82% 26%, rgba(16, 185, 129, .16), transparent 70%),
		radial-gradient(30% 40% at 66% 82%, rgba(34, 211, 238, .14), transparent 70%) !important;
}
.banner .container::before {
	background-image:
		linear-gradient(rgba(12, 35, 64, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(12, 35, 64, .05) 1px, transparent 1px) !important;
}
.banner h1, .banner h1 *, .banner h2, .banner .text-white, .banner .breadcrumb a, .banner .breadcrumb span { color: var(--lt-ink) !important; text-shadow: none !important; }
.banner p, .banner .text-26, .banner .text-white-80 { color: var(--lt-text) !important; }
.tdb-scroll-cue { border-color: rgba(11, 21, 38, .3); }
.tdb-scroll-cue::after { background: var(--lt-ink); }

/* ------------------------------------------------ Landing / home heroes */
.tdb-hero,
.tdb-hero--streaks {
	color: var(--lt-ink);
	background:
		radial-gradient(55% 65% at 80% 35%, rgba(16, 185, 129, .12), transparent 70%),
		radial-gradient(40% 50% at 8% 95%, rgba(34, 211, 238, .10), transparent 70%),
		linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%) !important;
}
.tdb-hero::after,
.tdb-hero--streaks::after {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .55) 45%, transparent 70%),
		linear-gradient(180deg, transparent 85%, #fff 100%) !important;
}
@media (max-width: 991px) {
	.tdb-hero::after { background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .9) 60%, #fff) !important; }
}
.tdb-hero__title, .tdb-hero--streaks .tdb-hero__title { color: var(--lt-ink); }
.tdb-hero__intro { color: var(--lt-text); }
.tdb-hero__points li { color: #2f3a4f; }
.tdb-hero__points li::before { background-color: #e3f7e8; }
.tdb-chip { color: var(--lt-green-dark); background: var(--lt-mint); border-color: #cdeed4; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tdb-hero__feature-title { color: var(--lt-ink) !important; }
.tdb-hero__features p { color: var(--lt-text); }
.tdb-caret { background: var(--lt-green); box-shadow: none; }
.tdb-hl--dark { background: var(--lt-grad-text); -webkit-background-clip: text; background-clip: text; }
.tdb-btn--glass { border-color: #dfe4ec; background: #fff; color: var(--lt-ink) !important; }
.tdb-btn--glass:hover { border-color: var(--lt-green); background: #fff; }
.tdb-proof__card {
	border-color: var(--lt-line);
	background: rgba(255, 255, 255, .82);
	box-shadow: var(--lt-shadow);
}
.tdb-proof__card strong { background: var(--lt-grad-text); -webkit-background-clip: text; background-clip: text; }
.tdb-proof__card span { color: var(--lt-text); }

/* Glass enquiry card on a light background */
.tdb-glass {
	background: rgba(255, 255, 255, .86);
	border-color: var(--lt-line);
	box-shadow: 0 30px 70px -36px rgba(11, 21, 38, .35);
}
.tdb-glass::before { background: radial-gradient(closest-side, rgba(62, 173, 60, .18), transparent); }
.tdb-glass__title { color: var(--lt-ink) !important; }
.tdb-glass__note { color: var(--lt-muted); }
.tdb-glass__note svg { color: var(--lt-green); }
.tdb-glass .wpcf7 p, .tdb-glass .wpcf7 label { color: var(--lt-ink); }
.tdb-glass .wpcf7 input[type=text],
.tdb-glass .wpcf7 input[type=email],
.tdb-glass .wpcf7 input[type=tel],
.tdb-glass .wpcf7 input[type=number],
.tdb-glass .wpcf7 input[type=url],
.tdb-glass .wpcf7 select,
.tdb-glass .wpcf7 textarea,
.tdb-glass .form-control {
	border-bottom-color: #cfd6df !important;
	color: var(--lt-ink) !important;
}
.tdb-glass .wpcf7 ::placeholder { color: var(--lt-muted); }
.tdb-glass .wpcf7 input:focus, .tdb-glass .wpcf7 textarea:focus, .tdb-glass .wpcf7 select:focus {
	border-bottom-color: var(--lt-green) !important;
	box-shadow: 0 1px 0 var(--lt-green) !important;
}
.tdb-glass .wpcf7-response-output { color: var(--lt-ink); }

/* -------------------------------------- Service sections + glass cards */
.lqd-section.services:not(.stats) {
	color: var(--lt-text);
	background:
		radial-gradient(45% 55% at 12% 0%, rgba(62, 173, 60, .07), transparent 70%),
		radial-gradient(40% 50% at 100% 100%, rgba(34, 211, 238, .06), transparent 70%),
		var(--lt-soft) !important;
}
.lqd-section.services:not(.stats)::before {
	background-image:
		linear-gradient(rgba(12, 35, 64, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(12, 35, 64, .04) 1px, transparent 1px) !important;
}
.lqd-section.services:not(.stats) h2,
.lqd-section.services:not(.stats) h3,
.lqd-section.services:not(.stats) h4,
.lqd-section.services:not(.stats) h5,
.lqd-section.services:not(.stats) a { color: var(--lt-ink) !important; }
.lqd-section.services:not(.stats) p,
.lqd-section.services:not(.stats) .ld-fh-element:not(h2):not(h3):not(h6) { color: var(--lt-text) !important; }
.lqd-section.services:not(.stats) h6.ld-fh-element,
.lqd-section.services:not(.stats) .ld-fancy-heading h6 { color: var(--lt-green-dark) !important; border-color: #cdeed4; background: var(--lt-mint); }
.services:not(.stats) .iconbox,
.inner-services:not(.stats) .iconbox {
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(140deg, var(--lt-line), var(--lt-line)) border-box !important;
	box-shadow: var(--lt-shadow) !important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.services:not(.stats) .iconbox:hover,
.inner-services:not(.stats) .iconbox:hover {
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(110deg, #3ead3c, #10b981 50%, #22d3ee) border-box !important;
	box-shadow: 0 24px 50px -26px rgba(10, 60, 35, .35) !important;
}
.services:not(.stats) .iconbox::before,
.inner-services:not(.stats) .iconbox::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(62, 173, 60, .07), transparent 60%) !important; }
.services:not(.stats) .iconbox .iconbox-icon-container { background: var(--lt-mint) !important; box-shadow: none !important; }
.services:not(.stats) .iconbox h3,
.services:not(.stats) .iconbox h3 a,
.services:not(.stats) .iconbox:hover h3,
.services:not(.stats) .iconbox:hover h3 a { color: var(--lt-ink) !important; }
.services:not(.stats) .iconbox p { color: #5b6576 !important; }
.tdb-lp-cards .iconbox h3 a { color: var(--lt-ink) !important; }
.tdb-lp-cards .iconbox h3 a::after { color: var(--lt-green-dark); }

/* -------------------------------------------- Stats / awards / navy bands */
.stats, .bg-blue {
	background:
		radial-gradient(40% 60% at 90% 0%, rgba(16, 185, 129, .10), transparent 70%),
		var(--lt-mint) !important;
}
.bg-blue .text-white, .bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4, .bg-blue p, .bg-blue span:not(.counting),
.stats h2, .stats .ld-fh-element { color: var(--lt-ink) !important; }
.bg-blue .text-light { color: var(--lt-muted) !important; }
.stats .iconbox {
	background: #fff !important;
	border: 1px solid var(--lt-line) !important;
	box-shadow: var(--lt-shadow) !important;
}
.stats .iconbox::after { display: none; }
.stats .iconbox .iconbox-icon-container { background: var(--lt-mint) !important; }
.stats .contents span, .stats .counting { background: var(--lt-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats .contents h3 { color: var(--lt-muted) !important; }
.home-awards img { filter: none; opacity: 1; }

/* ------------------------------------------------------------ CTA bands */
.image-bg.contact .liquid-row-overlay,
.image-bg.help .liquid-row-overlay {
	background:
		radial-gradient(40% 80% at 100% 0%, rgba(34, 211, 238, .16), transparent 70%),
		radial-gradient(35% 70% at 0% 100%, rgba(62, 173, 60, .16), transparent 70%),
		linear-gradient(120deg, #effaf2, #eaf8f9) !important;
	opacity: 1 !important;
}
.image-bg.contact h2, .image-bg.contact .text-white, .image-bg.help h2, .image-bg.help .text-white, .image-bg.help p { color: var(--lt-ink) !important; }

/* ----------------------------------------------- Form band + agent loop */
.tdb-form-band {
	color: var(--lt-ink);
	background:
		radial-gradient(45% 70% at 90% 10%, rgba(16, 185, 129, .10), transparent 70%),
		radial-gradient(40% 60% at 0% 100%, rgba(34, 211, 238, .08), transparent 70%),
		var(--lt-soft) !important;
}
.tdb-form-band__copy h2 { color: var(--lt-ink) !important; }
.tdb-form-band__copy p { color: var(--lt-text); }

.tdb-loop {
	color: var(--lt-ink);
	background:
		radial-gradient(50% 60% at 50% 0%, rgba(62, 173, 60, .08), transparent 70%),
		#fff !important;
	border-bottom: 1px solid var(--lt-line);
}
.tdb-loop .tdb-lp-head h2 { color: var(--lt-ink) !important; }
.tdb-loop .tdb-lp-head p { color: var(--lt-text); }
.tdb-loop .tdb-lp-head h6 { color: var(--lt-green-dark); border-color: #cdeed4; background: var(--lt-mint); }
.tdb-loop__node {
	color: var(--lt-green-dark);
	background: #fff;
	border-color: var(--lt-line);
	box-shadow: var(--lt-shadow);
}
.tdb-loop__step.is-active .tdb-loop__node {
	color: var(--lt-green-dark);
	border-color: var(--lt-green);
	box-shadow: 0 0 0 6px rgba(62, 173, 60, .12), 0 16px 34px -14px rgba(62, 173, 60, .55);
}
.tdb-loop__step.is-agent .tdb-loop__node { color: #fff; }
.tdb-loop__name { color: var(--lt-ink); }
.tdb-loop__text { color: var(--lt-muted); }
.tdb-loop__step.is-active .tdb-loop__text { color: var(--lt-text); }
.tdb-loop__link { background: rgba(62, 173, 60, .2); }
.tdb-loop__link::after { border-left-color: rgba(62, 173, 60, .55); }
.tdb-loop__return { border-color: rgba(62, 173, 60, .35); }
.tdb-loop__return::before { border-bottom-color: rgba(62, 173, 60, .7); }
.tdb-loop__return span { background: #fff; border-color: #cdeed4; color: var(--lt-green-dark); }

/* -------------------------------------------------------------- Footer */
body #site-footer.main-footer {
	background:
		radial-gradient(40% 60% at 90% 0%, rgba(16, 185, 129, .06), transparent 70%),
		var(--lt-soft) !important;
	color: var(--lt-text) !important;
	border-top: 1px solid var(--lt-line);
}
body #site-footer .text-dark,
body #site-footer h3,
body #site-footer a.text-dark,
body #site-footer address,
body #site-footer .text-dark-70,
body #site-footer p { color: var(--lt-text) !important; }
body #site-footer h3.ld-fh-element { color: var(--lt-ink) !important; }
body #site-footer .menu li a { color: var(--lt-text); }
body #site-footer .menu li a:hover, body #site-footer a:hover { color: var(--lt-green-dark) !important; }
body #site-footer .border-dark { border-color: var(--lt-line) !important; }
body #site-footer .social-icon a img { filter: none; opacity: .85; }
body #site-footer figure img { filter: brightness(0) saturate(100%); }
body #site-footer figcaption.h5 { color: var(--lt-ink) !important; }
body #site-footer .iconbox-icon-container { color: var(--lt-green-dark) !important; }
.lqd-back-to-top a { background: var(--lt-green) !important; box-shadow: 0 10px 24px -10px rgba(62, 173, 60, .7) !important; }

/* =====================================================================
 * Typography & spacing system: one consistent scale, rhythm and alignment
 * =================================================================== */
:root {
	--fs-body: 17px;
	--fs-small: 15px;
	--fs-lead: clamp(1.06rem, 1rem + .3vw, 1.25rem);
	--fs-h1: clamp(2.5rem, 1.7rem + 3vw, 4.25rem);
	--fs-h2: clamp(2rem, 1.55rem + 1.7vw, 3rem);
	--fs-h3: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
	--section-y: clamp(72px, 8vw, 120px);
	--head-gap: clamp(40px, 5vw, 64px);
	--container: 1240px;
}
body { font-size: var(--fs-body); line-height: 1.7; color: var(--lt-text); }
p { margin-bottom: 1em; }

/* Consistent container width */
.container { max-width: var(--container); padding-left: 24px; padding-right: 24px; }
@media (max-width: 575px) { .container { padding-left: 20px; padding-right: 20px; } }

/* Headings */
h1, .h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
h3, .h3 { line-height: 1.3; letter-spacing: -.015em; }
.lqd-section h2.ld-fh-element, .tdb-lp-head h2 { font-size: var(--fs-h2) !important; margin: 0 0 16px !important; }
.lqd-section h2::after { margin-top: 20px !important; }

/* Uniform section rhythm */
.lqd-section,
.tdb-loop, .tdb-stack, .tdb-clients, .tdb-form-band, .tdb-related, .tdb-dash-section {
	padding-top: var(--section-y) !important;
	padding-bottom: var(--section-y) !important;
}
.lqd-section.banner { padding-top: clamp(110px, 12vw, 170px) !important; padding-bottom: clamp(72px, 8vw, 110px) !important; }
.tdb-clients { padding-top: clamp(48px, 5vw, 72px) !important; padding-bottom: clamp(48px, 5vw, 72px) !important; }

/* Section headers: centred, measured line length, consistent gap */
.tdb-lp-head,
.lqd-section .col-12.text-center > .ld-fancy-heading,
.services > .container > .row > .col-12:first-child:not(:has(.iconbox)) {
	max-width: 760px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.tdb-lp-head { margin-bottom: var(--head-gap) !important; }
.services > .container > .row > .col-12:first-child:not(:has(.iconbox)) { margin-bottom: var(--head-gap) !important; text-align: center; }
.tdb-lp-head p,
.services > .container > .row > .col-12:first-child:not(:has(.iconbox)) p {
	max-width: 640px;
	margin: 0 auto !important;
	font-size: var(--fs-lead) !important;
	line-height: 1.6 !important;
	color: var(--lt-text);
}
.ld-fancy-heading h6, h6.ld-fh-element { margin-bottom: 16px !important; }

/* Cards: equal height, left-aligned content, consistent padding and gaps */
.services .row > .col, .tdb-lp-cards .row > .col { display: flex; margin-bottom: 24px !important; }
.services .iconbox, .inner-services .iconbox, .tdb-lp-cards .iconbox {
	width: 100%;
	height: auto !important;
	margin: 0 !important;
	padding: 28px 28px 26px !important;
	text-align: left !important;
	align-items: flex-start !important;
}
.services .iconbox .contents, .tdb-lp-cards .iconbox .contents { text-align: left; }
.services .iconbox h3, .tdb-lp-cards .iconbox h3 { font-size: var(--fs-h3) !important; margin: 0 0 10px !important; }
.services .iconbox p, .tdb-lp-cards .iconbox p { font-size: var(--fs-small) !important; line-height: 1.65 !important; margin: 0 !important; }
.services .iconbox .iconbox-icon-wrap { margin-bottom: 18px !important; }
.process-list .iconbox, .p-model .iconbox { text-align: left !important; }

/* Hero text measures */
.tdb-hero__title { max-width: 15ch; }
.tdb-hero--agents .tdb-hero__title, .tdb-hero--streaks .tdb-hero__title { max-width: 18ch; }
.tdb-hero__intro { max-width: 56ch; font-size: var(--fs-lead); }
.banner h1 { max-width: 18ch; }
.banner p { max-width: 60ch; }

/* Feature rows (steps): vertically centred, readable measure */
.steps .row { align-items: center !important; }
.steps .ld-fancy-heading { text-align: left !important; }
.steps h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem) !important; margin-bottom: 14px !important; }
.steps p, .steps .ld-fancy-heading { max-width: 52ch; }

/* Buttons: one size everywhere */
.btn.btn-solid > span { padding: .9em 1.7em !important; }
.btn.btn-solid { font-size: 15px !important; }

/* Mobile: tighter rhythm, no oversized gaps */
@media (max-width: 767px) {
	:root { --section-y: 64px; --head-gap: 36px; }
	.services .iconbox, .tdb-lp-cards .iconbox { padding: 22px 20px !important; }
	.tdb-hero__title, .banner h1 { max-width: none; }
}

/* ERP hub: page index lists */
.tdb-prose .tdb-erp-index { list-style: none; padding: 0; margin: 1.2em 0 2em; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tdb-prose .tdb-erp-index li { margin: 0; padding: 16px 18px; border: 1px solid #e4e9f0; border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.55; color: #55627a; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tdb-prose .tdb-erp-index li:hover { border-color: #3ead3c; box-shadow: 0 8px 24px rgba(16, 24, 40, .07); transform: translateY(-2px); }
.tdb-prose .tdb-erp-index a { display: block; margin-bottom: 4px; font-weight: 600; color: #0f172a; text-decoration: none; }
.tdb-prose .tdb-erp-index a:hover { color: #23873a; }
.tdb-prose ul li { margin-bottom: .45em; }

/* =====================================================================
 * UI fixes (alignment / clutter)
 * =================================================================== */

/* Home hero: the 3D shape sits softly behind the agent console, faded on
   every side, so there is no hard edge or strip on the right. */
.tdb-hero--home .tdb-hero__visual {
	right: -4%;
	width: 62%;
	opacity: .32;
	-webkit-mask-image: radial-gradient(closest-side at 55% 45%, #000 55%, transparent 100%);
	mask-image: radial-gradient(closest-side at 55% 45%, #000 55%, transparent 100%);
}
.tdb-hero__visual:has(.tdb-orb) {
	-webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
.tdb-hero--home .tdb-console { box-shadow: 0 24px 60px rgba(15, 23, 42, .10); background: rgba(255, 255, 255, .92); }
html, body { overflow-x: clip; }

/* Bottom CTA: one clean card, text and button aligned, no empty space. */
.image-bg.contact { padding: 72px 0 !important; background: linear-gradient(120deg, #effaf2, #eaf8f9); }
.image-bg.contact .row-bg-wrap, .image-bg.contact .row-bg-loader { display: none !important; }
.image-bg.contact .liquid-row-overlay { border-radius: 0 !important; }
.image-bg.contact .row { align-items: center; row-gap: 24px; }
.image-bg.contact .col-lg-7 { text-align: left !important; }
.image-bg.contact .ld-fancy-heading { margin-bottom: 0 !important; }
.image-bg.contact h2 {
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem) !important;
	line-height: 1.2 !important;
	letter-spacing: -.02em;
	max-width: 22ch;
}
.image-bg.contact h2 p { margin: 0; }
.image-bg.contact h2 p:empty, .image-bg.contact h2 br:last-child { display: none; }
.image-bg.contact .col-lg-5 { text-align: right; }
@media (max-width: 991px) {
	.image-bg.contact .col-lg-5 { text-align: left !important; }
}

/* Footer: no "sticky reveal" gap; locations spread evenly. */
#site-footer.main-footer { position: relative !important; padding-top: 56px !important; }
#lqd-site-content, #wrap > main, .lqd-site-content { margin-bottom: 0 !important; }
.footer-top { padding-bottom: 32px !important; }
@media (min-width: 992px) {
	.footer-top .row { display: flex; flex-wrap: nowrap; }
	.footer-top .row > .col { flex: 1 1 0; max-width: none; width: auto; }
}

/* Form band: copy aligned to the top of the form, compact spacing. */
.tdb-form-band { padding: 72px 0 !important; }
.tdb-form-band__inner { align-items: start !important; }
.tdb-form-band__copy { padding-top: 24px; }

/* Quote form inside the glass card: full-width fields, one heading. */
.tdb-glass .tdb-glass__form h2, .tdb-glass .tdb-glass__form h3,
.tdb-glass .tdb-glass__form h4, .tdb-glass .tdb-glass__form h5 { display: none; }
.tdb-glass .wpcf7-form-control-wrap, .tdb-glass .wpcf7 p { display: block; width: 100%; }
.tdb-glass select,
.tdb-glass .ui-selectmenu-button,
.tdb-glass .ui-selectmenu-button.ui-button {
	width: 100% !important;
	height: 48px;
	margin: 6px 0;
	padding: 0 40px 0 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #d5dbe4 !important;
	border-radius: 0 !important;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364748b' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center !important;
	color: #334155 !important;
	font-size: 15px !important;
	line-height: 48px;
	text-align: left;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}
.tdb-glass .ui-selectmenu-button .ui-selectmenu-text { padding: 0 !important; margin: 0; }
.tdb-glass .ui-selectmenu-button .ui-icon { display: none; }
.tdb-glass input[type="file"] {
	width: 100%;
	padding: 10px 0;
	border: 0;
	font-size: 14px;
	color: #64748b;
}
.tdb-glass input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 9px 16px;
	border: 1px solid #cfe9d2;
	border-radius: 999px;
	background: #f1faf2;
	color: #23873a;
	font-weight: 600;
	cursor: pointer;
}
.tdb-glass .wpcf7-submit { margin-top: 10px; }

/* Agent library: cards in a row share the same height. */
.tdb-library__grid { align-items: stretch; }
#site-footer .lqd-section.module-top { padding-top: 0 !important; padding-bottom: 24px !important; }
#site-footer .lqd-section.module-bottom { padding-top: 0 !important; padding-bottom: 28px !important; }

/* Header: keep every menu item (and the CTA button) inside the viewport on laptops. */
@media (min-width: 992px) and (max-width: 1365px) {
	#site-header .navbar-brand img { max-width: 170px; height: auto; }
	#site-header .lqd-head-sec .menu > li > a { padding-left: 9px !important; padding-right: 9px !important; font-size: 14px !important; }
	#site-header .lqd-head-sec .menu > li:last-child > a { margin-left: 8px !important; }
}
@media (min-width: 992px) and (max-width: 1099px) {
	#site-header .navbar-brand img { max-width: 140px; }
	#site-header .lqd-head-sec .menu > li > a { padding-left: 6px !important; padding-right: 6px !important; font-size: 13px !important; }
	#site-header .lqd-head-sec { padding-left: 16px !important; padding-right: 16px !important; }
}

/* =====================================================================
 * Homepage: How we partner (inc/sections/partnership.php)
 * =================================================================== */
.tdb-partner { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0; background: radial-gradient(50% 60% at 50% 0%, rgba(62, 173, 60, .07), transparent 70%), #fff; }
.tdb-partner__head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.tdb-partner__chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border: 1px solid #cdeed4; border-radius: 999px; background: #eef9f0; color: #23873a; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tdb-partner__chip span { width: 7px; height: 7px; border-radius: 50%; background: #3ead3c; box-shadow: 0 0 0 0 rgba(62, 173, 60, .5); animation: tdb-ping 2s infinite; }
@keyframes tdb-ping { 70% { box-shadow: 0 0 0 8px rgba(62, 173, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 173, 60, 0); } }
.tdb-partner__head h2 { margin: 0 0 14px; color: #0f172a !important; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.1; letter-spacing: -.03em; }
.tdb-partner__head p:last-child { margin: 0; color: #475569; font-size: 1.1rem; line-height: 1.6; }

.tdb-partner__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tdb-partner__line { position: absolute; z-index: 0; top: 64px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, #cfe9d3 0 8px, transparent 8px 16px); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .2s; }
.tdb-partner__line i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #3ead3c; box-shadow: 0 0 0 5px rgba(62, 173, 60, .18); opacity: 0; }
.tdb-partner.is-in .tdb-partner__line { transform: scaleX(1); }
.tdb-partner.is-in .tdb-partner__line i { opacity: 1; animation: tdb-partner-run 4.5s cubic-bezier(.45, 0, .55, 1) 1.4s infinite; }
@keyframes tdb-partner-run { 0% { left: 0; } 50% { left: calc(100% - 10px); } 100% { left: 0; } }

.tdb-partner__card {
	position: relative; z-index: 1; padding: 30px 28px 28px;
	border: 1px solid #e4e9f0; border-radius: 22px; background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 36px rgba(16, 24, 40, .06);
	opacity: 0; transform: translateY(28px);
	transition: opacity .7s ease calc(var(--i) * .15s), transform .7s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .15s), border-color .3s, box-shadow .3s;
}
.tdb-partner.is-in .tdb-partner__card { opacity: 1; transform: none; }
.tdb-partner__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(62, 173, 60, .08), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tdb-partner__card:hover { border-color: #cdeed4; box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 22px 48px rgba(16, 24, 40, .10); transform: translateY(-6px); transition-delay: 0s; }
.tdb-partner__card:hover::before { opacity: 1; }
.tdb-partner__num { position: absolute; top: 22px; right: 24px; color: #e2e8f0; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; transition: color .3s; }
.tdb-partner__card:hover .tdb-partner__num { color: #d5efd9; }
.tdb-partner__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-bottom: 22px; border-radius: 20px; background: linear-gradient(135deg, #3ead3c, #0e9488); color: #fff; box-shadow: 0 12px 28px rgba(62, 173, 60, .30); }
.tdb-partner__icon::after { content: ""; position: absolute; inset: -6px; border: 1.5px solid rgba(62, 173, 60, .35); border-radius: 24px; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .3s; }
.tdb-partner__card:hover .tdb-partner__icon::after { opacity: 1; transform: scale(1); }
.tdb-partner__icon svg path, .tdb-partner__icon svg circle { stroke-dasharray: 80; stroke-dashoffset: 80; }
.tdb-partner.is-in .tdb-partner__icon svg path, .tdb-partner.is-in .tdb-partner__icon svg circle { animation: tdb-draw 1.4s ease forwards calc(.4s + var(--i) * .2s); }
@keyframes tdb-draw { to { stroke-dashoffset: 0; } }
.tdb-partner__tag { margin: 0 0 6px; color: #23873a; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tdb-partner__card h3 { margin: 0 0 12px; color: #0f172a !important; font-size: 1.35rem; line-height: 1.3; letter-spacing: -.01em; }
.tdb-partner__text { margin: 0 0 18px; color: #475569; font-size: 15.5px; line-height: 1.65; }
.tdb-partner__card ul { margin: 0; padding: 18px 0 0; border-top: 1px solid #eef2f6; list-style: none; }
.tdb-partner__card li { position: relative; margin: 0 0 10px; padding-left: 28px; color: #334155; font-size: 14.5px; line-height: 1.5; list-style: none; }
.tdb-partner__card li::marker { content: none; }
.tdb-partner__card li::before { content: ""; position: absolute; top: 2px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #e3f7e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2323873a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center no-repeat; }
@media (max-width: 991px) {
	.tdb-partner__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
	.tdb-partner__line { top: 0; bottom: 0; left: 50px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #cfe9d3 0 8px, transparent 8px 16px); transform: scaleY(0); transform-origin: top; }
	.tdb-partner.is-in .tdb-partner__line { transform: scaleY(1); }
	.tdb-partner__line i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tdb-partner__card { opacity: 1; transform: none; transition: none; }
	.tdb-partner__icon svg path, .tdb-partner__icon svg circle { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
	.tdb-partner__line, .tdb-partner.is-in .tdb-partner__line i { transform: none; animation: none; }
}

/* =====================================================================
 * Contact page (contact-template.php)
 * =================================================================== */
.tdb-contact-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 4vw, 56px); background: radial-gradient(40% 80% at 100% 0%, rgba(34, 211, 238, .10), transparent 70%), radial-gradient(35% 70% at 0% 100%, rgba(62, 173, 60, .10), transparent 70%), #fff; border-bottom: 1px solid #e4e9f0; }
.tdb-contact__chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border: 1px solid #cdeed4; border-radius: 999px; background: #eef9f0; color: #23873a; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tdb-contact__chip span { width: 7px; height: 7px; border-radius: 50%; background: #3ead3c; }
.tdb-contact-hero h1 { max-width: 18ch; margin: 0 0 16px; color: #0f172a !important; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); line-height: 1.06; letter-spacing: -.035em; }
.tdb-contact-hero__intro { max-width: 60ch; margin: 0; color: #475569; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.65; }

.tdb-contact { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); background: #f7f9fb; }
.tdb-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.tdb-contact__info { display: flex; flex-direction: column; gap: 16px; }
.tdb-contact__card, .tdb-contact__offices, .tdb-contact__form { padding: clamp(22px, 3vw, 32px); border: 1px solid #e4e9f0; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 30px rgba(16, 24, 40, .05); }
.tdb-contact__card h2, .tdb-contact__offices h3 { margin: 0 0 16px; color: #0f172a !important; font-size: 1.15rem; }
.tdb-contact__steps { margin: 0; padding: 0; list-style: none; counter-reset: cstep; }
.tdb-contact__steps li { position: relative; margin: 0 0 16px; padding-left: 46px; list-style: none; counter-increment: cstep; }
.tdb-contact__steps li:last-child { margin-bottom: 0; }
.tdb-contact__steps li::marker { content: none; }
.tdb-contact__steps li::before { content: counter(cstep); position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #3ead3c, #0e9488); color: #fff; font-size: 13px; font-weight: 800; }
.tdb-contact__steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: -14px; width: 2px; background: #e4e9f0; }
.tdb-contact__steps b { display: block; color: #0f172a; font-size: 15px; }
.tdb-contact__steps span { color: #64748b; font-size: 14px; line-height: 1.5; }
.tdb-contact__methods { display: grid; gap: 10px; }
.tdb-contact__method { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid #e4e9f0; border-radius: 16px; background: #fff; text-decoration: none !important; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.tdb-contact__method:hover { border-color: #3ead3c; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 24, 40, .07); }
.tdb-contact__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #eef9f0; color: #23873a; }
.tdb-contact__method small { display: block; margin-bottom: 2px; color: #64748b; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tdb-contact__method b { display: block; color: #0f172a; font-size: 15.5px; font-weight: 600; line-height: 1.5; word-break: break-word; }
.tdb-contact__address p { margin: 0; }
.tdb-contact__office { padding: 12px 0; border-top: 1px solid #eef2f6; color: #475569; font-size: 14px; line-height: 1.55; }
.tdb-contact__office:first-of-type { border-top: 0; padding-top: 0; }
.tdb-contact__office b { display: block; margin-bottom: 4px; color: #0f172a; font-size: 15px; }
.tdb-contact__office p { margin: 0; }
.tdb-contact__office a { display: block; color: #23873a !important; }
.tdb-contact__career { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border: 1px dashed #cfd8e3; border-radius: 16px; background: #fff; color: #23873a !important; font-size: 20px; text-decoration: none !important; transition: border-color .2s; }
.tdb-contact__career:hover { border-color: #3ead3c; }
.tdb-contact__career b { display: block; color: #0f172a; font-size: 15px; }
.tdb-contact__career small { color: #64748b; font-size: 13.5px; }

.tdb-contact__form h2 { margin: 0 0 6px; color: #0f172a !important; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); letter-spacing: -.02em; }
.tdb-contact__form > p { margin: 0 0 22px; color: #64748b; font-size: 14.5px; }
.tdb-contact__form h3, .tdb-contact__form h4, .tdb-contact__form h5 { display: none; }
.tdb-contact__form .wpcf7 p { margin: 0 0 14px; }
.tdb-contact__form .wpcf7-form-control-wrap { display: block; width: 100%; }
.tdb-contact__form input[type="text"], .tdb-contact__form input[type="email"], .tdb-contact__form input[type="tel"], .tdb-contact__form input[type="url"], .tdb-contact__form input[type="number"], .tdb-contact__form textarea, .tdb-contact__form select, .tdb-contact__form .ui-selectmenu-button, .tdb-contact__form .ui-selectmenu-button.ui-button {
	width: 100% !important; min-height: 50px; margin: 0; padding: 12px 16px !important;
	border: 1px solid #dbe2ea !important; border-radius: 12px !important; background: #fff !important;
	color: #0f172a !important; font-size: 15px !important; line-height: 1.4; text-align: left; box-shadow: none !important;
	transition: border-color .2s, box-shadow .2s;
}
.tdb-contact__form textarea { min-height: 130px; resize: vertical; }
.tdb-contact__form select, .tdb-contact__form .ui-selectmenu-button { -webkit-appearance: none; appearance: none; padding-right: 40px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364748b' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center !important; }
.tdb-contact__form .ui-selectmenu-button .ui-selectmenu-text { margin: 0; padding: 0; line-height: 24px; }
.tdb-contact__form .ui-selectmenu-button .ui-icon { display: none; }
.tdb-contact__form input:focus, .tdb-contact__form textarea:focus, .tdb-contact__form select:focus { outline: none; border-color: #3ead3c !important; box-shadow: 0 0 0 4px rgba(62, 173, 60, .12) !important; }
.tdb-contact__form ::placeholder { color: #94a3b8; opacity: 1; }
.tdb-contact__form input[type="file"] { width: 100%; padding: 12px; border: 1px dashed #cfd8e3; border-radius: 12px; background: #fbfcfd; color: #64748b; font-size: 14px; }
.tdb-contact__form input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 1px solid #cfe9d2; border-radius: 999px; background: #f1faf2; color: #23873a; font-weight: 600; cursor: pointer; }
.tdb-contact__form .wpcf7-submit, .tdb-contact__form input[type="submit"] { width: auto !important; min-height: 50px; margin-top: 6px; padding: 0 30px !important; border: 0 !important; border-radius: 999px !important; background: #3ead3c !important; color: #fff !important; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 10px 24px rgba(62, 173, 60, .28); transition: background .2s, transform .2s; }
.tdb-contact__form .wpcf7-submit:hover { background: #23873a !important; transform: translateY(-1px); }
.tdb-contact__form br { display: none; }
.tdb-contact__secure { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: #64748b; font-size: 13px; }
.tdb-contact__secure svg { flex: none; color: #3ead3c; }
@media (min-width: 768px) {
	.tdb-contact__form .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
	.tdb-contact__form .wpcf7-form > * { grid-column: 1 / -1; }
	.tdb-contact__form .wpcf7-form > p:has(input[type="email"]), .tdb-contact__form .wpcf7-form > p:has(input[type="tel"]) { grid-column: auto; }
}
@media (max-width: 991px) {
	.tdb-contact__grid { grid-template-columns: 1fr; }
	.tdb-contact__form { order: -1; }
}

/* Partnership cards without proof lists: tighter */
.tdb-partner__text { margin-bottom: 0; }
.tdb-partner__card { padding-bottom: 30px; }

/* Long page text: short preview with "Read more" (full text stays in the page for SEO) */
.tdb-readmore { position: relative; max-height: 340px; overflow: hidden; transition: max-height .6s ease; }
.tdb-readmore::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; transition: opacity .3s; }
.tdb-readmore.is-open { max-height: none; }
.tdb-readmore.is-open::after { opacity: 0; }
.tdb-readmore-btn { display: flex; align-items: center; gap: 8px; margin: 18px auto 0; padding: 11px 22px; border: 1px solid #cdeed4; border-radius: 999px; background: #fff; color: #23873a; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.tdb-readmore-btn:hover { background: #eef9f0; border-color: #3ead3c; }
.tdb-readmore-btn svg { transition: transform .3s; }
.tdb-readmore-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* The ACF bottom CTA band is replaced by the footer CTA */
.image-bg.contact { display: none !important; }

/* Card grids inside service-style sections (values, stats, features): even full-width grid */
.inner-services:not(.stats) .container-fluid > .row:has(.iconbox) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; }
.inner-services:not(.stats) .container-fluid > .row:has(.iconbox) > .col { width: auto; max-width: none; flex: none; margin: 0 !important; padding: 0; }
.inner-services .-mr-15.-ml-15 { margin-left: 0; margin-right: 0; }
.inner-services .container-fluid { padding-left: 0; padding-right: 0; }
.inner-services:not(.stats) .iconbox { height: 100%; margin: 0 !important; }
@media (max-width: 991px) { .inner-services:not(.stats) .container-fluid > .row:has(.iconbox) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .inner-services:not(.stats) .container-fluid > .row:has(.iconbox) { grid-template-columns: 1fr; } }
/* Tighter vertical rhythm on inner pages */
.why-ace.py-90 { padding-top: var(--section-y, 80px) !important; padding-bottom: var(--section-y, 80px) !important; }

/* =====================================================================
 * Default pages (page.php): legal and simple content pages
 * =================================================================== */
.tdb-page-hero { padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 3vw, 40px); background: radial-gradient(40% 90% at 100% 0%, rgba(34, 211, 238, .08), transparent 70%), radial-gradient(35% 80% at 0% 100%, rgba(62, 173, 60, .08), transparent 70%), #fff; border-bottom: 1px solid #e4e9f0; }
.tdb-page-hero .tdb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: #64748b; font-size: 13px; }
.tdb-page-hero .tdb-crumbs a { color: #64748b; text-decoration: none; }
.tdb-page-hero .tdb-crumbs a:hover { color: #23873a; }
.tdb-page-hero h1 { max-width: 22ch; margin: 0 0 10px; color: #0f172a !important; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem) !important; line-height: 1.1; letter-spacing: -.03em; }
.tdb-page-hero__meta { margin: 0; color: #64748b; font-size: 14px; }
.tdb-page-body { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); background: #f7f9fb; }
.tdb-page-content { max-width: 860px; margin: 0 auto; padding: clamp(24px, 4vw, 52px); border: 1px solid #e4e9f0; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 30px rgba(16, 24, 40, .05); color: #334155; font-size: 16.5px; line-height: 1.75; }
.tdb-page-content > *:first-child { margin-top: 0 !important; }
.tdb-page-content h1 { margin: 0 0 .6em; color: #0f172a !important; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem) !important; line-height: 1.2 !important; letter-spacing: -.02em; }
.tdb-page-content h2 { margin: 1.8em 0 .5em; color: #0f172a !important; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem) !important; line-height: 1.3 !important; letter-spacing: -.01em; }
.tdb-page-content h3 { margin: 1.5em 0 .45em; color: #0f172a !important; font-size: 1.2rem !important; line-height: 1.35 !important; }
.tdb-page-content h4, .tdb-page-content h5, .tdb-page-content h6 { margin: 1.3em 0 .4em; color: #0f172a !important; font-size: 1.05rem !important; }
.tdb-page-content p { margin: 0 0 1.1em; font-size: inherit !important; }
.tdb-page-content ul, .tdb-page-content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.tdb-page-content li { margin-bottom: .45em; }
.tdb-page-content li::marker { color: #3ead3c; }
.tdb-page-content a { color: #23873a; text-decoration: underline; text-underline-offset: 3px; }
.tdb-page-content strong { color: #0f172a; }
.tdb-page-content table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.tdb-page-content th, .tdb-page-content td { padding: 10px 14px; border: 1px solid #e4e9f0; text-align: left; }


/* =====================================================================
 * Mega menus (DotOne/ERP, Hire, Industries, AI Services): clean panels
 * =================================================================== */
@media (min-width: 992px) {
	.lqd-head-sec .menu > li.full-menu > .sub-menu {
		width: min(1080px, calc(100vw - 48px)) !important;
		max-width: none !important;
		padding: 26px 28px 22px !important;
		border: 1px solid #e4e9f0 !important;
		border-radius: 20px !important;
		background: #fff !important;
		box-shadow: 0 24px 60px rgba(15, 23, 42, .14) !important;
		gap: 8px 28px !important;
	}
	.lqd-head-sec .menu > li.full-menu:hover > .sub-menu > li { width: calc(25% - 21px) !important; }
	/* Column headings (only items that have their own links below) */
	.lqd-head-sec .menu > li.full-menu > .sub-menu > li.menu-item-has-children > a {
		display: block !important;
		margin: 0 0 8px !important;
		padding: 0 0 10px !important;
		border-bottom: 1px solid #eef2f6 !important;
		color: #64748b !important;
		font-size: 11.5px !important;
		font-weight: 700 !important;
		letter-spacing: .12em;
		text-transform: uppercase;
	}
	.lqd-head-sec .menu > li.full-menu > .sub-menu > li.menu-item-has-children > a::before, .lqd-head-sec .menu > li.full-menu > .sub-menu > li.menu-item-has-children > a::after { display: none !important; }
	/* Flat mega menus (e.g. AI Services): plain links in columns */
	.lqd-head-sec .menu > li.full-menu > .sub-menu > li:not(.menu-item-has-children) > a { display: flex !important; margin: 0 -10px !important; padding: 8px 10px !important; border-radius: 10px; color: #1e293b !important; font-size: 14.5px !important; font-weight: 500 !important; line-height: 1.35 !important; transition: background .15s, color .15s; }
	.lqd-head-sec .menu > li.full-menu > .sub-menu > li:not(.menu-item-has-children) > a::before { display: none !important; }
	.lqd-head-sec .menu > li.full-menu > .sub-menu > li:not(.menu-item-has-children) > a:hover { background: #f1faf2; color: #23873a !important; }
	.lqd-head-sec .menu > li.full-menu:hover > .sub-menu:not(:has(> li.menu-item-has-children)) { gap: 0 28px !important; }
	/* Links inside columns */
	.lqd-head-sec .full-menu .sub-menu .sub-menu { position: static !important; display: block !important; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; min-width: 0 !important; }
	.lqd-head-sec .full-menu .sub-menu .sub-menu li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
	.lqd-head-sec .full-menu .sub-menu .sub-menu li::before, .lqd-head-sec .full-menu .sub-menu .sub-menu li::marker, .lqd-head-sec .full-menu .sub-menu .sub-menu a::before, .lqd-head-sec .full-menu .sub-menu .sub-menu a::after { content: none !important; display: none !important; }
	.lqd-head-sec .full-menu .sub-menu .sub-menu a {
		display: flex !important; align-items: center; justify-content: space-between; gap: 8px;
		margin: 0 -10px !important; padding: 7px 10px !important; border-radius: 10px;
		color: #1e293b !important; font-size: 14.5px !important; font-weight: 500 !important; line-height: 1.35 !important;
		transition: background .15s, color .15s;
	}
	.lqd-head-sec .full-menu .sub-menu .sub-menu a:hover { background: #f1faf2; color: #23873a !important; }
	.lqd-head-sec .full-menu .sub-menu .sub-menu a:hover::after { content: "→" !important; display: inline !important; color: #3ead3c; font-size: 13px; }
	/* ERP menu: at most 6 links per column, plus "View all" */
	.lqd-head-sec .erp-menu .sub-menu .sub-menu > li:nth-child(n+7):not(:last-child) { display: none !important; }
	.lqd-head-sec .full-menu .sub-menu .sub-menu > li:last-child > a[href*="#"] { margin-top: 4px !important; color: #23873a !important; font-weight: 600 !important; }
	/* Last column of the ERP/DotOne menu as a highlight card */
	.lqd-head-sec .erp-menu > .sub-menu > li:last-child { padding: 16px 16px 10px !important; border-radius: 16px; background: linear-gradient(135deg, #0d1f17, #0b1a2c); }
	.lqd-head-sec .erp-menu > .sub-menu > li:last-child > a { border-bottom-color: rgba(255, 255, 255, .12) !important; color: #86efac !important; }
	.lqd-head-sec .erp-menu > .sub-menu > li:last-child .sub-menu a { color: #e2e8f0 !important; }
	.lqd-head-sec .erp-menu > .sub-menu > li:last-child .sub-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff !important; }
}
@media (min-width: 992px) {
	body .lqd-head-sec .menu > li.erp-menu > .sub-menu > li:last-child > a { color: #86efac !important; border-bottom-color: rgba(255, 255, 255, .12) !important; }
}
@media (min-width: 992px) {
	.lqd-head-sec .menu > li.industry-menu > .sub-menu { width: min(640px, calc(100vw - 48px)) !important; }
	.lqd-head-sec .menu > li.industry-menu:hover > .sub-menu > li.menu-item-has-children { width: calc(50% - 14px) !important; }
	.lqd-head-sec .menu > li.industry-menu:hover > .sub-menu > li:not(.menu-item-has-children) { width: 100% !important; margin-top: 6px; padding-top: 10px; border-top: 1px solid #eef2f6; }
	.lqd-head-sec .menu > li.industry-menu > .sub-menu > li:not(.menu-item-has-children) > a { color: #23873a !important; font-weight: 600 !important; }
}
