/* TEE EV Town Pages. Colours come from Settings → EV Town Pages. */
.tee-ev {
	--tee-brand: #0b3954;
	--tee-accent: #f2a900;
	--tee-ink: #1b2430;
	--tee-muted: #5a6573;
	--tee-bg-alt: #f3f6f8;
	--tee-line: #dfe5ea;
	--tee-radius: 12px;
	color: var(--tee-ink);
	font-size: 17px;
	line-height: 1.6;
	padding-bottom: 64px;
}
.tee-ev *, .tee-ev *::before, .tee-ev *::after { box-sizing: border-box; }
.tee-ev h1, .tee-ev h2, .tee-ev h3 { line-height: 1.2; margin: 0 0 .6em; color: inherit; }
.tee-ev h1 { font-size: clamp(30px, 4.6vw, 46px); }
.tee-ev h2 { font-size: clamp(24px, 3.2vw, 32px); }
.tee-ev h3 { font-size: 19px; }
.tee-ev p { margin: 0 0 1em; }
.tee-ev a { color: var(--tee-brand); }
.tee-ev__wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.tee-ev__narrow { max-width: 820px; }
.tee-ev__center { text-align: center; }
.tee-ev__sub { color: var(--tee-muted); max-width: 680px; margin: 0 auto 28px; }
.tee-ev__small { font-size: 14px; color: var(--tee-muted); }
.tee-ev__section { padding: 56px 0; }
.tee-ev__section--alt { background: var(--tee-bg-alt); }

.tee-ev__preview { background: #fff4d6; border-bottom: 1px solid #f0d58a; padding: 10px 20px; text-align: center; font-size: 14px; }

/* Hero */
.tee-ev__hero { background: var(--tee-brand); color: #fff; padding: 40px 0 56px; }
.tee-ev__hero a { color: #fff; }
.tee-ev__hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.tee-ev__crumbs { font-size: 13px; opacity: .85; margin-bottom: 18px; }
.tee-ev__crumbs a { text-decoration: none; }
.tee-ev__eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 700; color: var(--tee-accent); }
.tee-ev__lead { font-size: 19px; opacity: .95; }
.tee-ev__badges { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tee-ev__badges li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--tee-radius); padding: 12px 14px; }
.tee-ev__badges strong { display: block; font-size: 17px; }
.tee-ev__badges span { font-size: 13px; opacity: .85; }
.tee-ev__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 12px; }
.tee-ev__ctas--center { justify-content: center; }
.tee-ev__hero .tee-ev__small { color: rgba(255,255,255,.8); }

/* Buttons */
.tee-ev .tee-ev__btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 17px; line-height: 1.2; transition: transform .1s ease, box-shadow .1s ease; }
.tee-ev .tee-ev__btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.tee-ev .tee-ev__btn--primary, .tee-ev .tee-ev__btn--accent { background: var(--tee-accent); color: #111; }
.tee-ev .tee-ev__btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.tee-ev .tee-ev__btn--light { background: #fff; color: var(--tee-brand); }
.tee-ev .tee-ev__btn--block { width: 100%; text-align: center; }

/* Form */
.tee-ev__form-card { background: #fff; color: var(--tee-ink); border-radius: 16px; padding: 26px; box-shadow: 0 20px 40px rgba(0,0,0,.25); scroll-margin-top: 90px; }
.tee-ev__form-card a { color: var(--tee-brand); }
.tee-ev__form-card .tee-ev__small { color: var(--tee-muted); }
.tee-ev__form-card h2 { font-size: 24px; }
.tee-ev__form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.tee-ev__form input[type=text], .tee-ev__form input[type=tel], .tee-ev__form input[type=email], .tee-ev__form select, .tee-ev__form textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid #c9d2da; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: var(--tee-ink); }
.tee-ev__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tee-ev__opt { font-weight: 400; color: var(--tee-muted); }
.tee-ev__consent { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.tee-ev__consent input { margin-top: 4px; }
.tee-ev__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tee-ev__error { background: #fdecec; color: #8a1c1c; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.tee-ev__thanks h2 { color: var(--tee-brand); }

/* Trust strip */
.tee-ev__trust { border-bottom: 1px solid var(--tee-line); background: #fff; }
.tee-ev__trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-top: 16px; padding-bottom: 16px; margin: 0 auto; font-weight: 600; font-size: 15px; }
.tee-ev__trust li::before { content: "✓"; color: var(--tee-accent); margin-right: 6px; font-weight: 800; }

/* Compare */
.tee-ev__compare { background: #fff; border: 1px solid var(--tee-line); border-radius: var(--tee-radius); overflow: hidden; margin: 0 auto 28px; max-width: 900px; }
.tee-ev__compare-row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; border-top: 1px solid var(--tee-line); }
.tee-ev__compare-row:first-child { border-top: 0; }
.tee-ev__compare-row span { padding: 14px 16px; }
.tee-ev__compare-row span[role=rowheader] { font-weight: 700; }
.tee-ev__compare-head { background: var(--tee-brand); color: #fff; font-weight: 700; }
.tee-ev__compare-row .tee-ev__us { background: rgba(242,169,0,.12); font-weight: 600; }
.tee-ev__compare-head .tee-ev__us { background: var(--tee-accent); color: #111; }

/* Layout helpers */
.tee-ev__two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tee-ev__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tee-ev__card { background: #fff; border: 1px solid var(--tee-line); border-radius: var(--tee-radius); padding: 22px; }
.tee-ev__ticks { list-style: none; padding: 0; margin: 0; }
.tee-ev__ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.tee-ev__ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--tee-brand); font-weight: 800; }
.tee-ev__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tee-ev__chips span { background: var(--tee-bg-alt); border-radius: 999px; padding: 4px 12px; font-size: 14px; }

/* Steps */
.tee-ev__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.tee-ev__steps li { background: var(--tee-bg-alt); border-radius: var(--tee-radius); padding: 22px; }
.tee-ev__num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--tee-brand); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 10px; }

/* Human band */
.tee-ev__human { background: var(--tee-ink); color: #fff; padding: 56px 0; }
.tee-ev__human p { opacity: .92; }

/* Photos */
.tee-ev__photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tee-ev__photos figure { margin: 0; }
.tee-ev__photos img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--tee-radius); display: block; }
.tee-ev__photos figcaption { font-size: 13px; color: var(--tee-muted); margin-top: 6px; }

/* FAQs */
.tee-ev__faqs details { background: #fff; border: 1px solid var(--tee-line); border-radius: 10px; margin-bottom: 10px; }
.tee-ev__faqs summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.tee-ev__faqs summary::-webkit-details-marker { display: none; }
.tee-ev__faqs summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 24px; color: var(--tee-brand); }
.tee-ev__faqs details[open] summary::after { content: "–"; }
.tee-ev__faqs details p { padding: 0 18px 16px; margin: 0; }

/* Links */
.tee-ev__links { list-style: none; padding: 0; margin: 0; }
.tee-ev__links li { padding: 8px 0; border-bottom: 1px solid var(--tee-line); }
.tee-ev__links li:last-child { border-bottom: 0; }
.tee-ev__links a { text-decoration: none; font-weight: 600; }
.tee-ev__links a::after { content: " →"; }

/* Final CTA */
.tee-ev__final { background: var(--tee-brand); color: #fff; padding: 56px 0; }

/* Sticky mobile bar */
.tee-ev__sticky { display: none; }

@media (max-width: 900px) {
	.tee-ev__hero-grid, .tee-ev__two { grid-template-columns: 1fr; gap: 28px; }
	.tee-ev__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.tee-ev { font-size: 16px; }
	.tee-ev__wrap { padding: 0 16px; }
	.tee-ev__section { padding: 40px 0; }
	.tee-ev__badges { grid-template-columns: 1fr; }
	.tee-ev__row { grid-template-columns: 1fr; gap: 0; }
	.tee-ev__steps { grid-template-columns: 1fr; }
	.tee-ev__compare-row { grid-template-columns: 1fr 1fr; }
	.tee-ev__compare-row span[role=rowheader], .tee-ev__compare-head span:first-child { grid-column: 1 / -1; padding-bottom: 0; }
	.tee-ev__compare-head span:first-child { display: none; }
	.tee-ev__sticky { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
	.tee-ev__sticky a { text-align: center; padding: 15px 10px; font-weight: 800; text-decoration: none; }
	.tee-ev__sticky-call { background: var(--tee-accent); color: #111 !important; }
	.tee-ev__sticky-quote { background: var(--tee-brand); color: #fff !important; }
}

/* Grants and holiday lets */
.tee-ev__card--grant { border-top: 4px solid var(--tee-accent); }
.tee-ev__grants .tee-ev__grid { margin-bottom: 18px; }

/* v1.2 hero balance */
.tee-ev .tee-ev__hero-grid { align-items: center; }
.tee-ev .tee-ev__form-card { padding: 22px 24px; }
.tee-ev .tee-ev__form-card h2 { margin-bottom: .3em; }
.tee-ev .tee-ev__form label { margin-bottom: 10px; }
.tee-ev .tee-ev__form input[type=text], .tee-ev .tee-ev__form input[type=tel], .tee-ev .tee-ev__form input[type=email], .tee-ev .tee-ev__form select, .tee-ev .tee-ev__form textarea { padding: 9px 11px; }
.tee-ev .tee-ev__consent { display: grid !important; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 13px !important; line-height: 1.45; }
.tee-ev .tee-ev__consent span { display: block; }
.tee-ev .tee-ev__consent a { display: inline; }
.tee-ev__hero-ticks { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 15px; }
.tee-ev__hero-ticks li { position: relative; padding-left: 24px; }
.tee-ev__hero-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--tee-accent); font-weight: 800; }
@media (max-width: 640px) { .tee-ev__hero-ticks { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
 * v1.3 – match the new TEE Electric site design (navy, yellow, Manrope/Inter)
 * ---------------------------------------------------------------- */
.tee-ev {
	--tee-ink: #0b1f3a;
	--tee-muted: #4f5b6e;
	--tee-bg-alt: #f4f7fb;
	--tee-line: #dfe6ef;
	--tee-blue: #0a63b8;
	--tee-blue-soft: #e3eefb;
	--tee-radius: 14px;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	display: block;
	max-width: none;
	margin: 0;
	background: #fff;
}
.tee-ev h1, .tee-ev h2, .tee-ev h3 { font-family: Manrope, Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.01em; border: 0; padding: 0; text-transform: none; background: none; }
.tee-ev h1::after, .tee-ev h2::after { display: none; }
.tee-ev h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; }
.tee-ev a { color: var(--tee-blue); }
.tee-ev__wrap { max-width: 1180px; padding: 0 24px; }

/* Hero like the homepage: dark navy with a soft dot texture */
.tee-ev__hero {
	background-color: var(--tee-brand);
	background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px), radial-gradient(ellipse at 85% 0%, rgba(245,196,0,.10), transparent 55%), linear-gradient(180deg, var(--tee-brand) 0%, #0b274a 100%);
	background-size: 22px 22px, 100% 100%, 100% 100%;
	padding: 56px 0 72px;
}
.tee-ev__hero h1 { color: #fff; }
.tee-ev__hero h1 .tee-ev__hl { color: var(--tee-accent); }
.tee-ev__crumbs { color: rgba(255,255,255,.7); }
.tee-ev__eyebrow { display: flex; align-items: center; gap: 12px; letter-spacing: .1em; font-weight: 800; }
.tee-ev__eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--tee-accent); flex-shrink: 0; }
.tee-ev__lead { color: rgba(255,255,255,.85); }
.tee-ev__badges li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.tee-ev__badges strong { font-family: Manrope, Inter, system-ui, sans-serif; }

/* Buttons like the homepage */
.tee-ev .tee-ev__btn { border-radius: 10px; font-weight: 800; padding: 15px 26px; }
.tee-ev .tee-ev__btn--primary, .tee-ev .tee-ev__btn--accent { background: var(--tee-accent); color: var(--tee-ink); box-shadow: 0 8px 20px rgba(245,196,0,.3); }
.tee-ev .tee-ev__btn--ghost { border: 2px solid rgba(255,255,255,.35); color: #fff; }
.tee-ev .tee-ev__btn--ghost:hover { border-color: #fff; }
.tee-ev .tee-ev__btn--light { background: transparent; border: 2px solid rgba(255,255,255,.35); color: #fff; }

/* Quote card */
.tee-ev .tee-ev__form-card { border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 26px 26px 22px; }
.tee-ev__form-card h2 { color: var(--tee-ink); }
.tee-ev__form input:focus, .tee-ev__form select:focus, .tee-ev__form textarea:focus { outline: 2px solid var(--tee-blue); outline-offset: 0; border-color: var(--tee-blue); }

/* Body sections */
.tee-ev__section { padding: 72px 0; }
.tee-ev__trust { background: #fff; }
.tee-ev__trust li::before { color: var(--tee-blue); }
.tee-ev__card { border-radius: var(--tee-radius); box-shadow: 0 1px 2px rgba(11,31,58,.04); }
.tee-ev__grid .tee-ev__card h3 { color: var(--tee-ink); }
.tee-ev__ticks li::before { color: var(--tee-blue); }
.tee-ev__chips span { background: var(--tee-blue-soft); color: var(--tee-ink); font-weight: 600; }
.tee-ev__num { background: var(--tee-accent); color: var(--tee-ink); }
.tee-ev__compare-row .tee-ev__us { background: rgba(245,196,0,.12); }
.tee-ev__human { background: var(--tee-brand); }
.tee-ev__human h2 { color: #fff; }
.tee-ev__final { background-color: var(--tee-brand); background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; padding: 72px 0; }
.tee-ev__final h2 { color: #fff; }
.tee-ev__faqs summary { font-family: Manrope, Inter, system-ui, sans-serif; }
.tee-ev__faqs summary::after { color: var(--tee-blue); }
.tee-ev__links a { color: var(--tee-ink); }
.tee-ev__links a:hover { color: var(--tee-blue); }
.tee-ev__sticky-call { color: var(--tee-ink) !important; }
@media (max-width: 640px) {
	.tee-ev__wrap { padding: 0 16px; }
	.tee-ev__section { padding: 48px 0; }
	.tee-ev__hero { padding: 36px 0 48px; }
}
.tee-ev .tee-ev__hero a, .tee-ev .tee-ev__human a:not(.tee-ev__btn), .tee-ev .tee-ev__final a:not(.tee-ev__btn) { color: #fff; }
.tee-ev .tee-ev__hero .tee-ev__form-card a { color: var(--tee-blue); }
.tee-ev .tee-ev__compare-head .tee-ev__us { background: var(--tee-accent); color: var(--tee-ink); }
.tee-ev .tee-ev__sub { margin: 0 auto 28px; }
.tee-ev-site-layout .tee-ev { padding-bottom: 0; }
@media (max-width: 640px) { .tee-ev-site-layout .tee-ev { padding-bottom: 52px; } }

/* v1.4 – trust signals */
.tee-ev__stats { background: #fff; padding: 48px 0 8px; }
.tee-ev__stats-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tee-ev__stats-list li { background: var(--tee-bg-alt); border-radius: var(--tee-radius); padding: 22px 20px; border-top: 4px solid var(--tee-accent); }
.tee-ev__stats-list strong { display: block; font-family: Manrope, Inter, system-ui, sans-serif; font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--tee-ink); margin-bottom: 6px; }
.tee-ev__stats-list span { color: var(--tee-muted); font-size: 15px; line-height: 1.4; display: block; }
.tee-ev .tee-ev__btn--outline { background: #fff; border: 2px solid var(--tee-ink); color: var(--tee-ink); margin-left: 8px; }
.tee-ev__stats .tee-ev__center { padding-bottom: 32px; }
.tee-ev__reviews { margin: 4px 0 0; font-size: 15px; }
.tee-ev .tee-ev__hero .tee-ev__reviews a { color: #fff; text-decoration: none; }
.tee-ev__stars { color: var(--tee-accent); letter-spacing: 1px; }
.tee-ev .tee-ev__reassure { margin: 10px 0 0; }
@media (max-width: 900px) { .tee-ev__stats-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
	.tee-ev__stats-list strong { font-size: 24px; }
	.tee-ev__stats-list li { padding: 16px; }
	.tee-ev .tee-ev__btn--outline { margin: 10px 0 0; }
}
.tee-ev .tee-ev__stats { padding-top: 0; }
@media (max-width: 640px) {
	.tee-ev__trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 14px; justify-content: start; }
}

/* v1.5 – inside the TEE Electric Pages header and footer */
.tee-ev__anchor { display: block; position: relative; top: -100px; visibility: hidden; height: 0; }
.tee-ev-be .tee-ev__sticky { display: none !important; }
.tee-ev-be .tee-ev { padding-bottom: 0; }
