/* Site header — all rules are scoped to header.hh so the rest of the theme is untouched. */
header.hh {
  --hh-blue: #00679f;
  --hh-blue-dark: #005682;
  --hh-red: #c9301a;
  --hh-ink: #1a2533;
  --hh-soft: #e6f2f9;
  --hh-line: #e3e8ee;
  font-family: var(--font-2), sans-serif;
  background: #fff;
  z-index: 100;
}
header.hh a { text-decoration: none; }
header.hh ul { list-style: none; margin: 0; padding: 0; }
header.hh .hh-compact { display: none; }

/* utility bar */
header.hh .hh-util { background: var(--hh-ink); color: #fff; font-size: 13px; }
header.hh .hh-util-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
header.hh .hh-usps { display: flex; gap: 28px; flex-wrap: wrap; }
header.hh .hh-usps li { display: flex; align-items: center; gap: 6px; }
header.hh .hh-usps i { color: #4fc3f7; font-size: 15px; }
header.hh .hh-util-mail { color: #fff; }
header.hh .hh-util-mail:hover { text-decoration: underline; }

/* main row */
header.hh .hh-main-in { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
header.hh .hh-logo img { width: 160px; display: block; }
header.hh .hh-burger { display: none; background: none; border: 0; padding: 0; font-size: 32px; line-height: 1; color: var(--hh-ink); }
header.hh .hh-search { flex: 1; display: flex; height: 50px; border: 2px solid var(--hh-blue); border-radius: 6px; overflow: hidden; background: #fff; }
header.hh .hh-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; font-size: 15px; color: var(--hh-ink); background: transparent; }
header.hh .hh-search input::placeholder { color: #5b6675; }
header.hh .hh-search button { width: 58px; border: 0; background: var(--hh-blue); color: #fff; font-size: 17px; }
header.hh .hh-search button:hover { background: var(--hh-blue-dark); }
header.hh .hh-phone { display: flex; align-items: center; gap: 12px; color: var(--hh-ink); white-space: nowrap; }
header.hh .hh-phone-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--hh-soft); color: var(--hh-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }
header.hh .hh-phone-text small { display: block; font-size: 12px; line-height: 1.2; color: #3d4756; }
header.hh .hh-phone-text strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 700; }
header.hh .hh-quote { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--hh-red); color: #fff; font-weight: 600; font-size: 17px; padding: 14px 28px; border-radius: 6px; white-space: nowrap; box-shadow: 0 4px 12px rgba(201, 48, 26, .25); transition: background .2s; }
header.hh .hh-quote:hover { background: #a82712; color: #fff; }
header.hh .hh-quote .hh-quote-short { display: none; }

/* nav row */
header.hh .hh-nav { border-top: 1px solid var(--hh-line); border-bottom: 1px solid var(--hh-line); position: relative; }
header.hh .hh-nav-in { display: flex; align-items: center; justify-content: space-between; }
header.hh .hh-menu { display: flex; gap: 6px; }
header.hh .hh-menu > li > a { display: flex; align-items: center; gap: 6px; padding: 16px 16px; font-size: 17px; font-weight: 600; color: var(--hh-ink); border-bottom: 3px solid transparent; margin-bottom: -1px; }
header.hh .hh-menu > li > a i { font-size: 11px; }
header.hh .hh-menu > li:hover > a,
header.hh .hh-menu > li:focus-within > a { color: var(--hh-blue); border-bottom-color: var(--hh-blue); }
header.hh .hh-rating { font-size: 14px; color: var(--hh-ink); white-space: nowrap; }
header.hh .hh-stars { color: #f5a623; margin-right: 4px; letter-spacing: 1px; }
header.hh .hh-stars i { font-size: 13px; }

/* dropdowns */
header.hh .hh-has-drop { position: relative; }
header.hh .hh-drop,
header.hh .hh-mega { position: absolute; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; background: #fff; z-index: 50; box-shadow: 0 18px 30px rgba(26, 37, 51, .12); }
header.hh li:hover > .hh-drop,
header.hh li:focus-within > .hh-drop,
header.hh li:hover > .hh-mega,
header.hh li:focus-within > .hh-mega { visibility: visible; opacity: 1; transform: none; }
header.hh .hh-drop { top: 100%; left: 0; min-width: 260px; padding: 12px 0; border-top: 1px solid var(--hh-line); }
header.hh .hh-drop a { display: block; padding: 9px 22px; font-size: 16px; color: var(--hh-ink); }
header.hh .hh-drop a:hover { color: var(--hh-blue); background: var(--hh-soft); }
header.hh .hh-drop .hh-drop-all a { color: var(--hh-blue); font-weight: 600; border-top: 1px solid var(--hh-line); margin-top: 6px; padding-top: 14px; }
header.hh .hh-has-mega { position: static; }
header.hh .hh-mega { left: 0; right: 0; top: 100%; border-top: 1px solid var(--hh-line); }
header.hh .hh-mega-in { display: flex; gap: 40px; padding-top: 30px; padding-bottom: 36px; }
header.hh .hh-mega-cols { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 30px; align-content: start; }
header.hh .hh-mega-cols a { display: block; padding: 8px 0; font-size: 16px; color: var(--hh-ink); }
header.hh .hh-mega-cols a:hover { color: var(--hh-blue); }
header.hh .hh-promo { width: 300px; flex: none; background: var(--hh-soft); border-radius: 12px; padding: 22px; }
header.hh .hh-promo img { width: 100%; height: 118px; object-fit: cover; border-radius: 8px; margin-bottom: 18px; }
header.hh .hh-promo h3 { font-family: var(--font-2); font-size: 21px; line-height: 1.25; font-weight: 700; color: var(--hh-ink); margin: 0 0 10px; }
header.hh .hh-promo p { font-size: 14.5px; line-height: 1.5; color: #3d4756; margin: 0 0 18px; }
header.hh .hh-promo-btn { display: block; text-align: center; background: var(--hh-blue); color: #fff; font-weight: 600; padding: 13px; border-radius: 6px; }
header.hh .hh-promo-btn:hover { background: var(--hh-blue-dark); color: #fff; }
header.hh .hh-promo-link { display: block; text-align: center; margin-top: 14px; color: var(--hh-blue); font-weight: 600; font-size: 15px; }

/* sticky (class toggled by custom.js) — desktop shows the compact bar */
header.hh.sticky { box-shadow: 0 2px 10px rgba(26, 37, 51, .12); -webkit-box-shadow: 0 2px 10px rgba(26, 37, 51, .12); backdrop-filter: none; }
header.hh .hh-compact-in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
header.hh .hh-compact .hh-logo img { width: 120px; }
header.hh .hh-compact-menu { display: flex; gap: 8px; }
header.hh .hh-compact-menu a { display: block; padding: 8px 10px; font-weight: 600; font-size: 16px; color: var(--hh-ink); }
header.hh .hh-compact-menu a:hover { color: var(--hh-blue); }
header.hh .hh-compact-search { width: 44px; height: 44px; border: 1px solid #c9d2dc; border-radius: 8px; background: #fff; color: var(--hh-ink); }
header.hh .hh-compact-spacer { flex: 1; }
header.hh .hh-compact-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--hh-ink); }
header.hh .hh-compact-phone i { color: var(--hh-blue); }
header.hh .hh-quote-sm { padding: 11px 22px; font-size: 16px; }

@media (min-width: 992px) {
  header.hh.sticky .hh-full { display: none; }
  header.hh.sticky .hh-compact { display: block; }
}

@media (max-width: 1199px) {
  header.hh .hh-main-in { gap: 18px; }
  header.hh .hh-phone-text small { display: none; }
  header.hh .hh-rating { display: none; }
  header.hh .hh-usps .hh-usp-extra { display: none; }
}

/* tablet + mobile */
@media (max-width: 991px) {
  header.hh .hh-util-mail { display: none; }
  header.hh .hh-usps .hh-usp-extra { display: none; }
  header.hh .hh-util-in { justify-content: center; min-height: 32px; }
  header.hh .hh-usps { justify-content: center; }
  header.hh .hh-nav { display: none; }
  header.hh .hh-burger { display: block; }
  header.hh .hh-main-in { flex-wrap: wrap; gap: 12px 14px; padding-top: 10px; padding-bottom: 12px; }
  header.hh .hh-logo { margin-right: auto; }
  header.hh .hh-logo img { width: 130px; }
  header.hh .hh-search { order: 5; flex: 0 0 100%; height: 46px; }
  header.hh .hh-phone-text { display: none; }
  header.hh .hh-phone-icon { background: none; width: auto; height: auto; font-size: 22px; }
  header.hh .hh-quote { padding: 11px 18px; font-size: 15px; }
  header.hh .hh-main .hh-quote .hh-quote-full, header.hh .hh-main .hh-quote i { display: none; }
  header.hh .hh-main .hh-quote .hh-quote-short { display: inline; }
  header.hh.sticky .hh-util,
  header.hh.sticky .hh-search { display: none; }
}
@media (max-width: 575px) {
  header.hh .hh-usps li { font-size: 12px; }
}

/* drawer + bottom action bar: tablet/mobile only */
header.hh .hh-drawer, header.hh .hh-overlay, .hh-actionbar { display: none; }
@media (max-width: 991px) {
  header.hh .hh-overlay { display: block; position: fixed; inset: 0; background: rgba(26, 37, 51, .55); z-index: 9998; }
  header.hh .hh-overlay[hidden] { display: none; }
  header.hh .hh-drawer { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: #fff; z-index: 9999; transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  header.hh .hh-drawer.is-open { transform: none; visibility: visible; }
  header.hh .hh-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--hh-line); }
  header.hh .hh-drawer-head img { width: 120px; display: block; }
  header.hh .hh-close { background: none; border: 0; font-size: 26px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--hh-ink); padding: 4px; line-height: 1; }
  header.hh .hh-drawer-body { flex: 1; overflow-y: auto; }
  header.hh .hh-acc { border-bottom: 1px solid var(--hh-line); }
  header.hh .hh-acc summary, header.hh .hh-drawer-link { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px; font-size: 18px; font-weight: 700; color: var(--hh-ink); cursor: pointer; list-style: none; }
  header.hh .hh-acc summary::-webkit-details-marker { display: none; }
  header.hh .hh-acc summary i { color: var(--hh-blue); font-size: 15px; transition: transform .2s; }
  header.hh .hh-acc[open] summary i { transform: rotate(180deg); }
  header.hh .hh-acc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; background: #f1f6fa; padding: 10px 18px 14px; }
  header.hh .hh-acc ul a { display: block; padding: 10px 0; font-size: 16px; color: var(--hh-ink); }
  header.hh .hh-acc ul a:hover { color: var(--hh-blue); }
  header.hh .hh-acc .hh-acc-all a { color: var(--hh-blue); font-weight: 600; }
  header.hh .hh-drawer-foot { background: var(--hh-soft); padding: 16px 18px 14px; }
  header.hh .hh-drawer-foot .hh-quote { display: flex; width: 100%; padding: 16px; }
  header.hh .hh-drawer-contact { display: flex; gap: 10px; margin-top: 12px; }
  header.hh .hh-drawer-contact a { flex: 1; text-align: center; padding: 12px 8px; border: 2px solid var(--hh-blue); border-radius: 6px; background: #fff; color: var(--hh-blue); font-weight: 700; font-size: 16px; }
  header.hh .hh-drawer-foot p { margin: 12px 0 0; text-align: center; font-size: 13px; color: #3d4756; }

  .hh-actionbar { display: flex; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 14px rgba(26, 37, 51, .12); font-family: var(--font-2), sans-serif; }
  .hh-actionbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 6px; font-weight: 700; font-size: 16px; text-decoration: none; }
  .hh-actionbar .hh-call { border: 2px solid #00679f; color: #00679f; background: #fff; }
  .hh-actionbar .hh-quote { background: #c9301a; color: #fff; }
  body { padding-bottom: 68px; }
}

/* phones: drawer covers the full screen */
@media (max-width: 767px) {
  header.hh .hh-drawer { width: 100%; }
  header.hh .hh-overlay { display: none; }
}
