/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Playfair+Display:wght@700&display=swap');

:root {
  --bg-body: #faf8f5;
  --bg-surface: #ffffff;
  --text-main: #2c2c2c;
  --text-muted: #7a7a7a;
  --accent: #d64226;
  --accent-hover: #b0351e;
  --radius: 6px;
  --shadow: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.08);
  --font-header: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --gap: 24px;
}

/* Global Reset & Base */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Typography */
h1, h2, h3 { font-family: var(--font-header); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
p { margin-bottom: 1em; }
.text-muted { color: var(--text-muted); }

/* Layout Containers */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section { padding: 60px 0; }

/* 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;
  color: var(--accent);
}

/* 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: .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-lg);
    transform: translateY(-150%);
    transition: transform .3s;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  #menu-toggle:checked ~ .main-nav { transform: translateY(0); }
}

/* Hero Card */
.hero-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  margin: 40px auto 0;
  max-width: 800px;
  text-align: center;
}
.hero-card h1 { margin-bottom: 12px; }
.search-bar {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.search-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
}
.search-bar .btn { padding: 12px 24px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); }

/* Grids */
.offers-grid,
.partners-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* Job Card */
.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 h3 { margin-bottom: 4px; }
.job-card .meta {
  display: flex;
  gap: 16px;
  font-size: .875rem;
  color: var(--text-muted);
}
.flag {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 600;
}

/* Partners */
.partner-link {
  background: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .2s;
}
.partner-link:hover { box-shadow: var(--shadow-lg); }

/* Show More Partners (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 FAQ */
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 > p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: #fff;
  padding: 40px 0;
  margin-top: 60px;
}
.footer-content {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer-section h4 {
  font-family: var(--font-header);
  margin-bottom: 12px;
}
.footer-section a {
  display: block;
  padding: 4px 0;
  color: #ccc;
  transition: color .2s;
}
.footer-section a:hover { color: var(--accent); }