/* myROVs footer + mobile action bar. */

.mr-footer {
	--mr-f-navy: var(--e-global-color-primary, #0B2540);
	--mr-f-deep: #071A2E;
	--mr-f-accent: var(--e-global-color-accent, #C2410C);
	--mr-f-accent-hover: #9A3412;
	--mr-f-text: #D9E0E7;
	--mr-f-muted: #9FB3C8;
	--mr-f-rule: #1E3A5A;
	--mr-f-mono: var(--e-global-typography-accent-font-family, "IBM Plex Mono"), ui-monospace, monospace;
	font-family: var(--e-global-typography-text-font-family, "Archivo"), system-ui, sans-serif;
	line-height: 1.5;
}
.mr-footer *, .mr-footer *::before, .mr-footer *::after { box-sizing: border-box; }
.mr-footer p { margin: 0; }
.mr-footer ul { list-style: none; margin: 0; padding: 0; }
.mr-footer a { text-decoration: none; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
.mr-footer .mr-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mr-footer :focus-visible { outline: 2px solid var(--mr-f-accent); outline-offset: 3px; border-radius: 4px; }
.elementor-location-footer:has(.mr-footer) .elementor-widget-shortcode,
.elementor-location-footer:has(.mr-footer) .e-con,
.elementor-location-footer:has(.mr-footer) .e-con-inner { padding: 0 !important; margin: 0 !important; max-width: none !important; --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }

/* ---------- Pre-footer call to action ---------- */
.mr-prefoot { background: var(--mr-f-navy); color: #fff; border-top: 4px solid var(--mr-f-accent); }
.mr-prefoot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 48px; padding-bottom: 48px; }
.mr-prefoot__text { flex: 1 1 480px; min-width: 0; }
.mr-prefoot__title { font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.mr-prefoot__sub { margin-top: 8px !important; font-size: 17px; color: var(--mr-f-text); max-width: 640px; }
.mr-prefoot__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mr-footer a.mr-fbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 6px; font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.mr-footer a.mr-fbtn--accent { background-color: var(--mr-f-accent); border: 1px solid var(--mr-f-accent); color: #fff; }
.mr-footer a.mr-fbtn--accent:hover { background-color: var(--mr-f-accent-hover); border-color: var(--mr-f-accent-hover); color: #fff; }
.mr-footer a.mr-fbtn--ghost { background-color: transparent; border: 1px solid #7F97B0; color: #fff; }
.mr-footer a.mr-fbtn--ghost:hover { border-color: #fff; background-color: rgba(255, 255, 255, .06); color: #fff; }

/* ---------- Main footer ---------- */
.mr-foot { background: var(--mr-f-deep); color: var(--mr-f-text); font-size: 15px; }
.mr-foot__grid { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(140px, 1fr)); gap: 40px 32px; padding-top: 64px; padding-bottom: 48px; }
.mr-footer a.mr-foot__logo { display: inline-block; line-height: 0; border-radius: 6px; }
/* v2.9.6: brand lockup (Full symbol), white for the dark footer. */
.mr-footer .mr-foot__logo .mr-logo__img { display: block; height: 76px; width: auto; max-width: 100%; }
.mr-foot__about { margin-top: 18px !important; color: var(--mr-f-muted); max-width: 340px; }
/* v2.9.7: ways to reach us: icon tile, label, detail. */
.mr-foot__reach { margin-top: 24px !important; display: grid; gap: 8px; max-width: 340px; }
.mr-footer .mr-foot__reach a { display: flex; align-items: center; gap: 14px; padding: 6px 8px 6px 0; border-radius: 8px; color: var(--mr-f-text); }
.mr-reach__ico { flex: 0 0 auto; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--mr-f-rule); border-radius: 8px; background: rgba(255, 255, 255, .03); color: var(--mr-f-text); transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.mr-reach__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mr-reach__txt strong { font-size: 15px; font-weight: 600; color: #fff; }
.mr-reach__txt small { font-size: 13px; color: var(--mr-f-muted); overflow-wrap: anywhere; }
.mr-footer .mr-foot__reach a:hover .mr-reach__ico { background-color: var(--mr-f-accent); border-color: var(--mr-f-accent); color: #fff; }
.mr-footer .mr-foot__reach a:hover strong { text-decoration: underline; text-decoration-color: var(--mr-f-accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.mr-foot__meta { margin-top: 16px !important; display: grid; gap: 6px; font-size: 13px; color: var(--mr-f-muted); }
.mr-foot__meta span { display: flex; align-items: center; gap: 8px; }
.mr-foot__meta .mr-ico { flex: 0 0 auto; }

/* v2.9.7: column headings: white, title case, a rule underneath with an accent start. Medium weight: they read as
   headings through colour and the rule, not boldness. */
.mr-foot__heading { position: relative; font-size: 15px; font-weight: 500; letter-spacing: 0; color: #fff; padding-bottom: 12px; margin-bottom: 16px !important; border-bottom: 1px solid var(--mr-f-rule); }
.mr-foot__heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 2px; background: var(--mr-f-accent); }
.mr-foot__col ul { display: grid; gap: 10px; }
.mr-footer .mr-foot__col a { color: #B9C7D5; display: inline-block; padding: 2px 0; }
.mr-footer .mr-foot__col a:hover, .mr-footer .mr-foot__col a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--mr-f-accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
/* v2.9.7: dealer statement as a badge, so it does not read as another link. */
.mr-foot__badge { margin-top: 18px !important; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; border: 1px solid rgba(194, 65, 12, .55); border-left: 3px solid var(--mr-f-accent); border-radius: 6px; background: rgba(194, 65, 12, .12); font-size: 13px; font-weight: 600; line-height: 1.3; color: #fff; }
.mr-foot__badge .mr-ico { flex: 0 0 auto; color: #fff; }

/* v2.9.7: the company strip: other Nautrex Inc. websites (their logos) and the social profiles. */
.mr-foot__family { border-top: 1px solid var(--mr-f-rule); }
.mr-foot__family-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; padding-top: 24px; padding-bottom: 24px; }
.mr-foot__sisters, .mr-foot__follow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.mr-foot__label { font-size: 13px; color: var(--mr-f-muted); }
.mr-foot__sisters ul { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.mr-footer .mr-foot__sisters a { display: block; line-height: 0; border-radius: 6px; opacity: .85; transition: opacity .15s ease; }
.mr-footer .mr-foot__sisters a:hover { opacity: 1; }
.mr-foot__sisters img { display: block; height: 40px; width: auto; }
.mr-foot__social { display: flex; flex-wrap: wrap; gap: 8px; }
.mr-footer .mr-foot__social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--mr-f-rule); border-radius: 8px; color: var(--mr-f-text); }
.mr-footer .mr-foot__social a:hover { border-color: var(--mr-f-accent); color: #fff; background-color: var(--mr-f-accent); }

.mr-foot__legal { border-top: 1px solid var(--mr-f-rule); }
.mr-foot__legal-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: var(--mr-f-muted); }
.mr-foot__disclaimer { flex: 1 1 380px; }
.mr-foot__legal-links { display: flex; gap: 20px; }
.mr-footer .mr-foot__legal-links a { color: var(--mr-f-text); }
.mr-footer .mr-foot__legal-links a:hover { color: #fff; }

/* ---------- Mobile action bar ---------- */
.mr-actionbar { display: none; }

@media (max-width: 1024px) {
	.mr-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mr-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.mr-footer .mr-wrap { padding-left: 16px; padding-right: 16px; }
	.mr-prefoot__in { padding-top: 36px; padding-bottom: 36px; }
	.mr-prefoot__title { font-size: 24px; }
	.mr-prefoot__cta, .mr-footer a.mr-fbtn { width: 100%; }
	.mr-foot__grid { gap: 32px 20px; padding-top: 44px; }
	.mr-foot__legal-in { padding-bottom: 28px; }
	.mr-foot__family-in { flex-direction: column; align-items: flex-start; }
	.mr-foot__sisters, .mr-foot__follow { flex-direction: column; align-items: flex-start; }
	.mr-foot__reach { max-width: none; }
	.mr-foot__badge { font-size: 12px; padding: 7px 10px 7px 8px; gap: 6px; }
	.mr-foot__badge .mr-ico { width: 16px; height: 16px; }

	.mr-actionbar {
		display: grid; grid-template-columns: 1fr 1fr 1.6fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
		background: #fff; border-top: 1px solid #D9E0E7; box-shadow: 0 -8px 24px rgba(7, 26, 46, .12);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.mr-footer .mr-actionbar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px;
		font-size: 12px; font-weight: 600; color: var(--mr-f-navy); border-right: 1px solid #E9EEF3;
	}
	.mr-footer .mr-actionbar a.mr-actionbar__main { flex-direction: row; gap: 8px; font-size: 15px; background-color: var(--mr-f-accent); color: #fff; border-right: 0; }
	.mr-footer .mr-actionbar a.mr-actionbar__main:active { background-color: var(--mr-f-accent-hover); }
	body:has(.mr-actionbar) { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
	html.mr-lock .mr-actionbar { display: none; }
}
/* v2.8: model pages get Call | WhatsApp | Sell mine | Find a ... */
@media (max-width: 767px) {
	.mr-actionbar.mr-actionbar--model { grid-template-columns: 1fr 1fr 1fr 1.7fr; }
}
