/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  /* Kolory */
  --bg-body: #f5f6f7;
  --bg-surface: #ffffff;
  --text-main: #1c1c1e;
  --text-muted: #6c6d70;
  --accent: #0077b6;
  --accent-hover: #005a8c;
  --border-color: #e6e8eb;
  --border-radius: 4px;
  --shadow: 0 2px 4px rgba(0,0,0,.05);
  /* Typografia */
  --font-header: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  /* Spacing */
  --section-padding: clamp(2rem, 5vw, 4rem);
  --container-max: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

section { padding-block: var(--section-padding); }

/* Typography */
h1, h2, h3 {
  font-family: var(--font-header);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); }
p { margin-bottom: 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Header */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
.logo {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -.5px;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.main-nav a {
  font-weight: 500;
  color: var(--text-main);
  padding: .5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.main-nav a:hover { border-color: var(--accent); }

/* Mobile Menu (Checkbox Hack) */
#menu-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: transform .2s;
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform .3s;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-weight: 500;
  background: var(--accent);
  color: #fff;
  border-radius: var(--border-radius);
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

/* Cards */
.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.job-card h3 { margin-bottom: .25em; }
.job-card .meta {
  font-size: .875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Partners */
.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color .2s;
}
.partner-link:hover { border-color: var(--accent); }

/* Show More Partners (Checkbox Hack) */
.partners-wrapper .partners-hidden { display: none; }
.partners-wrapper .show-more-checkbox { display: none; }
.partners-wrapper .show-more-checkbox:checked ~ .partners-hidden { display: grid; }
.partners-wrapper .show-more-checkbox:checked ~ .show-more-container { display: none; }

/* Footer */
.site-footer {
  background: var(--text-main);
  color: #fff;
  padding-block: 2rem 1rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-section h4 {
  font-size: 1rem;
  margin-bottom: .75rem;
  font-weight: 600;
}
.footer-section ul {
  list-style: none;
  display: grid;
  gap: .5rem;
}
.footer-section a { color: #ccc; }
.footer-section a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  font-size: .875rem;
  color: #aaa;
  border-top: 1px solid #333;
  padding-top: 1rem;
}

/* Accordion (FAQ) */
details {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: .75rem;
}
summary {
  font-weight: 500;
  cursor: pointer;
  outline: none;
}
details[open] summary {
  margin-bottom: .75rem;
  color: var(--accent);
}

/* Subtle decoration */
.blueprint-bg {
  background: var(--bg-body)
              repeating-linear-gradient(90deg, var(--border-color) 0 1px, transparent 1px 20px);
}