/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Playfair+Display:wght@700&display=swap');

:root {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #1e40af;
  --accent-hover: #3b82f6;
  --radius: 8px;
  --shadow: 0 2px 6px rgba(0,0,0,.06);
  --font-header: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-header); font-weight: 700; }

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: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ----- 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-size: 1.5rem;
  color: var(--accent);
}

/* Desktop nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-main);
}

/* 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);
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform .3s ease;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem 5%;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: background .2s ease;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

/* ----- 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; }
}

/* ----- CARDS ----- */
.job-card,
.partner-link {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: box-shadow .2s ease;
}
.job-card:hover,
.partner-link:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* ----- PARTNERS SHOW-MORE (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; }

/* ----- ACCORDION (FAQ) ----- */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}
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;
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(45deg); }

/* ----- FOOTER ----- */
.site-footer {
  background: var(--text-main);
  color: var(--bg-body);
  margin-top: 4rem;
}
.footer-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 3rem 0;
}
.footer-section h4 {
  margin-bottom: .75rem;
  font-size: 1.125rem;
}
.footer-section a { color: #cbd5e1; }
.footer-section a:hover { color: #fff; }