﻿/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Gallery modal and dashboard */
@media (max-width: 768px) {
    .gallery-modal {
        padding: 58px 14px;
    }

    .gallery-modal-nav {
        top: auto;
        bottom: 18px;
        transform: none;
    }
}

.dashboard-page {
    background: #f3f6fb;
    color: #081225;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}

.dashboard-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 30px 24px;
    background: #081225;
    color: #ffffff;
}

.dashboard-sidebar .logo {
    display: inline-block;
    margin-bottom: 34px;
}

.dashboard-nav {
    display: grid;
    gap: 10px;
}

.dashboard-nav a {
    padding: 12px 14px;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;
}

.dashboard-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dashboard-main {
    padding: 42px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.dashboard-header h1 {
    font-size: 40px;
    margin: 14px 0 10px;
}

.dashboard-header p {
    max-width: 680px;
    color: #475569;
    line-height: 1.7;
}

.dashboard-preview,
.dashboard-save,
.dashboard-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.dashboard-preview,
.dashboard-save {
    background: #0056b3;
    color: #ffffff;
}

.dashboard-reset {
    background: #e2e8f0;
    color: #0f172a;
}

.dashboard-form {
    display: grid;
    gap: 22px;
}

.dashboard-panel {
    padding: 24px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.dashboard-panel h2 {
    margin-bottom: 18px;
    font-size: 22px;
}

.dashboard-panel label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: #334155;
    font-weight: 800;
}

.dashboard-panel input,
.dashboard-panel textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    color: #0f172a;
    font: inherit;
}

.dashboard-grid-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

@media (max-width: 860px) {
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        height: auto;
    }

    .dashboard-main {
        padding: 26px 18px;
    }

    .dashboard-header {
        flex-direction: column;
    }

    .dashboard-grid-fields {
        grid-template-columns: 1fr;
    }
}

body {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    background-color: #0f172a; /* Deep navy background for dark sections */
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 10;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav a:hover, .nav a.active {
    color: #60a5fa;
}

.btn-quote {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-quote:hover {
    background-color: #004494;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: #0f172a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slides .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slides .slide.active {
    opacity: 1;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px 20px;
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Pill-shaped progress bars */
.dot {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dot::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0%;
    background-color: #fff;
    border-radius: 4px;
    transition: width 0s;
}

.dot.active {
    background-color: rgba(255, 255, 255, 0.2);
    width: 48px;
}

.dot.active::after {
    width: 100%;
    transition: width 5s linear;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Arrow buttons */
.slider-arrow {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    padding: 0;
}

.slider-arrow:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Divider between arrows and dots */
.slider-controls .divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.subtitle {
    font-size: 14px;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.highlight {
    color: #3b82f6;
}

.description {
    font-size: 18px;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: #0056b3;
    color: white;
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-2px);
}

/* Lees meer button in About section */
.btn-lees-meer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    background: #f59e0b;
    padding: 14px 28px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.28);
    letter-spacing: 0.3px;
}

.btn-lees-meer .arrow {
    font-size: 18px;
    transition: transform 0.3s;
}

.btn-lees-meer:hover {
    background: #fbbf24;
    box-shadow: 0 18px 36px rgba(245, 158, 11, 0.34);
    transform: translateY(-2px);
}

.btn-lees-meer:hover .arrow {
    transform: translateX(5px);
}

/* Hero Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    opacity: 0; /* Starts hidden */
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content .subtitle {
    animation-delay: 0.2s;
}

.hero-content h1 {
    animation-delay: 0.4s;
}

.hero-content .description {
    animation-delay: 0.6s;
}

.hero-content .hero-actions {
    animation-delay: 0.8s;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: white;
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 200px;
}

/* Typography Utilities */
.section-label {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.link-arrow:hover {
    opacity: 0.7;
}

.link-arrow .arrow {
    margin-left: 8px;
    font-size: 18px;
    transition: transform 0.3s;
}

.link-arrow:hover .arrow {
    transform: translateX(4px);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for collage columns */
.collage-col.reveal { transition-delay: 0.1s; }
.collage-col:nth-child(2).reveal { transition-delay: 0.3s; }
.collage-col:nth-child(3).reveal { transition-delay: 0.5s; }

/* About Section (Dark) */
.about-section {
    padding: 120px 0;
    background-color: #0f172a;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-content {
    flex: 1;
    max-width: 500px;
}

.about-content h2 {
    font-size: 42px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -1px;
}

.about-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.about-collage {
    flex: 1.2;
    display: flex;
    gap: 20px;
    align-items: center;
}

.collage-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.col-1 { margin-top: -40px; }
.col-2 { margin-top: 40px; }
.col-3 { margin-top: -80px; }

.collage-item {
    background-color: #1e293b;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.icon-pie { width: 140px; height: 140px; }
.icon-blue { width: 140px; height: 180px; }
.img-leaf { width: 200px; height: 260px; }
.img-creative { width: 200px; height: 220px; }
.img-laptop { width: 200px; height: 300px; }

/* Works Section (Light) */
.works-section {
    padding: 100px 0 120px;
    background-color: #f8fafc;
}

.works-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.works-header .section-label {
    color: #0f172a;
    border-color: #cbd5e1;
}

.works-header h2 {
    font-size: 36px;
    color: #0f172a;
    font-weight: 700;
    margin-top: 15px;
}

.works-header .link-arrow {
    color: #0f172a;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 24px;
}

.work-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.work-card.large {
    grid-column: span 2;
}

.work-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
    opacity: 0.9;
    transition: opacity 0.3s;
}

.work-card:hover .work-img {
    transform: scale(1.03);
}

.work-card:hover .work-overlay {
    opacity: 0.7;
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.work-info h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.work-info p {
    color: #94a3b8;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Before / After Section */
.before-after-section {
    padding: 100px 0 120px;
    background: #0b1220;
    color: #e5e7eb;
}

.before-after-section .container {
    display: block;
}

.before-after-section .wrap {
    display: block;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.before-after-intro {
    margin-bottom: 26px;
}

.before-after-header {
    margin-bottom: 40px;
}

.before-after-header h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-top: 15px;
}

.before-after-header .link-arrow {
    color: #ffffff;
}

.before-after-intro .section-label {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.3);
}

.before-after-intro h2 {
    font-size: 40px;
    margin-bottom: 0;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -1px;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.before-after-section .compare {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #334155;
    cursor: ew-resize;
    user-select: none;
    background: #0f172a;
}

.before-after-section .panel {
    position: absolute;
    inset: 0;
}

.before-after-section .after {
    background: url('../assets/images/site/after-47.jpeg') center/cover no-repeat;
}

.before-after-section .before {
    background: url('../assets/images/site/before-37.jpeg') center/cover no-repeat;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.before-after-section .compare-two .after {
    background: url('../assets/images/site/after-44.jpeg') center/cover no-repeat;
}

.before-after-section .compare-two .before {
    background: url('../assets/images/site/before-33.jpeg') center/cover no-repeat;
}

.before-after-section .divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    background: #fff;
    pointer-events: none;
}

.before-after-section .divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.before-after-section .divider::after {
    content: "\2194";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #0f172a;
    z-index: 2;
}

.before-after-section .slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
}

.before-after-section .label {
    position: absolute;
    top: 12px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.before-after-section .label-before {
    left: 12px;
}

.before-after-section .label-after {
    right: 12px;
}

/* Handyman Services Section (White) */
.handyman-services {
    padding: 100px 0;
    background-color: #ffffff;
}

.text-center {
    text-align: center;
}

.dark-label {
    color: #0f172a;
    border-color: #cbd5e1;
}

.services-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.services-header p {
    font-size: 16px;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.services-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .services-grid-8 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-box {
    background-color: #ffffff;
    padding: 35px 25px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #0056b3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-box.highlight-box {
    background-color: #f8fafc;
    border-top: 4px solid #f59e0b; /* Orange accent */
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f1f5f9;
    color: #0056b3;
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-box.highlight-box .service-icon {
    background-color: #fef3c7;
    color: #d97706;
}

.service-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 12px;
}

.service-box p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.box-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    font-weight: 600;
    font-size: 14px;
    color: #d97706;
    text-decoration: none;
}

.box-link span {
    margin-left: 5px;
    transition: transform 0.2s;
}

.box-link:hover span {
    transform: translateX(4px);
}

/* CTA Section */
.cta-section {
    background-color: #0f172a;
    padding: 80px 0;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0056b3;
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.cta-content h2 {
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    color: #bfdbfe;
    font-size: 16px;
    max-width: 500px;
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #0056b3;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-phone:hover {
    background-color: #f1f5f9;
    transform: scale(1.05);
}

/* --- Inner Pages (Portfolio & Details) --- */
.solid-header {
    background-color: #0f172a;
    position: relative;
    padding: 20px 0;
}

.page-content {
    background-color: #f8fafc;
    min-height: 100vh;
}

.page-header {
    background-color: #0f172a;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.page-header p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Filters */
.portfolio-page-section {
    padding: 80px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    display: block;
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.port-img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
}

.portfolio-item:hover .port-img {
    transform: scale(1.05);
}

.port-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: opacity 0.3s;
}

.port-text h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.port-text span {
    color: #60a5fa;
    font-size: 14px;
    font-weight: 600;
}

/* Project Detail Gallery */
.detail-header {
    text-align: left;
    padding: 60px 0 80px;
}

.detail-header h1 {
    font-size: 42px;
}

.back-link {
    display: inline-block;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 15px;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.8;
}

.gallery-section {
    padding: 60px 0 100px;
}

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.gallery-trigger:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 4px;
}

.gallery-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    display: block;
    transition: transform 0.35s ease;
}

.gallery-trigger:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-trigger:first-child {
    grid-column: span 2;
}

.gallery-trigger:first-child .gallery-img {
    height: 600px;
}

.modal-open {
    overflow: hidden;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 36px 76px;
    background: rgba(3, 7, 18, 0.9);
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-modal-img {
    max-width: min(1100px, 100%);
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
}

.gallery-modal-close,
.gallery-modal-nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #081225;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.gallery-modal-close {
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
}

.gallery-modal-nav {
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    font-size: 22px;
}

.gallery-modal-prev {
    left: 22px;
}

.gallery-modal-next {
    right: 22px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 60px;
    }
    
    .description {
        margin: 0 auto 40px;
    }
    
    .hero-image img {
        transform: none;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .work-card.large {
        grid-column: span 1;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
    }

    .before-after-intro h2 {
        font-size: 30px;
    }
    
    .services-grid-8 {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* Icons Section */
.icons-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.icon-box {
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
}

.icon-box .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.icon-box p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* Simple Icons Section */
.icons-section-simple {
    padding: 60px 0;
    background-color: #f8fafc;
}

.icons-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.simple-icon-box {
    flex: 1;
    max-width: 300px;
    padding: 30px 25px;
    text-align: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.simple-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.simple-icon {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: none;
    border-radius: 0;
}

.simple-icon svg {
    width: 90px;
    height: 75px;
}

.simple-icon-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.simple-icon-box p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .icons-row {
        flex-direction: column;
        align-items: center;
    }
    
    .simple-icon-box {
        max-width: 100%;
    }
}

/* Final mobile navigation override */
@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        background: rgba(8, 18, 37, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 0;
        z-index: 50;
    }

    .header .container {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        justify-content: initial;
        gap: 12px;
        text-align: left;
    }

    .header .logo {
        width: auto;
        justify-self: start;
        font-size: 24px;
        line-height: 1;
    }

    .menu-toggle {
        width: 46px;
        height: 42px;
        display: inline-flex;
        justify-self: end;
        transform: translateY(-3px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 19px;
        height: 2px;
        display: block;
        background: currentColor;
        border-radius: 999px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

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

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

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

    .header .nav {
        grid-column: 1 / -1;
        order: initial;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.28s ease, opacity 0.2s ease;
    }

    .header.menu-open .nav {
        max-height: 360px;
        opacity: 1;
    }

    .header .nav ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 0 4px;
    }

    .header .nav a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        color: #e2e8f0;
        font-size: 15px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
    }

    .header .nav a:hover,
    .header .nav a.active {
        color: #ffffff;
        background: rgba(0, 86, 179, 0.9);
        border-color: rgba(96, 165, 250, 0.65);
    }

    .header .btn-quote {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
        justify-content: center;
        min-height: 46px;
        border-radius: 8px;
    }

    .header.menu-open .btn-quote {
        display: inline-flex;
    }

    .hero-section {
        min-height: calc(100svh - 70px);
    }

    .slider-controls {
        bottom: 70px;
    }
}

/* Right slide mobile menu */
@media (max-width: 768px) {
    body.menu-is-open {
        overflow: hidden;
    }

    .header::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.62);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease;
        z-index: 55;
    }

    .header.menu-open::before {
        opacity: 1;
        pointer-events: auto;
    }

    .header .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(84vw, 340px);
        max-height: none;
        height: 100svh;
        padding: 92px 18px 120px;
        background:
            linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(8, 18, 37, 0.98)),
            radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.28), transparent 34%);
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: -24px 0 55px rgba(0, 0, 0, 0.38);
        transform: translateX(104%);
        opacity: 1;
        overflow-y: auto;
        transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 60;
    }

    .header.menu-open .nav {
        max-height: none;
        transform: translateX(0);
        opacity: 1;
    }

    .header .nav::before {
        content: "Menu";
        display: block;
        color: #ffffff;
        font-size: 28px;
        line-height: 1;
        font-weight: 800;
        margin-bottom: 26px;
    }

    .header .nav ul {
        gap: 12px;
        padding: 0;
    }

    .header .nav li {
        opacity: 0;
        transform: translateX(22px);
        transition: opacity 0.22s ease, transform 0.28s ease;
    }

    .header.menu-open .nav li {
        opacity: 1;
        transform: translateX(0);
    }

    .header.menu-open .nav li:nth-child(1) { transition-delay: 0.08s; }
    .header.menu-open .nav li:nth-child(2) { transition-delay: 0.12s; }
    .header.menu-open .nav li:nth-child(3) { transition-delay: 0.16s; }
    .header.menu-open .nav li:nth-child(4) { transition-delay: 0.20s; }
    .header.menu-open .nav li:nth-child(5) { transition-delay: 0.24s; }

    .header .nav a {
        min-height: 52px;
        padding: 0 16px;
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.1);
        font-size: 16px;
        font-weight: 700;
    }

    .header .btn-quote {
        position: fixed;
        right: 18px;
        bottom: 22px;
        width: calc(min(84vw, 340px) - 36px);
        z-index: 61;
        opacity: 0;
        transform: translateX(24px);
        pointer-events: none;
        transition: opacity 0.24s ease 0.24s, transform 0.32s ease 0.24s;
    }

    .header.menu-open .btn-quote {
        display: inline-flex;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    .header.menu-open .menu-toggle {
        position: relative;
        z-index: 70;
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.26);
    }
}

/* Final stats mobile layout */
@media (max-width: 768px) {
    .stats-section .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .stats-section .stat-item {
        max-width: none;
        width: 100%;
        min-height: 128px;
        margin: 0;
    }
}

@media (max-width: 360px) {
    .stats-section .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Service card accent palette */
.services-grid-8 .service-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--service-bg, #f8fafc) 100%);
    border-top-color: var(--service-color, #0056b3);
    border-color: #e2e8f0;
    border-color: color-mix(in srgb, var(--service-color, #0056b3) 20%, #e2e8f0);
}

.services-grid-8 .service-box::before {
    content: "";
    position: absolute;
    top: -42px;
    right: -42px;
    width: 110px;
    height: 110px;
    background: var(--service-color, #0056b3);
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}

.services-grid-8 .service-icon {
    background: var(--service-icon-bg, #f1f5f9);
    color: var(--service-color, #0056b3);
}

.services-grid-8 .service-box:nth-child(1) {
    --service-color: #2563eb;
    --service-bg: #eff6ff;
    --service-icon-bg: #dbeafe;
}

.services-grid-8 .service-box:nth-child(2) {
    --service-color: #0f766e;
    --service-bg: #ecfdf5;
    --service-icon-bg: #ccfbf1;
}

.services-grid-8 .service-box:nth-child(3) {
    --service-color: #7c3aed;
    --service-bg: #f5f3ff;
    --service-icon-bg: #ede9fe;
}

.services-grid-8 .service-box:nth-child(4) {
    --service-color: #0369a1;
    --service-bg: #f0f9ff;
    --service-icon-bg: #e0f2fe;
}

.services-grid-8 .service-box:nth-child(5) {
    --service-color: #0891b2;
    --service-bg: #ecfeff;
    --service-icon-bg: #cffafe;
}

.services-grid-8 .service-box:nth-child(6) {
    --service-color: #b45309;
    --service-bg: #fffbeb;
    --service-icon-bg: #fef3c7;
}

.services-grid-8 .service-box:nth-child(7) {
    --service-color: #475569;
    --service-bg: #f8fafc;
    --service-icon-bg: #e2e8f0;
}

.services-grid-8 .service-box:nth-child(8) {
    --service-color: #f59e0b;
    --service-bg: #fff7ed;
    --service-icon-bg: #ffedd5;
}

/* Responsive stats strip */
@media (max-width: 768px) {
    .stats-section {
        padding: 34px 0;
        background: linear-gradient(135deg, #061329 0%, #0056b3 58%, #082044 100%);
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: none;
        min-height: 132px;
        margin: 0;
        padding: 18px 10px;
        text-align: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 8px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
        font-size: 12px;
        border-width: 1.5px;
    }

    .stat-item strong {
        font-size: 30px;
        margin-bottom: 4px;
    }

    .stat-item span {
        font-size: 12px;
        line-height: 1.3;
    }
}

@media (max-width: 380px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        min-height: 108px;
    }
}

/* Professional mobile drawer and before/after color polish */
.mobile-nav-cta {
    display: none;
}

@media (max-width: 768px) {
    .header::before {
        z-index: 58;
        background: rgba(2, 6, 23, 0.72);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .header .nav {
        width: min(82vw, 330px);
        padding: 96px 18px 26px;
        background:
            linear-gradient(180deg, rgba(11, 18, 32, 0.98) 0%, rgba(7, 18, 37, 0.99) 100%);
        border-left: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: -28px 0 60px rgba(0, 0, 0, 0.46);
        z-index: 60;
        visibility: hidden;
        pointer-events: none;
        display: none;
    }

    .header .nav::before {
        content: "Navigatie";
        margin-bottom: 18px;
        padding-bottom: 16px;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 24px;
        letter-spacing: 0;
    }

    .header .nav ul {
        gap: 10px;
    }

    .header .nav a {
        min-height: 50px;
        background: rgba(255, 255, 255, 0.055);
        border-color: rgba(255, 255, 255, 0.11);
        border-radius: 8px;
    }

    .header .nav a.active,
    .header .nav a:hover {
        background: #0056b3;
        border-color: #3b82f6;
    }

    .mobile-nav-cta {
        display: block;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header .mobile-nav-cta a {
        justify-content: center;
        background: #ffffff;
        color: #0056b3;
        border-color: #ffffff;
        font-weight: 800;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    }

    .header .mobile-nav-cta a:hover {
        background: #e0ecff;
        border-color: #e0ecff;
        color: #0056b3;
    }

    .header .btn-quote,
    .header.menu-open .btn-quote {
        display: none !important;
    }

    .header.menu-open .nav {
        display: block;
        visibility: visible;
        pointer-events: auto;
    }

    .header.menu-open .menu-toggle {
        transform: translateY(-3px);
    }
}

.before-after-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(59, 130, 246, 0.18), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(245, 158, 11, 0.12), transparent 24%),
        linear-gradient(135deg, #081225 0%, #0f2f5f 52%, #071225 100%);
    color: #0f172a;
}

.before-after-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
    pointer-events: none;
}

.before-after-section .container {
    position: relative;
    z-index: 1;
}

.before-after-section .section-label {
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(191, 219, 254, 0.32);
}

.before-after-section .before-after-header h2,
.before-after-section .works-header h2 {
    color: #ffffff;
}

.before-after-section .link-arrow {
    color: #dbeafe;
}

.before-after-section .compare {
    aspect-ratio: 1 / 1;
    min-height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

.before-after-section .reveal {
    opacity: 1;
    transform: none;
}

@media (max-width: 768px) {
    .before-after-section {
        padding-block: 58px;
    }

    .before-after-section .works-header {
        align-items: center;
        text-align: center;
    }

    .before-after-section .compare {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }
}

/* Mobile menu */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        background: rgba(8, 18, 37, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 50;
    }

    .header .container {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        justify-content: initial;
        gap: 12px;
        text-align: left;
    }

    .logo {
        width: auto;
        font-size: 24px;
    }

    .menu-toggle {
        width: 46px;
        height: 42px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 19px;
        height: 2px;
        display: block;
        background: currentColor;
        border-radius: 999px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

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

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

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

    .nav {
        grid-column: 1 / -1;
        order: initial;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.28s ease, opacity 0.2s ease;
    }

    .header.menu-open .nav {
        max-height: 360px;
        opacity: 1;
    }

    .nav ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 0 4px;
    }

    .nav a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        color: #e2e8f0;
        font-size: 15px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
    }

    .nav a:hover,
    .nav a.active {
        color: #ffffff;
        background: rgba(0, 86, 179, 0.9);
        border-color: rgba(96, 165, 250, 0.65);
    }

    .btn-quote {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
        justify-content: center;
        min-height: 46px;
        border-radius: 8px;
    }

    .header.menu-open .btn-quote {
        display: inline-flex;
    }

    .hero-section {
        min-height: calc(100svh - 74px);
    }
}

/* Homepage continuation after services */
.why-section {
    padding: 78px 0 86px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.why-header {
    margin-bottom: 38px;
}

.why-header h2 {
    color: #0f172a;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
}

.why-header h2 span {
    color: #0056b3;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.why-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
}

.why-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0056b3;
    background: #eaf2ff;
    border-radius: 50%;
}

.why-card h3 {
    color: #0f172a;
    font-size: 19px;
    line-height: 1.25;
    margin-bottom: 10px;
    font-weight: 800;
}

.why-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
}

.stats-section {
    padding: 48px 0;
    background: radial-gradient(circle at 10% 50%, rgba(0, 86, 179, 0.38), transparent 34%),
        linear-gradient(90deg, #061329 0%, #0056b3 52%, #08172f 100%);
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.stat-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: center;
    min-width: 0;
}

.stat-icon {
    grid-row: span 2;
    width: 66px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dbeafe;
    border: 2px solid rgba(96, 165, 250, 0.85);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
}

.stat-item strong {
    display: block;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.stat-item span {
    color: #dbeafe;
    font-size: 14px;
    font-weight: 600;
}

/* ── Final CTA Section ── */
.final-cta-section {
    background: #071225;
    padding: 0;
}

.final-cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 0;
    overflow: hidden;
    min-height: 280px;
    width: 100%;
    margin-left: 0;
}

/* Left blue panel */
.final-cta-left {
    background: #0056b3;
    display: flex;
    align-items: center;
    padding: 44px 44px 44px 56px;
}

.final-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 360px;
    margin-left: 280px;
}

.final-cta-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #bfdbfe;
    border: 1px solid rgba(191, 219, 254, 0.45);
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 20px;
    width: fit-content;
}

.final-cta-left h2 {
    font-size: clamp(21px, 2.4vw, 30px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.final-cta-left p {
    font-size: 14px;
    color: #bfdbfe;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 400px;
}

.final-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.final-cta-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #ffffff;
    color: #0056b3;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.final-cta-btn-phone:hover {
    background: #e0ecff;
    border-color: #e0ecff;
    transform: translateY(-2px);
}

.final-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f59e0b;
    border: 1.5px solid #f59e0b;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.28);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.final-cta-btn-outline:hover {
    background: #fbbf24;
    border-color: #fbbf24;
    transform: translateY(-2px);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: currentColor;
}

.social-whatsapp svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

/* Right image panel */
.final-cta-right {
    background: url('../assets/images/site/kitchen.webp') center / cover no-repeat;
    min-height: 260px;
    position: relative;
}

.final-cta-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0056b3 0%, rgba(0, 86, 179, 0.45) 25%, transparent 60%);
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .final-cta-section {
        padding: 0;
    }

    .final-cta-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .final-cta-right {
        display: block;
        min-height: 160px;
    }

    .final-cta-right::before {
        display: block;
        background: linear-gradient(to top, rgba(0, 86, 179, 0.4) 0%, rgba(0, 86, 179, 0.12) 40%, transparent 100%);
    }

    .final-cta-left {
        justify-content: center;
        padding: 28px 18px;
        width: 100%;
        box-shadow: none;
    }

    .final-cta-inner {
        padding: 0;
        text-align: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .final-cta-inner p {
        margin-inline: auto;
        margin-bottom: 14px;
    }

    .final-cta-actions {
        justify-content: center;
        width: 100%;
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .final-cta-btn-phone,
    .final-cta-btn-outline {
        width: 100%;
        justify-content: center;
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .final-cta-left h2 {
        font-size: 22px;
        line-height: 1.15;
    }

    .final-cta-left p {
        font-size: 14px;
        line-height: 1.4;
    }

    .final-cta-btn-phone,
    .final-cta-btn-outline {
        font-size: 12px;
        padding: 8px 12px;
    }
}

.site-footer {
    background: #081225;
    color: #cbd5e1;
    padding: 70px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(145px, 1fr));
    gap: 42px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p,
.footer-offer p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    font-weight: 800;
}

.social-links .social-whatsapp {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.social-links .social-whatsapp svg {
    width: 17px;
    height: 17px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 800;
}

.footer-col a,
.footer-col span {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.footer-col a:hover {
    color: #60a5fa;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    margin-top: 12px;
    padding: 11px 20px;
    background: #f59e0b;
    border: 1.5px solid #f59e0b;
    color: #0f172a !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.28);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.footer-btn:hover {
    background: #fbbf24;
    border-color: #fbbf24;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 54px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom a {
    color: #94a3b8;
    font-size: 13px;
    text-decoration: none;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50%;
    background: #25d366;
    color: #052e16;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(3, 7, 18, 0.22), 0 10px 24px rgba(37, 211, 102, 0.28);
    transition: transform 0.25s, background 0.25s;
}

.whatsapp-float svg {
    width: 31px;
    height: 31px;
}

.whatsapp-float:hover {
    background: #22c55e;
    transform: translateY(-2px);
}

.footer-bottom div {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

@media (max-width: 1050px) {
    .why-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .why-section {
        padding: 62px 0 68px;
    }

    .why-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 26px;
    }

    .stats-section {
        padding: 38px 0;
    }

    .stat-item {
        grid-template-columns: auto 1fr;
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }

    .final-cta-content p {
        margin-inline: auto;
    }

    .final-cta-actions {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .site-footer {
        padding-top: 52px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .why-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-icon {
        margin: 0 auto;
    }

    .final-cta-actions .btn-primary,
    .final-cta-actions .btn-secondary,
    .footer-btn {
        width: 100%;
    }

    .footer-bottom,
    .footer-bottom div {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/* Full responsive polish */
html {
    width: 100%;
    scroll-behavior: smooth;
}

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

body {
    min-width: 320px;
}

.container {
    width: min(100%, 1280px);
    padding-inline: clamp(16px, 4vw, 40px);
}

.hero-content h1,
.about-content h2,
.works-header h2,
.before-after-intro h2,
.services-header h2,
.cta-content h2,
.page-header h1 {
    overflow-wrap: anywhere;
}

.hero-content h1 {
    font-size: clamp(42px, 8vw, 72px);
}

.about-content h2,
.services-header h2 {
    font-size: clamp(30px, 5vw, 42px);
}

.works-header h2,
.before-after-intro h2,
.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
}

.page-header h1 {
    font-size: clamp(34px, 6vw, 48px);
}

.detail-header h1 {
    font-size: clamp(30px, 5vw, 42px);
}

.portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.masonry-gallery {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.gallery-img,
.gallery-img:first-child {
    grid-column: auto;
    height: auto;
    aspect-ratio: 4 / 3;
}

@media (max-width: 1100px) {
    .header {
        padding: 22px 0;
    }

    .header .container {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .nav {
        order: 3;
        width: 100%;
    }

    .nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 22px;
    }

    .hero-section {
        padding-top: 150px;
    }

    .about-container {
        gap: 56px;
    }

    .about-collage {
        justify-content: center;
        width: 100%;
    }

    .works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-card.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .header {
        position: relative;
        background-color: #0f172a;
        padding: 16px 0;
    }

    .header .container {
        justify-content: center;
        text-align: center;
    }

    .logo {
        width: 100%;
    }

    .nav ul {
        gap: 8px 14px;
    }

    .nav a {
        font-size: 14px;
    }

    .btn-quote {
        padding: 10px 18px;
    }

    .hero-section {
        min-height: calc(100svh - 120px);
        padding: 64px 0 150px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-phone {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .slider-controls {
        bottom: 40px;
        gap: 12px;
        padding: 8px 12px;
    }

    .dot {
        width: 22px;
    }

    .dot.active {
        width: 36px;
    }

    .wave-divider svg {
        height: 110px;
    }

    .about-section,
    .works-section,
    .before-after-section,
    .handyman-services,
    .portfolio-page-section {
        padding-block: 64px;
    }

    .about-container {
        text-align: center;
        gap: 40px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-collage {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        align-items: center;
    }

    .collage-col {
        gap: 12px;
    }

    .col-1,
    .col-2,
    .col-3 {
        margin-top: 0;
    }

    .icon-pie,
    .icon-blue,
    .img-leaf,
    .img-creative,
    .img-laptop {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .icon-pie {
        aspect-ratio: 1;
    }

    .works-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 34px;
    }

    .works-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .work-card,
    .portfolio-item {
        min-height: 280px;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .work-card.large {
        grid-column: auto;
    }

    .work-info,
    .port-overlay {
        padding: 22px;
    }

    .before-after-section .compare {
        aspect-ratio: 3 / 4;
        min-height: 0;
    }

    .services-header p {
        margin-bottom: 36px;
    }

    .services-grid-8 {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 56px 0;
    }

    .cta-container {
        padding: 34px 22px;
    }

    .page-header,
    .detail-header {
        padding: 56px 0 46px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .subtitle {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    .description,
    .page-header p {
        font-size: 16px;
    }

    .nav ul {
        gap: 8px 10px;
    }

    .btn-quote {
        width: 100%;
        justify-content: center;
    }

    .hero-section {
        padding-bottom: 130px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-phone {
        padding: 14px 18px;
        font-size: 15px;
    }

    .btn-phone {
        font-size: 17px;
    }

    .about-collage {
        grid-template-columns: 1fr 1fr;
    }

    .col-3 {
        grid-column: 1 / -1;
    }

    .img-laptop {
        aspect-ratio: 16 / 10;
    }

    .filter-btn {
        flex: 1 1 calc(50% - 8px);
        padding-inline: 12px;
    }

    .gallery-section {
        padding: 42px 0 64px;
    }
}

/* Stable overrides and utilities */
.is-hidden {
    display: none !important;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

.icons-section-simple {
    padding: 60px 0;
    background-color: #f8fafc;
}

.icons-section-simple .icons-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.icons-section-simple .simple-icon-box {
    flex: 1;
    max-width: 340px;
    padding: 40px 30px;
    text-align: center;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.icons-section-simple .simple-icon-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.15);
    border-color: rgba(0, 86, 179, 0.3);
}

.icons-section-simple .simple-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 999px;
    background: #e0ecff;
    color: #0056b3;
    font-size: 28px;
    font-weight: 800;
}

.icons-section-simple .simple-icon-box h4 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.icons-section-simple .simple-icon-box p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

.icons-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.simple-icon-box {
    flex: 1;
    max-width: 300px;
    padding: 30px 25px;
    text-align: center;
    border-radius: 12px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.simple-icon-box:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.simple-icon-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.simple-icon-box p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

.icons-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.simple-icon-box {
    flex: 1;
    max-width: 340px;
    padding: 40px 30px;
    text-align: center;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.simple-icon-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.15);
    border-color: rgba(0, 86, 179, 0.3);
}

.simple-icon {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: none;
    border-radius: 0;
}

.simple-icon svg {
    width: 90px;
    height: 75px;
}

.simple-icon-box h4 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.simple-icon-box p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .icons-row {
        flex-direction: column;
        align-items: center;
    }
    
    .simple-icon-box {
        max-width: 100%;
    }
}

/* True final mobile navigation override */
@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        background: rgba(8, 18, 37, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 0;
        z-index: 50;
    }

    .header .container {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        justify-content: initial;
        gap: 12px;
        text-align: left;
    }

    .header .logo {
        width: auto;
        justify-self: start;
        font-size: 24px;
        line-height: 1;
    }

    .menu-toggle {
        width: 46px;
        height: 42px;
        display: inline-flex;
        justify-self: end;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 19px;
        height: 2px;
        display: block;
        background: currentColor;
        border-radius: 999px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

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

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

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

    .header .nav {
        grid-column: 1 / -1;
        order: initial;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.28s ease, opacity 0.2s ease;
    }

    .header.menu-open .nav {
        max-height: 360px;
        opacity: 1;
    }

    .header .nav ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 0 4px;
    }

    .header .nav a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        color: #e2e8f0;
        font-size: 15px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
    }

    .header .nav a:hover,
    .header .nav a.active {
        color: #ffffff;
        background: rgba(0, 86, 179, 0.9);
        border-color: rgba(96, 165, 250, 0.65);
    }

    .header .btn-quote {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
        justify-content: center;
        min-height: 46px;
        border-radius: 8px;
    }

    .header.menu-open .btn-quote {
        display: inline-flex;
    }

    .hero-section {
        min-height: calc(100svh - 70px);
    }
}

/* Final right-slide drawer wins over earlier mobile overrides */
@media (max-width: 768px) {
    body.menu-is-open {
        overflow: hidden;
    }

    .header::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.62);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease;
        z-index: 55;
    }

    .header.menu-open::before {
        opacity: 1;
        pointer-events: auto;
    }

    .header .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        grid-column: auto;
        width: min(84vw, 340px);
        max-height: none;
        height: 100svh;
        padding: 92px 18px 120px;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(8, 18, 37, 0.98));
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: -24px 0 55px rgba(0, 0, 0, 0.38);
        transform: translateX(104%);
        opacity: 1;
        overflow-y: auto;
        transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 60;
    }

    .header.menu-open .nav {
        max-height: none;
        transform: translateX(0);
        opacity: 1;
    }

    .header .nav::before {
        content: "Menu";
        display: block;
        color: #ffffff;
        font-size: 28px;
        line-height: 1;
        font-weight: 800;
        margin-bottom: 26px;
    }

    .header .nav ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }

    .header .nav li {
        opacity: 0;
        transform: translateX(22px);
        transition: opacity 0.22s ease, transform 0.28s ease;
    }

    .header.menu-open .nav li {
        opacity: 1;
        transform: translateX(0);
    }

    .header.menu-open .nav li:nth-child(1) { transition-delay: 0.08s; }
    .header.menu-open .nav li:nth-child(2) { transition-delay: 0.12s; }
    .header.menu-open .nav li:nth-child(3) { transition-delay: 0.16s; }
    .header.menu-open .nav li:nth-child(4) { transition-delay: 0.20s; }
    .header.menu-open .nav li:nth-child(5) { transition-delay: 0.24s; }

    .header .nav a {
        min-height: 52px;
        padding: 0 16px;
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.1);
        font-size: 16px;
        font-weight: 700;
    }

    .header .btn-quote {
        position: fixed;
        right: 18px;
        bottom: 22px;
        grid-column: auto;
        width: calc(min(84vw, 340px) - 36px);
        z-index: 61;
        opacity: 0;
        transform: translateX(24px);
        pointer-events: none;
        transition: opacity 0.24s ease 0.24s, transform 0.32s ease 0.24s;
    }

    .header.menu-open .btn-quote {
        display: inline-flex;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    .header.menu-open .menu-toggle {
        position: relative;
        z-index: 70;
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.26);
    }
}

/* Project Detail V2 - isolated overrides */
.project-detail-v2 .pdv2-hero {
  position: relative;
  min-height: 38vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0056b3;
  display: flex;
  align-items: flex-end;
}
.project-detail-v2 .pdv2-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #0056b3 0%, #0056b3 46%, rgba(0, 86, 179, 0.72) 54%, rgba(0, 86, 179, 0.22) 66%, transparent 100%);
}
.project-detail-v2 .pdv2-hero-content { position: relative; z-index: 2; color: #fff; padding: 70px 0 46px; }
.project-detail-v2 .pdv2-hero-content h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 16px 0 12px; max-width: 920px; }
.project-detail-v2 .pdv2-hero-content h1 { font-size: clamp(26px, 3.6vw, 42px); }
.project-detail-v2 .pdv2-hero-content p { max-width: 760px; color: rgba(255,255,255,.9); font-size: 1.1rem; }
.project-detail-v2 .pdv2-section { padding: 46px 0 72px; }
.project-detail-v2 .pdv2-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 34px; align-items: start; }
.project-detail-v2 .pdv2-meta-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.project-detail-v2 .pdv2-meta-item { background:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; padding:14px; }
.project-detail-v2 .pdv2-meta-item span { display:block; font-size:12px; color:#64748b; margin-bottom:6px; text-transform:uppercase; letter-spacing:.04em; }
.project-detail-v2 .pdv2-meta-item strong { color:#0f172a; font-size:16px; }
.project-detail-v2 .pdv2-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.project-detail-v2 .pdv2-gallery-grid .gallery-trigger[data-gallery-index] { grid-column:span 1 !important; grid-row:span 1 !important; height:240px; min-height:240px; border-radius:12px; overflow:hidden; }
.project-detail-v2 .pdv2-gallery-grid .gallery-img { width:100%; height:100%; object-fit:cover; }
.project-detail-v2 .pdv2-sidebar { position: sticky; top: 92px; display:flex; flex-direction:column; gap:14px; }
.project-detail-v2 .pdv2-overview-meta {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.project-detail-v2 .pdv2-overview-meta span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.project-detail-v2 .pdv2-overview-meta strong {
  color: #0f172a;
  font-size: 14px;
}
.project-detail-v2 .pdv2-sidebar .detail-aside-card {
  background: #f8fafc;
  border: 1px solid #dbe5f1;
  border-radius: 14px;
  padding: 22px;
}
.project-detail-v2 .pdv2-sidebar .aside-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #0f172a;
  font-weight: 800;
  font-size: 15px;
}
.project-detail-v2 .pdv2-sidebar .aside-card-header span {
  font-size: 15px;
}
.project-detail-v2 .pdv2-sidebar .aside-card-header svg {
  color: #f59e0b;
  flex-shrink: 0;
}
.project-detail-v2 .pdv2-sidebar p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}
.project-detail-v2 .pdv2-sidebar .aside-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
}
.project-detail-v2 .pdv2-quote {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid #f59e0b;
  color: #334155;
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
}
.project-detail-v2 .pdv2-client-info {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.project-detail-v2 .pdv2-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.project-detail-v2 .pdv2-client-info cite {
  display: block;
  color: #0f172a;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}
.project-detail-v2 .pdv2-client-info span {
  display: block;
  color: #64748b;
  font-size: 13px;
}
.project-detail-v2 .pdv2-cta {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #f59e0b;
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #f59e0b;
}
.project-detail-v2 .pdv2-cta:hover {
  background: #d97706;
  color: #0f172a;
}
.project-detail-v2 .gallery-caption-overlay { display:none !important; }
@media (max-width:1120px){ .project-detail-v2 .pdv2-layout{ grid-template-columns:1fr; } .project-detail-v2 .pdv2-sidebar{ position:static; } }
@media (max-width:900px){ .project-detail-v2 .pdv2-meta-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px){ .project-detail-v2 .pdv2-gallery-grid{ grid-template-columns:1fr; } }
@media (max-width:900px){
  .project-detail-v2 .pdv2-hero{
    background-size: cover;
    background-position: center;
    min-height: 46vh;
  }
  .project-detail-v2 .pdv2-hero-overlay{
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.62));
  }
}

/* Home Services Redesign Override */
.services-grid-featured {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.services-grid-featured .service-box {
    position: relative;
    min-height: 320px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #dbe5ef;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: flex-end;
}

.services-grid-featured .service-box::before {
    content: none;
}

.services-grid-featured .service-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.06) 0%, rgba(2, 6, 23, 0.18) 55%, rgba(2, 6, 23, 0.36) 100%);
}

.services-grid-featured .service-box:nth-child(1) { background-image: url('../assets/images/site/kitchen.webp'); }
.services-grid-featured .service-box:nth-child(2) { background-image: url('../assets/images/site/img-3.jpg'); }
.services-grid-featured .service-box:nth-child(3) { background-image: url('../assets/images/site/img-4.jpg'); }
.services-grid-featured .service-box:nth-child(4) { background-image: url('../assets/images/site/img-5.jpg'); }

.services-grid-featured .service-icon,
.services-grid-featured .service-box p {
    display: none;
}

.services-grid-featured .service-box h3 {
    position: relative;
    z-index: 2;
    margin: 0 12px 12px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    width: calc(100% - 24px);
}

.services-inline-list {
    margin-top: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
}

.services-inline-list span {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #334155;
    letter-spacing: 0.04em;
}

.services-inline-list p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #475569;
}

@media (max-width: 980px) {
    .services-grid-featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-grid-featured {
        grid-template-columns: 1fr;
    }
}

/* Global responsive overrides (May 2026) */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.collage-item {
    border-radius: 16px;
    background-position: center;
    background-size: cover;
}

.collage-item-lg { height: 280px; }
.collage-item-sm { height: 200px; }
.collage-item-down { margin-top: 40px; }
.collage-item-up { margin-top: -40px; }

@media (max-width: 992px) {
    .container { padding: 0 24px; }
    .about-intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-intro-text { order: 2; }
    .about-intro-collage { order: 1; }
    .collage-item-lg,
    .collage-item-sm { height: 220px; }
    .collage-item-down,
    .collage-item-up { margin-top: 0; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .about-intro-section { padding: 56px 0 !important; }
    .about-intro-collage { grid-template-columns: 1fr; }
    .collage-item-lg,
    .collage-item-sm { height: 210px; }
}

/* Homepage carousel */
.home-gallery-carousel {
    background: #f8fafc;
    padding: 64px 0 48px;
}

.home-gallery-carousel .carousel-head {
    text-align: center;
    margin-bottom: 24px;
}

.home-gallery-carousel .carousel-head h2 {
    margin-top: 12px;
    font-size: clamp(30px, 4vw, 44px);
    color: #0f172a;
}

.home-gallery-carousel .carousel-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-gallery-carousel .carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    padding: 4px 2px 10px;
}

.home-gallery-carousel .carousel-track::-webkit-scrollbar {
    display: none;
}

.home-gallery-carousel .carousel-slide {
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
    background: #0b1220;
    height: 260px;
}

.home-gallery-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-gallery-carousel .carousel-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-gallery-carousel .carousel-btn:hover {
    background: #0f172a;
    color: #ffffff;
}

@media (max-width: 768px) {
    .home-gallery-carousel {
        padding: 52px 0 40px;
    }

    .home-gallery-carousel .carousel-btn {
        display: none;
    }

    .home-gallery-carousel .carousel-track {
        grid-auto-columns: 86%;
    }
}

/* Single service pages responsive repair */
@media (max-width: 980px) {
    body[data-page="diensten"] main section .container > div[style*="grid-template-columns:1fr 1fr"],
    body[data-page="diensten"] main section .container > div[style*="grid-template-columns: 1fr 1fr"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    body[data-page="diensten"] main section .container > div[style*="grid-template-columns:repeat(4,1fr)"],
    body[data-page="diensten"] main section .container > div[style*="grid-template-columns: repeat(4,1fr)"] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    body[data-page="diensten"] main section img[style*="height:480px"] {
        height: 360px !important;
    }
}

/* Sticky header and back-to-top control */
.header {
    position: sticky;
    top: 0;
    background: rgba(8, 18, 37, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 100;
    transition: padding 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.solid-header {
    position: sticky;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 89;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: #0056b3;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(3, 7, 18, 0.2), 0 10px 24px rgba(0, 86, 179, 0.26);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: currentColor;
}

.back-to-top:hover {
    background: #004494;
    transform: translateY(-2px);
}

@media (max-width: 560px) {
    .back-to-top {
        right: 18px;
        bottom: 86px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 560px) {
    body[data-page="diensten"] .page-header {
        padding: 90px 0 54px;
    }

    body[data-page="diensten"] main section[style*="padding:80px"] {
        padding: 54px 0 !important;
    }

    body[data-page="diensten"] main section .container > div[style*="grid-template-columns:repeat(4,1fr)"],
    body[data-page="diensten"] main section .container > div[style*="grid-template-columns: repeat(4,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    body[data-page="diensten"] main section img[style*="height:480px"] {
        height: 260px !important;
    }

    body[data-page="diensten"] .svc-carousel {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
