/* ==========================================================================
   co-chrome.css — native site chrome (header/footer) for the Astro rebuild.
   Replaces co-wp.css + co-chrome-dark.css: same visual values, new native
   selectors (no Divi #main-header/#top-header to remap anymore). Values
   port from co-chrome-dark.css (S4, design source CO-Backup-7-5-26); tokens
   come from co-cine.css :root (loads before this file).
   ========================================================================== */

body {
  margin: 0;
  background-color: var(--cine-bg);
  font-family: var(--cine-font);
}

/* ---- Top bar (phone/address strip) -------------------------------------- */

.co-topbar {
  background-color: var(--cine-bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(229, 229, 229, 0.7);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.co-topbar__inner {
  max-width: 1240px;
  margin-inline: auto;
  padding: 8px 24px;
}
.co-topbar a {
  color: inherit;
  text-decoration: none;
}

/* ---- Main header: glass over the dark body ------------------------------ */

.co-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.co-header__inner {
  max-width: 1240px;
  margin-inline: auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.co-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.co-header__logo img {
  display: block;
  height: 40px;
  width: auto;
}

/* ---- Desktop nav ---------------------------------------------------------
   Plain color lift on hover — no underline reveals (design-source rule). */

.co-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}
.co-nav a {
  color: #e5e5e5;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.co-nav a:hover {
  color: #ffffff;
}
.co-nav a[aria-current='page'] {
  color: #ffffff;
}

/* ---- Mobile: hamburger + slide-down panel ------------------------------- */

.co-nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.co-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background-color: #e5e5e5;
  transition: background-color 0.2s ease;
}
.co-nav-toggle:hover .co-nav-toggle__bar {
  background-color: #ffffff;
}

@media (max-width: 980px) {
  .co-nav-toggle {
    display: block;
  }
  .co-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #121212;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  }
  body.co-nav-open .co-nav {
    display: block;
  }
  .co-nav ul {
    display: block;
  }
  .co-nav a {
    display: block;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .co-nav a:hover {
    background-color: rgba(255, 255, 255, 0.04);
  }
}

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

.co-footer {
  background-color: var(--cine-bg);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
  color: rgba(229, 229, 229, 0.6);
  font-family: var(--cine-font);
  font-size: 14px;
  line-height: 1.7;
}
.co-footer__inner {
  max-width: 1240px;
  margin-inline: auto;
  padding: 64px 24px 32px;
}
.co-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px 32px;
}
@media (max-width: 980px) {
  .co-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .co-footer__grid {
    grid-template-columns: 1fr;
  }
}
.co-footer a {
  color: rgba(229, 229, 229, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.co-footer a:hover {
  color: #ffffff;
}
.co-footer__title,
.co-footer__title a {
  color: #ffffff;
  font-weight: 600;
}
.co-footer__title {
  display: block;
  margin: 0 0 12px;
}
.co-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.co-footer li {
  margin: 6px 0;
}
.co-footer address {
  font-style: normal;
}
.co-footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--cine-line);
  color: rgba(229, 229, 229, 0.5);
  font-size: 13px;
}
