/* ================================================================
   YHS Auto Parts - Design System
   ================================================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --ink: #1a1a2e;
  --ink-muted: #6b7280;
  --background: #fafafa;
  --surface: #f3f4f6;
  --surface-alt: #e5e7eb;
  --accent-red: #e53e3e;
  --border: #e5e7eb;
  --border-light: rgba(229, 231, 235, 0.6);
  --white: #ffffff;
  --black: #000000;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

  /* Spacing */
  --container-max: 1280px;
  --section-py: 7rem; /* py-28 = 7rem */
  --px: 1.5rem; /* px-6 = 1.5rem */

  /* Border radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* ── Section Spacing ── */
.section-py {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }
.reveal-delay-7 { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Counter Animation ── */
.counter {
  display: inline;
}

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background-color: rgba(250, 250, 250, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 500ms var(--ease-out),
              backdrop-filter 500ms var(--ease-out),
              border-color 500ms var(--ease-out),
              height 500ms var(--ease-out);
}

.site-header.scrolled {
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(229, 231, 235, 0.7);
}

.header-nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  font-size: 13px;
  transition: height 500ms var(--ease-out);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo img {
  height: 2rem;
  width: auto;
  transition: height 500ms var(--ease-out);
}

.header-logo-text {
  display: none;
  color: var(--ink-muted);
  font-weight: 400;
}

@media (min-width: 640px) {
  .header-logo-text {
    display: inline;
  }
}

.header-menu {
  display: none;
  align-items: center;
  gap: 2rem;
  color: rgba(26, 26, 46, 0.8);
}

@media (min-width: 768px) {
  .header-menu {
    display: flex;
  }
}

.header-menu a {
  transition: color 200ms;
}

.header-menu a:hover {
  color: var(--ink);
}

.header-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  background-color: var(--ink);
  color: var(--background);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 200ms, transform 200ms;
}

.header-shop-btn:hover {
  background-color: rgba(26, 26, 46, 0.85);
  transform: scale(1.03);
}

.header-shop-btn svg {
  width: 10px;
  height: 10px;
}

/* ── Mobile Menu Button ── */
.mobile-menu-btn {
  display: block;
  padding: 8px;
  margin-left: -8px;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ── Mobile Menu ─ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.mobile-menu.active {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.mobile-menu-content {
  background: var(--background);
  width: 280px;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideIn 300ms var(--ease-out);
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.mobile-menu-close {
  align-self: flex-end;
  font-size: 24px;
  padding: 8px;
  color: var(--ink-muted);
}

.mobile-menu-content a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  transition: color 200ms;
}

.mobile-menu-content a:hover {
  color: var(--accent-red);
}

.mobile-menu-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  border-radius: 9999px;
  background-color: var(--ink);
  color: var(--background);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  background-color: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  padding-top: 5rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

.hero-title {
  margin-top: 1rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-badge {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 6px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-dot {
  display: inline-block;
  height: 6px;
  width: 6px;
  border-radius: 9999px;
  background-color: var(--accent-red);
}

.hero-badge strong {
  color: var(--white);
}

.hero-badge .promo-code {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background-color: var(--white);
  color: var(--black);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 200ms, transform 200ms;
}

.hero-cta-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.03);
}

.hero-cta-secondary {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 200ms;
}

.hero-cta-secondary:hover {
  color: var(--white);
}

/* Hero Video */
.hero-video-wrap {
  position: relative;
  z-index: 0;
  max-width: 1600px;
  margin: -6rem auto 0;
  background-color: var(--black);
  overflow: visible;
}

@media (min-width: 768px) {
  .hero-video-wrap {
    margin-top: -10rem;
  }
}

@media (min-width: 1024px) {
  .hero-video-wrap {
    margin-top: -14rem;
  }
}

.hero-video-inner {
  position: relative;
  width: 100%;
  will-change: transform;
  aspect-ratio: 1920 / 1080;
  transition: transform 1600ms var(--ease-out);
}

.hero-video-inner video {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 115%;
  object-fit: contain;
  object-position: center bottom;
  background-color: var(--black);
  transform: scale(1.05);
}

/* ================================================================
   STATS SECTION
   ================================================================ */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
}

.stats-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

@media (min-width: 768px) {
  .stat-item {
    text-align: left;
  }
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 3rem;
  }
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ================================================================
   BRANDS SECTION
   ================================================================ */
.brands {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.brands-header {
  max-width: 48rem;
}

.brands-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}

.brands-title {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .brands-title {
    font-size: 3.75rem;
  }
}

.brands-desc {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.brands-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.brand-card {
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  transition: border-color 300ms var(--ease-out),
              box-shadow 300ms var(--ease-out),
              transform 300ms var(--ease-out);
}

.brand-card:hover {
  border-color: rgba(26, 26, 46, 0.4);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.brand-card-logo {
  height: 48px;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms var(--ease-out);
}

.brand-card:hover .brand-card-logo {
  transform: scale(1.1);
}

.brand-card-logo img {
  max-height: 40px;
  max-width: 44px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 300ms;
}

.brand-card:hover .brand-card-logo img {
  opacity: 1;
}

.brand-card-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  transition: color 300ms;
}

@media (min-width: 640px) {
  .brand-card-name {
    font-size: 14px;
  }
}

.brand-card:hover .brand-card-name {
  color: var(--accent-red);
}

.brands-note {
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ================================================================
   CATEGORIES SECTION (Dark Background)
   ================================================================ */
.categories-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 7rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #141414 0%, #0a0a0a 55%, #000000 100%);
}

.categories-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #141414 0%, #0a0a0a 55%, #000000 100%);
}

.categories-glow {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 1000px;
  width: 1000px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
  will-change: transform;
  background: radial-gradient(circle, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0) 65%);
  filter: blur(40px);
}

.categories-scroll {
  position: relative;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-left: var(--px);
  padding-right: var(--px);
  padding-bottom: 1rem;
  scroll-padding-left: var(--px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-card {
  position: relative;
  scroll-snap-align: start;
  flex-shrink: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: var(--black);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  width: 85vw;
}

@media (min-width: 640px) {
  .category-card {
    width: 65vw;
  }
}

@media (min-width: 768px) {
  .category-card {
    width: calc((80rem - 3rem - 1.5rem) / 2);
  }
}

.category-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.7;
  transform: scale(1.05);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}

.category-card:hover img {
  opacity: 0.85;
  transform: scale(1.1);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent, rgba(0,0,0,0.6));
}

.category-card-content {
  position: relative;
  z-index: 10;
  padding: 2.5rem;
  color: var(--white);
}

.category-card-tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}

.category-card-title {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .category-card-title {
    font-size: 2.25rem;
  }
}

.category-card-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

.category-card-cta {
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding: 2.5rem;
}

.category-card-cta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white);
  transition: gap 300ms;
}

.category-card:hover .category-card-cta span {
  gap: 12px;
}

/* Category Dots Navigation */
.categories-dots {
  position: relative;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.categories-dots button {
  display: grid;
  place-items: center;
  height: 32px;
  width: 32px;
  padding: 0;
}

.categories-dots button span {
  display: block;
  height: 11px;
  border-radius: 9999px;
  transition: all 300ms;
  width: 11px;
  background-color: rgba(255, 255, 255, 0.25);
}

.categories-dots button:hover span {
  background-color: rgba(255, 255, 255, 0.5);
}

.categories-dots button.active span {
  width: 32px;
  background-color: var(--white);
}

/* ================================================================
   WATCH SECTION
   ================================================================ */
.watch-section {
  position: relative;
  color: var(--white);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  background: radial-gradient(ellipse at 50% 30%, #141414 0%, #0a0a0a 55%, #000000 100%);
}

.watch-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  display: grid;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .watch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.watch-info {
  position: relative;
}

@media (min-width: 1024px) {
  .watch-info {
    position: sticky;
    top: 6rem;
  }
}

.watch-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

.watch-title {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .watch-title {
    font-size: 3.75rem;
  }
}

.watch-desc {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 32rem;
}

.watch-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background-color: var(--white);
  color: var(--black);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 200ms, transform 200ms;
}

.watch-cta:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.03);
}

/* Video Reel */
.video-reel {
  display: flex;
  justify-content: center;
}

.reel-container {
  position: relative;
  width: min(405px, 82vw);
  aspect-ratio: 9 / 16;
}

.reel-glow {
  position: absolute;
  inset: -24px;
  border-radius: 44px;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 60%, rgba(15,20,40,0.18), transparent 70%);
  filter: blur(24px);
}

.reel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 500ms var(--ease-out);
  animation: reel-float 7s ease-in-out infinite;
}

.reel-container:hover .reel-wrapper {
  transform: translateY(-6px) scale(1.015);
}

@keyframes reel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .reel-wrapper {
    animation: none !important;
  }
}

.reel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px -25px rgba(10,15,30,0.35),
              0 10px 24px -12px rgba(10,15,30,0.20),
              inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.reel-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 22%, rgba(255,255,255,0) 45%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.06) 100%);
  mix-blend-mode: screen;
}

.reel-border {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* Floating Video Player */
.floating-video {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  width: 180px;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--black);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  ring: 1px solid rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-video-inner {
  position: relative;
  aspect-ratio: 9 / 16;
}

.floating-video video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.floating-video-close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  height: 24px;
  width: 24px;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 12px;
  transition: background-color 200ms;
}

.floating-video-close:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.floating-video-mute {
  position: absolute;
  top: 6px;
  left: 6px;
  display: grid;
  place-items: center;
  height: 24px;
  width: 24px;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 10px;
  transition: background-color 200ms;
}

.floating-video-mute:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.floating-video-info {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  padding: 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.floating-video-brand {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-video-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-video-actions {
  margin-top: 6px;
  display: flex;
  gap: 4px;
}

.floating-video-buy {
  flex: 1;
  text-align: center;
  border-radius: 9999px;
  background-color: var(--white);
  color: var(--black);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  transition: background-color 200ms;
}

.floating-video-buy:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.floating-video-next {
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 10px;
  padding: 4px 8px;
  transition: background-color 200ms;
}

.floating-video-next:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Floating video toggle button */
.floating-video-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  height: 48px;
  width: 48px;
  border-radius: 9999px;
  background-color: var(--ink);
  color: var(--background);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: transform 200ms;
}

.floating-video-toggle:hover {
  transform: scale(1.05);
}

/* ================================================================
   SOCIAL SECTION
   ================================================================ */
.social-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  background-color: var(--surface);
}

.social-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  display: grid;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .social-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.social-info {
  position: relative;
}

@media (min-width: 1024px) {
  .social-info {
    position: sticky;
    top: 6rem;
  }
}

.social-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}

.social-title {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .social-title {
    font-size: 3.75rem;
  }
}

.social-desc {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 32rem;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  transition: opacity 200ms, transform 200ms;
}

.social-link:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

.social-link-facebook {
  background-color: #1877F2;
}

.social-link-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link-tiktok {
  background-color: var(--black);
}

.social-note {
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--ink-muted);
}

/* Facebook Embed */
.social-embed {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--background);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  width: 100%;
}

@media (min-width: 1024px) {
  .social-embed {
    justify-self: end;
  }
}

.social-embed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}

.social-embed-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

.social-embed-status .pulse-dot {
  display: inline-block;
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background-color: var(--accent-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.social-embed-link {
  font-size: 12px;
  color: var(--ink-muted);
  transition: color 200ms;
}

.social-embed-link:hover {
  color: var(--ink);
}

.social-embed iframe {
  display: block;
  border: 0;
  width: 100%;
  max-width: 500px;
  height: 700px;
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about-section {
  background-color: var(--surface);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.about-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}

.about-title {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .about-title {
    font-size: 3rem;
  }
}

.about-text {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.125rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.about-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background-color: var(--ink);
  color: var(--background);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 200ms, transform 200ms;
}

.about-cta-primary:hover {
  background-color: rgba(26, 26, 46, 0.85);
  transform: scale(1.03);
}

.about-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  padding: 10px 0;
  transition: color 200ms;
}

.about-cta-secondary:hover {
  color: var(--accent-red);
}

.about-image {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1200ms var(--ease-out);
}

.about-image:hover img {
  transform: scale(1);
}

/* ================================================================
   CTA SECTION (Scroll Animation)
   ================================================================ */
.cta-section {
  background-color: var(--black);
  color: var(--white);
  position: relative;
  height: 300vh;
}

.cta-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/cta-car.png');
  background-size: cover;
  background-position: center;
}

.cta-knockout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.cta-knockout text {
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.01em;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  will-change: transform;
}

@media (min-width: 640px) {
  .cta-knockout text {
    font-size: 4rem;
  }
}

@media (min-width: 768px) {
  .cta-knockout text {
    font-size: 6rem;
  }
}

@media (max-width: 640px) {
  .cta-actions {
    padding: 1.5rem 1.25rem;
  }
  .cta-subtitle {
    font-size: 1.05rem;
  }
}

.cta-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10vh;
}

.cta-content-inner {
  max-width: var(--container-max);
  padding-left: var(--px);
  padding-right: var(--px);
  text-align: center;
  width: 100%;
}

.cta-subtitle {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 2.5rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-actions .cta-subtitle {
  margin-top: 0;
}

.cta-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background-color: var(--white);
  color: var(--black);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 200ms, transform 200ms;
}

.cta-shop-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.03);
}

.cta-promo {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.cta-promo strong {
  color: var(--white);
  font-weight: 500;
}

.cta-promo .promo-code {
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.contact-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
}

.contact-info-header {}

.contact-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}

.contact-title {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.contact-desc {
  margin-top: 1rem;
  color: var(--ink-muted);
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .contact-details {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-detail-label {
  font-size: 14px;
  color: var(--ink-muted);
}

.contact-detail-value {
  margin-top: 4px;
  font-size: 16px;
  color: var(--ink);
}

.contact-detail-value a {
  display: block;
  transition: color 200ms;
}

.contact-detail-value a:hover {
  color: var(--accent-red);
}

.contact-detail-value .fax {
  color: var(--ink-muted);
  font-size: 14px;
}

/* Map */
.contact-map-wrap {
  max-width: var(--container-max);
  margin: 4rem auto 0;
  padding-left: var(--px);
  padding-right: var(--px);
  display: block;
}

.contact-map {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--surface);
}

.contact-map-iframe {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--surface-alt);
}

@media (min-width: 640px) {
  .contact-map-iframe {
    aspect-ratio: 21 / 9;
  }
}

.contact-map-iframe iframe {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  border: 0;
  filter: grayscale(15%);
}

.contact-map-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--background);
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .contact-map-footer {
    flex-direction: row;
    align-items: center;
  }
}

.contact-map-footer-info {}

.contact-map-footer-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}

.contact-map-footer-text {
  margin-top: 4px;
  font-size: 16px;
  color: var(--ink);
}

.contact-map-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 200ms, transform 200ms;
}

.map-btn:hover {
  transform: scale(1.03);
}

.map-btn-google {
  background-color: var(--ink);
  color: var(--background);
}

.map-btn-google:hover {
  background-color: rgba(26, 26, 46, 0.85);
}

.map-btn-waze {
  background-color: var(--accent-red);
  color: var(--white);
}

.map-btn-waze:hover {
  opacity: 0.9;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.footer-top {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 640px) {
  .footer-top {
    grid-template-columns: auto 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand-text {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.footer-brand-text span {
  color: rgba(107, 114, 128, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 12px;
  color: var(--ink-muted);
}

@media (min-width: 640px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-links a {
  transition: color 200ms;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
}

.footer-bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 11px;
  color: var(--ink-muted);
}

/* ================================================================
   CONTACT BUTTON (Contact Section)
   ================================================================ */
.contact-shop-btn {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background-color: var(--ink);
  color: var(--background);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 200ms, transform 200ms;
}

.contact-shop-btn:hover {
  background-color: rgba(26, 26, 46, 0.85);
  transform: scale(1.03);
}

/* ================================================================
   UTILITY
   ================================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-balance {
  text-wrap: balance;
}
