/*
Theme Name: MZK Logistics
Author: UnoWeb
Author URI: https://unoweb.nl/
Description: Een responsive WordPress-thema voor MAZAKA Logistics.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mzk-logistics
*/

@font-face {
  font-family: Inter;
  src: url('assets/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow-condensed-800.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --red: #be2234;
  --red-dark: #991a2a;
  --ink: #191a1e;
  --muted: #565860;
  --paper: #f5f5f4;
  --line: #dedfe2;
  --display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #216cac; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { z-index: 20; top: 12px; left: 12px; width: auto; height: auto; clip-path: none; padding: 10px 16px; background: #fff; }

.topbar { background: #202126; color: #e7e7eb; font-size: 12px; }
.topbar-inner, .topbar-links { display: flex; gap: 25px; align-items: center; }
.topbar-inner { justify-content: space-between; min-height: 37px; }
.topbar-location span { color: #ff7783; padding-inline: 4px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: relative; z-index: 2; background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 24px; }
.brand { flex: 0 0 auto; }
.brand img { width: 178px; max-height: 65px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(13px, 1.7vw, 26px); font-size: 14px; font-weight: 700; }
.main-menu-list, .main-menu-list ul, .footer-menu-list, .footer-menu-list ul { list-style: none; padding: 0; margin: 0; }
.main-menu-list { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(10px, 1.7vw, 26px); }
.main-menu-list li { position: relative; }
.main-menu-list a { display: inline-block; text-decoration: none; padding-block: 12px; }
.main-menu-list a:hover, .main-menu-list .current-menu-item > a, .main-menu-list .current-menu-ancestor > a, .submenu-toggle:hover { color: var(--red-dark); }
.submenu-toggle { display: inline-grid; place-items: center; width: 23px; min-height: 32px; margin-left: 1px; vertical-align: middle; border: 0; background: none; color: inherit; }
.chevron { width: 7px; height: 7px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.is-expanded > .submenu-toggle .chevron { transform: rotate(225deg); margin-top: 4px; }
.main-menu-list .sub-menu { display: none; position: absolute; top: 100%; left: -12px; min-width: 225px; padding: 6px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 12px 28px #16161a20; }
.main-menu-list .sub-menu .sub-menu { top: -7px; left: auto; right: calc(100% + 5px); }
.main-menu-list .sub-menu a { padding: 9px 11px; }
.main-menu-list .sub-menu a:hover, .main-menu-list .sub-menu a[aria-current='page'] { background: var(--paper); }
.main-menu-list .is-expanded > .sub-menu,
.header-inner:not(.has-toggle) .main-menu-list li:hover > .sub-menu,
.header-inner:not(.has-toggle) .main-menu-list li:focus-within > .sub-menu { display: block; }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 49px; padding: 11px 19px; border: 1px solid transparent; background: var(--red); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.3; transition: background-color .18s, border-color .18s; }
.button:hover { background: var(--red-dark); }
.button span { font-size: 1.1rem; line-height: 1; }
.arrow-out { position: relative; display: inline-block; flex: 0 0 11px; width: 11px; height: 11px; }
.arrow-out::before { content: ''; position: absolute; top: 0; right: 0; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow-out::after { content: ''; position: absolute; top: 0; right: 1px; width: 11px; height: 1.5px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.nav-action { flex-shrink: 0; min-height: 43px; padding-inline: 15px; }
.button-outline { border-color: #ffffff85; background: #18191e40; }
.button-outline:hover { border-color: #fff; background: #18191ea0; }
.button-white { background: #fff; color: var(--red-dark); }
.button-white:hover { background: #f5e5e7; }

.hero { color: #fff; background: #23262b; position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .hero::after { position: absolute; inset: 0; content: ''; z-index: -1; }
.hero::before { background: var(--mzk-hero-image, url('assets/hero.webp')) center 57% / cover no-repeat; }
.hero::after { background: linear-gradient(90deg, #16171df2 0%, #191a20db 25%, #1b1c2292 44%, #18191e12 73%), linear-gradient(0deg, #15161b2a, transparent 45%); }
.hero-inner { min-height: clamp(485px, 41vw, 610px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 68px 74px; }
.section-label { display: flex; align-items: center; gap: 10px; color: var(--red-dark); font-size: 12px; line-height: 1.25; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.section-label::before { width: 29px; height: 2px; background: currentColor; content: ''; }
.hero .section-label { color: #ff8b97; margin-bottom: 13px; }
.hero h1, .page-hero h1 { font: 800 clamp(3.8rem, 6.4vw, 6.25rem)/.93 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.hero h1 { max-width: 650px; text-wrap: balance; }
.hero-intro { max-width: 455px; color: #f1f1f3; margin-top: 24px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }

.highlights { color: #fff; background: #222329; border-bottom: 3px solid var(--red); }
.highlights-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; padding: 22px 0; margin-block: 0; }
.highlights li { border-left: 2px solid #e04b59; padding-left: 13px; }
.highlights strong, .highlights li > span { display: block; }
.highlights strong { line-height: 1.3; font-size: 15px; }
.highlights li > span { color: #d3d4da; font-size: 13px; }

.section { padding-block: clamp(52px, 6vw, 94px); }
.section-light { background: var(--paper); }
.section-heading { margin-bottom: 29px; }
.section-heading h2, .about-copy h2, .contact-banner h2, .contact-form h2, .contact-details h2 {
  font: 800 clamp(2.5rem, 4.1vw, 4rem)/.98 var(--display);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.section-heading p { margin-top: 11px; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.service-card { background: #fff; border: 1px solid var(--line); }
.service-card-link { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.service-card-link:hover .text-link { text-decoration: underline; }
.service-image { width: 100%; aspect-ratio: 1.72; object-fit: cover; }
.service-card-copy { display: flex; flex: 1; flex-direction: column; padding: 22px 21px 24px; border-top: 3px solid var(--red); }
.service-card h3 { font: 800 clamp(1.65rem, 2.4vw, 2.2rem)/1 var(--display); text-transform: uppercase; }
.service-card p { flex: 1; margin: 10px 0 17px; font-size: 14px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--red-dark); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { font-size: 1.12rem; line-height: 1; }

.about-split { display: grid; grid-template-columns: 1fr .93fr; gap: clamp(34px, 7vw, 105px); align-items: center; }
.about-image { background: var(--red); padding: 0 0 8px 8px; }
.about-image img { width: 100%; aspect-ratio: 1.3; object-fit: cover; object-position: 50% 45%; }
.about-copy .section-label { margin-bottom: 13px; }
.about-copy h2 { margin: 0 0 15px; }
.about-copy .text-link { margin-top: 8px; }
.contact-banner { padding-block: 38px; background: var(--red); color: #fff; }
.contact-banner-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; }
.contact-banner h2 { font-size: clamp(2.2rem, 3.4vw, 3.25rem); }
.contact-banner p { margin-top: 7px; }
.contact-banner .button { flex-shrink: 0; }

.site-footer { background: #222329; color: #dddde1; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 32px; padding-block: 51px 37px; }
.footer-main > div > a, .footer-menu-list a { display: block; width: fit-content; line-height: 1.5; margin-top: 7px; text-decoration: none; }
.footer-menu-list ul { padding-left: 14px; }
.footer-main a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-main h2 { color: #fff; font-size: 15px; }
.footer-main .footer-brand { margin: -6px 0 3px; color: #fff; font: 800 2.4rem/1 var(--display); }
.footer-brand span { color: #ff7d89; }
.footer-main p { margin-top: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-block: 16px; border-top: 1px solid #48494f; font-size: 12px; }
.footer-bottom a { font-weight: 700; color: #fff; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.page-hero { background: linear-gradient(90deg, #1d1e23 8%, #1d1e23f5 35%, #1d1e2370 100%), #23262b var(--mzk-hero-image, url('assets/hero.webp')) center 53% / cover no-repeat; color: #fff; padding-block: 34px 57px; border-bottom: 4px solid var(--red); }
.page-hero h1 { font-size: clamp(3.15rem, 5.4vw, 5.5rem); overflow-wrap: anywhere; }
.page-hero p { max-width: 610px; margin-top: 17px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 22px; font-size: 13px; color: #e9e9eb; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-hidden] { color: #ff8b97; }
.detail-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr); align-items: start; gap: clamp(28px, 6vw, 82px); }
.prose { color: var(--muted); overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol { margin-block: 0 16px; }
.prose h2, .prose h3, .prose h4 { margin: 26px 0 8px; color: var(--ink); line-height: 1.15; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { padding-inline-start: 2px; margin-bottom: 5px; }
.prose li blockquote { margin: 0; }
.prose li blockquote p { margin: 0; }
.prose strong { color: var(--ink); }
.prose .section-label { margin-bottom: 13px; }
.prose > h2 + p { margin-top: 11px; }
.detail-image { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.aside-card, .contact-form, .contact-details { border: 1px solid var(--line); padding: clamp(18px, 3vw, 34px); background: var(--paper); }
.aside-card { border-top: 3px solid var(--red); }
.aside-card h2 { margin-bottom: 10px; font-size: 1.2rem; }
.aside-card p { margin-bottom: 8px; }
.aside-card .text-link { display: flex; width: fit-content; margin-top: 7px; }
.generic-content { max-width: 900px; }
.standard-content > h1 { margin-bottom: 20px; color: var(--ink); font: 800 clamp(2.5rem, 4.1vw, 4rem)/1 var(--display); }
.contact-editor-content { margin-bottom: 18px; }
.generic-content article + article { margin-top: 33px; }
.homepage-content { padding-top: 0; }

.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 25px; }
.contact-details { border-top: 3px solid var(--red); }
.contact-form { background: #fff; scroll-margin-top: 20px; }
.contact-details h2, .contact-form h2 { font-size: clamp(2.15rem, 3vw, 3rem); }
.contact-details dt { margin-top: 13px; color: var(--muted); font-size: 13px; font-weight: 700; }
.contact-details dd { margin-left: 0; }
.contact-details dd a { text-decoration: none; overflow-wrap: anywhere; }
.contact-details dd a:hover { text-decoration: underline; }
.contact-form > p { margin-block: 12px 20px; color: var(--muted); }
.native-form { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: block; font-size: 14px; font-weight: 700; }
.contact-form input:not([type='submit'], [type='checkbox'], [type='radio'], [type='hidden']), .contact-form textarea, .contact-form select {
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #a6a7ac;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.native-form .button { justify-self: start; }
.contact-form .wpcf7 p + p { margin-top: 14px; }
.contact-form .wpcf7 input[type='submit'] { border: none; background: var(--red); color: #fff; padding: 10px 17px; cursor: pointer; font-weight: 700; }
.contact-form .wpcf7 input[type='submit']:hover { background: var(--red-dark); }
.contact-form .form-feedback { padding: 11px 13px; border-left: 3px solid; }
.form-feedback.is-success { background: #eaf3ed; color: #215e37; }
.form-feedback.is-error { background: #f9e9eb; color: #8d2132; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 56px); }
  .hero h1 { max-width: 540px; }
}

@media (max-width: 940px) {
  .header-inner { flex-wrap: wrap; min-height: 69px; gap: 0 15px; }
  .brand img { width: 151px; max-height: 54px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 7px 10px; min-height: 40px; }
  .menu-toggle-icon { width: 15px; height: 11px; border-block: 1.5px solid; position: relative; }
  .menu-toggle-icon::after { height: 1.5px; background: currentColor; content: ''; position: absolute; inset: 3.25px 0 auto; }
  .main-nav { flex-direction: column; align-items: stretch; gap: 0; width: 100%; border-top: 1px solid var(--line); padding: 7px 0 14px; }
  .has-toggle .main-nav:not(.is-open) { display: none; }
  .main-menu-list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-menu-list a { padding-block: 9px; }
  .main-menu-list .sub-menu { position: static; box-shadow: none; border: none; border-left: 2px solid var(--red); min-width: 0; padding-block: 0; }
  .main-menu-list .sub-menu a { padding: 7px 10px; }
  .header-inner:not(.has-toggle) .main-menu-list .sub-menu { display: block; }
  .submenu-toggle { width: 38px; min-height: 36px; }
  .nav-action { align-self: start; margin-top: 7px; }
  .hero-inner { min-height: 470px; }
  .hero::before { background-position: 60% 55%; }
  .hero::after { background: linear-gradient(90deg, #16171def 0%, #191a20ab 49%, #1b1c2234 100%); }
  .service-grid { gap: 13px; }
  .service-card-copy { padding: 16px 13px 19px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 34px); }
  .topbar-location { display: none; }
  .topbar-inner { min-height: 33px; }
  .topbar-links { width: 100%; justify-content: space-between; gap: 8px; }
  .hero-inner { min-height: 500px; padding-block: 106px 44px; justify-content: flex-end; }
  .hero h1 { font-size: clamp(3.55rem, 10vw, 4.7rem); text-wrap: wrap; }
  .hero::before { background-position: 65% 50%; }
  .hero::after { background: linear-gradient(0deg, #16171df7 1%, #18191de9 31%, #18191d85 66%, #191a2022 100%); }
  .hero-intro { margin-top: 17px; }
  .hero-actions { margin-top: 19px; }
  .button { gap: 7px; padding-inline: 12px; }
  .highlights-inner { gap: 9px; padding-block: 14px; }
  .highlights li { padding-left: 6px; }
  .highlights strong { font-size: 11px; }
  .highlights li > span { font-size: 10px; line-height: 1.3; margin-top: 3px; }
  .service-grid, .about-split, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 17px; }
  .service-image { aspect-ratio: 1.9; }
  .service-card-copy { padding: 17px 17px 20px; }
  .about-split { gap: 26px; }
  .about-image img { aspect-ratio: 1.5; }
  .contact-banner-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 23px 14px; padding-top: 33px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-main a { overflow-wrap: anywhere; }
  .page-hero { padding-block: 25px 39px; }
}

@media (max-width: 430px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
