/*
Theme Name: TES Child
Theme URI: https://www.targetelectronics.com.au
Author: HCS Technology Solutions
Author URI: https://www.hcstech.com.au
Description: Target Electronic Services child theme of Twenty Twenty-Five. Built by HCS Technology Solutions.
Requires at least: 6.6
Requires PHP: 8.0
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: tes-child
*/

/* =====================================================================
   1. Tokens
   ===================================================================== */
:root {
	--tes-blue: #1872C5;          /* logo blue */
	--tes-blue-600: #1463AD;
	--tes-blue-50: #EDF4FC;
	--tes-sky: #5CC8FF;           /* signal / glow */
	--tes-navy: #081A2E;
	--tes-navy-800: #0C2440;
	--tes-navy-700: #123157;
	--tes-amber: #FFB020;
	--tes-amber-600: #F29D00;
	--tes-ink: #0E1726;
	--tes-slate: #4A5A70;
	--tes-mute: #7A889C;
	--tes-line: #DCE5F0;
	--tes-paper: #F5F8FC;
	--tes-white: #FFFFFF;
	--tes-mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;
	--tes-r-sm: 8px;
	--tes-r: 14px;
	--tes-r-lg: 22px;
	--tes-shadow-sm: 0 1px 2px rgba(8,26,46,.06);
	--tes-shadow: 0 1px 2px rgba(8,26,46,.05), 0 10px 30px -10px rgba(8,26,46,.18);
	--tes-shadow-lg: 0 2px 6px rgba(8,26,46,.08), 0 30px 60px -20px rgba(8,26,46,.35);
	--tes-ease: cubic-bezier(.2,.7,.2,1);
	--tes-gutter: clamp(1rem, 4vw, 2rem);
	--tes-trace: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='%235CC8FF' stroke-opacity='.10' stroke-width='1.5'%3E%3Cpath d='M0 48h72l24 24h88l16-16h120M184 72v64l24 24h112M24 320v-72l24-24h56l24-24M104 224h48l24-24v-40M248 0v48l-24 24M320 256h-64l-24 24v40M0 176h40l16 16v56'/%3E%3C/g%3E%3Cg fill='%235CC8FF' fill-opacity='.18'%3E%3Ccircle cx='184' cy='72' r='4'/%3E%3Ccircle cx='104' cy='224' r='4'/%3E%3Ccircle cx='248' cy='48' r='3.5'/%3E%3Ccircle cx='232' cy='280' r='4'/%3E%3Ccircle cx='72' cy='48' r='3.5'/%3E%3Ccircle cx='56' cy='192' r='3.5'/%3E%3Ccircle cx='176' cy='160' r='3.5'/%3E%3C/g%3E%3C/svg%3E");
	--tes-grid: linear-gradient(rgba(24,114,197,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(24,114,197,.06) 1px, transparent 1px);
}

/* =====================================================================
   2. Base
   ===================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; color: var(--tes-ink); background: #fff; }
:where(.wp-site-blocks) > main { margin-block-start: 0; }
.wp-site-blocks > footer, .wp-site-blocks > header { margin-block-start: 0; }
img { height: auto; }
::selection { background: var(--tes-amber); color: var(--tes-ink); }
:focus-visible { outline: 3px solid var(--tes-amber); outline-offset: 3px; border-radius: 4px; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.tes-ico { display: inline-block; vertical-align: middle; flex: none; }
a { text-underline-offset: .18em; text-decoration-thickness: 1.5px; }

/* Technical label — Fira Code, used for eyebrows, crumbs and meta */
.tes-eyebrow {
	font-family: var(--tes-mono) !important; font-size: .78rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--tes-blue); margin: 0 0 .75rem !important; display: inline-flex; align-items: center; gap: .6rem;
}
.tes-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.tes-center .tes-eyebrow { justify-content: center; }

/* =====================================================================
   3. Top bar + header
   ===================================================================== */
.tes-topbar { background: var(--tes-navy); color: #A9BDD4; font-size: .82rem; }
.tes-topbar p { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.tes-topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.tes-topbar a:hover { color: var(--tes-amber); }
.tes-topbar .tes-ico { width: 15px; height: 15px; color: var(--tes-sky); }
.tes-topbar .tes-sep { opacity: .35; margin: 0 .35rem; }

.tes-header { background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid rgba(8,26,46,.08); position: sticky; top: 0; z-index: 50; transition: box-shadow .25s var(--tes-ease); }
.tes-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(8,26,46,.25); }
.admin-bar .tes-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tes-header { top: 0; } }
.tes-header .wp-block-site-logo { flex: 0 0 auto; }
.tes-header .wp-block-site-logo img { width: 64px !important; height: auto; border-radius: 6px; }
.tes-brandname { font-weight: 800; color: var(--tes-navy); line-height: 1.05; font-size: 1.06rem; margin: 0; letter-spacing: -.01em; white-space: nowrap; }
.tes-brandname a { color: inherit; text-decoration: none; }
.tes-header > .wp-block-group > .wp-block-group:first-child { flex-shrink: 0; }
@media (min-width: 992px) and (max-width: 1279.98px) { .tes-brandname { display: none; } }
.tes-brandname small { display: block; font-family: var(--tes-mono); font-weight: 500; color: var(--tes-mute); font-size: .68rem; letter-spacing: .04em; margin-top: .25rem; }
/* ---- Top-level nav: pill hover, chevrons, active dot ---- */
.tes-header .wp-block-navigation { font-weight: 700; font-size: .95rem; }
.tes-header .wp-block-navigation,
.tes-header .wp-block-navigation__container { flex-wrap: nowrap !important; white-space: nowrap; gap: .25rem !important; }
.tes-header .wp-block-navigation a { color: var(--tes-navy); text-decoration: none; }
.tes-header .wp-block-navigation__container > .wp-block-navigation-item { border-radius: 999px; transition: background .2s var(--tes-ease); }
.tes-header .wp-block-navigation__container > .wp-block-navigation-item > a { position: relative; padding: .55rem .62rem !important; border-radius: 999px; transition: color .2s; }
.tes-header .wp-block-navigation__container > .wp-block-navigation-item.has-child > a { padding-right: .1rem !important; }
.tes-header .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-icon { margin: 0 .55rem 0 .15rem; width: .6em; height: .6em; transition: transform .25s var(--tes-ease); color: var(--tes-mute); }
.tes-header .wp-block-navigation__container > .wp-block-navigation-item:hover,
.tes-header .wp-block-navigation__container > .wp-block-navigation-item:focus-within { background: var(--tes-blue-50); }
.tes-header .wp-block-navigation__container > .wp-block-navigation-item:hover > a { color: var(--tes-blue); }
.tes-header .wp-block-navigation__container > .wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-icon,
.tes-header .wp-block-navigation__container > .wp-block-navigation-item.has-child:focus-within > .wp-block-navigation__submenu-icon { transform: rotate(180deg); color: var(--tes-blue); }
.tes-header .wp-block-navigation__container > .wp-block-navigation-item > a::after {
	content: ""; position: absolute; left: 50%; bottom: .15rem; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--tes-amber);
	transform: scale(0); transition: transform .25s var(--tes-ease); }
.tes-header .wp-block-navigation__container > .has-child > a::after { left: calc(50% + .2rem); }
.tes-header .wp-block-navigation-item.current-menu-item > a::after,
.tes-header .wp-block-navigation-item.current-menu-ancestor > a::after { transform: scale(1); }
.tes-header .wp-block-navigation-item.current-menu-item > a,
.tes-header .wp-block-navigation-item.current-menu-ancestor > a { color: var(--tes-blue); }

/* ---- Dropdown panels ---- */
@media (min-width: 992px) {
	.tes-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container {
		background: #fff !important; border: 1px solid var(--tes-line) !important; border-radius: 20px !important;
		box-shadow: 0 2px 6px rgba(8,26,46,.06), 0 28px 60px -18px rgba(8,26,46,.35) !important;
		padding: .75rem !important; min-width: 0 !important; width: max-content !important; white-space: normal;
		top: calc(100% + 12px) !important; left: -.5rem !important; font-weight: 600; font-size: .93rem;
		display: grid !important; gap: .15rem .35rem; align-items: start;
		transform: translateY(8px); transition: opacity .2s var(--tes-ease), transform .25s var(--tes-ease), visibility .2s !important; }
	.tes-header .wp-block-navigation__container > .has-child:hover > .wp-block-navigation__submenu-container,
	.tes-header .wp-block-navigation__container > .has-child:focus-within > .wp-block-navigation__submenu-container { transform: none; }
	/* hover bridge across the gap */
	.tes-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.tes-header .has-child > .wp-block-navigation__submenu-container { grid-template-columns: 290px 250px; }
	.tes-header .tes-mega > .wp-block-navigation__submenu-container { grid-template-columns: repeat(2, 280px) 250px; }
	.tes-header .wp-block-navigation__container > .has-child:nth-child(3) > .wp-block-navigation__submenu-container { grid-template-columns: repeat(2, 230px) 250px; left: auto !important; right: -.5rem !important; }
	.tes-header .wp-block-navigation__submenu-container > .tes-mp { grid-column: -2 / -1; grid-row: 1 / span 8; align-self: stretch; }
	.tes-header .tes-mega > .wp-block-navigation__submenu-container > .tes-mp,
	.tes-header .has-child:nth-child(3) > .wp-block-navigation__submenu-container > .tes-mp { grid-row: 1 / span 4; }
}
.tes-header .wp-block-navigation__submenu-container .wp-block-navigation-item { width: auto; }
.tes-header .wp-block-navigation__submenu-container a { display: flex !important; align-items: center; gap: .75rem; padding: .6rem .7rem !important; border-radius: 12px; transition: background .18s, color .18s; }
.tes-header .wp-block-navigation__submenu-container a:hover,
.tes-header .wp-block-navigation__submenu-container a:focus-visible { background: var(--tes-paper); color: var(--tes-navy); }
.tes-mi { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--tes-blue-50); color: var(--tes-blue); transition: background .2s, color .2s, transform .2s var(--tes-ease); }
.tes-mi svg { width: 20px; height: 20px; }
.tes-mi.is-logo { flex-basis: 56px; width: 56px; background: #fff; border: 1px solid var(--tes-line); padding: 5px 7px; }
.tes-mi.is-logo img { width: 100%; height: 100%; object-fit: contain; }
.wp-block-navigation__submenu-container a:hover .tes-mi:not(.is-logo) { background: linear-gradient(135deg, var(--tes-blue), var(--tes-sky)); color: #fff; }
.wp-block-navigation__submenu-container a:hover .tes-mi { transform: scale(1.05); }
.tes-mi-txt { display: flex; flex-direction: column; min-width: 0; }
.tes-mi-txt .wp-block-navigation-item__label { font-weight: 700; color: var(--tes-navy); line-height: 1.25; }
.wp-block-navigation__submenu-container a:hover .wp-block-navigation-item__label { color: var(--tes-blue); }
.tes-mi-desc { font-weight: 500; font-size: .8rem; color: var(--tes-mute); line-height: 1.35; margin-top: .1rem; }
.has-child:nth-child(3) .tes-mi { flex-basis: 32px; width: 32px; height: 32px; border-radius: 9px; }
.has-child:nth-child(3) .tes-mi svg { width: 16px; height: 16px; }
.has-child:nth-child(3) .tes-mi-desc { font-family: var(--tes-mono); font-size: .72rem; }

/* Promo card inside each dropdown */
.tes-mp { list-style: none; }
.tes-mp-card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: .6rem; padding: 1.15rem; border-radius: 14px; color: #fff; white-space: normal;
	background: radial-gradient(120% 80% at 100% 0%, rgba(92,200,255,.25), transparent 60%), var(--tes-trace), linear-gradient(160deg, var(--tes-navy-700), var(--tes-navy)); }
.tes-mp-eyebrow { font-family: var(--tes-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tes-amber); }
.tes-mp-card strong { font-size: 1.02rem; line-height: 1.35; font-weight: 800; color: #fff; }
.tes-mp-meta { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: #B9CCE0; font-weight: 500; }
.tes-mp-meta svg { width: 15px; height: 15px; color: var(--tes-sky); }
.tes-header .tes-mp-card a { padding: 0 !important; border-radius: 0; background: none !important; }
.tes-header .tes-mp-card a.tes-mp-btn, .tes-header .tes-mp-card a.tes-directions { justify-content: center; margin-top: .35rem; padding: .7rem 1rem !important; border-radius: 999px; background: var(--tes-amber) !important; color: var(--tes-navy) !important; font-weight: 800; }
.tes-header .tes-mp-card a.tes-mp-btn:hover, .tes-header .tes-mp-card a.tes-directions:hover { background: #FFC24D !important; }
.tes-header .tes-mp-card a.tes-mp-tel { gap: .5rem; color: #fff !important; font-weight: 800; font-size: 1rem; margin-top: .2rem; }
.tes-mp-tel svg { width: 16px; height: 16px; color: var(--tes-amber); }
.tes-header .tes-mp-card a.tes-mp-all { margin-top: auto; padding-top: .75rem !important; border-top: 1px solid rgba(255,255,255,.12); gap: .4rem; color: #CFE3F7 !important; font-size: .86rem; }
.tes-header .tes-mp-card a.tes-mp-all:hover { color: #fff !important; }
.tes-mp-all svg { width: 14px; height: 14px; transition: transform .2s var(--tes-ease); }
.tes-mp-all:hover svg { transform: translateX(3px); }
@media (max-width: 991.98px) {
	.tes-mp, .tes-mi-desc { display: none !important; }
	.tes-mi { flex-basis: 32px; width: 32px; height: 32px; border-radius: 9px; }
	.tes-mi svg { width: 16px; height: 16px; }
	.tes-mi.is-logo { flex-basis: 48px; width: 48px; }
}
.tes-header-ctas { flex-wrap: nowrap !important; }
.tes-header-ctas .wp-block-button__link { white-space: nowrap; padding: .7rem 1.1rem; font-size: .93rem; }
.tes-header-ctas .is-style-outline .wp-block-button__link { border: 1.5px solid var(--tes-line); color: var(--tes-navy); background: #fff; }
.tes-header-ctas .is-style-outline .wp-block-button__link:hover { border-color: var(--tes-blue); color: var(--tes-blue); background: #fff; }
@media (max-width: 1499.98px) {
	.tes-header-ctas .is-style-outline { display: none; }
}
@media (max-width: 1379.98px) {
	.tes-brandname small { display: none; }
	.tes-header .wp-block-navigation, .tes-header .wp-block-navigation__container { gap: 0 !important; }
}

/* Mobile nav: switch to the overlay at 992px, not 600px */
@media (min-width: 600px) and (max-width: 991.98px) {
	.tes-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.tes-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
@media (max-width: 991.98px) {
	.tes-header-ctas { display: none !important; }
	.tes-topbar .tes-topbar-hours { display: none !important; }
	.tes-header .wp-block-site-logo img { width: 54px !important; }
}
.wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border-radius: 10px; background: var(--tes-blue-50) !important; color: var(--tes-navy); display: inline-grid; place-items: center; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.25rem var(--tes-gutter) 6rem; background: #fff !important; }
.wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; text-align: left !important; gap: 0 !important; padding-top: 1.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--tes-line); flex-wrap: wrap; justify-content: space-between; flex-direction: row !important; align-items: center !important; font-size: 1.2rem; padding: .55rem 0; text-align: left !important; }
.wp-block-navigation__responsive-container.is-menu-open a::after { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { display: none !important; border: 0 !important; box-shadow: none !important; background: transparent !important; flex-direction: column !important; align-items: flex-start !important; min-width: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-icon { display: inline-flex !important; pointer-events: auto; width: 44px; height: 44px; align-items: center; justify-content: center; margin: 0; border-radius: 10px; background: var(--tes-paper); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.tes-open > .wp-block-navigation__submenu-icon svg { transform: rotate(180deg); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.tes-open > .wp-block-navigation__submenu-container { display: flex !important; width: 100%; padding: .25rem 0 .5rem .9rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; font-size: 1.02rem; padding: .3rem 0; font-weight: 600; }
.wp-block-navigation__responsive-container.is-menu-open .tes-mega > .wp-block-navigation__submenu-container { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .tes-mega.tes-open > .wp-block-navigation__submenu-container { display: flex !important; }

/* Sticky call bar (mobile) */
.tes-callbar { display: none; }
@media (max-width: 991.98px) {
	.tes-callbar { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
		border-top: 1px solid var(--tes-line); box-shadow: 0 -10px 30px -12px rgba(8,26,46,.25); }
	.tes-callbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: 10px; font-weight: 800; text-decoration: none; font-size: .98rem; }
	.tes-callbar .tes-ico { width: 18px; height: 18px; }
	.tes-callbar .tes-callbar-call { background: var(--tes-blue); color: #fff; }
	.tes-callbar .tes-callbar-quote { background: var(--tes-amber); color: var(--tes-ink); }
	body { padding-bottom: 76px; }
}

/* =====================================================================
   4. Buttons
   ===================================================================== */
.wp-block-button__link { transition: transform .2s var(--tes-ease), box-shadow .2s var(--tes-ease), background-color .2s; display: inline-flex; align-items: center; gap: .5rem; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link { box-shadow: 0 6px 18px -8px rgba(242,157,0,.8); }
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button__link .tes-ico { width: 18px; height: 18px; }
.is-style-outline .wp-block-button__link { background: transparent; border: 1.5px solid currentColor; }

/* =====================================================================
   5. Heroes
   ===================================================================== */
.tes-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background-color: var(--tes-navy);
	padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem) !important; margin-block-start: 0 !important; }
.tes-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(24,114,197,.55) 0%, rgba(24,114,197,0) 55%),
		linear-gradient(100deg, rgba(8,26,46,.97) 0%, rgba(8,26,46,.92) 38%, rgba(8,26,46,.70) 62%, rgba(8,26,46,.55) 100%); }
.tes-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tes-trace); opacity: .9; mix-blend-mode: screen; pointer-events: none; }
.tes-hero.is-compact { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem) !important; }
.tes-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.65rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 1.1rem; max-width: 19ch; }
.tes-hero.is-compact h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); max-width: 20ch; }
.tes-hero h1 em { font-style: normal; color: var(--tes-sky); }
.tes-hero h2, .tes-hero h3 { color: #fff; }
.tes-hero p { color: #C8D6E6; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; max-width: 56ch; }
.tes-hero a:not(.wp-block-button__link) { color: #fff; }
.tes-hero .tes-eyebrow { color: var(--tes-amber); }
.tes-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tes-hero .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.tes-hero .wp-block-buttons { margin-top: 1.75rem; gap: .75rem; }
.tes-hero .wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem); }
.tes-crumbs { font-family: var(--tes-mono); font-size: .76rem !important; letter-spacing: .03em; color: #8FA6C1 !important; margin: 0 0 1.25rem !important; }
.tes-crumbs a { color: #C8D6E6 !important; text-decoration: none; }
.tes-crumbs a:hover { color: #fff !important; text-decoration: underline; }
.tes-hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tes-hero-points li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem; color: #fff;
	padding: .45rem .8rem .45rem .55rem; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.tes-hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
	background: var(--tes-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1726' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Form card in hero */
.tes-hero-card { position: relative; background: #fff; color: var(--tes-ink); border-radius: var(--tes-r-lg); padding: clamp(1.4rem, 3vw, 2rem) !important;
	box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); }
.tes-hero-card::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--tes-amber), var(--tes-sky)); }
.tes-hero-card h2, .tes-hero-card h3 { color: var(--tes-navy); margin: 0 0 .35rem; font-size: 1.5rem; letter-spacing: -.02em; }
.tes-hero-card p { color: var(--tes-slate); font-size: .95rem; margin: 0 0 1.1rem; }
.tes-hero-card .tes-card-meta { display: flex; align-items: center; gap: .5rem; font-family: var(--tes-mono); font-size: .72rem; color: #15803d; letter-spacing: .03em; margin: 0 0 .9rem; }
.tes-hero-card .tes-card-meta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }

/* =====================================================================
   6. Stats strip (overlaps the hero)
   ===================================================================== */
.tes-stats-wrap { position: relative; z-index: 3; margin-top: clamp(-3.5rem, -5vw, -2.5rem) !important; padding-inline: var(--tes-gutter); }
.tes-stats { display: grid !important; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--tes-r-lg); box-shadow: var(--tes-shadow-lg);
	border: 1px solid var(--tes-line); overflow: hidden; max-width: 1200px; margin-inline: auto !important; }
.tes-stats > * { margin: 0 !important; }
.tes-stat { padding: 1.4rem 1.5rem !important; display: flex; gap: .9rem; align-items: flex-start; }
.tes-stat + .tes-stat { border-left: 1px solid var(--tes-line); }
.tes-stat .tes-stat-ico { margin: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--tes-blue-50); color: var(--tes-blue); display: grid; place-items: center; flex: none; }
.tes-stat .tes-stat-ico .tes-ico { width: 22px; height: 22px; }
.tes-stat .tes-stat-num { margin: 0; font-weight: 800; font-size: 1.35rem; line-height: 1.1; color: var(--tes-navy); letter-spacing: -.02em; }
.tes-stat .tes-stat-label { margin: .2rem 0 0; color: var(--tes-slate); font-size: .88rem; line-height: 1.4; }
@media (max-width: 900px) { .tes-stats { grid-template-columns: 1fr 1fr; } .tes-stat:nth-child(3) { border-left: 0; } .tes-stat:nth-child(n+3) { border-top: 1px solid var(--tes-line); } }
@media (max-width: 520px) { .tes-stat { padding: 1.1rem !important; flex-direction: column; gap: .6rem; } .tes-stat .tes-stat-num { font-size: 1.15rem; } }

/* =====================================================================
   7. Sections
   ===================================================================== */
.tes-section { padding-block: clamp(3rem, 6.5vw, 5.25rem) !important; margin-block-start: 0 !important; position: relative; }
.tes-section.is-tight { padding-block: clamp(2.5rem, 5vw, 4rem) !important; }
.tes-section.is-pale { background: var(--tes-paper); }
.tes-section.is-grid { background-color: var(--tes-paper); background-image: var(--tes-grid); background-size: 32px 32px; }
.tes-section.is-navy { background: var(--tes-navy); color: #B7C8DB; isolation: isolate; overflow: hidden; }
.tes-section.is-navy::after { content: ""; position: absolute; inset: 0; background: var(--tes-trace); z-index: -1; opacity: .8; }
.tes-section.is-navy h2, .tes-section.is-navy h3 { color: #fff; }
.tes-section.is-navy .tes-eyebrow { color: var(--tes-sky); }
.tes-section.is-navy a:not(.wp-block-button__link) { color: #fff; }
.tes-section h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 1rem; }
.tes-section > * + h2, .tes-section .wp-block-column > * + h2 { margin-top: 2.5rem; }
.tes-section h3 { letter-spacing: -.015em; }
.tes-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem) !important; color: var(--tes-slate); max-width: 62ch; line-height: 1.65; }
.tes-section.is-navy .tes-lead { color: #B7C8DB; }
.tes-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem) !important; }
.tes-head > :last-child { margin-bottom: 0; }
.tes-center { text-align: center; }
.tes-center .tes-lead, .tes-center h2 { margin-inline: auto; }
.tes-center .tes-lead { max-width: 60ch; }
.tes-head-row { display: flex !important; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.tes-head-row > .tes-head { flex: 1 1 520px; max-width: 760px; margin-bottom: 0 !important; }
.tes-head-row > p { margin: 0 0 .35rem !important; flex: none; }
.tes-link-arrow { font-weight: 800; color: var(--tes-blue); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.tes-link-arrow .tes-ico { width: 18px; height: 18px; transition: transform .2s var(--tes-ease); }
.tes-link-arrow:hover .tes-ico { transform: translateX(3px); }

/* =====================================================================
   8. Cards
   ===================================================================== */
.tes-cards { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.25rem; }
.tes-cards.is-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tes-cards > * { margin: 0 !important; }
.tes-card { background: #fff; border: 1px solid var(--tes-line); border-radius: var(--tes-r); padding: 1.5rem !important; box-shadow: var(--tes-shadow-sm);
	display: flex; flex-direction: column; gap: .55rem; position: relative; transition: transform .25s var(--tes-ease), box-shadow .25s var(--tes-ease), border-color .25s; }
.tes-card:hover { transform: translateY(-4px); box-shadow: var(--tes-shadow); border-color: rgba(24,114,197,.35); }
.tes-card h3 { margin: .35rem 0 0; font-size: 1.14rem; line-height: 1.25; }
.tes-card h3 a { color: var(--tes-navy); text-decoration: none; }
.tes-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tes-card p { margin: 0; color: var(--tes-slate); font-size: .95rem; line-height: 1.55; }
.tes-card .tes-card-ico { margin: 0 0 .35rem; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
	background: linear-gradient(145deg, var(--tes-blue-50), #fff); color: var(--tes-blue); border: 1px solid rgba(24,114,197,.15); transition: background .25s, color .25s; }
.tes-card .tes-card-ico .tes-ico { width: 27px; height: 27px; }
.tes-card:hover .tes-card-ico { background: var(--tes-blue); color: #fff; }
.tes-card .tes-more { font-weight: 800; color: var(--tes-blue); margin-top: auto !important; padding-top: .6rem; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.tes-card .tes-more .tes-ico { width: 16px; height: 16px; transition: transform .2s var(--tes-ease); }
.tes-card:hover .tes-more .tes-ico { transform: translateX(4px); }
.tes-card.is-compact { padding: 1.2rem 1.25rem !important; }
.tes-card.is-compact h3 { font-size: 1.05rem; margin-top: 0; }
.tes-card .wp-block-image { margin: -1.5rem -1.5rem .5rem; overflow: hidden; border-radius: var(--tes-r) var(--tes-r) 0 0; }
.tes-card .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--tes-ease); }
.tes-card:hover .wp-block-image img { transform: scale(1.04); }
.tes-section.is-navy .tes-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: none; }
.tes-section.is-navy .tes-card h3 a { color: #fff; }
.tes-section.is-navy .tes-card p { color: #A9BDD4; }
.tes-section.is-navy .tes-card .tes-card-ico { background: rgba(92,200,255,.12); border-color: rgba(92,200,255,.25); color: var(--tes-sky); }
.tes-section.is-navy .tes-card:hover { border-color: rgba(92,200,255,.5); }

/* Feature list with icons */
.tes-features { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.75rem 2rem; }
.tes-features > * { margin: 0 !important; }
.tes-feature { display: grid !important; grid-template-columns: 48px 1fr; gap: .1rem 1rem; align-items: start; }
.tes-feature > * { margin: 0 !important; }
.tes-feature .tes-feature-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--tes-blue-50); color: var(--tes-blue); }
.tes-feature .tes-feature-ico .tes-ico { width: 24px; height: 24px; }
.tes-feature h3 { font-size: 1.08rem; margin: .15rem 0 .25rem !important; }
.tes-feature p:not(.tes-feature-ico) { color: var(--tes-slate); font-size: .96rem; line-height: 1.55; }
.tes-section.is-navy .tes-feature .tes-feature-ico { background: rgba(92,200,255,.12); color: var(--tes-sky); }
.tes-section.is-navy .tes-feature p:not(.tes-feature-ico) { color: #A9BDD4; }

/* Checklist */
.tes-checks { list-style: none; padding-left: 0 !important; margin: 1.25rem 0; display: grid; gap: .7rem; }
.tes-checks li { padding-left: 2.1rem; position: relative; line-height: 1.55; }
.tes-checks li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 22px; height: 22px; border-radius: 50%;
	background: var(--tes-blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231872C5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.tes-checks li strong { color: var(--tes-navy); }
.tes-section.is-navy .tes-checks li strong { color: #fff; }

/* Fault list — two-column panel */
.tes-faults { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tes-faults li { background: #fff; border: 1px solid var(--tes-line); border-radius: var(--tes-r-sm); padding: .95rem 1rem .95rem 3rem; position: relative; font-size: .95rem; line-height: 1.5; color: var(--tes-slate); }
.tes-faults li strong { display: block; color: var(--tes-navy); font-size: 1rem; margin-bottom: .15rem; }
.tes-faults li::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 20px; height: 20px; border-radius: 6px;
	background: var(--tes-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1726' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.8 3.3a5 5 0 0 0-5.6 6.9L3.3 16.1a2 2 0 0 0 2.8 2.8l5.9-5.9a5 5 0 0 0 6.9-5.6l-3 3-2.6-.6-.6-2.6z'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 720px) { .tes-faults { grid-template-columns: 1fr; } }

/* =====================================================================
   9. Process timeline
   ===================================================================== */
.tes-steps { counter-reset: step; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; }
.tes-steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
	background: repeating-linear-gradient(90deg, var(--tes-blue) 0 8px, transparent 8px 14px); opacity: .35; }
.tes-steps > * { margin: 0 !important; }
.tes-step { counter-increment: step; position: relative; text-align: center; padding: 0 .5rem !important; }
.tes-step::before { content: "0" counter(step); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 16px;
	background: #fff; border: 1.5px solid var(--tes-blue); color: var(--tes-blue); font-family: var(--tes-mono); font-weight: 600; font-size: 1rem; box-shadow: 0 0 0 6px var(--tes-paper); position: relative; }
.tes-step:last-child::before { background: var(--tes-blue); color: #fff; }
.tes-step h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.tes-step p { margin: 0; color: var(--tes-slate); font-size: .95rem; line-height: 1.55; }
@media (max-width: 860px) {
	.tes-steps { grid-template-columns: 1fr; gap: 0; }
	.tes-steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--tes-blue) 0 8px, transparent 8px 14px); }
	.tes-step { text-align: left; display: grid !important; grid-template-columns: 56px 1fr; column-gap: 1.1rem; padding: 0 0 1.5rem !important; }
	.tes-step::before { grid-row: span 2; margin: 0; }
	.tes-step h3 { margin-top: .9rem; }
}

/* =====================================================================
   10. Split feature with photo
   ===================================================================== */
.tes-split { align-items: center !important; gap: clamp(2rem, 6vw, 5rem) !important; }
.tes-photo { position: relative; margin: 0 !important; }
.tes-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--tes-r-lg); box-shadow: var(--tes-shadow-lg); display: block; }
.tes-photo::before { content: ""; position: absolute; inset: auto -18px -18px auto; width: 55%; height: 55%; border-radius: var(--tes-r-lg); z-index: -1;
	background-image: var(--tes-grid); background-size: 16px 16px; background-color: var(--tes-blue-50); }
.tes-photo-wrap { position: relative; isolation: isolate; }
.tes-photo-badge { position: absolute !important; left: -14px; bottom: 26px; margin: 0 !important; background: #fff; border-radius: var(--tes-r); padding: .85rem 1.1rem !important;
	box-shadow: var(--tes-shadow-lg); display: flex !important; align-items: center; gap: .75rem; max-width: 260px; }
.tes-photo-badge > * { margin: 0 !important; }
.tes-photo-badge .tes-badge-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--tes-amber); color: var(--tes-ink); display: grid; place-items: center; flex: none; }
.tes-photo-badge .tes-badge-ico .tes-ico { width: 22px; height: 22px; }
.tes-photo-badge .tes-badge-text { font-size: .85rem; color: var(--tes-slate); line-height: 1.35; }
.tes-photo-badge .tes-badge-text strong { display: block; color: var(--tes-navy); font-size: .98rem; }
@media (max-width: 781px) { .tes-photo-badge { left: 12px; bottom: 12px; } .tes-photo::before { display: none; } }

/* =====================================================================
   11. Brand band
   ===================================================================== */
.tes-brands { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.tes-brands li { margin: 0; }
.tes-brands a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; min-height: 104px; padding: 1rem;
	border-radius: var(--tes-r); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); text-decoration: none; transition: all .25s var(--tes-ease); }
.tes-brands a:hover { background: rgba(92,200,255,.08); border-color: rgba(92,200,255,.55); transform: translateY(-3px); }
.tes-brands .tes-wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.tes-brands .tes-verified { font-family: var(--tes-mono); font-size: .66rem; letter-spacing: .06em; color: #7EE0A6; display: inline-flex; gap: .35rem; align-items: center; text-transform: uppercase; }
.tes-brands .tes-verified::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34D17A; }
.tes-brands .tes-verified.is-pending { color: #FFCE6B; }
.tes-brands .tes-verified.is-pending::before { background: var(--tes-amber); }
@media (max-width: 900px) { .tes-brands { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tes-brands { grid-template-columns: 1fr 1fr; } .tes-brands .tes-wordmark { font-size: 1.05rem; } }
/* Light variant (brand pills) */
.tes-badges { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1rem 0; }
.tes-badges li { margin: 0; }
.tes-badges a, .tes-badges span { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--tes-line);
	font-weight: 800; font-size: .92rem; color: var(--tes-navy); text-decoration: none; transition: all .2s var(--tes-ease); }
.tes-badges a:hover { border-color: var(--tes-blue); color: var(--tes-blue); transform: translateY(-2px); box-shadow: var(--tes-shadow-sm); }
.tes-badges .tes-ico { width: 16px; height: 16px; color: var(--tes-blue); }
.tes-badges .is-verified::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }

/* =====================================================================
   12. Reviews band
   ===================================================================== */
.tes-review-card { background: #fff; border-radius: var(--tes-r-lg); border: 1px solid var(--tes-line); box-shadow: var(--tes-shadow); padding: clamp(1.75rem, 4vw, 3rem) !important; text-align: center; position: relative; overflow: hidden; }
.tes-review-card::before { content: "“"; position: absolute; top: -2.2rem; left: 1.5rem; font-size: 11rem; line-height: 1; font-weight: 800; color: var(--tes-blue-50); z-index: 0; }
.tes-review-card > * { position: relative; }
.tes-review-card h2 { margin-bottom: .75rem; }
.tes-rating { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1rem; font-weight: 700; color: var(--tes-navy); }
.tes-rating .tes-stars { color: #F5A300; letter-spacing: .12em; font-size: 1.5rem; }
.tes-rating a { font-weight: 800; }
.tes-section.is-navy .tes-rating, .tes-hero .tes-rating { color: #fff; }

/* =====================================================================
   13. Tables, FAQ, notes
   ===================================================================== */
.tes-table { margin: 1.25rem 0 !important; }
.tes-table table { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border: 1px solid var(--tes-line); border-radius: var(--tes-r); overflow: hidden; }
.tes-table th, .tes-table td { border: 0; border-bottom: 1px solid var(--tes-line); padding: .9rem 1.1rem; text-align: left; vertical-align: top; }
.tes-table tr:last-child td, .tes-table tr:last-child th { border-bottom: 0; }
.tes-table thead th { background: var(--tes-navy); color: #fff; font-size: .85rem; font-family: var(--tes-mono); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.tes-table tbody th { color: var(--tes-navy); font-weight: 700; width: 45%; }
.tes-table tbody tr:nth-child(even) td, .tes-table tbody tr:nth-child(even) th { background: var(--tes-paper); }

.tes-faq-layout { gap: clamp(2rem, 6vw, 5rem) !important; }
.tes-faq-layout > .wp-block-column:first-child { position: sticky; top: 110px; align-self: flex-start; }
.tes-faq { border: 1px solid var(--tes-line); border-radius: var(--tes-r); background: #fff; padding: 0 !important; margin: 0 0 .65rem !important; transition: border-color .2s, box-shadow .2s; }
.tes-faq[open] { border-color: rgba(24,114,197,.45); box-shadow: var(--tes-shadow); }
.tes-faq summary { cursor: pointer; padding: 1.15rem 3.5rem 1.15rem 1.35rem; font-weight: 800; color: var(--tes-navy); list-style: none; position: relative; font-size: 1.03rem; line-height: 1.4; }
.tes-faq summary::-webkit-details-marker { display: none; }
.tes-faq summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 8px; background: var(--tes-blue-50)
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231872C5' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s var(--tes-ease); }
.tes-faq[open] summary::after { transform: rotate(45deg); background-color: var(--tes-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.tes-faq > :not(summary) { padding: 0 1.35rem; color: var(--tes-slate); margin: 0 0 .75rem; line-height: 1.65; }
.tes-faq > :last-child { padding-bottom: 1.15rem; margin-bottom: 0; }
@media (max-width: 781px) { .tes-faq-layout > .wp-block-column:first-child { position: static; } }

.tes-note { background: linear-gradient(135deg, #FFF8EA, #FFFDF7); border: 1px solid #F6DFAE; border-radius: var(--tes-r); padding: 1.1rem 1.25rem 1.1rem 3.4rem !important; position: relative; }
.tes-note::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: 26px; height: 26px; border-radius: 8px;
	background: var(--tes-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1726' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 8v5M12 16.5v.5'/%3E%3C/svg%3E") center/16px no-repeat; }
.tes-note p { margin: 0; color: #5C4610; }
.tes-note a { color: #7A5300; font-weight: 700; }
mark.tes-confirm { background: #FFF3A3; color: #5B4400; padding: .05em .3em; border-radius: 4px; outline: 1px dashed #CAA400; }
mark.tes-confirm::before { content: "CONFIRM: "; font-family: var(--tes-mono); font-size: .68em; font-weight: 700; letter-spacing: .05em; }

/* Prose pages (pricing, guides, privacy) */
.tes-prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; margin-top: 2.75rem !important; }
.tes-prose h2:first-child { margin-top: 0 !important; }
.tes-prose h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.tes-prose p, .tes-prose li { font-size: 1.06rem; line-height: 1.75; color: #27364A; }
.tes-prose > ul:not(.tes-checks), .tes-prose > ol { padding-left: 1.25rem; }
.tes-prose > ol li::marker { font-family: var(--tes-mono); color: var(--tes-blue); font-weight: 600; }

/* =====================================================================
   14. CTA band
   ===================================================================== */
.tes-cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--tes-blue); color: #fff; padding-block: clamp(3rem, 7vw, 5rem) !important; margin-block-start: 0 !important; }
.tes-cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, #0F5AA3 0%, #1872C5 50%, #2B8FE0 100%); }
.tes-cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tes-trace); opacity: 1; mix-blend-mode: soft-light; }
.tes-cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -.03em; line-height: 1.1; }
.tes-cta-band p { color: #DCEBFA; margin: .6rem 0 0; font-size: 1.08rem; }
.tes-cta-band .tes-eyebrow { color: #fff; opacity: .85; }
.tes-cta-band .wp-block-buttons { justify-content: flex-end; gap: .75rem; }
.tes-cta-band .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.6); }
.tes-cta-band .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); border-color: #fff; }
@media (max-width: 781px) { .tes-cta-band .wp-block-buttons { justify-content: flex-start; } }

/* =====================================================================
   15. Areas
   ===================================================================== */
.tes-areas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.tes-areas li { margin: 0; }
.tes-areas a { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-radius: var(--tes-r-sm); background: #fff; border: 1px solid var(--tes-line);
	font-weight: 700; color: var(--tes-navy); text-decoration: none; transition: all .2s var(--tes-ease); font-size: .95rem; }
.tes-areas a .tes-ico { width: 18px; height: 18px; color: var(--tes-blue); }
.tes-areas a:hover { border-color: var(--tes-blue); box-shadow: var(--tes-shadow-sm); transform: translateY(-2px); }
.tes-areas a small { margin-left: auto; font-family: var(--tes-mono); font-weight: 500; color: var(--tes-mute); font-size: .72rem; }
@media (max-width: 900px) { .tes-areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tes-areas { grid-template-columns: 1fr; } }

/* Info panel (address / hours) */
.tes-panel { background: #fff; border: 1px solid var(--tes-line); border-radius: var(--tes-r-lg); padding: clamp(1.4rem, 3vw, 2rem) !important; box-shadow: var(--tes-shadow-sm); }
.tes-panel h2, .tes-panel h3 { margin-top: 0; }
.tes-contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .9rem; }
.tes-contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: center; margin: 0; }
.tes-contact-list .tes-ci { width: 40px; height: 40px; border-radius: 11px; background: var(--tes-blue-50); color: var(--tes-blue); display: grid; place-items: center; }
.tes-contact-list .tes-ci .tes-ico { width: 20px; height: 20px; }
.tes-contact-list a { font-weight: 700; color: var(--tes-navy); text-decoration: none; }
.tes-contact-list a:hover { color: var(--tes-blue); }
.tes-contact-list small { display: block; color: var(--tes-mute); font-family: var(--tes-mono); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }

/* =====================================================================
   16. Forms (Contact Form 7)
   ===================================================================== */
.wpcf7 form { display: grid; gap: .85rem; }
.wpcf7 label { display: block; font-weight: 700; color: var(--tes-navy); font-size: .86rem; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 select, .wpcf7 textarea, .wpcf7 input[type=file] {
	width: 100%; box-sizing: border-box; margin-top: .35rem; padding: .78rem .9rem; border: 1.5px solid var(--tes-line); border-radius: 10px; font: inherit; font-size: 1rem; background: var(--tes-paper); color: var(--tes-ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.wpcf7 input[type=file] { padding: .6rem; font-size: .9rem; background: #fff; border-style: dashed; }
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.wpcf7 input:hover, .wpcf7 select:hover, .wpcf7 textarea:hover { border-color: #BCCBDD; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--tes-blue); background: #fff; outline: 0; box-shadow: 0 0 0 4px rgba(24,114,197,.14); }
.wpcf7 .tes-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 600px) { .wpcf7 .tes-row { grid-template-columns: 1fr; } }
.wpcf7 input[type=submit] { background: var(--tes-amber); color: var(--tes-ink); border: 0; border-radius: 10px; padding: 1rem 1.4rem; font-weight: 800; font-size: 1.03rem; cursor: pointer; width: 100%;
	box-shadow: 0 10px 24px -10px rgba(242,157,0,.9); transition: background .2s, transform .2s var(--tes-ease); }
.wpcf7 input[type=submit]:hover { background: var(--tes-amber-600); transform: translateY(-1px); }
.wpcf7 input[type=submit]:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.wpcf7 .wpcf7-list-item { margin: 0 1rem 0 0; }
.wpcf7 .tes-form-note { font-size: .8rem; color: var(--tes-mute); margin: 0; display: flex; gap: .4rem; align-items: center; }
.wpcf7 .tes-form-note::before { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A889C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat; }
.wpcf7-not-valid-tip { font-size: .82rem; margin-top: .3rem; }
.wpcf7 form .wpcf7-response-output { margin: 0; border-radius: 10px; padding: .8rem 1rem; font-size: .92rem; }
.wpcf7-spinner { display: none; }

/* =====================================================================
   17. Footer
   ===================================================================== */
.tes-footer { background: var(--tes-navy); color: #9FB3CA; font-size: .94rem; margin-block-start: 0 !important; position: relative; isolation: isolate; overflow: hidden; }
.tes-footer::before { content: ""; position: absolute; inset: 0; background: var(--tes-trace); opacity: .55; z-index: -1; }
.tes-footer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--tes-blue), var(--tes-sky), var(--tes-amber)); }
.tes-footer h2, .tes-footer h3 { color: #fff; font-size: .78rem !important; text-transform: uppercase; letter-spacing: .1em; font-family: var(--tes-mono); font-weight: 600; margin-bottom: 1.1rem; }
.tes-footer a { color: #DCE7F3; text-decoration: none; }
.tes-footer a:hover { color: var(--tes-amber); }
.tes-footer ul { list-style: none; padding: 0; margin: 0; }
.tes-footer li { margin: .45rem 0; }
.tes-footer .tes-footer-brand p { color: #9FB3CA; line-height: 1.6; }
.tes-footer .tes-footer-name { color: #fff !important; font-weight: 800; font-size: 1.15rem; margin: .75rem 0 .5rem !important; letter-spacing: -.01em; }
.tes-footer .wp-block-site-logo img { width: 72px !important; height: auto; border-radius: 6px; }
.tes-footer .tes-footer-contact { display: grid; gap: .55rem; }
.tes-footer .tes-footer-contact p { margin: 0; display: flex; gap: .6rem; align-items: flex-start; }
.tes-footer .tes-footer-contact .tes-ico { width: 18px; height: 18px; color: var(--tes-sky); margin-top: .15rem; }
.tes-footer .tes-footer-phone a { font-size: 1.2rem; font-weight: 800; color: #fff; }
.tes-footer .tes-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #7F95AE; }
.tes-footer .tes-footer-bottom p { margin: 0; }
.tes-footer .tes-footer-bottom a { color: #9FB3CA; }

/* =====================================================================
   18. Blog / posts
   ===================================================================== */
.tes-post-cta { background: var(--tes-navy); color: #B7C8DB; border-radius: var(--tes-r-lg); padding: clamp(1.5rem, 4vw, 2.5rem) !important; position: relative; isolation: isolate; overflow: hidden; margin-top: 3rem !important; }
.tes-post-cta::after { content: ""; position: absolute; inset: 0; background: var(--tes-trace); z-index: -1; }
.tes-post-cta h2 { color: #fff; margin-top: 0; font-size: 1.6rem; }
.tes-post-cta a:not(.wp-block-button__link) { color: #fff; }
.single .wp-block-post-content > h2 { margin-top: 2.5rem; font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); letter-spacing: -.02em; }
.single .wp-block-post-content > h3 { margin-top: 1.75rem; }
.single .wp-block-post-content p, .single .wp-block-post-content li { font-size: 1.08rem; line-height: 1.8; color: #27364A; }
.single .wp-block-post-featured-image img { border-radius: var(--tes-r-lg); box-shadow: var(--tes-shadow); }
.tes-hero .wp-block-post-date { font-family: var(--tes-mono); font-size: .8rem; color: #8FA6C1 !important; }
.wp-block-post-template.tes-cards .wp-block-post-featured-image { margin: -1.5rem -1.5rem .5rem; overflow: hidden; border-radius: var(--tes-r) var(--tes-r) 0 0; }
.wp-block-post-template.tes-cards .wp-block-post-featured-image img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--tes-ease); }
.wp-block-post-template.tes-cards .tes-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.wp-block-post-template.tes-cards .wp-block-post-title { font-size: 1.15rem; margin: .25rem 0 0; }
.wp-block-post-template.tes-cards .wp-block-post-title a { color: var(--tes-navy); text-decoration: none; }
.wp-block-post-template.tes-cards .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.wp-block-post-template.tes-cards .wp-block-post-excerpt__excerpt { color: var(--tes-slate); font-size: .95rem; margin: 0; }

/* =====================================================================
   19. Motion
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.tes-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--tes-ease), transform .7s var(--tes-ease); }
	.tes-reveal.is-in { opacity: 1; transform: none; }
	.tes-hero .wp-block-column > *, .tes-hero > * { animation: tes-rise .8s var(--tes-ease) both; }
	.tes-hero .wp-block-column > *:nth-child(2), .tes-hero > *:nth-child(2) { animation-delay: .06s; }
	.tes-hero .wp-block-column > *:nth-child(3), .tes-hero > *:nth-child(3) { animation-delay: .12s; }
	.tes-hero .wp-block-column > *:nth-child(4) { animation-delay: .18s; }
	.tes-hero .wp-block-column > *:nth-child(n+5) { animation-delay: .24s; }
	.tes-hero .wp-block-column:last-child > .tes-hero-card { animation: tes-rise .9s .2s var(--tes-ease) both; }
}
@keyframes tes-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* Photo map (admin only page) */
.tes-photomap td img { max-width: 120px; }

/* =====================================================================
   20. Illustration panel (used where there is no workshop photo)
   ===================================================================== */
.tes-visual { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--tes-r-lg); min-height: 380px; padding: 2rem !important;
	background: radial-gradient(90% 80% at 80% 10%, rgba(24,114,197,.65), rgba(24,114,197,0) 60%), linear-gradient(160deg, var(--tes-navy-700), var(--tes-navy));
	display: flex !important; flex-direction: column; justify-content: space-between; box-shadow: var(--tes-shadow-lg); color: #fff; }
.tes-visual::after { content: ""; position: absolute; inset: 0; background: var(--tes-trace); z-index: -1; }
.tes-visual > * { margin: 0 !important; }
.tes-visual .tes-visual-ico { width: 140px; height: 140px; border-radius: 34px; display: grid; place-items: center; color: var(--tes-sky);
	background: rgba(92,200,255,.08); border: 1px solid rgba(92,200,255,.28); box-shadow: 0 0 60px rgba(92,200,255,.18) inset, 0 0 80px rgba(24,114,197,.4); margin: 1rem auto 0 !important; }
.tes-visual .tes-visual-ico .tes-ico { width: 76px; height: 76px; stroke-width: 1.4; }
.tes-visual .tes-visual-label { font-family: var(--tes-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #9FC6EA; text-align: center; margin-top: 1.25rem !important; }
.tes-visual .tes-visual-chips { list-style: none; padding: 0; margin: 1.5rem 0 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.tes-visual .tes-visual-chips li { margin: 0; padding: .4rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }

/* Split column fallbacks */
.tes-split .wp-block-image:not(.tes-photo) img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--tes-r-lg); box-shadow: var(--tes-shadow-lg); }
.wp-block-column .tes-faults { grid-template-columns: 1fr; }
.tes-panel .tes-feature-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--tes-blue-50); color: var(--tes-blue); margin: 0 0 1rem; }
.tes-panel .tes-feature-ico .tes-ico { width: 24px; height: 24px; }
.tes-panel .tes-note { margin-top: 1.25rem; }
.tes-panel .tes-table { margin: 1rem 0 !important; }
.tes-card.is-compact .tes-card-ico { width: 44px; height: 44px; border-radius: 12px; }
.tes-card.is-compact .tes-card-ico .tes-ico { width: 22px; height: 22px; }
.tes-section.is-navy .tes-center p { color: #B7C8DB; }
.tes-section.is-navy mark.tes-confirm { color: #5B4400; }
.tes-cta-band .wp-block-button:not(.is-style-outline) .wp-block-button__link { box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }

/* Readability + layout refinements */
body { font-weight: 400; }
.tes-lead, .tes-hero p { font-weight: 400; }
.tes-features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tes-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tes-features { grid-template-columns: 1fr; } }
.tes-cta-band .wp-block-column:last-child { align-self: center; }
/* Lead paragraphs stay left-aligned inside constrained sections */
.tes-lead { margin-left: 0 !important; margin-right: 0 !important; }
.tes-center .tes-lead, .tes-lead.tes-center { margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 1480px) { .tes-brandname small { display: none; } }
p > .tes-link-arrow:only-child { display: inline-flex; }
.tes-panel h2, .tes-card > h2, .tes-section .tes-card > h2 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem) !important; letter-spacing: -.02em; }
.tes-directions { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--tes-blue); text-decoration: none; padding: .6rem 1rem; border-radius: 10px; background: var(--tes-blue-50); }
.tes-directions::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231872C5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s-7-6.1-7-11.5a7 7 0 0 1 14 0c0 5.4-7 11.5-7 11.5z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E") center/contain no-repeat; }
.tes-directions:hover { background: var(--tes-blue); color: #fff; }
.tes-directions:hover::before { filter: brightness(0) invert(1); }
@media (min-width: 992px) and (max-width: 1480px) { .tes-header .wp-block-navigation { font-size: .9rem; } .tes-header .wp-block-navigation, .tes-header .wp-block-navigation__container { gap: 1rem !important; } .tes-brandname { font-size: .98rem; } }
@media (max-width: 600px) {
	.tes-brandname { white-space: normal; font-size: .95rem; line-height: 1.15; max-width: 12rem; }
	.tes-header .wp-block-site-logo img { width: 48px !important; }
	.tes-stat .tes-stat-ico { width: 38px; height: 38px; }
	.tes-stat .tes-stat-label { font-size: .82rem; }
	.tes-hero-points li { font-size: .86rem; }
	.tes-section h2 { font-size: clamp(1.7rem, 1.2rem + 3vw, 2.1rem); }
}
/* Mobile: two-up link cards (title + icon) to cut scroll length */
@media (max-width: 600px) {
	.tes-cards:not(.is-3) { grid-template-columns: 1fr 1fr; gap: .7rem; }
	.tes-cards:not(.is-3) > .tes-card { padding: 1rem .9rem !important; gap: .35rem; }
	.tes-cards:not(.is-3) > .tes-card p:not(.tes-card-ico) { display: none; }
	.tes-cards:not(.is-3) > .tes-card h3 { font-size: .95rem; margin: .2rem 0 0; }
	.tes-cards:not(.is-3) > .tes-card .tes-card-ico { width: 42px; height: 42px; border-radius: 11px; }
	.tes-cards:not(.is-3) > .tes-card .tes-card-ico .tes-ico { width: 22px; height: 22px; }
	.tes-card:hover { transform: none; }
}

/* =====================================================================
   21. Brand logos
   ===================================================================== */
/* Logo band + marquee */
.tes-logo-band { background: #fff; padding-block: clamp(2.5rem, 5vw, 3.75rem) !important; margin-block-start: 0 !important; border-bottom: 1px solid var(--tes-line); overflow: hidden; }
.tes-logo-band.is-pale { background: var(--tes-paper); border-top: 1px solid var(--tes-line); }
.tes-logo-band .tes-logo-head { max-width: 1200px; margin: 0 auto 1.75rem !important; padding-inline: var(--tes-gutter); }
.tes-logo-band .tes-logo-head h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: 0; letter-spacing: -.025em; }
.tes-marquee { display: flex; gap: 1rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tes-logos { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; flex: none; animation: tes-marquee 70s linear infinite; }
.tes-marquee:hover .tes-logos { animation-play-state: paused; }
.tes-logos li { margin: 0; flex: none; width: 170px; height: 96px; display: grid; place-items: center; background: #fff; border: 1px solid var(--tes-line); border-radius: var(--tes-r); padding: 12px 18px; box-sizing: border-box; box-shadow: var(--tes-shadow-sm); }
.tes-logos img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
@keyframes tes-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 1rem)); } }
@media (prefers-reduced-motion: reduce) {
	.tes-marquee { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; justify-content: center; padding-inline: var(--tes-gutter); }
	.tes-logos { flex-wrap: wrap; justify-content: center; }
	.tes-logos[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) { .tes-logos li { width: 130px; height: 78px; padding: 10px 12px; } .tes-logos img { max-height: 50px; } .tes-logos { animation-duration: 55s; } }
.tes-tm-note { font-size: .72rem !important; color: var(--tes-mute); text-align: center; margin: 1.25rem auto 0 !important; font-family: var(--tes-mono); letter-spacing: .02em; padding-inline: var(--tes-gutter); }

/* Static logo grid */
.tes-logo-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .85rem; max-width: 1200px; }
.tes-logo-grid li { margin: 0; }
.tes-logo-grid a, .tes-logo-grid span { display: grid; place-items: center; height: 100px; padding: 14px 18px; background: #fff; border: 1px solid var(--tes-line); border-radius: var(--tes-r); box-shadow: var(--tes-shadow-sm); transition: transform .2s var(--tes-ease), box-shadow .2s, border-color .2s; }
.tes-logo-grid a:hover { transform: translateY(-3px); box-shadow: var(--tes-shadow); border-color: var(--tes-blue); }
.tes-logo-grid img { max-width: 100%; max-height: 66px; width: auto; height: auto; object-fit: contain; }
.tes-split .tes-logo-grid, .wp-block-column .tes-logo-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.wp-block-column .tes-logo-grid a, .wp-block-column .tes-logo-grid span { height: 82px; }
@media (max-width: 600px) { .tes-logo-grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; } .tes-logo-grid a, .tes-logo-grid span { height: 70px; padding: 8px 10px; } .tes-logo-grid img { max-height: 46px; } }

/* Authorised band with real logos on white tiles */
.tes-brands.has-logos a { background: #fff; border-color: #fff; min-height: 150px; gap: .75rem; box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); }
.tes-brands.has-logos a:hover { background: #fff; border-color: var(--tes-sky); box-shadow: 0 0 0 3px rgba(92,200,255,.35), 0 24px 48px -24px rgba(0,0,0,.7); }
.tes-brands.has-logos .tes-brand-logo { height: 78px; display: grid; place-items: center; width: 100%; }
.tes-brands.has-logos .tes-brand-logo img { max-width: 100%; max-height: 74px; width: auto; height: auto; object-fit: contain; }
.tes-brands.has-logos .tes-verified { color: #15803d; }
.tes-brands.has-logos .tes-verified::before { background: #22c55e; }
.tes-brands.has-logos .tes-verified.is-pending { color: #A16207; }
.tes-brands.has-logos .tes-verified.is-pending::before { background: var(--tes-amber); }
@media (max-width: 520px) { .tes-brands.has-logos a { min-height: 118px; padding: .75rem; } .tes-brands.has-logos .tes-brand-logo { height: 56px; } .tes-brands.has-logos .tes-brand-logo img { max-height: 54px; } }

/* Brand logo in hero (brand pages) */
.tes-hero-logo { display: inline-grid; place-items: center; background: #fff; border-radius: var(--tes-r); padding: 12px 22px; margin: 0 0 1.25rem !important; box-shadow: 0 16px 36px -16px rgba(0,0,0,.6); height: 84px; box-sizing: border-box; }
.tes-hero-logo img { max-height: 60px; max-width: 220px; width: auto; height: auto; object-fit: contain; display: block; }
.tes-hero-logo { display: grid !important; width: fit-content; height: auto; padding: 10px 18px; }
.tes-hero-logo img { width: 180px; max-width: 180px; max-height: 90px; }

/* Logo marquee inside the home hero */
.tes-hero.has-marquee { padding-bottom: clamp(4.5rem, 8vw, 6.5rem) !important; }
.tes-hero-logos { margin-top: clamp(2.5rem, 5vw, 3.75rem) !important; padding-top: 1.75rem !important; border-top: 1px solid rgba(255,255,255,.12); }
.tes-hero-logos-label { font-family: var(--tes-mono); font-size: .74rem !important; letter-spacing: .1em; text-transform: uppercase; color: #9FB8D3 !important; text-align: center; margin: 0 0 1.1rem !important; max-width: none !important; }
.tes-hero .tes-marquee { margin-inline: calc(-1 * var(--tes-gutter)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tes-hero .tes-logos { animation-duration: 80s; gap: .85rem; }
.tes-hero .tes-marquee { gap: .85rem; }
.tes-hero .tes-logos li { width: 150px; height: 80px; padding: 10px 16px; border: 0; background: rgba(255,255,255,.97); box-shadow: 0 10px 24px -14px rgba(0,0,0,.7); }
.tes-hero .tes-logos img { max-height: 54px; }
.tes-hero .tes-hero-logos { animation: none !important; }
@media (max-width: 600px) { .tes-hero .tes-logos li { width: 118px; height: 66px; padding: 8px 10px; } .tes-hero .tes-logos img { max-height: 44px; } }
.tes-hero.has-marquee { padding-top: clamp(2.5rem, 5vw, 4rem) !important; }
.tes-hero-logos { margin-top: clamp(1.75rem, 3vw, 2.5rem) !important; padding-top: 1.25rem !important; }
.tes-hero-logos-label { margin-bottom: .85rem !important; }
/* Home hero: compact so the logo row sits higher */
.tes-hero.has-marquee { padding-top: clamp(2rem, 3.5vw, 3rem) !important; }
.tes-hero.has-marquee h1 { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.3rem); margin-bottom: .9rem; }
.tes-hero.has-marquee .wp-block-buttons { margin-top: 1.4rem; }
.tes-hero.has-marquee .tes-hero-card { padding: 1.4rem 1.6rem !important; }
.tes-hero.has-marquee .tes-hero-card .tes-card-meta { display: none; }
.tes-hero.has-marquee .tes-hero-card h2 { font-size: 1.35rem; }
.tes-hero.has-marquee .tes-hero-card p { margin-bottom: .8rem; font-size: .9rem; }
.tes-hero.has-marquee .wpcf7 form { gap: .65rem; }
.tes-hero.has-marquee .wpcf7 input[type=text], .tes-hero.has-marquee .wpcf7 input[type=tel], .tes-hero.has-marquee .wpcf7 select { padding: .62rem .85rem; }
.tes-hero.has-marquee .wpcf7 input[type=submit] { padding: .85rem 1.2rem; }
.tes-hero.has-marquee .tes-hero-logos { margin-top: 1.5rem !important; padding-top: 1.1rem !important; }

/* =====================================================================
   22. Service bento
   ===================================================================== */
.tes-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 1.1rem; }
.tes-svc { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
	padding: 1.5rem; border-radius: var(--tes-r-lg); background: #fff; border: 1px solid var(--tes-line); box-shadow: var(--tes-shadow-sm);
	transition: transform .3s var(--tes-ease), box-shadow .3s var(--tes-ease), border-color .3s; }
.tes-svc::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; z-index: -1;
	background: radial-gradient(circle, rgba(24,114,197,.12), rgba(24,114,197,0) 70%); transition: transform .5s var(--tes-ease); }
.tes-svc:hover { transform: translateY(-5px); box-shadow: var(--tes-shadow-lg); border-color: rgba(24,114,197,.4); }
.tes-svc:hover::before { transform: scale(1.4); }
.tes-svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tes-svc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
	background: linear-gradient(145deg, #2B8FE0, var(--tes-blue) 55%, #0F5AA3); box-shadow: 0 10px 22px -10px rgba(24,114,197,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.tes-svc-ico .tes-ico { width: 28px; height: 28px; }
.tes-svc-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--tes-navy); background: var(--tes-paper); border: 1px solid var(--tes-line);
	transition: background .25s, color .25s, transform .3s var(--tes-ease); }
.tes-svc-go .tes-ico { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .3s var(--tes-ease); }
.tes-svc:hover .tes-svc-go { background: var(--tes-amber); border-color: var(--tes-amber); color: var(--tes-ink); }
.tes-svc:hover .tes-svc-go .tes-ico { transform: rotate(0); }
.tes-svc-body h3 { margin: 0 0 .45rem; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.02em; }
.tes-svc-body h3 a { color: var(--tes-navy); text-decoration: none; }
.tes-svc-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.tes-svc-body p { margin: 0; color: var(--tes-slate); font-size: .94rem; line-height: 1.5; }
.tes-svc-chips { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tes-svc-chips li { margin: 0; font-family: var(--tes-mono); font-size: .68rem; letter-spacing: .02em; padding: .28rem .55rem; border-radius: 6px; background: var(--tes-blue-50); color: var(--tes-blue-600); font-weight: 600; }
.tes-svc-logos { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tes-svc-logos li { margin: 0; width: 86px; height: 46px; border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 5px 9px; box-sizing: border-box; box-shadow: 0 6px 16px -10px rgba(0,0,0,.5); }
.tes-svc-logos img { max-width: 100%; max-height: 32px; width: auto; height: auto; object-fit: contain; }

/* Feature (photo) card: TV */
.tes-svc.is-feature { grid-column: span 2; grid-row: span 2; min-height: 520px; border: 0; color: #fff; background: var(--tes-navy); }
.tes-svc.is-feature::before { top: 0; right: 0; bottom: 0; left: 0; width: auto; height: auto; border-radius: 0;
	background: linear-gradient(180deg, rgba(8,26,46,.25) 0%, rgba(8,26,46,.55) 40%, rgba(8,26,46,.96) 100%), var(--tes-bg) center/cover no-repeat; transition: transform .8s var(--tes-ease); }
.tes-svc.is-feature:hover::before { transform: scale(1.05); }
.tes-svc.is-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tes-trace); opacity: .5; mix-blend-mode: screen; }
.tes-svc.is-feature .tes-svc-body h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.tes-svc.is-feature .tes-svc-body h3 a { color: #fff; }
.tes-svc.is-feature .tes-svc-body p { color: #C8D6E6; font-size: 1.02rem; max-width: 44ch; }
.tes-svc.is-feature .tes-svc-chips li { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.tes-svc.is-feature .tes-svc-go, .tes-svc.is-dark .tes-svc-go { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.tes-svc.is-feature .tes-svc-ico { background: var(--tes-amber); color: var(--tes-ink); box-shadow: 0 10px 22px -10px rgba(242,157,0,.9); }

/* Dark wide card: amplifiers */
.tes-svc.is-dark { background: linear-gradient(135deg, var(--tes-navy-700), var(--tes-navy)); border: 0; color: #fff; }
.tes-svc.is-dark::before { width: 360px; height: 360px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(92,200,255,.25), rgba(92,200,255,0) 70%); }
.tes-svc.is-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tes-trace); opacity: .7; }
.tes-svc.is-wide { grid-column: span 2; }
.tes-svc.is-dark .tes-svc-body h3 a { color: #fff; }
.tes-svc.is-dark .tes-svc-body p { color: #B7C8DB; }
.tes-svc.is-dark .tes-svc-chips li { background: rgba(92,200,255,.12); color: #CBEBFF; }

@media (max-width: 1100px) {
	.tes-bento { grid-template-columns: repeat(2, 1fr); }
	.tes-svc.is-feature { grid-row: span 1; min-height: 440px; }
}
@media (max-width: 600px) {
	.tes-bento { grid-template-columns: 1fr 1fr; gap: .7rem; grid-auto-rows: auto; }
	.tes-svc { padding: 1rem; gap: .75rem; border-radius: var(--tes-r); }
	.tes-svc.is-feature, .tes-svc.is-wide { grid-column: 1 / -1; min-height: 380px; }
	.tes-svc:not(.is-feature):not(.is-wide) .tes-svc-body p, .tes-svc:not(.is-feature):not(.is-wide) .tes-svc-chips { display: none; }
	.tes-svc:not(.is-feature):not(.is-wide) .tes-svc-go { display: none; }
	.tes-svc-ico { width: 46px; height: 46px; border-radius: 13px; }
	.tes-svc-body h3 { font-size: 1rem; }
	.tes-svc:hover { transform: none; }
}

/* =====================================================================
   23. Review wall ([tes_reviews])
   ===================================================================== */
.tes-rv { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 1.25rem; align-items: stretch; margin-top: 2rem; }
.tes-rv-score { position: relative; overflow: hidden; border-radius: var(--tes-r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); color: #fff;
	background: radial-gradient(120% 90% at 100% 0%, rgba(92,200,255,.22), transparent 55%), var(--tes-trace), linear-gradient(160deg, var(--tes-navy-700), var(--tes-navy) 70%);
	box-shadow: var(--tes-shadow-lg); display: flex; flex-direction: column; gap: .9rem; overflow: clip; }
.tes-rv-src { display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start; padding: .4rem .8rem .4rem .45rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
	font-family: var(--tes-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #CFE3F7; }
.tes-rv-src .tes-g { width: 22px; height: 22px; background: #fff; border-radius: 50%; padding: 3px; }
.tes-rv-num { font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 800; line-height: .95; letter-spacing: -.03em; margin-top: .5rem; }
.tes-rv-num small { font-size: .35em; font-weight: 700; color: #9FB6CF; margin-left: .15em; letter-spacing: 0; }
.tes-rv-num.is-text { font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; }
.tes-starbar { --p: 100%; position: relative; display: inline-block; font-size: 1.5rem; line-height: 1; letter-spacing: .1em; color: rgba(255,255,255,.18); }
.tes-starbar::before { content: "★★★★★"; }
.tes-starbar::after { content: "★★★★★"; position: absolute; inset: 0 auto 0 0; width: var(--p); overflow: hidden; white-space: nowrap; color: var(--tes-amber); }
.tes-rv-count { margin: 0; color: #B9CCE0; font-size: .98rem; line-height: 1.5; }
.tes-rv-count strong { color: #fff; }
.tes-rv-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .75rem; }
.tes-rv-btn { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto; padding: .8rem 1.1rem; border-radius: 999px; font-weight: 800; font-size: .95rem; text-decoration: none !important;
	color: #fff; border: 1.5px solid rgba(255,255,255,.3); transition: background .2s var(--tes-ease), border-color .2s, transform .2s var(--tes-ease); }
.tes-rv-btn:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-1px); }
.tes-rv-btn.is-primary { background: var(--tes-amber); border-color: var(--tes-amber); color: var(--tes-navy); }
.tes-rv-btn.is-primary:hover { background: #FFC24D; border-color: #FFC24D; }

.tes-rv-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.tes-rv-card { margin: 0; position: relative; background: #fff; border: 1px solid var(--tes-line); border-radius: var(--tes-r-lg); box-shadow: var(--tes-shadow-sm);
	padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: transform .25s var(--tes-ease), box-shadow .25s var(--tes-ease), border-color .25s; }
.tes-rv-card:hover { transform: translateY(-3px); box-shadow: var(--tes-shadow); border-color: #C5D6EA; }
.tes-rv-top { display: flex; justify-content: space-between; align-items: center; }
.tes-rv-top .tes-starbar { font-size: 1.1rem; color: #E3E9F1; }
.tes-rv-top .tes-g { width: 20px; height: 20px; }
.tes-rv-card blockquote { margin: 0; padding: 0; border: 0; font-size: 1rem; line-height: 1.65; color: var(--tes-ink); flex: 1; }
.tes-rv-card figcaption { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px dashed var(--tes-line); }
.tes-rv-card figcaption strong { display: block; color: var(--tes-navy); font-size: .95rem; }
.tes-rv-card figcaption strong a { color: inherit; text-decoration: none; }
.tes-rv-card figcaption em { display: block; font-style: normal; font-family: var(--tes-mono); font-size: .72rem; color: var(--tes-mute); letter-spacing: .04em; }
.tes-rv-av { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--tes-blue), var(--tes-sky)); }

.tes-rv-card.is-how { flex-direction: column; gap: 1.1rem; }
.tes-rv-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-radius: var(--tes-r-lg); background: #FFF7E6; border: 1px solid #FFE2A8; }
.tes-rv-note p { margin: 0; color: var(--tes-ink); line-height: 1.5; }
.tes-rv-note a { font-weight: 800; white-space: nowrap; }
.tes-rv-ico.is-amber { flex: 0 0 44px; width: 44px; height: 44px; background: linear-gradient(135deg, var(--tes-amber-600), var(--tes-amber)); color: var(--tes-navy); box-shadow: 0 8px 18px -8px rgba(242,157,0,.7); }
.tes-rv-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--tes-blue), var(--tes-sky)); box-shadow: 0 8px 18px -8px rgba(24,114,197,.7); }
.tes-rv-ico svg { width: 24px; height: 24px; }
.tes-rv-n { font-family: var(--tes-mono); font-size: .72rem; letter-spacing: .14em; color: var(--tes-blue); }
.tes-rv-card.is-how h3 { font-size: 1.15rem; margin: .3rem 0 .45rem; }
.tes-rv-card.is-how p { margin: 0; color: var(--tes-slate); font-size: .96rem; line-height: 1.6; }

@media (max-width: 900px) {
	.tes-rv { grid-template-columns: 1fr; }
	.tes-rv-list { grid-template-columns: 1fr; }
	.tes-rv-card.is-how { flex-direction: row; align-items: flex-start; }
	.tes-rv-ico { flex: 0 0 44px; width: 44px; height: 44px; }
}

/* =====================================================================
   24. Service-area map
   ===================================================================== */
.tes-amap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.25rem; margin-top: 2rem; align-items: stretch; }
.tes-amap-map { position: relative; border-radius: var(--tes-r-lg); overflow: clip; color: #fff; display: flex; flex-direction: column;
	background: radial-gradient(90% 80% at 30% 40%, rgba(24,114,197,.35), transparent 60%), var(--tes-grid), linear-gradient(160deg, var(--tes-navy-700), var(--tes-navy) 75%);
	background-size: auto, 32px 32px, 32px 32px, auto; box-shadow: var(--tes-shadow-lg); }
.tes-amap-svg { display: block; width: 100%; height: auto; flex: 1; font-family: var(--tes-mono); }
.tes-amap-svg .ring { fill: none; stroke: rgba(92,200,255,.28); stroke-width: 1.2; stroke-dasharray: 3 6; }
.tes-amap-svg .ring-l { fill: rgba(159,207,245,.7); font-size: 10px; letter-spacing: .08em; text-anchor: middle; }
.tes-amap-svg .rd { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.tes-amap-svg .rd.gw { stroke-width: 2; stroke: rgba(255,255,255,.09); }
.tes-amap-svg .rd-l { fill: var(--tes-navy); font-size: 10px; font-weight: 700; paint-order: stroke; stroke: var(--tes-amber); stroke-width: 12px; stroke-linejoin: round; }
.tes-amap-svg .pt text { fill: #D6E6F7; font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 700; paint-order: stroke; stroke: rgba(8,26,46,.85); stroke-width: 4px; transition: fill .2s; }
.tes-amap-svg .pt .dot { fill: var(--tes-sky); stroke: var(--tes-navy); stroke-width: 2; transition: r .2s var(--tes-ease), fill .2s; }
.tes-amap-svg .pt .halo { fill: rgba(92,200,255,0); transition: fill .2s; }
.tes-amap-svg .pt:hover .dot, .tes-amap-svg .pt.is-on .dot { fill: var(--tes-amber); r: 7.5; }
.tes-amap-svg .pt:hover .halo, .tes-amap-svg .pt.is-on .halo { fill: rgba(255,176,32,.22); }
.tes-amap-svg .pt:hover text, .tes-amap-svg .pt.is-on text { fill: #fff; }
.tes-amap-svg .shop .core { fill: var(--tes-amber); stroke: #fff; stroke-width: 2.5; }
.tes-amap-svg .shop .pulse { fill: none; stroke: var(--tes-amber); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: tes-pulse 2.4s var(--tes-ease) infinite; }
.tes-amap-svg .shop-l { fill: var(--tes-amber); font-size: 10px; font-weight: 700; letter-spacing: .16em; paint-order: stroke; stroke: rgba(8,26,46,.9); stroke-width: 4px; }
@keyframes tes-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tes-amap-svg .shop .pulse { animation: none; } }
.tes-amap-cap { display: flex; align-items: center; gap: .85rem; margin: 0 1rem 1rem; padding: .85rem 1rem; border-radius: var(--tes-r); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.tes-amap-cap > .tes-ico { flex: 0 0 22px; width: 22px; height: 22px; color: var(--tes-amber); }
.tes-amap-cap span { font-size: .9rem; color: #B9CCE0; line-height: 1.4; }
.tes-amap-cap strong { display: block; color: #fff; font-size: .98rem; }
.tes-amap-cap .tes-directions { margin-left: auto; flex: 0 0 auto; padding: .6rem 1rem; border-radius: 999px; background: var(--tes-amber); color: var(--tes-navy) !important; font-weight: 800; font-size: .9rem; text-decoration: none !important; }
.tes-amap-cap .tes-directions:hover { background: #FFC24D; }

.tes-amap-list { list-style: none; margin: 0; padding: .5rem; counter-reset: none; background: #fff; border: 1px solid var(--tes-line); border-radius: var(--tes-r-lg); box-shadow: var(--tes-shadow-sm); display: flex; flex-direction: column; }
.tes-amap-list li { margin: 0; flex: 1; }
.tes-amap-list li + li { border-top: 1px solid #EEF3F9; }
.tes-amap-list a { height: 100%; display: grid; grid-template-columns: 2rem 1fr 72px 3.6rem 16px; align-items: center; gap: .75rem; padding: .7rem .85rem; border-radius: var(--tes-r-sm); text-decoration: none !important; color: var(--tes-ink); transition: background .2s; }
.tes-amap-list .n { font-family: var(--tes-mono); font-size: .72rem; color: var(--tes-mute); }
.tes-amap-list .nm { font-weight: 700; line-height: 1.25; }
.tes-amap-list .bar { height: 6px; border-radius: 99px; background: #EAF0F7; overflow: hidden; }
.tes-amap-list .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tes-sky), var(--tes-blue)); }
.tes-amap-list .t { font-family: var(--tes-mono); font-size: .76rem; color: var(--tes-slate); text-align: right; white-space: nowrap; }
.tes-amap-list .tes-ico { width: 16px; height: 16px; color: var(--tes-blue); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--tes-ease); }
.tes-amap-list a:hover, .tes-amap-list li.is-on a { background: var(--tes-blue-50); }
.tes-amap-list a:hover .tes-ico, .tes-amap-list li.is-on .tes-ico { opacity: 1; transform: none; }
.tes-amap-list a:hover .n { color: var(--tes-blue); }
@media (max-width: 960px) {
	.tes-amap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.tes-amap-svg .pt text { font-size: 16px; }
	.tes-amap-svg .ring-l { display: none; }
	.tes-amap-cap { flex-wrap: wrap; }
	.tes-amap-cap .tes-directions { margin-left: 2.1rem; }
	.tes-amap-list a { grid-template-columns: 1.6rem 1fr 3.4rem 16px; }
	.tes-amap-list .bar { display: none; }
}

/* =====================================================================
   25. Product imagery: stage panels, galleries, bento thumbnails
   ===================================================================== */
.tes-prod { margin: 0; border-radius: var(--tes-r-lg); overflow: hidden; background: #fff; border: 1px solid var(--tes-line); box-shadow: var(--tes-shadow); }
.tes-prod-stage { position: relative; aspect-ratio: 4 / 3; display: block;
	background: radial-gradient(70% 60% at 50% 45%, #fff 0%, #F1F5FA 70%, #E6EDF6 100%); }
.tes-prod-stage::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 10%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(8,26,46,.18), transparent); z-index: 0; }
.tes-prod-stage img { position: absolute; z-index: 1; top: 8%; left: 8%; width: 84%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--tes-ease); }
.tes-prod:hover .tes-prod-stage img { transform: scale(1.03); }
.tes-prod figcaption { padding: 1rem 1.25rem 1.15rem; border-top: 1px solid var(--tes-line); }
.tes-prod figcaption strong { display: block; color: var(--tes-navy); font-size: 1rem; margin-bottom: .55rem; }
.tes-prod figcaption ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tes-prod figcaption li { margin: 0; font-family: var(--tes-mono); font-size: .7rem; padding: .28rem .55rem; border-radius: 6px; background: var(--tes-blue-50); color: var(--tes-blue-600); font-weight: 600; }
.tes-panel + .tes-prod, .wp-block-column > .tes-prod + * { margin-top: 1rem; }
.wp-block-column > .tes-checks + .tes-prod, .wp-block-column > ul + .tes-prod { margin-top: 1.5rem; }

.tes-pg { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.tes-pg > li { margin: 0; }
.tes-pg > li > a, .tes-pg > li > div { position: relative; height: 100%; display: flex; flex-direction: column; border-radius: var(--tes-r-lg); overflow: hidden; background: #fff; border: 1px solid var(--tes-line);
	text-decoration: none !important; color: inherit; box-shadow: var(--tes-shadow-sm); transition: transform .3s var(--tes-ease), box-shadow .3s var(--tes-ease), border-color .3s; }
.tes-pg > li > a:hover { transform: translateY(-4px); box-shadow: var(--tes-shadow); border-color: rgba(24,114,197,.4); }
.tes-pg-stage { position: relative; aspect-ratio: 4 / 3; display: block; background: radial-gradient(70% 60% at 50% 45%, #fff 0%, #F1F5FA 72%, #E8EEF6 100%); }
.tes-pg-stage img { position: absolute; top: 1rem; left: 1.25rem; width: calc(100% - 2.5rem); height: calc(100% - 2rem); object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--tes-ease); }
.tes-pg > li > a:hover .tes-pg-stage img { transform: scale(1.06); }
.tes-pg-txt { padding: .85rem 1rem 1rem; border-top: 1px solid #EEF3F9; display: flex; flex-direction: column; gap: .15rem; }
.tes-pg-txt strong { color: var(--tes-navy); font-size: .98rem; line-height: 1.3; }
.tes-pg-txt span { font-family: var(--tes-mono); font-size: .7rem; color: var(--tes-mute); letter-spacing: .02em; }
.tes-pg > li > a > .tes-ico { position: absolute; top: .75rem; right: .75rem; width: 30px; height: 30px; padding: 7px; box-sizing: border-box; border-radius: 50%; background: #fff; color: var(--tes-navy);
	border: 1px solid var(--tes-line); transform: rotate(-45deg); transition: transform .3s var(--tes-ease), background .2s, border-color .2s; }
.tes-pg > li > a:hover > .tes-ico { transform: none; background: var(--tes-amber); border-color: var(--tes-amber); }
.tes-section.is-pale .tes-pg > li > a, .tes-section.is-pale .tes-pg > li > div { box-shadow: var(--tes-shadow-sm); }
@media (max-width: 560px) {
	.tes-pg { grid-template-columns: 1fr 1fr; gap: .65rem; }
	.tes-pg-txt { padding: .65rem .75rem .75rem; }
	.tes-pg-txt strong { font-size: .88rem; }
	.tes-pg-txt span { display: none; }
	.tes-pg > li > a > .tes-ico { display: none; }
}

/* Bento: product thumbnails on the smaller cards */
.tes-svc.has-pic:not(.is-wide) { padding-top: 0; }
.tes-svc.has-pic:not(.is-wide) .tes-svc-pic { margin: 0 calc(-1 * var(--tes-svc-pad, 1.5rem)); height: 150px; box-sizing: border-box; display: block; padding: 1.1rem 1.5rem .5rem;
	background: radial-gradient(70% 70% at 50% 55%, #fff 0%, #F1F5FA 70%, #E8EEF6 100%); border-bottom: 1px solid #EEF3F9; }
.tes-svc.has-pic .tes-svc-pic img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--tes-ease); }
.tes-svc.has-pic:hover .tes-svc-pic img { transform: scale(1.06) translateY(-2px); }
.tes-svc.has-pic:not(.is-wide) .tes-svc-top { position: absolute; top: .85rem; left: .85rem; right: .85rem; z-index: 1; }
.tes-svc.has-pic:not(.is-wide) .tes-svc-ico { width: 40px; height: 40px; border-radius: 12px; }
.tes-svc.has-pic:not(.is-wide) .tes-svc-ico .tes-ico { width: 20px; height: 20px; }
.tes-svc.has-pic:not(.is-wide) .tes-svc-go { width: 34px; height: 34px; background: #fff; }
.tes-svc.has-pic:not(.is-wide) .tes-svc-body { margin-top: auto; }
.tes-svc.has-pic:not(.is-wide)::before { display: none; }
/* Wide dark card: product on a white plate at the right */
.tes-svc.is-wide.has-pic { padding-right: calc(34% + 2.5rem); }
.tes-svc.is-wide.has-pic .tes-svc-pic { position: absolute; top: 1.25rem; right: 1.25rem; bottom: 1.25rem; width: 34%; box-sizing: border-box; border-radius: 16px; background: #fff; display: block; padding: 1rem;
	box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); z-index: 0; }
@media (max-width: 1100px) {
	.tes-svc.is-wide.has-pic { padding-right: 1.5rem; }
	.tes-svc.is-wide.has-pic .tes-svc-pic { position: static; width: auto; height: 170px; margin-bottom: .5rem; order: -1; }
}
@media (max-width: 700px) {
	.tes-svc.has-pic:not(.is-wide) .tes-svc-pic { height: 110px; margin: 0 -1rem; padding: .6rem .75rem .2rem; }
	.tes-svc.has-pic:not(.is-wide) .tes-svc-top { display: none; }
}
/* lift the light-grey studio backgrounds of the old category shots to white so they melt into the stage */
.tes-svc-pic img, .tes-pg-stage img, .tes-prod-stage img { filter: brightness(1.06) contrast(1.06); }

/* Turnstile widget, placed above the submit button */
.wpcf7-turnstile { margin: 4px 0 12px; min-height: 65px; }
.wpcf7-turnstile iframe { max-width: 100%; }
