/* ============================================================================
   POWER CONSULTANCY site chrome — shared nav + footer for the GlassBox pages.
   Derived from ai-project_intellgence.html. Every rule is scoped to
   .pc-chrome so the GlassBox pages' own bare `nav`, `a`, `p`, `ul` rules
   cannot bleed into it, and vice versa.
   ========================================================================= */

:root{
  --pcx-black:#000; --pcx-white:#fff; --pcx-muted:#a0a0a0;
  --pcx-mono:'IBM Plex Mono',monospace; --pcx-grey-light:#f4f4f2;
}

/* defensive reset: the host page styles bare elements, the chrome must not inherit that */
.pc-chrome, .pc-chrome *{margin:0;padding:0;box-sizing:border-box;
  font-family:'Futura PT','Futura','Century Gothic','Trebuchet MS',sans-serif}
.pc-chrome a{text-decoration:none;color:inherit}
.pc-chrome ul{list-style:none}
.pc-chrome img{max-width:100%}
.pc-chrome{--black:var(--pcx-black); --white:var(--pcx-white);
  --muted:var(--pcx-muted); --font-mono:var(--pcx-mono);
  --grey-light:var(--pcx-grey-light);
  color:var(--pcx-black); line-height:normal; letter-spacing:normal}

/* the fixed site nav owns the top 80px; GlassBox pages pad their body for it */
body.pc-has-chrome{padding-top:80px}
@media (max-width:768px){body.pc-has-chrome{padding-top:60px}}

/* ── NAV ── */
/* ── NAV ── */
nav.pc-chrome{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(235,236,240,0.97) 0%, rgba(220,222,228,0.97) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: none;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

/* Top accent line (7) */
nav.pc-chrome::before{
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1a3fa8 0%, #3b82f6 50%, #1a3fa8 100%);
}

/* Gradient bottom border (3) */
nav.pc-chrome::after{
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.12) 20%, rgba(0,0,0,0.12) 80%, transparent 100%);
}

.pc-chrome .nav-logo{
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding-right: 32px;
  margin-right: 8px;
  border-right: 1px solid rgba(26, 63, 168, 0.18);
}

.pc-chrome .nav-logo img{
  height: 56px;
  width: auto;
  display: block;
}

.pc-chrome .nav-logo span{
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pc-chrome .nav-logo .logo-power{
  color: #1a3fa8;
}

.pc-chrome .nav-logo .logo-consultancy{
  color: #4a6fd4;
}

.pc-chrome .nav-links{
  display: flex;
  gap: 5px;
  list-style: none;
  align-items: center;
}

.pc-chrome .nav-links a{
  text-decoration: none;
  color: var(--black);
  font-size: 14.4px;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.pc-chrome .nav-links a:hover{
  background: rgba(26, 63, 168, 0.06);
  border-color: rgba(26, 63, 168, 0.15);
  text-decoration: none;
}

.pc-chrome .nav-links a.active{
  background: rgba(26, 63, 168, 0.07);
  border-color: rgba(26, 63, 168, 0.18);
}

/* ── DROPDOWN STYLES ── */
.pc-chrome .dropdown{
  position: relative;
}

.pc-chrome .dropdown-toggle{
  text-decoration: none;
  color: var(--black);
  font-size: 14.4px;
  letter-spacing: 0.06em;
  text-transform: none !important;
  font-weight: 500;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: inline-block;
  white-space: nowrap;
  position: relative;
}

.pc-chrome .dropdown-toggle::after{
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #1a3fa8 30%, #3b82f6 70%, transparent 100%);
  opacity: 0.55;
  border-radius: 1px;
}

.pc-chrome .dropdown-toggle:hover, .pc-chrome .dropdown.open .dropdown-toggle{
  background: rgba(26, 63, 168, 0.06);
  border-color: rgba(26, 63, 168, 0.15);
  text-decoration: none;
}

.pc-chrome .dropdown-menu{
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 10px;
  min-width: 240px;
  z-index: 1001;
  padding: 8px 6px;
  margin-top: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 1px 0 rgba(255,255,255,0.9) inset;
}

.pc-chrome .dropdown.open .dropdown-menu{
  display: block;
}

.pc-chrome .dropdown-menu a{
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: none !important;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pc-chrome .dropdown-menu a:hover{
  background: rgba(26, 63, 168, 0.06);
  border-color: rgba(26, 63, 168, 0.15);
  text-decoration: none;
}

.pc-chrome .dropdown-menu a.active{ background: rgba(26, 63, 168, 0.07); border-color: rgba(26, 63, 168, 0.18); }

/* HAMBURGER BUTTON */
.pc-chrome .nav-hamburger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.pc-chrome .nav-hamburger span{
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pc-chrome .nav-hamburger.open span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.pc-chrome .nav-hamburger.open span:nth-child(2){
  opacity: 0;
}
.pc-chrome .nav-hamburger.open span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE DROPDOWN MENU */
.mobile-menu.pc-chrome{
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--black);
  z-index: 999;
  flex-direction: column;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.mobile-menu.pc-chrome.open{
  display: flex;
}

.mobile-menu.pc-chrome a{
  text-decoration: none;
  color: var(--black);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 18px 24px;
  border-bottom: 1px solid #e0e0e0;
  display: block;
}

.mobile-menu.pc-chrome a:last-child{
  border-bottom: none;
}

/* Mobile dropdown */
.pc-chrome .mobile-dropdown{
  border-bottom: 1px solid #e0e0e0;
}

.pc-chrome .mobile-dropdown-toggle{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: none !important;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  border-bottom: none;
}

.pc-chrome .mobile-dropdown-toggle::after{
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--black);
  transition: transform 0.3s ease;
}

.pc-chrome .mobile-dropdown.open .mobile-dropdown-toggle::after{
  transform: rotate(180deg);
}

.pc-chrome .mobile-dropdown-menu{
  display: none;
  flex-direction: column;
  background-color: var(--grey-light);
}

.pc-chrome .mobile-dropdown.open .mobile-dropdown-menu{
  display: flex;
}

.pc-chrome .mobile-dropdown-menu a{
  padding-left: 40px;
  font-size: 12px;
  text-transform: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pc-chrome .mobile-dropdown-menu a:last-child{
  border-bottom: none;
}

/* ── RESPONSIVE NAV (from the main page's shared breakpoints) ── */
@media (max-width: 1100px) {
  .pc-chrome .nav-links { display: none; }
  .pc-chrome .nav-hamburger { display: flex; }
}
@media (max-width: 768px) {
  nav.pc-chrome { height: 60px; padding: 0 20px; }
  .pc-chrome .nav-logo img { height: 40px; }
  .pc-chrome .nav-logo span { font-size: 13px; letter-spacing: 0.15em; }
}

/* ─── FOOTER ─── */
.site-footer.pc-chrome{ background: #000000; color: var(--muted); padding: 0 5% 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.pc-chrome .footer-layout{ display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
@media (max-width: 960px){ .pc-chrome .footer-layout{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .pc-chrome .footer-layout{ grid-template-columns: 1fr; } }
.pc-chrome .footer-logo-link{ display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.pc-chrome .footer-brand-name{ font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.7); }
.pc-chrome .footer-tagline-text{ font-size: 13px; line-height: 1.7; max-width: 260px; }
.pc-chrome .footer-col h4{ font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-family: var(--font-mono); }
.pc-chrome .footer-col ul{ list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pc-chrome .footer-col ul li a{ text-decoration: none; color: var(--muted); font-size: 13px; transition: color 0.2s; }
.pc-chrome .footer-col ul li a:hover{ color: white; }
.pc-chrome .footer-bottom{ border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 12px; }
.pc-chrome .footer-bottom a{ color: var(--muted); text-decoration: none; transition: color 0.2s; }
.pc-chrome .footer-bottom a:hover{ color: white; }
.pc-chrome .footer-bottom-links{ display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 600px){ .pc-chrome .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 8px; } .pc-chrome .footer-bottom-links{ gap: 16px; } }
