/* Dutchino - public site: header, hero with canal houses, features, footer, error and bare pages.
   Mobile first. Author: SPSDEVNIC.NET */
.site { background: var(--bg); }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 68px; }
.site-nav { display: flex; gap: var(--s2); flex-wrap: wrap; }
.site-nav a { padding: 6px 12px; border-radius: var(--radius-pill); text-decoration: none; color: var(--nl-navy); font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--delft-50); color: var(--nl-blue); }

/* hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(33, 70, 139, .08) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--delft-50), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero__in { display: grid; gap: var(--s6); padding-block: var(--s7) var(--s6); align-items: center; }
.hero__text h1 { margin-top: var(--s3); }
.hero__lead { font-size: var(--fs-lg); color: #344054; max-width: 60ch; }
.hero__nl { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3); font-size: var(--fs-lg); }
.hero__nl .nl { font-weight: 700; color: var(--nl-blue); }
.hero__nl-fa { color: var(--muted); font-size: var(--fs-md); }
.levels { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0; margin: var(--s5) 0 0; }
.levels li {
  min-width: 52px; text-align: center; padding: 6px 12px; border-radius: var(--radius-sm); font-family: var(--font-nl); font-weight: 800;
  background: var(--surface); border: 1px solid var(--delft-200); color: var(--nl-blue);
}
.levels li:first-child { background: var(--nl-blue); border-color: var(--nl-blue); color: var(--white); }
.hero__art { max-width: 640px; margin-inline: auto; width: 100%; }
.nl-canal { width: 100%; height: auto; }
.nl-sails { transform-box: fill-box; transform-origin: center; animation: nl-spin 18s linear infinite; }
@keyframes nl-spin { to { transform: rotate(360deg); } }

/* features */
.features { padding-block: var(--s7); }
.features h2 { text-align: center; margin-bottom: var(--s6); }
.features__grid { display: grid; gap: var(--s4); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow-sm); }
.feature h3 { font-size: var(--fs-lg); margin: var(--s3) 0 var(--s2); }
.feature p { color: #475467; margin: 0; font-size: var(--fs-sm); }
.feature__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--oranje-50); color: var(--oranje-700); }
.feature__icon svg { width: 24px; height: 24px; }
.feature:nth-child(2) .feature__icon { background: var(--nl-blue-100); color: var(--nl-blue); }
.feature:nth-child(3) .feature__icon { background: var(--nl-red-100); color: var(--nl-red); }
.feature:nth-child(4) .feature__icon { background: var(--delft-50); color: var(--nl-navy); }

/* audience */
.audience { padding-block: 0 var(--s7); }
.audience__in { background: var(--nl-navy); color: #e8eefb; border-radius: var(--radius-lg); padding: var(--s6) var(--s5); position: relative; overflow: hidden; }
.audience__in::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 9px; background: linear-gradient(180deg, var(--nl-red) 33.3%, var(--white) 33.3% 66.6%, var(--nl-blue) 66.6%); }
.audience h2 { color: var(--white); }
.audience__list { margin: 0; padding-inline-start: 1.2em; display: grid; gap: var(--s3); }
.audience__list b { color: var(--oranje); }
.audience__list .nl { color: #c9d6ee; }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.site-footer__in { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: center; padding-block: var(--s5); }
.site-footer p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.site-footer__brand b { color: var(--nl-navy); }

/* header actions + mobile nav */
.site-header__in { flex-wrap: wrap; padding-block: var(--s2); }
.site-header__cta { display: flex; gap: var(--s2); }
.site-nav { order: 3; width: 100%; justify-content: center; }
@media (min-width: 860px) { .site-nav { order: 0; width: auto; } .site-header__in { flex-wrap: nowrap; } }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: var(--fs-sm); }
.hero__cta { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); }

/* sections */
.section { padding-block: var(--s7); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section__title { text-align: center; }
.section__lead { text-align: center; color: #475467; max-width: 60ch; margin: 0 auto var(--s6); }
.container--narrow { max-width: 820px; }
.level-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(2, 1fr); }
.level-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); }
.level-card b { display: inline-block; font-family: var(--font-nl); font-weight: 800; font-size: 1.1rem; color: var(--nl-blue); background: var(--nl-blue-100); border-radius: 10px; padding: 2px 10px; }
.level-card.is-first b { background: var(--nl-blue); color: var(--white); }
.level-card h3 { font-size: var(--fs-md); margin: var(--s2) 0 4px; }
.level-card p { margin: 0; color: #475467; font-size: var(--fs-sm); }
.course-grid .badge { margin-bottom: var(--s2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.steps__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--oranje); color: #1d1300; font-weight: 800; }
.steps h3 { font-size: var(--fs-lg); margin: var(--s3) 0 var(--s2); }
.steps p { margin: 0; color: #475467; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: var(--s2); }
.faq summary { cursor: pointer; padding: var(--s4); font-weight: 700; color: var(--nl-navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 1.4em; color: var(--oranje-600); font-weight: 800; }
.faq details[open] summary::before { content: "−"; }
.faq details p { padding: 0 var(--s4) var(--s4); margin: 0; color: #344054; }
.cta { text-align: center; }
.cta p { color: #c9d6ee; }
.page-head { padding-block: var(--s7) var(--s4); background: linear-gradient(180deg, var(--delft-50), var(--bg)); border-bottom: 1px solid var(--line); }
.prose p { font-size: var(--fs-lg); color: #344054; }
.contact-grid { display: grid; gap: var(--s5); align-items: start; }
.contact-form .btn { margin-top: var(--s2); }
.contact-info h2 { font-size: var(--fs-lg); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-footer__nav { display: flex; gap: var(--s4); flex-wrap: wrap; }
.site-footer__nav a { color: var(--muted); font-size: var(--fs-sm); text-decoration: none; }
.site-footer__nav a:hover { color: var(--nl-blue); }
@media (min-width: 720px) {
  .level-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.6fr 1fr; }
  .features__grid.course-grid { grid-template-columns: repeat(3, 1fr); }
}

/* error + bare pages */
.bare { min-height: 100vh; display: flex; flex-direction: column; background: var(--delft-50); }
.bare__main { flex: 1; display: flex; align-items: center; padding-block: var(--s7); }
.bare__footer { text-align: center; padding: var(--s4); color: var(--muted); }
.error-page { text-align: center; max-width: 560px; }
.error-page img { margin: 0 auto var(--s4); }
.error-page__code { font-family: var(--font-nl); font-weight: 800; font-size: 3.5rem; line-height: 1; color: var(--nl-blue); margin-bottom: var(--s3); }
.error-page__nl { color: var(--muted); }

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hero__in { grid-template-columns: 1.05fr 1fr; padding-block: var(--s9) var(--s8); }
  .features__grid { grid-template-columns: repeat(4, 1fr); }
  .audience__in { padding: var(--s7); }
}

/* public course catalogue */
.pub-courses { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .pub-courses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pub-courses { grid-template-columns: repeat(3, 1fr); } }
.pub-course { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.pub-course h2 { font-size: var(--fs-lg); margin: 0; }
.pub-course h2 a { text-decoration: none; color: var(--nl-navy); }
.pub-course p { margin: 0; color: #475467; font-size: var(--fs-sm); }
.pub-course .btn { align-self: flex-start; margin-top: auto; }
.pub-course__level { display: inline-block; align-self: flex-start; font-weight: 800; font-size: var(--fs-xs); background: var(--nl-blue); color: var(--white); border-radius: var(--radius-pill); padding: 2px 10px; }
.pub-course__meta { color: var(--muted); font-size: var(--fs-sm); }
.pub-empty { text-align: center; max-width: 560px; margin: 0 auto; }
.pub-crumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s3); }
.pub-mod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s3) var(--s4); margin-bottom: var(--s2); }
.pub-mod summary { color: var(--nl-navy); }
.pub-mod small { color: var(--muted); font-weight: 400; }
.pub-mod ol { margin: var(--s3) 0 0; padding-inline-start: 1.4em; display: grid; gap: 4px; font-size: var(--fs-sm); }
.pub-mod .nl { color: var(--muted); }
