/* ==========================================================================
   EVweb BV — site stylesheet
   ========================================================================== */

:root {
    --navy-900: #071726;
    --navy-800: #0b1f33;
    --navy-700: #123049;
    --blue-600: #0a72c4;
    --blue-500: #1b8ee0;
    --blue-100: #e6f2fb;
    --teal-500: #10b3a3;
    --ink: #12222e;
    --body: #47606f;
    --muted: #6b8292;
    --line: #dfe7ed;
    --line-soft: #edf2f6;
    --bg: #ffffff;
    --bg-alt: #f5f8fa;
    --danger: #b3261e;
    --danger-bg: #fdecea;

    --radius: 14px;
    --radius-sm: 9px;
    --shadow-sm: 0 1px 2px rgba(7, 23, 38, .06), 0 4px 14px rgba(7, 23, 38, .05);
    --shadow-md: 0 12px 34px rgba(7, 23, 38, .10);
    --container: 1140px;

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem); }
h3, .h3 { font-size: 1.22rem; }
.h4 { font-size: 1.05rem; margin-bottom: .5em; color: var(--ink); font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); text-decoration: underline; }

img, svg { max-width: 100%; }

address { font-style: normal; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow { max-width: 760px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--navy-800); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 3px solid var(--blue-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Icons ------------------------------------------------------------------ */

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    vertical-align: -.18em;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .97rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .16s, color .16s, border-color .16s, transform .16s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .icon { width: 1.05em; height: 1.05em; }

.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: #0861a8; color: #fff; }

.btn-outline { background: transparent; color: var(--blue-600); border-color: var(--line); }
.btn-outline:hover { background: var(--blue-100); color: var(--blue-600); border-color: var(--blue-100); }

.btn-ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .32);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* Header ----------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 74px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: -.02em;
}
.logo:hover { text-decoration: none; color: var(--ink); }

.logo-mark {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex: none;
}

.site-footer .logo-mark {
    padding: 4px;
    background: #fff;
    border-radius: 9px;
}

.logo-suffix { color: var(--muted); font-weight: 600; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    color: var(--ink);
    font-size: .97rem;
    font-weight: 600;
}
.site-nav a:hover { color: var(--blue-600); text-decoration: none; }
.site-nav a.is-active { color: var(--blue-600); }
.site-nav a.btn { color: #fff; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 40px;
    padding: 0;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.bars,
.bars::before,
.bars::after {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--ink);
    border-radius: 2px;
    content: "";
}
.bars::before { transform: translateY(-6px); }
.bars::after { transform: translateY(4px); }

/* Hero ------------------------------------------------------------------- */

.hero {
    background:
        radial-gradient(1000px 460px at 88% -8%, rgba(16, 179, 163, .28), transparent 62%),
        radial-gradient(760px 420px at 8% 108%, rgba(27, 142, 224, .30), transparent 60%),
        linear-gradient(160deg, var(--navy-800), var(--navy-900));
    color: #cddbe6;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
    padding-top: 84px;
    padding-bottom: 96px;
}

.hero h1 { color: #fff; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--teal-500);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.page-head .eyebrow { color: var(--blue-600); }

.head-icon { display: inline-flex; }

.lead { font-size: 1.13rem; max-width: 62ch; }
.hero .lead { color: #b9cbd9; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 34px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .95rem;
    color: #a9bece;
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--teal-500); }

.hero-card {
    padding: 26px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    font-size: .96rem;
}

.hero-card-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    color: #d5e3ee;
}
.hero-card-row em { margin-left: auto; font-style: normal; color: var(--teal-500); font-weight: 600; }

.dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--teal-500);
    box-shadow: 0 0 0 4px rgba(16, 179, 163, .18);
}

.hero-card-foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    color: #9fb6c7;
    font-size: .9rem;
}

/* Page head -------------------------------------------------------------- */

.page-head {
    padding: 62px 0 46px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line-soft);
}
.page-head h1 { margin-bottom: .35em; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: .87rem;
    color: var(--muted);
}
.breadcrumb a { color: var(--muted); }

/* Sections --------------------------------------------------------------- */

.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
    max-width: 62ch;
    margin-bottom: 42px;
}
.section-head p { font-size: 1.06rem; margin-bottom: 0; }

/* Cards ------------------------------------------------------------------ */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
    gap: 22px;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--body);
    transition: border-color .16s, box-shadow .16s, transform .16s;
}
.card:hover {
    border-color: #c7dcec;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--body);
}
.card h2, .card h3 { margin-bottom: .45em; }
.card p { font-size: .97rem; }

.card-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--blue-100);
    color: var(--blue-600);
    font-size: 1.35rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    margin-top: auto;
    padding-top: 16px;
    color: var(--blue-600);
    font-size: .93rem;
    font-weight: 600;
}
.card .card-link { margin-top: auto; }
.card-link .icon { transition: transform .16s; }
.card:hover .card-link .icon,
a.card-link:hover .icon { transform: translateX(3px); }

/* Split / brands --------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.brand-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}
.brand-list li {
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.brand-list h3 { margin-bottom: .25em; font-size: 1.08rem; }
.brand-list p { margin: 0; font-size: .95rem; }

.brand-stack { display: grid; gap: 22px; }

.brand-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 100px;
}
.brand-card h2 { margin-bottom: .3em; }
.brand-tag { color: var(--muted); font-size: .95rem; margin: 0; }

/* Features --------------------------------------------------------------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 34px;
}
.feature h3 { margin-bottom: .4em; }
.feature p { font-size: .97rem; margin: 0; }

/* Article layout --------------------------------------------------------- */

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 56px;
    align-items: start;
}

.prose { font-size: 1.03rem; }
.prose h2 { margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }

.check-list {
    margin: 0 0 1.4em;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.check-list .icon {
    margin-top: .28em;
    color: var(--teal-500);
}

.sidebar { display: grid; gap: 18px; position: sticky; top: 100px; }

.sidebar-card {
    padding: 26px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.sidebar-card p { font-size: .95rem; }

.sidebar-contact {
    display: grid;
    gap: 8px;
    margin: 16px 0 20px;
    font-weight: 600;
}
.sidebar-contact a { display: flex; align-items: center; gap: 9px; }

.sidebar-address { margin-bottom: 4px; font-size: .97rem; }

.sidebar-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sidebar-list a { color: var(--ink); font-size: .96rem; font-weight: 500; }
.sidebar-list a:hover { color: var(--blue-600); }

/* Contact ---------------------------------------------------------------- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: start;
}

.contact-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 22px;
}
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .card-icon { margin-bottom: 0; }
.contact-list strong { color: var(--ink); }

.form-card {
    padding: 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field { margin-bottom: 18px; }

.field label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 600;
}
.field label span[aria-hidden] { color: var(--blue-600); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: .98rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(27, 142, 224, .16);
    outline: none;
}

.field input[aria-invalid="true"] { border-color: var(--danger); }

.field-check label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 500;
    font-size: .95rem;
    color: var(--body);
}
.field-check input { margin-top: .28em; width: 17px; height: 17px; accent-color: var(--blue-600); }

.field-error {
    display: block;
    margin-top: 6px;
    color: var(--danger);
    font-size: .87rem;
    font-weight: 500;
}

.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: .95rem;
}
.alert-error { background: var(--danger-bg); color: var(--danger); }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* CTA -------------------------------------------------------------------- */

.cta {
    background: linear-gradient(140deg, var(--navy-800), var(--navy-700));
    color: #c5d6e2;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; }

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    padding-top: 56px;
    padding-bottom: 56px;
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
    background: var(--navy-900);
    color: #93aabc;
    font-size: .95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 44px;
    padding-top: 62px;
    padding-bottom: 46px;
}

.logo-footer { font-size: 1.1rem; }
.logo-footer .logo-text { color: #fff; }
.logo-footer .logo-suffix { color: #7f97aa; }

.footer-intro { margin-top: 16px; max-width: 34ch; }

.footer-heading {
    margin-bottom: 14px;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.footer-list a,
.footer-address a { color: #93aabc; }
.footer-list a:hover,
.footer-address a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    justify-content: space-between;
    padding-top: 22px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .88rem;
    color: #7f97aa;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #7f97aa; }
.footer-bottom a:hover { color: #fff; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1000px) {
    .hero-inner,
    .split,
    .article-layout,
    .contact-layout { grid-template-columns: 1fr; gap: 42px; }

    .hero-inner { padding-top: 62px; padding-bottom: 68px; }
    .sidebar { position: static; }
    .brand-card { grid-template-columns: 1fr; gap: 18px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 780px) {
    body { font-size: 16px; }

    .nav-toggle { display: block; }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 24px 22px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }
    body.nav-open .site-nav { display: flex; }
    .site-nav a { padding: 11px 0; }
    .site-nav a.btn { justify-content: center; margin-top: 8px; }

    .section { padding: 56px 0; }
    .page-head { padding: 44px 0 36px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .form-card,
    .brand-card { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
    .btn:hover, .card:hover { transform: none; }
}
