/*!
 * Zeal LOG Premium UI — design-system layer for logconstruction.co.za
 * Version 1.0.4 · Zeal Marketing Agency
 *
 * Every rule is scoped under `body.zeal-ui`, which the plugin only adds while it is active
 * (preview = administrators only, live = everyone). Deactivating the plugin removes all of it.
 *
 * Components are applied in Elementor via Advanced → CSS Classes:
 *   log-section, log-section--alt, log-section--tight, log-head, log-eyebrow
 *   log-hero, log-hero__content, log-hero__actions, log-page-hero, log-page-intro
 *   log-btn-secondary, log-btn-link
 *   log-card-grid, log-card, log-service-card, log-gallery, log-product-grid
 *   log-testimonials, log-quote-card, log-team, log-feature, log-banner
 *   log-cta-band, log-contact, log-payments, log-map, log-partners, log-logo--badge, log-logo--wordmark
 *   log-form, log-prose
 * Elementor containers read their spacing from CSS custom properties (--padding-*, --gap, --content-width),
 * so components set those variables instead of fighting element-level CSS with !important.
 */

/* ---------------------------------------------------------------------------
   1. Tokens (existing LOG Construction palette only)
--------------------------------------------------------------------------- */
body.zeal-ui {
	--log-navy-950: #050b14;
	--log-navy-900: #0b1220;
	--log-navy-850: #0f172a;
	--log-navy-800: #111827;
	--log-slate-700: #2a3441;
	--log-orange: #d97706;
	--log-amber: #f59e0b;
	--log-text: #d1d5db;
	--log-text-muted: #9ca3af;
	--log-white: #ffffff;
	--log-on-orange: #0b1220;

	--log-border: rgba(209, 213, 219, 0.12);
	--log-border-strong: rgba(209, 213, 219, 0.24);
	--log-surface: rgba(255, 255, 255, 0.03);
	--log-surface-raised: #0d1526;
	--log-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 32px -16px rgba(0, 0, 0, 0.55);
	--log-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 40px -18px rgba(0, 0, 0, 0.7);

	--log-max: 1200px;
	--log-gutter: clamp(16px, 4vw, 40px);
	--log-section-y: clamp(56px, 7vw, 104px);
	--log-section-y-tight: clamp(40px, 5vw, 72px);
	--log-gap: clamp(16px, 2.2vw, 28px);

	--log-radius-card: 16px;
	--log-radius-img: 12px;
	--log-radius-btn: 10px;
	--log-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--log-dur: 200ms;

	--log-font-head: "Roboto", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--log-font-body: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Elementor container defaults read these */
	--container-max-width: var(--log-max);
	--container-default-padding-left: var(--log-gutter);
	--container-default-padding-right: var(--log-gutter);

	background-color: var(--log-navy-800);
	color: var(--log-text);
	font-family: var(--log-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Clip (not hide) horizontal overflow: does not create a scroll container, so sticky still works. */
html:has(body.zeal-ui),
body.zeal-ui {
	overflow-x: clip;
}

/* ---------------------------------------------------------------------------
   2. Base typography
--------------------------------------------------------------------------- */
body.zeal-ui :is(h1, h2, h3, h4, h5, h6),
body.zeal-ui .elementor-heading-title {
	font-family: var(--log-font-head);
	letter-spacing: -0.01em;
	text-wrap: balance;
}

body.zeal-ui .elementor-widget-text-editor,
body.zeal-ui .elementor-widget-text-editor p {
	font-family: var(--log-font-body);
	line-height: 1.7;
}

body.zeal-ui :is(p, li) {
	text-wrap: pretty;
}

body.zeal-ui a {
	transition: color var(--log-dur) var(--log-ease);
}

/* Accessible, consistent focus ring */
body.zeal-ui :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--log-amber);
	outline-offset: 3px;
	border-radius: 4px;
}

body.zeal-ui ::selection {
	background: var(--log-orange);
	color: var(--log-on-orange);
}

/* Section scaffolding ------------------------------------------------------ */
body.zeal-ui .e-con.log-section {
	--padding-top: var(--log-section-y);
	--padding-bottom: var(--log-section-y);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, var(--log-max));
	--margin-top: 0px;
	--margin-bottom: 0px;
}

/* Full-width containers: keep the background edge-to-edge but centre the content at --log-max */
body.zeal-ui .e-con.e-con-full.log-section,
body.zeal-ui .e-con.e-con-full.log-testimonials {
	--padding-left: max(var(--log-gutter), calc((100% - var(--log-max)) / 2));
	--padding-right: max(var(--log-gutter), calc((100% - var(--log-max)) / 2));
}

body.zeal-ui .e-con.log-section {
	--gap: clamp(24px, 3vw, 40px);
	--row-gap: clamp(24px, 3vw, 40px);
}

body.zeal-ui .e-con.log-section--tight {
	--padding-top: var(--log-section-y-tight);
	--padding-bottom: var(--log-section-y-tight);
}

body.zeal-ui .e-con.log-section--alt {
	--background-color: var(--log-navy-900);
	background-color: var(--log-navy-900);
}

body.zeal-ui .elementor-section.log-section {
	padding: var(--log-section-y) var(--log-gutter);
	margin: 0;
}

body.zeal-ui .elementor-section.log-section > .elementor-container {
	max-width: var(--log-max);
}

/* Section heading group: eyebrow + title + optional lead */
body.zeal-ui .log-head {
	--gap: 10px;
	--row-gap: 10px;
	text-align: center;
	margin-bottom: 0;
}

body.zeal-ui .log-head .elementor-heading-title {
	text-align: center;
}

body.zeal-ui .log-eyebrow .elementor-heading-title,
body.zeal-ui .elementor-heading-title.log-eyebrow {
	color: var(--log-orange);
	font-family: var(--log-font-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
}

body.zeal-ui .log-title .elementor-heading-title,
body.zeal-ui .log-section h2.elementor-heading-title {
	color: var(--log-white);
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
}

body.zeal-ui .log-section h3.elementor-heading-title {
	color: var(--log-white);
	font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
	font-weight: 600;
	line-height: 1.25;
}

body.zeal-ui .log-lead,
body.zeal-ui .log-lead .elementor-heading-title,
body.zeal-ui .log-lead p {
	color: var(--log-text-muted);
	font-family: var(--log-font-body);
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0;
	max-width: 62ch;
	margin-inline: auto;
}

body.zeal-ui :is(.log-head, .log-page-hero, .log-page-intro) .log-lead,
body.zeal-ui :is(.log-head, .log-page-hero, .log-page-intro) .log-lead :is(p, .elementor-heading-title) {
	text-align: center;
}

body.zeal-ui .log-page-hero .log-lead,
body.zeal-ui .log-page-hero .log-lead p {
	color: var(--log-text);
}

/* ---------------------------------------------------------------------------
   3. Buttons (Elementor buttons + Astra header button)
--------------------------------------------------------------------------- */
body.zeal-ui .elementor-widget-button .elementor-button,
body.zeal-ui .ast-header-button-1 .ast-custom-button,
body.zeal-ui .log-mobile-bar__btn--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 14px 26px;
	border: 1px solid var(--log-orange);
	border-radius: var(--log-radius-btn);
	background: var(--log-orange);
	color: var(--log-on-orange);
	font-family: var(--log-font-head);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.1;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 8px 18px -10px rgba(217, 119, 6, 0.55);
	transition: background-color var(--log-dur) var(--log-ease), border-color var(--log-dur) var(--log-ease),
		color var(--log-dur) var(--log-ease), transform var(--log-dur) var(--log-ease), box-shadow var(--log-dur) var(--log-ease);
}

body.zeal-ui .elementor-widget-button .elementor-button .elementor-button-text,
body.zeal-ui .elementor-widget-button .elementor-button .elementor-button-icon {
	color: inherit;
	fill: currentColor;
}

body.zeal-ui .elementor-widget-button .elementor-button .elementor-button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

body.zeal-ui .elementor-widget-button .elementor-button:hover,
body.zeal-ui .elementor-widget-button .elementor-button:focus-visible,
body.zeal-ui .ast-header-button-1 .ast-custom-button-link:hover .ast-custom-button,
body.zeal-ui .ast-header-button-1 .ast-custom-button-link:focus-visible .ast-custom-button {
	background: var(--log-amber);
	border-color: var(--log-amber);
	color: var(--log-on-orange);
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 14px 24px -12px rgba(245, 158, 11, 0.6);
}

/* Secondary: transparent with a refined border */
body.zeal-ui .log-btn-secondary .elementor-button {
	background: transparent;
	border-color: var(--log-border-strong);
	color: var(--log-white);
	box-shadow: none;
}

body.zeal-ui .log-btn-secondary .elementor-button:hover,
body.zeal-ui .log-btn-secondary .elementor-button:focus-visible {
	background: rgba(217, 119, 6, 0.08);
	border-color: var(--log-orange);
	color: var(--log-amber);
	box-shadow: none;
}

/* Text link with arrow */
body.zeal-ui .log-btn-link .elementor-button {
	min-height: 44px; /* comfortable tap target, visually still a text link */
	padding: 6px 0;
	border: 0;
	background: transparent;
	color: var(--log-amber);
	box-shadow: none;
	letter-spacing: 0.04em;
	font-size: 0.875rem;
}

body.zeal-ui .log-btn-link .elementor-button:hover,
body.zeal-ui .log-btn-link .elementor-button:focus-visible {
	background: transparent;
	color: var(--log-white);
	transform: none;
	box-shadow: none;
}

body.zeal-ui .log-btn-link .elementor-button .elementor-button-icon {
	transition: transform var(--log-dur) var(--log-ease);
}

body.zeal-ui .log-btn-link .elementor-button:hover .elementor-button-icon {
	transform: translateX(3px);
}

/* Button rows */
body.zeal-ui .log-actions {
	--gap: 12px;
	--row-gap: 12px;
	--column-gap: 12px;
	--flex-wrap: wrap;
	flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   4. Header (Astra Header Builder)
--------------------------------------------------------------------------- */
body.zeal-ui #masthead .site-primary-header-wrap.ast-container,
body.zeal-ui #masthead #ast-mobile-header .ast-builder-grid-row {
	max-width: calc(var(--log-max) + 2 * var(--log-gutter));
	margin-inline: auto;
	padding-inline: var(--log-gutter);
}

body.zeal-ui #masthead .ast-primary-header-bar .site-primary-header-wrap {
	min-height: 96px;
}

body.zeal-ui #masthead .site-logo-img .custom-logo-link img {
	width: 84px;
	max-width: 84px;
	height: auto;
	transition: transform var(--log-dur) var(--log-ease);
}

body.zeal-ui #masthead .site-logo-img .custom-logo-link:hover img {
	transform: rotate(-8deg);
}

/* Astra's content container adds 20px side padding on Elementor pages (the legacy CSS used to zero it with !important) */
body.zeal-ui.elementor-page #content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* Inner pages: the header sits in the flow as a solid bar (the site uses Astra's transparent header everywhere,
   and each page previously pushed its first section down with a large top margin). Home keeps the overlay. */
body.zeal-ui.ast-theme-transparent-header:not(.home) #masthead {
	position: relative;
}

body.zeal-ui:not(.home) #masthead .main-header-bar {
	background: var(--log-navy-950);
	border-bottom: 1px solid var(--log-border);
}

body.zeal-ui:not(.home) .elementor > .e-con:first-child,
body.zeal-ui:not(.home) .elementor > .elementor-section:first-child {
	--margin-top: 0px;
	margin-top: 0;
}

body.zeal-ui:not(.home) .elementor > .e-con.log-form:first-child {
	--padding-top: clamp(40px, 5vw, 64px);
}

/* Home (transparent over hero): soft top gradient for legibility */
body.zeal-ui.ast-theme-transparent-header #masthead .main-header-bar {
	background: linear-gradient(180deg, rgba(5, 11, 20, 0.7) 0%, rgba(5, 11, 20, 0) 100%);
	border-bottom: 0;
}

/* Desktop navigation */
body.zeal-ui #masthead .main-header-menu {
	gap: 4px;
}

body.zeal-ui #masthead .main-header-menu > .menu-item > .menu-link {
	position: relative;
	padding: 10px 14px;
	color: var(--log-text);
	font-family: var(--log-font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

body.zeal-ui #masthead .main-header-menu > .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--log-orange);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--log-dur) var(--log-ease);
}

body.zeal-ui #masthead .main-header-menu > .menu-item > .menu-link:hover,
body.zeal-ui #masthead .main-header-menu > .menu-item > .menu-link:focus-visible,
body.zeal-ui #masthead .main-header-menu > .current-menu-item > .menu-link {
	color: var(--log-white);
}

body.zeal-ui #masthead .main-header-menu > .menu-item > .menu-link:hover::after,
body.zeal-ui #masthead .main-header-menu > .menu-item > .menu-link:focus-visible::after,
body.zeal-ui #masthead .main-header-menu > .current-menu-item > .menu-link::after {
	transform: scaleX(1);
}

/* Header CTA */
body.zeal-ui #masthead .ast-header-button-1 {
	margin-left: 12px;
}

body.zeal-ui #masthead .ast-header-button-1 .ast-custom-button {
	min-height: 44px;
	padding: 12px 20px;
	font-size: 0.8125rem;
}

/* Mobile header + drawer */
body.zeal-ui #masthead #ast-mobile-header .ast-builder-grid-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

body.zeal-ui #ast-mobile-header .site-logo-img .custom-logo-link img {
	width: 60px;
	max-width: 60px;
}

body.zeal-ui #ast-mobile-header .ast-primary-header-bar,
body.zeal-ui #ast-mobile-header .main-header-bar {
	min-height: 76px;
}

body.zeal-ui #masthead .ast-mobile-menu-trigger-minimal,
body.zeal-ui #masthead .menu-toggle.main-header-menu-toggle {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--log-radius-btn);
	background: var(--log-orange);
	color: var(--log-on-orange);
	border: 0;
}

body.zeal-ui #masthead .menu-toggle .ast-mobile-svg {
	fill: var(--log-on-orange);
}

body.zeal-ui .ast-mobile-popup-drawer .ast-mobile-popup-inner {
	background: var(--log-navy-900);
}

body.zeal-ui .ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {
	color: var(--log-text);
	width: 44px;
	height: 44px;
}

body.zeal-ui .ast-mobile-popup-drawer .main-header-menu .menu-item > .menu-link {
	padding: 16px var(--log-gutter);
	color: var(--log-text);
	font-size: 1.0625rem;
	font-weight: 500;
	border-bottom: 1px solid var(--log-border);
}

body.zeal-ui .ast-mobile-popup-drawer .main-header-menu .current-menu-item > .menu-link,
body.zeal-ui .ast-mobile-popup-drawer .main-header-menu .menu-item > .menu-link:hover {
	color: var(--log-amber);
}

body.zeal-ui .ast-mobile-popup-drawer .ast-header-button-1 {
	padding: 20px var(--log-gutter);
}

body.zeal-ui .ast-mobile-popup-drawer .ast-header-button-1 .ast-custom-button {
	width: 100%;
}

/* ---------------------------------------------------------------------------
   5. Heroes
--------------------------------------------------------------------------- */
/* Home hero */
body.zeal-ui .e-con.log-hero {
	--min-height: min(78vh, 760px);
	--padding-top: clamp(140px, 16vh, 190px);
	--padding-bottom: clamp(64px, 10vh, 120px);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, var(--log-max));
	--justify-content: center;
	position: relative;
	isolation: isolate;
	background-position: center center;
	background-size: cover;
}

body.zeal-ui .e-con.log-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(5, 11, 20, 0.92) 0%, rgba(5, 11, 20, 0.72) 42%, rgba(5, 11, 20, 0.28) 100%),
		linear-gradient(0deg, rgba(17, 24, 39, 1) 0%, rgba(17, 24, 39, 0) 28%);
	opacity: 1;
	mix-blend-mode: normal;
}

body.zeal-ui .e-con.log-hero > .e-con-inner,
body.zeal-ui .e-con.log-hero > .e-con {
	position: relative;
	z-index: 1;
}

body.zeal-ui .log-hero__content {
	--gap: 28px;
	--row-gap: 28px;
	--align-items: flex-start;
	max-width: 720px;
}

body.zeal-ui .log-hero .elementor-widget-heading h1.elementor-heading-title {
	color: var(--log-white);
	font-size: clamp(2.5rem, 1.2rem + 5.2vw, 4.75rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.025em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

body.zeal-ui .log-hero h1.elementor-heading-title u {
	text-decoration: none;
	background-image: linear-gradient(var(--log-orange), var(--log-orange));
	background-repeat: no-repeat;
	background-size: 100% 0.12em;
	background-position: 0 92%;
}

body.zeal-ui .log-hero h1.elementor-heading-title i,
body.zeal-ui .log-hero h1.elementor-heading-title em {
	color: var(--log-amber);
}

/* Inner page banners (Dream Projects, Timber, Services) */
body.zeal-ui .e-con.log-page-hero {
	--min-height: clamp(260px, 34vw, 380px);
	--padding-top: clamp(64px, 8vw, 96px);
	--padding-bottom: clamp(48px, 6vw, 72px);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--justify-content: center;
	--align-items: center;
	position: relative;
	isolation: isolate;
	background-position: center center;
	background-size: cover;
}

body.zeal-ui .e-con.log-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(5, 11, 20, 0.55) 0%, rgba(5, 11, 20, 0.78) 100%);
	opacity: 1;
}

body.zeal-ui .e-con.log-page-hero > .e-con-inner,
body.zeal-ui .e-con.log-page-hero > .e-con,
body.zeal-ui .e-con.log-page-hero > .elementor-element {
	position: relative;
	z-index: 1;
}

body.zeal-ui .log-page-hero h1.elementor-heading-title,
body.zeal-ui .log-page-intro :is(h1, h2).elementor-heading-title {
	color: var(--log-white);
	font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.75rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-align: center;
}

body.zeal-ui .e-con.log-page-intro {
	--padding-top: clamp(48px, 6vw, 80px);
	--padding-bottom: clamp(24px, 3vw, 40px);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, var(--log-max));
	--align-items: center;
	--gap: 14px;
	--row-gap: 14px;
	text-align: center;
}

/* ---------------------------------------------------------------------------
   6. Slim CTA strip ("Let's build Your Dream")
--------------------------------------------------------------------------- */
body.zeal-ui .e-con.log-strip {
	--padding-top: clamp(28px, 4vw, 44px);
	--padding-bottom: clamp(28px, 4vw, 44px);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, var(--log-max));
	--justify-content: space-between;
	--align-items: center;
	--gap: 20px;
	--row-gap: 16px;
	background: var(--log-navy-900);
	border-top: 1px solid var(--log-border);
	border-bottom: 1px solid var(--log-border);
}

body.zeal-ui .log-strip h2.elementor-heading-title {
	color: var(--log-white);
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
	font-weight: 700;
}

body.zeal-ui .log-strip > .e-con-inner > .e-con,
body.zeal-ui .log-strip > .e-con {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	width: auto;
	--width: auto;
}

/* ---------------------------------------------------------------------------
   7. Cards
--------------------------------------------------------------------------- */
body.zeal-ui .e-con.log-card-grid {
	--display: grid;
	--e-con-grid-template-columns: repeat(3, minmax(0, 1fr));
	--grid-columns: 3;
	--gap: var(--log-gap);
	--row-gap: var(--log-gap);
	--column-gap: var(--log-gap);
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--log-gap);
	align-items: stretch;
}

body.zeal-ui .e-con.log-card-grid--4 {
	--e-con-grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.zeal-ui .e-con.log-card-grid--2 {
	--e-con-grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.zeal-ui .e-con.log-card-grid > .elementor-element,
body.zeal-ui .e-con.log-card-grid > .e-con {
	width: auto;
	--width: auto;
	max-width: none;
	margin: 0;
}

/* Image-box based project card (Dream Projects, home preview) */
body.zeal-ui .elementor-widget-image-box.log-card {
	height: 100%;
}

body.zeal-ui .log-card .elementor-image-box-wrapper,
body.zeal-ui .e-con.log-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--log-border);
	border-radius: var(--log-radius-card);
	background: var(--log-surface-raised);
	box-shadow: var(--log-shadow);
	text-align: left;
	transition: transform var(--log-dur) var(--log-ease), box-shadow var(--log-dur) var(--log-ease),
		border-color var(--log-dur) var(--log-ease);
}

body.zeal-ui .log-card .elementor-image-box-wrapper:hover,
body.zeal-ui .log-card .elementor-image-box-wrapper:focus-within,
body.zeal-ui .e-con.log-card:hover,
body.zeal-ui .e-con.log-card:focus-within {
	transform: translateY(-4px);
	border-color: rgba(217, 119, 6, 0.45);
	box-shadow: var(--log-shadow-hover);
}

body.zeal-ui .log-card .elementor-image-box-img {
	width: 100% !important; /* overrides Elementor's inline image-size width on image-box */
	margin: 0 !important;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

body.zeal-ui .log-card .elementor-image-box-img img,
body.zeal-ui .log-card .log-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	transition: transform 400ms var(--log-ease);
}

body.zeal-ui .log-card .elementor-image-box-wrapper:hover img,
body.zeal-ui .e-con.log-card:hover .log-card__media img {
	transform: scale(1.04);
}

body.zeal-ui .log-card .elementor-image-box-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	padding: 20px 22px 22px;
}

body.zeal-ui .log-card .elementor-image-box-title {
	margin: 0;
	color: var(--log-white);
	font-family: var(--log-font-head);
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	text-transform: uppercase;
}

body.zeal-ui .log-card .elementor-image-box-title a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is one link target: stretch the title link over the card */
body.zeal-ui .log-card .elementor-image-box-title a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Visible CTA, part of the same link */
body.zeal-ui .log-card .elementor-image-box-title a::after {
	content: "View Gallery \2192";
	display: block;
	margin-top: 12px;
	color: var(--log-amber);
	font-family: var(--log-font-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	transition: color var(--log-dur) var(--log-ease);
}

body.zeal-ui .log-card .elementor-image-box-wrapper:hover .elementor-image-box-title a::after {
	color: var(--log-white);
}

body.zeal-ui .log-card .elementor-image-box-title a:focus-visible {
	outline: none;
}

body.zeal-ui .log-card .elementor-image-box-wrapper:has(a:focus-visible) {
	outline: 2px solid var(--log-amber);
	outline-offset: 3px;
}

/* Container based card (service cards) */
body.zeal-ui .e-con.log-card {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--flex-direction: column;
	--justify-content: flex-start;
}

body.zeal-ui .e-con.log-card .log-card__media {
	width: 100%;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

body.zeal-ui .e-con.log-card .log-card__media .elementor-widget-container,
body.zeal-ui .e-con.log-card .log-card__media a {
	height: 100%;
}

body.zeal-ui .e-con.log-card > .elementor-widget:not(.log-card__media) {
	padding-inline: 22px;
}

body.zeal-ui .e-con.log-card > .elementor-widget-icon-box {
	padding-top: 20px;
	flex: 1;
}

body.zeal-ui .e-con.log-card > .elementor-widget-button:last-child {
	padding-bottom: 18px;
}

/* Icon-box content inside service cards (keeps the original icon, title and description) */
body.zeal-ui .log-card .elementor-icon-box-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	text-align: left;
}

body.zeal-ui .log-card .elementor-icon-box-icon {
	margin: 0 !important; /* Elementor sets an inline-ish spacing via its own control */
}

body.zeal-ui .log-card .elementor-icon-box-icon .elementor-icon {
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(217, 119, 6, 0.12);
	color: var(--log-orange);
	font-size: 22px;
}

body.zeal-ui .log-card .elementor-icon-box-icon .elementor-icon svg {
	width: 22px;
	height: 22px;
	fill: var(--log-orange);
}

body.zeal-ui .log-card .elementor-icon-box-title,
body.zeal-ui .log-card .elementor-icon-box-title span {
	margin: 0;
	color: var(--log-white);
	font-family: var(--log-font-head);
	font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
	font-weight: 700;
	line-height: 1.25;
}

body.zeal-ui .log-card .elementor-icon-box-description {
	margin: 0;
	color: var(--log-text-muted);
	font-family: var(--log-font-body);
	font-size: 0.975rem;
	line-height: 1.65;
}

/* ---------------------------------------------------------------------------
   8. Galleries (12 project category pages)
   The five 2-image column containers become `display: contents`, so all ten
   images join one uniform grid. Lightbox links are untouched.
--------------------------------------------------------------------------- */
body.zeal-ui .e-con.log-gallery {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(10px, 1.4vw, 18px);
	width: 100%;
}

body.zeal-ui .e-con.log-gallery .e-con-inner,
body.zeal-ui .e-con.log-gallery .e-con {
	display: contents;
}

body.zeal-ui .log-gallery .elementor-widget-image {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.zeal-ui .log-gallery .elementor-widget-image a {
	display: block;
	overflow: hidden;
	border-radius: var(--log-radius-img);
	border: 1px solid var(--log-border);
	box-shadow: var(--log-shadow);
}

body.zeal-ui .log-gallery .elementor-widget-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	transition: transform 400ms var(--log-ease), filter var(--log-dur) var(--log-ease);
}

body.zeal-ui .log-gallery .elementor-widget-image a:hover img,
body.zeal-ui .log-gallery .elementor-widget-image a:focus-visible img {
	transform: scale(1.05);
}

body.zeal-ui .log-gallery .elementor-widget-image a:focus-visible {
	outline: 2px solid var(--log-amber);
	outline-offset: 3px;
}

/* Gallery page layout: title + back link row */
body.zeal-ui .e-con.log-gallery-page {
	--padding-top: clamp(40px, 5vw, 72px);
	--padding-bottom: var(--log-section-y);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, var(--log-max));
	--gap: clamp(20px, 2.5vw, 32px);
	--row-gap: clamp(20px, 2.5vw, 32px);
	--align-items: stretch;
}

body.zeal-ui .e-con.log-gallery-page > .e-con-inner {
	max-width: var(--log-max);
	margin-inline: auto;
}

body.zeal-ui .log-gallery-page h1.elementor-heading-title {
	color: var(--log-white);
	font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

body.zeal-ui .log-gallery-page > .elementor-widget-button,
body.zeal-ui .log-gallery-page > .e-con-inner > .elementor-widget-button {
	align-self: center;
}

/* ---------------------------------------------------------------------------
   9. Product grid (Timber Depot) — classic sections with three columns
--------------------------------------------------------------------------- */
body.zeal-ui .elementor-section.log-product-grid {
	padding: 0 var(--log-gutter);
	margin: 0 0 var(--log-gap);
}

body.zeal-ui .elementor-section.log-product-grid > .elementor-container {
	max-width: var(--log-max);
	gap: var(--log-gap);
}

body.zeal-ui .log-product-grid > .elementor-container > .elementor-column > .elementor-widget-wrap {
	align-content: flex-start;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--log-border);
	border-radius: var(--log-radius-card);
	background: var(--log-surface-raised);
	box-shadow: var(--log-shadow);
}

body.zeal-ui .log-product-grid .elementor-widget-image {
	width: 100%;
	margin: 0;
}

body.zeal-ui .log-product-grid .elementor-widget-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
}

body.zeal-ui .log-product-grid .elementor-widget-heading {
	padding: 18px 20px 22px;
	margin: 0;
}

body.zeal-ui .log-product-grid h3.elementor-heading-title {
	color: var(--log-white);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.3;
	text-align: left;
	text-transform: uppercase;
}

/* "Did you know" feature (Timber) */
body.zeal-ui .elementor-section.log-feature {
	padding: var(--log-section-y) var(--log-gutter) var(--log-section-y-tight);
}

body.zeal-ui .elementor-section.log-feature > .elementor-container {
	max-width: var(--log-max);
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
}

body.zeal-ui .log-feature .elementor-widget-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--log-radius-card);
	box-shadow: var(--log-shadow);
}

body.zeal-ui .log-feature h2.elementor-heading-title {
	color: var(--log-orange);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
	font-weight: 700;
}

body.zeal-ui .log-feature .elementor-widget-text-editor,
body.zeal-ui .log-feature .elementor-widget-text-editor p {
	color: var(--log-text);
	font-size: 1.0625rem;
}

/* Rounded image banner inside a section (Timber Depot Online) */
body.zeal-ui .e-con.log-banner {
	--min-height: clamp(200px, 24vw, 300px);
	--justify-content: center;
	--align-items: center;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid var(--log-border);
	box-shadow: var(--log-shadow);
}

body.zeal-ui .e-con.log-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(5, 11, 20, 0.4), rgba(5, 11, 20, 0.75));
	opacity: 1;
}

body.zeal-ui .e-con.log-banner > .elementor-element {
	position: relative;
	z-index: 1;
}

body.zeal-ui .log-banner h2.elementor-heading-title {
	color: var(--log-white);
	font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem);
	font-weight: 700;
	text-align: center;
}

body.zeal-ui .log-intro,
body.zeal-ui .log-intro p {
	text-align: center;
	max-width: 62ch;
	margin-inline: auto;
	color: var(--log-text);
}

body.zeal-ui .log-intro a {
	color: var(--log-amber);
}

/* ---------------------------------------------------------------------------
   10. Testimonials
--------------------------------------------------------------------------- */
body.zeal-ui .e-con.log-testimonials {
	--padding-top: var(--log-section-y);
	--padding-bottom: var(--log-section-y);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, var(--log-max));
	position: relative;
	isolation: isolate;
}

body.zeal-ui .e-con.log-testimonials::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(5, 11, 20, 0.35) 0%, rgba(5, 11, 20, 0.88) 55%);
	opacity: 1;
}

body.zeal-ui .e-con.log-testimonials > .e-con-inner,
body.zeal-ui .e-con.log-testimonials > .e-con {
	position: relative;
	z-index: 1;
}

body.zeal-ui .log-testimonials .log-eyebrow .elementor-heading-title,
body.zeal-ui .log-testimonials .log-title .elementor-heading-title {
	text-align: left;
}

body.zeal-ui .e-con.log-quote-card {
	--padding-top: clamp(22px, 2.6vw, 30px);
	--padding-bottom: clamp(22px, 2.6vw, 30px);
	--padding-left: clamp(22px, 2.6vw, 30px);
	--padding-right: clamp(22px, 2.6vw, 30px);
	--gap: 14px;
	--row-gap: 14px;
	border: 1px solid var(--log-border);
	border-radius: var(--log-radius-card);
	background: rgba(11, 18, 32, 0.78);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: var(--log-shadow);
}

body.zeal-ui .log-quote-card .elementor-icon {
	color: var(--log-orange);
	font-size: 28px;
}

body.zeal-ui .log-quote-card .elementor-icon svg {
	width: 28px;
	height: 28px;
	fill: var(--log-orange);
}

body.zeal-ui .log-quote-card .elementor-testimonial-wrapper {
	text-align: left;
}

body.zeal-ui .log-quote-card .elementor-testimonial-content {
	margin-bottom: 14px;
	color: var(--log-white);
	font-family: var(--log-font-body);
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	font-style: normal;
	line-height: 1.65;
}

body.zeal-ui .log-quote-card .elementor-testimonial-name {
	color: var(--log-amber);
	font-family: var(--log-font-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   11. Team (classic section, three columns)
--------------------------------------------------------------------------- */
body.zeal-ui .elementor-section.log-team {
	padding: 0 var(--log-gutter) var(--log-section-y);
	margin: 0;
}

body.zeal-ui .elementor-section.log-team > .elementor-container {
	max-width: var(--log-max);
	gap: var(--log-gap);
}

body.zeal-ui .log-team > .elementor-container > .elementor-column > .elementor-widget-wrap {
	padding: 0;
	align-content: flex-start;
	gap: 0;
	overflow: hidden;
	border: 1px solid var(--log-border);
	border-radius: var(--log-radius-card);
	background: var(--log-surface-raised);
	box-shadow: var(--log-shadow);
}

body.zeal-ui .log-team .elementor-widget-image {
	width: 100%;
	margin: 0;
}

body.zeal-ui .log-team .elementor-widget-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 25%;
	border-radius: 0;
}

body.zeal-ui .log-team .elementor-widget-heading {
	width: 100%;
	margin: 0;
	padding: 18px 20px 20px;
}

body.zeal-ui .log-team h4.elementor-heading-title {
	color: var(--log-white);
	font-size: 1.1rem;
	font-weight: 600;
	text-align: left;
}

/* ---------------------------------------------------------------------------
   12. CTA band (contact blocks across pages) + contact panel
--------------------------------------------------------------------------- */
body.zeal-ui .e-con.log-cta-wrap {
	--padding-top: var(--log-section-y-tight);
	--padding-bottom: var(--log-section-y-tight);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, var(--log-max));
	--margin-top: 0px;
	--margin-bottom: 0px;
}

body.zeal-ui .e-con.log-cta-band {
	--padding-top: clamp(32px, 4vw, 52px);
	--padding-bottom: clamp(32px, 4vw, 52px);
	--padding-left: clamp(20px, 4vw, 56px);
	--padding-right: clamp(20px, 4vw, 56px);
	--gap: 18px;
	--row-gap: 18px;
	--align-items: center;
	--justify-content: center;
	--width: 100%;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(217, 119, 6, 0.28);
	border-radius: 20px;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(217, 119, 6, 0.16) 0%, rgba(217, 119, 6, 0) 55%),
		linear-gradient(180deg, var(--log-navy-900) 0%, var(--log-navy-950) 100%);
	box-shadow: var(--log-shadow);
	text-align: center;
}

body.zeal-ui .log-cta-band :is(h2, h3).elementor-heading-title {
	color: var(--log-white);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
}

body.zeal-ui .log-cta-band .elementor-widget-text-editor {
	width: 100%;
	max-width: 100%;
	--container-widget-width: 100%;
}

body.zeal-ui .log-cta-band .elementor-widget-text-editor p {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	text-align: center;
	color: var(--log-text);
}

body.zeal-ui .log-cta-band .elementor-widget-text-editor br {
	display: none;
}

/* Contact links become tappable pills */
body.zeal-ui .log-cta-band .elementor-widget-text-editor a,
body.zeal-ui .log-cta-band .contact-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--log-border-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--log-white);
	font-family: var(--log-font-body);
	font-size: 0.975rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color var(--log-dur) var(--log-ease), color var(--log-dur) var(--log-ease),
		background-color var(--log-dur) var(--log-ease);
}

body.zeal-ui .log-cta-band .elementor-widget-text-editor a:hover,
body.zeal-ui .log-cta-band .elementor-widget-text-editor a:focus-visible {
	border-color: var(--log-orange);
	color: var(--log-amber);
	background: rgba(217, 119, 6, 0.08);
}

/* "OR" divider */
body.zeal-ui .log-cta-band .elementor-widget-divider {
	width: min(280px, 80%);
	--divider-color: var(--log-border-strong);
}

body.zeal-ui .log-cta-band .elementor-divider-separator {
	border-color: var(--log-border-strong);
}

body.zeal-ui .log-cta-band .elementor-divider__text {
	color: var(--log-text-muted);
	font-family: var(--log-font-head);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

/* Home contact panel: CTA band + payments card side by side */
body.zeal-ui .e-con.log-contact {
	--gap: var(--log-gap);
	--row-gap: var(--log-gap);
	--column-gap: var(--log-gap);
	--align-items: stretch;
}

body.zeal-ui .e-con.log-contact > .e-con-inner {
	gap: var(--log-gap);
	align-items: stretch;
}

@media (min-width: 1025px) {
	body.zeal-ui .e-con.log-contact .log-cta-band {
		flex: 1.4 1 0;
	}

	body.zeal-ui .e-con.log-contact .log-payments {
		flex: 1 1 0;
	}
}

body.zeal-ui .e-con.log-cta-band,
body.zeal-ui .e-con.log-payments {
	--flex-wrap: nowrap;
	flex-wrap: nowrap;
}

/* Payments card */
body.zeal-ui .e-con.log-payments {
	--padding-top: clamp(28px, 3.4vw, 44px);
	--padding-bottom: clamp(28px, 3.4vw, 44px);
	--padding-left: clamp(20px, 3vw, 40px);
	--padding-right: clamp(20px, 3vw, 40px);
	--gap: 18px;
	--row-gap: 18px;
	--justify-content: center;
	--align-items: center;
	--flex-direction: column;
	--width: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--log-border);
	border-radius: 20px;
	background: var(--log-surface-raised);
	box-shadow: var(--log-shadow);
	text-align: center;
}

body.zeal-ui .log-payments :is(h2, h3, p, .elementor-heading-title) {
	margin: 0;
	color: var(--log-text);
	font-family: var(--log-font-body);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0;
	text-align: center;
}

body.zeal-ui .e-con.log-payments__logos {
	--flex-direction: row;
	--justify-content: center;
	--align-items: center;
	--gap: 12px;
	--row-gap: 12px;
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	width: 100%;
}

body.zeal-ui .e-con.log-payments__logos > .elementor-widget-image,
body.zeal-ui .e-con.log-payments__logos > .e-con-inner > .elementor-widget-image {
	flex: 1 1 160px;
	max-width: 240px;
	margin: 0;
	width: auto;
	--container-widget-width: auto;
}

/* Stand-alone payments card (Contact / Get a Quote): keep it compact and centred */
body.zeal-ui .log-section > .e-con.log-payments,
body.zeal-ui .log-section > .e-con-inner > .e-con.log-payments {
	max-width: 820px;
	margin-inline: auto;
	align-self: center;
}

body.zeal-ui .log-payments .elementor-widget-image .elementor-widget-container {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 84px;
	padding: 14px 18px;
	border-radius: 14px;
	background: #ffffff;
}

body.zeal-ui .log-payments .elementor-widget-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 100%;
	max-height: 52px;
	object-fit: contain;
	border-radius: 0;
}

/* Map */
body.zeal-ui .e-con.log-map {
	--padding-top: 0px;
	--padding-bottom: var(--log-section-y-tight);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, var(--log-max));
	--margin-top: 0px;
}

body.zeal-ui .log-map .elementor-widget-google_maps {
	width: 100%;
}

body.zeal-ui .log-map .elementor-custom-embed {
	overflow: hidden;
	border: 1px solid var(--log-border);
	border-radius: 20px;
	box-shadow: var(--log-shadow);
	line-height: 0;
}

body.zeal-ui .log-map iframe {
	display: block;
	width: 100%;
	height: clamp(280px, 32vw, 400px);
	filter: grayscale(0.15) contrast(1.02);
}

/* ---------------------------------------------------------------------------
   13. Proudly Associated With (partners strip)
--------------------------------------------------------------------------- */
body.zeal-ui .e-con.log-partners {
	--padding-top: var(--log-section-y-tight);
	--padding-bottom: var(--log-section-y-tight);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--gap: 22px;
	--row-gap: 22px;
	border-top: 1px solid var(--log-border);
}

body.zeal-ui .log-partners > .elementor-widget-heading .elementor-heading-title,
body.zeal-ui .log-partners > .e-con-inner > .elementor-widget-heading .elementor-heading-title {
	color: var(--log-orange);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
}

body.zeal-ui .log-partners .e-con {
	--gap: 16px;
	--row-gap: 16px;
	--column-gap: 16px;
}

body.zeal-ui .log-partners .elementor-widget-image {
	margin: 0 !important; /* the earlier per-widget alignment margin is replaced by the tile */
}

/* The whole tile is the link target */
body.zeal-ui .log-partners .elementor-widget-image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

body.zeal-ui .log-partners .elementor-widget-image .elementor-widget-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(150px, 22vw, 220px);
	height: clamp(92px, 10vw, 112px);
	padding: 12px 20px;
	border: 1px solid var(--log-border);
	border-radius: var(--log-radius-card);
	background: var(--log-navy-900);
	transition: border-color var(--log-dur) var(--log-ease), transform var(--log-dur) var(--log-ease);
}

body.zeal-ui .log-partners .elementor-widget-image .elementor-widget-container:hover {
	border-color: rgba(217, 119, 6, 0.45);
	transform: translateY(-2px);
}

/* Equal visual heights: round badges vs. the horizontal wordmark.
   The LOG badge file has more transparent padding than the LSF badge, so it gets a slightly taller box. */
body.zeal-ui .log-partners .log-logo--badge img {
	width: auto;
	max-width: 100%;
	height: clamp(60px, 6.6vw, 76px);
	object-fit: contain;
}

body.zeal-ui .log-partners .log-logo--badge-lg img {
	height: clamp(72px, 7.8vw, 90px);
}

body.zeal-ui .log-partners .log-logo--wordmark img {
	width: auto;
	max-width: 100%;
	height: clamp(24px, 2.5vw, 30px);
	object-fit: contain;
}

/* ---------------------------------------------------------------------------
   14. Forms (SureForms "Get a Quote", form #1196) — visual skin only
--------------------------------------------------------------------------- */
body.zeal-ui .e-con.log-form {
	--padding-top: clamp(16px, 2vw, 24px);
	--padding-bottom: var(--log-section-y-tight);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, 820px);
}

body.zeal-ui .log-form .srfm-form-container {
	--srfm-color-scheme-primary: var(--log-orange);
	--srfm-color-scheme-text-on-primary: var(--log-on-orange);
	--srfm-color-scheme-text: var(--log-white);
	--srfm-color-input-label: var(--log-white);
	--srfm-color-input-description: var(--log-text-muted);
	--srfm-color-input-placeholder: #6b7280;
	--srfm-color-input-text: var(--log-white);
	--srfm-color-input-background: var(--log-navy-900);
	--srfm-color-input-background-hover: #0e1729;
	--srfm-color-input-border: rgba(209, 213, 219, 0.2);
	--srfm-color-input-border-hover: rgba(217, 119, 6, 0.6);
	--srfm-color-input-border-focus-glow: rgba(245, 158, 11, 0.22);
	--srfm-btn-color-hover: var(--log-amber);
	--srfm-row-gap-between-blocks: 20px;
	--srfm-bg-color: transparent;
	padding: clamp(20px, 3.4vw, 40px);
	border: 1px solid var(--log-border);
	border-radius: 20px;
	background: var(--log-surface-raised);
	box-shadow: var(--log-shadow);
}

body.zeal-ui .log-form .srfm-form-container .uagb-heading-text {
	color: var(--log-white);
	font-family: var(--log-font-head);
	font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

/* Get a Quote page: the page H1 already says "Get A Quote", so the form's own (H2) title is not repeated */
body.zeal-ui .log-form--no-title .srfm-form-container .wp-block-uagb-advanced-heading {
	display: none;
}

body.zeal-ui .log-form .srfm-block-single {
	width: 100%;
	flex-basis: 100%;
	max-width: 100%;
}

body.zeal-ui .log-form .srfm-block-label {
	font-family: var(--log-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
}

body.zeal-ui .log-form .srfm-description {
	font-size: 0.8125rem;
}

body.zeal-ui .log-form :is(.srfm-input-common, .srfm-input-input, .srfm-input-email, .srfm-input-textarea) {
	min-height: 48px;
	border-radius: var(--log-radius-btn);
	font-family: var(--log-font-body);
	font-size: 16px; /* prevents iOS zoom on focus */
	transition: border-color var(--log-dur) var(--log-ease), box-shadow var(--log-dur) var(--log-ease);
}

body.zeal-ui .log-form .srfm-input-textarea {
	min-height: 132px;
}

body.zeal-ui .log-form :is(.srfm-input-common):focus {
	border-color: var(--log-amber);
	box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
	outline: none;
}

body.zeal-ui .log-form .srfm-error-message {
	color: #fca5a5;
	font-size: 0.8125rem;
}

body.zeal-ui .log-form .srfm-submit-container {
	margin-top: 8px;
}

body.zeal-ui .log-form .srfm-submit-button {
	min-height: 52px;
	padding: 14px 32px;
	border: 1px solid var(--log-orange);
	border-radius: var(--log-radius-btn);
	background: var(--log-orange);
	color: var(--log-on-orange);
	font-family: var(--log-font-head);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 8px 18px -10px rgba(217, 119, 6, 0.6);
	transition: background-color var(--log-dur) var(--log-ease), transform var(--log-dur) var(--log-ease);
}

body.zeal-ui .log-form .srfm-submit-button:hover,
body.zeal-ui .log-form .srfm-submit-button:focus-visible {
	background: var(--log-amber);
	border-color: var(--log-amber);
	color: var(--log-on-orange);
	transform: translateY(-2px);
}

body.zeal-ui .log-form .srfm-success-box {
	border: 1px solid rgba(217, 119, 6, 0.4);
	border-radius: var(--log-radius-card);
	background: var(--log-navy-900);
	color: var(--log-white);
}

/* ---------------------------------------------------------------------------
   15. Long-form text (Privacy Policy)
--------------------------------------------------------------------------- */
body.zeal-ui .e-con.log-prose {
	--padding-top: clamp(48px, 6vw, 80px);
	--padding-bottom: var(--log-section-y);
	--padding-left: var(--log-gutter);
	--padding-right: var(--log-gutter);
	--content-width: min(100%, 780px);
}

body.zeal-ui .log-prose .elementor-widget-text-editor {
	color: var(--log-text);
	font-size: 1.0625rem;
	line-height: 1.75;
}

body.zeal-ui .log-prose :is(h1, h2, h3, h4) {
	color: var(--log-white);
	line-height: 1.25;
	margin: 1.6em 0 0.6em;
}

body.zeal-ui .log-prose h1 {
	margin-top: 0;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
}

body.zeal-ui .log-prose a {
	color: var(--log-amber);
}

/* ---------------------------------------------------------------------------
   16. Footer (Astra Footer Builder)
--------------------------------------------------------------------------- */
body.zeal-ui .site-footer {
	background: var(--log-navy-950);
	border-top: 1px solid var(--log-border);
	color: var(--log-text-muted);
	font-family: var(--log-font-body);
	font-size: 0.9375rem;
}

body.zeal-ui .site-footer .site-primary-footer-wrap,
body.zeal-ui .site-footer .site-below-footer-wrap {
	background: transparent;
	padding-inline: var(--log-gutter);
}

body.zeal-ui .site-footer .site-primary-footer-wrap {
	padding-top: clamp(48px, 6vw, 72px);
	padding-bottom: clamp(36px, 4vw, 52px);
}

body.zeal-ui .site-footer .ast-builder-grid-row-container-inner {
	width: 100%;
	max-width: var(--log-max);
	margin-inline: auto;
}

body.zeal-ui .site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row {
	display: grid;
	grid-template-columns: 1.3fr 1.4fr 1fr 0.8fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

body.zeal-ui .site-footer .site-footer-section {
	justify-content: flex-start;
	align-items: flex-start;
	text-align: left;
}

body.zeal-ui .site-footer .widget-title {
	text-align: left;
	margin-bottom: 14px;
	color: var(--log-white);
	font-family: var(--log-font-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

body.zeal-ui .site-footer .textwidget,
body.zeal-ui .site-footer .textwidget p {
	color: var(--log-text-muted);
	font-size: 0.9375rem;
	line-height: 1.9;
	text-align: left;
}

body.zeal-ui .site-footer a {
	color: var(--log-text);
	text-decoration: none;
	transition: color var(--log-dur) var(--log-ease);
}

body.zeal-ui .site-footer a:hover,
body.zeal-ui .site-footer a:focus-visible {
	color: var(--log-amber);
}

/* Footer logos column (block columns widget) */
body.zeal-ui .site-footer .site-footer-section-1 .wp-block-columns {
	gap: 20px;
	align-items: center;
	flex-wrap: nowrap;
	margin: 0;
}

body.zeal-ui .site-footer .site-footer-section-1 .wp-block-column {
	flex: 0 0 auto;
	flex-basis: auto !important; /* block-columns inline flex-basis */
	align-self: center;
}

body.zeal-ui .site-footer .site-footer-section-1 .wp-block-column:empty,
body.zeal-ui .site-footer .site-footer-section-1 .wp-block-gallery:empty {
	display: none;
}

body.zeal-ui .site-footer .site-footer-section-1 .wp-block-column:has(.wp-block-gallery:empty) {
	display: none;
}

body.zeal-ui .site-footer .site-footer-section-1 .wp-block-image {
	margin: 0;
}

body.zeal-ui .site-footer .site-footer-section-1 .wp-image-1822 {
	width: 92px;
	height: 92px;
	object-fit: contain;
}

body.zeal-ui .site-footer .site-footer-section-1 .wp-image-1825 {
	width: 120px;
	height: auto;
	object-fit: contain;
}

/* Social */
body.zeal-ui .site-footer .footer-social-inner-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

body.zeal-ui .site-footer .ast-builder-social-element {
	gap: 10px;
	margin: 0 !important; /* Astra spacing control */
	color: var(--log-text);
}

body.zeal-ui .site-footer .ast-builder-social-element svg {
	fill: var(--log-orange);
}

body.zeal-ui .site-footer .ast-builder-social-element:hover .social-item-label {
	color: var(--log-amber);
}

body.zeal-ui .site-footer .footer-nav-wrap .menu-link {
	padding: 0;
	color: var(--log-text);
}

/* Below footer */
body.zeal-ui .site-footer .site-below-footer-wrap {
	padding-top: 22px;
	padding-bottom: 26px;
	border-top: 1px solid var(--log-border);
}

body.zeal-ui .site-footer .ast-footer-copyright,
body.zeal-ui .site-footer .ast-footer-copyright p {
	margin: 0;
	color: var(--log-text-muted);
	font-size: 0.875rem;
	line-height: 1.7;
	text-align: center;
}

body.zeal-ui .site-footer .ast-footer-copyright a {
	color: var(--log-amber);
}

/* ---------------------------------------------------------------------------
   17. Mobile contact bar
--------------------------------------------------------------------------- */
body.zeal-ui .log-mobile-bar {
	display: none;
}

@media (max-width: 767px) {
	body.zeal-ui .log-mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		display: grid;
		grid-template-columns: 1fr 1fr 1.35fr;
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(5, 11, 20, 0.94);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--log-border);
		box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.6);
	}

	body.zeal-ui .log-mobile-bar__btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 48px;
		padding: 10px 8px;
		border: 1px solid var(--log-border-strong);
		border-radius: var(--log-radius-btn);
		background: rgba(255, 255, 255, 0.04);
		color: var(--log-white);
		font-family: var(--log-font-head);
		font-size: 0.875rem;
		font-weight: 600;
		text-decoration: none;
	}

	body.zeal-ui .log-mobile-bar__btn svg {
		flex: none;
		color: var(--log-orange);
	}

	body.zeal-ui .log-mobile-bar__btn--primary {
		min-height: 48px;
		padding: 10px 12px;
		font-size: 0.8125rem;
		box-shadow: none;
	}

	/* keep the last content clear of the bar (only on pages that output it) */
	body.zeal-ui:has(.log-mobile-bar) {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}

	/* hide while the mobile menu drawer is open */
	body.zeal-ui.ast-main-header-nav-open .log-mobile-bar,
	body.zeal-ui:has(.ast-mobile-popup-drawer.active) .log-mobile-bar {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
   18. Responsive
--------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	body.zeal-ui .e-con.log-card-grid,
	body.zeal-ui .e-con.log-card-grid--4 {
		--e-con-grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.zeal-ui .e-con.log-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.zeal-ui .site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row {
		grid-template-columns: 1fr 1fr;
	}

	body.zeal-ui #masthead .main-header-menu > .menu-item > .menu-link {
		padding-inline: 10px;
	}

	body.zeal-ui .e-con.log-contact > .e-con-inner,
	body.zeal-ui .e-con.log-contact {
		--flex-direction: column;
		flex-direction: column;
	}

	body.zeal-ui .elementor-section.log-product-grid > .elementor-container,
	body.zeal-ui .elementor-section.log-team > .elementor-container {
		gap: 16px;
	}
}

@media (max-width: 767px) {
	body.zeal-ui .e-con.log-card-grid,
	body.zeal-ui .e-con.log-card-grid--2,
	body.zeal-ui .e-con.log-card-grid--4 {
		--e-con-grid-template-columns: minmax(0, 1fr);
		grid-template-columns: minmax(0, 1fr);
	}

	body.zeal-ui .e-con.log-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.zeal-ui .site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row {
		grid-template-columns: 1fr;
		text-align: center;
	}

	body.zeal-ui .site-footer .site-footer-section,
	body.zeal-ui .site-footer .textwidget,
	body.zeal-ui .site-footer .textwidget p {
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	body.zeal-ui .site-footer .site-footer-section-1 .wp-block-columns {
		justify-content: center;
	}

	body.zeal-ui .site-footer .footer-social-inner-wrap {
		flex-direction: row;
		justify-content: center;
		gap: 18px;
	}

	body.zeal-ui .site-footer .widget-title {
		text-align: center;
	}

	body.zeal-ui .log-form .srfm-submit-button {
		width: 100%;
	}

	body.zeal-ui .elementor-section.log-product-grid > .elementor-container,
	body.zeal-ui .elementor-section.log-team > .elementor-container,
	body.zeal-ui .elementor-section.log-feature > .elementor-container {
		flex-direction: column;
	}

	body.zeal-ui .elementor-section.log-product-grid > .elementor-container > .elementor-column,
	body.zeal-ui .elementor-section.log-team > .elementor-container > .elementor-column,
	body.zeal-ui .elementor-section.log-feature > .elementor-container > .elementor-column {
		width: 100%;
	}

	body.zeal-ui .log-hero .elementor-widget-button,
	body.zeal-ui .log-hero__actions .elementor-widget-button {
		width: 100%;
	}

	body.zeal-ui .log-hero__actions .elementor-button {
		width: 100%;
	}

	body.zeal-ui .log-strip {
		text-align: center;
		--justify-content: center;
	}

	body.zeal-ui .log-strip h2.elementor-heading-title {
		text-align: center;
	}

	body.zeal-ui .log-cta-band .elementor-widget-text-editor p {
		flex-direction: column;
		align-items: stretch;
	}

	body.zeal-ui .log-cta-band .elementor-widget-text-editor a {
		justify-content: center;
	}

	body.zeal-ui .log-cta-band .elementor-widget-button,
	body.zeal-ui .log-cta-band .elementor-button {
		width: 100%;
	}

	body.zeal-ui .log-partners .e-con {
		--flex-wrap: nowrap;
		flex-wrap: nowrap;
		--gap: 10px;
		--column-gap: 10px;
	}

	body.zeal-ui .log-partners .elementor-widget-image {
		flex: 1 1 0;
		min-width: 0;
	}

	body.zeal-ui .log-partners .elementor-widget-image .elementor-widget-container {
		width: 100%;
		height: 80px;
		padding: 8px 10px;
	}
}

/* ---------------------------------------------------------------------------
   19. Reduced motion
--------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	body.zeal-ui *,
	body.zeal-ui *::before,
	body.zeal-ui *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}

	body.zeal-ui .log-card .elementor-image-box-wrapper:hover,
	body.zeal-ui .e-con.log-card:hover,
	body.zeal-ui .elementor-button:hover {
		transform: none !important;
	}
}
