/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --bg-body: #f5f7fa;
  --bg-surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.1);
  --font-header: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*,
*::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, h4, h5, h6 { font-family: var(--font-header); font-weight: 600; color: var(--text-main); }
h1 { font-size: clamp(1.75rem, 2.5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2vw, 2rem); }
h3 { font-size: clamp(1.25rem, 1.5vw, 1.5rem); }
p  { font-size: clamp(1rem, 1.2vw, 1.125rem); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ---------- LAYOUT ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
  padding-block: 2rem;
}

/* ---------- 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-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
}

/* Desktop Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-weight: 600;
  color: var(--text-main);
  transition: color .2s;
}
.main-nav a:hover { color: var(--accent); }

/* Mobile Nav (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);
  transition: .3s;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform .3s ease;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 1.5rem 5%;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  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: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.job-card h3 { color: var(--accent); }

/* ---------- 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: 2rem 1rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.partner-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

/* Show More Partners (Checkbox Hack) */
.partners-hidden { display: none; }
.show-more-checkbox { display: none; }
.show-more-checkbox:checked ~ .partners-hidden { display: grid; }
.show-more-checkbox:checked ~ .show-more-container { display: none; }

/* ---------- FAQ ACCORDION ---------- */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}
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;
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--text-main);
  color: #fff;
  margin-top: 4rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}
.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: .75rem;
  color: var(--accent);
}
.footer-section ul {
  list-style: none;
}
.footer-section a {
  color: #cbd5e1;
  font-size: .95rem;
}
.footer-section a:hover { color: #fff; }