/* FleetSharp site header & navigation */
:root {
  --header-h: 70px;
  --header-offset: calc(var(--header-h) + 2px);
  --nav-ease: cubic-bezier(0.25, 1, 0.5, 1);
  --framer-nav-bg: #000000;
  --framer-nav-text: #fdfdfd;
  --framer-nav-max: 1360px;
  --framer-nav-pad-x: 30px;
  --framer-nav-pad-y: 20px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--framer-nav-bg);
  border-bottom: none;
  box-shadow: none;
  transition: background 0.35s var(--nav-ease);
}

.site-header-inner {
  max-width: var(--framer-nav-max);
  width: 100%;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: var(--framer-nav-pad-y) var(--framer-nav-pad-x);
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header.is-scrolled {
  background: var(--framer-nav-bg);
  box-shadow: none;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  min-width: 0;
  max-width: 175px;
  font-family: var(--f-head);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--framer-nav-text);
  text-decoration: none;
  letter-spacing: 0;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.site-logo span {
  white-space: nowrap;
}

.site-logo-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.site-logo:hover {
  color: var(--framer-nav-text);
  opacity: 0.88;
}

.site-logo .dot {
  display: none;
}

/* Desktop nav — laptop */
.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
}

.nav-a {
  position: relative;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 0.45rem 0.72rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: translateX(-50%);
  transition: width 0.28s var(--nav-ease);
}

.nav-a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-a:hover::after,
.nav-a.active::after {
  width: calc(100% - 1.2rem);
}

.nav-a.active {
  color: #fff;
  font-weight: 600;
}

.nav-a.nav-demo {
  color: rgba(255, 255, 255, 0.85);
}

.nav-a.nav-demo:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-a.nav-cta {
  margin-left: 0.35rem;
  padding: 0.48rem 1rem;
  background: #fff;
  color: #000;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.nav-a.nav-cta::after {
  display: none;
}

.nav-a.nav-cta:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #000;
  transform: translateY(-1px);
  box-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-header .deck-counter {
  color: rgba(255, 255, 255, 0.45);
}

.site-header .deck-counter b {
  color: #fff;
}

/* Burger — mobile & tablet (visible on dark Framer header) */
.burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.32s var(--nav-ease), opacity 0.2s, top 0.32s var(--nav-ease);
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }

.burger:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.burger.is-open span:nth-child(1) {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Drawer */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(15, 14, 10, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s, visibility 0.35s;
}

.menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 220;
  width: min(380px, 92vw);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(175deg, #fff 0%, #f8f7f2 55%, #f0efe8 100%);
  border-left: 1px solid var(--line-2);
  box-shadow: -24px 0 64px -20px rgba(21, 20, 15, 0.35);
  transform: translateX(105%);
  transition: transform 0.42s var(--nav-ease);
  overflow: hidden;
  pointer-events: none;
}

.menu-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.menu-head {
  position: relative;
  padding: 1.35rem 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
}

.menu-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.menu-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-close:hover {
  border-color: var(--gold-line);
  color: var(--gold);
  background: var(--gold-soft);
}

.menu-tagline {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.5;
  max-width: 260px;
}

.menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-family: var(--f-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.menu-link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.menu-link:hover {
  background: rgba(21, 20, 15, 0.04);
  color: var(--gold);
}

.menu-link:hover::before {
  background: var(--gold);
  transform: scale(1.3);
}

.menu-link.active {
  background: var(--gold-soft);
  color: var(--gold);
}

.menu-link.active::before {
  background: var(--gold);
}

.menu-link.cta-menu {
  margin-top: 0.5rem;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--f-body);
  font-weight: 600;
}

.menu-link.cta-menu::before {
  display: none;
}

.menu-link.cta-menu:hover {
  background: var(--gold);
  color: #fff;
}

.menu-foot {
  padding: 1rem 1.5rem 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.menu-foot a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s;
}

.menu-foot a:hover {
  color: var(--gold);
}

.menu-foot-sep {
  opacity: 0.5;
}

body.menu-open {
  overflow: hidden;
}

/* Responsive breakpoints */
@media (max-width: 1180px) {
  .site-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .burger {
    display: block;
  }
}

@media (min-width: 1181px) {
  .menu-drawer,
  .menu-backdrop {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 70px;
    --framer-nav-pad-x: 20px;
    --framer-nav-pad-y: 20px;
  }

  body {
    padding-top: var(--header-offset);
  }

  .site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .site-header-inner {
    padding: 20px;
    gap: 10px;
  }

  .site-logo {
    font-size: 24px;
    max-width: none;
  }

  .site-logo-mark {
    width: 30px;
    height: 30px;
  }
}

/* Focus states */
.nav-a:focus-visible,
.burger:focus-visible,
.menu-link:focus-visible,
.menu-close:focus-visible,
.site-logo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* WhatsApp floater */
.wa-floater {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border: 1px solid var(--gold-line);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 10px 24px -10px rgba(154, 123, 46, 0.55),
    0 4px 12px -4px rgba(21, 20, 15, 0.22);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.wa-floater svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.wa-floater:hover {
  transform: scale(1.08) translateY(-2px);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 18px 36px -14px rgba(21, 20, 15, 0.45),
    0 6px 14px -4px rgba(154, 123, 46, 0.25);
}

.wa-floater:active {
  transform: scale(0.96);
}

body.menu-open .wa-floater {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

.wa-floater:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .wa-floater {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 50px;
    height: 50px;
  }

  .wa-floater svg {
    width: 26px;
    height: 26px;
  }
}

@media (min-width: 761px) {
  .wa-floater {
    right: 1.25rem;
    bottom: 1.25rem;
  }
}
