:root {
  --mbsk-primary: #143c3a;
  --mbsk-primary-2: #0f2f2d;
  --mbsk-accent: #b88431;
  --mbsk-bg: #fffdf8;
  --mbsk-soft: #f7f3ea;
  --mbsk-line: #e6ded0;
  --mbsk-text: #14211f;
  --mbsk-muted: #5f6b68;
}
.mbsk-shell {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}
.mbsk-skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: .75rem;
  z-index: 100000;
  transform: translateY(-140%);
  padding: .6rem .9rem;
  border-radius: 999px;
  color: #fff;
  background: var(--mbsk-primary);
  text-decoration: none;
  font-weight: 800;
}
.mbsk-skip-link:focus { transform: translateY(0); }
.mbsk-global-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid var(--mbsk-line);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(20, 33, 31, .06);
}
.admin-bar .mbsk-global-header { top: 32px; }
.mbsk-header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.35rem);
}
.mbsk-brand,
.mbsk-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--mbsk-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.mbsk-brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--mbsk-primary), #1f635d);
  box-shadow: 0 10px 20px rgba(20, 60, 58, .16);
  font-weight: 900;
}
.mbsk-brand-copy,
.mbsk-footer-logo span:last-child {
  display: grid;
  gap: .08rem;
}
.mbsk-brand-copy strong,
.mbsk-footer-logo strong {
  font-size: 1.1rem;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.mbsk-brand-copy small,
.mbsk-footer-logo small {
  color: var(--mbsk-muted);
  font-size: .82rem;
}
.mbsk-global-nav {
  min-width: 0;
}
.mbsk-global-nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.4rem, 1.15vw, 0.95rem);
  padding: 0;
  margin: 0;
  list-style: none;
}
.mbsk-global-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.55rem clamp(0.7rem, 1.15vw, 1.05rem);
  border-radius: 999px;
  color: var(--mbsk-text);
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(0.86rem, 0.95vw + 0.55rem, 0.98rem);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.mbsk-global-nav a:hover,
.mbsk-global-nav a:focus-visible {
  color: var(--mbsk-primary);
  background: var(--mbsk-soft);
}
.mbsk-header-cta,
.mbsk-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .68rem 1rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}
.mbsk-header-cta {
  color: #fff;
  background: var(--mbsk-primary);
  box-shadow: 0 12px 24px rgba(20, 60, 58, .16);
}
.mbsk-menu-toggle {
  display: none;
  color: var(--mbsk-primary);
  background: #fff;
  border: 1px solid var(--mbsk-line);
  cursor: pointer;
}
.mbsk-global-footer {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem) 0 1.25rem;
  color: #d9e2df;
  background: radial-gradient(circle at 100% 0%, rgba(184,132,49,.18), transparent 280px), linear-gradient(180deg, #143c3a, #0f2f2d);
}
.mbsk-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
}
.mbsk-footer-brand p {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: #c8d2cf;
  line-height: 1.7;
}
.mbsk-footer-logo,
.mbsk-footer-logo small {
  color: #fff;
}
.mbsk-footer-links h2 {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: 1rem;
}
.mbsk-footer-links ul {
  display: grid;
  gap: .45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.mbsk-footer-links a,
.mbsk-footer-bottom a {
  color: #d9e2df;
  text-decoration: none;
}
.mbsk-footer-links a:hover,
.mbsk-footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}
.mbsk-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #c8d2cf;
}
.mbsk-privacy-consent {
  position: fixed;
  z-index: 99999;
  inset-inline: 1rem;
  bottom: 1rem;
}
.mbsk-privacy-consent[hidden] { display: none !important; }
.mbsk-privacy-consent__inner {
  width: min(960px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--mbsk-line);
  border-radius: 22px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 18px 50px rgba(20, 33, 31, .18);
}
.mbsk-privacy-consent__text strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--mbsk-primary);
}
.mbsk-privacy-consent__text p {
  margin: 0;
  color: #465266;
  line-height: 1.55;
  font-size: .94rem;
}
.mbsk-privacy-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
}
.mbsk-privacy-consent__accept,
.mbsk-privacy-consent__policy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .7rem 1rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.mbsk-privacy-consent__accept {
  color: #fff;
  background: var(--mbsk-primary);
  border: 1px solid var(--mbsk-primary);
}
.mbsk-privacy-consent__policy {
  color: var(--mbsk-primary);
  background: #fff;
  border: 1px solid var(--mbsk-line);
}
@media (max-width: 1180px) and (min-width: 981px) {
  .mbsk-global-nav ul {
    gap: clamp(0.3rem, 0.8vw, 0.65rem);
  }
  .mbsk-global-nav a {
    padding: 0.5rem clamp(0.55rem, 0.9vw, 0.8rem);
    font-size: 0.9rem;
  }
  .mbsk-header-cta {
    padding: 0.62rem 0.85rem;
    min-height: 40px;
    font-size: 0.92rem;
  }
}
@media (max-width: 980px) {
  .mbsk-header-inner {
    grid-template-columns: auto auto 1fr;
  }
  .mbsk-menu-toggle { display: inline-flex; order: 2; }
  .mbsk-header-cta {
    display: none;
    justify-self: stretch;
    order: 4;
  }
  .mbsk-header-inner:has(.mbsk-global-nav.is-open) .mbsk-header-cta {
    display: inline-flex;
  }
  .mbsk-global-nav {
    grid-column: 1 / -1;
    display: none;
    padding-bottom: 1rem;
    order: 3;
  }
  .mbsk-global-nav.is-open { display: block; }
  .mbsk-global-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .mbsk-global-nav a {
    justify-content: center;
    background: #fff;
    border: 1px solid var(--mbsk-line);
  }
  .mbsk-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mbsk-footer-brand { grid-column: 1 / -1; }
  .mbsk-privacy-consent__inner { grid-template-columns: 1fr; }
  .mbsk-privacy-consent__actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .admin-bar .mbsk-global-header { top: 0; }
  .mbsk-header-inner { grid-template-columns: 1fr auto; min-height: 64px; }
  .mbsk-brand-copy small { display: none; }
  .mbsk-header-cta { grid-column: 1 / -1; width: 100%; }
  .mbsk-global-nav ul,
  .mbsk-footer-grid { grid-template-columns: 1fr; }
  .mbsk-privacy-consent { inset-inline: .55rem; bottom: .55rem; }
  .mbsk-privacy-consent__actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
}

/* =========================================================
   Mobile-only: aura on calculator CTA at bottom of mobile menu.
   Live site uses Elementor header (.mb-mobile-cta / details.mb-mobile-menu).
   Site-kit fallback uses .mbsk-header-cta when its header is rendered.
   ========================================================= */
@property --mbsk-mobile-aura-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@media (max-width: 1020px) {
  .mb-mobile-panel {
    overflow: visible;
  }

  /* Elementor live header CTA */
  a.mb-mobile-cta {
    --mb-aura-text: #153f38;
    --mb-aura-bg: #ffffff;
    --mbsk-mobile-aura-angle: 0deg;
    position: relative;
    isolation: isolate;
    z-index: 0;
    overflow: visible;
    width: 100%;
    min-height: 46px;
    padding: 12px 22px;
    border: 0 !important;
    border-radius: 999px;
    background: transparent !important;
    color: var(--mb-aura-text) !important;
    font-weight: 900;
    box-shadow: none !important;
    transform: translateZ(0);
  }

  a.mb-mobile-cta::before {
    content: "";
    position: absolute;
    inset: -6px;
    z-index: -2;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(
      from var(--mbsk-mobile-aura-angle),
      #4285f4 0deg,
      #9b72cb 70deg,
      #d96570 140deg,
      #f2a60c 200deg,
      #34a853 270deg,
      #2f8f7a 320deg,
      #4285f4 360deg
    );
    filter: blur(6px);
    opacity: 0.62;
    animation: mbsk-mobile-aura-spin 6.05s linear infinite;
    will-change: --mbsk-mobile-aura-angle;
    transform: none !important;
  }

  a.mb-mobile-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: var(--mb-aura-bg);
    border: 1px solid rgba(21, 63, 56, 0.12);
    box-shadow: 0 8px 22px rgba(15, 47, 42, 0.10);
    transform: none !important;
    animation: none !important;
    filter: none !important;
  }

  a.mb-mobile-cta:hover,
  a.mb-mobile-cta:focus-visible {
    color: var(--mb-aura-text) !important;
    background: transparent !important;
    filter: none;
  }

  a.mb-mobile-cta:focus-visible {
    outline: 3px solid rgba(66, 133, 244, 0.22);
    outline-offset: 5px;
  }
}

@media (max-width: 980px) {
  .mbsk-header-inner {
    overflow: visible;
  }
  .mbsk-global-nav.is-open {
    overflow: visible;
  }

  .mbsk-header-cta {
    --mb-aura-text: #153f38;
    --mb-aura-bg: #ffffff;
    --mbsk-mobile-aura-angle: 0deg;
    position: relative;
    isolation: isolate;
    z-index: 0;
    overflow: visible;
    order: 4;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
    padding: 12px 22px;
    margin-top: 0.35rem;
    border: 0 !important;
    border-radius: 999px;
    background: transparent !important;
    color: var(--mb-aura-text) !important;
    font-weight: 800;
    box-shadow: none;
    transform: translateZ(0);
  }

  .mbsk-header-cta::before {
    content: "";
    position: absolute;
    inset: -6px;
    z-index: -2;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(
      from var(--mbsk-mobile-aura-angle),
      #4285f4 0deg,
      #9b72cb 70deg,
      #d96570 140deg,
      #f2a60c 200deg,
      #34a853 270deg,
      #2f8f7a 320deg,
      #4285f4 360deg
    );
    filter: blur(6px);
    opacity: 0.62;
    animation: mbsk-mobile-aura-spin 6.05s linear infinite;
    will-change: --mbsk-mobile-aura-angle;
    transform: none !important;
  }

  .mbsk-header-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: var(--mb-aura-bg);
    border: 1px solid rgba(21, 63, 56, 0.12);
    box-shadow: 0 8px 22px rgba(15, 47, 42, 0.10);
    transform: none !important;
    animation: none !important;
    filter: none !important;
  }

  .mbsk-header-cta:hover,
  .mbsk-header-cta:focus-visible {
    color: var(--mb-aura-text) !important;
    background: transparent !important;
    filter: none;
  }

  .mbsk-header-cta:focus-visible {
    outline: 3px solid rgba(66, 133, 244, 0.22);
    outline-offset: 5px;
  }
}

@keyframes mbsk-mobile-aura-spin {
  to {
    --mbsk-mobile-aura-angle: 360deg;
  }
}

@media (max-width: 1020px) and (prefers-reduced-motion: reduce) {
  a.mb-mobile-cta::before,
  .mbsk-header-cta::before {
    animation: none;
  }
}

