/* =============================================================
   Dealable Hub — styles.css
   Brutalist-inspired, mobile-first, vanilla CSS
   ============================================================= */

/* ---- Custom Properties ---- */
:root {
  --primary-light: hsl(305 67% 69%);
  --primary: hsl(305 68% 49%);
  --primary-dark: hsl(305 68% 34%);
  --bg: oklch(98% 0.01 305);
  --ink: oklch(10% 0.04 305);
  --radius: 24px;
  --gap: 1.5rem;
  --section: 3.5rem;
  --border: 4px solid var(--ink);
  --max: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Base ---- */
body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p { max-width: 72ch; }

/* ---- Language visibility ---- */
.lang-nl, .lang-en { display: none; }
html[data-lang="nl"] .lang-nl { display: revert; }
html[data-lang="en"] .lang-en { display: revert; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  z-index: 99999;
}
.skip-link:focus { top: 0.5rem; }

/* ---- Header ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
}

.brand-link { text-decoration: none; }
.brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-main {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-main a {
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--primary); }

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ---- Language button ---- */
.lang-btn {
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  min-width: 44px;
  min-height: 44px;
  transition: background 0.2s, color 0.2s;
}
.lang-btn:hover { background: var(--ink); color: var(--bg); }

/* ---- Mobile nav toggle ---- */
#mobile-toggle {
  display: none;
  background: transparent;
  border: var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
}

#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: var(--border);
  z-index: 99;
}
#mobile-menu.menu-active { display: flex; }
#mobile-menu a {
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: 0.75rem 2rem;
  font-size: 0.85rem;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}
.breadcrumbs a { text-decoration: none; color: var(--primary); }
.breadcrumbs span { margin: 0 0.4rem; opacity: 0.5; }

/* ---- Hero sections ---- */
.hero-full {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 2rem;
}
.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-full .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.82) 100%);
}
.hero-full .hero-body { position: relative; z-index: 1; max-width: 900px; }
.hero-full h1 { font-size: clamp(2.4rem, 7vw, 5rem); margin-bottom: 1.5rem; }
.hero-full p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2.5rem; }

.hero-mid {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 3rem 2rem;
}
.hero-mid .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-mid .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.78) 100%);
}
.hero-mid .hero-body { position: relative; z-index: 1; max-width: 800px; }
.hero-mid h1 { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 1rem; }

/* ---- Section containers ---- */
.section { padding: var(--section) 2rem; }
.section-alt { padding: var(--section) 2rem; background: #f3f0f0; }
.container { max-width: var(--max); margin: 0 auto; }

/* ---- Grid layouts ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.col-span-3 { grid-column: span 3; }
.col-span-2 { grid-column: span 2; }

/* ---- Cards ---- */
.card {
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border: 3px solid transparent;
  padding: 2.5rem;
  background: #fff;
  transition: border-color 0.25s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--primary); transform: translateY(-4px); }
.card-dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.card-dark:hover { border-color: var(--primary-light); transform: translateY(-4px); }

.offer-block {
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--bg);
  border: var(--border);
  transition: background 0.25s;
}
.offer-block:hover { background: #fff; }

.program-card {
  border-radius: var(--radius);
  padding: 2rem;
  background: #fff;
  border-left: 6px solid var(--primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}

/* ---- Icon circle ---- */
.icon-circle {
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.icon-circle-sm {
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
  min-height: 48px;
  line-height: 1;
  border: var(--border);
  font-size: 0.95rem;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:active { transform: translate(3px, 3px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---- Process timeline ---- */
.timeline {
  max-width: 750px;
  margin: 0 auto;
  border-left: var(--border);
  padding-left: 2.5rem;
}
.timeline-step {
  position: relative;
  margin-bottom: 3rem;
}
.timeline-step:last-child { margin-bottom: 0; }
.step-num {
  position: absolute;
  left: -4.5rem;
  font-size: 2rem;
  font-family: monospace;
  background: var(--bg);
  color: var(--primary);
  padding: 0 0.4rem;
  font-weight: 700;
}
.section-alt .step-num { background: #f3f0f0; }
.timeline-step h3 { margin-bottom: 0.5rem; }

/* ---- Blockquote / pull quote ---- */
.pull-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: var(--section) 2rem;
}
.pull-quote blockquote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.4;
}
.pull-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
}

/* ---- Testimonial quote card ---- */
.quote-mark {
  font-size: 4.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary-light);
  opacity: 0.5;
  margin-bottom: -0.75rem;
}
.quote-text { font-size: 1.15rem; font-style: italic; line-height: 1.6; margin-bottom: 1.25rem; }
.attribution { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.95rem; }
.role-label { font-size: 0.8rem; opacity: 0.65; margin-top: 0.25rem; }

/* ---- Contact info ---- */
address { font-style: normal; line-height: 1.8; }

/* ---- Forms ---- */
.form-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--primary); }
.form-field input.invalid,
.form-field textarea.invalid { border-color: #c0392b; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.4rem; text-transform: uppercase; font-size: 0.85rem; }
.form-msg { display: none; padding: 1rem 1.5rem; border-radius: var(--radius); font-weight: 600; }
.form-msg.success { background: #d4edda; color: #155724; border: 2px solid #c3e6cb; }
.form-msg.error { background: #f8d7da; color: #721c24; border: 2px solid #f5c6cb; }

/* ---- Legal prose ---- */
.legal-prose {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--section) 2rem;
  line-height: 1.85;
}
.legal-prose h2 { margin: 2.5rem 0 1rem; font-size: 1.4rem; }
.legal-prose h3 { margin: 2rem 0 0.75rem; font-size: 1.1rem; }
.legal-prose p { margin-bottom: 1rem; }
.legal-prose ul { margin: 0.75rem 0 1rem 1.5rem; list-style: disc; }
.legal-prose ul li { margin-bottom: 0.4rem; }
.legal-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.legal-prose th, .legal-prose td { border: 1px solid #ccc; padding: 0.6rem 0.8rem; text-align: left; }
.legal-prose th { background: #f3f0f0; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; }
.legal-prose .last-updated { font-size: 0.85rem; opacity: 0.65; margin-bottom: 2rem; }

/* ---- Sidebar layout ---- */
.with-sidebar { display: flex; gap: 3rem; align-items: flex-start; }
.sidebar { width: 280px; flex-shrink: 0; }
.sidebar-content { flex: 1; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 2px solid rgba(0,0,0,0.1); padding: 1.5rem 0; }
.faq-item:first-child { border-top: 2px solid rgba(0,0,0,0.1); }
.faq-q { font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }
.faq-a { line-height: 1.7; }

/* ---- Footer ---- */
.site-footer {
  border-top: var(--border);
  padding: var(--section) 0;
  background: var(--ink);
  color: var(--bg);
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}
.footer-brand { font-size: 1.4rem; color: var(--primary-light); margin-bottom: 1.25rem; }
.footer-tagline { margin-bottom: 1.5rem; line-height: 1.6; opacity: 0.85; }
.footer-links a { display: block; color: var(--bg); text-decoration: none; margin-bottom: 0.6rem; opacity: 0.85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-links h4 { margin-bottom: 1rem; font-family: monospace; font-size: 0.85rem; opacity: 0.6; letter-spacing: 0.08em; }
.footer-bottom {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 2px dashed rgba(255,255,255,0.15);
  text-align: center;
  font-family: monospace;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ---- Cookie banner ---- */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: #fff;
  border-top: 4px solid var(--primary);
  z-index: 9999;
  padding: 1.25rem 2rem;
  flex-direction: column;
  gap: 1rem;
}
.cookie-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text { font-size: 0.95rem; line-height: 1.5; max-width: 700px; }
.cookie-text a { color: var(--primary-light); }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btns button {
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  min-height: 44px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  transition: background 0.2s, color 0.2s;
}
.cookie-btns button:hover { background: #fff; color: #1a1a1a; }
#cookie-accept-all { background: var(--primary); border-color: var(--primary); }
#cookie-accept-all:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
#cookie-prefs-panel {
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
}
#cookie-prefs-panel label { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; font-size: 0.9rem; }
#cookie-prefs-panel input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
#cookie-save-prefs {
  margin-top: 0.75rem;
  padding: 0.5rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
}
#cookie-save-prefs:hover { background: var(--primary-dark); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---- Responsive (tablet) ---- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .col-span-3 { grid-column: span 2; }
  .with-sidebar { flex-direction: column; }
  .sidebar { width: 100%; }
}

/* ---- Responsive (mobile) ---- */
@media (max-width: 768px) {
  :root { --section: 2.5rem; }
  .nav-main { display: none; }
  #mobile-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .col-span-3, .col-span-2 { grid-column: span 1; }
  .hero-full { min-height: 70vh; }
  .site-header { padding: 1rem; }
  .brand { font-size: 1.25rem; }
  .cookie-top { flex-direction: column; }
}

/* ---- Print ---- */
@media print {
  .site-header, .site-footer, #cookie-banner, #mobile-toggle, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  a[href]::after { content: " (" attr(href) ")"; }
  .legal-prose { padding: 0; }
}
