:root{
  --primary: #7CB342;
  --secondary: #06b6d4;

  --text: #2f2f2f;
  --text-muted: #5a5a5a;
  --bg: #ffffff;
  --border: #e6e8ee;

  --container-max: 960px;
  --container-pad: 20px;
}

/* baza */
*,*::before,*::after{ box-sizing:border-box; }
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}
a{ color: inherit; text-decoration:none; }

.container{
  width: min(var(--container-max), calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.btn.primary{
  background: var(--primary);
  border-color: var(--primary);
  color:#fff;
}

/* ===== HEADER + NAV (desktop) ===== */
.site-header{
  background:#fff;
  border-bottom: 1px solid var(--border);
}
.header__inner{
  min-height: 96px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{ height: 140px; width:auto; display:block; }
.brand__text{ font-size: 28px; font-weight: 700; }

.nav__list{
  list-style:none;
  display:flex;
  gap: 44px;
  padding:0;
  margin:0;
}
.nav__list a{
  font-size: 18px;
  padding: 8px 0;
}

.header__actions{
  display:flex;
  align-items:center;
  gap: 18px;
}

/* ===== MOBILE button ===== */
.menu-btn{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.menu-btn i{
  font-size: 26px;
  line-height: 1;
  color: #3a3a3a;
}

/* ikony FontAwesome */
.icon-btn{
  width: 44px;
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
.icon-btn:hover{ border-color: var(--border); }
.icon-btn i{
  font-size: 22px;
  line-height: 1;
  color: #000;
}

/* ===== DRAWER (JS) ===== */
body.no-scroll{ overflow: hidden; }

.drawer{
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.drawer__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
  opacity: 0;
  transition: opacity .2s ease;
}

.drawer__panel{
  position:absolute;
  top:0; right:0;
  height:100%;
  width: min(88vw, 420px);
  background:#fff;
  transform: translateX(100%);
  transition: transform .25s ease;
  padding: 26px 22px;
  display:flex;
  flex-direction: column;
  gap: 26px;
}

/* otwarcie menu */
.drawer.is-open{ pointer-events:auto; }
.drawer.is-open .drawer__backdrop{ opacity: 1; }
.drawer.is-open .drawer__panel{ transform: translateX(0); }

.drawer__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.drawer__title{
  font-size: 22px;
  font-weight: 700;
}

.drawer__nav{
  display:flex;
  flex-direction: column;
  gap: 34px;
}

.drawer__link{
  font-size: 32px;
  line-height: 1.15;
  padding-bottom: 6px;
}

.drawer__link.is-active{
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 2px;
}

.drawer__bottom{
  margin-top: auto;
  display:flex;
  flex-direction: column;
  gap: 22px;
}

.drawer__cta{
  font-size: 34px;
  padding: 16px 28px;
  align-self: flex-start;
}

.drawer__social{
  display:flex;
  gap: 14px;
}
.drawer__social .icon-btn{
  width: 64px;
  height: 64px;
}
.drawer__social .icon-btn i{
  font-size: 30px;
}

/* ===== RWD ===== */
@media (max-width: 900px){
  .nav-desktop{ display:none; }
  .header__actions{ display:none; }
  .menu-btn{ display:inline-flex; }
}

@media (min-width: 901px){
  .drawer{ display:none; }
}

.hero{
  padding: 44px 0;
}

.hero-card{
  color: #fff;
  border-radius: 60px 0 60px 0;
  padding: 64px 56px;
  background:
    linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
    url("praca-magazyn.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-card h1{
  margin: 0 0 18px;
  font-size: clamp(34px, 4.6vw, 78px);
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
}

.hero-lead{
  margin: 0 auto 28px;
  max-width: 75ch;
  text-align: center;
  color: rgba(255,255,255,.82);
  font-size: 16px;
}

.hero-form{
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  align-items: end;
}

.hero-field label{
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
}

.hero-field label span{
  color: rgba(255,255,255,.85);
}

.hero-field input{
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  color: #fff;
  outline: none;
}

.hero-field input::placeholder{
  color: rgba(255,255,255,.75);
}

.hero-field input:focus{
  border-color: rgba(255,255,255,.95);
}

.full{ grid-column: 1 / -1; }

.hero-consent{
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
}

.hero-consent input{
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.hero-submit{
  height: 74px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.hero-submit:hover{
  filter: brightness(1.05);
}

/* MOBILE: tło sekcji ma być kwadratem (bez dużych rogów) */
@media (max-width: 700px){
  .hero-card{
    border-radius: 0;
    padding: 28px 18px;
  }

  .hero-form{
    grid-template-columns: 1fr;
  }

  .hero-card h1{
    text-align: left;
  }

  .hero-lead{
    text-align: left;
    margin-left: 0;
  }
}

/* ===== Mini grid (bootstrap-like) ===== */
.row{
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}
.col{
  padding-left: 12px;
  padding-right: 12px;
  width: 100%;
}

/* breakpoints */
@media (min-width: 576px){
  .col-sm-6{ width: 50%; }
}
@media (min-width: 768px){
  .col-md-6{ width: 50%; }
  .col-md-4{ width: 33.3333%; }
  .col-md-3{ width: 25%; }
}
@media (min-width: 1024px){
  .col-lg-6{ width: 50%; }
  .col-lg-4{ width: 33.3333%; }
  .col-lg-3{ width: 25%; }
}

/* odstępy jak w bootstrap (gap) */
.g-16{ row-gap: 16px; }
.g-20{ row-gap: 20px; }
.g-24{ row-gap: 24px; }

/* ===== Footer ===== */
.footer{
  padding: 56px 0;
}

.footer-card{
  background: #3f3f3f;              /* ciemny panel jak na screenie */
  color: rgba(255,255,255,.92);
  border-radius: 60px 0 60px 0;
  padding: 42px 46px 22px;
}

.footer-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}

.footer-logo{
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.footer-icons{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.35);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: transparent;
  transition: transform .15s ease, background .15s ease;
}

.footer-icon i{
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.footer-icon:hover{
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.footer-divider{
  height: 1px;
  background: rgba(255,255,255,.22);
  margin: 26px 0;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 24px;
  align-items:start;
}

.footer-title{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}

.footer-text{
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}

.footer-links{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a{
  color: rgba(255,255,255,.85);
  padding: 4px 0;
}

.footer-links a:hover{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-bottom{
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.18);
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

.footer-legal{
  display:flex;
  align-items:center;
  gap: 10px;
}

.footer-legal a{
  color: rgba(255,255,255,.75);
}

.footer-legal a:hover{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-legal .dot{
  opacity: .6;
}

/* mobile: bez rogów + ciaśniej */
@media (max-width: 700px){
  .footer-card{
    border-radius: 0;
    padding: 26px 18px 18px;
  }
  .footer-grid{
    grid-template-columns: 1fr;
  }
  .footer-icons{
    justify-content: flex-start;
  }
}

/* ===== Benefits ===== */
.benefits{
  padding: 56px 0;
}

.benefits-top{
  margin-bottom: 22px;
  display: grid;
  gap: 10px;
}

.benefits-title{
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
}

.benefits-lead{
  margin: 0;
  color: var(--text-muted);
  max-width: 70ch;
}

/* 3 w rzędzie na desktop */
.benefits-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-card{
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.benefit-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.benefit-icon{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,.10); /* pod primary */
  border: 1px solid rgba(37,99,235,.18);
  margin-bottom: 12px;
}

.benefit-icon i{
  font-size: 22px;
  color: var(--primary);
}

.benefit-card h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.benefit-card p{
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* tablet: 2 kolumny */
@media (max-width: 900px){
  .benefits-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* mobile: 1 kolumna */
@media (max-width: 600px){
  .benefits-grid{ grid-template-columns: 1fr; }
}

/* ===== CTA (jak footer, diagonal radius) ===== */
.cta{
  padding: 56px 0;
}

.cta-box{
  background: #3f3f3f;               /* jak footer */
  color: rgba(255,255,255,.92);
  padding: 34px 34px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 22px;
}

/* tylko lewy-górny i prawy-dolny */
.cta-diagonal{
  border-radius: 60px 0 60px 0;      /* TL TR BR BL */
}

.cta-left{ min-width: 0; }

.cta-title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.1;
  color: #fff;
}

.cta-lead{
  margin: 0 0 18px;
  color: rgba(255,255,255,.78);
  max-width: 70ch;
}

/* stats */
.cta-stats{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-stat{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
}

.cta-stat__icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}

.cta-stat__icon i{
  font-size: 20px;
  color: #fff;
}

.cta-stat__num{
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
}

.cta-stat__label{
  font-size: 13px;
  color: rgba(255,255,255,.75);
}

/* CTA button */
.btn.cta-btn{
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  font-weight: 800;
  white-space: nowrap;
}

.btn.cta-btn:hover{
  filter: brightness(1.05);
}

/* mobile */
@media (max-width: 700px){
  .cta-box{
    padding: 22px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-diagonal{
    border-radius: 0; /* żeby nie wyglądało dziwnie na mobile */
  }

  .cta-stats{
    width: 100%;
    gap: 12px;
  }

  .cta-stat{
    width: 100%;
  }

  .btn.cta-btn{
    width: 100%;
    justify-content: center;
  }
}

.job-btn {
  margin-top:15px;
  margin-bottom:15px;
}

.jobs-top {
  margin-bottom:40px;
}

/* JOB cards – jak benefits */
.job-card{
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.job-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

/* placeholder / zdjęcie w karcie */
.job-img{
  height: 190px;
  border-radius: 14px;
  margin-bottom: 16px;

  /* ważne dla zdjęć */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* placeholder, gdy brak obrazka */
  background-color: #e5e7eb;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0));
}

/* O nas */
.about-top { align-items: center; }
.about-title { margin: 0 0 12px; }
.about-lead { margin: 0 0 12px; }
.about-text { margin: 0 0 12px; opacity: .9; line-height: 1.65; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.about-clients { margin-top: 14px; opacity: .9; line-height: 1.6; }

/* Podmień URL na swoje zdjęcie */
.about-photo {
  height: 360px;
  border-radius: 16px;
  background: url("/agencja-pracy-2.jpg") center/cover no-repeat;
}
@media (max-width: 768px) {
  .about-photo { height: 260px; }
}

/* Kontakt w stylu benefit-card */
.contact-card { display: flex; flex-direction: column; }
.contact-big { font-size: 22px; font-weight: 800; margin: 6px 0 10px; }
.contact-big a { text-decoration: none; }
.contact-btn { margin-top: auto; }

/* Artykuł */
.post-content h2{ margin: 18px 0 10px; }
.post-content p{ margin: 0 0 12px; line-height: 1.7; color: var(--text-muted); }
.post-content ul{ margin: 0 0 12px; padding-left: 18px; color: var(--text-muted); line-height: 1.7; }
.post-content hr{ border:0; border-top:1px solid var(--border); margin: 18px 0; }
.post-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 16px; }
