/* ============================================================
   Flozon — dienstpagina's (/diensten/*)
   Geladen na shared.css op alle dienstpagina's.
   ============================================================ */

/* ===== HERO ===== */
.svc-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt-700) 60%, var(--cobalt) 100%);
    padding: 7.5rem 1.75rem 4.5rem;
    color: #fff;
}
.svc-hero__inner { max-width: 1000px; margin: 0 auto; }
.svc-crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.55); margin-bottom: 1.75rem; list-style: none; }
.svc-crumbs li + li::before { content: '/'; margin-right: .45rem; color: rgba(255,255,255,.3); }
.svc-crumbs a { transition: color .2s; }
.svc-crumbs a:hover { color: var(--sky); }
.svc-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sky);
    border: 1px solid rgba(130,200,229,.35);
    border-radius: 4px;
    padding: .2rem .6rem;
    margin-bottom: 1.25rem;
}
.svc-hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 820px;
}
.svc-hero h1 em { font-style: normal; color: var(--sky); }
.svc-hero__lead { font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,.78); max-width: 720px; }
.svc-hero__btns { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* ===== BUTTONS ===== */
.svc-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .9rem;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    border: 1.5px solid transparent;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.svc-btn svg { width: 16px; height: 16px; }
.svc-btn:hover { transform: translateY(-2px); }
.svc-btn--light { background: #fff; color: var(--cobalt); }
.svc-btn--light:hover { background: var(--sky); color: var(--navy); }
.svc-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.svc-btn--ghost:hover { border-color: #fff; }
.svc-btn--solid { background: var(--cobalt); color: #fff; }
.svc-btn--solid:hover { background: var(--cobalt-600); }

/* ===== SECTIONS ===== */
.svc-section { padding: 4.5rem 1.75rem; }
.svc-section--alt { background: var(--paper-2); }
.svc-wrap { max-width: 1000px; margin: 0 auto; }
.svc-narrow { max-width: 760px; }
.svc-eyebrow { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); margin-bottom: .6rem; }
.svc-section h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 1.1rem;
}
.svc-section h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 1.75rem 0 .5rem; }
.svc-section p { font-size: .985rem; line-height: 1.8; color: #2a3545; margin-bottom: 1.1rem; }
.svc-section p a, .svc-faq a, .svc-checklist a, .svc-note a { color: var(--cobalt); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.svc-intro { font-size: 1.05rem !important; color: var(--slate) !important; max-width: 760px; }

/* ===== CARDS ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.svc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.6rem 1.5rem;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc-section--alt .svc-card { background: #fff; }
.svc-card__num { display: block; font-size: .78rem; font-weight: 800; color: var(--sky); letter-spacing: .08em; margin-bottom: .6rem; }
.svc-card h3 { margin: 0 0 .5rem; font-size: 1.02rem; }
.svc-card p { font-size: .92rem; line-height: 1.7; margin-bottom: 0; color: #3a4757; }
a.svc-card { display: flex; flex-direction: column; }
a.svc-card:hover { border-color: var(--cobalt); box-shadow: 0 10px 28px rgba(0,51,124,.09); transform: translateY(-3px); }
.svc-card__more { margin-top: auto; padding-top: 1rem; font-size: .85rem; font-weight: 700; color: var(--cobalt); }

/* ===== CHECKLIST ===== */
.svc-checklist { list-style: none; margin: 1.25rem 0 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.svc-checklist li { position: relative; padding-left: 1.8rem; font-size: .975rem; line-height: 1.65; color: #2a3545; }
.svc-checklist li::before {
    content: '';
    position: absolute;
    left: 0; top: .15em;
    width: 18px; height: 18px;
    background: var(--cobalt);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 9l3.5 3.5L14 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.svc-checklist li strong { color: var(--ink); font-weight: 700; }

/* ===== TWO COLUMNS ===== */
.svc-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.svc-aside { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem; }
.svc-section--alt .svc-aside { background: #fff; }
.svc-aside h3 { margin-top: 0; }
.svc-aside .svc-checklist { margin-bottom: 0; }

/* ===== STEPS ===== */
.svc-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.svc-steps li { counter-increment: step; position: relative; padding: 1.5rem 1.25rem 1.25rem; border-top: 3px solid var(--cobalt); background: #fff; border-radius: 0 0 10px 10px; box-shadow: 0 1px 0 var(--line); }
.svc-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: .8rem; font-weight: 800; color: var(--sky); margin-bottom: .4rem; }
.svc-steps strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: .35rem; }
.svc-steps span { font-size: .9rem; line-height: 1.65; color: #3a4757; }

/* ===== TABLE ===== */
.svc-table-wrap { overflow-x: auto; margin: 1.75rem 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.svc-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.svc-table th, .svc-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; line-height: 1.55; }
.svc-table thead th { background: var(--paper-3); font-weight: 800; color: var(--ink); font-size: .82rem; letter-spacing: .02em; }
.svc-table tbody th { font-weight: 700; color: var(--ink); }
.svc-table tr:last-child td, .svc-table tr:last-child th { border-bottom: none; }

/* ===== NOTE / QUOTE ===== */
.svc-note {
    margin: 2rem 0;
    padding: 1.4rem 1.6rem;
    background: var(--cobalt-soft);
    border-left: 4px solid var(--cobalt);
    border-radius: 0 10px 10px 0;
}
.svc-note p { margin-bottom: 0; color: var(--cobalt-700); font-weight: 600; }

/* ===== CASE / REALISATIE ===== */
.svc-case {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.75rem;
    align-items: center;
    margin-top: 2.25rem;
}
.svc-browser {
    border-radius: 12px;
    overflow: hidden;
    background: #1b2330;
    box-shadow: 0 24px 50px -20px rgba(0,26,77,.45), 0 0 0 1px rgba(0,0,0,.06);
    transition: transform .3s;
}
a.svc-browser:hover { transform: translateY(-4px); }
.svc-browser__bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; background: #2a3342; }
.svc-browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.svc-browser__url { flex: 1; margin-left: .6rem; padding: .2rem .7rem; border-radius: 6px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 600; letter-spacing: .01em; }
.svc-browser img { width: 100%; height: auto; aspect-ratio: 1200 / 616; object-fit: cover; }
.svc-case__body h3 { margin: 0 0 .75rem; font-size: 1.3rem; letter-spacing: -.01em; }
.svc-case__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1.5rem; }
.svc-case__facts li { font-size: .8rem; font-weight: 600; color: var(--cobalt-700); background: var(--cobalt-soft); border-radius: 999px; padding: .35rem .85rem; }
.svc-case__facts li strong { color: var(--ink); font-weight: 800; }
.svc-case__link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--cobalt); }
.svc-case__link svg { width: 15px; height: 15px; transition: transform .2s; }
.svc-case__link:hover svg { transform: translateX(3px); }

/* ===== CTA ===== */
.svc-cta {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 100%);
    border-radius: 16px;
    text-align: center;
    color: #fff;
}
.svc-cta h2 { color: #fff; margin-bottom: .75rem; }
.svc-cta p { color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto 1.75rem; }
.svc-cta .svc-hero__btns { justify-content: center; margin-top: 0; }

/* ===== FAQ ===== */
.svc-faq { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.svc-faq details { border-bottom: 1px solid var(--line); }
.svc-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 2.5rem 1.15rem 0;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    position: relative;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after {
    content: '+';
    position: absolute;
    right: .25rem; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--cobalt);
    transition: transform .2s;
}
.svc-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.svc-faq summary:hover { color: var(--cobalt); }
.svc-faq summary:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.svc-faq__a { padding: 0 0 1.25rem; }
.svc-faq__a p { font-size: .95rem; margin-bottom: .75rem; }
.svc-faq__more { margin-top: 1.75rem; font-size: .95rem; color: var(--slate); }
.svc-faq__more a { color: var(--cobalt); font-weight: 700; }

/* ===== LINKEDIN ===== */
.svc-follow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.75rem 2rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.svc-follow h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.svc-follow p { margin: 0; font-size: .92rem; color: var(--slate); }
.svc-follow__btn { display: inline-flex; align-items: center; gap: .55rem; background: #0A66C2; color: #fff; font-weight: 700; font-size: .9rem; padding: .7rem 1.35rem; border-radius: 8px; transition: background .2s; }
.svc-follow__btn:hover { background: #004182; }
.svc-follow__btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== RELATED ===== */
.svc-related { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.svc-related a { font-size: .87rem; font-weight: 600; color: var(--cobalt); border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem 1rem; transition: border-color .2s, background .2s; }
.svc-related a:hover { border-color: var(--cobalt); background: var(--cobalt-soft); }

/* ===== TERM TOOLTIP ===== */
.svc-term {
    position: relative;
    display: inline;
    border-bottom: 1.5px dotted currentColor;
    cursor: help;
    outline: none;
}
.svc-term::after {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05em; height: 1.05em;
    margin-left: .2em;
    border-radius: 50%;
    font-size: .68em;
    font-weight: 800;
    vertical-align: super;
    background: var(--sky);
    color: var(--navy);
}
.svc-term__tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    width: max-content;
    max-width: min(280px, 80vw);
    padding: .75rem .9rem;
    background: var(--ink);
    color: #fff;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s, visibility .15s;
    z-index: 20;
    pointer-events: none;
}
.svc-term__tip::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--ink);
}
.svc-term:hover .svc-term__tip,
.svc-term:focus .svc-term__tip { opacity: 1; visibility: visible; }
.svc-term:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
    .svc-split { grid-template-columns: 1fr; gap: 2rem; }
    .svc-case { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 600px) {
    .svc-hero { padding: 6.5rem 1rem 3.5rem; }
    .svc-section { padding: 3.25rem 1rem; }
    .svc-cta { padding: 2.25rem 1.25rem; }
    .svc-follow { padding: 1.5rem 1.25rem; }
    .svc-hero__btns .svc-btn { width: 100%; justify-content: center; }
    /* Op smal scherm: uitleg als paneel onderaan, zodat ze nooit buiten beeld valt */
    .svc-term__tip {
        position: fixed;
        left: 1rem; right: 1rem; bottom: 1rem;
        transform: none;
        width: auto;
        max-width: none;
        font-size: .88rem;
    }
    .svc-term__tip::after { display: none; }
}
