/*
* Theme Name: Jannuzzio Group Child
* Theme URI: https://jannuzzio.rcma.dev
* Description: Child theme for Jannuzzio Group. Custom admin features and overrides without modifying the parent theme.
* Author: REDHYPE
* Author URI: https://redhype.com
* Template: jannuzzio-theme
* Version: 1.1.0
* License: Proprietary
* Text Domain: jannuzzio-child
*/

/* ════════════════════════════════════════════════════════════
   CLEANUP CHANGELOG — v1.1.0 (June 2026)
   ────────────────────────────────────────────────────────────
   REMOVED (exact duplicates / dead code):
   • Second verbatim copy of the entire "Why Us: Horizontal
     Scroll Snap" block (was pasted twice)
   • Duplicate body{overflow-x:hidden}, .why-tabs-content,
     .filter-btn transition rule
   • .why-tabs sticky margin-left:145px (lost to the later
     200px rule — 200px kept)
   • Mobile .why-panel translateX(24px) rules (dead — overridden
     by the later directional-transition base rules)
   • .why-tabs-menu a.is-active::after bottom:-22px rule
     (its width:100% made the active underline overflow 28px
     past the tab; the newer scaleX underline system replaces it)
   • .e-con.elementor-sticky--active { z-index: revert-rule }
     ("revert-rule" is not valid CSS — declaration was inert)
   • height:58px / font-size:12px / color:#8f8f8f declarations
     in the why-tabs link rule (all lost the cascade to the
     70px / 16px!important / #9e9e9e!important rules — winners kept)

   FIXED (previously broken syntax):
   • ".elementor-nav-menu .sub-arrow svg" rule had a stray
     DevTools paste line ("Specificity: (0,2,1)") inside the
     selector — the whole rule was invalid and never applied.
     Now applies. (fill loses to the #fff !important arrow rule
     anyway; color:#111 now takes effect.)
   • a.jn-btn-primary had a doubled "!important; !important;"
   • h5 had an invalid second "font-family: auto" declaration

   MERGED (same selector, later values won — now one rule):
   • .why-tabs-bar (3 definitions → background #f3f2ef kept)
   • .jn-content (2 definitions)
   • .jn-tab base padding + 30/30/30/60 override
   • li.control.dynamic-gallery-category (2 definitions)

   ADDED:
   • Section 2b — header responsive fixes (gutters, rigid right
     cluster, 1025–1500px progressive tightening). Tested live
     at 880 / 1035 / 1390px viewports.

   FLAGGED (review when convenient):
   • .jn-content has padding:60px !important — it overrides the
     mobile padding in the ≤768px hero media query. If mobile
     hero padding looks too wide, drop that !important.
   • Section 5 (legacy scroll-snap .why-us-*) appears superseded
     by the .why-tabs-* system. Kept once; delete the whole
     section if the snap layout is fully retired.
   • In the ≤1024 mobile menu block, the dropdown offset
     margin-right:-144px was tuned before the new header gutter
     existed — re-check open-hamburger alignment.
   ════════════════════════════════════════════════════════════ */
.charleft.ginput_counter.gfield_description {
    font-size: 12px;
}

div#jannuzzio-inline {
    margin: auto;
}

.page-id-10874 .jn-inline-header {
    display: none;
}
.type-post .elementor-post__text {
    padding: 30px 30px 30px 10px;
}
.elementor-post__thumbnail {
    padding: 0 !important;
}
.elementor-tab-title.elementor-active {
    background: #111 !important;
}
.servicearea li {
    margin-left: 4px;
    line-height: 20px;
    font-size: 14px !important;
    list-style-type: none;
}

.servicearea li:before {
    content: ' ';
    background-color: #eeeeee45;
    height: 10px;
    width: 3px;
    display: inline-block;
    margin-right: 15px;
}
/* ════════════════════════════════════════════════════════════
   1. BASE TYPOGRAPHY & UTILITIES
   ════════════════════════════════════════════════════════════ */

p, .elementor-widget-text-editor {
	font-size: clamp(15px, 1.2vw, 16px);
	line-height: 22px;
	margin-bottom: 15px;
}

h5 {
	font-family: 'Barlow Condensed', sans-serif !important;
	font-weight: 700 !important;
	font-size: 20px !important;
	margin: 0 0 5px 0 !important;
	text-transform: uppercase !important;
}

.smallfont p {
	font-size: 14px;
	line-height: 20px;
}

.white, .white p {
	color: #fff !important;
}

.pagehead p {
	color: #fff;
}

.vertspacer {
	height: 30px;
	opacity: 0.25;
}

.vertdiv {
	width: 5px;
	background: #C5C1BC;
	height: 160px;
}

/* Anchor offset helper */
.offset {
	scroll-margin-top: 80px;
}
.offset::before {
	content: '';
	display: block;
	height: 60px;
	margin-top: -60px;
	pointer-events: none;
}

/* Smooth anchor scrolling */
html {
	scroll-behavior: smooth;
}

/* Safety net: no horizontal page scroll */
body {
	overflow-x: hidden;
}


/* ════════════════════════════════════════════════════════════
   2. HEADER & MAIN NAVIGATION
   ════════════════════════════════════════════════════════════ */

/* ── 2a. Existing header/nav tweaks ───────────────────────── */

/* Keep the main Elementor header above sticky subnavs */
.elementor-location-header {
	z-index: 100;
}

.elementor-nav-menu--layout-horizontal {
	display: flex;
	width: fit-content !important;
}

/* Left container sizes to content on desktop */
.elementor-element.elementor-element-4b31336.e-con-full.nav-l.e-flex.e-con.e-child {
	width: auto !important;
}

/* Dropdown arrow color (rule was previously broken — see changelog) */
.elementor-nav-menu .sub-arrow svg {
	color: #111 !important;
	fill: #111;
}

.elementor-nav-menu--main .elementor-item .elementor-nav-menu-icon,
.elementor-nav-menu--main li.menu-item-has-children > a svg,
.elementor-nav-menu--main li.menu-item-has-children > a i {
	fill: #111;
}

.elementor-sticky--effects li.menu-item-has-children > a svg {
	fill: #111 !important;
}

li.menu-item-has-children > a svg {
	fill: #fff !important;
}

/* Sticky header background */
.headercontainer.elementor-sticky--effects:before {
	background: #fff !important;
	opacity: 1 !important;
}

/* Nav typography below 1450px */
@media (max-width: 1450px) {

	.elementor-nav-menu--main .elementor-item {
		font-family: 'Barlow Condensed', sans-serif !important;
		font-weight: 700 !important;
		font-size: 18px !important;
		letter-spacing: 0.1em !important;
		text-transform: uppercase !important;
		color: var(--milk) !important;
		height: 68px !important;
		display: flex !important;
		align-items: center !important;
		gap: 3px !important;
		transition: color 0.2s !important;
		text-decoration: none !important;
		padding: 10px !important;
	}

	.elementor-widget-theme-site-logo {
		height: 70px;
		width: 150px;
	}

	span.nav-phone-num,
	span.nav-phone-label,
	.nav-r span.elementor-button-text {
		font-size: 16px !important;
	}

	.nav-r.e-flex.e-con-boxed.e-con.e-child {
		right: 0;
	}
}

/* Mobile menu (hamburger range, ≤1024) */
@media (max-width: 1024px) {
	header a.elementor-button.elementor-button-link.elementor-size-sm {
    margin-left: 20px !important;
}

.elementor-element.elementor-element-c5b30d7.nav-r.e-flex.e-con-boxed.e-con.e-child {
    width: 160px !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

header {
    display: flex;
}

.headercontainer {
    width: Calc(100% - 200px !important);
}

header.elementor-location-header .headercontainer > .e-con-inner {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    justify-content: flex-end;
}

.jn-nav-menu {
    max-width: 60px !important;
}


.elementor-element.elementor-element-4b31336.e-con-full.nav-l.e-flex.e-con.e-child {
    display: flex;
    justify-content: space-between;
}

	

.elementor-element.elementor-element-c14159a.e-con-full.e-flex.e-con.e-child {
    max-width: 165px !important;
}

.elementor-element.elementor-element-8033e95.jn-nav-menu.e-con-full.e-flex.e-con.e-child {
    width: 300px !important;
}
	
	.elementor-nav-menu--burger.elementor-widget.elementor-widget-nav-menu {
		align-self: center;
	}

	svg.elementor-menu-toggle__icon--open.e-font-icon-svg.e-eicon-menu-bar {
		height: 1.7em;
		width: 2em;
	}

	.elementor-element.elementor-element-4b31336.e-con-full.nav-l.e-flex.e-con.e-child {
		width: calc(100% - 144px) !important;
	}

	.elementor-menu-toggle {
		margin-right: 20px;
		background: transparent !important;
	}
	.elementor-menu-toggle svg {
		fill: #fff !important;
	}
	.elementor-menu-toggle .e-font-icon-svg {
		height: 2em;
		width: 2em;
	}

	.elementor-sticky--effects .elementor-menu-toggle {
		background: #fff !important;
	}
	.elementor-sticky--effects .elementor-menu-toggle svg {
		fill: #111 !important;
	}

	.elementor-active nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
		opacity: 1;
	}

	/* NOTE: -144px offset predates the new header gutter (2b) —
	   re-check open-menu alignment, may need ~-130px now */
	.elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container {
		opacity: 1 !important;
		left: auto !important;
		right: auto !important;
		place-self: self-end;
		margin-top: 11px !important;
		margin-right: -160px !important;
	}

	.elementor-nav-menu--dropdown .elementor-item {
		font-family: 'Barlow Condensed', sans-serif !important;
		font-weight: 700 !important;
		font-size: 20px !important;
		letter-spacing: 0.1em !important;
		text-transform: uppercase !important;
		color: var(--milk) !important;
		border-bottom: 1px solid rgba(255,255,255,0.06) !important;
		padding: 20px 25px !important;
	}

	.elementor-sticky--effects li.menu-item-has-children > a svg {
		fill: #ffffff !important;
	}
}

/* ── 2b. HEADER RESPONSIVE FIXES (added v1.1.0) ───────────────
   - Gutter so the Free Estimate CTA never touches the edge
   - Right cluster (phone + CTA) can never be crushed or pushed
     off-canvas — the nav shrinks instead
   - Progressive tightening through the 1025–1500px cramped zone
   Desktop nav range: 1025px+ (Elementor tablet breakpoint = 1024)
   ───────────────────────────────────────────────────────────── */

/* Side gutters at every size (fixes flush-edge clipping) */
header.elementor-location-header .headercontainer > .e-con-inner {
	padding-left: clamp(14px, 2.5vw, 40px) !important;
	padding-right: clamp(14px, 2.5vw, 40px) !important;
}

/* Right cluster: rigid — sized to its content, never squeezed */
header.elementor-location-header .nav-r {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: max-content !important;
}

/* Phone + button text must never wrap/stack */
header.elementor-location-header .nav-phone,
header.elementor-location-header .nav-r .elementor-button {
	white-space: nowrap !important;
}

/* Tier 1 (1025–1500px): nav slightly tighter */
@media (max-width: 1500px) and (min-width: 1025px) {
	header.elementor-location-header .elementor-nav-menu--main .elementor-item {
		font-size: 16px !important;
		letter-spacing: 1px !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
}

/* Tier 2 (1025–1380px): tighter still, drop the "Call Us" label */
@media (max-width: 1380px) and (min-width: 1025px) {
	header.elementor-location-header .elementor-nav-menu--main .elementor-item {
		font-size: 15px !important;
		letter-spacing: 0.5px !important;
		padding-left: 6px !important;
		padding-right: 6px !important;
	}
	header.elementor-location-header .nav-phone-label {
		display: none !important;
	}
	header.elementor-location-header .nav-phone {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
}

/* Tier 3 (1025–1200px): phone becomes icon-only, slimmer button */
@media (max-width: 1200px) and (min-width: 1025px) {
	header.elementor-location-header .nav-phone > div:last-child {
		display: none !important;
	}
	header.elementor-location-header .nav-r .elementor-button {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}
}


/* ════════════════════════════════════════════════════════════
   3. HERO ROTATOR  (#jn-hero — Elementor HTML widget)
   ════════════════════════════════════════════════════════════ */

/* ── Reset & container ────────────────────────────────────── */
#jn-hero *,
#jn-hero *::before,
#jn-hero *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

#jn-hero {
	position: relative;
	width: 100%;
	background: #111;
	font-family: Arial, Helvetica, sans-serif;
	overflow: hidden;
	min-height: 580px; /* adjust to taste — or use aspect-ratio */
}

/* ── Slides ───────────────────────────────────────────────── */
.jn-slide {
	display: none;
	position: relative;
	width: 100%;
	min-height: 580px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	align-items: flex-end;
	animation: none;
}
.jn-slide.active {
	display: flex;
	animation: jnFadeIn 0.55s ease forwards;
}
@keyframes jnFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Dark overlay — tweak opacity for image brightness */
.jn-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.35) 60%,
		rgba(0, 0, 0, 0.10) 100%
	);
}

/* ── Slide content ────────────────────────────────────────── */
/* FLAGGED: padding:60px !important also wins inside the ≤768px
   media query below — remove !important if mobile feels cramped */
.jn-content {
	position: relative;
	z-index: 2;
	max-width: 100%;
	padding: 60px !important;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 700px !important;
	margin-top: 20vh !important;
}

/* Reset browser/Elementor heading defaults within the widget */
#jn-hero h2,
#jn-hero h3 {
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
}

#jn-hero h3 {
	letter-spacing: -0.02em;
	text-transform: uppercase;
	font-family: 'Barlow Condensed', sans-serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #f4cf35;
}
#jn-hero h3:before {
	content: ' ';
	width: 7px;
	height: 7px;
	background: #f4cf35;
	flex-shrink: 0;
	transform: rotate(45deg);
}

#jn-hero h2 {
	line-height: 0.85;
	font-family: 'Barlow Condensed' !important;
	font-size: 80px;
	font-weight: 900;
	color: #fff;
}

.jn-eyebrow {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #F4CF35;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.jn-eyebrow::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	background: #F4CF35;
	transform: rotate(45deg);
	flex-shrink: 0;
}

.jn-title {
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 900;
	line-height: 1.0;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	margin-bottom: 16px;
}
.jn-title span {
	color: #F4CF35;
}

.jn-sub {
	font-size: 16px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.70);
	line-height: 1.6;
	margin-bottom: 28px;
	max-width: 740px;
	min-height: 50px !important;
}

/* ── CTA buttons ──────────────────────────────────────────── */
.jn-ctas {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: center;
}

.jn-btn-primary,
.jn-btn-outline {
	display: inline-block;
	text-decoration: none;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	/* Brand asymmetric radius — matches logo form */
	border-radius: 20px 0 20px 20px;
	padding: 13px 26px;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.15s;
}
.jn-btn-primary:hover,
.jn-btn-outline:hover {
	opacity: 0.88;
	transform: translateY(-1px);
}
.jn-btn-primary {
	background: #F4CF35;
	color: #111111;
	border: none;
}
.jn-btn-outline {
	background: transparent;
	color: #ffffff;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
}

a.jn-btn-primary {
	padding: 15px 40px 15px 40px !important;
	display: block !important;
}

#jn-hero button {
	border-radius: 20px 0px 20px 20px;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.4px;
	border-style: solid;
	border-width: 1px;
	border-color: #F4CF35;
	padding: 15px 40px;
}

/* ── Tab strip ────────────────────────────────────────────── */
.jn-tabs {
	display: flex;
	width: 100%;
	background: #1a1a1a;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.jn-tab {
	flex: 1;
	position: relative;
	padding: 30px 30px 30px 60px !important;
	cursor: pointer;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	transition: background 0.2s;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.jn-tab:last-child {
	border-right: none;
}
.jn-tab:hover {
	background: rgba(255, 255, 255, 0.04);
}

/* Gold top accent on active tab */
.jn-tab::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: #F4CF35;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s;
}
.jn-tab.active::before {
	transform: scaleX(1);
}

.jn-tab-label {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 16px !important;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(244, 207, 53, 0.45);
	transition: color 0.2s;
	display: block;
}
.jn-tab.active .jn-tab-label {
	color: #F4CF35;
}

.jn-tab-title {
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
	transition: color 0.2s;
	display: block;
}
.jn-tab.active .jn-tab-title {
	color: #ffffff;
}

/* Progress bar — crawls across bottom of active tab */
.jn-tab-progress {
	position: absolute;
	bottom: 0; left: 0;
	height: 2px;
	width: 0%;
	background: #F4CF35;
	display: block;
}
.jn-tab.active .jn-tab-progress {
	/* Duration set via JS to match JN_DURATION */
	animation: jnProgress linear forwards;
}
@keyframes jnProgress {
	from { width: 0% }
	to   { width: 100% }
}

/* ── Hero responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
	#jn-hero,
	.jn-slide {
		min-height: 480px;
	}
	.jn-content {
		padding: 2rem 1.5rem 2.5rem; /* currently loses to the 60px !important above — see flag */
	}
	.jn-title {
		font-size: 34px;
	}
	.jn-tab {
		padding: 12px 10px 10px;
	}
	.jn-tab-title {
		font-size: 11px;
	}
}

@media (max-width: 480px) {
	.jn-tabs {
		/* Stack tabs vertically on very small screens */
		flex-direction: column;
	}
	.jn-tab {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		flex-direction: row;
		align-items: center;
		gap: 8px;
	}
	.jn-tab::before {
		width: 2px;
		height: 100%;
		top: 0; left: 0; bottom: 0; right: auto;
		transform: scaleY(0);
		transform-origin: top;
	}
	.jn-tab.active::before {
		transform: scaleY(1);
	}
}

@media (min-width: 1450px) {
	.padding {
		padding: 0 !important;
	}
	.jn-content {
		margin-left: calc(50% - 786px) !important;
	}
}


/* ════════════════════════════════════════════════════════════
   4. WHY US — STICKY TABS + PANEL SWITCHING (current system)
   Main sticky header offset: 76px
   ════════════════════════════════════════════════════════════ */

/* ── Sticky tab bar ───────────────────────────────────────── */
.why-tabs-bar {
	position: sticky;
	top: 76px;
	z-index: 90;
	background: #f3f2ef;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	transition:
		background-color 0.28s ease,
		box-shadow 0.28s ease;
}

.why-tabs-bar .why-tabs-menu {
	width: 100%;
	margin-left: 0;
	transition: margin-left 0.28s ease;
}

.why-tabs-menu ul {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
}

.why-tabs-menu li {
	list-style: none;
}
.why-tabs-menu li:hover {
	background: #111;
}

/* ── Tab links ────────────────────────────────────────────── */
.why-tabs-menu a {
	cursor: pointer;
	position: relative;
}

/* Sizing/transition (highest-specificity height rule — wins) */
.why-tabs-bar .why-tabs-menu a.elementor-item.elementor-item-anchor {
	height: 70px;
	min-height: 70px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	transition:
		height 0.28s ease,
		min-height 0.28s ease,
		font-size 0.28s ease,
		letter-spacing 0.28s ease,
		color 0.28s ease,
		background-color 0.28s ease,
		opacity 0.28s ease;
}

/* Typography */
.why-tabs-menu a.elementor-item.elementor-item-anchor {
	color: #9e9e9e !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	font-style: normal;
	letter-spacing: 0.5px !important;
	padding: 0 28px;
}

/* Hover / active color */
.why-tabs-menu a.elementor-item:hover,
.why-tabs-menu a.elementor-item.elementor-item-active,
.why-tabs-menu a.elementor-item.is-active {
	color: #111;
}
.why-tabs-menu a.is-active {
	font-weight: 700;
}
.why-tabs-menu a.elementor-item.elementor-item-anchor.is-active {
	border-bottom: 3px solid #F4CF35;
	border-right: 1px solid #eee;
}

/* Gold underline indicator */
.why-tabs-menu a.elementor-item::after {
	content: "";
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 0;
	height: 2px;
	background: #ffd426;
	opacity: 0;
	transform: scaleX(0.75);
	transition:
		opacity 0.24s ease,
		transform 0.24s ease;
}
.why-tabs-menu a.elementor-item:hover::after,
.why-tabs-menu a.elementor-item.elementor-item-active::after,
.why-tabs-menu a.elementor-item.is-active::after {
	opacity: 1;
	transform: scaleX(1);
}

/* Prevent mouse-click focus outline, preserve keyboard focus */
.why-tabs-menu a:focus:not(:focus-visible) {
	outline: none;
}

/* ── Sticky-effects (scrolled) state ──────────────────────── */
.why-tabs-bar.elementor-sticky--effects .why-tabs-menu a.elementor-item.elementor-item-anchor {
	height: 50px !important;
	min-height: 50px !important;
}
.why-tabs-bar.elementor-sticky--effects .why-tabs-menu {
	margin-left: 200px !important;
}
.why-tabs-bar.elementor-sticky--effects {
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
	border-top: 1px solid #eee;
}

/* ── Panel switching ──────────────────────────────────────── */
.why-tabs-content {
	position: relative;
	overflow: hidden;
}

/* Legacy single-class exit (kept for older JS paths) */
.why-panel.is-exiting {
	display: block;
	opacity: 0;
	transform: translateX(-36px);
}

/* Directional transitions */
.why-panel {
	display: none;
	opacity: 0;
	transform: translateX(0);
	transition:
		opacity 0.36s ease,
		transform 0.36s ease;
	will-change: opacity, transform;
}
.why-panel.is-active {
	display: flex !important;
	opacity: 1;
	transform: translateX(0);
}
.why-panel.is-entering-from-right {
	display: block;
	opacity: 0;
	transform: translateX(34px);
}
.why-panel.is-entering-from-left {
	display: flex !important;
	opacity: 0;
	transform: translateX(-34px);
}
.why-panel.is-entering-active {
	opacity: 1;
	transform: translateX(0);
}
.why-panel.is-exiting-to-left {
	display: flex !important;
	opacity: 0;
	transform: translateX(-34px);
}
.why-panel.is-exiting-to-right {
	display: flex !important;
	opacity: 0;
	transform: translateX(34px);
}

/* ── Anchor offsets for tab sections ──────────────────────── */
#about,
#financing,
#service-areas,
#faqs,
#blog {
	scroll-margin-top: 150px;
}

/* ── Stacking safety ──────────────────────────────────────── */
.tab-switcher {
	z-index: 1 !important;
}

/* ── Why Us mobile ────────────────────────────────────────── */
@media (max-width: 767px) {
	.why-tabs-bar {
		top: 76px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.why-tabs-menu,
	.why-tabs-menu ul {
		flex-wrap: nowrap;
		min-width: max-content;
	}

	.why-tabs-menu a.elementor-item,
	.why-tabs-menu a.elementor-item.elementor-item-anchor {
		height: 52px;
		padding: 0 18px;
	}

	.why-tabs-bar.elementor-sticky--effects .why-tabs-menu {
		margin-left: 0 !important;
	}
	.why-tabs-bar.elementor-sticky--effects .why-tabs-menu a.elementor-item.elementor-item-anchor {
		height: 48px !important;
	}

	#about,
	#financing,
	#service-areas,
	#faqs,
	#blog {
		scroll-margin-top: 125px;
	}
}


/* ════════════════════════════════════════════════════════════
   5. WHY US — LEGACY HORIZONTAL SCROLL SNAP
   FLAGGED: superseded by section 4 (.why-tabs-*). Delete this
   whole section once the snap layout is confirmed retired.
   ════════════════════════════════════════════════════════════ */

.why-us-snap-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	overflow-x: scroll;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.why-us-snap-wrapper::-webkit-scrollbar {
	display: none;
}

.why-us-panel {
	min-width: 100vw;
	width: 100vw;
	flex-shrink: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.why-us-subnav {
	position: sticky;
	top: 76px;
	z-index: 99;
	background: #ffffff;
	border-bottom: 1px solid rgba(17,17,17,0.08);
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.why-us-subnav-inner {
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
	white-space: nowrap;
}
.why-us-subnav-inner::-webkit-scrollbar {
	display: none;
}

.why-us-subnav .current-menu-item > a,
.why-us-subnav .current-menu-ancestor > a {
	color: #111111 !important;
	border-bottom: 2px solid #F4CF35;
}

@media (max-width: 768px) {
	.why-us-subnav .elementor-nav-menu a {
		font-size: 10px;
		padding: 14px 14px;
	}
	.why-us-hero .elementor-heading-title {
		font-size: 36px !important;
	}
	.padding, .jn-content {
    padding-left: 30px !important;
    padding-right: 30px !important;
}
}


/* ════════════════════════════════════════════════════════════
   6. COVERAGE AREA WIDGET
   ════════════════════════════════════════════════════════════ */

/* Gold underline on state headings */
.coverage-state-heading .elementor-heading-title {
	display: inline-block;
	padding-bottom: 8px;
	border-bottom: 2px solid #F4CF35;
}

/* Two-column county grid */
.coverage-county-list .elementor-icon-list-items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 24px;
}
.coverage-county-list .elementor-icon-list-item {
	border-bottom: 1px solid rgba(17,17,17,0.07);
	padding-bottom: 6px;
}
.coverage-county-list .elementor-icon-list-icon svg,
.coverage-county-list .elementor-icon-list-icon i {
	font-size: 7px !important;
}


/* ════════════════════════════════════════════════════════════
   7. PORTFOLIO / FILTER GALLERY (EAEL + custom filters)
   ════════════════════════════════════════════════════════════ */

/* ── Custom filter buttons ────────────────────────────────── */
.filter-btn {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 7px 16px;
	border: 1px solid rgba(17, 17, 17, 0.2);
	background: transparent;
	color: rgba(17, 17, 17, 0.5);
	cursor: pointer;
	border-radius: 2px;
	transition: background 0.18s ease, color 0.18s ease,
	            border-color 0.18s ease, transform 0.15s ease;
}
.filter-btn:hover:not(.active) {
	transform: translateY(-1px);
}
.filter-btn:active {
	transform: scale(0.96);
	transition-duration: 0.06s;
}
.filter-btn.active, .filter-btn:hover {
	background: var(--flash);
	color: var(--obsidian);
	border-color: var(--flash);
}

.portfolio-filter.fade-up.visible {
	display: flex;
	gap: 5px;
}

/* ── EAEL filter gallery ──────────────────────────────────── */
.eael-filter-gallery-container .caption .item-content h2 a {
	color: #fff;
	pointer-events: none;
	cursor: default;
}

li.control.dynamic-gallery-category {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.5) !important;
	cursor: pointer;
	padding: 7px 16px;
	border: 1px solid rgba(17, 17, 17, 0.2);
	background: transparent;
	border-radius: 0 !important;
	transition: 0.15s;
}

.eael-filter-gallery-control ul li.control.active {
	color: #111 !important;
	background: #F4CF35 !important;
	border: none;
}

.eael-filter-gallery-container .caption .buttons a {
	background: #F4CF35 !important;
}

.eael-filter-gallery-control {
	display: flex;
	flex-direction: column;
	align-content: flex-start;
}

.eael-filter-gallery-control ul {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	gap: 0 !important;
	padding: 0 !important;
}

.caption {
	display: flex;
	justify-content: flex-end;
	padding-bottom: 20px;
}
.caption p {
	font-size: 14px;
	line-height: 16px;
	margin-bottom: 20px;
}
.eael-filter-gallery-container .caption .buttons a svg {
	fill: #111 !important;
	line-height: 16px !important;
	vertical-align: middle;
	margin-top: -4px;
}
.buttons a:last-child {
	display: none !important;
}

/* ── Grouped filter rows (By Type / By Material) ──────────── */
.jn-filter-group {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 6px !important;
	position: relative !important;
	padding: 18px 20px 8px 0 !important;
}
.jn-filter-type {
	margin-right: 8px !important;
}
.jn-filter-group::before {
	position: absolute !important;
	top: 2px !important;
	left: 0 !important;
	font-size: 10px !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: #888 !important;
	font-weight: 500 !important;
	line-height: 1 !important;
}
.jn-filter-type::before {
	content: 'By Type' !important;
	margin-left: 65px;
}
.jn-filter-material::before {
	content: 'By Material' !important;
}
.jn-filter-group li {
	display: inline-flex !important;
	width: auto !important;
	flex-basis: auto !important;
	margin: 0 !important;
}

@media (max-width: 600px) {
	.jn-filter-type {
		border-right: none !important;
		border-bottom: 1px solid rgba(0,0,0,0.15) !important;
		margin-right: 0 !important;
		width: 100% !important;
		padding-right: 0 !important;
		margin-bottom: 4px !important;
	}
	.jn-filter-material {
		width: 100% !important;
	}
}


/* ════════════════════════════════════════════════════════════
   8. GRAVITY FORMS
   ════════════════════════════════════════════════════════════ */

/* ── Form 3 (row layout) ──────────────────────────────────── */
div#gform_fields_3 {
	flex-direction: row;
	gap: 20px;
}
#gform_fields_3 .gfield {
	margin-right: 0px !important;
	width: 33%;
}

/* ── Form 2 (float layout) ────────────────────────────────── */
#gform_fields_2 {
	display: block;
}
.gfield {
	float: left;
	margin-right: 3%;
	margin-bottom: 20px;
}
#field_2_2, #field_2_4 {
	width: 47%;
}
div#field_2_5, #field_2_8, #field_2_7 {
	width: 30.33%;
}
div#field_2_9 {
	width: 97%;
}
div#field_2_3 {
	width: 97%;
}
fieldset#field_2_8 {
	padding: 10px;
	border: none;
}
div#gfield_description_2_3 {
	display: none;
}
textarea#input_2_3 {
	max-height: 100px;
}

/* ── Shared form styling ──────────────────────────────────── */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="number"],
.gform_wrapper select,
.gform_wrapper textarea {
	background: #fff;
	border-color: #F4EEE9;
	border-width: 2px;
}

.gform_wrapper .gfield_label {
	font-family: var(--font-label);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1px;
	text-transform: uppercase;
	color: var(--mid);
	margin-bottom: 6px;
	display: block;
}

.drawbody .gfield {
	margin-bottom: 0;
}


/* ════════════════════════════════════════════════════════════
   9. MISC COMPONENTS
   ════════════════════════════════════════════════════════════ */

.eael-breadcrumbs__content {
	border: none !important;
}

a.dialog-close-button.dialog-lightbox-close-button {
	background: #fff;
	border-radius: 0 !important;
	margin-right: 12px;
}

.infobox-icon-wrap {
	border-radius: 14px 0 14px 14px !important;
}

/* ── Equal-height Elementor carousel items ────────────────── */
.equal-height-carousel .swiper-wrapper {
	align-items: stretch;
}
.equal-height-carousel .swiper-slide {
	height: auto;
	display: flex;
}
.equal-height-carousel .swiper-slide > .elementor-element,
.equal-height-carousel .swiper-slide > .e-con,
.equal-height-carousel .swiper-slide > .elementor-widget-wrap {
	width: 100%;
	display: flex;
	flex-direction: column;
}
.equal-height-carousel .swiper-slide .elementor-widget-container {
	height: 100%;
}
.equal-height-carousel .swiper-slide .e-con,
.equal-height-carousel .swiper-slide .elementor-column,
.equal-height-carousel .swiper-slide .elementor-widget-wrap {
	height: 100%;
}
.elementor-nav-menu--main .elementor-item {
	padding: 0 10px !important;
}
header .e-con-inner {
    max-width: 1580px !important;
    left: 20px;
    position: relative;
}
.single-post .blogcontainer h2 {
    color: #111;
    font-size: 32px;
    padding-bottom: 10px;
}

.single-post .blogcontainer h2:after {
    color: #f4cf35;
    display: block;
    height: 3px;
    width: 100px;
    content: '';
}
.blogcontainer ul {
    margin-left: 30px;
    margin-bottom: 20px;
}
footer h3:before  {
    background: #111 !important;
}

@media (max-width: 1024px) {
	
	
/* re-enable the mobile dropdown when the toggle is active */
.elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown,
nav.elementor-nav-menu--dropdown[aria-hidden="false"] {
  opacity: 1 !important;
  pointer-events: auto !important;
}
	
	
  /* keep the open mobile menu interactive */
  .elementor-menu-toggle.elementor-active + nav.elementor-nav-menu--dropdown {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  /* submenus stack inline and expand on tap */
  nav.elementor-nav-menu--dropdown li.menu-item-has-children > .sub-menu {
    display: none !important;
  }
  nav.elementor-nav-menu--dropdown li.menu-item-has-children.is-open > .sub-menu {
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    min-width: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}


@media (min-width: 1025px) {
  .elementor-nav-menu--main .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: var(--obsidian) !important;
    min-width: 230px !important;
    border-top: 2px solid var(--flash) !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .elementor-nav-menu--main li.menu-item-has-children:hover > .sub-menu,
  .elementor-nav-menu--main li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1 !important;
    pointer-events: all !important;
  }
  .elementor-nav-menu--main li.menu-item-has-children:hover > a .elementor-nav-menu-icon,
  .elementor-nav-menu--main li.menu-item-has-children:hover > a svg,
  .elementor-nav-menu--main li.menu-item-has-children:hover > a i {
    transform: rotate(180deg) !important;
  }
}
@media (max-width: 1024px) {
  nav.elementor-nav-menu--dropdown li.menu-item-has-children > .sub-menu {
    display: none !important;
  }
  nav.elementor-nav-menu--dropdown li.menu-item-has-children.jn-open > .sub-menu {
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    min-width: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
	.portfolio-filter.fade-up.visible a {
    font-size: 10px;
    line-height: 15px;
}
.portfolio-filter.fade-up.visible {
    column-wrap: wrap;
    width: 100% !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    row-gap: 7px;
}
}
a.eael_post_excerpt_read_more {
    display: none;
}

