/* ── Utility Bar ── */
.util-bar {
  background: #07101a;
  border-bottom: 1px solid rgba(255,255,255,.06);
  width: 100%;
}

.util-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.util-bar-left,
.util-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.util-bar-item {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .09em;
  background: none;
  border: 0;
  padding: 0;
  transition: color .2s;
}

a.util-bar-item { cursor: pointer; }
a.util-bar-item:hover { color: #F5A623; }

.util-bar-accent {
  color: #D87629;
  font-weight: 600;
}

.util-bar-dot {
  font-size: 12px;
  line-height: 1;
  color: rgba(255,255,255,.25);
  user-select: none;
}

.util-bar-arrow {
  font-size: 9px;
  display: inline-block;
  transform: translateY(-1px);
  margin-left: 2px;
  color: rgba(255,255,255,.5);
}

@media (max-width: 900px) {
  .util-bar-tagline { display: none; }
}

@media (max-width: 768px) {
  .util-bar-left { display: none; }
}

/* ── Header-specific resets ───────────────────── */
.nav-bar a {
    text-decoration: none;
    color: #ffffff;
}

.site-header ul {
    list-style: none;
}

/* ── Sticky Nav Bar ──────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-bar {
    background: #042433;
    color: #ffffff;
    height: 79px;
    position: relative;
    z-index: 1002;
    border-bottom: 2px solid #d87629;
}

.nav-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 15px;
    gap: 0;
}

/* ── Nav Groups ──────────────────────────────────── */
.nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 43px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 28px;
}

/* ── Nav Links ───────────────────────────────────── */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: color 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover {
    color: #F5A623;
}

.nav-link .caret {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-link.is-active {
    color: #F5A623;
}

.nav-link.is-active .caret {
    transform: rotate(180deg);
}

/* ── Logo ────────────────────────────────────────── */
.nav-logo {
    position: absolute;
    left: calc(50% + 30px);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    display: flex;
    align-items: center;
    pointer-events: auto;
    z-index: 1;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

/* ── CTA Button ──────────────────────────────────── */
.nav-bar a.nav-cta {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    background: #F5A623;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.2s;
    white-space: nowrap;
    z-index: 1;
}

.nav-cta:hover {
    background: #e09418;
}

/* ── Mega Menu Container ─────────────────────────── */
.mega-menu {
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    z-index: 1001;
    pointer-events: none;
}

/* ── Mega Panel ──────────────────────────────────── */
.mega-panel {
    display: none;
    background: #fff;
    border-top: 3px solid #d87629;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    pointer-events: auto;
}

.mega-panel.is-open {
    display: block;
}

.mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 24px;
}

/* ── Mega Columns ────────────────────────────────── */
.mega-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #042433;
    margin-bottom: 16px;
}

.mega-heading--spaced {
    margin-top: 28px;
}

.mega-list li {
    margin-bottom: 10px;
}

.mega-list a {
    font-size: 15px;
    color: #595959;
    transition: color 0.15s;
}

.mega-list a:hover {
    color: #d87629;
}

.mega-pledge {
    font-size: 15px;
    line-height: 1.65;
    color: #595959;
}

/* ── Featured Card ───────────────────────────────── */
.featured-card {
    background: #F0F2F2;
    border-radius: 8px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #042433;
    margin-bottom: 10px;
}

.featured-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #595959;
    margin-bottom: 18px;
    flex: 1;
}

.featured-cta {
    font-size: 14px;
    font-weight: 600;
    color: #d87629;
    transition: color 0.15s;
}

.featured-cta:hover {
    color: #c2691f;
}

/* ── Overlay ─────────────────────────────────────── */
.mega-overlay {
    display: none;
    position: fixed;
    top: 79px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 999;
}

.mega-overlay.is-visible {
    display: block;
}

/* ── TPR360 Tab ──────────────────────────────────── */
.tpr-tab {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border-left: 2px solid #d87629;
    border-bottom: 2px solid #d87629;
    border-radius: 0 0 0 10px;
    padding: 10px 14px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 1003;
    box-shadow: -2px 2px 16px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s;
}

.tpr-tab.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.tpr-tab-arrow {
    font-size: 22px;
    color: #d87629;
    line-height: 1;
}

.tpr-tab-img {
    width: 115px;
    height: auto;
    display: block;
}

/* ── TPR360 Nav Drawer ───────────────────────────── */
.tpr-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    height: 100vh;
    background: #ffffff;
    border-left: 2px solid #d87629;
    display: flex;
    flex-direction: column;
    z-index: 1005;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
}

.tpr-nav-drawer.is-open {
    transform: translateX(0);
}

.tpr-nav-drawer.is-shifted {
    transform: translateX(-340px);
}

.tpr-drawer-header {
    background: #042433;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.tpr-drawer-logo-img {
    width: 220px;
    height: auto;
    display: block;
}

.tpr-drawer-tagline {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 4px;
    text-align: center;
}

.tpr-drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}

.tpr-drawer-close:hover {
    color: #ffffff;
}

.tpr-drawer-body {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    flex: 1;
}

.tpr-drawer-section-head {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #042433;
    margin-bottom: 8px;
}

.tpr-drawer-link {
    font-size: 14px;
    color: #595959;
    padding: 8px 0;
    border-bottom: 0.5px solid #f0f2f2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
}

.tpr-drawer-link:last-child {
    border-bottom: none;
}

.tpr-drawer-link:hover,
.tpr-drawer-link.is-active {
    color: #d87629;
}

.tpr-link-arrow {
    font-size: 16px;
    color: #d87629;
    opacity: .5;
}

.tpr-drawer-featured {
    background: #f0f2f2;
    border-radius: 6px;
    padding: 16px;
    border-left: 2px solid #d87629;
}

.tpr-feat-head {
    font-size: 14px;
    font-weight: 700;
    color: #042433;
    margin-bottom: 6px;
}

.tpr-feat-body {
    font-size: 12px;
    color: #595959;
    line-height: 1.6;
    margin-bottom: 12px;
}

.tpr-feat-cta {
    display: inline-block;
    background: #042433;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 4px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s;
}

.tpr-feat-cta:hover {
    background: #0f3f49;
}

/* ── TPR360 Detail Panel ─────────────────────────── */
.tpr-detail-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    z-index: 1006;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.tpr-detail-panel.is-open {
    transform: translateX(0);
}

.tpr-detail-header {
    background: #042433;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tpr-detail-back {
    background: none;
    border: none;
    color: #d87629;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    transition: color 0.15s;
}

.tpr-detail-back:hover {
    color: #F5A623;
}

.tpr-detail-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.tpr-detail-body {
    padding: 20px 18px;
    overflow-y: auto;
    flex: 1;
}

.tpr-detail-body h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #042433;
    margin-bottom: 8px;
    margin-top: 16px;
}

.tpr-detail-body h3:first-child {
    margin-top: 0;
}

.tpr-detail-body p {
    font-size: 13px;
    color: #595959;
    line-height: 1.7;
    margin-bottom: 10px;
}

.tpr-detail-body ul {
    list-style: none;
    margin-bottom: 10px;
}

.tpr-detail-body ul li {
    font-size: 13px;
    color: #595959;
    padding: 4px 0 4px 14px;
    position: relative;
    line-height: 1.5;
}

.tpr-detail-body ul li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: #d87629;
    font-size: 11px;
}

.tpr-detail-cta {
    display: inline-block;
    background: #042433;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 4px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 14px;
    transition: background 0.15s;
}

.tpr-detail-cta:hover {
    background: #0f3f49;
}

/* ── TPR360 Overlay ──────────────────────────────── */
.tpr-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1004;
}

.tpr-overlay.is-visible {
    display: block;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .mega-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        padding: 0 16px;
    }

    .nav-link {
        font-size: 13px;
        padding: 8px 10px;
    }

    .nav-cta {
        font-size: 12px;
        padding: 8px 14px;
    }

    .nav-logo img {
        height: 32px;
    }

    .tpr-nav-drawer,
    .tpr-detail-panel {
        width: 90vw;
    }

    .tpr-nav-drawer.is-shifted {
        transform: translateX(-90vw);
    }
}
