/*
Theme Name:   John's Motor Trimmers 1.6.7
Theme URI:    https://www.johnsmotortrimmers.com.au/
Description:  Lightweight child theme of Hello Elementor for John's Motor Trimmers, Welshpool WA. Colours and type follow the JMT Style Guide 2023.
Author:       Triple IT
Template:     hello-elementor
Version:      1.6.7
Requires at least: 6.4
Requires PHP: 7.4
Text Domain:  jmt-child
*/

/*
 * Bundled fonts (SIL Open Font License, see assets/fonts/LICENSE.txt).
 * Questrial is the closest Google Font to Century Gothic; Quattrocento Sans
 * is the closest with a bold weight to Optima. Latin subsets only.
 */
@font-face {
	font-family: "JMT Body";
	src: url("assets/fonts/questrial-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "JMT Heading";
	src: url("assets/fonts/quattrocento-sans-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "JMT Heading";
	src: url("assets/fonts/quattrocento-sans-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/*
 * Brand tokens from the JMT Style Guide 2023.
 * Mirror the colours in Elementor > Site Settings > Global Colors:
 *   Primary   JMT Blue          #001A70  (PMS 2748 C)
 *   Secondary JMT Silver Metalic #8C9092  (PMS 877 C)
 *   Text      Black             #000000  (PMS Black C)
 *   Accent    White             #FFFFFF
 */
:root {
	--jmt-blue:    #001a70;
	--jmt-blue-d:  #00114a; /* hover state for blue buttons */
	--jmt-silver:  #8c9092;
	--jmt-black:   #000000;
	--jmt-white:   #ffffff;
	--jmt-grey-bg: #edf0f7; /* pale blue-grey panel, a light tint of JMT Blue */
	--jmt-text:    #1f2023;
	--jmt-muted:   #484c4f; /* silver darkened for readable small text on white */
	--jmt-radius:  4px;

	/*
	 * Typefaces. The style guide specifies Optima (primary) and Century Gothic
	 * (secondary). Both are licensed fonts, so they can't be bundled. The stacks
	 * use the real fonts wherever the visitor's device already has them (Optima
	 * ships with macOS/iOS, Century Gothic with Windows + Office) and otherwise
	 * the bundled open-source look-alikes above: Quattrocento Sans for Optima,
	 * Questrial for Century Gothic.
	 */
	--jmt-font-head: Optima, "Optima Nova", "JMT Heading", "Segoe UI", sans-serif;
	--jmt-font-body: "Century Gothic", CenturyGothic, "JMT Body", "Segoe UI", sans-serif;
}

/* Point Elementor's global fonts at the brand stacks. body[class*=…] beats the kit's own selector. */
body[class*="elementor-kit-"] {
	--e-global-typography-primary-font-family:   var(--jmt-font-head);
	--e-global-typography-secondary-font-family: var(--jmt-font-head);
	--e-global-typography-text-font-family:      var(--jmt-font-body);
	--e-global-typography-accent-font-family:    var(--jmt-font-body);
}

/* One step up from the browser default so body text is easy to read. */
html { font-size: 112.5%; }
@media (max-width: 600px) { html { font-size: 106.25%; } }

body {
	color: var(--jmt-text);
	font-family: var(--jmt-font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	/* Questrial has one weight; never fake a bold or italic from it. */
	font-synthesis-weight: none;
}

/* Bold text uses the heading face (Optima Bold in the style guide). */
strong, b, th {
	font-family: var(--jmt-font-head);
	font-weight: 700;
}


h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
	font-family: var(--jmt-font-head);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
}
/* A bold phrase inside a heading ("Done {Properly.}") is the brand's Optima Bold. */
h1 strong, h2 strong, h3 strong,
.elementor-heading-title strong { font-weight: 700; }
.elementor-widget-heading h1.elementor-heading-title { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.elementor-widget-heading h2.elementor-heading-title { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
.elementor-widget-heading h3.elementor-heading-title { font-size: 1.2rem; }

a {
	color: var(--jmt-blue);
}
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Visible keyboard focus on everything clickable */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--jmt-blue);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--jmt-white);
}

.jmt-wrap {
	max-width: 1248px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.jmt-btn,
.elementor .jmt-btn-w .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border: 2px solid var(--jmt-blue);
	border-radius: var(--jmt-radius);
	background: var(--jmt-blue);
	color: var(--jmt-white);
	font-family: var(--jmt-font-head);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .02em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.jmt-btn:hover,
.jmt-btn:focus-visible,
.elementor .jmt-btn-w .elementor-button:hover,
.elementor .jmt-btn-w .elementor-button:focus-visible {
	background: var(--jmt-blue-d);
	border-color: var(--jmt-blue-d);
	color: var(--jmt-white);
}
.jmt-btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* White outline, for photos and dark bands */
.elementor .jmt-btn-w--outline .elementor-button {
	background: transparent;
	border-color: var(--jmt-white);
	color: var(--jmt-white);
}
.elementor .jmt-btn-w--outline .elementor-button:hover {
	background: var(--jmt-white);
	border-color: var(--jmt-white);
	color: var(--jmt-blue);
}
/* Solid white, on blue */
.elementor .jmt-btn-w--white .elementor-button {
	background: var(--jmt-white);
	border-color: var(--jmt-white);
	color: var(--jmt-blue);
}
.elementor .jmt-btn-w--white .elementor-button:hover {
	background: var(--jmt-grey-bg);
	border-color: var(--jmt-grey-bg);
	color: var(--jmt-blue);
}
/* Blue outline, on white */
.elementor .jmt-btn-w--ghost .elementor-button {
	background: transparent;
	color: var(--jmt-blue);
	padding: 11px 20px;
	font-size: .95rem;
}
.elementor .jmt-btn-w--ghost .elementor-button:hover {
	background: var(--jmt-blue);
	color: var(--jmt-white);
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.jmt-topbar {
	background: var(--jmt-blue);
	color: var(--jmt-white);
	font-size: 17px;
	line-height: 1.35; /* keeps the bar the same height as before; only the text is bigger */
	letter-spacing: .02em;
}
.jmt-topbar .jmt-wrap {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 8px;
	padding-bottom: 8px;
}
.jmt-topbar a {
	color: var(--jmt-white);
	font-family: var(--jmt-font-head);
	font-size: 1.08em;
	font-weight: 700;
	text-decoration: none;
}

.jmt-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--jmt-white);
	border-bottom: 1px solid #e2e3e4;
}
body.admin-bar .jmt-header { top: 32px; }
.jmt-header .jmt-wrap {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 108px;
	transition: min-height .2s ease;
}
.jmt-logo { display: block; line-height: 0; }
.jmt-logo img { height: 76px; width: auto; transition: height .2s ease; }
/* Once the page scrolls, the header tightens so it doesn't eat the screen. */
.jmt-header.is-compact .jmt-wrap { min-height: 72px; }
.jmt-header.is-compact .jmt-logo img { height: 52px; }

.jmt-nav {
	display: flex;
	align-items: center;
	gap: 32px;
	margin-left: auto;
}
.jmt-menu {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.jmt-menu a {
	position: relative;
	display: block;
	padding: 8px 0;
	color: var(--jmt-black);
	font-family: var(--jmt-font-head);
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
}
.jmt-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--jmt-blue);
	transform: scaleX(0);
	transition: transform .2s;
}
.jmt-menu a:hover,
.jmt-menu .current-menu-item > a { color: var(--jmt-blue); }
.jmt-menu a:hover::after,
.jmt-menu .current-menu-item > a::after { transform: scaleX(1); }

.jmt-nav-toggle { display: none; }

@media (max-width: 1024px) {
	.jmt-header .jmt-wrap { min-height: 84px; }
	.jmt-logo img { height: 56px; }
	.jmt-header.is-compact .jmt-wrap { min-height: 64px; }
	.jmt-header.is-compact .jmt-logo img { height: 44px; }
	.jmt-nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		margin-left: auto;
		padding: 10px 14px;
		border: 2px solid var(--jmt-blue);
		border-radius: var(--jmt-radius);
		background: var(--jmt-white);
		color: var(--jmt-blue);
		font-family: var(--jmt-font-head);
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: .06em;
		cursor: pointer;
	}
	.jmt-nav-toggle:hover,
	.jmt-nav-toggle:focus { background: var(--jmt-white); color: var(--jmt-blue); }
	.jmt-nav-toggle__bars,
	.jmt-nav-toggle__bars::before,
	.jmt-nav-toggle__bars::after {
		display: block;
		width: 18px;
		height: 2px;
		background: currentColor;
		transition: transform .2s, opacity .2s;
	}
	.jmt-nav-toggle__bars { position: relative; }
	.jmt-nav-toggle__bars::before,
	.jmt-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.jmt-nav-toggle__bars::before { top: -6px; }
	.jmt-nav-toggle__bars::after { top: 6px; }
	.jmt-nav-open .jmt-nav-toggle__bars { background: transparent; }
	.jmt-nav-open .jmt-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.jmt-nav-open .jmt-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.jmt-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 24px 24px;
		background: var(--jmt-white);
		border-bottom: 1px solid #e2e3e4;
		box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
	}
	.jmt-nav-open .jmt-nav { display: flex; }
	.jmt-menu { flex-direction: column; gap: 0; }
	.jmt-menu a { padding: 14px 0; border-bottom: 1px solid #ececec; font-size: 1.05rem; }
	.jmt-menu a::after { display: none; }
	.jmt-header__cta { margin-top: 16px; }
}
@media (max-width: 782px) {
	body.admin-bar .jmt-header { top: 0; }
}
@media (max-width: 767px) {
	.jmt-topbar { display: none; }
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.jmt-footer {
	background: var(--jmt-black);
	color: #d3d6d8;
	font-size: 1rem;
	line-height: 1.6;
}
.jmt-footer a { color: var(--jmt-white); text-decoration: none; }
.jmt-footer a:hover,
.jmt-footer a:focus-visible { text-decoration: underline; }
.jmt-footer p { margin: 0 0 14px; }
.jmt-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr .8fr 1.4fr 1.1fr;
	gap: 48px;
	padding-top: 72px;
	padding-bottom: 56px;
}
.jmt-footer__brand img { display: block; width: 200px; height: auto; margin-bottom: 20px; }
.jmt-footer__tag { max-width: 30ch; margin-bottom: 24px !important; }
/* The blue button disappears on black, so the footer one is white. */
.jmt-footer .jmt-btn { background: var(--jmt-white); border-color: var(--jmt-white); color: var(--jmt-blue); }
.jmt-footer .jmt-btn:hover,
.jmt-footer .jmt-btn:focus-visible { background: var(--jmt-grey-bg); border-color: var(--jmt-grey-bg); color: var(--jmt-blue); text-decoration: none; }
.jmt-footer__title {
	margin: 0 0 18px;
	color: var(--jmt-silver);
	font-size: .9rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.jmt-footer__title--gap { margin-top: 32px; }
.jmt-footer__menu { margin: 0; padding: 0; list-style: none; }
.jmt-footer__menu li { margin: 0; }
.jmt-footer__menu a { display: inline-block; padding: 5px 0; font-size: 1.05rem; }
.jmt-footer strong { display: block; color: var(--jmt-white); font-family: var(--jmt-font-head); font-size: 1.05rem; }
.jmt-footer__place { margin-bottom: 20px !important; }
.jmt-footer__phone,
.jmt-footer__phone a { font-family: var(--jmt-font-head); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.jmt-footer__base { border-top: 1px solid #2a2c2e; font-size: .95rem; }
.jmt-footer__base .jmt-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.jmt-footer__base p { margin: 0; padding: 20px 0; }
@media (max-width: 1024px) {
	.jmt-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
	.jmt-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 52px; }
	.jmt-footer__base .jmt-wrap { display: block; }
	.jmt-footer__base p { padding: 8px 0; }
	.jmt-footer__base p:first-child { padding-top: 20px; }
	.jmt-footer__base p:last-child { padding-bottom: 20px; }
}

/* ------------------------------------------------------------------ */
/* Page building blocks (Elementor containers carry these classes)     */
/* ------------------------------------------------------------------ */

.jmt-eyebrow p,
.jmt-label p {
	margin: 0;
	font-family: var(--jmt-font-head);
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.jmt-eyebrow { color: #c9cccd; }
.jmt-label { color: var(--jmt-blue); }
.elementor .jmt-label p::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	margin-right: 10px;
	vertical-align: middle;
	background: var(--jmt-silver);
}
.jmt-intro--center .jmt-label p::before { display: none; }

.jmt-lead { font-size: 1.1rem; line-height: 1.6; }
.jmt-lead--dark { color: var(--jmt-muted); }

/* Hero */
.jmt-hero > .e-con-inner > * { max-width: 700px; }
.jmt-hero .elementor-widget-heading h1.elementor-heading-title { text-wrap: balance; }
.jmt-hero.jmt-hero--tall .elementor-widget-heading h1.elementor-heading-title { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.jmt-btn-row { margin-top: 12px; }

/* Plain page header */
.jmt-pagehead .jmt-eyebrow { color: var(--jmt-silver); }
.jmt-pagehead > .e-con-inner > * { max-width: 760px; }

/* Section intro */
.elementor .jmt-intro.e-con { --gap: 10px; gap: 10px; max-width: 760px; }
.elementor .jmt-intro--center.e-con {
	--margin-inline-start: auto;
	--margin-inline-end: auto;
	margin-inline: auto;
	text-align: center;
}

/* Trust strip */
.jmt-trust .elementor-widget-text-editor { color: #d3d6d8; font-size: 1rem; line-height: 1.4; }
.jmt-trust strong {
	display: block;
	color: var(--jmt-white);
	font-family: var(--jmt-font-head);
	font-size: 1.15rem;
}
.jmt-trust .jmt-grid > * { padding-left: 16px; border-left: 2px solid var(--jmt-silver); }

/* Grids */
.elementor .jmt-grid.e-con {
	--display: grid;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.elementor .jmt-grid--2.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.elementor .jmt-grid--4.e-con { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.elementor .jmt-grid.e-con > * { --width: auto; width: auto; min-width: 0; margin: 0; }
@media (max-width: 1024px) {
	.elementor .jmt-grid.e-con,
	.elementor .jmt-grid--4.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.elementor .jmt-grid.e-con,
	.elementor .jmt-grid--2.e-con,
	.elementor .jmt-grid--4.e-con { grid-template-columns: 1fr; gap: 18px; }
}

/* Cards: photo, light title, short text, arrow link, blue edge underneath */
.elementor .jmt-card.e-con {
	--gap: 0;
	--padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0;
	gap: 0;
	overflow: hidden;
	background: var(--jmt-white);
	border: 0;
	border-bottom: 4px solid var(--jmt-blue);
	border-radius: 2px;
	box-shadow: 0 2px 4px rgba(0, 26, 112, .05), 0 12px 30px rgba(0, 26, 112, .08);
	transition: transform .2s, box-shadow .2s;
	scroll-margin-top: 130px;
}
.elementor .jmt-card.e-con:hover {
	transform: translateY(-3px);
	box-shadow: 0 2px 4px rgba(0, 26, 112, .06), 0 18px 40px rgba(0, 26, 112, .14);
}
.jmt-card:target { outline: 3px solid var(--jmt-blue); outline-offset: 3px; }
.jmt-card__img { margin: 0 !important; line-height: 0; overflow: hidden; }
.jmt-card__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 0;
	transition: transform .5s;
}
.jmt-card:hover .jmt-card__img img { transform: scale(1.035); }
.elementor .jmt-card__body.e-con {
	--gap: 10px;
	gap: 10px;
	flex-grow: 1;
	padding: 24px 26px 28px;
}
.jmt-card__body .elementor-heading-title { color: var(--jmt-blue); font-size: 1.35rem; }
.jmt-card__body .elementor-widget-text-editor { color: var(--jmt-muted); font-size: 1rem; }
.jmt-card__body .jmt-btn-w { margin-top: auto; padding-top: 6px; }
.jmt-card__body .elementor-widget-text-editor:last-child { margin-top: auto; }
.jmt-card--compact .jmt-card__img img { aspect-ratio: 3 / 2; }
.elementor .jmt-card--compact .jmt-card__body.e-con { padding: 18px 22px 22px; --gap: 4px; gap: 4px; }
.jmt-card__addr { color: var(--jmt-muted); font-size: .95rem; }
.jmt-more { color: var(--jmt-blue); font-family: var(--jmt-font-head); font-weight: 700; text-decoration: none; }
.jmt-more::after { content: " \2192"; transition: margin-left .15s; }
.jmt-more:hover { text-decoration: underline; }
.jmt-more:hover::after { margin-left: 3px; }
/* The two big workshop cards on the home page */
.elementor .jmt-card--cat .jmt-card__img img { aspect-ratio: 16 / 10; }
.elementor .jmt-card--cat .jmt-card__body.e-con { padding: 28px 32px 34px; --gap: 12px; gap: 12px; }
.jmt-card--cat .jmt-card__body .elementor-heading-title { font-size: 1.7rem; }

/* Quick-link band under the home banner */
.jmt-quick { background: var(--jmt-blue); }
.elementor .jmt-quick__item.e-con {
	--gap: 6px;
	gap: 6px;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--jmt-silver);
}
.jmt-quick .elementor-heading-title { color: var(--jmt-white); font-size: 1.35rem; }
.jmt-quick .elementor-widget-text-editor { color: #d3d8ea; font-size: 1rem; line-height: 1.5; }
.jmt-quick .elementor-widget-text-editor p { margin: 0; }
.jmt-quick a.jmt-more { color: var(--jmt-white); }

/* Full-width split: blue panel beside a photo */
.elementor .jmt-bleed.e-con { --gap: 0; gap: 0; align-items: stretch; }
.elementor .jmt-bleed__text.e-con,
.elementor .jmt-bleed__img.e-con { --width: 50%; width: 50%; }
.elementor .jmt-bleed__text.e-con {
	--gap: 16px;
	gap: 16px;
	justify-content: center;
	padding: 80px 56px 80px max(24px, calc((100vw - 1140px) / 2));
}
.jmt-bleed__text > * { max-width: 540px; }
.jmt-bleed__text .elementor-heading-title { color: var(--jmt-white); }
.jmt-bleed__text .elementor-widget-text-editor { color: #e1e5f2; font-size: 1.05rem; }
.jmt-bleed__text .jmt-label { color: #c3cadf; }
.jmt-bleed__text .jmt-btn-w { margin-top: 8px; }
@media (max-width: 767px) {
	.elementor .jmt-bleed__text.e-con,
	.elementor .jmt-bleed__img.e-con { --width: 100%; width: 100%; }
	.elementor .jmt-bleed__text.e-con { padding: 52px 24px; }
}

/* Buttons on pages get an arrow, like the links */
.elementor .jmt-btn-w .elementor-button-text::after { content: "\2192"; margin-left: .55em; }

/* Headline over a photo: a touch of shadow so a light photo can't wash it out */
.jmt-hero .elementor-heading-title,
.jmt-hero .jmt-lead,
.jmt-hero .jmt-eyebrow { text-shadow: 0 1px 3px rgba(0, 16, 64, .55), 0 2px 24px rgba(0, 16, 64, .5); }

/* On phones the text runs the full width of the photo, so shade the whole picture, not just the left */
@media (max-width: 767px) {
	.elementor .jmt-hero.e-con::before {
		background-image: none !important;
		background-color: #000 !important;
		opacity: .58 !important;
	}
}

/* Automotive / Marine "doors" */
.elementor .jmt-door.e-con { border-radius: 6px; overflow: hidden; }
.jmt-door .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Feature columns and steps */
.elementor .jmt-feature.e-con {
	--gap: 10px;
	gap: 10px;
	padding-top: 22px;
	border-top: 3px solid var(--jmt-blue);
}
.elementor .jmt-feature--card.e-con {
	padding: 32px;
	background: var(--jmt-white);
	border-top: 0;
	border-radius: 6px;
	box-shadow: 0 10px 28px rgba(0, 26, 112, .06);
}
.jmt-feature .elementor-widget-text-editor { color: var(--jmt-muted); }
.jmt-steps .jmt-feature.e-con { border-top: 0; padding-top: 0; }
.jmt-num p {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 0 6px;
	border-radius: 50%;
	background: var(--jmt-blue);
	color: var(--jmt-white);
	font-family: var(--jmt-font-head);
	font-weight: 700;
	font-size: 1.35rem;
}

/* Reviews */
.elementor .jmt-review {
	height: 100%;
	padding: 32px;
	background: var(--jmt-white);
	border-radius: 6px;
	border-bottom: 3px solid var(--jmt-blue);
	box-shadow: 0 1px 2px rgba(0, 26, 112, .06), 0 8px 22px rgba(0, 26, 112, .07);
}
.jmt-review__stars { margin: 0 0 4px; color: var(--jmt-blue); font-size: 1.05rem; letter-spacing: .12em; }
.jmt-review blockquote {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--jmt-text);
}
.jmt-review blockquote::before {
	content: "“";
	display: block;
	height: .55em;
	color: var(--jmt-blue);
	font-family: var(--jmt-font-head);
	font-size: 3.5rem;
	line-height: 1;
}
.jmt-review__by { margin: 0; color: var(--jmt-muted); font-size: .95rem; }
.jmt-review__by strong { color: var(--jmt-black); font-family: var(--jmt-font-head); }

/* Jump-to chips on service pages */
.jmt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.jmt-chips a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #c9ccce;
	border-radius: 999px;
	background: var(--jmt-white);
	color: var(--jmt-black);
	font-size: .9rem;
	text-decoration: none;
	transition: background-color .15s, color .15s, border-color .15s;
}
.jmt-chips a:hover {
	background: var(--jmt-blue);
	border-color: var(--jmt-blue);
	color: var(--jmt-white);
}

/* Image beside text */
.elementor .jmt-split__media.e-con,
.elementor .jmt-split__text.e-con { --width: 50%; width: 50%; }
.elementor .jmt-split__text.e-con { --gap: 12px; gap: 12px; }
.jmt-split__img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
}
.jmt-split__img--portrait img { aspect-ratio: 4 / 5; object-position: 50% 15%; }
@media (max-width: 767px) {
	.elementor .jmt-split__media.e-con,
	.elementor .jmt-split__text.e-con { --width: 100%; width: 100%; }
}

/* Gallery */
.jmt-gallery .gallery-item { padding: 5px !important; }
.jmt-gallery .gallery-item img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 4px;
}

/* Contact page */
.elementor .jmt-contact__form.e-con { --width: 60%; width: 60%; }
.elementor .jmt-contact__aside.e-con {
	--width: 40%;
	width: 40%;
	align-self: flex-start;
	padding: 32px;
	background: var(--jmt-grey-bg);
	border-radius: 6px;
}
.jmt-contact__aside h3 {
	margin: 0 0 4px;
	color: var(--jmt-blue);
	font-size: 1rem;
}
.jmt-contact__aside p { margin: 0 0 20px; }
@media (max-width: 767px) {
	.elementor .jmt-contact__form.e-con,
	.elementor .jmt-contact__aside.e-con { --width: 100%; width: 100%; }
}
.jmt-map iframe { display: block; }

/* ------------------------------------------------------------------ */
/* Quote form                                                          */
/* ------------------------------------------------------------------ */

.jmt-quote { scroll-margin-top: 130px; }
.jmt-quote__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}
.jmt-field { grid-column: 1 / -1; margin: 0; }
.jmt-field--half { grid-column: span 1; }
.jmt-field label,
.jmt-field legend {
	display: block;
	margin-bottom: 6px;
	color: var(--jmt-black);
	font-family: var(--jmt-font-head);
	font-weight: 700;
	font-size: .95rem;
}
.jmt-field span[aria-hidden] { color: var(--jmt-blue); }
.jmt-quote input[type="text"],
.jmt-quote input[type="tel"],
.jmt-quote input[type="email"],
.jmt-quote textarea,
.jmt-quote input[type="file"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #b9bcbe;
	border-radius: var(--jmt-radius);
	background: var(--jmt-white);
	color: var(--jmt-text);
	font: inherit;
	font-size: 16px; /* stops iOS zooming into fields */
}
.jmt-quote input:focus,
.jmt-quote textarea:focus { border-color: var(--jmt-blue); }
.jmt-quote input[type="file"] { padding: 10px; background: var(--jmt-grey-bg); }
.jmt-field--choice { border: 0; padding: 0; }
.jmt-field--choice label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 10px 8px 0;
	padding: 10px 16px;
	border: 1px solid #b9bcbe;
	border-radius: var(--jmt-radius);
	font-family: var(--jmt-font-body);
	font-weight: 400;
	cursor: pointer;
}
.jmt-field--choice label:has(input:checked) {
	border-color: var(--jmt-blue);
	background: #eef1f9;
	color: var(--jmt-blue);
}
.jmt-field__help { margin: 6px 0 0; color: var(--jmt-muted); font-size: .95rem; }
.jmt-quote__form > .jmt-btn { grid-column: 1 / -1; justify-self: start; }
.jmt-quote__form > .jmt-field__help { grid-column: 1 / -1; margin-top: -6px; }
.jmt-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.jmt-quote__notice {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-left: 4px solid;
	border-radius: var(--jmt-radius);
}
.jmt-quote__notice--ok { border-color: #1e7e34; background: #e9f6ec; color: #14532d; }
.jmt-quote__notice--error { border-color: #b42318; background: #fdecea; color: #7a1a12; }
@media (max-width: 600px) {
	.jmt-quote__form { grid-template-columns: 1fr; }
	.jmt-field--half { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ */
/* Mobile call bar (markup in functions.php)                           */
/* ------------------------------------------------------------------ */

.jmt-callbar { display: none; }
@media (max-width: 767px) {
	.jmt-callbar {
		display: flex;
		position: fixed;
		inset: auto 0 0 0;
		z-index: 999;
		background: var(--jmt-black);
		box-shadow: 0 -2px 12px rgba(0, 0, 0, .25);
	}
	.jmt-callbar a {
		flex: 1;
		padding: 14px 8px;
		text-align: center;
		font-family: var(--jmt-font-head);
		font-weight: 700;
		color: var(--jmt-white);
		text-decoration: none;
	}
	.jmt-callbar a + a { background: var(--jmt-blue); }
	body { padding-bottom: 52px; }
}

/* Service anchors land below the sticky header */
[id^="svc-"] { scroll-margin-top: 130px; }

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
	.jmt-card:hover, .jmt-card:hover .jmt-card__img img { transform: none; }
}
