/* =========================================================
   MFS Landing — premium one-page styles
   Scoped to .mfs-* classes; the template loads no theme CSS.
   ========================================================= */

:root {
	--primary: #0A2540;     /* deep trust navy */
	--primary-700: #06182b;
	--accent: #00B074;      /* growth green */
	--accent-600: #009463;  /* 3.9:1 on white — decorative / large text only */
	--accent-700: #00734d;  /* 5.9:1 on white — safe for small text (WCAG AA) */
	--accent-soft: rgba(0, 176, 116, .12);
	--bg: #ffffff;
	--bg-alt: #f5f8fb;
	--ink: #1a2330;
	--muted: #5b6b7d;
	--line: #e6edf3;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow-sm: 0 4px 18px rgba(10, 37, 64, .06);
	--shadow-md: 0 18px 50px rgba(10, 37, 64, .10);
	--maxw: 1160px;
	--sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
body.mfs-landing {
	margin: 0;
	font-family: var(--sans);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
	overflow-x: hidden;
}
html { overflow-x: hidden; }
.mfs-landing img { max-width: 100%; display: block; }
.mfs-landing a { color: inherit; text-decoration: none; }
.mfs-landing h1, .mfs-landing h2, .mfs-landing h3 {
	margin: 0;
	color: var(--primary);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.02em;
	overflow-wrap: break-word;
}
.mfs-landing p { margin: 0; color: var(--muted); }
.mfs-landing ul { margin: 0; padding: 0; list-style: none; }

/* Layout */
.mfs-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mfs-container--narrow { max-width: 820px; }
.mfs-section { padding: 96px 0; }
.mfs-section--alt { background: var(--bg-alt); }

.mfs-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.mfs-head--left { margin-left: 0; text-align: left; }
.mfs-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.mfs-head p { font-size: 1.08rem; }
.mfs-eyebrow {
	display: inline-block; margin-bottom: 14px;
	font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent-700); /* small uppercase text — needs the AA-safe green */
}
.mfs-eyebrow--light { color: #7fe9c4; }

/* Buttons */
.mfs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
	cursor: pointer; border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	white-space: nowrap;
}
.mfs-btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.mfs-btn--sm { padding: 10px 20px; font-size: .92rem; }
.mfs-btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(0, 176, 116, .32); }
.mfs-btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 176, 116, .4); }
.mfs-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.mfs-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.mfs-btn--wa { background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.mfs-btn--wa:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, .42); }

/* Header */
.mfs-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.mfs-header__inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.mfs-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.mfs-brand__mark { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; flex: 0 0 auto; }
.mfs-brand__text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.mfs-brand__name { font-size: 1.1rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.mfs-brand__tag { font-size: .72rem; font-weight: 600; color: var(--accent-700); letter-spacing: .03em; }
.mfs-nav { display: flex; gap: 30px; }
.mfs-nav a { font-weight: 600; font-size: .98rem; color: var(--ink); transition: color .15s; }
.mfs-nav a:hover { color: var(--accent-600); }
.mfs-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; flex: 0 0 auto; }
.mfs-burger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: .25s; }

/* Hero */
.mfs-hero {
	position: relative; overflow: hidden; color: #fff; text-align: center;
	padding: 110px 0 96px;
	background: radial-gradient(1100px 520px at 50% -10%, #14365c 0%, var(--primary) 45%, var(--primary-700) 100%);
}
.mfs-hero::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(420px 420px at 85% 20%, rgba(0, 176, 116, .22), transparent 60%);
	pointer-events: none;
}
.mfs-hero__inner {
	position: relative; z-index: 1; max-width: 1100px;
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; align-items: center; text-align: left;
}
.mfs-hero__text { min-width: 0; }
.mfs-hero__text .mfs-hero__cta { justify-content: flex-start; }
.mfs-hero__media { display: flex; justify-content: center; min-width: 0; }

/* Image frames. The gradient shows through if an image ever fails to load —
   deliberately wordless, so a missing file degrades to a branded panel rather
   than announcing itself to visitors. */
.mfs-frame { position: relative; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-md); background: linear-gradient(135deg, #0d2c4d, #1d4f86); }
.mfs-frame img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.mfs-frame--hero { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; border: 1px solid rgba(255, 255, 255, .16); }
.mfs-frame--square { aspect-ratio: 1 / 1; }
.mfs-frame--map { aspect-ratio: 3 / 2; border: 1px solid var(--line); }
.mfs-frame--map::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(10, 37, 64, .3), transparent 42%); }
.mfs-map__pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); z-index: 3; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(0, 176, 116, .5); animation: mfs-pulse 2.2s infinite; }
.mfs-map__tag { position: absolute; left: 14px; bottom: 14px; z-index: 3; background: rgba(10, 37, 64, .9); color: #fff; font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
@keyframes mfs-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(0, 176, 116, .5); }
	70%  { box-shadow: 0 0 0 18px rgba(0, 176, 116, 0); }
	100% { box-shadow: 0 0 0 0 rgba(0, 176, 116, 0); }
}
.mfs-pill {
	display: inline-block; padding: 7px 16px; margin-bottom: 22px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
	font-size: .85rem; font-weight: 600; color: #d8e6f2;
}
.mfs-hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.5rem); margin-bottom: 20px; }
.mfs-hero p { color: rgba(255, 255, 255, .82); font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 520px; margin: 0 0 28px; }
.mfs-hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.mfs-hero__badges-wrap { position: relative; z-index: 1; margin-top: 58px; }
.mfs-hero__badges { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.mfs-hero__badges li { display: flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 1.1rem; font-weight: 600; }
.mfs-badge__ico { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .95rem; font-weight: 800; flex: 0 0 auto; }

/* Trust bar */
.mfs-trustbar { background: var(--primary-700); color: #fff; padding: 18px 0; text-align: center; }
.mfs-trustbar p { color: rgba(255, 255, 255, .85); font-size: 1rem; margin: 0; }
.mfs-trustbar strong { color: #fff; }

/* Generic card grid */
.mfs-grid { display: grid; gap: 26px; }
.mfs-grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mfs-grid--why { grid-template-columns: repeat(4, 1fr); }
.mfs-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 34px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.mfs-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* Services */
.mfs-service { text-align: center; }
.mfs-service__icon {
	width: 86px; height: 86px; margin: 0 auto 22px; border-radius: 22px;
	background: var(--accent-soft); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mfs-service__icon img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.mfs-service h3 { font-size: 1.25rem; margin-bottom: 10px; }
.mfs-service p { font-size: .98rem; }

/* Why */
.mfs-why-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 52px; align-items: center; }
.mfs-why-content { min-width: 0; }
.mfs-why-content .mfs-head { margin-bottom: 30px; }
.mfs-why-content .mfs-grid--why { grid-template-columns: repeat(2, 1fr); gap: 26px; }
.mfs-why-media { width: 100%; }
.mfs-why { padding: 8px 4px; }
.mfs-why__num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.mfs-why h3 { font-size: 1.18rem; margin-bottom: 8px; }
.mfs-why p { font-size: .98rem; }

/* Steps */
.mfs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.mfs-step { text-align: center; padding: 0 10px; }
.mfs-step__num {
	width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
	background: var(--primary); color: #fff; font-size: 1.5rem; font-weight: 800;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 24px rgba(10, 37, 64, .22);
}
.mfs-step h3 { font-size: 1.25rem; margin-bottom: 10px; }

/* Service areas */
.mfs-areas__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.mfs-areas__map { width: 100%; }
.mfs-areas__content .mfs-head { margin-bottom: 26px; }
.mfs-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.mfs-chips li {
	padding: 11px 20px; border-radius: 999px; background: var(--bg-alt);
	border: 1px solid var(--line); font-weight: 600; color: var(--primary); font-size: .98rem;
}

/* FAQ */
.mfs-faq { border-top: 1px solid var(--line); }
.mfs-faq__item { border-bottom: 1px solid var(--line); }
.mfs-faq__q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 22px 4px; background: none; border: 0; cursor: pointer; text-align: left;
	font-family: inherit; font-size: 1.12rem; font-weight: 700; color: var(--primary);
}
.mfs-faq__icon { position: relative; flex: 0 0 22px; width: 22px; height: 22px; }
.mfs-faq__icon::before, .mfs-faq__icon::after {
	content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .25s ease;
}
.mfs-faq__icon::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.mfs-faq__icon::after { top: 2px; left: 10px; width: 2px; height: 18px; }
.mfs-faq__item.is-open .mfs-faq__icon::after { transform: scaleY(0); }
.mfs-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.mfs-faq__a p { padding: 0 4px 22px; font-size: 1rem; }

/* Contact */
.mfs-contact { background: radial-gradient(900px 480px at 15% 0%, #14365c 0%, var(--primary) 50%, var(--primary-700) 100%); color: #fff; }
.mfs-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.mfs-contact h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.mfs-contact__intro p { color: rgba(255, 255, 255, .82); font-size: 1.05rem; margin-bottom: 26px; }
.mfs-contact__list { display: flex; flex-direction: column; gap: 12px; }
.mfs-contact__list a { color: #fff; font-size: 1.06rem; transition: color .15s; }
.mfs-contact__list strong { color: #7fe9c4; margin-right: 6px; }
.mfs-contact__list a:hover { color: #7fe9c4; }
.mfs-contact__addr { color: #fff; font-size: 1.06rem; }
.mfs-contact__addr address { display: block; margin-top: 4px; font-style: normal; line-height: 1.55; color: #d8e6ff; }

/* Contact form (rendered by mu-plugin shortcode) */
.mfs-form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.mfs-form__title { color: var(--primary); font-size: 1.4rem; font-weight: 800; margin: 0 0 20px; text-align: center; }
.mfs-field { margin-bottom: 16px; text-align: left; }
.mfs-field label { display: block; font-weight: 600; font-size: .9rem; color: var(--primary); margin-bottom: 6px; }
.mfs-field input, .mfs-field select, .mfs-field textarea {
	width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 1rem; color: var(--ink); background: #fbfdff; transition: border-color .15s, box-shadow .15s;
}
.mfs-field input:focus, .mfs-field select:focus, .mfs-field textarea:focus {
	outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.mfs-form .mfs-btn { width: 100%; margin-top: 6px; }
.mfs-form__note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }
.mfs-alert { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; text-align: center; font-weight: 600; font-size: .95rem; }
.mfs-alert--ok { background: #e6fbf0; color: #00794f; }
.mfs-alert--err { background: #fdeaea; color: #c0392b; }

/* Footer */
.mfs-footer { background: var(--primary-700); color: rgba(255, 255, 255, .75); padding: 56px 0 0; }
.mfs-footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.mfs-footer__brand { display: flex; align-items: center; gap: 12px; }
.mfs-footer .mfs-brand__name { color: #fff; }
.mfs-footer p { color: rgba(255, 255, 255, .7); margin-top: 10px; font-size: .96rem; }
.mfs-footer__nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.mfs-footer__nav a { color: rgba(255, 255, 255, .8); font-weight: 600; font-size: .96rem; }
.mfs-footer__nav a:hover { color: #fff; }
.mfs-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; }
.mfs-footer__bar p { color: rgba(255, 255, 255, .55); font-size: .85rem; margin: 0; text-align: center; }

/* Floating WhatsApp */
.mfs-fab {
	position: fixed; right: 22px; bottom: 22px; z-index: 60;
	width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 26px rgba(37, 211, 102, .45); transition: transform .2s;
}
.mfs-fab:hover { transform: scale(1.08); }

/* Responsive */

/* Collapse the desktop nav into a hamburger early — the full business name
   needs the room, so the inline menu would otherwise crowd/wrap. */
@media (max-width: 980px) {
	.mfs-nav, .mfs-header__cta { display: none; }
	.mfs-burger { display: flex; }
	.mfs-nav.is-open {
		display: flex; flex-direction: column; gap: 0;
		position: absolute; top: 100%; left: 0; right: 0; background: #fff;
		border-bottom: 1px solid var(--line); padding: 6px 24px 14px;
		box-shadow: 0 16px 30px rgba(10, 37, 64, .10);
	}
	.mfs-nav.is-open a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.mfs-nav.is-open a:last-child { border-bottom: 0; }
	.mfs-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.mfs-burger.is-active span:nth-child(2) { opacity: 0; }
	.mfs-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 900px) {
	.mfs-grid--services { grid-template-columns: repeat(2, 1fr); }
	.mfs-grid--why { grid-template-columns: repeat(2, 1fr); }
	.mfs-areas__inner { grid-template-columns: 1fr; gap: 30px; }
	.mfs-contact__grid { grid-template-columns: 1fr; gap: 36px; }
	.mfs-steps { grid-template-columns: 1fr; gap: 22px; }

	/* Hero + why stack on tablet/mobile */
	.mfs-hero { padding: 84px 0 72px; }
	.mfs-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; text-align: center; }
	.mfs-hero__text p { margin-left: auto; margin-right: auto; }
	.mfs-hero__text .mfs-hero__cta { justify-content: center; }
	/* Text first on small screens: the photo used to sit above the H1, which
	   pushed the headline to the fold and "Call Now" clean off it. */
	.mfs-hero__media { order: 1; }
	.mfs-frame--hero { max-width: 320px; }
	.mfs-why-wrap { grid-template-columns: 1fr; gap: 34px; }
	.mfs-why-media { max-width: 440px; margin: 0 auto; }
	.mfs-areas__map { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 720px) {
	.mfs-section { padding: 64px 0; }
	.mfs-brand__name { font-size: .98rem; }
	.mfs-brand__tag { display: none; }
	.mfs-brand__mark { width: 40px; height: 40px; }
}

@media (max-width: 560px) {
	/* Stack hero CTAs full-width so they can never overflow the screen */
	.mfs-hero__cta { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 320px; margin: 0 auto; }
	.mfs-hero__cta .mfs-btn { width: 100%; }
	.mfs-hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
}

@media (max-width: 480px) {
	.mfs-grid--why,
	.mfs-why-content .mfs-grid--why { grid-template-columns: 1fr; }
	.mfs-hero__badges { gap: 12px; flex-direction: column; align-items: stretch; }
	.mfs-hero__badges li { justify-content: flex-start; }
	.mfs-card { padding: 26px; }
	.mfs-btn--lg { padding: 15px 22px; font-size: 1rem; }
	.mfs-container { padding: 0 18px; }

	/* Keep the 15 services in two columns on phones — one column made the page
	   roughly twice as long for no extra clarity. Tighten the cards to fit. */
	.mfs-grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.mfs-grid--services .mfs-card { padding: 20px 14px; }
	.mfs-service__icon { width: 62px; height: 62px; border-radius: 16px; margin-bottom: 14px; }
	.mfs-service__icon img { width: 42px; height: 42px; border-radius: 9px; }
	.mfs-service h3 { font-size: 1.02rem; line-height: 1.28; }
	.mfs-service p { font-size: .88rem; line-height: 1.5; }
}

/* Keyboard focus. Interactive elements had no focus styling of their own, so
   keyboard users were left with whatever ring the browser happened to draw. */
.mfs-landing a:focus-visible,
.mfs-landing button:focus-visible,
.mfs-landing input:focus-visible,
.mfs-landing select:focus-visible,
.mfs-landing textarea:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}
/* On the navy sections a green ring is low-contrast — use white there. */
.mfs-hero a:focus-visible,
.mfs-contact__list a:focus-visible,
.mfs-footer a:focus-visible {
	outline-color: #fff;
}

/* Respect users who have asked the OS to reduce motion. */
@media (prefers-reduced-motion: reduce) {
	body.mfs-landing { scroll-behavior: auto; }
	.mfs-landing *, .mfs-landing *::before, .mfs-landing *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.mfs-map__pin { animation: none; }
	.mfs-card:hover, .mfs-btn:hover, .mfs-fab:hover { transform: none; }
}
