:root {
    --brand-primary: #2BB39B;
    --brand-primary-dark: #189881;

    --bg: #FFFFFF;
    --bg-soft: #FAF5EE;
    --text: #111111;
    --muted: #6F6F6F;
    --border: #E7E2D8;
    --border-soft: #EEE8DE;

    --shadow-btn: 0 2px 0 #1E7A6A;

    --container: 1180px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 4px;

    --section-x: 40px;
    --header-top: 20px;
    --header-height-space: 110px;

    /* Typography */
    --font-heading: "Nunito", sans-serif;
    --font-body: "Cabinet Grotesk", system-ui, sans-serif;

    --h1-size: 36px;
    --h1-line: 49px;
    --h1-weight: 800;

    --h2-size: 28px;
    --h2-line: 44px;
    --h2-weight: 700;

    --h3-size: 24px;
    --h3-line: 33px;
    --h3-weight: 700;

    --h4-size: 20px;
    --h4-line: 27px;
    --h4-weight: 400;

    --h5-size: 16px;
    --h5-line: 22px;
    --h5-weight: 300;

    --body-lg-size: 18px;
    --body-lg-line: 20px;
    --body-lg-weight: 400;

    --body-size: 16px;
    --body-line: 20px;
    --body-weight: 400;

    --body-sm-size: 14px;
    --body-sm-line: 20px;
    --body-sm-weight: 400;

    --btn-size: 16px;
    --btn-line: 20px;
    --btn-weight: 800;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-line);
    font-weight: var(--body-weight);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.btn,
.topnav__link,
.mobile-menu__link {
    font-family: var(--font-heading);
    margin: 0;
}

h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line);
    font-weight: var(--h1-weight);
}

h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line);
    font-weight: var(--h2-weight);
}

h3 {
    font-size: var(--h3-size);
    line-height: var(--h3-line);
    font-weight: var(--h3-weight);
}

h4 {
    font-size: var(--h4-size);
    line-height: var(--h4-line);
    font-weight: var(--h4-weight);
}

h5 {
    font-size: var(--h5-size);
    line-height: var(--h5-line);
    font-weight: var(--h5-weight);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding-left: 18px;
}

.container {
    width: min(var(--container), calc(100% - (var(--section-x) * 2)));
    margin-inline: auto;
}

.muted {
    color: var(--muted);
}

/* =======================
   TOPBAR
======================= */
.topbar {
    position: fixed;
    top: var(--header-top);
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.topbar__inner,
.mobile-menu {
    pointer-events: auto;
}

.topbar__inner {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 18px 28px;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 -1px 0 #E3D7C6;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand__logo {
    height: 22px;
    width: auto;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topnav__link {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: #222;
    transition: opacity 0.2s ease;
}

.topnav__link:hover {
    opacity: 0.7;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-primary);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

/* =======================
   BUTTONS
======================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 24px;
    border-radius: 4px;
    border: 2px solid transparent;
    font-size: var(--btn-size);
    line-height: var(--btn-line);
    font-weight: var(--btn-weight);
    white-space: nowrap;
    box-shadow: var(--shadow-btn);
    transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #1E7A6A;
}

.btn--sm {
    min-height: 38px;
    padding: 8px 24px;
    font-size: var(--btn-size);
    line-height: var(--btn-line);
}

.btn--primary,
.btn--faq {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.btn--primary:hover,
.btn--faq:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
}

.btn--outline {
    background: #fff;
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn--outline:hover {
    background: rgba(43, 179, 155, 0.06);
}
/* Contact pagina */
.contact-page {
    padding: 140px 32px;
}

.contact-page__container {
    width: min(1180px, calc(100% - 96px));
    margin: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: start;
}

/* Linker kant */
.contact-title {
    font-size: 26px;
    font-weight: 800;
    margin-top: 20px;
}

.contact-intro {
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 420px;
}

/* formulier */
.contact-form {
    background: var(--bg-soft);
    padding: 22px;
    border-radius: 8px;
    max-width: 520px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #C8CDD2;
    border-radius: 4px;
    padding: 8px 10px;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Rechter kant */
.contact-info-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-card {
    background: var(--bg-soft);
    border-radius: 8px;
    padding: 16px;
    width: 260px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact-divider {
    height: 1px;
    background: #E3D7C6;
    margin: 12px 0;
}

.contact-icon {
    color: var(--brand-primary);
}

/* FOOTER */
.footer {
    background: var(--bg-soft);
    padding: 40px 120px;
}

.footer .container {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer__logo {
    width: 130px;
    height: auto;
    display: block;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__socials a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__socials img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(17, 24, 39, 0.65);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__col a {
    display: block;
    font-size: 14px;
    color: rgba(17, 24, 39, 0.9);
}

.footer__contact p {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.footer__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(17, 24, 39, 0.9);
}

.footer__contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #111827;
}

/* Mobile */
@media (max-width:768px) {
    .container {
        width: calc(100% - 32px);
    }

    /* Header */
    .topbar .container {
        width: calc(100% - 24px);
    }

    .topbar {
        padding: 12px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }
    
    .topbar__inner {
        background: var(--bg-soft);
        border-radius: 8px;
        padding: 16px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: inset 0 -1px 0 #E3D7C6;
        background: var(--bg-soft);
        border-radius: 8px;
        padding: 16px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: inset 0 -1px 0 #E3D7C6;
    }

    .brand__logo {
        height: 22px;
    }

    .topnav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .mobile-menu.is-open {
        max-height: 220px;
        margin-top: 10px;
    }

    .mobile-menu__nav {
        background: var(--bg-soft);
        border-radius: 10px;
        padding: 24px 16px 24px;
        box-shadow: inset 0 -1px 0 #E3D7C6;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu__link {
        font-size: 14px;
        color: rgba(17, 24, 39, 0.9);
    }

    .mobile-menu__btn {
        align-self: flex-start;
    }

    .contact-page {
        padding: 100px 32px;
    }

    .contact-page__container {
        width: calc(100% - 32px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .contact-title {
        font-size: 18px;
    }

    .contact-intro {
        font-size: 14px;
    }

    .contact-form {
        padding: 16px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .contact-card {
        width: 100%;
    }


    /* Footer */
    .footer {
        padding: 40px 0;
    }

    .footer .container {
        width: calc(100% - 60px);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer__brand {
        gap: 10px;
    }

    .footer__logo {
        width: 90px;
    }

    .footer__socials a {
        width: 20px;
        height: 20px;
    }

    .footer__col {
        gap: 10px;
    }

    .footer__col a,
    .footer__contact a,
    .footer__contact p {
        font-size: 14px;
    }

    .footer__contact {
        grid-column: auto;
    }

    .footer__contact svg {
        width: 14px;
        height: 14px;
    }
}