/*
Theme Name: MCS Maryland Computer Service
Theme URI: https://marylandcomputerservice.com
Author: Maryland Computer Service
Author URI: https://marylandcomputerservice.com
Description: Professional managed IT services theme for Maryland Computer Service. Features navy, orange, and white branding with full service pages, CMMC compliance landing page, and conversion-optimized layouts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://marylandcomputerservice.com
Text Domain: mcs-theme
Tags: business, it-services, professional, one-page, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options
*/

/* ─────────────────────────────────────────
   CSS CUSTOM PROPERTIES
───────────────────────────────────────── */
:root {
    --navy:        #0D1B3E;
    --navy-mid:    #162550;
    --navy-light:  #1E3370;
    --orange:      #E8621A;
    --orange-h:    #CF5517;
    --orange-lite: #FFF1E8;
    --white:       #FFFFFF;
    --off:         #F6F8FC;
    --slate:       #64748B;
    --slate-l:     #94A3B8;
    --border:      #E2E8F0;
    --text:        #0F172A;
    --font:        'Plus Jakarta Sans', sans-serif;
    --radius:      6px;
    --shadow-sm:   0 1px 4px rgba(13,27,62,.06);
    --shadow-md:   0 4px 20px rgba(13,27,62,.08);
    --shadow-lg:   0 12px 48px rgba(13,27,62,.12);
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.mcs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.mcs-section         { padding: 80px 0; }
.mcs-section--sm     { padding: 56px 0; }
.mcs-section--lg     { padding: 100px 0; }
.mcs-section--dark   { background: var(--navy); }
.mcs-section--off    { background: var(--off); }
.mcs-section--orange { background: var(--orange); }

/* ─────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────── */
.mcs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-lite);
    color: var(--orange);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.mcs-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

.mcs-heading-xl {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
    color: var(--navy);
}
.mcs-heading-lg {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--navy);
}
.mcs-heading-md {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--navy);
}
.mcs-heading-sm {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.mcs-body-lg { font-size: 1.05rem; line-height: 1.75; color: var(--slate); }
.mcs-body    { font-size: .9rem;   line-height: 1.8;  color: var(--slate); }
.mcs-body-sm { font-size: .8rem;   line-height: 1.65; color: var(--slate); }

.mcs-text-white  { color: #fff; }
.mcs-text-orange { color: var(--orange); }
.mcs-text-dim    { color: rgba(255,255,255,.6); }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.mcs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    letter-spacing: .01em;
    transition: background .15s, transform .1s, box-shadow .15s;
    text-decoration: none;
}
.mcs-btn:hover { transform: translateY(-1px); }

.mcs-btn--orange {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 2px 10px rgba(232,98,26,.3);
}
.mcs-btn--orange:hover { background: var(--orange-h); }

.mcs-btn--navy {
    background: var(--navy);
    color: #fff;
}
.mcs-btn--navy:hover { background: var(--navy-light); }

.mcs-btn--white {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.mcs-btn--white:hover { background: #f0f0f0; }

.mcs-btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
}
.mcs-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.mcs-btn--outline-orange {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}
.mcs-btn--outline-orange:hover { background: var(--orange); color: #fff; }

.mcs-btn--tel {
    background: var(--navy);
    color: #fff;
    border: 2px solid var(--navy);
}
.mcs-btn--tel:hover { background: var(--navy-mid); }

.mcs-btn--lg { padding: 15px 32px; font-size: .95rem; }
.mcs-btn--sm { padding: 9px 20px; font-size: .82rem; }
.mcs-btn--full { width: 100%; justify-content: center; }

/* ─────────────────────────────────────────
   TOPBAR
───────────────────────────────────────── */
.mcs-topbar {
    background: var(--navy);
    padding: 8px 0;
    font-size: .78rem;
    color: rgba(255,255,255,.65);
}
.mcs-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mcs-topbar__left,
.mcs-topbar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.mcs-topbar a {
    color: rgba(255,255,255,.65);
    transition: color .15s;
}
.mcs-topbar a:hover  { color: #fff; }
.mcs-topbar__right a { font-weight: 600; }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.mcs-nav {
    position: sticky;
    top: 0;
    z-index: 500;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(13,27,62,.07);
}
.mcs-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.mcs-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.mcs-logo__icon {
    width: 42px; height: 42px;
    background: var(--navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}
.mcs-logo__icon::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 14px; height: 14px;
    background: var(--orange);
    border-radius: 4px 0 8px 0;
}
.mcs-logo__icon span {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: #fff;
    position: relative;
    z-index: 1;
}
.mcs-logo__text strong {
    display: block;
    font-size: .95rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.01em;
    line-height: 1.2;
}
.mcs-logo__text span {
    font-size: .72rem;
    color: var(--slate);
    font-weight: 500;
}

/* Primary menu */
.mcs-nav__menu {
    display: flex;
    align-items: center;
    gap: 2px;
}
.mcs-nav__menu > li { position: relative; }
.mcs-nav__menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--slate);
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: color .15s, background .15s;
}
.mcs-nav__menu > li > a:hover,
.mcs-nav__menu > li.current-menu-item > a,
.mcs-nav__menu > li.current-menu-ancestor > a {
    color: var(--navy);
    background: var(--off);
}
.mcs-nav__menu > li.current-menu-item > a { color: var(--orange); }

/* Dropdown arrow */
.mcs-nav__menu > li.menu-item-has-children > a::after {
    content: '▾';
    font-size: .6rem;
    opacity: .5;
    transition: transform .2s;
    display: inline-block;
}
.mcs-nav__menu > li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* Dropdown menu */
.mcs-nav__menu .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px;
    z-index: 600;
    animation: mcsDropIn .15s ease;
}
.mcs-nav__menu > li:hover .sub-menu { display: block; }
.mcs-nav__menu .sub-menu li a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius);
    font-size: .82rem;
    font-weight: 500;
    color: var(--slate);
    transition: background .12s, color .12s;
}
.mcs-nav__menu .sub-menu li a:hover { background: var(--orange-lite); color: var(--orange); }

@keyframes mcsDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* Nav right */
.mcs-nav__right { display: flex; align-items: center; gap: 12px; }
.mcs-nav__tel { font-size: .82rem; font-weight: 700; color: var(--navy); }

/* Mobile hamburger */
.mcs-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}
.mcs-nav__toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.mcs-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mcs-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.mcs-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mcs-mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 24px 32px;
    overflow-y: auto;
    z-index: 490;
    border-top: 1px solid var(--border);
}
.mcs-mobile-menu.is-open { display: block; }
.mcs-mobile-menu ul { list-style: none; }
.mcs-mobile-menu > ul > li { border-bottom: 1px solid var(--border); }
.mcs-mobile-menu > ul > li > a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}
.mcs-mobile-menu .sub-menu { padding: 0 0 8px 16px; }
.mcs-mobile-menu .sub-menu a {
    display: block;
    padding: 8px 0;
    font-size: .875rem;
    color: var(--slate);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.mcs-hero {
    background: var(--navy);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.mcs-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.mcs-hero::after {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(232,98,26,.15) 0%, transparent 65%);
    pointer-events: none;
}
.mcs-hero__inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
}
.mcs-hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 18px;
}
.mcs-hero__title span { color: var(--orange); }
.mcs-hero__sub {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,.65);
    margin-bottom: 32px;
    max-width: 500px;
}
.mcs-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

/* Trust badges */
.mcs-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.mcs-trust__label {
    font-size: .7rem;
    font-weight: 600;
    color: rgba(255,255,255,.4);
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.mcs-trust__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.mcs-trust__badge {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(255,255,255,.65);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    padding: 4px 10px;
    border-radius: 4px;
}

/* Hero contact card */
.mcs-hero__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.mcs-hero__card-header {
    background: var(--orange);
    padding: 20px 28px;
}
.mcs-hero__card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.mcs-hero__card-header p { font-size: .75rem; color: rgba(255,255,255,.85); }
.mcs-hero__card-body { padding: 24px 28px; }
.mcs-hero__card-footer {
    padding: 14px 28px;
    background: var(--off);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.mcs-hero__card-footer p { font-size: .72rem; color: var(--slate); line-height: 1.4; }
.mcs-check-ico {
    width: 20px; height: 20px;
    background: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .65rem;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────
   STATS BAR
───────────────────────────────────────── */
.mcs-stats {
    background: var(--off);
    border-bottom: 1px solid var(--border);
}
.mcs-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.mcs-stats__item {
    padding: 26px 20px;
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
}
.mcs-stats__item:last-child { border-right: none; }
.mcs-stats__icon {
    width: 44px; height: 44px;
    background: var(--orange-lite);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.mcs-stats__num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.03em;
    line-height: 1;
}
.mcs-stats__num sup { font-size: .72rem; font-weight: 700; color: var(--orange); vertical-align: super; }
.mcs-stats__label { font-size: .72rem; color: var(--slate); font-weight: 500; margin-top: 2px; }

/* ─────────────────────────────────────────
   SERVICE CARDS
───────────────────────────────────────── */
.mcs-services__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
}
.mcs-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mcs-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.mcs-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}
.mcs-card:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 32px rgba(232,98,26,.1);
    transform: translateY(-3px);
}
.mcs-card:hover::before { transform: scaleX(1); }
.mcs-card__icon {
    width: 52px; height: 52px;
    background: var(--orange-lite);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.mcs-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.mcs-card__desc { font-size: .85rem; line-height: 1.65; color: var(--slate); margin-bottom: 20px; }
.mcs-card__link {
    font-size: .8rem;
    font-weight: 700;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s;
}
.mcs-card__link:hover { gap: 10px; }

/* ─────────────────────────────────────────
   WHY SECTION (dark)
───────────────────────────────────────── */
.mcs-why__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.mcs-why__list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.mcs-why__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    transition: background .2s, border-color .2s;
}
.mcs-why__item:hover { background: rgba(232,98,26,.08); border-color: rgba(232,98,26,.25); }
.mcs-why__icon {
    width: 38px; height: 38px;
    background: rgba(232,98,26,.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.mcs-why__item-title { font-size: .875rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.mcs-why__item-desc  { font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.5); }

/* Metric cards */
.mcs-metrics { display: flex; flex-direction: column; gap: 14px; }
.mcs-metric-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.mcs-metric-card--accent { background: var(--orange); border-color: var(--orange); }
.mcs-metric-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1;
}
.mcs-metric-num sup { font-size: .8rem; vertical-align: super; color: rgba(255,255,255,.7); }
.mcs-metric-label { font-size: .8rem; color: rgba(255,255,255,.65); font-weight: 500; }
.mcs-metric-card .mcs-metric-icon { margin-left: auto; font-size: 2rem; opacity: .4; }
.mcs-metric-card--accent .mcs-metric-icon { opacity: .7; }

/* Cert badges */
.mcs-certs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.mcs-cert {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(255,255,255,.65);
}

/* ─────────────────────────────────────────
   INDUSTRY CARDS
───────────────────────────────────────── */
.mcs-industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 44px;
}
.mcs-industry-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    text-decoration: none;
    display: block;
}
.mcs-industry-card:hover {
    border-color: var(--navy);
    box-shadow: 0 8px 28px rgba(13,27,62,.1);
    transform: translateY(-4px);
}
.mcs-industry-card__emoji { font-size: 2.2rem; margin-bottom: 14px; }
.mcs-industry-card__name { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.mcs-industry-card__desc { font-size: .78rem; line-height: 1.6; color: var(--slate); margin-bottom: 14px; }
.mcs-industry-card__link { font-size: .75rem; font-weight: 700; color: var(--orange); }

/* ─────────────────────────────────────────
   PROCESS STEPS
───────────────────────────────────────── */
.mcs-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 52px;
    position: relative;
}
.mcs-process__grid::before {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.mcs-process__step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.mcs-process__num {
    width: 54px; height: 54px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 18px;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--border);
    transition: background .2s, box-shadow .2s;
}
.mcs-process__step:hover .mcs-process__num {
    background: var(--orange);
    box-shadow: 0 0 0 2px var(--orange);
}
.mcs-process__title { font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.mcs-process__desc  { font-size: .78rem; line-height: 1.6; color: var(--slate); }

/* ─────────────────────────────────────────
   BLOG CARDS
───────────────────────────────────────── */
.mcs-blog__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}
.mcs-blog__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
}
.mcs-blog-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s, border-color .2s;
    display: block;
    text-decoration: none;
}
.mcs-blog-card:hover {
    box-shadow: 0 8px 28px rgba(13,27,62,.09);
    transform: translateY(-3px);
    border-color: var(--navy);
}
.mcs-blog-card__thumb {
    height: 160px;
    overflow: hidden;
    background: var(--navy);
}
.mcs-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mcs-blog-card--featured .mcs-blog-card__thumb { height: 200px; }
.mcs-blog-card__body { padding: 22px 22px 26px; }
.mcs-blog-card__meta { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.mcs-blog-card__cat {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange);
}
.mcs-blog-card__date { font-size: .65rem; color: var(--slate-l); }
.mcs-blog-card__title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 8px;
}
.mcs-blog-card--featured .mcs-blog-card__title { font-size: 1.05rem; }
.mcs-blog-card__excerpt { font-size: .78rem; line-height: 1.65; color: var(--slate); margin-bottom: 14px; }
.mcs-blog-card__read {
    font-size: .75rem;
    font-weight: 700;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s;
}
.mcs-blog-card:hover .mcs-blog-card__read { gap: 8px; }

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.mcs-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}
.mcs-testi-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s;
}
.mcs-testi-card:hover {
    border-color: var(--orange);
    box-shadow: 0 6px 24px rgba(232,98,26,.1);
}
.mcs-testi-card__stars { color: var(--orange); font-size: 1rem; letter-spacing: 3px; margin-bottom: 14px; }
.mcs-testi-card__text {
    font-size: .875rem;
    line-height: 1.75;
    color: var(--slate);
    font-style: italic;
    flex: 1;
    margin-bottom: 20px;
}
.mcs-testi-card__divider { width: 32px; height: 3px; background: var(--orange); border-radius: 2px; margin-bottom: 14px; }
.mcs-testi-card__name    { font-size: .85rem; font-weight: 700; color: var(--navy); }
.mcs-testi-card__company { font-size: .75rem; color: var(--slate-l); margin-top: 2px; }

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */
.mcs-cta-banner { background: var(--orange); padding: 60px 0; }
.mcs-cta-banner__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.mcs-cta-banner h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.mcs-cta-banner p { font-size: .875rem; color: rgba(255,255,255,.9); margin-top: 6px; }
.mcs-cta-banner__btns { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }

/* ─────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────── */
.mcs-page-hero {
    background: var(--navy);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.mcs-page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
}
.mcs-page-hero::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(232,98,26,.12) 0%, transparent 65%);
}
.mcs-page-hero__inner { position: relative; z-index: 2; }
.mcs-breadcrumb,
#breadcrumbs > span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    margin-bottom: 16px;
}
.mcs-breadcrumb a, #breadcrumbs a { color: rgba(255,255,255,.55); transition: color .15s; }
.mcs-breadcrumb a:hover, #breadcrumbs a:hover { color: var(--orange); }
.mcs-breadcrumb span, #breadcrumbs span { color: rgba(255,255,255,.25); }

/* ─────────────────────────────────────────
   CONTACT FORM
───────────────────────────────────────── */
.mcs-form__group { margin-bottom: 16px; }
.mcs-form__group label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 6px;
}
.mcs-form__group input,
.mcs-form__group select,
.mcs-form__group textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 14px;
    font-size: .875rem;
    color: var(--text);
    outline: none;
    transition: border-color .15s;
    background: var(--white);
}
.mcs-form__group input:focus,
.mcs-form__group select:focus,
.mcs-form__group textarea:focus { border-color: var(--orange); }
.mcs-form__group input::placeholder,
.mcs-form__group textarea::placeholder { color: var(--slate-l); }
.mcs-form__group textarea { resize: vertical; min-height: 100px; }
.mcs-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.mcs-footer { background: var(--navy); color: rgba(255,255,255,.6); }
.mcs-footer__top {
    padding: 60px 0 44px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.mcs-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mcs-footer__brand .mcs-logo__text strong { color: #fff; }
.mcs-footer__brand .mcs-logo__text span   { color: rgba(255,255,255,.35); }
.mcs-footer__desc  { font-size: .8rem; line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.mcs-footer__contact { display: flex; flex-direction: column; gap: 7px; }
.mcs-footer__contact a { font-size: .8rem; color: rgba(255,255,255,.55); transition: color .15s; }
.mcs-footer__contact a:hover { color: var(--orange); }
.mcs-footer__contact strong { color: #fff; font-size: .875rem; }
.mcs-footer__col h4 {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 16px;
}
.mcs-footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.mcs-footer__col ul a { font-size: .8rem; color: rgba(255,255,255,.5); transition: color .15s; }
.mcs-footer__col ul a:hover { color: var(--orange); }
.mcs-footer__bottom {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mcs-footer__bottom p,
.mcs-footer__bottom a { font-size: .72rem; color: rgba(255,255,255,.3); }

/* ─────────────────────────────────────────
   SINGLE POST / PAGE CONTENT
───────────────────────────────────────── */
.mcs-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 32px;
}
.mcs-content h1,
.mcs-content h2,
.mcs-content h3,
.mcs-content h4 { color: var(--navy); font-weight: 700; margin: 28px 0 12px; line-height: 1.25; }
.mcs-content h1 { font-size: 2rem; }
.mcs-content h2 { font-size: 1.5rem; }
.mcs-content h3 { font-size: 1.2rem; }
.mcs-content p  { font-size: .9rem; line-height: 1.8; color: var(--slate); margin-bottom: 16px; }
.mcs-content ul,
.mcs-content ol { margin: 0 0 16px 20px; }
.mcs-content li { font-size: .9rem; line-height: 1.75; color: var(--slate); margin-bottom: 6px; }
.mcs-content a  { color: var(--orange); text-decoration: underline; }
.mcs-content img { border-radius: 8px; margin: 24px 0; }
.mcs-content blockquote {
    border-left: 4px solid var(--orange);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--orange-lite);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--slate);
}

/* ─────────────────────────────────────────
   SIDEBAR (blog)
───────────────────────────────────────── */
.mcs-sidebar-widget > .wp-block-group {
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 20px;
}
.mcs-sidebar-widget h4 {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 14px;
}
.mcs-sidebar-widget p {
    font-size: .8rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.mcs-sidebar-widget > .mcs-sidebar-widget--dark {
    background: var(--navy);
    border-color: var(--navy);
}
.mcs-sidebar-widget--dark h4 {
    color: rgba(255,255,255,.4);
}
.mcs-sidebar-widget--dark p {
    color: rgba(255,255,255,.55);
}
.mcs-sidebar-widget--dark a {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(232,98,26,.3);
    font-size: .9rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: .01em;
    padding: 13px 26px;
    transition: background .15s, transform .1s;
}
.mcs-sidebar-widget--dark a:hover {
    background: var(--orange-h);
    transform: translateY(-1px);
}
.cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-size: .82rem;
    color: var(--slate);
    transition: color .15s;
}
.cat-item:last-child {
    border-bottom: none;
}
.cat-item:hover {
    color: var(--orange);
}
.cat-item-count {
    background: var(--orange-lite);
    color: var(--orange);
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.mcs-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;
}
.mcs-text-center { text-align: center; }
.mcs-mt-sm  { margin-top: 14px; }
.mcs-mt-md  { margin-top: 24px; }
.mcs-mt-lg  { margin-top: 44px; }
.mcs-mb-sm  { margin-bottom: 14px; }
.mcs-mb-md  { margin-bottom: 24px; }
.mcs-mb-lg  { margin-bottom: 44px; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
    .mcs-hero__inner         { grid-template-columns: 1fr; }
    .mcs-hero__card          { max-width: 480px; }
    .mcs-why__grid           { grid-template-columns: 1fr; }
    .mcs-industries__grid    { grid-template-columns: repeat(2, 1fr); }
    .mcs-blog__grid          { grid-template-columns: 1fr; }
    .mcs-blog-layout         { grid-template-columns: 1fr; }
    .mcs-footer__top         { grid-template-columns: 1fr 1fr; }
    .mcs-process__grid       { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .mcs-process__grid::before { display: none; }
}

@media (max-width: 768px) {
    .mcs-topbar              { display: none; }
    .mcs-nav__menu           { display: none; }
    .mcs-nav__right .mcs-btn { display: none; }
    .mcs-nav__toggle         { display: flex; }
    .mcs-services__grid      { grid-template-columns: 1fr; }
    .mcs-services__header    { flex-direction: column; align-items: flex-start; gap: 14px; }
    .mcs-industries__grid    { grid-template-columns: 1fr; }
    .mcs-testi-grid          { grid-template-columns: 1fr; }
    .mcs-stats__grid         { grid-template-columns: 1fr 1fr; }
    .mcs-cta-banner__inner   { flex-direction: column; text-align: center; }
    .mcs-cta-banner__btns    { justify-content: center; flex-wrap: wrap; }
    .mcs-footer__top         { grid-template-columns: 1fr; }
    .mcs-footer__bottom      { flex-direction: column; gap: 8px; text-align: center; }
    .mcs-form__row           { grid-template-columns: 1fr; }
    .mcs-blog__header        { flex-direction: column; align-items: flex-start; gap: 14px; }
    .mcs-container           { padding: 0 20px; }
}

/* ─────────────────────────────────────────
   WORDPRESS CORE ALIGNMENT CLASSES
───────────────────────────────────────── */
.alignleft  { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide  { margin-left: -40px; margin-right: -40px; }
.alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .78rem; color: var(--slate); text-align: center; margin-top: 6px; }
.gallery    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.gallery-item img { width: 100%; border-radius: 6px; }

/* ─────────────────────────────────────────
   GRAVITY FORMS
───────────────────────────────────────── */
.gform_wrapper .gfield_html:first-child {
    display: none;
}
.gform_wrapper .gfield {
    margin-bottom: 14px;
    position: relative;
}
.gform_wrapper .gfield_label {
    background: var(--white);
    color: var(--slate-l);
    font-size: .875rem;
    padding: 0 5px;
    pointer-events: none;
    position: absolute;
    left: 9px;
    top: 10px;
    transition: all .3s ease;
    z-index: 2;
}
.gform_wrapper .gfield:focus-within .gfield_label,
.gform_wrapper .gfield.gfield-filled .gfield_label {
    font-size: 12px;
    top: -10px;
    opacity: 1;
}
.gform_wrapper input:not([type=submit]) {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 14px;
    font-size: .875rem;
    color: var(--text);
    outline: none;
    transition: border-color .15s;
    background: var(--white);
}
.gform_wrapper input:not([type=submit]):focus {
    border-color: var(--orange);
}
.gform_wrapper input[type=submit] {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: var(--white);
    font-size: .9rem;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background .15s;
    margin-top: 4px;
    letter-spacing: .02em;
}
.gform_wrapper input[type=submit]:hover {
    background: var(--navy-light);
}
.gform_wrapper input:-webkit-autofill,
.gform_wrapper input:-webkit-autofill:hover,
.gform_wrapper input:-webkit-autofill:focus,
.gform_wrapper textarea:-webkit-autofill,
.gform_wrapper select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
    -webkit-text-fill-color: var(--text) !important;
    transition: background-color 5000s ease-in-out 0s;
}
.gform_validation_errors {
    margin-bottom: 14px;
}
.gform_submission_error, .gfield_validation_message {
    color: red;
    font-size: .875rem;
}