/* ============================================================
   KTech Builders — Site header
   Prefixed with .ktech-header / .kt- so it never collides with
   the SiteOrigin Corp parent theme styles.
   ============================================================ */

.ktech-header{
  --kt-navy:#0f2748;
  --kt-orange:#f35c27;
  --kt-orange-2:#ff7a45;
  --kt-grey:#5a6b82;
  --kt-soft:#f4f7fb;
  --kt-head:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  position:relative;
  z-index:1000;
  background:#fff;
  box-shadow:0 2px 14px rgba(15,39,72,.06);
}
.ktech-header.is-sticky{position:sticky;top:0}
.ktech-header *,
.ktech-header *::before,
.ktech-header *::after{box-sizing:border-box}

.ktech-header .kt-container{
  width:100%;max-width:1200px;margin:0 auto;padding:0 24px;
}

/* ---------- Topbar ---------- */
.ktech-header .kt-topbar{
  background:var(--kt-navy);color:#cdd6e6;font-size:.86rem;font-family:var(--kt-head);
}
.ktech-header .kt-topbar a{color:inherit;text-decoration:none}
.ktech-header .kt-topbar-inner{
  display:flex;justify-content:space-between;align-items:center;
  gap:16px;min-height:42px;flex-wrap:wrap;
}
.ktech-header .kt-topbar-contact{display:flex;gap:26px;flex-wrap:wrap}
.ktech-header .kt-topbar-contact a{display:inline-flex;align-items:center;gap:7px;transition:color .2s}
.ktech-header .kt-topbar-contact a:hover{color:#ff7a45}
.ktech-header .kt-topbar-contact .kt-ico{color:var(--kt-orange);display:inline-flex}
.ktech-header .kt-topbar-contact .kt-ico svg{width:15px;height:15px;display:block}

.ktech-header .kt-social{display:flex;gap:8px}
.ktech-header .kt-social a{
  width:28px;height:28px;display:grid;place-items:center;border-radius:50%;
  background:rgba(255,255,255,.1);transition:.2s;color:#fff;
}
.ktech-header .kt-social a svg{width:14px;height:14px;display:block;fill:currentColor}
.ktech-header .kt-social a:hover{background:var(--kt-orange);color:#fff}

/* ---------- Navbar ---------- */
.ktech-header .kt-navbar-inner{
  display:flex;align-items:center;gap:30px;min-height:82px;
}
.ktech-header .kt-brand{display:inline-flex;align-items:center;flex-shrink:0}
.ktech-header .kt-brand img{height:66px;width:auto;display:block}
.ktech-header .kt-brand .site-title,
.ktech-header .kt-brand h1{
  font-family:var(--kt-head);font-size:1.4rem;font-weight:600;
  color:var(--kt-navy);margin:0;line-height:1.2;
}
.ktech-header .kt-brand a{text-decoration:none;color:inherit}
.ktech-header .kt-brand p{display:none}

/* Desktop menu */
.ktech-header .kt-nav{margin:0 auto}
.ktech-header .kt-menu,
.ktech-header .kt-menu .sub-menu{list-style:none;margin:0;padding:0}
.ktech-header .kt-menu{display:flex;align-items:center;gap:30px}
.ktech-header .kt-menu li{position:relative}
.ktech-header .kt-menu > li > a{
  font-family:var(--kt-head);font-weight:400;font-size:1rem;letter-spacing:.3px;
  text-transform:uppercase;color:var(--kt-navy);text-decoration:none;
  position:relative;padding:6px 0;transition:color .2s;
  display:inline-flex;align-items:center;gap:6px;
}
.ktech-header .kt-menu > li > a::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:2px;
  background:var(--kt-orange);transition:width .25s;
}
.ktech-header .kt-menu li.menu-item-has-children a::after{display: none;}
.ktech-header .kt-menu > li:hover > a,
.ktech-header .kt-menu > li.current-menu-item > a,
.ktech-header .kt-menu > li.current-menu-parent > a{color:var(--kt-orange)}
.ktech-header .kt-menu > li:hover > a::after,
.ktech-header .kt-menu > li.current-menu-item > a::after{width:100%}

/* Caret on parents */
.ktech-header .kt-menu > li.menu-item-has-children > a::before{
  content:"";width:0;height:0;order:2;
  border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid currentColor;margin-left:2px;
}

/* Dropdown */
.ktech-header .kt-menu .sub-menu{
  position:absolute;top:100%;left:0;min-width:280px;background:#fff;
  box-shadow:0 14px 40px rgba(15,39,72,.14);border-radius:10px;padding:10px;
  opacity:0;visibility:hidden;transform:translateY(12px);transition:.25s;
  border-top:3px solid var(--kt-orange);
}
.ktech-header .kt-menu > li:hover > .sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.ktech-header .kt-menu .sub-menu a{
  display:block;padding:10px 14px;font-size:.9rem;color:var(--kt-grey);
  border-radius:6px;transition:.18s;text-decoration:none;font-family:var(--kt-head);
}
.ktech-header .kt-menu .sub-menu a:hover{background:var(--kt-soft);color:var(--kt-orange);padding-left:20px}

/* Third level */
.ktech-header .kt-menu .sub-menu .sub-menu{top:0;left:100%;margin-left:6px}
.ktech-header .kt-menu .sub-menu li:hover > .sub-menu{opacity:1;visibility:visible;transform:translateY(0)}

/* Quote button */
.ktech-header .kt-quote{
  padding:12px 26px;font-size:.9rem;background:var(--kt-orange);color:#fff;
  box-shadow:0 8px 20px rgba(254,0,0,.3);border-radius:4px;text-decoration:none;
  font-family:var(--kt-head);font-weight:500;letter-spacing:.4px;text-transform:uppercase;
  white-space:nowrap;transition:.25s;display:inline-block;flex-shrink:0;
}
.ktech-header .kt-quote:hover{
  background:var(--kt-orange-2);color:#fff;transform:translateY(-3px);
  box-shadow:0 12px 26px rgba(254,0,0,.42);
}

/* Hamburger */
.ktech-header .kt-toggle{
  display:none;flex-direction:column;gap:5px;background:none;border:none;
  cursor:pointer;padding:6px;margin-left:auto;
}
.ktech-header .kt-toggle span{
  width:26px;height:3px;background:var(--kt-navy);border-radius:2px;
  transition:transform .3s,opacity .3s;display:block;
}
.ktech-header .kt-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.ktech-header .kt-toggle.open span:nth-child(2){opacity:0}
.ktech-header .kt-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}


/* ============================================================
   Mobile slide-in panel (separate design, not the desktop nav)
   ============================================================ */
.kt-backdrop{
  position:fixed;inset:0;background:rgba(8,18,34,.55);backdrop-filter:blur(2px);
  opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;z-index:1400;
}
.kt-backdrop.open{opacity:1;visibility:visible}

.kt-panel{
  --kt-navy:#0f2748;
  --kt-orange:#fe0000;
  --kt-head:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  position:fixed;top:0;right:0;height:100%;width:320px;max-width:86vw;
  background:linear-gradient(165deg,#0f2748 0%,#0a1c34 100%);
  transform:translateX(100%);transition:transform .35s cubic-bezier(.4,0,.2,1);
  z-index:1500;display:flex;flex-direction:column;
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  box-shadow:-16px 0 50px rgba(0,0,0,.4);font-family:var(--kt-head);
}
.kt-panel.open{transform:translateX(0)}
.kt-panel *,
.kt-panel *::before,
.kt-panel *::after{box-sizing:border-box}

.kt-panel-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 22px;border-bottom:1px solid rgba(255,255,255,.1);
  flex:0 0 auto;position:sticky;top:0;
  background:#0f2748;z-index:2;
}
.kt-panel-head .kt-panel-title{
  color:#fff;font-size:.78rem;letter-spacing:2.4px;text-transform:uppercase;
  opacity:.7;margin:0;font-weight:400;
}
.kt-close{
  background:rgba(255,255,255,.08);border:none;color:#fff;cursor:pointer;
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  font-size:1.3rem;line-height:1;transition:.2s;
}
.kt-close:hover{background:var(--kt-orange)}

.kt-panel-body{flex:0 0 auto;padding:8px 0 4px}

.kt-mmenu,.kt-mmenu .sub-menu{list-style:none;margin:0;padding:0}
.kt-mmenu li{border-bottom:1px solid rgba(255,255,255,.07)}
.kt-mmenu > li > a,
.kt-mmenu > li > .kt-mrow > a{
  display:block;padding:15px 22px;color:#fff;text-decoration:none;
  font-size:1rem;letter-spacing:.4px;transition:.2s;
}
.kt-mmenu > li > a:hover,
.kt-mmenu > li > .kt-mrow > a:hover,
.kt-mmenu > li.current-menu-item > a,
.kt-mmenu > li.current-menu-item > .kt-mrow > a{color:#ff7a45}

/* Row that holds link + accordion arrow */
.kt-mrow{display:flex;align-items:center}
.kt-mrow > a{flex:1}
.kt-acc{
  background:none;border:none;color:#fff;opacity:.65;cursor:pointer;
  width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;
  transition:.25s;
}
.kt-acc svg{width:13px;height:13px;transition:transform .3s}
.kt-acc:hover{opacity:1;color:#ff7a45}
.kt-mmenu li.open > .kt-mrow > .kt-acc svg{transform:rotate(180deg)}
.kt-mmenu li.open > .kt-mrow > .kt-acc{opacity:1;color:#ff7a45}

.kt-mmenu .sub-menu{
  max-height:0;overflow:hidden;transition:max-height .35s ease;
  background:rgba(0,0,0,.18);
}
.kt-mmenu li.open > .sub-menu{max-height:1200px}
.kt-mmenu .sub-menu li{border-bottom:none}
.kt-mmenu .sub-menu a{
  display:block;padding:11px 22px 11px 34px;color:#aebcd4;
  text-decoration:none;font-size:.88rem;transition:.2s;
}
.kt-mmenu .sub-menu a:hover{color:#fff;padding-left:40px}

.kt-panel-foot{
  padding:20px 22px 26px;border-top:1px solid rgba(255,255,255,.1);
  flex:0 0 auto;margin-top:10px;
}
.kt-panel-foot a.kt-pcontact{
  display:flex;align-items:center;gap:10px;color:#cdd6e6;text-decoration:none;
  font-size:.88rem;padding:7px 0;transition:.2s;
}
.kt-panel-foot a.kt-pcontact:hover{color:var(--orange);}
.kt-panel-foot a.kt-pcontact svg{width:15px;height:15px;color:var(--orange);flex-shrink:0}
.kt-panel-foot .kt-psocial{display:flex;gap:9px;margin:14px 0 4px}
.kt-panel-foot .kt-psocial a{
  width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.1);
  display:grid;place-items:center;color:#fff;transition:.2s;
}
.kt-panel-foot .kt-psocial a svg{width:15px;height:15px;fill:currentColor}
.kt-panel-foot .kt-psocial a:hover{background:var(--kt-orange)}
.kt-panel-foot .kt-pquote{
  display:block;text-align:center;margin-top:14px;background:var(--kt-orange);
  color:#fff;text-decoration:none;padding:13px 20px;border-radius:4px;
  font-size:.9rem;letter-spacing:.5px;text-transform:uppercase;transition:.2s;
}
.kt-panel-foot .kt-pquote:hover{background:var(--orange);}

body.kt-menu-open{overflow:hidden}

/* ---------- Breakpoints ---------- */
@media(max-width:900px){
  .ktech-header .kt-social{display:none}
  .ktech-header .kt-nav{display:none}
  .ktech-header .kt-quote{display:none}
  .ktech-header .kt-toggle{display:flex}
  .ktech-header .kt-navbar-inner{min-height:70px;gap:14px}
  .ktech-header .kt-brand img{height:50px}
}
@media(min-width:901px){
  .kt-panel,.kt-backdrop{display:none}
}
@media(max-width:560px){
  .ktech-header .kt-topbar-contact{gap:14px;font-size:.78rem}
  .ktech-header .kt-container{padding:0 18px}
}
