/* ==========================================================================
   Lookeen site chrome — unified Header + Footer
   Loaded after all WP theme stylesheets so these rules win for .site-* scope.
   Palette mirrors blog.css / pages.css (dark theme).
   ========================================================================== */

:root {
  --chrome-bg: #0d1624;
  --chrome-bg-soft: #0b1320;
  --chrome-panel: #152237;
  --chrome-border: rgba(40, 60, 91, 0.6);
  --chrome-border-soft: rgba(40, 60, 91, 0.4);
  --chrome-heading: #f5f8fc;
  --chrome-text: #e9eef6;
  --chrome-muted: #aab0be;
  --chrome-accent: #0179ff;
  --chrome-accent-dark: #0061cd;
  --chrome-white: #ffffff;
}

/* --------------------------------------------------------------------------
   Buttons (shared by header CTA + footer phone)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--chrome-accent);
  color: var(--chrome-white);
}
.btn--primary:hover { background: var(--chrome-accent-dark); }
.btn--ghost {
  background: transparent;
  color: var(--chrome-text);
  border-color: var(--chrome-border);
}
.btn--ghost:hover { border-color: var(--chrome-accent); color: var(--chrome-white); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 22, 36, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--chrome-border);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-header__logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* Nav (desktop) */
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list a {
  position: relative;
  color: var(--chrome-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.15s ease;
}
.site-nav__list a:hover { color: var(--chrome-white); }
.site-nav__list a.is-active { color: var(--chrome-white); }
.site-nav__list a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--chrome-accent);
}
.site-nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Actions (lang + toggle) */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--chrome-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.lang-switch:hover { color: var(--chrome-white); background: rgba(255, 255, 255, 0.06); }
.lang-switch--static { cursor: default; }
.lang-switch svg { flex-shrink: 0; }

/* Hamburger (hidden on desktop) */
.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--chrome-border);
  border-radius: 9px;
  cursor: pointer;
}
.site-header__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--chrome-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header__toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header__toggle.is-open span:nth-child(2) { opacity: 0; }
.site-header__toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--chrome-bg-soft);
  border-top: 1px solid var(--chrome-border);
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(5, minmax(0, 1fr));
  gap: 32px 28px;
}
.site-footer__brand img {
  height: 36px;
  width: auto;
  display: block;
}
.site-footer__tagline {
  margin: 16px 0 0;
  max-width: 240px;
  color: var(--chrome-muted);
  font-size: 14px;
  line-height: 1.55;
}
.site-footer__col h4 {
  margin: 0 0 16px;
  color: var(--chrome-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.site-footer__col a {
  color: var(--chrome-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer__col a:hover { color: var(--chrome-white); }

/* Phone CTA band */
.site-footer__phone {
  margin-top: 44px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(1, 121, 255, 0.07);
  border: 1px solid rgba(1, 121, 255, 0.22);
  border-radius: 14px;
}
.site-footer__phone p {
  margin: 0;
  color: var(--chrome-text);
  font-size: 15px;
  font-weight: 500;
}

/* Bottom bar */
.site-footer__bottom {
  margin-top: 36px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--chrome-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--chrome-muted);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-footer__social a:hover { background: var(--chrome-accent); color: var(--chrome-white); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__copy {
  margin: 0;
  color: var(--chrome-muted);
  font-size: 13px;
}
.site-footer__copy a {
  color: var(--chrome-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer__copy a:hover { color: var(--chrome-white); }
.site-footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--chrome-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer__lang:hover { color: var(--chrome-white); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-header__inner { height: 64px; gap: 16px; }
  .site-header__logo img { height: 34px; }
  .site-header__toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px 24px 26px;
    background: var(--chrome-bg);
    border-bottom: 1px solid var(--chrome-border);
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.7);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__list li + li { border-top: 1px solid var(--chrome-border-soft); }
  .site-nav__list a {
    display: block;
    padding: 14px 2px;
    font-size: 16px;
  }
  .site-nav__list a.is-active::after { display: none; }
  .site-nav__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  .site-footer__inner { padding-top: 44px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__phone { flex-direction: column; align-items: flex-start; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
