/* Shared base for all Infinity Group concept sites.
   Each site sets its own tokens in theme.css. */

:root {
  --bg: #ffffff;
  --surface: #f6f5f2;
  --ink: #1d1d1b;
  --muted: #5e5e58;
  --line: #e4e2dc;
  --accent: #2f5d50;
  --accent-ink: #ffffff;
  --accent-2: #c9a45c;
  --radius: 14px;
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* Language switching: elements with lang="nl" / lang="en" inside <body> */
:root[data-lang="en"] body [lang="nl"],
:root:not([data-lang="en"]) body [lang="en"] { display: none !important; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* Concept ribbon */
.concept-bar {
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: .02em;
}
.concept-bar a { color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand svg { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-size: .95rem;
}
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.lang-toggle button {
  border: 0; background: transparent; padding: 6px 11px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--muted);
}
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: transparent; border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }

@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: var(--bg);
    padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .site-header .wrap { gap: 10px; }
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  background: var(--accent); color: var(--accent-ink);
  padding: 13px 22px; border-radius: 999px; border: 2px solid var(--accent); cursor: pointer; font: inherit; font-weight: 600;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section.alt { background: var(--surface); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); background: var(--surface); }
.page-head .lead { margin-bottom: 0; }

.hero { padding: clamp(48px, 8vw, 100px) 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.section.alt .card { background: var(--bg); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft, var(--surface)); display: grid; place-items: center; margin-bottom: 14px; color: var(--accent); }
.card .icon svg { width: 24px; height: 24px; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 600; text-decoration: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Illustration placeholder (no photos yet; never photos of children) */
.visual {
  border-radius: calc(var(--radius) * 1.5); overflow: hidden; position: relative; aspect-ratio: 4 / 3;
  background: var(--accent-soft, var(--surface));
}
.visual svg { width: 100%; height: 100%; }
.visual .tag {
  position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff;
  font-size: .75rem; padding: 4px 10px; border-radius: 999px;
}

/* Lists, tables */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.data th, table.data td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--surface); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
table.data tr:last-child td { border-bottom: 0; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--accent); }
.timeline li { padding: 0 0 22px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.timeline time { font-weight: 700; display: block; color: var(--accent); }

.badge { display: inline-block; background: var(--accent-soft, var(--surface)); color: var(--accent); font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

.cta {
  background: var(--accent); color: var(--accent-ink); border-radius: calc(var(--radius) * 1.5);
  padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.cta h2 { margin: 0; }
.cta .btn { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }

/* Forms */
form.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
.form-note { display: none; background: var(--accent-soft, var(--surface)); border-left: 4px solid var(--accent); padding: 14px 16px; border-radius: 8px; }
.form-note.show { display: block; }
.small { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #e9e8e4; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-head); margin: 0 0 10px; font-size: 1.05rem; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 18px; font-size: .82rem; color: #bdbcb6; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
