/* =========================================================================
   KLEEV USA — main stylesheet
   ========================================================================= */
:root {
    --kl-orange: #f6a235;
    --kl-orange-dark: #e38f1f;
    --kl-dark: #1a1819;
    --kl-footer: #222222;
    --kl-navy: #0d3a4f;
    --kl-text: #7c858c;
    --kl-body: #5f676d;
    --kl-line: #e6e6e6;
    --kl-soft: #f1f1f1;
    --kl-white: #ffffff;
    --kl-container: 1200px;
    --kl-gutter: 20px;
    --kl-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --kl-head: "Roboto", "DM Sans", Arial, sans-serif;
    --kl-radius: 3px;
    --kl-header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--kl-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--kl-text);
    background: var(--kl-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
img { vertical-align: middle; }
a { color: var(--kl-orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--kl-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--kl-dark); font-family: var(--kl-font); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--kl-orange); outline-offset: 2px; }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
    clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; top: 8px; left: 8px;
    background: var(--kl-dark); color: #fff; padding: 10px 16px;
}
.kl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.kl-container { width: 100%; max-width: calc(var(--kl-container) + var(--kl-gutter) * 2); margin: 0 auto; padding: 0 var(--kl-gutter); }
.kl-section { padding: 100px 0; }
.kl-page { padding: 70px 0 90px; }

/* ---------- Buttons ---------- */
.kl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--kl-orange); color: #fff; border: 0; border-radius: var(--kl-radius);
    font-family: var(--kl-font); font-weight: 700; font-size: 14px; letter-spacing: .3px; text-transform: uppercase;
    padding: 16px 40px; cursor: pointer; transition: background .2s, color .2s, transform .2s; line-height: 1.2;
}
.kl-btn:hover { background: var(--kl-dark); color: #fff; }
.kl-btn--sm { padding: 12px 22px; font-size: 12.5px; }
.kl-btn--navy { background: var(--kl-navy); }
.kl-btn--navy:hover { background: var(--kl-dark); }

/* ---------- Headings ---------- */
.kl-label { font-weight: 700; color: var(--kl-orange); font-size: 16px; letter-spacing: .4px; margin: 0 0 6px; }
.kl-title { font-family: var(--kl-head); font-weight: 600; color: var(--kl-orange); font-size: clamp(32px, 4vw, 48px); line-height: 1.15; margin: 0 0 34px; }
.kl-heading { font-family: var(--kl-head); font-weight: 600; color: var(--kl-orange); text-transform: uppercase; text-align: center; font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 50px; }
.kl-heading--dm { font-family: var(--kl-font); font-weight: 700; text-transform: none; font-size: clamp(34px, 4.6vw, 58px); margin: 50px 0 40px; }
.kl-subheading { font-family: var(--kl-head); color: var(--kl-orange); font-size: 24px; margin: 40px 0 18px; }

/* =========================================================================
   Header
   ========================================================================= */
.kl-header { position: relative; z-index: 50; background: #fff; }
.kl-header__top { border-bottom: 1px solid #ececec; }
.kl-header__top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 20px; }
.kl-logo img { display: block; width: 166px; height: auto; }
.kl-header__info { display: flex; align-items: center; gap: 64px; }
.kl-header__mail { display: flex; align-items: center; gap: 14px; color: var(--kl-orange); line-height: 1.35; font-size: 15px; }
.kl-header__mail small { display: block; color: var(--kl-text); font-size: 14px; }
.kl-header__mail-icon { color: var(--kl-orange); display: inline-flex; }
.kl-header__mail-icon svg { width: 40px; height: 40px; }
.kl-header__mail:hover { color: var(--kl-dark); }

.kl-social { display: flex; gap: 22px; }
.kl-social a {
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    background: #000; color: #fff; border-radius: 4px; transition: background .2s;
}
.kl-social a:hover { background: var(--kl-orange); color: #fff; }

.kl-header__bar { background: #fff; transition: box-shadow .3s; }
.kl-header__bar-inner { display: flex; align-items: center; min-height: var(--kl-header-h); gap: 24px; }
.kl-logo--sticky { display: none; }
.kl-header__actions { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.kl-search-toggle { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--kl-dark); display: inline-flex; }
.kl-search-toggle svg { width: 24px; height: 24px; }
.kl-search-toggle:hover { color: var(--kl-orange); }
.kl-header__quote { padding: 13px 18px; font-size: 12px; }
.kl-nav__close { display: none; }
.kl-burger { display: none; background: none; border: 0; padding: 6px; color: var(--kl-dark); cursor: pointer; }

.kl-search { background: #fff; border-top: 1px solid #eee; padding: 16px 0; box-shadow: 0 10px 20px rgba(0,0,0,.06); }
.kl-searchform { display: flex; max-width: 640px; margin: 0 auto; border: 1px solid #ddd; border-radius: var(--kl-radius); overflow: hidden; }
.kl-searchform input { flex: 1; border: 0; padding: 12px 16px; outline: none; color: var(--kl-dark); background: #fff; min-width: 0; }
.kl-searchform button { border: 0; background: var(--kl-orange); color: #fff; padding: 0 18px; cursor: pointer; }
.kl-searchform button:hover { background: var(--kl-dark); }

/* Sticky (compact) header after scrolling */
.kl-header.is-stuck .kl-header__bar { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 6px 24px rgba(0,0,0,.08); animation: kl-drop .35s ease; }
.admin-bar .kl-header.is-stuck .kl-header__bar { top: 32px; }
.kl-header.is-stuck .kl-logo--sticky { display: block; margin-right: 16px; }
.kl-header.is-stuck .kl-logo--sticky img { width: 132px; }
@keyframes kl-drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Main menu ---------- */
.kl-nav { flex: 0 1 auto; }
.kl-menu, .kl-menu ul { list-style: none; margin: 0; padding: 0; }
.kl-menu { display: flex; align-items: center; gap: 4px 34px; flex-wrap: wrap; }
.kl-menu > li { position: relative; }
.kl-menu > li > a, .kl-menu > li > .menu-label {
    display: inline-flex; align-items: center; gap: 6px; color: var(--kl-dark);
    font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .1px;
    padding: 28px 0; line-height: 1.2; cursor: pointer;
}
.kl-menu > li > a .kl-icon, .kl-menu > li > .menu-label .kl-icon { width: 12px; height: 12px; opacity: .8; }
.kl-menu > li:hover > a, .kl-menu > li.is-current > a, .kl-menu > li.current-menu-item > a { color: var(--kl-orange); }
.submenu-toggle { display: none; }

/* Simple dropdown (Catalogue) */
.kl-menu > li > .sub-menu {
    position: absolute; top: 100%; left: -18px; min-width: 250px; background: #fff;
    box-shadow: 0 14px 40px rgba(0,0,0,.12); padding: 14px 0; border-top: 2px solid var(--kl-orange);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s;
}
.kl-menu > li:hover > .sub-menu, .kl-menu > li:focus-within > .sub-menu, .kl-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.kl-menu > li:not(.mega) .sub-menu a { display: block; padding: 8px 22px; font-size: 13px; text-transform: uppercase; color: var(--kl-dark); line-height: 1.4; }
.kl-menu > li:not(.mega) .sub-menu a:hover { color: var(--kl-orange); background: #fafafa; }
.kl-menu > li:not(.mega) .sub-menu .sub-menu { padding-left: 12px; }

/* Mega menu (Products) */
.kl-menu > li.mega { position: static; }
.kl-menu > li.mega > .sub-menu {
    left: 50%; right: auto; width: min(1200px, calc(100vw - 40px)); transform: translate(-50%, 10px);
    display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 34px 32px 30px; gap: 0;
}
.kl-header__bar-inner { position: relative; }
.kl-menu > li.mega:hover > .sub-menu, .kl-menu > li.mega:focus-within > .sub-menu, .kl-menu > li.mega.is-open > .sub-menu { transform: translate(-50%, 0); }
.kl-menu li.mega > .sub-menu > li { padding: 0 26px; border-left: 1px solid #f0f0f0; }
.kl-menu li.mega > .sub-menu > li:first-child { border-left: 0; padding-left: 0; }
.kl-menu li.mega > .sub-menu > li > a, .kl-menu li.mega > .sub-menu > li > .menu-label {
    display: block; font-family: var(--kl-head); font-weight: 500; font-size: 18px; text-transform: uppercase;
    color: var(--kl-orange); margin: 0 0 14px; padding: 0;
}
.kl-menu li.mega .depth-2 > li { break-inside: avoid; margin: 0 0 14px; }
.kl-menu li.mega-split > .sub-menu { columns: 2; column-gap: 40px; }
.kl-menu li.mega .depth-2 > li > a, .kl-menu li.mega .depth-2 > li > .menu-label {
    display: block; border-left: 4px solid var(--kl-orange); padding: 0 0 0 10px; line-height: 1.25;
    font-weight: 700; font-size: 14px; color: var(--kl-dark); text-transform: uppercase;
}
.kl-menu li.mega .depth-2 > li > a:hover { color: var(--kl-orange); }
.kl-menu li.mega .depth-3 { margin: 8px 0 0; }
.kl-menu li.mega .depth-3 a {
    display: block; position: relative; padding: 2px 0 2px 14px; font-size: 12.5px; text-transform: uppercase; color: #555; line-height: 1.55;
}
.kl-menu li.mega .depth-3 a::before { content: ""; position: absolute; left: 1px; top: 8px; border: 4px solid transparent; border-left: 5px solid #999; }
.kl-menu li.mega .depth-3 a:hover { color: var(--kl-orange); }
.kl-menu li.mega .depth-3 a:hover::before { border-left-color: var(--kl-orange); }

/* =========================================================================
   Home: slider
   ========================================================================= */
.kl-hero { position: relative; overflow: hidden; background: #111; height: clamp(240px, 44vw, 650px); }
.kl-hero__track { position: relative; height: 100%; }
.kl-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(6%); transition: opacity .8s ease, transform .9s ease, visibility .8s; }
.kl-slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 1; }
.kl-slide.is-leaving { transform: translateX(-6%); }
.kl-slide__img { width: 100%; height: 100%; object-fit: cover; }
.kl-slide__content { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.05) 70%); }
.kl-slide__title { color: #fff; font-family: var(--kl-font); font-weight: 700; font-size: clamp(30px, 5vw, 64px); max-width: 640px; margin: 0 0 28px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.kl-slide.is-active .kl-slide__title, .kl-slide.is-active .kl-btn { animation: kl-up .9s .25s both; }
.kl-slide.is-active .kl-btn { animation-delay: .45s; }
@keyframes kl-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.kl-hero__arrow {
    position: absolute; top: 50%; z-index: 3; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%;
    background: #fff; color: var(--kl-orange); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.2); transition: background .2s, color .2s;
}
.kl-hero__arrow:hover { background: var(--kl-orange); color: #fff; }
.kl-hero__arrow--prev { left: max(20px, calc(50% - 620px)); }
.kl-hero__arrow--next { right: max(20px, calc(50% - 620px)); }

/* =========================================================================
   Home + About: about block
   ========================================================================= */
.kl-about { padding: 120px 0 110px; }
.kl-about__inner { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 92px; align-items: start; }
.kl-about__media { position: relative; padding-bottom: 100px; }
.kl-about__vertical {
    position: absolute; left: -100px; top: 0; writing-mode: vertical-rl; font-family: var(--kl-head); font-weight: 700;
    font-size: 76px; letter-spacing: 24px; color: #f1ece8; line-height: 1; user-select: none; pointer-events: none; z-index: 0;
}
.kl-about__img1 { position: relative; z-index: 1; width: 100%; aspect-ratio: 520 / 595; background: #eee; overflow: hidden; }
.kl-about__img1 img, .kl-about__img2 img { width: 100%; height: 100%; object-fit: cover; }
.kl-about__bar { position: relative; z-index: 1; display: block; width: 133px; height: 18px; background: var(--kl-orange); margin-top: 20px; }
.kl-about__img2 {
    position: absolute; z-index: 2; right: 0; top: 360px; width: 69%; aspect-ratio: 358 / 337;
    border: 20px solid #fff; border-right: 0; border-bottom: 0; background: #ddd; overflow: hidden; box-sizing: content-box;
}
.kl-about__img2 { width: calc(69% - 20px); }
.kl-about__text { padding-top: 8px; }
.kl-about__text p { text-align: justify; color: var(--kl-text); }
.kl-about__text p.kl-label { color: var(--kl-orange); text-align: left; }
.kl-social a svg { width: 22px; height: 22px; }
.kl-about__text .kl-btn { margin-top: 18px; }
.kl-about--page { padding: 90px 0 60px; }
.kl-about__more { margin-top: 10px; }
.kl-about__more p, .kl-about--page .kl-about__text p { text-align: justify; }

/* =========================================================================
   Home: divisions + initiatives
   ========================================================================= */
.kl-divisions { padding: 30px 0 60px; }
.kl-divisions__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 46px 20px; }
.kl-division { flex: 0 0 calc((100% - 60px) / 4); max-width: 288px; text-align: center; }
.kl-division__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: #eee; }
.kl-division__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kl-division:hover .kl-division__img img { transform: scale(1.06); }
.kl-division__title { display: block; margin-top: 30px; font-family: var(--kl-head); font-weight: 600; font-size: 19px; text-transform: uppercase; color: var(--kl-orange); line-height: 1.3; }
.kl-division:hover .kl-division__title { color: var(--kl-dark); }

.kl-initiatives { background: var(--kl-dark); padding: 64px 0 70px; color: #fff; }
.kl-initiatives__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.kl-initiative { text-align: center; }
.kl-initiative__icon { display: inline-flex; color: var(--kl-orange); margin-bottom: 14px; }
.kl-initiative__icon svg { width: 64px; height: 64px; }
.kl-initiative__title { font-family: var(--kl-head); font-weight: 600; font-size: 25px; text-transform: uppercase; color: var(--kl-orange); margin: 0 0 18px; }
.kl-initiative p { color: #fff; font-size: 14.5px; line-height: 1.55; margin: 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.kl-footer { position: relative; }
.kl-cta-wrap { position: relative; background: linear-gradient(#fff 50%, var(--kl-footer) 50%); }
.kl-cta {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px;
    background: var(--kl-orange); padding: 54px 60px; min-height: 206px;
}
.kl-cta::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: -16px; height: 16px; background: #3a3a44; z-index: -1; }
.kl-cta-wrap .kl-container { position: relative; z-index: 1; }
.kl-cta__text { color: #fff; font-weight: 700; font-size: clamp(26px, 3vw, 37px); line-height: 1.22; max-width: 560px; margin: 0; }
.kl-cta .kl-btn { padding: 22px 34px; font-size: 14px; flex: 0 0 auto; }
.kl-footer__main { background: var(--kl-footer); color: #fff; padding: 110px 0 120px; }
.kl-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.kl-footer__col p { margin: 0 0 14px; font-size: 16px; font-weight: 500; line-height: 1.6; }
.kl-footer__col a { color: #fff; }
.kl-footer__col a:hover { color: var(--kl-orange); }
.kl-footer__logo { display: inline-block; margin-bottom: 18px; }
.kl-footer__logo img { width: 170px; }
.kl-footer__title { color: #fff; font-size: 26px; font-weight: 700; margin: 0 0 26px; display: flex; align-items: center; gap: 18px; }
.kl-footer__title::after { content: ""; width: 22px; height: 3px; background: var(--kl-orange); }
.kl-footer__links { list-style: none; margin: 0; padding: 0 0 0 20px; }
.kl-footer__links li { position: relative; padding-left: 16px; margin: 0 0 5px; font-size: 16px; font-weight: 500; }
.kl-footer__links li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; background: #8b8b8b; }
.kl-footer__muted { color: #9a9a9a !important; font-weight: 400 !important; font-size: 16px; }
.kl-newsletter { display: flex; max-width: 312px; background: #fff; border-radius: 3px; overflow: hidden; margin-top: 18px; }
.kl-newsletter input[type=email] { flex: 1; border: 0; padding: 14px 18px; color: var(--kl-dark); outline: none; min-width: 0; font-size: 15px; }
.kl-newsletter button { width: 52px; border: 0; background: var(--kl-orange); color: #fff; cursor: pointer; margin: 4px; border-radius: 3px; display: flex; align-items: center; justify-content: center; }
.kl-newsletter button:hover { background: var(--kl-dark); }
.kl-footer__ok { color: #9ee29e !important; }
.kl-footer__err { color: #ffb4a8 !important; }
.kl-footer__bottom { background: #fff; border-top: 1px solid var(--kl-orange); }
.kl-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 20px; }
.kl-footer__bottom p { margin: 0; font-size: 16px; color: var(--kl-text); }
.kl-footer__bottom .kl-social { gap: 30px; }
.kl-totop {
    position: fixed; right: 20px; bottom: 40px; z-index: 40; width: 40px; height: 40px; background: #fff; color: var(--kl-dark);
    display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 14px rgba(0,0,0,.15); border-radius: 2px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.kl-totop.is-visible { opacity: 1; visibility: visible; }
.kl-totop:hover { background: var(--kl-orange); color: #fff; }

/* =========================================================================
   Inner pages
   ========================================================================= */
.kl-page-hero {
    position: relative; text-align: center; color: #fff; padding: 46px 0 44px; background: #1b1b1b var(--kl-hero-bg) center / cover no-repeat;
}
.kl-page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, .78); }
.kl-page-hero .kl-container { position: relative; }
.kl-page-hero__title { color: #fff; font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px; font-weight: 700; }
.kl-crumbs { font-size: 15px; font-weight: 700; color: #fff; }
.kl-crumbs a { color: #fff; }
.kl-crumbs a:hover { color: var(--kl-orange); }
.kl-crumbs .sep { margin: 0 12px; opacity: .9; }

.kl-content { color: var(--kl-text); }
.kl-content > *:last-child { margin-bottom: 0; }
.kl-content h2, .kl-content h3, .kl-content h4 { color: var(--kl-dark); margin-top: 1.4em; }
.kl-content h2:first-child, .kl-content h3:first-child { margin-top: 0; }
.kl-content strong { color: #5f676d; }
.kl-content ul, .kl-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.kl-content img { height: auto; }
.kl-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.kl-content th, .kl-content td { border: 1px solid var(--kl-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.kl-content th { color: var(--kl-dark); background: #fafafa; }
.kl-content blockquote { margin: 0 0 1.2em; padding: 12px 20px; border-left: 4px solid var(--kl-orange); background: #fafafa; }
.kl-content .alignleft { float: left; margin: 0 24px 16px 0; }
.kl-content .alignright { float: right; margin: 0 0 16px 24px; }
.kl-content .aligncenter { display: block; margin: 0 auto 16px; }
.kl-content .wp-caption { max-width: 100%; }
.kl-content .wp-caption-text { font-size: 13px; text-align: center; }
.kl-content::after { content: ""; display: table; clear: both; }
.kl-page--products .kl-content { margin-bottom: 30px; }

/* ---------- Category grid ---------- */
.kl-grid { display: grid; gap: 30px 24px; }
.kl-content + .kl-grid { margin-top: 40px; }
.kl-grid--icons { grid-template-columns: repeat(5, 1fr); gap: 40px 20px; }
.kl-grid--icons .kl-grid__item { display: flex; align-items: center; gap: 14px; }
.kl-grid--icons .kl-grid__img { flex: 0 0 66px; height: 66px; display: flex; align-items: center; justify-content: center; }
.kl-grid--icons .kl-grid__img img { max-width: 66px; max-height: 66px; width: auto; height: auto; object-fit: contain; transition: transform .3s; }
.kl-grid--icons .kl-grid__label { font-family: var(--kl-head); font-weight: 600; font-size: 17px; color: var(--kl-orange); text-transform: uppercase; line-height: 1.2; }
.kl-grid--icons .kl-grid__item:hover .kl-grid__label { color: var(--kl-dark); }
.kl-grid--icons .kl-grid__item:hover img { transform: scale(1.08); }

.kl-grid--cards { grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.kl-grid--cards .kl-grid__item { display: block; text-align: center; }
.kl-grid--cards .kl-grid__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: #fff; border: 1px solid #eee; padding: 18px; transition: box-shadow .3s, border-color .3s; }
.kl-grid--cards .kl-grid__img img { max-height: 100%; width: auto; object-fit: contain; }
.kl-grid--cards .kl-grid__item:hover .kl-grid__img { box-shadow: 0 10px 30px rgba(0,0,0,.08); border-color: var(--kl-orange); }
.kl-grid--cards .kl-grid__label { display: block; margin-top: 16px; font-family: var(--kl-head); font-weight: 600; font-size: 19px; color: var(--kl-orange); text-transform: uppercase; }
.kl-grid--cards .kl-grid__item:hover .kl-grid__label { color: var(--kl-dark); }

.kl-grid--tiles { grid-template-columns: repeat(4, 1fr); gap: 34px 30px; }
.kl-grid--tiles .kl-grid__img img { width: 100%; height: auto; transition: transform .3s, opacity .3s; }
.kl-grid--tiles .kl-grid__item:hover img { transform: translateY(-4px); opacity: .9; }

/* ---------- Product table ---------- */
.kl-ptable { width: 100%; font-family: var(--kl-head); }
.kl-ptable__head, .kl-ptable__row {
    display: grid; grid-template-columns: 12% 12% 12% 1fr 23%; align-items: center; text-align: center; column-gap: 8px;
}
.kl-ptable__head { padding: 0 0 16px; border-bottom: 1px solid #cfcfcf; }
.kl-ptable__head span { color: var(--kl-orange); font-weight: 500; font-size: 13.5px; text-transform: uppercase; }
.kl-ptable__row { border-bottom: 1px solid var(--kl-line); min-height: 52px; padding: 4px 0; color: var(--kl-text); font-size: 15px; }
.kl-ptable__row:hover { background: #fcfaf7; }
.kl-ptable__img { display: flex; justify-content: center; }
.kl-ptable__img img { width: auto; max-height: 50px; max-width: 70px; object-fit: contain; }
.kl-ptable__desc { line-height: 1.35; }
.kl-ptable__line { font-size: 13px; }
.kl-ptable__btns { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0; }
.kl-dl {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 168px; max-width: 100%;
    background: var(--kl-orange); color: #fff; font-family: var(--kl-font); font-size: 14px; font-weight: 500;
    line-height: 1; padding: 8px 10px; border-radius: 2px; transition: background .2s;
}
.kl-dl:hover, .kl-dl:focus { background: var(--kl-orange-dark); color: #fff; }
.kl-dl--manual { background: var(--kl-dark); }
.kl-dl--manual:hover { background: #000; }
.kl-dl.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Contact offices ---------- */
.kl-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
/* wpautop leaves stray <p>/<br> between shortcode blocks — keep them out of the grid */
.kl-offices > p, .kl-offices > br, .kl-dist > p, .kl-dist > br { display: none; }
.kl-content .kl-title { color: var(--kl-orange); font-family: var(--kl-head); margin-top: 0; }
.kl-content .kl-heading { color: var(--kl-orange); }
.kl-content .kl-label + .kl-title, .kl-content p.kl-label { margin-top: 0; }
.kl-office { border: 1px solid #eee; padding: 48px 26px 40px; text-align: center; }
.kl-office__icon { display: inline-flex; align-items: center; justify-content: center; width: 113px; height: 113px; border-radius: 50%; background: var(--kl-orange); color: #fff; margin-bottom: 28px; }
.kl-office__icon svg { width: 62px; height: 62px; }
.kl-office__title { font-size: 20px; text-transform: uppercase; color: #000; margin: 0 0 26px; line-height: 1.3; }
.kl-office__text { font-size: 16px; line-height: 2.05; color: var(--kl-text); }
.kl-office__text p { margin: 0; }

/* ---------- Distributors ---------- */
.kl-dist { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; margin-bottom: 30px; }
.kl-dist__map img { width: 100%; height: auto; }
.kl-dist__select { width: 100%; padding: 12px 14px; border: 1px solid #d6d6d6; background: #fff; text-transform: uppercase; font-size: 14px; color: var(--kl-dark); margin-bottom: 26px; }
.kl-dist__panel { font-size: 15.5px; line-height: 1.75; }
.kl-dist__panel strong { color: #5f676d; }
.kl-dist__panel p { margin: 0 0 22px; }

/* ---------- Forms ---------- */
.kl-form { margin: 0 auto; max-width: 1140px; }
.kl-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.kl-form__field { margin: 0; }
.kl-form__field.is-wide { grid-column: 1 / -1; }
.kl-form input[type=text], .kl-form input[type=email], .kl-form input[type=tel], .kl-form textarea {
    width: 100%; border: 1px solid transparent; background: #f0f0f0; padding: 12px 14px; font-size: 15px; color: var(--kl-dark); border-radius: 0; outline: none;
    transition: border-color .2s, background .2s;
}
.kl-form input:focus, .kl-form textarea:focus { border-color: var(--kl-orange); background: #fff; }
.kl-form textarea { min-height: 120px; resize: vertical; }
.kl-form ::placeholder { color: #9a9a9a; }
.kl-form .kl-btn { margin-top: 18px; padding: 11px 16px; text-transform: none; font-size: 15px; font-weight: 500; }
.kl-form__ok, .kl-form__err { padding: 14px 18px; border-radius: 3px; margin: 0 0 20px; }
.kl-form__ok { background: #edf7ed; color: #276b2b; border-left: 4px solid #3e9a42; }
.kl-form__err { background: #fdeeec; color: #a2321f; border-left: 4px solid #d54b33; }

/* ---------- Blog ---------- */
.kl-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.kl-post-card { background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.kl-post-card__img { display: block; aspect-ratio: 600 / 315; background: #eee; overflow: hidden; }
.kl-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.kl-post-card:hover .kl-post-card__img img { transform: scale(1.05); }
.kl-post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.kl-post-card__meta { font-size: 13px; color: #9a9a9a; margin: 0 0 6px; }
.kl-post-card__title { font-size: 20px; margin: 0 0 12px; }
.kl-post-card__title a { color: var(--kl-dark); }
.kl-post-card__title a:hover { color: var(--kl-orange); }
.kl-post-card p { font-size: 15px; }
.kl-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e3e3e3; color: var(--kl-dark); padding: 0 10px; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--kl-orange); border-color: var(--kl-orange); color: #fff; }

.kl-single { padding: 50px 0 90px; }
.kl-single__inner { max-width: 960px; }
.kl-single__img { margin: 0 0 0; max-width: 820px; }
.kl-single__img img { width: 100%; height: auto; display: block; }
.kl-single__card { background: #fff; box-shadow: 0 6px 34px rgba(0,0,0,.07); padding: 34px 30px 30px; margin-top: 0; }
.kl-single__title { color: var(--kl-orange); font-size: clamp(26px, 3vw, 36px); margin: 0 0 20px; }
.kl-single__meta { display: flex; gap: 18px; flex-wrap: wrap; border-top: 1px solid #eee; margin-top: 30px; padding-top: 16px; font-size: 14px; }
.kl-single__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font-weight: 700; }
.kl-single__nav a { display: inline-flex; align-items: center; gap: 6px; }
.kl-toc { display: inline-block; border: 1px solid #aaa; background: #f9f9f9; padding: 10px 14px 6px; margin: 0 0 22px; font-size: 14.5px; min-width: 160px; max-width: 100%; }
.kl-toc__title { font-weight: 700; text-align: center; margin: 0 0 8px; color: #5f676d; }
.kl-toc__toggle { background: none; border: 0; color: var(--kl-orange); cursor: pointer; padding: 0; font-weight: 400; font-size: 13px; }
.kl-toc ol { margin: 0; padding-left: 0; list-style: none; counter-reset: toc; }
.kl-toc li { counter-increment: toc; margin: 0 0 4px; }
.kl-toc li::before { content: counter(toc) ". "; color: var(--kl-dark); }
.kl-toc li.toc-l3 { padding-left: 14px; }
.kl-toc a { color: var(--kl-dark); }
.kl-toc a:hover { color: var(--kl-orange); }
.kl-toc.is-collapsed ol { display: none; }

.kl-searchpage__form { margin-bottom: 30px; }
.kl-searchpage__form .kl-searchform { margin: 0; }
.kl-results { list-style: none; padding: 0; margin: 0; }
.kl-results li { padding: 16px 0; border-bottom: 1px solid #eee; }
.kl-results a { font-size: 18px; font-weight: 700; }
.kl-results p { margin: 4px 0 0; font-size: 15px; }
.kl-empty { font-size: 17px; }
.kl-404 { text-align: center; }
.kl-404__code { font-size: 120px; font-weight: 700; color: var(--kl-orange); line-height: 1; margin: 0 0 10px; }
.kl-404 .kl-searchform { margin: 24px auto; }

/* =========================================================================
   Datasheet popup
   ========================================================================= */
.kl-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.kl-modal[hidden] { display: none; }
.kl-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); animation: kl-fade .3s; }
.kl-modal__box { position: relative; background: #fff; width: 100%; max-width: 815px; padding: 34px 20px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); animation: kl-pop .35s ease; }
.kl-otp { max-height: calc(100vh - 110px); overflow-y: auto; overflow-x: hidden; }
.kl-modal__close {
    position: absolute; top: -12px; right: -12px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff;
    background: #000; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}
.kl-modal__close:hover { background: var(--kl-orange); }
@keyframes kl-fade { from { opacity: 0; } }
@keyframes kl-pop { from { opacity: 0; transform: translateY(-24px); } }
.kl-otp { font-family: var(--kl-font); color: #444; }
.kl-otp__title { font-size: 20px; margin: 0 0 4px; color: var(--kl-dark); }
.kl-otp__doc { color: var(--kl-orange); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.kl-otp__doc:empty { display: none; }
.kl-otp__intro { font-size: 14px; color: var(--kl-text); margin: 0 0 18px; }
.kl-otp__label { display: block; font-weight: 700; font-size: 15px; color: var(--kl-dark); margin: 0 0 8px; }
.kl-otp__label .req { color: #d63637; }
.kl-otp input[type=email], .kl-otp input[type=text] {
    width: 100%; max-width: 420px; border: 1px solid #ccc; border-radius: 3px; padding: 10px 12px; font-size: 16px; background: #fff; color: #333; outline: none;
}
.kl-otp input:focus { border-color: #066aab; box-shadow: 0 0 0 1px #066aab; }
.kl-otp input[name=code] { letter-spacing: 6px; font-weight: 700; max-width: 220px; }
.kl-otp__step2 { margin-top: 6px; }
.kl-otp__btn {
    background: #066aab; color: #fff; border: 0; border-radius: 3px; padding: 11px 15px; font-size: 16px; font-weight: 500; cursor: pointer; transition: background .2s;
}
.kl-otp__btn:hover { background: #055a91; }
.kl-otp__btn:disabled { opacity: .6; cursor: default; }
.kl-otp__send { margin-top: 18px; }
.kl-otp__msg { font-size: 14px; margin: 14px 0 0; min-height: 1px; }
.kl-otp__msg:empty { margin: 0; }
.kl-otp__msg.is-error { color: #c0392b; }
.kl-otp__msg.is-ok { color: #2e7d32; }
.kl-otp__submit { margin-top: 22px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1200px) {
    .kl-menu { gap: 4px 22px; }
    .kl-menu > li > a, .kl-menu > li > .menu-label { font-size: 14px; }
    .kl-about__vertical { display: none; }
}

@media (max-width: 1024px) {
    .kl-section { padding: 70px 0; }
    .kl-header__info { gap: 28px; }
    .kl-menu { gap: 4px 18px; }
    .kl-menu > li > a, .kl-menu > li > .menu-label { font-size: 13.5px; }
    .kl-header__actions { gap: 18px; }
}

/* Small laptops: no room for the extra logo in the sticky bar */
@media (min-width: 992px) and (max-width: 1200px) {
    .kl-header.is-stuck .kl-logo--sticky { display: none; }
}
.kl-header__quote { white-space: nowrap; }

/* Off-canvas menu */
@media (max-width: 991px) {
    :root { --kl-header-h: 66px; }
    .kl-burger { display: inline-flex; order: 3; }
    .kl-header__bar-inner { flex-wrap: nowrap; }
    .kl-header__actions { margin-left: auto; gap: 16px; }
    .kl-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 200;
        padding: 70px 22px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,.2);
    }
    .admin-bar .kl-nav { top: 46px; }
    body.kl-nav-open .kl-nav { transform: none; }
    body.kl-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; }
    /* The header creates its own stacking layer, so lift it above the dark overlay while the menu is open. */
    body.kl-nav-open .kl-header { z-index: 300; }
    body.kl-nav-open { overflow: hidden; }
    .kl-nav__close {
        display: flex; position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; align-items: center; justify-content: center;
        background: var(--kl-soft); border: 0; border-radius: 50%; color: var(--kl-dark); cursor: pointer;
    }
    .kl-nav__close:hover { background: var(--kl-orange); color: #fff; }
    .kl-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .kl-menu li { position: relative; }
    .kl-menu > li { border-bottom: 1px solid #eee; }
    .kl-menu > li > a, .kl-menu > li > .menu-label { padding: 14px 40px 14px 0; display: flex; }
    .kl-menu > li > a .kl-icon, .kl-menu > li > .menu-label .kl-icon { display: none; }
    .submenu-toggle {
        display: flex; position: absolute; right: 0; top: 6px; width: 36px; height: 36px; align-items: center; justify-content: center;
        background: none; border: 0; color: var(--kl-dark); cursor: pointer; transition: transform .2s;
    }
    .submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--kl-orange); }
    .sub-menu .submenu-toggle { top: 0; width: 30px; height: 30px; }
    /* Must out-rank the desktop dropdown rules (.kl-menu > li > .sub-menu), or Catalogue floats over the menu */
    .kl-menu .sub-menu, .kl-menu > li > .sub-menu, .kl-menu > li.mega > .sub-menu {
        position: static; opacity: 1; visibility: visible; transform: none !important; box-shadow: none; border: 0;
        display: none; width: auto; min-width: 0; padding: 0 0 12px 10px; grid-template-columns: 1fr; left: auto; right: auto;
    }
    .kl-menu li.is-open > .sub-menu, .kl-menu > li.is-open > .sub-menu { display: block !important; }
    /* Keep each arrow button next to its own item (mega item is position:static on desktop) */
    .kl-menu > li.mega { position: relative; }
    .kl-menu > li:not(.mega) .sub-menu a { padding: 9px 30px 9px 10px; font-size: 13px; }
    .kl-menu > li:not(.mega) .sub-menu a:hover { background: none; }
    .kl-menu > li > .sub-menu > li { border-top: 1px solid #f2f2f2; }
    .kl-menu li.mega > .sub-menu > li { padding: 0; border: 0; }
    .kl-menu li.mega-split > .sub-menu { columns: 1; }
    .kl-menu li.mega > .sub-menu > li > a, .kl-menu li.mega > .sub-menu > li > .menu-label { font-size: 15px; margin: 10px 0 8px; padding-right: 36px; }
    .kl-menu li.mega .depth-2 > li > a, .kl-menu li.mega .depth-2 > li > .menu-label { padding-right: 36px; }
    .kl-header.is-stuck .kl-logo--sticky { margin-right: auto; }
}

@media (max-width: 1024px) {
    .kl-about__inner { grid-template-columns: 1fr; gap: 40px; }
    .kl-about__media { max-width: 560px; }
    .kl-division { flex-basis: calc((100% - 40px) / 3); }
    .kl-grid--icons { grid-template-columns: repeat(3, 1fr); }
    .kl-grid--cards, .kl-grid--tiles { grid-template-columns: repeat(3, 1fr); }
    .kl-posts { grid-template-columns: repeat(2, 1fr); }
    .kl-footer__cols { grid-template-columns: 1fr 1fr; }
    .kl-offices { gap: 18px; }
    .kl-office { padding: 36px 16px 30px; }
}

@media (max-width: 782px) {
    /* Phones: one compact bar (logo + search + quote + menu) instead of two rows */
    .kl-header__top { display: none; }
    .kl-logo--sticky { display: block !important; margin-right: auto; }
    .kl-logo--sticky img { width: 118px !important; }
    .kl-header__bar-inner { min-height: 60px; gap: 10px; }
    .kl-header__actions { gap: 10px; }
    .admin-bar .kl-header.is-stuck .kl-header__bar { top: 46px; }
    .kl-header__quote { padding: 9px 11px; font-size: 11px; }
    .kl-hero { height: clamp(210px, 58vw, 460px); }
    .kl-slide--plain .kl-slide__img { object-fit: contain; background: #1b1b1b; }
    .kl-hero__arrow { width: 36px; height: 36px; margin-top: -18px; }
    .kl-hero__arrow--prev { left: 10px; }
    .kl-hero__arrow--next { right: 10px; }
    .kl-slide__content { background: rgba(0,0,0,.35); }
    .kl-slide__content .kl-container { padding: 0 56px; }
    .kl-slide__title { font-size: clamp(24px, 7vw, 40px); margin-bottom: 16px; }
    .kl-slide__content .kl-btn { padding: 12px 22px; }
    .kl-page-hero { padding: 34px 0 32px; }
    .kl-about { padding: 70px 0; }
    .kl-about__img2 { top: auto; bottom: 0; }
    .kl-initiatives__grid { grid-template-columns: 1fr; gap: 50px; }
    .kl-cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; min-height: 0; }
    .kl-footer__main { padding: 80px 0 70px; }
    .kl-footer__cols { grid-template-columns: 1fr; }
    .kl-footer__bottom-inner { flex-direction: column; justify-content: center; padding: 20px 0; text-align: center; }

    .kl-ptable__head { display: none; }
    .kl-ptable__row {
        grid-template-columns: 70px 1fr; grid-template-areas: "img series" "img model" "img desc" "btns btns";
        text-align: left; padding: 14px 0; row-gap: 2px;
    }
    .kl-ptable__row > :nth-child(1) { grid-area: img; align-self: start; }
    .kl-ptable__row > :nth-child(2) { grid-area: series; font-weight: 700; color: var(--kl-dark); }
    .kl-ptable__row > :nth-child(3) { grid-area: model; }
    .kl-ptable__row > :nth-child(3)::before { content: attr(data-label) ": "; color: #aaa; }
    .kl-ptable__row > :nth-child(4) { grid-area: desc; }
    .kl-ptable__btns { grid-area: btns; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; padding-left: 78px; }
    .kl-dl { width: auto; padding: 9px 16px; }

    .kl-grid--icons { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
    .kl-grid--icons .kl-grid__label { font-size: 15px; }
    .kl-grid--cards, .kl-grid--tiles { grid-template-columns: repeat(2, 1fr); }
    .kl-posts { grid-template-columns: 1fr; }
    .kl-offices { grid-template-columns: 1fr; }
    .kl-dist { grid-template-columns: 1fr; gap: 24px; }
    .kl-form__grid { grid-template-columns: 1fr; }
    .kl-modal__box { padding: 30px 18px 20px; }
}

@media (max-width: 600px) {
    /* WordPress admin bar scrolls away on small phones */
    .admin-bar .kl-header.is-stuck .kl-header__bar { top: 0; }
}

@media (max-width: 400px) {
    .kl-header__quote { display: none; }
}

@media (max-width: 520px) {
    :root { --kl-gutter: 16px; }
    .kl-social { gap: 12px; }
    .kl-header__info .kl-social { display: none; }
    .kl-divisions__grid { gap: 28px 14px; }
    .kl-division { flex-basis: calc(50% - 7px); max-width: none; }
    .kl-division__title { font-size: 14px; margin-top: 12px; }
    .kl-heading { margin-bottom: 30px; }
    .kl-about__img2 { border-width: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
    .kl-header, .kl-footer, .kl-totop, .kl-modal { display: none !important; }
    .kl-page-hero { background: none; color: #000; }
    .kl-page-hero::before { display: none; }
    .kl-page-hero__title { color: #000; }
}
