/* Blue Accountants | Adviseurs — careers demo
   Palette from live brand: #235BA8 (primary), #00A8EA (accent) */

:root {
  --blue: #235BA8;
  --blue-dark: #17406e;
  --navy: #142c4a;
  --sky: #00A8EA;
  --sky-soft: #e5f6fd;
  --bg: #f5f8fc;
  --white: #ffffff;
  --text: #2a3a4f;
  --muted: #64748b;
  --line: #dde6f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 44, 74, 0.08);
  --shadow-lg: 0 18px 50px rgba(20, 44, 74, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--navy); font-weight: 600; font-size: 15.5px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); border-bottom-color: var(--sky); }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 11px 22px !important; border-radius: 10px;
  border-bottom: none !important; transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-dark); color: var(--white) !important; }
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  margin: 5px auto; transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.45;
}
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,44,74,0.92) 20%, rgba(35,91,168,0.55) 65%, rgba(0,168,234,0.25));
}
.hero-inner {
  position: relative; padding: 110px 0 120px; max-width: 640px;
}
.hero-kicker {
  color: var(--sky); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 13px; margin-bottom: 18px;
}
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 54px); margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,0.85); font-size: 19px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-weight: 700;
  font-size: 16px; cursor: pointer; border: none; transition: 0.2s;
  font-family: inherit;
}
.btn-primary { background: var(--sky); color: var(--navy); }
.btn-primary:hover { background: #33bdf0; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover { border-color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-kicker {
  color: var(--sky); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 13px; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17.5px; }

/* ---------- USP grid ---------- */
.usp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.usp {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: 0.2s;
}
.usp:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.usp-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sky); margin-bottom: 16px;
}
.usp h3 { font-size: 18px; margin-bottom: 8px; }
.usp p { color: var(--muted); font-size: 15.5px; }

/* ---------- Vacancy cards ---------- */
.vac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vac-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 12px;
  transition: 0.2s; color: var(--text);
}
.vac-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--sky); }
.vac-cat { font-size: 13.5px; font-weight: 700; color: var(--sky); text-transform: uppercase; letter-spacing: 0.08em; }
.vac-card h3 { font-size: 20px; }
.vac-meta { color: var(--muted); font-size: 14.5px; }
.vac-meta b { color: var(--navy); font-weight: 600; }
.vac-link { margin-top: auto; font-weight: 700; color: var(--blue); font-size: 15px; }
.vac-card:hover .vac-link { color: var(--sky); }

/* Filter */
.filter-bar { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.filter-bar button {
  background: none; border: none; cursor: pointer; font-family: inherit;
  font-size: 16px; font-weight: 600; color: var(--muted);
  padding: 10px 2px 14px; border-bottom: 2.5px solid transparent;
}
.filter-bar button:hover { color: var(--blue); }
.filter-bar button.active { color: var(--blue); border-bottom-color: var(--sky); }

/* ---------- Testimonial ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
  border-top: 4px solid var(--sky);
}
.quote p { font-size: 17px; color: var(--text); margin-bottom: 18px; }
.quote p::before { content: '\201C'; color: var(--sky); font-size: 34px; font-weight: 800; line-height: 0; margin-right: 4px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy); font-size: 15px; }
.quote cite span { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.checklist { list-style: none; margin: 20px 0 28px; }
.checklist li { padding-left: 26px; position: relative; margin-bottom: 11px; font-size: 16px; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--sky);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.stat { padding: 30px 10px; }
.stat b { display: block; font-family: 'Manrope', sans-serif; font-size: 44px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(100deg, var(--blue-dark), var(--blue) 55%, #1c7fc4); border-radius: 20px; padding: 64px 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); max-width: 480px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 8px; }

/* ---------- Vacancy detail ---------- */
.detail-hero { background: var(--navy); position: relative; overflow: hidden; }
.detail-hero .hero-inner { padding: 80px 0 88px; max-width: 720px; }
.detail-meta { display: flex; gap: 10px; flex-wrap: wrap; color: rgba(255,255,255,0.85); font-size: 15.5px; margin-bottom: 30px; align-items: center; }
.detail-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.detail-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
.detail-content h2 { font-size: 24px; margin: 44px 0 14px; }
.detail-content h2:first-child { margin-top: 0; }
.detail-content ul { margin: 12px 0 12px 2px; list-style: none; }
.detail-content li { padding-left: 26px; position: relative; margin-bottom: 10px; }
.detail-content li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.detail-content p { margin-bottom: 14px; }
.detail-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.aside-card { background: var(--bg); border-radius: var(--radius); padding: 30px; }
.aside-card h3 { font-size: 17px; margin-bottom: 14px; }
.aside-card dl { font-size: 15px; }
.aside-card dt { color: var(--muted); margin-top: 12px; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.aside-card dd { color: var(--navy); font-weight: 600; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.aside-contact { font-size: 15px; color: var(--muted); }
.aside-contact b { color: var(--navy); }

/* ---------- Form ---------- */
.form-wrap { max-width: 680px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.form-field input, .form-field textarea {
  font-family: inherit; font-size: 16px; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); transition: border-color 0.15s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--sky); }
.form-field textarea { min-height: 130px; resize: vertical; }
.upload {
  border: 2px dashed var(--line); border-radius: 10px; padding: 28px;
  text-align: center; color: var(--muted); cursor: pointer; transition: 0.15s;
  font-size: 15px;
}
.upload:hover { border-color: var(--sky); background: var(--sky-soft); }
.upload b { color: var(--blue); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.form-wrap.attempted input:invalid,
.form-wrap.attempted textarea:invalid { border-color: #dc3545; }
.form-wrap.attempted .consent input:invalid ~ span { color: #dc3545; }
.form-error { display: none; color: #dc3545; font-size: 14px; font-weight: 600; padding: 12px 16px; background: #fdf0f0; border: 1px solid #dc3545; border-radius: 8px; margin-bottom: 12px; grid-column: 1 / -1; }
.form-wrap.attempted .form-error { display: block; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }
.form-success {
  display: none; text-align: center; padding: 70px 30px;
  background: var(--sky-soft); border-radius: var(--radius);
}
.form-success .check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--sky);
  color: var(--white); font-size: 30px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 22px;
}
.form-success h2 { margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* ---------- Story featured ---------- */
.story-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-lg);
}
.story-featured-img { overflow: hidden; background: var(--bg); min-height: 380px; }
.story-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.story-featured-content {
  padding: 48px 44px; display: flex; flex-direction: column; justify-content: center;
}
.story-featured-content h3 { font-size: 24px; margin-bottom: 6px; }
.story-featured-content blockquote {
  color: var(--text); font-size: 17px; line-height: 1.75;
  border: none; padding: 0; margin: 0;
}
.story-quote-mark {
  font-family: 'Manrope', sans-serif; font-size: 64px; font-weight: 800;
  color: var(--sky); line-height: 0.7; margin-bottom: 12px; user-select: none;
}
.story-role { font-size: 14px; color: var(--sky); font-weight: 600; margin-bottom: 16px; }

/* ---------- Quote band ---------- */
.quote-band { background: var(--navy); padding: 80px 0; text-align: center; }
.quote-band blockquote {
  max-width: 700px; margin: 0 auto; border: none; padding: 0;
}
.quote-band-mark {
  font-family: 'Manrope', sans-serif; font-size: 72px; font-weight: 800;
  color: var(--sky); line-height: 0.5; margin-bottom: 24px; user-select: none;
}
.quote-band blockquote p {
  color: rgba(255,255,255,0.92); font-size: 22px; line-height: 1.6;
  font-weight: 500; margin-bottom: 28px;
}
.quote-band cite {
  font-style: normal; font-weight: 700; color: var(--sky); font-size: 15px;
}
.quote-band cite span {
  display: block; font-weight: 400; color: rgba(255,255,255,0.5);
  font-size: 14px; margin-top: 4px;
}

/* ---------- FAQ ---------- */
.faq-nav {
  display: flex; gap: 10px; margin-bottom: 56px; flex-wrap: wrap;
}
.faq-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 100px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: 15px; color: var(--navy); transition: 0.2s;
}
.faq-nav a:hover, .faq-nav a.active {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.faq-nav-count {
  background: var(--sky-soft); color: var(--blue); font-size: 12px;
  font-weight: 700; padding: 2px 8px; border-radius: 100px;
}
.faq-nav a:hover .faq-nav-count, .faq-nav a.active .faq-nav-count {
  background: rgba(255,255,255,0.2); color: var(--white);
}
.faq-list { max-width: 760px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--white); transition: 0.2s;
}
.faq-item[open] { border-color: var(--sky); box-shadow: var(--shadow); }
.faq-item summary {
  font-weight: 700; font-size: 17px; color: var(--navy);
  padding: 20px 48px 20px 24px; cursor: pointer;
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 22px; font-weight: 600;
  color: var(--sky); transition: 0.2s;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer {
  padding: 0 24px 22px; color: var(--muted); font-size: 16px; line-height: 1.7;
}
.faq-contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.faq-contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; text-align: center; transition: 0.2s;
}
.faq-contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.faq-contact-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sky-soft); color: var(--blue);
  font-size: 22px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-weight: 700;
}
.faq-contact-card h3 { font-size: 18px; margin-bottom: 8px; }
.faq-contact-card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.faq-contact-link { font-weight: 700; font-size: 15px; color: var(--blue); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 56px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 14px; }
.footer a { color: rgba(255,255,255,0.75); display: block; margin-bottom: 8px; font-size: 15px; }
.footer a:hover { color: var(--sky); }
.footer p { font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; font-size: 13.5px; color: rgba(255,255,255,0.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-wordmark { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 30px; color: var(--white); margin-bottom: 14px; letter-spacing: -0.02em; }
.footer-wordmark span { color: var(--sky); }

/* ---------- Toast dialog ---------- */
dialog.demo-note {
  border: none; border-radius: var(--radius); padding: 36px;
  max-width: 420px; box-shadow: var(--shadow-lg); text-align: center;
}
dialog.demo-note::backdrop { background: rgba(20,44,74,0.5); }
dialog.demo-note h3 { margin-bottom: 10px; }
dialog.demo-note p { color: var(--muted); margin-bottom: 22px; font-size: 15.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .usp-grid, .vac-grid, .stats { grid-template-columns: 1fr 1fr; }
  .split, .detail-body, .quote-grid, .story-featured, .faq-contact { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-featured-img { min-height: 260px; }
  .story-featured-content { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .usp-grid, .vac-grid, .stats, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 0 80px; }
  .section { padding: 60px 0; }
  .cta-band { padding: 44px 28px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    padding: 12px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; align-items: flex-start; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .nav-burger { display: block; }
}
