/* =========================================================
   WebCodeMasters
   Premium main stylesheet
   Responsive / mobile optimized
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.65;

    color: #222222;
    background: #ffffff;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

::selection {
    background: rgba(255, 122, 0, 0.18);
    color: #151515;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    /* Brand */
    --orange: #ff7a00;
    --orange-dark: #e66d00;
    --orange-light: #fff3e8;

    --green: #2a9d8f;
    --green-dark: #217f74;

    /* Dark */
    --dark: #111111;
    --dark-light: #1c1c1c;
    --dark-soft: #262626;

    /* Text */
    --text: #222222;
    --text-light: #686868;
    --text-muted: #888888;

    /* Surfaces */
    --white: #ffffff;
    --light: #f7f7f7;
    --light-2: #f2f2f2;

    /* Borders */
    --border: #e7e7e7;
    --border-dark: #2b2b2b;

    /* Layout */
    --container: 1180px;

    /* Radius */
    --radius: 16px;
    --radius-small: 10px;
    --radius-large: 22px;

    /* Shadows */
    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.06);

    --shadow-medium:
        0 18px 45px rgba(0, 0, 0, 0.09);

    --shadow-hover:
        0 24px 55px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition:
        0.25s ease;
}


/* =========================================================
   GENERAL
   ========================================================= */

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

section {
    padding: 95px 0;
}

.eyebrow {
    margin-bottom: 12px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading h2 {
    margin-bottom: 16px;

    color: var(--dark);

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;

    letter-spacing: -0.035em;
}

.section-heading > p:last-child {
    color: var(--text-light);

    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   ACCESSIBILITY / FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(255, 122, 0, 0.35);
    outline-offset: 3px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 13px 25px;

    border: 1px solid transparent;
    border-radius: var(--radius-small);

    font-size: 15px;
    font-weight: 750;

    cursor: pointer;

    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);

    -webkit-tap-highlight-color: transparent;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background:
        linear-gradient(
            135deg,
            var(--orange) 0%,
            #ff8b24 100%
        );

    color: var(--white);

    box-shadow:
        0 8px 20px rgba(255, 122, 0, 0.20);
}

.button-primary:hover {
    background:
        linear-gradient(
            135deg,
            var(--orange-dark) 0%,
            var(--orange) 100%
        );

    box-shadow:
        0 12px 28px rgba(255, 122, 0, 0.27);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.7);

    color: var(--dark);

    border-color: var(--border);

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.03);
}

.button-secondary:hover {
    background: var(--white);

    border-color: var(--orange);

    color: var(--orange);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.07);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.90);

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header .container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.header-inner {
    position: relative;
}

.logo {
    color: var(--dark);

    font-size: 24px;
    font-weight: 850;

    letter-spacing: -0.055em;

    white-space: nowrap;

    transition: opacity var(--transition);
}

.logo:hover {
    opacity: 0.85;
}

.logo span {
    color: var(--orange);
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 30px;
}

.main-nav a {
    position: relative;

    padding: 8px 0;

    color: #333333;

    font-size: 14px;
    font-weight: 650;

    transition:
        color var(--transition);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 1px;

    width: 0;
    height: 2px;

    border-radius: 2px;

    background: var(--orange);

    transition:
        width var(--transition);
}

.main-nav a:hover {
    color: var(--orange);
}

.main-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   LEGACY NAVIGATION SUPPORT
   ========================================================= */

.main-navigation {
    display: flex;
    align-items: center;

    gap: 30px;
}

.main-navigation a {
    position: relative;

    padding: 8px 0;

    color: #333333;

    font-size: 14px;
    font-weight: 650;

    transition:
        color var(--transition);
}

.main-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 1px;

    width: 0;
    height: 2px;

    background: var(--orange);

    transition:
        width var(--transition);
}

.main-navigation a:hover {
    color: var(--orange);
}

.main-navigation a:hover::after {
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    padding: 125px 0 115px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 122, 0, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(42, 157, 143, 0.06),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7f7f7 100%
        );

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -250px;
    top: -260px;

    border-radius: 50%;

    border: 1px solid rgba(255, 122, 0, 0.13);

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    left: -150px;
    bottom: -160px;

    border-radius: 50%;

    background: rgba(42, 157, 143, 0.05);

    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 850px;

    margin-bottom: 24px;

    color: var(--dark);

    font-size: clamp(44px, 7vw, 78px);
    line-height: 1.02;

    letter-spacing: -0.065em;
}

.hero-text {
    max-width: 700px;

    margin-bottom: 34px;

    color: var(--text-light);

    font-size: 20px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
    background: var(--white);
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.service-card {
    position: relative;

    min-height: 100%;

    padding: 32px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfbfb 100%
        );

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.025);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 28px;

    width: 35px;
    height: 3px;

    border-radius: 0 0 5px 5px;

    background: var(--orange);

    opacity: 0;

    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 122, 0, 0.18);

    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    margin-bottom: 13px;

    color: var(--dark);

    font-size: 21px;
    line-height: 1.3;

    letter-spacing: -0.02em;
}

.service-card p {
    margin-bottom: 23px;

    color: var(--text-light);

    font-size: 15px;
    line-height: 1.7;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--orange);

    font-size: 14px;
    font-weight: 750;

    transition:
        color var(--transition),
        gap var(--transition);
}

.service-card a:hover {
    color: var(--orange-dark);
    gap: 10px;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.projects {
    background:
        linear-gradient(
            180deg,
            #f7f7f7 0%,
            #f4f4f4 100%
        );
}

.project-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;
}

.project-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.035);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 122, 0, 0.16);

    box-shadow: var(--shadow-hover);
}

.project-image {
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #eeeeee;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.045);
}

.project-content {
    padding: 30px;
}

.project-category {
    display: block;

    margin-bottom: 9px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-content h2,
.project-content h3 {
    margin-bottom: 12px;

    color: var(--dark);

    font-size: 26px;
    line-height: 1.25;

    letter-spacing: -0.03em;
}

.project-content p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 15px;
    line-height: 1.7;
}

.project-content a {
    color: var(--orange);

    font-size: 14px;
    font-weight: 750;

    transition:
        color var(--transition);
}

.project-content a:hover {
    color: var(--orange-dark);
}

.section-action {
    margin-top: 42px;

    text-align: center;
}


/* =========================================================
   PROJECT TECHNOLOGIES
   ========================================================= */

.project-technologies {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 22px;
}

.project-technologies span {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    background:
        linear-gradient(
            180deg,
            #f5f5f5 0%,
            #eeeeee 100%
        );

    border: 1px solid #e8e8e8;

    border-radius: 7px;

    color: #555555;

    font-size: 12px;
    font-weight: 650;
}

.project-technologies a {
    color: inherit;
}

.project-technologies a:hover {
    color: var(--orange);
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    position: relative;

    padding: 90px 0;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 122, 0, 0.13),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(42, 157, 143, 0.08),
            transparent 25%
        ),
        var(--dark);

    color: var(--white);

    text-align: center;

    overflow: hidden;
}

.cta::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -200px;
    top: -200px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 50%;

    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;

    max-width: 800px;
}

.cta h2 {
    margin-bottom: 16px;

    color: var(--white);

    font-size: clamp(31px, 5vw, 44px);
    line-height: 1.15;

    letter-spacing: -0.035em;
}

.cta p {
    max-width: 650px;

    margin: 0 auto 32px;

    color: #cfcfcf;

    font-size: 17px;
    line-height: 1.75;
}

.cta .button {
    display: inline-flex;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 60px 0 25px;

    background: #0d0d0d;

    color: #999999;

    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;

    gap: 70px;

    padding-bottom: 38px;

    border-bottom: 1px solid #282828;
}

.footer-brand {
    max-width: 340px;
}

.footer-brand .logo {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--white);
}

.footer-brand p {
    color: #858585;

    line-height: 1.7;
}

.footer-links {
    display: flex;

    gap: 75px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.footer-column h3 {
    margin-bottom: 8px;

    color: var(--white);

    font-size: 14px;
    font-weight: 750;
}

.footer-column a {
    color: #929292;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--orange);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding-top: 22px;
}

.footer-bottom p {
    margin: 0;

    color: #777777;
}

.footer-bottom-links {
    display: flex;

    gap: 22px;
}

.footer-bottom-links a {
    color: #777777;

    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--orange);
}


/* =========================================================
   PROJECT / SERVICE DETAIL HERO
   ========================================================= */

.project-detail-hero {
    position: relative;

    padding: 90px 0 80px;

    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(255, 122, 0, 0.11),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f6f6f6 100%
        );

    overflow: hidden;
}

.project-detail-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -230px;
    top: -230px;

    border: 1px solid rgba(255, 122, 0, 0.10);

    border-radius: 50%;

    pointer-events: none;
}

.project-detail-hero .container {
    position: relative;
    z-index: 1;
}

.project-back {
    display: inline-flex;
    align-items: center;

    margin-bottom: 38px;

    color: var(--text-light);

    font-size: 14px;
    font-weight: 650;

    transition:
        color var(--transition),
        transform var(--transition);
}

.project-back:hover {
    color: var(--orange);

    transform: translateX(-3px);
}

.project-detail-hero h1 {
    max-width: 950px;

    margin-bottom: 22px;

    color: var(--dark);

    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;

    letter-spacing: -0.055em;
}


/* =========================================================
   PROJECT DETAIL IMAGE
   ========================================================= */

.project-detail-image {
    padding: 65px 0 35px;

    background: var(--white);
}

.project-detail-image-wrapper {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius-large);

    background: #eeeeee;

    box-shadow: var(--shadow-medium);
}

.project-detail-image-wrapper img {
    width: 100%;
    height: auto;
}


/* =========================================================
   PROJECT DETAIL CONTENT
   ========================================================= */

.project-detail-content {
    background: var(--white);
}

.project-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 75px;

    align-items: start;
}

.project-detail-main {
    max-width: 780px;
}

.project-detail-main h2 {
    margin-top: 42px;
    margin-bottom: 22px;

    color: var(--dark);

    font-size: clamp(28px, 4vw, 37px);
    line-height: 1.2;

    letter-spacing: -0.035em;
}

.project-detail-main h2:first-child {
    margin-top: 0;
}

.project-detail-main p {
    margin-bottom: 21px;

    color: var(--text-light);

    font-size: 17px;
    line-height: 1.85;
}

.project-detail-main a {
    color: var(--orange);

    transition: color var(--transition);
}

.project-detail-main a:hover {
    color: var(--orange-dark);
}


/* =========================================================
   PROJECT SIDEBAR
   ========================================================= */

.project-detail-sidebar {
    display: flex;
    flex-direction: column;

    gap: 20px;

    position: sticky;
    top: 105px;
}

.project-info-box {
    padding: 27px;

    background:
        linear-gradient(
            180deg,
            #fafafa 0%,
            #f5f5f5 100%
        );

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.035);
}

.project-info-box h3 {
    margin-bottom: 18px;

    color: var(--dark);

    font-size: 19px;
    line-height: 1.3;

    letter-spacing: -0.02em;
}

.project-info-box p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 15px;
    line-height: 1.7;
}

.project-info-box .button {
    width: 100%;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--dark);

    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    display: block;

    width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--border);

    border-radius: var(--radius-small);

    background: var(--white);

    color: var(--text);

    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background-color var(--transition);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #cccccc;
}

.form-group textarea {
    min-height: 165px;

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;

    border-color: var(--orange);

    background: #fffdfb;

    box-shadow:
        0 0 0 4px rgba(255, 122, 0, 0.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #d8aaaa;
}


/* =========================================================
   CONTACT FORM MESSAGES
   ========================================================= */

.form-message {
    margin-bottom: 20px;

    padding: 16px 18px;

    border-radius: var(--radius-small);

    font-size: 14px;
    line-height: 1.6;
}

.form-message-success {
    background: #eef8f6;

    border: 1px solid #b9ded8;

    color: #206f66;
}

.form-message-success strong {
    display: block;

    margin-bottom: 5px;
}

.form-message-success p {
    margin: 0;

    color: inherit;
}

.form-message-error {
    background: #fff3f3;

    border: 1px solid #e5bcbc;

    color: #9b2c2c;
}


/* =========================================================
   CONTACT FORM HONEYPOT
   ========================================================= */

.form-honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* =========================================================
   CONTACT PRIVACY NOTE
   ========================================================= */

.form-privacy-note {
    margin-top: 16px;
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 0.85rem;
    line-height: 1.6;
}

.form-privacy-note a {
    color: inherit;

    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-privacy-note a:hover {
    color: var(--orange);
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

/*
 * De hamburgerknop staat uitsluitend in de header.
 * Op desktop is hij verborgen.
 * Op mobiel wordt alleen de knop die direct in .header-inner
 * staat getoond.
 */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    margin: 0;

    background: transparent;

    color: var(--dark);

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;

    border-radius: 8px;

    transition:
        background-color var(--transition);

    -webkit-tap-highlight-color: transparent;

    flex-shrink: 0;
}


/*
 * Als er onverhoopt ergens een tweede .menu-toggle
 * binnen dezelfde header terechtkomt, wordt die verborgen.
 * Hierdoor kan er nooit een tweede niet-functionele
 * hamburger midden in de header zichtbaar worden.
 */

.site-header .header-inner .menu-toggle ~ .menu-toggle {
    display: none !important;
}

.menu-toggle:hover {
    background: #f3f3f3;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    background: currentColor;

    border-radius: 2px;

    transition:
        transform var(--transition),
        opacity var(--transition);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .container {
        width: min(100% - 36px, var(--container));
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav,
    .main-navigation {
        gap: 20px;
    }

    .footer-inner {
        gap: 45px;
    }

    .footer-links {
        gap: 45px;
    }

    .project-detail-grid {
        gap: 45px;
    }

    .hero {
        padding: 105px 0 95px;
    }

    .hero h1 {
        max-width: 760px;
    }
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 769px) {

    .main-nav {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .menu-toggle {
        display: none !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* General */

    .container {
        width: min(100% - 30px, var(--container));
    }

    section {
        padding: 68px 0;
    }


    /* Header */

    .site-header .container {
        min-height: 68px;

        gap: 15px;
    }

    .logo {
        font-size: 21px;
    }

    .main-nav,
    .main-navigation {
        display: none;
    }

    .header-inner {
        position: relative;
    }


    /*
     * De werkende hamburger staat rechts.
     * Alleen de directe knop van de header wordt zichtbaar.
     */

    .site-header .header-inner > .menu-toggle {
        display: flex;

        margin-left: auto;

        flex-shrink: 0;
    }


    /*
     * Eventuele extra hamburgerknoppen binnen de header
     * worden altijd verborgen.
     */

    .site-header .header-inner .menu-toggle ~ .menu-toggle {
        display: none !important;
    }


    /* Mobile menu */

    .main-nav {
        position: absolute;

        top: calc(100% + 1px);
        left: 0;
        right: 0;

        width: 100%;

        max-height: calc(100dvh - 68px);

        overflow-y: auto;
        overscroll-behavior: contain;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 8px 0;

        background:
            rgba(255, 255, 255, 0.98);

        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);

        box-shadow:
            0 18px 35px rgba(0, 0, 0, 0.09);

        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        z-index: 1000;
    }

    .main-nav a {
        display: flex;
        align-items: center;

        width: 100%;
        min-height: 52px;

        padding: 14px 20px;

        text-align: left;

        border-bottom: 1px solid #eeeeee;

        font-size: 15px;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:active {
        background: #fafafa;
    }

    .site-header.menu-open .main-nav {
        display: flex;
    }


    /* Hamburger → kruis */

    .site-header.menu-open .menu-toggle span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .site-header.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .menu-toggle span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /* Hero */

    .hero {
        padding: 82px 0 78px;
    }

    .hero h1 {
        max-width: 100%;

        margin-bottom: 20px;

        font-size:
            clamp(
                40px,
                11vw,
                56px
            );

        line-height: 1.04;
    }

    .hero-text {
        max-width: 100%;

        margin-bottom: 30px;

        font-size: 17px;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;

        gap: 10px;
    }

    .hero-actions .button {
        width: 100%;
    }


    /* Section headings */

    .section-heading {
        max-width: 100%;

        margin-bottom: 34px;
    }

    .section-heading h2 {
        margin-bottom: 13px;

        font-size: 30px;
        line-height: 1.16;
    }

    .section-heading > p:last-child {
        font-size: 16px;
        line-height: 1.7;
    }

    .eyebrow {
        margin-bottom: 9px;

        font-size: 12px;
        letter-spacing: 0.10em;
    }


    /* Buttons */

    .button {
        min-height: 50px;

        padding: 13px 20px;

        font-size: 15px;
    }


    /* Services */

    .service-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .service-card {
        padding: 27px;
    }

    .service-card:hover {
        transform: none;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 15px;
    }


    /* Projects */

    .project-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .project-card:hover {
        transform: none;
    }

    .project-content {
        padding: 24px;
    }

    .project-content h2,
    .project-content h3 {
        font-size: 23px;
    }

    .project-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .project-image {
        aspect-ratio: 16 / 9;
    }

    .project-card:hover .project-image img {
        transform: none;
    }

    .project-technologies {
        gap: 6px;

        margin-bottom: 20px;
    }

    .project-technologies span {
        padding: 6px 9px;

        font-size: 11px;
    }

    .section-action {
        margin-top: 32px;
    }


    /* Detail hero */

    .project-detail-hero {
        padding: 68px 0 58px;
    }

    .project-detail-hero h1 {
        max-width: 100%;

        font-size:
            clamp(
                38px,
                10vw,
                48px
            );

        line-height: 1.06;
    }

    .project-back {
        margin-bottom: 28px;

        font-size: 14px;
    }


    /* Detail image */

    .project-detail-image {
        padding: 32px 0 8px;
    }

    .project-detail-image-wrapper {
        border-radius: 16px;

        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.07);
    }


    /* Detail content */

    .project-detail-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .project-detail-main {
        max-width: 100%;
    }

    .project-detail-main h2 {
        margin-top: 36px;
        margin-bottom: 18px;

        font-size: 29px;
        line-height: 1.2;
    }

    .project-detail-main p {
        margin-bottom: 19px;

        font-size: 16px;
        line-height: 1.8;
    }


    /* Sidebar */

    .project-detail-sidebar {
        position: static;

        gap: 15px;
    }

    .project-info-box {
        padding: 24px;
    }

    .project-info-box h3 {
        font-size: 18px;
    }

    .project-info-box p {
        font-size: 15px;
    }


    /* Forms */

    .form-group {
        margin-bottom: 17px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 13px 14px;

        font-size: 16px;
    }

    .form-group textarea {
        min-height: 150px;
    }

    .form-message {
        padding: 14px 15px;

        font-size: 14px;
    }

    .form-privacy-note {
        font-size: 0.82rem;
    }


    /* CTA */

    .cta {
        padding: 68px 0;
    }

    .cta h2 {
        font-size: 31px;
        line-height: 1.16;
    }

    .cta p {
        font-size: 16px;
        line-height: 1.7;

        margin-bottom: 27px;
    }

    .cta .button {
        width: 100%;
    }


    /* Footer */

    .site-footer {
        padding: 48px 0 22px;
    }

    .footer-inner {
        flex-direction: column;

        gap: 35px;

        padding-bottom: 30px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 30px 35px;
    }

    .footer-column {
        gap: 8px;
    }

    .footer-column h3 {
        margin-bottom: 6px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        padding-top: 20px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;

        gap: 10px 20px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    /* Container */

    .container {
        width: min(100% - 24px, var(--container));
    }

    section {
        padding: 60px 0;
    }


    /* Header */

    .site-header .container {
        min-height: 64px;
    }

    .logo {
        font-size: 20px;
    }

    .site-header .header-inner > .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .menu-toggle span {
        width: 22px;
    }

    .main-nav {
        max-height: calc(100dvh - 64px);
    }

    .main-nav a {
        min-height: 50px;

        padding:
            13px 16px;
    }


    /* Hero */

    .hero {
        padding: 68px 0;
    }

    .hero h1 {
        font-size: 42px;

        letter-spacing: -0.055em;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.68;
    }

    .hero-actions {
        gap: 9px;
    }


    /* Buttons */

    .button {
        width: 100%;

        min-height: 50px;

        padding:
            13px 18px;
    }


    /* Section headings */

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading > p:last-child {
        font-size: 15px;
    }


    /* Services */

    .service-card {
        padding: 24px;
    }

    .service-card h3 {
        font-size: 20px;
    }


    /* Projects */

    .project-content {
        padding: 22px;
    }

    .project-content h2,
    .project-content h3 {
        font-size: 22px;
    }

    .project-category {
        font-size: 11px;
    }


    /* Detail pages */

    .project-detail-hero {
        padding: 60px 0 50px;
    }

    .project-detail-hero h1 {
        font-size: 38px;
    }

    .project-back {
        margin-bottom: 25px;
    }

    .project-detail-image {
        padding: 25px 0 5px;
    }

    .project-detail-image-wrapper {
        border-radius: 14px;
    }

    .project-detail-main h2 {
        font-size: 27px;
    }

    .project-detail-main p {
        font-size: 15.5px;
        line-height: 1.78;
    }

    .project-info-box {
        padding: 22px;
    }


    /* CTA */

    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 29px;
    }

    .cta p {
        font-size: 15px;
    }


    /* Footer */

    .footer-links {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .footer-bottom-links {
        flex-direction: column;

        gap: 7px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .container {
        width: min(100% - 20px, var(--container));
    }

    section {
        padding: 52px 0;
    }

    .hero {
        padding: 58px 0;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero-text {
        font-size: 15px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .service-card,
    .project-content,
    .project-info-box {
        padding: 20px;
    }

    .project-detail-hero {
        padding: 54px 0 45px;
    }

    .project-detail-hero h1 {
        font-size: 34px;
    }

    .project-detail-main h2 {
        font-size: 25px;
    }

    .cta h2 {
        font-size: 27px;
    }
}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    .button:hover,
    .service-card:hover,
    .project-card:hover {
        transform: none;
    }

    .project-card:hover .project-image img {
        transform: none;
    }

    .service-card::before {
        opacity: 0;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}