:root {
  --mg-navy: #071b3d;
  --mg-navy-soft: #102d5a;
  --mg-orange: #c94700;
  --mg-orange-dark: #a83800;
  --mg-green: #0d7c29;
  --mg-green-dark: #086722;
  --mg-ink: #101828;
  --mg-muted: #526171;
  --mg-border: #dce2e8;
  --mg-surface: #f4f6f8;
  --mg-white: #ffffff;
  --mg-heading: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", Arial, sans-serif;
  --mg-body: Arial, Helvetica, sans-serif;
  --mg-shadow: 0 10px 28px rgba(7, 27, 61, 0.14);
  --mg-shadow-lg: 0 24px 60px rgba(7, 27, 61, 0.2);
  --mg-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body.mg-landing {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  background: var(--mg-white);
  color: var(--mg-ink);
  font-family: var(--mg-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.mg-landing *,
body.mg-landing *::before,
body.mg-landing *::after {
  box-sizing: border-box;
}

body.mg-landing img,
body.mg-landing svg {
  display: block;
}

body.mg-landing a {
  color: inherit;
  text-decoration: none;
}

body.mg-landing h1,
body.mg-landing h2,
body.mg-landing h3,
body.mg-landing p,
body.mg-landing blockquote {
  margin-top: 0;
}

body.mg-landing h1,
body.mg-landing h2,
body.mg-landing h3 {
  color: var(--mg-navy);
  font-family: var(--mg-heading);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  text-transform: uppercase;
}

body.mg-landing a:focus-visible,
body.mg-landing button:focus-visible,
body.mg-landing summary:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.mg-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.mg-skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--mg-white);
  color: var(--mg-navy);
  font-weight: 700;
  transform: translateY(-150%);
}

.mg-skip-link:focus {
  transform: translateY(0);
}

.mg-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 78px;
  border-bottom: 1px solid rgba(7, 27, 61, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 12px rgba(7, 27, 61, 0.06);
  transition: height 280ms var(--mg-ease), box-shadow 280ms ease, background-color 280ms ease;
}

.mg-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(7, 27, 61, 0.12);
  backdrop-filter: blur(14px);
}

.admin-bar .mg-header {
  top: 32px;
}

.mg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.mg-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.mg-brand__crop {
  position: relative;
  display: block;
  width: 280px;
  height: 64px;
  overflow: hidden;
}

.mg-brand__crop img {
  position: absolute;
  top: -45px;
  left: -32px;
  width: 330px;
  height: auto;
  max-width: none;
}

.mg-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--mg-navy);
  font-size: 14px;
  font-weight: 700;
}

.mg-nav a {
  padding: 12px 0;
}

.mg-nav a:hover {
  color: var(--mg-orange-dark);
}

.mg-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--mg-orange);
  color: var(--mg-white) !important;
  font-weight: 800;
  white-space: nowrap;
}

.mg-header__phone:hover {
  background: var(--mg-orange-dark);
}

.mg-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(7, 27, 61, 0.22);
  border-radius: 6px;
  background: var(--mg-white);
  color: var(--mg-navy);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.mg-menu-toggle:hover,
.mg-menu-toggle[aria-expanded="true"] {
  border-color: var(--mg-orange);
  background: #fff4ed;
  color: var(--mg-orange-dark);
}

.mg-menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.mg-menu-toggle .mg-menu-toggle__close,
.mg-menu-toggle[aria-expanded="true"] .mg-menu-toggle__open {
  display: none;
}

.mg-menu-toggle[aria-expanded="true"] .mg-menu-toggle__close {
  display: block;
}

.mg-mobile-menu {
  position: absolute;
  z-index: 10;
  top: 100%;
  right: 0;
  left: 0;
  visibility: hidden;
  border-top: 1px solid var(--mg-border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 44px rgba(7, 27, 61, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: visibility 240ms ease, opacity 240ms ease, transform 320ms var(--mg-ease);
  backdrop-filter: blur(16px);
}

.mg-mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mg-mobile-menu__inner {
  width: min(100% - 24px, 620px);
  margin-inline: auto;
  padding: 18px 0 24px;
}

.mg-mobile-menu__nav {
  display: grid;
}

.mg-mobile-menu__nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--mg-border);
  color: var(--mg-navy);
  font-size: 16px;
  font-weight: 800;
}

.mg-mobile-menu__nav a::after {
  color: var(--mg-orange);
  content: "›";
  font-size: 24px;
  line-height: 1;
}

.mg-mobile-menu__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.mg-header__phone svg,
.mg-button svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mg-button--whatsapp svg,
.mg-contact-dock__whatsapp svg {
  fill: currentColor;
  stroke: none;
}

.mg-hero {
  position: relative;
  min-height: 610px;
  background-color: var(--mg-white);
  overflow: hidden;
}

.mg-hero__picture {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
}

.mg-hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.mg-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 47%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 90px 0 90px rgba(255, 255, 255, 0.46);
  content: "";
  pointer-events: none;
}

.mg-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 610px;
}

.mg-hero__copy {
  width: 49%;
  max-width: 590px;
  padding: 54px 0 58px;
}

.mg-hero h1 {
  margin-bottom: 24px;
  font-size: 72px;
}

.mg-hero__copy > p:not(.mg-hero__microcopy) {
  max-width: 470px;
  margin-bottom: 28px;
  color: #243142;
  font-size: 21px;
  line-height: 1.45;
}

.mg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.mg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--mg-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 220ms var(--mg-ease), background-color 180ms ease, border-color 180ms ease, box-shadow 220ms ease;
}

.mg-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 27, 61, 0.18);
}

.mg-button--whatsapp {
  background: var(--mg-green);
  color: var(--mg-white) !important;
  box-shadow: 0 8px 20px rgba(21, 155, 53, 0.22);
}

.mg-button--whatsapp:hover {
  background: var(--mg-green-dark);
}

.mg-button--call {
  background: var(--mg-orange);
  color: var(--mg-white) !important;
  box-shadow: 0 8px 20px rgba(245, 101, 18, 0.2);
}

.mg-button--call:hover {
  background: var(--mg-orange-dark);
}

.mg-button--outline {
  border-color: var(--mg-orange);
  background: var(--mg-white);
  color: var(--mg-orange-dark) !important;
}

.mg-button--outline:hover {
  background: #fff4ed;
}

.mg-hero__microcopy {
  margin: 18px 0 0;
  color: var(--mg-muted);
  font-size: 14px;
  font-weight: 700;
}

.mg-service-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--mg-border);
  border-bottom: 1px solid var(--mg-border);
  background: var(--mg-white);
}

.mg-service-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.mg-service-strip a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 116px;
  padding: 22px 28px;
  border-right: 1px solid var(--mg-border);
  transition: background-color 220ms ease, transform 260ms var(--mg-ease), box-shadow 260ms ease;
}

.mg-service-strip a:first-child {
  border-left: 1px solid var(--mg-border);
}

.mg-service-strip a:hover {
  background: var(--mg-surface);
  box-shadow: inset 0 -4px 0 var(--mg-orange);
  transform: translateY(-3px);
}

.mg-strip__icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd6bd;
  border-radius: 6px;
  background: #fff0e7;
  color: var(--mg-orange-dark);
  transition: color 220ms ease, background-color 220ms ease, transform 260ms var(--mg-ease);
}

.mg-service-strip a:hover .mg-strip__icon {
  background: var(--mg-orange);
  color: var(--mg-white);
  transform: scale(1.06) rotate(-3deg);
}

.mg-strip__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mg-strip__copy {
  min-width: 0;
}

.mg-service-strip strong {
  color: var(--mg-navy);
  font-family: var(--mg-heading);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.mg-strip__copy > span {
  display: block;
  margin-top: 7px;
  color: var(--mg-muted);
  font-size: 13px;
}

.mg-section {
  padding: 94px 0;
}

.mg-section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.mg-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.mg-section-heading h2,
.mg-trust h2,
.mg-final-cta h2 {
  margin-bottom: 18px;
  font-size: 48px;
}

.mg-section-heading h2::after,
.mg-trust h2::after,
.mg-final-cta h2::after {
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 18px;
  background: var(--mg-orange);
  content: "";
}

.mg-section-heading--center h2::after {
  margin-inline: auto;
}

.mg-section-heading p {
  margin-bottom: 0;
  color: var(--mg-muted);
  font-size: 18px;
}

.mg-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--mg-border);
  border-left: 1px solid var(--mg-border);
}

.mg-service {
  min-height: 280px;
  padding: 34px;
  border-right: 1px solid var(--mg-border);
  border-bottom: 1px solid var(--mg-border);
  background: var(--mg-white);
  transition: background-color 220ms ease, transform 280ms var(--mg-ease), box-shadow 280ms ease;
}

.mg-service:hover {
  background: var(--mg-surface);
  box-shadow: var(--mg-shadow);
  transform: translateY(-6px);
}

.mg-service__icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 6px;
  background: #fff0e7;
  color: var(--mg-orange-dark);
  transition: color 220ms ease, background-color 220ms ease, transform 280ms var(--mg-ease);
}

.mg-service:hover .mg-service__icon {
  background: var(--mg-orange);
  color: var(--mg-white);
  transform: scale(1.08) rotate(-4deg);
}

.mg-service__icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mg-service h3 {
  margin-bottom: 13px;
  font-size: 23px;
}

.mg-service p {
  margin-bottom: 0;
  color: var(--mg-muted);
  font-size: 15px;
  line-height: 1.65;
}

.mg-process {
  background: var(--mg-surface);
}

.mg-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mg-process__steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  min-height: 180px;
  padding: 22px 32px;
  border-right: 1px solid #cfd6dd;
}

.mg-process__steps li:last-child {
  border-right: 0;
}

.mg-process__steps li > span {
  color: var(--mg-orange);
  font-family: var(--mg-heading);
  font-size: 54px;
  font-weight: 900;
  line-height: 0.9;
}

.mg-process__steps h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.mg-process__steps p {
  margin-bottom: 0;
  color: var(--mg-muted);
  font-size: 15px;
}

.mg-trust {
  padding: 78px 0;
  background: var(--mg-navy);
  color: var(--mg-white);
}

body.mg-landing .mg-trust h2,
body.mg-landing .mg-final-cta h2 {
  color: var(--mg-white);
}

.mg-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.mg-trust__grid > div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 140px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transition: background-color 220ms ease, transform 280ms var(--mg-ease);
}

.mg-trust__grid > div:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.mg-trust__icon {
  display: flex !important;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mg-white);
  transition: color 220ms ease, background-color 220ms ease, transform 280ms var(--mg-ease);
}

.mg-trust__grid > div:hover .mg-trust__icon {
  background: var(--mg-orange);
  transform: scale(1.06) rotate(-3deg);
}

.mg-trust__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mg-trust__copy {
  min-width: 0;
}

.mg-trust__grid strong,
.mg-trust__grid span {
  display: block;
}

.mg-trust__grid strong {
  margin-bottom: 8px;
  font-family: var(--mg-heading);
  font-size: 23px;
  line-height: 1.1;
  text-transform: uppercase;
}

.mg-trust__grid span {
  color: #c8d4e2;
  font-size: 14px;
}

.mg-testimonials__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.mg-testimonials blockquote {
  min-height: 260px;
  margin-bottom: 0;
  padding: 16px 30px 20px;
  border-left: 1px solid var(--mg-border);
  transition: background-color 220ms ease, transform 280ms var(--mg-ease), box-shadow 280ms ease;
}

.mg-testimonials blockquote:hover {
  background: var(--mg-white);
  box-shadow: var(--mg-shadow);
  transform: translateY(-5px);
}

.mg-testimonials blockquote:last-child {
  border-right: 1px solid var(--mg-border);
}

.mg-testimonials blockquote::before {
  display: block;
  margin-bottom: 14px;
  color: var(--mg-orange);
  font-family: Georgia, serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 0.8;
  content: "“";
}

.mg-testimonials blockquote::before {
  content: "\201C";
}

.mg-testimonials blockquote p {
  min-height: 130px;
  margin-bottom: 20px;
  color: #243142;
  font-size: 15px;
  line-height: 1.65;
}

.mg-testimonials cite {
  color: var(--mg-navy);
  font-style: normal;
  font-weight: 800;
}

.mg-faq {
  background: var(--mg-surface);
}

.mg-faq__inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.mg-faq__inner .mg-section-heading {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

.mg-faq__list {
  border-top: 1px solid #cfd6dd;
}

.mg-faq details {
  border-bottom: 1px solid #cfd6dd;
  transition: background-color 220ms ease, padding 260ms var(--mg-ease);
}

.mg-faq details[open] {
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.mg-faq summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  color: var(--mg-navy);
  cursor: pointer;
  font-family: var(--mg-heading);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  list-style: none;
  text-transform: uppercase;
}

.mg-faq summary::-webkit-details-marker {
  display: none;
}

.mg-faq summary span {
  flex: 0 0 auto;
  color: var(--mg-orange-dark);
  font-family: var(--mg-body);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  transition: transform 160ms ease;
}

.mg-faq details[open] summary span {
  transform: rotate(45deg);
}

.mg-faq details p {
  max-width: 690px;
  margin: -4px 0 22px;
  padding-right: 46px;
  color: var(--mg-muted);
}

.mg-final-cta {
  min-height: 520px;
  overflow: hidden;
  background: var(--mg-navy);
  color: var(--mg-white);
}

.mg-final-cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  min-height: 520px;
}

.mg-final-cta__copy-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 70px 64px 70px max(20px, calc((100vw - 1180px) / 2));
}

.mg-final-cta__copy {
  width: min(520px, 100%);
}

.mg-final-cta h2 {
  font-size: 54px;
  color: var(--mg-white);
}

.mg-final-cta p {
  margin-bottom: 28px;
  color: #dbe5f2;
  font-size: 19px;
}

.mg-final-cta__media {
  min-height: 520px;
  background-image: var(--mg-hero-image);
  background-position: 60% center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 18px 0 30px rgba(7, 27, 61, 0.18);
}

.mg-footer {
  padding: 28px 0;
  border-top: 1px solid var(--mg-border);
  background: var(--mg-white);
}

.mg-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.mg-brand--footer .mg-brand__crop {
  width: 220px;
  height: 52px;
}

.mg-brand--footer .mg-brand__crop img {
  top: -36px;
  left: -25px;
  width: 260px;
}

.mg-footer p {
  margin-bottom: 0;
  color: var(--mg-muted);
  font-size: 14px;
  text-align: center;
}

.mg-footer__inner > a:last-child {
  color: var(--mg-navy);
  font-weight: 800;
}

.mg-contact-dock {
  position: fixed;
  z-index: 1300;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: min(330px, calc(100% - 32px));
  grid-template-columns: 1.14fr 0.86fr;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(7, 27, 61, 0.96);
  box-shadow: 0 18px 50px rgba(7, 27, 61, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 36px)) scale(0.98);
  transition: opacity 260ms ease, transform 420ms var(--mg-ease);
  backdrop-filter: blur(14px);
}

.mg-contact-dock.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mg-contact-dock a {
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--mg-white) !important;
  line-height: 1.15;
  transition: background-color 180ms ease, transform 220ms var(--mg-ease);
}

.mg-contact-dock a:hover {
  transform: translateY(-2px);
}

.mg-contact-dock__whatsapp {
  background: var(--mg-green);
}

.mg-contact-dock__whatsapp:hover {
  background: var(--mg-green-dark);
}

.mg-contact-dock__call {
  background: var(--mg-orange);
}

.mg-contact-dock__call:hover {
  background: var(--mg-orange-dark);
}

.mg-contact-dock svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.mg-contact-dock__call svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mg-contact-dock small,
.mg-contact-dock strong {
  display: block;
  letter-spacing: 0;
  white-space: nowrap;
}

.mg-contact-dock small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.mg-contact-dock strong {
  font-size: 15px;
}

.mg-motion-ready .mg-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--mg-ease) var(--mg-delay, 0ms), transform 700ms var(--mg-ease) var(--mg-delay, 0ms);
}

.mg-motion-ready .mg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .mg-nav {
    display: none;
  }

  .mg-menu-toggle {
    display: inline-flex;
  }

  body.mg-menu-open {
    overflow: hidden;
  }

  .mg-hero h1 {
    font-size: 58px;
  }

  .mg-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mg-process__steps li {
    grid-template-columns: 58px 1fr;
    padding-inline: 22px;
  }

  .mg-process__steps li > span {
    font-size: 46px;
  }

  .mg-trust__grid,
  .mg-testimonials__rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .mg-testimonials blockquote:nth-child(3) {
    border-top: 1px solid var(--mg-border);
  }

  .mg-testimonials blockquote:nth-child(4) {
    border-top: 1px solid var(--mg-border);
  }

  .mg-final-cta__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  }

  .mg-final-cta__copy-shell {
    padding-inline: 36px;
  }

  .mg-final-cta h2 {
    font-size: 46px;
  }
}

@media (max-width: 782px) {
  .admin-bar .mg-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  body.mg-landing {
    padding-bottom: 0 !important;
    transition: padding-bottom 300ms var(--mg-ease);
  }

  body.mg-landing.mg-dock-visible {
    padding-bottom: 82px !important;
  }

  .mg-container {
    width: min(100% - 24px, 620px);
  }

  .mg-header {
    height: 60px;
  }

  .mg-brand__crop {
    width: 198px;
    height: 46px;
  }

  .mg-brand__crop img {
    top: -33px;
    left: -27px;
    width: 238px;
  }

  .mg-header__phone {
    display: none;
  }

  .mg-hero {
    min-height: 0;
    padding-top: clamp(170px, 27svh, 220px);
  }

  .mg-hero__picture {
    right: 0;
    bottom: auto;
    left: 0;
    height: clamp(170px, 27svh, 220px);
  }

  .mg-hero__picture img {
    object-position: 60% top;
  }

  .mg-hero::before {
    display: none;
  }

  .mg-hero__inner {
    min-height: 0;
  }

  .mg-hero__copy {
    width: 100%;
    max-width: none;
    padding: 20px 0 22px;
    background: var(--mg-white);
  }

  .mg-hero h1 {
    margin-bottom: 14px;
    font-size: 37px;
  }

  .mg-hero__copy > p:not(.mg-hero__microcopy) {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.42;
  }

  .mg-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .mg-button {
    width: 100%;
    min-height: 48px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .mg-mobile-menu__actions {
    grid-template-columns: 1fr;
  }

  .mg-menu-open .mg-contact-dock {
    opacity: 0;
    pointer-events: none;
  }

  .mg-hero__microcopy {
    display: none;
  }

  .mg-service-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mg-service-strip a {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 6px;
    min-height: 110px;
    padding: 14px 6px;
    border-bottom: 1px solid var(--mg-border);
  }

  .mg-service-strip a:nth-child(odd) {
    border-left: 1px solid var(--mg-border);
  }

  .mg-service-strip a:nth-child(even) {
    border-right: 1px solid var(--mg-border);
  }

  .mg-service-strip strong {
    font-size: 14px;
    line-height: 1.12;
  }

  .mg-strip__icon {
    width: 36px;
    height: 36px;
  }

  .mg-strip__icon svg {
    width: 21px;
    height: 21px;
  }

  .mg-strip__copy > span {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.35;
  }

  .mg-section {
    padding: 68px 0;
  }

  .mg-section-heading {
    margin-bottom: 34px;
  }

  .mg-section-heading h2,
  .mg-trust h2,
  .mg-final-cta h2 {
    font-size: 38px;
  }

  .mg-section-heading p {
    font-size: 16px;
  }

  .mg-services__grid {
    grid-template-columns: 1fr;
  }

  .mg-service {
    min-height: 0;
    padding: 28px;
  }

  .mg-process__steps {
    grid-template-columns: 1fr;
  }

  .mg-process__steps li {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid #cfd6dd;
  }

  .mg-process__steps li:last-child {
    border-bottom: 0;
  }

  .mg-trust {
    padding: 64px 0;
  }

  .mg-trust__grid {
    grid-template-columns: 1fr;
  }

  .mg-trust__grid > div {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 22px;
  }

  .mg-trust__icon {
    width: 46px;
    height: 46px;
  }

  .mg-testimonials__rail {
    display: flex;
    width: 100%;
    margin-left: 0;
    padding: 0 0 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .mg-testimonials blockquote {
    min-width: 82vw;
    min-height: 260px;
    padding-inline: 24px;
    border-top: 0 !important;
    border-right: 1px solid var(--mg-border);
    scroll-snap-align: start;
  }

  .mg-faq__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mg-faq__inner .mg-section-heading {
    position: static;
  }

  .mg-faq summary {
    min-height: 68px;
    font-size: 19px;
  }

  .mg-final-cta {
    min-height: 0;
  }

  .mg-final-cta__layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .mg-final-cta__media {
    order: -1;
    min-height: 220px;
    background-position: 58% center;
    box-shadow: inset 0 -18px 26px rgba(7, 27, 61, 0.14);
  }

  .mg-final-cta__copy-shell {
    padding: 38px 12px 48px;
  }

  .mg-final-cta__copy {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .mg-final-cta p {
    color: #dbe5f2;
    font-size: 17px;
  }

  .mg-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .mg-brand--footer .mg-brand__crop {
    width: 210px;
    height: 48px;
  }

  .mg-brand--footer .mg-brand__crop img {
    top: -35px;
    left: -29px;
    width: 250px;
  }

  .mg-footer p {
    text-align: left;
  }

  .mg-contact-dock {
    right: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 50%;
    width: min(420px, calc(100% - 24px));
    grid-template-columns: 1.16fr 0.84fr;
    transform: translate(-50%, calc(100% + 36px)) scale(0.98);
  }

  .mg-contact-dock.is-visible {
    transform: translate(-50%, 0) scale(1);
  }

  .mg-contact-dock a {
    min-height: 52px;
    justify-content: center;
    padding-inline: 10px;
  }

  .mg-contact-dock small {
    display: none;
  }

  .mg-contact-dock strong {
    font-size: 15px;
  }
}

@media (max-width: 390px) {
  .mg-brand__crop {
    width: 185px;
  }

  .mg-brand__crop img {
    left: -27px;
    width: 225px;
  }

  .mg-hero h1 {
    font-size: 35px;
  }

  .mg-service-strip strong {
    font-size: 14px;
  }

  .mg-section-heading h2,
  .mg-trust h2,
  .mg-final-cta h2 {
    font-size: 34px;
  }
}

@media (max-width: 350px) {
  .mg-brand__crop {
    width: 170px;
  }

  .mg-brand__crop img {
    width: 212px;
  }

  .mg-hero h1 {
    font-size: 33px;
  }

  .mg-service-strip__grid {
    grid-template-columns: 1fr;
  }

  .mg-service-strip a {
    min-height: 88px;
    padding-inline: 16px;
  }

  .mg-contact-dock strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mg-button,
  .mg-menu-toggle,
  .mg-mobile-menu,
  .mg-contact-dock,
  .mg-faq summary span,
  .mg-reveal,
  .mg-service,
  .mg-service-strip a,
  .mg-trust__grid > div,
  .mg-testimonials blockquote {
    animation: none !important;
    transition: none !important;
  }

  .mg-motion-ready .mg-reveal {
    opacity: 1;
    transform: none;
  }

}
