/*
  KÖNNEN Supply Chain Solutions — sitio web
  Concepto, diseño y desarrollo: Rodolfo Zavala · 2026
  Créditos completos: /humans.txt
*/
/* ===== BOLSA DE TRABAJO — page-specific styles ============================
   Shares :root tokens, reset, header/nav, mobile menu, footer AND the
   .final-cta/.quote-form system from styles.css (loaded first). Everything
   below is unique to this page: the hero, the category jump-nav and the
   vacancy accordion cards. */

/* ---- HERO — same dark/grain treatment as industrias.html's hero, kept
   local here instead of importing industrias.css just for one block ---- */
.job-hero{
  position:relative; background:var(--black); color:#fff;
  padding:170px 0 80px; overflow:hidden;
}
.job-hero::before{
  content:''; position:absolute; inset:0; z-index:0;
  background:
    var(--grain),
    radial-gradient(ellipse 900px 600px at 15% 10%, rgba(232,119,34,.16), transparent 60%),
    linear-gradient(150deg, #141416 0%, #08080a 60%, #101012 100%);
}
.job-hero .wrap{position:relative; z-index:1;}
.job-hero-copy{max-width:720px;}
.job-hero-copy .eyebrow{color:var(--orange);}
.job-hero-copy h1{
  color:#fff; font-size:clamp(38px,5.6vw,64px); margin-top:10px;
  text-shadow:0 2px 10px rgba(0,0,0,.6);
}
.job-hero-copy h1 .accent{color:var(--orange);}
.job-hero-copy p{color:var(--silver-2); font-size:17px; line-height:1.7; max-width:600px; margin-top:26px;}

/* ---- JUMP NAV — same pill-row pattern as industrias.html ---- */
.job-jump{background:var(--paper); border-bottom:1px solid var(--line); padding:20px 0;}
.job-jump-row{display:flex; gap:10px; overflow-x:auto; scrollbar-width:none;}
.job-jump-row::-webkit-scrollbar{display:none;}
.job-jump-row a{
  display:flex; align-items:center; gap:9px; flex-shrink:0;
  font-family:var(--ff-mono); font-size:12px; letter-spacing:.04em; text-transform:uppercase;
  color:var(--silver-3); background:var(--white);
  padding:10px 18px; border:1px solid var(--line); border-radius:999px;
  transition:color .25s ease, border-color .25s ease;
}
.job-jump-row a span{font-family:var(--ff-mono); color:var(--orange); font-size:11px;}
.job-jump-row a:hover{color:var(--ink); border-color:var(--ink);}

/* ---- CATEGORY SECTIONS ---- */
.job-section{padding:100px 0;}
.job-section--alt{background:var(--paper);}
.job-section-head{max-width:640px; margin-bottom:56px;}
.job-section-head h2{margin-top:8px;}
.job-section-head p{color:var(--silver-3); margin-top:16px; font-size:15px; line-height:1.7;}

/* ---- VACANCY ACCORDION CARDS — same 0fr/1fr grid-rows trick used by
   standard.html's service panels, so height animates without JS measuring.
   visibility (not display) toggles alongside it so every link inside a
   still-closed card is pulled out of tab order instead of sitting there
   invisible-but-focusable. ---- */
.job-list-wrap{display:flex; flex-direction:column; gap:18px;}
.job-card{
  border:1px solid var(--line); border-radius:16px; background:var(--white);
  transition:border-color .25s ease, box-shadow .25s ease;
}
.job-card:hover{border-color:rgba(232,119,34,.4);}
.job-card.open{border-color:var(--orange); box-shadow:0 30px 60px rgba(20,20,25,.08);}
.job-head{
  width:100%; display:flex; align-items:center; gap:22px; text-align:left;
  padding:26px 28px; background:none; border:none; cursor:pointer; font-family:inherit;
}
.job-num{font-family:var(--ff-mono); font-size:12px; color:var(--silver-3); flex-shrink:0; width:26px;}
.job-head-text{flex:1;}
.job-head-text h3{font-family:var(--ff-display); font-size:clamp(20px,2.4vw,26px); text-transform:uppercase; color:var(--ink); line-height:1.1;}
.job-meta{
  display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:10px;
  font-family:var(--ff-mono); font-size:11.5px; letter-spacing:.03em; color:var(--silver-3);
}
.job-meta b{color:var(--orange); font-weight:600; margin-right:5px;}
.job-toggle{
  flex-shrink:0; width:38px; height:38px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--ff-mono); font-size:20px; color:var(--ink); line-height:1;
  transition:transform .3s ease, border-color .25s ease, background .25s ease, color .25s ease;
}
.job-card.open .job-toggle{transform:rotate(45deg); border-color:var(--orange); background:var(--orange); color:#fff;}

.job-body{
  display:grid; grid-template-rows:0fr; visibility:hidden;
  transition:grid-template-rows .5s cubic-bezier(.16,1,.3,1), visibility 0s .5s;
}
.job-card.open .job-body{grid-template-rows:1fr; visibility:visible; transition-delay:0s;}
.job-body-inner{overflow:hidden; min-height:0;}
.job-body-pad{padding:4px 28px 32px; border-top:1px solid var(--line); margin-top:2px;}

.job-cols{display:grid; grid-template-columns:1fr 1fr; gap:36px; padding-top:26px;}
.job-col h4{
  font-family:var(--ff-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--orange);
  margin-bottom:14px;
}
.job-subhead{
  font-family:var(--ff-body); font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.03em;
  color:var(--ink); margin:18px 0 8px;
}
.job-subhead:first-of-type{margin-top:0;}
.job-list{display:flex; flex-direction:column; gap:8px;}
.job-list li{position:relative; padding-left:16px; font-size:13.5px; line-height:1.55; color:var(--silver-3);}
.job-list li::before{content:''; position:absolute; left:0; top:8px; width:5px; height:5px; border-radius:50%; background:var(--orange);}
.job-copy{font-size:13.5px; line-height:1.65; color:var(--silver-3);}
.job-apply{margin-top:28px;}

@media (prefers-reduced-motion: reduce){
  .job-toggle, .job-body, .job-card{transition:none;}
}
@media (max-width:900px){
  .job-cols{grid-template-columns:1fr; gap:6px;}
}
@media (max-width:600px){
  .job-hero{padding:140px 0 60px;}
  .job-section{padding:70px 0;}
  .job-head{padding:20px; gap:16px;}
  .job-body-pad{padding:0 20px 26px;}
}
