/* Ehtisham Securities — frontend. Strict monochrome: #000000, #0A0A0A, #6b6b6b, #FFFFFF. */

/* ============ Base ============ */
.es-kicker {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.8rem;
	font-weight: 600;
	color: #6b6b6b;
	margin-bottom: 0.75rem;
}
.es-kicker.on-dark { color: #6b6b6b; }

.es-chip {
	display: inline-block;
	border: 1px solid #6b6b6b;
	border-radius: 0;
	padding: 0.45rem 0.95rem;
	font-size: 0.875rem;
	line-height: 1.4;
	margin: 0 0.5rem 0.6rem 0;
	color: #000000;
	background: #FFFFFF;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.es-chip:hover { transform: translateY(-2px); }
.es-chip.on-dark {
	color: #FFFFFF;
	background: transparent;
	border-color: #6b6b6b;
}

.es-card {
	border: 1px solid #6b6b6b;
	padding: 1.75rem;
	background: #FFFFFF;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.es-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
	border-color: #000000;
}
.es-card.on-dark {
	background: #0A0A0A;
	border-color: #6b6b6b;
}
.es-card.on-dark:hover {
	border-color: #FFFFFF;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.es-step-num {
	font-family: Quicksand, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 2.75rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.es-pri-label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #6b6b6b;
	margin-bottom: 0.5rem;
}

/* ============ Top utility bar ============ */
.es-topbar {
	background: #000000;
	color: #FFFFFF;
	font-size: 0.78rem;
	letter-spacing: 0.02em;
}
.es-topbar-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: 0.45rem;
	padding-bottom: 0.45rem;
}
.es-topbar a { color: #FFFFFF; text-decoration: none; }
.es-topbar a:hover { color: #6b6b6b; }
.es-topbar-sep { width: 1px; height: 0.8rem; background: #333; }
.es-topbar-right { margin-left: auto; color: #6b6b6b; }
@media (max-width: 860px) {
	.es-topbar-right { display: none; }
}

/* ============ Header ============ */
.es-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #FFFFFF;
	border-bottom: 1px solid #e5e5e5;
	transition: box-shadow 0.3s ease;
}
.es-site-header.es-scrolled {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}
.es-site-header > .wp-block-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
}
.es-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	width: 100%;
}

/* Brand image logo (real logo), links home */
.es-brand-img {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}
.es-brand-img img {
	height: 46px;
	width: auto;
	display: block;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.es-brand-img:hover img { transform: scale(1.04); }

/* Brand lockup: mark + name + tagline, links home */
.es-brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	color: #000000;
	flex-shrink: 0;
}
.es-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: #000000;
	color: #FFFFFF;
	font-family: Quicksand, Inter, sans-serif;
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: 0.02em;
	border-radius: 4px;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.es-brand:hover .es-brand-mark { transform: rotate(-6deg) scale(1.05); }
.es-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.es-brand-name {
	font-family: Quicksand, Inter, sans-serif;
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: -0.01em;
	color: #000000;
}
.es-brand-tagline {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #6b6b6b;
}

/* Primary nav */
.es-main-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.es-nav-link {
	position: relative;
	padding: 0.65rem 1rem;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	color: #000000;
	border-radius: 4px;
	transition: background 0.25s ease;
}
.es-nav-link::after {
	content: "";
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 0.4rem;
	height: 2px;
	background: #000000;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.es-nav-link:hover::after { transform: scaleX(1); }
.es-nav-cta {
	margin-left: 0.75rem;
	padding: 0.7rem 1.5rem;
	background: #000000;
	color: #FFFFFF !important;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 4px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.es-nav-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
	background: #0A0A0A;
}
.es-nav-cta::after { display: none; }
.es-nav-contact {
	margin-left: 0.75rem;
	padding: 0.7rem 1.5rem;
	background: transparent;
	color: #000000 !important;
	border: 1px solid #000000;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 4px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.es-nav-contact:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
	background: rgba(0, 0, 0, 0.05);
}
.es-nav-contact::after { display: none; }

/* ============ Mega menu ============ */
.es-mega { position: relative; }
.es-mega-toggle { display: inline-flex; align-items: center; gap: 0.35rem; }
.es-mega-toggle::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.25s ease;
	order: 2;
}
.es-mega:hover .es-mega-toggle::before,
.es-mega:focus-within .es-mega-toggle::before { transform: rotate(225deg) translateY(-1px); }
.es-mega-panel {
	position: absolute;
	top: calc(100% + 0.75rem);
	left: 50%;
	transform: translate(-50%, 12px);
	width: min(42rem, 90vw);
	background: #FFFFFF;
	border: 1px solid #6b6b6b;
	border-radius: 8px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16);
	padding: 1.25rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.es-mega:hover .es-mega-panel,
.es-mega:focus-within .es-mega-panel,
.es-mega.es-open .es-mega-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}
.es-mega-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.9rem 1rem;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.25s ease, transform 0.25s ease;
}
.es-mega-item:hover { background: #f4f4f4; transform: translateX(4px); }
.es-mega-title {
	font-weight: 700;
	font-size: 0.95rem;
	color: #000000;
	font-family: Quicksand, Inter, sans-serif;
}
.es-mega-desc { font-size: 0.83rem; color: #6b6b6b; line-height: 1.45; }
.es-mega-all {
	grid-column: 1 / -1;
	text-align: center;
	padding: 0.85rem;
	margin-top: 0.5rem;
	border-top: 1px solid #e4e4e4;
	font-weight: 600;
	font-size: 0.9rem;
	color: #000000;
	text-decoration: none;
	transition: background 0.25s ease;
	border-radius: 0 0 6px 6px;
}
.es-mega-all:hover { background: #000000; color: #FFFFFF; }

/* ============ Mobile nav ============ */
.es-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.75rem;
	height: 2.75rem;
	background: transparent;
	border: 1px solid #6b6b6b;
	border-radius: 4px;
	cursor: pointer;
	padding: 0.6rem;
}
.es-nav-toggle span {
	display: block;
	height: 2px;
	background: #000000;
	border-radius: 1px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.es-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.es-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.es-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.es-mobile-nav {
	display: none;
	background: #FFFFFF;
	border-bottom: 1px solid #6b6b6b;
	padding: 0.5rem 0 1.25rem;
}
.es-mobile-nav[hidden] { display: none; }
.es-mobile-nav:not([hidden]) { display: block; animation: esSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.es-mnav-link {
	display: block;
	padding: 0.85rem 0;
	font-weight: 600;
	font-size: 1.05rem;
	color: #000000;
	text-decoration: none;
	border-bottom: 1px solid #eee;
}
.es-mnav-sub {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.25rem;
	padding: 0.5rem 0 0.75rem 1rem;
}
.es-mnav-sub a {
	padding: 0.5rem 0;
	font-size: 0.9rem;
	color: #555;
	text-decoration: none;
}
.es-mnav-cta {
	margin-top: 0.75rem;
	background: #000000;
	color: #FFFFFF;
	text-align: center;
	border-radius: 4px;
	border-bottom: none;
}
.es-mnav-contact {
	margin-top: 0.75rem;
	background: transparent;
	color: #000000;
	border: 1px solid #000000;
	text-align: center;
	border-radius: 4px;
	border-bottom: none;
}

/* ============ Hero ============ */
.es-hero {
	position: relative;
	overflow: hidden;
}
.es-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 56px 56px;
	animation: esGridDrift 24s linear infinite;
	pointer-events: none;
}
.es-hero::after {
	content: "";
	position: absolute;
	top: -20%;
	right: -10%;
	width: 55%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 65%);
	animation: esPulse 7s ease-in-out infinite;
	pointer-events: none;
}
.es-hero > * { position: relative; z-index: 1; }
.es-hero-anim {
	opacity: 0;
	animation: esFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.es-hero-title {
	font-size: clamp(2.4rem, 5.2vw, 4.2rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
	font-weight: 700;
}

/* ============ Marquee ============ */
.es-marquee {
	overflow: hidden;
	white-space: nowrap;
	border-top: 1px solid #6b6b6b;
	border-bottom: 1px solid #6b6b6b;
	background: #0A0A0A;
	padding: 0.9rem 0;
}
.es-marquee-track {
	display: inline-flex;
	gap: 3rem;
	padding-right: 3rem;
	animation: esMarquee 28s linear infinite;
}
.es-marquee:hover .es-marquee-track { animation-play-state: paused; }
.es-marquee-track a {
	font-family: Quicksand, Inter, sans-serif;
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #FFFFFF;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	border: 1px solid #6b6b6b;
	border-radius: 6px;
	padding: 0.65rem 1.25rem;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	white-space: nowrap;
}
.es-marquee-track a:hover {
	background: #FFFFFF;
	color: #000000;
	border-color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 255, 255, 0.12);
}

/* ============ Scroll reveal ============ */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============ Buttons ============ */
.wp-block-button__link {
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* ============ Footer nav (shortcode) ============ */
.es-footer-nav { list-style: none; margin: 0; padding: 0; }
.es-footer-nav li { margin: 0 0 0.55rem 0; }
.es-footer-nav a {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.25s ease, padding-left 0.25s ease;
}
.es-footer-nav a:hover,
.es-footer-nav a:focus { text-decoration: underline; padding-left: 4px; }

/* Legacy .es-nav (shortcode fallback) */
.es-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.es-nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: #000000; }
.es-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============ FAQ accordions ============ */
.wp-block-details {
	border: 1px solid #6b6b6b;
	border-radius: 6px;
	padding: 1rem 1.25rem;
	margin-bottom: 0.75rem;
	background: #ffffff;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.wp-block-details:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.wp-block-details[open] { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1); }
.wp-block-details summary {
	cursor: pointer;
	font-weight: 700;
	list-style-position: inside;
}
.wp-block-details summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.wp-block-details p:last-child { margin-bottom: 0.25rem; }

/* ============ Keyframes ============ */
@keyframes esFadeUp {
	from { opacity: 0; transform: translateY(34px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes esGridDrift {
	from { background-position: 0 0, 0 0; }
	to { background-position: 56px 112px, 112px 56px; }
}
@keyframes esPulse {
	0%, 100% { opacity: 0.7; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.12); }
}
@keyframes esMarquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@keyframes esSlideDown {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
	.es-main-nav { display: none; }
	.es-nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
	.es-brand-name { font-size: 1.05rem; }
	.es-brand-tagline { font-size: 0.62rem; }
	.es-mega-panel { grid-template-columns: 1fr; }
	.es-hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
}

/* ============ Footer ============ */
.es-footer {
	background: #000000;
	color: #FFFFFF;
	padding-top: 4.5rem;
	padding-bottom: 0;
	position: relative;
}
.es-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #FFFFFF 0%, #6b6b6b 45%, #FFFFFF 100%);
	background-size: 200% 100%;
	animation: esFooterShine 8s linear infinite;
}
.es-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 3rem;
	padding-bottom: 3.5rem;
}
.es-brand-footer-img img {
	height: 52px;
	width: auto;
	display: block;
}
.es-footer-blurb {
	margin-top: 1.25rem;
	font-size: 0.92rem;
	line-height: 1.65;
	color: #b5b5b5;
	max-width: 22rem;
}
/* Social icons */
.es-social {
	display: flex;
	gap: 0.65rem;
	margin-top: 1.4rem;
}
.es-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid #333;
	border-radius: 50%;
	color: #b5b5b5;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.es-social-link:hover {
	background: #FFFFFF;
	border-color: #FFFFFF;
	color: #000000;
	transform: translateY(-3px);
}
.es-footer-heading {
	font-family: Quicksand, Inter, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6b6b6b;
	margin: 0 0 1.25rem 0;
}
.es-footer-col a {
	display: block;
	color: #e8e8e8;
	text-decoration: none;
	font-size: 0.94rem;
	padding: 0.32rem 0;
	transition: color 0.25s ease, transform 0.25s ease;
}
.es-footer-col a:hover {
	color: #FFFFFF;
	transform: translateX(6px);
}
.es-footer-contact {
	font-size: 0.94rem;
	line-height: 1.7;
	color: #b5b5b5;
	margin: 0 0 1.1rem 0;
}
.es-footer-contact a { color: #e8e8e8; }
.es-footer-contact a:hover { color: #FFFFFF; }
.es-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	border-top: 1px solid rgba(147, 147, 147, 0.35);
	padding-top: 1.5rem;
	padding-bottom: 1.75rem;
	font-size: 0.85rem;
	color: #6b6b6b;
}
.es-footer-bottom a { color: #b5b5b5; text-decoration: none; }
.es-footer-bottom a:hover { color: #FFFFFF; text-decoration: underline; }
@keyframes esFooterShine {
	from { background-position: 200% 0; }
	to { background-position: -200% 0; }
}
@media (max-width: 900px) {
	.es-footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
}
@media (max-width: 560px) {
	.es-footer-grid { grid-template-columns: 1fr; }
	.es-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
	.es-hero-anim { opacity: 1; animation: none; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.es-hero::before, .es-hero::after { animation: none; }
	.es-marquee-track { animation: none; }
		.es-card:hover, .es-chip:hover, .es-nav-cta:hover, .es-nav-contact:hover, .wp-block-button__link:hover { transform: none; }
}

/* ============ Premium polish: refined, not playful ============ */
/* Gray privacy link in top bar */
.es-topbar-muted a { color: #6b6b6b; }
.es-topbar-muted a:hover { color: #FFFFFF; }

/* Buttons: subtle sheen sweep */
.wp-block-button__link, .es-nav-cta {
	position: relative;
	overflow: hidden;
}
.wp-block-button__link::before, .es-nav-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: -80%;
	width: 50%;
	height: 100%;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.25), transparent);
	transform: skewX(-20deg);
	transition: left 0.6s ease;
	pointer-events: none;
}
.wp-block-button__link:hover::before, .es-nav-cta:hover::before { left: 130%; }

/* Hero: quiet depth with layered radial light */
.es-hero {
	position: relative;
	isolation: isolate;
}
.es-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 60% 45% at 75% 20%, rgba(147, 147, 147, 0.14), transparent 70%),
		radial-gradient(ellipse 50% 40% at 15% 85%, rgba(147, 147, 147, 0.09), transparent 70%);
	pointer-events: none;
}

/* Section kickers: clean, no decoration */
.es-kicker {
	letter-spacing: 0.14em;
}

/* Cards: quiet border lift */
.es-card {
	transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.es-card:hover {
	border-color: #000000;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}

/* Footer: refined top edge */
.es-footer {
	border-top: 1px solid #222;
}

/* ============ Quote form ============ */
.es-quote-form {
	max-width: 44rem;
	margin: 0 auto;
}
.es-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
@media (max-width: 640px) {
	.es-form-row { grid-template-columns: 1fr; }
}
.es-form-field { margin-bottom: 1.25rem; }
.es-form-field label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
	color: #000000;
}
.es-form-field input,
.es-form-field select,
.es-form-field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-family: Inter, sans-serif;
	font-size: 1rem;
	background: #FFFFFF;
	color: #000000;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.es-form-field input:focus,
.es-form-field select:focus,
.es-form-field textarea:focus {
	outline: none;
	border-color: #000000;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.es-form-submit {
	display: inline-block;
	padding: 0.95rem 2.5rem;
	background: #000000;
	color: #FFFFFF;
	border: none;
	border-radius: 6px;
	font-family: Inter, sans-serif;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.es-form-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.es-form-privacy {
	font-size: 0.85rem;
	color: #6b6b6b;
	margin-top: 1rem;
}
.es-form-notice {
	max-width: 44rem;
	margin: 0 auto 1.5rem;
	padding: 1rem 1.25rem;
	border-radius: 6px;
	font-weight: 500;
}
.es-form-success {
	background: #f0f0f0;
	border: 1px solid #000000;
	color: #000000;
}
.es-form-error {
	background: #fff5f5;
	border: 1px solid #cc0000;
	color: #cc0000;
}

/* ============ Technologies grid ============ */
.es-tech-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 2.5rem;
}
@media (max-width: 900px) {
	.es-tech-grid { grid-template-columns: repeat(2, 1fr); }
}
.es-tech-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
	padding: 2rem 1.5rem;
	border: 1px solid #2a2a2a;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	min-height: 10rem;
}
.es-tech-card img {
	width: 8rem;
	height: 3rem;
	object-fit: contain;
}
.es-tech-card span {
	color: #b5b5b5;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-align: center;
}
.es-tech-card:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: #555;
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.es-tech-card:hover span { color: #FFFFFF; }

/* ============ Subtle scroll animations (IT domain adapted) ============ */
.es-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.es-reveal.es-visible {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.es-reveal { opacity: 1; transform: none; transition: none; }
}
/* Staggered children */
.es-reveal[data-delay="1"] { transition-delay: 0.1s; }
.es-reveal[data-delay="2"] { transition-delay: 0.2s; }
.es-reveal[data-delay="3"] { transition-delay: 0.3s; }
/* Subtle float for accent elements */
@keyframes es-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
.es-float { animation: es-float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
	.es-float { animation: none; }
}
/* Animated stat counters */
/* Smooth card lift (already have hover, this refines) */
.es-card, .es-tech-card { will-change: transform; }


/* ============ Layout fixes ============ */
/* Service cards: equal heights in grid (without breaking text) */
.wp-block-columns {
	align-items: stretch;
}
.wp-block-columns .wp-block-column > .es-card {
	height: 100%;
	box-sizing: border-box;
}
/* Tech cards: reduce excessive padding, larger logos */
.es-tech-card {
	padding: 1.5rem 1rem;
	min-height: 8rem;
}
.es-tech-card img {
	width: 8rem;
	height: 2.8rem;
	object-fit: contain;
}
/* Wide lockups (e.g. Microsoft Sentinel) get extra room so the wordmark stays legible */
.es-tech-card img.logo-wide {
	width: 10.5rem;
	height: 3.2rem;
}
/* Tech section: ensure full width, clear separation */
.es-section {
	clear: both;
	margin-bottom: 4rem;
}

/* ============ Enhanced scroll animations (reference video style) ============ */
.es-anim-section {
	opacity: 0;
	transform: translateY(60px) scale(0.98);
	transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.es-anim-section.es-inview {
	opacity: 1;
	transform: translateY(0) scale(1);
}
/* 3D tilt cards on scroll */
.es-tilt {
	opacity: 0;
	transform: perspective(1000px) rotateX(8deg) translateY(40px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.es-tilt.es-inview {
	opacity: 1;
	transform: perspective(1000px) rotateX(0) translateY(0);
}
/* Stagger delays */
.es-tilt[data-delay="1"], .es-anim-section[data-delay="1"] { transition-delay: 0.12s; }
.es-tilt[data-delay="2"], .es-anim-section[data-delay="2"] { transition-delay: 0.24s; }
.es-tilt[data-delay="3"], .es-anim-section[data-delay="3"] { transition-delay: 0.36s; }
/* Parallax hero */
.es-parallax {
	transition: transform 0.1s linear;
	will-change: transform;
}
/* Scale on scroll for headings */
.es-scale-in {
	opacity: 0;
	transform: scale(0.92);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.es-scale-in.es-inview {
	opacity: 1;
	transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
	.es-anim-section, .es-tilt, .es-scale-in { opacity: 1; transform: none; transition: none; }
	.es-parallax { transform: none !important; }
}


/* Skip to content link */
.es-skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.es-skip-link:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 20px; background: #000; color: #fff; z-index: 99999; border-radius: 4px; text-decoration: none; }

/* Noscript fallback: ensure animated content is visible */


/* Related Services (SEO internal linking) */
.es-related-services { padding: 3rem 0; border-top: 1px solid #eee; margin-top: 3rem; }
.es-related-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.es-related-services h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.es-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.es-related-card { display: block; padding: 1.25rem; border: 1px solid #e5e5e5; border-radius: 8px; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.es-related-card:hover { border-color: #000; transform: translateY(-2px); }
.es-related-card strong { display: block; margin-bottom: 0.5rem; }
.es-related-card span { font-size: 0.875rem; color: #666; }

/* FAQ Section (SEO) */
.es-faq-section { padding: 3rem 0; margin-top: 1rem; }
.es-faq-inner { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.es-faq-section h2 { font-size: 1.75rem; margin-bottom: 2rem; text-align: center; }
.es-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.es-faq-item { border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; }
.es-faq-item summary { padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600; list-style: none; position: relative; }
.es-faq-item summary::-webkit-details-marker { display: none; }
.es-faq-item summary::after { content: "+"; position: absolute; right: 1.5rem; font-size: 1.25rem; font-weight: 400; }
.es-faq-item[open] summary::after { content: "−"; }
.es-faq-item p { padding: 0 1.5rem 1.25rem; margin: 0; color: #444; line-height: 1.6; }

/* Breadcrumbs */
.es-breadcrumbs { font-size: 0.875rem; color: #666; margin-bottom: 1.5rem; }
.es-breadcrumbs a { color: #666; text-decoration: none; }
.es-breadcrumbs a:hover { color: #000; text-decoration: underline; }
.es-bc-sep { margin: 0 0.5rem; color: #999; }
.es-bc-current { color: #000; font-weight: 500; }

/* ============ Stats Strip (animated counters) ============ */
.es-stats-strip { background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 2.5rem 0; }
.es-stats-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.es-stat-num { font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.es-stat-label { margin-top: 0.5rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: #666; }
@media (max-width: 768px) {
	.es-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
	.es-stat-num { font-size: 2rem; }
}

/* ============ Hero word-by-word reveal ============ */
.es-hero-words .es-word { display: inline-block; opacity: 0; transform: translateY(0.6em); animation: es-word-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes es-word-up { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
	.es-hero-words .es-word { opacity: 1; transform: none; animation: none; }
}

/* ============ Hero animated grid background ============ */
.es-hero-grid-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0.5; }
.es-hero-grid-bg::before { content: ""; position: absolute; inset: -50%; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 56px 56px; animation: es-grid-pan 24s linear infinite; }
@keyframes es-grid-pan { to { transform: translate(56px, 56px); } }
@media (prefers-reduced-motion: reduce) {
	.es-hero-grid-bg::before { animation: none; }
}

/* ============ Scroll progress bar ============ */
.es-scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 99999; pointer-events: none; }
.es-scroll-progress-fill { height: 100%; width: 100%; background: #000; transform-origin: 0 50%; transform: scaleX(0); }

/* ============ Magnetic buttons ============ */
.es-magnetic { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }

/* ============ Card hover shine ============ */
.es-card, .es-tech-card, .es-related-card { position: relative; overflow: hidden; }
.es-card::after, .es-tech-card::after, .es-related-card::after { content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); transition: left 0.6s ease; pointer-events: none; }
.es-card:hover::after, .es-tech-card:hover::after, .es-related-card:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) {
	.es-card::after, .es-tech-card::after, .es-related-card::after { display: none; }
}

/* ============ Back to top ============ */
.es-back-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 44px; height: 44px; border-radius: 50%; background: #000; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; opacity: 0; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s; z-index: 9990; }
.es-back-top.es-visible { opacity: 1; transform: translateY(0); }
.es-back-top:hover { background: #222; }

/* ============ Testimonials slider ============ */
.es-testimonials { background: #0a0a0a; color: #fff; padding: 4.5rem 0; }
.es-testimonials-inner { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.es-t-kicker { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #999; margin: 0 0 0.75rem; }
.es-testimonials h2 { color: #fff; font-size: 2rem; margin: 0 0 0.5rem; }
.es-t-sub { color: #999; font-size: 0.95rem; margin: 0 0 2.5rem; }
.es-t-slider { position: relative; }
.es-t-track { position: relative; min-height: 220px; }
.es-t-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(40px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1); pointer-events: none; display: flex; flex-direction: column; justify-content: center; }
.es-t-slide.es-active { opacity: 1; transform: translateX(0); pointer-events: auto; position: relative; }
.es-t-stars { color: #fff; letter-spacing: 0.25em; margin-bottom: 1.25rem; font-size: 1.1rem; }
.es-t-slide blockquote { font-size: 1.35rem; line-height: 1.55; margin: 0 0 1.5rem; font-weight: 500; }
.es-t-slide figcaption strong { display: block; font-size: 1rem; }
.es-t-slide figcaption span { color: #999; font-size: 0.875rem; }
.es-t-nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.es-t-prev, .es-t-next { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #444; background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; transition: background 0.2s, border-color 0.2s; }
.es-t-prev:hover, .es-t-next:hover { background: #fff; color: #000; border-color: #fff; }
.es-t-dots { display: flex; gap: 0.6rem; }
.es-t-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: #444; cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
.es-t-dot.es-active { background: #fff; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) {
	.es-t-slide { transition: none; }
}

/* ============ Service finder quiz ============ */
.es-quiz { background: #fff; padding: 4.5rem 0; border-top: 1px solid #eee; }
.es-quiz-inner { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.es-q-kicker { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #666; margin: 0 0 0.75rem; }
.es-quiz h2 { font-size: 2rem; margin: 0 0 2rem; }
.es-q-body { background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 2rem; }
.es-q-progress { height: 4px; background: #e5e5e5; border-radius: 2px; overflow: hidden; margin-bottom: 1.75rem; }
.es-q-progress-fill { height: 100%; width: 0; background: #000; border-radius: 2px; transition: width 0.4s cubic-bezier(0.16,1,0.3,1); }
.es-q-step { display: none; }
.es-q-step.es-active { display: block; animation: es-q-in 0.4s cubic-bezier(0.16,1,0.3,1); }
@keyframes es-q-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.es-q-question { font-size: 1.25rem; font-weight: 700; margin: 0 0 1.5rem; }
.es-q-options { display: grid; gap: 0.75rem; }
.es-q-option { padding: 1rem 1.25rem; border: 1px solid #ddd; border-radius: 8px; background: #fff; font-size: 1rem; cursor: pointer; text-align: left; transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s; }
.es-q-option:hover { border-color: #000; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.es-q-result-card { background: #0a0a0a; color: #fff; border-radius: 10px; padding: 2rem; margin-bottom: 1.25rem; }
.es-q-result-name { color: #fff; margin: 0 0 0.5rem; font-size: 1.5rem; }
.es-q-result-desc { color: #bbb; margin: 0 0 1.5rem; }
.es-q-result-link { display: inline-block; background: #fff; color: #000; padding: 0.8rem 1.75rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.es-q-result-link:hover { background: #e5e5e5; }
.es-q-restart { background: none; border: none; color: #666; cursor: pointer; font-size: 0.9rem; text-decoration: underline; }
.es-q-restart:hover { color: #000; }
@media (prefers-reduced-motion: reduce) {
	.es-q-step.es-active { animation: none; }
	.es-q-progress-fill { transition: none; }
}