/*
 * New homepage (template-parts/front-modern.php). Everything is scoped to .tu-home so the rest of
 * the site, which still uses the original Bootstrap 3 styles, is unaffected.
 * Brand colours: navy #000089, green #7cca00 (text on green is navy; white on green is too faint).
 */

.tu-home {
	--tu-navy: #000089;
	--tu-navy-deep: #05054d;
	--tu-green: #7cca00;
	--tu-green-hover: #8fdc14;
	--tu-green-text: #3d7300;
	--tu-ink: #15152e;
	--tu-muted: #4b4f66;
	--tu-line: #e3e6ef;
	--tu-alt: #f5f7fb;
	--tu-radius: 16px;
	--tu-shadow: 0 1px 2px rgba(21, 21, 46, .06), 0 8px 24px rgba(21, 21, 46, .06);

	font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--tu-ink);
	-webkit-font-smoothing: antialiased;
}
.tu-home *, .tu-home *::before, .tu-home *::after { box-sizing: border-box; }
.tu-home h1, .tu-home h2, .tu-home h3 {
	font-family: inherit;
	text-transform: none;
	letter-spacing: -.02em;
	color: var(--tu-ink);
	font-weight: 800;
	margin: 0;
}
.tu-home p { margin: 0; }
.tu-home a { color: var(--tu-navy); }
.tu-home a:hover, .tu-home a:focus { color: var(--tu-navy); }
.tu-home svg { width: 1em; height: 1em; flex: none; }

.tu-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.tu-narrow { max-width: 820px; }
.tu-sec { padding: 96px 0; }
.tu-sec-alt { background: var(--tu-alt); }
.tu-sec-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.tu-home .tu-sec-head p { text-align: center; padding: 0; } /* the old stylesheet left-aligns #services p */
.tu-sec-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.tu-sec-head p:last-child:not(.tu-eyebrow) { margin-top: 14px; font-size: 19px; color: var(--tu-muted); }

.tu-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tu-green);
	margin-bottom: 14px !important;
}
.tu-eyebrow-dark { color: var(--tu-green-text); }

/* ---- Buttons ---- */
.tu-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color .15s, border-color .15s, transform .15s;
}
.tu-btn:hover { transform: translateY(-1px); }
.tu-btn-primary { background: var(--tu-green); color: var(--tu-navy-deep) !important; }
.tu-btn-primary:hover, .tu-btn-primary:focus { background: var(--tu-green-hover); color: var(--tu-navy-deep) !important; }
.tu-btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.tu-btn-ghost:hover, .tu-btn-ghost:focus { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff !important; }
.tu-btn-dark { background: var(--tu-navy); color: #fff !important; }
.tu-btn-dark:hover, .tu-btn-dark:focus { background: #1a1aa6; color: #fff !important; }
.tu-home a:focus-visible, .tu-home summary:focus-visible, .tu-home button:focus-visible {
	outline: 3px solid var(--tu-green);
	outline-offset: 3px;
}

/* ---- Hero ---- */
.tu-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 150px 0 110px;
	background:
		radial-gradient(900px 520px at 88% 18%, rgba(124, 202, 0, .22), transparent 62%),
		radial-gradient(700px 500px at 0% 100%, rgba(80, 80, 255, .25), transparent 60%),
		linear-gradient(160deg, var(--tu-navy) 0%, var(--tu-navy-deep) 100%);
}
/* Background video (the original site's): sits under a see-through version of the same gradient. */
.tu-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .25;
	pointer-events: none;
}
.tu-hero-has-video::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 520px at 88% 18%, rgba(124, 202, 0, .2), transparent 62%),
		linear-gradient(160deg, rgba(0, 0, 137, .72) 0%, rgba(5, 5, 77, .9) 100%);
	pointer-events: none;
}
.tu-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.tu-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 66px); line-height: 1.04; letter-spacing: -.03em; }
.tu-lead { margin-top: 22px !important; font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 580px; }
.tu-hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px !important; font-size: 15px; color: rgba(255, 255, 255, .75); }
.tu-hero-note svg { color: var(--tu-green); }

.tu-hero-visual { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.tu-mock {
	background: #fff;
	color: var(--tu-ink);
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 30px 70px rgba(0, 0, 20, .45);
	transform: rotate(-1.5deg);
}
.tu-mock-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.tu-mock-head strong { display: block; font-size: 17px; line-height: 1.2; }
.tu-mock-head span { font-size: 14px; color: var(--tu-muted); }
.tu-mock-logo {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--tu-navy);
	color: #fff;
	font-weight: 800;
	font-size: 15px;
}
.tu-mock-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tu-mock-stamps span {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 2px dashed #c9cede;
	color: #9aa0b5;
	font-size: 13px;
	font-weight: 700;
}
.tu-mock-stamps span.on { border: 0; background: var(--tu-green); color: var(--tu-navy-deep); font-size: 18px; }
.tu-mock-text { margin-top: 18px !important; font-size: 15px; color: var(--tu-muted); text-align: center; }
.tu-mock-text strong { color: var(--tu-ink); }
.tu-mock-offer {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--tu-alt);
	font-size: 15px;
}
.tu-mock-offer strong { display: block; }
.tu-mock-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tu-green-text); }
.tu-mock-btn {
	display: block;
	margin-top: 16px;
	padding: 12px;
	border-radius: 12px;
	background: var(--tu-navy);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	text-align: center;
}
.tu-chip {
	position: absolute;
	padding: 10px 16px;
	border-radius: 14px;
	background: #fff;
	color: var(--tu-ink);
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 14px 34px rgba(0, 0, 20, .35);
	white-space: nowrap;
}
.tu-chip-review { left: -36px; bottom: -22px; transform: rotate(2deg); }
.tu-stars { color: #f5a623; letter-spacing: 1px; margin-right: 4px; }
.tu-chip-stamp { right: -20px; top: -16px; background: var(--tu-green); color: var(--tu-navy-deep); transform: rotate(-4deg); }

/* ---- How it works ---- */
.tu-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.tu-steps li { padding: 32px 28px; border: 1px solid var(--tu-line); border-radius: var(--tu-radius); background: #fff; }
.tu-step-num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tu-green);
	color: var(--tu-navy-deep);
	font-weight: 800;
	font-size: 18px;
	margin-bottom: 18px;
}
.tu-steps h3 { font-size: 21px; line-height: 1.3; margin-bottom: 8px; }
.tu-steps p { color: var(--tu-muted); }

/* ---- Services ---- */
.tu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tu-card {
	display: flex;
	flex-direction: column;
	padding: 30px 28px;
	border: 1px solid var(--tu-line);
	border-radius: var(--tu-radius);
	background: #fff;
	box-shadow: var(--tu-shadow);
	transition: transform .15s, box-shadow .15s;
}
.tu-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(21, 21, 46, .06), 0 16px 36px rgba(21, 21, 46, .1); }
.tu-icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background: rgba(0, 0, 137, .07);
	color: var(--tu-navy);
	font-size: 24px;
	margin-bottom: 20px;
}
.tu-card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.tu-card p { color: var(--tu-muted); flex: 1; }
.tu-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; text-decoration: none !important; }
.tu-more svg { transition: transform .15s; }
.tu-more:hover svg { transform: translateX(3px); }
.tu-extras { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 40px; }
.tu-extras > span { font-weight: 700; color: var(--tu-muted); }
.tu-extras ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tu-extras a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--tu-line);
	border-radius: 999px;
	background: #fff;
	color: var(--tu-ink) !important;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
}
.tu-extras a:hover { border-color: var(--tu-navy); }

/* ---- Business page band ---- */
.tu-band {
	background:
		radial-gradient(700px 420px at 100% 0%, rgba(124, 202, 0, .18), transparent 60%),
		linear-gradient(160deg, var(--tu-navy) 0%, var(--tu-navy-deep) 100%);
	color: #fff;
}
.tu-band h2 { color: #fff; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.tu-band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.tu-band-lead { margin-top: 18px !important; font-size: 19px; color: rgba(255, 255, 255, .86); }
.tu-ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.tu-ticks li { display: flex; gap: 12px; align-items: flex-start; }
.tu-ticks svg { margin-top: 5px; color: var(--tu-green); font-size: 18px; }
.tu-band .tu-ticks li { color: rgba(255, 255, 255, .9); }
.tu-page-mock {
	justify-self: center;
	width: 100%;
	max-width: 360px;
	padding: 14px;
	border-radius: 24px;
	background: #f5f7fa;
	box-shadow: 0 30px 70px rgba(0, 0, 20, .45);
	color: var(--tu-ink);
}
.tu-pm-hero {
	padding: 24px 18px;
	margin-bottom: 10px;
	border-radius: 14px;
	background: linear-gradient(135deg, #24477a, #4d7fb5);
	color: #fff;
	text-align: center;
}
.tu-pm-hero strong { display: block; font-size: 19px; }
.tu-pm-hero span { font-size: 14px; opacity: .9; }
.tu-pm-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	margin-top: 10px;
	border-radius: 12px;
	border-top: 4px solid #24477a;
	background: #fff;
	font-weight: 700;
	font-size: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.tu-pm-card em { margin-left: auto; font-style: normal; color: #24477a; }
.tu-pm-ico { color: #e6a23c; font-size: 18px; display: inline-flex; }

/* ---- Pricing ---- */
.tu-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.tu-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 36px 32px;
	border: 1px solid var(--tu-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--tu-shadow);
}
.tu-plan-featured { border: 2px solid var(--tu-green); }
.tu-plan h3 { font-size: 22px; }
.tu-price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 12px !important; }
.tu-price strong { font-size: 54px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.tu-price span { color: var(--tu-muted); font-weight: 600; }
.tu-plan-desc { color: var(--tu-muted); flex: 1; margin-bottom: 26px !important; }
.tu-badge {
	position: absolute;
	top: -14px;
	left: 32px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--tu-green);
	color: var(--tu-navy-deep);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.tu-included {
	max-width: 900px;
	margin: 24px auto 0;
	padding: 30px 32px;
	border-radius: 20px;
	background: var(--tu-alt);
}
.tu-included h3 { font-size: 18px; }
.tu-ticks-grid { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.tu-note { margin-top: 20px !important; font-size: 15px; color: var(--tu-muted); }

/* ---- FAQs ---- */
.tu-faqs { border-top: 1px solid var(--tu-line); }
.tu-faqs details { border-bottom: 1px solid var(--tu-line); }
.tu-faqs summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 22px 4px;
	font-size: 19px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.tu-faqs summary::-webkit-details-marker { display: none; }
.tu-faqs summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--tu-line);
	color: var(--tu-navy);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}
.tu-faqs details[open] summary::after { content: "\2212"; }
.tu-faq-a { padding: 0 4px 22px; color: var(--tu-muted); }
.tu-faq-a p + p { margin-top: 12px; }

/* ---- Contact (wraps the [thanku_contact_form] markup) ---- */
.tu-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.tu-contact-copy h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.tu-contact-copy p:not(.tu-eyebrow) { margin-top: 16px !important; font-size: 19px; color: var(--tu-muted); }
.tu-contact-copy .tu-contact-email { font-size: 17px; }
.tu-contact-email a { font-weight: 700; }
.tu-contact-card {
	padding: 34px;
	border: 1px solid var(--tu-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--tu-shadow);
}
.tu-contact-card > .row { margin: 0; }
.tu-contact-card .col-sm-5 { display: none; } /* the form's round logo */
.tu-contact-card .col-sm-7 { width: 100%; float: none; padding: 0; }
.tu-contact-card .form-control {
	height: 50px;
	padding: 12px 14px;
	border: 1px solid #cdd2df;
	border-radius: 10px;
	box-shadow: none;
	font-size: 16px;
	color: var(--tu-ink);
}
.tu-contact-card textarea.form-control { height: auto; min-height: 140px; }
.tu-contact-card .form-control:focus { border-color: var(--tu-navy); box-shadow: 0 0 0 3px rgba(0, 0, 137, .15); }
.tu-contact-card .btn {
	padding: 13px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--tu-navy);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
}
.tu-contact-card .btn:hover, .tu-contact-card .btn:focus { background: #1a1aa6; color: #fff; }
.tu-contact-card .cf-turnstile { margin-bottom: 12px; }
.tu-contact-card .alert { border-radius: 10px; }

/* ---- Smaller screens ---- */
@media (max-width: 991px) {
	.tu-cards { grid-template-columns: repeat(2, 1fr); }
	.tu-ticks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.tu-sec { padding: 72px 0; }
	.tu-hero { padding: 116px 0 80px; }
	.tu-hero-grid, .tu-band-grid, .tu-contact-grid { grid-template-columns: 1fr; gap: 48px; }
	.tu-hero-visual { max-width: 340px; }
	.tu-steps { grid-template-columns: 1fr; }
	.tu-plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.tu-wrap { padding: 0 18px; }
	.tu-cards, .tu-ticks-grid { grid-template-columns: 1fr; }
	.tu-lead { font-size: 18px; }
	.tu-actions .tu-btn { flex: 1 1 100%; }
	.tu-chip-review { left: -6px; bottom: -20px; }
	.tu-chip-stamp { right: -6px; top: -14px; }
	.tu-contact-card { padding: 22px 18px; }
	.tu-plan, .tu-included { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.tu-btn, .tu-card, .tu-more svg { transition: none; }
	.tu-btn:hover, .tu-card:hover { transform: none; }
}
