/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg-body: #f6f4f1;
  --bg-surface: #ffffff;
  --text-main: #1e1e1e;
  --text-muted: #6b6b6b;
  --accent: #2e5d4a;
  --accent-hover: #244838;
  --border-radius: 6px;
  --shadow: 0 2px 6px rgba(0,0,0,0.06);
  --font-header: 'Merriweather', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --spacing: clamp(1rem, 2vw, 1.5rem);
}

/* Global Reset & Base */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-header); font-weight: 700; line-height: 1.3; margin-bottom: 0.5em; }
h1 { font-size: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem); }
p { margin-bottom: 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Layout Containers */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing) 0;
}
main { flex: 1; }

/* 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: 0.75rem 0;
}
.logo {
  font-family: var(--font-header);
  font-size: clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
  font-weight: 700;
  color: var(--accent);
}

/* Desktop Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  transition: background 0.2s;
}
.main-nav a:hover { background: rgba(46,93,74,0.08); }

/* Mobile Navigation (Checkbox Hack) */
#menu-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* Footer */
.site-footer {
  background: var(--accent);
  color: #fff;
  padding: 2rem 0 1rem;
  margin-top: 3rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.footer-section a { color: #d0e0d9; }
.footer-section a:hover { color: #fff; }

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Cards */
.job-card,
.partner-link {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.job-card:hover,
.partner-link:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.job-card h3 { margin-bottom: 0.5rem; }
.job-card .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

/* Partners "Show More" (Checkbox Hack) */
.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; }

/* FAQ Accordion */
details {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
summary {
  font-weight: 500;
  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 0.2s;
}
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { margin-bottom: 0.5rem; }

/* Responsive Nav Trigger */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform 0.3s;
    padding: 1rem 0;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
}