/* =========================================================
   MCM Staffing — Custom Stylesheet v2.0
   Brand: refined professional / staffing services
   Primary: #4d585a (slate)   Secondary: #7aa7ad (sage teal)
   Headings: Montserrat       Body: Raleway
   ========================================================= */

:root {
  --primary: #4d585a;
  --primary-dark: #353e40;
  --primary-light: #6a7779;
  --secondary: #7aa7ad;
  --secondary-light: #a8c8cc;
  --secondary-dark: #5b8a90;
  --accent: #e8b04b;
  --ink: #1f2628;
  --body: #495257;
  --muted: #8a9498;
  --line: #e3e7e8;
  --paper: #fafaf8;
  --paper-2: #f3f0ea;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(31,38,40,.07);
  --shadow-md: 0 16px 48px -18px rgba(31,38,40,.28);
  --shadow-lg: 0 32px 80px -30px rgba(31,38,40,.38);
  --radius: 6px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --heading: 'Montserrat', 'Helvetica Neue', system-ui, sans-serif;
  --sans: 'Raleway', 'Helvetica Neue', system-ui, sans-serif;
}

/* ----------  Base  ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Do NOT set overflow-x:hidden on body — it creates a containing block
     that clips position:absolute dropdowns. Use a wrapper div instead. */
}
a { color: var(--primary); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--secondary-dark); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
em { font-style: italic; color: var(--secondary-dark); }
.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--primary-light); max-width: 60ch; line-height: 1.75; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--secondary-dark);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--secondary); border-radius: 2px;
}

/* ----------  Buttons  ---------- */
.btn {
  font-family: var(--heading);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .9rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all .3s var(--ease);
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0; transition: opacity .3s var(--ease);
}
.btn:hover::after { opacity: 1; }
.btn-primary-mcm { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary-mcm:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary-mcm { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-secondary-mcm:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline-mcm { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-mcm:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); padding: .5rem 0; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; }
.btn-ghost:hover { color: var(--secondary-dark); }
.btn .arrow { transition: transform .3s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(5px); }

/* ----------  Navbar  ---------- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-family: var(--heading);
  font-weight: 500;
  padding: .55rem 0;
  letter-spacing: .04em;
}
.top-bar a { color: rgba(255,255,255,.85); transition: color .2s var(--ease); }
.top-bar a:hover { color: var(--secondary-light); }
.top-bar .divider { opacity: .4; margin: 0 .8rem; }

.navbar-mcm {
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  padding: .9rem 0;
  transition: padding .3s var(--ease), box-shadow .3s var(--ease);
  position: sticky; top: 0; z-index: 1030;
  overflow: visible; /* must NOT clip dropdown children */
}
.navbar-mcm.scrolled {
  box-shadow: 0 4px 28px rgba(31,38,40,.1);
  padding: .6rem 0;
}

/* Brand */
.brand-mark {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--heading); font-weight: 800; color: var(--ink);
  font-size: 1.35rem; letter-spacing: -.02em;
  text-decoration: none; flex-shrink: 0;
}
.brand-mark:hover { color: var(--primary); text-decoration: none; }
.brand-mark .mark-glyph {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  border-radius: 10px;
  font-family: var(--heading); font-weight: 800; font-size: .88rem;
  letter-spacing: .04em;
  transition: background .3s var(--ease), transform .3s var(--ease);
  flex-shrink: 0;
}
.brand-mark:hover .mark-glyph { background: var(--secondary-dark); transform: rotate(-4deg); }
.brand-mark .mark-sub {
  font-family: var(--heading); font-size: .6rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--secondary-dark); font-weight: 600;
  display: block; line-height: 1; margin-top: 3px;
}

/* Nav links */
.navbar-mcm .nav-link {
  color: var(--ink) !important;
  font-family: var(--heading);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem .9rem !important;
  position: relative;
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.navbar-mcm .nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem;
  height: 2px; background: var(--secondary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease); border-radius: 2px;
}
.navbar-mcm .nav-link:hover { color: var(--primary) !important; }
.navbar-mcm .nav-link:hover::after,
.navbar-mcm .nav-link.active::after { transform: scaleX(1); }
.navbar-mcm .nav-link.active { color: var(--primary) !important; }

/* Contact CTA button in nav */
.navbar-mcm .nav-cta .btn,
.navbar-mcm .btn-primary-mcm {
  font-size: .78rem;
  padding: .6rem 1.3rem;
  letter-spacing: .08em;
}
.navbar-mcm .nav-cta .btn::after { display: none; } /* no underline pseudo on button */

/* Mobile-only small contact button (shown beside hamburger) */
.btn-sm-nav {
  font-size: .72rem !important;
  padding: .45rem 1rem !important;
  letter-spacing: .06em;
}

/* Hamburger toggler */
.navbar-toggler {
  border: 0 !important;
  padding: .4rem;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.navbar-toggler:focus { box-shadow: none !important; outline: 2px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }

.toggler-icon {
  display: block; width: 24px; height: 2px;
  background: var(--ink); position: relative;
  transition: background .3s var(--ease);
}
.toggler-icon::before,
.toggler-icon::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--ink); transition: all .35s var(--ease);
}
.toggler-icon::before { top: -7px; }
.toggler-icon::after  { top:  7px; }

/* Toggler open state → X */
.navbar-toggler.is-open .toggler-icon { background: transparent; }
.navbar-toggler.is-open .toggler-icon::before { top: 0; transform: rotate(45deg); }
.navbar-toggler.is-open .toggler-icon::after  { top: 0; transform: rotate(-45deg); }

/* Mobile collapse panel */
@media (max-width: 991.98px) {
  .navbar-mcm .navbar-collapse {
    background: #fff;
    padding: 1.2rem 1rem 1.5rem;
    margin-top: .75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .navbar-mcm .nav-link {
    padding: .7rem .5rem !important;
    border-bottom: 1px solid var(--line);
    font-size: .82rem;
  }
  .navbar-mcm .nav-link:last-of-type { border-bottom: 0; }
  .navbar-mcm .nav-link::after { left: .5rem; right: .5rem; bottom: .3rem; }
  .navbar-mcm .nav-cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .navbar-mcm .nav-cta .btn { width: 100%; justify-content: center; }
  /* Hide the mobile inline contact button when menu is open */
  .navbar-mcm .d-flex.d-lg-none .btn-sm-nav { display: none !important; }
}

/* ----------  Hero  ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 10vw, 9rem);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(122,167,173,.2), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(77,88,90,.12), transparent 60%),
    linear-gradient(180deg, #fbfaf6 0%, #f3f0ea 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77,88,90,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,88,90,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.5), transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 .accent-word {
  font-style: italic;
  color: var(--secondary-dark);
  font-weight: 800;
}
.hero h1 .underline-word {
  display: inline-block; position: relative;
}
.hero h1 .underline-word::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .2em;
  background: var(--secondary); opacity: .3; z-index: -1; border-radius: 3px;
}

.hero-meta {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  padding-top: 2rem; margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.hero-meta .stat strong {
  font-family: var(--heading);
  font-size: 2rem; color: var(--primary); display: block; line-height: 1;
  font-weight: 800;
}
.hero-meta .stat span { font-size: .8rem; color: var(--muted); letter-spacing: .06em; font-family: var(--heading); font-weight: 500; text-transform: uppercase; }

.hero-visual { position: relative; }
.hero-visual .photo-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-2);
}
.hero-visual .photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-visual .floating-card {
  position: absolute; left: -2rem; bottom: 2rem;
  background: var(--white); padding: 1.1rem 1.3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .9rem;
  max-width: 280px;
}
.hero-visual .floating-card .avatars { display: flex; }
.hero-visual .floating-card .avatars div {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -10px;
  background: var(--secondary);
}
.hero-visual .floating-card .avatars div:first-child { margin-left: 0; background: #bda57a; }
.hero-visual .floating-card .avatars div:nth-child(2) { background: var(--secondary-dark); }
.hero-visual .floating-card .avatars div:nth-child(3) { background: var(--primary); }
.hero-visual .floating-card p { margin: 0; font-size: .85rem; color: var(--ink); font-weight: 600; font-family: var(--heading); }
.hero-visual .floating-card small { color: var(--muted); font-size: .72rem; }
.hero-visual .badge-card {
  position: absolute; right: -1rem; top: 2rem;
  background: var(--primary-dark); color: #fff;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero-visual .badge-card .big {
  font-family: var(--heading); font-size: 2.2rem; line-height: 1;
  color: var(--secondary-light); font-weight: 800;
}
.hero-visual .badge-card small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; font-family: var(--heading); font-weight: 600; }

/* ----------  Section helpers  ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-paper { background: var(--paper-2); }
.section-dark { background: var(--primary-dark); color: rgba(255,255,255,.85); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .eyebrow { color: var(--secondary-light); }
.section-dark .eyebrow::before { background: var(--secondary-light); }
.section-header { margin-bottom: 4rem; }

/* ----------  Logo strip / marquee  ---------- */
.logo-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.logo-strip .label { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-family: var(--heading); font-weight: 600; }
.logo-strip .industry {
  font-family: var(--heading); font-size: 1rem; color: var(--primary); font-weight: 600;
  opacity: .7; transition: opacity .3s var(--ease); white-space: nowrap;
}
.logo-strip .industry:hover { opacity: 1; }

.marquee { overflow: hidden; white-space: nowrap; padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 35s linear infinite; }
.marquee-item { font-family: var(--heading); font-size: clamp(1rem, 1.8vw, 1.5rem); color: var(--primary); font-weight: 700; letter-spacing: .02em; }
.marquee-item .dot { color: var(--secondary); margin: 0 1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----------  Service cards  ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  height: 100%;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
  transition: width .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(122,167,173,.14);
  color: var(--secondary-dark);
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
  transition: all .35s var(--ease);
  font-size: 1.6rem;
}
.service-card:hover .icon-wrap { background: var(--secondary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { margin-bottom: .75rem; font-size: 1.2rem; }
.service-card p { color: var(--primary-light); font-size: .95rem; margin-bottom: 1.3rem; line-height: 1.65; }
.service-card .read-more {
  font-size: .82rem; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--heading); letter-spacing: .06em; text-transform: uppercase;
  transition: all .25s var(--ease);
}
.service-card .read-more:hover { color: var(--secondary-dark); gap: .7rem; }

/* ----------  Process / steps  ---------- */
.step-row {
  display: grid; grid-template-columns: 80px 1fr; gap: 2rem;
  padding: 2.2rem 0; border-top: 1px solid var(--line); align-items: start;
}
.step-row:last-child { border-bottom: 1px solid var(--line); }
.step-row .step-num {
  font-family: var(--heading); font-size: 2.6rem; color: var(--secondary-dark); line-height: 1;
  font-weight: 800; opacity: .6;
}
.step-row h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.step-row p { color: var(--primary-light); margin: 0; max-width: 60ch; }

/* ----------  Image card / split  ---------- */
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: var(--paper-2);   /* neutral fallback while image loads */
  position: relative;
}
.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* removed mix-blend-mode — it was hiding the photo against the dark bg */
}
/* Subtle gradient overlay for depth without hiding the photo */
.split-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(31,38,40,.18) 100%
  );
  pointer-events: none;
  border-radius: var(--radius-lg);
}

/* ----------  Stats panel  ---------- */
.stats-panel {
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.stats-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at top right, rgba(122,167,173,.3), transparent 50%);
  pointer-events: none;
}
.stats-panel .stat { position: relative; }
.stats-panel .stat strong {
  font-family: var(--heading); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  display: block; line-height: 1; color: var(--secondary-light);
}
.stats-panel .stat span { font-size: .78rem; letter-spacing: .1em; opacity: .85; font-family: var(--heading); font-weight: 600; text-transform: uppercase; }

/* ----------  Testimonial  ---------- */
.testimonial {
  font-family: var(--heading);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 600;
  position: relative;
  padding-left: 2.5rem;
}
.testimonial::before {
  content: "\201C"; position: absolute; left: -.4rem; top: -1.6rem;
  font-size: 6rem; color: var(--secondary); font-family: var(--heading); line-height: 1;
  opacity: .5;
}
.testimonial cite {
  display: block;
  font-family: var(--sans); font-style: normal;
  font-size: .9rem; color: var(--muted); margin-top: 1.5rem; letter-spacing: .04em;
}
.testimonial cite strong { color: var(--ink); display: block; font-family: var(--heading); font-weight: 700; }

/* ----------  Testimonial cards (multi-testimonial grid) ---------- */
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  height: 100%;
  transition: all .4s var(--ease);
  position: relative;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.testi-card .stars { color: var(--accent); font-size: 1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testi-card blockquote { font-family: var(--sans); font-size: .97rem; color: var(--body); line-height: 1.7; margin: 0 0 1.5rem; font-style: italic; }
.testi-card .testi-author { display: flex; align-items: center; gap: .9rem; }
.testi-card .testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--secondary); color: #fff;
  display: grid; place-items: center;
  font-family: var(--heading); font-weight: 700; font-size: .9rem;
  flex-shrink: 0; overflow: hidden;
}
.testi-card .testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-card .testi-name { font-family: var(--heading); font-weight: 700; font-size: .9rem; color: var(--ink); }
.testi-card .testi-role { font-size: .8rem; color: var(--muted); }

/* ----------  CTA band  ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -100px; bottom: -100px; width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band .lede { color: rgba(255,255,255,.85); }
.cta-band .btn-primary-mcm { background: #fff; color: var(--primary); border-color: #fff; }
.cta-band .btn-primary-mcm:hover { background: var(--paper-2); color: var(--primary-dark); border-color: var(--paper-2); }
.cta-band .btn-outline-mcm { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-outline-mcm:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* ----------  Footer  ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 5.5rem 0 2.5rem;
  position: relative;
}
.footer h5 {
  color: #fff; font-family: var(--heading); font-size: .75rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 1.5rem;
}
.footer a { color: rgba(255,255,255,.65); display: block; padding: .3rem 0; font-size: .92rem; transition: all .25s var(--ease); }
.footer a:hover { color: var(--secondary-light); padding-left: 5px; }
.footer .brand-mark { color: #fff; }
.footer .brand-mark:hover { color: var(--secondary-light); }
.footer .brand-mark .mark-glyph { background: var(--secondary); }
.footer .social-row a {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 0;
  margin-right: .5rem;
  transition: all .3s var(--ease);
  font-size: 1rem;
}
.footer .social-row a:hover { background: var(--secondary); color: #fff; padding-left: 0; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem; margin-top: 3.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { display: inline; padding: 0; }

/* ----------  Page header (inner pages)  ---------- */
.page-header {
  position: relative;
  background:
    radial-gradient(900px 500px at 80% -20%, rgba(122,167,173,.25), transparent 60%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77,88,90,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,88,90,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.5), transparent 70%);
  pointer-events: none;
}
.breadcrumb-mcm { font-size: .8rem; letter-spacing: .06em; color: var(--muted); position: relative; z-index: 2; font-family: var(--heading); font-weight: 500; }
.breadcrumb-mcm a { color: var(--muted); }
.breadcrumb-mcm a:hover { color: var(--primary); }
.breadcrumb-mcm .sep { margin: 0 .5rem; }

/* ----------  Forms  ---------- */
.form-mcm .form-label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-light); font-weight: 700; margin-bottom: .45rem;
  font-family: var(--heading);
}
.form-mcm .form-control,
.form-mcm .form-select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  font-size: .95rem;
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  transition: all .25s var(--ease);
  width: 100%;
}
.form-mcm .form-control:focus,
.form-mcm .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(122,167,173,.18);
  outline: none;
}
.form-mcm textarea.form-control { min-height: 140px; resize: vertical; }
.form-mcm .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-mcm .form-check-input:focus { box-shadow: 0 0 0 4px rgba(122,167,173,.18); border-color: var(--secondary); }

/* CF7 specific */
.form-mcm .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.form-mcm .wpcf7-text,
.form-mcm .wpcf7-email,
.form-mcm .wpcf7-tel,
.form-mcm .wpcf7-textarea,
.form-mcm .wpcf7-select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  font-size: .95rem;
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  transition: all .25s var(--ease);
  width: 100%;
  display: block;
}
.form-mcm .wpcf7-text:focus,
.form-mcm .wpcf7-email:focus,
.form-mcm .wpcf7-tel:focus,
.form-mcm .wpcf7-textarea:focus,
.form-mcm .wpcf7-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(122,167,173,.18);
  outline: none;
}
.form-mcm .wpcf7-textarea { min-height: 140px; resize: vertical; }
.form-mcm .wpcf7-checkbox { display: block; }
.form-mcm .wpcf7-list-item { margin: 0; }
.form-mcm .form-check label { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--muted); }
.form-mcm .form-check input[type="checkbox"] { margin-top: 4px; }
.form-mcm .btn-primary-mcm { border: none; cursor: pointer; }
.form-mcm .wpcf7-spinner { display: none; }
.form-mcm .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  font-family: var(--sans);
  font-size: .9rem;
}
.form-mcm .wpcf7-mail-sent-ok { background: rgba(122,167,173,.15) !important; border-color: var(--secondary) !important; color: var(--secondary-dark) !important; }
.form-mcm .wpcf7-validation-errors,
.form-mcm .wpcf7-spam-blocked { background: rgba(192,57,43,.08) !important; border-color: #c0392b !important; color: #c0392b !important; }
.form-mcm .wpcf7-not-valid-tip { font-size: .78rem; color: #c0392b; margin-top: 4px; display: block; font-family: var(--heading); font-weight: 600; }
.form-mcm .wpcf7-not-valid { border-color: #c0392b !important; }

/* ----------  Blog cards  ---------- */
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: all .35s var(--ease); height: 100%;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.post-card .post-image { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.post-card .post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-image img { transform: scale(1.06); }
.post-card .post-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.post-card .post-meta { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; font-family: var(--heading); font-weight: 600; }
.post-card h3 { font-size: 1.15rem; margin-bottom: .7rem; }
.post-card p { color: var(--primary-light); font-size: .92rem; margin-bottom: 1.2rem; flex: 1; }

/* ----------  FAQ  ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start;
  font-family: var(--heading); font-size: 1.1rem; color: var(--ink); font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line);
  display: grid; place-items: center; color: var(--primary);
  transition: all .3s var(--ease); font-size: 1.1rem;
}
.faq-item[open] summary .plus { background: var(--primary); color: #fff; transform: rotate(45deg); border-color: var(--primary); }
.faq-item .faq-answer { padding-top: 1rem; color: var(--primary-light); max-width: 70ch; }

/* ----------  Reveal animation  ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }
[data-reveal-delay="3"] { transition-delay: .36s; }
[data-reveal-delay="4"] { transition-delay: .48s; }

/* ----------  Industry icon grid  ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.industry-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem; text-align: center;
  transition: all .35s var(--ease);
}
.industry-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.industry-item .ind-icon { font-size: 2rem; color: var(--secondary-dark); margin-bottom: .8rem; }
.industry-item h4 { font-size: .9rem; margin-bottom: .4rem; }
.industry-item p { font-size: .8rem; color: var(--muted); margin: 0; }

/* ----------  Utility  ---------- */
.text-primary-mcm { color: var(--primary) !important; }
.text-secondary-mcm { color: var(--secondary-dark) !important; }
.text-ink { color: var(--ink) !important; }
.bg-paper { background: var(--paper-2) !important; }
.bg-primary-mcm { background: var(--primary) !important; }
.divider-thin { height: 1px; background: var(--line); border: 0; margin: 0; }
.fw-medium { font-weight: 600 !important; }

/* Focus visible */
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }
/* Selection */
::selection { background: var(--secondary); color: #fff; }

/* ----------  Mobile adjustments  ---------- */
@media (max-width: 991.98px) {
  .hero-visual { margin-top: 3rem; }
  .hero-visual .floating-card { left: 0; }
  .hero-visual .badge-card { right: 0; }
  .stats-panel { padding: 2.5rem 1.8rem; }
}
@media (max-width: 767.98px) {
  .section { padding: clamp(3rem, 7vw, 5rem) 0; }
  .section-header { margin-bottom: 2.5rem; }
  .step-row { grid-template-columns: 55px 1fr; gap: 1.2rem; }
  .step-row .step-num { font-size: 2rem; }
  .cta-band { padding: 2.5rem 1.8rem; }
  .service-card { padding: 1.8rem 1.6rem; }
}
@media (max-width: 575.98px) {
  .hero-meta { gap: 1.5rem; }
  .hero-meta .stat strong { font-size: 1.6rem; }
  .hero-visual .floating-card { max-width: 240px; }
  .footer { padding: 4rem 0 2rem; }
}

/* ----------  Elementor compatibility  ---------- */
.elementor-section .container { max-width: 100%; }
.elementor-widget-container .service-card,
.elementor-widget-container .post-card,
.elementor-widget-container .testi-card { height: auto; }
.e-con-inner > .service-card { height: 100%; }

/* ----------  Nav Dropdowns  ---------- */

/* Chevron arrow */
.navbar-mcm .nav-link.has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
}
.navbar-mcm .nav-link.has-dropdown .nav-arrow {
  width: 10px; height: 10px;
  flex-shrink: 0;
  transition: transform .25s var(--ease);
  color: var(--secondary-dark);
  display: inline-block;
}
.navbar-mcm .nav-link.has-dropdown.mcm-open .nav-arrow {
  transform: rotate(180deg);
  color: var(--secondary);
}

/* Dropdown panel — hidden by default, shown by JS */
ul.mcm-dropdown {
  display: none !important;
  visibility: hidden;
  list-style: none;
  margin: 0;
  padding: .5rem 0;
  background: var(--primary-dark);
  border: 1px solid rgba(122,167,173,.3);
  border-top: 2px solid var(--secondary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 16px 40px -8px rgba(31,38,40,.5);
}
/* JS sets display:block via inline style which overrides !important */
ul.mcm-dropdown[style*="display:block"],
ul.mcm-dropdown[style*="display: block"] {
  display: block !important;
  visibility: visible;
}

ul.mcm-dropdown li {
  list-style: none;
  margin: 0; padding: 0;
}

ul.mcm-dropdown .dropdown-item {
  display: block;
  font-family: var(--heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  padding: .7rem 1.4rem;
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  position: relative;
  transition: background .15s, color .15s, padding-left .15s;
}
ul.mcm-dropdown .dropdown-item::before {
  content: "";
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transform: scaleY(0);
  transition: transform .15s;
}
ul.mcm-dropdown .dropdown-item:hover,
ul.mcm-dropdown .dropdown-item:focus {
  background: rgba(122,167,173,.15);
  color: #fff;
  padding-left: 1.9rem;
  text-decoration: none;
}
ul.mcm-dropdown .dropdown-item:hover::before {
  transform: scaleY(1);
}
ul.mcm-dropdown .dropdown-item.active {
  color: var(--secondary-light);
  background: rgba(122,167,173,.2);
}
/* Temporary staffing page specific styles */
.hero-stats-card {
  background: var(--card-bg, #fff);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.hero-stat:last-child {
  border-bottom: none;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary, #0056b3);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: #666;
}

.badge-temp,
.badge-popular {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-temp {
  background: #e8f0fe;
  color: #0056b3;
}

.badge-popular {
  background: #d4edda;
  color: #155724;
}

/* Industry cards - icons fixed with wrapper */
.industry-card {
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
}

.industry-icon-wrapper {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.industry-icon-wrapper i {
  font-size: 2.5rem;
}

/* Process steps */
.process-step {
  padding: 1.5rem;
  background: #fff;
  border-radius: 20px;
  position: relative;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--primary, #0056b3);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.process-icon-wrapper {
  margin-top: 0.5rem;
}

.process-icon-wrapper i {
  font-size: 2rem;
}

/* Comparison cards */
.comparison-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: 1px solid #eef2f6;
}

.comparison-header {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f6;
}

.comparison-body {
  padding: 1.5rem;
}

.comparison-body p {
  margin-bottom: 0.75rem;
}

.comparison-body p:last-child {
  margin-bottom: 0;
}

/* FAQ cards */
.faq-card {
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  border-left: 3px solid var(--secondary, #6c757d);
  height: 100%;
}

.faq-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.faq-card p {
  margin-bottom: 0;
  color: #555;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  padding-left: 1.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-stat-number {
    font-size: 1.5rem;
  }
  
  .hero-stats-card {
    margin-top: 1.5rem;
  }
  
  .step-number {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    top: -10px;
  }
  
  .comparison-header h3 {
    font-size: 1.2rem;
  }
}
/* Mobile inline dropdown */
@media (max-width: 991.98px) {
  ul.mcm-dropdown {
    border: 0 !important;
    border-left: 3px solid var(--secondary) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: rgba(53,62,64,.07) !important;
    margin: .2rem 0 .4rem 1rem !important;
    padding: .2rem 0 !important;
    min-width: 0 !important;
  }
  ul.mcm-dropdown .dropdown-item {
    color: var(--primary) !important;
    padding: .55rem 1rem !important;
    white-space: normal !important;
  }
  ul.mcm-dropdown .dropdown-item:hover {
    color: var(--secondary-dark) !important;
    padding-left: 1.4rem !important;
    background: rgba(122,167,173,.1) !important;
  }
}
