/*
Theme Name: Jobmivo
Theme URI: https://jobmivo.com/
Author: Jobmivo
Description: Final Jobmivo launch theme with unified career-tool design and Theme Studio.
Version: 7.0.0
Text Domain: jobmivo
*/

:root{
  --jm-blue:#2563eb;
  --jm-blue-dark:#1d4ed8;
  --jm-navy:#0f172a;
  --jm-accent:#f59e0b;
  --jm-background:#ffffff;
  --jm-text:#172033;
  --jm-muted:#64748b;
  --jm-soft:#f6f8fc;
  --jm-soft-blue:#eef4ff;
  --jm-line:#e5eaf2;
  --jm-topbar-bg:#0f172a;
  --jm-footer-bg:#0f172a;
  --jm-font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --jm-button-radius:12px;
  --jm-card-radius:18px;
  --jm-shadow:0 18px 50px rgba(15,23,42,.08);
  --jm-shadow-soft:0 10px 30px rgba(15,23,42,.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  font-family:var(--jm-font);
  color:var(--jm-text);
  background:var(--jm-background);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
img{max-width:100%;height:auto}
.jm-wrap{width:min(1200px,calc(100% - 40px));margin:0 auto}

/* TOP BAR */
.jm-top{background:var(--jm-topbar-bg);color:#cbd5e1;font-size:12px}
.jm-top .jm-wrap{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}

/* HEADER */
.jm-header{
  position:relative;
  z-index:1000;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--jm-line);
  backdrop-filter:blur(16px);
}
body.jobmivo-tool-mode .jm-header{
  position:sticky;
  top:0;
  box-shadow:0 8px 30px rgba(15,23,42,.06);
}
.jm-nav{
  min-height:78px;
  display:flex;
  align-items:center;
  gap:28px;
  width:min(1240px,calc(100% - 36px));
}
.jm-logo{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  min-width:150px;
}
.jm-brand-logo{
  display:block!important;
  width:150px!important;
  max-width:150px!important;
  height:auto!important;
  max-height:48px!important;
  object-fit:contain;
  object-position:left center;
}
.jm-logo-text{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:150px;
  white-space:nowrap;
  color:var(--jm-navy);
  font-size:26px;
  font-weight:850;
  letter-spacing:-.035em;
}
.jm-logo-text b{color:var(--jm-blue)}
.jm-menu{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:6px;
}
.jm-menu a{
  padding:10px 11px;
  color:#475569;
  border-radius:9px;
  font-size:13px;
  font-weight:700;
  transition:.18s ease;
}
.jm-menu a:hover{color:var(--jm-blue);background:var(--jm-soft-blue)}
.jm-cta{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  color:#fff;
  background:var(--jm-blue);
  border-radius:var(--jm-button-radius);
  font-size:13px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(37,99,235,.18);
}
.jm-cta:hover{background:var(--jm-blue-dark)}

/* HAMBURGER */
.jm-nav-toggle{
  display:none;
  margin-left:auto!important;
  flex:0 0 44px;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid var(--jm-line);
  border-radius:12px;
  background:#fff;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(15,23,42,.04);
}
.jm-nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  border-radius:2px;
  background:var(--jm-navy);
  transition:.2s ease;
}
.jm-nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.jm-nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.jm-nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.jm-mobile-menu{display:none}

/* HOMEPAGE */
.jm-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 86% 18%,rgba(37,99,235,.13),transparent 28%),
    linear-gradient(180deg,#fbfdff 0,#f7faff 100%);
  border-bottom:1px solid #edf1f6;
}
.jm-hero:before{
  content:"";
  position:absolute;
  width:360px;height:360px;
  right:-160px;bottom:-190px;
  border-radius:50%;
  background:rgba(245,158,11,.08);
}
.jm-hero-grid{
  position:relative;
  z-index:1;
  min-height:570px;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
  gap:72px;
  align-items:center;
}
.jm-copy{padding:80px 0}
.jm-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  color:var(--jm-blue);
  background:var(--jm-soft-blue);
  border:1px solid #dbe8ff;
  border-radius:999px;
  font-size:11px;
  font-weight:850;
  letter-spacing:.02em;
}
.jm-copy h1{
  max-width:680px;
  margin:20px 0 18px;
  color:var(--jm-navy);
  font-size:clamp(44px,5.3vw,68px);
  line-height:.99;
  letter-spacing:-.055em;
}
.jm-copy h1 span{color:var(--jm-blue)}
.jm-copy p{max-width:640px;margin:0;color:var(--jm-muted);font-size:17px}
.jm-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.jm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:var(--jm-button-radius);
  font-size:13px;
  font-weight:850;
}
.jm-primary{color:#fff;background:var(--jm-blue);box-shadow:0 10px 22px rgba(37,99,235,.18)}
.jm-primary:hover{background:var(--jm-blue-dark)}
.jm-outline{color:var(--jm-navy);background:#fff;border:1px solid var(--jm-line)}
.jm-snapshot{
  position:relative;
  padding:28px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(226,232,240,.9);
  border-radius:24px;
  box-shadow:0 24px 70px rgba(15,23,42,.11);
}
.jm-snapshot:before{
  content:"";
  position:absolute;
  left:28px;right:28px;top:0;height:4px;
  border-radius:0 0 8px 8px;
  background:linear-gradient(90deg,var(--jm-blue),#60a5fa,var(--jm-accent));
}
.jm-snapshot h3{margin:8px 0 18px;color:var(--jm-navy);font-size:18px}
.jm-snap{
  padding:15px 0;
  border-top:1px solid var(--jm-line);
}
.jm-snap strong{display:block;color:var(--jm-navy);font-size:14px}
.jm-snap span{display:block;margin-top:3px;color:var(--jm-muted);font-size:12px}

.jm-section{padding:84px 0}
.jm-title{max-width:720px;margin:0 auto 38px;text-align:center}
.jm-title small{color:var(--jm-blue);font-size:11px;font-weight:900;letter-spacing:.12em}
.jm-title h2{margin:10px 0 10px;color:var(--jm-navy);font-size:clamp(30px,4vw,42px);line-height:1.08;letter-spacing:-.035em}
.jm-title p{margin:0;color:var(--jm-muted);font-size:14px}
.jm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.jm-card{
  min-height:235px;
  display:flex;
  flex-direction:column;
  padding:24px;
  background:#fff;
  border:1px solid var(--jm-line);
  border-radius:var(--jm-card-radius);
  box-shadow:0 1px 0 rgba(15,23,42,.02);
  transition:.2s ease;
}
.jm-card:hover{
  transform:translateY(-4px);
  border-color:#ccd9ee;
  box-shadow:var(--jm-shadow-soft);
}
.jm-icon{
  width:44px;height:44px;
  margin-bottom:18px;
  display:grid;
  place-items:center;
  color:var(--jm-blue);
  background:var(--jm-soft-blue);
  border:1px solid #dae7ff;
  border-radius:13px;
  font-size:18px;
  font-weight:900;
}
.jm-card h3{margin:0 0 8px;color:var(--jm-navy);font-size:18px;letter-spacing:-.02em}
.jm-card p{margin:0 0 20px;color:var(--jm-muted);font-size:13px}
.jm-card a{margin-top:auto;color:var(--jm-blue);font-size:12px;font-weight:850}

/* NORMAL PAGES + FOOTER */
.jm-page{padding:54px 0}
.jm-page article>h1{color:var(--jm-navy);letter-spacing:-.035em}
.jm-footer{padding:48px 0 24px;color:#cbd5e1;background:var(--jm-footer-bg)}
.jm-footgrid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:40px}
.jm-footer h4{margin:0 0 14px;color:#fff;font-size:12px;letter-spacing:.08em}
.jm-footer a{display:block;margin:8px 0;color:#cbd5e1;font-size:12px}
.jm-footer a:hover{color:#fff}
.jm-counter{min-height:16px;padding:10px;text-align:center;background:#fff;border-top:1px solid var(--jm-line)}

/* TOOL PAGES */
body.jobmivo-tool-mode{
  background:
    linear-gradient(180deg,#f7faff 0,#fff 340px);
}
body.jobmivo-tool-mode .jm-top{display:none!important}
body.jobmivo-tool-mode .jm-page{padding:0!important}
body.jobmivo-tool-mode .jm-page>.jm-wrap{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
}
body.jobmivo-tool-mode .jm-page article{margin:0!important;padding:0!important}
body.jobmivo-tool-mode .jm-page article>h1,
body.jobmivo-tool-mode .entry-title,
body.jobmivo-tool-mode .page-title{display:none!important}
body.jobmivo-tool-mode .jm-footer{display:none!important}

/* Shared tool palette — applies even to separately-built Jobmivo plugins */
body.jobmivo-tool-mode :is(.mjbq-root,.jmcv-root,.jmopt-root,.jmcl-root,.jmp-root,.jmport-root){
  color:var(--jm-text,#172033);
  font-family:var(--jm-font,Inter,Arial,sans-serif)!important;
}
body.jobmivo-tool-mode :is(.mjbq-root,.jmcv-root,.jmopt-root,.jmcl-root,.jmp-root,.jmport-root)
:is(input,select,textarea){
  border-color:var(--jm-line)!important;
  border-radius:11px!important;
  background:#fff!important;
}
body.jobmivo-tool-mode :is(.mjbq-root,.jmcv-root,.jmopt-root,.jmcl-root,.jmp-root,.jmport-root)
:is(input,select,textarea):focus{
  outline:none!important;
  border-color:var(--jm-blue)!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.10)!important;
}
body.jobmivo-tool-mode :is(.mjbq-root,.jmcv-root,.jmopt-root,.jmcl-root,.jmp-root,.jmport-root)
:is(button,.btn,[class*="primary"]){
  border-radius:11px!important;
}
body.jobmivo-tool-mode :is(.mjbq-root,.jmcv-root,.jmopt-root,.jmcl-root,.jmp-root,.jmport-root)
:is(.card,[class*="-card"],[class*="result"]){
  border-color:var(--jm-line)!important;
}

/* Career Tools v5 exact prefixes */
body.jobmivo-tool-mode .jmcv-shell,
body.jobmivo-tool-mode .jmopt-shell,
body.jobmivo-tool-mode .jmcl-shell{
  width:min(840px,calc(100% - 28px))!important;
  margin:0 auto!important;
  padding:30px 0 54px!important;
}
body.jobmivo-tool-mode .jmcv-intro,
body.jobmivo-tool-mode .jmopt-intro,
body.jobmivo-tool-mode .jmcl-intro{
  padding:30px 12px 22px!important;
}
body.jobmivo-tool-mode .jmcv-intro h2,
body.jobmivo-tool-mode .jmopt-intro h2,
body.jobmivo-tool-mode .jmcl-intro h2{
  color:var(--jm-navy)!important;
  font-size:clamp(29px,4vw,42px)!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
}
body.jobmivo-tool-mode .jmcv-card,
body.jobmivo-tool-mode .jmopt-card,
body.jobmivo-tool-mode .jmcl-card,
body.jobmivo-tool-mode .jmopt-result-card,
body.jobmivo-tool-mode .jmcl-result-card{
  padding:28px!important;
  border:1px solid var(--jm-line)!important;
  border-radius:20px!important;
  box-shadow:var(--jm-shadow)!important;
}
body.jobmivo-tool-mode .jmcv-primary,
body.jobmivo-tool-mode .jmopt-primary,
body.jobmivo-tool-mode .jmcl-primary{
  color:#fff!important;
  background:var(--jm-blue)!important;
}
body.jobmivo-tool-mode .jmcv-share,
body.jobmivo-tool-mode .jmopt-share,
body.jobmivo-tool-mode .jmcl-share{
  background:linear-gradient(135deg,var(--jm-navy),#1e3a66)!important;
}
body.jobmivo-tool-mode .jmopt-match{
  background:var(--jm-soft-blue)!important;
  border-color:#d8e6ff!important;
}

/* RESPONSIVE */
@media(max-width:1020px){
  .jm-menu{gap:2px}
  .jm-menu a{padding:9px 8px;font-size:12px}
  .jm-hero-grid{gap:38px}
}
@media(max-width:900px){
  .jm-wrap{width:calc(100% - 28px)}
  .jm-nav{
    width:calc(100% - 28px)!important;
    min-height:70px;
    padding:0;
  }
  .jm-logo{min-width:150px;margin-right:0}
  .jm-brand-logo{width:150px!important;max-width:150px!important}
  .jm-menu,.jm-header .jm-cta{display:none!important}
  .jm-nav-toggle{
    display:flex!important;
    margin-left:auto!important;
    margin-right:0!important;
  }
  .jm-mobile-menu{
    width:100%;
    max-height:calc(100vh - 70px);
    overflow:auto;
    padding:8px 14px 18px;
    background:#fff;
    border-top:1px solid var(--jm-line);
    box-shadow:0 18px 34px rgba(15,23,42,.09);
  }
  .jm-mobile-menu.is-open{display:block}
  .jm-mobile-menu a{
    display:block;
    padding:13px 12px;
    color:#334155;
    border-bottom:1px solid #edf1f5;
    border-radius:8px;
    font-size:14px;
    font-weight:750;
  }
  .jm-mobile-menu a:hover{color:var(--jm-blue);background:var(--jm-soft-blue)}
  .jm-mobile-menu .jm-mobile-cta{
    margin-top:10px;
    color:#fff!important;
    text-align:center;
    background:var(--jm-blue);
    border-bottom:0;
  }
  .jm-hero-grid{grid-template-columns:1fr;min-height:auto;gap:0;padding:60px 0}
  .jm-copy{padding:0}
  .jm-snapshot{margin-top:36px}
  .jm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jm-footgrid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .jm-nav{width:calc(100% - 24px)!important;min-height:66px}
  .jm-logo,.jm-logo-text{min-width:150px;width:150px}
  .jm-brand-logo{width:150px!important;max-width:150px!important;max-height:42px!important}
  .jm-nav-toggle{flex-basis:42px;width:42px;height:42px}
  .jm-top .jm-wrap{justify-content:center;text-align:center}
  .jm-top .jm-wrap span:last-child{display:none}
  .jm-copy h1{font-size:43px}
  .jm-copy p{font-size:15px}
  .jm-actions{flex-direction:column}
  .jm-btn{width:100%}
  .jm-section{padding:64px 0}
  .jm-grid,.jm-footgrid{grid-template-columns:1fr}
  body.jobmivo-tool-mode .jmcv-shell,
  body.jobmivo-tool-mode .jmopt-shell,
  body.jobmivo-tool-mode .jmcl-shell{width:calc(100% - 20px)!important;padding-top:18px!important}
  body.jobmivo-tool-mode .jmcv-card,
  body.jobmivo-tool-mode .jmopt-card,
  body.jobmivo-tool-mode .jmcl-card,
  body.jobmivo-tool-mode .jmopt-result-card,
  body.jobmivo-tool-mode .jmcl-result-card{padding:18px!important;border-radius:16px!important}
}
