/*
Theme Name: TechDrive Finance Co.
Theme URI: http://techdrivefinanceco.local
Author: TechDrive Finance Co. LLC
Description: Custom theme for TechDrive Finance Co. LLC - auto spare parts sourcing service. Includes merchant-compliance pages (Terms, Privacy, Refund, Delivery, Contact) and card association marks.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techdrive
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--td-red: #d6202a;
	--td-red-dark: #a8171f;
	--td-red-soft: #fdeced;
	--td-ink: #0f1318;
	--td-ink-2: #19202a;
	--td-ink-3: #27313d;
	--td-steel: #5d6a7a;
	--td-steel-light: #8b97a6;
	--td-line: #e3e7ec;
	--td-line-dark: #2b3542;
	--td-bg: #ffffff;
	--td-bg-alt: #f5f7f9;
	--td-green: #1f8a4c;

	--td-wrap: 1180px;
	--td-radius: 4px;
	--td-radius-lg: 10px;

	--td-display: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
	--td-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--td-shadow: 0 1px 2px rgba(15, 19, 24, .05), 0 8px 24px rgba(15, 19, 24, .06);
	--td-shadow-lg: 0 2px 4px rgba(15, 19, 24, .06), 0 18px 50px rgba(15, 19, 24, .12);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--td-body);
	font-size: 16.5px;
	line-height: 1.68;
	color: var(--td-ink-2);
	background: var(--td-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--td-red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--td-display);
	color: var(--td-ink);
	line-height: 1.1;
	letter-spacing: -0.005em;
	margin: 0 0 .5em;
	font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.15em; }

:focus-visible {
	outline: 3px solid var(--td-red);
	outline-offset: 2px;
	border-radius: 2px;
}

.td-skip {
	position: absolute; left: -9999px; top: 0;
	background: var(--td-ink); color: #fff; padding: 12px 20px; z-index: 999;
}
.td-skip:focus { left: 8px; top: 8px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ==========================================================================
   3. Layout utilities
   ========================================================================== */
.td-wrap { width: 100%; max-width: var(--td-wrap); margin: 0 auto; padding: 0 24px; }
.td-wrap--narrow { max-width: 820px; }

.td-section { padding: 88px 0; }
.td-section--tight { padding: 60px 0; }
.td-section--alt { background: var(--td-bg-alt); }
.td-section--dark { background: var(--td-ink); color: #c9d2dc; }
.td-section--dark h2, .td-section--dark h3 { color: #fff; }

.td-eyebrow {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--td-body);
	font-size: .76rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--td-red);
	margin: 0 0 14px;
}
.td-eyebrow::before {
	content: ""; width: 26px; height: 3px;
	background: var(--td-red); transform: skewX(-20deg);
}
.td-section--dark .td-eyebrow { color: #ff5a63; }

.td-head { max-width: 760px; margin-bottom: 52px; }
.td-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.td-head p { font-size: 1.1rem; color: var(--td-steel); margin-bottom: 0; }
.td-section--dark .td-head p { color: #99a6b4; }

.td-grid { display: grid; gap: 24px; }
.td-grid--2 { grid-template-columns: repeat(2, 1fr); }
.td-grid--3 { grid-template-columns: repeat(3, 1fr); }
.td-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.td-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--td-body);
	font-size: .92rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	padding: 15px 30px;
	border: 2px solid transparent;
	border-radius: var(--td-radius);
	cursor: pointer;
	transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
	text-decoration: none !important;
	line-height: 1.2;
}
.td-btn:hover { transform: translateY(-2px); }

.td-btn--primary { background: var(--td-red); color: #fff; border-color: var(--td-red); }
.td-btn--primary:hover { background: var(--td-red-dark); border-color: var(--td-red-dark); color: #fff; }

.td-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.td-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.td-btn--dark { background: var(--td-ink); color: #fff; border-color: var(--td-ink); }
.td-btn--dark:hover { background: var(--td-ink-3); border-color: var(--td-ink-3); color: #fff; }

.td-btn--sm { padding: 11px 20px; font-size: .82rem; }

.td-btnrow { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   5. Topbar
   ========================================================================== */
.td-topbar {
	background: var(--td-ink);
	color: #a9b5c2;
	font-size: .82rem;
	border-bottom: 1px solid var(--td-line-dark);
}
.td-topbar .td-wrap {
	display: flex; align-items: center; justify-content: space-between;
	gap: 18px; min-height: 42px; flex-wrap: wrap;
}
.td-topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.td-topbar a { color: #dbe3ea; font-weight: 500; }
.td-topbar a:hover { color: #fff; }
.td-topbar__tag {
	display: inline-flex; align-items: center; gap: 7px;
	color: #a9b5c2;
}
.td-topbar__dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--td-green);
	box-shadow: 0 0 0 3px rgba(31,138,76,.22);
}

/* ==========================================================================
   6. Header / navigation
   ========================================================================== */
.td-header {
	background: #fff;
	border-bottom: 1px solid var(--td-line);
	position: sticky; top: 0; z-index: 100;
}
.td-header .td-wrap {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 86px;
}

.td-brand { display: flex; align-items: center; flex-shrink: 0; }
.td-brand img { height: 64px; width: auto; }
.td-brand:hover { text-decoration: none; }
.td-brand__fallback {
	font-family: var(--td-display); font-size: 1.6rem; font-weight: 700;
	color: var(--td-ink); letter-spacing: .02em; line-height: 1;
}
.td-brand__fallback span { color: var(--td-red); }

.td-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 4px;
}
.td-nav a {
	display: block;
	font-size: .9rem; font-weight: 600; letter-spacing: .02em;
	color: var(--td-ink-2);
	padding: 10px 14px;
	border-radius: var(--td-radius);
	position: relative;
}
.td-nav a:hover { color: var(--td-red); text-decoration: none; background: var(--td-bg-alt); }
.td-nav .current-menu-item > a,
.td-nav .current_page_item > a { color: var(--td-red); }
.td-nav .current-menu-item > a::after,
.td-nav .current_page_item > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
	height: 2px; background: var(--td-red);
}

.td-header__cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.td-navtoggle {
	display: none;
	width: 46px; height: 46px;
	background: var(--td-bg-alt); border: 1px solid var(--td-line);
	border-radius: var(--td-radius); cursor: pointer;
	align-items: center; justify-content: center;
}
.td-navtoggle span {
	display: block; width: 20px; height: 2px; background: var(--td-ink); position: relative;
}
.td-navtoggle span::before, .td-navtoggle span::after {
	content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--td-ink);
}
.td-navtoggle span::before { top: -6px; }
.td-navtoggle span::after { top: 6px; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.td-hero {
	position: relative;
	background: var(--td-ink);
	color: #c4cedb;
	overflow: hidden;
	padding: 104px 0 96px;
}
.td-hero::before {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(115deg, transparent 38%, rgba(214,32,42,.22) 48%, transparent 52%),
		linear-gradient(115deg, transparent 54%, rgba(214,32,42,.14) 62%, transparent 66%),
		linear-gradient(115deg, transparent 70%, rgba(214,32,42,.09) 76%, transparent 80%),
		radial-gradient(900px 480px at 78% 12%, rgba(214,32,42,.20), transparent 70%);
	pointer-events: none;
}
.td-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
	background: linear-gradient(90deg, var(--td-red) 0%, var(--td-red) 32%, var(--td-line-dark) 32%);
}
.td-hero .td-wrap { position: relative; z-index: 1; }
.td-hero__inner { max-width: 760px; }
.td-hero h1 { color: #fff; margin-bottom: 20px; }
.td-hero h1 em { font-style: normal; color: var(--td-red); }
.td-hero__lead {
	font-size: 1.22rem; line-height: 1.6; color: #adbac8; max-width: 620px; margin-bottom: 34px;
}
.td-hero .td-btnrow { margin-bottom: 44px; }

.td-herofacts {
	display: flex; flex-wrap: wrap; gap: 14px 40px;
	padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12);
}
.td-herofacts div { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #b8c4d1; }
.td-herofacts svg { flex-shrink: 0; color: var(--td-red); }

/* ==========================================================================
   8. Stat strip
   ========================================================================== */
.td-stats { background: var(--td-ink-2); color: #fff; padding: 0; }
.td-stats .td-grid { gap: 0; }
.td-stats__item {
	padding: 38px 28px;
	border-right: 1px solid var(--td-line-dark);
}
.td-stats__item:last-child { border-right: 0; }
.td-stats__n {
	font-family: var(--td-display); font-size: 2.5rem; font-weight: 700;
	color: #fff; line-height: 1; margin-bottom: 8px;
}
.td-stats__n span { color: var(--td-red); }
.td-stats__l { font-size: .88rem; color: #93a1b0; line-height: 1.5; }

/* ==========================================================================
   9. Cards
   ========================================================================== */
.td-card {
	background: #fff;
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	padding: 30px 28px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	height: 100%;
}
.td-card:hover { transform: translateY(-3px); box-shadow: var(--td-shadow); border-color: #cfd6de; }
.td-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.td-card p { color: var(--td-steel); font-size: .96rem; margin-bottom: 0; }
.td-card__icon {
	width: 48px; height: 48px; border-radius: var(--td-radius);
	background: var(--td-red-soft); color: var(--td-red);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 18px;
}
.td-card__list { list-style: none; margin: 14px 0 0; padding: 0; }
.td-card__list li {
	font-size: .92rem; color: var(--td-steel); padding: 5px 0 5px 20px; position: relative;
}
.td-card__list li::before {
	content: ""; position: absolute; left: 0; top: 13px;
	width: 9px; height: 3px; background: var(--td-red); transform: skewX(-20deg);
}

/* Steps */
.td-step { position: relative; padding-top: 30px; }
.td-step__n {
	font-family: var(--td-display); font-size: 3.4rem; font-weight: 700;
	line-height: 1; color: var(--td-line); margin-bottom: 6px;
}
.td-step h3 { font-size: 1.22rem; margin-bottom: 10px; }
.td-step p { color: var(--td-steel); font-size: .96rem; margin-bottom: 0; }
.td-step::before {
	content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 4px;
	background: var(--td-red); transform: skewX(-20deg);
}

/* Feature row with marker */
.td-feature { display: flex; gap: 18px; }
.td-feature__mark {
	flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
	background: var(--td-red); color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.td-feature h3 { font-size: 1.15rem; margin-bottom: 7px; }
.td-feature p { font-size: .95rem; color: var(--td-steel); margin: 0; }
.td-section--dark .td-feature p { color: #9eabb9; }

/* ==========================================================================
   10. Fee / pricing callout
   ========================================================================== */
.td-feebox {
	background: #fff; border: 1px solid var(--td-line);
	border-left: 5px solid var(--td-red);
	border-radius: var(--td-radius-lg);
	padding: 34px 34px;
	box-shadow: var(--td-shadow);
}
.td-feebox h3 { margin-bottom: 14px; }
.td-feeflow { list-style: none; margin: 0; padding: 0; counter-reset: fee; }
.td-feeflow li {
	position: relative; padding: 0 0 22px 46px; counter-increment: fee;
	border-left: 2px dashed var(--td-line); margin-left: 15px;
}
.td-feeflow li:last-child { border-left-color: transparent; padding-bottom: 0; }
.td-feeflow li::before {
	content: counter(fee);
	position: absolute; left: -16px; top: -2px;
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--td-ink); color: #fff;
	font-family: var(--td-display); font-weight: 700; font-size: 1rem;
	display: flex; align-items: center; justify-content: center;
}
.td-feeflow strong { display: block; color: var(--td-ink); font-size: 1.02rem; margin-bottom: 3px; }
.td-feeflow span { color: var(--td-steel); font-size: .95rem; }
.td-feeflow li.is-highlight::before { background: var(--td-red); }

/* ==========================================================================
   11. Delivery table
   ========================================================================== */
.td-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.td-table {
	width: 100%; border-collapse: collapse; background: #fff;
	border: 1px solid var(--td-line); border-radius: var(--td-radius-lg); overflow: hidden;
	font-size: .95rem;
	min-width: 560px;
}
.td-table th {
	background: var(--td-ink); color: #fff; text-align: left;
	font-family: var(--td-body); font-size: .78rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	padding: 14px 18px;
}
.td-table td { padding: 15px 18px; border-top: 1px solid var(--td-line); color: var(--td-ink-2); vertical-align: top; }
.td-table tbody tr:nth-child(even) { background: var(--td-bg-alt); }
.td-table td:first-child { font-weight: 600; color: var(--td-ink); }

/* ==========================================================================
   12. Payment / card marks
   ========================================================================== */
.td-cards { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.td-cards__item {
	background: #fff; border: 1px solid var(--td-line); border-radius: 6px;
	padding: 7px 10px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 1px 2px rgba(15,19,24,.06);
}
.td-cards__item svg { height: 26px; width: auto; display: block; }
.td-cards--lg .td-cards__item { height: 54px; padding: 9px 14px; }
.td-cards--lg .td-cards__item svg { height: 32px; }

/* Official artwork: full card graphics that carry their own background. */
.td-cards__item--art {
	background: none; border: 0; padding: 0; height: auto;
	border-radius: 5px; overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 19, 24, .22);
}
.td-cards__item--art img { height: 32px; width: auto; display: block; }
.td-cards--lg .td-cards__item--art { height: auto; padding: 0; }
.td-cards--lg .td-cards__item--art img { height: 40px; }

.td-paystrip {
	background: var(--td-bg-alt);
	border-top: 1px solid var(--td-line);
	border-bottom: 1px solid var(--td-line);
	padding: 34px 0;
}
.td-paystrip .td-wrap {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.td-paystrip__text { max-width: 560px; }
.td-paystrip__text h3 { font-size: 1.35rem; margin-bottom: 6px; }
.td-paystrip__text p { font-size: .95rem; color: var(--td-steel); margin: 0; }

/* ==========================================================================
   13. CTA band
   ========================================================================== */
.td-cta {
	position: relative; background: var(--td-red); color: #fff; overflow: hidden;
	padding: 72px 0;
}
.td-cta::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 46%, rgba(0,0,0,.16) 54%, transparent 60%);
}
.td-cta .td-wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.td-cta h2 { color: #fff; margin-bottom: 8px; }
.td-cta p { color: rgba(255,255,255,.9); margin: 0; max-width: 560px; font-size: 1.05rem; }
.td-cta .td-btn--dark:hover { background: #fff; color: var(--td-ink); border-color: #fff; }

/* ==========================================================================
   14. Page hero (inner pages)
   ========================================================================== */
.td-pagehero {
	position: relative; background: var(--td-ink); color: #b9c4d1;
	padding: 68px 0 60px; overflow: hidden;
}
.td-pagehero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 52%, rgba(214,32,42,.18) 60%, transparent 66%);
}
.td-pagehero::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 180px; height: 4px; background: var(--td-red);
}
.td-pagehero .td-wrap { position: relative; z-index: 1; }
.td-pagehero h1 { color: #fff; margin-bottom: 10px; }
.td-pagehero p { color: #9fadbb; font-size: 1.05rem; max-width: 640px; margin: 0; }

.td-crumbs { font-size: .83rem; color: #8694a3; margin-bottom: 16px; }
.td-crumbs a { color: #b9c4d1; }
.td-crumbs span { margin: 0 8px; opacity: .5; }

/* ==========================================================================
   15. Prose (policy / legal pages)
   ========================================================================== */
.td-prose { font-size: 1.02rem; line-height: 1.78; color: #333e4b; }
.td-prose > *:first-child { margin-top: 0; }
.td-prose h2 {
	font-size: 1.6rem; margin: 2.2em 0 .7em; padding-left: 16px; position: relative;
	scroll-margin-top: 110px;
}
.td-prose h2::before {
	content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px;
	background: var(--td-red); border-radius: 2px;
}
.td-prose h3 { font-size: 1.2rem; margin: 1.8em 0 .55em; scroll-margin-top: 110px; }
.td-prose ul, .td-prose ol { margin: 0 0 1.2em; padding-left: 22px; }
.td-prose li { margin-bottom: .5em; }
.td-prose strong { color: var(--td-ink); font-weight: 600; }
.td-prose a { text-decoration: underline; text-underline-offset: 2px; }
.td-prose hr { border: 0; border-top: 1px solid var(--td-line); margin: 2.4em 0; }
.td-prose table { margin-bottom: 1.6em; }

.td-updated {
	display: inline-flex; align-items: center; gap: 9px;
	background: var(--td-bg-alt); border: 1px solid var(--td-line);
	border-radius: 100px; padding: 7px 16px;
	font-size: .84rem; color: var(--td-steel); font-weight: 500;
	margin-bottom: 30px;
}

.td-toc {
	background: var(--td-bg-alt); border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg); padding: 24px 26px; margin: 0 0 40px;
}
.td-toc h2 {
	font-size: .8rem !important; letter-spacing: .12em; text-transform: uppercase;
	font-family: var(--td-body); color: var(--td-steel) !important;
	margin: 0 0 12px !important; padding: 0 !important;
}
.td-toc h2::before { display: none; }
.td-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.td-toc li { margin-bottom: 6px; break-inside: avoid; }
.td-toc a { color: var(--td-ink-2); text-decoration: none; font-size: .94rem; }
.td-toc a:hover { color: var(--td-red); text-decoration: underline; }

.td-note {
	background: var(--td-red-soft); border: 1px solid #f6c9cc;
	border-radius: var(--td-radius-lg); padding: 20px 24px; margin: 0 0 1.6em;
}
.td-note p:last-child { margin-bottom: 0; }
.td-note strong { color: var(--td-red-dark); }

.td-callout {
	background: var(--td-bg-alt); border-left: 4px solid var(--td-ink);
	border-radius: 0 var(--td-radius) var(--td-radius) 0;
	padding: 18px 24px; margin: 0 0 1.6em;
}
.td-callout p:last-child { margin-bottom: 0; }

/* ==========================================================================
   16. Contact page
   ========================================================================== */
.td-contactgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.td-contactcard {
	background: #fff; border: 1px solid var(--td-line); border-radius: var(--td-radius-lg);
	padding: 0; overflow: hidden; box-shadow: var(--td-shadow);
}
.td-contactcard__row {
	display: flex; gap: 18px; padding: 24px 28px; border-bottom: 1px solid var(--td-line);
}
.td-contactcard__row:last-child { border-bottom: 0; }
.td-contactcard__ico {
	flex-shrink: 0; width: 42px; height: 42px; border-radius: var(--td-radius);
	background: var(--td-ink); color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.td-contactcard__lbl {
	font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--td-steel); margin-bottom: 5px;
}
.td-contactcard__val { font-size: 1.04rem; color: var(--td-ink); font-weight: 500; line-height: 1.55; }
.td-contactcard__val a { color: var(--td-ink); }
.td-contactcard__val a:hover { color: var(--td-red); }
.td-contactcard__val small { display: block; font-size: .87rem; color: var(--td-steel); font-weight: 400; margin-top: 4px; }

/* Forms */
.td-form { background: var(--td-bg-alt); border: 1px solid var(--td-line); border-radius: var(--td-radius-lg); padding: 34px; }
.td-form h3 { margin-bottom: 6px; }
.td-form > p { color: var(--td-steel); font-size: .95rem; margin-bottom: 26px; }
.td-field { margin-bottom: 18px; }
.td-field label {
	display: block; font-size: .83rem; font-weight: 600; color: var(--td-ink);
	margin-bottom: 7px; letter-spacing: .01em;
}
.td-field label .req { color: var(--td-red); }
.td-field input, .td-field select, .td-field textarea {
	width: 100%; font-family: var(--td-body); font-size: .98rem; color: var(--td-ink);
	background: #fff; border: 1px solid #ccd4dd; border-radius: var(--td-radius);
	padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.td-field input:focus, .td-field select:focus, .td-field textarea:focus {
	outline: none; border-color: var(--td-red); box-shadow: 0 0 0 3px rgba(214,32,42,.12);
}
.td-field textarea { min-height: 130px; resize: vertical; }
.td-field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.td-field--2 .td-field { margin-bottom: 0; }
.td-consent { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 22px; }
.td-consent input { width: auto; margin-top: 4px; flex-shrink: 0; }
.td-consent label { font-size: .86rem; font-weight: 400; color: var(--td-steel); line-height: 1.55; margin: 0; }

.td-formnote {
	font-size: .85rem; color: var(--td-steel); margin: 18px 0 0; padding-top: 18px;
	border-top: 1px solid var(--td-line);
}

.td-alert { border-radius: var(--td-radius); padding: 14px 18px; margin-bottom: 22px; font-size: .94rem; }
.td-alert--ok { background: #e8f6ee; border: 1px solid #b7e0c7; color: #14633a; }
.td-alert--err { background: var(--td-red-soft); border: 1px solid #f6c9cc; color: var(--td-red-dark); }

/* ==========================================================================
   17. FAQ
   ========================================================================== */
.td-faq { border-top: 1px solid var(--td-line); }
.td-faq details { border-bottom: 1px solid var(--td-line); }
.td-faq summary {
	cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
	font-family: var(--td-display); font-size: 1.22rem; font-weight: 700; color: var(--td-ink);
	line-height: 1.3;
}
.td-faq summary::-webkit-details-marker { display: none; }
.td-faq summary::after {
	content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
	border-right: 2px solid var(--td-red); border-bottom: 2px solid var(--td-red);
	transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.td-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.td-faq__body { padding: 0 44px 24px 0; color: var(--td-steel); font-size: .99rem; }
.td-faq__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   18. Footer
   ========================================================================== */
.td-footer { background: var(--td-ink); color: #93a1b0; padding: 68px 0 0; font-size: .94rem; }
.td-footer__grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px;
	padding-bottom: 50px;
}
.td-footer__logo {
	background: #fff; border-radius: var(--td-radius-lg); padding: 12px 16px;
	display: inline-block; margin-bottom: 20px;
}
.td-footer__logo img { height: 52px; width: auto; }
.td-footer p { color: #93a1b0; line-height: 1.7; }
.td-footer h4 {
	color: #fff; font-family: var(--td-body); font-size: .78rem; font-weight: 700;
	letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px;
}
.td-footer ul { list-style: none; margin: 0; padding: 0; }
.td-footer li { margin-bottom: 11px; }
.td-footer a { color: #aab6c3; }
.td-footer a:hover { color: #fff; text-decoration: none; }

.td-footer__contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 15px; }
.td-footer__contact svg { flex-shrink: 0; color: var(--td-red); margin-top: 3px; }

.td-footer__pay {
	border-top: 1px solid var(--td-line-dark);
	padding: 28px 0;
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.td-footer__pay h4 { margin-bottom: 0; }

.td-footer__bottom {
	border-top: 1px solid var(--td-line-dark);
	padding: 24px 0 30px;
	display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
	font-size: .86rem; color: #76838f;
}
.td-footer__bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.td-footer__bottom li { margin: 0; }

.td-disclosure {
	background: var(--td-ink-2); border-top: 1px solid var(--td-line-dark);
	padding: 20px 0; font-size: .83rem; color: #7d8a97; line-height: 1.65;
}
.td-disclosure p { margin: 0; }

/* Placeholder highlight so missing business details are impossible to miss */
.td-ph {
	background: #fff3cd; color: #7a5b00; border: 1px dashed #d9ab28;
	border-radius: 3px; padding: 0 6px; font-weight: 600; font-size: .95em;
	white-space: nowrap;
}
.td-footer .td-ph, .td-topbar .td-ph { background: #4a3c10; color: #ffd96b; border-color: #8a6f1e; }

/* ==========================================================================
   19. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.td-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.td-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.td-stats__item:nth-child(2) { border-right: 0; }
	.td-contactgrid { gap: 40px; }
}

@media (max-width: 900px) {
	.td-header .td-wrap { min-height: 72px; }
	.td-brand img { height: 46px; }
	.td-navtoggle { display: flex; }
	.td-header__cta .td-btn { display: none; }

	.td-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--td-line);
		box-shadow: var(--td-shadow-lg);
		display: none;
	}
	.td-nav.is-open { display: block; }
	.td-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; }
	.td-nav a { padding: 13px 10px; border-bottom: 1px solid var(--td-line); border-radius: 0; }
	.td-nav li:last-child a { border-bottom: 0; }
	.td-nav .current-menu-item > a::after, .td-nav .current_page_item > a::after { display: none; }

	.td-contactgrid { grid-template-columns: 1fr; }
	.td-grid--3 { grid-template-columns: 1fr; }
	.td-section { padding: 64px 0; }
	.td-hero { padding: 76px 0 70px; }
	.td-toc ol { columns: 1; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.td-wrap { padding: 0 18px; }
	.td-grid--2, .td-grid--4 { grid-template-columns: 1fr; }
	.td-stats__item { border-right: 0; border-bottom: 1px solid var(--td-line-dark); padding: 26px 20px; }
	.td-stats__item:last-child { border-bottom: 0; }
	.td-footer__grid { grid-template-columns: 1fr; gap: 34px; }
	.td-field--2 { grid-template-columns: 1fr; }
	.td-form { padding: 24px 20px; }
	.td-feebox { padding: 26px 22px; }
	.td-cta { padding: 56px 0; }
	.td-topbar__list { gap: 14px; }
	.td-topbar { font-size: .78rem; }
	.td-btn { width: 100%; }
	.td-btnrow { flex-direction: column; }
	.td-herofacts { gap: 12px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.td-btn:hover, .td-card:hover { transform: none; }
}

@media print {
	.td-topbar, .td-header, .td-footer, .td-cta, .td-toc, .td-navtoggle { display: none !important; }
	.td-pagehero { background: #fff !important; color: #000 !important; padding: 0 0 20px; }
	.td-pagehero h1, .td-pagehero p { color: #000 !important; }
	body { font-size: 11pt; }
	.td-prose { font-size: 11pt; }
}
