/*
Theme Name: Van Es Management
Theme URI: https://vanesmanagement.com
Author: Van Es Management
Author URI: https://vanesmanagement.com
Description: Premium WordPress theme voor Van Es Management - IT Solutions & Strategy. Volledig Elementor-compatible met custom branding (Cipher Edition).
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vanesmanagement
Tags: business, elementor, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, full-site-editing, block-styles, wide-blocks
*/

/* ==========================================================================
   Van Es Management Theme - Maison Vanes Cipher Edition
   Brand Colors: Cipher Orange (#FF6B35), Heritage Navy (#1F3A70), Deep Navy (#0D1F40)
   ========================================================================== */

:root {
  /* Primary Brand Colors */
  --vem-orange: #FF6B35;
  --vem-orange-light: #FFB37A;
  --vem-orange-dark: #E5491A;
  --vem-navy: #1F3A70;
  --vem-navy-deep: #0D1F40;
  --vem-navy-light: #2B5AA0;
  
  /* Neutrals */
  --vem-white: #FFFFFF;
  --vem-light-grey: #F5F7FA;
  --vem-medium-grey: #E5E7EB;
  --vem-dark-grey: #4A5568;
  --vem-black: #0a0a0a;
  
  /* Typography */
  --vem-font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --vem-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --vem-font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  /* Spacing */
  --vem-section-padding: 6rem 0;
  --vem-container-max: 1280px;
  
  /* Effects */
  --vem-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --vem-shadow-md: 0 8px 24px rgba(31, 58, 112, 0.1);
  --vem-shadow-lg: 0 20px 50px rgba(31, 58, 112, 0.15);
  --vem-shadow-glow: 0 0 40px rgba(255, 107, 53, 0.2);
  
  /* Transitions */
  --vem-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--vem-font-body);
  color: var(--vem-navy-deep);
  line-height: 1.7;
  background: var(--vem-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vem-font-display);
  color: var(--vem-navy);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: 1.5rem; }

a {
  color: var(--vem-orange);
  text-decoration: none;
  transition: var(--vem-transition);
}

a:hover { color: var(--vem-orange-dark); }

/* Buttons */
.vem-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--vem-font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--vem-transition);
  text-decoration: none;
}

.vem-btn-primary {
  background: var(--vem-orange);
  color: var(--vem-white);
  border-color: var(--vem-orange);
}

.vem-btn-primary:hover {
  background: var(--vem-orange-dark);
  border-color: var(--vem-orange-dark);
  color: var(--vem-white);
  transform: translateY(-2px);
  box-shadow: var(--vem-shadow-glow);
}

.vem-btn-outline {
  background: transparent;
  color: var(--vem-orange);
  border-color: var(--vem-orange);
}

.vem-btn-outline:hover {
  background: var(--vem-orange);
  color: var(--vem-white);
}

.vem-btn-navy {
  background: var(--vem-navy);
  color: var(--vem-white);
  border-color: var(--vem-navy);
}

.vem-btn-navy:hover {
  background: var(--vem-navy-deep);
  border-color: var(--vem-navy-deep);
  color: var(--vem-white);
}

/* Container */
.vem-container {
  max-width: var(--vem-container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
.vem-section { padding: var(--vem-section-padding); position: relative; }
.vem-section-dark { background: var(--vem-navy-deep); color: var(--vem-white); }
.vem-section-dark h1, .vem-section-dark h2, .vem-section-dark h3 { color: var(--vem-white); }
.vem-section-light { background: var(--vem-light-grey); }

/* Section Header */
.vem-section-eyebrow {
  font-family: var(--vem-font-mono);
  font-size: 0.75rem;
  color: var(--vem-orange);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.vem-section-title {
  margin-bottom: 1.5rem;
}

.vem-section-title em {
  color: var(--vem-orange);
  font-style: italic;
}

.vem-section-subtitle {
  font-size: 1.15rem;
  color: var(--vem-dark-grey);
  max-width: 700px;
  margin-bottom: 3rem;
}

/* Header / Navigation */
.vem-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(13, 31, 64, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.15);
  transition: var(--vem-transition);
}

.vem-header-inner {
  position: relative;
  max-width: var(--vem-container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vem-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 300px;
}

.vem-logo-mark { 
  width: 50px; 
  height: 50px; 
  display: block;
  flex-shrink: 0;
}

.vem-logo-mark img,
.vem-logo-mark svg,
.custom-logo {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: contain;
  display: block;
}

/* WordPress custom logo override */
.custom-logo-link {
  display: block;
  width: 50px;
  height: 50px;
}

.custom-logo-link img {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
}

/* Mobile logo */
@media (max-width: 768px) {
  .vem-logo-mark,
  .vem-logo-mark img,
  .vem-logo-mark svg,
  .custom-logo,
  .custom-logo-link,
  .custom-logo-link img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }
}

.vem-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.vem-logo-text .name {
  font-family: var(--vem-font-display);
  font-size: 1.4rem;
  color: var(--vem-white);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.vem-logo-text .tagline {
  font-family: var(--vem-font-mono);
  font-size: 0.65rem;
  color: var(--vem-orange);
  letter-spacing: 0.3em;
  margin-top: 0.25rem;
}

.vem-nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.vem-nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--vem-font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.vem-nav-menu a:hover { color: var(--vem-orange); }

.vem-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--vem-orange);
  transition: var(--vem-transition);
}

.vem-nav-menu a:hover::after { width: 100%; }

.vem-nav-cta {
  background: var(--vem-orange);
  color: var(--vem-white) !important;
  padding: 0.75rem 1.5rem !important;
  border: 1px solid var(--vem-orange);
}

.vem-nav-cta:hover { background: var(--vem-orange-dark); }
.vem-nav-cta::after { display: none !important; }

/* Dropdown: Pages als hoofditem, subpagina's in submenu */
.vem-nav-menu > li.menu-item-has-children {
  position: relative;
}

.vem-nav-menu > li.menu-item-has-children > a {
  padding-right: 1.25rem;
}

.vem-nav-menu > li.menu-item-has-children > a::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--vem-orange);
  transform: translateY(-50%);
  pointer-events: none;
}

.vem-nav-menu > li.menu-item-has-children > a::after {
  display: none;
}

.vem-nav-menu > li.menu-item-has-children > .sub-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--vem-navy-deep);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 1100;
}

.vem-nav-menu > li.menu-item-has-children:hover > .sub-menu,
.vem-nav-menu > li.menu-item-has-children.submenu-open > .sub-menu {
  display: flex;
}

.vem-nav-menu > li.menu-item-has-children > .sub-menu .menu-item {
  width: 100%;
}

.vem-nav-menu > li.menu-item-has-children > .sub-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.vem-nav-menu > li.menu-item-has-children > .sub-menu a:hover {
  background: rgba(255, 107, 53, 0.12);
}

.vem-nav-menu > li.menu-item-has-children > .sub-menu a::after {
  display: none;
}

/* Hero Section with Slider */
.vem-hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--vem-navy-deep) 0%, var(--vem-navy) 100%);
  color: var(--vem-white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.vem-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(31, 58, 112, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.vem-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: 
    linear-gradient(rgba(255, 107, 53, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 53, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.vem-slider {
  width: 100%;
  position: relative;
  z-index: 2;
}

.vem-slide {
  display: none;
  animation: vemFadeIn 0.8s ease-out;
}

.vem-slide.active { display: block; }

@keyframes vemFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.vem-slide-content {
  max-width: var(--vem-container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vem-slide-eyebrow {
  font-family: var(--vem-font-mono);
  font-size: 0.8rem;
  color: var(--vem-orange);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.vem-slide-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-family: var(--vem-font-display);
  font-weight: 300;
  color: var(--vem-white);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.vem-slide-title em {
  color: var(--vem-orange);
  font-style: italic;
}

.vem-slide-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.vem-slide-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.vem-slide-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.vem-slide-visual::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
  filter: blur(40px);
}

/* Slider Controls */
.vem-slider-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.vem-slider-dot {
  width: 30px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--vem-transition);
}

.vem-slider-dot.active {
  background: var(--vem-orange);
  width: 50px;
}

.vem-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--vem-orange);
  cursor: pointer;
  transition: var(--vem-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1.5rem;
}

.vem-slider-nav:hover {
  background: var(--vem-orange);
  color: var(--vem-white);
}

.vem-slider-prev { left: 2rem; }
.vem-slider-next { right: 2rem; }

/* Trust Bar */
.vem-trust-bar {
  background: var(--vem-navy-deep);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 107, 53, 0.1);
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.vem-trust-inner {
  max-width: var(--vem-container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.vem-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.vem-trust-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vem-orange);
  font-size: 1.25rem;
}

.vem-trust-item strong {
  display: block;
  color: var(--vem-white);
  font-size: 1.5rem;
  font-family: var(--vem-font-display);
  font-weight: 500;
}

.vem-trust-item span {
  font-family: var(--vem-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Services Grid */
.vem-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.vem-service-card {
  background: var(--vem-white);
  padding: 2.5rem 2rem;
  border: 1px solid var(--vem-medium-grey);
  position: relative;
  overflow: hidden;
  transition: var(--vem-transition);
  cursor: pointer;
}

.vem-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--vem-orange);
  transition: var(--vem-transition);
}

.vem-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--vem-shadow-lg);
  border-color: var(--vem-orange);
}

.vem-service-card:hover::before { height: 100%; }

.vem-service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vem-orange);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--vem-transition);
}

.vem-service-card:hover .vem-service-icon {
  background: var(--vem-orange);
  color: var(--vem-white);
}

.vem-service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.vem-service-description {
  color: var(--vem-dark-grey);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.vem-service-link {
  font-family: var(--vem-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vem-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Pricing Section */
.vem-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.vem-pricing-card {
  background: var(--vem-white);
  padding: 3rem 2.5rem;
  border: 1px solid var(--vem-medium-grey);
  position: relative;
  transition: var(--vem-transition);
}

.vem-pricing-card.featured {
  background: var(--vem-navy-deep);
  color: var(--vem-white);
  border-color: var(--vem-orange);
  transform: scale(1.05);
  box-shadow: var(--vem-shadow-lg);
}

.vem-pricing-card.featured h3,
.vem-pricing-card.featured .vem-pricing-price { color: var(--vem-white); }

.vem-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vem-orange);
  color: var(--vem-white);
  padding: 0.4rem 1.5rem;
  font-family: var(--vem-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.vem-pricing-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.vem-pricing-price {
  font-family: var(--vem-font-display);
  font-size: 3rem;
  color: var(--vem-orange);
  margin: 1.5rem 0;
  font-weight: 500;
}

.vem-pricing-price small {
  font-size: 1rem;
  color: var(--vem-dark-grey);
  font-family: var(--vem-font-body);
}

.vem-pricing-card.featured .vem-pricing-price small {
  color: rgba(255, 255, 255, 0.6);
}

.vem-pricing-features {
  list-style: none;
  margin: 2rem 0;
}

.vem-pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--vem-medium-grey);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.vem-pricing-card.featured .vem-pricing-features li {
  border-color: rgba(255, 255, 255, 0.1);
}

.vem-pricing-features li::before {
  content: '✓';
  color: var(--vem-orange);
  font-weight: bold;
}

/* About Section */
.vem-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.vem-about-visual {
  position: relative;
}

.vem-about-image {
  width: 100%;
  background: linear-gradient(135deg, var(--vem-navy) 0%, var(--vem-navy-deep) 100%);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}

.vem-about-image::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  right: -30px;
  bottom: -30px;
  border: 2px solid var(--vem-orange);
  z-index: -1;
}

/* Process Steps */
.vem-process {
  margin-top: 4rem;
}

.vem-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.vem-process-step {
  text-align: center;
  position: relative;
}

.vem-process-number {
  font-family: var(--vem-font-display);
  font-size: 5rem;
  color: var(--vem-orange);
  opacity: 0.2;
  line-height: 1;
  font-weight: 300;
}

.vem-process-step h4 { margin: 1rem 0; }

/* Testimonials */
.vem-testimonial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.vem-testimonial-quote {
  font-family: var(--vem-font-display);
  font-size: 2rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--vem-navy);
  margin-bottom: 2rem;
  position: relative;
}

.vem-testimonial-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--vem-orange);
  opacity: 0.2;
  position: absolute;
  top: -2rem;
  left: -2rem;
}

.vem-testimonial-author {
  font-family: var(--vem-font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vem-orange);
}

.vem-testimonial-role {
  color: var(--vem-dark-grey);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* CTA Section */
.vem-cta-section {
  background: var(--vem-navy-deep);
  color: var(--vem-white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vem-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 107, 53, 0.15), transparent 70%);
  pointer-events: none;
}

.vem-cta-section .vem-container {
  position: relative;
  z-index: 1;
}

.vem-cta-section h2 {
  color: var(--vem-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  position: relative;
}

.vem-cta-section h2 em {
  color: var(--vem-orange);
  font-style: italic;
}

/* Footer */
.vem-footer {
  background: var(--vem-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
}

.vem-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.vem-footer-title {
  font-family: var(--vem-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vem-orange);
  margin-bottom: 1.5rem;
}

.vem-footer-brand-note {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  margin: -1rem 0 1.25rem;
}

.vem-footer-links { list-style: none; }
.vem-footer-links li { margin-bottom: 0.75rem; }
.vem-footer-links a { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.vem-footer-links a:hover { color: var(--vem-orange); }

.vem-footer-bottom {
  border-top: 1px solid rgba(255, 107, 53, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.vem-footer-bottom p {
  font-family: var(--vem-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .vem-nav {
    position: static;
  }

  .vem-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem 0;
    background: var(--vem-navy-deep);
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    z-index: 1100;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .vem-nav-menu.active {
    display: flex;
  }

  .vem-nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .vem-nav-menu > li > a {
    display: block;
    padding: 1rem 2rem;
  }

  .vem-nav-menu > li.menu-item-has-children > a {
    cursor: pointer;
  }

  .vem-nav-menu > li.menu-item-has-children > .sub-menu {
    position: static;
    transform: none;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
  }

  .vem-nav-menu > li.menu-item-has-children.submenu-open > .sub-menu {
    display: flex;
  }

  .vem-nav-menu > li.menu-item-has-children > .sub-menu a {
    padding: 0.85rem 2rem 0.85rem 2.75rem;
    font-size: 0.75rem;
  }

  .vem-nav-cta {
    margin: 0.5rem 2rem 1rem;
    text-align: center;
  }

  .vem-slide-content { grid-template-columns: 1fr; }
  .vem-slide-visual { display: none; }
  .vem-about { grid-template-columns: 1fr; }
  .vem-footer-grid { grid-template-columns: 1fr 1fr; }
  .vem-slider-nav { display: none; }
}

@media (max-width: 640px) {
  :root { --vem-section-padding: 4rem 0; }
  .vem-container { padding: 0 1rem; }
  .vem-footer-grid { grid-template-columns: 1fr; }
}

/* Page content (standaard pagina's) */
.vem-page-content {
  max-width: 800px;
  margin: 0 auto;
}

.vem-page-content .vem-page-lead {
  font-size: 1.2rem;
  color: var(--vem-navy);
  margin-bottom: 1.5rem;
}

.vem-page-content h2 {
  font-family: var(--vem-font-display);
  font-size: 2rem;
  color: var(--vem-navy-deep);
  margin: 2.5rem 0 1rem;
}

.vem-page-content h3 {
  font-family: var(--vem-font-display);
  font-size: 1.35rem;
  color: var(--vem-navy);
  margin: 2rem 0 0.75rem;
}

.vem-page-content p,
.vem-page-content li {
  color: var(--vem-dark-grey);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.vem-page-content ul {
  margin: 0 0 1.5rem 1.25rem;
  padding: 0;
}

.vem-page-content ul li {
  margin-bottom: 0.5rem;
}

.vem-page-content .vem-checklist {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.vem-page-content .vem-checklist li::before {
  content: '✔ ';
  color: var(--vem-orange);
  font-weight: 600;
}

.vem-page-content a {
  color: var(--vem-orange);
  text-decoration: underline;
}

.vem-page-content a:hover {
  color: var(--vem-navy);
}

.entry-content {
  font-size: 1.05rem;
}

.vem-page-title {
  font-family: var(--vem-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--vem-navy-deep);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Contact page */
.vem-contact-section {
  padding-top: calc(var(--vem-header-height, 80px) + 3rem);
}

.vem-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.vem-contact-info .vem-page-content {
  max-width: none;
  margin: 0;
}

.vem-contact-form-wrap {
  background: var(--vem-white);
  border: 1px solid rgba(31, 58, 112, 0.12);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(13, 31, 64, 0.08);
}

.vem-contact-form-title {
  font-family: var(--vem-font-display);
  font-size: 1.75rem;
  color: var(--vem-navy-deep);
  margin: 0 0 0.5rem;
}

.vem-contact-form-intro {
  color: var(--vem-dark-grey);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.vem-contact-notice {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.vem-contact-notice--success {
  background: rgba(46, 125, 50, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.25);
  color: #1b5e20;
}

.vem-contact-notice--error {
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.25);
  color: #b71c1c;
}

.vem-contact-form .vem-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vem-contact-form .vem-form-field {
  margin-bottom: 1rem;
}

.vem-contact-form label {
  display: block;
  font-family: var(--vem-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vem-navy);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.vem-contact-form .vem-required {
  color: var(--vem-orange);
}

.vem-contact-form input[type="text"],
.vem-contact-form input[type="email"],
.vem-contact-form input[type="tel"],
.vem-contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(31, 58, 112, 0.2);
  border-radius: 8px;
  font-family: var(--vem-font-body);
  font-size: 1rem;
  color: var(--vem-navy-deep);
  background: var(--vem-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vem-contact-form input:focus,
.vem-contact-form textarea:focus {
  outline: none;
  border-color: var(--vem-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

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

.vem-form-field--honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.vem-contact-submit {
  width: 100%;
  margin-top: 0.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .vem-contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* Elementor Compatibility */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--vem-container-max);
}

.elementor-widget-heading .elementor-heading-title {
  font-family: var(--vem-font-display);
}

.elementor-button {
  font-family: var(--vem-font-mono) !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

/* ==========================================================================
   GLOBAL LOGO SIZE FIX - Prevents oversized logos
   ========================================================================== */

/* Force all logos to max 60px in any context */
.site-logo img,
.site-logo svg,
.vem-header img,
.vem-header svg,
.custom-logo,
.custom-logo-link,
.custom-logo-link img,
header img[src*="logo"],
header img[src*="Logo"],
header img[src*="Maison"],
header img[src*="Vanes"],
header img[src*="VEM"],
img.site-logo,
.header-logo,
.header-logo img,
.header-logo svg {
  max-width: 60px !important;
  max-height: 60px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Mobile responsive logo */
@media (max-width: 768px) {
  .site-logo img,
  .site-logo svg,
  .vem-header img,
  .vem-header svg,
  .custom-logo,
  .custom-logo-link img {
    max-width: 45px !important;
    max-height: 45px !important;
  }
}

/* SVG specifically - prevents fullscreen takeover */
svg.custom-logo,
.vem-header svg,
.site-logo svg {
  width: 50px !important;
  height: 50px !important;
}

/* ==========================================================================
   Cookie consent (AVG)
   ========================================================================== */

.vem-cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 99999;
  padding: 1rem;
  background: rgba(13, 31, 64, 0.96);
  color: var(--vem-white);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}

.vem-cookie-banner[hidden] {
  display: none !important;
}

.vem-cookie-banner__inner {
  max-width: var(--vem-container-max, 1200px);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.vem-cookie-banner__title {
  font-family: var(--vem-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--vem-white);
}

.vem-cookie-banner__text {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.vem-cookie-banner__links a {
  color: var(--vem-orange-light);
  text-decoration: underline;
}

.vem-cookie-settings {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vem-cookie-option label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--vem-white);
  cursor: pointer;
}

.vem-cookie-option p {
  margin: 0.35rem 0 0 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.vem-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.vem-cookie-banner .vem-btn {
  font-size: 0.7rem;
  padding: 0.75rem 1.25rem;
}

html.vem-cookie-open {
  scroll-padding-bottom: 12rem;
}

@media (min-width: 900px) {
  .vem-cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .vem-cookie-banner__actions {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Legal page
   ========================================================================== */

.vem-legal-content {
  max-width: 900px;
}

.vem-legal-toc {
  background: var(--vem-light-grey);
  border-left: 4px solid var(--vem-orange);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
}

.vem-legal-toc ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.vem-legal-toc a {
  color: var(--vem-navy);
  text-decoration: none;
}

.vem-legal-toc a:hover {
  color: var(--vem-orange);
}

.vem-legal-cookie-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--vem-orange);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.vem-legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.vem-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.vem-legal-table th,
.vem-legal-table td {
  border: 1px solid var(--vem-medium-grey);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.vem-legal-table th {
  background: var(--vem-light-grey);
  color: var(--vem-navy-deep);
}

.vem-legal-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--vem-medium-grey);
  font-size: 0.9rem;
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */

.vem-whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vem-whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.vem-whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

@media (max-width: 768px) {
  .vem-whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

/* ==========================================================================
   SEO & Local Business
   ========================================================================== */

.vem-breadcrumbs {
  margin-bottom: 1.5rem;
  font-family: var(--vem-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vem-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0;
  margin: 0;
}

.vem-breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--vem-dark-grey);
  opacity: 0.6;
}

.vem-breadcrumbs a {
  color: var(--vem-navy);
  text-decoration: none;
}

.vem-breadcrumbs a:hover {
  color: var(--vem-orange);
}

.vem-breadcrumbs [aria-current="page"] {
  color: var(--vem-dark-grey);
}

.vem-gbp-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--vem-medium-grey);
  border-radius: 12px;
  background: var(--vem-light-grey);
}

.vem-gbp-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.vem-gbp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.vem-local-map {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--vem-shadow-md);
}

.vem-slide-title {
  font-family: var(--vem-font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--vem-white);
  margin-bottom: 1.25rem;
}
