/* Sticky header + navigation */
/* Sticky Header Enhancements */
header.sticky-header {
  background: #FFFFFF !important;
  transition: background 0.3s ease, box-shadow 0.3s ease !important;
  width: 100% !important;
  overflow: visible;
}

header.sticky-header.sticky-header--settling,
header.sticky-header.sticky-header--settling.elementor-sticky--effects,
header.sticky-header.sticky-header--settling > div.header-inner,
header.sticky-header.sticky-header--settling.elementor-sticky--effects > div.header-inner,
header.sticky-header.sticky-header--settling .wp-block-site-logo img,
header.sticky-header.sticky-header--settling.elementor-sticky--effects .wp-block-site-logo img {
  transition: none !important;
}

header.sticky-header > div.header-inner {
  min-height: 100px !important;
  transition: min-height 0.3s ease, padding 0.3s ease, gap 0.3s ease !important;
  padding: 18px var(--jt-header-gutter) !important;
  gap: clamp(12px, 2vw, 28px) !important;
}

header.sticky-header.elementor-sticky--effects {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
}

header.sticky-header.elementor-sticky--effects > div.header-inner {
  min-height: 65px !important;
  padding: 10px var(--jt-header-gutter) !important;
  gap: clamp(8px, 1.2vw, 16px) !important;
}

header.sticky-header .wp-block-site-logo img {
  transition: transform 0.3s ease, max-width 0.3s ease !important;
  max-width: 300px !important;
  max-height: 86px !important;
  width: auto !important;
  height: auto !important;
  display: block;
}

header.sticky-header .wp-block-site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

header.sticky-header.elementor-sticky--effects .wp-block-site-logo img {
  transform: scale(0.8) !important;
  max-width: 240px !important;
}

@media (max-width: 767px) {
  header.sticky-header > div.header-inner,
  header.sticky-header.elementor-sticky--effects > div.header-inner {
    min-height: 64px !important;
    padding: 8px var(--jt-header-gutter) !important;
    gap: 8px !important;
  }

  header.sticky-header .wp-block-site-logo img,
  header.sticky-header.elementor-sticky--effects .wp-block-site-logo img {
    max-width: min(160px, 40vw) !important;
    max-height: 52px !important;
    transform: none !important;
  }
}

