/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Playfair+Display:wght@700&display=swap');

:root {
  /* Kolory */
  --bg-body: #faf8f5;
  --bg-surface: #ffffff;
  --text-main: #2d2d2d;
  --text-muted: #7d7d7d;
  --accent: #b99769;
  --accent-hover: #9e7a4f;

  /* Czcionki */
  --font-header: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Wymiary */
  --radius: 6px;
  --shadow: 0 2px 6px rgba(0,0,0,.06);
  --max-width: 1200px;
  --gap: 24px;
}

/* Reset i podstawy */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
}

/* Typografia */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  margin: 0 0 .4em;
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Layout */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
}

/* Nagłówek */
.site-header {
  background: var(--bg-surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: .5px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 500;
  color: var(--text-main);
}
.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: translateX(-100%);
    transition: transform .3s;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateX(0); }
}

/* Split-Masthead */
.masthead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  min-height: 60vh;
  padding: 48px 0;
}
.masthead-text h1 { margin-bottom: 16px; }
.masthead-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.masthead-visual {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 300px;
}
@media (max-width: 768px) {
  .masthead { grid-template-columns: 1fr; }
}

/* Przyciski */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 500;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  transition: background .25s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

/* Karty ofert */
.job-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.job-card h3 { margin-bottom: 8px; }
.job-card .meta {
  font-size: .9rem;
  color: var(--text-muted);
}

/* Gridy */
.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; }
}

/* Partnerzy */
.partner-link {
  display: block;
  background: var(--bg-surface);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.partner-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,.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(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--text-muted); }

/* Stopka */
.site-footer {
  background: var(--text-main);
  color: var(--bg-body);
  padding: 48px 0 24px;
  margin-top: 80px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
}
.footer-section h4 {
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--accent);
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section a { color: var(--bg-body); }
.footer-section a:hover { color: var(--accent); }
.site-footer .bottom-bar {
  text-align: center;
  margin-top: 40px;
  font-size: .85rem;
  color: var(--text-muted);
}

/* Ikony SVG w masonry-tiles */
.masonry-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.tile {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 16px;
  text-align: center;
}
.tile svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  fill: var(--accent);
}
.tile h4 { font-family: var(--font-body); font-weight: 500; margin-bottom: 4px; }
.tile p { font-size: .9rem; color: var(--text-muted); margin: 0; }