/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Oswald:wght@500&display=swap');

:root {
  /* Kolory */
  --bg-body: #f5f6f7;
  --bg-surface: #ffffff;
  --text-main: #22262e;
  --text-muted: #6b7280;
  --accent: #d9263e;
  --accent-hover: #b81c32;
  --border-radius: 6px;
  --shadow: 0 2px 6px rgba(34,38,46,.08);

  /* Typografia */
  --font-header: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --line-height: 1.6;
}

/* Global Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: var(--line-height);
  color: var(--text-main);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Dekoracja tła */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 23px,
    #e5e7eb 23px,
    #e5e7eb 23.5px
  );
  z-index: -1;
  pointer-events: none;
}

/* Nagłówek */
.site-header {
  background: var(--bg-surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-header);
  font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.5px;
}

/* Nawigacja Desktop */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.main-nav a:hover { color: var(--accent); }

/* Hamburger (Mobile) */
#menu-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
  transition: background .2s;
}
.hamburger:hover span { background: var(--accent); }

/* Mobile Menu (Checkbox Hack) */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform .3s ease;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
  .main-nav ul {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }
}

/* Kontener */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
}

/* Typografia */
h1, h2, h3 {
  font-family: var(--font-header);
  line-height: 1.3;
  margin-bottom: 1rem;
}
h1 { font-size: clamp(2rem, 1.7rem + 1.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem); }
p { margin-bottom: 1rem; }

/* Przyciski */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); }

/* Karty Ofert */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.job-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.job-card h3 { margin-bottom: .5rem; }
.job-card .meta {
  font-size: .9rem;
  color: var(--text-muted);
}
@media (max-width: 992px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .offers-grid { grid-template-columns: 1fr; }
}

/* Partnerzy */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.partner-link {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s, box-shadow .2s;
}
.partner-link:hover {
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(34,38,46,.12);
}
.partners-hidden { display: none; }
.show-more-checkbox { display: none; }
.show-more-checkbox:checked ~ .partners-hidden { display: grid; }
.show-more-checkbox:checked ~ .show-more-container { display: none; }

/* Akordeon FAQ */
details {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}
summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
}
details[open] summary { margin-bottom: .75rem; }

/* Stopka */
.site-footer {
  background: var(--text-main);
  color: #fff;
  padding: 2.5rem 0;
  margin-top: auto;
}
.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-section h4 {
  font-family: var(--font-header);
  margin-bottom: .75rem;
}
.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  line-height: 1.8;
}
.footer-section a:hover { color: #fff; }

/* Responsive Helpers */
@media (max-width: 600px) {
  .partners-grid { grid-template-columns: 1fr; }
}