:root {
    /* Megavista Brand Colors */
    --color-primary: #00B050;
    --color-primary-dark: #009C44;
    --color-primary-light: #E6F7EE;
    --color-secondary: #1A1A1A;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #5F6368;
    --color-text-tertiary: #80868B;
    --color-background-primary: #FFFFFF;
    --color-background-secondary: #F5F5F5;
    --color-background-tertiary: #E8F4FC;
    --color-border-primary: #DADCE0;
    --color-border-secondary: #E8EAED;
    --color-dark-bg: #1A1A1A;
    --color-dark-bg-secondary: #2D2D2D;

    --border-radius-lg: 12px;
    --border-radius-md: 8px;
    --border-radius-sm: 4px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    background-color: var(--color-background-primary);
}

.contact-page-wrapper {
    background-color: var(--color-background-primary);
    min-height: 100vh;
}

/* Header / Hero - Met spiraal achtergrondafbeelding */
.contact-hero {
    background: var(--color-dark-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-lg);
    padding: 48px 32px 40px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge::before {
    content: "★";
    color: #FFB400;
}

.contact-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.seo-badge {
    display: inline-block;
    font-size: 10px;
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    padding: 2px 8px;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 6px;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-subtitle br {
    display: block;
    margin: 4px 0;
}

.cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Knoppen in Megavista stijl */
.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,176,80,0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,176,80,0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
}

/* Trust Bar */
.trust-bar {
    display: flex;
    background: var(--color-background-secondary);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.trust-item {
    flex: 1;
    padding: 20px 12px;
    text-align: center;
    border-right: 1px solid var(--color-border-secondary);
}

.trust-item:last-child {
    border-right: none;
}

.trust-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    line-height: 1.2;
}

.trust-label {
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-top: 4px;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Contact Cards */
.contact-card {
    background: var(--color-background-primary);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-primary);
    transform: translateY(-2px);
}

.contact-card.featured {
    border: 2px solid var(--color-primary);
    position: relative;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.icon-phone { background: var(--color-primary-light); }
.icon-email { background: var(--color-background-tertiary); }
.icon-visit { background: #F3E5F5; }

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.card-meta {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

.card-meta strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 10px 18px;
    border: 1.5px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    background: transparent;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.card-cta:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateX(2px);
}

.contact-card.featured .card-cta {
    background: var(--color-primary);
    color: #fff;
}

.contact-card.featured .card-cta:hover {
    background: var(--color-primary-dark);
}

/* Visit Card Full Width */
.visit-card-full {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}


.visit-card-full:hover {
    box-shadow: var(--shadow-md);
}

.visit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 240px;
}

.visit-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visit-image {
    position: relative;
    background: var(--color-background-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.visit-placeholder {
    font-size: 64px;
    opacity: 0.3;
}

/* Map Section */
.map-section {
    background: var(--color-background-primary);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.map-container {
    position: relative;
    width: 100%;
    height: 440px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 40px 24px 24px;
    color: #fff;
    pointer-events: none;
}

.map-overlay-content {
    pointer-events: auto;
}

.map-label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.map-address {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.map-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Form Section */
.form-section {
    background: var(--color-background-primary);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.form-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-section label {
    font-size: 13px;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.form-section input, .form-section textarea, .form-section select {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-text-primary);
    background: var(--color-background-primary);
    border: 1.5px solid var(--color-border-primary);
    border-radius: var(--border-radius-md);
    padding: 12px 14px;
    width: 100%;
    transition: all 0.2s ease;
}

.form-section input:focus, .form-section textarea:focus, .form-section select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-background-primary);
    box-shadow: 0 0 0 4px rgba(0,176,80,0.1);
}

.form-section textarea {
    resize: vertical;
    min-height: 120px;
}

.form-section select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235F6368' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.submit-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-secondary);
}

.privacy-note {
    font-size: 12px;
    color: var(--color-text-tertiary);
    max-width: 320px;
    line-height: 1.6;
}

.privacy-note a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.privacy-note a:hover {
    text-decoration: underline;
}

.btn-submit {
    background: var(--color-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,176,80,0.3);
}

.btn-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,176,80,0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.info-block {
    background: var(--color-background-primary);
    border-radius: var(--border-radius-md);
    padding: 20px;
    border: 1px solid var(--color-border-secondary);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.info-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.info-block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.info-block-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.info-icon-location { background: var(--color-primary-light); }
.info-icon-time { background: var(--color-background-tertiary); }
.info-icon-company { background: #F3E5F5; }

.info-block-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.info-block p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.9;
}

.info-block p strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background: var(--color-background-secondary);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.faq-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.faq-item {
    border-top: 1px solid var(--color-border-secondary);
    padding: 18px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-item:first-child {
    border-top: none;
    padding-top: 12px;
}

.faq-item:hover {
    background: var(--color-background-primary);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: var(--border-radius-md);
}

.faq-q {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-background-primary);
    font-size: 12px;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.faq-q.open .faq-arrow {
    transform: rotate(180deg);
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.faq-a {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-top: 12px;
    display: none;
    padding-right: 40px;
}

.faq-a.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bottom CTA */
.bottom-cta {
    background: var(--color-primary);
    border-radius: var(--border-radius-lg);
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.bottom-cta h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.bottom-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.bottom-cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-white {
    background: #fff;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    background: #f8f9fa;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    border: 1.5px solid rgba(255,255,255,0.6);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        padding: 16px 12px;
    }

    .contact-hero {
        padding: 36px 24px;
    }

    .contact-hero h1 {
        font-size: 26px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .visit-content {
        grid-template-columns: 1fr;
    }

    .visit-image {
        min-height: 200px;
        order: -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .trust-bar {
        flex-wrap: wrap;
    }

    .trust-item {
        flex: 1 0 50%;
        padding: 16px 8px;
        border-right: none;
        border-bottom: 1px solid var(--color-border-secondary);
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid var(--color-border-secondary);
    }

    .trust-item:nth-child(3), .trust-item:nth-child(4) {
        border-bottom: none;
    }

    .map-container {
        height: 360px;
    }

    .submit-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .privacy-note {
        max-width: 100%;
        text-align: center;
        order: 1;
    }

    .btn-submit {
        width: 100%;
        order: 0;
    }

    .bottom-cta h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .trust-item {
        flex: 1 0 100%;
        border-right: none !important;
    }

    .trust-item:nth-child(3) {
        border-bottom: 1px solid var(--color-border-secondary);
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    .map-container {
        height: 320px;
    }

    .map-overlay {
        padding: 30px 16px 16px;
    }

    .bottom-cta {
        padding: 36px 24px;
    }

    .bottom-cta h2 {
        font-size: 22px;
    }
}

.btn-success {
    background: var(--color-primary-dark) !important;
    pointer-events: none;
}
