/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&family=Bitter:wght@600;700&display=swap');

:root {
  /* Colors */
  --bg-body: #fafbfc;
  --bg-surface: #ffffff;
  --text-main: #222222;
  --text-muted: #6b7280;
  --accent: #004d40;
  --accent-hover: #00695c;
  --border-light: #e5e7eb;
  --shadow: 0 2px 4px rgba(0,0,0,.05);

  /* Typography */
  --font-header: 'Bitter', serif;
  --font-body: 'Source Sans Pro', sans-serif;

  /* Spacing */
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  /* Layout */
  --max-width: 1200px;
  --radius: 4px;
}

/* Global Reset */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4 { font-family: var(--font-header); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2rem, 1.7rem + 1.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .75vw, 1.75rem); }

/* Links */
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-block: var(--space-lg);
}

/* 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: var(--space-sm) 0;
}
.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-md);
}
.main-nav a {
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
}
.main-nav a:hover { background: rgba(0,77,64,.05); text-decoration: none; }

/* Mobile Menu (Checkbox Hack) */
#menu-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
}
@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 ease;
  }
  .main-nav ul {
    flex-direction: column;
    padding: var(--space-sm);
  }
  #menu-toggle:checked ~ .main-nav { max-height: 400px; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }

/* Cards */
.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.job-card h3 { margin-bottom: var(--space-xs); }

/* Grid Layouts */
.offers-grid,
.partners-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Partners */
.partner-link {
  display: block;
  padding: var(--space-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color .2s;
}
.partner-link:hover { border-color: var(--accent); text-decoration: none; }

/* Show More Partners (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; }
.show-more-checkbox { display: none; }
.show-more-container { text-align: center; margin-top: var(--space-md); }

/* Accordion (FAQ) */
details {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
}
summary {
  padding: var(--space-sm) var(--space-md);
  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 .content {
  padding: 0 var(--space-md) var(--space-md);
  border-top: 1px solid var(--border-light);
  margin-top: var(--space-sm);
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: #fff;
  padding-block: var(--space-xl) var(--space-lg);
}
.footer-content {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer-section h4 {
  margin-bottom: var(--space-sm);
  color: #fff;
}
.footer-section ul {
  list-style: none;
}
.footer-section a { color: #e5e7eb; }
.footer-section a:hover { color: #fff; }

/* Subtle Background Pattern */
.section-pattern {
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 63px,
    var(--border-light) 63px,
    var(--border-light) 64px
  );
}

/* Utility */
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: var(--space-sm); }
.mb-1 { margin-bottom: var(--space-sm); }