/* McCloud site compatibility layer.
   The live McCloud stylesheet is loaded first from https://mccloud.nl/assets/css/style.css.
   This file only supplies the utility/header/form pieces required by the workplace portal and admin screens. */
:root {
    --mc-site-blue: #5a7395;
    --mc-site-blue-dark: #2c3a4d;
    --mc-site-ink: #495057;
    --mc-site-muted: #6b727a;
    --mc-site-soft: #f7f9fc;
    --mc-site-border: rgba(73, 80, 87, .14);
    --mc-site-shadow: 0 18px 45px rgba(28, 37, 51, .12);
}
html { scroll-behavior: smooth; }
body.mccloud-site-shell {
    margin: 0;
    color: var(--mc-site-ink);
    font-family: 'Source Sans Pro','Segoe UI',Helvetica,Arial,sans-serif;
    background: #fff;
}
a { color: inherit; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.text-center { text-align: center; }
.text-base { font-size: 1rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.leading-relaxed { line-height: 1.625; }
.text-ink-700 { color: var(--mc-site-ink); }
.grid { display: grid; }
.gap-6 { gap: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.not-italic { font-style: normal; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.hover\:text-mc-500:hover { color: var(--mc-site-blue); }
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:gap-12 { gap: 3rem; }
}
.h-display, .h-section {
    color: var(--mc-site-blue-dark);
    font-weight: 800;
    letter-spacing: -.035em;
}
.h-display {
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: .95;
}
.h-section {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.03;
}
.kicker, .hero-slide-kicker {
    color: var(--mc-site-blue);
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .82rem;
}
.btn {
    border-radius: 999px;
    padding: .78rem 1.2rem;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    line-height: 1.2;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--mc-site-blue);
    border-color: var(--mc-site-blue);
    color: #fff !important;
    box-shadow: 0 14px 26px rgba(90, 115, 149, .24);
}
.btn-secondary, .hero-slide-btn-secondary {
    background: #fff;
    border-color: rgba(255,255,255,.82);
    color: var(--mc-site-blue-dark) !important;
    box-shadow: 0 12px 24px rgba(28,37,51,.12);
}
.card {
    background: #fff;
    border: 1px solid var(--mc-site-border);
    border-radius: 18px;
    padding: 2rem;
    color: var(--mc-site-ink);
    text-decoration: none;
    box-shadow: var(--mc-site-shadow);
}
.card-accent { position: relative; overflow: hidden; }
.card-accent:before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    background: linear-gradient(90deg, #5a7395, #9eb3c9);
}
.card-icon {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
}
.card-icon svg { width: 31px; height: 31px; }
.card-icon-blue { background: #e2eaf2; color: #4a607d; }
.card-icon-green { background: #e9f7ef; color: #388b5a; }
.card-icon-orange { background: #fff1df; color: #bc7431; }
.reveal { animation: mcReveal .55s ease both; }
@keyframes mcReveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-banner {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.hero-slider-track, .hero-slide, .hero-slide-bg, .hero-slide-shade {
    position: absolute;
    inset: 0;
}

.mc-bg-reference { background-image: url('https://mccloud.nl/wp-content/uploads/2015/03/Achtergrond-referentie1.jpg'); }
.mc-bg-home { background-image: url('https://mccloud.nl/wp-content/uploads/2015/04/Homepage-slider.jpg'); }

.hero-slide-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    z-index: -3;
}
.hero-slide-shade {
    background: linear-gradient(90deg, rgba(28,37,51,.88), rgba(44,58,77,.62) 46%, rgba(28,37,51,.25));
    z-index: -2;
}
.hero-banner-content {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 6rem 0 4.5rem;
    z-index: 1;
}
.hero-slide-inner { max-width: 720px; }
.hero-slide-title { color: #fff; text-shadow: 0 10px 34px rgba(0,0,0,.28); }
.hero-slide-text {
    color: rgba(255,255,255,.92);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.55;
    margin: 1.1rem 0 .75rem;
}
.hero-slide-meta { color: rgba(255,255,255,.72); font-size: 1.05rem; }
.hero-slide-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.mc-local-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(205,210,216,.8);
    box-shadow: 0 8px 24px rgba(28,37,51,.06);
    backdrop-filter: blur(14px);
}
.mc-local-nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.mc-local-logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--mc-site-blue-dark); font-weight: 800; }
.mc-local-logo img { height: 54px; width: auto; max-width: 210px; object-fit: contain; }
.mc-local-menu { display: flex; align-items: center; gap: 1.4rem; }
.mc-local-menu a:not(.btn) { color: var(--mc-site-blue-dark); text-decoration: none; font-weight: 700; }
.mc-local-menu a:not(.btn):hover { color: var(--mc-site-blue); }
.mc-local-toggle { display: none; border: 1px solid var(--mc-site-border); background: #fff; border-radius: 999px; padding: .6rem 1rem; color: var(--mc-site-blue-dark); font-weight: 700; }
.mc-local-footer {
    background: #2c3a4d;
    color: rgba(255,255,255,.82);
    padding: 2rem 0;
}
.mc-local-footer a { color: #fff; text-decoration: none; }
.mc-local-footer-grid { display: grid; gap: 1rem; grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
.mc-admin-wordmark { font-size: 1.05rem; }
.admin-local-header .mc-local-logo img { height: 45px; }
@media (max-width: 991px) {
    .hero-banner, .hero-banner-content { min-height: auto; }
    .hero-banner-content { padding: 4rem 0; }
    .mc-local-toggle { display: inline-flex; }
    .mc-local-menu {
        display: none;
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 78px;
        background: #fff;
        border: 1px solid var(--mc-site-border);
        border-radius: 18px;
        box-shadow: var(--mc-site-shadow);
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
    }
    .mc-local-menu.is-open { display: flex; }
    .mc-local-menu .btn { width: 100%; }
    .mc-local-footer-grid { grid-template-columns: 1fr; }
}
