/* ==========================================================================
   MD Drive - main stylesheet
   Palette: navy #0B1F3A / amber #FFB800 / teal #00C2A8 / off-white #F7FAFC
   ========================================================================== */

:root {
	--md-navy: #0B1F3A;
	--md-navy-2: #12325e;
	--md-navy-3: #1b4479;
	--md-amber: #FFB800;
	--md-amber-2: #FFD34D;
	--md-teal: #00C2A8;
	--md-teal-dark: #009e87;
	--md-bg: #F7FAFC;
	--md-ink: #14243c;
	--md-muted: #5a6b82;
	--md-white: #ffffff;
	--md-radius: 20px;
	--md-shadow-lg: 0 30px 60px -18px rgba(11, 31, 58, 0.35), 0 12px 24px -12px rgba(11, 31, 58, 0.25);
	--md-shadow-md: 0 18px 36px -14px rgba(11, 31, 58, 0.28), 0 6px 14px -8px rgba(11, 31, 58, 0.18);
	--md-shadow-sm: 0 8px 20px -8px rgba(11, 31, 58, 0.22);
	--md-header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--md-ink);
	background: var(--md-bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: 'Sora', 'Inter', system-ui, sans-serif;
	line-height: 1.15;
	color: var(--md-navy);
	margin: 0 0 0.5em;
}

img { max-width: 100%; height: auto; }
a { color: var(--md-teal-dark); }

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

.md-skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--md-amber); color: var(--md-navy);
	padding: 10px 18px; font-weight: 700; border-radius: 0 0 12px 0;
}
.md-skip-link:focus { left: 0; }

.md-wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons: subtle 3D lift ---------- */
.md-btn {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.98rem;
	text-decoration: none; padding: 14px 26px; border-radius: 999px;
	border: 1px solid transparent; cursor: pointer;
	transition: transform 0.25s cubic-bezier(.2,.8,.3,1.4), box-shadow 0.25s ease, background 0.25s ease;
	will-change: transform;
}
.md-btn:hover { transform: translateY(-3px); }
.md-btn:active { transform: translateY(-1px) scale(0.99); }

.md-btn--amber {
	background: linear-gradient(160deg, var(--md-amber-2), var(--md-amber));
	color: var(--md-navy);
	box-shadow: 0 14px 28px -10px rgba(255, 184, 0, 0.65), inset 0 1px 0 rgba(255,255,255,0.6);
}
.md-btn--amber:hover { box-shadow: 0 20px 34px -10px rgba(255, 184, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.6); }

.md-btn--teal {
	background: linear-gradient(160deg, #17d6bd, var(--md-teal));
	color: #04231e;
	box-shadow: 0 14px 28px -10px rgba(0, 194, 168, 0.6), inset 0 1px 0 rgba(255,255,255,0.5);
}

.md-btn--glass {
	background: rgba(255, 255, 255, 0.12);
	color: #fff; border-color: rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.45);
}
.md-btn--glass:hover { background: rgba(255, 255, 255, 0.2); }

.md-btn--navy { background: var(--md-navy); color: #fff; box-shadow: var(--md-shadow-sm); }
.md-btn--ghost {
	background: transparent; color: var(--md-amber);
	border-color: rgba(255, 184, 0, 0.55); padding: 10px 20px;
}
.md-btn--ghost:hover { background: rgba(255, 184, 0, 0.12); }

.md-btn--call svg { flex: 0 0 auto; }

/* ---------- Sticky glass header ---------- */
.md-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11, 31, 58, 0.78);
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
	transition: background 0.3s ease;
}
.md-header.is-scrolled { background: rgba(11, 31, 58, 0.94); }

.md-header__inner {
	max-width: 1180px; margin: 0 auto; padding: 0 22px;
	min-height: var(--md-header-h);
	display: flex; align-items: center; gap: 22px;
}

.md-header__brand { margin-right: auto; }
.md-header__brand .custom-logo { max-height: 52px; width: auto; display: block; }

.md-logo {
	display: inline-flex; align-items: center; gap: 12px;
	text-decoration: none; color: #fff;
	font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.06rem; line-height: 1.1;
}
.md-logo__mark {
	display: inline-flex; border-radius: 12px;
	box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.45);
	transform: perspective(300px) rotateY(-8deg);
}
.md-logo__text span { color: rgba(255, 255, 255, 0.85); display: block; font-size: 0.78em; letter-spacing: 0.04em; }

.md-nav__list {
	display: flex; gap: 6px; list-style: none; margin: 0; padding: 0;
}
.md-nav__list a {
	color: rgba(255, 255, 255, 0.88); text-decoration: none; font-weight: 600;
	font-size: 0.95rem; padding: 9px 14px; border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease;
}
.md-nav__list a:hover, .md-nav__list .current-menu-item > a {
	background: rgba(255, 255, 255, 0.12); color: #fff;
}

.md-header__call {
	padding: 11px 20px; background: linear-gradient(160deg, var(--md-amber-2), var(--md-amber));
	color: var(--md-navy); box-shadow: 0 10px 22px -8px rgba(255, 184, 0, 0.6);
}
.md-header__call:hover { color: var(--md-navy); }

.md-nav-toggle {
	display: none; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
	border-radius: 10px; padding: 10px; cursor: pointer;
}
.md-nav-toggle__bar { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ---------- Hero: gradient mesh + perspective road ---------- */
.md-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(720px 480px at 12% -10%, rgba(0, 194, 168, 0.35), transparent 60%),
		radial-gradient(820px 560px at 88% 0%, rgba(255, 184, 0, 0.22), transparent 55%),
		linear-gradient(165deg, var(--md-navy-3) 0%, var(--md-navy) 46%, #071527 100%);
	perspective: 900px;
}
.md-hero__mesh {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 75%);
	-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 75%);
}
.md-hero__road {
	position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 46%;
	pointer-events: none;
}
.md-hero__dashes line { animation: md-dash-drive 1.6s linear infinite; }
@keyframes md-dash-drive {
	from { transform: translateY(0); opacity: 1; }
	to { transform: translateY(26px); opacity: 0.92; }
}

.md-hero__inner {
	position: relative; z-index: 2;
	max-width: 1180px; margin: 0 auto; padding: 84px 22px 190px;
	display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 46px; align-items: center;
	transform-style: preserve-3d;
}

.md-eyebrow {
	font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: 0.14em;
	text-transform: uppercase; font-size: 0.78rem; color: var(--md-amber);
	margin: 0 0 14px;
}
.md-eyebrow--dark { color: var(--md-teal-dark); }

.md-hero__title {
	color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800;
	text-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
	margin-bottom: 18px;
}
.md-hero__sub { font-size: 1.13rem; color: rgba(255, 255, 255, 0.86); max-width: 34em; margin: 0 0 30px; }
.md-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Glass panel */
.md-glass {
	background: linear-gradient(155deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: var(--md-radius);
	backdrop-filter: blur(16px) saturate(1.35);
	-webkit-backdrop-filter: blur(16px) saturate(1.35);
	box-shadow: var(--md-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.md-hero__panel { padding: 30px 30px 34px; transform: translateZ(38px) rotateY(-4deg); }
.md-hero__panel h2 { color: #fff; font-size: 1.45rem; }
.md-hero__panel p { color: rgba(255, 255, 255, 0.85); margin: 0 0 16px; }
.md-hero__panel-list { list-style: none; margin: 0 0 24px; padding: 0; }
.md-hero__panel-list li {
	position: relative; padding: 7px 0 7px 30px; color: rgba(255, 255, 255, 0.92); font-weight: 500;
}
.md-hero__panel-list li::before {
	content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 9px;
	border-left: 3px solid var(--md-teal); border-bottom: 3px solid var(--md-teal);
	transform: rotate(-48deg);
}

/* ---------- Sections ---------- */
.md-section { padding: 84px 0; }
.md-section__head { max-width: 640px; margin-bottom: 44px; }
.md-section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }

/* 3D card grid */
.md-cards {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
	gap: 26px; perspective: 1200px;
}
.md-card {
	border-radius: var(--md-radius);
	transform-style: preserve-3d;
	transition: transform 0.45s cubic-bezier(.2,.8,.25,1), box-shadow 0.45s ease;
	box-shadow: var(--md-shadow-md);
	background: var(--md-white);
}
.md-card:hover { box-shadow: var(--md-shadow-lg); }
.md-card__face {
	height: 100%; padding: 30px 28px; border-radius: var(--md-radius);
	background: linear-gradient(165deg, #ffffff 0%, #eef4fa 100%);
	border: 1px solid rgba(11, 31, 58, 0.07);
	transform: translateZ(24px);
	display: flex; flex-direction: column; gap: 10px;
}
.md-card__icon {
	width: 62px; height: 62px; border-radius: 18px;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--md-navy);
	background: linear-gradient(150deg, var(--md-amber-2), var(--md-amber));
	box-shadow: 0 14px 24px -10px rgba(255, 184, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.65);
	transform: translateZ(30px) rotate(-4deg);
}
.md-card h3, .md-card__title { font-size: 1.22rem; margin: 8px 0 0; }
.md-card__title a { color: inherit; text-decoration: none; }
.md-card p, .md-card__excerpt { color: var(--md-muted); margin: 0; }
.md-card__link {
	margin-top: auto; font-weight: 700; color: var(--md-teal-dark); text-decoration: none;
}
.md-card__link:hover { color: var(--md-navy); }
.md-card__thumb img { border-radius: 14px; box-shadow: var(--md-shadow-sm); }

/* Areas band */
.md-areas {
	background: linear-gradient(140deg, var(--md-navy) 0%, var(--md-navy-2) 70%, #0d2c52 100%);
	color: #fff; position: relative; overflow: hidden;
}
.md-areas::after {
	content: ""; position: absolute; inset: auto -10% -55% -10%; height: 70%;
	background: radial-gradient(50% 100% at 50% 100%, rgba(0, 194, 168, 0.28), transparent 70%);
	pointer-events: none;
}
.md-areas h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.md-areas p { color: rgba(255, 255, 255, 0.85); max-width: 36em; }
.md-areas__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.md-areas__chips { display: flex; flex-wrap: wrap; gap: 14px; align-content: center; }
.md-chip {
	font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.02rem; color: #fff;
	padding: 13px 22px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.5);
	transform: perspective(500px) rotateX(6deg);
}
.md-areas__nap { font-style: normal; width: 100%; color: rgba(255, 255, 255, 0.75); margin-top: 8px; }

/* Why us */
.md-why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.md-why__item {
	padding: 28px; border-radius: var(--md-radius); background: var(--md-white);
	border-top: 5px solid var(--md-teal); box-shadow: var(--md-shadow-sm);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.md-why__item:hover { transform: translateY(-6px); box-shadow: var(--md-shadow-md); }
.md-why__item h3 { font-size: 1.18rem; }
.md-why__item p { color: var(--md-muted); margin: 0; }

/* CTA band */
.md-cta { padding: 0 0 84px; }
.md-cta__inner {
	padding: 42px; display: flex; flex-wrap: wrap; gap: 26px;
	align-items: center; justify-content: space-between;
	background: linear-gradient(135deg, rgba(18, 50, 94, 0.96), rgba(11, 31, 58, 0.97));
	color: #fff;
}
.md-cta__inner h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.md-cta__inner p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 32em; }
.md-cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Pages / posts ---------- */
.md-page { padding-top: 64px; }
.md-entry__header { margin-bottom: 28px; }
.md-entry__title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.md-entry__meta { color: var(--md-muted); font-weight: 600; }
.md-entry__thumb img { border-radius: var(--md-radius); box-shadow: var(--md-shadow-md); }
.md-prose { max-width: 780px; font-size: 1.05rem; }
.md-prose h2, .md-prose h3 { margin-top: 1.6em; }
.md-prose a { font-weight: 600; }
.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.pagination .page-numbers {
	padding: 9px 15px; border-radius: 10px; background: #fff;
	box-shadow: var(--md-shadow-sm); text-decoration: none; font-weight: 700; color: var(--md-navy);
}
.pagination .page-numbers.current { background: var(--md-amber); }

/* 404 */
.md-404__inner { text-align: center; }
.md-404__code {
	font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(4rem, 14vw, 8rem);
	line-height: 1; margin: 0; color: var(--md-navy); opacity: 0.12;
}
.md-404 .md-hero__ctas { justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */
.md-footer {
	background: linear-gradient(180deg, #081a30, var(--md-navy));
	color: rgba(255, 255, 255, 0.85);
	padding: 64px 0 0; margin-top: 0;
}
.md-footer__grid {
	max-width: 1180px; margin: 0 auto; padding: 0 22px 46px;
	display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px;
}
.md-footer__name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; margin: 0 0 8px; }
.md-footer__tag { margin: 0; color: rgba(255, 255, 255, 0.7); }
.md-footer__heading { color: var(--md-amber); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.md-footer__nap { font-style: normal; line-height: 1.8; }
.md-footer a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.md-footer a:hover { color: var(--md-amber); }
.md-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.md-footer__cta { margin-top: 18px; }
.md-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 18px 22px; text-align: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6);
}
.md-footer__bar p { margin: 0; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
.md-hero__panel[data-reveal].is-revealed { transform: translateZ(38px) rotateY(-4deg); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.md-hero__inner { grid-template-columns: 1fr; padding-bottom: 170px; }
	.md-hero__panel { transform: none; max-width: 560px; }
	.md-hero__panel[data-reveal].is-revealed { transform: none; }
	.md-areas__inner { grid-template-columns: 1fr; }
	.md-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.md-nav-toggle { display: block; order: 3; }
	.md-header__call span { display: none; }
	.md-header__call { padding: 11px 13px; }
	.md-nav {
		position: absolute; top: var(--md-header-h); left: 0; right: 0;
		background: rgba(11, 31, 58, 0.98); padding: 14px 22px 22px;
		transform: translateY(-12px); opacity: 0; pointer-events: none;
		transition: opacity 0.25s ease, transform 0.25s ease;
	}
	.md-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
	.md-nav__list { flex-direction: column; gap: 4px; }
	.md-nav__list a { display: block; padding: 12px 14px; }
	.md-header { position: sticky; }
	.md-header__inner { position: relative; flex-wrap: nowrap; }
	.md-section { padding: 60px 0; }
	.md-cta__inner { padding: 30px 24px; }
	.md-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@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;
	}
	[data-reveal] { opacity: 1; transform: none; }
	.md-hero__panel[data-reveal].is-revealed { transform: none; }
}

/* ==== MD Drive 1.1 polish (Web Design Suite pass, 2026-10-25) ==== */
.md-hero { position: relative; }
.md-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(560px 300px at 12% -60px, rgba(0, 194, 168, 0.20), transparent 60%),
		radial-gradient(720px 340px at 88% -80px, rgba(255, 184, 0, 0.13), transparent 60%);
}
.md-hero__inner { position: relative; z-index: 2; }
.md-btn { transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease; }
.md-btn:hover { transform: translateY(-2px); }
.md-btn:active { transform: scale(0.98); }
.md-card { transition: box-shadow 0.3s ease; }
.md-card:hover { box-shadow: 0 24px 48px -18px rgba(11, 31, 58, 0.28); }
.md-card__link { transition: color 0.2s ease, letter-spacing 0.2s ease; }
.md-nav__list a { transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--md-teal); outline-offset: 2px; }
::selection { background: var(--md-amber); color: #0B1F3A; }
@media (prefers-reduced-motion: reduce) {
	.md-btn, .md-card, .md-card__link, .md-nav__list a { transition: none; }
	.md-btn:hover { transform: none; }
}

.md-footer__credit { margin-top: 6px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.72); }
.md-footer__credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.md-footer__credit a:hover { color: var(--md-amber); }

/* ==== MD Drive 1.2: inner page design (hero, panel, CTA band) ==== */
.md-page-hero {
	position: relative; overflow: hidden; color: #fff;
	background: linear-gradient(155deg, #0B1F3A 0%, #10294D 58%, #0A3542 100%);
	padding: clamp(2.8rem, 7vw, 4.6rem) 0 clamp(2.4rem, 6vw, 3.8rem);
}
.md-page-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(520px 260px at 10% -40px, rgba(0, 194, 168, 0.22), transparent 60%),
		radial-gradient(640px 300px at 90% -60px, rgba(255, 184, 0, 0.15), transparent 60%);
}
.md-page-hero .md-wrap { position: relative; z-index: 1; }
.md-page-hero__title {
	color: #fff; font-family: 'Sora', sans-serif; font-weight: 800;
	font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.01em; margin: 10px 0 0;
}
.md-page-hero__sub { color: rgba(255, 255, 255, 0.86); font-size: 1.1rem; max-width: 44em; margin: 14px 0 0; }
.md-panel {
	background: #fff; border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.8rem);
	box-shadow: 0 24px 50px -24px rgba(11, 31, 58, 0.18); border: 1px solid rgba(11, 31, 58, 0.06);
}
.md-panel .md-prose { max-width: none; }
.md-prose { line-height: 1.75; color: #33475C; }
.md-prose h2 { font-family: 'Sora', sans-serif; color: var(--md-navy); font-size: 1.6rem; margin: 1.5em 0 0.5em; }
.md-prose h3 { font-family: 'Sora', sans-serif; color: var(--md-navy); font-size: 1.25rem; margin: 1.4em 0 0.4em; }
.md-prose p { margin: 0 0 1.1em; }
.md-prose ul, .md-prose ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.md-prose li { margin-bottom: 0.45em; }
.md-prose li::marker { color: var(--md-amber); font-weight: 700; }
.md-prose a { color: #1D4ED8; text-decoration: underline; text-underline-offset: 3px; }
.md-prose a:hover { color: var(--md-navy); }
.md-prose img { border-radius: 16px; }
.md-cta-band { background: linear-gradient(150deg, #0B1F3A, #0E2A4F); color: #fff; padding: clamp(2.4rem, 6vw, 3.6rem) 0; }
.md-cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: space-between; }
.md-cta-band__copy { max-width: 34em; }
.md-cta-band__copy h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 8px; }
.md-cta-band__copy p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.md-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.md-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 26px 0 0; padding: 0; }
.md-chips li {
	background: #fff; border: 1px solid rgba(11, 31, 58, 0.12); border-radius: 999px;
	padding: 9px 16px 9px 14px; font-weight: 600; font-size: 0.95rem; color: var(--md-navy);
	display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 8px 20px -12px rgba(11, 31, 58, 0.25);
}
.md-chips li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--md-teal); flex: none; }
.md-areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.md-area-card {
	background: #fff; border: 1px solid rgba(11, 31, 58, 0.08); border-radius: 20px;
	padding: 26px; box-shadow: 0 18px 36px -20px rgba(11, 31, 58, 0.22);
}
.md-area-card h3 { font-family: 'Sora', sans-serif; color: var(--md-navy); font-size: 1.3rem; margin: 0 0 8px; }
.md-area-card p { color: #33475C; line-height: 1.7; margin: 0; }
.md-areas-band__note { margin-top: 20px; color: #33475C; }

/* ==== MD Drive 1.2.1: testimonials ==== */
.md-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 10px; }
.md-testimonial {
	background: #F5F8FC; border: 1px solid rgba(11, 31, 58, 0.08); border-radius: 18px;
	padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 12px;
}
.md-testimonial .md-stars { color: var(--md-amber); font-size: 1.05rem; letter-spacing: 3px; line-height: 1; }
.md-testimonial blockquote { margin: 0; color: #33475C; line-height: 1.7; font-size: 1rem; }
.md-testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.md-testimonial figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(11, 31, 58, 0.18); }
.md-testimonial__name { display: block; font-family: 'Sora', sans-serif; font-weight: 700; color: var(--md-navy); }
.md-testimonial__meta { display: block; font-size: 0.86rem; color: #5B7186; }

/* ---------- Trust strip (front page, under hero) ---------- */
.md-trust { background: #fff; border-bottom: 1px solid #e5ebf2; }
.md-trust__inner { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding-top: 16px; padding-bottom: 16px; }
.md-trust__item { display: inline-flex; align-items: center; gap: 9px; font-family: "Sora", sans-serif; font-weight: 600; font-size: .92rem; color: var(--md-navy); }
.md-trust__item::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--md-teal); flex: 0 0 auto; }

/* ---------- FAQ accordion (front page) ---------- */
.md-faq-sec { background: linear-gradient(180deg, #f4f7fb, #eef3f9); }
.md-faq-sec__inner { max-width: 860px; }
.md-faq { display: grid; gap: 12px; margin-top: 26px; }
.md-faq__item { background: #fff; border: 1px solid #dde5ee; border-left: 4px solid transparent; border-radius: 14px; overflow: hidden; transition: border-color .22s ease, box-shadow .22s ease; }
.md-faq__item.is-open { border-left-color: var(--md-amber); box-shadow: 0 14px 30px -18px rgba(11, 31, 58, .35); }
.md-faq__q { margin: 0; font-size: 1rem; }
.md-faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; background: none; border: 0; cursor: pointer; text-align: left; font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--md-navy); }
.md-faq__btn:hover { color: #123a75; }
.md-faq__btn:focus-visible { outline: 3px solid var(--md-teal); outline-offset: -3px; }
.md-faq__icon { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #fdf3d7; transition: transform .28s ease, background .28s ease; }
.md-faq__icon::before, .md-faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--md-navy); border-radius: 2px; transition: background .28s ease; }
.md-faq__icon::before { width: 13px; height: 2.5px; transform: translate(-50%, -50%); }
.md-faq__icon::after { width: 2.5px; height: 13px; transform: translate(-50%, -50%); }
.md-faq__item.is-open .md-faq__icon { transform: rotate(135deg); background: var(--md-amber); }
.md-faq__panel { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.md-faq__panel-inner { padding: 0 20px 18px; }
.md-faq__panel-inner p { margin: 0; color: #42506a; max-width: 65ch; }
@media (prefers-reduced-motion: reduce) {
	.md-faq__panel, .md-faq__icon { transition: none; }
}

/* ---------- Section illustrations (isometric-style SVG art) ---------- */
.md-head-split { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.md-head-split .md-section__head { flex: 1 1 380px; margin-bottom: 0; }
.md-art { flex: 0 1 300px; max-width: 300px; }
.md-art svg { width: 100%; height: auto; display: block; animation: mdArtFloat 7s ease-in-out infinite alternate; }
.md-art--on-dark { max-width: 330px; margin-top: 18px; }
.md-art--cta { flex: 0 1 190px; max-width: 190px; }
.md-art--cta svg { animation-duration: 8s; }
.md-hero__car { position: absolute; left: 50%; bottom: 4.5%; width: 185px; transform: translateX(-50%); z-index: 2; pointer-events: none; animation: mdCarBob 3.6s ease-in-out infinite alternate; }
.md-hero__car svg { width: 100%; height: auto; display: block; }
@keyframes mdArtFloat { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes mdCarBob { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-50%) translateY(-5px); } }
@media (max-width: 760px) {
	.md-art { flex-basis: 220px; max-width: 220px; }
	.md-art--cta { display: none; }
	.md-hero__car { width: 130px; bottom: 2.5%; }
}
@media (prefers-reduced-motion: reduce) {
	.md-art svg, .md-hero__car { animation: none; }
}

/* ---------- Inner page section blocks + hero art ---------- */
.md-page-hero__inner { display: flex; align-items: center; gap: 30px; }
.md-page-hero__text { flex: 1 1 auto; min-width: 0; }
.md-page-hero__art { flex: 0 1 235px; max-width: 235px; }
.md-prose .md-block { background: #F7FAFD; border: 1px solid #E3ECF5; border-radius: 16px; padding: 24px 26px; margin: 24px 0; }
.md-prose .md-block > h2:first-child { margin-top: 2px; }
.md-prose .md-block > *:last-child { margin-bottom: 0; }
.md-prose .md-faq-heading { margin-top: 30px; }
.md-prose .md-faq { margin-bottom: 8px; }
@media (max-width: 700px) {
	.md-page-hero__art { display: none; }
	.md-prose .md-block { padding: 18px; }
}

/* ---------- Homepage latest testimonials ---------- */
.md-home-testimonials { background: #fff; }
.md-btn--navy { background: var(--md-navy); color: #fff; }
.md-btn--navy:hover { background: #123a75; }
.md-home-testimonials .md-testimonials { margin-top: 30px; }
.md-home-testimonials__more { text-align: center; margin: 28px 0 0; }

/* ---------- Header fit fixes (v1.7.0) ---------- */
.site-header__inner { width: min(1360px, calc(100% - 32px)); }
.md-brand { flex: 0 0 auto; }
.md-brand__name-line1, .md-brand__sub { white-space: nowrap; }
.md-nav a { white-space: nowrap; padding: 9px 11px; font-size: 0.93rem; }
.md-header-phone { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 1280px) {
	.md-nav a { padding: 8px 9px; font-size: 0.88rem; }
	.md-brand__name { font-size: 1.02rem; }
	.md-brand__sub { font-size: 0.66rem; }
	.md-header-phone { padding: 10px 16px; font-size: 0.92rem; }
}

/* ---------- Full-width Squarespace-style layout (v1.8.0) ---------- */
.md-wrap { width: min(1320px, calc(100% - 48px)); }
.md-section { padding: 96px 0; }
.md-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.md-section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.md-page-hero__title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.md-main { overflow-x: clip; }

/* Inner pages: content becomes full-bleed alternating bands */
.md-main--page .md-wrap { width: 100%; max-width: none; padding: 0; }
.md-panel { background: transparent; box-shadow: none; border-radius: 0; padding: 0; overflow: visible; }
.md-block {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 58px max(24px, calc((100vw - 1240px) / 2));
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: #fff;
}
.md-block:nth-child(even) { background: #F2F6FB; }
.md-block > h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.md-block .md-faq { margin-inline: auto; }
.md-block img { border-radius: 16px; }

/* Homepage edge-to-edge photo band */
.md-photoband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; line-height: 0; }
.md-photoband figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.md-photoband img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.md-photoband figure:hover img { transform: scale(1.05); }
@media (max-width: 700px) {
	.md-photoband { grid-template-columns: 1fr; }
	.md-photoband figure { aspect-ratio: 16 / 10; }
	.md-section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.md-photoband img { transition: none; }
}

/* ---------- Hero media: photo beside the headline (v1.8.1) ---------- */
.md-hero__media { position: relative; }
.md-hero__photo {
	margin: 0;
	border-radius: 26px;
	overflow: hidden;
	box-shadow: 0 40px 80px -24px rgba(2, 10, 24, 0.55);
	transform: rotate(1.2deg);
	aspect-ratio: 4 / 3;
}
.md-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-hero__media .md-hero__panel {
	position: relative;
	margin: -64px 0 0 28px;
	transform: rotate(-0.6deg);
}
@media (max-width: 1020px) {
	.md-hero__media .md-hero__panel { margin: -40px 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.md-hero__photo, .md-hero__media .md-hero__panel { transform: none; }
}

/* ---------- Full-width + header call fixes (v1.8.2) ---------- */
.md-header__call { white-space: nowrap; flex: 0 0 auto; }
.md-header__call span { white-space: nowrap; }
.md-main .md-wrap:has(.md-panel) { width: 100%; max-width: none; padding-inline: 0; }
.md-prose:has(.md-block) { max-width: none; }
.md-block {
	width: auto;
	margin-left: 0;
	padding: 58px max(24px, calc((100% - 1240px) / 2));
	box-sizing: border-box;
}
body { overflow-x: hidden; }

/* ---------- Header wordmark + blog bands (v1.8.3, correct selectors) ---------- */
.md-header__inner { max-width: 1360px; }
.md-logo { flex: 0 0 auto; }
.md-logo__text { white-space: nowrap; }
.md-logo__text span { white-space: nowrap; }
.md-wrap:has(.md-block) { width: 100%; max-width: none; padding-inline: 0; }
article.md-entry:has(.md-block) { padding: 0; background: transparent; box-shadow: none; border-radius: 0; }

/* ---------- Hero slide: full-width journey banner (v1.8.4) ---------- */
.md-hero:has(.md-hero__slide) { padding-bottom: 0; }
.md-hero:has(.md-hero__slide) .md-hero__road,
.md-hero:has(.md-hero__slide) .md-hero__car { display: none; }
.md-hero__slide {
	position: relative;
	z-index: 3;
	margin: 56px 0 0;
	line-height: 0;
}
.md-hero__slide img { width: 100%; height: auto; display: block; }

/* ---------- Mid-width header: tight bar, then burger (v1.8.5) ---------- */
@media (max-width: 1360px) and (min-width: 1151px) {
	.md-header__inner { gap: 14px; }
	.md-nav__list { gap: 2px; }
	.md-nav__list a { padding: 8px 8px; font-size: 0.85rem; }
	.md-logo { font-size: 0.98rem; }
	.md-header__call { padding: 10px 14px; font-size: 0.88rem; }
}
@media (max-width: 1150px) {
	.md-nav-toggle { display: block; order: 3; }
	.md-header__call span { display: none; }
	.md-header__call { padding: 11px 13px; }
	.md-nav {
		position: absolute; top: var(--md-header-h); left: 0; right: 0;
		background: rgba(11, 31, 58, 0.98); padding: 14px 22px 22px;
		transform: translateY(-12px); opacity: 0; pointer-events: none;
		transition: opacity 0.25s ease, transform 0.25s ease;
	}
	.md-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
	.md-nav__list { flex-direction: column; gap: 4px; }
	.md-nav__list a { display: block; padding: 12px 14px; }
}

/* ---------- Ten-item header fit (v1.8.6) ---------- */
@media (min-width: 1281px) {
	.md-header__inner { gap: 14px; }
	.md-nav__list { gap: 2px; }
	.md-nav__list a { padding: 8px 8px; font-size: 0.85rem; }
	.md-logo { font-size: 0.98rem; }
	.md-header__call { padding: 10px 14px; font-size: 0.88rem; }
}
@media (max-width: 1280px) {
	.md-nav-toggle { display: block; order: 3; }
	.md-header__call span { display: none; }
	.md-header__call { padding: 11px 13px; }
	.md-nav {
		position: absolute; top: var(--md-header-h); left: 0; right: 0;
		background: rgba(11, 31, 58, 0.98); padding: 14px 22px 22px;
		transform: translateY(-12px); opacity: 0; pointer-events: none;
		transition: opacity 0.25s ease, transform 0.25s ease;
	}
	.md-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
	.md-nav__list { flex-direction: column; gap: 4px; }
	.md-nav__list a { display: block; padding: 12px 14px; }
}
