/* =========================================================
   MARIE Staffing Services — Services Page Styles (services.css)
   Page-specific styles only. Not shared with other pages.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

@font-face {
  font-family: 'Hando Trial';
  src: url('assets/fonts/HandoTrial-Bold.woff2') format('woff2'),
       url('assets/fonts/HandoTrial-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root{
  --services-cream: #F9CE04;
  --services-gold-radiant: linear-gradient(90deg, #997334 0%, #F9CE04 13%, #C6A54E 36%, #9B7636 50%, #F8CC0E 63%, #C6A54E 86%, #997334 100%);
  --services-cream-soft: #FDF7DE;
  --services-green: #054F1E;
  --services-green-deep: #043916;
  --services-gray: #939598;
  --services-gray-light: #DAD8D1;
  --services-green-tint: #E3ECE1;
  --services-dark: #262729;
  --services-white: #FDFBF6;

  --services-display: 'Hando Trial', 'Arial Black', 'Helvetica Neue', sans-serif;
  --services-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --services-container: 1240px;
  --services-gutter: clamp(24px, 6vw, 96px);
  --services-radius: 28px;
  --services-radius-sm: 14px;

  --services-ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background:
    radial-gradient(circle at 88% 2%, rgba(249, 206, 4, 0.56), transparent 56%),
    radial-gradient(circle at 2% 82%, rgba(5, 79, 30, 0.46), transparent 58%),
    var(--services-green-tint);
  color: var(--services-dark);
  font-family: var(--services-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; font-family: var(--services-display); font-weight:700; }
p{ margin:0; }
button{ font-family: inherit; cursor: pointer; }

.services-visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible{
  outline: 2.5px solid var(--services-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Shared small pieces ---------- */
.services-eyebrow{
  display:inline-block;
  font-family: var(--services-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--services-green);
  margin-bottom: 14px;
}

.services-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--services-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform .35s var(--services-ease), background-color .3s var(--services-ease), color .3s var(--services-ease), border-color .3s var(--services-ease);
  white-space: nowrap;
}
.services-button-primary{
  background: var(--services-green);
  color: var(--services-white);
}
.services-button-primary:hover{ background: var(--services-green-deep); transform: translateY(-2px); }

.services-button-outline-light{
  background: transparent;
  border-color: var(--services-cream);
  color: var(--services-cream);
}
.services-button-outline-light:hover{ background: var(--services-gold-radiant); color: var(--services-green-deep); transform: translateY(-2px); }

.services-button-cream{
  background: var(--services-gold-radiant);
  color: var(--services-green-deep);
}
.services-button-cream:hover{ background: var(--services-white); transform: translateY(-2px); }

/* Scroll fade-in */
.services-fade{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--services-ease), transform .6s var(--services-ease);
}
.services-fade.services-fade-visible{
  opacity: 1;
  transform: translateY(0);
}
.services-logo, .services-footer-logo{
  display: flex;
  align-items: center;
}

/* =========================================================
   COMPACT HERO
   ========================================================= */
.services-hero{
  max-width: var(--services-container);
  margin: 0 auto;
  padding: clamp(32px, 4.5vw, 56px) var(--services-gutter) 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.services-hero-copy{ position: relative; z-index: 1; }
.services-hero-heading{
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin-bottom: 14px;
}
.services-hero-text{
  font-size: 16px;
  line-height: 1.65;
  color: rgba(38,39,41,0.72);
  max-width: 620px;
}
.services-hero-visual{ position: relative; }
.services-hero-photo{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--services-radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(5,79,30,0.35);
}
.services-hero-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.services-hero-photo-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(5,79,30,0.04) 0%, rgba(4,57,22,0.28) 100%);
}
.services-hero-photo-accent{
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: var(--services-cream);
}
@media (max-width: 900px){
  .services-hero{ grid-template-columns: 1fr; }
  .services-hero-visual{ order: -1; max-width: 340px; margin: 0 auto; }
}




/* =========================================================
   SERVICES SHOWCASE — TABS
   ========================================================= */
.services-showcase{
  max-width: var(--services-container);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) var(--services-gutter) 0;
}

.services-tablist{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(5, 79, 30, 0.14);
  padding-bottom: 0;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.services-tablist::-webkit-scrollbar{ display: none; }

.services-tab{
  flex: none;
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  padding: 12px 20px 14px;
  font-family: var(--services-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(38,39,41,0.55);
  transition: color .25s var(--services-ease), border-color .25s var(--services-ease);
  white-space: nowrap;
}
.services-tab:hover{ color: var(--services-green); }
.services-tab-active{
  color: var(--services-green);
  border-bottom-color: var(--services-green);
}

.services-panel[hidden]{ display: none; }

.services-panel-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 56px);
}

.services-panel-main{ max-width: 560px; }
.services-service-label{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--services-green);
  margin-bottom: 12px;
}
.services-panel-headline{
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.18;
  margin-bottom: 14px;
}
.services-panel-desc{
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(38,39,41,0.75);
  margin-bottom: 26px;
}
.services-panel-actions{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.services-panel-metric{
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(38,39,41,0.68);
  max-width: 42ch;
  padding-left: 16px;
  border-left: 2px solid var(--services-cream);
}
.services-panel-metric strong{ color: var(--services-green); }

/* ---------- Collapsible client stories ---------- */
.services-stories{
  padding-top: 4px;
}
.services-stories-toggle{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 999px;
  font-family: var(--services-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--services-dark);
  background: var(--services-cream-soft);
  border: 1px solid rgba(5, 79, 30, 0.14);
  transition: background-color .2s var(--services-ease), border-color .2s var(--services-ease), transform .2s var(--services-ease);
}
.services-stories-toggle:hover{
  background: var(--services-green-tint);
  border-color: var(--services-green);
  transform: translateY(-1px);
}
.services-stories-toggle::-webkit-details-marker{ display: none; }
.services-stories-toggle::after{
  content: '+';
  flex: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--services-display);
  font-size: 18px;
  line-height: 1;
  color: var(--services-white);
  background: var(--services-green);
  border-radius: 50%;
  margin-left: auto;
  transition: transform .25s var(--services-ease), background-color .25s var(--services-ease);
}
.services-stories-toggle:hover::after{ background: var(--services-green-deep); }
.services-stories[open] .services-stories-toggle::after{
  content: '\2013';
}
.services-stories[open] .services-stories-toggle{
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}
.services-stories-count{
  font-family: var(--services-body);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--services-green);
  background: var(--services-white);
  border: 1px solid rgba(5, 79, 30, 0.14);
  border-radius: 999px;
  padding: 3px 9px;
  margin-right: auto;
  margin-left: 10px;
}

.services-stories-list{
  padding-top: 4px;
  padding-bottom: 8px;
  max-height: 340px;
  overflow-y: auto;
}
.services-caseitem{
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(5, 79, 30, 0.1);
}
.services-caseitem:first-child{ border-top: none; }
.services-case-num{
  font-family: var(--services-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--services-green);
  padding-top: 2px;
}
.services-case-title-min{
  font-family: var(--services-display);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--services-dark);
  margin-bottom: 5px;
}
.services-case-text-min{
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(38,39,41,0.7);
}
.services-case-text-min strong{ color: var(--services-green); }

/* =========================================================
   CTA
   ========================================================= */
.services-cta{
  background:
    radial-gradient(circle at 82% 20%, rgba(249, 206, 4, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(38,39,41,0.72) 0%, rgba(38,39,41,0.80) 100%),
    url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS0YuhVfaxfqeec6TX0FfEYSaSVXrTQ_l9op8g4B67z6Jl48icw-tJLHoM&s=10') center;
  padding: clamp(52px, 7vw, 88px) var(--services-gutter);
  margin-top: clamp(20px, 3vw, 32px);
}
.services-cta-inner{
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.services-cta-heading{
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--services-white);
  line-height: 1.18;
  margin-bottom: 26px;
}
.services-cta-actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px){
  .services-logo-img-full{ display: none; }
}@media (max-width: 900px){
  .services-panel-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .services-panel-main{ max-width: 100%; }
}@media (max-width: 860px){
}@media (max-width: 640px){

  .services-hero{ padding-top: clamp(24px, 6vw, 40px); }

  .services-tablist{ gap: 4px; }
  .services-tab{ padding: 10px 14px 12px; font-size: 13px; }

  .services-panel-actions{ width: 100%; }
  .services-panel-actions .services-button{ width: 100%; }

  .services-cta-actions{ flex-direction: column; width: 100%; }
  .services-cta-actions .services-button{ width: 100%; }
}

/* =========================================================
   GLOBAL HEADER & FOOTER — UNIFIED REDESIGN
   (Overrides earlier rules of the same selectors below.
   Page-specific content/buttons above are untouched.)
   ========================================================= */

/* ---------- Header ---------- */
.services-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--services-green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  transition: box-shadow .25s ease;
}
.services-header.services-header-scrolled{
  box-shadow: 0 4px 18px rgba(4, 20, 10, 0.08);
}
.services-header-inner{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 15px 25px;
}
.services-logo{ display: flex; align-items: center; margin-right: auto; }
.services-logo-img{
  height: 70px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.services-logo-img-mark{ display: none; }

.services-nav-list{
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-nav-link{
  position: relative;
  display: inline-block;
  padding: 6px 1px;
  font-family: var(--services-body);
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color .2s ease;
}
.services-nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--services-green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.services-nav-link:hover{ color: var(--services-cream); }
.services-nav-link:hover::after,
.services-nav-link-active::after{ transform: scaleX(1); }
.services-nav-link-active{ color: var(--services-cream); }
.services-nav-link:focus-visible{
  outline: 2px solid var(--services-cream);
  outline-offset: 4px;
  border-radius: 2px;
}

.services-header-actions{
  display: flex;
  align-items: center;
  gap: 18px;
}
.services-header-actions .services-button-primary{
  padding: 15px 25px;
  font-size: 15px;
}

.services-hamburger{
  display: none;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.services-hamburger:focus-visible{
  outline: 2px solid var(--services-green);
  outline-offset: 2px;
  border-radius: 4px;
}
.services-hamburger-line{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--services-cream);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.services-hamburger.services-hamburger-open .services-hamburger-line:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.services-hamburger.services-hamburger-open .services-hamburger-line:nth-child(2){ opacity: 0; }
.services-hamburger.services-hamburger-open .services-hamburger-line:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

.services-mobile-nav{
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  background: var(--services-green-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 24px;
  transition: max-height .3s ease, padding .3s ease;
}
.services-mobile-nav.services-mobile-nav-open{
  max-height: 520px;
  padding: 18px 24px 24px;
}
.services-mobile-nav-list{
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.services-mobile-nav-link{
  display: block;
  padding: 12px 4px;
  font-family: var(--services-body);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.services-mobile-nav-link-active{ color: var(--services-cream); }
.services-mobile-cta{ width: 100%; text-align: center; }

/* Gold CTA button on green header/mobile-nav backgrounds */
.services-header-actions .services-button-primary,
.services-mobile-nav .services-button-primary{
  background: var(--services-gold-radiant);
  color: var(--services-green-deep);
  border-color: transparent;
}
.services-header-actions .services-button-primary:hover,
.services-mobile-nav .services-button-primary:hover{
  background: var(--services-cream-soft);
  color: var(--services-green-deep);
}

@media (max-width: 1024px){
  .services-nav{ display: none; }
  .services-hamburger{ display: flex; }
  .services-mobile-nav{ display: flex; }
  .services-header-actions .services-button-primary{ display: none; }
  .services-header-inner{ padding: 15px 20px; }
  .services-logo-img-mark{ display: block; }
  .services-logo-img{ height: 38px; }
}

/* ---------- Footer ---------- */
.services-footer{
  background: var(--services-green-deep);
  padding: clamp(52px, 6vw, 76px) var(--services-gutter) 28px;
}
.services-footer-top{
  max-width: var(--services-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.services-footer-brand{ max-width: 240px; }
.services-footer-logo{ display: inline-flex; }
.services-footer-logo-img{
  width: 190px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.services-footer-desc{
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}
.services-footer-heading{
  font-family: var(--services-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--services-cream);
  margin-bottom: 18px;
}
.services-footer-list{ display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.services-footer-link{
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color .2s ease;
}
.services-footer-link:hover{ color: var(--services-cream); }
.services-footer-text{
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.60);
}
.services-footer-bottom{
  max-width: var(--services-container);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.services-footer-copyright{
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.48);
}
.services-footer-social{ display: flex; gap: 10px; }
.services-social-link{
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.services-social-link:hover{
  background: var(--services-green);
  border-color: var(--services-green);
  color: var(--services-white);
}

@media (max-width: 1024px){
  .services-footer-top{ grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .services-footer-brand{ grid-column: 1 / -1; max-width: none; }
}

/* ---------- Footer: mobile-only condensed row ----------
   Desktop/tablet keep the full column layout above untouched.
   Below 640px, collapse to a single row: logo, copyright, social. */
@media (max-width: 640px){
  .services-footer{ padding: 32px 20px 24px; }
  .services-footer-top{
    grid-template-columns: 1fr;
    border-bottom: none;
    padding-bottom: 0;
    justify-items: center;
    text-align: center;
  }
  .services-footer-brand{ max-width: none; }
  .services-footer-desc{ display: none; }
  .services-footer-col{ display: none; }
  .services-footer-bottom{
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    padding-top: 18px;
  }
}
