/* ==========================================================================
   HYDROMAHER — main stylesheet
   Design language: blueprint / technical-drawing precision.
   Persian display type (Vazirmatn) paired with a tracked Latin mono
   utility face for eyebrows, spec codes and dimension-style corner
   brackets — a nod to inspection reports and hydraulic schematics.
   ========================================================================== */

:root {
	--hm-navy: #102A43;
	--hm-navy-deep: #0B1D30;
	--hm-orange: #F97316;
	--hm-orange-deep: #D9600D;
	--hm-gray: #64748B;
	--hm-bg: #F8FAFC;
	--hm-white: #FFFFFF;
	--hm-text: #172033;
	--hm-line: #E2E8F0;

	--hm-font-fa: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
	--hm-font-mono: ui-monospace, 'SFMono-Regular', 'JetBrains Mono', Menlo, Consolas, monospace;

	--hm-radius-sm: 3px;
	--hm-radius: 6px;
	--hm-shadow: 0 16px 32px -18px rgba(16, 42, 67, 0.35);
	--hm-container: 1180px;
	--hm-header-h: 72px;
}

/* --------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	font-family: var(--hm-font-fa);
	font-size: 16px;
	line-height: 1.75;
	color: var(--hm-text);
	background: var(--hm-bg);
	overflow-x: hidden;
	min-width: 360px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

.hm-skip-link {
	position: fixed;
	top: -80px;
	right: 12px;
	z-index: 9999;
	background: var(--hm-navy);
	color: var(--hm-white);
	padding: 10px 16px;
	border-radius: var(--hm-radius-sm);
	transition: top 0.15s ease;
}
.hm-skip-link:focus {
	top: 12px;
	width: auto;
	height: auto;
	clip: auto;
	overflow: visible;
}

:focus-visible {
	outline: 2px solid var(--hm-orange);
	outline-offset: 2px;
}

.hm-container {
	max-width: var(--hm-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* --------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------- */
.hm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--hm-font-mono);
	font-size: 12.5px;
	letter-spacing: normal;
	color: var(--hm-gray);
	margin-bottom: 14px;
	direction: rtl;
}
.hm-eyebrow--light { color: rgba(248, 250, 252, 0.7); }
.hm-eyebrow__mark {
	color: var(--hm-orange);
	font-weight: 700;
	direction: ltr;
	letter-spacing: 0.08em;
}

.hm-section__title {
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
	font-weight: 800;
	line-height: 1.35;
	color: var(--hm-navy);
	max-width: 20ch;
}
.hm-section__title--light { color: var(--hm-white); }

.hm-section__desc {
	margin-top: 14px;
	color: var(--hm-gray);
	max-width: 62ch;
	font-size: 1.02rem;
}

.hm-section__head { margin-bottom: 40px; }

.hm-section { padding: 64px 0; }

/* --------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------- */
.hm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: var(--hm-radius-sm);
	font-weight: 700;
	font-size: 0.98rem;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}
.hm-btn--primary {
	background: var(--hm-orange);
	color: var(--hm-white);
}
.hm-btn--primary:hover { background: var(--hm-orange-deep); }
.hm-btn--ghost {
	background: transparent;
	color: var(--hm-navy);
	border-color: var(--hm-navy);
}
.hm-btn--ghost:hover { background: var(--hm-navy); color: var(--hm-white); }
.hm-btn--outline-light {
	background: transparent;
	color: var(--hm-white);
	border-color: rgba(248, 250, 252, 0.4);
}
.hm-btn--outline-light:hover { background: rgba(248, 250, 252, 0.12); border-color: var(--hm-white); }
.hm-btn--lg { padding: 15px 28px; font-size: 1.02rem; }

.hm-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--hm-navy);
	color: var(--hm-white);
	flex-shrink: 0;
}

/* --------------------------------------------------------------------
   Corner-bracket signature element (blueprint dimension marks)
   -------------------------------------------------------------------- */
.hm-corner {
	position: absolute;
	width: 18px;
	height: 18px;
	pointer-events: none;
	opacity: 0.55;
	transition: opacity 0.2s ease;
}
.hm-corner--tr { top: 10px; left: 10px; border-top: 2px solid var(--hm-orange); border-left: 2px solid var(--hm-orange); }
.hm-corner--bl { bottom: 10px; right: 10px; border-bottom: 2px solid var(--hm-orange); border-right: 2px solid var(--hm-orange); }

/* --------------------------------------------------------------------
   Header
   -------------------------------------------------------------------- */
.hm-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(248, 250, 252, 0.92);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--hm-line);
}
.hm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: var(--hm-header-h);
}
.hm-header__brand { display: flex; align-items: center; flex-shrink: 0; }
.hm-header__brand img,
.hm-header__logo-fallback { height: 38px; width: auto; }
.hm-header__brand .custom-logo { height: 38px; width: auto; }

.hm-nav { display: none; }
.hm-nav__list { display: flex; align-items: center; gap: 28px; }
.hm-nav__link {
	font-weight: 600;
	font-size: 0.96rem;
	color: var(--hm-navy);
	position: relative;
	padding: 6px 0;
}
.hm-nav__link::after {
	content: '';
	position: absolute;
	right: 0; left: 0; bottom: -2px;
	height: 2px;
	background: var(--hm-orange);
	transform: scaleX(0);
	transition: transform 0.2s ease;
}
.hm-nav__link:hover::after,
.hm-nav__link:focus-visible::after { transform: scaleX(1); }

.hm-header__actions { display: flex; align-items: center; gap: 10px; }
.hm-header__cta { display: none; }
.hm-header__quickcall { display: inline-flex; }

.hm-nav__toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1.5px solid var(--hm-navy);
	border-radius: var(--hm-radius-sm);
}
.hm-nav__toggle-bar {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--hm-navy);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.hm-nav__toggle[aria-expanded="true"] .hm-nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hm-nav__toggle[aria-expanded="true"] .hm-nav__toggle-bar:nth-child(2) { opacity: 0; }
.hm-nav__toggle[aria-expanded="true"] .hm-nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hm-mobile-menu {
	border-top: 1px solid var(--hm-line);
	background: var(--hm-white);
	padding: 18px 20px 26px;
}
.hm-mobile-menu[hidden] { display: none; }
.hm-mobile-menu__list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.hm-mobile-menu__list a {
	display: block;
	padding: 12px 6px;
	font-weight: 600;
	border-bottom: 1px solid var(--hm-line);
}
.hm-mobile-menu__cta { width: 100%; }

@media (min-width: 900px) {
	.hm-nav { display: block; }
	.hm-header__cta { display: inline-flex; }
	.hm-nav__toggle, .hm-mobile-menu, .hm-header__quickcall { display: none; }
}

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */
.hm-hero {
	background: linear-gradient(180deg, #FFFFFF 0%, var(--hm-bg) 100%);
	padding: 48px 0 60px;
	position: relative;
}
.hm-hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}
.hm-hero__title {
	font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem);
	font-weight: 800;
	line-height: 1.28;
	color: var(--hm-navy);
	margin-bottom: 18px;
}
.hm-hero__desc { color: var(--hm-gray); font-size: 1.08rem; max-width: 52ch; margin-bottom: 28px; }
.hm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hm-hero__checklist {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}
.hm-hero__checklist li {
	position: relative;
	padding-right: 26px;
	font-size: 0.94rem;
	color: var(--hm-navy);
	font-weight: 600;
}
.hm-hero__checklist li::before {
	content: '';
	position: absolute;
	right: 0;
	top: 6px;
	width: 14px;
	height: 14px;
	border: 2px solid var(--hm-orange);
	border-radius: 3px;
}
.hm-hero__checklist li::after {
	content: '';
	position: absolute;
	right: 4px;
	top: 9px;
	width: 6px;
	height: 3px;
	border-left: 2px solid var(--hm-orange);
	border-bottom: 2px solid var(--hm-orange);
	transform: rotate(-45deg);
}

.hm-hero__visual { display: flex; justify-content: center; }
.hm-hero__frame {
	position: relative;
	width: 100%;
	max-width: 460px;
	background: var(--hm-white);
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	overflow: hidden;
	box-shadow: var(--hm-shadow);
}
.hm-hero__graphic { display: block; width: 100%; height: auto; }
.hm-hero__photo { width: 100%; height: 100%; object-fit: cover; }
.hm-hero__graphic-flow {
	animation: hm-flow-pulse 2.4s ease-in-out infinite;
	transform-origin: center;
}
.hm-hero__graphic-flow:nth-of-type(2) { animation-delay: 0.5s; }
@keyframes hm-flow-pulse {
	0%, 100% { opacity: 0.55; }
	50% { opacity: 1; }
}

@media (min-width: 960px) {
	.hm-hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
	.hm-hero__checklist { grid-template-columns: 1fr 1fr; column-gap: 20px; }
}

/* --------------------------------------------------------------------
   Grid / cards
   -------------------------------------------------------------------- */
.hm-grid-3 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}
@media (min-width: 720px) { .hm-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hm-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.hm-card {
	position: relative;
	background: var(--hm-white);
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	padding: 28px 24px;
	display: block;
}
.hm-card--bracket .hm-corner { opacity: 0; }
.hm-card--bracket:hover .hm-corner,
.hm-card--bracket:focus-visible .hm-corner { opacity: 0.9; }

.hm-card__title { font-size: 1.08rem; font-weight: 700; color: var(--hm-navy); line-height: 1.5; }

.hm-card--service {
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.hm-card--service:hover { border-color: var(--hm-orange); transform: translateY(-2px); }
.hm-card__code {
	display: inline-block;
	font-family: var(--hm-font-mono);
	font-size: 11.5px;
	letter-spacing: 0.08em;
	color: var(--hm-orange);
	background: rgba(249, 115, 22, 0.08);
	padding: 3px 8px;
	border-radius: 3px;
	margin-bottom: 14px;
	direction: ltr;
}
.hm-card__arrow {
	position: absolute;
	left: 22px;
	bottom: 24px;
	color: var(--hm-gray);
	transform: scaleX(-1); /* mirror for RTL "forward" direction */
}

/* --------------------------------------------------------------------
   Problem section
   -------------------------------------------------------------------- */
.hm-problem { background: var(--hm-bg); }

/* --------------------------------------------------------------------
   Services
   -------------------------------------------------------------------- */
.hm-services { background: var(--hm-white); }

/* Full services page */
.hm-services-hero {
	padding: 64px 0 52px;
	background: var(--hm-navy-deep);
	color: var(--hm-white);
}
.hm-services-hero__inner { display: grid; gap: 28px; align-items: end; }
.hm-services-hero__title {
	font-size: clamp(2rem, 1.45rem + 2.4vw, 3.5rem);
	line-height: 1.3;
	max-width: 18ch;
}
.hm-services-hero__desc { margin-top: 18px; max-width: 64ch; color: rgba(248, 250, 252, 0.76); }
.hm-services-index { background: var(--hm-white); border-bottom: 1px solid var(--hm-line); }
.hm-services-index__list { display: flex; gap: 8px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; }
.hm-services-index a {
	flex: 0 0 auto;
	padding: 8px 12px;
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius-sm);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--hm-navy);
}
.hm-services-index a:hover { border-color: var(--hm-orange); color: var(--hm-orange-deep); }
.hm-service-details { display: grid; gap: 28px; }
.hm-service-detail {
	position: relative;
	scroll-margin-top: calc(var(--hm-header-h) + 18px);
	padding: 30px 22px;
	background: var(--hm-white);
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	box-shadow: var(--hm-shadow);
}
.hm-service-detail__head { position: relative; padding-left: 52px; }
.hm-service-detail__number {
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--hm-font-mono);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--hm-line);
	direction: ltr;
}
.hm-service-detail__head h2 { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.9rem); color: var(--hm-navy); }
.hm-service-detail__head > p:last-child { max-width: 72ch; margin-top: 10px; color: var(--hm-gray); }
.hm-service-detail__grid { display: grid; gap: 16px; margin-top: 28px; }
.hm-service-detail__block { padding: 20px; background: var(--hm-bg); border-top: 2px solid var(--hm-navy); }
.hm-service-detail__block h3 { margin-bottom: 14px; font-size: 1rem; color: var(--hm-navy); }
.hm-service-detail__block li { position: relative; padding: 5px 18px 5px 0; color: var(--hm-gray); }
.hm-service-detail__block ul li::before {
	content: '';
	position: absolute;
	right: 0;
	top: 15px;
	width: 6px;
	height: 6px;
	background: var(--hm-orange);
	border-radius: 50%;
}
.hm-service-detail__block ol { counter-reset: hm-service-step; }
.hm-service-detail__block ol li { display: flex; align-items: baseline; gap: 9px; padding-right: 0; }
.hm-service-detail__block ol span { color: var(--hm-orange); font-family: var(--hm-font-mono); font-weight: 700; }
.hm-service-detail__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px dashed var(--hm-line);
}
.hm-service-detail__cta p { color: var(--hm-gray); }
@media (min-width: 760px) {
	.hm-services-hero__inner { grid-template-columns: 1fr auto; }
	.hm-service-detail { padding: 38px; }
	.hm-service-detail__grid { grid-template-columns: repeat(3, 1fr); }
	.hm-service-detail__cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* --------------------------------------------------------------------
   Process timeline
   -------------------------------------------------------------------- */
.hm-process { background: var(--hm-bg); }
.hm-timeline {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px dashed var(--hm-line);
}
.hm-timeline__item {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px dashed var(--hm-line);
}
.hm-timeline__num {
	font-family: var(--hm-font-mono);
	font-size: 0.85rem;
	color: var(--hm-orange);
	font-weight: 700;
	flex-shrink: 0;
	width: 34px;
	direction: ltr;
}
.hm-timeline__text { font-weight: 600; color: var(--hm-navy); }

@media (min-width: 860px) {
	.hm-timeline {
		grid-template-columns: repeat(7, 1fr);
		border-top: none;
		gap: 14px;
		position: relative;
	}
	.hm-timeline::before {
		content: '';
		position: absolute;
		top: 17px;
		right: 0;
		left: 0;
		height: 1px;
		background: var(--hm-line);
	}
	.hm-timeline__item {
		flex-direction: column;
		align-items: flex-start;
		border-bottom: none;
		padding: 0;
		gap: 12px;
	}
	.hm-timeline__num {
		width: 34px;
		height: 34px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--hm-bg);
		border: 2px solid var(--hm-orange);
		border-radius: 50%;
		position: relative;
		z-index: 1;
	}
	.hm-timeline__text { font-size: 0.92rem; }
}

/* --------------------------------------------------------------------
   Family business
   -------------------------------------------------------------------- */
.hm-family { background: var(--hm-navy); }
.hm-family__inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: flex-start;
}
.hm-family__mark {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(248, 250, 252, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}
.hm-family__mark img { width: 100%; height: 100%; object-fit: contain; }
.hm-family__text { margin-top: 16px; color: rgba(248, 250, 252, 0.82); max-width: 68ch; font-size: 1.02rem; }

@media (min-width: 780px) {
	.hm-family__inner { flex-direction: row; align-items: flex-start; gap: 40px; }
}

/* --------------------------------------------------------------------
   Request form
   -------------------------------------------------------------------- */
.hm-request { background: var(--hm-white); scroll-margin-top: 90px; }
.hm-request__inner { max-width: 860px; margin: 0 auto; }

.hm-alert {
	border-radius: var(--hm-radius-sm);
	padding: 16px 18px;
	margin-bottom: 24px;
	font-weight: 600;
	border: 1px solid transparent;
}
.hm-alert--success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.hm-alert--error { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
.hm-alert__tracking { margin-top: 6px; direction: ltr; text-align: right; }

.hm-form__honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.hm-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-bottom: 26px;
}
@media (min-width: 720px) { .hm-form__grid { grid-template-columns: 1fr 1fr; } }

.hm-field { display: flex; flex-direction: column; gap: 8px; }
.hm-field--full { grid-column: 1 / -1; }
.hm-field label,
.hm-field legend {
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--hm-navy);
	padding: 0;
}
.hm-required { color: var(--hm-orange); }

.hm-field input[type="text"],
.hm-field input[type="tel"],
.hm-field input[type="email"],
.hm-field input[type="file"],
.hm-field textarea {
	font-family: inherit;
	font-size: 0.98rem;
	padding: 12px 14px;
	border: 1.5px solid var(--hm-line);
	border-radius: var(--hm-radius-sm);
	background: var(--hm-bg);
	color: var(--hm-text);
	width: 100%;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.hm-field input:focus,
.hm-field textarea:focus {
	outline: none;
	border-color: var(--hm-orange);
	background: var(--hm-white);
}
.hm-field textarea { resize: vertical; min-height: 110px; }
.hm-field__hint {
	margin: -2px 0 0;
	font-size: 0.8rem;
	color: var(--hm-gray);
}

.hm-field--radio { display: flex; flex-direction: column; gap: 10px; border: none; padding: 0; margin: 0; }
.hm-radio, .hm-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--hm-text);
	cursor: pointer;
}
.hm-radio input, .hm-checkbox input { margin-top: 4px; accent-color: var(--hm-orange); flex-shrink: 0; }
.hm-field--consent { background: var(--hm-bg); padding: 14px; border-radius: var(--hm-radius-sm); }

.hm-form__submit { width: 100%; }
@media (min-width: 560px) { .hm-form__submit { width: auto; } }

/* --------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------- */
.hm-final-cta {
	background: var(--hm-navy-deep);
	color: var(--hm-white);
	text-align: center;
}
.hm-final-cta__inner { max-width: 760px; margin: 0 auto; }
.hm-final-cta__title {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 16px;
}
.hm-final-cta__text { color: rgba(248, 250, 252, 0.75); margin-bottom: 30px; }
.hm-final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
.hm-footer {
	background: var(--hm-navy);
	color: rgba(248, 250, 252, 0.85);
	padding: 56px 0 110px;
}
@media (min-width: 900px) { .hm-footer { padding-bottom: 40px; } }

.hm-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}
@media (min-width: 720px) { .hm-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

.hm-footer__logo { height: 32px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.hm-footer__desc { font-size: 0.92rem; color: rgba(248, 250, 252, 0.6); max-width: 32ch; }

.hm-footer__title {
	font-family: var(--hm-font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hm-orange);
	margin-bottom: 16px;
	direction: ltr;
	text-align: right;
}
.hm-footer__list { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.hm-footer__list a:hover { color: var(--hm-white); }
.hm-footer__address, .hm-footer__hours { color: rgba(248, 250, 252, 0.6); }

.hm-footer__bottom {
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid rgba(248, 250, 252, 0.12);
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 0.85rem;
	color: rgba(248, 250, 252, 0.55);
}
.hm-footer__legal { display: flex; gap: 18px; }

@media (min-width: 720px) {
	.hm-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* --------------------------------------------------------------------
   Mobile fixed action bar
   -------------------------------------------------------------------- */
.hm-mobile-bar {
	position: fixed;
	bottom: 0; right: 0; left: 0;
	z-index: 90;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: var(--hm-white);
	border-top: 1px solid var(--hm-line);
	box-shadow: 0 -8px 20px -12px rgba(16, 42, 67, 0.25);
	padding-bottom: env(safe-area-inset-bottom, 0);
}
.hm-mobile-bar__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 10px 4px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--hm-navy);
}
.hm-mobile-bar__item--primary { color: var(--hm-orange); }

@media (min-width: 900px) {
	.hm-mobile-bar { display: none; }
}

/* Ensure the mobile bar never covers footer content or form fields */
.hm-main { padding-bottom: 76px; }
@media (min-width: 900px) { .hm-main { padding-bottom: 0; } }

/* --------------------------------------------------------------------
   Generic page + coming soon
   -------------------------------------------------------------------- */
.hm-page { max-width: 820px; margin: 0 auto; padding: 64px 20px; }
.hm-page__title { font-size: 2rem; font-weight: 800; color: var(--hm-navy); margin-bottom: 20px; }
.hm-page__content { color: var(--hm-text); line-height: 1.9; }

.hm-coming-soon {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	padding: 90px 28px;
	text-align: center;
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	background: var(--hm-white);
	margin-top: 48px;
	margin-bottom: 48px;
}
.hm-coming-soon .hm-eyebrow { justify-content: center; }
.hm-coming-soon__title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 800; color: var(--hm-navy); margin-bottom: 14px; }
.hm-coming-soon__status { font-weight: 700; color: var(--hm-orange); margin-bottom: 10px; }
.hm-coming-soon__desc { color: var(--hm-gray); max-width: 46ch; margin: 0 auto 30px; }
.hm-coming-soon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.hm-coming-soon__contact { border-top: 1px dashed var(--hm-line); padding-top: 24px; font-size: 0.92rem; color: var(--hm-gray); }
.hm-coming-soon__contact ul { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }
.hm-coming-soon__contact a { color: var(--hm-navy); font-weight: 700; }
