:root {
  --navy: #12333f;
  --navy-2: #1d5560;
  --teal: #7fd1d8;
  --orange: #f2a65a;
  --orange-hover: #f4b574;
  --sand: #f6f0e4;
  --sand-2: #efe6d3;
  --ink: #17262c;
  --ink-soft: #4a5a60;
  --white: #ffffff;
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}
img, svg { display: block; }
a { color: inherit; }

/* Language: show only the active one */
html[data-lang="af"] [data-l="en"],
html[data-lang="en"] [data-l="af"] { display: none !important; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 51, 63, 0.94);
  backdrop-filter: blur(8px);
  color: var(--white);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 21px; }
.brand-small { font-size: 16px; gap: 8px; }
.brand-accent { color: var(--orange); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang-toggle {
  font: 600 13px var(--sans); letter-spacing: .04em;
  color: var(--white); background: transparent;
  border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px;
  padding: 5px 13px; cursor: pointer;
}
.lang-toggle:hover { background: rgba(255,255,255,.1); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 72px 0 150px;
}
.hero-inner { width: auto; max-width: 760px; margin-left: max(20px, calc((100% - 1080px) / 2 + 20px)); margin-right: 20px; padding: 0; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 15px; margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(34px, 7vw, 64px); letter-spacing: -0.01em; overflow-wrap: break-word; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: rgba(255,255,255,.9); margin: 22px 0 34px; max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--sand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px var(--sans); text-decoration: none; cursor: pointer; border: 0;
  transition: background .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Sections */
.section { padding: 72px 0; scroll-margin-top: 64px; }
.section-tint { background: var(--sand-2); }
.section-title { font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 30px; }
.section-lead { margin: -14px 0 28px; }
.muted { color: var(--ink-soft); }
.small { font-size: 14.5px; }

.leaflet { padding-top: 8px; }
.card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 30px rgba(18,51,63,.08); }
.card-accent { border-left: 6px solid var(--orange); }
.card h2 { font-size: clamp(24px, 3.2vw, 30px); margin-bottom: 14px; }
.card p { margin: 0 0 12px; max-width: 760px; }
.card p:last-child { margin-bottom: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 26px; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--orange); font: 700 18px var(--serif); margin-bottom: 16px;
}
.steps h3, .feature h3 { font-size: 22px; margin-bottom: 8px; }
.steps p, .feature p { margin: 0; color: var(--ink-soft); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 26px; }
.feature svg { width: 34px; height: 34px; margin-bottom: 14px; fill: none; stroke: var(--navy-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.for-who { margin: 30px 0 0; font-size: 18px; font-weight: 500; }

/* Portfolio */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.work-card { display: block; background: var(--white); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.work-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(18,51,63,.12); }
.work-card h3 { font-size: 22px; margin-bottom: 4px; }
.work-card p { margin: 0 0 14px; }
.work-link { color: var(--navy-2); font-weight: 600; }

/* FAQ */
details { border-bottom: 1px solid rgba(18,51,63,.15); padding: 4px 0; }
summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font-weight: 600; font-size: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; font-weight: 400; color: var(--navy-2); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--ink-soft); }

/* Contact */
.section-dark { background: linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); }
.section-dark .muted { color: rgba(255,255,255,.7); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 28px; }
.form .muted { color: var(--ink-soft); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
label em { font-weight: 400; font-style: normal; color: var(--ink-soft); }
input, select, textarea {
  width: 100%; font: 16px var(--sans); color: var(--ink);
  border: 1.5px solid #cdd6d8; border-radius: 12px; padding: 12px 14px; background: var(--white);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(127,209,216,.45); }
.invalid { border-color: #c0492b; }
.hint { margin: -8px 0 18px; font-size: 14px; color: var(--ink-soft); }
.hint.error { color: #c0492b; font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.6em; margin: 14px 0 6px; font-weight: 600; }
.form-status.ok { color: #1f7a4d; }
.form-status.err { color: #c0492b; }
.is-optout .hide-optout { display: none; }
.alt-contact { margin: 22px 0 0; text-align: center; color: rgba(255,255,255,.8); }
.alt-contact a { color: var(--teal); font-weight: 600; }

.footer { background: var(--navy); color: rgba(255,255,255,.7); font-size: 14px; padding: 26px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.footer .brand { color: var(--white); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .nav { display: none; }
  .lang-toggle { margin-left: auto; }
  .hero { padding: 52px 0 120px; }
  .hero-inner { margin: 0 16px; }
  .wrap { padding: 0 16px; }
  .actions .btn { width: 100%; }
  .grid, .row { grid-template-columns: 1fr; gap: 0 16px; }
  .grid { gap: 16px; }
  .section { padding: 56px 0; }
  .card, .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
