/* =========================================================================
   ST Minibus Hire — main stylesheet. The ONLY stylesheet for this theme.
   Mobile-first, token-driven.

   Two parents:
   • Structure from the JM Lux build (photo heroes, fleet registry, navy CTA
     panel, editorial vehicle pages).
   • Surface language from Divorcenters (light ground, soft tinted chips,
     pill buttons with a coloured shadow, bordered cards that lift on hover,
     104px section rhythm, gradient CTA box).
   Brand colours are taken from the Swinton Travel van graphic: deep navy
   "T", steel-blue swoosh, gunmetal wordmark.
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
	--stm-white:     #ffffff;
	--stm-bg:        #fbfcfe;
	--stm-bg-soft:   #f2f6fb;
	--stm-tint:      #e6eef8;   /* chips, icon wells */
	--stm-tint-deep: #c9daef;
	--stm-primary:   #1f5ea8;   /* swoosh mid-blue — buttons, links */
	--stm-primary-h: #184d8c;
	--stm-sky:       #4a8bc4;   /* swoosh highlight */
	--stm-navy:      #0e1a45;   /* the "T" — footer, CTA panels, hero scrim */
	--stm-navy-2:    #16265c;
	--stm-ink:       #0f1729;   /* headings */
	--stm-body:      #4b5869;
	--stm-muted:     #657285;
	--stm-line:      #e2e8f0;
	--stm-steel:     #5b6068;   /* gunmetal wordmark — used sparingly */
	--stm-success:   #1f8a5b;
	--stm-error:     #c0392b;

	--stm-shadow-sm: 0 1px 2px rgba(15,23,41,.04), 0 4px 12px rgba(15,23,41,.05);
	--stm-shadow-md: 0 4px 12px rgba(15,23,41,.05), 0 16px 40px rgba(15,23,41,.08);
	--stm-shadow-lg: 0 8px 24px rgba(15,23,41,.06), 0 32px 72px rgba(15,23,41,.12);
	--stm-shadow-btn: 0 1px 2px rgba(31,94,168,.2), 0 8px 20px rgba(31,94,168,.24);
	--stm-shadow-btn-h: 0 2px 4px rgba(31,94,168,.2), 0 14px 32px rgba(31,94,168,.32);

	--stm-r-sm: 10px; --stm-r: 16px; --stm-r-lg: 24px; --stm-r-xl: 32px; --stm-r-full: 999px;

	--stm-font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--stm-font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--stm-wrap: 1240px;
	--stm-wrap-narrow: 820px;
	--stm-gutter: clamp(16px, 4vw, 32px);
	--stm-sec-y: clamp(64px, 9vw, 104px);
	--stm-header-h: 76px;

	--stm-ease: cubic-bezier(.4, 0, .2, 1);
	--stm-ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Reset + base --------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	font-family: var(--stm-font-body);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--stm-body);
	background: var(--stm-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--stm-primary); text-decoration: none; transition: color .2s var(--stm-ease); }
a:hover { color: var(--stm-primary-h); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--stm-primary); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--stm-font-display);
	color: var(--stm-ink);
	line-height: 1.15;
	letter-spacing: -.025em;
	font-weight: 700;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--stm-navy); color: #fff; padding: 10px 16px; border-radius: var(--stm-r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }
.screen-reader-text, .visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------------------------------------------------- */

.stm-wrap { width: 100%; max-width: var(--stm-wrap); margin: 0 auto; padding: 0 var(--stm-gutter); }
.stm-wrap--narrow { max-width: calc(var(--stm-wrap-narrow) + var(--stm-gutter) * 2); }
.stm-sec { padding: var(--stm-sec-y) 0; position: relative; }
.stm-sec--soft { background: var(--stm-bg-soft); }
.stm-sec--tight { padding: calc(var(--stm-sec-y) * .6) 0; }
.stm-sec--navy { background: var(--stm-navy); color: rgba(255,255,255,.78); }
.stm-sec--navy h2, .stm-sec--navy h3 { color: #fff; }
.stm-center { text-align: center; }

.stm-sec-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.stm-sec-head p { font-size: 18px; margin: 0; }
.stm-sec-head--left { margin-left: 0; text-align: left; }

.stm-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--stm-font-display); font-size: 13px; font-weight: 600;
	color: var(--stm-primary); background: var(--stm-tint);
	padding: 7px 15px; border-radius: var(--stm-r-full); margin-bottom: 18px;
}
.stm-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stm-sec--navy .stm-eyebrow { background: rgba(255,255,255,.1); color: #bcd5f0; }
.stm-lead { font-size: 19px; line-height: 1.6; }

.stm-grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
	.stm-grid--2, .stm-grid--3, .stm-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
	.stm-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.stm-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.stm-grid { gap: 24px; }
}

.stm-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) {
	.stm-split { grid-template-columns: 1fr 1fr; gap: 64px; }
	.stm-split--rev > :first-child { order: 2; }
}
.stm-split__media img { border-radius: var(--stm-r-xl); box-shadow: var(--stm-shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 980px) {
	.stm-split--rev { align-items: start; }
	.stm-split--rev .stm-split__media { position: sticky; top: calc(var(--stm-header-h) + 32px); }
	.stm-split--rev .stm-split__media img { aspect-ratio: 4 / 5; }
}

/* ---------- 4. Buttons --------------------------------------------------- */

.stm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 15px 28px; border-radius: var(--stm-r-full);
	font-family: var(--stm-font-display); font-weight: 600; font-size: 15.5px; line-height: 1.2;
	white-space: nowrap; text-decoration: none; cursor: pointer;
	transition: transform .25s var(--stm-ease), box-shadow .25s var(--stm-ease), background-color .25s var(--stm-ease), color .25s var(--stm-ease), border-color .25s var(--stm-ease);
}
.stm-btn svg { width: 17px; height: 17px; flex: none; }
.stm-btn--primary { background: var(--stm-primary); color: #fff; box-shadow: var(--stm-shadow-btn); }
.stm-btn--primary:hover { background: var(--stm-primary-h); color: #fff; transform: translateY(-2px); box-shadow: var(--stm-shadow-btn-h); }
.stm-btn--soft { background: var(--stm-white); color: var(--stm-ink); border: 1px solid var(--stm-line); box-shadow: var(--stm-shadow-sm); }
.stm-btn--soft:hover { color: var(--stm-ink); transform: translateY(-2px); box-shadow: var(--stm-shadow-md); }
.stm-btn--white { background: #fff; color: var(--stm-navy); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.stm-btn--white:hover { color: var(--stm-navy); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.2); }
.stm-btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.stm-btn--ghost:hover { color: var(--stm-navy); background: #fff; border-color: #fff; transform: translateY(-2px); }
.stm-btn--lg { padding: 17px 34px; font-size: 16.5px; }
.stm-btn--sm { padding: 11px 20px; font-size: 14.5px; }
.stm-btn--block { width: 100%; }
.stm-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stm-link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--stm-font-display); font-weight: 600; font-size: 14.5px; color: var(--stm-primary);
	transition: gap .2s var(--stm-ease);
}
.stm-link-arrow::after { content: '→'; }

/* ---------- 5. Header ---------------------------------------------------- */

.stm-hd {
	position: sticky; top: 0; z-index: 200;
	background: rgba(255,255,255,.88);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}
.stm-hd.is-scrolled { border-bottom-color: var(--stm-line); box-shadow: 0 4px 24px rgba(15,23,41,.05); }
.admin-bar .stm-hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .stm-hd { top: 0; } }
.stm-hd__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--stm-header-h); }
.stm-logo { display: block; flex: none; }
.stm-logo img { height: 46px; width: auto; }
@media (min-width: 1100px) { .stm-logo img { height: 52px; } }

.stm-nav { display: none; }
@media (min-width: 1100px) { .stm-nav { display: block; } }
.stm-nav ul { list-style: none; margin: 0; padding: 0; }
.stm-nav > ul { display: flex; gap: 2px; }
.stm-nav li { position: relative; }
.stm-nav > ul > li > a {
	display: flex; align-items: center; gap: 5px;
	font-family: var(--stm-font-display); font-size: 15px; font-weight: 500; color: var(--stm-body);
	padding: 9px 13px; border-radius: 9px; transition: background-color .2s, color .2s;
}
.stm-nav > ul > li > a:hover,
.stm-nav > ul > li:focus-within > a,
.stm-nav > ul > li.current-menu-item > a,
.stm-nav > ul > li.current-menu-ancestor > a { color: var(--stm-ink); background: var(--stm-bg-soft); }
.stm-nav .menu-item-has-children > a::after {
	content: ''; width: 7px; height: 7px; margin-top: -3px;
	border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.stm-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
	background: #fff; border: 1px solid var(--stm-line); border-radius: var(--stm-r);
	box-shadow: var(--stm-shadow-lg); padding: 8px;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s var(--stm-ease), transform .2s var(--stm-ease), visibility .2s;
}
.stm-nav .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.stm-nav li:hover > .sub-menu, .stm-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.stm-nav .sub-menu a {
	display: block; padding: 9px 12px; border-radius: 9px;
	font-family: var(--stm-font-display); font-size: 14.5px; font-weight: 500; color: var(--stm-body);
}
.stm-nav .sub-menu a:hover { background: var(--stm-tint); color: var(--stm-primary); }
.stm-nav .sub-menu .sub-menu { display: none; }

.stm-hd__actions { display: flex; align-items: center; gap: 12px; }
.stm-hd__phone {
	display: none; align-items: center; gap: 8px;
	font-family: var(--stm-font-display); font-weight: 700; font-size: 15px; color: var(--stm-ink);
}
.stm-hd__phone svg { color: var(--stm-primary); }
.stm-hd__phone:hover { color: var(--stm-primary); }
@media (min-width: 1240px) { .stm-hd__phone { display: inline-flex; } }
.stm-hd__cta { display: none; }
@media (min-width: 560px) { .stm-hd__cta { display: inline-flex; } }

.stm-burger {
	width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--stm-bg-soft); color: var(--stm-ink);
}
.stm-burger:hover { background: var(--stm-tint); }
@media (min-width: 1100px) { .stm-burger { display: none; } }
.stm-burger svg { width: 22px; height: 22px; }

/* Drawer */
.stm-drawer {
	position: fixed; inset: 0; z-index: 400; visibility: hidden; pointer-events: none;
}
.stm-drawer.is-open { visibility: visible; pointer-events: auto; }
.stm-drawer__scrim { position: absolute; inset: 0; background: rgba(14,26,69,.45); opacity: 0; transition: opacity .3s; }
.stm-drawer.is-open .stm-drawer__scrim { opacity: 1; }
.stm-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
	background: #fff; box-shadow: var(--stm-shadow-lg); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .35s var(--stm-ease-out);
}
.stm-drawer.is-open .stm-drawer__panel { transform: none; }
.stm-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--stm-line); }
.stm-drawer__top img { height: 40px; width: auto; }
.stm-drawer__body { flex: 1; overflow-y: auto; padding: 10px 18px 20px; }
.stm-drawer__body ul { list-style: none; margin: 0; padding: 0; }
.stm-drawer__body > ul > li { border-bottom: 1px solid var(--stm-line); }
.stm-drawer__body a { display: block; padding: 13px 4px; font-family: var(--stm-font-display); font-weight: 600; font-size: 16px; color: var(--stm-ink); }
.stm-drawer__body .sub-menu { display: none; padding: 0 0 10px 10px; }
.stm-drawer__body .sub-menu a { font-weight: 500; font-size: 15px; color: var(--stm-body); padding: 8px 4px; }
.stm-drawer__body li.is-open > .sub-menu { display: block; }
.stm-drawer__body .menu-item-has-children { position: relative; }
.stm-drawer__toggle {
	position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center; background: var(--stm-bg-soft);
}
.stm-drawer__toggle::before { content: '+'; font-size: 22px; color: var(--stm-primary); line-height: 1; }
li.is-open > .stm-drawer__toggle::before { content: '–'; }
.stm-drawer__foot { padding: 16px 18px 22px; border-top: 1px solid var(--stm-line); display: grid; gap: 10px; }
body.stm-drawer-open { overflow: hidden; }

/* ---------- 6. Home hero (photo, navy scrim, quote card) ---------------- */

.stm-hero { position: relative; color: rgba(255,255,255,.86); overflow: hidden; background: var(--stm-navy); }
.stm-hero__media { position: absolute; inset: 0; }
.stm-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--stm-focus, 60% 55%); }
.stm-hero__scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(14,26,69,.92) 0%, rgba(14,26,69,.78) 42%, rgba(14,26,69,.25) 100%),
		linear-gradient(0deg, rgba(14,26,69,.55) 0%, rgba(14,26,69,0) 45%);
}
.stm-hero__grid { position: relative; z-index: 2; display: grid; gap: 36px; padding-top: 48px; padding-bottom: 56px; }
@media (min-width: 1024px) {
	.stm-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; min-height: min(760px, calc(100vh - var(--stm-header-h))); }
}
.stm-hero h1 { color: #fff; margin-bottom: 18px; }
.stm-hero h1 .stm-hl { color: #9cc4ec; }
.stm-hero__lede { font-size: 18.5px; line-height: 1.6; max-width: 54ch; margin-bottom: 26px; }
.stm-hero .stm-eyebrow { background: rgba(255,255,255,.12); color: #d6e6f7; }
.stm-hero__ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.stm-hero__ticks li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: #fff; }
.stm-tick {
	width: 20px; height: 20px; border-radius: 50%; flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--stm-tint); color: var(--stm-primary);
}
.stm-tick svg { width: 11px; height: 11px; }
.stm-hero .stm-tick { background: rgba(255,255,255,.16); color: #fff; }

/* Quote card — Divorcenters "quiz" card */
.stm-qcard {
	background: #fff; color: var(--stm-body); border-radius: var(--stm-r-xl);
	box-shadow: var(--stm-shadow-lg); border: 1px solid var(--stm-line); padding: 26px 24px 24px;
}
@media (min-width: 640px) { .stm-qcard { padding: 30px 30px 28px; } }
.stm-qcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.stm-qcard h2 { font-size: 23px; margin: 0; letter-spacing: -.02em; }
.stm-qcard__sub { font-size: 14.5px; color: var(--stm-muted); margin-bottom: 18px; }
.stm-qcard__call { margin-top: 14px; text-align: center; font-size: 14px; color: var(--stm-muted); }
.stm-qcard__call a { font-weight: 700; color: var(--stm-ink); font-family: var(--stm-font-display); }

/* ---------- 7. Inner page hero ------------------------------------------ */

.stm-phero {
	position: relative; overflow: hidden; padding: 36px 0 56px;
	background:
		radial-gradient(900px 500px at 10% -10%, var(--stm-tint) 0%, transparent 60%),
		radial-gradient(760px 460px at 95% 5%, #e9eef8 0%, transparent 62%),
		var(--stm-bg);
}
@media (min-width: 1024px) { .stm-phero { padding: 44px 0 80px; } }
.stm-phero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) {
	.stm-phero--media .stm-phero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}
.stm-phero h1 { margin-bottom: 16px; }
.stm-phero__lede { font-size: 18.5px; line-height: 1.6; max-width: 60ch; margin-bottom: 24px; }
.stm-phero__media { position: relative; }
.stm-phero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--stm-r-xl); box-shadow: var(--stm-shadow-lg); }
.stm-phero__badge {
	position: absolute; left: -14px; bottom: 22px; background: #fff; border-radius: var(--stm-r);
	box-shadow: var(--stm-shadow-md); padding: 12px 16px; display: flex; align-items: center; gap: 11px;
	font-family: var(--stm-font-display); font-size: 14px; font-weight: 600; color: var(--stm-ink);
}
.stm-phero__badge .stm-ic { width: 38px; height: 38px; }
@media (max-width: 1023px) { .stm-phero__badge { left: 12px; } }

.stm-crumbs { margin-bottom: 18px; font-size: 13.5px; color: var(--stm-muted); }
.stm-crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.stm-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.stm-crumbs li + li::before { content: '/'; color: var(--stm-tint-deep); }
.stm-crumbs a { color: var(--stm-muted); }
.stm-crumbs a:hover { color: var(--stm-primary); }
.stm-crumbs [aria-current] { color: var(--stm-ink); font-weight: 500; }

/* ---------- 8. Cards ----------------------------------------------------- */

.stm-card {
	background: #fff; border: 1px solid var(--stm-line); border-radius: var(--stm-r-lg);
	padding: 28px 26px; transition: transform .3s var(--stm-ease), box-shadow .3s var(--stm-ease), border-color .3s var(--stm-ease);
}
.stm-card:hover { transform: translateY(-6px); box-shadow: var(--stm-shadow-md); border-color: var(--stm-tint-deep); }
.stm-card h3 { font-size: 20px; margin-bottom: 8px; }
.stm-card p { font-size: 15.5px; margin-bottom: 0; }
.stm-card:hover .stm-link-arrow { gap: 11px; }

.stm-ic {
	width: 46px; height: 46px; border-radius: 14px; flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--stm-tint); color: var(--stm-primary); margin-bottom: 18px;
}
.stm-ic svg { width: 21px; height: 21px; }

/* Image-top card — fleet, services, child pages */
.stm-mcard {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--stm-line); border-radius: var(--stm-r-lg); overflow: hidden;
	color: inherit; text-decoration: none;
	transition: transform .3s var(--stm-ease), box-shadow .3s var(--stm-ease), border-color .3s var(--stm-ease);
}
.stm-mcard:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--stm-shadow-md); border-color: var(--stm-tint-deep); }
.stm-mcard__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stm-bg-soft); }
.stm-mcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--stm-ease-out); }
.stm-mcard:hover .stm-mcard__img img { transform: scale(1.04); }
.stm-mcard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--stm-tint), #eef2fa); }
.stm-mcard__ph img { width: 42%; height: auto; object-fit: contain; opacity: .55; }
.stm-mcard__tag {
	position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--stm-ink);
	font-family: var(--stm-font-display); font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: var(--stm-r-full);
	box-shadow: var(--stm-shadow-sm);
}
.stm-mcard__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.stm-mcard__body h3 { font-size: 19px; margin: 0; }
.stm-mcard__body p { font-size: 15px; margin: 0; color: var(--stm-body); }
.stm-mcard__body .stm-link-arrow { margin-top: auto; padding-top: 8px; }
.stm-mcard:hover .stm-link-arrow { gap: 11px; }

/* Compact link card — long lists of child pages */
.stm-lcard {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 18px; border-radius: var(--stm-r); border: 1.5px solid var(--stm-line); background: #fff;
	font-family: var(--stm-font-display); font-weight: 600; font-size: 15.5px; color: var(--stm-ink);
	transition: all .22s var(--stm-ease);
}
.stm-lcard::after { content: '→'; color: var(--stm-primary); transition: transform .2s var(--stm-ease); }
.stm-lcard:hover { color: var(--stm-ink); border-color: var(--stm-primary); background: var(--stm-tint); transform: translateX(4px); }

/* ---------- 9. Accreditation strip -------------------------------------- */

.stm-creds { padding: 34px 0; border-top: 1px solid var(--stm-line); border-bottom: 1px solid var(--stm-line); background: var(--stm-bg); }
.stm-creds__lbl {
	text-align: center; font-family: var(--stm-font-display); font-size: 12px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase; color: var(--stm-muted); margin-bottom: 22px;
}
.stm-cred {
	flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
	font-family: var(--stm-font-display); background: #fff; border: 1px solid var(--stm-line); border-radius: 14px;
	transition: border-color .25s var(--stm-ease), box-shadow .25s var(--stm-ease);
}
.stm-cred:hover { border-color: var(--stm-tint-deep); box-shadow: var(--stm-shadow-sm); }
.stm-cred .stm-ic { display: inline-flex; width: 38px; height: 38px; border-radius: 11px; margin: 0; }
.stm-cred .stm-ic svg { width: 18px; height: 18px; }
.stm-cred__txt { display: block; white-space: nowrap; }
.stm-cred__txt b { display: block; font-size: 15px; color: var(--stm-ink); line-height: 1.25; }
.stm-cred__txt small { display: block; font-size: 12.5px; color: var(--stm-muted); font-family: var(--stm-font-body); }

/* Marquee: two identical sets, the track slides one set-width and loops. */
.stm-marquee {
	overflow: hidden; padding: 4px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.stm-marquee__track { display: flex; width: max-content; animation: stm-marquee 38s linear infinite; }
.stm-marquee:hover .stm-marquee__track, .stm-marquee:focus-within .stm-marquee__track { animation-play-state: paused; }
.stm-marquee__set { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 14px 0 0; }
@keyframes stm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.stm-marquee { -webkit-mask-image: none; mask-image: none; }
	.stm-marquee__track { animation: none; width: auto; justify-content: center; }
	.stm-marquee__set { flex-wrap: wrap; justify-content: center; padding: 0 var(--stm-gutter); }
	.stm-marquee__set[aria-hidden] { display: none; }
}

/* Logos: one row, each on its own white tile. */
.stm-logos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.stm-logos__item {
	display: flex; align-items: center; justify-content: center; height: 88px; padding: 14px;
	background: #fff; border: 1px solid var(--stm-line); border-radius: 14px; box-shadow: var(--stm-shadow-sm);
	transition: transform .25s var(--stm-ease), box-shadow .25s var(--stm-ease);
}
.stm-logos__item:hover { transform: translateY(-3px); box-shadow: var(--stm-shadow-md); }
.stm-logos__item img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 767px) {
	/* Still one row on phones: it scrolls sideways with snap. */
	.stm-logos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 2px 2px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.stm-logos::-webkit-scrollbar { display: none; }
	.stm-logos__item { flex: 0 0 132px; height: 76px; scroll-snap-align: start; }
	.stm-logos__item img { max-height: 46px; }
}

/* ---------- 10. Prose (migrated page content) --------------------------- */

.stm-prose { color: var(--stm-body); font-size: 17px; line-height: 1.75; }
.stm-prose > *:first-child { margin-top: 0; }
.stm-prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 1.8em 0 .55em; }
.stm-prose h3 { font-size: clamp(19px, 2vw, 23px); margin: 1.6em 0 .5em; }
.stm-prose h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.stm-prose p, .stm-prose ul, .stm-prose ol { margin: 0 0 1.15em; }
.stm-prose a { text-decoration: underline; text-decoration-color: var(--stm-tint-deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.stm-prose a:hover { text-decoration-color: var(--stm-primary); }
.stm-prose strong { color: var(--stm-ink); }
.stm-prose ul { list-style: none; padding: 0; }
.stm-prose ul li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.stm-prose ul li::before {
	content: ''; position: absolute; left: 0; top: .35em; width: 19px; height: 19px; border-radius: 50%;
	background: var(--stm-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5ea8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.stm-prose ol li { margin-bottom: .55em; padding-left: 4px; }
.stm-prose ol li::marker { color: var(--stm-primary); font-weight: 700; }
.stm-prose img { border-radius: var(--stm-r-lg); margin: 1.6em 0; box-shadow: var(--stm-shadow-sm); }
.stm-prose figure { margin: 1.6em 0; }
.stm-prose figure img { margin: 0; }
.stm-prose figcaption { font-size: 14px; color: var(--stm-muted); margin-top: 10px; }
.stm-prose blockquote {
	margin: 1.6em 0; padding: 22px 26px; border-radius: var(--stm-r); background: var(--stm-bg-soft);
	border-left: 4px solid var(--stm-primary); font-size: 18px; color: var(--stm-ink);
}
.stm-prose blockquote p:last-child { margin: 0; }
.stm-prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15.5px; border: 1px solid var(--stm-line); border-radius: var(--stm-r); overflow: hidden; display: block; overflow-x: auto; }
.stm-prose th, .stm-prose td { padding: 12px 14px; border-bottom: 1px solid var(--stm-line); text-align: left; vertical-align: top; }
.stm-prose th { background: var(--stm-bg-soft); color: var(--stm-ink); font-family: var(--stm-font-display); }
.stm-prose hr { border: 0; height: 1px; background: var(--stm-line); margin: 2.2em 0; }

/* Content column with a sticky aside (quote card / contact) */
.stm-body-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
	.stm-body-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
	.stm-body-grid__aside { position: sticky; top: calc(var(--stm-header-h) + 24px); }
}
.stm-aside-card { background: #fff; border: 1px solid var(--stm-line); border-radius: var(--stm-r-xl); box-shadow: var(--stm-shadow-md); padding: 26px 24px; }
.stm-aside-card h2 { font-size: 21px; margin-bottom: 6px; }
.stm-aside-card p { font-size: 15px; }
.stm-aside-card .stm-btn { width: 100%; margin-top: 8px; }
.stm-aside-card__phone { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; font-family: var(--stm-font-display); font-weight: 800; font-size: 22px; color: var(--stm-ink); }
.stm-aside-card__phone svg { color: var(--stm-primary); }
.stm-aside-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; border-top: 1px solid var(--stm-line); padding-top: 16px; }
.stm-aside-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.stm-aside-list .stm-tick { margin-top: 2px; }

/* ---------- 11. Vehicle chips + gallery --------------------------------- */

.stm-chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.stm-chip {
	display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--stm-line);
	box-shadow: var(--stm-shadow-sm); border-radius: var(--stm-r-full); padding: 9px 16px;
	font-family: var(--stm-font-display); font-size: 14px; font-weight: 600; color: var(--stm-ink);
}
.stm-chip svg { width: 16px; height: 16px; color: var(--stm-primary); }

.stm-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .stm-gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.stm-gallery a { position: relative; display: block; border-radius: var(--stm-r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stm-bg-soft); }
.stm-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--stm-ease-out); }
.stm-gallery a:hover img { transform: scale(1.05); }
.stm-gallery a::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(15,23,41,.06); border-radius: inherit; }

.stm-lightbox {
	position: fixed; inset: 0; z-index: 500; background: rgba(8,14,36,.92);
	display: none; align-items: center; justify-content: center; padding: 56px 16px;
}
.stm-lightbox.is-open { display: flex; }
.stm-lightbox img { max-height: 100%; width: auto; border-radius: var(--stm-r); }
.stm-lightbox button {
	position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1;
}
.stm-lightbox button:hover { background: rgba(255,255,255,.24); }
.stm-lightbox__close { top: 14px; right: 14px; }
.stm-lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.stm-lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- 12. Steps / why-us / stats ---------------------------------- */

.stm-why { display: grid; gap: 14px; }
@media (min-width: 720px) { .stm-why { grid-template-columns: repeat(2, 1fr); } }
.stm-why__item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--stm-line); border-radius: var(--stm-r); padding: 18px 18px; transition: box-shadow .25s; }
.stm-why__item:hover { box-shadow: var(--stm-shadow-sm); }
@media (min-width: 720px) { .stm-why__item:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.stm-why__item .stm-ic { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.stm-why__item b { display: block; font-family: var(--stm-font-display); color: var(--stm-ink); font-size: 16px; margin-bottom: 2px; }
.stm-why__item p { margin: 0; font-size: 14.5px; }

/* ---------- 13. Reviews -------------------------------------------------- */

.stm-tcard { background: #fff; border: 1px solid var(--stm-line); border-radius: var(--stm-r-lg); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; height: 100%; transition: transform .3s var(--stm-ease), box-shadow .3s var(--stm-ease); }
.stm-tcard:hover { transform: translateY(-5px); box-shadow: var(--stm-shadow-md); }
.stm-stars { display: flex; gap: 2px; color: #f2a531; }
.stm-stars svg { width: 17px; height: 17px; }
.stm-tcard blockquote { margin: 0; font-size: 16px; color: var(--stm-ink); line-height: 1.65; }
.stm-tcard__who { display: flex; align-items: center; gap: 11px; margin-top: auto; font-family: var(--stm-font-display); font-weight: 700; font-size: 14.5px; color: var(--stm-ink); }
.stm-av { width: 38px; height: 38px; border-radius: 50%; background: var(--stm-tint); color: var(--stm-primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex: none; }

/* ---------- 14. FAQ ------------------------------------------------------ */

.stm-faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.stm-faq details { background: #fff; border: 1px solid var(--stm-line); border-radius: var(--stm-r); overflow: hidden; transition: box-shadow .25s; }
.stm-faq details:hover, .stm-faq details[open] { box-shadow: var(--stm-shadow-sm); }
.stm-faq summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 19px 22px; font-family: var(--stm-font-display); font-weight: 600; font-size: 16.5px; color: var(--stm-ink);
}
.stm-faq summary::-webkit-details-marker { display: none; }
.stm-faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--stm-primary); transition: transform .3s; flex: none; line-height: 1; }
.stm-faq details[open] summary::after { transform: rotate(45deg); }
.stm-faq__a { padding: 0 22px 20px; font-size: 15.5px; }
.stm-faq__a p:last-child { margin: 0; }

/* ---------- 15. CTA box (Divorcenters gradient, JM navy) ---------------- */

.stm-cta-box {
	position: relative; overflow: hidden; text-align: center; color: rgba(255,255,255,.85);
	background: linear-gradient(135deg, var(--stm-navy) 0%, var(--stm-navy-2) 45%, var(--stm-primary) 100%);
	border-radius: var(--stm-r-xl); padding: 64px 24px; box-shadow: 0 20px 60px rgba(14,26,69,.28);
}
@media (min-width: 768px) { .stm-cta-box { padding: 76px 48px; } }
.stm-cta-box::before, .stm-cta-box::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.stm-cta-box::before { width: 420px; height: 420px; background: rgba(255,255,255,.07); top: -190px; right: -90px; }
.stm-cta-box::after { width: 320px; height: 320px; background: rgba(255,255,255,.05); bottom: -170px; left: -60px; }
.stm-cta-box > * { position: relative; z-index: 1; }
.stm-cta-box h2 { color: #fff; max-width: 680px; margin: 0 auto 14px; }
.stm-cta-box p { font-size: 18px; max-width: 600px; margin: 0 auto 28px; }
.stm-cta-box .stm-actions { justify-content: center; }
.stm-cta-box__alt { margin-top: 18px !important; font-size: 14.5px !important; }
.stm-cta-box__alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 16. Forms ---------------------------------------------------- */

.stm-cf__grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .stm-cf__grid { grid-template-columns: 1fr 1fr; } }
.stm-cf__field { display: flex; flex-direction: column; gap: 6px; }
.stm-cf__field--full { grid-column: 1 / -1; }
.stm-cf label, .stm-cf__label { font-family: var(--stm-font-display); font-size: 13.5px; font-weight: 600; color: var(--stm-ink); }
.stm-cf input[type=text], .stm-cf input[type=email], .stm-cf input[type=tel], .stm-cf input[type=date],
.stm-cf input[type=time], .stm-cf input[type=datetime-local], .stm-cf input[type=number], .stm-cf select, .stm-cf textarea {
	width: 100%; font: inherit; font-size: 15.5px; color: var(--stm-ink);
	background: #fff; border: 1.5px solid var(--stm-line); border-radius: 12px; padding: 12px 14px;
	transition: border-color .2s, box-shadow .2s;
}
.stm-cf textarea { min-height: 120px; resize: vertical; }
.stm-cf input:focus, .stm-cf select:focus, .stm-cf textarea:focus { outline: none; border-color: var(--stm-primary); box-shadow: 0 0 0 4px var(--stm-tint); }
.stm-cf__hp { position: absolute !important; left: -9999px !important; }
.stm-cf__submit { margin-top: 6px; }
.stm-cf__submit .stm-btn { width: 100%; }
.stm-cf__note { font-size: 13px; color: var(--stm-muted); margin: 10px 0 0; }
.stm-cf__note a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.stm-cf__msg { display: none; margin-top: 12px; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.stm-cf__msg.is-ok { display: block; background: #e8f6ef; color: var(--stm-success); }
.stm-cf__msg.is-err { display: block; background: #fdecea; color: var(--stm-error); }
.stm-cf.is-sent .stm-cf__grid, .stm-cf.is-sent .stm-cf__submit, .stm-cf.is-sent .stm-cf__note { display: none; }

/* ---------- 17. Contact blocks ------------------------------------------ */

.stm-contact-cards { display: grid; gap: 14px; margin-bottom: 28px; }
.stm-contact-card { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--stm-line); border-radius: var(--stm-r); transition: all .25s var(--stm-ease); color: inherit; }
a.stm-contact-card:hover { color: inherit; border-color: var(--stm-tint-deep); box-shadow: var(--stm-shadow-sm); transform: translateY(-2px); }
.stm-contact-card .stm-ic { margin: 0; }
.stm-contact-card small { display: block; font-size: 12.5px; color: var(--stm-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stm-contact-card b { display: block; font-family: var(--stm-font-display); font-size: 17px; color: var(--stm-ink); }

/* ---------- 18. Blog ----------------------------------------------------- */

.stm-pcard__meta { font-size: 13px; color: var(--stm-muted); font-family: var(--stm-font-display); font-weight: 600; }
.stm-pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.stm-pager a, .stm-pager span { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 12px; border: 1px solid var(--stm-line); background: #fff; font-family: var(--stm-font-display); font-weight: 600; color: var(--stm-ink); }
.stm-pager .current { background: var(--stm-primary); border-color: var(--stm-primary); color: #fff; }
.stm-pager a:hover { border-color: var(--stm-primary); color: var(--stm-primary); }
.stm-post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--stm-muted); margin-bottom: 8px; }

/* ---------- 19. Footer --------------------------------------------------- */

.stm-ft { background: var(--stm-navy); color: rgba(255,255,255,.72); font-size: 15px; }
.stm-ft a { color: rgba(255,255,255,.72); }
.stm-ft a:hover { color: #fff; }
.stm-ft__main { display: grid; gap: 36px; padding-top: 64px; padding-bottom: 44px; }
@media (min-width: 800px) { .stm-ft__main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .stm-ft__main { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; } }
.stm-ft__logo { display: inline-block; background: #fff; border-radius: var(--stm-r); padding: 12px 16px; margin-bottom: 18px; }
.stm-ft__logo img { height: 44px; width: auto; }
.stm-ft__brand p { max-width: 36ch; }
.stm-ft__contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.stm-ft__contact li { display: flex; gap: 10px; align-items: flex-start; }
.stm-ft__contact svg { width: 16px; height: 16px; margin-top: 4px; color: #9cc4ec; flex: none; }
.stm-ft__col h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 700; }
.stm-ft__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.stm-ft__col a { display: inline-block; transition: color .2s, transform .2s; }
.stm-ft__col a:hover { transform: translateX(3px); }
.stm-ft__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; font-size: 13.5px; }
.stm-ft__bottom-in { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.stm-ft__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 799px) { .stm-ft { padding-bottom: 76px; } }

/* Mobile action bar */
.stm-mbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--stm-line);
	box-shadow: 0 -6px 24px rgba(15,23,41,.06);
}
.stm-mbar .stm-btn { padding: 13px 12px; font-size: 15px; }
@media (min-width: 800px) { .stm-mbar { display: none; } }

/* ---------- 20. 404 / search -------------------------------------------- */

.stm-404 { text-align: center; max-width: 640px; margin: 0 auto; }
.stm-404 .stm-num { font-family: var(--stm-font-display); font-weight: 800; font-size: clamp(80px, 14vw, 140px); line-height: 1; color: var(--stm-tint-deep); letter-spacing: -.05em; }
.stm-search { display: flex; gap: 10px; margin: 24px auto 0; max-width: 520px; }
.stm-search input { flex: 1; font: inherit; padding: 13px 16px; border: 1.5px solid var(--stm-line); border-radius: var(--stm-r-full); }
.stm-search input:focus { outline: none; border-color: var(--stm-primary); box-shadow: 0 0 0 4px var(--stm-tint); }

/* ---------- 21. Reveal (fail-safe: hides only once JS marks the doc) ---- */

/* Movement only, never opacity: a half-faded card fails contrast checks and
   can read as missing content to a screen reader user mid-animation. */
.stm-js .stm-rv { transform: translateY(22px); transition: transform .7s var(--stm-ease-out), box-shadow .3s var(--stm-ease), border-color .3s var(--stm-ease); }
.stm-js .stm-rv.is-in { transform: none; }
.stm-js .stm-rv.is-in:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.stm-js .stm-rv { transform: none; }
}

/* ---------- 22. Cookie notice (component) ------------------------------- */

.stm-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 460px; background: #fff; border: 1px solid var(--stm-line); border-radius: var(--stm-r); box-shadow: var(--stm-shadow-lg); padding: 18px 20px; font-size: 14.5px; }
@media (max-width: 799px) { .stm-cookie { bottom: 84px; } }

/* ---------- 23. WordPress core alignment classes ------------------------ */

.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
@media (max-width: 640px) { .alignleft, .alignright { float: none; margin: 1em 0; } }

.stm-cta-box .stm-eyebrow { background: rgba(255,255,255,.12); color: #d6e6f7; }
.stm-sec--flush-top { padding-top: 0; }
.stm-prose--after { margin-top: 48px; }
.stm-form-card { padding: 30px 28px; }
.stm-form-card h2 { font-size: 24px; }

/* ---------- 24. Home specifics ------------------------------------------ */

.stm-ic--flat { margin: 0; }
.stm-actions--mt { margin-top: 8px; }
.stm-actions--center { justify-content: center; }
a.stm-card { display: block; color: inherit; }
a.stm-card:hover { color: inherit; }
.stm-home-more { max-width: 760px; margin: 40px auto 24px; text-align: center; }
.stm-home-book { max-width: var(--stm-wrap-narrow); margin: 48px auto 0; }

.stm-price { display: flex; flex-direction: column; gap: 6px; }
.stm-price h3 { margin: 0; }
.stm-card .stm-price__amt { font-family: var(--stm-font-display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; color: var(--stm-ink); margin: 6px 0 10px !important; line-height: 1.1; }
.stm-card .stm-price__amt small { font-size: 15px; font-weight: 600; color: var(--stm-muted); letter-spacing: 0; }

.stm-sec--navy .stm-why__item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.stm-sec--navy .stm-why__item:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.stm-sec--navy .stm-why__item b { color: #fff; }
.stm-sec--navy .stm-why__item p { color: rgba(255,255,255,.66); }
.stm-sec--navy .stm-why__item .stm-ic { background: rgba(156,196,236,.14); color: #9cc4ec; }
.stm-sec--navy p { color: rgba(255,255,255,.78); }

.stm-hero .stm-btn--ghost:hover { color: var(--stm-navy); }
.stm-qcard .stm-cf__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.stm-qcard .stm-cf input, .stm-qcard .stm-cf select { padding: 11px 12px; font-size: 15px; }
.stm-qcard .stm-cf__note { text-align: center; }
@media (max-width: 380px) { .stm-qcard .stm-cf__grid { grid-template-columns: 1fr; } }
.stm-post-hero img { border-radius: var(--stm-r-xl); box-shadow: var(--stm-shadow-md); margin-bottom: 36px; width: 100%; }
.stm-phero .stm-search { margin-left: 0; }
.stm-cf__radios { display: grid; gap: 10px; }
@media (min-width: 560px) { .stm-cf__radios { grid-template-columns: 1fr 1fr; } }
.stm-cf__radio { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1.5px solid var(--stm-line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--stm-ink); transition: border-color .2s, background-color .2s; }
.stm-cf__radio:hover { border-color: var(--stm-primary); }
.stm-cf__radio:has(input:checked) { border-color: var(--stm-primary); background: var(--stm-tint); }
.stm-cf__radio input { accent-color: var(--stm-primary); width: 18px; height: 18px; }
.stm-cf__paypal { margin-top: 12px; }
.stm-sitemap ul ul { margin: .4em 0 .6em; }
.stm-prose h5 { font-size: 16px; margin: 1.2em 0 .4em; text-transform: none; }
.stm-btn-row { margin: 0 0 12px !important; display: inline-block; margin-right: 10px !important; }
.stm-prose .stm-btn-row a { text-decoration: none; color: var(--stm-ink); }
.stm-prose .stm-btn-row a:hover { color: var(--stm-ink); }

/* Use-case cards: two across on phones, compact. */
@media (max-width: 639px) {
	.stm-grid--uses { grid-template-columns: 1fr 1fr; gap: 12px; }
	.stm-grid--uses .stm-card { padding: 18px 16px; }
	.stm-grid--uses .stm-card h3 { font-size: 16px; }
	.stm-grid--uses .stm-ic { width: 40px; height: 40px; margin-bottom: 12px; }
}

/* Paired CTAs sit side by side on phones — never stacked. */
@media (max-width: 559px) {
	.stm-hero .stm-actions, .stm-phero .stm-actions, .stm-cta-box .stm-actions { flex-wrap: nowrap; gap: 10px; }
	.stm-hero .stm-actions .stm-btn, .stm-phero .stm-actions .stm-btn, .stm-cta-box .stm-actions .stm-btn { flex: 1 1 0; min-width: 0; padding: 14px 10px; font-size: 14.5px; }
	.stm-phero .stm-actions .stm-btn svg { display: none; }
}

/* ---------- 25. Inner-page hero (JM Lux composition, dark, 60vh) ------- */

.stm-dhero {
	position: relative; overflow: hidden; background: var(--stm-navy); color: rgba(255,255,255,.86);
	min-height: 60vh; min-height: 60svh; display: flex; align-items: center;
}
.stm-dhero__media { position: absolute; inset: 0; }
.stm-dhero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--stm-focus, 50% 55%); }
.stm-dhero__scrim {
	position: absolute; inset: 0;
	background:
		radial-gradient(1000px 480px at 50% 50%, rgba(6,9,20,.42) 0%, rgba(6,9,20,.62) 75%),
		linear-gradient(180deg, rgba(6,9,20,.5) 0%, rgba(6,9,20,.18) 38%, rgba(10,18,48,.72) 100%);
}
.stm-dhero__in { position: relative; z-index: 2; text-align: center; padding-top: 56px; padding-bottom: 64px; width: 100%; }
.stm-dhero h1 { color: #fff; max-width: 920px; margin: 0 auto 16px; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.stm-dhero__eyebrow {
	font-family: var(--stm-font-display); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: #bcd5f0; margin: 0 0 14px;
}
.stm-dhero__meta { font-size: 14px; color: rgba(255,255,255,.75); margin: 0 0 10px; }
.stm-dhero__lede { font-size: 18px; line-height: 1.6; max-width: 680px; margin: 0 auto 26px; color: rgba(255,255,255,.86); }
.stm-dhero .stm-actions { justify-content: center; }
.stm-dhero .stm-crumbs { margin: 0 0 22px; display: flex; justify-content: center; color: rgba(255,255,255,.7); }
.stm-dhero .stm-crumbs a { color: rgba(255,255,255,.75); }
.stm-dhero .stm-crumbs a:hover { color: #fff; }
.stm-dhero .stm-crumbs [aria-current] { color: #fff; }
.stm-dhero .stm-crumbs li + li::before { color: rgba(255,255,255,.4); }
.stm-chips--dark { justify-content: center; }
.stm-chips--dark .stm-chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stm-chips--dark .stm-chip svg { color: #9cc4ec; }
.stm-dhero .stm-search { margin: 18px auto 0; }
@media (max-width: 559px) {
	.stm-dhero .stm-actions { flex-wrap: nowrap; gap: 10px; }
	.stm-dhero .stm-actions .stm-btn { flex: 1 1 0; min-width: 0; padding: 14px 10px; font-size: 14.5px; }
	.stm-dhero .stm-actions .stm-btn svg { display: none; }
	.stm-dhero__lede { font-size: 16.5px; }
}

/* Grids sized by item count (stm_grid_cols). */
.stm-grid--1 { max-width: 460px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .stm-grid--1 { grid-template-columns: 1fr; } }

/* Long dropdowns (Fleet, Local Trips) split into two columns. */
@media (min-width: 1100px) {
	.stm-nav .sub-menu:has(> li:nth-child(9)) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4px; min-width: 600px; }
	.stm-nav > ul > li:nth-last-child(-n+3) > .sub-menu { left: auto; right: 0; }
}

/* ---------- 26. Phones/tablets: JM Lux stacked hero + quote popup ------- */

.stm-qcard__close { display: none; }
@media (max-width: 1023px) {
	/* Home: the photo shown clean on top, fading into the navy panel. */
	.stm-hero__media { position: relative; inset: auto; height: clamp(240px, 48vh, 460px); }
	.stm-hero__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(14,26,69,0) 0%, rgba(14,26,69,.65) 55%, var(--stm-navy) 100%); }
	.stm-hero__scrim { display: none; }
	.stm-hero__grid { padding-top: 0; margin-top: -48px; padding-bottom: 48px; text-align: center; }
	.stm-hero .stm-eyebrow { margin-bottom: 14px; }
	.stm-hero__lede { margin-left: auto; margin-right: auto; font-size: 17px; }
	.stm-hero .stm-actions { justify-content: center; }
	.stm-hero__ticks { justify-content: center; }

	/* The quote card becomes a popup. */
	.stm-qwrap { position: fixed; inset: 0; z-index: 450; display: flex; align-items: flex-end; justify-content: center; padding: 0; visibility: hidden; pointer-events: none; }
	.stm-qwrap.is-open { visibility: visible; pointer-events: auto; }
	.stm-qwrap__scrim { position: absolute; inset: 0; background: rgba(8,14,36,.6); opacity: 0; transition: opacity .3s var(--stm-ease); }
	.stm-qwrap.is-open .stm-qwrap__scrim { opacity: 1; }
	.stm-qwrap .stm-qcard {
		position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
		border-radius: var(--stm-r-xl) var(--stm-r-xl) 0 0; text-align: left;
		padding-bottom: calc(24px + env(safe-area-inset-bottom));
		transform: translateY(100%); transition: transform .38s var(--stm-ease-out);
	}
	.stm-qwrap.is-open .stm-qcard { transform: none; }
	.stm-qcard__icon { display: none !important; }
	.stm-qcard__close { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: var(--stm-bg-soft); color: var(--stm-ink); flex: none; }
	.stm-qcard__close:hover { background: var(--stm-tint); }
	body.stm-qmodal-open { overflow: hidden; }
	body.stm-qmodal-open .stm-mbar { visibility: hidden; }
}
@media (min-width: 640px) and (max-width: 1023px) {
	.stm-qwrap { align-items: center; padding: 24px; }
	.stm-qwrap .stm-qcard { border-radius: var(--stm-r-xl); transform: translateY(24px); opacity: 0; transition: transform .3s var(--stm-ease-out), opacity .3s; }
	.stm-qwrap.is-open .stm-qcard { opacity: 1; }
}

/* Inner pages on phones: same idea — photo on top, text on the dark panel. */
@media (max-width: 767px) {
	.stm-dhero { display: block; min-height: 0; }
	.stm-dhero__media { position: relative; inset: auto; height: clamp(220px, 40vh, 380px); }
	.stm-dhero__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(14,26,69,0) 0%, rgba(14,26,69,.6) 55%, var(--stm-navy) 100%); }
	.stm-dhero__scrim { display: none; }
	.stm-dhero__in { margin-top: -40px; padding-top: 0; padding-bottom: 44px; }
}

/* Eyebrow wins over container paragraph rules (.stm-sec-head p, .stm-cta-box p
   reset margin + font-size, which glued the pill to the heading). */
.stm-sec-head .stm-eyebrow, .stm-cta-box .stm-eyebrow, .stm-split .stm-eyebrow {
	font-size: 13px; margin: 0 0 18px; max-width: none;
}
.stm-sec-head .stm-eyebrow + h2 { margin-top: 0; }

/* Homepage "where you need to go" photo cards. */
.stm-ucard__ic {
	position: absolute; left: 14px; bottom: -20px; z-index: 2; width: 44px; height: 44px; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	background: #fff; color: var(--stm-primary); box-shadow: var(--stm-shadow-md);
}
.stm-ucard .stm-mcard__img { overflow: visible; }
.stm-ucard .stm-mcard__img img { border-radius: var(--stm-r-lg) var(--stm-r-lg) 0 0; }
.stm-ucard .stm-mcard__img { border-radius: var(--stm-r-lg) var(--stm-r-lg) 0 0; }
.stm-ucard .stm-mcard__body { padding-top: 32px; }
@media (max-width: 639px) {
	.stm-grid--uses { grid-template-columns: 1fr 1fr; gap: 12px; }
	.stm-grid--uses .stm-mcard__body { padding: 28px 14px 16px; gap: 4px; }
	.stm-grid--uses .stm-mcard__body h3 { font-size: 15.5px; }
	.stm-grid--uses .stm-ucard__ic { width: 36px; height: 36px; border-radius: 11px; left: 10px; bottom: -16px; }
	.stm-grid--uses .stm-link-arrow { font-size: 13.5px; }
}

/* Current page inside a dropdown / the mobile menu. */
.stm-nav .sub-menu .current-menu-item > a,
.stm-nav .sub-menu a[aria-current="page"] {
	background: var(--stm-tint); color: var(--stm-primary); font-weight: 600;
	box-shadow: inset 3px 0 0 var(--stm-primary);
}
.stm-drawer__body .current-menu-item > a,
.stm-drawer__body a[aria-current="page"] { color: var(--stm-primary); font-weight: 700; }
.stm-drawer__body .sub-menu .current-menu-item > a { background: var(--stm-tint); border-radius: 10px; padding-left: 12px; box-shadow: inset 3px 0 0 var(--stm-primary); }
.stm-drawer__body > ul > .current-menu-ancestor > a { color: var(--stm-primary); }

/* ---------- 27. Form popups (quote / booking) --------------------------- */

.stm-fmodal { position: fixed; inset: 0; z-index: 470; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; pointer-events: none; }
.stm-fmodal.is-open { visibility: visible; pointer-events: auto; }
.stm-fmodal__scrim { position: absolute; inset: 0; background: rgba(8,14,36,.62); opacity: 0; transition: opacity .3s var(--stm-ease); }
.stm-fmodal.is-open .stm-fmodal__scrim { opacity: 1; }
.stm-fmodal__card {
	position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border-radius: var(--stm-r-xl); box-shadow: var(--stm-shadow-lg); padding: 28px 30px 30px;
	opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .3s var(--stm-ease), transform .35s var(--stm-ease-out);
}
.stm-fmodal.is-open .stm-fmodal__card { opacity: 1; transform: none; }
.stm-fmodal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.stm-fmodal__head h2 { font-size: 24px; margin: 0; }
.stm-fmodal__close { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--stm-bg-soft); color: var(--stm-ink); flex: none; }
.stm-fmodal__close:hover { background: var(--stm-tint); }
.stm-fmodal__sub { font-size: 14.5px; color: var(--stm-muted); margin: 0 0 18px; }
body.stm-fmodal-open { overflow: hidden; }
body.stm-fmodal-open .stm-mbar { visibility: hidden; }
@media (max-width: 639px) {
	.stm-fmodal { align-items: flex-end; padding: 0; }
	.stm-fmodal__card {
		max-width: none; max-height: 92vh; border-radius: var(--stm-r-xl) var(--stm-r-xl) 0 0;
		padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
		opacity: 1; transform: translateY(100%); transition: transform .38s var(--stm-ease-out);
	}
	.stm-fmodal.is-open .stm-fmodal__card { transform: none; }
	.stm-fmodal__head h2 { font-size: 21px; }
}
