/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Libre+Baskerville:wght;700&display=swap');

:root {
  --bg-body: #ffffff;
  --bg-surface: #f5f7fa;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #1e3a8a;
  --accent-hover: #f59e0b;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(0,0,0,0.05);
  --max-width: 1200px;
  --gap: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2rem, 1.7rem + 1.5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--bg-body);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  font-weight: 700;
  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);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  border-bottom-color: var(--accent-hover);
}

/* Mobile Nav */
.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: transform 0.3s ease;
}

/* Mobile Menu Logic */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-body);
    border-top: 1px solid #e5e7eb;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }

  .menu-toggle:checked ~ .main-nav {
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  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: 0.75rem 1.5rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .offers-grid,
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .offers-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* Job Cards */
.job-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card h3 {
  margin-bottom: 0.5rem;
}

.job-card .meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Partners */
.partner-link {
  background: var(--bg-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease;
}

.partner-link:hover {
  transform: translateY(-2px);
}

.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;
}

.show-more-container {
  text-align: center;
  margin-top: 2rem;
}

/* Accordion (FAQ) */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
}

summary {
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: '+';
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details[open] {
  padding-bottom: 1.5rem;
}

details p {
  margin-top: 1rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: #fff;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #d1d5db;
}

.footer-section a:hover {
  color: var(--accent-hover);
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }