/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

:root {
  --bg-body: #f5f7fa;
  --bg-surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --accent: #38b2ac;
  --accent-hover: #2c8c87;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0,0,0,0.05);
  --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);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

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);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

img,
svg {
  max-width: 100%;
  display: block;
}

/* Layout helpers */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
}

.section {
  padding-block: 60px;
}

/* 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;
}

.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* Desktop nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.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: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
  transition: background 0.2s;
}

.hamburger:hover span {
  background: var(--accent);
}

@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 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }

  #menu-toggle:checked ~ .main-nav {
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* Cards */
.job-card,
.partner-link {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 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: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .offers-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* 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;
}

.show-more-container {
  text-align: center;
  margin-top: 24px;
}

.show-more-label {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: #fff;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
}

.footer-section h4 {
  font-family: var(--font-header);
  margin-bottom: 12px;
  color: #fff;
}

.footer-section a {
  color: #cbd5e1;
}

.footer-section a:hover {
  color: #fff;
}

/* FAQ (details/summary) */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details[open] summary {
  margin-bottom: 12px;
}

/* Utility */
.text-muted {
  color: var(--text-muted);
}