:root {
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-dark: #0B1220;
  --brand: #2563EB;
  --brand-light: #3B82F6;
  --brand-wash: #EFF6FF;
  --whatsapp: #25D366;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --container: 1160px;
  --gap: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; width: 100%; max-width: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01' on, 'cv11' on;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.5rem, 5.5vw + .5rem, 5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  font-weight: 800;
}
h2 {
  font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.05;
}
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p  { margin: 0 0 1em; color: var(--ink-soft); }
a  { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-shrink: 0;
}
.brand svg, .brand img { height: 20px; width: auto; display: block; }
#primary-nav { display: flex; }
.nav-links {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-links .mobile-only { display: none; }
@media (max-width: 760px) { .nav-links .mobile-only { display: list-item; } }
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-sm { padding: 9px 14px; font-size: .875rem; border-radius: 8px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Tablet: squeeze nav */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
}

/* Mobile: hamburger */
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .nav { height: 60px; gap: 8px; }
  .brand { padding: 6px 10px; }
  .brand img { height: 18px; }
  .nav-login { display: none; }  /* Inloggen lives inside mobile menu (highlighted) */
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  #primary-nav {
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease-out;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  }
  #primary-nav.open { max-height: 480px; }
  .nav-links {
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 24px 20px;
  }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav-links a.mobile-login { color: var(--brand); font-weight: 600; }
}

/* Extra narrow (iPhone SE etc.) */
@media (max-width: 380px) {
  .lang-toggle { font-size: .75rem; }
  .lang-toggle button { padding: 4px 9px; }
  .nav-right { gap: 6px; }
}

.lang-toggle {
  display: inline-flex; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 3px; font-size: .8rem; font-weight: 600;
}
.lang-toggle button {
  all: unset; cursor: pointer;
  padding: 5px 12px; border-radius: var(--radius-pill);
  color: var(--muted); transition: all .15s;
}
.lang-toggle button.active { background: var(--ink); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  transition: all .15s ease;
  border: 1px solid transparent;
  line-height: 1;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-light); text-decoration: none; transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-dark:hover { border-color: #fff; text-decoration: none; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1FB055; text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; border-radius: 12px; }

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 120px;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(11,18,32,0.55) 0%, rgba(11,18,32,0.35) 40%, rgba(11,18,32,0.75) 100%),
    url('/assets/photos/hero-canal.jpg') center/cover no-repeat;
  color: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { color: rgba(255,255,255,0.85); }
.hero-title { max-width: 17ch; margin-bottom: 28px; color: #fff; }
.hero-title .accent { color: var(--brand-light); font-style: italic; font-weight: 700; }
.hero-lead {
  font-size: 1.2rem;
  max-width: 55ch;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero-cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Building photo band */
.buildings-band {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 48px;
}
.buildings-band .photo {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
@media (max-width: 680px) { .buildings-band { grid-template-columns: 1fr; } }

/* Sections */
section { padding: 100px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark {
  background: var(--bg-dark);
  color: #fff;
}
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: rgba(255,255,255,0.75); }
section.dark .eyebrow { color: rgba(255,255,255,0.55); }
.section-head { max-width: 720px; margin-bottom: 56px; }

/* About / bullet list */
.bullets { list-style: none; padding: 0; margin: 24px 0 0; }
.bullets li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.bullets .check {
  flex-shrink: 0; width: 22px; height: 22px;
  color: var(--brand);
  margin-top: 3px;
}

/* Feature grid (How we work) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg-dark);
  padding: 32px 28px;
  transition: background .2s;
}
.feature:hover { background: #111a2e; }
.feature .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--brand-light);
  margin-bottom: 18px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.feature h3 { color: #fff; margin-bottom: 6px; font-size: 1.1rem; }
.feature p { margin: 0; font-size: .95rem; color: rgba(255,255,255,0.7); line-height: 1.55; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .15s;
}
.service:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.service .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-wash); color: var(--brand);
  margin-bottom: 20px;
}
.service h3 { font-size: 1.15rem; margin-bottom: 2px; }
.service .sub { color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.service p { font-size: .95rem; margin: 0; line-height: 1.55; }

/* Expats band */
.expats-band {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  color: #fff;
  padding: 80px 0;
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: var(--container);
}
.expats-inner { text-align: center; max-width: 780px; margin: 0 auto; padding: 0 32px; }
.expats-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.expats-band h2 { color: #fff; font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); }
.expats-band p { color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.expats-bullets { list-style: none; padding: 0; margin: 28px 0; display: inline-block; text-align: left; }
.expats-bullets li {
  padding: 8px 0;
  color: rgba(255,255,255,0.95);
  font-size: 1rem;
}
.expats-bullets li::before { content: "✓"; color: #93C5FD; font-weight: 700; margin-right: 12px; }

/* TwinQ band */
.twinq-band { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .twinq-band { grid-template-columns: 1fr; gap: 40px; } }
.twinq-visual {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.twinq-visual .mark {
  font-weight: 800; font-size: 4rem; letter-spacing: -0.04em;
  color: var(--ink);
}
.twinq-visual .mark em { color: var(--brand); font-style: normal; }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.founder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.founder-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.founder h3 { font-size: 1.25rem; margin-bottom: 4px; }
.founder .role { color: var(--brand); font-weight: 500; font-size: .85rem; margin-bottom: 14px; letter-spacing: .05em; text-transform: uppercase; }
.founder p { margin: 0; font-size: .95rem; line-height: 1.6; }
@media (max-width: 680px) { .founders { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.contact-card .note { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.contact-card + .contact-card { margin-top: 16px; }
.contact-divider { border-top: 1px solid var(--line); margin: 32px 0; }
.contact-existing-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

/* Footer */
.site-footer {
  padding: 72px 0 32px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col li { color: rgba(255,255,255,0.7); font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5); font-size: .825rem;
}
.footer-brand { margin-bottom: 18px; display: inline-block; }
.footer-brand img { height: 28px; }

/* Floating WhatsApp */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
  transition: all .2s;
}
.whatsapp-fab:hover { transform: scale(1.05); text-decoration: none; }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* Login page */
.login-wrap { padding: 96px 0 120px; }
.login-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.login-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--brand-wash); color: var(--brand);
  margin: 0 auto 20px;
}

/* Utility */
.hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
