/* ==========================================================================
   MaxMindSecurity — site chrome (v3)
   Header, mega menu, mobile drawer, closing CTA and footer.
   ========================================================================== */

/* --------------------------------------------------------------- header */
.mm-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background:
    linear-gradient(90deg, rgba(3, 8, 17, .94), rgba(4, 14, 20, .91) 50%, rgba(5, 20, 16, .94)),
    var(--mm-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .mm-site-header { background: var(--mm-bg); }
}
.mm-site-header.is-stuck {
  border-bottom-color: rgba(109, 255, 198, .18);
  background:
    linear-gradient(90deg, rgba(4, 10, 24, .97), rgba(5, 18, 26, .96) 52%, rgba(6, 24, 18, .97)),
    var(--mm-bg);
  box-shadow: 0 16px 34px -24px rgba(2, 4, 12, .86);
}
html[data-theme='light'] .mm-site-header {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(247, 252, 250, .94) 55%, rgba(243, 250, 247, .96)),
    var(--mm-bg);
}
html[data-theme='light'] .mm-site-header.is-stuck {
  border-bottom-color: rgba(17, 89, 78, .15);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(247, 252, 250, .96) 55%, rgba(240, 249, 245, .98)),
    var(--mm-bg);
  box-shadow: 0 10px 30px -18px rgba(20, 24, 60, .25);
}

.mm-header-inner {
  max-width: var(--mm-wrap-wide);
  margin-inline: auto;
  padding-inline: var(--mm-gutter);
  min-height: var(--mm-header-h);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* brand */
.mm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--mm-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  white-space: nowrap;
  flex: none;
  transition: opacity .16s ease, transform .16s ease;
}
.mm-brand:hover { opacity: .94; }
.mm-brand-logo {
  display: block;
  width: clamp(190px, 17vw, 252px);
  height: auto;
  max-height: 55px;
  object-fit: contain;
  filter:
    brightness(0)
    invert(1)
    drop-shadow(0 0 14px rgba(109, 255, 198, .14));
  opacity: .96;
}
html[data-theme='light'] .mm-brand-logo {
  filter: drop-shadow(0 10px 18px rgba(7, 41, 49, .08));
  opacity: 1;
}
.mm-brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: var(--mm-grad);
  color: var(--mm-text-on-fill);
  box-shadow: 0 8px 22px -8px rgba(52, 211, 153, .78), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.mm-brand-mark svg { width: 20px; height: 20px; stroke-width: 1.9; }
.mm-brand b { font-weight: 800; }
.mm-brand em {
  font-style: normal;
  font-weight: 800;
  color: var(--mm-accent-hi);
}

/* primary navigation */
.mm-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 22px;
}
.mm-nav > a,
.mm-nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 0;
  border-radius: var(--mm-r-xs);
  background: transparent;
  color: var(--mm-text-2);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
  white-space: nowrap;
}
.mm-nav > a:hover,
.mm-nav-trigger:hover { color: var(--mm-text); background: var(--mm-surface-2); }
.mm-nav > a[aria-current='page'] { color: var(--mm-text); }
.mm-nav > a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--mm-grad);
}
.mm-nav-trigger svg { width: 14px; height: 14px; transition: transform .2s ease; opacity: .75; }
.mm-nav-item.is-open .mm-nav-trigger { color: var(--mm-text); background: var(--mm-surface-2); }
.mm-nav-item.is-open .mm-nav-trigger svg { transform: rotate(180deg); }

.mm-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: none;
}
.mm-signin {
  color: var(--mm-text-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: var(--mm-r-xs);
  transition: color .16s ease, background-color .16s ease;
  white-space: nowrap;
}
.mm-signin:hover { color: var(--mm-text); background: var(--mm-surface-2); }
html[data-theme='light'] .mm-nav > a,
html[data-theme='light'] .mm-nav-trigger,
html[data-theme='light'] .mm-signin {
  color: #3f4968;
}
html[data-theme='light'] .mm-nav > a:hover,
html[data-theme='light'] .mm-nav-trigger:hover,
html[data-theme='light'] .mm-nav > a[aria-current='page'],
html[data-theme='light'] .mm-nav-item.is-open .mm-nav-trigger,
html[data-theme='light'] .mm-signin:hover {
  color: #0d1633;
  background: rgba(10, 132, 110, .08);
}
.mm-header-actions .mm-btn-primary { margin-left: 4px; }

/* theme toggle */
.mm-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  padding: 0;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-xs);
  background: var(--mm-surface);
  color: var(--mm-text-2);
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.mm-theme-toggle:hover { color: var(--mm-accent); border-color: var(--mm-accent-line); background: var(--mm-accent-soft); }
.mm-theme-toggle svg { width: 17px; height: 17px; }
.mm-theme-sun { display: none; }
html[data-theme='dark'] .mm-theme-sun { display: block; }
html[data-theme='dark'] .mm-theme-moon { display: none; }

/* mobile toggle */
.mm-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  padding: 0;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-xs);
  background: var(--mm-surface);
  color: var(--mm-text);
  cursor: pointer;
}
.mm-burger svg { width: 20px; height: 20px; }
.mm-burger .mm-burger-close { display: none; }
.mm-burger[aria-expanded='true'] .mm-burger-close { display: block; }
.mm-burger[aria-expanded='true'] .mm-burger-open { display: none; }

/* ------------------------------------------------------------ mega menu */
.mm-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 95;
  padding: 12px var(--mm-gutter) 30px;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}
.mm-mega::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 5, 14, .42), transparent 78%);
  pointer-events: none;
}
html[data-theme='light'] .mm-mega::before {
  background: linear-gradient(to bottom, rgba(14, 24, 48, .10), transparent 78%);
}
.mm-nav-item { position: static; }
.mm-nav-item.is-open .mm-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.mm-mega-inner {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(109, 255, 198, .18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(109, 255, 198, .08), transparent 36%),
    linear-gradient(180deg, rgba(14, 19, 36, .98), rgba(8, 13, 25, .98));
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
html[data-theme='light'] .mm-mega-inner {
  border-color: rgba(15, 143, 107, .18);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, .08), transparent 36%),
    rgba(255, 255, 255, .98);
  box-shadow: 0 30px 70px -38px rgba(20, 24, 60, .34);
}
.mm-mega-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 2px 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--mm-line);
}
.mm-mega-top span {
  display: block;
  margin-bottom: 3px;
  color: var(--mm-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mm-mega-top strong {
  display: block;
  color: var(--mm-text);
  font-size: 17px;
  line-height: 1.25;
}
.mm-mega-top a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-xs);
  color: var(--mm-text);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.mm-mega-top a:hover {
  border-color: var(--mm-accent-line);
  color: var(--mm-accent);
  background: var(--mm-accent-soft);
}
.mm-mega-top a svg { width: 14px; height: 14px; }
.mm-mega-cols > div {
  min-width: 0;
  padding: 2px 18px 0;
  border-left: 1px solid var(--mm-line);
}
.mm-mega-cols > div:first-child {
  padding-left: 2px;
  border-left: 0;
}
.mm-mega-cols > div:last-child {
  padding-right: 2px;
}
.mm-mega-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.mm-mega-group + .mm-mega-group { margin-top: 24px; }
.mm-mega-group > h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mm-text-3);
  margin-bottom: 10px;
}
.mm-mega-group > h3 .mm-mega-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--mm-accent-soft);
  color: var(--mm-accent);
}
.mm-mega-group > h3 .mm-mega-ico svg { width: 14px; height: 14px; }
.mm-mega-group ul { list-style: none; margin: 0; padding: 0; }
.mm-mega-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: var(--mm-r-xs);
  text-decoration: none;
  color: var(--mm-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.mm-mega-group a svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  opacity: .42;
  transform: translateX(-3px);
  transition: opacity .15s ease, transform .15s ease;
  color: var(--mm-accent);
}
.mm-mega-group a:hover {
  background: var(--mm-surface-2);
  color: var(--mm-accent);
  transform: translateX(2px);
}
.mm-mega-group a:hover svg { opacity: 1; transform: none; }

/* ------------------------------------------------------------- drawer */
.mm-drawer {
  display: none;
  position: fixed;
  inset: var(--mm-header-h) 0 0;
  z-index: 88;
  background: var(--mm-bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px var(--mm-gutter) 48px;
}
.mm-drawer.is-open { display: block; }
.mm-drawer nav { display: grid; gap: 2px; }
.mm-drawer > nav > a,
.mm-drawer-acc > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--mm-line);
  color: var(--mm-text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.mm-drawer-acc > summary::-webkit-details-marker { display: none; }
.mm-drawer-acc > summary::after {
  content: '';
  margin-left: auto;
  width: 9px; height: 9px;
  border-right: 2px solid var(--mm-accent);
  border-bottom: 2px solid var(--mm-accent);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.mm-drawer-acc[open] > summary::after { transform: rotate(-135deg); }
.mm-drawer-group { padding: 6px 4px 18px; border-bottom: 1px solid var(--mm-line); }
.mm-drawer-group h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mm-text-3);
  margin: 16px 0 6px;
}
.mm-drawer-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mm-drawer-group a { display: block; padding: 10px 0; color: var(--mm-text-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.mm-drawer-group a:hover { color: var(--mm-accent); }
.mm-drawer-actions { display: grid; gap: 12px; margin-top: 24px; }

@media (max-width: 1100px) {
  .mm-nav, .mm-signin { display: none; }
  .mm-burger { display: inline-flex; }
  .mm-header-inner { gap: 10px; }
}
@media (min-width: 1101px) {
  .mm-drawer { display: none !important; }
}
@media (max-width: 700px) {
  .mm-header-actions .mm-btn { padding: 10px 13px; font-size: 14px; }
}
@media (max-width: 560px) {
  .mm-header-actions .mm-btn { display: none; }
}
@media (max-width: 380px) {
  .mm-brand { font-size: 16px; }
  .mm-brand-logo { width: 158px; max-height: 35px; }
  .mm-brand-mark { width: 31px; height: 31px; border-radius: 9px; }
  .mm-header-inner { gap: 8px; }
}

/* ------------------------------------------------------------ CTA band */
.mm-cta-band {
  position: relative;
  padding-block: clamp(20px, 3vw, 40px) clamp(64px, 7vw, 100px);
  background: var(--mm-bg);
}
.mm-cta-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 72px);
  border-radius: var(--mm-r-xl);
  background: #07120f;
  border: 1px solid rgba(109, 255, 198, .26);
  box-shadow: 0 40px 100px -40px rgba(52, 211, 153, .44), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff;
}
.mm-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 211, 111, .20), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(109, 255, 198, .28), transparent 60%),
    radial-gradient(40% 40% at 55% 50%, rgba(45, 212, 191, .14), transparent 70%);
}
.mm-cta-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .55) 1px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: .08;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent 75%);
}
.mm-cta-inner > * { position: relative; z-index: 1; }
.mm-cta-inner .mm-eyebrow { color: #ffd36f; }
.mm-cta-inner h2 { font-size: var(--mm-fs-h2); color: #fff; margin-top: 16px; }
.mm-cta-inner p { color: rgba(255, 255, 255, .74); font-size: var(--mm-fs-lead); line-height: 1.65; margin-top: 14px; max-width: 54ch; }
.mm-cta-actions { display: grid; gap: 12px; justify-items: start; }
.mm-cta-actions .mm-actions { width: 100%; }
.mm-cta-actions small { color: rgba(255, 255, 255, .6); font-size: var(--mm-fs-sm); }
.mm-cta-inner .mm-btn-outline { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
.mm-cta-inner .mm-btn-outline:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
@media (max-width: 900px) {
  .mm-cta-inner { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------- footer */
.mm-footer {
  position: relative;
  background:
    radial-gradient(70% 55% at 0% 0%, rgba(109, 255, 198, .10), transparent 62%),
    radial-gradient(55% 50% at 100% 0%, rgba(255, 211, 111, .08), transparent 58%),
    #030807;
  padding-block: clamp(42px, 5vw, 66px) 0;
  overflow: hidden;
}
.mm-footer::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--mm-grad-line);
  opacity: .8;
}
.mm-footer::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: -280px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(109, 255, 198, .10), transparent);
  pointer-events: none;
}
.mm-footer > .mm-wrap { position: relative; z-index: 1; }

.mm-footer-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(230px, .65fr) minmax(320px, .9fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  padding-bottom: clamp(30px, 4vw, 46px);
  border-bottom: 1px solid rgba(109, 255, 198, .14);
}
.mm-footer-top {
  margin-top: clamp(30px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 58px);
}
.mm-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.mm-footer-brand em { font-style: normal; color: var(--mm-accent-hi); }
.mm-footer-brand-logo {
  display: block;
  width: min(100%, 250px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
  filter:
    brightness(0)
    invert(1)
    drop-shadow(0 0 16px rgba(109, 255, 198, .10));
  opacity: .96;
}
.mm-footer-about {
  margin-top: 15px;
  color: rgba(245, 255, 249, .84);
  font-size: 15px;
  line-height: 1.72;
  max-width: 42ch;
}
.mm-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.mm-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(109, 255, 198, .28);
  border-radius: var(--mm-r-xs);
  background: rgba(3, 8, 7, .78);
  color: #f5fff9;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease, transform .16s ease;
}
.mm-footer-pill:hover {
  border-color: rgba(109, 255, 198, .58);
  background: rgba(109, 255, 198, .12);
  color: #ffffff;
  transform: translateY(-1px);
}
.mm-footer-pill svg {
  width: 16px;
  height: 16px;
  color: var(--mm-accent);
}
.mm-footer h3 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.mm-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mm-footer-links a {
  color: rgba(219, 226, 244, .84);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  transition: color .16s ease, transform .16s ease;
}
.mm-footer-links a:hover { color: var(--mm-accent); transform: translateX(2px); }
.mm .mm-footer-sub { margin-top: 26px; }

.mm-footer-contact {
  display: grid;
  gap: 10px;
}
.mm-footer-contact h3 { margin-bottom: 2px; }
.mm-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: rgba(219, 226, 244, .88);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}
.mm-footer-contact a:hover {
  color: var(--mm-accent);
  transform: translateX(2px);
}
.mm-footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--mm-accent);
}
.mm-footer-news {
  width: min(100%, 430px);
  justify-self: end;
}
.mm-footer-news h3 { margin-bottom: 8px; }
.mm-footer-news p { color: rgba(219, 226, 244, .78); font-size: 13.5px; line-height: 1.6; margin-bottom: 12px; }
.mm-news-field {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  border: 1px solid rgba(109, 255, 198, .30);
  background: rgba(3, 8, 7, .84);
}
.mm-news-field:focus-within { border-color: var(--mm-accent-line); box-shadow: var(--mm-ring); }
.mm-news-field input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 12px;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 14.5px;
}
.mm-news-field input::placeholder { color: var(--mm-text-3); }
.mm-news-field input:focus { outline: none; }
.mm-news-field button { flex: none; }
.mm-news-msg { font-size: 13.5px; margin-top: 9px; }
.mm-news-ok { color: var(--mm-ok); }
.mm-news-err { color: var(--mm-critical); }

.mm-footer-bottom {
  margin-top: clamp(32px, 4vw, 48px);
  padding-block: 24px;
  border-top: 1px solid rgba(109, 255, 198, .14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  font-size: 13.5px;
  color: var(--mm-text-3);
}
.mm-footer-legal { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.mm-footer-legal a { color: var(--mm-text-3); text-decoration: none; transition: color .16s ease; }
.mm-footer-legal a:hover { color: var(--mm-accent); }

@media (max-width: 1180px) {
  .mm-footer-head { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); }
  .mm-footer-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
  .mm-footer-contact h3 { width: 100%; }
  .mm-footer-news { justify-self: stretch; }
  .mm-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .mm-footer-head { grid-template-columns: minmax(0, 1fr); }
  .mm-footer-contact { display: grid; }
}
@media (max-width: 560px) {
  .mm-footer-top { grid-template-columns: minmax(0, 1fr); }
  .mm-footer-actions,
  .mm-news-field { display: grid; grid-template-columns: minmax(0, 1fr); }
  .mm-footer-pill,
  .mm-news-field .mm-btn { justify-content: center; width: 100%; }
  .mm-footer-legal { margin-left: 0; }
}


/* ------------------------------------------------------ motion refresh */
/* CTA band: the glow drifts slowly so the card never looks flat. */
.mm-cta-inner::before {
  inset: -12%;
  animation: mm-glow-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes mm-glow-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  to   { transform: translate3d(-4%, 5%, 0) rotate(3deg) scale(1.06); }
}

/* Brand mark tilts on hover. */
.mm-brand-mark { transition: transform .25s cubic-bezier(.22, .61, .36, 1), box-shadow .25s ease; }
.mm-brand:hover .mm-brand-mark { transform: rotate(-6deg) scale(1.06); }

/* Mega menu links and footer links nudge on hover. */
.mm-mega-group a { transition: background-color .16s ease, color .16s ease, transform .16s ease; }
.mm-mega-group a:hover { transform: translateX(2px); }


/* --------------------------------------------------------- quote section */
/* Replaces the call-to-action band: copy on the left, a working quote form on the right. */
.mm-quote-band {
  position: relative;
  padding-block: clamp(20px, 3vw, 40px) clamp(64px, 7vw, 100px);
  background: var(--mm-bg);
}
.mm-quote {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  border-radius: var(--mm-r-xl);
  overflow: hidden;
  background: var(--mm-surface);
  border: 1px solid var(--mm-line);
  box-shadow: var(--mm-shadow-3), var(--mm-hairline);
}
.mm-quote-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4.5vw, 60px);
  background: #07120f;
  color: #fff;
}
.mm-quote-copy::before {
  content: '';
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 211, 111, .20), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(109, 255, 198, .30), transparent 60%),
    radial-gradient(40% 40% at 55% 50%, rgba(45, 212, 191, .14), transparent 70%);
  animation: mm-glow-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
.mm-quote-copy > * { position: relative; z-index: 1; }
.mm-quote-copy .mm-eyebrow { color: #ffd36f; }
.mm-quote-copy h2 { font-size: clamp(27px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff; margin-top: 14px; }
.mm-quote-copy > p { color: rgba(255, 255, 255, .74); font-size: 16px; line-height: 1.65; margin-top: 14px; max-width: 46ch; }
.mm-quote-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.mm-quote-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.mm-quote-points svg { width: 21px; height: 21px; color: var(--mm-ok); margin-top: 1px; }
.mm-quote-alt { margin-top: auto; padding-top: 28px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.mm-quote-copy .mm-quote-alt { margin-top: auto; }
.mm-quote-alt a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .16s ease; }
.mm-quote-alt a:hover { border-color: #fff; }

.mm-quote-form { padding: clamp(26px, 3.6vw, 48px); }
.mm-quote-form .mm-form { gap: 16px; }
.mm-quote-form .mm-form-row { gap: 16px; }
.mm-quote-form textarea { min-height: 112px; }
.mm-quote-form .mm-form-foot { padding-top: 6px; }
.mm-quote-form .mm-form-foot .mm-btn { flex: none; }
.mm-quote-status {
  padding: 12px 14px;
  border-radius: var(--mm-r-sm);
  background: var(--mm-critical-bg);
  border: 1px solid var(--mm-critical);
  color: var(--mm-critical);
  font-size: 14px;
  line-height: 1.5;
}
.mm-quote-status[hidden], .mm-quote-done[hidden], .mm-quote-form form[hidden] { display: none; }
.mm-field-error { font-size: 13px; color: var(--mm-critical); line-height: 1.4; }
.mm-check .mm-field-error { grid-column: 2; }

.mm-quote-done {
  display: grid;
  gap: 14px;
  justify-items: start;
  align-content: center;
  min-height: 100%;
  padding: clamp(8px, 2vw, 24px) 0;
  outline: none;
}
.mm-quote-done h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.025em; }
.mm-quote-done p { color: var(--mm-text-2); font-size: 15.5px; line-height: 1.65; max-width: 48ch; }

@media (max-width: 900px) {
  .mm-quote { grid-template-columns: minmax(0, 1fr); }
  .mm-quote-copy { padding-bottom: 30px; }
  .mm-quote-alt { padding-top: 22px; }
}
@media (max-width: 560px) {
  .mm-quote { border-radius: 22px; }
  .mm-quote-form .mm-form-foot .mm-btn { width: 100%; }
}
