/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Sans:wght@600&display=swap');

:root {
  /* Kolory */
  --bg-body: #f5f7fa;
  --bg-surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  
  /* Czcionki */
  --font-header: 'Noto Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Wymiary */
  --radius: 6px;
  --shadow: 0 3px 6px rgba(0,0,0,0.04);
  --max-width: 1180px;
  --gap: 20px;
}

/* Reset i bazowe style */
*,
*::before,
*::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 600;
  margin: 0 0 0.5em;
  line-height: 1.3;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Layout helpers */
.container {
  width: min(90%, var(--max-width));
  margin-inline: auto;
}

/* Header */
.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.25rem;
  font-weight: 600;
  color: var(--text-main);
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.main-nav a {
  font-weight: 500;
  color: var(--text-main);
  transition: color .2s;
}
.main-nav a:hover { color: var(--accent); }

/* Mobile menu (checkbox hack) */
#menu-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: .3s;
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform .3s ease;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 1.5rem var(--gap);
    gap: 1rem;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
}

/* Hero split-screen */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
.hero-split > div { min-width: 0; }
@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

/* Cards (offers, advice) */
.job-card,
.timeline-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.timeline-card::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1rem;
  border-radius: 2px;
}

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
@media (max-width: 768px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Partner links */
.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  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 .show-more-checkbox { display: none; }
.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; }

/* FAQ accordion (details/summary) */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.5rem;
  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 > *:not(summary) {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: #cbd5e1;
  padding: 2.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-section h4 {
  font-size: 1rem;
  margin-bottom: .75rem;
  color: #fff;
}
.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-section a { color: #94a3b8; }
.footer-section a:hover { color: #fff; }

/* Subtle decoration */
.section-decor {
  position: relative;
}
.section-decor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(14,165,233,.05), transparent);
  height: .5px;
  pointer-events: none;
}