/* HPS chrome: header (hell), nav, search overlay, footer */

/* ---------- Header (hell) ---------- */
.hps-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--line);
}
.hps-header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 78px; display: flex; align-items: center; gap: 22px;
}
.hps-logo { display: flex; align-items: center; flex: none; }
.hps-logo img { height: 42px; width: auto; }

.hps-nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.hps-nav a {
  color: var(--petrol); font-weight: 600; font-size: 15.5px; padding: 9px 12px; border-radius: 9px;
  position: relative; transition: background .14s; white-space: nowrap;
}
.hps-nav a:hover { background: var(--bg-grey); }
.hps-nav a::after {
  content:""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  background: var(--mint); border-radius: 2px; transform: scaleX(0); transition: transform .18s; transform-origin: left;
}
.hps-nav a:hover::after { transform: scaleX(1); }

.hps-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px; border: none;
  background: var(--bg-grey); color: var(--petrol); transition: background .14s; flex: none;
}
.icon-btn:hover { background: var(--bg-mint); }
.on-dark .icon-btn { background: rgba(255,255,255,.1); color: #fff; }
.on-dark .icon-btn:hover { background: rgba(255,255,255,.2); }
.hps-login { padding: 11px 18px; min-height: 44px; font-size: 15px; }
.hps-burger { display: none; }

/* language switcher (hell) */
.langsw { position: relative; }
.langsw-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 13px;
  border-radius: 11px; border: 1px solid var(--line); background: #fff;
  color: var(--petrol); font-weight: 600; font-size: 14px; transition: background .14s, border-color .14s;
}
.langsw-btn:hover { background: var(--bg-grey); border-color: var(--mint); }
.langsw-btn .mono { color: var(--mint-600); }
.langsw-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; z-index: 70;
}
.langsw-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 8px; border: none; background: none;
  color: var(--text); font-size: 15px; font-weight: 500;
}
.langsw-item .mono { color: var(--mint-600); font-weight: 700; min-width: 26px; }
.langsw-item:hover { background: var(--bg-mint); }
.langsw-item.is-active { color: var(--petrol); font-weight: 700; }
.langsw-item svg { margin-left: auto; color: var(--mint-600); }

/* mobile menu */
.hps-mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--petrol);
  padding: 18px 22px 28px; display: flex; flex-direction: column; gap: 8px; animation: hps-slide .22s ease;
}
@keyframes hps-slide { from { opacity:.4; transform: translateY(-8px); } to { opacity:1; transform:none; } }
.hps-mobile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hps-mobile-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: auto; }
.hps-mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-size: 20px; font-weight: 600; padding: 16px 6px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.hps-mobile-nav a svg { color: var(--mint); }

/* ---------- Search overlay ---------- */
.search-ov {
  position: fixed; inset: 0; z-index: 120; background: rgba(0,28,32,.55);
  backdrop-filter: blur(4px); padding: 12vh 20px 20px; opacity: 1;
}
@keyframes hps-fade { from { opacity:0 } to { opacity:1 } }
.search-ov-panel {
  max-width: 720px; margin: 0 auto; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; animation: hps-pop .18s ease both;
}
@keyframes hps-pop { from { opacity:0; transform: translateY(-10px) } to { opacity:1; transform: none } }
.search-ov-bar { display: flex; align-items: center; gap: 14px; padding: 18px; border-bottom: 1px solid var(--line); }
.search-ov-bar input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 18px; color: var(--text); min-width: 0; background: none; }
.search-ov-close { border: none; background: var(--bg-grey); color: var(--text-2); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.search-ov-close:hover { background: var(--bg-mint); color: var(--petrol); }
.search-ov-sugg { padding: 14px 18px 20px; }
.search-ov-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.search-ov-sugg ul { display: flex; flex-direction: column; }
.search-ov-sugg a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 10px; font-size: 16px; font-weight: 500; color: var(--text); }
.search-ov-sugg a:hover { background: var(--bg-mint); }
.search-ov-sugg a svg { color: var(--mint-600); }

/* ---------- Footer ---------- */
.hps-footer { background: var(--petrol); color: #fff; padding: 66px 0 28px; }
.hps-footer-grid { display: grid; grid-template-columns: 1.7fr 1.1fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.hps-footer-brand img { height: 34px; margin-bottom: 16px; }
.hps-footer-brand p { color: var(--text-on-dark-2); font-size: 15px; max-width: 320px; }
.hps-footer-contact { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.hps-footer-contact li { display: flex; align-items: flex-start; gap: 11px; color: #fff; font-size: 15px; line-height: 1.4; }
.hps-footer-contact svg { color: var(--mint); flex: none; margin-top: 2px; }
.hps-footer-contact a { color: #fff; }
.hps-footer-contact a:hover { color: var(--mint); }
.hps-footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.hps-footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.hps-footer-col a { color: var(--text-on-dark-2); font-size: 15px; display: inline-block; padding: 4px 0; }
.hps-footer-col a:hover { color: var(--mint); }
.hps-hours { display: flex; flex-direction: column; gap: 8px; }
.hps-hours li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; color: #fff; padding-bottom: 6px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.hps-hours li .muted { color: var(--text-on-dark-2); }
.hps-hours-note { color: var(--text-on-dark-2); font-size: 13px; margin-top: 12px; display: flex; gap: 6px; }
.hps-footer-partner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hps-footer-partner-h { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-on-dark-2); }
.hps-footer-partner ul { display: flex; gap: 10px; flex-wrap: wrap; }
.hps-footer-partner a {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff; font-weight: 600; font-size: 14px; border: 1px solid rgba(255,255,255,.14); transition: background .14s;
}
.hps-footer-partner a:hover { background: rgba(255,255,255,.18); }
.hps-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; gap: 16px; flex-wrap: wrap; }
.hps-footer-bottom p { color: var(--text-on-dark-2); font-size: 14px; }
.hps-footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.hps-footer-bottom a { color: var(--text-on-dark-2); font-size: 14px; }
.hps-footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive header/footer ---------- */
@container site (max-width: 1180px) {
  .hps-nav a { padding: 9px 9px; font-size: 15px; }
  .hps-login span { display: none; }
  .hps-login { padding: 11px 13px; }
}
@container site (max-width: 1040px) {
  .hps-nav, .hps-login { display: none; }
  .hps-burger { display: inline-flex; }
  .hps-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hps-footer-brand, .hps-footer-hours { grid-column: span 1; }
}
@container site (max-width: 760px) {
  .hps-footer-grid { grid-template-columns: 1fr 1fr; }
  .hps-footer-brand { grid-column: 1 / -1; }
}
@container site (max-width: 600px) {
  .hps-header-inner { height: 64px; padding: 0 18px; gap: 12px; }
  .hps-logo img { height: 32px; }
  .hps-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hps-footer { padding-top: 48px; }
}
