/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Poppins:wght@600;700&display=swap');

:root {
  /* Kolory */
  --bg-body: #ffffff;
  --bg-surface: #f5f7fa;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #0891b2;
  --accent-hover: #0e7490;

  /* Czcionki */
  --font-header: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radius & Cienie */
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,.05);

  /* Spacing */
  --section-pad: clamp(3rem, 6vw, 5rem);
  --container: min(1200px, 90vw);
}

/* Global Reset */
*, *::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, h4, h5, h6 { font-family: var(--font-header); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
p { margin-bottom: 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Layout Helpers */
.container { width: var(--container); margin-inline: auto; }

/* Header */
.site-header {
  background: var(--bg-body);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo { font-family: var(--font-header); font-weight: 700; font-size: 1.25rem; color: var(--text-main); }

/* Nawigacja Desktop */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.main-nav a { font-weight: 600; }

/* Nawigacja Mobile – 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-body);
    box-shadow: var(--shadow);
    transform: translateX(-100%);
    transition: transform .3s;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateX(0); }
  .main-nav ul { flex-direction: column; padding: 1.5rem 2rem; gap: 1rem; }
}

/* Hero Split */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: var(--section-pad) 0;
}
.hero-split h1 { margin-bottom: 1rem; }
.hero-split p { margin-bottom: 1.5rem; color: var(--text-muted); }
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

/* Offers Grid – 3 kolumny desktop */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .offers-grid { grid-template-columns: 1fr; }
}

/* Job Card */
.job-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.job-card h3 { margin-bottom: .75rem; }
.job-card .meta { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }

/* Hex-Gallery Advice Cards */
.hex-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.hex-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hex-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: var(--accent);
  opacity: .05;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .partners-grid { grid-template-columns: 1fr; }
}
.partner-link {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s;
}
.partner-link:hover { transform: translateY(-3px); }

/* Pokaż więcej – dokładna logika */
.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);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
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);
}
details[open] summary::after { content: "–"; }
details > *:not(summary) { margin-top: 1rem; }

/* Footer */
.site-footer {
  background: #0b1220;
  color: #e5e7eb;
  padding: 3rem 0 2rem;
  margin-top: var(--section-pad);
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-section h4 {
  margin-bottom: .75rem;
  font-size: 1rem;
}
.footer-section ul {
  list-style: none;
  font-size: .875rem;
}
.footer-section a { color: #cbd5e1; }
.footer-section a:hover { color: #fff; }

/* Subtle dots background */
.bg-dots {
  background-image: radial-gradient(circle, rgba(0,0,0,.01) 1px, transparent 1px);
  background-size: 20px 20px;
}