/* =========================================================
   Campbell Carew — Mastering Cyber Security
   Brand: #402A76 · complementary mauve, cyan, orange
   Type: Proxima Nova → Montserrat / Nunito Sans
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;0,600;0,700;1,500&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

:root {
  --mcs-navy: #402A76;
  --mcs-navy-deep: #2A1648;
  --mcs-charcoal: #2A1A40;
  --mcs-slate: #6B5F7A;
  --mcs-gold: #F6851A;
  --mcs-gold-hover: #FF9A38;
  --mcs-gold-soft: rgba(246, 133, 26, 0.16);
  --mcs-cyan: #5999D8;
  --mcs-mauve: #885D93;
  --mcs-paper: #F7F4FB;
  --mcs-white: #ffffff;
  --mcs-text: #2A1A40;
  --mcs-muted: #6B5F7A;
  --mcs-border: rgba(64, 42, 118, 0.14);
  --mcs-radius: 16px;
  --mcs-radius-sm: 10px;
  --mcs-shadow: 0 16px 40px rgba(64, 42, 118, 0.12);
  --mcs-container: 1140px;
  --font-heading: 'Montserrat', 'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Nunito Sans', 'Proxima Nova', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

body {
  font-family: var(--font-body) !important;
  color: var(--mcs-text);
  background: var(--mcs-white);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
.t4-content,
.t4-mainbody,
.t4-component {
  background: var(--mcs-paper) !important;
}

a { color: var(--mcs-navy); }
a:hover { color: var(--mcs-cyan); }

h1, h2, h3, h4, h5, h6,
.mcs-hero h1,
.mcs-section h2,
.mcs-section h3 {
  font-family: var(--font-heading) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--mcs-navy);
}

.t4-masthead:empty,
.t4-section-masthead:empty,
.t4-section-masthead,
.t4-section-breadcrumbs,
.t4-section-Breadcrumbs { display: none !important; }

#t4-main-body,
.t4-main-body,
.t4-section-main-body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.t4-header { margin-bottom: 0 !important; }

/* —— Header —— */
.header-block,
.header-block-2,
.t4-header,
header.header-block {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mcs-border);
}

.header-block-2 .header-wrap {
  min-height: 84px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar-brand img,
.logo-img,
.t4-logo img,
header .logo img,
.logo-img-sm {
  max-height: 72px !important;
  width: auto !important;
}

.navbar-brand .logo-img-sm { display: none; }
.navbar-brand .logo-img { display: block; }

@media (min-width: 992px) {
  .t4-offcanvas-toggle,
  .t4-header-r .navbar-toggler,
  header .navbar-toggler {
    display: none !important;
  }
}

#triggerButton,
.t4-offcanvas-toggle { display: none !important; }

.header-block,
.header-wrap,
.t4-header-r { overflow: visible; }

@media (max-width: 991.98px) {
  .t4-navbar,
  .t4-navbar.collapse-static,
  .t4-megamenu { display: none !important; }
  .header-wrap { gap: 0.5rem; }
  .navbar-brand { min-width: 0; flex: 1 1 auto; }
  .t4-header-r { flex: 0 0 auto; }
  #triggerButton.t4-offcanvas-toggle,
  #triggerButton,
  #triggerButton.c-button,
  .js-offcanvas-trigger,
  .t4-offcanvas-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: 2.5rem !important;
    max-width: 2.5rem !important;
    border: 0;
    border-radius: 4px;
    background: var(--mcs-navy) !important;
    box-shadow: none !important;
    margin-left: auto;
    position: relative !important;
    z-index: 30;
    overflow: visible !important;
    font-size: 0 !important;
    padding: 0 !important;
  }
  #triggerButton .c-button__text,
  #triggerButton i { display: none !important; }
  #triggerButton::after {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
    box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff;
  }
  .t4-header-r .mcs-btn,
  header .mcs-btn {
    padding: 0.35rem 0.7rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap;
  }
  .navbar-brand img,
  .logo-img {
    max-height: 36px;
  }
}

.mcs-header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mcs-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem 0.6rem;
  border: 0;
  border-radius: 4px;
  background: var(--mcs-navy);
  cursor: pointer;
}

.mcs-burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

@media (max-width: 991.98px) {
  .mcs-burger { display: flex; }
}

@media (max-width: 575.98px) {
  .mcs-header-cta { display: none !important; }
  .navbar-brand .logo-img { display: none !important; }
  .navbar-brand .logo-img-sm { display: block !important; max-height: 42px; }
}

.t4-navbar .navbar-nav > li > a,
.t4-megamenu .nav-item > .nav-link {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.94rem !important;
  color: var(--mcs-navy) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 6px;
}

.t4-navbar .navbar-nav > li > a:hover,
.t4-navbar .navbar-nav > li.active > a,
.t4-megamenu .nav-item > .nav-link:hover,
.t4-megamenu .nav-item.active > .nav-link {
  color: var(--mcs-navy) !important;
  background: rgba(136, 93, 147, 0.14) !important;
}

/* Programs dropdown — T4 hover can fail on touch laptops; force CSS hover */
.t4-header,
.t4-header .t4-section-inner,
.header-block,
.header-wrap,
.t4-navbar,
.t4-megamenu {
  overflow: visible !important;
}

#t4-header,
.t4-header,
.header-block {
  position: relative;
  z-index: 5000;
}

@media (min-width: 992px) {
  .t4-navbar,
  .t4-megamenu {
    display: block !important;
  }

  .t4-megamenu .nav-item.dropdown,
  .t4-megamenu .nav-item.parent {
    position: relative;
  }

  .t4-megamenu.animate .dropdown > .dropdown-menu,
  .t4-megamenu.animate.slide .dropdown > .dropdown-menu {
    opacity: 0;
    margin-top: 0 !important;
    transform: none !important;
  }

  .t4-megamenu .nav-item.dropdown > .dropdown-menu,
  .t4-megamenu .nav-item.parent > .dropdown-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    z-index: 4000;
    min-width: 15.5rem !important;
    width: auto !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    border: 1px solid var(--mcs-border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(64, 42, 118, 0.16);
    opacity: 1;
    transform: none !important;
  }

  .t4-megamenu .nav-item.dropdown:hover > .dropdown-menu,
  .t4-megamenu .nav-item.dropdown.show > .dropdown-menu,
  .t4-megamenu .nav-item.dropdown:focus-within > .dropdown-menu,
  .t4-megamenu .nav-item.parent:hover > .dropdown-menu,
  .t4-megamenu .nav-item.parent.show > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
    transform: none !important;
    margin-top: 0 !important;
  }

  .t4-megamenu .dropdown-menu > div,
  .t4-megamenu .dropdown-menu-inner,
  .t4-megamenu .dropdown-menu ul,
  .t4-megamenu .dropdown-menu li {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: 0 !important;
    width: auto !important;
    position: static !important;
    left: auto !important;
    overflow: visible !important;
  }

  .t4-megamenu .dropdown-menu .dropdown-item,
  .t4-megamenu .dropdown-menu a {
    display: block !important;
    padding: 0.7rem 1.2rem !important;
    color: #402A76 !important;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    height: auto !important;
    line-height: 1.3 !important;
  }

  .t4-megamenu .dropdown-menu .dropdown-item:hover,
  .t4-megamenu .dropdown-menu a:hover {
    background: rgba(136, 93, 147, 0.12);
    color: #402A76 !important;
  }
}

.t4-offcanvas .dropdown-menu {
  display: block !important;
  position: static !important;
  float: none;
  min-width: 0;
  margin: 0.25rem 0 0.5rem 0.75rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.item-page,
.com-content-article { padding: 0 !important; background: transparent; }
.item-page > .page-header,
.item-page .article-info,
.item-page .icons { display: none !important; }

.mcs-hero .container,
.mcs-section .container,
.mcs-cta .container,
.mcs-cred .container {
  width: min(100% - 2rem, var(--mcs-container));
  margin-inline: auto;
}

/* =========================================================
   HERO
   ========================================================= */
.mcs-hero {
  position: relative;
  overflow: hidden;
  padding: 5.25rem 0 4.5rem;
  color: #fff;
  margin: 0;
  width: 100%;
  max-width: none;
  background:
    linear-gradient(105deg, rgba(42, 22, 72, 0.78) 0%, rgba(64, 42, 118, 0.62) 48%, rgba(64, 42, 118, 0.45) 100%),
    url('../../../images/headers/hero-network.jpg') center/cover no-repeat;
  background-color: var(--mcs-navy);
}

.mcs-hero > .container { position: relative; z-index: 1; }

.mcs-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.mcs-hero-eyebrow,
.mcs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
}

.mcs-hero-eyebrow {
  color: #fff;
  background: rgba(89, 153, 216, 0.22);
  border: 1px solid rgba(89, 153, 216, 0.45);
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
}

.mcs-eyebrow { color: var(--mcs-mauve); }
.mcs-eyebrow::before {
  content: '';
  width: 1.4rem;
  height: 2px;
  background: var(--mcs-cyan);
}

.mcs-hero h1 {
  color: #fff !important;
  font-size: clamp(2.2rem, 4.4vw, 3.25rem);
  font-weight: 600;
  margin: 0 0 1.2rem;
  max-width: 18ch;
  text-wrap: balance;
}

.mcs-hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40rem;
  margin: 0 0 1.85rem;
}

.mcs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.mcs-hero-compact { padding: 3.5rem 0 3rem; }
.mcs-hero-compact h1 {
  max-width: 22ch;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.mcs-hero-photo {
  justify-self: end;
  width: min(100%, 360px);
}

.mcs-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.mcs-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.mcs-stat {
  background: rgba(42, 22, 72, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--mcs-radius-sm);
  padding: 0.85rem 0.95rem;
}

.mcs-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--mcs-cyan);
  margin-bottom: 0.15rem;
}

.mcs-stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.3;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.mcs-btn,
.mcs-hero a.mcs-btn,
.mcs-section a.mcs-btn,
.mcs-cta a.mcs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.82rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-body) !important;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.mcs-btn-primary {
  background: var(--mcs-gold);
  color: #fff !important;
  border-color: var(--mcs-gold);
  box-shadow: 0 8px 20px rgba(246, 133, 26, 0.28);
}

.mcs-btn-primary:hover {
  background: var(--mcs-gold-hover);
  color: #fff !important;
}

.mcs-btn-outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.mcs-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.mcs-btn-secondary {
  background: var(--mcs-navy);
  color: #fff !important;
  border-color: var(--mcs-navy);
}

.mcs-btn-secondary:hover {
  background: var(--mcs-mauve);
  color: #fff !important;
}

.mcs-btn-ghost {
  background: transparent;
  color: var(--mcs-navy) !important;
  border-color: var(--mcs-border);
}

.mcs-btn-ghost:hover {
  border-color: var(--mcs-gold);
  color: var(--mcs-navy) !important;
}

.t4-header-r .mcs-btn,
header .mcs-btn {
  padding: 0.45rem 1rem !important;
  font-size: 0.82rem !important;
  background: var(--mcs-navy) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
}

.t4-header-r .mcs-btn:hover { background: var(--mcs-mauve) !important; }

/* =========================================================
   CREDIBILITY STRIP
   ========================================================= */
.mcs-cred {
  background: var(--mcs-navy-deep);
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 1.35rem 0;
}

.mcs-cred-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mcs-cyan);
  margin: 0 0 0.75rem;
  text-align: center;
}

.mcs-cred-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.65rem;
}

.mcs-cred-tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.mcs-section { position: relative; padding: 4.75rem 0; }

.mcs-section-alt {
  background: var(--mcs-paper);
  margin: 0;
  width: 100%;
  max-width: none;
}

.mcs-section-dark {
  background: var(--mcs-navy);
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  width: 100%;
  max-width: none;
}

.mcs-section-dark h2,
.mcs-section-dark h3,
.mcs-section-dark h4 { color: #fff !important; }
.mcs-section-dark .mcs-eyebrow { color: var(--mcs-cyan); }
.mcs-section-dark p { color: rgba(255, 255, 255, 0.78); }

.mcs-section-header { max-width: 42rem; margin-bottom: 2.4rem; }
.mcs-section-header.mcs-center { text-align: center; margin-inline: auto; }
.mcs-section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0 0 0.85rem;
}
.mcs-section-header p {
  color: var(--mcs-muted);
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.mcs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.mcs-split-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: var(--mcs-shadow);
}

.mcs-pull {
  padding: 1.4rem 1.4rem 1.4rem 1.35rem;
  background: var(--mcs-gold-soft);
  border-left: 3px solid var(--mcs-gold);
  margin: 1.4rem 0 0;
}

.mcs-pull p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--mcs-navy);
  line-height: 1.45;
}

/* =========================================================
   CARDS / PILLARS
   ========================================================= */
.mcs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.mcs-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.mcs-card {
  display: flex;
  flex-direction: column;
  background: var(--mcs-white);
  border: 1px solid var(--mcs-border);
  border-radius: var(--mcs-radius);
  padding: 1.6rem 1.45rem 1.4rem;
  height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

a.mcs-card { text-decoration: none; color: inherit; }
a.mcs-card:hover {
  border-color: var(--mcs-gold);
  box-shadow: var(--mcs-shadow);
  color: inherit;
}

.mcs-card-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mcs-mauve);
  margin-bottom: 0.7rem;
}

.mcs-card h3 {
  font-size: 1.25rem !important;
  margin: 0 0 0.6rem;
  color: var(--mcs-navy) !important;
}

.mcs-card p {
  color: var(--mcs-muted);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  flex-grow: 1;
}

.mcs-card-link {
  display: inline-flex;
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--mcs-navy);
}

a.mcs-card:hover .mcs-card-link { color: var(--mcs-cyan); }
.mcs-card-link::after { content: ' →'; }

.mcs-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.mcs-pillar {
  background: var(--mcs-white);
  border: 1px solid var(--mcs-border);
  border-top: 3px solid var(--mcs-navy);
  padding: 1.25rem 1.15rem;
}

.mcs-section-dark .mcs-pillar {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  border-top-color: var(--mcs-gold);
}

.mcs-pillar h4 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem !important;
  color: var(--mcs-navy) !important;
}
.mcs-section-dark .mcs-pillar h4 { color: #fff !important; }
.mcs-pillar p { margin: 0; color: var(--mcs-muted); font-size: 0.94rem; }
.mcs-section-dark .mcs-pillar p { color: rgba(255, 255, 255, 0.7); }

.mcs-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.mcs-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--mcs-paper);
  color: var(--mcs-navy);
  border: 1px solid var(--mcs-border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Framework */
.mcs-framework {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mcs-framework-col {
  background: var(--mcs-white);
  border: 1px solid var(--mcs-border);
  padding: 1.75rem 1.5rem;
}

.mcs-framework-col h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.mcs-framework-col .mcs-col-lead {
  color: var(--mcs-muted);
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
}

.mcs-framework-item {
  padding: 0.85rem 0;
  border-top: 1px solid var(--mcs-border);
}

.mcs-framework-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem !important;
}

.mcs-framework-item p {
  margin: 0;
  color: var(--mcs-muted);
  font-size: 0.94rem;
}

.mcs-framework-core {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: var(--mcs-navy);
  color: #fff;
}

.mcs-framework-core h3 { color: #fff !important; margin: 0 0 0.4rem; }
.mcs-framework-core p { margin: 0; color: rgba(255,255,255,0.8); }

.mcs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.mcs-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-bottom: 1px solid var(--mcs-border);
}

.mcs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--mcs-gold);
}

.mcs-prose { max-width: 46rem; }
.mcs-prose p,
.mcs-prose li { font-size: 1.06rem; line-height: 1.75; }

.mcs-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.mcs-contact-list { list-style: none; padding: 0; margin: 0; }
.mcs-contact-list li {
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--mcs-border);
}

.mcs-contact-list a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mcs-form {
  display: grid;
  gap: 0.85rem;
  background: var(--mcs-paper);
  border: 1px solid var(--mcs-border);
  padding: 1.5rem;
}

.mcs-form label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mcs-slate);
}

.mcs-form input,
.mcs-form textarea,
.mcs-form select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--mcs-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}

.mcs-form textarea { min-height: 8rem; resize: vertical; }

.mcs-form button {
  justify-self: start;
}

.mcs-form-note {
  font-size: 0.9rem;
  color: var(--mcs-muted);
  margin-top: 0.75rem;
}

.mcs-contact-grid .convertforms,
.mcs-contact-grid .mcs-cf {
  background: var(--mcs-paper);
  border: 1px solid var(--mcs-border);
  padding: 1.5rem;
}

.mcs-contact-grid .convertforms .cf-label,
.mcs-contact-grid .mcs-cf .cf-label,
.mcs-contact-grid .convertforms label {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mcs-slate) !important;
  margin-bottom: 0.35rem;
}

.mcs-contact-grid .convertforms .cf-control-group {
  margin-bottom: 0.85rem;
}

.mcs-contact-grid .convertforms input[type="text"],
.mcs-contact-grid .convertforms input[type="email"],
.mcs-contact-grid .convertforms textarea,
.mcs-contact-grid .convertforms select {
  width: 100%;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
}

.mcs-contact-grid .convertforms textarea {
  min-height: 8rem;
  resize: vertical;
}

.mcs-contact-grid .convertforms .cf-btn,
.mcs-contact-grid .convertforms button[type="submit"] {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  border: 1px solid var(--mcs-navy) !important;
  cursor: pointer;
}

.mcs-contact-grid .convertforms .cf-btn:hover,
.mcs-contact-grid .convertforms button[type="submit"]:hover {
  background: var(--mcs-mauve) !important;
}

.mcs-contact-grid .convertforms .cf-success,
.mcs-contact-grid .convertforms .cf-response {
  font-family: var(--font-body);
}

/* CTA band (article + module) */
.mcs-cta {
  position: relative;
  padding: 4rem 0;
  background: var(--mcs-navy-deep);
  color: #fff;
  margin: 0;
  width: 100%;
  max-width: none;
  text-align: center;
}

.mcs-cta h2 {
  color: #fff !important;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.mcs-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 34rem;
  margin: 0 auto 1.6rem;
  font-size: 1.08rem;
}

/* Footer */
.t4-footer,
.t4-section-footer,
.t4-footnav,
#t4-footnav,
footer.t4-section {
  background: var(--mcs-navy-deep) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.mcs-footer-brand strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.4rem;
}

.mcs-footer-brand p {
  font-size: 0.92rem;
  margin: 0 0 0.6rem;
  color: rgba(255, 255, 255, 0.65);
}

#t4-footnav .t4-row,
#t4-footnav .row,
.t4-footnav .t4-row,
.t4-footnav .row {
  align-items: flex-start;
}

#t4-footnav .t4-col,
.t4-footnav .t4-col,
#t4-footer .t4-col,
.t4-footer .t4-col {
  min-width: 0;
  max-width: 100%;
}

.mcs-footer-brand,
.mcs-footer-links {
  min-width: 0;
  max-width: 100%;
}

.mcs-footer-brand a,
.mcs-footer-links a {
  color: var(--mcs-gold) !important;
  text-decoration: none;
}

.mcs-footer-email,
.mcs-footer-email a,
.mcs-footer-email joomla-hidden-mail,
.mcs-footer-brand a[href^="mailto:"],
.mcs-footer-brand joomla-hidden-mail {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.45;
  font-size: 0.9rem;
}

.mcs-footer-brand a:hover,
.mcs-footer-links a:hover { color: var(--mcs-gold-hover) !important; }

.mcs-footer-links p strong {
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mcs-footer-links ul { list-style: none; padding: 0; margin: 0.45rem 0 0; }
.mcs-footer-links li { margin-bottom: 0.4rem; }

.mcs-footer-legal {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  padding: 1.15rem 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 575.98px) {
  .mcs-footer-legal {
    font-size: 0.72rem;
    line-height: 1.5;
  }
}

/* Module chrome in footer / cta */
.t4-section-cta-band,
[class*="cta-band"] {
  background: transparent;
  padding: 0;
}

@media (max-width: 992px) {
  .mcs-hero-grid,
  .mcs-split,
  .mcs-grid-3,
  .mcs-grid-2,
  .mcs-framework,
  .mcs-contact-grid {
    grid-template-columns: 1fr;
  }
  .mcs-hero-photo { justify-self: start; width: min(100%, 280px); }
  .mcs-hero { padding: 3.5rem 0 3rem; }
  .mcs-hero h1 { max-width: none; }
  .mcs-section { padding: 3.5rem 0; }
}

@media (max-width: 576px) {
  .mcs-hero-stats { grid-template-columns: 1fr 1fr; }
  .navbar-brand img,
  .t4-logo img { max-height: 40px; }
  .mcs-hero-actions { flex-direction: column; align-items: stretch; }
  .mcs-btn { width: 100%; }
}
