/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@700;800&display=swap');

:root {
  /* Kolory */
  --bg-body: #f2f4f8;
  --bg-surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --accent: #1e40af;
  --accent-hover: #3b82f6;
  --border-radius: 6px;
  --shadow: 0 2px 6px rgba(15,23,42,.06);
  /* Fonty */
  --font-header: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset & podstawy */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(1.75rem, 1.4rem + 1.75vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .75vw, 1.75rem); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Layout helpers */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}
section { padding-block: 3rem 2rem; }

/* Nagłówek */
.site-header {
  background: var(--bg-surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
}
.logo {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Nawigacja – checkbox hack */
input#menu-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: .2s;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  font-weight: 500;
  color: var(--text-main);
  padding: .25rem 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s;
}
.main-nav a:hover::after { width: 100%; }

/* Mobile nav */
@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(-110%);
    transition: transform .3s;
    pointer-events: none;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
  }
  #menu-toggle:checked ~ .main-nav {
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Hero */
.hero {
  background: var(--bg-surface);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 19px,
    #e2e8f0 20px
  );
  background-size: 40px 1px;
  opacity: .35;
  pointer-events: none;
}
.hero-card {
  max-width: 640px;
  margin-inline: auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Przyciski */
.btn {
  display: inline-block;
  padding: .65rem 1.5rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

/* Gridy */
.offers-grid,
.partners-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Karty ofert */
.job-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.job-card h3 { margin-bottom: .25rem; }
.job-card .meta {
  font-size: .875rem;
  color: var(--text-muted);
}

/* Partnerzy */
.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--text-main);
  transition: transform .2s, box-shadow .2s;
}
.partner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15,23,42,.08);
}

/* Pokaż więcej – checkbox hack */
.partners-wrapper .partners-hidden { display: none; }
.partners-wrapper .show-more-checkbox:checked ~ .partners-hidden { display: grid; }
.partners-wrapper .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.25rem;
  margin-bottom: .75rem;
}
summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p {
  margin: .75rem 0 0;
  color: var(--text-muted);
}

/* Stopka */
.site-footer {
  background: var(--text-main);
  color: #fff;
  margin-top: 3rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2.5rem 1rem 2rem;
}
.footer-section h4 {
  font-size: 1rem;
  margin-bottom: .75rem;
  color: #cbd5e1;
}
.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-section a {
  color: #e2e8f0;
  font-size: .875rem;
  line-height: 1.8;
}
.footer-section a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding: 1rem;
  font-size: .8125rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }