/* Matches the Pontual site header while keeping the Eurofuel page styles isolated. */
.pontual-header {
  --header-ink: #122226;
  --header-teal-deep: #052f39;
  --header-gold: #d3c351;
  --header-gold-bright: #dfd36c;
  --header-line: #d8dfdd;
  background: rgba(244, 245, 241, .94);
  border-bottom: 1px solid rgba(0, 78, 99, .12);
  color: var(--header-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.55;
  position: relative;
  z-index: 100;
}

.pontual-header .pontual-shell {
  margin-inline: auto;
  max-width: 1320px;
  padding-inline: 28px;
  width: 100%;
}

.pontual-header .utility-bar {
  background: var(--header-teal-deep);
  color: rgba(255, 255, 255, .82);
  font-size: .75rem;
}

.pontual-header .utility-bar__inner,
.pontual-header .utility-bar__contacts,
.pontual-header .main-nav__actions,
.pontual-header .desktop-nav,
.pontual-header .desktop-nav a,
.pontual-header .search-link {
  align-items: center;
  display: flex;
}

.pontual-header .utility-bar__inner {
  justify-content: space-between;
  min-height: 34px;
}

.pontual-header .utility-bar p { margin: 0; }
.pontual-header .utility-bar__contacts { gap: 11px; }
.pontual-header .utility-bar a:hover { color: var(--header-gold-bright); }

.pontual-header .main-nav {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 255px 1fr auto;
  min-height: 80px;
}

.pontual-header .brand {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  justify-self: start;
  width: 253px;
}

.pontual-header .brand img { height: auto; width: 253px; }
.pontual-header .desktop-nav {
  gap: clamp(12px, 1.5vw, 24px);
  justify-content: center;
  white-space: nowrap;
}

.pontual-header .desktop-nav a,
.pontual-header .search-link {
  color: var(--header-ink);
  font-size: 1.032rem;
  font-weight: 650;
  gap: 4px;
  min-height: 44px;
  position: relative;
}

.pontual-header .desktop-nav a::after {
  background: var(--header-gold);
  bottom: 8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  width: 100%;
}

.pontual-header .desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.pontual-header .main-nav__actions { gap: 18px; }
.pontual-header .search-link svg { flex: 0 0 auto; }
.pontual-header .quote-button {
  align-items: center;
  background: var(--header-gold);
  border: 1px solid var(--header-gold);
  border-radius: 999px;
  color: var(--header-teal-deep);
  display: inline-flex;
  font-size: 1.08rem;
  font-weight: 720;
  gap: 14px;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pontual-header .quote-button:hover {
  background: var(--header-gold-bright);
  border-color: var(--header-gold-bright);
  transform: translateY(-2px);
}

.pontual-header .mobile-menu { display: none; }
.pontual-header svg { flex: 0 0 auto; }

@media (max-width: 1320px) {
  .pontual-header .main-nav__actions .search-link { display: none; }
}

@media (max-width: 1120px) {
  .pontual-header .brand,
  .pontual-header .brand img { width: 224px; }
}

@media (max-width: 1180px) {
  .pontual-header .main-nav {
    display: flex;
    justify-content: space-between;
    min-height: 78px;
  }

  .pontual-header .desktop-nav,
  .pontual-header .main-nav__actions { display: none; }

  .pontual-header .mobile-menu { display: block; position: relative; }
  .pontual-header .mobile-menu summary {
    align-items: center;
    background: var(--header-teal-deep);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    height: 46px;
    justify-content: center;
    list-style: none;
    width: 46px;
  }

  .pontual-header .mobile-menu summary::-webkit-details-marker { display: none; }
  .pontual-header .mobile-menu__close-icon { display: none; }
  .pontual-header .mobile-menu[open] .mobile-menu__open-icon { display: none; }
  .pontual-header .mobile-menu[open] .mobile-menu__close-icon { display: block; }
  .pontual-header .mobile-menu__panel {
    background: white;
    border: 1px solid var(--header-line);
    box-shadow: 0 20px 60px rgba(5, 47, 57, .1);
    min-width: min(340px, calc(100vw - 44px));
    padding: 20px;
    position: absolute;
    right: 0;
    top: 56px;
  }

  .pontual-header .mobile-menu__panel nav { display: grid; margin-bottom: 15px; }
  .pontual-header .mobile-menu__panel nav a {
    align-items: center;
    border-bottom: 1px solid var(--header-line);
    display: flex;
    font-weight: 650;
    min-height: 48px;
  }

  .pontual-header .mobile-menu__panel .quote-button { width: 100%; }
}

@media (max-width: 900px) {
  .pontual-header .pontual-shell { padding-inline: 22px; }
  .pontual-header .utility-bar__contacts { display: none; }
  .pontual-header .utility-bar__inner { justify-content: center; }
  .pontual-header .main-nav { min-height: 72px; }
}
