/* ===== AG Consulting — shared header/footer chrome (used on all pages) ===== */
:root {
  --agc-dark-bg: #090c16;
  --agc-dark-line: rgba(255, 255, 255, 0.12);
  --agc-grad-purple: #7c4dff;
  --agc-grad-pink: #e0459e;
  --agc-accent-cyan: #22d3ee;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(120deg, #0a1830, var(--agc-dark-bg) 65%);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--agc-dark-line);
}
.site-header--overlay {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: none;
}
/* pages where the header sits BEFORE the hero markup (not nested inside it):
   lift it out of flow so the hero's own background can reach the very top edge */
.site-header--floating {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
body.has-floating-header .hero-copy,
body.has-floating-header .hero-content {
  margin-top: 74px;
}
.site-header .header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.site-header .brand { display: flex; align-items: center; }
.site-header .brand-logo { height: 39px; width: auto; }

.site-header .site-nav { display: flex; gap: 32px; }
.site-header .site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 4px 0;
}
.site-header .site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--agc-accent-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.site-header .site-nav a:hover { color: #fff; }
.site-header .site-nav a:hover::after,
.site-header .site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.site-header .site-nav a.active { color: #fff; }

.site-header .header-actions { display: flex; align-items: center; gap: 18px; }

.lang-switch {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-opacity='.6' stroke-width='1.6'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 8px center / 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 26px 7px 10px;
  cursor: pointer;
}
.lang-switch:hover { border-color: rgba(255, 255, 255, 0.35); }
.lang-switch option { color: #06101f; }
@media (max-width: 1024px) {
  .lang-switch { font-size: 0.72rem; padding: 6px 22px 6px 8px; }
}

.site-header .btn-grad {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  border: 1.5px solid transparent;
  background-image: linear-gradient(var(--agc-dark-bg), var(--agc-dark-bg)), linear-gradient(90deg, var(--agc-grad-purple), var(--agc-grad-pink));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform 0.2s ease;
}
.site-header .btn-grad:hover { transform: translateY(-1px); }
.site-header .btn-grad-arrow { color: var(--agc-grad-pink); }

.site-header .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.site-header .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

@media (max-width: 1024px) {
  .site-header .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--agc-dark-bg);
    border-bottom: 1px solid var(--agc-dark-line);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .site-header .site-nav.open { display: flex; }
  .site-header .site-nav a { padding: 16px 24px; border-top: 1px solid var(--agc-dark-line); }
  .site-header .site-nav a::after { display: none; }
  .site-header .header-actions .btn-grad { display: none; }
  .site-header .nav-toggle { display: flex; }
}

/* ===== Footer ===== */
.site-footer {
  height: 85px;
  border-top: 1px solid var(--agc-dark-line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 4%;
  font-size: 10px;
  color: #7d8a9a;
  background: var(--agc-dark-bg);
}
.site-footer > span:last-child { text-align: right; }
.site-footer .brand { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.site-footer .brand-logo { height: 30px; width: auto; }

@media (max-width: 760px) {
  .site-footer { grid-template-columns: 1fr; gap: 10px; height: auto; padding: 28px 5%; }
  .site-footer > span:last-child { text-align: left; }
}
