/* ==========================================================================
   Zain Saeed theme - main.css
   Mobile-first, premium minimal layout.
   ========================================================================== */

:root {
	--color-cream: #fcfbf9;
	--color-cream-deep: #f3eee6;

	--color-navy: #1e3a5f;
	--color-navy-700: #15294a;
	--color-navy-300: #4a6485;

	/* Match static homepage accents (warm amber + slate body text). */
	--color-charcoal: #1e293b;
	--color-muted: #64748b;

	/* Primary interaction accent (homepage / mega-menu family). */
	--color-accent: #d97706;
	--color-accent-strong: #b45309;

	--color-gold: #c9a961;
	--color-gold-700: #a8893f;
	--color-white: #ffffff;
	--color-border: rgba(30, 58, 95, 0.12);
	--color-border-strong: rgba(30, 58, 95, 0.22);

	--font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;
	--radius-pill: 999px;

	--shadow-card: 0 18px 40px -28px rgba(20, 30, 60, 0.35);
	--shadow-card-hover: 0 30px 60px -30px rgba(20, 30, 60, 0.45);

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;
	--space-10: 8rem;

	--container-max: 1200px;
	--container-narrow: 820px;
	--header-height: 76px;
}

/* ==========================================================================
   Base typography
   ========================================================================== */

body {
	font-family: var(--font-body);
	color: var(--color-charcoal);
	background-color: var(--color-cream);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--color-navy);
	line-height: 1.2;
	margin: 0 0 var(--space-5);
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; }

em {
	font-style: italic;
	color: var(--color-navy-300);
}

p {
	margin: 0 0 var(--space-5);
}

a {
	color: var(--color-navy);
	text-decoration: none;
	transition: color 160ms ease, opacity 160ms ease;
}

a:hover,
a:focus-visible {
	color: var(--color-accent-strong);
}

ul, ol {
	margin: 0 0 var(--space-5);
	padding-left: 1.25rem;
}

li + li {
	margin-top: var(--space-2);
}

blockquote {
	margin: var(--space-6) 0;
	padding: var(--space-5) var(--space-6);
	border-left: 3px solid var(--color-gold);
	background: rgba(201, 169, 97, 0.08);
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.2rem;
	color: var(--color-navy);
}

code, pre {
	font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.92em;
}

pre {
	background: var(--color-navy);
	color: #f1f5f9;
	padding: var(--space-5);
	border-radius: var(--radius-md);
	overflow-x: auto;
}

hr {
	border: 0;
	height: 1px;
	background: var(--color-border);
	margin: var(--space-7) 0;
}

img {
	border-radius: var(--radius-md);
}

::selection {
	background: rgba(201, 169, 97, 0.35);
	color: var(--color-navy);
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--space-5);
	padding-right: var(--space-5);
}

.container--narrow {
	max-width: var(--container-narrow);
}

.page-wrap {
	padding-top: calc(var(--header-height) + var(--space-7));
	padding-bottom: var(--space-9);
}

.page-header {
	margin-bottom: var(--space-7);
	text-align: left;
}

.page-title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	margin-bottom: var(--space-4);
}

.archive-eyebrow {
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-gold-700);
	font-size: 0.78rem;
	font-weight: 600;
	margin: 0 0 var(--space-3);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: 0.85rem 1.6rem;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
	text-decoration: none;
	line-height: 1.2;
	white-space: nowrap;
}

.button--gold,
.is-style-gold .wp-block-button__link {
	background: var(--color-gold);
	color: var(--color-navy);
	box-shadow: 0 14px 30px -16px rgba(201, 169, 97, 0.7);
}

.button--gold:hover,
.is-style-gold .wp-block-button__link:hover {
	background: var(--color-gold-700);
	color: var(--color-white);
	transform: translateY(-1px);
}

.button--navy,
.is-style-navy .wp-block-button__link {
	background: var(--color-navy);
	color: var(--color-white);
}

.button--navy:hover,
.is-style-navy .wp-block-button__link:hover {
	background: var(--color-navy-700);
	color: var(--color-white);
	transform: translateY(-1px);
}

.button--navy-outline,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--color-navy);
	border: 1px solid var(--color-navy);
}

.button--navy-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--color-navy);
	color: var(--color-white);
}

.wp-block-button {
	margin-right: var(--space-3);
	margin-bottom: var(--space-3);
}

.wp-block-buttons {
	gap: var(--space-3);
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 220;
	background: rgba(253, 252, 248, 0.86);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(148, 115, 60, 0.08);
	transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
	overflow: visible;
	display: flex;
	flex-direction: column;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	gap: var(--space-5);
	overflow: visible;
	position: relative;
}

.site-header.is-scrolled {
	background: rgba(252, 251, 249, 0.96);
	border-bottom-color: rgba(30, 41, 59, 0.1);
	box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.18);
}

.site-chip-bar {
	display: none;
	position: relative;
	z-index: 2;
	padding: 0.38rem 0 0.55rem;
	border-top: 1px solid rgba(30, 41, 59, 0.06);
	background: linear-gradient(180deg, rgba(253, 252, 249, 0.98), rgba(250, 246, 240, 0.92));
}

.site-chip-bar__inner {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	align-items: center;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.site-chip-bar__inner::-webkit-scrollbar {
	display: none;
}

.site-chip-bar__chip {
	flex: 0 0 auto;
	padding: 0.28rem 0.74rem;
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.02em;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(30, 41, 59, 0.1);
	background: rgba(255, 255, 255, 0.78);
	color: var(--color-charcoal) !important;
	white-space: nowrap;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.site-chip-bar__chip:hover,
.site-chip-bar__chip:focus-visible {
	background: #ffffff;
	border-color: rgba(217, 119, 6, 0.45);
	box-shadow: 0 8px 24px -16px rgba(217, 119, 6, 0.35);
	transform: translateY(-1px);
	outline: none;
}

@media (max-width: 1023px) {
	:root {
		--header-height: 132px;
	}
	.site-chip-bar {
		display: block;
	}
}

.site-branding .site-title {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--color-navy);
	display: inline-flex;
	gap: 0.2em;
}

.site-title__accent {
	color: var(--color-gold);
	font-style: italic;
}

.custom-logo {
	max-height: 48px;
	width: auto;
}

.site-nav {
	display: none;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.site-nav__row-main {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: var(--space-5);
	width: 100%;
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--space-5);
	align-items: center;
}

.site-nav__list li {
	margin: 0;
}

.site-nav__list a {
	font-family: var(--font-body), 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-weight: 500;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	line-height: 1.35;
	color: var(--color-charcoal);
	padding: 0.45rem 0;
	position: relative;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
	color: var(--color-accent-strong);
}

.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 1px;
	height: 2px;
	border-radius: 1px;
	background: linear-gradient(90deg, var(--color-accent), var(--color-accent-strong));
	transition: right 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item a::after {
	right: 0;
}

.site-nav__list .menu-item-has-children {
	position: relative;
}

.site-nav__list .menu-item-has-children > .sub-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Always-visible shortcuts to SEO landing pages (not reliant on submenu hover/tap). */
.site-nav__landing-label {
	display: none;
	margin: var(--space-4) 0 var(--space-2);
	padding: 0;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-accent-strong);
}

.site-nav__landing {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	gap: var(--space-2);
	align-items: center;
}

.site-nav__landing li {
	margin: 0;
}

.site-nav__landing-link {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.74rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--color-charcoal) !important;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(30, 41, 59, 0.09);
	border-radius: var(--radius-pill);
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.site-nav__landing-link:hover,
.site-nav__landing-link:focus-visible {
	background: #ffffff;
	border-color: rgba(217, 119, 6, 0.4);
	transform: translateY(-1px);
	box-shadow: 0 14px 32px -20px rgba(217, 119, 6, 0.25);
	outline: none;
}

.site-nav__list .sub-menu a::after {
	display: none;
}

/* Primary nav typography — wins over Next/Tailwind on the PHP homepage shell */
#site-header.site-header {
	font-family: var(--font-body), 'Manrope', system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#site-header .site-nav__list a,
#site-header .site-nav__list .sub-menu a,
#site-header ul#site-nav-primary a,
#site-header ul.menu.site-nav__list a {
	font-family: var(--font-body), 'Manrope', system-ui, -apple-system, sans-serif !important;
	font-weight: 500 !important;
	font-size: 0.9375rem !important;
	letter-spacing: 0.02em !important;
	line-height: 1.35 !important;
	text-transform: none !important;
}

#site-header .site-nav__cta.button {
	font-family: var(--font-body), 'Manrope', system-ui, sans-serif !important;
	font-weight: 600 !important;
	font-size: 0.875rem !important;
	letter-spacing: 0.02em !important;
	text-transform: none !important;
}

#site-header .site-chip-bar__chip,
#site-header .site-nav__landing-link {
	font-family: var(--font-body), 'Manrope', system-ui, sans-serif !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
}

#site-header .site-nav__list .current-menu-item > a,
#site-header .site-nav__list .current-menu-ancestor > a {
	color: var(--color-accent-strong);
	font-weight: 600 !important;
}

.site-nav__cta {
	padding: 0.58rem 1.2rem;
	font-size: 0.8425rem;
}

/* Header CTA mirrors the homepage dark pill (“Let’s Talk” / WhatsApp). */
.site-header .site-nav__cta.button--gold {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #fffbeb;
	border: 1px solid rgba(251, 191, 36, 0.3);
	box-shadow:
		0 12px 36px -18px rgba(15, 23, 42, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	text-transform: none;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.site-header .site-nav__cta.button--gold:hover,
.site-header .site-nav__cta.button--gold:focus-visible {
	background: linear-gradient(135deg, #1e293b, #334155);
	color: #ffffff;
	border-color: rgba(253, 230, 138, 0.42);
	transform: translateY(-1px);
	box-shadow:
		0 16px 42px -20px rgba(15, 23, 42, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	outline: none;
}

.site-nav__toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(30, 41, 59, 0.14);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.site-nav__toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--color-charcoal);
	margin: 0 auto;
	transition: transform 200ms ease, opacity 200ms ease;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(2) {
	transform: translateY(7px) rotate(45deg);
}
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(3) {
	opacity: 0;
}
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(4) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile-open nav */
.site-nav.is-open {
	display: flex;
	position: absolute;
	top: var(--header-height);
	left: 0;
	right: 0;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	background: var(--color-cream);
	padding: var(--space-5);
	border-bottom: 1px solid var(--color-border);
	box-shadow: 0 18px 30px -22px rgba(20, 30, 60, 0.35);
}

.site-nav.is-open .site-nav__row-main {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding-bottom: var(--space-4);
	margin-bottom: 0;
	border-bottom: 1px solid var(--color-border);
}

.site-nav.is-open .site-nav__list {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	border-bottom: 0;
}

.site-nav.is-open .site-nav__list li {
	border-top: 1px solid var(--color-border);
}

.site-nav.is-open .site-nav__list a {
	display: block;
	padding: var(--space-4) 0;
}

.site-nav.is-open .site-nav__list .menu-item-has-children > .sub-menu {
	display: block;
	position: static;
	margin: 0 0 var(--space-3);
	padding-left: var(--space-4);
	border-left: 1px solid var(--color-border);
}

.site-nav.is-open .site-nav__list .sub-menu li {
	border-top: 0;
}

.site-nav.is-open .site-nav__list .sub-menu a {
	padding: 0.45rem 0;
	font-size: 0.92rem;
	color: var(--color-navy);
}

.site-nav.is-open .site-nav__row-main .site-nav__cta {
	align-self: flex-start;
	margin-top: var(--space-3);
	margin-left: 0;
}

/* Landing-page shortcuts: visible inside the opened mobile sheet */
.site-nav.is-open .site-nav__landing-label {
	display: block;
}

.site-nav.is-open .site-nav__landing {
	display: flex;
	margin-top: 0;
	padding-top: var(--space-4);
	border-top: 1px dashed var(--color-border-strong);
}

/* ==========================================================================
   Blog cards / post lists
   ========================================================================== */

.post-list {
	display: grid;
	gap: var(--space-7);
	margin-bottom: var(--space-7);
}

.post-card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--color-border);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.post-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-card-hover);
}

.post-card__media img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 0;
}

.post-card__body {
	padding: var(--space-6);
}

.post-card__meta {
	font-size: 0.8rem;
	color: var(--color-muted);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: var(--space-3);
}

.post-card__title {
	font-size: 1.5rem;
	margin-bottom: var(--space-3);
}

.post-card__title a {
	color: var(--color-navy);
}

.post-card__excerpt {
	color: #3b3b3b;
	margin-bottom: var(--space-4);
}

.post-card__more {
	font-weight: 600;
	color: var(--color-gold-700);
}

/* ==========================================================================
   Single post
   ========================================================================== */

.single-post__cover {
	margin-top: var(--header-height);
}

.single-post__cover-image {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: 0;
}

.single-post__header {
	padding-top: var(--space-8);
	padding-bottom: var(--space-5);
	text-align: left;
}

.single-post:not(:has(.single-post__cover)) .single-post__header {
	padding-top: calc(var(--header-height) + var(--space-7));
}

.single-post__meta {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 0.8rem;
	color: var(--color-muted);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: var(--space-3);
}

.single-post__cat {
	color: var(--color-gold-700);
	font-weight: 600;
}

.single-post__title {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	margin-bottom: var(--space-4);
}

.single-post__lead {
	font-size: 1.15rem;
	color: var(--color-muted);
	max-width: 60ch;
}

.single-post__content > * {
	max-width: 100%;
}

.single-post__content {
	font-size: 1.05rem;
	line-height: 1.8;
}

.single-post__content h2,
.single-post__content h3 {
	margin-top: var(--space-7);
}

.single-post__content img {
	width: 100%;
}

.single-post__footer {
	margin-top: var(--space-8);
}

.author-bio {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: var(--space-5);
	align-items: start;
	padding: var(--space-6);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.author-bio__avatar {
	border-radius: var(--radius-pill);
}

.author-bio__eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-gold-700);
	margin: 0 0 var(--space-2);
}

.author-bio__name {
	margin: 0 0 var(--space-3);
}

.author-bio__text {
	margin: 0;
	color: var(--color-muted);
}

.related-posts {
	margin-top: var(--space-8);
}

.related-posts__title {
	margin-bottom: var(--space-5);
}

.related-posts__grid {
	display: grid;
	gap: var(--space-5);
}

.related-card {
	background: var(--color-white);
	padding: var(--space-4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.related-card__media img {
	border-radius: var(--radius-md);
	margin-bottom: var(--space-3);
	height: 160px;
	width: 100%;
	object-fit: cover;
}

.related-card__title {
	font-size: 1.15rem;
	margin-bottom: var(--space-2);
}

.related-card__date {
	font-size: 0.78rem;
	color: var(--color-muted);
	margin: 0;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ==========================================================================
   Default page
   ========================================================================== */

.page-default .page-content {
	font-size: 1.05rem;
	line-height: 1.8;
}

.page-default .page-content h2 {
	margin-top: var(--space-7);
}

/* ==========================================================================
   Landing template
   ========================================================================== */

.landing-page {
	padding-top: var(--header-height);
}

.landing-page__content > * {
	margin-top: 0;
	margin-bottom: 0;
}

.landing-page .wp-block-cover {
	min-height: 70vh;
	color: var(--color-white);
}

.landing-page .wp-block-cover h1,
.landing-page .wp-block-cover h2,
.landing-page .wp-block-cover h3 {
	color: var(--color-white);
}

.landing-page .has-cream-background-color { background-color: var(--color-cream); }
.landing-page .has-cream-deep-background-color { background-color: var(--color-cream-deep); }
.landing-page .has-navy-background-color { background-color: var(--color-navy); color: var(--color-white); }
.landing-page .has-white-background-color { background-color: var(--color-white); }
.landing-page .has-gold-background-color { background-color: var(--color-gold); color: var(--color-navy); }

.landing-page .has-navy-color { color: var(--color-navy); }
.landing-page .has-gold-color { color: var(--color-gold); }
.landing-page .has-cream-color { color: var(--color-cream); }
.landing-page .has-charcoal-color { color: var(--color-charcoal); }
.landing-page .has-muted-color { color: var(--color-muted); }
.landing-page .has-white-color { color: var(--color-white); }

.landing-page .wp-block-group {
	padding-left: var(--space-5);
	padding-right: var(--space-5);
}

.landing-page .wp-block-group.alignfull {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.landing-page .wp-block-group__inner-container,
.landing-page .alignfull > .wp-block-group__inner-container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
}

.landing-page .wp-block-columns {
	gap: var(--space-5) !important;
}

.landing-page .wp-block-column h3 {
	margin-top: var(--space-2);
}

.landing-page .wp-block-list {
	padding-left: 1.2rem;
}

.landing-page .wp-block-list li::marker {
	color: var(--color-gold);
}

.landing-page .wp-block-quote {
	border-left: 3px solid var(--color-gold);
	background: rgba(201, 169, 97, 0.1);
	padding: var(--space-5) var(--space-6);
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.2rem;
}

/* Landing section wrapper (used by patterns) */
.ls-section {
	padding: var(--space-9) var(--space-5);
}

.ls-section--hero {
	padding-top: calc(var(--header-height) + var(--space-8));
	padding-bottom: var(--space-9);
	background: var(--color-cream);
}

.ls-section--alt {
	background: var(--color-cream-deep);
}

.ls-section--navy {
	background: var(--color-navy);
	color: var(--color-white);
}

.ls-section--navy h1,
.ls-section--navy h2,
.ls-section--navy h3,
.ls-section--navy h4 {
	color: var(--color-white);
}

/* ==========================================================================
   Landing CTA (rendered by template, always at bottom of every landing page)
   ========================================================================== */

.landing-cta {
	background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-700) 100%);
	color: var(--color-white);
	padding: var(--space-9) var(--space-5);
	text-align: center;
}

.landing-cta__inner {
	max-width: 720px;
}

.landing-cta__eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-4);
}

.landing-cta__title {
	color: var(--color-white);
	font-size: clamp(2rem, 4.5vw, 3rem);
	margin-bottom: var(--space-4);
}

.landing-cta__title em {
	color: var(--color-gold);
}

.landing-cta__lead {
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.1rem;
	margin-bottom: var(--space-6);
}

.landing-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	justify-content: center;
	margin-bottom: var(--space-5);
}

.landing-cta__buttons .button--navy-outline {
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.45);
}

.landing-cta__buttons .button--navy-outline:hover {
	background: var(--color-white);
	color: var(--color-navy);
}

.landing-cta__note {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.9rem;
	margin: 0;
}

.landing-cta__note a {
	color: var(--color-gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Empty state / 404
   ========================================================================== */

.empty-state {
	text-align: center;
	padding: var(--space-8) var(--space-5);
}

.empty-state__lead {
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
	color: var(--color-muted);
	margin-bottom: var(--space-6);
}

.empty-state__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	justify-content: center;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
	margin-top: var(--space-8);
}

.comments-area__title {
	margin-bottom: var(--space-5);
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--space-6);
}

.comment-list li {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-5);
	margin-top: var(--space-4);
}

.comment-list .children {
	list-style: none;
	padding-left: var(--space-5);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-md);
	font: inherit;
	background: var(--color-white);
}

.comment-form p {
	margin-bottom: var(--space-4);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.wp-block-post-template,
.wp-pagenavi,
.navigation.pagination .nav-links,
.page-pagination {
	display: flex;
	gap: var(--space-2);
	align-items: center;
	justify-content: center;
	margin-top: var(--space-6);
	flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.8rem;
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-border-strong);
	color: var(--color-navy);
	font-weight: 600;
	background: var(--color-white);
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
	background: var(--color-navy);
	color: var(--color-white);
	border-color: var(--color-navy);
}

/* ==========================================================================
   Search form
   ========================================================================== */

.wp-block-search,
.search-form {
	display: flex;
	gap: var(--space-3);
	margin-bottom: var(--space-6);
}

.wp-block-search__input,
.search-field {
	flex: 1;
	padding: 0.7rem 1rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-pill);
	background: var(--color-white);
	font: inherit;
}

.wp-block-search__button,
.search-submit {
	padding: 0.7rem 1.4rem;
	border-radius: var(--radius-pill);
	background: var(--color-navy);
	color: var(--color-white);
	border: none;
	font-weight: 600;
	cursor: pointer;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 640px) {
	.post-card__media img { height: 280px; }
	.related-posts__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	:root { --header-height: 134px; }
	.container { padding-left: var(--space-6); padding-right: var(--space-6); }
	.site-header__inner {
		align-items: flex-start;
		height: auto;
		min-height: 0;
		padding-top: 0.9rem;
		padding-bottom: 0.95rem;
	}
	.site-branding {
		padding-top: 4px;
	}
	.site-nav {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 0.5rem;
		max-width: min(940px, 74vw);
	}
	.site-nav__row-main {
		justify-content: flex-end;
		width: auto;
	}
	.site-nav__landing-label {
		display: block;
		margin: 0;
		text-align: right;
	}
	.site-nav__landing {
		display: flex !important;
		justify-content: flex-end;
		flex-wrap: wrap;
		padding-top: 0;
		border-top: none;
		max-width: 100%;
	}
	.site-nav__toggle { display: none; }
	.site-nav__list .menu-item-has-children > .sub-menu {
		display: block;
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		min-width: 290px;
		padding: 0.4rem;
		background: var(--color-cream);
		border: 1px solid var(--color-border);
		border-radius: var(--radius-md);
		box-shadow: 0 16px 28px -20px rgba(20, 30, 60, 0.45);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		pointer-events: none;
		transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
		z-index: 20;
	}
	.site-nav__list .menu-item-has-children:hover > .sub-menu,
	.site-nav__list .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}
	.site-nav__list .sub-menu li {
		margin: 0;
	}
	.site-nav__list .sub-menu a {
		display: block;
		padding: 0.55rem 0.7rem;
		font-size: 0.9rem;
		border-radius: var(--radius-sm);
		white-space: nowrap;
	}
	.site-nav__list .sub-menu a:hover,
	.site-nav__list .sub-menu .current-menu-item > a {
		background: rgba(217, 119, 6, 0.12);
		color: var(--color-charcoal);
	}
	.related-posts__grid { grid-template-columns: repeat(3, 1fr); }
	.ls-section { padding: var(--space-10) var(--space-6); }
	.ls-section--hero { padding-top: calc(var(--header-height) + var(--space-9)); padding-bottom: var(--space-10); }
}

@media (min-width: 1280px) {
	.container { padding-left: var(--space-7); padding-right: var(--space-7); }
}

/* ==========================================================================
   Editor-only tweaks
   ========================================================================== */

.editor-styles-wrapper {
	background-color: var(--color-cream);
	font-family: var(--font-body);
	color: var(--color-charcoal);
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4 {
	font-family: var(--font-display);
	color: var(--color-navy);
}

/* ==========================================================================
   Footer (.zs-footer) — custom designer footer, scoped
   ========================================================================== */

.zs-footer {
	--zs-navy: #1e3a5f;
	--zs-navy-deep: #0f2540;
	--zs-cream: #fcfbf9;
	--zs-gold: #c9a961;
	--zs-gold-soft: rgba(201, 169, 97, 0.25);
	--zs-white: #ffffff;
	--zs-muted: #9ca3af;

	position: relative;
	margin-top: 0;
	background: linear-gradient(180deg, var(--zs-navy) 0%, var(--zs-navy-deep) 100%);
	color: rgba(255, 255, 255, 0.78);
	font-family: var(--font-body);
	line-height: 1.6;
}

.zs-footer a {
	text-decoration: none;
	color: inherit;
}

.zs-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 24px 0;
}

.zs-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
}

.zs-footer__col {
	min-width: 0;
}

/* Brand column */
.zs-footer__mark {
	display: inline-block;
	font-family: var(--font-display, 'Playfair Display', serif);
	font-size: 1.85rem;
	line-height: 1;
	letter-spacing: -0.01em;
	margin-bottom: 20px;
}

.zs-footer__mark-text {
	display: inline;
}

.zs-footer__mark-text--name {
	color: #ffffff;
	font-weight: 600;
}

.zs-footer__mark-text--accent {
	display: inline;
	color: var(--zs-gold);
	font-style: italic;
	padding-left: 0.06em;
}

.zs-footer__tagline {
	max-width: 360px;
	margin: 0 0 24px;
	font-size: 0.95rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.62);
}

.zs-footer__socials {
	display: flex;
	align-items: center;
	gap: 10px;
}

.zs-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--zs-gold);
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.zs-footer__social:hover,
.zs-footer__social:focus-visible {
	background: var(--zs-gold);
	color: var(--zs-navy-deep);
	border-color: var(--zs-gold);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -12px rgba(201, 169, 97, 0.55);
	outline: none;
}

/* Headings */
.zs-footer__heading {
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--zs-gold);
	margin: 0 0 20px;
}

/* Lists */
.zs-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.zs-footer__link {
	position: relative;
	display: inline-block;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.95rem;
	transition: color 160ms ease, transform 160ms ease;
}

.zs-footer__link:hover,
.zs-footer__link:focus-visible {
	color: var(--zs-gold);
	transform: translateX(3px);
	outline: none;
}

/* Contact rows */
.zs-footer__list--contact {
	gap: 14px;
}

.zs-footer__contact-row {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.95rem;
}

.zs-footer__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 10px;
	background: rgba(201, 169, 97, 0.08);
	border: 1px solid rgba(201, 169, 97, 0.18);
	color: var(--zs-gold);
}

.zs-footer__contact-row a {
	color: inherit;
	transition: color 160ms ease;
}

.zs-footer__contact-row a:hover,
.zs-footer__contact-row a:focus-visible {
	color: var(--zs-gold);
	outline: none;
}

/* Reply pill */
.zs-footer__pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(201, 169, 97, 0.10);
	border: 1px solid rgba(201, 169, 97, 0.28);
	color: var(--zs-gold);
	font-size: 0.78rem;
	font-style: italic;
	letter-spacing: 0.02em;
}

.zs-footer__pill-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--zs-gold);
	box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.18);
}

/* Divider */
.zs-footer__rule {
	border: 0;
	height: 1px;
	background: var(--zs-gold-soft);
	margin: 64px 0 0;
	opacity: 0.9;
}

/* Bottom strip */
.zs-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 24px 0 32px;
	font-size: 0.85rem;
	color: var(--zs-muted);
}

.zs-footer__copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
}

.zs-footer__credit {
	margin: 0;
	font-style: italic;
	color: var(--zs-muted);
}

/* Tablet / desktop */
@media (min-width: 640px) {
	.zs-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 56px 48px;
	}
}

@media (min-width: 1024px) {
	.zs-footer__inner { padding: 96px 32px 0; }
	.zs-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
		gap: 64px;
	}
	.zs-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}
}

/* ==========================================================================
   Quote request page (/quote/)
   ========================================================================== */

.quote-page {
	overflow-x: clip;
}

.quote-page .quote-hero {
	text-align: left;
	max-width: var(--container-narrow);
}

.quote-page .quote-hero__title {
	max-width: 18ch;
}

.quote-page .quote-hero__lead {
	font-size: 1.075rem;
	color: var(--color-muted);
	margin: 0;
	max-width: 52ch;
}

.quote-body {
	background: linear-gradient(
		180deg,
		var(--color-cream) 0%,
		var(--color-cream-deep) 52%,
		var(--color-cream-deep) 100%
	);
	padding: var(--space-8) 0 var(--space-10);
}

.quote-body__grid {
	display: grid;
	gap: var(--space-8);
	align-items: start;
}

.quote-aside h2 {
	margin-bottom: var(--space-4);
}

.quote-aside__list {
	list-style: none;
	margin: 0 0 var(--space-7);
	padding: 0;
}

.quote-aside__list li {
	position: relative;
	padding-left: var(--space-6);
	margin-bottom: var(--space-3);
	color: var(--color-charcoal);
}

.quote-aside__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(
		145deg,
		var(--color-gold) 0%,
		var(--color-gold-700) 100%
	);
	box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

.quote-aside__card {
	padding: var(--space-6);
	border-radius: var(--radius-lg);
	background: var(--color-white);
	border: 1px solid var(--color-border-strong);
	box-shadow: var(--shadow-card);
}

.quote-aside__card-title {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
	color: var(--color-navy);
	margin: 0 0 var(--space-4);
}

.quote-aside__card .button--gold {
	width: 100%;
	justify-content: center;
}

.quote-form-card {
	box-sizing: border-box;
	max-width: 100%;
	padding: var(--space-5) var(--space-6);
	margin: 0 0 var(--space-6);
	border-radius: var(--radius-lg);
	font-size: 0.975rem;
	font-weight: 600;
	line-height: 1.5;
	border-width: 1px;
	border-style: solid;
	outline-offset: 2px;
	animation: quote-card-in 0.35s ease-out;
}

@keyframes quote-card-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.quote-form-card--success,
.alert-success-banner {
	background: rgba(22, 101, 52, 0.08);
	border-color: rgba(22, 101, 52, 0.22);
	color: #14532d;
}

.quote-form-card--error,
.alert-error-banner {
	background: rgba(153, 27, 27, 0.08);
	border-color: rgba(153, 27, 27, 0.24);
	color: #7f1d1d;
}

.quote-form {
	background: var(--color-white);
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-lg);
	padding: var(--space-7) var(--space-6);
	box-shadow: var(--shadow-card);
}

.quote-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	opacity: 0;
	pointer-events: none;
}

.quote-form__row {
	display: grid;
	gap: var(--space-5);
	margin-bottom: var(--space-5);
}

.quote-form__group {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.quote-form label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-navy);
}

.quote-form label span {
	color: var(--color-accent-strong);
	font-weight: 700;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="url"],
.quote-form select,
.quote-form textarea {
	width: 100%;
	padding: 0.72rem 0.92rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-md);
	font: inherit;
	background: var(--color-white);
	color: var(--color-charcoal);
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
	border-color: rgba(30, 58, 95, 0.28);
}

.quote-form input:focus-visible,
.quote-form select:focus-visible,
.quote-form textarea:focus-visible {
	outline: 2px solid var(--color-gold);
	outline-offset: 2px;
	border-color: var(--color-navy);
}

.quote-form textarea {
	resize: vertical;
	min-height: 9rem;
}

.quote-form select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	padding-right: 2.4rem;
}

.quote-form__submit {
	width: 100%;
	margin-top: var(--space-2);
	justify-content: center;
}

.quote-form__submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.quote-form__fineprint {
	margin: var(--space-5) 0 0;
	font-size: 0.8rem;
	color: var(--color-muted);
	line-height: 1.55;
	text-align: center;
}

@media (min-width: 720px) {
	.quote-body__grid {
		grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.2fr);
		gap: var(--space-9);
		align-items: start;
	}

	.quote-form-wrap {
		order: unset;
	}

	.quote-aside__list li:last-child {
		margin-bottom: 0;
	}
}

.quote-form-wrap {
	min-width: 0;
}

@media (min-width: 1024px) {
	.quote-form {
		padding: var(--space-8) var(--space-8);
	}
}

/* ==========================================================================
   ZS Header — editorial mega-menu header (replaces .site-header chrome)
   ========================================================================== */

:root {
	--header-height: 72px;
}

@media (max-width: 1023px) {
	:root { --header-height: 64px; }
}

.zs-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 240;
	background: rgba(253, 252, 248, 0.88);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(148, 115, 60, 0.08);
	transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, top 200ms ease;
}

/* WordPress admin bar offset — admin bar is 32px wide / 46px on small screens. */
body.admin-bar .zs-header { top: 32px; }
body.admin-bar .zs-drawer { top: 32px; }
body.admin-bar .zs-overlay { top: 32px; }

@media (max-width: 782px) {
	body.admin-bar .zs-header { top: 46px; }
	body.admin-bar .zs-drawer { top: 46px; }
	body.admin-bar .zs-overlay { top: 46px; }
}

/* Admin-bar hides itself when WP enables "fullscreen" responsive mode below 600px;
 * keep the rule above as it covers the standard logged-in case. */

.zs-header.is-scrolled {
	background: rgba(252, 251, 249, 0.97);
	border-bottom-color: rgba(30, 41, 59, 0.08);
	box-shadow: 0 16px 40px -32px rgba(15, 23, 42, 0.2);
}

.zs-header__row {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	min-height: var(--header-height);
	position: relative;
}

/* Brand */
.zs-header__brand {
	display: inline-flex;
	align-items: baseline;
	gap: 0.18em;
	text-decoration: none;
	font-family: var(--font-display);
	font-size: 1.55rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--color-navy);
	flex: 0 0 auto;
	line-height: 1;
}

.zs-header__brand .custom-logo {
	max-height: 42px;
	width: auto;
}

.zs-header__brand-accent {
	color: var(--color-gold);
	font-style: italic;
}

/* Nav */
.zs-header__nav {
	display: none;
	flex: 1 1 auto;
	justify-content: center;
}

@media (min-width: 1024px) {
	.zs-header__nav {
		display: flex;
	}
}

.zs-header__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
	align-items: center;
}

.zs-header__menu-item {
	position: relative;
}

.zs-header__menu-link,
.zs-header__mega-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--color-charcoal);
	text-decoration: none;
	background: transparent;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background 160ms ease, color 160ms ease;
}

.zs-header__menu-link:hover,
.zs-header__menu-link:focus-visible,
.zs-header__mega-trigger:hover,
.zs-header__mega-trigger:focus-visible,
.zs-header__mega-trigger[aria-expanded="true"] {
	background: rgba(30, 58, 95, 0.06);
	color: var(--color-navy);
	outline: none;
}

.zs-header__mega-trigger[aria-expanded="true"] {
	background: rgba(217, 119, 6, 0.10);
	color: var(--color-accent-strong);
}

.zs-header__chev {
	transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.zs-header__mega-trigger[aria-expanded="true"] .zs-header__chev {
	transform: rotate(180deg);
}

/* Right actions */
.zs-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	flex: 0 0 auto;
}

.zs-header__icon-link {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--color-navy);
	background: rgba(30, 58, 95, 0.06);
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease, transform 200ms ease;
}

.zs-header__icon-link:hover,
.zs-header__icon-link:focus-visible {
	background: #25D366;
	color: #fff;
	transform: translateY(-1px);
	outline: none;
}

@media (min-width: 768px) {
	.zs-header__icon-link { display: inline-flex; }
}

.zs-header__cta {
	display: none !important;
}

@media (min-width: 768px) {
	.zs-header__cta {
		display: inline-flex !important;
		padding: 10px 18px;
		font-size: 0.875rem;
	}
}

/* Burger */
.zs-header__burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 40px;
	height: 40px;
	padding: 10px;
	border: 0;
	background: rgba(30, 58, 95, 0.05);
	border-radius: 8px;
	cursor: pointer;
}

@media (min-width: 1024px) {
	.zs-header__burger { display: none; }
}

.zs-header__burger-bar {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--color-navy);
	transition: transform 200ms ease, opacity 200ms ease;
	transform-origin: center;
}

.zs-header__burger[aria-expanded="true"] .zs-header__burger-bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.zs-header__burger[aria-expanded="true"] .zs-header__burger-bar:nth-child(2) {
	opacity: 0;
}

.zs-header__burger[aria-expanded="true"] .zs-header__burger-bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Mega menu panel
   ========================================================================== */

.zs-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fffefb;
	border-top: 1px solid rgba(30, 41, 59, 0.06);
	border-bottom: 1px solid rgba(30, 41, 59, 0.04);
	box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	pointer-events: none;
	transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
	            transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
	            visibility 0s linear 220ms;
}

.zs-mega.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
	            transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
	            visibility 0s linear 0s;
}

.zs-mega__inner {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1.1fr);
	gap: var(--space-7);
	padding: var(--space-7) 0 var(--space-7);
}

@media (max-width: 1023px) {
	.zs-mega { display: none; }
}

.zs-mega__columns {
	display: contents;
}

.zs-mega__col {
	min-width: 0;
}

.zs-mega__eyebrow {
	margin: 0 0 var(--space-4);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-accent-strong);
}

.zs-mega__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}

.zs-mega__link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	text-decoration: none;
	color: var(--color-charcoal);
	transition: background 160ms ease, transform 160ms ease;
}

.zs-mega__link:hover,
.zs-mega__link:focus-visible {
	background: rgba(30, 58, 95, 0.04);
	outline: none;
}

.zs-mega__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(217, 119, 6, 0.14), rgba(217, 119, 6, 0.04));
	color: var(--color-accent-strong);
	border: 1px solid rgba(217, 119, 6, 0.18);
	transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.zs-mega__icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.zs-mega__link:hover .zs-mega__icon {
	transform: rotate(-4deg) scale(1.05);
}

.zs-mega__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.zs-mega__text strong {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--color-navy);
	line-height: 1.3;
}

.zs-mega__desc {
	font-size: 0.8125rem;
	color: var(--color-muted);
	line-height: 1.4;
}

/* Feature card on the right */
.zs-mega__feature {
	position: relative;
	background: linear-gradient(135deg, var(--color-navy), #102f56);
	color: var(--color-cream);
	border-radius: 14px;
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	overflow: hidden;
}

.zs-mega__feature::before {
	content: "";
	position: absolute;
	right: -40px;
	top: -40px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(217, 119, 6, 0.55), rgba(217, 119, 6, 0) 70%);
	pointer-events: none;
}

.zs-mega__feature-eyebrow {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #fcd068;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.zs-mega__feature-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 700;
	font-style: italic;
	line-height: 1.2;
}

.zs-mega__feature-text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	opacity: 0.86;
}

.zs-mega__feature-actions {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
}

.zs-mega__feature-secondary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-cream);
	text-decoration: none;
	opacity: 0.8;
	transition: opacity 160ms ease, gap 200ms ease;
}

.zs-mega__feature-secondary:hover {
	opacity: 1;
	gap: 10px;
}

/* ==========================================================================
   Mobile drawer
   ========================================================================== */

.zs-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(86vw, 360px);
	z-index: 1010;
	background: #fffefb;
	box-shadow: -16px 0 40px -16px rgba(15, 23, 42, 0.24);
	transform: translateX(100%);
	transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
}

.zs-drawer[data-zs-drawer]:not([hidden]) {
	transform: translateX(0);
}

.zs-drawer__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow-y: auto;
	padding: 20px 22px calc(20px + env(safe-area-inset-bottom, 0px));
}

.zs-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: var(--space-4);
	margin-bottom: var(--space-4);
	border-bottom: 1px solid rgba(30, 41, 59, 0.06);
}

.zs-drawer__brand {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--color-navy);
	display: inline-flex;
	gap: 0.2em;
}

.zs-drawer__brand span {
	color: var(--color-gold);
	font-style: italic;
}

.zs-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	background: rgba(30, 58, 95, 0.06);
	color: var(--color-navy);
	border-radius: 50%;
	cursor: pointer;
}

.zs-drawer__list {
	list-style: none;
	margin: 0 0 var(--space-5);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.zs-drawer__link,
.zs-drawer__group-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 12px 14px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 1rem;
	color: var(--color-navy);
	background: transparent;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	text-decoration: none;
	text-align: left;
}

.zs-drawer__link:hover,
.zs-drawer__group-toggle:hover {
	background: rgba(30, 58, 95, 0.05);
}

.zs-drawer__group-toggle svg {
	transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.zs-drawer__group-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.zs-drawer__group-panel {
	padding: 8px 6px 12px 6px;
}

.zs-drawer__group-eyebrow {
	margin: 12px 8px 6px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent-strong);
}

.zs-drawer__sub {
	list-style: none;
	margin: 0;
	padding: 0;
}

.zs-drawer__sub a {
	display: block;
	padding: 8px 14px;
	margin-left: 8px;
	border-left: 1px solid rgba(30, 41, 59, 0.08);
	font-size: 0.9375rem;
	color: var(--color-charcoal);
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease;
}

.zs-drawer__sub a:hover {
	background: rgba(217, 119, 6, 0.06);
	border-left-color: var(--color-accent-strong);
	color: var(--color-navy);
}

.zs-drawer__actions {
	margin-top: auto;
	padding-top: var(--space-4);
	border-top: 1px solid rgba(30, 41, 59, 0.06);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.zs-drawer__cta {
	width: 100%;
	justify-content: center;
}

.zs-drawer__whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	background: rgba(37, 211, 102, 0.10);
	color: #117a36;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none;
}

/* ==========================================================================
   Overlay backdrop (for mega + drawer)
   ========================================================================== */

.zs-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(15, 23, 42, 0.32);
	opacity: 0;
	transition: opacity 220ms ease;
	pointer-events: none;
}

.zs-overlay[data-zs-overlay]:not([hidden]) {
	opacity: 1;
	pointer-events: auto;
}

body.zs-no-scroll {
	overflow: hidden;
}

/* Hide legacy header chrome that may still be referenced elsewhere */
.site-header { display: none !important; }

/* ==========================================================================
   Modern sans typography — kill italic display styles previously set for
   Playfair Display. Vary weight + tracking + size for hierarchy instead.
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.zs-home-hero__accent,
.zs-home-strip-quote p,
.zs-home-quote p,
.zs-home-trustbar__list li,
.zs-mega__feature-title,
.zs-mega__feature-eyebrow,
.zs-page-hero__title,
.zs-contact-card__text strong,
.zs-home-stats-row strong,
.zs-home-showcase__name,
.zs-home-trust-strip strong,
.zs-why-col__title,
.zs-home-section-intro__row h2,
.zs-home-showcase-heading,
.zs-home-gallery-heading,
.site-title__accent,
.zs-header__brand-accent,
.zs-footer__mark-text--accent {
	font-style: normal;
	font-family: var(--font-display);
	letter-spacing: -0.018em;
}

h1, .zs-page-hero__title, .zs-home-hero-shell h1 { font-weight: 800; letter-spacing: -0.028em; }
h2 { font-weight: 700; letter-spacing: -0.022em; }
h3 { font-weight: 700; letter-spacing: -0.014em; }

/* Quote text — bold + tighter tracking instead of italic */
.zs-home-strip-quote p,
.zs-home-quote p {
	font-weight: 600;
	letter-spacing: -0.012em;
}

/* Brand wordmark — keep colour accent but upright, heavier */
.site-title__accent,
.zs-header__brand-accent,
.zs-footer__mark-text--accent,
.zs-drawer__brand span {
	font-weight: 700;
}

/* ==========================================================================
   Tight chrome — remove the gap between fixed header ↔ body and body ↔ footer
   ========================================================================== */

/* First content section sits flush against the header (just the header height,
 * no extra breathing space below it). */
.zs-home-php .zs-home-hero-shell--editorial.ls-section--hero,
.zs-home-php .zs-page-hero,
.landing-page .wp-block-cover:first-child,
.page-default .page-wrap,
.ls-section--hero {
	padding-top: calc(var(--header-height) + 8px) !important;
}

/* Default page (no page hero) — pull main content tight under the header. */
.page-default .page-wrap { padding-top: calc(var(--header-height) + 16px); }

/* Last section sits flush against the footer. */
.zs-home-php > section:last-child,
.zs-home-php .zs-home-cta-finale,
.landing-cta {
	padding-bottom: var(--space-7) !important;
}

/* Footer top padding — reduce the “empty band” feel above it. */
.zs-footer__inner { padding-top: 48px !important; }
@media (min-width: 768px) {
	.zs-footer__inner { padding-top: 56px !important; }
}

/* ==========================================================================
   Universal italic kill — user wants no italic anywhere
   ========================================================================== */

body, body *,
em, cite, i, q,
blockquote, blockquote p,
.zs-home-quote p, .zs-home-quote footer,
.zs-home-strip-quote p,
.zs-home-strip-quote__attr,
.landing-cta em,
.archive-eyebrow {
	font-style: normal !important;
}

/* Portfolio mega panel — 2-column layout (categories + feature) */
.zs-mega.zs-mega--portfolio .zs-mega__inner {
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.zs-mega__list--portfolio {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 14px;
}

@media (max-width: 720px) {
	.zs-mega__list--portfolio {
		grid-template-columns: 1fr;
	}
}
