/* ============================================================
   MSA Medical Solutions — huisstijl
   ============================================================ */
:root {
    --navy:        #1B3A5B;
    --navy-700:    #16324e;
    --navy-900:    #0f2439;
    --green:       #2E8766;
    --green-600:   #276f55;
    --green-100:   #e4f2ec;
    --blue:        #5B87B3;
    --blue-100:    #e9f0f7;
    --ink:         #1f2a37;
    --muted:       #5b6b7b;
    --line:        #e3e9ef;
    --bg:          #ffffff;
    --bg-soft:     #f5f8fb;
    --white:       #ffffff;
    --amber:       #d98a2b;
    --radius:      14px;
    --radius-lg:   22px;
    --shadow:      0 6px 24px rgba(27, 58, 91, .08);
    --shadow-lg:   0 18px 50px rgba(27, 58, 91, .14);
    --maxw:        1180px;
    --font:        'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 800; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dce6f0; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
    display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--green); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.measure { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
    border: 2px solid transparent; cursor: pointer; transition: .18s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-600); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-600); }
.btn--light { background: #fff; color: var(--navy); }
.btn--white-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--white-ghost:hover { background: rgba(255,255,255,.1); }
.btn--block { width: 100%; justify-content: center; }
/* Compacte, nette iconen in knoppen en links (geen grote pijlen) */
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.card-link svg { width: 15px; height: 15px; }
.contact-info .ci-icon svg { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--navy); font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--green-600); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(46,135,102,.12), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-visual {
    aspect-ratio: 4/3; border-radius: var(--radius-lg); background: var(--green-100);
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
    display: grid; place-items: center;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .placeholder-icon { width: 42%; opacity: .5; }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 2rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.trustbar .chip { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); font-size: .95rem; }
.trustbar .chip::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--green); transform: rotate(45deg); }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; box-shadow: var(--shadow); transition: .2s ease;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d3e0d9; }
.card .icon {
    width: 52px; height: 52px; border-radius: 13px; background: var(--green-100); color: var(--green);
    display: grid; place-items: center; margin-bottom: 1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card .card-sub { color: var(--blue); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card .card-link { margin-top: auto; font-weight: 700; color: var(--green-600); display: inline-flex; align-items: center; gap: .3rem; }

/* Media cards (blog/cases) */
.media-card { padding: 0; overflow: hidden; }
.media-card .thumb { aspect-ratio: 16/10; background: var(--blue-100); display: grid; place-items: center; }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-card .thumb .placeholder-icon { width: 64px; opacity: .4; }
.media-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: var(--green-600); background: var(--green-100); padding: .25rem .6rem; border-radius: 6px; margin-bottom: .7rem; align-self: flex-start; }
.meta { color: var(--muted); font-size: .85rem; }

/* ---------- Section heading ---------- */
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split .visual { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100); box-shadow: var(--shadow); display: grid; place-items: center; }
.split .visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.quote-card .quote { font-size: 1.1rem; color: var(--navy); font-weight: 500; }
.quote-card .quote::before { content: '“'; color: var(--green); font-size: 2.4rem; line-height: 0; vertical-align: -.4em; margin-right: .1em; }
.quote-card .who { margin-top: 1rem; font-weight: 700; color: var(--navy); }
.quote-card .who small { display: block; color: var(--muted); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0d9; max-width: 560px; margin: 0 auto 1.6rem; }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page header ---------- */
.page-hero { background: var(--navy); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: #b9cbdd; max-width: 620px; }
.breadcrumb { color: #9fb6cc; font-size: .85rem; margin-bottom: .8rem; }
.breadcrumb a { color: #cfe0f0; }

/* ---------- Prose (article body) ---------- */
.prose { font-size: 1.05rem; color: #33414f; }
.prose p { margin-bottom: 1.1rem; }
.prose h2, .prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; overflow: hidden; }
.faq-item summary { padding: 1.1rem 1.4rem; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--green); font-size: 1.4rem; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .answer { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .35rem; font-size: .92rem; }
.input, .textarea, select.input {
    width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
    font: inherit; color: var(--ink); background: #fff; transition: .15s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-100); }
.textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

/* ---------- Alerts ---------- */
.alert { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.2rem; font-weight: 500; }
.alert--success { background: var(--green-100); color: var(--green-600); }
.alert--error { background: #fdecec; color: #c0392b; }
.alert--info { background: var(--blue-100); color: var(--navy); }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info li { list-style: none; display: flex; gap: .8rem; margin-bottom: 1.1rem; }
.contact-info { padding: 0; margin: 1.5rem 0 0; }
.contact-info .ci-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--green-100); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.contact-info strong { display: block; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9bccf; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #a9bccf; display: block; margin-bottom: .5rem; font-size: .93rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand img { height: 34px; margin-bottom: 1rem; background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer-brand p { font-size: .92rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0; }
.socials a:hover { background: var(--green); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Utilities ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--green); }
.stat .label { color: var(--muted); font-weight: 600; }
.mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .grid--4 { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-visual { max-width: 480px; }
    .stat-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
    .nav, .nav-actions .btn { display: none; }
    .nav-toggle { display: block; }
    .site-header.open .nav {
        display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
        background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.5rem; gap: 1rem; align-items: flex-start;
    }
    .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
