/* 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: #f8f9fa;
  --bg-surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --radius: 6px;
  --shadow: 0 2px 6px rgba(30,41,59,.08);
  --font-header: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --gap: 24px;
}

*,
*::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;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-header); font-weight: 700; }
h1 { font-size: clamp(2rem, 2.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2vw, 2rem); }
h3 { font-size: clamp(1.25rem, 1.5vw, 1.5rem); }
p  { font-size: clamp(1rem, 1vw, 1.125rem); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Layout Containers */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: 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: 16px 0;
  gap: var(--gap);
}
.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: var(--text-main);
  white-space: nowrap;
}
.search-bar {
  flex: 1 1 320px;
  display: flex;
}
.search-bar input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 1rem;
}
.search-bar button {
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-left: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
}
.search-bar button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-weight: 500;
  color: var(--text-main);
}
.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;
    width: 100%;
    background: var(--bg-surface);
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform .3s ease;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 16px var(--gap);
  }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  background: var(--accent);
  color: #fff;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

/* Cards Grid */
.offers-grid,
.partners-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Job Card */
.job-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.job-card h3 { margin-bottom: 8px; }
.job-card .meta {
  font-size: .875rem;
  color: var(--text-muted);
}
.job-card .btn { align-self: start; margin-top: auto; }

/* Partner Link */
.partner-link {
  display: block;
  background: var(--bg-surface);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.partner-link:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

/* Partners Show-more (Checkbox Hack) */
.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; }

/* FAQ Accordion */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 500;
  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-top: 12px; color: var(--text-muted); }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 64px;
}
.footer-content {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 48px 0 32px;
}
.footer-section h4 {
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 12px;
  color: #fff;
}
.footer-section ul { list-style: none; }
.footer-section a { color: #94a3b8; }
.footer-section a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid #1e293b;
  font-size: .875rem;
  color: #64748b;
}