/* 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: #ffffff;
  --bg-surface: #f8f9fa;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --accent: #dc4165;
  --accent-hover: #b73554;
  --border-radius: 6px;
  --shadow: 0 2px 6px rgba(0,0,0,.05);
  /* Czcionki */
  --font-header: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset i bazowe style */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  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);
}

/* Typografia */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-header); color: var(--text-main); line-height: 1.3; }
h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.3rem + 1.25vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .75vw, 1.75rem); }
p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Kontenery */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 3rem 0; }

/* Nagłówek */
.site-header {
  background: var(--bg-body);
  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;
  font-weight: 700;
  color: var(--text-main);
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  font-weight: 500;
  color: var(--text-main);
  padding: .5rem 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s;
}
.main-nav a:hover::after { width: 100%; }

/* 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: transform .3s;
}

/* Gridy */
.offers-grid,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Karty Ofert */
.job-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.job-card h3 { margin-bottom: .25rem; }
.job-card .meta {
  font-size: .875rem;
  color: var(--text-muted);
}

/* Przyciski */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  background: var(--accent);
  color: #fff;
  transition: background .25s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

/* Partnerzy */
.partner-link {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.partner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* FAQ (akordeon) */
details {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  cursor: pointer;
}
summary {
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: '+';
  font-size: 1.25rem;
  transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); }
details > *:not(summary) { margin-top: .75rem; }

/* Partnerzy – pokaż więcej */
.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; }

/* Stopka */
.site-footer {
  background: var(--text-main);
  color: var(--bg-body);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-section h4 {
  font-family: var(--font-header);
  margin-bottom: .5rem;
}
.footer-section a { color: var(--bg-body); opacity: .8; }
.footer-section a:hover { opacity: 1; }
.footer-bottom {
  text-align: center;
  font-size: .875rem;
  opacity: .6;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
}

/* Responsywne menu */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-body);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
  }
  #menu-toggle:checked ~ .main-nav { max-height: 20rem; }
}