/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Crimson+Text:wght@400;600&display=swap');

:root {
  --bg-body: #f7f6f2;
  --bg-surface: #ffffff;
  --text-main: #2d2a26;
  --text-muted: #7d7466;
  --accent: #5a7d59;
  --accent-hover: #3e5e3d;
  --radius: 6px;
  --shadow: 0 2px 6px rgba(45,42,38,.08);
  --font-header: 'Crimson Text', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --grid-gap: 24px;
}

*,
*::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;
}

/* Typography */
h1, h2, h3 { font-family: var(--font-header); font-weight: 600; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
p { margin-bottom: 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* 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: 16px 0;
}
.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: var(--accent);
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-weight: 500;
  color: var(--text-main);
}
#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: .3s;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 16px;
  }
  #menu-toggle:checked ~ .main-nav { max-height: 300px; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

/* Cards */
.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: .875rem;
  color: var(--text-muted);
}

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 768px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Partners */
.partner-link {
  display: block;
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
  transition: transform .2s;
}
.partner-link:hover { transform: translateY(-2px); }

/* Show-more partners (NO-JS) */
.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; }

/* Accordion (FAQ) */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  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: "−"; }

/* Footer */
.site-footer {
  background: var(--text-main);
  color: var(--bg-body);
  padding: 48px 0 24px;
  margin-top: 64px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.footer-section h4 {
  margin-bottom: 12px;
  font-family: var(--font-header);
}
.footer-section a { color: var(--bg-body); }
.footer-bottom {
  text-align: center;
  margin-top: 32px;
  font-size: .875rem;
  color: var(--text-muted);
}