/* =====================================================
   Mundi Plastics — Gedeelde stijlen (alle pagina's)
   Versie: prototype v2
   ===================================================== */

:root {
  --blue: #1e497d;
  --blue-dark: #143358;
  --blue-light: #EEF3F9;
  --orange: #E36B1F;
  --orange-dark: #C25A14;
  --orange-light: #FFF4E6;
  --dark: #1F2A37;
  --grey: #555F6B;
  --grey-light: #98A1AD;
  --light: #F5F7FA;
  --border: #E5E9F0;
  --white: #FFFFFF;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.55;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
h4 { font-size: 1rem; }
p { color: var(--grey); }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: white; }

/* ===== HEADER ===== */
header.site {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.logo { display: flex; align-items: center; gap: 16px; font-weight: 800; color: var(--blue); font-size: 1.85rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 96px; height: 96px;
  display: grid; place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text small { font-size: 0.85rem; font-weight: 500; color: var(--grey); margin-top: 4px; letter-spacing: 0.02em; }

/* Footer-variant: geen logo-afbeelding, alleen naam + tagline */
footer.site .logo { gap: 0; font-size: 1.15rem; }
footer.site .logo-mark { display: none; }
footer.site .logo-text { color: white; line-height: 1.15; }
footer.site .logo-text small { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 4px; }
nav.main { display: flex; gap: 24px; align-items: center; }
nav.main a { color: var(--dark); font-weight: 500; font-size: 0.95rem; }
nav.main a:hover { color: var(--blue); text-decoration: none; }
nav.main a.active { color: var(--orange); }
nav.main .has-sub { position: relative; }
nav.main .has-sub > .sub {
  position: absolute; top: 100%; left: -16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  min-width: 220px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.15s ease;
  z-index: 100;
}
nav.main .has-sub:hover > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
nav.main .has-sub > .sub a { display: block; padding: 8px 12px; border-radius: 4px; font-size: 0.92rem; }
nav.main .has-sub > .sub a:hover { background: var(--blue-light); color: var(--blue); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 6px;
  background: var(--orange); color: white !important; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: all 0.15s ease;
  text-decoration: none !important;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--blue) !important;
  border: 2px solid var(--blue); padding: 11px 20px;
}
.btn-outline:hover { background: var(--blue); color: white !important; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-white { background: white; color: var(--orange) !important; }
.btn-white:hover { background: var(--light); }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--light); padding: 14px 0; font-size: 0.9rem; color: var(--grey); border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--grey); }
.breadcrumb span { margin: 0 8px; color: #B0B7C1; }

/* ===== HERO (generiek) ===== */
.hero {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF3F9 100%);
  padding: 70px 0;
  position: relative; overflow: hidden;
}
.hero.lg { padding: 80px 0 90px; }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero.center .container { display: block; max-width: 760px; text-align: center; }
.hero-eyebrow { color: var(--orange); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { margin-bottom: 20px; color: var(--blue); }
.hero h1 span { color: var(--dark); }
.hero p.lead { font-size: 1.15rem; color: var(--grey); margin-bottom: 28px; max-width: 540px; }
.hero.center p.lead { margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero.center .hero-ctas { justify-content: center; }
.hero-photo, .hero-visual {
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15,76,129,0.18);
  position: relative;
}
.hero-visual.square { aspect-ratio: 1/1; }
.hero-photo img, .hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero trust-strip */
.hero-trust { display: flex; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-trust-item strong { color: var(--blue); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.hero-trust-item span { color: var(--grey); font-size: 0.85rem; margin-top: 4px; display: block; }

/* ===== GENERIC SECTION ===== */
section { padding: 70px 0; }
section.tight { padding: 50px 0; }
section.light { background: var(--light); }
section.dark { background: var(--blue); color: white; }
section.dark h2, section.dark h3 { color: white; }
section.dark p { color: rgba(255,255,255,0.8); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--orange); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
section.dark .section-head .eyebrow { color: #FFC58A; }
.section-head p { font-size: 1.1rem; margin-top: 12px; }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2-side { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }

/* ===== CARD ===== */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 26px;
  transition: all 0.2s ease;
  display: flex; flex-direction: column;
}
.card.hoverable:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(15,76,129,0.08);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-light), #DDE7F2);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 8px; color: var(--blue); }
.card p { color: var(--grey); margin-bottom: 16px; flex-grow: 1; }
.card-link { color: var(--orange); font-weight: 600; font-size: 0.95rem; margin-top: auto; }
.card-link::after { content: " →"; transition: transform 0.15s ease; display: inline-block; }
.card-link:hover { text-decoration: none; }
.card-link:hover::after { transform: translateX(3px); }
.card.featured { border-color: var(--orange); box-shadow: 0 16px 40px rgba(227,107,31,0.15); }

/* ===== LIST WITH CHECKS ===== */
.checklist { list-style: none; }
.checklist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 14px;
}
.checklist li:last-child { border-bottom: none; }
.check {
  flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: white;
  display: grid; place-items: center; font-size: 0.8rem;
  margin-top: 2px;
}
.checklist strong { color: var(--dark); font-weight: 600; display: block; margin-bottom: 2px; }
.checklist span { color: var(--grey); font-size: 0.95rem; }

/* ===== SPECS CARD ===== */
.specs-card {
  background: white; border-radius: 12px; padding: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15,76,129,0.06);
}
.specs-card h3 { color: var(--blue); margin-bottom: 22px; }
.spec-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: none; }
.spec-row span { color: var(--grey); font-size: 0.95rem; }
.spec-row strong { color: var(--dark); font-weight: 600; }

/* ===== USP / NUMBERED ===== */
.usp-num { color: var(--orange); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 8px; }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 30px; }
.step {
  text-align: center; padding: 26px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: white;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 14px;
}
.step h4 { color: white; font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* ===== VERTICAL STEPS (genummerd) ===== */
.steps-vert { list-style: none; }
.steps-vert li {
  display: flex; gap: 16px; margin-bottom: 22px;
  padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.steps-vert li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.steps-vert-num {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: white;
  display: grid; place-items: center; font-weight: 800;
}
.steps-vert strong { display: block; color: var(--dark); margin-bottom: 4px; font-size: 1.05rem; }
.steps-vert .desc { color: var(--grey); font-size: 0.96rem; }

/* ===== FAQ ===== */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-grid.wide { max-width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
details {
  background: white; border: 1px solid var(--border); border-radius: 10px;
  padding: 20px 22px; transition: all 0.15s ease;
}
details[open] { border-color: var(--blue); box-shadow: 0 4px 16px rgba(15,76,129,0.06); }
details summary { cursor: pointer; font-weight: 600; color: var(--dark); display: flex; justify-content: space-between; align-items: center; list-style: none; font-size: 1rem; }
details summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: 14px; color: var(--grey); font-size: 0.95rem; }
details ul { margin-top: 10px; padding-left: 20px; color: var(--grey); }
details ul li { padding: 3px 0; }

/* ===== ATMOSPHERE BANNER ===== */
.atmos-banner {
  height: 320px;
  background-size: cover;
  background-position: center;
  display: grid; place-items: center;
  color: white;
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.atmos-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(15,76,129,0.5), rgba(10,53,89,0.6));
}
.atmos-banner blockquote {
  max-width: 720px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500; line-height: 1.4; font-style: italic;
  position: relative; z-index: 1;
}
.atmos-banner cite {
  display: block; margin-top: 16px; font-style: normal;
  font-size: 0.95rem; color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white; padding: 60px 0; text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.92); font-size: 1.1rem; margin-bottom: 28px; max-width: 600px; margin: 0 auto 28px; }
.cta-banner .phone { display: block; margin-top: 16px; color: rgba(255,255,255,0.9); font-size: 1rem; }
.cta-banner .phone a { color: white; font-weight: 700; }

/* ===== FORM ===== */
.form-card {
  background: white; border-radius: 12px;
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: 0 8px 24px rgba(15,76,129,0.06);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; color: var(--dark); margin-bottom: 6px; font-size: 0.95rem; }
.form-row label small { font-weight: 400; color: var(--grey); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 1rem;
  background: white; color: var(--dark);
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15,76,129,0.08);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-radio { display: flex; flex-direction: column; gap: 8px; }
.form-radio label { font-weight: 400; display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* ===== FOOTER ===== */
footer.site {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 60px 0 24px; font-size: 0.92rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: white; margin-bottom: 16px; font-size: 1rem; font-weight: 600; }
footer ul { list-style: none; }
footer ul li { padding: 4px 0; }
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: white; text-decoration: none; }
footer .logo { color: white; margin-bottom: 14px; }
footer .logo-text small { color: rgba(255,255,255,0.6); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== PROTO BAR ===== */
.proto-bar {
  background: #FFE5C0; color: #6E3A0E;
  text-align: center; padding: 10px 16px;
  font-size: 0.85rem;
  border-bottom: 1px solid #F0CC9C;
}
.proto-bar a { color: #6E3A0E; font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .grid-2, .grid-2-side, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid.wide { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  header.site .container { flex-wrap: wrap; row-gap: 12px; }
  nav.main { order: 3; width: 100%; flex-wrap: wrap; gap: 6px 16px; justify-content: center; padding-top: 4px; border-top: 1px solid var(--border); }
  nav.main a { font-size: 0.9rem; padding: 4px 2px; }
  section { padding: 50px 0; }
}
@media (max-width: 520px) {
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 16px; }
  .hero-trust-item strong { font-size: 1.2rem; }
}

/* === Contact FAB (sticky/floating contact button) === */
.contact-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: white;
  padding: 14px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.28);
  z-index: 50;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 76, 129, 0.35);
  color: white;
}
.contact-fab .fab-icon {
  font-size: 1.15rem;
  line-height: 1;
}
@media (max-width: 640px) {
  .contact-fab {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
}

/* ===== MOBILE REFINEMENTS (pre-launch sweep) ===== */
@media (max-width: 720px) {
  /* Topbar: stack vertically, smaller text — voorkomt overlap van adres + telefoon */
  .topbar { font-size: 0.78rem; padding: 8px 0; }
  .topbar .container { flex-direction: column; gap: 4px; text-align: center; }

  /* Proto-bar compacter */
  .proto-bar { font-size: 0.75rem; padding: 8px 12px; line-height: 1.3; }

  /* Sticky header niet meer plakken op mobiel — bespaart schermruimte */
  header.site { position: relative; }

  /* Breadcrumb compacter */
  .breadcrumb { font-size: 0.82rem; padding: 10px 0; }

  /* Hero padding terugbrengen */
  .hero { padding: 40px 0 50px; }
  .hero.lg { padding: 50px 0 60px; }
  .hero p.lead { font-size: 1.02rem; }
  .hero-ctas .btn-lg { font-size: 0.95rem; padding: 12px 22px; }

  /* Section padding kleiner */
  section { padding: 40px 0; }

  /* Atmos-banner kleiner zodat het op mobile niet schermvullend wordt */
  .atmos-banner { height: 240px; padding: 0 18px; }
  .atmos-banner blockquote { font-size: 1.1rem; line-height: 1.35; }
  .atmos-banner cite { font-size: 0.82rem; margin-top: 12px; }

  /* CTA-banner compacter */
  .cta-banner { padding: 44px 0; }
  .cta-banner .phone { display: block; margin-top: 12px; }

  /* Hero-trust items kleiner zodat de strip niet overloopt */
  .hero-trust { gap: 14px; margin-top: 24px; padding-top: 20px; }
  .hero-trust-item strong { font-size: 1.2rem; }
  .hero-trust-item span { font-size: 0.78rem; }

  /* Footer: alle 4 kolommen onder elkaar — leesbaarder dan 1x1 */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  footer.site { padding: 44px 0 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Specs-cards en juridische pagina lange-tekst niet over de rand */
  .specs-card { padding: 22px 18px; }

  /* Form inputs niet te smal — 16px voorkomt iOS auto-zoom */
  .form-row input, .form-row select, .form-row textarea { font-size: 16px; }

  /* Container padding iets ruimer voor leesbaarheid */
  .container { padding-left: 18px; padding-right: 18px; }

  /* Buttons in CTA niet over elkaar */
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }
}

/* Extra-small phones (~iPhone SE breedte) */
@media (max-width: 380px) {
  .topbar span { font-size: 0.72rem; }
  .logo-text { font-size: 0.95rem; }
  .logo-text small { font-size: 0.7rem; }
  nav.main a { font-size: 0.82rem; }
  .btn { font-size: 0.88rem; padding: 9px 16px; }
  .atmos-banner { height: 210px; }
  .atmos-banner blockquote { font-size: 1rem; }
}
