/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *




 */

#submit-loading {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  background: rgba(0, 0, 0, .4);
  margin: 0;
  padding: 0;
  z-index: 9999;    
}

#submit-loading div {
  opacity: 25%;
}

p:empty {
  height: 0!important;
  padding: 0!important;
  margin: 0!important;
  width: 0!important;
}
/*
 * Cookie Consent Module — ws_consent.css
 * =======================================
 * All classes prefixed .ws-consent-* to avoid colliding with client themes.
 *
 * Two overridable CSS custom properties per site:
 *   --ws-consent-banner-bg           (banner background color)
 *   --ws-consent-banner-color        (banner text color)
 *   --ws-consent-banner-link-color   (banner link color)
 *   --ws-consent-header-bg           (modal header background)
 *   --ws-consent-header-color        (modal header text color)
 *   --ws-consent-header-link-color   (modal header link color)
 *   --ws-consent-header-border-color (modal header border color)
 *   --ws-consent-body-bg             (modal body background color)
 *   --ws-consent-body-color          (modal body text color)
 *   --ws-consent-body-link-color     (modal body link color)
 *   --ws-consent-accent              (buttons, toggle on-state, focus rings)
 *
 * Override in your site stylesheet:
 *   :root {
 *     --ws-consent-accent: #e63946;
 *     --ws-consent-bg: #fdf6ec;
 *     etc...
 *   }
 *
 * Responsive layout:
 *   Desktop (>640px) — banner is a bottom-bar spanning full viewport width
 *   Mobile  (≤640px) — banner is a bottom-sheet card with rounded top corners
 */

/* ── Default Theme Variables ──────────────────────────────────────── */
:root {
  --ws-consent-accent: #2563eb;
  --ws-consent-preference-button-nudge-amount: 1rem;

  --ws-consent-banner-bg: #fff;
  --ws-consent-banner-color: #000;
  --ws-consent-banner-link-color: #2563eb;
  --ws-consent-header-bg: #fff;
  --ws-consent-header-color: #000;
  --ws-consent-header-link-color: #6b7280;
  --ws-consent-header-border-color: var(--ws-consent-accent);
  --ws-consent-body-bg: #fff;
  --ws-consent-body-color: #000;
  --ws-consent-body-link-color: #2563eb;
  --ws-consent-preference-button-bg: #2563eb;
  --ws-consent-preference-button-color: #fff;
}

/* ── Reset / scoping ──────────────────────────────────────────────── */
.ws-consent-banner,
.ws-consent-modal,
.ws-consent-banner *,
.ws-consent-modal * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.ws-consent-banner,
.ws-consent-modal {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1a1a2e;
}

/* Shield child elements from bare site selectors (e.g. `p { font-size: 16px }`).
   :where() zeroes the element specificity so our own .ws-consent-* rules still win. */
.ws-consent-banner :where(p, a, h1, h2, h3, h4, span, li, ul, ol),
.ws-consent-modal :where(p, a, h1, h2, h3, h4, span, li, ul, ol) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  font-weight: normal;
  text-decoration: none;
}

/* ── Screenreader-only ────────────────────────────────────────────── */
.ws-consent-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* BANNER — first-visit bottom bar / bottom sheet                     */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--ws-consent-banner-bg, #fff);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
}
.ws-consent-banner[hidden] {
  display: none !important;
}

/* Desktop: full-width bottom bar, horizontal layout */
.ws-consent-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.ws-consent-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}
.ws-consent-banner__desc {
  color: var(--ws-consent-banner-color, #3a3a4e);
}
.ws-consent-banner__desc a {
  color: var(--ws-consent-banner-link-color, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ws-consent-banner__desc a:hover {
  opacity: 0.8;
}
.ws-consent-banner__desc a:focus-visible {
  outline: 2px solid var(--ws-consent-accent);
  outline-offset: 2px;
}
.ws-consent-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mobile: bottom-sheet style */
@media (max-width: 640px) {
  .ws-consent-banner {
    border-radius: 14px 14px 0 0;
  }
  .ws-consent-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }
  .ws-consent-banner__actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* OVERLAY                                                            */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.45);
}
.ws-consent-overlay[hidden] {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* MODAL — category toggles                                           */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ws-consent-modal[hidden] {
  display: none !important;
}
.ws-consent-modal__inner {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--ws-consent-body-bg);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  /* padding: 1.5rem; */
}

.ws-consent-modal__content {
  padding: 1.5rem;
  padding-top: 1rem;
}

/* Header */
.ws-consent-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--ws-consent-header-border-color, #2563eb);
  background-color: var(--ws-consent-header-bg, #fff);
}
.ws-consent-modal__title {
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ws-consent-header-color, #1a1a2e);
}
.ws-consent-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--ws-consent-header-link-color, #6b7280);
  cursor: pointer;
  transition: background 0.15s;
}
.ws-consent-modal__close:hover {
  background: #f0f0f5;
  color: #1a1a2e;
}
.ws-consent-modal__close:focus-visible {
  outline: 2px solid var(--ws-consent-accent);
  outline-offset: 2px;
}

/* Description */
.ws-consent-modal__desc {
  font-family: inherit;
  color: var(--ws-consent-body-color, #3a3a4e);
  margin-bottom: 1rem;
}
.ws-consent-modal__desc a {
  color: var(--ws-consent-body-link-color, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ws-consent-modal__desc a:hover {
  opacity: 0.8;
}
.ws-consent-modal__desc a:focus-visible {
  outline: 2px solid var(--ws-consent-body-link-color, #2563eb);
  outline-offset: 2px;
}

/* Modal actions */
.ws-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* Mobile modal: bottom-sheet */
@media (max-width: 640px) {
  .ws-consent-modal {
    align-items: flex-end;
    padding: 0;
  }
  .ws-consent-modal__inner {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 14px 14px 0 0;
    padding: 1.25rem 1rem;
  }
  .ws-consent-modal__actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* CATEGORIES + TOGGLES                                               */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-categories {
  border: none;
}
.ws-consent-category {
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem 0;
}
.ws-consent-category:last-child {
  border-bottom: 1px solid #e5e7eb;
}
.ws-consent-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ws-consent-category__name {
  font-weight: 600;
  color: #1a1a2e;
}
.ws-consent-category__desc {
  margin-top: 0.3rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.45;
}
.ws-consent-category__badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Toggle switch */
.ws-consent-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.ws-consent-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ws-consent-toggle__track {
  display: inline-flex;
  align-items: center;
  width: 38px;
  height: 22px;
  background: #cbd5e1;
  border-radius: 11px;
  padding: 2px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.ws-consent-toggle__thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
/* Checked */
.ws-consent-toggle input:checked + .ws-consent-toggle__track {
  background: var(--ws-consent-accent, #2563eb);
}
.ws-consent-toggle input:checked + .ws-consent-toggle__track .ws-consent-toggle__thumb {
  transform: translateX(16px);
}
/* Disabled (necessary) */
.ws-consent-toggle input:disabled + .ws-consent-toggle__track {
  background: #94a3b8;
  cursor: not-allowed;
}
/* Focus ring (T-4) */
.ws-consent-toggle input:focus-visible + .ws-consent-toggle__track {
  outline: 2px solid var(--ws-consent-accent, #2563eb);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* BUTTONS                                                            */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-btn {
  flex: 1 1 0;
  min-width: 150px;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
}
.ws-consent-btn:active {
  transform: scale(0.97);
}
.ws-consent-btn:focus-visible {
  outline: 2px solid var(--ws-consent-accent, #2563eb);
  outline-offset: 2px;
}

/* QC-3: Reject all & Accept all — identical visual weight */
.ws-consent-btn--primary {
  background: #1a1a2e;
  color: #ffffff;
}
.ws-consent-btn--primary:hover {
  background: #2a2a40;
}

/* Customize / secondary */
.ws-consent-btn--secondary {
  background: #f0f0f5;
  color: #1a1a2e;
  border: 1px solid #d0d0da;
}
.ws-consent-btn--secondary:hover {
  background: #e4e4ec;
}

/* Save my choices — accent-coloured */
.ws-consent-btn--accent {
  background: var(--ws-consent-accent, #2563eb);
  color: #ffffff;
}
.ws-consent-btn--accent:hover {
  filter: brightness(0.9);
}

/* ═══════════════════════════════════════════════════════════════════ */
/* PRIVACY POLICY MODAL                                                */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-privacy__inner {
  max-width: 720px;
}
.ws-consent-privacy__body {
  font-family: inherit;
  color: #3a3a4e;
  line-height: 1.65;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.ws-consent-privacy__body h1,
.ws-consent-privacy__body h2,
.ws-consent-privacy__body h3,
.ws-consent-privacy__body h4 {
  font-family: inherit;
  color: #1a1a2e;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.ws-consent-privacy__body h1 { font-size: 1.5rem; }
.ws-consent-privacy__body h2 { font-size: 1.1rem; }
.ws-consent-privacy__body h3 { font-size: 1rem; }
.ws-consent-privacy__body h4 { font-size: 0.9375rem; }
.ws-consent-privacy__body p {
  margin-bottom: 0.75rem;
}
.ws-consent-privacy__body address {
  margin-bottom: 1rem;
}
.ws-consent-privacy__body ul,
.ws-consent-privacy__body ol {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}
.ws-consent-privacy__body li {
  margin-bottom: 0.25rem;
}
.ws-consent-privacy__body address p {
  margin-bottom: 0;
}
.ws-consent-privacy__body a {
  color: var(--ws-consent-body-link-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ws-consent-privacy__body a:hover {
  opacity: 0.8;
}
@media (max-width: 640px) {
  .ws-consent-privacy__inner {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* BLOCKED ELEMENT PARTIAL                                             */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-form-blocked button {
  color: var(--ws-consent-preference-button-color, #FFF);
  background-color: var(--ws-consent-preference-button-bg, #2563eb);
}

.ws-consent-form-blocked a {
  color: var(--ws-consent-body-link-color);
  display: inline-block;
  padding: 5px;
}


/* ═══════════════════════════════════════════════════════════════════ */
/* FOOTER LINK (QC-4 persistent re-access)                             */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-footer-link {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--ws-consent-preference-button-bg, #2563eb);
  color: var(--ws-consent-preference-button-color, #fff);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: opacity 0.15s, box-shadow 0.15s, bottom 0.15s;
}
.ws-consent-footer-link:hover {
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.ws-consent-footer-link:focus-visible {
  outline: 2px solid var(--ws-consent-accent, #2563eb);
  outline-offset: 2px;
  color: #fff;
}
.ws-consent-footer-link--nudge {
  bottom: var(--ws-consent-preference-button-nudge-amount, 1rem);
}
.ws-consent-footer-link__icon {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* REDUCED MOTION                                                     */
/* ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ws-consent-toggle__track,
  .ws-consent-toggle__thumb,
  .ws-consent-btn,
  .ws-consent-modal__close,
  .ws-consent-footer-link {
    transition: none;
  }
}
/* ------------------- */
/*        SETUP        */
/* ------------------- */
:root {
    --primary: #C9282D;
    --primary-dark: #A91F24;
    --primary-light:#FCF4F4;
    --dark: #191919;
    --dark-grey: #3F3F3F;
    --txt-color: #212121;
    --light-grey: #F2F0ED;
    --border: #DCD9D4;
    --cream: #FCFBF9;
    --mid-grey: #6B6B6B;

    --heading-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --body-font: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--body-font);
    color: var(--txt-color);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}
.main { flex: 1; }
body a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 0;
    color: var(--dark);
}
img { max-width: 100%; height: auto; display: block; }
::selection {
    background-color: var(--dark-grey);
    color: #ffffff;
}

/* --------------- */
/* UTILITY CLASSES */
/* --------------- */
.mw-280 { max-width: 280px; }
.mw-480 { max-width: 480px; }
.mw-576 { max-width: 576px; }
.mw-768 { max-width: 768px; }
.mw-991 { width: 100%; max-width: 991px; }
.mw-md-280 { width: 100%; }
.mw-lg-576 { width: 100%; }
.mw-lg-768 { width: 100%; }
.br-16 { border-radius: 16px; overflow: hidden; }
.row-gap-64 { row-gap: 64px; }
.bg-light-grey { background-color: var(--light-grey); }
.bg-cream { background-color: var(--cream); }
.bg-ma-primary { background-color: var(--primary); }
.bg-ma-dark { background-color: var(--dark); }
.fc-white { color: #ffffff!important; }
.fc-primary { color: var(--primary); }

/* -------------- */
/* SECTION LAYOUT */
/* -------------- */
.section-p {
    padding-top: 64px;
    padding-bottom: 64px;
}
.single-p { padding-bottom: 64px; }
.section-divider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.section-divider div {
    height: 1px;
    width: 100%;
    max-width: 1300px;
    padding: 0 32px;
    background-color: var(--border);
}

/* ----------------------------- */
/*      IMAGE CONTAINERS         */
/* ----------------------------- */
.large-img-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}
.large-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ----------------------------- */
/*       TYPOGRAPHY              */
/* ----------------------------- */
.section-title h2 {
    color: var(--dark);
    font-size: clamp(30px, 4.5vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    & .accent { color: var(--primary); }
}
.section-title h3 {
    color: var(--dark);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    & .accent { color: var(--primary); }
}
.section-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    flex-shrink: 0;
}
.eyebrow-inverse { color: var(--primary); }

.section-title p,
.section-content p {
    color: var(--txt-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}
.section-title p a,
.section-content p a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline 2px transparent;
    transition: text-decoration-color 0.2s ease;
}
.section-title p a:hover,
.section-content p a:hover {
    text-decoration-color: var(--primary);
}


/* ----------------------------- */
/*          BUTTONS              */
/* ----------------------------- */
.btn {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    align-items: center;
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn.btn-ma-primary {
    background-color: var(--primary);
    border-color: var(--light-grey);
    color: #ffffff;
    &:is(:hover, :active, :focus-visible){
        background-color: var(--dark);
        border-color: var(--light-grey);
        color: #ffffff;
    }
}
.btn.btn-ma-dark {
    background-color: var(--dark);
    border-color: var(--light-grey);
    color: #ffffff;
    &:is(:hover, :active, :focus-visible){
        background-color: var(--primary);
        border-color: var(--light-grey);
        color: #ffffff;
    }
}
.btn.btn-ma-secondary {
    background-color: var(--light-grey);
    border-color: var(--primary);
    color: var(--dark);
    &:is(:hover, :active, :focus-visible){
        background-color: var(--dark);
        border-color: var(--light-grey);
        color: #ffffff;
    }
}
.btn.btn-ma-outline-light {
    background-color: transparent;
    border-color: rgba(255,255,255,0.55);
    color: #ffffff;
    text-transform: uppercase;
    &:is(:hover, :active, :focus-visible){
        background-color: var(--dark);
        border-color: var(--light-grey);
        color: #ffffff;
    }
}
.btn.btn-ma-light {
    background-color: #ffffff;
    border-color: var(--light-grey);
    color: var(--primary);
    text-transform: uppercase;
    &:is(:hover, :active, :focus-visible){
        background-color: var(--dark);
        border-color: var(--light-grey);
        color: #ffffff;
    }
}
.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    padding-bottom: 4px;
    border-bottom: 2px solid var(--primary);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.16s ease;
}
.btn-text-link:hover { color: var(--primary-dark); }
.btn-text-link.inverse { color: #fff; border-bottom-color: var(--primary); }

/* ------ */
/* NAVBAR */
/* ------ */
.ma-utility-bar {
    background: #000000;
    border-bottom: 1px solid #1f1f1f;
    height: 36px;
}
.ma-utility-bar-inner {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}
.ma-utility-bar-inner a {
    color: rgba(255,255,255,0.7);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}
.ma-utility-bar-inner a:hover { color: #fff; text-decoration: none; }
.ma-utility-bar-inner .sep {
    opacity: 0.25;
    user-select: none;
}
.ma-utility-bar-inner .spacer { flex: 1; }
.ma-lang-btn {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    cursor: pointer;
    padding: 0 2px;
}
.ma-lang-btn.muted { color: rgba(255,255,255,0.45); font-weight: 400; }

.ma-header {
    transition: box-shadow 0.3s ease;
    z-index: 1030;
    width: 100%;
}
.ma-header.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

/* Main nav */
.ws-nav {
    background-color: #191919;
}
.ws-nav .navbar {
    --bs-navbar-padding-y: 0;
    min-height: 72px;
}

/* Logo */
.navbar-brand { padding: 0; }
.ma-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    min-width: 125px;
}
.ma-logo-wrap img {
    position: absolute;
    max-width: unset;
    width: 125px;
    height: auto;
    top: 50%;
    transform: translateY(-30px);
}
.ma-logo-divider {
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
}
.ma-header .ma-logo-divider{
    margin-left: 139px;
}
.ma-logo-city {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
}
.ma-logo-since {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Nav links */
.ws-nav .nav-item .nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    font-weight: 600;
    padding: 10px 14px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ws-nav .nav-item .nav-link:is(:hover, .active) {
    color: #fff;
    border-bottom-color: var(--primary);
}
.ws-nav .nav-item.dropdown .nav-link::after {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4.5px solid currentColor;
    content: '';
    margin-left: 2px;
    vertical-align: middle;
}
/* Hide default Bootstrap caret */
.ws-nav .dropdown-toggle::after { border: none; }

/* Hamburger — explicitly centered within the navbar flex row */
.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    background-color: transparent;
    align-self: center;   /* ensure vertical centering in the flex navbar */
    flex-shrink: 0;
}
.navbar-toggler:is(:hover, :focus) {
    background-color: rgba(255,255,255,0.1);
    box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: auto;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.ws-nav .dropdown-menu.ma-services-dropdown {
    border-radius: 0;
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.10);
    padding: 16px;
    width: 620px;
    min-width: 620px;
    margin-top: 0;
    left: auto;
    right: 0;
}
/* 2-column grid with fixed column sizes so text never wraps */
.ma-services-flyout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.ma-flyout-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 6px;
    transition: background-color 0.12s ease;
    text-decoration: none;
    color: inherit;
    align-items: center;    /* vertically center icon with text block */
}
.ma-flyout-item:hover { background-color: var(--light-grey); }
.ma-flyout-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.ma-flyout-text {
    min-width: 0;
}
.ma-flyout-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}
.ma-flyout-item-desc {
    font-size: 14px;
    color: var(--mid-grey);
    margin-top: 2px;
    line-height: 1.3;
}

/* Mobile offcanvas */
.offcanvas { background-color: #191919; }
.offcanvas-header { border-bottom: 1px solid rgba(255,255,255,0.1); }
.offcanvas .btn-close {
    filter: invert(1);
    opacity: 0.7;
}
.offcanvas .navbar-nav { padding: 16px 0; }
.offcanvas .nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.offcanvas .navbar-nav .dropdown-menu {
    background-color: #ffffff;
    border: none;
    border-left: 3px solid var(--primary);
    border-radius: 0;
    width: 100%;
    min-width: unset;
    box-shadow: none;
    padding: 8px;
    margin-top: 4px;
    position: static;
    transform: none;
}
.offcanvas .dropdown-menu .ma-services-flyout {
    grid-template-columns: 1fr;
}
.offcanvas .dropdown-menu .ma-flyout-item:hover {
    background: var(--light-grey);
}

/* Lang toggle */
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; }
.btn.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    height: 30px;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.btn.lang-btn:hover { background: rgba(255,255,255,0.15); border-color: #fff; }


/* ----------------------------- */
/*      ACCESSIBILITY            */
/* ----------------------------- */
.skip-to-main-content {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 1em;
    background-color: var(--dark);
    color: #fff;
    opacity: 0;
}
.skip-to-main-content:focus {
    left: 50%;
    top: 1%;
    transform: translateX(-50%);
    opacity: 1;
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ------ */
/* FOOTER */
/* ------ */
footer {
    background-color: #000000;
    padding: 72px 0 32px;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-logo-wrap img {
    height: 100px;
    width: auto;
}
.footer-logo-city {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
}
.footer-logo-since {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.footer-description {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    line-height: 1.6;
    max-width: 320px;
}
.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 16px;
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    row-gap: 9px;
}
.footer-menu a {
    color: rgba(255,255,255,0.65);
    font-size: 16px;
    transition: color 0.15s ease;
    text-decoration: none;
}
.footer-menu a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.75);
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
    & a {
        transition: color 0.2s ease;
        &:hover {
            color: #ffffff;
        }
    }
}
.footer-bottom ul{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    gap: 16px;
    & a:hover{
        & .footer-social-icon{
            background-color: var(--primary);
        }
    }
}

/* ── Footer social icons ── */
/* Styled as icon-box + label — same visual language as industry / contact icons */
.footer-contact{
    & ul{
        display: flex;
        flex-direction: column;
        gap: 10px;
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }
}
.footer-contact li,
.footer-contact li a{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 20px;
    transition: color 0.15s ease;
}
.footer-social-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 2px solid var(--dark-grey);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
    transition: background-color 0.2s ease;
    overflow: hidden;
}
.footer-contact li a:hover {
    color: #fff;
    & .footer-social-icon{
        background-color: var(--primary);
    }
}

/* ----------------------------- */
/*          HERO                 */
/* ----------------------------- */
.ma-hero {
    position: relative;
    overflow: hidden;
    background-image: url(/../images/hero-office.jpg);
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--primary);
    border-left: 4px solid var(--primary);
    border-right: 4px solid var(--primary);
}
.ma-hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      100deg,
      rgba(14,14,14,0.96) 0%,
      rgba(14,14,14,0.80) 45%,
      rgba(14,14,14,0.38) 100%
    );
}

.ma-hero-inner {
    padding-top: 88px;
    padding-bottom: 48px;  /* small-screen base */
}
.ma-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 10px;
    background: rgba(201,40,45,0.12);
    border: 1px solid rgba(201,40,45,0.45);
    border-radius: 4px;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #F5B3B5;
    text-transform: uppercase;
}
.ma-hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(201,40,45,0.28);
    display: inline-block;
    flex-shrink: 0;
}
.ma-hero h1 {
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 800;
    line-height: 1.02;
    color: #fff;
    margin: 0;
}
.ma-hero-red { color: var(--primary); }
.ma-hero-muted { color: rgba(255,255,255,0.55); font-weight: 700; }
.ma-hero-lead {
    font-size: 18px;
    line-height: 28px;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin: 18px 0 24px;
}


/* Credential card */
.ma-cred-card {
    display: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-left: 3px solid var(--primary);
    padding: 28px 28px 24px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    height: 100%;
}
.ma-cred-title {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-top: 10px;
    line-height: 1.15;
    letter-spacing: -0.015em;
}
.ma-cred-body {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 14px 0 0;
}
.ma-cred-stats {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.ma-cred-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ma-cred-row:last-child { border-bottom: none; }
.ma-cred-row .key   { color: rgba(255,255,255,0.52); }
.ma-cred-row .value { color: #fff; font-weight: 500; }

/* Stats band */
.ma-hero-stats-band {
    margin-top: 36px;  /* small-screen base — scales up at 576px */
    border-top: 1px solid rgba(255,255,255,0.14);
    border-bottom: 1px solid rgba(255,255,255,0.14);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.ma-hero-stat {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ma-hero-stat:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,0.1);
}
.ma-stat-num {
    font-family: var(--heading-font);
    font-size: 28px;  /* small-screen base — scales at 576px / 768px in responsive.css */
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.ma-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    letter-spacing: 0.02em;
}

/* Accepting clients ticker */
.ma-hero-ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;       /* small-screen base */
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.06em;  /* small-screen base */
    font-weight: 500;
    text-transform: uppercase;
}
.ma-hero-ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}


/* ----------------------------- */
/*     SERVICES (6 PILLARS)      */
/* ----------------------------- */

.ma-section-heading {
    font-family: var(--heading-font);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--dark);
    margin: 0;
}
.ma-section-heading .accent { color: var(--primary); }
.ma-section-body {
    font-size: 18px;
    line-height: 1.65;
    color: var(--txt-color);
    margin: 0;
}

/* The grid */
.ma-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.ma-pillar-card {
    background: #fff;
    padding: 32px 28px 28px;
    cursor: pointer;
    transition: background 200ms ease;
    position: relative;
}
.ma-pillar-card:hover { background: #191919; }
.ma-pillar-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
}
.ma-pillar-num {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--mid-grey);
    transition: color 200ms ease;
}
.ma-pillar-card:hover .ma-pillar-num { color: rgba(255,255,255,0.4); }
.ma-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: background 200ms ease, color 200ms ease;
}
.ma-pillar-card:hover .ma-pillar-icon { background: var(--primary); color: #fff; }
.ma-pillar-card h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 10px;
    color: var(--dark);
    transition: color 200ms ease;
}
.ma-pillar-card:hover h3 { color: #fff; }
.ma-pillar-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--txt-color);
    margin: 0 0 18px;
    transition: color 200ms ease;
}
.ma-pillar-card:hover p { color: rgba(255,255,255,0.72); }
.ma-pillar-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}
.ma-pillar-bullets li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 7px;
    transition: color 200ms ease;
}
.ma-pillar-bullets li i { color: var(--primary); font-size: 14px; }
.ma-pillar-card:hover .ma-pillar-bullets li { color: rgba(255,255,255,0.82); }
.ma-pillar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color 200ms ease, border-color 200ms ease;
}
.ma-pillar-card:hover .ma-pillar-cta { color: #fff; border-bottom-color: var(--primary); }


/* ----------------------------- */
/*       COMMITMENT (dark)       */
/* ----------------------------- */
.ma-commitment-mmark {
    position: absolute;
    right: -80px;
    top: -40px;
    bottom: -40px;
    width: 520px;
    opacity: 0.05;
    background-image: url(/assets/frontend/m-mark-6c41ec1dd3dcdd4a46e376e8f534ee6539382b2f99d5f00d42cba474b7eb7016.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    pointer-events: none;
}
.ma-commitment h2 {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.ma-commitment-lead {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
}
.ma-commitment-lead strong { color: #fff; font-style: normal; font-weight: 500; }

/* Stat blocks */
.ma-commitment-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 520px;
}
.ma-stat-block {
    border-left: 2px solid var(--primary);
    padding-left: 18px;
}
.ma-stat-block .num {
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.ma-stat-block .lbl {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 5px;
}

/* Testimonial quote card */
.ma-quote-card {
    background: #0A0A0A;
    border: 1px solid #2A2A2A;
    padding: 36px 36px 30px;
    position: relative;
}
.ma-quote-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
}
.ma-quote-mark {
    font-family: var(--heading-font);
    font-size: 80px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: -10px;
}
.ma-quote-text {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 26px;
}
.ma-quote-text > :last-child {
    margin-bottom: 0;
}
.ma-quote-attribution {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #2A2A2A;
}
.ma-quote-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    object-fit: cover;
}
.ma-quote-name {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.ma-quote-role {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}


/* ----------------------------- */
/*         INDUSTRIES            */
/* ----------------------------- */
.ma-industry-card {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--border);
    padding: 22px 22px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-left-color 150ms ease;
    height: 100%;
}
.ma-industry-card:hover {
    border-left-color: var(--primary);
}
.ma-industry-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--dark);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.ma-industry-title {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.ma-industry-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--txt-color);
}


/* ----------------------------- */
/*      NATIONAL NETWORK         */
/* ----------------------------- */
.ma-province-panel {
    background: var(--light-grey);
    border: 1px solid var(--border);
    padding: 20px;
}
/* Province panel header: label sits in flow, no absolute positioning */
.ma-province-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.ma-province-label {
    font-size: 14px;
    color: var(--mid-grey);
    text-transform: uppercase;
}
/* Scrollable wrapper so the grid never breaks at small screen widths */
.ma-province-grid-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* subtle scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
/* Province grid has a guaranteed minimum width so it never squishes.
   The .ma-province-grid-wrap handles overflow-x scrolling on small screens. */
.ma-province-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(56px, 1fr));
    gap: 6px;
    min-width: 320px;   /* hard floor — grid scrolls before it squishes */
}
.ma-province-cell {
    background: #fff;
    border: 1px solid var(--border);
    padding: 12px 6px 10px;
    text-align: center;
    height: 115px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ma-province-cell.highlighted {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
/* "You are here" label — lives INSIDE the cell (no absolute positioning overflow) */
.ma-province-cell .you-are-here {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 4px;
    line-height: 1;
}
.ma-province-code {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 800;
    color: inherit;
}
.ma-province-cell:not(.highlighted) .ma-province-code { color: var(--dark); }
.ma-province-locs {
    font-size: 14px;
    color: var(--mid-grey);
    margin-top: 2px;
}
.ma-province-cell.highlighted .ma-province-locs { color: rgba(255,255,255,0.75); }
.ma-province-footer {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: var(--txt-color);
    flex-wrap: wrap;
    gap: 8px;
}
.ma-province-footer .coords {
    font-size: 14px;
    color: var(--mid-grey);
}


/* ----------------------------- */
/*       PARTNER CAROUSEL        */
/* ----------------------------- */
.ma-partners-heading {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}
.ma-partner-marquee {
    display: flex;
    overflow: hidden;
    margin-top: 40px;
}
/* two identical tracks, each at least viewport-wide, both sliding
   left by their own width — the second seamlessly replaces the first */
.ma-partner-track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    min-width: 100%;
    animation: ma-partner-scroll 40s linear infinite;
}
.ma-partner-marquee:is(:hover, :focus-within) .ma-partner-track { animation-play-state: paused; }
.ma-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 200px;
    padding: 8px 32px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.ma-partner-logo:is(:hover, :focus-visible) { opacity: 1; }
.ma-partner-logo img {
    width: 100%;
    height: 56px;
    object-fit: contain;
}
@keyframes ma-partner-scroll {
    to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .ma-partner-track { animation: none; }
    .ma-partner-marquee { overflow-x: auto; }
}


/* ----------------------------- */
/*      RESOURCES / BLOG         */
/* ----------------------------- */

.ma-article-card {
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease;
    height: 100%;
}
.ma-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.ma-article-thumb {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary);
}
.ma-article-thumb-bg {
    position: relative;
    width: 100%;
    height: 100%;
    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.ma-article-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
}
.ma-article-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ma-article-meta {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 20px;
}
.ma-article-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: var(--dark);
    margin-bottom: 8px;
    flex: 1;
}
.ma-article-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
    text-decoration: underline 2px solid transparent;
}
.ma-article-card:hover .ma-article-link {
    color: var(--primary);
    text-decoration-color: var(--primary);
}

/* Blog list pagination */
.ma-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 56px;
}
.ma-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ma-pagination__link:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.ma-pagination__link.is-current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.ma-pagination__arrow.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}
.ma-pagination__gap {
    padding: 0 6px;
    color: var(--mid-grey);
}


/* ----------------------------- */
/*      CONTACT BAND             */
/* ----------------------------- */
.ma-contact-section {
    background: var(--primary);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 96px 0;
}
.ma-contact-diagonal {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background: repeating-linear-gradient(-35deg, #fff 0 1px, transparent 1px 40px);
    pointer-events: none;
}
.ma-contact-eyebrow {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
}
.ma-contact-section h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.ma-contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.ma-contact-item { display: flex; align-items: center; gap: 16px; }
.ma-contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.ma-contact-item-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
}
.ma-contact-item-value {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-top: 2px;
}
.ma-contact-item-value a { color: #fff; text-decoration: none; }
.ma-contact-item-value a:hover { text-decoration: underline; }

/* Form card */
.ma-form-card {
    background: #fff;
    color: var(--dark);
    padding: 36px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}
.ma-form-title {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.ma-form-subtitle {
    font-size: 16px;
    color: var(--mid-grey);
    margin-bottom: 22px;
}
.ma-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--mid-grey);
}
textarea{
    resize: none;
}
.ma-form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    color: var(--dark);
    background: #fff;
    outline: none;
    transition: border-color 120ms, box-shadow 120ms;
    box-sizing: border-box;
}
.ma-form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201,40,45,0.2);
}
.ma-form-group { margin-bottom: 14px; }


/* ----------------------------- */
/*      CONTACT PAGE             */
/* ----------------------------- */
.ma-contact-info-item {
    flex: 1 0 0;
    min-width: 220px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.ma-contact-icon-box {
    width: 48px;
    height: 48px;
    background: var(--dark);
    border: 1.5px solid var(--dark-grey);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}
a.ma-contact-icon-box:is(:hover, :focus-visible) {
    background: var(--primary);
    border-color: var(--primary);
}
.ma-contact-info-label {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}
.ma-contact-info-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: underline;
    line-height: 1.5;
}
.ma-contact-info-value:hover { color: var(--primary-dark); }
.ma-map-wrap {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}
.ma-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
/* Contact form labels: not uppercase (override base .ma-form-label) */
.ma-contact-form .ma-form-label {
    text-transform: none;
    letter-spacing: normal;
}


/* ----------------------------- */
/*      INTERIOR PAGE HERO       */
/* ----------------------------- */
/* Shared by all subpages. Background image is an <img> tag in the HTML —
   no CSS needed per page, paths stay relative to each template. */
.ma-interior-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary);
    border-left: 4px solid var(--primary);
    border-right: 4px solid var(--primary);
    text-align: center;
}
.ma-interior-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.ma-interior-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    pointer-events: none;
}
.ma-interior-hero .container {
    position: relative;
    z-index: 1;
}
.subpage-hero__content {
    padding-top: 48px;
    padding-bottom: 48px;
}
.ma-interior-hero h1 {
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 800;
    line-height: 1.02;
    color: #fff;
    margin: 0;
}

/* Back link in the article hero */
.ma-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    color: #EDEDED;
    margin-bottom: 12px;
    transition: color 0.16s ease;
}
.ma-back-link:is(:hover, :focus-visible) { color: #ffffff; }

/* "Other services" quicklinks at the bottom of service pages */
.ma-service-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.ma-service-quicklink {
    flex: 1 0 0;
    min-width: min(320px, 100%);
    max-width: 560px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--border);
    transition: background-color 0.16s ease, border-color 0.16s ease;
}
.ma-service-quicklink-title {
    flex: 1;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: var(--dark);
    transition: color 0.16s ease;
}
.ma-service-quicklink-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 24px;
    transition: background-color 0.16s ease, color 0.16s ease;
}
.ma-service-quicklink:is(:hover, :focus-visible) {
    background: var(--dark);
    border-color: var(--dark);
}
.ma-service-quicklink:is(:hover, :focus-visible) .ma-service-quicklink-title { color: #fff; }
.ma-service-quicklink:is(:hover, :focus-visible) .ma-service-quicklink-icon,
.ma-service-quicklink--active .ma-service-quicklink-icon {
    background: var(--primary);
    color: #fff;
}


/* ----------------------------- */
/*      ABOUT: STORY IMAGE       */
/* ----------------------------- */
.ma-about-img-wrap {
    height: 360px;
    overflow: hidden;
    border-left: 8px solid var(--primary);
}
.ma-about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ----------------------------- */
/*      TIMELINE                 */
/* ----------------------------- */

/* Desktop: arrow + track row */
.ma-tl-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ma-tl-track {
    flex: 1;
    display: flex;
    position: relative;
    margin-bottom: 20px;
}
.ma-tl-track::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7px;
    height: 2px;
    background: rgba(255,255,255,0.15);
    z-index: 0;
}
.ma-tl-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 4px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: opacity 0.15s ease;
}
.ma-tl-year {
    font-size: 14px;
    line-height: 1;
    color: rgba(255,255,255,0.5);
    transition: color 0.15s ease;
}
.ma-tl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.ma-tl-node:hover .ma-tl-year { color: rgba(255,255,255,0.85); }
.ma-tl-node:hover .ma-tl-dot { border-color: rgba(255,255,255,0.5); }
.ma-tl-node.ma-active .ma-tl-year { color: #fff; font-weight: 700; }
.ma-tl-node.ma-active .ma-tl-dot {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(201,40,45,0.25);
}

/* Arrow buttons */
.ma-tl-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ma-tl-arrow:hover:not(:disabled) {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.ma-tl-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

/* Content entries */
.ma-tl-entry {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ma-tl-entry:first-child { padding-top: 0; }
.ma-tl-entry:last-child { border-bottom: none; padding-bottom: 0; }
.ma-tl-entry-year {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}
.ma-tl-entry-desc {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    margin: 0;
}


/* ----------------------------- */
/*   MISSION / VISION / VALUES   */
/* ----------------------------- */
.ma-mvv-bg {
    position: relative;
    overflow: hidden;
}
.ma-mvv-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.ma-mvv-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    pointer-events: none;
}
.ma-mvv-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding: 40px 24px;
}
.ma-mvv-card {
    background: rgba(25,25,25,0.65);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 4px solid var(--primary);
    padding: 28px 24px;
    min-width: 240px;
    flex: 1 0 0;
}
.ma-mvv-title {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.ma-mvv-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.ma-mvv-body {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
}


/* ----------------------------- */
/*      TEAM                     */
/* ----------------------------- */
.ma-team-card {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}
.ma-team-photo {
    height: 280px;
    background: #faeaea;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    & img{
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.ma-team-avatar {
    width: 96px;
    height: 96px;
    background: var(--primary);
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.ma-team-body {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}
.ma-team-info { display: flex; flex-direction: column; gap: 4px; }
.ma-team-name {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
}
.ma-team-role {
    font-size: 16px;
    color: var(--txt-color);
}
.ma-team-card .btn-ma-secondary{
    padding: 8px 18px;
}


/* ----------------------------- */
/*      BIO MODAL                */
/* ----------------------------- */
.ma-bio-modal.modal-content {
    border: none;
    border-radius: 0;
    border-top: 4px solid var(--primary);
}
.ma-bio-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}
.ma-bio-modal .btn-close:focus-visible {
    box-shadow: 0 0 0 3px rgba(201,40,45,0.2);
}
.ma-bio-modal__avatar {
    width: 120px;
    height: 120px;
    background: var(--primary);
    border: 2px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.ma-bio-modal__name {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 4px;
}
.ma-bio-modal__role {
    font-size: 16px;
    color: var(--mid-grey);
    margin-bottom: 16px;
}
.ma-bio-modal__photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    display: block;
}
.ma-bio-modal__bio {
    font-size: 16px;
    color: var(--txt-color);
    line-height: 1.65;
    text-align: left;
    margin: 0;
}


/* ----------------------------- */
/*      404 PAGE                 */
/* ----------------------------- */
.ma-404-main { background: var(--dark); }
.ma-404-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    display: flex;
    align-items: center;
}
.ma-404-code {
    font-family: var(--heading-font);
    font-size: clamp(100px, 18vw, 200px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}
.ma-404-heading {
    font-family: var(--heading-font);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}
.ma-404-body {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin-bottom: 36px;
}


/* ----------------------------- */
/*      RICH TEXT (articles)     */
/* ----------------------------- */
.rich-text-section h2 {
    color: var(--dark);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 16px;
}
.rich-text-section h3 {
    color: var(--dark);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 28px;
    margin-bottom: 12px;
}
.rich-text-section p {
    color: var(--txt-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}
.rich-text-section ul {
    padding-left: 24px;
    margin-bottom: 16px;
}
.rich-text-section ul li {
    color: var(--txt-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 8px;
}
.rich-text-section ol {
    list-style: decimal;
    padding-left: 24px;
    margin-bottom: 16px;
}
.rich-text-section ol li {
    color: var(--txt-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 8px;
}
.rich-text-section ol ol { list-style: lower-alpha; margin-top: 8px; }
.rich-text-section ol ol ol { list-style: lower-roman; }
.rich-text-section a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline 2px transparent;
    transition: text-decoration-color 0.2s ease;
}
.rich-text-section a:hover { text-decoration-color: var(--primary); }

/* Resource detail featured image */
.ma-resource-detail__img {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-left: 8px solid var(--primary);
    margin-bottom: 40px;
}
.ma-resource-detail__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article video: the post's single media element, where the image used to sit */
.ma-resource-detail__video {
    border-left: 8px solid var(--primary);
    margin-bottom: 40px;
}
.ma-resource-detail__video iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* Share bar */
.ma-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 48px;
    justify-content: space-between;
}
.ma-share__label {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0;
}
.ma-share__buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
/* Prevent rich-text link styles bleeding into share buttons */
.ma-share .btn { text-decoration: none; }

/* Inline tag pill — same visual as .ma-article-tag but in normal flow */
.ma-tag-pill {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
}


/* ----------------------------- */
/*      SERVICE PAGES            */
/* ----------------------------- */

/* Dark CTA band */
.ma-service-cta {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.ma-service-cta-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ma-service-cta h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}
.ma-service-cta-body {
    font-size: 20px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

/* Feature items — flex wrap, self-sizing columns */
.ma-service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 32px;
    justify-content: center;
}
.ma-service-feature {
    flex: 1 0 0;
    min-width: 260px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.ma-service-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}
.ma-service-feature-title {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 4px;
}
.ma-service-feature-body {
    font-size: 16px;
    color: var(--txt-color);
    line-height: 1.6;
    margin: 0;
}


/* ----------------------------- */
/*      FAQ ACCORDION           */
/* ----------------------------- */
/* Bootstrap collapse handles the open/close logic + single-open via
   data-bs-parent. We only restyle: borders go red on hover and when open. */
.ma-faq {
    /* square corners per Figma — also neutralises the radius Bootstrap
       applies to the first/last item's button corners */
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
}
.ma-faq .accordion-item {
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 0;
    margin-bottom: 16px;
    transition: border-color 0.16s ease;
}
.ma-faq .accordion-item:last-child { margin-bottom: 0; }
.ma-faq .accordion-item:hover,
.ma-faq .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--primary);
}
.ma-faq .accordion-button {
    gap: 16px;
    padding: 24px;
    font-family: var(--body-font); /* button is inside <h3>, override inherited heading font */
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dark);
    background-color: transparent;
    box-shadow: none;
}
.ma-faq .accordion-button:not(.collapsed) {
    color: var(--dark);
    background-color: transparent;
    box-shadow: none;
}
.ma-faq .accordion-button:focus { box-shadow: none; }
.ma-faq .accordion-button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}
/* Custom chevron — hide Bootstrap's default SVG, use the FA icon */
.ma-faq .accordion-button::after { display: none; }
.ma-faq-question { flex: 1; }
.ma-faq-icon {
    flex-shrink: 0;
    font-size: 20px;
    color: var(--mid-grey);
    transition: transform 0.2s ease, color 0.16s ease;
}
.ma-faq .accordion-item:hover .ma-faq-icon,
.ma-faq .accordion-button:not(.collapsed) .ma-faq-icon {
    color: var(--primary);
}
.ma-faq .accordion-button:not(.collapsed) .ma-faq-icon {
    transform: rotate(180deg);
}
.ma-faq .accordion-body {
    padding: 0 24px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--txt-color);
}
/* Links added through the CMS inside an answer inherit the brand link
   style — red, with an underline that fades in on hover. Scoped to the
   accordion body so no class is needed on the link itself. */
.ma-faq .accordion-body a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline 2px transparent;
    transition: text-decoration-color 0.2s ease;
}
.ma-faq .accordion-body a:hover {
    text-decoration-color: var(--primary);
}

/* ----------------------------- */
/*      REVIEWS CAROUSEL         */
/* ----------------------------- */
.ma-reviews-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.ma-reviews-track::-webkit-scrollbar { display: none; }
.ma-reviews-track:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}
.ma-review-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 256px;
    padding: 24px;
    background: var(--dark);
    border-left: 4px solid var(--primary);
}
/* Reuse the homepage quote-card inner styles; carousel card differences only */
.ma-review-card .ma-quote-mark {
    height: 48px;
    margin-bottom: 0;
}
.ma-review-card .ma-quote-text { margin: 0; }
.ma-review-card .ma-quote-attribution {
    margin-top: auto;
    padding-top: 0;
    border-top: 0;
    gap: 12px;
}
.ma-review-card .ma-quote-avatar {
    width: 48px;
    height: 48px;
    font-size: 20px;
}
.ma-reviews-nav {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}
.ma-reviews-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 12px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.16s ease;
}
.ma-reviews-arrow:not(:disabled):is(:hover, :focus-visible) { background-color: var(--dark); }
.ma-reviews-arrow:focus-visible {
    outline: 2px solid var(--dark);
    outline-offset: 2px;
}
.ma-reviews-arrow:disabled {
    background-color: var(--dark-grey);
    cursor: default;
}

/* ----- google reviews (contact page) ----- */
.ma-review-card--google {
    position: relative;
    background: var(--light-grey);
    padding: 32px;
}
.ma-review-card--google .ma-quote-name { color: var(--dark); }
.ma-review-card--google .ma-quote-role { color: var(--mid-grey); }
.ma-review-card--google .ma-quote-avatar {
    position: relative;
    overflow: hidden;
}
.ma-greview-avatar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.ma-greview-g {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 20px;
    color: var(--mid-grey);
}
.ma-gstars {
    display: inline-flex;
    gap: 4px;
    font-size: 20px;
    color: #FBBC04;
}
.ma-gstars .is-empty { color: var(--border); }
.ma-greview-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--dark);
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
}
.ma-greviews-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}
.ma-greviews-score .ma-gstars { font-size: 18px; }
.ma-greviews-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    align-self: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.16s ease;
}
.ma-greviews-all:is(:hover, :focus-visible) { color: var(--dark); }
/* ------- Phablet 425px ------- */
@media screen and (min-width: 425px) {
    .large-img-container { height: 320px; }
    .small-img-container { height: 320px; }
    .rich-text-img { height: 280px; }
}


/* ------- Small 576px ------- */
@media screen and (min-width: 576px) {
    .small-img-container { height: 400px; }
    .rich-text-img { height: 340px; }

    /* Hero: step up from small-screen base values (set in microage.css) */
    .ma-hero-inner { padding-bottom: 64px; }
    /* .ma-hero h1 { font-size: clamp(40px, 5.2vw, 72px); } */
    .ma-hero-lead {
        font-size: 20px;
        line-height: 30px;
        margin: 26px 0 34px;
    }
    .ma-hero-stats-band { margin-top: 64px; }
    .ma-stat-num { font-size: 36px; }
    .ma-hero-ticker { letter-spacing: 0.1em; padding: 10px 20px; }
}


/* ------- Tablet 768px ------- */
@media screen and (min-width: 768px) {

    /* Utility */
    .row-gap-64 { row-gap: 96px; }

    /* Section padding scales up */
    .section-p { padding-top: 96px; padding-bottom: 96px; }
    .single-p { padding-bottom: 96px; }

    /* Section titles */
    .section-title h2 {
        font-size: 36px;
        line-height: 44px;
    }

    /* Images */
    .large-img-container { height: 400px; }
    .rich-text-img        { height: 420px; }

    /* Footer bottom row — row layout */
    .footer-bottom,
    .footer-end {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Hero: stat band switches to 4-column row */
    .ma-hero-stats-band { grid-template-columns: repeat(4, 1fr); }
    .ma-hero-stat { border-bottom: none; border-left: 1px solid rgba(255,255,255,0.1); }
    .ma-hero-stat:first-child { border-left: none; }
    .ma-hero-stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.1); }
    .ma-stat-num { font-size: 40px; }

    /* Services pillars: 2-column */
    .ma-pillars-grid { grid-template-columns: repeat(2, 1fr); }

    /* About page */
    .ma-about-img-wrap { height: 440px; }

    /* Resource detail */
    .ma-resource-detail__img { height: 420px; }
    .ma-tl-entry { display: none; border: none; padding: 0; } /* timeline: desktop — only active shows */
    .ma-tl-entry.ma-active { display: block; margin-top: 40px; }
    .ma-tl-entry-desc { text-align: center; }
    /* .ma-mvv-grid { grid-template-columns: repeat(2, 1fr); padding: 64px; } */
    .ma-mvv-grid { padding: 64px; }
    .ma-mvv-card { min-width: 280px; }

    /* Service pages */
    .ma-service-cta { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 48px; }

    /* Reviews carousel: fixed card width so the next card peeks in */
    .ma-review-card { flex-basis: 480px; }

}


/* ------- Laptop 992px ------- */
@media screen and (min-width: 992px) {

    /* Max-width helpers */
    .mw-md-280  { max-width: 280px; }
    .mw-lg-576  { max-width: 576px; }
    .mw-lg-768  { max-width: 768px; }

    /* Images */
    .large-img-container { height: 540px; }

    /* Lang button min-width */
    .btn.lang-btn { min-width: 44px; }

    /* Hero: full desktop spacing */
    .ma-hero-inner  { padding-top: 96px; padding-bottom: 120px; }
    .ma-cred-card   { display: block; }   /* credential card visible on desktop */

    /* Services pillars: 3-column */
    .ma-pillars-grid { grid-template-columns: repeat(3, 1fr); }

    /* Commitment stats grid */
    .ma-commitment-stats { grid-template-columns: 1fr 1fr; }

    /* Large image container */
    .large-img-container { height: 500px; }

    .ma-logo-wrap img {
        width: 134px;
        transform: translateY(-47px);
    }
    .ma-header .ma-logo-divider{
        margin-left: 149px;
    }
    .offcanvas .navbar-nav .dropdown-menu {
        position: absolute;
        width: auto;
        max-width: 512px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.10);
        padding: 16px;
        margin-top: 0;
        border: 1px solid var(--border);
        border-top: 3px solid var(--primary);
        border-left: 1px solid var(--border);
        border-radius: 0;
        transform: unset;
    }
    .offcanvas .dropdown-menu .ma-services-flyout { grid-template-columns: 1fr 1fr; }
    .offcanvas .dropdown-menu .ma-flyout-item {
        min-width: 240px;
        max-width: 244px;
    }
    .offcanvas .dropdown-menu .ma-flyout-item-title {
        color: var(--dark);
    }
    .offcanvas .dropdown-menu .ma-flyout-item-desc {
        color: var(--mid-grey);
    }

    /* About & service pages */
    .ma-about-img-wrap { height: 480px; }

}


/* ------- XL 1200px ------- */
@media screen and (min-width: 1200px) {
    .ma-section-heading { font-size: 56px; }
}


/* ------- XXL 1400px ------- */
@media screen and (min-width: 1400px) {
    /* Reserved for ultra-wide tweaks */
}


