/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

:root {
  /* Kolory */
  --bg-body: #fcfcfd;
  --bg-surface: #ffffff;
  --text-main: #1e2022;
  --text-muted: #6c757d;
  --accent: #0f2b5d;
  --accent-hover: #1d3f7a;

  /* Typografia */
  --font-header: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* UI */
  --radius: 6px;
  --shadow: 0 2px 6px rgba(15, 43, 93, .08);
}

*,
*::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;
}

/* Typografia */
h1, h2, h3 {
  font-family: var(--font-header);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.5px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -.25px;
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

p {
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  color: var(--text-muted);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Nagłówek */
.site-header {
  background: var(--bg-surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration: none;
}

/* Nawigacja */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color .2s;
}

.main-nav a:hover {
  color: var(--accent);
}

/* Hamburger (mobile) */
#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;
}

/* Menu mobilne */
@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;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }

  #menu-toggle:checked ~ .main-nav {
    transform: translateY(0);
  }
}

/* Przyciski */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: background .2s;
}

.btn:hover {
  background: var(--accent-hover);
}

/* Gridy */
.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;
  }
}

/* Karty Ofert */
.job-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: box-shadow .2s;
}

.job-card:hover {
  box-shadow: 0 4px 12px rgba(15, 43, 93, .12);
}

.job-card h3 {
  margin-bottom: .75rem;
}

.job-card p {
  margin-bottom: 1.25rem;
}

/* Partnerzy */
.partner-link {
  display: block;
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-main);
  transition: box-shadow .2s;
}

.partner-link:hover {
  box-shadow: 0 4px 12px rgba(15, 43, 93, .12);
}

/* Pokaż więcej partnerów */
.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;
}

/* Akordeon FAQ */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

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;
  transition: transform .2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 1rem;
}

/* Stopka */
.site-footer {
  background: var(--accent);
  color: #fff;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: var(--font-header);
  margin-bottom: .75rem;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: .5rem;
  transition: color .2s;
}

.footer-section a:hover {
  color: #fff;
}

/* Sekcje */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}