/**
 * HWX chrome — header, footer, newsletter (child theme)
 * Loaded after brand tokens from custom-style.css :root
 */

:root {
	--hwx-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

.modern-header {
	--hwx-chrome-font: var(
		--hwx-chrome-font-family,
		"DM Sans",
		system-ui,
		-apple-system,
		"Segoe UI",
		Roboto,
		sans-serif
	);
	font-family: var(--hwx-chrome-font);
	-webkit-font-smoothing: antialiased;
}
.modern-footer {
	font-family: var(
		--hwx-chrome-font,
		"DM Sans",
		system-ui,
		-apple-system,
		"Segoe UI",
		Roboto,
		sans-serif
	);
	-webkit-font-smoothing: antialiased;
}
.modern-header .nav-menu a {
	letter-spacing: 0.02em;
}
.modern-header .btn {
	border-radius: 999px;
	box-shadow: 0 2px 12px rgba(30, 58, 138, 0.08);
}
.modern-header .btn-primary {
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.22);
}
.modern-footer .newsletter-section {
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.modern-footer .footer-content {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding-top: 2rem;
	margin-top: 1rem;
}

/* Luxury: display type for mark */
.modern-header .logo-title {
	font-family: var(--hwx-font-display);
	font-weight: 600;
	letter-spacing: var(--hwx-track-tight, -0.02em);
}

/* Body padding for fixed header */
	body {
		/* padding-top: 140px; */
	}
	ul.sub-menu.sub-menu li{
		border-bottom:1px solid #edf1fe
	}
	/* Enhanced Modern Header Styles */
	.modern-header {
		position: sticky;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(20px);
		box-shadow: 0 8px 32px rgba(30, 58, 138, 0.1);
		border-bottom: 1px solid rgba(59, 130, 246, 0.1);
		transition: all 0.3s ease;
	}

	.modern-header:hover {
		background: rgba(255, 255, 255, 0.98);
		box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
	}

	/* Enhanced Top Bar */
	.top-bar {
		background: linear-gradient(105deg, #0f172a 0%, #1e3a5f 45%, #1e293b 100%);
		color: rgba(255, 255, 255, 0.92);
		padding: 9px 0;
		font-size: 13px;
		position: relative;
		overflow: hidden;
		min-height: 44px;
		display: flex;
		align-items: center;
	}

	.top-bar::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
		animation: none;
		pointer-events: none;
	}

	@keyframes shimmer {
		0% {
			left: -100%;
		}

		100% {
			left: 100%;
		}
	}

	.top-bar-content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: relative;
		z-index: 1;
	}

	.contact-info {
		display: flex;
		gap: 35px;
	}

	.contact-item {
		display: flex;
		align-items: center;
		gap: 8px;
		transition: all 0.3s ease;
	}

	.contact-item:hover {
		transform: translateY(-2px);
	}

	.contact-item i {
		font-size: 12px;
		opacity: 0.9;
		color: #fbbf24;
	}

	.contact-item a {
		color: white;
		text-decoration: none;
		transition: all 0.3s ease;
		font-weight: 500;
	}

	.contact-item a:hover {
		color: #fbbf24;
		text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
	}

	.social-links {
		display: flex;
		gap: 18px;
	}

	.social-link {
		color: white;
		text-decoration: none;
		font-size: 14px;
		transition: all 0.3s ease;
		width: 32px;
		height: 32px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.1);
		backdrop-filter: blur(10px);
		border: 1px solid rgba(255, 255, 255, 0.2);
	}

	.social-link:hover {
		background: rgba(255, 255, 255, 0.2);
		transform: translateY(-3px) scale(1.1);
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	}

	/* Enhanced Main Header */
	.main-header {
		padding: 14px 0;
		background: rgba(255, 255, 255, 0.98);
		position: relative;
	}

	.header-content {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	/* Enhanced Logo */
	.logo {
		display: flex;
		align-items: center;
		gap: 15px;
		text-decoration: none;
		color: #333;
		transition: all 0.3s ease;
	}

	.logo:hover {
		transform: translateY(-2px);
	}

	.logo-icon {
		width: 60px;
		height: 60px;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
	}

	.logo-glow {
		position: absolute;
		top: -5px;
		left: -5px;
		right: -5px;
		bottom: -5px;
		background: linear-gradient(45deg, #3b82f6, #1e40af, #1e3a8a);
		border-radius: 8px;
		z-index: -1;
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.logo:hover .logo-glow {
		opacity: 1;
	}

	.logo-icon img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		transition: transform 0.3s ease;
	}

	.logo:hover .logo-icon img {
		transform: scale(1.1);
	}

	.logo-text {
		display: flex;
		flex-direction: column;
	}

	.logo-title {
		font-size: 1.375rem;
		font-weight: 600;
		color: #0f172a;
		line-height: 1.05;
		text-shadow: none;
		font-family: var(--hwx-font-display);
	}

	.logo-subtitle {
		font-size: 0.625rem;
		color: #64748b;
		font-weight: 600;
		letter-spacing: 0.14em;
		text-transform: uppercase;
	}

	/* Enhanced Navigation */
	.main-navigation {
		flex: 1;
		display: flex;
		justify-content: center;
	}

	.nav-menu {
		display: flex;
		list-style: none;
		margin: 0;
		padding: 0;
		gap: clamp(1.25rem, 3vw, 2rem);
	}

	.nav-menu li {
		position: relative;
	}

	.nav-menu a {
		color: #334155;
		text-decoration: none;
		font-weight: 500;
		font-size: 0.8125rem;
		padding: 10px 0;
		display: flex;
		align-items: center;
		gap: 6px;
		transition: color 0.25s var(--hwx-transition-smooth, ease), transform 0.25s ease;
		position: relative;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.nav-menu a:hover {
		color: #c47a1a !important;
		transform: translateY(-1px);
	}

	.nav-menu a::before {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		width: 0;
		height: 2px;
		background: linear-gradient(90deg, var(--hwx-accent-gold, #b8943f), #c47a1a);
		border-radius: 1px;
		transition: width 0.25s var(--hwx-transition-smooth, ease);
		transform: translateX(-50%);
	}

	.nav-menu a:hover::before {
		width: 100%;
	}

	.menu-item i {
		margin-left: 10px;
	}

	.nav-menu li:hover ul.sub-menu .sub-menu.sub-menu {
		position: inherit;
		box-shadow: unset;
		border-radius: 0;
		padding: 0;
	}

	.nav-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 10%;
		transform: translateX(-10%) translateY(10px);
		background: white;
		border-radius: 15px;
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
		padding: 20px 0;
		min-width: 200px;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		list-style: none;
		margin: 0;
		border: 1px solid rgba(59, 130, 246, 0.1);
	}

	.nav-menu .menu-item-2332 .sub-menu {
		min-width: 330px;
	}

	.nav-menu li:hover .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateX(-10%) translateY(0);
	}

	.nav-menu .sub-menu a {
		color: #334155;
		padding: 5px 20px;
		font-size: 0.8125rem;
		font-weight: 500;
		text-transform: none;
		letter-spacing: 0.01em;
		transition: all 0.3s ease;
		border-radius: 0;
	}

	.nav-menu .sub-menu a:hover {
		background: rgba(196, 122, 26, 0.08);
		color: #8b5a0f;
		padding-left: 30px;
		transform: none;
	}

	.nav-menu .sub-menu a::before {
		display: none;
	}

	/* Enhanced Header Actions */
	.header-actions {
		display: flex;
		gap: 15px;
		align-items: center;
	}


	.btn {
		padding: 10px 1.25rem;
		border-radius: 999px;
		text-decoration: none;
		font-weight: 600;
		font-size: 0.8125rem;
		letter-spacing: 0.05em;
		transition: all 0.3s ease;
		/* display: flex;
		align-items: center; */
		gap: 8px;
		position: relative;
		overflow: hidden;
		letter-spacing: 0.3px;
		justify-content: center;
	}

	.btn-glow::before {
		content: '';
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
		transition: left 0.5s ease;
	}

	.btn-glow:hover::before {
		left: 100%;
	}

	.btn-outline {
		background: transparent;
		color: #1e3a5f;
		border: 1px solid rgba(30, 58, 95, 0.45);
	}

	.btn-outline:hover {
		background: #0f172a;
		color: #fff;
		border-color: #0f172a;
		transform: translateY(-1px);
	}

	.btn-primary {
		background: linear-gradient(135deg, #c47a1a 0%, #0f172a 120%);
		color: #fff;
		border: 1px solid rgba(196, 122, 26, 0.5);
		box-shadow: 0 6px 24px rgba(15, 23, 42, 0.2);
		position: relative;
		border-radius: 999px;
	}

	.btn-primary:hover {
		background: linear-gradient(135deg, #d4942e 0%, #1e293b 100%);
		border-color: rgba(212, 148, 46, 0.65);
		transform: translateY(-2px);
		box-shadow: 0 10px 32px rgba(15, 23, 42, 0.28);
	}

	/* .btn-primary {
	background: #10b981;
	color: white;
	border: 2px solid #10b981;
	position: relative;
	}

	.btn-primary:hover {
	background: #059669;
	border-color: #059669;
	transform: translateY(-2px);
	} */

	/* Enhanced Mobile Menu Toggle */
	.mobile-menu-toggle {
		display: none;
		flex-direction: column;
		gap: 5px;
		cursor: pointer;
		padding: 12px;
		border-radius: 10px;
		transition: all 0.3s ease;
		z-index: 1001;
	}

	.mobile-menu-toggle:hover {
		background: rgba(59, 130, 246, 0.1);
	}

	.mobile-menu-toggle span {
		width: 28px;
		height: 3px;
		background: #374151;
		border-radius: 3px;
		transition: all 0.3s ease;
	}

	.mobile-menu-toggle:hover span {
		background: #3b82f6;
	}

	/* Mobile Menu Toggle Animation */
	.mobile-menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
	}

	.mobile-menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.mobile-menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -6px);
	}

	/* Mobile Menu Overlay */
	.mobile-menu-overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 999;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
	}

	.mobile-menu-overlay.active {
		opacity: 1;
		visibility: visible;
	}

	/* Mobile Menu */
	.mobile-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 320px;
		height: 100vh;
		background: white;
		z-index: 1000;
		transition: right 0.3s ease;
		overflow-y: auto;
		box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
	}

	.mobile-menu.active {
		right: 0;
	}

	.mobile-menu-header {
		padding: 20px;
		border-bottom: 1px solid #e5e7eb;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.mobile-menu-header h3 {
		margin: 0;
		color: #0f172a;
		font-size: 0.6875rem;
		font-weight: 600;
		letter-spacing: 0.14em;
		text-transform: uppercase;
	}

	.mobile-menu-close {
		background: none;
		border: none;
		font-size: 24px;
		color: #6b7280;
		cursor: pointer;
		padding: 5px;
		border-radius: 5px;
		transition: all 0.3s ease;
	}

	.mobile-menu-close:hover {
		background: #f3f4f6;
		color: #374151;
	}

	.mobile-menu-content {
		padding: 20px;
	}

	.mobile-nav-menu {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.mobile-nav-menu li {
		margin-bottom: 10px;
	}

	.mobile-nav-menu a {
		display: block;
		padding: 6px 0;
		color: #334155;
		text-decoration: none;
		font-weight: 500;
		font-size: 0.9375rem;
		border-radius: 8px;
		transition: color 0.2s ease, background 0.2s ease;
		border: 1px solid transparent;
	}

	.mobile-nav-menu a:hover {
		background: rgba(15, 23, 42, 0.04);
		color: #c47a1a;
		border-color: transparent;
	}

	.mobile-nav-menu .sub-menu {
		list-style: none;
		margin: 0;
		padding: 0;
		margin-top: 10px;
		margin-left: 20px;
	}

	.mobile-nav-menu .sub-menu a {
		padding: 0px;
		font-size: 12px;
		color: #6b7280;
	}

	.mobile-menu-actions {
		padding: 20px;
		border-top: 1px solid #e5e7eb;
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	.mobile-menu-actions .btn {
		width: 100%;
		justify-content: center;
		padding: 11px 16px;
		font-size: 0.8125rem;
	}

	/* Floating Elements */
	.floating-elements {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		pointer-events: none;
	}

	.floating-shape {
		position: absolute;
		border-radius: 50%;
		background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(30, 58, 138, 0.1));
		animation: float 6s ease-in-out infinite;
	}

	.shape-1 {
		width: 60px;
		height: 60px;
		top: 20%;
		left: 10%;
		animation-delay: 0s;
	}

	.shape-2 {
		width: 40px;
		height: 40px;
		top: 60%;
		right: 15%;
		animation-delay: 2s;
	}

	.shape-3 {
		width: 30px;
		height: 30px;
		top: 40%;
		left: 80%;
		animation-delay: 4s;
	}

	@keyframes float {

		0%,
		100% {
			transform: translateY(0px) rotate(0deg);
		}

		50% {
			transform: translateY(-20px) rotate(180deg);
		}
	}

	/* Responsive Design */
	@media (max-width: 1024px) {
		.nav-menu {
			gap: 30px;
		}

		.header-actions {
			gap: 10px;
		}

		.btn {
			padding: 10px 18px;
			font-size: 13px;
		}

		.contact-info {
			gap: 15px;
		}
	}

	@media (max-width: 768px) {
		footer .newsletter-content{
			grid-template-columns: 1fr;
		}
		.mobile-menu-actions{
			flex-direction: row;
		}
		.mobile-menu-actions .btn {
			padding: 11px 0px;
			font-size: 12px;
			text-align: center;
		}

		.top-bar {
			display: none;
		}

		.main-navigation {
			display: none;
		}

		.header-actions {
			display: none;
		}

		.mobile-menu-toggle {
			display: flex;
		}

		.logo-title {
			font-size: 1.2rem;
		}

		.logo-icon {
			width: 44px;
			height: 44px;
		}

		.logo-icon img {
			width: 100%;
			height: 100%;
			max-width: 44px;
			max-height: 44px;
			object-fit: contain;
		}
	}

	/* Inner content width: use .container only — not on <section> */
	.container {
	max-width: 1300px !important;
		margin: 0 auto;
		padding: 0 20px;
		width: 100%;
	}

	/*
	 * Hello Elementor theme.css caps body:not([class*="elementor-page-"]) .site-main
	 * at max-width 500–1140px by breakpoint. Home template uses full-width <main> + inner .container (1300px).
	 */
	body:not([class*="elementor-page-"]) #hwx-home-main.site-main.hwx-home-page {
		max-width: none !important;
		width: 100% !important;
		margin-inline: auto;
		padding-inline: 0 !important;
		box-sizing: border-box;
	}

	/* Product / plugin landings: match home full-width <main>, avoid theme .site-main width cap */
	body:not([class*="elementor-page-"]) main.site-main.hwx-catc-pro-wrap {
		max-width: none !important;
		width: 100% !important;
		margin-inline: auto;
		padding-inline: 0 !important;
		box-sizing: border-box;
	}

	/*
	 * Open Source Plugin template (free-plugin.php): full-bleed main — same 1140px theme cap as CATC.
	 * Unconditional so it still works when body has elementor-page-* classes.
	 */
	main.site-main.hwx-free-plugin-landing {
		max-width: none !important;
		width: 100% !important;
		margin-inline: auto;
		padding-inline: 0 !important;
		box-sizing: border-box;
	}

/* Modern Footer Styles */
	.modern-footer {
		background: linear-gradient(165deg, #0f172a 0%, #1e293b 40%, #1a365f 100%);
		color: rgba(255, 255, 255, 0.94);
		position: relative;
		overflow: hidden;
	}

	.modern-footer::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
		pointer-events: none;
	}

	.footer-waves {
		position: relative;
		top: -1px;
	}

	.footer-waves svg {
		display: block;
		width: 100%;
		height: auto;
	}

	.footer-content {
		display: grid;
		grid-template-columns: 2fr 2fr 2fr 2fr;
		gap: 24px;
		padding: 3.5rem 0 3rem;
		position: relative;
		z-index: 1;
	}

	/* Company Info Section */
	.company-info {
		display: flex;
		flex-direction: column;
		gap: 30px;
	}

	.footer-logo img {
		max-width: 200px;
		height: auto;
	}

	.company-description p {
		color: rgba(255, 255, 255, 0.82);
		line-height: 1.65;
		font-size: 0.9375rem;
		margin: 0;
		max-width: 38ch;
	}

	.footer-stats {
		display: flex;
		gap: 30px;
		margin-top: 20px;
	}

	.footer-stats .stat-item {
		text-align: center;
	}

	.footer-stats .stat-number {
		display: block;
		font-size: 1.8rem;
		font-weight: 700;
		color: #3b82f6;
		margin-bottom: 5px;
	}

	/* 	.footer-stats .stat-label {
	font-size: 0.9rem;
	color: #94a3b8;
	font-weight: 500;
	} */

	.social-links {
		display: flex;
		gap: 15px;
	}

	.social-link:hover {
		background: #3b82f6;
		color: white;
		transform: translateY(-3px);
		box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
	}

	/* Footer Sections */
	.footer-section {
		display: flex;
		flex-direction: column;
		gap: 25px;
	}

	.footer-title {
		font-size: 0.75rem;
		font-weight: 600;
		color: rgba(255, 255, 255, 0.95);
		margin: 0;
		position: relative;
		padding-bottom: 12px;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		font-family: inherit;
	}

	.footer-title::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 2rem;
		height: 2px;
		background: linear-gradient(90deg, var(--hwx-accent-gold, #b8943f), rgba(255, 255, 255, 0.35));
		border-radius: 1px;
	}

	/* Footer Menus */
	.footer_menu_wrapper {
		margin: 0;
	}

	.footer_menu {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 0px;
	}

	.footer_menu li {
		margin: 0;
	}

	.footer_menu a {
		color: rgba(255, 255, 255, 0.88);
		text-decoration: none;
		font-size: 0.875rem;
		transition: color 0.2s ease, transform 0.2s ease;
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.footer_menu a::before {
		content: '→';
		color: #3b82f6;
		font-weight: bold;
		opacity: 0;
		transition: all 0.3s ease;
	}

	.footer_menu a:hover {
		color: white;
		transform: translateX(5px);
	}

	.footer_menu a:hover::before {
		opacity: 1;
	}

	/* Contact Section */
	.contact-details {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.contact-item {
		display: flex;
		align-items: center;
		gap: 15px;
	}

	.contact-icon {
		width: 40px;
		height: 40px;
		background: rgb(149 189 255 / 58%);
		border-radius: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #3b82f6;
		font-size: 16px;
	}

	.contact-text {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	.contact-label {
		font-size: 0.8rem;
		color: #94a3b8;
		font-weight: 500;
		text-transform: uppercase;
		letter-spacing: 0.5px;
	}

	.contact-text a,
	.contact-text span {
		color: #fff;
		text-decoration: none;
		font-size: 0.95rem;
	}

	.contact-text a:hover {
		color: #3b82f6;
	}

	/* Newsletter Mini */
	.newsletter-mini {
		background: rgba(255, 255, 255, 0.05);
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 15px;
		padding: 25px;
		margin-top: 20px;
	}

	.newsletter-mini h5 {
		color: white;
		font-size: 1.1rem;
		margin: 0 0 8px 0;
	}

	.newsletter-mini p {
		color: #fff;
		font-size: 0.9rem;
		margin: 0 0 20px 0;
	}

	.newsletter-form-mini {
		display: flex;
		gap: 10px;
	}

	.newsletter-form-mini input {
		flex: 1;
		padding: 12px 15px;
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-radius: 8px;
		background: rgba(255, 255, 255, 0.1);
		color: white;
		font-size: 0.9rem;
	}

	.newsletter-form-mini input::placeholder {
		color: rgba(255, 255, 255, 0.6);
	}

	.newsletter-form-mini input:focus {
		outline: none;
		border-color: #3b82f6;
		background: rgba(255, 255, 255, 0.15);
	}

	.newsletter-form-mini button {
		width: 45px;
		height: 45px;
		background: #3b82f6;
		border: none;
		border-radius: 8px;
		color: white;
		cursor: pointer;
		transition: all 0.3s ease;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.newsletter-form-mini button:hover {
		background: #1e40af;
		transform: translateY(-2px);
	}

	/* ===== NEWSLETTER SECTION ===== */
	.newsletter-section {
		padding: 3.25rem 0;
		background: linear-gradient(115deg, #0f172a 0%, #1e3a5f 55%, #172554 100%);
		color: white;
		position: relative;
		overflow: hidden;
		border-radius: 0;
	}

	.newsletter-section::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsletter-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23newsletter-pattern)"/></svg>');
		pointer-events: none;
	}

	.newsletter-content {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: clamp(2rem, 5vw, 3.5rem);
		align-items: center;
		position: relative;
		z-index: 1;
	}

	.newsletter-text h2 {
		font-family: var(--hwx-font-display);
		font-size: clamp(1.5rem, 2.5vw + 0.5rem, 1.95rem);
		font-weight: 500;
		margin-bottom: 1rem;
		line-height: 1.2;
		color: rgba(255, 255, 255, 0.98);
		letter-spacing: var(--hwx-track-tight, -0.02em);
	}

	.newsletter-text p {
		font-size: 0.9375rem;
		line-height: 1.65;
		margin-bottom: 1.5rem;
		opacity: 0.88;
		max-width: 48ch;
	}

	.newsletter-benefits {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	.benefit-item {
		display: flex;
		align-items: center;
		gap: 10px;
		font-size: 0.875rem;
		opacity: 0.92;
	}

	.benefit-item i {
		color: #10b981;
		font-size: 18px;
	}

	.newsletter-form-container {
		background: rgba(255, 255, 255, 0.06);
		backdrop-filter: blur(24px);
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: var(--hwx-radius-xl, 14px);
		padding: clamp(1.5rem, 3vw, 2rem);
		box-shadow: var(--hwx-shadow-soft, 0 20px 50px rgba(0, 0, 0, 0.2));
	}

	.newsletter-form {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.ginput_container {
		position: relative;
	}

	.ginput_container input,
	.fginput_container select {
		width: 100%;
		padding: 12px 16px;
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.08);
		color: white;
		font-size: 0.9375rem;
		transition: border-color 0.2s ease, background 0.2s ease;
	}

	.ginput_container input::placeholder {
		color: rgba(255, 255, 255, 0.7);
	}

	.ginput_container input:focus,
	.ginput_container select:focus {
		outline: none;
		border-color: rgba(255, 255, 255, 0.5);
		background: rgba(255, 255, 255, 0.15);
		box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
	}

	.ginput_container select option {
		background: #1e3a8a;
		color: white;
	}

	.newsletter-form input[type="submit"] {
		padding: 12px 24px;
		font-size: 0.8125rem;
		font-weight: 600;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		background: linear-gradient(135deg, #c47a1a 0%, #a86412 100%);
		color: #fff;
		width: 100%;
		border: none;
		border-radius: 999px;
		transition: transform 0.2s ease, box-shadow 0.2s ease;
	}

	.newsletter-form input[type="submit"]:hover {
		background: linear-gradient(135deg, #d4942e 0%, #b87418 100%);
		transform: translateY(-1px);
		box-shadow: 0 12px 28px rgba(196, 122, 26, 0.35);
	}

	.newsletter-stats {
		display: flex;
		justify-content: space-around;
		margin-top: 30px;
		padding-top: 30px;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

	.newsletter-stats .stat-item {
		text-align: center;
	}

	.newsletter-stats .stat-number {
		display: block;
		font-size: clamp(1.25rem, 2vw, 1.45rem);
		font-weight: 600;
		color: rgba(255, 255, 255, 0.98);
		font-family: var(--hwx-font-display);
		margin-bottom: 4px;
		font-variant-numeric: tabular-nums;
	}

	.newsletter-stats .stat-label {
		font-size: 0.6875rem;
		color: rgba(255, 255, 255, 0.65);
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	/* Footer Bottom */
	.footer-bottom {
		background: #0a0f1a;
		color: rgba(255, 255, 255, 0.78);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		padding: 1.25rem 0;
		position: relative;
		z-index: 1;
	}

	.copyright-content {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.copyright-text p {
		color: #fff;
		font-size: 0.9rem;
		margin: 0;
	}

	.footer-badges {
		display: flex;
		gap: 20px;
	}

	.footer-badges .badge {
		display: flex;
		align-items: center;
		gap: 8px;
		color: #fff;
		font-size: 0.85rem;
	}

	.footer-badges .badge i {
		color: #fff;
		font-size: 14px;
	}

	/* Responsive Design */
	@media (max-width: 1024px) {
		.footer-content {
			grid-template-columns: 1fr 1fr;
			gap: 40px;
			padding: 60px 0 40px;
		}

		.company-info {
			grid-column: 1 / -1;
		}
	}

	@media (max-width: 768px) {
		.newsletter-content {
			grid-template-columns: 1fr !important;
			gap: 40px;
			text-align: left;
		}

		.newsletter-text h2 {
			font-size: clamp(1.45rem, 4vw, 1.75rem);
		}

		.newsletter-form-container {
			padding: 30px 20px !important;
		}

		.newsletter-stats {
			flex-direction: row;
			gap: 20px;
		}

		.footer-content {
			grid-template-columns: 1fr;
			gap: 40px;
			padding: 40px 0 30px;
		}

		.footer-stats {
			justify-content: center;
		}

		.social-links {
			justify-content: center;
		}

		.copyright-content {
			flex-direction: column;
			gap: 20px;
			text-align: center;
		}

		.footer-badges {
			justify-content: center;
		}
	}

	@media (max-width: 480px) {
		.footer-stats {
			flex-direction: column;
			gap: 20px;
		}

		.newsletter-form-mini {
			flex-direction: column;
		}

		.newsletter-form-mini button {
			width: 100%;
		}
	}

/*
 * Chocolat lightbox — stack above sticky header (1000) and WP admin bar (#wpadminbar, 99999)
 */
.chocolat-overlay,
.chocolat-wrapper,
.chocolat-content,
.chocolat-left,
.chocolat-right,
.chocolat-bottom,
.chocolat-top {
	z-index: 100100 !important;
}

.chocolat-loading::before {
	z-index: 100101 !important;
}

/* Dark overlay (library default is near-white; looks wrong on screenshots) */
.chocolat-overlay {
	background-color: rgba(0, 0, 0, 0.88) !important;
	opacity: 1 !important;
}

/*
 * Chocolat 0.4 sets .chocolat-content width/height/left/top via JS (.center()).
 * Do NOT override with width:auto, transform, or flex — that breaks the image frame.
 */
body.chocolat-open .chocolat-wrapper {
	left: 0 !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	max-width: 100vw !important;
	height: 100% !important;
	max-height: 100dvh !important;
	overflow: hidden !important;
	padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
	box-sizing: border-box;
}

/*
 * Match Chocolat 0.4 default: .chocolat-content .chocolat-img { position:absolute; width:100%; height:100%; }
 * JS sets the content box size; the image must fill that box — object-fit:contain scales inside it.
 * width:auto / display:block breaks centering and leaves a small image in the corner.
 */
body.chocolat-open .chocolat-content {
	box-sizing: border-box;
	overflow: hidden;
}

body.chocolat-open .chocolat-content .chocolat-img {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center center;
	inset: auto !important;
}

