/* ==========================================================================
   HORNBILL SPA — HEADER & FOOTER
   ========================================================================== */

.hb-header{
  position: sticky; top: 0; z-index: 999;
  background: rgba(237,231,220,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.hb-nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 64px;
  max-width:var(--max);
  margin:0 auto;
}
.hb-wordmark{
  font-size:19px; font-weight:500;
  display:flex; align-items:center; gap:10px;
}
.hb-header .hb-logo-img{ height:64px; width:auto; }
.hb-footer .hb-logo-img{ height:34px; width:auto; }

.hb-navlinks{ display:flex; align-items:center; gap:38px; font-size:13px; letter-spacing:0.02em; }
.hb-navlinks > a,
.hb-has-mega > a{ position:relative; padding-bottom:4px; font-family:'Inter',sans-serif; color:var(--ink) !important; text-decoration:none !important; }
.hb-navlinks > a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:var(--ink);
}
.hb-navlinks > a::after,
.hb-has-mega > a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:var(--ink);
  transform:scaleX(0); transform-origin:left;
  transition:transform .25s ease;
}
.hb-navlinks > a:hover::after,
.hb-has-mega > a:hover::after,
.hb-navlinks > a.active::after{
  transform:scaleX(1);
}
.hb-nav-cta{
  font-size:13px; font-weight:500; letter-spacing:0.02em;
  border-bottom:1px solid var(--ink); padding-bottom:2px;
  font-family:'Inter',sans-serif; color:var(--ink) !important; text-decoration:none !important;
}

.hb-menu-toggle{
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:8px;
}
.hb-menu-toggle span{ width:22px; height:1px; background:var(--ink); display:block; }

.hb-mobile-nav{
  display:none; flex-direction:column;
  background: var(--stone);
  border-top: 1px solid var(--line);
}
.hb-mobile-nav.is-open{ display:flex; }
.hb-mobile-nav a{
  padding:16px 20px; font-size:15px; border-bottom:1px solid var(--line);
  font-family:'Inter',sans-serif;
  color:var(--ink) !important;
  text-decoration:none !important;
  display:block;
}

.hb-mobile-nav a.hb-nav-cta{
  font-weight:600;
  color:var(--oxide) !important;
  border-bottom:1px solid var(--line);
}

@media (max-width: 900px){
  .hb-navlinks{ display:none; }
  .hb-nav-cta{ display:none; }
}

.hb-footer{
  background: var(--ink); color: rgba(237,231,220,0.65);
  padding: 80px 64px 32px;
}
.hb-footer-top{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:48px;
  padding-bottom:64px; border-bottom:1px solid var(--line-on-dark);
  max-width:var(--max); margin:0 auto;
}
.hb-footer .hb-footer-wordmark{ color: var(--stone); font-size:18px; gap:8px; }
.hb-footer-wordmark svg{ width:24px; height:24px; }
.hb-footer-desc{ margin-top:18px; font-size:13.5px; max-width:220px; line-height:1.7; }
.hb-footer-col h4{
  font-family:'Inter',sans-serif; font-size:11px; font-weight:600;
  letter-spacing:0.12em; text-transform:uppercase; color:rgba(237,231,220,0.4);
  margin-bottom:18px;
}
.hb-footer-col a{
  display:block; font-size:13.5px; margin-bottom:12px;
  color: rgba(237,231,220,0.75) !important; font-family:'Inter',sans-serif;
  text-decoration:none !important;
}
.hb-footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:28px; font-size:12px; color:rgba(237,231,220,0.4);
  font-family:'Inter',sans-serif;
  max-width:var(--max); margin:0 auto;
}
.hb-footer-bottom a{ color: rgba(237,231,220,0.4) !important; text-decoration:none !important; }

@media (max-width: 760px){
  .hb-footer{ padding:60px 22px 32px; }
  .hb-footer-top{ grid-template-columns:1fr; gap:40px; padding-bottom:40px; }
  .hb-footer-col a{ font-size:15px; padding:4px 0; }
  .hb-footer-bottom{ flex-direction:column; gap:8px; align-items:flex-start; }
}

/* Remove GP's own header/footer chrome so ours is the only one visible */
.inside-header{ padding-top:0 !important; padding-bottom:0 !important; }
.site-info{ display:none !important; }

/* ===== MEGA MENU (desktop, unchanged) ===== */
.hb-has-mega{ position:relative; display:inline-flex; align-items:center; }
.hb-has-mega > a{ position:relative; }

.hb-mega-panel{
  position:fixed;
  top:92px;
  left:0; right:0;
  background:var(--stone);
  border-bottom:1px solid var(--line);
  box-shadow:0 24px 48px rgba(0,0,0,0.14);
  opacity:0; visibility:hidden; transform:translateY(-8px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s;
  z-index:1000;
}
.hb-has-mega:hover .hb-mega-panel{
  opacity:1; visibility:visible; transform:translateY(0);
}

.hb-mega-inner{
  max-width:1200px; margin:0 auto;
  display:grid;
  grid-template-columns:260px 1fr;
  min-height:400px;
}

.hb-mega-categories-col{
  background:var(--stone);
  padding:48px 40px;
}
.hb-mega-label{
  display:block;
  font-family:'Inter',sans-serif; font-size:11px; font-weight:600;
  letter-spacing:0.14em; text-transform:uppercase;
  color:var(--oxide); margin-bottom:28px;
}
.hb-mega-categories{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:22px;
}
.hb-mega-categories li{ padding:11px 0; }
.hb-mega-categories li a{
  font-family:'Fraunces',serif;
  font-size:22px; font-weight:360;
  color:rgba(23,32,28,0.4) !important;
  text-decoration:none !important;
  cursor:pointer;
  border-bottom:1px solid transparent;
  transition:color .2s ease;
  display:inline-block;
  width:fit-content;
}
.hb-mega-categories li:hover a,
.hb-mega-categories li.active a{
  color:var(--ink) !important;
}
.hb-mega-categories li.active a{
  border-bottom-color:var(--ink);
}

.hb-mega-items-col{
  background:var(--ink);
  padding:48px 56px;
}
.hb-mega-cat-title{
  display:block;
  font-family:'Inter',sans-serif; font-size:12px; font-weight:700;
  letter-spacing:0.1em; text-transform:uppercase;
  color:var(--stone); margin-bottom:28px;
}
.hb-mega-items{
  display:grid;
  grid-auto-flow:column;
  grid-template-rows:repeat(6, auto);
  gap:16px 48px;
  align-content:start;
}
.hb-mega-items a{
  font-family:'Fraunces',serif; font-size:17px; font-weight:360;
  color:var(--stone) !important; text-decoration:none !important;
  display:inline-block;
  width:fit-content;
  transition:color .2s ease, transform .2s ease;
}
.hb-mega-items a:hover{
  color:var(--gold-1) !important;
  transform:translateX(4px);
}
.hb-mega-viewall{
  display:inline-block;
  margin-top:32px;
  font-family:'Inter',sans-serif; font-size:12px; font-weight:600;
  letter-spacing:0.04em;
  color:var(--stone) !important; text-decoration:none !important;
  border-bottom:1px solid rgba(237,231,220,0.5);
  padding-bottom:3px;
}
.hb-mega-viewall:hover{
  border-color:var(--gold-1);
  color:var(--gold-1) !important;
}

@media (max-width:900px){
  .hb-has-mega .hb-mega-panel{ display:none; }
}

/* ===== Mobile: uniform 3-bar hamburger + Book Now beside it ===== */
.hb-mobile-controls{ display:none; align-items:center; gap:14px; }
@media (max-width:900px){
  .hb-mobile-controls{ display:flex; }
  .hb-menu-toggle{ display:flex; }
}
.hb-mobile-book{
  display:inline-block;
  background:var(--ink); color:var(--stone) !important;
  font-family:'Inter',sans-serif; font-size:12px; font-weight:600;
  letter-spacing:0.04em; text-transform:uppercase;
  padding:10px 18px; border-radius:2px; text-decoration:none !important;
}
.hb-menu-toggle span{ width:22px !important; }

/* ===== Mobile nav accordion for Treatments ===== */
.hb-mnav-toggle{
  display:flex; align-items:center; justify-content:space-between; width:100%;
  padding:16px 20px; font-size:15px; border-bottom:1px solid var(--line);
  font-family:'Inter',sans-serif; color:var(--ink); background:none;
  border-left:none; border-right:none; border-top:none;
  cursor:pointer; text-align:left;
}
.hb-mnav-chevron{ width:16px; height:16px; transition:transform .2s ease; color:var(--ink); }
.hb-mnav-toggle[aria-expanded="true"] .hb-mnav-chevron{ transform:rotate(180deg); }

.hb-mnav-submenu{
  display:none; flex-direction:column;
  background:var(--stone-deep);
}
.hb-mnav-submenu.is-open{ display:flex; }
.hb-mnav-submenu a{
  padding:14px 20px 14px 36px !important; font-size:14px;
}

.hb-footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:28px; font-size:12px; color:rgba(237,231,220,0.4);
  font-family:'Inter',sans-serif;
  max-width:var(--max); margin:0 auto;
  flex-wrap:wrap;
  gap:8px;
}