/* =====================================================================
   Shared site header + footer (every public page incl. the home page).
   Self-contained colours (works in light and dark mode).
   ===================================================================== */
.skip{position:absolute;left:-9999px;top:0;background:#fff;color:#111;padding:10px 14px;z-index:100;border-radius:0 0 10px 0}
.skip:focus{left:0}
.th{position:sticky;top:0;z-index:60;background:#1b1147;color:#fff;box-shadow:0 2px 14px rgba(10,5,40,.35);font-family:inherit;font-size:15px;line-height:1.4}
.th::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,#e63946 0,#f77f00 16.6%,#f4b400 33.3%,#22a35a 50%,#1e88e5 66.6%,#4f46e5 83.3%,#9333ea 100%)}
.th a{color:#e5e7eb;text-decoration:none}
.th-in{max-width:1180px;margin:0 auto;padding:0 16px;display:flex;align-items:center;gap:14px}
.th-top{background:#120a33;font-size:12.5px;color:#c4b5fd}
.th-top .th-in{justify-content:space-between;min-height:34px}
.th-tl{display:flex;gap:16px;flex-wrap:wrap}.th-tl a{color:#ddd6fe}.th-tl a:hover{color:#fff}
.th-main .th-in{min-height:66px;padding-bottom:4px}
.th-logo{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:19px;color:#fff!important;min-width:0}
.th-logo{flex:none}.th-logo img{border-radius:9px;flex:none}.th-logo span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.th-nav{display:flex;align-items:center;gap:2px;margin-left:auto}
.th-nav>a,.th-dd>summary{white-space:nowrap;padding:9px 11px;border-radius:10px;font-weight:600;cursor:pointer;list-style:none;color:#e5e7eb;display:block}
.th-nav>a:hover,.th-dd>summary:hover,.th-dd[open]>summary,.th-nav [aria-current=page]{background:rgba(255,255,255,.13);color:#fff}
.th-nav>a[aria-current=page],.th-dd>summary[aria-current=page]{box-shadow:inset 0 -3px 0 #f4b400}
.th-dd{position:relative}.th-dd>summary::-webkit-details-marker{display:none}.th-dd>summary::after{content:"\25BE";margin-left:6px;font-size:11px}
.th-menu{position:absolute;left:0;top:calc(100% + 8px);min-width:250px;max-height:70vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 18px 44px rgba(10,5,40,.4);padding:8px;display:grid}
.th-menu a{color:#1f2937;padding:9px 12px;border-radius:9px;font-size:14px;display:flex;justify-content:space-between;gap:12px}
.th-menu a small{color:#6b7280}.th-menu a:hover{background:#ede9fe;color:#4c1d95}.th-menu a.all{margin-top:4px;border-top:1px solid #eee;color:#4f46e5;font-weight:700}
.th-sep{width:1px;height:26px;background:rgba(255,255,255,.2);margin:0 8px}
.th-more{display:none!important}
.th-call{background:#22a35a;color:#fff!important;padding:9px 16px!important;border-radius:99px!important;font-weight:700!important;white-space:nowrap}
.th-call:hover{background:#1b8a4c!important}
.th-wa{background:#25d366;color:#0b3d1d!important;padding:9px 14px!important;border-radius:99px!important;font-weight:700!important;margin-left:6px}
.th-lg{border:1px solid rgba(255,255,255,.35);padding:8px 14px!important;border-radius:99px!important;margin-left:6px;font-weight:600}
.th-nav .th-lg{display:none}
.th-callm{display:none;width:40px;height:40px;border-radius:50%;background:#22a35a;color:#fff!important;align-items:center;justify-content:center;font-size:18px;margin-left:auto;flex:none}
.th-burger{display:none;width:42px;height:42px;border-radius:10px;background:rgba(255,255,255,.12);border:0;padding:0;cursor:pointer;position:relative;flex:none}
.th-burger span,.th-burger::before,.th-burger::after{content:"";position:absolute;left:11px;right:11px;height:2px;background:#fff;border-radius:2px;transition:.2s}
.th-burger::before{top:14px}.th-burger span{top:20px}.th-burger::after{top:26px}
.th-burger[aria-expanded=true]::before{top:20px;transform:rotate(45deg)}.th-burger[aria-expanded=true] span{opacity:0}.th-burger[aria-expanded=true]::after{top:20px;transform:rotate(-45deg)}
@media(max-width:980px){
  .th-top{display:none}
  .th-main .th-in{min-height:60px;gap:10px}
  .th-callm{display:inline-flex}.th-burger{display:block}
  .th-logo{font-size:17px;flex:1 1 auto}.th-callm{margin-left:0}
  .th-nav{display:none;position:absolute;left:0;right:0;top:100%;margin:0;background:#1b1147;flex-direction:column;align-items:stretch;gap:2px;padding:10px 14px calc(22px + env(safe-area-inset-bottom,0px));max-height:calc(100vh - 66px);max-height:calc(100dvh - 66px);overflow:auto;box-shadow:0 18px 30px rgba(10,5,40,.45)}
  .th-nav.open{display:flex}
  .th-nav>a,.th-dd>summary{padding:13px 12px;font-size:16px;border-bottom:1px solid rgba(255,255,255,.08);border-radius:8px}
  .th-dd>summary::after{float:right}
  .th-menu{position:static;box-shadow:none;background:rgba(255,255,255,.07);max-height:none;margin:4px 0 6px}
  .th-menu a{color:#e5e7eb}.th-menu a small{color:#c4b5fd}.th-menu a:hover{background:rgba(255,255,255,.1);color:#fff}.th-menu a.all{border-color:rgba(255,255,255,.12);color:#fde68a}
  .th-sep{display:none}.th-more{display:block!important}
  .th-nav .th-lg{display:block}
  .th-logo{flex:1 1 auto;min-width:0}
  .th-call,.th-wa,.th-lg{text-align:center;margin:8px 0 0;padding:13px 16px!important;font-size:16px}
}
/* ---------- footer ---------- */
footer.tf{position:relative;background:#120a33;color:#c4b5fd;margin-top:40px;padding:0;text-align:left;font-size:14px;line-height:1.6}
footer.tf::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#e63946 0,#f77f00 16.6%,#f4b400 33.3%,#22a35a 50%,#1e88e5 66.6%,#4f46e5 83.3%,#9333ea 100%)}
.tf a{color:#ddd6fe;text-decoration:none}.tf a:hover{color:#fff;text-decoration:underline}
.tf .tf-in{max-width:1180px;margin:0 auto;padding:44px 16px 26px;display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:28px;align-items:start}
.tf-col{min-width:0}.tf-col h3{margin:0 0 12px;color:#fff;font-size:15px;letter-spacing:.3px}
.tf-col ul{list-style:none;margin:0;padding:0}.tf-col li{margin:0 0 7px}.tf-col li a{overflow-wrap:anywhere}
.tf-about p{margin:12px 0}.tf-about address{font-style:normal;display:grid;gap:6px}
.tf-all{display:inline-block;margin-top:6px;color:#fde68a!important;font-weight:700}
.tf-wa{display:inline-block;margin-top:14px;background:#25d366;color:#0b3d1d!important;padding:9px 16px;border-radius:99px;font-weight:700}.tf-wa:hover{text-decoration:none!important;background:#1fbd5a}
.tf-bot{border-top:1px solid rgba(255,255,255,.1);font-size:13px;color:#a78bfa}.tf-bot .tf-in{display:block;padding:16px;text-align:center}
@media(max-width:980px){.tf .tf-in{grid-template-columns:1fr 1fr;padding-top:34px}.tf-about{grid-column:1/-1}}
@media(max-width:520px){.tf .tf-in{grid-template-columns:minmax(0,1fr)}}
@media print{.th,.tf,.skip{display:none!important}}

.tf-tag{margin:10px 0 0!important}.tf-tag b{color:var(--sun,#f77f00);font-size:13px;letter-spacing:.3px}

.th-logo img.th-logoimg{border-radius:0;height:44px;width:auto;max-width:100%}.tf-about .th-logo img.th-logoimg{height:52px}@media(max-width:700px){.th-logo img.th-logoimg{height:38px}}
