/* ==========================================================================
   Layout: header + navigation, footer, mobile call/quote bar
   Same structure as zOneStopShop.com so both sites behave the same way.
   ========================================================================== */

/* Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.site-header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand lockup: Zimmermann logo + campaign domain */
.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
  text-decoration: none;
  color: var(--navy);
}
.brand__logo { height: 34px; width: auto; }
.brand__text {
  font-weight: 800;
  font-stretch: var(--wdth-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.brand__text small {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--mark);
  margin-top: .25rem;
}
@media (max-width: 599px) {
  .brand { gap: .6rem; }
  .brand__logo { height: 24px; }
  .brand__text { font-size: 1rem; }
  .brand__text small { font-size: .6rem; }
  .brand__city { display: none; }
}

/* Primary nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.site-nav a {
  font-weight: 600;
  font-size: .97rem;
  color: var(--navy);
  text-decoration: none;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.site-nav .btn { padding: .6rem 1.1rem; border-bottom: 0; }

.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  padding: .55rem .85rem;
  min-height: 44px;
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }

/* Mobile navigation: collapses below 880px */
@media (max-width: 879px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 16px 32px -16px rgba(12,35,63,.25);
    transform-origin: top;
    transition: transform .18s var(--ease), opacity .18s var(--ease), visibility 0s linear .18s;
    transform: translateY(-6px);
    opacity: 0;
    visibility: hidden;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .site-nav a {
    padding: .9rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--rule);
  }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--navy); }
  .site-nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
}

/* Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--slate-light);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  font-size: .95rem;
}
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer h2 {
  color: var(--paper);
  font-size: 1rem;
  font-stretch: 100%;
  letter-spacing: 0;
  margin-bottom: .75rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.site-footer__logo { height: 36px; width: auto; margin-bottom: 1rem; }
.site-footer__links { display: grid; gap: .45rem; }

/* Social links under the footer address, as on zOneStopShop.com: the official LinkedIn and Facebook
   logos (img/), unaltered. Each keeps its own proportions; the LinkedIn file is wider than it is
   tall. If a file is missing, the name shows as a text link instead. */
.site-footer__social { margin-top: 1.1rem; }
.site-footer__social-label { display: block; margin-bottom: .35rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.social li { margin: 0; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-weight: 600;
}
.social img { height: 28px; width: auto; transition: opacity .15s var(--ease); }
.social a:hover img { opacity: .85; }
.social a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.social a.is-text { justify-content: flex-start; min-width: 0; margin-right: .75rem; }
.social a.is-text span { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }
.social a.is-text:hover span { text-decoration-color: var(--gold); }
.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-inline: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  font-size: var(--fs-sm);
}
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* Mobile call/quote bar: fixed to the bottom on phones ---------------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--rule);
  gap: .6rem;
}
.mobile-cta .btn { flex: 1; justify-content: center; }
@media (max-width: 767px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
}
