:root {
  --refuel-blue: #01377d;
  --refuel-blue-dark: #002758;
  --refuel-blue-soft: #edf4fb;
  --refuel-green: #71d576;
  --refuel-ink: #0d2140;
  --refuel-muted: #5e6b7c;
  --refuel-line: #e4eaf0;
  --refuel-white: #ffffff;
  --refuel-header-height: 76px;
  --refuel-radius: 12px;
  --refuel-shadow: 0 14px 40px rgba(1, 55, 125, 0.12);
}

.refuel-blocksy-header #header {
  position: relative;
  z-index: 80;
}

.refuel-blocksy-header #header [data-row="middle"] {
  min-height: var(--refuel-header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.98);
  transition: min-height 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.refuel-blocksy-header.refuel-header-scrolled #header [data-row="middle"],
.refuel-blocksy-header #header [data-sticky*="yes"] [data-row="middle"] {
  min-height: 68px;
  border-bottom-color: var(--refuel-line);
  box-shadow: 0 8px 28px rgba(1, 55, 125, 0.08);
}

.refuel-blocksy-header #header .site-logo-container img {
  width: auto;
  max-height: 48px;
  object-fit: contain;
}

.refuel-blocksy-header #header .menu > li > a {
  position: relative;
  min-height: 44px;
  color: var(--refuel-ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.refuel-blocksy-header #header .menu > li > a::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--refuel-green);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.refuel-blocksy-header #header .menu > li:hover > a::after,
.refuel-blocksy-header #header .menu > li.current-menu-item > a::after,
.refuel-blocksy-header #header .menu > li.current-menu-ancestor > a::after,
.refuel-blocksy-header #header .menu > li > a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.refuel-blocksy-header #header .sub-menu {
  overflow: hidden;
  border: 1px solid var(--refuel-line);
  border-radius: var(--refuel-radius);
  box-shadow: var(--refuel-shadow);
}

.refuel-blocksy-header #header .sub-menu a {
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

.refuel-blocksy-header #header .sub-menu a:hover,
.refuel-blocksy-header #header .sub-menu a:focus-visible {
  color: var(--refuel-blue);
  background: var(--refuel-blue-soft);
}

/* Compact mega-style Solutions panel for Blocksy Free. */
@media (min-width: 1025px) {
  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu {
    --refuel-mega-shift: 0px;
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    width: min(920px, calc(100vw - 40px));
    padding: 12px;
    overflow: visible;
    gap: 8px;
    border-top: 3px solid var(--refuel-green);
    background: linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 28px 80px rgba(1, 39, 88, 0.24), 0 8px 20px rgba(1, 55, 125, 0.1);
    transform: translate3d(var(--refuel-mega-shift), 12px, 0) scale(0.975);
    transform-origin: top center;
    transition: opacity 180ms ease, visibility 180ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children:hover > .sub-menu,
  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children:focus-within > .sub-menu {
    transform: translate3d(var(--refuel-mega-shift), 0, 0) scale(1);
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li {
    min-width: 0;
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li > a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 112px;
    padding: 18px 16px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--refuel-blue);
    background: var(--refuel-white);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.3;
    white-space: normal;
    box-shadow: 0 1px 0 rgba(1, 55, 125, 0.04);
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li > a::before {
    width: 28px;
    height: 4px;
    margin-bottom: 14px;
    border-radius: 4px;
    background: var(--refuel-green);
    content: "";
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li > a::after {
    margin-top: 8px;
    color: var(--refuel-muted);
    font-size: 11px;
    font-weight: 550;
    line-height: 1.45;
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li:nth-child(1) > a::after {
    content: "Fast delivery for urgent power needs";
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li:nth-child(2) > a::after {
    content: "Assessment, design and installation";
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li:nth-child(3) > a::after {
    content: "Bulk supply for organisations";
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li:nth-child(4) > a::after,
  .refuel-blocksy-header #header-menu-1 .refuel-solution-finder-menu-item > a::after {
    content: "Find the right energy solution for your needs";
  }

  .refuel-blocksy-header #header-menu-1 .refuel-solution-finder-menu-item > a {
    border-color: rgba(255, 138, 42, 0.22);
    background: linear-gradient(145deg, #fffaf5 0%, #fff 100%);
  }

  .refuel-blocksy-header #header-menu-1 .refuel-solution-finder-menu-item > a::before {
    background: #ff8a2a;
  }

  .refuel-blocksy-header #header-menu-1 .refuel-solution-finder-menu-item > a:hover,
  .refuel-blocksy-header #header-menu-1 .refuel-solution-finder-menu-item > a:focus-visible {
    border-color: rgba(255, 138, 42, 0.42);
    background: #fff5ea;
  }

  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li > a:hover,
  .refuel-blocksy-header #header-menu-1 > .menu > .menu-item-has-children > .sub-menu > li > a:focus-visible {
    border-color: rgba(1, 55, 125, 0.12);
    background: var(--refuel-blue-soft);
    box-shadow: 0 12px 24px rgba(1, 55, 125, 0.1);
    transform: translateY(-1px);
  }
}

.refuel-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.refuel-header-call,
.refuel-header-order,
.refuel-header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.refuel-header-call {
  gap: 8px;
  padding: 0 8px;
  color: var(--refuel-blue);
  font-size: 13px;
  font-weight: 700;
}

.refuel-header-call:hover,
.refuel-header-call:focus-visible {
  color: var(--refuel-blue-dark);
  background: var(--refuel-blue-soft);
}

.refuel-header-order {
  gap: 10px;
  padding: 0 18px;
  color: var(--refuel-white);
  background: var(--refuel-blue);
  box-shadow: 0 8px 18px rgba(1, 55, 125, 0.18);
  font-size: 14px;
  font-weight: 750;
}

.refuel-header-order:hover,
.refuel-header-order:focus-visible {
  color: var(--refuel-white);
  background: var(--refuel-blue-dark);
  box-shadow: 0 10px 22px rgba(1, 55, 125, 0.26);
  transform: translateY(-1px);
}

.refuel-header-call svg,
.refuel-header-order svg,
.refuel-header-whatsapp svg,
.refuel-drawer-actions svg,
.refuel-app-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.refuel-header-order svg {
  width: 17px;
  height: 17px;
}

.refuel-header-whatsapp {
  display: none;
}

.refuel-blocksy-header #offcanvas,
.refuel-blocksy-header #offcanvas .ct-panel-content,
.refuel-blocksy-header #offcanvas .ct-panel-actions {
  background-color: var(--refuel-white);
}

.refuel-blocksy-header #offcanvas .ct-panel-content {
  color: var(--refuel-ink);
  opacity: 1;
  backdrop-filter: none;
}

.refuel-blocksy-header #offcanvas .mobile-menu a {
  min-height: 50px;
  color: var(--refuel-ink);
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.refuel-blocksy-header #offcanvas .mobile-menu .sub-menu a {
  min-height: 44px;
  color: var(--refuel-muted);
  font-size: 15px;
  font-weight: 650;
}

.refuel-drawer-actions {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 22px;
}

.refuel-drawer-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid var(--refuel-line);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.refuel-drawer-actions .refuel-drawer-primary {
  color: var(--refuel-white);
  border-color: var(--refuel-blue);
  background: var(--refuel-blue);
}

.refuel-drawer-actions .refuel-drawer-secondary {
  color: var(--refuel-blue);
  border-color: rgba(1, 55, 125, 0.22);
  background: var(--refuel-blue-soft);
}

.refuel-drawer-actions .refuel-drawer-whatsapp {
  color: var(--refuel-blue-dark);
  border-color: rgba(113, 213, 118, 0.6);
  background: rgba(113, 213, 118, 0.18);
}

.refuel-app-nav {
  display: none;
}

.refuel-solutions-scrim,
.refuel-solutions-sheet {
  display: none;
}

.refuel-blocksy-header :where(#diesel-form, #solar-form, [id]) {
  scroll-margin-top: calc(var(--refuel-header-height) + 18px);
}

.refuel-blocksy-header :where(a, button):focus-visible {
  outline: 3px solid rgba(113, 213, 118, 0.92);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .refuel-blocksy-header #header .refuel-header-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .refuel-blocksy-header #header .refuel-header-call {
    width: 44px;
    padding: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --refuel-header-height: 68px;
  }

  .refuel-blocksy-header {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .refuel-blocksy-header #header [data-row="middle"],
  .refuel-blocksy-header.refuel-header-scrolled #header [data-row="middle"] {
    min-height: var(--refuel-header-height);
  }

  .refuel-blocksy-header #header .site-logo-container img {
    max-width: 154px;
    max-height: 42px;
  }

  .refuel-blocksy-header #offcanvas .ct-panel-content[data-device="mobile"] .ct-panel-content-inner {
    align-items: stretch;
    padding: 18px 28px 16px;
    gap: 0;
  }

  .refuel-blocksy-header #offcanvas .site-logo-container {
    align-self: center;
    margin-bottom: 6px;
  }

  .refuel-blocksy-header #offcanvas .site-logo-container img {
    width: auto;
    max-width: 138px;
    max-height: 44px;
  }

  .refuel-blocksy-header #offcanvas .mobile-menu {
    width: 100%;
    margin-top: 4px;
  }

  .refuel-blocksy-header #offcanvas .mobile-menu > ul,
  .refuel-blocksy-header #offcanvas .mobile-menu > ul > li {
    margin: 0;
    padding: 0;
  }

  .refuel-blocksy-header #offcanvas .mobile-menu > ul > li > a {
    min-height: 38px;
    padding: 5px 0;
    font-size: 15px;
    font-weight: 680;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .refuel-blocksy-header #offcanvas .ct-header-text[data-id="text"] {
    width: 100%;
  }

  .refuel-blocksy-header #header .refuel-header-actions {
    display: none;
  }

  .refuel-blocksy-header #offcanvas .refuel-header-actions {
    display: grid;
    width: 100%;
    margin-top: 12px;
    gap: 7px;
  }

  .refuel-blocksy-header #offcanvas .refuel-header-actions a {
    display: flex;
    width: 100%;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--refuel-line);
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 750;
  }

  .refuel-blocksy-header #offcanvas .refuel-header-call span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .refuel-blocksy-header #offcanvas .refuel-header-call {
    color: var(--refuel-blue);
    border-color: rgba(1, 55, 125, 0.22);
    background: var(--refuel-blue-soft);
  }

  .refuel-blocksy-header #offcanvas .refuel-header-order {
    color: var(--refuel-white);
    border-color: var(--refuel-blue);
    background: var(--refuel-blue);
    box-shadow: none;
  }

  .refuel-blocksy-header #offcanvas .refuel-header-whatsapp {
    color: var(--refuel-blue-dark);
    border-color: rgba(113, 213, 118, 0.6);
    background: rgba(113, 213, 118, 0.18);
  }

  .refuel-app-nav {
    position: fixed;
    z-index: 10001;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid var(--refuel-line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -12px 35px rgba(13, 33, 64, 0.12);
    backdrop-filter: blur(16px);
  }

  .refuel-app-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    width: min(100%, 560px);
    min-height: 69px;
    margin: 0 auto;
    padding: 5px 6px 4px;
  }

  .refuel-app-nav__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 58px;
    border-radius: 10px;
    color: #637083;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .refuel-app-nav__button {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
  }

  .refuel-app-nav__item:hover,
  .refuel-app-nav__item:focus-visible,
  .refuel-app-nav__item.is-current,
  .refuel-app-nav__button[aria-expanded="true"] {
    color: var(--refuel-blue);
  }

  .refuel-app-nav__item.is-current::after {
    position: absolute;
    top: 0;
    width: 18px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--refuel-green);
    content: "";
  }

  .refuel-app-nav__icon {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
  }

  .refuel-app-nav__icon svg {
    width: 22px;
    height: 22px;
  }

  .refuel-app-nav__item--primary {
    top: -14px;
    color: var(--refuel-white);
  }

  .refuel-app-nav__item--primary:hover,
  .refuel-app-nav__item--primary:focus-visible {
    color: var(--refuel-white);
  }

  .refuel-app-nav__item--primary .refuel-app-nav__icon {
    width: 50px;
    height: 50px;
    border: 4px solid var(--refuel-white);
    border-radius: 50%;
    color: var(--refuel-white);
    background: var(--refuel-blue);
    box-shadow: 0 8px 22px rgba(1, 55, 125, 0.28);
  }

  .refuel-app-nav__item--primary .refuel-app-nav__icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
    stroke-width: 1.5;
  }

  .refuel-app-nav__item--primary .refuel-app-nav__label {
    color: var(--refuel-blue);
    white-space: nowrap;
  }

  .refuel-solutions-scrim {
    position: fixed;
    z-index: 9998;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(6, 24, 52, 0.46);
    opacity: 0;
    backdrop-filter: blur(3px);
    transition: opacity 180ms ease;
  }

  .refuel-solutions-scrim.is-open {
    opacity: 1;
  }

  .refuel-solutions-sheet {
    position: fixed;
    z-index: 10000;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    display: block;
    width: auto;
    max-width: 430px;
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(113, 213, 118, 0.55);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 28px 80px rgba(0, 39, 88, 0.34), 0 8px 22px rgba(1, 55, 125, 0.16);
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    transform-origin: bottom center;
    backdrop-filter: blur(18px);
    transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .refuel-solutions-sheet.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .refuel-solutions-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 2px 11px;
    border-bottom: 1px solid var(--refuel-line);
  }

  .refuel-solutions-sheet__header > div {
    display: grid;
    gap: 2px;
  }

  .refuel-solutions-sheet__eyebrow {
    color: var(--refuel-green);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
  }

  .refuel-solutions-sheet__header strong {
    color: var(--refuel-blue);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .refuel-solutions-sheet__close {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--refuel-blue);
    background: var(--refuel-blue-soft);
    place-items: center;
    cursor: pointer;
  }

  .refuel-solutions-sheet__close svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

  .refuel-solutions-sheet__links {
    display: grid;
    gap: 6px;
    padding-top: 10px;
  }

  .refuel-solutions-sheet__finder {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: center;
    min-height: 58px;
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 138, 42, 0.38);
    border-radius: 12px;
    color: var(--refuel-blue-dark);
    background: linear-gradient(135deg, #fff7ef, #ffffff);
    text-decoration: none;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
  }

  .refuel-solutions-sheet__finder:hover,
  .refuel-solutions-sheet__finder:focus-visible {
    border-color: rgba(255, 138, 42, 0.72);
    background: #fff3e5;
    transform: translateY(-1px);
  }

  .refuel-solutions-sheet__finder > span:nth-child(2) {
    display: grid;
    gap: 2px;
  }

  .refuel-solutions-sheet__finder small {
    color: #8a5a32;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
  }

  .refuel-solutions-sheet__finder strong {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
  }

  .refuel-solutions-sheet__finder-icon {
    display: grid;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    color: #d4650b;
    background: rgba(255, 138, 42, 0.14);
    place-items: center;
  }

  .refuel-solutions-sheet__finder-icon svg,
  .refuel-solutions-sheet__finder > svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .refuel-solutions-sheet__links > a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: center;
    min-height: 52px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--refuel-ink);
    background: #f8fbff;
    text-decoration: none;
    transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
  }

  .refuel-solutions-sheet__links > a:hover,
  .refuel-solutions-sheet__links > a:focus-visible {
    color: var(--refuel-blue);
    border-color: rgba(1, 55, 125, 0.14);
    background: var(--refuel-blue-soft);
    transform: translateX(2px);
  }

  .refuel-solutions-sheet__links strong {
    min-width: 0;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: -0.01em;
  }

  .refuel-solutions-sheet__links > a > svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--refuel-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .refuel-solutions-sheet__icon {
    display: grid;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    color: var(--refuel-blue);
    background: rgba(113, 213, 118, 0.2);
    place-items: center;
  }

  .refuel-solutions-sheet__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .refuel-solutions-sheet[hidden],
  .refuel-solutions-scrim[hidden] {
    display: none !important;
  }

  /* Hide the old floating WhatsApp widget when the app navigation provides Chat. */
  .refuel-blocksy-header :where(.joinchat, .ht-ctc-chat, .cky-btn-revisit-wrapper + .ht-ctc-chat) {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refuel-blocksy-header *,
  .refuel-blocksy-header *::before,
  .refuel-blocksy-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
