:root{
  --mtk-blue:#006ba9;--mtk-blue-800:#013a5e;--mtk-anthracite:#202428;
  --mtk-yellow:#fcbb00;--mtk-orange:#fcac01;--mtk-orange-600:#e09700;
  --mtk-purple:#5a2d8a;
  --mtk-bg-soft:#f5f7f9;--mtk-bg-line:#e6eaee;--mtk-ink:#202428;
  --mtk-ink-soft:#4a525a;--mtk-ink-mute:#6b747d;--mtk-on-dark-mute:#9aa6b0;
  --mtk-radius:6px;--mtk-ease:cubic-bezier(0.22,0.61,0.36,1);--mtk-t:240ms;
}

/* ===== Widget-level utility classes ===== */
.mtk-eyebrow{display:inline-flex!important;align-items:center;gap:10px;}
.mtk-eyebrow::before{content:"";width:26px;height:2px;background:var(--mtk-yellow);flex:0 0 auto;}
.mtk-link-arrow{display:inline-flex;align-items:center;gap:8px;font-family:'Sora',system-ui,sans-serif;font-weight:600;color:var(--mtk-blue);transition:gap var(--mtk-t) var(--mtk-ease),color var(--mtk-t) var(--mtk-ease);}
.mtk-link-arrow:hover{gap:12px;color:var(--mtk-blue-800);}

/* ===== Buttons: keep colour, darker shade on hover (no arrows) ===== */
body .btn:hover{background:var(--blue-800,#013a5e)!important;}
body .btn--orange:hover{background:var(--orange-600,#e09700)!important;}

/* ===== References logo marquee (native Elementor under references section 7166fcf) ===== */
@keyframes mtk-marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}
.elementor-element-7166fcf > .e-con{position:relative;overflow:hidden;width:100%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);}
.elementor-element-7166fcf > .e-con > .e-con{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;width:max-content!important;animation:mtk-marquee 80s linear infinite;}
.elementor-element-7166fcf > .e-con > .e-con > *{margin-right:180px!important;flex-shrink:0!important;width:auto!important;max-width:none!important;}
.elementor-element-7166fcf > .e-con:hover > .e-con{animation-play-state:paused;}
.elementor-element-7166fcf .mtk-ref-logo img{height:48px!important;width:auto!important;max-width:190px!important;object-fit:contain;filter:grayscale(1) brightness(.45) contrast(1.05);opacity:.85;transition:filter var(--mtk-t) var(--mtk-ease),opacity var(--mtk-t) var(--mtk-ease);}
.elementor-element-7166fcf .mtk-ref-logo:hover img{filter:none;opacity:1;}
.elementor-element-7166fcf .mtk-ref .elementor-heading-title{font-family:'Sora',system-ui,sans-serif;font-weight:700;font-size:1.4rem;white-space:nowrap;color:var(--mtk-on-dark-mute,#9aa6b0);transition:color var(--mtk-t) var(--mtk-ease);}
.elementor-element-7166fcf .mtk-ref:hover .elementor-heading-title{color:#000;}
.elementor-element-7166fcf .mtk-ref--davidlloyd:hover .elementor-heading-title{color:var(--mtk-purple,#5a2d8a);}
@media(prefers-reduced-motion:reduce){.elementor-element-7166fcf > .e-con > .e-con{animation:none;flex-wrap:wrap;justify-content:center;width:auto;}}

/* ===== Widget scroll-reveal ===== */
.mtk-reveal{opacity:0;transform:translateY(26px);transition:opacity .7s var(--mtk-ease),transform .7s var(--mtk-ease);will-change:opacity,transform;}
.mtk-reveal.is-visible{opacity:1;transform:none;}
.mtk-reveal[data-delay="1"]{transition-delay:.08s;}
.mtk-reveal[data-delay="2"]{transition-delay:.16s;}
.mtk-reveal[data-delay="3"]{transition-delay:.24s;}
@media(prefers-reduced-motion:reduce){.mtk-reveal{opacity:1!important;transform:none!important;}}

/* ===== HERO container (id bd573ae): yellow accent bar + lighter 3-stop gradient ===== */
.elementor-element-bd573ae{position:relative;}
.elementor-element-bd573ae::after{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--mtk-yellow);z-index:3;pointer-events:none;}
.elementor-element-bd573ae .elementor-background-overlay{background-color:transparent!important;background-image:linear-gradient(100deg,rgba(20,25,28,.80) 0%,rgba(13,38,58,.64) 46%,rgba(0,107,169,.32) 100%)!important;opacity:1!important;}

/* ===== EXPERTISE cards: 3-col grid (3,3,3) on the boxed inner of id 6f4ac6b ===== */
.elementor-element-6f4ac6b>.e-con-inner{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:24px!important;align-items:stretch!important;}
@media(max-width:1100px){.elementor-element-6f4ac6b>.e-con-inner{grid-template-columns:repeat(2,1fr)!important;}}
@media(max-width:720px){.elementor-element-6f4ac6b>.e-con-inner{grid-template-columns:1fr!important;}}

/* Each card = direct child of the grid inner (whole card is a link) */
.elementor-element-6f4ac6b>.e-con-inner>.elementor-element{width:auto!important;max-width:none!important;margin:0!important;overflow:hidden;height:100%;opacity:0;transform:translateY(26px);transition:opacity .7s var(--mtk-ease),transform .7s var(--mtk-ease),box-shadow var(--mtk-t) var(--mtk-ease),border-color var(--mtk-t) var(--mtk-ease);}
.elementor-element-6f4ac6b>.e-con-inner>.elementor-element.is-visible{opacity:1;transform:none;}
.elementor-element-6f4ac6b>.e-con-inner>.elementor-element[data-delay="2"]{transition-delay:.16s;}
.elementor-element-6f4ac6b>.e-con-inner>.elementor-element[data-delay="3"]{transition-delay:.24s;}
.elementor-element-6f4ac6b>.e-con-inner>.elementor-element:hover{border-color:var(--mtk-blue)!important;box-shadow:0 0 0 1px var(--mtk-blue)!important;}
@media(prefers-reduced-motion:reduce){.elementor-element-6f4ac6b>.e-con-inner>.elementor-element{opacity:1!important;transform:none!important;}}

/* Card internals */
.elementor-element-6f4ac6b .elementor-widget-image{overflow:hidden;line-height:0;}
.elementor-element-6f4ac6b .elementor-widget-image img{width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover;border-radius:0!important;transition:transform .6s var(--mtk-ease);}
.elementor-element-6f4ac6b>.e-con-inner>.elementor-element:hover .elementor-widget-image img{transform:scale(1.06);}
.elementor-element-6f4ac6b .elementor-widget-heading .elementor-heading-title,
.elementor-element-6f4ac6b .elementor-widget-heading .elementor-heading-title a{font-size:1.18rem;color:var(--mtk-blue,#006ba9)!important;transition:color var(--mtk-t) var(--mtk-ease);}
.elementor-element-6f4ac6b>.e-con-inner>.elementor-element:hover .elementor-heading-title,
.elementor-element-6f4ac6b>.e-con-inner>.elementor-element:hover .elementor-heading-title a{color:var(--mtk-blue-800,#013a5e)!important;}
.elementor-element-6f4ac6b .elementor-widget-text-editor{padding-bottom:18px!important;}
.elementor-element-6f4ac6b .elementor-widget-text-editor p{font-size:.95rem;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}

/* ===== Matika header & menu refinements (theme override) ===== */

/* Thin WHITE lines under menubar + NL/EN box (over hero); grey on white state */
body .site-header{border-bottom-width:1px!important;border-bottom-color:rgba(255,255,255,.85)!important;}
body .site-header.is-solid,
body .site-header:hover,
body .site-header:has(.mega.show){border-bottom-color:var(--bg-line)!important;}
body .site-header .lang-switch{border-width:1px!important;border-color:rgba(255,255,255,.85)!important;}
body .site-header.is-solid .lang-switch,
body .site-header:hover .lang-switch,
body .site-header:has(.mega.show) .lang-switch{border-color:var(--bg-line)!important;}

/* Nav links: not bold by default, bold on hover/active */
body .site-header .nav-link{font-weight:500!important;}
body .site-header .nav-link:hover,
body .site-header .nav-link.active{font-weight:700!important;}

/* Underline always ORANGE */
body .site-header .nav-link::after,
body .site-header.is-solid .nav-link::after{background:var(--orange,#fcac01)!important;}

/* White on HOVER of the whole header AND while the Diensten mega is open (croon) */
body .site-header:hover,
body .site-header:has(.mega.show){
  background:rgba(255,255,255,.97)!important;
  -webkit-backdrop-filter:saturate(160%) blur(12px);
  backdrop-filter:saturate(160%) blur(12px);
  box-shadow:0 4px 20px rgba(16,24,32,.08)!important;
}
body .site-header:hover .logo-on-dark,
body .site-header:has(.mega.show) .logo-on-dark{display:none!important;}
body .site-header:hover .logo-on-light,
body .site-header:has(.mega.show) .logo-on-light{display:block!important;}
body .site-header:hover .nav-link,
body .site-header:has(.mega.show) .nav-link{color:var(--ink)!important;}
body .site-header:hover .nav-link:hover{color:var(--blue)!important;}
body .site-header:hover .icon-btn,
body .site-header:has(.mega.show) .icon-btn{color:var(--ink)!important;}
body .site-header:hover .icon-btn:hover{color:var(--blue)!important;}
body .site-header:hover .lang-link,
body .site-header:has(.mega.show) .lang-link{color:var(--ink-soft)!important;}
body .site-header:hover .hamburger span,
body .site-header:has(.mega.show) .hamburger span{background:var(--ink)!important;}

/* Language switcher: dead-centre glyphs; active = letters orange only (no fill) */
body .site-header .lang-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;min-width:44px!important;text-align:center!important;line-height:1!important;}
body .site-header .lang-link.active,
body .site-header.is-solid .lang-link.active,
body .site-header:hover .lang-link.active,
body .site-header:has(.mega.show) .lang-link.active{background:transparent!important;color:var(--orange,#fcac01)!important;font-weight:700!important;}

/* Search icon a touch bigger */
body .site-header .icon-btn{width:44px;height:44px;}
body .site-header .icon-btn svg{width:23px!important;height:23px!important;}

/* NB: Diensten mega-menu grid + items are owned by snippet #20 (loads later). */

/* ===================== Matika punch-list refinements ===================== */

/* ---- Footer: refined blue gradient ---- */
body .site-footer{background:linear-gradient(160deg,#024a73 0%,#006ba9 55%,#01314f 100%)!important;}

/* Footer accordion headers: no Elementor button-bleed or hover colour shift */
body .site-footer .fcol-head,
body .site-footer .fcol-head:hover,
body .site-footer .fcol-head:focus,
body .site-footer .fcol-head:focus-visible,
body .site-footer .fcol-head:active{
  background:transparent!important;background-color:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;transform:none!important;text-shadow:none!important;
}
@media(min-width:761px){
  body .site-footer .fcol-head{padding:0!important;}
}
body .site-footer .fcol-head h3,
body .site-footer .fcol-head:hover h3,
body .site-footer .fcol-head:focus h3,
body .site-footer .fcol-head:focus-visible h3{text-align:left;color:#fff!important;}

/* Footer links: not bold -> bold on hover */
body .site-footer .col a{font-weight:500!important;}
body .site-footer .col a:hover{font-weight:700!important;}

/* Thicker bottom line */
body .site-footer .grid{border-bottom-width:2px!important;}

/* Privacy / Algemene voorwaarden same colour as copyright text */
body .site-footer .legal a,body .site-footer .legal .credit{color:rgba(255,255,255,.82)!important;}
body .site-footer .legal a:hover,body .site-footer .legal .credit:hover{color:#fff!important;}

/* ---- Search overlay + native buttons: kill Elementor orange-rounded-button bleed ---- */
body .search-overlay .result{background:transparent!important;border:0!important;border-radius:var(--radius-sm,4px)!important;box-shadow:none!important;}
body .search-overlay .result.active,body .search-overlay .result:hover{background:var(--bg-soft,#f5f7f9)!important;}
body .search-overlay .search-close{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:var(--radius-sm,4px)!important;}
body .search-overlay .search-close:hover{background:var(--bg-soft,#f5f7f9)!important;}
body .site-header .icon-btn,body .site-header .hamburger,body .drawer .drawer-close{background:transparent!important;box-shadow:none!important;}

/* ---- Home: 'Grip op techniek' intro band -> light blue (distinct from grey expertise) ---- */
body .elementor-element-6474b15{background:#edf3f7!important;}

/* ---- Home references: logos anthracite -> colour on hover, slower seamless loop ---- */
body .mtk-ref-logo{filter:grayscale(1) brightness(.45) contrast(1.05)!important;opacity:.85!important;}
body .mtk-ref-logo:hover{filter:none!important;opacity:1!important;}
body .mtk-marquee-track{animation-duration:80s!important;}

/* ---- Home service-card title: not-bold -> bold + orange underline on hover ---- */
body .elementor-element-6f4ac6b .elementor-widget-heading .elementor-heading-title{font-weight:500!important;position:relative;display:inline-block;}
body .elementor-element-6f4ac6b>.e-con-inner>.elementor-element:hover .elementor-heading-title{font-weight:700!important;}
body .elementor-element-6f4ac6b .elementor-widget-heading .elementor-heading-title::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:#fcac01;transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(0.22,0.61,0.36,1);}
body .elementor-element-6f4ac6b>.e-con-inner>.elementor-element:hover .elementor-heading-title::after{transform:scaleX(1);}

/* ---- Home hero: lighter video filter + mobile text full-width ---- */
body .elementor-element-bd573ae .elementor-background-overlay{background-image:linear-gradient(100deg,rgba(20,25,28,.84) 0%,rgba(13,38,58,.66) 46%,rgba(0,107,169,.28) 100%)!important;}
@media(max-width:768px){
  body .elementor-element-bd573ae>.e-con-inner>.elementor-element{width:100%!important;}
  body .elementor-element-e542821{width:100%!important;}
}

/* Contact form column: no shadow, softer corners */
body .elementor-element-55d0ae4{box-shadow:none!important;border-radius:6px!important;}

/* Form fields + submit: less round */
body .wpcf7 input[type=text],
body .wpcf7 input[type=email],
body .wpcf7 input[type=tel],
body .wpcf7 textarea,
body .wpcf7 select{border-radius:6px!important;}
body .wpcf7 input[type=submit],
body .wpcf7 button[type=submit]{
  border-radius:6px!important;
  padding:15px 26px!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1!important;
}

/* Intro line above the form */
body .mtk-form-intro{font-family:'Sora',system-ui,sans-serif;font-weight:600;font-size:1.05rem;color:var(--ink,#202428);margin:0 0 16px;}

/* Placeholder tone matches native form fields */
body .wpcf7 input::placeholder,
body .wpcf7 textarea::placeholder{color:#8a9299;opacity:1;}

/* ===== Service detail (single-service.php) ===== */

/* Bigger hero title; calmer tagline */
body .page-hero h1{font-size:clamp(2.1rem,3.8vw,3.1rem)!important;}
body .page-hero h1 .h1-rest{font-weight:400!important;font-size:.84em!important;color:rgba(255,255,255,.82)!important;}

/* Bigger section titles + readable lead */
body .t-service .sec h2{font-size:1.5rem!important;}
body .t-service .prose .lead-p{font-size:1.12rem!important;}

/* ===== Contact-form section: distinct boxed block ===== */
body .svc-contact{padding-block:clamp(48px,6vw,84px);}
body .svc-contact .svc-contact-head{text-align:center;margin-bottom:26px;}
body .svc-contact .svc-contact-head h2{font-size:clamp(1.8rem,3vw,2.4rem);margin:0;}
body .svc-contact .svc-contact-form{max-width:720px;margin:0 auto;background:#fff;border:1px solid var(--bg-line,#e6eaee);border-radius:14px;box-shadow:0 20px 50px rgba(16,24,32,.10);padding:clamp(24px,4vw,44px);}
body .svc-contact .wpcf7 input[type=text],body .svc-contact .wpcf7 input[type=email],body .svc-contact .wpcf7 input[type=tel],body .svc-contact .wpcf7 textarea{border-radius:6px;}

/* ===== Elementor service templates (single + /diensten archive) ===== */
body .mtk-el-svc-title{color:#fff!important;font-family:'Sora',system-ui,sans-serif;font-weight:800;font-size:clamp(2.1rem,3.8vw,3.1rem);line-height:1.06;letter-spacing:-.5px;margin:0;}
body .mtk-el-svc-sub{color:#dbe4ea!important;margin:14px 0 0;font-size:1.05rem;max-width:72ch;line-height:1.65;}
body .mtk-el-svc-body{padding-block:clamp(48px,6vw,88px);}

/* Dark hero bands bleed behind fixed header */
body .t-fullwidth .elementor-element-svctplhero,
body .t-fullwidth .elementor-element-svcarchhero,
body .t-fullwidth .elementor-element-pgh3504,
body .t-fullwidth .elementor-element-pgh3506,
/* Service singles: theme builder (no .t-fullwidth) + theme template */
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child,
body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child{
  margin-top:calc(-1 * var(--header-h,104px))!important;
  padding-top:calc(var(--header-h,104px) + clamp(40px,5vw,72px))!important;
  padding-bottom:clamp(48px,6vw,80px)!important;
  padding-inline:var(--gutter,56px)!important;
  box-sizing:border-box!important;
}

body .t-fullwidth .elementor-element-svcarchhero > .e-con-inner,
body .t-fullwidth .elementor-element-svctplhero > .e-con-inner,
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child > .e-con-inner,
body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child > .e-con-inner{
  width:100%!important;
  max-width:var(--container,1920px)!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  gap:clamp(24px,3vw,36px)!important;
  align-items:center!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,0.95fr)!important;
  flex-wrap:nowrap!important;
}

/* Override Elementor per-page --width / flex-wrap on service heroes */
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child,
body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child{
  --flex-wrap:nowrap!important;
}
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child > .e-con-inner > .e-con,
body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child > .e-con-inner > .e-con{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  --width:100%!important;
  flex:none!important;
}
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child .elementor-widget-image img,
body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child .elementor-widget-image img{
  width:100%!important;
  height:auto!important;
  display:block!important;
  border-radius:8px!important;
  object-fit:cover!important;
  aspect-ratio:4/3!important;
}

/* Hero title + lead on service singles */
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child .elementor-heading-title{
  font-size:clamp(1.85rem,3.8vw,3rem)!important;
  line-height:1.08!important;
  letter-spacing:-.02em!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
}
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child .elementor-widget-text-editor{
  max-width:56ch!important;
  line-height:1.65!important;
}

/* Body sections on service singles — align to site gutters */
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:not(:first-child),
body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:not(:first-child){
  padding-inline:var(--gutter,56px)!important;
  box-sizing:border-box!important;
}
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:not(:first-child) > .e-con-inner,
body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:not(:first-child) > .e-con-inner{
  width:100%!important;
  max-width:var(--container,1920px)!important;
  margin-inline:auto!important;
  padding-inline:0!important;
}

body .t-fullwidth .elementor-element-svcarchintro{
  width:100%!important;
  max-width:920px!important;
}

/* Service intro + section descriptions — half-width on laptop+ (full width on mobile) */
@media(min-width:768px){
  body.single-service .elementor-element-svctplintro > .e-con-inner > .e-con,
  body.single-service .elementor-element-svctplintro .elementor-widget-text-editor,
  body.single-service .t-fullwidth .elementor-element-svctplintro > .e-con-inner > .e-con,
  body.single-service .t-fullwidth .elementor-element-svctplintro .elementor-widget-text-editor,
  body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:nth-child(2) > .e-con-inner > .e-con,
  body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:nth-child(2) > .e-con-inner > .e-con,
  body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:not(:first-child):not(:has(.elementor-widget-icon-list)):not(:has(.elementor-widget-button)) > .e-con-inner > .e-con,
  body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:not(:first-child):not(:has(.elementor-widget-icon-list)):not(:has(.elementor-widget-button)) > .e-con-inner > .e-con{
    width:50%!important;
    max-width:50%!important;
    min-width:0!important;
    --width:50%!important;
    flex:0 0 50%!important;
  }
}

/* Diensten archive — service cards grid */
body .t-fullwidth .elementor-element-svcarchcards{
  padding-top:clamp(48px,6vw,80px)!important;
  padding-bottom:clamp(64px,8vw,110px)!important;
  padding-inline:var(--gutter,56px)!important;
  box-sizing:border-box!important;
}

body .t-services.mtk-el-svc-cards .container{
  max-width:var(--container,1920px)!important;
  padding-inline:0!important;
  box-sizing:border-box!important;
}

body .t-services.mtk-el-svc-cards .cards{
  gap:clamp(24px,3vw,32px)!important;
}

/* Theme archive fallback (non-Elementor) */
body .t-services > .section{
  padding-block:clamp(64px,8vw,110px)!important;
}

/* Legal/long content readability */
body .t-fullwidth .elementor-element-pgx3506 p,
body .t-fullwidth .elementor-element-pgx3506 li{line-height:1.7;}

@media(max-width:1100px){
  body .t-fullwidth .elementor-element-svcarchhero,
  body .t-fullwidth .elementor-element-svcarchcards,
  body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent,
  body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent{
    padding-inline:var(--gutter,32px)!important;
  }
}

@media(max-width:767px){
  body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child > .e-con-inner,
  body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child > .e-con-inner{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:640px){
  body .t-fullwidth .elementor-element-svcarchhero{
    padding-top:calc(var(--header-h,76px) + 36px)!important;
    padding-bottom:clamp(40px,10vw,56px)!important;
  }
  body .t-fullwidth .elementor-element-svcarchcards{
    padding-top:clamp(32px,8vw,48px)!important;
    padding-bottom:clamp(48px,10vw,72px)!important;
  }
  body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child,
  body.single-service .t-fullwidth .elementor[data-elementor-post-type="service"] > .e-con.e-parent:first-child{
    padding-top:calc(var(--header-h,76px) + 28px)!important;
    padding-bottom:clamp(36px,10vw,52px)!important;
    padding-inline:var(--gutter,20px)!important;
  }
}


/* Reference logo marquee — force small sizes over Elementor's img rules */
body .mtk-marquee img,
body .mtk-marquee img.mtk-ref-logo{height:44px!important;width:auto!important;max-width:170px!important;object-fit:contain!important;}
body .mtk-marquee img.mtk-ref-logo--lg{height:62px!important;max-width:210px!important;}
body .mtk-marquee .mtk-marquee-track{align-items:center!important;}
body .mtk-marquee .mtk-ref{font-size:1.2rem!important;}

/* Home hero accent line — match original (4px yellow, below header) */
body .elementor-element-bd573ae{position:relative;}
body .elementor-element-bd573ae::after{content:""!important;position:absolute!important;left:0!important;top:var(--header-h,104px)!important;bottom:0!important;width:4px!important;background:#fcbb00!important;z-index:5!important;pointer-events:none!important;border-radius:0!important;}
@media(max-width:640px){body .elementor-element-bd573ae::after{top:76px!important;}}

/* Service body: text + photo beside it */
body .t-service .svc-body{display:grid;grid-template-columns:1.6fr 1fr;gap:48px;align-items:start;}
body .t-service .svc-body .prose{max-width:none;}
body .t-service .svc-body-title{font-size:clamp(1.6rem,2.6vw,2.1rem);line-height:1.15;margin:0 0 18px;}
body .t-service .svc-body-media{position:sticky;top:130px;}
body .t-service .svc-body-media img{width:100%;height:auto;border-radius:var(--radius,6px);display:block;box-shadow:var(--shadow-2,0 8px 24px rgba(16,24,32,.1));}
@media(max-width:980px){
  body .t-service .svc-body{grid-template-columns:1fr;gap:26px;}
  body .t-service .svc-body-media{position:static;}
}

/* ===== Full-width mega menu (match original) ===== */
body .site-header .mega{position:fixed!important;inset-inline:0!important;top:var(--header-h,104px)!important;width:100%!important;min-width:0!important;max-width:none!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--bg-line,#e6eaee)!important;border-radius:0!important;box-shadow:0 18px 48px rgba(16,24,32,.16)!important;padding:0!important;transform:translateY(-8px)!important;}
body .site-header .mega.show,body .site-header .nav-item:hover .mega{transform:translateY(0)!important;}
/* Align grid with header .container (not a narrower centered box) */
body .site-header .mega-inner{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px 20px!important;padding-block:26px!important;padding-inline:var(--gutter,56px)!important;width:100%!important;max-width:var(--container,1920px)!important;margin-inline:auto!important;box-sizing:border-box!important;}
/* backdrop-filter on header breaks position:fixed — disable while mega is open */
body .site-header:has(.mega.show),
body .site-header:has(.nav-item:hover){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}

/* mega items: title + sub + arrow — descriptions must wrap (override theme nowrap) */
body .site-header .mega-link{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding:14px 16px!important;border-radius:4px!important;font-weight:600!important;background:transparent!important;white-space:normal!important;min-width:0!important;height:100%!important;box-sizing:border-box!important;}
body .site-header .mega-link::after{display:none!important;content:none!important;}
body .site-header .mega-link:hover{background:var(--bg-soft,#f5f7f9)!important;}
body .site-header .mega-body{min-width:0!important;flex:1 1 auto!important;display:block!important;overflow:hidden!important;}
body .site-header .mega-title{display:block!important;font-family:'Sora',system-ui,sans-serif;font-weight:600!important;font-size:.95rem!important;color:#14181c!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.3!important;}
body .site-header .mega-link:hover .mega-title{color:var(--blue,#006ba9)!important;}
body .site-header .mega-sub{display:block!important;font-size:.8rem!important;color:#3d454d!important;line-height:1.5!important;margin-top:4px!important;font-weight:400!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;hyphens:auto!important;}
body .site-header .mega-arrow{color:#5a636b!important;flex-shrink:0!important;display:inline-flex!important;margin-top:2px!important;transition:transform .24s,color .24s!important;}
body .site-header .mega-link:hover .mega-arrow{color:var(--orange,#fcac01);transform:translate(3px,-3px);}

@media(max-width:1040px){
  body .site-header .mega{display:none!important;}
  /* keep header visible on mobile (don't hide on scroll) */
  body .site-header{transform:none!important;}
}

/* Mobile drawer multi-level: opaque panels so sub covers root (no bleed-through) */
body .drawer .drawer-panels{background:#fff;}
body .drawer .panel{background:#fff;}
body .drawer .panel-root{z-index:1;}
body .drawer .panel-sub{z-index:2;}

/* Kill Elementor button-bleed on theme-native buttons */
body .site-header .hamburger,
body .site-header .icon-btn,
body .drawer .drawer-close,
body .drawer .drawer-back,
body .drawer .drawer-link.has-sub{
  background:transparent!important;background-color:transparent!important;box-shadow:none!important;text-shadow:none!important;
}

/* Hamburger: small rounded square, not a pill/circle */
body .site-header .hamburger{border:1px solid rgba(255,255,255,.35)!important;border-radius:6px!important;width:44px!important;height:44px!important;padding:0!important;display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;}
body .site-header.is-solid .hamburger,body .site-header:hover .hamburger{border-color:var(--bg-line,#e6eaee)!important;}

/* Drawer close: match hamburger footprint (44×44) + bolder X */
body .drawer .drawer-close{
  border:1px solid var(--bg-line,#e6eaee)!important;
  border-radius:6px!important;
  color:var(--ink,#202428)!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  padding:0!important;
}
body .drawer .drawer-close svg{
  width:22px!important;
  height:22px!important;
}
body .drawer .drawer-close svg path{
  stroke-width:2.2!important;
}

/* Drawer 'Terug' + 'Diensten' (has-sub): plain link look, no orange button */
body .drawer .drawer-back{border:0!important;border-bottom:1px solid var(--bg-line,#e6eaee)!important;border-radius:0!important;color:var(--blue,#006ba9)!important;padding:12px 4px!important;font-weight:600!important;justify-content:flex-start!important;gap:6px!important;}
body .drawer .drawer-link.has-sub{border:0!important;border-bottom:1px solid var(--bg-line,#e6eaee)!important;border-radius:0!important;color:var(--ink,#202428)!important;padding:16px 4px!important;justify-content:space-between!important;}

/* Hamburger: hidden on desktop (nav-desktop is visible ≥1041px) */
@media (min-width: 1041px) {
  body .site-header .hamburger {
    display: none !important;
  }
}

/* Home hero — responsive typography + generous padding (Elementor e542821 / bd573ae) */

/* Outer hero section: fill viewport, no extra Elementor padding */
body .elementor-element-bd573ae {
  min-height: clamp(520px, 88vh, 900px) !important;
  --padding-top: 0px !important;
  --padding-bottom: 0px !important;
}
body .elementor-element-bd573ae > .e-con-inner {
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: inherit !important;
  max-width: var(--container, 1920px) !important;
  margin-inline: auto !important;
  padding-top: var(--header-h, 104px) !important;
  padding-bottom: clamp(40px, 6vh, 72px) !important;
  padding-inline: var(--gutter, 56px) !important;
  box-sizing: border-box !important;
}

/* Text column — left aligned, not centered in the hero */
body .elementor-element-e542821 {
  width: 100% !important;
  max-width: min(760px, 100%) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  --justify-content: flex-start !important;
  --align-items: flex-start !important;
  --widgets-spacing: 0px !important;
  --kit-widget-spacing: 0px !important;
  --row-gap: 0px !important;
  --column-gap: 0px !important;
  gap: 0 !important;
}

/* Headline stack (h1 + h2 widgets): tight lines, gap only before lead */
body .elementor-element-e542821 > .elementor-widget {
  margin-bottom: 0 !important;
}
body .elementor-element-e542821 .elementor-widget-heading .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}
body .elementor-element-e542821 .elementor-widget-heading .elementor-heading-title {
  font-size: clamp(1.85rem, 5.2vw, 4rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
  margin: 0 !important;
}
body .elementor-element-e542821 .elementor-widget-heading + .elementor-widget-heading {
  margin-top: -0.35em !important;
  padding-top: 0 !important;
}
/* Elementor hero heading widgets */
body .elementor-element-a8887d0,
body .elementor-element-8e8477c {
  margin: 0 !important;
  padding: 0 !important;
}
body .elementor-element-8e8477c {
  margin-top: -0.3em !important;
}
body .elementor-element-e542821 h1.elementor-heading-title,
body .elementor-element-e542821 h2.elementor-heading-title {
  font-size: clamp(1.85rem, 5.2vw, 4rem) !important;
  line-height: 1.05 !important;
}

/* Lead / body copy */
body .elementor-element-e542821 .elementor-widget-text-editor {
  margin-top: clamp(18px, 2.5vw, 28px) !important;
  margin-bottom: clamp(20px, 3.5vw, 32px) !important;
}
body .elementor-element-e542821 .elementor-widget-text-editor,
body .elementor-element-e542821 .elementor-widget-text-editor p {
  font-size: clamp(0.98rem, 2.8vw, 1.15rem) !important;
  line-height: 1.55 !important;
  max-width: 56ch !important;
  margin: 0 !important;
}

/* CTA spacing */
body .elementor-element-e542821 .elementor-widget-button {
  margin-top: clamp(4px, 1.5vw, 12px) !important;
}

@media (max-width: 1100px) {
  body .elementor-element-bd573ae > .e-con-inner > .elementor-element {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  /* Center the text block in the hero (block position), keep copy left-aligned */
  body .elementor-element-bd573ae > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: inherit !important;
    padding-top: var(--header-h, 76px) !important;
    padding-bottom: var(--header-h, 76px) !important;
    padding-inline: var(--gutter, 20px) !important;
    box-sizing: border-box !important;
  }
  /* Empty Elementor sibling breaks flex centering */
  body .elementor-element-bd573ae > .e-con-inner > .elementor-element-4c51956 {
    display: none !important;
  }
  body .elementor-element-e542821 {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
    margin-block: 0 !important;
    text-align: left !important;
    align-self: stretch !important;
  }
  body .elementor-element-e542821 .elementor-heading-title,
  body .elementor-element-e542821 .elementor-widget-text-editor,
  body .elementor-element-e542821 .elementor-widget-text-editor p {
    text-align: left !important;
  }
  body .elementor-element-e542821 .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(1.75rem, 8.5vw, 2.55rem) !important;
    line-height: 1.08 !important;
  }
  /* Header line transparent over the hero (only the transparent state) */
  body .site-header:not(.is-solid) {
    border-bottom-color: transparent !important;
  }
}

@media (max-width: 390px) {
  body .elementor-element-bd573ae > .e-con-inner {
    padding-inline: 22px !important;
  }
  body .elementor-element-e542821 {
    padding: 0 !important;
  }
  body .elementor-element-e542821 .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(1.62rem, 7.8vw, 2.1rem) !important;
  }
}


body .t-page .prose{max-width:820px;}
body .t-page .prose h2{margin-top:1.7em;font-size:1.25rem;}
body .t-page .prose p{margin-bottom:1rem;color:var(--ink-soft,#4a525a);}

@media(max-width:768px){
  body .elementor-element-6f4ac6b{padding-top:24px!important;padding-bottom:32px!important;}
  body .elementor-element-6f4ac6b>.e-con-inner{padding-left:18px!important;padding-right:18px!important;gap:16px!important;}
}

/* Home (Elementor) side gutters on tablet/mobile — reuse theme --gutter (32px <=1100, 20px <=640). */
@media (max-width: 1100px) {
  .elementor-3151 > .elementor-section > .elementor-container,
  .elementor-3152 > .elementor-section > .elementor-container,
  .elementor-3151 > .e-con-boxed > .e-con-inner,
  .elementor-3152 > .e-con-boxed > .e-con-inner {
    padding-inline: var(--gutter, 24px) !important;
  }
}


/* Mobile: keep the WP admin bar pinned so the fixed header's 46px offset stays valid (no content peeking above the header). Admins only. */
@media screen and (max-width: 782px) {
  #wpadminbar { position: fixed !important; }
}


/* ===================== Mickey punch list — Jul 2026 ===================== */

/* ---- Mega menu: align to site container; darker copy, orange arrow ---- */
body .site-header .mega-inner {
  padding-inline: var(--gutter, 56px) !important;
  max-width: var(--container, 1920px) !important;
  width: 100% !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
body .site-header .mega-title {
  color: #14181c !important;
  font-weight: 600 !important;
}
body .site-header .mega-sub {
  color: #3d454d !important;
}
body .site-header .mega-link:hover .mega-title {
  color: var(--blue, #006ba9) !important;
}
body .site-header .mega-arrow {
  color: #5a636b !important;
}
body .site-header .mega-link:hover .mega-arrow {
  color: var(--orange, #fcac01) !important;
  transform: translate(3px, -3px) !important;
}

/* Descriptions: force wrap inside grid cells */
body .site-header .mega-link,
body .site-header .mega-title,
body .site-header .mega-sub {
  white-space: normal !important;
}
body .site-header .mega-sub {
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

@media (max-width: 1280px) {
  body .site-header .mega-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* ---- Hero: lighter overlay ---- */
body .elementor-element-bd573ae .elementor-background-overlay {
  background-image: linear-gradient(
    100deg,
    rgba(20, 25, 28, 0.78) 0%,
    rgba(13, 38, 58, 0.58) 46%,
    rgba(0, 107, 169, 0.22) 100%
  ) !important;
}
@media (min-width: 769px) {
  body .elementor-element-e542821 {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 760px !important;
  }
}

/* ---- Hero CTA: darker hover (padding/radius via snippet #34) ---- */
body .elementor-element-e542821 .elementor-button {
  transition: background-color 0.24s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.24s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}
body .elementor-element-e542821 .elementor-button:hover,
body .elementor-element-e542821 .elementor-button:focus {
  background-color: #e09700 !important;
  color: #1a1305 !important;
}

/* ---- Service cards: entire banner clickable ---- */
body .elementor-element-6f4ac6b > .e-con-inner > .elementor-element {
  position: relative !important;
  cursor: pointer !important;
}
body .elementor-element-6f4ac6b > .e-con-inner > .elementor-element .elementor-widget-heading .elementor-heading-title a {
  position: static !important;
}
body .elementor-element-6f4ac6b > .e-con-inner > .elementor-element .elementor-widget-heading .elementor-heading-title a::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
}

/* ---- References: David Lloyd logo (transparent PNG, no gray box) + purple hover ---- */
body .mtk-ref--davidlloyd .elementor-heading-title {
  position: relative !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  width: min(300px, 52vw) !important;
  height: 80px !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  overflow: hidden !important;
}
body .mtk-ref--davidlloyd .elementor-heading-title::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: url("https://matika.es/wp-content/uploads/2026/07/ref-david-lloyd.png") center / contain no-repeat !important;
  filter: grayscale(1) brightness(0.45) contrast(1.05) !important;
  opacity: 0.85 !important;
  transition: filter 0.24s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.24s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}
body .mtk-ref--davidlloyd:hover .elementor-heading-title::before {
  filter: none sepia(0.2) hue-rotate(250deg) saturate(1.4) !important;
  opacity: 1 !important;
}
body .mtk-marquee img[src*="ref-play-in"],
body .mtk-marquee img.mtk-ref-logo--playin,
body .mtk-marquee .mtk-ref--playin img.mtk-ref-logo {
  height: 58px !important;
  max-width: 200px !important;
}

/* ---- Intro band: contact form block (injected via PHP snippet #31) ---- */
body .mtk-intro-contact {
  background: #edf3f7 !important;
  padding-block: clamp(48px, 7vw, 80px) !important;
}
body .mtk-intro-contact .svc-contact-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  margin: 0 0 24px !important;
}
body .mtk-intro-contact .svc-contact-form {
  background: #fff !important;
  border: 1px solid var(--bg-line, #e6eaee) !important;
  border-radius: 6px !important;
  padding: clamp(24px, 4vw, 40px) !important;
  box-shadow: 0 8px 28px rgba(16, 24, 32, 0.06) !important;
}

/* ---- Contact page: form banner like service pages ---- */
body .elementor-element-55d0ae4,
body .t-contact .form-wrap,
body .svc-contact-form {
  background: #fff !important;
  border: 1px solid var(--bg-line, #e6eaee) !important;
  border-radius: 6px !important;
  padding: clamp(24px, 4vw, 40px) !important;
  box-shadow: 0 8px 28px rgba(16, 24, 32, 0.06) !important;
}

/* Matika — global CTA padding (ref: b19f101 "Bespreek uw project" — 15px 26px, 6px radius) */

body .elementor-button,
body .elementor-kit-324 input[type="button"],
body .elementor-kit-324 input[type="submit"],
body .elementor-kit-324 .elementor-button,
body .wpcf7 input[type="submit"],
body .wpcf7 button[type="submit"],
body .btn {
  padding: 15px 26px !important;
  border-radius: 6px !important;
  font-family: "Sora", system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Theme header/drawer controls — never treat as CTAs */
body .site-header .icon-btn,
body .drawer .drawer-close,
body .drawer .drawer-back {
  padding: unset !important;
  border-radius: unset !important;
  font-size: unset !important;
  font-weight: unset !important;
  line-height: unset !important;
}

/* Diensten drill-down: theme drawer-link padding, not CTA padding */
body .drawer .drawer-link.has-sub {
  padding: 16px 4px !important;
  border-radius: unset !important;
  font-family: var(--font-head, "Sora", system-ui, sans-serif) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  line-height: unset !important;
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: space-between !important;
}

/* Keep icon controls centred after global button flex reset */
body .site-header .icon-btn,
body .drawer .drawer-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

body .site-header .hamburger {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Hamburger: mobile only (desktop has nav-desktop) */
@media (min-width: 1041px) {
  body .site-header .hamburger {
    display: none !important;
  }
}
@media (max-width: 1040px) {
  body .site-header .hamburger {
    display: flex !important;
  }
}


/* Mobile UX fix — Jul 2026: header bar layout, drawer white bg, service-card hit area */

@media (max-width: 1040px) {
  /* Keep logo + actions visible; prevent flex squeeze showing only NL/EN */
  body .site-header .container.bar {
    gap: 10px !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  body .site-header .brand {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
    max-width: calc(100% - 168px) !important;
  }
  body .site-header .brand .logo {
    display: block !important;
    height: 50px !important;
    width: auto !important;
    max-width: 100% !important;
  }
  body .site-header .actions {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    gap: 6px !important;
  }
  body .site-header .icon-btn,
  body .site-header .hamburger {
    flex-shrink: 0 !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Brand above overlaps; keep logos painted */
  body .site-header .brand {
    position: relative !important;
    z-index: 2 !important;
  }
  body .site-header .brand .logo {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Solid white bar when drawer open (dark logo needs contrast) */
  body .site-header.is-open,
  body .site-header.is-open.is-solid {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: saturate(160%) blur(12px) !important;
    -webkit-backdrop-filter: saturate(160%) blur(12px) !important;
    border-bottom-color: var(--bg-line, #e6eaee) !important;
    box-shadow: 0 4px 20px rgba(16, 24, 32, 0.08) !important;
  }
  body .site-header.is-open .icon-btn {
    color: var(--ink, #202428) !important;
  }
  body .site-header.is-open .lang-switch {
    border-color: var(--bg-line, #e6eaee) !important;
  }
  body .site-header.is-open .lang-link {
    color: var(--ink-soft, #3d454d) !important;
  }
  body .site-header.is-open .hamburger {
    border-color: var(--bg-line, #e6eaee) !important;
  }
  body .site-header.is-open .hamburger span {
    background: var(--ink, #202428) !important;
  }

  /* Hamburger: flex-centred 3-line stack + X (nth-of-type — whitespace text nodes break nth-child) */
  body .site-header .hamburger {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  body .site-header .hamburger span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    flex: 0 0 2px !important;
    margin: 0 !important;
    border-radius: 2px !important;
  }
  body .site-header .hamburger.is-active span:nth-of-type(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }
  body .site-header .hamburger.is-active span:nth-of-type(2) {
    opacity: 0 !important;
  }
  body .site-header .hamburger.is-active span:nth-of-type(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  /* White logo on hero; dark logo when header is solid */
  body .site-header:not(.is-solid) .logo-on-dark {
    display: block !important;
  }
  body .site-header:not(.is-solid) .logo-on-light {
    display: none !important;
  }
  body .site-header.is-solid .logo-on-dark {
    display: none !important;
  }
  body .site-header.is-solid .logo-on-light {
    display: block !important;
  }

  /* Drawer above Elementor overlays — opaque white (not transparent/dark) */
  body .drawer,
  body .drawer.is-open {
    background: #fff !important;
    background-color: #fff !important;
    z-index: 99998 !important;
  }
  body .drawer.is-open {
    opacity: 1 !important;
    visibility: visible !important;
  }
  body .drawer .drawer-top {
    background: #fff !important;
    background-color: #fff !important;
  }
  body .site-header.is-open {
    z-index: 99999 !important;
  }

  /* Drawer drill-down: one panel at a time (full slide, not -28% peek) */
  body .drawer .drawer-panels {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: #fff !important;
  }
  body .drawer .panel {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    background: #fff !important;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  }
  body .drawer .panel-root {
    transform: translateX(0) !important;
    z-index: 1 !important;
    pointer-events: auto !important;
  }
  body .drawer .panel-sub {
    transform: translateX(100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }
  body .drawer .drawer-panels.view-diensten .panel-root {
    transform: translateX(-100%) !important;
    pointer-events: none !important;
  }
  body .drawer .drawer-panels.view-diensten .panel-sub {
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }

  /* Links readable on white drawer */
  body .drawer .drawer-link,
  body .drawer .drawer-link.has-sub {
    color: var(--ink, #202428) !important;
  }
  body .drawer .drawer-link svg {
    color: var(--ink-mute, #6b7680) !important;
  }
  body .drawer .drawer-back {
    color: var(--blue, #006ba9) !important;
  }

  /* Diensten button: match anchor drawer-link tap height (16px 4px) */
  body .drawer button.drawer-link,
  body .drawer button.drawer-link.has-sub {
    padding: 16px 4px !important;
    font-family: var(--font-head, "Sora", system-ui, sans-serif) !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    line-height: unset !important;
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
  }
}

@media (max-width: 390px) {
  body .site-header .brand {
    max-width: calc(100% - 154px) !important;
  }
  body .site-header .brand .logo {
    height: 44px !important;
  }
  body .site-header .actions {
    gap: 4px !important;
  }
}

/* Service cards: entire card receives taps (Mickey #30) */
body .elementor-element-6f4ac6b > .e-con-inner > .elementor-element {
  cursor: pointer !important;
}
body .elementor-element-6f4ac6b > .e-con-inner > .elementor-element .elementor-widget-image,
body .elementor-element-6f4ac6b > .e-con-inner > .elementor-element .elementor-widget-text-editor,
body .elementor-element-6f4ac6b > .e-con-inner > .elementor-element .elementor-widget-heading {
  pointer-events: none !important;
}
body .elementor-element-6f4ac6b > .e-con-inner > .elementor-element .elementor-widget-heading .elementor-heading-title a {
  pointer-events: auto !important;
}


/* ===== References carousel — uniform logo cells, equal gap, lighter grayscale ===== */

/* Uniform frame per item (identical box for every logo/name) */
body .elementor-element-7166fcf > .e-con > .e-con > *{
  width:172px !important;
  height:84px !important;
  margin-right:56px !important;
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Every logo fills the SAME 172x80 cell via contain -> equal visual size */
body .elementor-element-7166fcf .mtk-ref-logo,
body .elementor-element-7166fcf .mtk-ref-logo > .elementor-widget-container,
body .elementor-element-7166fcf .mtk-ref-logo .elementor-image,
body .elementor-element-7166fcf .mtk-ref-logo figure{
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
body .elementor-element-7166fcf .mtk-ref-logo img{
  width:100% !important;
  height:80px !important;
  max-width:100% !important;
  object-fit:contain !important;
  filter:grayscale(1) !important;
  opacity:.7 !important;
  transition:filter .25s ease, opacity .25s ease !important;
}
@media (hover:hover){
  body .elementor-element-7166fcf .mtk-ref-logo:hover img{ filter:none !important; opacity:1 !important; }
}

/* Text refs (e.g. Club Pellikaan) = visible text in the frame */
body .elementor-element-7166fcf .mtk-ref:not(.mtk-ref--davidlloyd) .elementor-heading-title{
  font-size:1.35rem !important;
  white-space:nowrap;
  color:#6b747d !important;
  transition:color .25s ease;
}
@media (hover:hover){
  body .elementor-element-7166fcf .mtk-ref:not(.mtk-ref--davidlloyd):hover .elementor-heading-title{ color:#202428 !important; }
}

/* David Lloyd = transparent-PNG logo filling the SAME cell; lighter grayscale; PURPLE on hover (exact #5a2d8a via mask) */
body .elementor-element-7166fcf .mtk-ref--davidlloyd .elementor-heading-title{
  font-size:0 !important;
  color:transparent !important;
  width:100% !important;
  height:80px !important;
  margin:0 !important;
  position:relative !important;
  overflow:hidden !important;
}
body .elementor-element-7166fcf .mtk-ref--davidlloyd .elementor-heading-title::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:url("https://matika.es/wp-content/uploads/2026/07/ref-david-lloyd.png") center/contain no-repeat !important;
  filter:grayscale(1) !important;
  opacity:.7 !important;
  transition:opacity .25s ease !important;
}
@media (hover:hover){
  body .elementor-element-7166fcf .mtk-ref--davidlloyd:hover .elementor-heading-title::before{
    background:#5a2d8a !important;
    -webkit-mask:url("https://matika.es/wp-content/uploads/2026/07/ref-david-lloyd.png") center/contain no-repeat !important;
    mask:url("https://matika.es/wp-content/uploads/2026/07/ref-david-lloyd.png") center/contain no-repeat !important;
    filter:none !important;
    opacity:1 !important;
  }
}

/* Shell: wider cell to fit the wordmark label under the pecten logo (both copies) */
body .elementor-element-7166fcf .elementor-element-e5db05c,
body .elementor-element-7166fcf .elementor-element-c09df67{
  flex-direction:column !important;
  gap:6px !important;
  width:200px !important;
  height:auto !important;
}
body .elementor-element-7166fcf .elementor-element-e5db05c .mtk-ref-logo img,
body .elementor-element-7166fcf .elementor-element-c09df67 .mtk-ref-logo img{
  height:64px !important;
}
body .elementor-element-7166fcf .elementor-element-e5db05c::after,
body .elementor-element-7166fcf .elementor-element-c09df67::after{
  content:"Shell Nederland Raffinaderij";
  font-family:'Inter',system-ui,sans-serif;
  font-size:.72rem;
  line-height:1.1;
  letter-spacing:.01em;
  color:#6b747d;
  white-space:nowrap;
  text-align:center;
}


/* ===== Service detail — new layout (overlay hero + intro photo + form) ===== */

/* Hero: single column, title over the landscape photo */
body.single-service .elementor-element-svctplhero > .e-con-inner{
  display:block !important;
  grid-template-columns:none !important;
  max-width:var(--container,1920px) !important;
  margin-inline:auto !important;
}
body.single-service .elementor-element-svctplhero .elementor-heading-title{
  max-width:20ch !important;
}

/* Intro: bold subtitle + text | smaller photo beside it (desktop) */
@media(min-width:768px){
  body.single-service .elementor-element-svctplintro > .e-con-inner{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:flex-start !important;
    gap:clamp(32px,4vw,56px) !important;
    grid-template-columns:none !important;
  }
  body.single-service .elementor-element-svctplintro > .e-con-inner > .e-con:first-child{
    width:58% !important; max-width:58% !important; min-width:0 !important; flex:0 0 58% !important;
  }
  body.single-service .elementor-element-svctplintro > .e-con-inner > .e-con:last-child{
    width:42% !important; max-width:42% !important; min-width:0 !important; flex:0 0 42% !important;
    position:sticky; top:calc(var(--header-h,104px) + 24px);
  }
}
body.single-service .elementor-element-svctplintro .elementor-widget-heading .elementor-heading-title{
  font-weight:800 !important;
}
body.single-service .elementor-element-svctplintro .elementor-widget-image img{
  width:100% !important; height:auto !important; display:block; border-radius:8px !important;
  box-shadow:0 18px 44px rgba(16,24,32,.12);
}

/* Contact form: centered heading + boxed card (out-specify #15) */
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent.elementor-element-svctplcontact > .e-con-inner{
  max-width:780px !important; margin-inline:auto !important; padding-inline:0 !important;
}
body.single-service .elementor-element-svctplcontact .elementor-widget-heading .elementor-heading-title{
  text-align:center !important;
}
body.single-service .elementor-element-svctplcontact .elementor-widget-shortcode{
  background:#fff; border:1px solid var(--bg-line,#e6eaee); border-radius:14px;
  box-shadow:0 20px 50px rgba(16,24,32,.08); padding:clamp(24px,4vw,44px); margin-top:22px;
}


/* ============ Contactformulier — breder + gecentreerd (Jul 2026) ============
   Out-specificeert de smalle caps: #15 (.svc-contact-form 720px) en
   #43 (.elementor-element-svctplcontact > .e-con-inner 780px).
   Geldt voor: dienst-detail (Elementor), home-intro en over-ons.
   Contactpagina blijft ongemoeid (formulier staat daar naast de kaart). */

:root {
  --mtk-form-w: 1400px;
}

/* ---- Dienst-detailpagina's: sectie-inner op volle breedte, gecentreerd ---- */
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent.elementor-element-svctplcontact > .e-con-inner {
  max-width: var(--mtk-form-w) !important;
  width: 100% !important;
  margin-inline: auto !important;
  align-items: stretch !important;
}

/* Child-container op volle breedte. De generieke dienst-body-regel
   (.e-parent:not(:first-child):not(:has(...)):not(:has(...)) > .e-con-inner > .e-con)
   zet child-containers op 50%; die telt 10 classes, dus deze selector moet
   er minstens evenveel hebben om te winnen. */
body.single-service .elementor[data-elementor-post-type="service"] > .e-con.e-parent.e-con-boxed.e-flex.elementor-element-svctplcontact > .e-con-inner > .e-con.e-child.e-con-full.e-flex {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  --width: 100% !important;
  flex: 1 1 100% !important;
  margin-inline: auto !important;
}

/* Widgets mogen niet naar hun inhoud krimpen */
body.single-service .elementor-element-svctplcontact .elementor-widget-heading,
body.single-service .elementor-element-svctplcontact .elementor-widget-shortcode,
body.single-service .elementor-element-svctplcontact .elementor-shortcode,
body.single-service .elementor-element-svctplcontact .wpcf7,
body.single-service .elementor-element-svctplcontact .wpcf7-form {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-self: stretch !important;
  --width: 100% !important;
  margin-inline: auto !important;
}

/* ---- Theme-CTA (home-intro, over-ons, fallback dienstpagina's) ---- */
body .svc-contact .svc-contact-form,
body .mtk-intro-contact .svc-contact-form {
  max-width: var(--mtk-form-w) !important;
  width: 100% !important;
  margin-inline: auto !important;
}
body .svc-contact .svc-contact-form .wpcf7,
body .svc-contact .svc-contact-form .wpcf7-form {
  width: 100% !important;
  max-width: 100% !important;
}

/* ---- Velden vullen de bredere kaart ---- */
body .svc-contact .wpcf7-form input[type="text"],
body .svc-contact .wpcf7-form input[type="email"],
body .svc-contact .wpcf7-form input[type="tel"],
body .svc-contact .wpcf7-form select,
body .svc-contact .wpcf7-form textarea,
body .elementor-element-svctplcontact .wpcf7-form input[type="text"],
body .elementor-element-svctplcontact .wpcf7-form input[type="email"],
body .elementor-element-svctplcontact .wpcf7-form input[type="tel"],
body .elementor-element-svctplcontact .wpcf7-form select,
body .elementor-element-svctplcontact .wpcf7-form textarea {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
body .svc-contact .wpcf7-form label,
body .elementor-element-svctplcontact .wpcf7-form label,
body .svc-contact .wpcf7-form .wpcf7-form-control-wrap,
body .elementor-element-svctplcontact .wpcf7-form .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* ---- Twee kolommen vanaf desktop zodat de brede kaart in balans blijft ---- */
@media (min-width: 900px) {
  body .svc-contact .wpcf7-form,
  body .elementor-element-svctplcontact .wpcf7-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
    align-items: start !important;
  }

  /* Rijen over de volle breedte */
  body .svc-contact .wpcf7-form > .hidden-fields-container,
  body .svc-contact .wpcf7-form > .mtk-form-intro,
  body .svc-contact .wpcf7-form > .wpcf7-response-output,
  body .svc-contact .wpcf7-form > p:has(textarea),
  body .svc-contact .wpcf7-form > p:has(input[type="submit"]),
  body .elementor-element-svctplcontact .wpcf7-form > .hidden-fields-container,
  body .elementor-element-svctplcontact .wpcf7-form > .mtk-form-intro,
  body .elementor-element-svctplcontact .wpcf7-form > .wpcf7-response-output,
  body .elementor-element-svctplcontact .wpcf7-form > p:has(textarea),
  body .elementor-element-svctplcontact .wpcf7-form > p:has(input[type="submit"]) {
    grid-column: 1 / -1 !important;
  }

  body .svc-contact .wpcf7-form > p,
  body .elementor-element-svctplcontact .wpcf7-form > p {
    margin-block: 0 16px !important;
    min-width: 0 !important;
  }
}


/* ====== Referentie-logo's — optisch gelijke grootte (Jul 2026) ======
   Probleem: alle cellen waren 172x80 met object-fit:contain, maar de PNG's
   hebben heel verschillende hoeveelheden transparante rand. Gemeten ink-box:
     broekman    516x144  ink 516x144   (geen rand)
     shell       320x297  ink 316x293   (geen rand)
     cannibale   512x512  ink 430x512   (zijkanten)
     norlandia  4800x1500 ink 4099x1254 (rondom)
     play-in     500x500  ink 496x133   (184 boven / 183 onder)
     david-lloyd 384x320  ink 320x90    (73 boven / 157 onder)
   Daardoor werden Play-In en David Lloyd minuscuul.

   Oplossing: per logo een hoogte die de rand compenseert, zodat de zichtbare
   merk-hoogte overal gelijk uitkomt. Brede wordmarks krijgen bewust iets
   minder hoogte dan vierkante merken (basis h = 40 * (3.5 / inkAR)^0.35),
   daarna visueel bijgesteld voor massieve merken (Cannibale, Shell).
   Negatieve marges vangen de resterende transparante rand op zodat de
   tussenruimte klopt. Selectors op [src*=...] zodat ze ook gelden voor de
   marquee-klonen. */

body .elementor-element-7166fcf .mtk-ref-logo img,
body .mtk-marquee img.mtk-ref-logo,
body .mtk-ref-logo img {
  width: auto !important;
  height: 44px !important;
  max-width: none !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

/* Volle-bleed wordmarks */
body .elementor-element-7166fcf .mtk-ref-logo img[src*="ref-broekman"],
body .mtk-ref-logo img[src*="ref-broekman"] {
  height: 40px !important;
}
body .elementor-element-7166fcf .mtk-ref-logo img[src*="ref-wj-vastgoed"],
body .mtk-ref-logo img[src*="ref-wj-vastgoed"] {
  height: 34px !important;
}

/* Vierkante/hoge merken: lagere hoogte dan een wordmark bij gelijk gewicht */
body .elementor-element-7166fcf .mtk-ref-logo img[src*="ref-shell"],
body .mtk-ref-logo img[src*="ref-shell"] {
  height: 56px !important;
}
body .elementor-element-7166fcf .mtk-ref-logo img[src*="ref-cannibale"],
body .mtk-ref-logo img[src*="ref-cannibale"] {
  height: 46px !important;
  margin-inline: -4px !important;
}

/* Met transparante rand: hoogte opgeschaald, rand weggemarge'd */
body .elementor-element-7166fcf .mtk-ref-logo img[src*="ref-norlandia"],
body .mtk-ref-logo img[src*="ref-norlandia"] {
  height: 54px !important;
  margin-block: -5px !important;
  margin-inline: -13px !important;
}
body .elementor-element-7166fcf .mtk-ref-logo img[src*="ref-play-in"],
body .mtk-ref-logo img[src*="ref-play-in"] {
  height: 147px !important;
  margin-block: -54px !important;
}

/* David Lloyd is geen <img> maar een achtergrond op ::before van de heading.
   Ink zit boven het canvasmidden (73 boven / 157 onder), dus naast een
   grotere background-size ook een verticale correctie. */
body .elementor-element-7166fcf .mtk-ref--davidlloyd .elementor-heading-title::before {
  background-size: auto 141px !important;
  background-position: center -12px !important;
}
@media (hover: hover) {
  body .elementor-element-7166fcf .mtk-ref--davidlloyd:hover .elementor-heading-title::before {
    -webkit-mask-size: auto 141px !important;
    mask-size: auto 141px !important;
    -webkit-mask-position: center -12px !important;
    mask-position: center -12px !important;
  }
}

/* Cellen mogen meebewegen met de logobreedte i.p.v. een vaste 172px */
body .elementor-element-7166fcf .mtk-ref-logo,
body .elementor-element-7166fcf .mtk-ref-logo > .elementor-widget-container,
body .elementor-element-7166fcf .mtk-ref-logo .elementor-image,
body .elementor-element-7166fcf .mtk-ref-logo figure {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}

/* ---- Marquee-loop: schuif precies één set op i.p.v. -50% van de track ----
   -50% klopt alleen bij een even aantal sets en zonder flex-gap; snippet #44
   zet --mtk-marquee-shift op de gemeten setbreedte. Fallback blijft 50%. */
@keyframes mtk-marquee-set {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--mtk-marquee-shift, 50%))); }
}
body .elementor-element-refs-track,
body .mtk-marquee .mtk-marquee-track {
  animation-name: mtk-marquee-set !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
}

