/* ============================================================
   CONLUXS Global Shell V2 — Shared Header/Footer Styles
   Extracted from homepage-redesign-v2.css (Homepage V2 Clean).
   Applies the Homepage V2 Header/Footer to all content pages.
   Header z-index raised to 50 to clear sticky .cat-nav (z-index 40).
   ============================================================ */

:root {
  --home-dark: #0b1216;
  --home-paper: #f6f7f5;
  --home-lime: var(--signal, #d7ff3f);
  --home-max: 1220px;
}

.home-shell {
  width: min(calc(100% - 48px), var(--home-max));
  margin: auto;
}

/* ---------- Utility bar ---------- */
.home-utility {
  background: #05090b;
  color: #c8d0d2;
  font-size: 12px;
}
.home-utility .home-shell {
  min-height: 34px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.home-utility a {
  color: inherit;
  text-decoration: none;
}
.home-utility__quote {
  margin-left: auto;
  color: var(--home-lime) !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 10px;
}

/* ---------- Header ---------- */
.home-header {
  position: absolute;
  z-index: 50;
  top: 34px;
  width: 100%;
  background: linear-gradient(#071014e8, transparent);
}
.home-header__inner {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.home-brand img {
  display: block;
  width: 144px;
  height: auto;
}
.home-nav {
  margin-left: auto;
}
.home-nav .site-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.home-nav [aria-current="page"] {
  color: var(--home-lime);
  border-bottom: 2px solid var(--home-lime);
  padding-bottom: 12px;
}

/* ---------- Buttons ---------- */
.home-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--home-lime);
  color: #0b1216 !important;
  padding: 15px 20px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--home-lime);
}
.home-button--small {
  padding: 12px 16px;
}
.home-button--ghost {
  background: transparent;
  color: inherit !important;
  border-color: currentColor;
}

/* ---------- Eyebrow (footer CTA) ---------- */
.home-eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #7ea20a;
  margin: 0 0 15px;
}

/* ---------- Footer ---------- */
.home-footer {
  background: #091216;
  color: #d6dfe1;
  padding: 48px 0 18px;
}
.home-footer h2 {
  font-size: clamp(32px, 3.4vw, 49px);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 0;
}
.home-footer__cta {
  border: 1px solid #314047;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}
.home-footer__cta h2 {
  font-size: 28px;
  margin: 0;
}
.home-footer__cta p:not(.home-eyebrow) {
  font-size: 13px;
  max-width: 470px;
  color: #bdc7c9;
}
.home-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 35px;
}
.home-footer__logo {
  width: 145px;
  height: auto;
}
.home-footer p,
.home-footer a {
  font-size: 13.5px;
  line-height: 1.65;
  color: #bdc7c9;
  text-decoration: none;
}
.home-footer h3 {
  font-size: 13px;
  color: #fff;
  margin: 10px 0 13px;
}
.home-footer__grid a {
  display: block;
  margin: 5px 0;
}
.home-social {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}
.home-social a {
  font-size: 16px;
}
.home-footer__base {
  border-top: 1px solid #26343a;
  margin-top: 35px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8e9ca0;
}
.home-footer__base a {
  font-size: 12px;
}

/* ---------- Brochure form (dark footer adaptation) ---------- */
.home-footer .brochure-block {
  margin-top: 20px;
}
.home-footer .brochure-block__title {
  font-size: 13px;
  color: #fff;
  margin: 0 0 10px;
}
.home-footer .brochure-form__input {
  background: #0d1519;
  border-color: #314047;
  color: #fff;
}
.home-footer .brochure-form__input::placeholder {
  color: #8e9ca0;
}

/* ---------- Responsive ---------- */
@media (max-width: 850px) {
  .home-utility span,
  .home-utility__quote,
  .home-button--small {
    display: none;
  }
  .home-header {
    top: 34px;
  }
  .home-menu {
    margin-left: auto;
    display: block;
  }
  .home-nav {
    display: none;
  }
  .home-nav.is-open {
    display: block;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #0b1216;
    padding: 22px;
  }
  .home-nav .site-nav__list {
    display: grid;
    gap: 18px;
  }
  .home-nav a {
    display: block;
    min-height: auto;
    border-bottom: none;
    padding: 4px 0;
  }
  .home-footer__cta,
  .home-footer__grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .home-footer__base {
    gap: 12px;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .home-shell {
    width: min(calc(100% - 32px), var(--home-max));
  }
  .home-utility .home-shell {
    gap: 13px;
    font-size: 10px;
  }
  .home-utility .home-shell a {
    white-space: nowrap;
  }
  .home-button {
    width: 100%;
    justify-content: center;
  }
  .home-footer__cta {
    padding: 22px;
  }
  .home-footer__cta h2 {
    font-size: 26px;
  }
}
