/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Lato:wght@400;700&display=swap');

:root {
  --bg-body: #f5f7fa;
  --bg-surface: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #0059ff;
  --accent-hover: #0047d0;
  --radius: 6px;
  --shadow: 0 2px 6px rgba(0,0,0,.08);
  --max-width: 1200px;
  --font-header: 'Inter', sans-serif;
  --font-body: 'Lato', sans-serif;
}

/* 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(.9375rem, 2.5vw, 1rem);
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

/* Subtle dot pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,89,255,.01) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-header); font-weight: 600; line-height: 1.2; color: var(--text-main); }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.375rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Layout containers */
.wrapper { max-width: var(--max-width); margin-inline: auto; padding-inline: 1rem; }

/* 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-block: 1rem;
}
.logo {
  font-family: var(--font-header);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--accent);
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.main-nav a {
  font-weight: 600;
  color: var(--text-main);
  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: 3px;
  background: var(--text-main);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 3rem 0;
  text-align: center;
}
.hero h1 { margin-bottom: .5rem; }
.hero p { color: var(--text-muted); max-width: 680px; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  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 { font-size: 1.125rem; }
.job-card .meta {
  font-size: .875rem;
  color: var(--text-muted);
}

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.partners-grid { align-items: center; justify-items: center; }

/* Partners hidden/show more */
.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; }

/* Partner link */
.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--text-main);
  transition: transform .2s;
}
.partner-link:hover { transform: translateY(-2px); }

/* FAQ (details/summary) */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  cursor: pointer;
}
details + details { margin-top: .75rem; }
summary {
  font-family: var(--font-header);
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: "›";
  font-size: 1.5rem;
  transform: rotate(90deg);
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(-90deg); }

/* Footer */
.site-footer {
  background: var(--text-main);
  color: #fff;
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-section h4 {
  font-size: 1rem;
  margin-bottom: .75rem;
  color: #fff;
}
.footer-section a { color: #cbd5e1; }
.footer-section a:hover { color: #fff; }

/* Responsive */
@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);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
  }
  #menu-toggle:checked ~ .main-nav { max-height: 15rem; }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}