:root{
  --chm-th-height: 92px;
  --chm-th-max-width: 100%;
  --chm-th-border: rgba(0,0,0,.08);
  --chm-th-bg: #f6f4f1;
  --chm-th-text: #111;
  --chm-th-muted: rgba(17,17,17,.72);

  /* Logo sizing */
  --chm-th-logo-max-height: 90px;

  /* CTA colors */
  --chm-th-cta-bg: #014755;
  --chm-th-cta-text: #fff;

  /* Mobile CTA (requested #014755) */
  --chm-th-cta-bg-mobile: #014755;
  --chm-th-cta-text-mobile: #fff;
}

/* Base wrapper */
.chm-th{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--chm-th-bg);
  border-bottom: 1px solid var(--chm-th-border);
}

/* Inner layout */
.chm-th__inner{
  max-width: var(--chm-th-max-width);
  margin: 0 auto;
  height: var(--chm-th-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  gap: 18px;
}

/* Logo */
.chm-th__logo img,
.chm-th-mobile__logo img{
  max-height: var(--chm-th-logo-max-height);
  width: auto;
  display: block;
}

/* Desktop nav */
.chm-th__nav{
  flex: 1;
  display: flex;
  justify-content: center;
}
.chm-th__nav ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.chm-th__nav > ul,
.chm-th__nav .chm-th-nav__list{
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Top-level links */
.chm-th__nav a{
  color: var(--chm-th-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 6px;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
}
.chm-th__nav a:hover{ opacity:.85; }

/* Dropdowns */
.chm-th__nav li{ position:relative; }
.chm-th__nav li.menu-item-has-children > a:after{
  content:"▾";
  font-size:11px;
  margin-left:6px;
  opacity:.6;
}
.chm-th__nav li > ul{
  position:absolute;
  left:0;
  top:calc(100% + 12px);
  min-width:260px;
  background:#fff;
  border:1px solid var(--chm-th-border);
  border-radius:14px;
  box-shadow:0 12px 36px rgba(0,0,0,.08);
  padding:12px;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:all .18s ease;
}
.chm-th__nav li > ul a{
  font-weight:600;
  font-size:14px;
  padding:10px 10px;
  width:100%;
  border-radius:10px;
}
.chm-th__nav li > ul a:hover{ background:rgba(0,0,0,.04); }
.chm-th__nav li:hover > ul,
.chm-th__nav li:focus-within > ul{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.chm-th__nav li > ul li > ul{
  top:0;
  left:calc(100% + 8px);
}

/* Utilities (desktop) */
.chm-th__utils{
  display: flex;
  align-items: center;
  gap: 12px;
}
.chm-th__phone{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #014755;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 10px;
  border-radius: 12px;
}
.chm-th__phone:hover{ background: rgba(0,0,0,.04); }

.chm-th__phone-icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.86.31 1.7.57 2.5a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.58-1.09a2 2 0 0 1 2.11-.45c.8.26 1.64.45 2.5.57A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.86.31 1.7.57 2.5a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.58-1.09a2 2 0 0 1 2.11-.45c.8.26 1.64.45 2.5.57A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.chm-th__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--chm-th-cta-bg);
  color: var(--chm-th-cta-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
.chm-th__cta:hover{ opacity: .9; }

/* Toggle button (mobile) */
.chm-th__toggle{
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--chm-th-border);
  background: #fff;
  cursor: pointer;
}
.chm-th__toggle-lines{
  display:inline-block;
  width:22px;
  height:2px;
  background:var(--chm-th-text);
  position:relative;
}
.chm-th__toggle-lines:before,
.chm-th__toggle-lines:after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:var(--chm-th-text);
}
.chm-th__toggle-lines:before{ top:-7px; }
.chm-th__toggle-lines:after{ top:7px; }

/* Mobile panel */
.chm-th-mobile{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(92vw, 380px);
  background: #fff;
  z-index: 10001;
  transform: translateX(110%);
  transition: transform .22s ease;
  border-left: 1px solid var(--chm-th-border);
  display: flex;
  flex-direction: column;
}
.chm-th-mobile__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 16px 12px;
  border-bottom:1px solid var(--chm-th-border);
}
.chm-th-mobile__close{
  width:42px;
  height:42px;
  border-radius:10px;
  border:1px #014755;
  background:#fff;
  cursor:pointer;
  font-size:28px;
  line-height:1;
}

/* Mobile actions (phone + CTA) */
.chm-th-mobile__actions{
  padding: 12px 16px 10px;
  display: grid;
  gap: 10px;
}
.chm-th-mobile__phone{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--chm-th-text);
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 12px 12px;
}
.chm-th-mobile__cta{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight: 900;
  height: 46px;
  border-radius: 14px;
  background: var(--chm-th-cta-bg-mobile);
  color: var(--chm-th-cta-text-mobile);
}

.chm-th-mobile__nav{
  padding: 10px 12px 18px;
  overflow-y: auto;
}
.chm-th-mobile__list,
.chm-th-mobile__list ul{
  list-style:none !important;
  margin:0;
  padding:0;
}
.chm-th-mobile__list > li{
  border-bottom:1px solid rgba(0,0,0,.06);
}
.chm-th-mobile__list a{
  display:block;
  padding:14px 10px;
  text-decoration:none;
  color: var(--chm-th-text);
  font-weight: 800;
}
.chm-th-mobile__list li ul a{
  font-weight:600;
  color: var(--chm-th-muted);
  padding-left:18px;
}

/* Overlay */
.chm-th-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.36);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all .22s ease;
}
body.chm-th-open .chm-th-mobile{ transform: translateX(0); }
body.chm-th-open .chm-th-overlay{ opacity:1; visibility:visible; }

/* Responsive */
@media (max-width: 980px){
  .chm-th__nav{ display:none; }
  .chm-th__utils{ display:none; }
  .chm-th__toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  :root{
    --chm-th-height: 84px;
    --chm-th-logo-max-height: 70px;
  }
}


/* Mobile inline phone (header bar) - hidden on desktop */
.chm-th__phone--mobile{ display: none; padding: 10px 8px; }
@media (max-width: 980px){
  .chm-th__phone--mobile{
    display: inline-flex;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    padding: 10px 10px;
    font-size: 14px;
  }
  .chm-th__phone--mobile .chm-th__phone-text{
    letter-spacing: .2px;
  }
}
