/* ==========================================================================
   petsky — chrome: header, mobile sheet, footer, mobile action bar
   ========================================================================== */

/* ---------------- header ---------------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.hdr--solid {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(20,40,32,.4);
}
.hdr__in { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { height: 38px; width: auto; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--primary-deep); }
.brand__word::after { content: ""; }
.hdr__nav { display: flex; align-items: center; gap: 4px; }
.hdr__link {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--ink-2); padding: 9px 14px; border-radius: var(--r-pill);
  transition: color .15s ease, background .15s ease; position: relative;
}
.hdr__link:hover { color: var(--primary-deep); background: var(--primary-soft); }
.hdr__link.is-active { color: var(--primary-deep); }
.hdr__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.hdr__cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.hdr__call { font-family: var(--font-mono); font-size: 13px; padding: 11px 16px; }
.hdr__burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px; color: var(--text); background: var(--surface); border: 1px solid var(--border);
}

/* mobile sheet */
.msheet {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  background: var(--bg); padding: 18px var(--gut) 28px;
  display: flex; flex-direction: column; gap: 18px;
  animation: sheetIn .22s ease;
  overflow-y: auto;
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.msheet__nav { display: flex; flex-direction: column; gap: 2px; }
.msheet__link {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  padding: 16px 4px; border-bottom: 1px solid var(--hairline); color: var(--text);
}
.msheet__link svg { width: 18px; height: 18px; color: var(--muted); }
.msheet__link.is-active { color: var(--primary-deep); }
.msheet__link.is-active svg { color: var(--primary); }
.msheet__cta { display: grid; gap: 10px; margin-top: 6px; }
.msheet__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------------- footer ---------------- */
.ftr { background: var(--secondary-deep); color: rgba(255,255,255,.78); margin-top: auto; }
.ftr__in {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px;
  padding-block: clamp(48px, 7vw, 80px);
}
.ftr__logo { height: 84px; width: auto; background: #fff; padding: 12px 16px; border-radius: var(--r-md); }
.ftr__blurb { margin-top: 16px; font-size: 14px; max-width: 30ch; line-height: 1.6; }
.ftr__social { display: flex; gap: 10px; margin-top: 18px; }
.ftr__social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background .15s ease, transform .15s ease;
}
.ftr__social a:hover { background: var(--primary); transform: translateY(-2px); }
.ftr__social svg { width: 18px; height: 18px; }
.ftr__col { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.ftr__h { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 600; margin-bottom: 3px; }
.ftr__col a { font-size: 14.5px; color: rgba(255,255,255,.78); transition: color .15s ease; line-height: 1.5; }
.ftr__col a:hover { color: #fff; }
.ftr__phone { font-family: var(--font-mono); font-weight: 600; color: #fff !important; }
.ftr__hours { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--accent); }
.ftr__cta { color: var(--accent); font-weight: 700; font-family: var(--font-display); font-size: 15px; text-align: left; padding: 0; }
.ftr__cta:hover { text-decoration: underline; }
.ftr__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px; color: rgba(255,255,255,.55);
}
.ftr__note { max-width: 52ch; }

/* ---------------- mobile action bar ---------------- */
.mbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 58;
  display: none; grid-template-columns: repeat(3,1fr);
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px -18px rgba(20,40,32,.4);
}
.mbar__b {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700; color: var(--ink-2);
  padding: 6px 0; border-radius: 12px;
}
.mbar__b svg { width: 21px; height: 21px; color: var(--primary-deep); }
.mbar__b:active { background: var(--primary-soft); }

/* ---------------- responsive ---------------- */
@media (max-width: 1000px) {
  .ftr__in { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__burger { display: inline-flex; }
  .mbar { display: grid; }
  /* leave room for the action bar */
  .app-shell { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .ftr__in { grid-template-columns: 1fr; }
  .ftr__base { flex-direction: column; }
}
