/* ===== Tekstar shared header ===== */
:root{--tkh-red:#dc2626;--tkh-ink:#0f172a;--tkh-muted:#475569;--tkh-line:rgba(15,23,42,.08);--tkh-wa:#16a34a}

/* Hide the older per-page menus built into page content */
.elementor .nav-bar,.elementor .mobile-nav-overlay{display:none!important}

.tkh,.tkh *,.tkh-panel,.tkh-panel *{box-sizing:border-box}
.tkh{position:fixed;top:0;left:0;right:0;z-index:1000;font-family:'Inter',system-ui,-apple-system,sans-serif;transition:transform .35s cubic-bezier(.16,1,.3,1)}
.admin-bar .tkh{top:32px}
@media(max-width:782px){.admin-bar .tkh{top:46px}}
.tkh-wrap{max-width:1340px;margin:0 auto;padding:0 24px}

/* Top utility strip */
.tkh-top{height:36px;background:var(--tkh-ink);color:#cbd5e1;font-size:.78rem}
.tkh-top-in{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}
.tkh-top-msg i{color:#f87171;margin-right:6px}
.tkh-top-msg b{color:#fff;font-weight:600}
.tkh-top-links{display:flex;gap:22px}
.tkh-top-links a{color:#cbd5e1;text-decoration:none;transition:color .2s}
.tkh-top-links a:hover{color:#fff}
.tkh-top-links i{margin-right:6px;color:#94a3b8}
.tkh.is-scrolled{transform:translateY(-36px)}

/* Main bar */
.tkh-bar{height:72px;background:rgba(255,255,255,.86);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px);border-bottom:1px solid var(--tkh-line);transition:box-shadow .3s,background .3s}
.tkh.is-scrolled .tkh-bar{background:rgba(255,255,255,.96);box-shadow:0 10px 30px -18px rgba(15,23,42,.25)}
.tkh-bar-in{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.tkh-logo{display:flex;align-items:center;flex-shrink:0}
.tkh-logo img{height:36px!important;width:auto!important;max-width:none!important;display:block}

.tkh-nav{display:flex;align-items:center;gap:6px}
.tkh-link{position:relative;display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border-radius:10px;font-size:.92rem;font-weight:500;color:var(--tkh-muted);text-decoration:none;transition:color .2s,background .2s}
.tkh-link:hover{color:var(--tkh-ink);background:rgba(15,23,42,.04)}
.tkh-link.is-on{color:var(--tkh-ink);font-weight:600}
.tkh-link.is-on::after{content:'';position:absolute;left:14px;right:14px;bottom:2px;height:2px;border-radius:2px;background:var(--tkh-red)}
.tkh-link i{font-size:.62rem;transition:transform .25s}

/* Brands mega menu */
.tkh-dd{position:relative}
.tkh-dd:hover .tkh-link i,.tkh-dd.open .tkh-link i{transform:rotate(180deg)}
.tkh-mega{position:absolute;top:calc(100% + 12px);left:50%;width:560px;padding:14px;background:#fff;border:1px solid var(--tkh-line);border-radius:22px;box-shadow:0 30px 60px -20px rgba(15,23,42,.28);opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:opacity .22s,transform .22s,visibility .22s}
.tkh-mega::before{content:'';position:absolute;left:0;right:0;top:-14px;height:14px}
.tkh-dd:hover .tkh-mega,.tkh-dd:focus-within .tkh-mega,.tkh-dd.open .tkh-mega{opacity:1;visibility:visible;transform:translate(-50%,0)}
.tkh-mega-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.tkh-brand{display:flex;align-items:center;gap:14px;padding:12px;border-radius:14px;text-decoration:none;color:var(--tkh-ink);border:1px solid transparent;transition:background .2s,border-color .2s}
.tkh-brand:hover,.tkh-brand.is-on{background:color-mix(in srgb,var(--bc) 7%,#fff);border-color:color-mix(in srgb,var(--bc) 25%,transparent)}
.tkh-brand-logo{width:64px;height:44px;flex-shrink:0;border-radius:10px;background:#f8fafc;border:1px solid var(--tkh-line);display:flex;align-items:center;justify-content:center;padding:6px}
.tkh-brand-logo img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain}
.tkh-brand-txt b{display:block;font-size:.95rem;font-family:'Space Grotesk','Inter',sans-serif}
.tkh-brand-txt small{display:block;font-size:.78rem;color:#64748b;line-height:1.35}
.tkh-mega-all{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;padding:12px;border-radius:14px;background:#f8fafc;color:var(--tkh-red);font-weight:600;font-size:.88rem;text-decoration:none;transition:background .2s,gap .2s}
.tkh-mega-all:hover{background:#fef2f2;gap:12px}

/* Right actions */
.tkh-actions{display:flex;align-items:center;gap:10px}
.tkh-wa{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--tkh-wa);background:rgba(22,163,74,.1);font-size:1.25rem;text-decoration:none;transition:background .2s,transform .2s}
.tkh-wa:hover{background:rgba(22,163,74,.18);transform:translateY(-1px)}
.tkh-cta{display:inline-flex;align-items:center;padding:11px 22px;border-radius:999px;background:var(--tkh-red);color:#fff!important;font-weight:600;font-size:.88rem;text-decoration:none;box-shadow:0 10px 20px -10px rgba(220,38,38,.6);transition:background .2s,transform .2s}
.tkh-cta:hover{background:#b91c1c;transform:translateY(-1px)}
.tkh-burger{display:none;width:42px;height:42px;border:0;border-radius:12px;background:#f1f5f9;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0}
.tkh-burger span{display:block;width:18px;height:2px;border-radius:2px;background:var(--tkh-ink)}

/* Mobile panel */
.tkh-scrim{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:1999;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.tkh-panel{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);z-index:2000;background:#fff;display:flex;flex-direction:column;padding:16px 20px calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(100%);transition:transform .4s cubic-bezier(.16,1,.3,1);font-family:'Inter',system-ui,sans-serif;overflow-y:auto;visibility:hidden}
body.tkh-open .tkh-panel{transform:none;visibility:visible}
body.tkh-open .tkh-scrim{opacity:1;visibility:visible}
.tkh-panel-head{display:flex;align-items:center;justify-content:space-between;height:56px;margin-bottom:16px}
.tkh-close{width:42px;height:42px;border:0;border-radius:50%;background:#f1f5f9;color:var(--tkh-ink);font-size:1.15rem;cursor:pointer}
.tkh-panel-nav{display:flex;flex-direction:column}
.tkh-m-link,.tkh-acc-btn{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 4px;border:0;border-bottom:1px solid var(--tkh-line);background:none;font:inherit;font-family:'Space Grotesk','Inter',sans-serif;font-size:1.25rem;font-weight:600;color:var(--tkh-ink);text-decoration:none;text-align:left;cursor:pointer}
.tkh-m-link.is-on{color:var(--tkh-red)}
.tkh-acc-btn i{font-size:.8rem;transition:transform .25s}
.tkh-acc.open .tkh-acc-btn i{transform:rotate(180deg)}
.tkh-acc-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.tkh-acc.open .tkh-acc-body{grid-template-rows:1fr}
.tkh-acc-body>*{min-height:0}
.tkh-acc-body{overflow:hidden}
.tkh-acc.open .tkh-acc-body{padding:8px 0 12px}
.tkh-m-brand{display:flex;align-items:center;gap:12px;padding:8px 4px;color:var(--tkh-ink);text-decoration:none;font-weight:600}
.tkh-m-brand .tkh-brand-logo{width:56px;height:38px}
.tkh-m-brand.is-on{color:var(--bc)}
.tkh-m-all{display:inline-flex;gap:8px;align-items:center;padding:10px 4px;color:var(--tkh-red);font-weight:600;text-decoration:none}
.tkh-panel-cta{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;margin-top:auto;padding-top:24px}
.tkh-panel-cta a{display:flex;align-items:center;justify-content:center;gap:8px;height:52px;border-radius:14px;font-weight:700;text-decoration:none}
.tkh-p-wa{background:var(--tkh-wa);color:#fff!important}
.tkh-p-call{background:#f1f5f9;color:var(--tkh-ink)!important}

/* Responsive */
@media(max-width:1080px){.tkh-top-links a:last-child{display:none}.tkh-link{padding:10px 10px}}
@media(max-width:980px){
	.tkh-nav,.tkh-cta{display:none}
	.tkh-burger{display:flex}
	.tkh-top{display:none}
	.tkh.is-scrolled{transform:none}
}
@media(max-width:768px){
	.tkh-bar{height:64px;backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(255,255,255,.98)}
	.tkh-logo img{height:32px!important}
	.tkh-wrap{padding:0 16px}
}
@media(prefers-reduced-motion:reduce){.tkh,.tkh *,.tkh-panel,.tkh-scrim{transition:none!important}}

/* ===== Floating pill navigation ===== */
.tkh-bar{height:auto!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:0!important;box-shadow:none!important;padding:12px 16px 0;transition:padding .35s cubic-bezier(.16,1,.3,1)}
.tkh-bar-in{max-width:1240px;height:64px;padding:0 10px 0 22px!important;border-radius:999px;background:rgba(255,255,255,.78);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border:1px solid rgba(255,255,255,.65);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 14px 34px -16px rgba(15,23,42,.38),0 0 0 1px rgba(15,23,42,.06);transition:height .35s cubic-bezier(.16,1,.3,1),max-width .35s cubic-bezier(.16,1,.3,1),background .3s ease,box-shadow .3s ease}
.tkh.is-scrolled .tkh-bar{padding-top:10px}
.tkh.is-scrolled .tkh-bar-in{height:58px;max-width:1140px;background:rgba(255,255,255,.93);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 20px 44px -18px rgba(15,23,42,.5),0 0 0 1px rgba(15,23,42,.08)}
.tkh-logo img{height:32px!important}
.tkh-nav{gap:2px}
.tkh-link{border-radius:999px;padding:9px 16px}
.tkh-link:hover{background:rgba(15,23,42,.05)}
.tkh-link.is-on{background:rgba(220,38,38,.09);color:#dc2626;font-weight:600}
.tkh-link.is-on::after{display:none}
.tkh-wa{width:44px;height:44px}
.tkh-cta{padding:12px 22px}
.tkh-mega{top:calc(100% + 20px)}
@media(max-width:980px){
	.tkh-bar{padding:10px 10px 0}
	.tkh-bar-in{height:58px;padding:0 8px 0 18px!important}
	.tkh.is-scrolled .tkh-bar-in{height:56px}
	.tkh-logo img{height:28px!important}
}
@media(max-width:768px){
	.tkh-bar-in{height:56px;background:rgba(255,255,255,.95);backdrop-filter:none;-webkit-backdrop-filter:none}
	.tkh-wa,.tkh-burger{width:40px;height:40px}
}
