/*
 Theme Name:   Hera Title - Child Theme
 Theme URI:    https://heratitleandescrow.com
 Description:  Child theme for Hera Title & Escrow — built on Hello Elementor
 Author:       Hera Title & Escrow
 Author URI:   https://heratitleandescrow.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hera-title
*/

/* =========================================================
   BRAND VARIABLES
   ========================================================= */
:root {
	--hera-navy:      #0B1F33;
	--hera-gold:      #C9A24D;
	--hera-gold-dark: #A8853C;
	--hera-white:     #FFFFFF;
	--hera-gray:      #F2F2F2;
	--hera-gray-mid:  #E0E0E0;
	--hera-text:      #1A1A2E;
	--hera-text-light:#6B7280;

	--hera-font-heading: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
	--hera-font-body:    'Inter', 'Montserrat', -apple-system, sans-serif;

	--hera-radius: 6px;
	--hera-shadow: 0 4px 24px rgba(11, 31, 51, 0.10);
	--hera-shadow-lg: 0 8px 40px rgba(11, 31, 51, 0.16);
	--hera-transition: all 0.25s ease;
}

/* =========================================================
   GLOBAL RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
	font-family: var(--hera-font-body);
	color: var(--hera-text);
	background-color: var(--hera-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hera-font-heading);
	color: var(--hera-navy);
	line-height: 1.25;
	font-weight: 700;
}

a {
	color: var(--hera-gold);
	text-decoration: none;
	transition: var(--hera-transition);
}
a:hover { color: var(--hera-gold-dark); }

p { line-height: 1.75; margin-bottom: 1em; }

img { max-width: 100%; height: auto; display: block; }

/* =========================================================
   ELEMENTOR OVERRIDES — Typography
   ========================================================= */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4 {
	font-family: var(--hera-font-heading);
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-text-editor li {
	font-family: var(--hera-font-body);
	line-height: 1.75;
}

/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.hera-gold-text   { color: var(--hera-gold) !important; }
.hera-navy-text   { color: var(--hera-navy) !important; }
.hera-white-text  { color: var(--hera-white) !important; }

.hera-navy-bg     { background-color: var(--hera-navy) !important; }
.hera-gold-bg     { background-color: var(--hera-gold) !important; }
.hera-gray-bg     { background-color: var(--hera-gray) !important; }

.hera-underline-gold {
	position: relative;
	display: inline-block;
}
.hera-underline-gold::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: var(--hera-gold);
	margin: 12px auto 0;
}
.hera-underline-gold.left::after { margin-left: 0; }

/* =========================================================
   BUTTONS
   ========================================================= */
.elementor-button.hera-btn-primary,
.hera-btn-primary.elementor-button {
	background-color: var(--hera-gold) !important;
	color: var(--hera-navy) !important;
	border: 2px solid var(--hera-gold) !important;
	font-family: var(--hera-font-body);
	font-weight: 700;
	letter-spacing: 0.5px;
	border-radius: var(--hera-radius);
	transition: var(--hera-transition);
}
.elementor-button.hera-btn-primary:hover {
	background-color: var(--hera-gold-dark) !important;
	border-color: var(--hera-gold-dark) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(201, 162, 77, 0.35);
}

.elementor-button.hera-btn-outline,
.hera-btn-outline.elementor-button {
	background-color: transparent !important;
	color: var(--hera-white) !important;
	border: 2px solid var(--hera-white) !important;
	font-family: var(--hera-font-body);
	font-weight: 600;
	border-radius: var(--hera-radius);
	transition: var(--hera-transition);
}
.elementor-button.hera-btn-outline:hover {
	background-color: var(--hera-white) !important;
	color: var(--hera-navy) !important;
}

.elementor-button.hera-btn-gold-outline {
	background-color: transparent !important;
	color: var(--hera-gold) !important;
	border: 2px solid var(--hera-gold) !important;
	font-family: var(--hera-font-body);
	font-weight: 600;
	border-radius: var(--hera-radius);
	transition: var(--hera-transition);
}
.elementor-button.hera-btn-gold-outline:hover {
	background-color: var(--hera-gold) !important;
	color: var(--hera-navy) !important;
}

/* =========================================================
   HEADER
   ========================================================= */
#site-header,
.site-header,
.e-n-menu-toggle,
header.elementor-section {
	background-color: var(--hera-navy);
}

/* Sticky header shadow */
.elementor-sticky--active {
	box-shadow: 0 2px 20px rgba(11, 31, 51, 0.18) !important;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.elementor-nav-menu a,
.elementor-nav-menu--main .elementor-item {
	font-family: var(--hera-font-body) !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--hera-white) !important;
	transition: var(--hera-transition) !important;
}
.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item-active {
	color: var(--hera-gold) !important;
}
.elementor-nav-menu--main .elementor-item::after {
	background-color: var(--hera-gold) !important;
}

/* =========================================================
   HERO SECTIONS
   ========================================================= */
.hera-hero {
	background-color: var(--hera-navy);
	position: relative;
	overflow: hidden;
}

.hera-hero-overlay {
	background: linear-gradient(135deg, rgba(11,31,51,0.92) 0%, rgba(11,31,51,0.75) 100%);
}

.hera-hero .elementor-widget-heading h1 {
	color: var(--hera-white);
}

.hera-page-header {
	background-color: var(--hera-navy);
	padding: 80px 0 60px;
}
.hera-page-header h1 {
	color: var(--hera-white);
	font-size: clamp(32px, 5vw, 54px);
}
.hera-page-header .hera-breadcrumb {
	color: var(--hera-gold);
	font-family: var(--hera-font-body);
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* =========================================================
   SECTION STYLES
   ========================================================= */
.hera-section {
	padding: 90px 0;
}

.hera-section-title {
	font-size: clamp(28px, 4vw, 42px);
	color: var(--hera-navy);
	margin-bottom: 16px;
}
.hera-section-title.white { color: var(--hera-white); }

.hera-section-subtitle {
	font-family: var(--hera-font-body);
	color: var(--hera-gold);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.hera-gold-rule {
	width: 60px;
	height: 3px;
	background: var(--hera-gold);
	margin: 16px 0 28px;
}
.hera-gold-rule.center { margin: 16px auto 28px; }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.hera-service-card {
	background: var(--hera-white);
	border-radius: var(--hera-radius);
	box-shadow: var(--hera-shadow);
	padding: 36px 28px;
	transition: var(--hera-transition);
	border-top: 3px solid transparent;
	height: 100%;
}
.hera-service-card:hover {
	border-top-color: var(--hera-gold);
	transform: translateY(-4px);
	box-shadow: var(--hera-shadow-lg);
}
.hera-service-card .elementor-icon-box-icon i {
	color: var(--hera-gold) !important;
}
.hera-service-card .elementor-icon-box-title {
	font-family: var(--hera-font-heading);
	color: var(--hera-navy);
	font-size: 20px;
}
.hera-service-card .elementor-icon-box-description {
	font-family: var(--hera-font-body);
	color: var(--hera-text-light);
	font-size: 15px;
	line-height: 1.7;
}

/* =========================================================
   VALUE / FEATURE BOXES
   ========================================================= */
.hera-value-box {
	text-align: center;
	padding: 32px 20px;
}
.hera-value-box .elementor-icon i {
	color: var(--hera-gold);
}
.hera-value-box .elementor-icon-box-title {
	font-family: var(--hera-font-heading);
	color: var(--hera-navy);
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.hera-cta-banner {
	background-color: var(--hera-navy);
	position: relative;
	overflow: hidden;
}
.hera-cta-banner::before {
	content: '';
	position: absolute;
	top: -80px; left: -80px;
	width: 300px; height: 300px;
	background: radial-gradient(circle, rgba(201,162,77,0.12) 0%, transparent 70%);
	pointer-events: none;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.hera-contact-info i {
	color: var(--hera-gold);
}

.hera-contact-strip {
	background-color: var(--hera-gray);
	padding: 40px 0;
}

/* =========================================================
   WIRE FRAUD BANNER
   ========================================================= */
.hera-wire-fraud-banner {
	background-color: #7B1D1D;
	color: var(--hera-white);
	padding: 14px 0;
	text-align: center;
	font-family: var(--hera-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
}
.hera-wire-fraud-banner a {
	color: var(--hera-gold);
	text-decoration: underline;
}
.hera-wire-fraud-banner a:hover {
	color: #ffd97a;
}

/* =========================================================
   FOOTER
   ========================================================= */
.hera-footer {
	background-color: var(--hera-navy);
	color: rgba(255,255,255,0.75);
}
.hera-footer h4,
.hera-footer .elementor-widget-heading h4 {
	color: var(--hera-white);
	font-family: var(--hera-font-heading);
	font-size: 17px;
	margin-bottom: 20px;
}
.hera-footer p,
.hera-footer .elementor-text-editor p {
	color: rgba(255,255,255,0.65);
	font-size: 14px;
	line-height: 1.8;
}
.hera-footer a {
	color: rgba(255,255,255,0.70);
	font-size: 14px;
	transition: var(--hera-transition);
}
.hera-footer a:hover { color: var(--hera-gold); }

.hera-footer-divider {
	border-color: rgba(255,255,255,0.12);
	margin: 30px 0;
}

.hera-footer-bottom {
	background-color: rgba(0,0,0,0.25);
	padding: 20px 0;
}
.hera-footer-bottom p {
	color: rgba(255,255,255,0.45) !important;
	font-size: 12px;
	margin-bottom: 0;
}
.hera-footer-bottom a {
	color: rgba(255,255,255,0.55) !important;
	font-size: 12px;
}
.hera-footer-bottom a:hover { color: var(--hera-gold) !important; }

/* Gold rule in footer */
.hera-footer .hera-gold-rule { opacity: 0.6; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.hera-legal-content {
	max-width: 860px;
	margin: 0 auto;
}
.hera-legal-content h2 {
	font-size: 22px;
	color: var(--hera-navy);
	margin-top: 40px;
	margin-bottom: 12px;
	padding-top: 20px;
	border-top: 1px solid var(--hera-gray-mid);
}
.hera-legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.hera-legal-content ul {
	padding-left: 20px;
	margin-bottom: 1em;
}
.hera-legal-content ul li {
	font-family: var(--hera-font-body);
	color: var(--hera-text);
	margin-bottom: 6px;
	line-height: 1.7;
}

/* =========================================================
   FORMS
   ========================================================= */
.elementor-form .elementor-field-group label {
	font-family: var(--hera-font-body);
	font-weight: 600;
	font-size: 13px;
	color: var(--hera-navy);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.elementor-form input,
.elementor-form textarea,
.elementor-form select {
	border: 1px solid var(--hera-gray-mid) !important;
	border-radius: var(--hera-radius) !important;
	font-family: var(--hera-font-body);
	transition: var(--hera-transition);
}
.elementor-form input:focus,
.elementor-form textarea:focus {
	border-color: var(--hera-gold) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(201,162,77,0.15);
}
.elementor-form .elementor-button[type="submit"] {
	background-color: var(--hera-gold) !important;
	color: var(--hera-navy) !important;
	font-family: var(--hera-font-body);
	font-weight: 700;
	border-radius: var(--hera-radius);
	transition: var(--hera-transition);
}
.elementor-form .elementor-button[type="submit"]:hover {
	background-color: var(--hera-gold-dark) !important;
	transform: translateY(-1px);
}

/* =========================================================
   COOKIE BANNER (via plugin)
   ========================================================= */
.hera-cookie-banner {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	background-color: var(--hera-navy);
	color: rgba(255,255,255,0.85);
	padding: 18px 24px;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-family: var(--hera-font-body);
	font-size: 14px;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.hera-cookie-banner a { color: var(--hera-gold); }
.hera-cookie-btn {
	padding: 10px 22px;
	border-radius: var(--hera-radius);
	font-weight: 600;
	cursor: pointer;
	font-size: 13px;
	white-space: nowrap;
	border: none;
}
.hera-cookie-btn-accept {
	background-color: var(--hera-gold);
	color: var(--hera-navy);
}
.hera-cookie-btn-decline {
	background-color: transparent;
	color: rgba(255,255,255,0.75);
	border: 1px solid rgba(255,255,255,0.3) !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
	.hera-section { padding: 70px 0; }
}

@media (max-width: 767px) {
	.hera-section { padding: 50px 0; }
	.hera-page-header { padding: 60px 0 40px; }
	.hera-cookie-banner { flex-direction: column; text-align: center; }
}

/* =========================================================
   ELEMENTOR CONTAINER SUPPORT
   ========================================================= */
.e-con,
.elementor-container {
	max-width: 1200px;
}
