
:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c70026;
}

.section-title {
  margin-top: 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.menu-link,
.footer-link,
.mobile-link,
.about-link,
.hero-shortcut {
  display: block;
  transition: all 0.2s ease;
}

.menu-link {
  border-radius: 0.9rem;
  padding: 0.8rem 0.95rem;
  font-size: 0.95rem;
}

.menu-link:hover {
  background: #f3f5f8;
  color: #0b1e63;
}

.mobile-details {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-details summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1rem;
  font-weight: 600;
}

.mobile-details summary::-webkit-details-marker {
  display: none;
}

.mobile-submenu {
  display: grid;
  gap: 0.25rem;
  padding: 0 1rem 1rem;
}

.mobile-submenu a,
.mobile-link {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.mobile-link {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-top: none;
}

.hamburger-line,
.hamburger-line::before,
.hamburger-line::after {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: '';
}

.hamburger-line::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.hamburger-line::after {
  position: absolute;
  top: 6px;
  left: 0;
}

#mobileMenuButton.is-open .hamburger-line {
  background: transparent;
}

#mobileMenuButton.is-open .hamburger-line::before {
  top: 0;
  transform: rotate(45deg);
}

#mobileMenuButton.is-open .hamburger-line::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  transition: all 0.2s ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.1);
}

.hero-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.95rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-shortcut:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.hero-shortcut-alt {
  border-color: rgba(199, 0, 38, 0.9);
  background: rgba(199, 0, 38, 0.18);
}

.news-link {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem;
  transition: background 0.2s ease;
}

.news-link:hover {
  background: #f8fafc;
}

.news-meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
}

.news-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #0f172a;
}

.product-card,
.pickup-card {
  display: block;
}

.about-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #02091f;
}

.about-link {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.about-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.footer-link:hover {
  color: #fff;
}

.contact-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  height: 72px;
  width: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 1.35rem;
  background: #c70026;
  box-shadow: 0 14px 34px rgba(199, 0, 38, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(199, 0, 38, 0.4);
}

.contact-float img {
  width: 95px;
  height: 95px;
  max-width: none;
}

@media (max-width: 767px) {
  .contact-float {
    right: 12px;
    bottom: 12px;
    height: 60px;
    width: 60px;
    border-radius: 1rem;
  }

  .hero-shortcut {
    width: 100%;
    justify-content: space-between;
  }
}

/* Click-based desktop global navigation */
@media (min-width: 1280px) {
  .nav-trigger {
    cursor: pointer;
  }

  .mega-menu {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: max-content !important;
    min-width: 17.5rem;
    max-width: calc(100vw - 2rem);
  }

  .group.is-open > .mega-menu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .group.is-open > .nav-trigger {
    color: rgba(255, 255, 255, 0.9);
  }

  .mega-menu .grid {
    grid-template-columns: repeat(2, max-content) !important;
    column-gap: 0.75rem;
  }

  .menu-link {
    white-space: nowrap;
    line-height: 1.5;
  }
}
