/* ============================================================
   OutsourceZen AI — Marketing Home
   Brand system derived from the Design Specification (v1.0)
   ============================================================ */

:root {
  /* Color palette */
  --navy:      #1B2A4A;
  --navy-2:    #243B6E;
  --navy-3:    #2E4170;
  --orange:    #F47B20;
  --orange-d:  #db6a14;
  --blue:      #2E75B6;
  --bg:        #F4F6F9;
  --white:     #FFFFFF;
  --gray:      #D0D5DD;
  --gray-2:    #98A2B3;
  --ink:       #2A3447;
  --warm:      #FFF3E8;
  --cool:      #EBF3FB;
  --success:   #43A047;

  /* Type */
  --display: "Poppins", system-ui, sans-serif;
  --body:    "Inter", system-ui, sans-serif;

  /* Spacing scale (8px base) */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --maxw: 1200px;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
  --shadow:    0 4px 16px rgba(16, 24, 40, .08);
  --shadow-lg: 0 18px 48px rgba(16, 24, 40, .16);
  --ease: 200ms cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s4); }

section { position: relative; }

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); display: inline-block; }
.eyebrow.center { justify-content: center; }

.section-head { max-width: 680px; margin: 0 auto var(--s6); text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 600; margin-top: 14px; }
.section-head p { color: #5b6577; font-size: 18px; margin-top: 16px; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease), color var(--ease), border-color var(--ease);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(244,123,32,.32); }
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 28px rgba(244,123,32,.4); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow); }
.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }
.btn-outline-white:hover { background: #fff; color: var(--navy); border-color:#fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-lg); }
.btn-danger { background: #e53935; color: #fff; border-color: #e53935; box-shadow: 0 4px 12px rgba(229,57,53,.25); }
.btn-danger:hover { background: #c62828; border-color: #c62828; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(229,57,53,.35); }
.btn-lg { padding: 17px 34px; font-size: 16px; }

.ghost-link {
  font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--orange);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--ease);
}
.ghost-link svg { width: 16px; height: 16px; transition: transform var(--ease); }
.ghost-link:hover { gap: 10px; }
.ghost-link:hover svg { transform: translateX(2px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--ease), box-shadow var(--ease), padding var(--ease);
  padding: 20px 0;
}
.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(16,24,40,.08), var(--shadow-sm); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--orange), #ff9d4d);
  display: grid; place-items: center; color: #fff; font-family: var(--display);
  font-weight: 700; font-size: 20px; box-shadow: 0 6px 16px rgba(244,123,32,.35);
  position: relative; overflow: hidden;
}
.logo-mark::after { content:""; position:absolute; inset:0; background:linear-gradient(135deg,transparent 40%,rgba(255,255,255,.35)); }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--navy); letter-spacing: -.01em; line-height: 1; }
.logo-text small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .18em; color: var(--orange); margin-top: 3px; }
.nav.over-hero .logo-text { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--ink);
  text-decoration: none; padding: 8px 14px; border-radius: 8px; position: relative;
  transition: color 150ms ease, background var(--ease);
}
.nav-links a::after {
  content:""; position:absolute; left:14px; right:14px; bottom:2px; height:2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform var(--ease);
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav.over-hero .nav-links a { color: rgba(255,255,255,.85); }
.nav.over-hero .nav-links a:hover { color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }
.nav.over-hero .btn-outline-navy { border-color: rgba(255,255,255,.55); color:#fff; }
.nav.over-hero .btn-outline-navy:hover { background:#fff; color: var(--navy); border-color:#fff; }

.hamburger { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; border-radius: 2px; transition: var(--ease); }
.nav.over-hero .hamburger span { background: #fff; }

/* mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--navy);
  display: flex; flex-direction: column; padding: 28px var(--s4);
  transform: translateY(-100%); transition: transform 320ms cubic-bezier(.22,.61,.36,1);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .mm-close { background:none; border:none; color:#fff; font-size: 34px; cursor:pointer; line-height:1; width:44px;height:44px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.mobile-menu nav a { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 26px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .mm-cta { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.mobile-menu .mm-cta .btn { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    linear-gradient(to top left, rgba(240,132,15,0.45) 0%, rgba(240,132,15,0.20) 20%, rgba(16,32,106,0.15) 45%, transparent 70%),
    radial-gradient(1100px 600px at 78% -10%, rgba(244,123,32,.18), transparent 60%),
    radial-gradient(800px 500px at 5% 110%, rgba(46,117,182,.22), transparent 55%),
    linear-gradient(160deg, rgba(15,31,75,0.65) 0%, rgba(26,45,107,0.60) 100%),
    url('OZ BG3.png') center center / cover no-repeat;
  color: #fff; padding: 168px 0 110px; overflow: hidden;
}
.hero::before {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(160deg, #000 35%, transparent 80%);
  pointer-events:none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--s6); align-items: center; position: relative; }

.hero .eyebrow { color: #ffb979; }
.hero .eyebrow::before { background: #ffb979; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; margin: 20px 0 22px; }
.hero h1 .hl { color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content:""; position:absolute; left:0; right:0; bottom:6px; height:12px; background: rgba(244,123,32,.25); z-index:-1; border-radius:4px; }
.hero p.lede { font-size: 19px; color: rgba(255,255,255,.82); max-width: 520px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.trust-strip { display: flex; gap: 0; margin-top: 52px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; }
.trust-item { padding-right: 30px; margin-right: 30px; border-right: 1px solid rgba(255,255,255,.14); }
.trust-item:last-child { border-right: none; }
.trust-num { font-family: var(--display); font-weight: 700; font-size: 30px; color: #fff; line-height: 1; }
.trust-num .u { color: var(--orange); }
.trust-label { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 6px; letter-spacing: .02em; }

/* hero visual */
.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.18); aspect-ratio: 4/5; position: relative;
}
.hero-visual image-slot { width: 100%; height: 100%; display:block; }
.float-card {
  position: absolute; background: #fff; color: var(--navy); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  animation: floaty 5s ease-in-out infinite; z-index: 10;
}
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 10px; display:grid; place-items:center; flex:none; }
.float-card .fc-t { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.1; }
.float-card .fc-s { font-size: 12px; color: #66708a; }
.float-card.fc-1 { top: 24px; left: -34px; }
.float-card.fc-2 { bottom: 40px; right: -30px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============================================================
   DUAL CTA SPLIT
   ============================================================ */
.dual { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.dual-panel { padding: var(--s7) var(--s6); display: flex; justify-content: center; }
.dual-applicant { background: var(--warm); }
.dual-employer { background: var(--cool); }
.dual-inner { max-width: 460px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.dual-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.dual-applicant .dual-ico { background: var(--orange); color:#fff; box-shadow: 0 10px 24px rgba(244,123,32,.32); }
.dual-employer .dual-ico { background: var(--navy); color:#fff; box-shadow: 0 10px 24px rgba(27,42,74,.28); }
.dual-ico svg { width: 30px; height: 30px; }
.dual-panel h3 { font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.dual-panel p { color: #5b6577; font-size: 16px; margin-bottom: 26px; max-width: 380px; }
.dual-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; z-index: 3;
}
.dual-divider .logo-mark { width: 56px; height: 56px; border-radius: 16px; font-size: 26px; box-shadow: var(--shadow-lg), 0 0 0 8px var(--white); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: var(--s8) 0; background: var(--white); position: relative; overflow: hidden; }
/* Faded logo watermark behind the "What We Offer" heading */
.services::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(620px, 80%); height: 380px;
  background: url('oz-logo.png') center top / contain no-repeat;
  opacity: 0.06; pointer-events: none; z-index: 0;
}
.services .container { position: relative; z-index: 1; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.svc-card {
  background: #fff; border: 1px solid var(--gray); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.svc-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--orange); transform: scaleX(0); transform-origin:left; transition: transform var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico { width: 54px; height: 54px; border-radius: 14px; background: rgba(244,123,32,.1); color: var(--orange); display: grid; place-items: center; margin-bottom: 20px; transition: var(--ease); }
.svc-ico svg { width: 28px; height: 28px; }
.svc-card:hover .svc-ico { background: var(--orange); color: #fff; }
.svc-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.svc-card p { color: #5b6577; font-size: 15px; margin-bottom: 20px; }

/* ============================================================
   WHY US
   ============================================================ */
.why { padding: var(--s8) 0; background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.why-item { text-align: center; }
.why-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--orange); color:#fff; display:grid; place-items:center; margin: 0 auto 20px; box-shadow: 0 12px 28px rgba(244,123,32,.28); transition: transform var(--ease); }
.why-item:hover .why-ico { transform: translateY(-6px) rotate(-4deg); }
.why-ico svg { width: 32px; height: 32px; }
.why-item h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.why-item p { color: #5b6577; font-size: 15px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding: var(--s8) 0; background: var(--white); }
.tabs { display: inline-flex; background: var(--bg); border-radius: 12px; padding: 5px; gap: 4px; margin: 0 auto var(--s6); position: relative; }
.tab-btn {
  font-family: var(--display); font-weight: 600; font-size: 15px; color: #5b6577;
  background: none; border: none; cursor: pointer; padding: 11px 26px; border-radius: 9px;
  transition: color var(--ease); position: relative; z-index: 2;
}
.tab-btn.active { color: #fff; }
.tab-ind { position: absolute; top: 5px; bottom: 5px; border-radius: 9px; background: var(--navy); transition: transform 320ms cubic-bezier(.22,.61,.36,1), width 320ms cubic-bezier(.22,.61,.36,1); z-index:1; }
.tabs-wrap { text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); position: relative; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color:#fff; font-family: var(--display); font-weight: 700; font-size: 24px; display:grid; place-items:center; margin: 0 auto 22px; position: relative; z-index: 2; box-shadow: 0 10px 24px rgba(244,123,32,.3); }
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.step p { color: #5b6577; font-size: 15px; max-width: 280px; margin: 0 auto; }
.step-arrow { position: absolute; top: 32px; right: -12px; color: var(--gray); z-index: 1; }
.step:last-child .step-arrow { display: none; }
.step-arrow svg { width: 28px; height: 28px; }
.steps.fade { animation: stepfade 360ms ease; }
@keyframes stepfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { padding: var(--s8) 0; background: var(--bg); }
.testi-track-wrap { overflow: hidden; }
.testi-track { display: flex; gap: var(--s3); transition: transform 420ms cubic-bezier(.22,.61,.36,1); }
.testi-card {
  background: #fff; border: 1px solid var(--gray); border-radius: var(--radius);
  padding: 32px; flex: 0 0 calc((100% - var(--s3) * 2) / 3); display: flex; flex-direction: column;
}
.testi-stars { color: var(--orange); display: flex; gap: 2px; margin-bottom: 16px; }
.testi-stars svg { width: 18px; height: 18px; }
.testi-quote { font-size: 16px; color: var(--ink); font-style: italic; line-height: 1.6; flex: 1; }
.testi-foot { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color:#fff; font-family: var(--display); font-weight: 700; display:grid; place-items:center; flex:none; }
.testi-name { font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 15px; }
.testi-role { font-size: 13px; color: #66708a; }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: var(--s5); }
.testi-arrow { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gray); background:#fff; cursor:pointer; display:grid; place-items:center; color: var(--navy); transition: var(--ease); }
.testi-arrow:hover { border-color: var(--orange); color: var(--orange); }
.testi-arrow:disabled { opacity: .35; cursor: not-allowed; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray); border:none; cursor:pointer; transition: var(--ease); }
.testi-dot.active { background: var(--orange); width: 26px; border-radius: 5px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { padding: var(--s8) 0; }
.final-inner {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 45%, var(--orange) 135%);
  border-radius: 28px; padding: var(--s7) var(--s6); text-align: center; color:#fff;
  position: relative; overflow: hidden;
}
.final-inner::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; }
.final-inner > * { position: relative; }
.final-inner h2 { color:#fff; font-size: clamp(30px, 4vw, 44px); font-weight: 700; max-width: 760px; margin: 0 auto 16px; }
.final-inner p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 540px; margin: 0 auto 34px; }
.final-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: var(--s7) 0 var(--s4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: var(--s6); }
.footer .logo-text { color: #fff; }
.footer .tagline { font-family: var(--display); font-weight: 600; color: #fff; font-size: 17px; margin: 22px 0 14px; }
.footer .blurb { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 15px; transition: color 150ms; }
.footer ul a:hover { color: var(--orange); }
.footer .contact-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.footer .contact-row svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.footer .socials { display: flex; gap: 12px; margin-top: 24px; }
.footer .socials a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); display:grid; place-items:center; color:#fff; transition: var(--ease); }
.footer .socials a:hover { background: var(--orange); transform: translateY(-3px); }
.footer .socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--s6); padding-top: var(--s4); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }
.footer-legal { display: flex; gap: 24px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease-out, transform 600ms cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
.reveal.in.d5, .reveal.d5 { transition-delay: 400ms; }

/* Forced-visible mode for renderers where CSS transitions / IO don't advance */
html.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-visual { max-width: 440px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); }
  .testi-card { flex: 0 0 calc((100% - var(--s3)) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .hero { padding: 130px 0 80px; }
  .hero h1 .hl { white-space: normal; }
  .trust-strip { flex-wrap: wrap; gap: 22px; }
  .trust-item { border-right: none; padding-right: 0; margin-right: 0; flex: 0 0 calc(50% - 11px); }
  .hero-cta .btn { flex: 1; }
  .dual { grid-template-columns: 1fr; }
  .dual-panel { padding: var(--s6) var(--s4); }
  .dual-divider { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--s5); }
  .step-arrow { display: none !important; }
  .testi-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-head { margin-bottom: var(--s5); }
  .services, .why, .how, .testi { padding: var(--s7) 0; }
  /* keep hero float cards on-screen on phones */
  .float-card.fc-1 { left: 8px; }
  .float-card.fc-2 { right: 8px; }
  .hero-visual { margin: 0 auto; }
}

/* Skip-to-content link (accessibility — visible on focus) */
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 300; background: var(--orange); color: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 0 0 10px 10px; text-decoration: none; transition: top 160ms ease; }
.skip-link:focus { top: 0; outline: 3px solid #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   === FUTURISTIC LAYER ENHANCEMENTS ===
   Layered on top of existing styles — no overrides to brand
   colors, fonts, layout structure, or class names.
   ============================================================ */

/* ---- Scroll progress bar ---- */
#oz-progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), #ffb347, var(--orange));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 12px rgba(244,123,32,.8), 0 0 4px rgba(244,123,32,1);
}

/* ---- Star field canvas ---- */
#oz-starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  z-index: 0;
}
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }

/* ---- Hero headline radial orange glow — removed per request ---- */
.hero-copy { position: relative; }
.hero-copy > * { position: relative; z-index: 1; }

/* ---- Hero headline stagger fade-up ---- */
@keyframes oz-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow { animation: oz-fade-up 0.6s ease-out 0.1s both; }
.hero h1       { animation: oz-fade-up 0.7s ease-out 0.2s both; }
.hero .lede    { animation: oz-fade-up 0.7s ease-out 0.35s both; }
.hero-cta      { animation: oz-fade-up 0.7s ease-out 0.5s both; }
.trust-strip   { animation: oz-fade-up 0.7s ease-out 0.65s both; }

/* ---- Hero image frame — glowing breathing border ---- */
.hero-visual .frame {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(244,123,32,0.25);
  animation: oz-frame-glow 3.5s ease-in-out infinite;
}
@keyframes oz-frame-glow {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 18px 2px rgba(244,123,32,0.18), 0 0 0 1px rgba(244,123,32,0.2); }
  50%       { box-shadow: var(--shadow-lg), 0 0 36px 8px rgba(244,123,32,0.32), 0 0 0 1px rgba(244,123,32,0.4); }
}

/* ---- Float cards — smooth bobbing ---- */
.float-card {
  animation: oz-float 3.8s ease-in-out infinite;
}
.float-card.fc-2 {
  animation-duration: 4.4s;
  animation-delay: 0.8s;
}
@keyframes oz-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}

/* ---- Navbar frosted glass on scroll ---- */
.nav.scrolled {
  background: rgba(27, 42, 74, 0.72) !important;
  backdrop-filter: blur(14px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.4) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ---- Nav links — slide-in underline from left ---- */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease-in-out;
  border-radius: 2px;
}
.nav-links a { position: relative; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* ---- CTA button shimmer sweep ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0s;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 125%;
  transition: left 0.55s ease-in-out;
}
.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(244,123,32,.52), 0 0 20px rgba(244,123,32,.28) !important;
}

/* ---- Dual panel — animated diagonal gradient shift ---- */
.dual-applicant {
  background: linear-gradient(135deg, var(--warm) 0%, #ffe8d0 50%, var(--warm) 100%);
  background-size: 200% 200%;
  animation: oz-dual-shift 7s ease-in-out infinite;
}
.dual-employer {
  background: linear-gradient(135deg, var(--cool) 0%, #daeaf7 50%, var(--cool) 100%);
  background-size: 200% 200%;
  animation: oz-dual-shift 7s ease-in-out infinite reverse;
}
@keyframes oz-dual-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- Dual divider — pulsing orange glow line ----
   (keeps the original absolute centering from the layout rules) */
.dual-divider::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--orange), transparent);
  transform: translateX(-50%);
  animation: oz-divider-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes oz-divider-pulse {
  0%, 100% { opacity: 0.3; box-shadow: 0 0 6px rgba(244,123,32,.3); }
  50%       { opacity: 0.8; box-shadow: 0 0 18px rgba(244,123,32,.6); }
}

/* ---- Service cards — orange glow on hover + icon pulse ---- */
.svc-card {
  transition: transform 0.28s ease-in-out, box-shadow 0.28s ease-in-out, border-color 0.28s ease-in-out;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1.5px rgba(244,123,32,0.3), 0 8px 32px rgba(244,123,32,0.12) !important;
}
.svc-card:hover .svc-ico {
  animation: oz-icon-pop 0.35s ease-in-out;
}
@keyframes oz-icon-pop {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.18) rotate(-6deg); }
  70%  { transform: scale(1.12) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* ---- Service cards — stagger fade-up via JS-added classes ---- */
.svc-card.oz-hidden {
  opacity: 0;
  transform: translateY(28px);
}
.svc-card.oz-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(.22,.61,.36,1);
}

/* ---- Trust numbers — count-up target style ---- */
.trust-num[data-count] {
  transition: color 0.3s ease;
}

/* ---- Smooth scroll (already in base, reinforced) ---- */
html { scroll-behavior: smooth; }
