/* 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: #fcfcfc;
  --bg-surface: #ffffff;
  --text-main: #111317;
  --text-muted: #5c6370;
  --accent: #1e293b;
  --accent-hover: #0f172a;
  --radius: 4px;
  --shadow: 0 2px 6px rgba(30,41,59,.08);
  --font-header: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(2rem, 5vw, 4rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Typography */
h1, h2, h3 { font-family: var(--font-header); font-weight: 700; margin: 0 0 .5em; line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); }
p { margin: 0 0 1em; }
.text-muted { color: var(--text-muted); }

/* Layout */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-block: var(--section-pad);
}

/* 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: 1rem 0;
}
.logo { font-family: var(--font-header); font-size: 1.5rem; font-weight: 700; color: var(--accent); }

/* Navigation */
#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;
}
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s;
}
.main-nav a:hover::after { width: 100%; }

/* Mobile menu (checkbox hack) */
@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);
    transform: translateX(-100%);
    transition: transform .3s;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 1.5rem 5%;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateX(0); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  transition: background .25s;
}
.btn:hover { background: var(--accent-hover); }

/* Hero */
.hero {
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(30,41,59,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Cards */
.job-card,
.partner-link {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: box-shadow .25s;
}
.job-card:hover,
.partner-link:hover { box-shadow: 0 4px 12px rgba(30,41,59,.12); }

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .offers-grid,
  .partners-grid { grid-template-columns: repeat(2, 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; }

/* Accordion (details/summary) */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}
summary {
  font-weight: 500;
  cursor: pointer;
  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 > *:not(summary) { margin-top: 1rem; }

/* Footer */
.site-footer {
  background: var(--accent);
  color: #fff;
  margin-top: auto;
}
.footer-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 2.5rem 0;
}
.footer-section h4 { font-family: var(--font-header); margin: 0 0 .75rem; }
.footer-section a { opacity: .85; }
.footer-section a:hover { opacity: 1; }