/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
  --bg-body: #F8F6F2;
  --bg-surface: #FFFFFF;
  --text-main: #2D2A26;
  --text-muted: #8C8776;
  --accent: #C06A3C;
  --accent-hover: #A7552C;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(45,42,38,.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; }

body {
  background: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.3;
  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; }
a:hover { color: var(--accent-hover); }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--bg-surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  border-bottom: 1px solid rgba(140,135,118,.15);
  padding: 12px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.header-main {
  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(--text-main);
  letter-spacing: 0.5px;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  color: var(--text-main);
  transition: color .2s;
}

.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: transform .3s;
}

@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: translateY(-150%);
    transition: transform .3s ease;
    padding: 24px;
  }
  .main-nav ul { flex-direction: column; gap: 16px; }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .2s;
}

.btn:hover { background: var(--accent-hover); color: #fff; }

.btn--outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn--outline:hover { background: var(--accent); color: #fff; }

/* Cards */
.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__title {
  font-family: var(--font-header);
  font-size: 1.25rem;
}

.job-card__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@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; }
}

/* Partners */
.partner-link {
  display: block;
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  font-weight: 600;
  color: var(--text-main);
  transition: box-shadow .2s;
}

.partner-link:hover { box-shadow: 0 2px 6px rgba(45,42,38,.12); }

/* Show More – Checkbox Hack */
.partners-wrapper .partners-hidden { 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-checkbox { display: none; }
.show-more-container { text-align: center; margin-top: var(--gap); }

/* Accordion – Details/Summary */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 12px;
}

summary {
  font-weight: 600;
  cursor: pointer;
  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 > *:not(summary) {
  margin-top: 16px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: var(--bg-body);
  padding: 48px 0 24px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
}

.footer-section h4 {
  font-family: var(--font-header);
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--bg-surface);
}

.footer-section a { color: var(--bg-body); }
.footer-section a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  margin-top: 48px;
  font-size: 0.875rem;
  color: var(--text-muted);
}