/* Brand polish for the static export */
:root {
  --vandroux-navy: #07133b;
  --vandroux-navy-deep: #030816;
  --vandroux-blue: #315fb4;
  --vandroux-blue-light: #6fa3ff;
  --vandroux-red: #d8251b;
  --vandroux-red-dark: #ad1d15;
}

body.bg-slate-950 {
  background:
    radial-gradient(circle at 18% 0%, rgba(49, 95, 180, 0.28), transparent 32rem),
    radial-gradient(circle at 100% 8%, rgba(216, 37, 27, 0.12), transparent 26rem),
    linear-gradient(180deg, var(--vandroux-navy) 0%, var(--vandroux-navy-deep) 38%, #020617 100%) !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

header {
  border-color: rgba(49, 95, 180, 0.45) !important;
  background: rgba(3, 8, 22, 0.9) !important;
}

.text-cyan-200,
.text-cyan-300,
.text-cyan-400 {
  color: var(--vandroux-blue-light) !important;
}

.bg-cyan-500,
.hover\:bg-cyan-400:hover {
  background-color: var(--vandroux-red) !important;
  color: #fff !important;
}

.bg-cyan-500\/10,
.bg-cyan-500\/20 {
  background-color: rgba(49, 95, 180, 0.16) !important;
}

.border-cyan-400,
.border-cyan-500\/30,
.border-cyan-500\/40,
.hover\:border-cyan-400:hover,
.hover\:border-cyan-500\/50:hover {
  border-color: rgba(111, 163, 255, 0.72) !important;
}

.shadow-cyan-500\/50,
.shadow-cyan-950\/30 {
  box-shadow: 0 18px 45px rgba(49, 95, 180, 0.24) !important;
}

.bg-gradient-to-r.from-cyan-500\/10,
.bg-gradient-to-br.from-slate-900\/80 {
  background-image: linear-gradient(135deg, rgba(49, 95, 180, 0.22), rgba(3, 8, 22, 0.96) 58%, rgba(216, 37, 27, 0.08)) !important;
}

nav a[href="/promo"],
header nav a[href="/promo"] {
  border-color: rgba(216, 37, 27, 0.7) !important;
  background: var(--vandroux-red) !important;
  color: #fff !important;
  font-weight: 800;
}

main a[href^="tel:"].bg-cyan-500,
.fixed.bottom-0 a[href^="tel:"],
main a[href="/contact"].bg-cyan-500,
main a[href="/contact"],
main a[href="/promo"].bg-cyan-500,
header nav a[href="/contact"],
.fixed.bottom-0 a[href="/contact"] {
  background-color: var(--vandroux-red) !important;
  border-color: var(--vandroux-red) !important;
  color: #fff !important;
}

main a[href^="tel:"].bg-cyan-500:hover,
.fixed.bottom-0 a[href^="tel:"]:hover,
main a[href="/contact"].bg-cyan-500:hover,
main a[href="/contact"]:hover,
main a[href="/promo"].bg-cyan-500:hover,
header nav a[href="/contact"]:hover,
.fixed.bottom-0 a[href="/contact"]:hover {
  background-color: var(--vandroux-red-dark) !important;
}

header nav a,
header a[href^="tel:"],
.nav-dropdown-trigger {
  color: #f8fafc !important;
  font-weight: 700;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.nav-dropdown-trigger::after {
  content: "▾";
  font-size: 0.72rem;
  color: var(--vandroux-blue-light);
}

.nav-dropdown-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.75rem);
  z-index: 80;
  min-width: 13rem;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid rgba(111, 163, 255, 0.45);
  border-radius: 0.9rem;
  background: rgba(3, 8, 22, 0.98);
  padding: 0.55rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  border-radius: 0.65rem;
  padding: 0.65rem 0.85rem;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(49, 95, 180, 0.22);
}

header {
  position: relative !important;
  z-index: 1000 !important;
  overflow: visible !important;
}

header > div,
header nav,
.nav-dropdown {
  overflow: visible !important;
}

.nav-dropdown {
  z-index: 1001 !important;
}

.nav-dropdown-menu {
  z-index: 1002 !important;
}

@supports selector(header:has(.nav-dropdown:hover)) {
  @media (min-width: 768px) {
    header:has(.nav-dropdown:hover),
    header:has(.nav-dropdown:focus-within) {
      padding-bottom: 4.15rem !important;
    }
  }
}

header nav a[href="/contact"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  min-height: 3.2rem;
  padding: 0.75rem 1.35rem !important;
  text-align: center;
  line-height: 1.05rem;
}

header a[href^="tel:"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 16.5rem;
  border-color: rgba(111, 163, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  white-space: nowrap;
  line-height: 1;
}

main .absolute.inset-0.bg-gradient-to-r {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.58), rgba(2, 6, 23, 0.18)) !important;
}

main .absolute.-inset-6 {
  inset: 0 !important;
}

main h1,
main h2,
main p {
  text-wrap: pretty;
}

main .aspect-\[21\/9\] h2,
main h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.text-red-200,
.text-red-300,
.text-red-400 {
  color: #ffb2ad !important;
}

.border-red-400\/60,
.border-red-500\/30 {
  border-color: rgba(216, 37, 27, 0.75) !important;
}

.bg-red-500\/10 {
  background-color: rgba(216, 37, 27, 0.16) !important;
}

.offer-poster {
  display: block;
  max-width: 100%;
  height: auto;
}

.brand-logo {
  display: block;
  width: clamp(14rem, 20vw, 24rem);
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0.45rem;
  background: #fff;
  padding: 0.25rem 0.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

header .brand-logo + div {
  display: none;
}

header > div {
  max-width: 88rem !important;
  gap: 1.25rem !important;
}

@media (max-width: 1320px) and (min-width: 768px) {
  header > div {
    max-width: 100% !important;
    gap: 0.85rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .brand-logo {
    width: clamp(11.5rem, 17vw, 15rem);
  }

  header nav {
    gap: 1rem !important;
    font-size: 0.86rem !important;
  }

  header nav a[href="/contact"] {
    min-width: 8.25rem;
    min-height: 2.9rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  header a[href^="tel:"] {
    min-width: 13.6rem;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
}

@media (max-width: 1100px) and (min-width: 768px) {
  header nav {
    gap: 0.75rem !important;
    font-size: 0.8rem !important;
  }

  .brand-logo {
    width: clamp(10rem, 15vw, 12rem);
  }

  header nav a[href="/contact"] {
    min-width: 7.5rem;
    font-size: 0.72rem !important;
  }

  header a[href^="tel:"] {
    min-width: 12rem;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 767px) {
  html {
    scroll-behavior: smooth;
  }

  body {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }

  header {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  header > div {
    gap: 0.75rem;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    flex-wrap: wrap;
  }

  header .h-10.w-10 {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
  }

  .brand-logo {
    width: min(11rem, 52vw);
    height: auto;
    padding: 0.2rem 0.3rem;
  }

  header .text-xs.text-slate-400 {
    display: none;
  }

  header .text-sm.font-semibold.uppercase {
    font-size: 0.78rem;
    line-height: 1.05rem;
  }

  header a[href^="tel:"] {
    min-width: auto;
    white-space: nowrap;
    padding: 0.45rem 0.65rem;
    font-size: 0.76rem;
    line-height: 1rem;
  }

  header nav.hidden {
    order: 3;
    display: flex !important;
    width: 100%;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.35rem 0 0.1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  header nav.hidden::-webkit-scrollbar {
    display: none;
  }

  header nav.hidden a {
    flex: 0 0 auto;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
    background: rgba(15, 23, 42, 0.72);
    font-size: 0.76rem;
    line-height: 1rem;
    white-space: nowrap;
  }

  header nav.hidden .nav-dropdown {
    display: block;
    flex: 0 0 auto;
  }

  header nav.hidden .nav-dropdown-trigger {
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
    background: rgba(15, 23, 42, 0.72);
    font-size: 0.76rem;
    line-height: 1rem;
    white-space: nowrap;
  }

  header nav.hidden .nav-dropdown-menu {
    position: static !important;
    left: auto;
    top: auto;
    z-index: auto;
    display: flex !important;
    min-width: 0;
    transform: none;
    flex-direction: row !important;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    padding: 0.35rem 0 0;
    box-shadow: none;
  }

  header nav.hidden .nav-dropdown-menu a {
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 999px;
    padding: 0.42rem 0.65rem;
    background: rgba(15, 23, 42, 0.72);
    font-size: 0.7rem;
    line-height: 1rem;
  }

  header nav.hidden .nav-dropdown:hover .nav-dropdown-menu,
  header nav.hidden .nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  header nav.hidden a:last-child {
    border-color: rgba(34, 211, 238, 0.65);
    background: rgb(6, 182, 212);
    color: rgb(2, 6, 23);
    font-weight: 700;
  }

  main > .mx-auto {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  h1 {
    font-size: clamp(1.9rem, 8vw, 2.55rem) !important;
    line-height: 1.08 !important;
  }

  h2 {
    line-height: 1.14 !important;
  }

  section {
    scroll-margin-top: 7rem;
  }

  main a[href="/contact"],
  main a[href^="tel:"],
  main button {
    min-height: 44px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .offer-poster {
    max-height: 78vh;
    width: auto;
  }

  footer {
    padding-bottom: 5.5rem;
  }

  .fixed.bottom-0 {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
  }

  .aspect-\[21\/9\] {
    min-height: 420px;
  }

  .aspect-\[21\/9\] img {
    height: 100%;
  }
}

@media (max-width: 420px) {
  header > div {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  header .text-sm.font-semibold.uppercase {
    max-width: 9.5rem;
  }

  header a[href^="tel:"] {
    font-size: 0.72rem;
    padding: 0.4rem 0.55rem;
  }

  main > .mx-auto {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .fixed.bottom-0 {
    gap: 0.5rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .fixed.bottom-0 a {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}
