/*
Theme Name: The Tradeline Experts
Theme URI: https://thetradelineexperts.com
Author: The Tradeline Experts
Description: Custom theme for The Tradeline Experts — home, free credit analysis, tradeline inventory (WooCommerce), Why Us and FAQ pages, with built-in lead capture. Activating the theme creates the pages and sets the home page automatically.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: tradeline-experts
*/

/* Self-hosted fonts (Plus Jakarta Sans & Caveat, SIL Open Font License) */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/jakarta-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/jakarta-500.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/jakarta-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/jakarta-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/jakarta-800.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: italic; font-display: swap; src: url("assets/fonts/jakarta-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/caveat-700.woff2") format("woff2"); }

:root {
	--navy: #0b1f45;
	--navy-900: #071530;
	--navy-700: #13306a;
	--gold: #f6b92b;
	--gold-600: #e5a614;
	--gold-text: #f5b52a;
	--cream: #fff6e3;
	--ink: #1c2742;
	--muted: #5a6680;
	--line: #e3e8f1;
	--bg-soft: #f2f6fc;
	--white: #fff;
	--green: #2ea55b;
	--red: #e23a3a;
	--radius: 10px;
	--shadow: 0 6px 22px rgba(11, 31, 69, .08);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--script: "Caveat", "Segoe Script", cursive;
	--container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.gold { color: var(--gold-text); }
.center { text-align: center; }

.tte-icon { width: 1em; height: 1em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: 13px 26px; border-radius: 6px; border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background .2s, transform .15s, box-shadow .2s, color .2s;
}
.btn .tte-icon { width: 1.05em; height: 1.05em; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 3px 0 rgba(0, 0, 0, .08); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-wide { min-width: 330px; }
.btn.is-disabled { background: #d9dee8; color: #6b7590; cursor: not-allowed; box-shadow: none; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-added { background: var(--green); color: #fff; }
.link-btn { background: none; border: 0; color: var(--navy); font-weight: 600; font-size: .9rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }

.eyebrow { font-weight: 800; text-transform: uppercase; color: var(--gold-text); letter-spacing: .02em; font-size: .95rem; margin-bottom: .6em; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin: 14px 0 0; color: inherit; }
.secure-note .tte-icon { width: 15px; height: 15px; }
.secure-note.dark { color: var(--ink); justify-content: center; }
.secure-note.small { font-size: .8rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(11, 31, 69, .08); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand img, .custom-logo { width: 160px; height: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav .menu { list-style: none; display: flex; gap: 34px; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav .current-menu-item > a { border-color: var(--gold); font-weight: 700; }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-cta { padding: 12px 22px; font-size: .95rem; }
.cart-link { position: relative; color: var(--navy); display: inline-flex; }
.cart-link .tte-icon { width: 30px; height: 30px; }
.cart-count {
	position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 10px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 800;
	display: grid; place-items: center;
}
.cart-count.is-empty { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 6px; cursor: pointer; }
.nav-toggle .tte-icon { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }

/* ---------- Heroes ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: radial-gradient(1200px 500px at 70% 0%, #1a3570 0%, transparent 60%), linear-gradient(180deg, #0c2150, var(--navy-900));
}
.hero-photo { position: absolute; top: 0; bottom: 0; z-index: -1; background-size: cover; background-position: center top; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1f45 0%, rgba(11, 31, 69, .6) 14%, rgba(11, 31, 69, 0) 38%); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hero .lead { font-size: 1.15rem; color: #e7ecf7; max-width: 560px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }

.hero--home .hero-photo { left: 36%; width: 28.5%; background-position: 100% 15%; }
.hero--home .hero-copy { padding: 54px 0 46px; max-width: 470px; position: relative; }
.hero--home h1 { text-shadow: 0 2px 18px rgba(7, 21, 48, .55); }
.hero--home h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); }
.hero--home .btn-lg { min-width: 300px; margin-top: 6px; }
.hero-form {
	background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .25); margin: 24px 0; justify-self: end; width: 100%; max-width: 410px;
	scroll-margin-top: 110px;
}
.hero-form h2 { font-size: 1.35rem; margin-bottom: .35em; }
.hero-form > p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }

.hero--analysis .hero-photo { left: 48%; right: 0; }
.hero--analysis .hero-copy { padding: 44px 0 40px; max-width: 600px; }
.hero--analysis h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; }

.hero--inventory .hero-photo { left: 44%; width: 30%; }
.hero--inventory .hero-copy { padding: 40px 0; max-width: 560px; }
.hero--inventory .hero-photo::after { background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 31, 69, 0) 30%, rgba(11, 31, 69, 0) 75%, var(--navy) 100%); }
.hero-help {
	justify-self: end; max-width: 330px; text-align: center; padding: 26px; border-radius: var(--radius);
	background: rgba(17, 38, 82, .82); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px);
}
.hero-help h2 { color: #fff; font-size: 1.35rem; }
.hero-help p { font-size: .88rem; color: #dbe3f3; }
.help-bars { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 10px; }
.hero-help .secure-note { justify-content: center; }

.hero-feats { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin-top: 26px; }
.hero-feats li { display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3; padding: 0 22px; border-left: 1px solid rgba(255, 255, 255, .35); }
.hero-feats li:first-child { padding-left: 0; border-left: 0; }
.hero-feats .tte-icon { width: 34px; height: 34px; }

.page-hero { background: linear-gradient(180deg, #0c2150, var(--navy-900)); color: #fff; padding: 70px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 820px; }
.page-hero .lead { font-size: 1.15rem; color: #e7ecf7; max-width: 640px; }
.page-hero--sm { padding: 48px 0 44px; }
.page-hero--sm h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0; }
.page-hero--sm .lead { margin: 12px 0 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

/* ---------- Forms ---------- */
.lead-form { display: grid; gap: 12px; }
.input-wrap { position: relative; display: block; }
.input-wrap input, .input-wrap select {
	width: 100%; height: 46px; padding: 0 14px 0 44px; border: 1px solid #d6dce8; border-radius: 6px;
	background: #f8fafd; font-size: .95rem; appearance: none; -webkit-appearance: none;
}
.input-wrap input:focus, .input-wrap select:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 3px rgba(19, 48, 106, .12); }
.input-wrap .input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--navy); pointer-events: none; }
.select-wrap select { color: var(--muted); cursor: pointer; }
.select-wrap select:valid { color: var(--ink); }
.input-wrap .f-chev, .f-select .f-chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; color: var(--navy); }
.lead-form--full .input-wrap input { height: 52px; font-size: 1rem; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 12px 14px; border-radius: 6px; font-size: .92rem; font-weight: 600; }
.form-msg--ok { background: #e6f6ec; color: #17693a; }
.form-msg--err { background: #fdeaea; color: #a32121; }
.form-item-note { font-size: .9rem; background: var(--cream); padding: 8px 12px; border-radius: 6px; margin: 0; }
.goal-radios { border: 0; padding: 0; margin: 6px 0 4px; display: grid; gap: 8px; }
.goal-radios legend { font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.req { color: var(--red); }
.radio { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .98rem; }
.radio input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1.5px solid #7b8599; border-radius: 50%; margin: 0; display: grid; place-items: center; cursor: pointer; }
.radio input::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); transform: scale(0); transition: transform .15s; }
.radio input:checked { border-color: var(--navy); }
.radio input:checked::after { transform: scale(1); }

/* ---------- Trust row ---------- */
.trust-row { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 10px; font-size: .86rem; line-height: 1.3; color: var(--ink); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item > .tte-icon { width: 32px; height: 32px; color: var(--navy); }
.trust-stars { flex-direction: column; gap: 4px; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars .tte-icon { width: 22px; height: 22px; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 100px; }
.sec-title { text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .2em; }
.sec-sub { text-align: center; color: var(--ink); margin-bottom: 28px; }
.h-xl { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.h-hero { font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: #fff; margin-bottom: .2em; }

.better-way { padding: 46px 0; }
.better-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.better-grid > div { padding-right: 40px; border-right: 1px solid var(--line); }
.better-grid p { font-size: 1.08rem; margin: 0; }
.x-list, .check-list { list-style: none; display: grid; gap: 12px; }
.x-list li, .check-list li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; }
.x-list .tte-icon { width: 22px; height: 22px; color: var(--red); }
.check-list .tte-icon { width: 22px; height: 22px; color: var(--green); }

.process { background: var(--bg-soft); padding: 40px 0 48px; }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; position: relative; }
.process-grid li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.process-grid li + li::before {
	content: "→"; position: absolute; left: -32px; top: 50%; transform: translateY(-50%);
	font-size: 1.6rem; color: var(--navy); font-weight: 700;
}
.p-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.p-head h3 { margin: 0; font-size: 1.15rem; }
.num-badge { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; display: grid; place-items: center; flex: none; }
.p-body { display: flex; gap: 16px; align-items: flex-start; }
.p-body .tte-icon { width: 38px; height: 38px; color: var(--navy); margin-top: 4px; }
.p-body p { margin: 0; font-size: .95rem; }

.browse-band {
	color: #fff; padding: 36px 0 30px; position: relative; overflow: hidden;
	background:
		radial-gradient(600px 260px at 85% 30%, rgba(60, 100, 180, .45), transparent 70%),
		repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px),
		linear-gradient(180deg, #0c2150, var(--navy-900));
}
.browse-band .eyebrow { font-size: 1.25rem; margin-bottom: .2em; }
.browse-band .lead { font-size: 1.15rem; color: #e7ecf7; }
.band-filters { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 14px; margin-top: 22px; }
.band-filters .f-select select { height: 44px; background: #fff; border: 0; color: var(--navy); font-weight: 700; padding-left: 46px; }
.band-filters .f-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--navy); pointer-events: none; }
.band-filters .btn-outline { height: 44px; border-width: 1.5px; }

.f-select { position: relative; display: block; }
.f-select select {
	width: 100%; height: 42px; padding: 0 40px 0 14px; border: 1px solid #d6dce8; border-radius: 6px;
	background: #fff; appearance: none; -webkit-appearance: none; font-size: .92rem; cursor: pointer; color: var(--ink);
}

.ready-buy { padding: 14px 0 24px; }
.ready-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; }
.ready-card { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; background: var(--cream); border-radius: var(--radius); overflow: hidden; padding-right: 22px; box-shadow: var(--shadow); }
.ready-card img { height: 100%; width: 100%; object-fit: cover; }
.script-head { font-style: italic; font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 18px 0 .3em; }
.ready-sub { display: flex; gap: 12px; align-items: center; font-size: 1.05rem; }
.ready-sub .tte-icon { width: 36px; height: 36px; color: var(--navy); }
.ready-card .btn { margin-bottom: 20px; }
.steps3 h2 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 18px; }
.steps3 ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps3 li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; position: relative; }
.steps3 li + li::before { content: "→"; position: absolute; left: -20px; top: 74px; font-weight: 700; color: var(--navy); }
.step-ic { grid-column: 1 / -1; width: 70px; height: 70px; border-radius: 50%; background: var(--cream); color: var(--gold-600); display: grid; place-items: center; margin: 0 auto 6px 30px; }
.step-ic .tte-icon { width: 38px; height: 38px; }
.steps3 .num { font-size: 3.6rem; font-weight: 800; color: var(--gold); line-height: .9; }
.steps3 h3 { font-size: 1.15rem; text-transform: uppercase; margin: 6px 0 4px; }
.steps3 p { font-size: .8rem; margin: 0; }

.cta-band { background: linear-gradient(180deg, #0c2150, var(--navy-900)); color: #fff; padding: 22px 0; }
.cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.cta-badge { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.cta-badge .tte-icon { width: 30px; height: 30px; }
.cta-text h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: .2em; }
.cta-text p { margin: 0; color: #e1e8f5; font-size: 1.05rem; }
.cta-action { text-align: center; }
.cta-action .btn { min-width: 230px; }
.cta-action .secure-note { justify-content: center; margin-top: 8px; font-size: .82rem; }
.cta-band.has-photo { padding: 0; margin-top: 40px; }
.cta-band.has-photo .cta-inner { grid-template-columns: 190px 1fr auto; }
.cta-photo { width: 170px; height: 135px; object-fit: cover; object-position: top; border-radius: 0 0 12px 12px; margin-top: -40px; align-self: end; }
.cta-band.has-photo .cta-text, .cta-band.has-photo .cta-action { padding: 20px 0; }

.who-help { background: var(--bg-soft); padding: 22px 0 28px; }
.who-help .sec-title { font-size: 1.5rem; }
.who-help .sec-sub { font-size: .9rem; margin-bottom: 18px; }
.help-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.help-icon { width: 50px; height: 50px; color: var(--navy); margin: 0 auto 8px; }
.help-grid h3 { font-size: .95rem; margin-bottom: .2em; }
.help-grid p { font-size: .82rem; margin: 0; color: var(--ink); }

/* ---------- Free analysis ---------- */
.options { padding: 20px 0 30px; }
.options-grid { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 0; align-items: start; }
.opt-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-top: -40px; position: relative; scroll-margin-top: 110px; }
.opt-head { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.opt-head h2 { color: #fff; font-size: 1.6rem; margin: 0; }
.opt-head p { margin: 0; font-size: 1.05rem; font-weight: 600; }
.opt-num { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 1.8rem; font-weight: 800; display: grid; place-items: center; flex: none; }
.opt-body { padding: 20px 24px 22px; }
.opt-intro { font-size: 1.02rem; }
.or-divider { align-self: stretch; position: relative; display: grid; place-items: center; }
.or-divider::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 50%; border-left: 1px solid var(--line); }
.or-divider span { position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }

.iiq-word { font-weight: 800; letter-spacing: .01em; color: #c8102e; font-size: 1.3rem; line-height: 1; }
.iiq-word b { color: #8c8f96; font-weight: 800; }
.iiq-lg { font-size: 1.9rem; display: inline-block; margin-bottom: 14px; }
.iiq-box { background: var(--cream); border-radius: var(--radius); padding: 18px 20px; margin: 10px -4px 8px; }
.iiq-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.iiq-head .iiq-word { margin-top: 18px; }
.iiq-head h4 { font-size: 1.05rem; margin-bottom: 4px; }
.iiq-head p { font-size: .78rem; margin: 0 0 10px; }
.checks { list-style: none; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.checks .tte-icon { width: 21px; height: 21px; color: var(--green); }
.checks.dark .tte-icon { color: var(--navy); }
.checks.dark li { font-size: .86rem; }

.iiq-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 12px; }
.iiq-visual { display: grid; gap: 10px; }
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gauge { border: 1px solid var(--line); border-radius: 6px; padding: 8px 4px; text-align: center; display: grid; justify-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.g-name { font-size: .7rem; font-weight: 700; }
.gauge svg { width: 62px; height: 40px; margin-top: 4px; }
.gauge strong { font-size: 1rem; color: var(--navy); margin-top: -12px; }
.g-good { font-size: .62rem; color: var(--green); font-weight: 700; }
.iiq-visual img { width: 100%; max-width: 270px; justify-self: end; }

.feat-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin: 16px 0 18px; }
.feat-list { list-style: none; display: grid; gap: 14px; }
.feat-list li { display: flex; gap: 16px; align-items: center; }
.fi { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.fi .tte-icon { width: 22px; height: 22px; }
.feat-list h3 { font-size: 1rem; margin: 0; }
.feat-list p { margin: 0; font-size: .88rem; }
.script-note { font-family: var(--script); font-size: 2.6rem; line-height: .95; color: var(--navy); transform: rotate(-8deg); max-width: 150px; margin: 0; position: relative; padding-bottom: 10px; }
.script-note::after { content: ""; position: absolute; left: 10px; right: -10px; bottom: 0; height: 4px; background: var(--gold); border-radius: 4px; transform: rotate(-4deg); }

/* ---------- Inventory ---------- */
.inventory-sec { padding: 18px 0 0; }
.card-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.filters { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; padding: 16px 18px; align-items: end; }
.f-label { display: block; font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.f-actions { display: grid; gap: 6px; justify-items: center; }
.f-actions .btn { padding: 11px 24px; }
.admin-hint { display: flex; gap: 8px; align-items: center; font-size: .86rem; background: #fff8e1; border: 1px dashed var(--gold-600); padding: 10px 14px; border-radius: 6px; margin: 14px 0 0; }
.admin-hint .tte-icon { width: 18px; height: 18px; flex: none; }
.inv-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 12px; gap: 12px; flex-wrap: wrap; }
.inv-count { margin: 0; font-size: .95rem; }
.inv-sort, .inv-per { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.inv-sort .f-select select, .inv-per .f-select select { height: 38px; font-weight: 600; min-width: 170px; }
.inv-per .f-select select { min-width: 140px; }
.inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tl-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px 12px; background: #fff; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(11, 31, 69, .04); transition: box-shadow .2s, transform .2s; }
.tl-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tl-top { display: flex; justify-content: space-between; align-items: center; }
.tl-bank { width: 26px; height: 26px; color: var(--navy); }
.tl-badge { font-size: .7rem; font-weight: 600; background: #e7f6ec; color: #17693a; padding: 3px 10px 3px 8px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; }
.tl-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.tl-badge.is-sold { background: #fdeaea; color: #a32121; }
.tl-badge.is-sold::before { background: var(--red); }
.tl-name { font-size: 1.12rem; margin: 10px 0 0; }
.tl-sub { font-size: .85rem; color: var(--muted); margin: 2px 0 12px; }
.tl-specs { flex: 1; margin: 0 0 6px; display: grid; gap: 4px; font-size: .86rem; }
.tl-specs div { display: flex; justify-content: space-between; gap: 10px; }
.tl-specs dt { color: var(--muted); }
.tl-specs dd { margin: 0; color: var(--ink); font-weight: 500; }
.tl-price { font-size: 1.55rem; font-weight: 800; color: var(--navy); text-align: center; margin: 6px 0 8px; }
.tl-card .btn { margin-top: auto; padding: 10px 14px; font-size: .98rem; }
.inv-empty { text-align: center; padding: 30px; background: var(--bg-soft); border-radius: var(--radius); }
.inv-pager { display: flex; justify-content: center; align-items: center; position: relative; margin: 18px 0 14px; min-height: 40px; }
.inv-per { position: absolute; right: 0; }
.pager { display: flex; gap: 8px; align-items: center; }
.pager button { min-width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; border-radius: 5px; cursor: pointer; font-weight: 600; color: var(--navy); }
.pager button.is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager button:disabled { opacity: .4; cursor: default; }
.inv-note { display: flex; gap: 12px; align-items: center; font-size: .78rem; background: var(--bg-soft); border-radius: 6px; padding: 10px 16px; margin: 0; }
.inv-note .tte-icon { width: 22px; height: 22px; flex: none; color: var(--navy); }

/* ---------- Why Us ---------- */
.compare { padding: 54px 0; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.cmp h3 { font-size: 1.3rem; margin-bottom: 18px; }
.cmp-them { background: #fff; }
.cmp-us { background: var(--navy); }
.cmp-us h3 { color: var(--gold-text); }
.cmp-us li { color: #fff; }
.cmp-us .tte-icon { color: var(--gold); }

/* ---------- Content pages ---------- */
.content-sec { padding: 48px 0 60px; }
.container.wide { max-width: var(--container); }
.entry-content { font-size: 1.05rem; }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin-bottom: 1em; }
.entry-content details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; box-shadow: 0 2px 10px rgba(11, 31, 69, .04); }
.entry-content summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--navy); list-style: none; position: relative; font-size: 1.08rem; }
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 800; }
.entry-content details[open] summary::after { content: "–"; }
.entry-content details > :not(summary) { padding: 0 22px; }
.entry-content details > p:last-child { padding-bottom: 6px; }
.post-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.post-item .meta { color: var(--muted); font-size: .9rem; }

/* WooCommerce buttons */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .wc-block-components-button:not(.is-link) {
	background: var(--gold) !important; color: var(--navy) !important; border-radius: 6px !important; font-weight: 700 !important;
}

/* ---------- Footer ---------- */
.site-footer { background: #fff; }
.footer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding-top: 18px; padding-bottom: 14px; }
.footer-brand .brand img, .footer-brand .custom-logo { width: 150px; }
.footer-nav .menu { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 34px; }
.footer-nav a { color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; }
.socials { list-style: none; display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 8px; background: var(--bg-soft); color: var(--navy); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--gold); }
.socials .tte-icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 18px; font-size: .82rem; color: var(--muted); }
.footer-bottom-inner p { margin: 0; }
.legal-nav .menu { list-style: none; display: flex; }
.legal-nav li + li { border-left: 1px solid #c3cad8; }
.legal-nav a { color: var(--muted); text-decoration: none; padding: 0 12px; }
.legal-nav li:last-child a { padding-right: 0; }
.legal-nav a:hover { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.main-nav .menu { gap: 22px; }
	.header-cta { display: none; }
	.inv-grid { grid-template-columns: repeat(3, 1fr); }
	.filters { grid-template-columns: repeat(3, 1fr); }
	.f-actions { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: end; gap: 18px; }
}

@media (max-width: 980px) {
	.header-inner { min-height: 70px; }
	.brand img, .custom-logo { width: 130px; }
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: 70px 0 auto 0; background: #fff; flex-direction: column; justify-content: flex-start;
		padding: 10px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0, 0, 0, .12);
		transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; z-index: -1;
	}
	.admin-bar .main-nav { top: 116px; }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle .i-open { display: none; }
	.nav-open .nav-toggle .i-close { display: block; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.nav-cta-mobile { display: flex; margin-top: 18px; }

	.hero-grid { grid-template-columns: 1fr; gap: 0; }
	.hero-photo { opacity: .35; }
	.hero--home .hero-photo, .hero--inventory .hero-photo { left: 30%; width: auto; right: 0; }
	.hero--home .hero-copy { padding-bottom: 10px; }
	.hero-form { justify-self: stretch; max-width: none; margin: 18px 0 30px; }
	.hero-help { justify-self: stretch; max-width: none; margin-bottom: 30px; }

	.trust-grid { grid-template-columns: repeat(3, 1fr); }
	.trust-item:nth-child(4) { border-left: 0; }
	.trust-item { border-top: 1px solid var(--line); }
	.better-grid { grid-template-columns: 1fr; gap: 26px; }
	.better-grid > div { padding-right: 0; border-right: 0; }
	.process-grid { grid-template-columns: 1fr; gap: 30px; }
	.process-grid li + li::before { content: "↓"; left: 50%; top: -30px; transform: translateX(-50%); }
	.band-filters { grid-template-columns: 1fr 1fr; }
	.band-filters .btn { grid-column: 1 / -1; }
	.btn-wide { min-width: 0; }
	.ready-grid { grid-template-columns: 1fr; }
	.cta-inner, .cta-band.has-photo .cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 14px; }
	.cta-band.has-photo { margin-top: 70px; }
	.cta-photo { margin-top: -60px; border-radius: 12px; }
	.cta-band.has-photo .cta-text { padding: 0; }
	.help-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
	.options-grid { grid-template-columns: 1fr; gap: 22px; }
	.or-divider { height: 50px; }
	.or-divider::before { top: 50%; bottom: auto; left: 0; right: 0; border-left: 0; border-top: 1px solid var(--line); }
	.opt-card { margin-top: 0; }
	.options { padding-top: 30px; }
	.inv-grid { grid-template-columns: repeat(2, 1fr); }
	.compare-grid { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .main-nav { top: 116px; } }

@media (max-width: 600px) {
	.container { padding: 0 16px; }
	.header-actions { gap: 14px; }
	.hero .lead { font-size: 1.02rem; }
	.hero--home .btn-lg { min-width: 0; width: 100%; }
	.hero-feats { gap: 14px; }
	.hero-feats li { padding: 0 14px 0 0; border-left: 0; font-size: .82rem; }
	.hero-feats .tte-icon { width: 28px; height: 28px; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.trust-item { justify-content: flex-start; padding: 14px 6px; }
	.trust-item + .trust-item { border-left: 0; }
	.trust-stars { grid-column: 1 / -1; align-items: center; }
	.band-filters { grid-template-columns: 1fr; }
	.ready-card { grid-template-columns: 1fr; padding: 0 0 6px; text-align: center; }
	.ready-card img { height: 220px; object-position: top; }
	.ready-card > div { padding: 0 18px; }
	.ready-sub { justify-content: center; }
	.steps3 ol { grid-template-columns: 1fr; gap: 18px; }
	.steps3 li + li::before { display: none; }
	.steps3 li { grid-template-columns: 70px auto 1fr; align-items: center; column-gap: 12px; }
	.step-ic { grid-column: auto; margin: 0; }
	.help-grid { grid-template-columns: 1fr 1fr; }
	.opt-head { padding: 12px 16px; gap: 14px; }
	.opt-head h2 { font-size: 1.25rem; }
	.opt-num { width: 44px; height: 44px; font-size: 1.4rem; }
	.opt-body { padding: 16px; }
	.iiq-head { grid-template-columns: 1fr; gap: 6px; }
	.iiq-head .iiq-word { margin-top: 0; }
	.iiq-row { grid-template-columns: 1fr; }
	.iiq-visual img { justify-self: center; }
	.feat-row { grid-template-columns: 1fr; }
	.script-note { justify-self: center; max-width: none; transform: rotate(-4deg); font-size: 2.2rem; }
	.btn-lg { padding: 15px 18px; font-size: 1rem; }
	.filters { grid-template-columns: 1fr 1fr; padding: 14px; }
	.f-type { grid-column: 1 / -1; }
	.f-actions { grid-template-columns: 1fr; justify-items: stretch; }
	.inv-grid { grid-template-columns: 1fr; }
	.inv-pager { flex-direction: column; gap: 12px; }
	.inv-per { position: static; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.legal-nav .menu { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* Soft photo edges (blend into any background) */
.hero-photo::after { display: none; }
.hero--home .hero-photo,
.hero--inventory .hero-photo {
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 82%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 82%, transparent 100%);
}
.hero--analysis .hero-photo {
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

.tl-flag { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: #a3195b; background: #fdeef4; border-radius: 4px; padding: 4px 8px; margin: 4px 0 2px; }
.tl-flag .tte-icon { width: 14px; height: 14px; }
