/* Jefr – International Social Safety
   Palette and typography follow jefr.nl (Blocksy/Elementor theme). */

@font-face {
  font-family: "Duepuntozero";
  src: url("../fonts/Duepuntozero-Pro-Regular.woff2") format("woff2"),
       url("../fonts/Duepuntozero-Pro-Regular.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #013356;
  --navy-deep: #002a48;
  --mint: #60b0a2;
  --mint-light: #c4e3e0;
  --mint-pale: #e6f3f1;
  --terra: #c9735d;
  --terra-soft: #e2b4a8;
  --paper: #fbfbfb;
  --grey: #f4f4f5;
  --white: #fff;
  --text: #013356;
  --muted: #4a6a82;

  --f-head: "Duepuntozero", "Ubuntu", sans-serif;
  --f-body: "Ubuntu", sans-serif;

  --radius: 8px;
  --pebble: 58% 42% 55% 45% / 48% 58% 42% 52%;
  --pebble-2: 42% 58% 46% 54% / 56% 44% 56% 44%;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--terra); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .display {
  font-family: var(--f-head);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.6; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons – as on jefr.nl: terracotta, 8px radius */
.btn {
  display: inline-block;
  background: var(--terra);
  color: #fff;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--terra);
  border-radius: var(--radius);
  padding: 14px 26px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .95rem; }
.btn-full { width: 100%; }

/* Pebbles – the organic shape from the Jefr logo */
.pebble { border-radius: var(--pebble); }
.pebble-mint { background: var(--mint); }
.pebble-terra { background: var(--terra); }
.pebble-navy { background: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 251, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(1, 51, 86, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo img { width: 84px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--terra); text-decoration: none; font-size: 1rem; }
.nav a:not(.btn):hover { color: var(--navy); }
.nav .nav-lang { font-weight: 500; color: var(--navy) !important; border: 1px solid rgba(1,51,86,.25); border-radius: 6px; padding: 2px 8px; font-size: .85rem !important; }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tint { background: var(--grey); }
.section-mint { background: var(--mint-light); }
.section-navy { background: var(--navy); color: #fff; }
.section-terra { background: var(--terra); color: #fff; overflow: hidden; }
.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 18px;
}
.two-col { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.two-col-center { align-items: center; }

.statement {
  font-family: var(--f-head); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25;
  margin: 56px 0 0; max-width: 820px;
}
.statement span { color: var(--terra); }
.statement-center { text-align: center; margin-inline: auto; color: var(--navy); }

/* 1. Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .2em; }
.hero-sub { font-family: var(--f-head); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--terra); line-height: 1.25; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-visual { position: relative; aspect-ratio: 1 / .95; min-height: 380px; }
.hv-a, .hv-b { position: absolute; }
.hv-a { width: 64%; height: 60%; left: 24%; top: 14%; background: #9fcfc6; }
.hv-b { width: 60%; height: 56%; left: 13%; top: 26%; opacity: .95; border-radius: var(--pebble-2); }
.hv-core {
  position: absolute; left: 18%; top: 34%; width: 60%; height: 36%;
  display: grid; place-items: center; text-align: center; margin: 0;
  font-family: var(--f-head); color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1;
}
.chip {
  position: absolute; background: var(--white); color: var(--navy);
  font-size: .9rem; padding: 8px 16px; border-radius: 999px 999px 999px 6px;
  box-shadow: 0 6px 20px rgba(1, 51, 86, .08); white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.c1 { left: 0; top: 6%; }
.c2 { right: 0; top: 10%; animation-delay: -1.2s; border-radius: 999px 999px 6px 999px; }
.c3 { right: -2%; top: 52%; animation-delay: -2.4s; border-radius: 999px 999px 6px 999px; }
.c4 { left: -2%; top: 70%; animation-delay: -3.6s; }
.c5 { left: 34%; bottom: 0; animation-delay: -4.8s; }
.c6 { left: 4%; top: 38%; animation-delay: -6s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.proof-line {
  list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 22px 0;
  border-top: 1px solid rgba(1, 51, 86, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  font-weight: 500; font-size: 1rem;
}
.proof-line li { display: flex; align-items: center; gap: 10px; }
.proof-line li::before { content: ""; width: 12px; height: 10px; background: var(--mint); border-radius: var(--pebble); }

/* 2. International question */
.patchwork { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.patch {
  padding: 20px 20px 22px; border-radius: 14px; font-size: 1rem; line-height: 1.35; font-weight: 500;
  background: var(--white); border: 1px solid rgba(1, 51, 86, .1);
}
.patch-label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 6px; }
.p1 { border-top: 4px solid var(--mint); }
.p2 { border-top: 4px solid var(--terra-soft); transform: translateY(18px); }
.p3 { border-top: 4px solid var(--navy); }
.p4 { border-top: 4px solid var(--terra); transform: translateY(18px); }
.p5 { border-top: 4px solid var(--mint-light); }
.p6 { border: 1px dashed rgba(1, 51, 86, .35); background: transparent; color: var(--muted); transform: translateY(18px); font-size: 1.6rem; }

.question {
  margin-top: clamp(64px, 8vw, 104px); text-align: center; max-width: 760px; margin-inline: auto;
}
.q-intro { color: var(--muted); margin-bottom: .4em; }
.q-not {
  font-family: var(--f-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: rgba(1, 51, 86, .45);
  text-decoration: line-through; text-decoration-color: var(--terra-soft); text-decoration-thickness: 2px;
  margin-bottom: 1em;
}
.q-yes { font-family: var(--f-head); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.1; color: var(--terra); margin-bottom: .5em; }
.q-end { font-weight: 500; font-size: 1.2rem; margin: 0; }

/* 3. Approach */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { background: var(--white); border-radius: 16px; padding: 36px 32px 30px; }
.pillar-mark { width: 64px; height: 56px; display: grid; place-items: center; margin-bottom: 24px; }
.pillar-mark span { font-family: var(--f-head); color: #fff; font-size: 1.5rem; }
.pillar p { margin: 0; }

/* 4. Human difference */
.section-terra h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.pebble-deco { position: absolute; border-radius: var(--pebble); pointer-events: none; }
.d1 { width: 420px; height: 380px; right: -140px; top: -120px; background: var(--terra-soft); opacity: .35; }
.d2 { width: 300px; height: 260px; left: -120px; bottom: -110px; background: var(--terra-soft); opacity: .25; border-radius: var(--pebble-2); }
.human-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); position: relative; }
.human-copy { font-size: 1.1rem; }
.human-copy .big { font-family: var(--f-head); font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.2; margin: .8em 0; }
.human-copy .control {
  display: inline-block; background: var(--white); color: var(--terra); font-weight: 700;
  padding: 10px 20px; border-radius: 999px; margin: .4em 0 0;
}

.flow {
  list-style: none; padding: 0; margin: 72px 0 0; position: relative;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: none;
}
.flow::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 29px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 8px, transparent 8px 16px);
}
.flow li { position: relative; text-align: center; font-weight: 500; font-size: 1rem; line-height: 1.35; padding: 0 4px; }
.flow-n {
  display: grid; place-items: center; width: 60px; height: 58px; margin: 0 auto 16px; position: relative;
  background: var(--navy); color: #fff; font-family: var(--f-head); font-size: 1.35rem; border-radius: var(--pebble);
}
.flow li:nth-child(even) .flow-n { border-radius: var(--pebble-2); }
.flow-key .flow-n { background: var(--white); color: var(--terra); transform: scale(1.18); box-shadow: 0 0 0 8px rgba(255,255,255,.2); }
.flow-key { font-weight: 700; }

.duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,.35);
}
.duo p { font-family: var(--f-head); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; margin: 0; padding: 28px 28px 0 0; }
.duo p + p { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.35); }
.duo span { color: var(--navy); }
.duo p:first-child { opacity: .85; }
.duo p + p { font-size: clamp(1.6rem, 2.9vw, 2.3rem); }

/* 5. Infrastructure */
.cards.six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid rgba(1, 51, 86, .08); border-radius: 16px; padding: 30px 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--mint); transform: translateY(-2px); }
.card h3 { font-size: 1.3rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }
.ico { width: 44px; height: 44px; margin-bottom: 18px; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 6. Coverage */
.section-navy h2 { color: #fff; }
.accent { color: var(--mint); }
.section-navy .lead { color: #fff; }
.section-navy p { color: rgba(255, 255, 255, .85); }
.follow { font-family: var(--f-head); font-size: 1.6rem; color: var(--terra-soft) !important; margin-top: 1.2em; }
.network { margin: 0; }
.network svg { width: 100%; height: auto; overflow: visible; }
.net-lines path { stroke: var(--mint); stroke-width: 1.5; opacity: .55; fill: none; }
.net-future path { stroke-dasharray: 5 7; opacity: .35; stroke: #fff; }
.net-nodes circle { fill: var(--mint-light); stroke: var(--navy); stroke-width: 5; }
.net-future-nodes circle { fill: var(--navy); stroke: rgba(255,255,255,.5); stroke-width: 1.5; stroke-dasharray: 4 4; }
.net-future-nodes path { stroke: rgba(255,255,255,.6); stroke-width: 1.5; }
.net-core { fill: var(--terra); }
.net-core-t { font-family: var(--f-head); fill: #fff; font-size: 34px; }
.network figcaption { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 24px; }
.network figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.lg-live { background: var(--mint-light); }
.lg-next { border: 1.5px dashed rgba(255,255,255,.7); }

/* 7. Where Jefr fits */
.fit { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 22px; align-items: stretch; }
.fit-card { border-radius: 16px; padding: 32px 30px; background: var(--white); border: 1px solid rgba(1, 51, 86, .1); }
.fit-card p:last-child { margin: 0; color: var(--muted); }
.fit-kind { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--mint); margin-bottom: 14px; }
.fit-jefr { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; overflow: hidden; }
.fit-jefr::after {
  content: ""; position: absolute; width: 150px; height: 130px; right: -56px; top: -64px;
  background: var(--terra); opacity: .9; border-radius: var(--pebble);
}
.fit-jefr > * { position: relative; z-index: 1; }
.fit-jefr .fit-kind { color: var(--mint-light); }
.fit-jefr p:last-child { color: rgba(255, 255, 255, .88); }
.fit-close { text-align: center; margin-top: 64px; }
.fit-not { font-family: var(--f-head); font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--muted); margin-bottom: .2em; }
.fit-yes { font-family: var(--f-head); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; color: var(--terra); margin: 0 auto; max-width: 820px; }

/* 8. Why Jefr */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.why li { position: relative; padding-left: 52px; color: var(--muted); }
.why li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 34px; height: 30px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 18px no-repeat;
  border-radius: var(--pebble);
}
.why li:nth-child(even)::before { background-color: var(--terra); border-radius: var(--pebble-2); }
.why strong { display: block; color: var(--navy); font-family: var(--f-head); font-weight: 500; font-size: 1.35rem; line-height: 1.2; margin-bottom: 4px; }

/* 9. Contact */
.contact-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.team { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(1, 51, 86, .15); }
.team p { margin: 0 0 6px; font-size: 1rem; }
.team strong { display: inline-block; min-width: 150px; font-weight: 500; }
.team-title { font-size: .82rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px !important; }

.form { background: var(--white); border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 18px 50px rgba(1, 51, 86, .08); }
.form h3 { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.form label { display: block; font-size: .92rem; font-weight: 500; margin-bottom: 16px; }
.form label em { font-style: normal; font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--navy);
  background: var(--paper); border: 1px solid rgba(1, 51, 86, .2); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(96, 176, 162, .25); }
.form .invalid { border-color: var(--terra); }
.form textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { margin: 14px 0 0; font-size: .95rem; min-height: 1em; }
.form-status.ok { color: #2f7d6f; font-weight: 500; }
.form-status.err { color: #a44a33; }
.form-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }

/* Footer – navy as on jefr.nl */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.footer-logo { display: inline-block; background: var(--mint-light); border-radius: var(--pebble); padding: 14px 18px; margin-bottom: 18px; }
.footer-logo img { width: 72px; height: auto; }
.footer-h { font-family: var(--f-head); color: #fff; font-size: 1.2rem; }
.site-footer p { margin: 0 0 12px; }
.site-footer a { color: var(--mint-light); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { background: var(--white); color: var(--navy); padding: 26px 0; font-size: .9rem; text-align: center; }
.footer-bottom a { color: var(--navy); }

/* Responsive */
@media (max-width: 1080px) {
  .nav a:not(.btn):not(.nav-lang) { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .two-col, .human-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 20px auto 0; }
  .pillars, .cards.six { grid-template-columns: 1fr 1fr; }
  .fit { grid-template-columns: 1fr 1fr; }
  .fit-jefr { grid-column: 1 / -1; }
  .why { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .network { max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .header-inner { min-height: 68px; }
  .logo img { width: 64px; }
  .nav { gap: 12px; }
  .cta-row .btn { width: 100%; text-align: center; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / 1.05; }
  .chip { font-size: .78rem; padding: 6px 12px; }
  .c3 { right: 0; top: 80%; }
  .c6 { display: none; }
  .c4 { left: 0; }
  .c5 { left: 18%; }
  .proof-line { flex-direction: column; }
  .patchwork { grid-template-columns: 1fr 1fr; gap: 10px; }
  .patch { padding: 14px; font-size: .92rem; }
  .pillars, .cards.six, .fit, .why, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .flow { grid-template-columns: 1fr; row-gap: 0; margin-top: 48px; }
  .flow li { display: flex; align-items: center; gap: 18px; text-align: left; padding: 10px 0; }
  .flow-n { margin: 0; flex: none; width: 52px; height: 50px; }
  .flow-key .flow-n { transform: scale(1.08); }
  .duo { grid-template-columns: 1fr; }
  .duo p + p { padding-left: 0; border-left: 0; }
  .team strong { display: block; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; }
  .btn, .card { transition: none; }
}
