/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@700;800&display=swap');

:root {
  --bg-body: #f5f7fa;
  --bg-surface: #ffffff;
  --text-main: #1c1c1e;
  --text-muted: #6c757d;
  --accent: #ffb400;
  --accent-hover: #ff9e00;
  --radius: 6px;
  --shadow: 0 2px 4px rgba(0,0,0,.04);
  --max-width: 1160px;
  --font-header: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout Helpers */
.container {
  width: min(90%, var(--max-width));
  margin-inline: auto;
}

.section { padding: 4rem 0; }

/* 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: 1rem 0;
}

.logo {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Navigation */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}

.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;
    right: 0;
    background: var(--bg-surface);
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform .3s;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 1.5rem;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
}

/* Hero */
.hero {
  background: var(--bg-surface);
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero h1 { margin-bottom: 1rem; }
.hero p {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--text-main);
  transition: background .2s;
}

.btn:hover { background: var(--accent-hover); }

/* Cards */
.job-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.job-card h3 { margin: 0; }

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Partners */
.partner-link {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s, box-shadow .2s;
}

.partner-link:hover {
  color: var(--accent);
  box-shadow: 0 4px 8px rgba(0,0,0,.06);
}

/* 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-container {
  text-align: center;
  margin-top: 1.5rem;
}

.show-more-label {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
}

/* FAQ Accordion */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

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);
  transition: transform .2s;
}

details[open] summary::after { transform: rotate(45deg); }

details p {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: var(--bg-body);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section {
  flex: 1 1 240px;
}

.footer-section h4 {
  margin-bottom: .75rem;
  font-size: 1.125rem;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section a {
  color: var(--text-muted);
  transition: color .2s;
}

.footer-section a:hover { color: var(--accent); }

/* Subtle Road Dashes */
.decorated-section {
  position: relative;
}

.decorated-section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background-image: linear-gradient(to right, transparent 0, transparent 12px, #e0e0e0 12px, #e0e0e0 13px);
  background-size: 24px 1px;
  pointer-events: none;
}