/*
Theme Name: Home Remodeling and Equity LLC
Theme URI: https://homeremodelingeq.com/
Author: Home Remodeling and Equity LLC
Author URI: https://homeremodelingeq.com/
Description: A modern, minimalist custom theme for Home Remodeling and Equity LLC — kitchens, bathrooms, roofing, additions, basements, and decks in South Jersey. Includes a one-click setup that builds every page with native Elementor widgets, a quote form with email notifications, Google Maps, business hours, and a Claude AI chat assistant.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hre
Tags: business, custom-logo, custom-menu, featured-images, theme-options, one-column, two-columns, right-sidebar, blog
*/

/* ==========================================================================
   1. Tokens (overridden by Customizer inline CSS)
   ========================================================================== */
:root {
	--hre-primary: #B8925A;
	--hre-primary-dark: #8F6F40;
	--hre-primary-soft: #F3EBDD;
	--hre-dark: #141414;
	--hre-light: #F5EFE6;
	--hre-topbar-bg: #0B0B0B;
	--hre-header-bg: #FFFFFF;
	--hre-footer-bg: #141414;
	--hre-text: #4A4A4A;
	--hre-muted: #7A7A7A;
	--hre-border: #E8E1D6;
	--hre-white: #FFFFFF;
	--hre-heading-font: "Montserrat", system-ui, sans-serif;
	--hre-body-font: "Inter", system-ui, sans-serif;
	--hre-body-size: 16px;
	--hre-header-height: 88px;
	--hre-hero-height: 680px;
	--hre-radius: 14px;
	--hre-shadow: 0 12px 32px rgba(20, 20, 20, 0.08);
	--hre-shadow-lg: 0 24px 60px rgba(20, 20, 20, 0.14);
	--hre-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--hre-white);
	color: var(--hre-text);
	font-family: var(--hre-body-font);
	font-size: var(--hre-body-size);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--hre-primary-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--hre-primary); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--hre-heading-font);
	color: var(--hre-dark);
	line-height: 1.2;
	margin: 0 0 .6em;
	font-weight: 700;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--hre-primary); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.hre-skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 10000;
	background: var(--hre-dark); color: #fff;
	padding: 10px 16px; border-radius: 6px;
}

.hre-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.hre-section { padding: 88px 0; }
.hre-section-light { background: var(--hre-light); }
.hre-center { justify-content: center; text-align: center; }
.hre-icon { flex-shrink: 0; }

/* ==========================================================================
   3. Buttons, labels
   ========================================================================== */
.hre-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 26px;
	border-radius: 8px;
	border: 2px solid transparent;
	font-family: var(--hre-heading-font);
	font-weight: 700; font-size: 14px; letter-spacing: .02em;
	line-height: 1.2;
	cursor: pointer;
	transition: background .25s var(--hre-ease), color .25s, border-color .25s, transform .25s var(--hre-ease), box-shadow .25s;
	text-align: center;
}
.hre-btn:hover { transform: translateY(-2px); }
.hre-btn-primary { background: var(--hre-primary); color: #fff; }
.hre-btn-primary:hover { background: var(--hre-primary-dark); color: #fff; box-shadow: 0 10px 24px rgba(184, 146, 90, .35); }
.hre-btn-outline { border-color: var(--hre-dark); color: var(--hre-dark); background: transparent; }
.hre-btn-outline:hover { background: var(--hre-dark); color: #fff; }
.hre-btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.hre-btn-ghost:hover { border-color: #fff; background: #fff; color: var(--hre-dark); }
.hre-btn-lg { padding: 16px 32px; font-size: 15px; }
.hre-btn-block { width: 100%; }
.hre-btn[disabled] { opacity: .65; cursor: wait; transform: none; }

.hre-label, .hre-pill {
	display: inline-block;
	font-family: var(--hre-heading-font);
	font-size: 12px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--hre-primary-dark);
	margin-bottom: 14px;
}
.hre-label::before {
	content: ""; display: inline-block; width: 28px; height: 2px;
	background: var(--hre-primary); vertical-align: middle; margin-right: 10px;
}
.hre-pill {
	padding: 7px 16px; border-radius: 999px;
	background: rgba(184, 146, 90, .16);
	border: 1px solid rgba(184, 146, 90, .45);
	color: var(--hre-primary);
}
.hre-hl { color: var(--hre-primary); }
.hre-link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--hre-heading-font); font-weight: 700; font-size: 14px;
	color: var(--hre-primary-dark);
}
.hre-link-arrow .hre-icon { width: 16px; height: 16px; transition: transform .25s var(--hre-ease); }
.hre-link-arrow:hover .hre-icon, .hre-service-card:hover .hre-link-arrow .hre-icon { transform: translateX(4px); }

/* ==========================================================================
   4. Top bar & header
   ========================================================================== */
.hre-topbar { background: var(--hre-topbar-bg); color: rgba(255, 255, 255, .78); font-size: 13px; }
.hre-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.hre-topbar-info { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.hre-topbar-info a, .hre-topbar-info > span { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.hre-topbar-info a:hover { color: var(--hre-primary); }
.hre-topbar .hre-icon { width: 15px; height: 15px; color: var(--hre-primary); }

.hre-social { display: flex; gap: 8px; }
.hre-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	background: rgba(255, 255, 255, .08); color: #fff;
	transition: background .2s, transform .2s;
}
.hre-social a:hover { background: var(--hre-primary); color: #fff; transform: translateY(-2px); }
.hre-social .hre-icon { width: 16px; height: 16px; }
.hre-topbar-social a { width: 28px; height: 28px; background: transparent; }
.hre-topbar-social .hre-icon { color: rgba(255, 255, 255, .78); }

.hre-header {
	background: var(--hre-header-bg);
	border-bottom: 1px solid var(--hre-border);
	z-index: 999;
	transition: box-shadow .3s;
}
.hre-header.is-sticky { position: sticky; top: 0; }
.admin-bar .hre-header.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .hre-header.is-sticky { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hre-header.is-sticky { top: 0; } }
.hre-header.is-scrolled { box-shadow: 0 8px 30px rgba(20, 20, 20, .08); }
.hre-header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--hre-header-height); }

.hre-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--hre-dark); flex-shrink: 0; }
.hre-logo:hover { color: var(--hre-dark); }
.hre-logo-img { width: auto; height: calc(var(--hre-header-height) - 20px); max-height: 76px; object-fit: contain; }
.hre-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.hre-logo-name { font-family: var(--hre-heading-font); font-weight: 800; font-size: 16px; letter-spacing: -.01em; max-width: 210px; }
.hre-logo-tagline { font-size: 11px; color: var(--hre-primary-dark); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }

.hre-nav { margin-left: auto; }
.hre-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.hre-menu li { position: relative; }
.hre-menu > li > a {
	display: block; padding: 10px 14px;
	font-family: var(--hre-heading-font); font-weight: 600; font-size: 14.5px;
	color: var(--hre-dark); border-radius: 6px;
}
.hre-menu > li > a:hover,
.hre-menu > li.current-menu-item > a,
.hre-menu > li.current-menu-ancestor > a,
.hre-menu > li.current_page_item > a { color: var(--hre-primary-dark); }
.hre-menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px); opacity: .6;
}
.hre-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px;
	position: absolute; top: 100%; left: 0; min-width: 250px;
	background: #fff; border-radius: 12px; box-shadow: var(--hre-shadow-lg);
	border: 1px solid var(--hre-border);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s var(--hre-ease), visibility .2s;
	z-index: 50;
}
.hre-menu li:hover > .sub-menu,
.hre-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hre-menu .sub-menu a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--hre-dark); font-size: 14px; font-weight: 500; }
.hre-menu .sub-menu a:hover { background: var(--hre-primary-soft); color: var(--hre-primary-dark); }
.hre-nav-mobile-extra { display: none; }

.hre-header-actions { display: flex; align-items: center; gap: 18px; }
.hre-header-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--hre-dark); }
.hre-header-phone:hover { color: var(--hre-primary-dark); }
.hre-header-phone-icon {
	width: 42px; height: 42px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--hre-primary-soft); color: var(--hre-primary-dark);
}
.hre-header-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.hre-header-phone-text small { font-size: 11px; color: var(--hre-muted); }
.hre-header-phone-text strong { font-family: var(--hre-heading-font); font-size: 15px; }
.hre-nav-toggle {
	display: none; background: transparent; border: 1px solid var(--hre-border);
	width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
	align-items: center; justify-content: center; color: var(--hre-dark);
}
.hre-nav-toggle .hre-icon { width: 22px; height: 22px; }
.hre-nav-toggle-close { display: none; }

@media (max-width: 1180px) {
	.hre-header-phone-text { display: none; }
}
@media (max-width: 1024px) {
	.hre-nav-toggle { display: inline-flex; }
	.hre-header-cta { display: none; }
	.hre-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
		background: #fff; padding: 90px 24px 32px; overflow-y: auto;
		transform: translateX(100%); transition: transform .35s var(--hre-ease);
		box-shadow: var(--hre-shadow-lg); z-index: 1000;
	}
	.hre-nav-open .hre-nav { transform: translateX(0); }
	.hre-nav-open .hre-nav-toggle { position: relative; z-index: 1001; }
	.hre-nav-open .hre-nav-toggle-open { display: none; }
	.hre-nav-open .hre-nav-toggle-close { display: inline-flex; }
	.hre-nav-open::after {
		content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 998;
	}
	.hre-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.hre-menu > li > a { padding: 14px 4px; border-bottom: 1px solid var(--hre-border); border-radius: 0; font-size: 16px; }
	.hre-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0;
	}
	.hre-nav-mobile-extra { display: grid; gap: 10px; margin-top: 24px; }
}
@media (max-width: 600px) {
	.hre-hide-sm { display: none !important; }
	.hre-logo-tagline { display: none; }
	.hre-logo-name { font-size: 14px; max-width: 150px; }
	.hre-header-phone { display: none; }
}
@media (max-width: 900px) { .hre-hide-md { display: none !important; } }

/* ==========================================================================
   5. Fallback hero & inner hero (PHP templates)
   ========================================================================== */
.hre-hero {
	position: relative;
	min-height: var(--hre-hero-height);
	display: flex; align-items: center;
	padding: 90px 0;
	background-color: var(--hre-dark);
	background-size: cover; background-position: center;
	color: #fff;
}
.hre-hero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(20, 20, 20, .92) 0%, rgba(20, 20, 20, .72) 55%, rgba(20, 20, 20, .45) 100%);
}
.hre-hero > .hre-container { position: relative; }
.hre-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.hre-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hre-hero-sub { font-size: 1.12rem; color: rgba(255, 255, 255, .78); max-width: 600px; }
.hre-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hre-hero-card {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	backdrop-filter: blur(10px);
	border-radius: 18px; padding: 30px;
}
.hre-hero-card-title { font-family: var(--hre-heading-font); font-weight: 700; color: #fff; margin-bottom: 20px; }
.hre-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hre-stat { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 18px; }
.hre-stat strong { display: block; font-family: var(--hre-heading-font); font-size: 1.9rem; color: var(--hre-primary); line-height: 1.1; }
.hre-stat span { font-size: 13px; color: rgba(255, 255, 255, .72); }
.hre-hero-card-phone {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 18px; padding: 14px; border-radius: 10px;
	background: var(--hre-primary); color: #fff; font-family: var(--hre-heading-font); font-weight: 700;
}
.hre-hero-card-phone:hover { background: var(--hre-primary-dark); color: #fff; }

.hre-inner-hero {
	position: relative;
	padding: 96px 0 80px;
	background-color: var(--hre-dark);
	background-size: cover; background-position: center;
	color: #fff;
}
.hre-inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .9), rgba(20, 20, 20, .65)); }
.hre-inner-hero > .hre-container { position: relative; }
.hre-inner-title { color: #fff; max-width: 860px; margin-bottom: 12px; }
.hre-inner-sub { color: rgba(255, 255, 255, .75); max-width: 680px; font-size: 1.08rem; margin: 0; }
.hre-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; margin-bottom: 18px; color: rgba(255, 255, 255, .6); }
.hre-breadcrumb a { color: var(--hre-primary); }
.hre-breadcrumb a:hover { color: #fff; }

@media (max-width: 900px) {
	.hre-hero-grid { grid-template-columns: 1fr; }
	.hre-hero { min-height: 0; padding: 70px 0; }
}

/* ==========================================================================
   6. Fallback home sections
   ========================================================================== */
.hre-section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.hre-section-head .hre-label::after {
	content: ""; display: inline-block; width: 28px; height: 2px;
	background: var(--hre-primary); vertical-align: middle; margin-left: 10px;
}
.hre-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hre-service-card {
	display: flex; flex-direction: column;
	background: #fff; border-radius: var(--hre-radius); overflow: hidden;
	border: 1px solid var(--hre-border); color: var(--hre-text);
	transition: transform .3s var(--hre-ease), box-shadow .3s;
}
.hre-service-card:hover { transform: translateY(-6px); box-shadow: var(--hre-shadow-lg); color: var(--hre-text); }
.hre-service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hre-service-card-body { padding: 24px; }
.hre-service-card h3 { margin-bottom: 8px; }
.hre-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hre-split-img { width: 100%; border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--hre-shadow-lg); }
.hre-checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.hre-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.hre-checklist .hre-icon { color: var(--hre-primary); margin-top: 4px; }
.hre-admin-hint { margin: 0 0 40px; padding: 14px 18px; border: 1px dashed var(--hre-primary); border-radius: 10px; background: var(--hre-primary-soft); font-size: 14px; }
@media (max-width: 960px) {
	.hre-service-grid { grid-template-columns: repeat(2, 1fr); }
	.hre-split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) { .hre-service-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   7. Blog
   ========================================================================== */
.hre-layout { display: block; }
.hre-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.hre-layout.is-narrow .hre-main { max-width: 820px; margin: 0 auto; }
.hre-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.has-sidebar .hre-post-grid { grid-template-columns: repeat(2, 1fr); }
.hre-post-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--hre-border); border-radius: var(--hre-radius);
	overflow: hidden; transition: transform .3s var(--hre-ease), box-shadow .3s;
}
.hre-post-card:hover { transform: translateY(-5px); box-shadow: var(--hre-shadow); }
.hre-post-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hre-post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.hre-post-meta, .hre-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--hre-muted); margin-bottom: 12px; }
.hre-post-cat {
	display: inline-block; padding: 4px 10px; border-radius: 999px;
	background: var(--hre-primary-soft); color: var(--hre-primary-dark);
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.hre-post-title { font-size: 1.2rem; margin-bottom: 10px; }
.hre-post-title a { color: var(--hre-dark); }
.hre-post-title a:hover { color: var(--hre-primary-dark); }
.hre-post-excerpt { font-size: 15px; flex: 1; }
.hre-pagination { margin-top: 48px; }
.hre-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.hre-pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--hre-border); border-radius: 8px; color: var(--hre-dark); font-weight: 600;
}
.hre-pagination .page-numbers.current, .hre-pagination .page-numbers:hover { background: var(--hre-primary); border-color: var(--hre-primary); color: #fff; }
.hre-empty { text-align: center; max-width: 560px; margin: 0 auto; }

.hre-single-thumb { margin: 0 0 36px; }
.hre-single-thumb img { width: 100%; border-radius: 16px; aspect-ratio: 16 / 9; object-fit: cover; }
.hre-prose { font-size: 1.04rem; }
.hre-prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.hre-prose h3 { margin-top: 1.4em; }
.hre-prose ul li, .hre-prose ol li { margin-bottom: .5em; }
.hre-prose ul li::marker { color: var(--hre-primary); }
.hre-prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--hre-primary); background: var(--hre-light); border-radius: 0 12px 12px 0; }
.hre-prose img { border-radius: 12px; }
.hre-page-content { max-width: 860px; margin: 0 auto; }
.hre-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.hre-tags a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hre-border); font-size: 13px; color: var(--hre-text); }
.hre-tags a:hover { border-color: var(--hre-primary); color: var(--hre-primary-dark); }
.hre-cta-box {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
	padding: 32px; margin: 40px 0; border-radius: 18px;
	background: linear-gradient(135deg, var(--hre-dark), #2a2a2a); color: rgba(255, 255, 255, .78);
}
.hre-cta-box h3 { color: #fff; margin-bottom: 6px; }
.hre-cta-box p { margin: 0; }
.hre-cta-box-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hre-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.hre-post-nav a { display: block; padding: 18px; border: 1px solid var(--hre-border); border-radius: 12px; color: var(--hre-dark); height: 100%; }
.hre-post-nav a:hover { border-color: var(--hre-primary); }
.hre-post-nav div:last-child { text-align: right; }
.hre-post-nav small { display: block; color: var(--hre-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.hre-post-nav span { font-family: var(--hre-heading-font); font-weight: 600; }

/* Comments */
.comments-area { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--hre-border); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.search-form .search-field {
	width: 100%; padding: 12px 14px; border: 1px solid var(--hre-border); border-radius: 8px; background: #fff;
}
.comment-form .submit, .search-form .search-submit {
	background: var(--hre-primary); color: #fff; border: 0; padding: 12px 22px; border-radius: 8px; font-weight: 700; cursor: pointer;
}
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }

/* Sidebar */
.hre-sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--hre-header-height) + 24px); }
.hre-side-box { background: #fff; border: 1px solid var(--hre-border); border-radius: var(--hre-radius); padding: 26px; }
.hre-side-title { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.hre-side-cta { background: linear-gradient(135deg, var(--hre-dark), #2b2b2b); border: 0; color: rgba(255, 255, 255, .78); }
.hre-side-cta .hre-side-title { color: #fff; }
.hre-side-phone { display: flex; align-items: center; gap: 8px; color: var(--hre-primary); font-family: var(--hre-heading-font); font-weight: 800; font-size: 1.3rem; margin-bottom: 16px; }
.hre-side-links { list-style: none; margin: 0; padding: 0; }
.hre-side-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hre-border); color: var(--hre-dark); font-weight: 500; }
.hre-side-links a:hover { color: var(--hre-primary-dark); }
.hre-side-links .hre-icon { width: 14px; height: 14px; color: var(--hre-primary); }

@media (max-width: 1024px) {
	.hre-layout.has-sidebar { grid-template-columns: 1fr; }
	.hre-sidebar { position: static; }
	.hre-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.hre-post-grid, .has-sidebar .hre-post-grid { grid-template-columns: 1fr; }
	.hre-post-nav { grid-template-columns: 1fr; }
	.hre-post-nav div:last-child { text-align: left; }
	.hre-section { padding: 64px 0; }
}

/* ==========================================================================
   8. Shared components (used inside Elementor text-editor widgets too)
   ========================================================================== */

/* Hours table */
.hre-hours-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hre-hours-table th, .hre-hours-table td { padding: 10px 0; border-bottom: 1px solid var(--hre-border); text-align: left; }
.hre-hours-table th { font-weight: 600; color: var(--hre-dark); }
.hre-hours-table td { text-align: right; color: var(--hre-text); }
.hre-hours-table td.is-closed { color: #B33A3A; font-weight: 600; }
.hre-hours-table tr:last-child th, .hre-hours-table tr:last-child td { border-bottom: 0; }

/* Quote form */
.hre-quote-form {
	background: #fff; border-radius: 18px; padding: 34px;
	box-shadow: var(--hre-shadow-lg); border: 1px solid var(--hre-border);
}
.hre-form-title { font-family: var(--hre-heading-font); font-weight: 700; font-size: 1.35rem; color: var(--hre-dark); margin-bottom: 18px; }
.hre-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.hre-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.hre-field span { font-size: 13px; font-weight: 600; color: var(--hre-dark); }
.hre-field-full { grid-column: 1 / -1; }
.hre-field input, .hre-field select, .hre-field textarea {
	width: 100%; padding: 13px 14px;
	border: 1px solid var(--hre-border); border-radius: 8px; background: #FCFAF7;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.hre-field input:focus, .hre-field select:focus, .hre-field textarea:focus {
	outline: none; border-color: var(--hre-primary); background: #fff;
	box-shadow: 0 0 0 3px rgba(184, 146, 90, .18);
}
.hre-field .is-invalid { border-color: #C44; }
.hre-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hre-form-note { font-size: 12.5px; color: var(--hre-muted); text-align: center; margin: 12px 0 0; }
.hre-form-msg { margin-top: 12px; font-size: 14px; font-weight: 600; text-align: center; }
.hre-form-msg.is-success { color: #2E7D4F; }
.hre-form-msg.is-error { color: #B33A3A; }
@media (max-width: 600px) {
	.hre-form-grid { grid-template-columns: 1fr; }
	.hre-quote-form { padding: 24px; }
}

/* Map */
.hre-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--hre-border); line-height: 0; }
.hre-map iframe { width: 100%; height: 320px; border: 0; }

/* Elementor helper markup */
.hre-el-label {
	display: inline-block; font-family: var(--hre-heading-font);
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--hre-primary-dark);
}
.hre-el-label::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--hre-primary); vertical-align: middle; margin-right: 10px; }
.hre-el-label.is-centered::after { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--hre-primary); vertical-align: middle; margin-left: 10px; }
.hre-el-label.is-light { color: var(--hre-primary); }
.hre-el-pill {
	display: inline-block; padding: 7px 16px; border-radius: 999px;
	background: rgba(184, 146, 90, .16); border: 1px solid rgba(184, 146, 90, .45);
	color: var(--hre-primary); font-family: var(--hre-heading-font);
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hre-el-breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .6); }
.hre-el-breadcrumb a { color: var(--hre-primary); }
.hre-el-breadcrumb a:hover { color: #fff; }
.hre-el-breadcrumb span { margin: 0 6px; }

.hre-el-statcard {
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
	backdrop-filter: blur(10px); border-radius: 18px; padding: 28px;
}
.hre-el-statcard-title { font-family: var(--hre-heading-font); font-weight: 700; color: #fff; margin-bottom: 18px; }
.hre-el-statcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hre-el-statcard-item { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 16px; }
.hre-el-statcard-item strong { display: block; font-family: var(--hre-heading-font); font-size: 1.8rem; line-height: 1.1; color: var(--hre-primary); }
.hre-el-statcard-item span { font-size: 13px; color: rgba(255, 255, 255, .72); }
.hre-el-statcard-phone {
	display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px;
	padding: 13px; border-radius: 10px; background: var(--hre-primary);
	color: #fff !important; font-family: var(--hre-heading-font); font-weight: 700;
}
.hre-el-statcard-phone:hover { background: var(--hre-primary-dark); }

.hre-el-statsbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.hre-el-statsbar-item { text-align: center; padding: 10px 18px; border-right: 1px solid rgba(255, 255, 255, .12); }
.hre-el-statsbar-item:last-child { border-right: 0; }
.hre-el-statsbar-item strong { display: block; font-family: var(--hre-heading-font); font-size: 1.9rem; font-weight: 800; color: var(--hre-primary); line-height: 1.2; }
.hre-el-statsbar-item span { font-size: 14px; color: rgba(255, 255, 255, .75); }
@media (max-width: 767px) {
	.hre-el-statsbar { grid-template-columns: 1fr 1fr; gap: 18px 0; }
	.hre-el-statsbar-item:nth-child(2) { border-right: 0; }
}

.hre-el-testimonial {
	height: 100%; background: #fff; border-radius: 16px; padding: 30px;
	border: 1px solid var(--hre-border); position: relative;
	transition: transform .3s var(--hre-ease), box-shadow .3s;
}
.hre-el-testimonial:hover { transform: translateY(-5px); box-shadow: var(--hre-shadow); }
.hre-el-testimonial::before {
	content: "\201C"; position: absolute; top: 8px; right: 22px;
	font-family: Georgia, serif; font-size: 80px; line-height: 1; color: var(--hre-primary-soft);
}
.hre-el-stars { color: var(--hre-primary); letter-spacing: 3px; font-size: 16px; margin-bottom: 14px; }
.hre-el-quote { font-size: 15.5px; color: var(--hre-text); margin-bottom: 20px; }
.hre-el-author { display: flex; align-items: center; gap: 12px; }
.hre-el-avatar {
	width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--hre-dark); color: var(--hre-primary);
	font-family: var(--hre-heading-font); font-weight: 700;
}
.hre-el-author strong { display: block; font-family: var(--hre-heading-font); color: var(--hre-dark); font-size: 15px; }
.hre-el-author small { color: var(--hre-muted); font-size: 13px; }

.hre-el-phonebox {
	display: flex; align-items: center; gap: 16px; padding: 20px 22px;
	background: #fff; border-radius: 14px; border: 1px solid var(--hre-border);
}
.hre-el-phonebox-icon {
	width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--hre-primary); color: #fff;
}
.hre-el-phonebox small { display: block; color: var(--hre-muted); font-size: 13px; }
.hre-el-phonebox a { font-family: var(--hre-heading-font); font-weight: 800; font-size: 1.4rem; color: var(--hre-dark); }
.hre-el-phonebox a:hover { color: var(--hre-primary-dark); }

.hre-el-ctabox {
	border-radius: 18px; padding: 32px 28px; height: 100%;
	background: linear-gradient(140deg, var(--hre-dark) 0%, #2C2C2C 100%);
	color: rgba(255, 255, 255, .78);
}
.hre-el-ctabox-title { font-family: var(--hre-heading-font); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.hre-el-ctabox p { font-size: 15px; margin-bottom: 18px; }
.hre-el-ctabox-phone { display: flex; align-items: center; gap: 8px; color: var(--hre-primary) !important; font-family: var(--hre-heading-font); font-size: 1.45rem; font-weight: 800; margin-bottom: 18px; }
.hre-el-ctabox-link {
	display: block; text-align: center; padding: 13px 18px; border-radius: 8px;
	background: var(--hre-primary); color: #fff !important; font-family: var(--hre-heading-font); font-weight: 700; font-size: 14px;
}
.hre-el-ctabox-link:hover { background: var(--hre-primary-dark); }

/* Elementor page wrapper & card hover */
.hre-elementor-content { width: 100%; }
.hre-elementor-content > .elementor { overflow: hidden; }
.elementor .hre-card > .elementor-widget-wrap,
.elementor .hre-card > .elementor-column-wrap { transition: transform .3s var(--hre-ease), box-shadow .3s; }
.elementor .hre-card:hover > .elementor-widget-wrap,
.elementor .hre-card:hover > .elementor-column-wrap { transform: translateY(-6px); box-shadow: var(--hre-shadow-lg) !important; }
.elementor .hre-card .elementor-widget-image img { width: 100%; }
.elementor .elementor-widget-accordion .elementor-accordion-item { border-color: var(--hre-border); }
.elementor .elementor-widget-accordion .elementor-tab-title { padding: 18px 20px; }
.elementor .elementor-widget-accordion .elementor-tab-content { padding: 4px 20px 20px; line-height: 1.7; }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.hre-footer { background: var(--hre-footer-bg); color: rgba(255, 255, 255, .68); font-size: 15px; }
.hre-footer a { color: rgba(255, 255, 255, .78); }
.hre-footer a:hover { color: var(--hre-primary); }
.hre-footer-cta { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hre-footer-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.hre-footer-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.hre-footer-cta p { margin: 0; }
.hre-footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hre-footer-grid { display: grid; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.hre-footer-cols-4 { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
.hre-footer-cols-3 { grid-template-columns: 1.5fr 1fr 1.3fr; }
.hre-footer-cols-2 { grid-template-columns: 1.5fr 1fr; }
.hre-footer-cols-1 { grid-template-columns: 1fr; }
.hre-footer-about .hre-logo { margin-bottom: 18px; color: #fff; }
.hre-footer-about .hre-logo-img { height: 88px; max-height: none; background: #fff; border-radius: 50%; padding: 4px; }
.hre-footer-about .hre-logo-name { color: #fff; }
.hre-footer-about p { margin-bottom: 20px; }
.hre-footer-title { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.hre-footer-links, .hre-footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hre-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.hre-footer-contact .hre-icon { color: var(--hre-primary); margin-top: 4px; width: 16px; height: 16px; }
.hre-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.hre-footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 22px; }
.hre-footer-bottom p { margin: 0; }
@media (max-width: 960px) {
	.hre-footer-cols-4, .hre-footer-cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.hre-footer-grid { grid-template-columns: 1fr !important; gap: 36px; }
}

/* Back to top */
.hre-to-top {
	position: fixed; left: 20px; bottom: 20px; z-index: 900;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--hre-dark); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
.hre-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.hre-to-top:hover { background: var(--hre-primary); }

/* 404 */
.hre-404 { text-align: center; max-width: 760px; }
.hre-404-code { font-family: var(--hre-heading-font); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--hre-primary); margin-bottom: 12px; }
.hre-404-search { max-width: 480px; margin: 0 auto 28px; }
.hre-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.hre-404-links a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hre-border); color: var(--hre-dark); font-size: 14px; }
.hre-404-links a:hover { border-color: var(--hre-primary); color: var(--hre-primary-dark); }

/* ==========================================================================
   10. AI chat widget
   ========================================================================== */
.hre-chat { position: fixed; right: 20px; bottom: 20px; z-index: 9990; font-size: 15px; }
.hre-chat-toggle {
	width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--hre-primary); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 12px 30px rgba(184, 146, 90, .45);
	transition: transform .25s var(--hre-ease), background .2s;
}
.hre-chat-toggle:hover { transform: scale(1.06); background: var(--hre-primary-dark); }
.hre-chat-toggle .hre-icon { width: 26px; height: 26px; }
.hre-chat.is-open .hre-chat-toggle { transform: scale(.9); }
.hre-chat-panel {
	position: absolute; right: 0; bottom: 76px;
	width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px));
	background: #fff; border-radius: 18px; overflow: hidden;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
	display: flex; flex-direction: column;
	border: 1px solid var(--hre-border);
}
.hre-chat-panel[hidden] { display: none; }
.hre-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--hre-dark); color: #fff; }
.hre-chat-head strong { display: block; font-family: var(--hre-heading-font); }
.hre-chat-head span { font-size: 12px; color: rgba(255, 255, 255, .62); }
.hre-chat-close { background: transparent; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 6px; display: inline-flex; }
.hre-chat-close:hover { background: rgba(255, 255, 255, .1); }
.hre-chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #FBF8F4; }
.hre-chat-msg { max-width: 85%; padding: 11px 14px; border-radius: 14px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.hre-chat-msg.is-bot { background: #fff; border: 1px solid var(--hre-border); color: var(--hre-text); align-self: flex-start; border-bottom-left-radius: 4px; }
.hre-chat-msg.is-user { background: var(--hre-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.hre-chat-msg.is-note { background: #FFF6E0; border: 1px dashed #E0B44C; color: #6B5214; font-size: 13px; align-self: stretch; max-width: none; }
.hre-chat-msg.is-typing { color: var(--hre-muted); font-style: italic; }
.hre-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--hre-border); background: #fff; }
.hre-chat-form input { flex: 1; padding: 12px 14px; border: 1px solid var(--hre-border); border-radius: 10px; min-width: 0; }
.hre-chat-form input:focus { outline: none; border-color: var(--hre-primary); }
.hre-chat-form button { width: 46px; border: 0; border-radius: 10px; background: var(--hre-primary); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hre-chat-form button:hover { background: var(--hre-primary-dark); }
.hre-chat-form button[disabled] { opacity: .6; cursor: wait; }
.hre-chat-foot { font-size: 12px; text-align: center; padding: 0 12px 12px; color: var(--hre-muted); background: #fff; }

/* ==========================================================================
   11. WordPress core classes
   ========================================================================== */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--hre-muted); text-align: center; }
.sticky .hre-post-title::before { content: "★ "; color: var(--hre-primary); }
.bypostauthor { display: block; }
.gallery-caption { font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
