/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

/* ====== VARIABLES ====== */
:root {
  /* Colors */
  --bg-body: #ffffff;
  --bg-surface: #f5f7fa;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  /* Typography */
  --font-header: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  /* Layout */
  --radius: 10px;
  --shadow: 0 4px 12px rgba(0,0,0,.06);
  --max-width: 1200px;
  --pad: clamp(1rem, 4vw, 2.5rem);
}

/* ====== GLOBALS ====== */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-header);
  font-weight: 700;
  margin: 0 0 .5em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

/* ====== LAYOUT HELPERS ====== */
.wrapper {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ====== HEADER ====== */
.site-header {
  background: var(--bg-body);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 0 rgba(0,0,0,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
}
.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Hamburger (hidden checkbox) */
#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;
}

/* Desktop Nav */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  font-weight: 500;
  color: var(--text-main);
}
.main-nav a:hover { color: var(--accent); }

/* ====== MOBILE NAV (Checkbox Hack) ====== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  #menu-toggle:checked ~ .main-nav { max-height: 20rem; }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem var(--pad);
  }
}

/* ====== HERO (Split) ====== */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: clamp(3rem, 8vw, 5rem) var(--pad);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; }
}
.hero-text { align-self: center; }
.hero-text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-visual {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  color: var(--text-muted);
}

/* ====== CTA BAR (Floating) ====== */
.cta-bar {
  background: var(--accent);
  color: #fff;
  padding: 1rem var(--pad);
  position: sticky;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,.08);
}
.cta-bar p { margin: 0; font-weight: 500; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

.btn--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ====== SECTIONS ====== */
section { padding: clamp(3rem, 8vw, 5rem) var(--pad); }
.bg-surface { background: var(--bg-surface); }

/* ====== 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: 1fr; }
}

/* ====== JOB CARD ====== */
.job-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.job-card h3 { margin-bottom: .25rem; }
.job-card__meta {
  font-size: .875rem;
  color: var(--text-muted);
}

/* ====== PARTNER LINK ====== */
.partner-link {
  background: var(--bg-body);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color .2s;
}
.partner-link:hover { border-color: var(--accent); }

/* ====== PARTNERS SHOW-MORE (Checkbox Hack) ====== */
.partners-hidden { display: none; }
.show-more-checkbox { display: none; }
.show-more-checkbox:checked ~ .partners-hidden { display: grid; }
.show-more-checkbox:checked ~ .show-more-container { display: none; }

/* ====== ADVICE TIMELINE (Card Deck) ====== */
.advice-deck {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.advice-card {
  flex: 0 0 280px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}
.advice-card h4 { margin-top: 0; }

/* ====== FAQ ACCORDION (details/summary) ====== */
details {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
summary {
  font-weight: 600;
  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); }

/* ====== FOOTER ====== */
.site-footer {
  background: var(--text-main);
  color: #fff;
  padding: 2.5rem var(--pad) 2rem;
}
.footer-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}
.footer-section h4 {
  font-family: var(--font-header);
  margin-bottom: .75rem;
}
.footer-section a { color: #d1d5db; }
.footer-section a:hover { color: #fff; }

/* ====== 1PX DOT GRID DECORATION ====== */
.dot-grid {
  background-image: radial-gradient(circle,rgba(0,0,0,.05) 1px,transparent 1px);
  background-size: 24px 24px;
}