/* ==========================================================================
   Pixel Target - Header & Footer layer
   ========================================================================== */

[id] { scroll-margin-top: 96px; }

/* --- Fixed header ------------------------------------------------------- */

.pt-header.e-con {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s ease, padding 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.pt-header--scrolled.e-con {
  background: rgba(6, 15, 24, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 24px rgba(6, 15, 24, 0.45);
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.pt-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

/* --- Brand lockup ------------------------------------------------------- */

.pt-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.pt-brand img { height: 46px; width: auto; transition: transform 0.3s ease; }
.pt-brand:hover img { transform: scale(1.05); }
.pt-brand__text { color: #FFFFFF; white-space: nowrap; line-height: 1.3; }
.pt-brand__name { font-weight: 700; font-size: 17px; }
.pt-brand__sep { margin: 0 6px; color: rgba(255, 255, 255, 0.45); }
.pt-brand__tag { font-weight: 400; font-size: 15px; color: var(--pt-body); }

@media (max-width: 900px) {
  .pt-brand img { height: 38px; }
  .pt-brand__name { font-size: 15px; }
  .pt-brand__tag, .pt-brand__sep { display: none; }
}

/* --- Desktop navigation ------------------------------------------------- */

.pt-nav { display: flex; align-items: center; gap: 32px; }

.pt-nav a {
  position: relative;
  color: var(--pt-body);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  padding-bottom: 6px;
  transition: color 0.3s ease;
}
.pt-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--pt-gold);
  transition: width 0.3s ease;
}
.pt-nav a:hover { color: var(--pt-gold); }
.pt-nav a:hover::after { width: 100%; }

.pt-nav__cta {
  background: var(--pt-gold);
  color: var(--pt-surface) !important;
  border-radius: 999px;
  padding: 12px 30px !important;
  font-weight: 600;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.pt-nav__cta::after { display: none; }
.pt-nav__cta:hover { background: var(--pt-gold-soft); box-shadow: 0 0 15px rgba(244, 168, 37, 0.35); }

/* --- Mobile drawer (CSS only, no script) -------------------------------- */

.pt-burger, .pt-drawer-toggle { display: none; }
.pt-scrim { display: none; }

@media (max-width: 1024px) {
  .pt-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(300px, 84vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 88px 24px 32px;
    background: rgba(11, 25, 40, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1001;
    overflow-y: auto;
  }

  .pt-nav a {
    font-size: 19px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .pt-nav a::after { display: none; }

  .pt-nav__cta {
    margin-top: 24px;
    text-align: center;
    border-radius: 12px;
    padding: 15px 24px !important;
    border-bottom: 0 !important;
  }

  .pt-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: #FFFFFF;
    z-index: 1002;
  }
  .pt-burger svg { width: 26px; height: 26px; }

  .pt-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(6, 15, 24, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1000;
  }

  .pt-drawer-toggle:checked ~ .pt-nav { transform: translateX(0); }
  .pt-drawer-toggle:checked ~ .pt-scrim { opacity: 1; pointer-events: auto; }
}

/* --- Footer ------------------------------------------------------------- */

.pt-footer-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .pt-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pt-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.pt-foot h4 { color: #FFFFFF; font-size: 19px; font-weight: 700; margin: 0 0 24px; }
.pt-foot p { color: var(--pt-body); margin: 0 0 28px; max-width: 46ch; line-height: 1.8; }
.pt-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pt-foot li { display: flex; align-items: flex-start; gap: 12px; color: var(--pt-body); }
.pt-foot a { color: var(--pt-body); text-decoration: none; transition: color 0.3s ease; }
.pt-foot a:hover { color: var(--pt-gold); }
.pt-foot .pt-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(244, 168, 37, 0.55); flex-shrink: 0; margin-top: 9px; }
.pt-foot .pt-ico { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--pt-gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.pt-foot img.pt-foot-logo { height: 48px; width: auto; margin-bottom: 24px; }

.pt-footbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 32px;
  margin-top: 48px;
  color: var(--pt-body);
  font-size: 14px;
}
.pt-footbar__links { display: flex; gap: 24px; }
.pt-footbar a { color: var(--pt-body); text-decoration: none; }
.pt-footbar a:hover { color: #FFFFFF; }
@media (min-width: 768px) { .pt-footbar { flex-direction: row; justify-content: space-between; } }
