.hnp-site-header,
.hnp-site-header * {
  box-sizing: border-box;
}

body {
  padding-top: 92px;
}

.elementor-location-header,
.morph-main-menu-button-wrapper,
.morph-main-wrapper,
.morph-main-background,
.morph-background-overlay {
  display: none !important;
}

.hnp-site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  max-width: 100%;
  z-index: 99999;
  background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid rgba(145, 82, 26, 0.16);
  box-shadow: 0 16px 48px rgba(60, 27, 11, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: "Rubik", Arial, sans-serif;
}

.hnp-nav-shell {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hnp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  color: #4a1f0a;
  text-decoration: none;
}

.hnp-brand img {
  width: 154px;
  max-height: 54px;
  object-fit: contain;
  display: block;
}

.hnp-brand-copy {
  display: none;
}

.hnp-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.hnp-nav-link,
.hnp-services-trigger,
.hnp-call-btn,
.hnp-mobile-toggle,
.hnp-drawer-close {
  border: 0;
  font: inherit;
}

.hnp-nav-link,
.hnp-services-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  color: #4d2a18;
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hnp-nav-link:hover,
.hnp-services-trigger:hover,
.hnp-nav-link.is-active {
  color: #9d2d13;
  background: #fff0df;
  transform: translateY(-1px);
}

.hnp-services-trigger svg,
.hnp-mobile-toggle svg,
.hnp-drawer-close svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hnp-services-wrap {
  position: relative;
}

.hnp-services-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(760px, calc(100vw - 40px));
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 16px;
  border-radius: 20px;
  background: #fffaf2;
  border: 1px solid rgba(188, 91, 24, 0.18);
  box-shadow: 0 26px 90px rgba(72, 34, 11, 0.22);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hnp-services-wrap:hover .hnp-services-panel,
.hnp-services-wrap:focus-within .hnp-services-panel,
.hnp-services-wrap.is-open .hnp-services-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hnp-services-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #fffaf2;
  border-left: 1px solid rgba(188, 91, 24, 0.18);
  border-top: 1px solid rgba(188, 91, 24, 0.18);
  transform: translateX(-50%) rotate(45deg);
}

.hnp-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hnp-service-link {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  color: #3f2415;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(176, 95, 31, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hnp-service-link:hover,
.hnp-service-link.is-active {
  transform: translateY(-2px);
  border-color: rgba(185, 69, 14, 0.36);
  box-shadow: 0 12px 30px rgba(107, 49, 12, 0.13);
}

.hnp-service-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #9d2d13;
  background: linear-gradient(135deg, #fff1dc, #ffe1bd);
  font-size: 20px;
}

.hnp-service-text strong,
.hnp-drawer-service strong {
  display: block;
  color: #3d1f0f;
  font-size: 14px;
  line-height: 1.15;
}

.hnp-service-text span,
.hnp-drawer-service span {
  display: block;
  margin-top: 4px;
  color: #806253;
  font-size: 12px;
  line-height: 1.25;
}

.hnp-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hnp-call-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #b72d10, #e47a19);
  box-shadow: 0 12px 28px rgba(191, 65, 11, 0.24);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hnp-call-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(191, 65, 11, 0.32);
}

.hnp-mobile-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #512411;
  background: #fff2e4;
  cursor: pointer;
}

.hnp-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(31, 17, 9, 0.46);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.hnp-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99999;
  width: min(420px, 100%);
  height: 100vh;
  padding: 18px;
  background: #fffaf2;
  box-shadow: -24px 0 70px rgba(40, 19, 8, 0.25);
  transform: translateX(104%);
  transition: transform 240ms ease;
  overflow-y: auto;
}

body.hnp-menu-open {
  overflow: hidden;
}

body.hnp-menu-open .hnp-drawer-overlay {
  opacity: 1;
  visibility: visible;
}

body.hnp-menu-open .hnp-mobile-drawer {
  transform: translateX(0);
}

.hnp-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(143, 76, 31, 0.14);
}

.hnp-drawer-title {
  color: #3f1e0e;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.hnp-drawer-subtitle {
  margin-top: 3px;
  color: #7a5848;
  font-size: 13px;
}

.hnp-drawer-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #582511;
  background: #fff0df;
  cursor: pointer;
}

.hnp-drawer-main {
  display: grid;
  gap: 10px;
  padding: 18px 0;
}

.hnp-drawer-link,
.hnp-drawer-service {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px;
  border-radius: 14px;
  color: #3e2416;
  background: #fff;
  border: 1px solid rgba(159, 82, 24, 0.12);
  text-decoration: none;
  font-weight: 800;
}

.hnp-drawer-link.is-active,
.hnp-drawer-service.is-active {
  color: #9d2d13;
  border-color: rgba(181, 67, 16, 0.35);
  background: #fff1df;
}

.hnp-drawer-section-title {
  margin: 10px 2px 0;
  color: #9d2d13;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hnp-drawer-cta {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #421d0c, #8c2f0d);
  color: #fff;
}

.hnp-drawer-cta strong {
  font-size: 18px;
  line-height: 1.2;
}

.hnp-drawer-cta span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.hnp-drawer-cta a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #531f0b;
  background: #fff;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 1080px) {
  body {
    padding-top: 78px;
  }

  .hnp-nav-shell {
    min-height: 78px;
  }

  .hnp-desktop-nav,
  .hnp-actions .hnp-call-btn {
    display: none;
  }

  .hnp-mobile-toggle {
    display: inline-flex;
  }

  .hnp-brand {
    min-width: 0;
  }

  .hnp-brand img {
    width: 138px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 72px;
  }

  .hnp-nav-shell {
    width: 100%;
    min-height: 72px;
    padding: 0 12px;
  }

  .hnp-brand img {
    width: 124px;
  }

  .hnp-mobile-drawer {
    padding: 14px;
  }

  .hnp-drawer-link,
  .hnp-drawer-service {
    min-height: 50px;
  }
}

/* Unified CTA gradient system across the website */
.elementor-button,
button[type="submit"],
input[type="submit"],
.hnp-call-btn,
.call-link,
.service-btn.call,
.service-btn.details,
.hero-btn.primary,
a[href^="tel:"] {
  background-image: linear-gradient(to right, #F09819 0%, #EDDE5D 51%, #F09819 100%) !important;
  background-size: 200% auto !important;
  color: #fff !important;
  transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.elementor-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.hnp-call-btn:hover,
.call-link:hover,
.service-btn.call:hover,
.service-btn.details:hover,
.hero-btn.primary:hover,
a[href^="tel:"]:hover {
  background-position: right center !important;
  color: #fff !important;
}

.whatsapp-link,
.service-btn.whatsapp,
.hero-btn.secondary,
.hnp-drawer-cta a,
a[href*="wa.me/"],
a[href*="api.whatsapp.com"] {
  background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%) !important;
  background-size: 200% auto !important;
  color: #fff !important;
  transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.whatsapp-link:hover,
.service-btn.whatsapp:hover,
.hero-btn.secondary:hover,
.hnp-drawer-cta a:hover,
a[href*="wa.me/"]:hover,
a[href*="api.whatsapp.com"]:hover {
  background-position: right center !important;
  color: #fff !important;
}


.elementor-location-footer {
  padding-bottom: 40px !important;
}

/* Global overflow safety: keep all pages within device width */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

/* Keep Elementor wrappers from exceeding viewport width */
.elementor,
.elementor-section-wrap,
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap {
  max-width: 100% !important;
}

.elementor-section,
.elementor-container,
.elementor-column {
  overflow-x: clip;
}

/* Sticky bottom contact bar: always present via JS, mobile only */
.call-widget,
.whatsapp-widget,
.whatsapp-widget-left {
  display: none !important;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  }

  .call-widget,
  .whatsapp-widget,
  .whatsapp-widget-left {
    display: block !important;
    position: fixed !important;
    bottom: env(safe-area-inset-bottom, 0px) !important;
    width: 50vw !important;
    max-width: 50vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    z-index: 99999 !important;
    box-shadow: 0 0 20px #eee !important;
  }

  .whatsapp-widget,
  .whatsapp-widget-left {
    left: 0 !important;
    right: auto !important;
  }

  .call-widget {
    right: 0 !important;
    left: auto !important;
  }

  .call-widget .call-link,
  .whatsapp-widget .whatsapp-link {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 12px 8px !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
  }

  .call-widget .call-link span,
  .whatsapp-widget .whatsapp-link span {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }
}
