/* Horizons shared menu + footer styles. Everything is scoped to .hp so it is safe on older pages too. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600&display=swap');

.hp, .hp * { margin: 0; padding: 0; box-sizing: border-box; }
.hp { font-family: 'DM Sans', sans-serif; color: #1a2e2e; background: #fff; font-size: 14px; line-height: 1.5; text-align: left; }
.hp a:focus-visible, .hp button:focus-visible { outline: 2px solid #3dbfbf; outline-offset: 2px; }

.hp .nav, .hp .footer { padding-left: max(32px, calc((100% - 1140px) / 2)); padding-right: max(32px, calc((100% - 1140px) / 2)); }

/* MENU */
.hp .nav { background: #fff; border-bottom: 1px solid #e8f4f4; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; position: sticky; top: 0; z-index: 50; }
.hp .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hp .nav-logo-img { height: 54px; width: auto; display: block; }
.hp .nav-logo-icon { width: 36px; height: 36px; background: #3dbfbf; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hp .nav-logo-icon svg { width: 20px; height: 20px; }
.hp .nav-logo-text { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: #1a2e2e; line-height: 1.1; }
.hp .nav-logo-sub { font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 400; color: #5a7a7a; text-transform: uppercase; letter-spacing: 1.2px; display: block; margin-top: 3px; }
.hp .nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.hp .nav-links li { list-style: none; }
.hp .nav-links a { text-decoration: none; color: #3d5c5c; font-size: 13px; font-weight: 500; }
.hp .nav-links a:hover { color: #1a2e2e; }
.hp .nav-links a.nav-cta, .hp .nav-links a.nav-cta:hover { background: #3dbfbf; color: #fff; padding: 8px 18px; border-radius: 6px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.hp .nav-phone { font-size: 13px; font-weight: 600; color: #1a2e2e; text-decoration: none; white-space: nowrap; }
.hp .nav-toggle { display: none; background: none; border: 1px solid #d8f0f0; border-radius: 6px; width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.hp .nav-toggle svg { width: 20px; height: 20px; }
.hp .nav-links li.nav-li-phone { display: none; }

/* FOOTER */
.hp .footer { background: #0a1f1f; padding-top: 40px; padding-bottom: 24px; color: rgba(255,255,255,0.5); font-size: 12px; }
.hp .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.hp .footer-brand-name { font-family: 'Playfair Display', serif; font-size: 16px; color: #fff; margin-bottom: 8px; }
.hp .footer-brand-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 16px; }
.hp .footer-phone { font-size: 14px; font-weight: 600; color: #3dbfbf; text-decoration: none; }
.hp .footer-col-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.hp .footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hp .footer-links li { list-style: none; }
.hp .footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 12px; }
.hp .footer-links a:hover { color: rgba(255,255,255,0.8); }
.hp .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 11px; color: rgba(255,255,255,0.3); }

@media (max-width: 960px) {
  .hp .nav-phone { display: none; }
  .hp .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hp .nav, .hp .footer { padding-left: 20px; padding-right: 20px; }
  .hp .nav { flex-wrap: wrap; height: auto; min-height: 64px; padding-top: 12px; padding-bottom: 12px; }
  .hp .nav-toggle { display: inline-flex; }
  .hp .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 0; width: 100%; order: 3; padding-top: 8px; }
  .hp .nav.open .nav-links { display: flex; }
  .hp .nav-links li { border-top: 1px solid #e8f4f4; }
  .hp .nav-links a { display: block; padding: 14px 4px; font-size: 15px; }
  .hp .nav-links a.nav-cta { margin: 12px 0 4px; padding: 14px 18px; text-align: center; font-size: 15px; }
  .hp .nav-links li.nav-li-cta { border-top: none; }
  .hp .nav-links li.nav-li-phone { display: block; }
  .hp .nav-links li.nav-li-phone a { font-weight: 600; color: #1a2e2e; }
  .hp .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hp .footer-links a { font-size: 14px; }
}
@media (max-width: 720px) { .hp .nav-logo-img { height: 46px; } }

/* ===== Treatments drop-down in the menu (16 Nov 2026) ===== */
.hp .nav-links li.nav-has-sub {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}
.hp .nav-links .nav-caret {
  display: inline-block;
  margin-left: 3px;
  font-size: 10px;
}
.hp .nav-links .nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  z-index: 1000;
  min-width: 210px;
  padding: 8px;
  list-style: none;
  background: #ffffff;
  border: 1px solid #d8f0f0;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(13, 38, 38, 0.12);
}
.hp .nav-links li.nav-has-sub:hover > .nav-sub,
.hp .nav-links li.nav-has-sub:focus-within > .nav-sub,
.hp .nav-links li.nav-has-sub.sub-open > .nav-sub {
  display: block;
}
.hp .nav-links .nav-sub li {
  display: block;
}
.hp .nav-links .nav-sub a {
  display: block;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 14px;
  color: #1a2e2e;
  white-space: nowrap;
}
.hp .nav-links .nav-sub a:hover {
  background: #f4fbfb;
  color: #0d2626;
}
@media (max-width: 720px) {
  .hp .nav-links li.nav-has-sub {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .hp .nav-links .nav-caret {
    display: none;
  }
  .hp .nav-links .nav-sub {
    display: block;
    position: static;
    min-width: 0;
    padding: 4px 0 0 14px;
    background: none;
    border: 0;
    box-shadow: none;
  }
}

/* ===== Mobile action bar: Call and Book Appointment (phones only), 17 Nov 2026 ===== */
.hz-mbar, .hz-mbar-spacer { display: none; }
@media (max-width: 720px) {
  .hz-mbar-spacer { display: block; height: 68px; background: #0d2626; }
  .hz-mbar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99990;
    box-sizing: border-box;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    border-top: 1px solid #d8f0f0;
    box-shadow: 0 -6px 18px rgba(13, 38, 38, 0.12);
    transition: transform 0.2s;
  }
  .hz-mbar.hz-mbar-hide { transform: translateY(110%); }
  .hz-mbar a {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0 12px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }
  .hz-mbar a.hz-mbar-call { flex: 0 0 34%; background: #0d2626; color: #ffffff; }
  .hz-mbar a.hz-mbar-book { background: #3dbfbf; color: #0d2626; }
  /* The chat button sits above the bar instead of on top of it. */
  #hz-chat-bubble { bottom: 80px !important; right: 14px !important; transform: scale(0.85); transform-origin: bottom right; }
  /* While someone is typing in a form, the chat button also steps aside. */
  body.hz-typing #hz-chat-bubble { display: none; }
}
@media print { .hz-mbar, .hz-mbar-spacer { display: none !important; } }


/* Emoji pictures (WordPress swaps emoji for small images): keep them text-sized everywhere, including the chat. 17 Nov 2026 */
img.emoji, img.wp-smiley { display: inline !important; width: 1em !important; height: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; border: none !important; box-shadow: none !important; background: none !important; padding: 0 !important; }
