@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700&display=swap');

:root {
  --navy: #293854;
  --coral: #F32A49;
  --cream: #FFFAF5;
  --light-gray: #F0EBE3;
  --text: #262F3B;
  --text-muted: #7A7A7A;
  --white: #ffffff;
  --beige: #FDF4EC;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(248, 246, 241, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav.dark {
  background: transparent;
}

.nav.dark.scrolled {
  background: rgba(26, 31, 60, 0.96);
}

.nav-logo img {
  height: 36px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--coral);
  background: rgba(232, 99, 74, 0.07);
}

.nav-links a.active {
  color: var(--coral);
}

.nav.dark .nav-links a {
  color: rgba(255,255,255,0.85);
}

.nav.dark .nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.875rem;
  padding-bottom: 8px;
  margin-bottom: -8px;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  border: none;
  background: none;
  font-family: inherit;
}

.nav.dark .nav-dropdown-toggle {
  color: rgba(255,255,255,0.85);
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-dropdown-toggle svg {
  transition: transform var(--transition);
}



.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--cream);
  color: var(--coral);
}

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 100px !important;
}

.nav-cta:hover {
  background: #d4182e !important;
  color: var(--white) !important;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--navy);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.nav.dark .nav-social a {
  color: rgba(255,255,255,0.85);
}

.nav-social a:hover {
  color: var(--coral);
  background: rgba(232, 99, 74, 0.1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav.dark .nav-hamburger span {
  background: var(--white);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 2.5rem 80px;
  position: relative;
  overflow: hidden;
  background: #1a0a0d;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(243,42,73,0.45) 0%, rgba(26,10,13,0.6) 60%, rgba(41,56,84,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg,
.hero-dot,
.hero-content,
.hero-scroll {
  z-index: 2;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://careers.recruiteecdn.com/image/upload/q_auto,f_auto,w_1920,c_limit/production/images/BwfU/N6OdGDH_jJ2p.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-dot {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.2;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.08); opacity: 0.28; }
}

.hero-content {
  position: relative;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--coral);
}


.hero h1 {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--coral);
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Lato', sans-serif;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: #d4182e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 42, 73, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(26,31,60,0.25);
}

.btn-outline-dark:hover {
  border-color: var(--navy);
  background: rgba(26,31,60,0.05);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

/* ── SECTIONS ── */
.section {
  padding: 5rem 2.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.875rem;
}

.section-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ── VALUES GRID ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--light-gray);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3rem;
}

.value-card {
  background: var(--cream);
  padding: 2.5rem;
  transition: background var(--transition);
}

.value-card:hover {
  background: var(--white);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(232, 99, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--coral);
}

.value-card h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.3125rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.625rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── QUOTE BLOCK ── */
.quote-block {
  background: var(--navy);
  border-radius: 20px;
  padding: 4rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 2.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 12rem;
  color: rgba(232, 99, 74, 0.15);
  line-height: 1;
  pointer-events: none;
}

.quote-block blockquote {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.45;
  max-width: 720px;
  position: relative;
}

.quote-attribution {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.quote-attribution strong {
  color: var(--coral);
  font-weight: 500;
}

/* ── TEAM GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.team-card-img {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
  display: block;
}

.team-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.team-card-role {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.team-card-name {
  font-family: 'Lato', sans-serif;
  font-size: 1.375rem;
  color: var(--navy);
}

.team-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.25rem;
}

.team-card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* ── JOBS SECTION ── */
.jobs-section {
  background: var(--beige);
  padding: 5rem 2.5rem;
  border-top: 1px solid #f0e8e0;
}

.jobs-section .section-title {
  color: var(--navy);
}

.jobs-section .section-label {
  color: var(--coral);
}

.jobs-grid {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #e8ddd5;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #e0d5cc;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--white);
  text-decoration: none;
  transition: background var(--transition);
  gap: 1rem;
}

.job-card:hover {
  background: #fff5f6;
}

.job-card:hover .job-arrow {
  transform: translateX(4px);
  color: var(--coral);
}

.job-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.1875rem;
  color: var(--navy);
  font-weight: 400;
}

.job-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.job-tag {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.job-arrow {
  color: #ccc;
  transition: all var(--transition);
  flex-shrink: 0;
}

.jobs-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  gap: 0.75rem;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(243,42,73,0.15);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.jobs-empty {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ── BENEFITS GRID ── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
}

.benefit-item h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.3125rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.benefit-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.benefit-highlight {
  background: var(--coral);
  color: var(--white);
}

.benefit-highlight h3 {
  color: var(--white);
}

.benefit-highlight p {
  color: rgba(255,255,255,0.8);
}

/* ── IMAGE MOSAIC ── */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 1rem;
  margin-top: 2.5rem;
  border-radius: 16px;
  overflow: hidden;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-large {
  grid-row: span 2;
}

/* ── STAT BAR ── */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3rem;
}

.stat-item {
  padding: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Lato', sans-serif;
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}

.stat-number span {
  color: var(--coral);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  padding: 3rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: var(--beige);
  padding: 140px 2.5rem 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid #e8ddd5;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(232, 99, 74, 0.08) 100%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.page-hero h1 {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  max-width: 700px;
}

.page-hero p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 1.25rem;
}

/* ── PROCESS STEPS ── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  background: var(--light-gray);
  gap: 1.5px;
}

.process-step {
  background: var(--cream);
  padding: 2rem 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-number {
  font-family: 'Lato', sans-serif;
  font-size: 3rem;
  color: var(--coral);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  min-width: 3rem;
}

.step-content h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav {
    padding: 0 1.25rem;
  }

  .nav-links, .nav-social, .nav-dropdown {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav.mobile-open .nav-links,
  .nav.mobile-open .nav-social {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

  .hero {
    padding: 100px 1.25rem 60px;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .stat-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .mosaic-large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .quote-block {
    padding: 2rem;
  }

  .page-hero {
    padding: 110px 1.25rem 60px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .jobs-section {
    padding: 3.5rem 1.25rem;
  }

  .job-card {
    padding: 1.25rem;
  }
}

/* ── FADE IN on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-dot {
    animation: none;
  }
}


/* Mobiliteit image fix */
.img-top { object-position: top; }
.img-center { object-position: center; }

/* Light nav (subpages with beige hero) */
.nav.light .nav-links a {
  color: var(--navy);
}
.nav.light .nav-dropdown-toggle {
  color: var(--navy);
}
.nav.light .nav-social a {
  color: var(--navy);
}
.nav.light .nav-hamburger span {
  background: var(--navy);
}

/* ── DETAILS/SUMMARY DROPDOWN (no JS needed) ── */
.nav-details {
  position: relative;
}

.nav-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  color: inherit;
  transition: color var(--transition), background var(--transition);
}

.nav-details summary::-webkit-details-marker { display: none; }
.nav-details summary::marker { display: none; }

.nav-details summary:hover {
  color: var(--coral);
  background: rgba(243, 42, 73, 0.07);
}

.nav-details summary svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-details[open] summary svg {
  transform: rotate(180deg);
}

.nav-details .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  list-style: none;
  z-index: 9999;
}



/* ── NAV DROPDOWN MENU (details/summary) ── */
.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  list-style: none;
  z-index: 9999;
}

.nav-details[open] .nav-menu {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 6px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover {
  background: var(--beige);
  color: var(--coral);
}

/* Override dark nav - dropdown menu links must always be navy on white */
.nav.dark .nav-menu a,
.nav.light .nav-menu a {
  color: var(--navy) !important;
}

.nav.dark .nav-menu a:hover,
.nav.light .nav-menu a:hover {
  color: var(--coral) !important;
  background: var(--beige) !important;
}
