/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Inter:wght@300;400;500&display=swap');

:root {
  /* Colors */
  --bg-body: #fafafa;
  --bg-surface: #ffffff;
  --text-main: #1e1e1e;
  --text-muted: #6c6c6c;
  --accent: #004d40;
  --accent-hover: #00695c;
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  /* Layout */
  --max-width: 1200px;
  --radius: 4px;
  --shadow: 0 2px 6px rgba(0,0,0,.06);
}

/* Global */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

/* Background grid (subtle) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.05) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
p { margin: 0 0 var(--space-sm); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-block: var(--space-lg);
}

/* Header */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* Navigation */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-md);
}
.main-nav a {
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  transition: background .2s;
}
.main-nav a:hover { background: rgba(0,77,64,.08); }

/* 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);
  transition: transform .3s;
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--bg-surface);
    border-top: 1px solid rgba(0,0,0,.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
  }
  .main-nav ul {
    flex-direction: column;
    padding: var(--space-sm) 0;
  }
  #menu-toggle:checked ~ .main-nav { max-height: 50vh; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  transition: background .2s;
  cursor: pointer;
  border: none;
}
.btn:hover { background: var(--accent-hover); }

/* Cards */
.job-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}
.job-card h3 { margin-bottom: var(--space-xs); }

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 768px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Partners */
.partner-link {
  display: block;
  padding: var(--space-md);
  background: var(--bg-surface);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  text-align: center;
  transition: box-shadow .2s;
}
.partner-link:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* Show-more partners (checkbox hack) */
.show-more-checkbox { display: none; }
.partners-hidden { display: none; }
.show-more-checkbox:checked ~ .partners-hidden { display: grid; }
.show-more-checkbox:checked ~ .show-more-container { display: none; }

/* Accordion (details) */
details {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  background: var(--bg-surface);
  margin-bottom: var(--space-sm);
}
summary {
  padding: var(--space-sm) var(--space-md);
  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;
}
details[open] summary::after { transform: rotate(45deg); }
details p {
  padding: 0 var(--space-md) var(--space-md);
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--accent);
  color: #fff;
  margin-top: var(--space-xl);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}
.footer-section {
  flex: 1 1 200px;
}
.footer-section h4 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
}
.footer-section a { color: #e0f2f1; }
.footer-section a:hover { color: #fff; }

/* Utilities */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }