:root {
	--hm-burgundy: #750b18;
	--hm-burgundy-dark: #610814;
	--hm-burgundy-soft: #971428;
	--hm-gold: #f6d875;
	--hm-cream: #fff9ee;
	--hm-text: #292326;
	--hm-muted: #777276;
	--hm-white: #ffffff;
	--hm-shadow: 0 18px 45px rgba(63, 4, 15, 0.16);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--hm-text);
	font-family: Arial, Helvetica, sans-serif;
	background: var(--hm-white);
}

a {
	color: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Header */
.hm-site-header {
	position: relative;
	z-index: 20;
	width: 100%;
	padding: 28px 24px 10px;
	background: var(--hm-white);
	color: var(--hm-burgundy-dark);
	overflow: visible;
}

.hm-header-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 34px;
	max-width: 1120px;
	margin: 0 auto;
}

.hm-logo-link {
	display: inline-flex;
	align-items: center;
	position: relative;
	z-index: 2;
	text-decoration: none;
}

.hm-logo {
	display: block;
	width: min(220px, 42vw);
	height: auto;
	max-height: 86px;
	object-fit: contain;
}

/* Public header: logo above menu */
body:not(.logged-in) .hm-site-header,
body.home:not(.logged-in) .hm-site-header {
	position: relative;
	padding: 24px 16px 12px;
	background: var(--hm-white);
	color: var(--hm-burgundy-dark);
}

body:not(.logged-in) .hm-header-inner {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
}

body:not(.logged-in) .hm-logo-link {
	display: flex;
	justify-content: center;
	width: 100%;
}

body:not(.logged-in) .hm-logo {
	display: block;
	width: min(320px, 82vw);
	max-height: 96px;
	height: auto;
	object-fit: contain;
}

/* Logged-in header */
body.logged-in .hm-site-header {
	position: relative;
	padding: 28px 24px 10px;
	background: var(--hm-white);
	color: var(--hm-burgundy-dark);
}

body.logged-in .hm-header-inner {
	justify-content: center;
}

body.logged-in .hm-logo {
	width: min(320px, 70vw);
	max-height: 94px;
}

/* Navigation */
.hm-primary-nav {
	width: min(900px, 100%);
	min-width: 0;
	padding: 20px 42px;
	border-radius: 8px;
	background: rgba(143, 13, 29, 0.9);
}

.hm-menu,
.hm-footer-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.hm-menu a,
.hm-footer-menu a {
	color: var(--hm-white);
	font-weight: 700;
	text-decoration: none;
}

/* Main */
.hm-site-main {
	min-height: 60vh;
}

/* Home Hero */
.hm-hero {
	padding: 170px 24px 90px;
	background: linear-gradient(180deg, var(--hm-burgundy) 0%, var(--hm-burgundy-dark) 100%);
	color: var(--hm-white);
	text-align: center;
}

body.home .elementor-element-7a01833e {
    background-image:
        linear-gradient(90deg, rgba(58, 5, 13, 0.88), rgba(94, 8, 20, 0.68)),
        url("/wp-content/themes/holymatrimonial-theme/assets/images/home-hero-christian-nri-life-partner.png") !important;
    background-size: cover !important;
    background-position: center !important;
}

.hm-hero-inner {
	max-width: 1240px;
	margin: 0 auto;
}

.hm-kicker {
	margin: 0 0 36px;
	color: var(--hm-gold);
	font-size: 18px;
	font-weight: 800;
}

.hm-hero h1 {
	max-width: 1040px;
	margin: 0 auto 36px;
	font-size: clamp(42px, 7vw, 72px);
	line-height: 1.08;
}

.hm-hero-copy {
	max-width: 1040px;
	margin: 0 auto 54px;
	font-size: 22px;
	line-height: 1.55;
}

/* Theme Buttons */
.hm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 26px;
	border-radius: 999px;
	background: var(--hm-burgundy-soft);
	color: var(--hm-white);
	font-weight: 800;
	text-decoration: none;
}

.hm-button-gold {
	min-width: 206px;
	min-height: 56px;
	background: var(--hm-gold);
	color: #61100f;
}

.hm-button-small {
	min-height: 38px;
	padding: 0 20px;
	font-size: 14px;
}

/* Home profile preview cards - theme homepage only */
.hm-profile-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin-top: 24px;
}

.hm-profile-card {
	padding: 20px 18px 30px;
	border-radius: 8px;
	background: var(--hm-white);
	box-shadow: var(--hm-shadow);
	color: var(--hm-text);
}

.hm-profile-card h2 {
	margin: 20px 0 8px;
	color: var(--hm-burgundy);
	font-size: 26px;
}

.hm-profile-card p {
	margin: 0 0 16px;
}

.hm-profile-meta {
	color: var(--hm-muted);
	font-size: 14px;
}

.hm-avatar {
	position: relative;
	width: 100%;
	aspect-ratio: 1.22;
	border-radius: 6px;
	background: #fff;
}

.hm-avatar::before,
.hm-avatar::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	border: 8px solid #000;
}

.hm-avatar::before {
	top: 10%;
	width: 28%;
	aspect-ratio: 1;
	border-radius: 50%;
}

.hm-avatar::after {
	bottom: 10%;
	width: 56%;
	height: 40%;
	border-radius: 100px 100px 0 0;
	border-bottom: 8px solid #000;
}

/* Trust / Steps / CTA */
.hm-trust-band {
	padding: 48px 24px;
	background: var(--hm-cream);
	color: var(--hm-burgundy-dark);
}

.hm-trust-inner,
.hm-step-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	max-width: 1060px;
	margin: 0 auto;
	text-align: center;
}

.hm-trust-inner strong {
	font-size: 26px;
}

.hm-steps {
	padding: 78px 24px 102px;
	text-align: center;
}

.hm-section-heading h2,
.hm-final-cta h2 {
	margin: 0 0 18px;
	color: var(--hm-burgundy-dark);
	font-size: clamp(34px, 5vw, 46px);
}

.hm-section-heading p,
.hm-step-grid p {
	color: var(--hm-muted);
	font-size: 18px;
	line-height: 1.55;
}

.hm-step-grid {
	margin-top: 92px;
}

.hm-step-grid h3 {
	color: var(--hm-burgundy);
	font-size: 26px;
}

.hm-final-cta {
	padding: 80px 24px 90px;
	background: var(--hm-burgundy-dark);
	color: var(--hm-white);
	text-align: center;
}

.hm-final-cta h2 {
	color: var(--hm-white);
}

/* Footer */
.hm-site-footer {
	margin-top: 0 !important;
	padding: 26px 24px;
	background: #3b050d;
	color: var(--hm-white);
}

body.home {
	background: #3b050d;
}

body.home .elementor,
body.home .elementor-location-single,
body.home .elementor-location-archive {
	margin-bottom: 0 !important;
}

body.home .hm-canvas-footer {
	margin-top: 0 !important;
}

body.home .elementor-element-733fe10c {
	margin-bottom: 0 !important;
}

body.home .elementor-element-72279e31 {
	background: #fff8ec !important;
}

body.home .elementor-element-32bf3e6f,
body.home .elementor-element-59e23ee2 {
	background: #ffffff !important;
}

body.home .elementor-element-e327525 .elementor-heading-title,
body.home .elementor-element-12b3ff2f .elementor-heading-title,
body.home .elementor-element-6fde6cee .elementor-heading-title,
body.home .elementor-element-e67dd7a .elementor-heading-title {
	color: #6d0b1a !important;
}

body.home .elementor-element-4cc4ebbf p,
body.home .elementor-element-6e855db1 p,
body.home .elementor-element-561bf60e p,
body.home .elementor-element-69c17ed1 p {
	color: #555555 !important;
}

.hm-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1120px;
	margin: 0 auto;
}

.hm-footer-inner p {
	margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
	.hm-site-header,
	body:not(.logged-in) .hm-site-header,
	body.home:not(.logged-in) .hm-site-header {
		position: relative;
		padding: 18px 14px 10px;
		background: var(--hm-white);
	}

	.hm-header-inner,
	.hm-footer-inner {
		flex-direction: column;
	}

	body:not(.logged-in) .hm-logo-link {
		width: 100%;
		justify-content: center;
	}

	body.home:not(.logged-in) .hm-logo,
	body:not(.logged-in) .hm-logo {
		width: min(280px, 86vw);
		max-height: 90px;
	}

	.hm-primary-nav,
	body:not(.logged-in) .hm-primary-nav {
		width: 100%;
		padding: 14px 12px;
	}

	.hm-menu,
	.hm-footer-menu {
		flex-wrap: wrap;
		gap: 18px 26px;
	}

	.hm-hero {
		padding-top: 64px;
	}

	.hm-profile-grid,
	.hm-trust-inner,
	.hm-step-grid {
		grid-template-columns: 1fr;
	}

	.hm-step-grid {
		margin-top: 48px;
	}
}
.hm-seo-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 16px;
	margin: 0 0 18px;
	font-size: 14px;
}

.hm-seo-footer-links a {
	color: inherit;
	text-decoration: none;
}

.hm-seo-footer-links a:hover {
	text-decoration: underline;
}

.hmc-seo-landing {
	max-width: 980px;
}

.hmc-seo-intro,
.hmc-seo-section p {
	font-size: 17px;
	line-height: 1.7;
}

.hmc-seo-section {
	margin-top: 28px;
}

.hmc-seo-section h2 {
	color: #7a0019;
	font-size: 26px;
	margin-bottom: 10px;
}

.hmc-seo-section h3 {
	font-size: 19px;
	margin: 18px 0 8px;
}

.hmc-seo-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

@media (max-width: 600px) {
	body.home .hmc-site-logo-wrap {
		margin-bottom: 8px;
	}

	body.home .hmc-site-logo-wrap img {
		width: min(220px, 72vw);
		height: auto;
	}

	body.home .hmc-user-menu {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0;
		width: calc(100% - 28px);
		max-width: 340px;
		margin: 14px auto 24px;
		padding: 8px 6px;
		border-radius: 8px;
	}

	body.home .hmc-user-menu a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 32px;
		padding: 4px 3px;
		font-size: 10px;
		line-height: 1.1;
		text-align: center;
	}

	body.home .elementor-element-448364eb .elementor-heading-title {
		font-size: 13px;
		margin-bottom: 14px;
	}

	body.home .elementor-element-1074fcc .elementor-heading-title {
		max-width: 330px;
		margin-inline: auto;
		font-size: 36px;
		line-height: 1.08;
		letter-spacing: 0;
	}

	body.home .elementor-element-70be3646 p {
		max-width: 320px;
		margin-inline: auto;
		font-size: 14px;
		line-height: 1.55;
	}

	body.home .hmc-home-profiles-grid {
		width: calc(100% - 28px);
		max-width: 340px;
		margin-inline: auto;
		gap: 18px !important;
	}

	body.home .hmc-home-profiles-grid .hmc-card {
		border-radius: 8px !important;
	}

	body.home .hmc-home-profiles-grid .hmc-img {
		height: 205px !important;
		border-radius: 7px !important;
	}

	body.home .hmc-home-profiles-grid .hmc-content {
		padding: 12px 10px 14px !important;
	}

	body.home .hmc-home-profiles-grid .hmc-content h3 {
		margin: 4px 0 4px;
		font-size: 14px;
	}

	body.home .hmc-home-profiles-grid .hmc-meta {
		font-size: 10px;
		line-height: 1.25;
		gap: 6px;
	}

	body.home .hmc-home-profiles-grid .hmc-profession {
		margin: 6px 0 8px;
		font-size: 13px;
	}

	body.home .hmc-home-profiles-grid .hmc-btn,
	body.home .elementor-button.elementor-size-lg {
		min-height: 34px;
		padding: 9px 18px;
		border-radius: 999px;
		font-size: 12px;
		line-height: 1.2;
	}

	body.home .elementor-element-e327525 .elementor-heading-title,
	body.home .elementor-element-613c9a7a .elementor-heading-title {
		max-width: 320px;
		margin-inline: auto;
		font-size: 28px;
		line-height: 1.1;
	}

	body.home .elementor-element-4cc4ebbf p,
	body.home .elementor-widget-text-editor p {
		line-height: 1.45;
	}

	.hm-site-footer {
		padding: 22px 16px;
	}

	.hm-footer-inner {
		gap: 14px;
		text-align: center;
	}

	.hm-seo-footer-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 14px;
		width: 100%;
		max-width: 340px;
		margin-inline: auto;
		font-size: 12px;
		line-height: 1.25;
	}

	.hm-footer-inner p {
		max-width: 280px;
		font-size: 12px;
		line-height: 1.4;
	}
}
