/**
 * Hugh Morris Law - The Process Guide Page Styles
 * Matching Firm Brand Identity:
 * Deep Wine (#4F0220), Charcoal Ink (#231F20), Lipstick Red (#C60651), Soft Blush (#F9E6ED)
 */

:root {
	--hml-proc-wine: #4F0220;
	--hml-proc-wine-dark: #370116;
	--hml-proc-lipstick: #C60651;
	--hml-proc-blush: #F9E6ED;
	--hml-proc-ink: #231F20;
	--hml-proc-heading: #000000;
	--hml-proc-body: #4A5568;
	--hml-proc-muted: #667085;
	--hml-proc-border: #E8ECF2;
	--hml-proc-card-bg: #FFFFFF;
	--hml-proc-shadow: 0 4px 20px rgba(79, 2, 32, 0.04);
	--hml-proc-shadow-hover: 0 16px 36px rgba(79, 2, 32, 0.12);
	--hml-proc-radius: 12px;
	--hml-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.hml-process-guide,
.hml-process-guide *,
.hml-process-guide *::before,
.hml-process-guide *::after {
	box-sizing: border-box;
}

.hml-process-guide {
	position: relative;
	background-color: #FFFFFF;
	color: var(--hml-proc-body);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	padding: clamp(60px, 8vw, 110px) 0;
	overflow: hidden;
}

.hml-process-guide__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 40px);
}

/* --------------------------------------------------------------------------
   Hero & Intro
   -------------------------------------------------------------------------- */
.hml-process-guide__intro {
	text-align: center;
	max-width: 860px;
	margin: 0 auto clamp(40px, 5vw, 64px);
}

.hml-process-guide__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hml-proc-lipstick);
	margin-bottom: 18px;
}

.hml-process-guide__eyebrow-line {
	display: inline-block;
	width: 24px;
	height: 2px;
	background-color: var(--hml-proc-lipstick);
	border-radius: 2px;
}

.hml-process-guide__heading {
	font-family: Manrope, Inter, sans-serif;
	font-size: clamp(32px, 4vw, 50px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #000000;
	margin: 0 0 20px;
}

.hml-process-guide__lead {
	font-size: clamp(17px, 1.3vw, 20px);
	line-height: 1.65;
	color: var(--hml-proc-ink);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Advisory Notice Callout Banner
   -------------------------------------------------------------------------- */
.elementor-widget-hml-process-guide .hml-process-guide__advisory,
.hml-process-guide__advisory {
	position: relative;
	background: linear-gradient(135deg, #FAF1F5 0%, #FFFFFF 100%);
	border: 1px solid rgba(198, 6, 81, 0.18);
	border-left: 6px solid var(--hml-proc-lipstick);
	border-radius: 12px;
	padding: clamp(24px, 3.5vw, 36px);
	margin-bottom: clamp(60px, 7vw, 90px);
	box-shadow: 0 8px 24px rgba(79, 2, 32, 0.05);
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-sizing: border-box;
}

.elementor-widget-hml-process-guide .hml-process-guide__advisory-header,
.hml-process-guide__advisory-header {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 0;
}

.elementor-widget-hml-process-guide .hml-process-guide__advisory-badge,
.hml-process-guide__advisory-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: var(--hml-proc-lipstick);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 6px;
	white-space: nowrap;
	flex-shrink: 0;
	line-height: 1.2;
}

.elementor-widget-hml-process-guide .hml-process-guide__advisory-badge svg,
.hml-process-guide__advisory-badge svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

.elementor-widget-hml-process-guide .hml-process-guide__advisory-title,
.hml-process-guide__advisory-title {
	font-family: Manrope, Inter, sans-serif;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 800;
	color: #000000;
	margin: 0;
	letter-spacing: -0.01em;
}

.elementor-widget-hml-process-guide .hml-process-guide__advisory-content,
.hml-process-guide__advisory-content {
	font-size: 15px;
	line-height: 1.7;
	color: #2D3748;
	margin: 0;
}

.elementor-widget-hml-process-guide .hml-process-guide__advisory-action,
.hml-process-guide__advisory-action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 16px;
	border-top: 1px dashed rgba(198, 6, 81, 0.18);
	box-sizing: border-box;
	width: 100%;
}

.elementor-widget-hml-process-guide .hml-process-guide__advisory-action-text,
.hml-process-guide__advisory-action-text {
	font-size: 14px;
	font-weight: 600;
	color: var(--hml-proc-wine);
}

.elementor-widget-hml-process-guide .hml-process-guide__advisory-btn,
.hml-process-guide__advisory-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: var(--hml-proc-lipstick);
	color: #FFFFFF !important;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 22px;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 4px 14px rgba(198, 6, 81, 0.25);
}

.elementor-widget-hml-process-guide .hml-process-guide__advisory-btn:hover,
.hml-process-guide__advisory-btn:hover {
	background-color: #A30543;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(198, 6, 81, 0.35);
	color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   8 Process Steps Grid
   -------------------------------------------------------------------------- */
.hml-process-guide__steps-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto clamp(32px, 4vw, 48px);
}

.hml-process-guide__steps-header h3 {
	font-family: Manrope, Inter, sans-serif;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	color: #000000;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}

.hml-process-guide__steps-header p {
	font-size: 16px;
	color: var(--hml-proc-muted);
	margin: 0;
}

.hml-process-guide__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(20px, 3vw, 32px);
	margin-bottom: clamp(60px, 7vw, 90px);
}

.hml-process-guide__card {
	position: relative;
	background-color: var(--hml-proc-card-bg);
	border: 1px solid var(--hml-proc-border);
	border-radius: var(--hml-proc-radius);
	padding: clamp(26px, 3vw, 34px);
	box-shadow: var(--hml-proc-shadow);
	transition: transform 0.35s var(--hml-ease), box-shadow 0.35s var(--hml-ease), border-color 0.35s ease;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.hml-process-guide__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--hml-proc-lipstick), var(--hml-proc-wine));
	opacity: 0;
	transition: opacity 0.35s ease;
}

.hml-process-guide__card:hover {
	transform: translateY(-6px);
	box-shadow: var(--hml-proc-shadow-hover);
	border-color: rgba(198, 6, 81, 0.3);
}

.hml-process-guide__card:hover::before {
	opacity: 1;
}

/* Card Top Bar: Badge & Icon */
.hml-process-guide__card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.hml-process-guide__card-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #F4F6F9;
	color: var(--hml-proc-wine);
	font-family: Manrope, Inter, sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 4px 12px;
	border-radius: 20px;
	border: 1px solid #E2E8F0;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hml-process-guide__card:hover .hml-process-guide__card-badge {
	background-color: var(--hml-proc-blush);
	color: var(--hml-proc-lipstick);
	border-color: rgba(198, 6, 81, 0.25);
}

.hml-process-guide__card-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background-color: var(--hml-proc-blush);
	color: var(--hml-proc-lipstick);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.35s var(--hml-ease),
	            color 0.35s var(--hml-ease),
	            transform 0.35s var(--hml-ease),
	            box-shadow 0.35s var(--hml-ease);
}

.hml-process-guide__card-icon svg {
	width: 24px;
	height: 24px;
	display: block;
	fill: currentColor;
	transition: fill 0.35s ease;
}

.hml-process-guide__card-icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
}

.hml-process-guide__card:hover .hml-process-guide__card-icon {
	background-color: var(--hml-proc-lipstick);
	color: #FFFFFF;
	transform: scale(1.08);
	box-shadow: 0 6px 18px rgba(198, 6, 81, 0.28);
}

/* Card Body */
.hml-process-guide__card-title {
	font-family: Manrope, Inter, sans-serif;
	font-size: clamp(19px, 1.8vw, 22px);
	font-weight: 800;
	color: var(--hml-proc-heading);
	margin: 0 0 12px;
	line-height: 1.3;
}

.hml-process-guide__card-text {
	font-size: 15px;
	line-height: 1.7;
	color: var(--hml-proc-body);
	margin: 0 0 16px;
	flex-grow: 1;
}

/* Practical Tip inside Card */
.hml-process-guide__card-tip {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background-color: #FAFBFC;
	border-left: 3px solid var(--hml-proc-lipstick);
	padding: 10px 14px;
	border-radius: 0 6px 6px 0;
	font-size: 13px;
	line-height: 1.55;
	color: #4A5568;
}

.hml-process-guide__card-tip-icon {
	color: var(--hml-proc-lipstick);
	flex-shrink: 0;
	margin-top: 1px;
}

/* --------------------------------------------------------------------------
   Firm Direct Support Banner
   -------------------------------------------------------------------------- */
.hml-process-guide__support-banner {
	background: linear-gradient(135deg, var(--hml-proc-wine) 0%, var(--hml-proc-wine-dark) 100%);
	color: #FFFFFF;
	border-radius: 16px;
	padding: clamp(32px, 4vw, 48px);
	margin-bottom: clamp(60px, 7vw, 90px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-shadow: 0 14px 36px rgba(79, 2, 32, 0.2);
}

.hml-process-guide__support-copy {
	max-width: 680px;
}

.hml-process-guide__support-title {
	font-family: Manrope, Inter, sans-serif;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	color: #FFFFFF;
	margin: 0 0 10px;
	line-height: 1.25;
}

.hml-process-guide__support-text {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.hml-process-guide__support-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.hml-process-guide__support-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: var(--hml-proc-lipstick);
	color: #FFFFFF;
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 700;
	padding: 13px 26px;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hml-process-guide__support-btn:hover {
	background-color: #E2085E;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Accreditation Ribbon
   -------------------------------------------------------------------------- */
.hml-process-guide__awards-section {
	padding: 40px 0;
	border-top: 1px solid var(--hml-proc-border);
	border-bottom: 1px solid var(--hml-proc-border);
	margin-bottom: clamp(60px, 7vw, 90px);
	background-color: #FAFBFC;
	border-radius: 12px;
}

.hml-process-guide__awards-title {
	text-align: center;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--hml-proc-muted);
	margin: 0 0 28px;
}

.hml-process-guide__awards-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 4vw, 56px);
}

.hml-process-guide__award-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	background: #FFFFFF;
	border: 1px solid var(--hml-proc-border);
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: transform 0.3s var(--hml-ease), box-shadow 0.3s var(--hml-ease), border-color 0.3s ease;
}

.hml-process-guide__award-item:hover {
	transform: translateY(-4px) scale(1.04);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
	border-color: var(--hml-proc-lipstick);
}

.hml-process-guide__award-img {
	max-height: 52px;
	width: auto;
	object-fit: contain;
	display: block;
	filter: grayscale(20%);
	transition: filter 0.3s ease;
}

.hml-process-guide__award-item:hover .hml-process-guide__award-img {
	filter: grayscale(0%);
}

/* --------------------------------------------------------------------------
   Explore The Firm (Cards)
   -------------------------------------------------------------------------- */
.hml-process-guide__explore-section {
	background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
	border-radius: 16px;
	padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 48px);
	border: 1px solid var(--hml-proc-border);
}

.hml-process-guide__explore-header {
	text-align: center;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.hml-process-guide__explore-header h3 {
	font-family: Manrope, Inter, sans-serif;
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 800;
	color: var(--hml-proc-heading);
	margin: 0;
	letter-spacing: -0.01em;
}

.hml-process-guide__explore-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 32px);
}

.hml-process-guide__explore-card {
	position: relative;
	background-color: #FFFFFF;
	border: 1px solid var(--hml-proc-border);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--hml-proc-shadow);
	transition: transform 0.35s var(--hml-ease), box-shadow 0.35s var(--hml-ease), border-color 0.35s ease;
}

.hml-process-guide__explore-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--hml-proc-shadow-hover);
	border-color: rgba(198, 6, 81, 0.3);
}

.hml-process-guide__explore-card-img-wrap {
	position: relative;
	width: 100%;
	height: 180px;
	overflow: hidden;
	background-color: #E2E8F0;
}

.hml-process-guide__explore-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s var(--hml-ease);
}

.hml-process-guide__explore-card:hover .hml-process-guide__explore-card-img {
	transform: scale(1.08);
}

.hml-process-guide__explore-card-body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.hml-process-guide__explore-card-title {
	font-family: Manrope, Inter, sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: var(--hml-proc-heading);
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hml-process-guide__explore-card-arrow {
	color: var(--hml-proc-lipstick);
	font-size: 18px;
	transition: transform 0.3s var(--hml-ease);
}

.hml-process-guide__explore-card:hover .hml-process-guide__explore-card-arrow {
	transform: translateX(4px);
}

.hml-process-guide__explore-card-desc {
	font-size: 14px;
	color: var(--hml-proc-muted);
	line-height: 1.55;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.hml-process-guide__explore-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.elementor-widget-hml-process-guide .hml-process-guide,
	.hml-process-guide {
		padding: 44px 0 60px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__inner,
	.hml-process-guide__inner {
		padding: 0 max(18px, env(safe-area-inset-right, 0px)) 0 max(18px, env(safe-area-inset-left, 0px));
	}

	.elementor-widget-hml-process-guide .hml-process-guide__intro,
	.hml-process-guide__intro {
		margin: 0 auto 30px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__eyebrow,
	.hml-process-guide__eyebrow {
		font-size: 12px;
		gap: 8px;
		margin-bottom: 14px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__heading,
	.hml-process-guide__heading {
		font-size: clamp(24px, 6.5vw, 32px);
		line-height: 1.2;
		margin: 0 0 14px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__lead,
	.hml-process-guide__lead {
		font-size: 15px;
		line-height: 1.6;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory,
	.hml-process-guide__advisory {
		padding: 20px 18px;
		border-left-width: 5px;
		border-radius: 10px;
		margin-bottom: 44px;
		gap: 14px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-header,
	.hml-process-guide__advisory-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-badge,
	.hml-process-guide__advisory-badge {
		font-size: 11px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-title,
	.hml-process-guide__advisory-title {
		font-size: 19px;
		line-height: 1.3;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-content,
	.hml-process-guide__advisory-content {
		font-size: 14.5px;
		line-height: 1.65;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-action,
	.hml-process-guide__advisory-action {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-top: 14px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-action-text,
	.hml-process-guide__advisory-action-text {
		font-size: 13.5px;
		line-height: 1.5;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-btn,
	.hml-process-guide__advisory-btn {
		width: 100%;
		justify-content: center;
		min-height: 48px;
		font-size: 14.5px;
		white-space: normal;
		text-align: center;
	}

	.hml-process-guide__grid {
		grid-template-columns: 1fr;
	}

	.hml-process-guide__explore-grid {
		grid-template-columns: 1fr;
	}

	.hml-process-guide__support-banner {
		flex-direction: column;
		text-align: center;
	}

	.hml-process-guide__support-copy {
		max-width: 100%;
	}

	.hml-process-guide__support-actions {
		justify-content: center;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.elementor-widget-hml-process-guide .hml-process-guide__inner,
	.hml-process-guide__inner {
		padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
	}

	.elementor-widget-hml-process-guide .hml-process-guide__heading,
	.hml-process-guide__heading {
		font-size: clamp(22px, 6.8vw, 26px);
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory,
	.hml-process-guide__advisory {
		padding: 18px 14px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-title,
	.hml-process-guide__advisory-title {
		font-size: 18px;
	}

	.hml-process-guide__card {
		padding: 22px 18px;
	}

	.hml-process-guide__support-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 380px) {
	.elementor-widget-hml-process-guide .hml-process-guide__advisory,
	.hml-process-guide__advisory {
		padding: 16px 12px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-badge,
	.hml-process-guide__advisory-badge {
		font-size: 10px;
		padding: 4px 8px;
	}

	.elementor-widget-hml-process-guide .hml-process-guide__advisory-title,
	.hml-process-guide__advisory-title {
		font-size: 17px;
	}
}
