/*
Theme Name: Strada Nera
Theme URI: https://stradanera.com
Author: Strada Nera
Description: A luxury exotic & collector automobile dealership theme with full inventory management, photo galleries with drag-and-drop reordering, featured photo selection, mark-as-sold functionality, and dynamic brand filtering. Built for Strada Nera — San Diego.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stradanera
Tags: exotic-cars, dealership, inventory, luxury, automotive
*/

/* ══════════════════════════════════════
   BASE & RESET
   ══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --off-white: #f8f7f5;
  --light-gray: #ebebeb;
  --mid-gray: #999;
  --dark-gray: #444;
  --black: #0d0d0d;
  --sold-red: #8b0000;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ══════════════════════════════════════
   HEADER
   ══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  height: 64px;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.at-top { background: transparent; }
.site-header.scrolled {
  background: var(--white);
  border-bottom-color: var(--light-gray);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}

/* Interior pages use sticky solid header */
.site-header.solid {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
}

.header-left { display: flex; gap: 32px; }

.header-nav-link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.site-header.at-top .header-nav-link { color: rgba(255,255,255,0.7); }
.site-header.at-top .header-nav-link:hover { color: #fff; }
.site-header.scrolled .header-nav-link,
.site-header.solid .header-nav-link { color: var(--dark-gray); }
.site-header.scrolled .header-nav-link:hover,
.site-header.solid .header-nav-link:hover { color: var(--black); }

.header-nav-link.active { font-weight: 600; }
.site-header.at-top .header-nav-link.active { color: #fff; }
.site-header.scrolled .header-nav-link.active,
.site-header.solid .header-nav-link.active { color: var(--black); }

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img { height: 22px; width: auto; display: block; transition: opacity 0.4s; }
.logo-img.logo-black { display: none; }
.logo-img.logo-white { display: block; }
.site-header.scrolled .logo-img.logo-black,
.site-header.solid .logo-img.logo-black { display: block; }
.site-header.scrolled .logo-img.logo-white,
.site-header.solid .logo-img.logo-white { display: none; }

.header-right { display: flex; justify-content: flex-end; gap: 32px; }

/* Mobile hamburger */
.header-right-mobile {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 4px 0;
  transition: all 0.3s;
}

.site-header.at-top .mobile-menu-toggle span { background: #fff; }
.site-header.scrolled .mobile-menu-toggle span,
.site-header.solid .mobile-menu-toggle span { background: var(--black); }

.mobile-menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dark-gray);
  text-decoration: none;
  transition: color 0.2s;
  padding: 20px 0;
  border-bottom: 1px solid var(--light-gray);
  width: 60%;
  text-align: center;
}

.mobile-nav a:first-child {
  border-top: 1px solid var(--light-gray);
}

.mobile-nav a:hover,
.mobile-nav a:active { color: var(--black); }

.mobile-nav-phone {
  margin-top: 40px;
  font-family: 'Cormorant', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.mobile-nav-instagram {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-instagram:hover { color: var(--black); }

/* ══════════════════════════════════════
   HERO (Front Page)
   ══════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.1);
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.0); }
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero-headline {
  font-family: 'Cormorant', serif;
  font-size: clamp(38px, 5.5vw, 80px);
  font-weight: 300;
  font-style: italic;
  color: white;
  letter-spacing: 0.03em;
  line-height: 1.1;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease 0.3s forwards;
}

.hero-sub {
  margin-top: 24px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-cta {
  margin-top: 40px;
  display: inline-block;
  padding: 15px 44px;
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 1s forwards;
}

.hero-cta:hover {
  background: white;
  color: var(--black);
  border-color: white;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}

.hero-scroll span {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   SECTIONS — GENERAL
   ══════════════════════════════════════ */
.section-new-inventory {
  padding: 100px 60px 120px;
  max-width: 1440px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.section-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--mid-gray);
}

.section-label.center {
  justify-content: center;
}

.section-label.center::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--light-gray);
}

.section-heading {
  font-family: 'Cormorant', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.view-all-link {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--light-gray);
}

.view-all-link:hover {
  color: var(--black);
  border-bottom-color: var(--black);
}

/* ══════════════════════════════════════
   INVENTORY CARDS
   ══════════════════════════════════════ */
.inventory-feed,
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.inv-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.inv-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light-gray);
  margin-bottom: 20px;
  position: relative;
}

.inv-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.93) saturate(0.9);
  transition: all 0.6s ease;
}

.inv-card:hover .inv-card-img {
  filter: brightness(1) saturate(1.05);
  transform: scale(1.04);
}

.inv-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--black);
  color: white;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.inv-card-badge.sold { background: var(--sold-red); }

.inv-card-photos {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255,255,255,0.92);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  color: var(--dark-gray);
}

.inv-card-year {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 6px;
}

.inv-card-name {
  font-family: 'Cormorant', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.inv-card:hover .inv-card-name { color: var(--dark-gray); }

.inv-card-sub {
  font-size: 11px;
  color: var(--mid-gray);
  margin-bottom: 12px;
  font-weight: 300;
}

.inv-card-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.04em;
}

.inv-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inv-card-stock {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.inv-card-sold-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sold-red);
}

/* Sold cards have desaturated images */
.inv-card.sold-card .inv-card-img {
  filter: brightness(0.8) saturate(0.4);
}
.inv-card.sold-card:hover .inv-card-img {
  filter: brightness(0.85) saturate(0.5);
  transform: scale(1.04);
}

/* ══════════════════════════════════════
   SECTION DIVIDER
   ══════════════════════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  gap: 20px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--light-gray);
}

.divider-mark {
  width: 6px;
  height: 6px;
  border: 1px solid var(--light-gray);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   ABOUT TEASER (Front Page)
   ══════════════════════════════════════ */
.about-teaser {
  padding: 100px 60px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-teaser-text { max-width: 480px; }
.about-teaser-text .section-label { margin-bottom: 20px; }

.about-teaser-heading {
  font-family: 'Cormorant', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-teaser-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--dark-gray);
  line-height: 1.9;
  margin-bottom: 32px;
}

.text-link {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--black);
  transition: opacity 0.2s;
}

.text-link:hover { opacity: 0.6; }

.about-teaser-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: brightness(0.92) saturate(0.9);
}

/* ══════════════════════════════════════
   SELL CTA
   ══════════════════════════════════════ */
.sell-cta-section {
  background: var(--off-white);
  padding: 80px 60px;
  text-align: center;
}

.sell-cta-heading {
  font-family: 'Cormorant', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--black);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.sell-cta-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-gray);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn-black {
  display: inline-block;
  padding: 15px 44px;
  background: var(--black);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-black:hover {
  background: transparent;
  color: var(--black);
}

.btn-outline {
  display: inline-block;
  padding: 13px 44px;
  background: white;
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  border: 1px solid var(--light-gray);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--black);
  color: var(--black);
}

/* ══════════════════════════════════════
   PAGE HERO (Inventory, Sold)
   ══════════════════════════════════════ */
.page-hero {
  background: var(--off-white);
  padding: 80px 60px 60px;
  text-align: center;
}

.page-hero.dark {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.page-hero.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.012) 40px,
    rgba(255,255,255,0.012) 41px
  );
  pointer-events: none;
}

.page-hero-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 16px;
  position: relative;
}

.page-hero.dark .page-hero-label { color: rgba(255,255,255,0.35); }

.page-hero-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}

.page-hero.dark .page-hero-title { color: white; }

.page-hero-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-gray);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

.page-hero.dark .page-hero-sub { color: rgba(255,255,255,0.45); }

/* ══════════════════════════════════════
   FILTER BAR
   ══════════════════════════════════════ */
.filter-bar {
  padding: 20px 60px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-tabs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  cursor: pointer;
  border: none;
  background: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.filter-tab:hover { color: var(--black); }
.filter-tab.active { color: var(--black); border-bottom-color: var(--black); }

.filter-count {
  font-size: 10px;
  font-weight: 400;
  color: var(--mid-gray);
  letter-spacing: 0.05em;
}

.sort-select {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
  border: 1px solid var(--light-gray);
  background: white;
  padding: 8px 36px 8px 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.inventory-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 60px 120px;
}

/* ══════════════════════════════════════
   SINGLE LISTING — HERO
   ══════════════════════════════════════ */
.hero-fullbleed {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  position: relative;
}

.hero-fullbleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: brightness(0.95);
}

.hero-fullbleed:hover img { transform: scale(1.02); }

.hero-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 60px 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.hero-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.hero-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  color: white;
  letter-spacing: 0.04em;
  line-height: 1.0;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

/* ══════════════════════════════════════
   SINGLE LISTING — PAGE BODY
   ══════════════════════════════════════ */
.page-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--light-gray);
  flex-wrap: wrap;
  gap: 16px;
}

.meta-tags {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid var(--light-gray);
}

.meta-tag:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.meta-price {
  font-family: 'Cormorant', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.03em;
}

.meta-sold-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sold-red);
}

/* ── Vehicle Intro / About ── */
.vehicle-intro {
  padding: 52px 0 56px;
  border-bottom: 1px solid var(--light-gray);
}

.vehicle-intro-inner {
  width: 100%;
  display: block;
}

.vehicle-intro-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.vehicle-intro-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light-gray);
}

.vehicle-intro-text {
  font-family: 'Cormorant', serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--dark-gray);
  letter-spacing: 0.01em;
  width: 100%;
  display: block;
}

.vehicle-intro-text p {
  margin: 0 0 20px;
  display: block;
}

.vehicle-intro-text p:last-child {
  margin-bottom: 0;
}

.vehicle-intro-text p:last-child {
  margin-bottom: 0;
}



.two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  padding: 56px 0 80px;
  align-items: start;
}

/* ══════════════════════════════════════
   PHOTO CATEGORIES
   ══════════════════════════════════════ */
.photo-section { margin-bottom: 60px; }

/* ══════════════════════════════════════
   VIDEO SECTION
   ══════════════════════════════════════ */
.video-section {
  margin-bottom: 60px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

/* Overflow: hide videos beyond 2 rows (8 items at 4-col) */
.video-item.video-overflow { display: none; }
.video-section.expanded .video-item.video-overflow { display: block; }

/* See-all button — matches photo see-all-btn */
.see-all-video-btn {
  display: none;
  width: 100%;
  padding: 14px;
  margin-top: 4px;
  background: var(--off-white);
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-gray);
  transition: background 0.2s, color 0.2s;
}
.see-all-video-btn:hover { background: var(--light-gray); color: var(--black); }
.see-all-video-btn.visible { display: block; }

.video-item {
  position: relative;
}

.video-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--black);
  overflow: hidden;
  cursor: pointer;
}

.video-wrap video.sn-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

/* Play overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: opacity 0.25s;
  z-index: 2;
}

.video-play-btn {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  padding: 0;
}

.video-play-btn svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
}

.video-play-btn:hover {
  transform: scale(1.08);
  background: rgba(0,0,0,0.65);
}

/* ══════════════════════════════════════
   VIDEO LIGHTBOX
   ══════════════════════════════════════ */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.96);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.video-lightbox.open {
  display: flex;
}

.vlb-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 80px;
  box-sizing: border-box;
}

/* Video fills height, maintains 9:16 */
.vlb-video-wrap {
  position: relative;
  height: 100%;
  max-height: calc(100vh - 120px);
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}

.vlb-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Mute button inside lightbox */
.vlb-mute-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
  z-index: 2;
}
.vlb-mute-btn:hover { background: rgba(0,0,0,0.8); }
.vlb-mute-btn svg { width: 15px; height: 15px; }

/* Close */
.vlb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 2;
}
.vlb-close:hover { color: #fff; }

/* Arrows */
.vlb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 2;
  padding: 0;
}
.vlb-arrow:hover { color: #fff; }
.vlb-prev { left: 16px; }
.vlb-next { right: 16px; }
.vlb-arrow.hidden { opacity: 0; pointer-events: none; }

/* Counter */
.vlb-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  z-index: 2;
}

.section-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light-gray);
}

.photo-category { margin-bottom: 48px; }
.photo-category:last-child { margin-bottom: 0; }

.photo-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light-gray);
}

.photo-category-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}

.photo-category-count {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.main-photo {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light-gray);
  cursor: pointer;
  margin-bottom: 4px;
  position: relative;
}

.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.main-photo:hover img { transform: scale(1.03); }

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.thumb-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.thumb-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light-gray);
  cursor: pointer;
  position: relative;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.3s;
  filter: brightness(0.92) saturate(0.95);
}

.thumb:hover img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.1);
}

.thumb.overflow-hidden { display: none; }
.photo-category.expanded .thumb.overflow-hidden { display: block; }

.see-all-btn {
  display: none;
  width: 100%;
  padding: 14px;
  margin-top: 4px;
  background: var(--off-white);
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-gray);
  transition: background 0.2s, color 0.2s;
}

.see-all-btn:hover {
  background: var(--light-gray);
  color: var(--black);
}

.see-all-btn.visible { display: block; }

/* ══════════════════════════════════════
   SPECS TABLE
   ══════════════════════════════════════ */
.specs-section { margin-bottom: 60px; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--light-gray);
  transition: background 0.15s;
}

.specs-table tr:hover { background: var(--off-white); }

.specs-table td {
  padding: 13px 0;
  vertical-align: top;
}

.spec-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  width: 40%;
}

.spec-value {
  font-size: 12px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════════
   DESCRIPTION
   ══════════════════════════════════════ */
.description-section { margin-bottom: 60px; }

.description-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--dark-gray);
  line-height: 1.9;
  max-width: 640px;
}

.description-text p + p { margin-top: 18px; }

/* ══════════════════════════════════════
   EQUIPMENT
   ══════════════════════════════════════ */
.equipment-section { margin-bottom: 60px; }

.equipment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.eq-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 12px;
  font-weight: 400;
  color: var(--dark-gray);
}

.eq-item:nth-child(odd) { padding-right: 40px; }

.eq-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
}

/* Investment section — similar to equipment with subtle distinction */
.investment-section { margin-bottom: 60px; }

.investment-sub {
  font-size: 11px;
  color: var(--mid-gray);
  margin: -4px 0 20px;
  font-weight: 400;
  font-style: italic;
}

.inv-dot {
  background: var(--dark-gray);
  width: 5px;
  height: 5px;
  border: 1px solid var(--mid-gray);
}

/* ══════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════ */
.sidebar { position: sticky; top: 80px; }

.sidebar-price {
  font-family: 'Cormorant', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--black);
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 20px;
}

.sidebar-price.sold {
  color: var(--sold-red);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.sidebar-block {
  border: 1px solid var(--light-gray);
  padding: 28px;
  margin-bottom: 16px;
}

.sidebar-block-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 20px;
}

.sidebar-block .btn-black,
.sidebar-block .btn-outline {
  display: block;
  width: 100%;
  padding: 14px;
  margin-bottom: 8px;
}

.sidebar-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--light-gray);
  border: 1px solid var(--light-gray);
  margin-bottom: 16px;
}

.sidebar-detail {
  background: white;
  padding: 14px 16px;
}

.sd-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 4px;
}

.sd-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
}

.sidebar-note {
  font-size: 10px;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.7;
  padding-top: 8px;
}

.sidebar-stock {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-top: 8px;
}

/* ══════════════════════════════════════
   FINANCE CALCULATOR
   ══════════════════════════════════════ */
.finance-calc-section {
  padding: 0 0 72px;
  border-top: 1px solid var(--light-gray);
  padding-top: 56px;
}

.finance-calc-inner {
  max-width: 900px;
}

.finance-calc-header {
  margin-bottom: 40px;
}

.finance-calc-heading {
  font-family: 'Cormorant', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  color: var(--black);
  letter-spacing: 0.02em;
  margin: 8px 0 10px;
}

.finance-calc-sub {
  font-size: 12px;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.7;
  max-width: 520px;
}

.finance-calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ── Inputs ── */
.fc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fc-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.fc-label-note {
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: none;
  color: var(--mid-gray);
  font-size: 9px;
}

.fc-input-wrap {
  position: relative;
}

.fc-input-wrap::before {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 500;
  color: var(--mid-gray);
  pointer-events: none;
}

.fc-currency::before { content: '$'; }
.fc-pct::after {
  content: '%';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 500;
  color: var(--mid-gray);
  pointer-events: none;
}

.fc-input {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  width: 100%;
  padding: 13px 16px 13px 28px;
  border: 1px solid var(--light-gray);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}

.fc-pct .fc-input { padding-right: 32px; padding-left: 16px; }
.fc-input:focus { border-color: var(--black); }
.fc-input::-webkit-outer-spin-button,
.fc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.fc-presets {
  display: flex;
  gap: 6px;
}

.fc-preset {
  flex: 1;
  padding: 6px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  cursor: pointer;
  transition: all 0.2s;
}

.fc-preset:hover,
.fc-preset.active {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

/* Tax row with zip lookup */
.fc-tax-row {
  display: flex;
  gap: 6px;
  align-items: stretch;
}

.fc-zip-input {
  width: 68px;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--black);
  padding: 0 10px;
  border: 1px solid var(--light-gray);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  text-align: center;
  letter-spacing: 0.08em;
}
.fc-zip-input:focus { border-color: var(--black); }
.fc-zip-input::placeholder { color: var(--mid-gray); font-size: 10px; letter-spacing: 0.1em; }

.fc-zip-btn {
  flex-shrink: 0;
  padding: 0 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.fc-zip-btn:hover { background: var(--black); color: white; border-color: var(--black); }

.fc-tax-presets {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.fc-tax-preset {
  flex: 1;
  padding: 6px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  cursor: pointer;
  transition: all 0.2s;
}
.fc-tax-preset:hover,
.fc-tax-preset.active {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

/* ── Results ── */
.fc-results-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fc-terms {
  display: flex;
  gap: 0;
  border: 1px solid var(--light-gray);
}

.fc-term {
  flex: 1;
  padding: 10px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  background: white;
  border: none;
  border-right: 1px solid var(--light-gray);
  cursor: pointer;
  transition: all 0.2s;
}

.fc-term:last-child { border-right: none; }
.fc-term:hover { color: var(--black); background: var(--off-white); }
.fc-term.active { background: var(--black); color: white; }

.fc-results {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  overflow: hidden;
}

.fc-result-primary {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--light-gray);
  background: white;
}

.fc-result-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 6px;
}

.fc-result-amount {
  font-family: 'Cormorant', serif;
  font-size: 44px;
  font-weight: 300;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1;
}

.fc-result-secondary {
  padding: 16px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fc-result-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.fc-result-item-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.fc-result-item-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-gray);
  letter-spacing: 0.03em;
}

.fc-apply-btn {
  display: block;
  text-align: center;
  padding: 14px;
}

.fc-disclaimer {
  font-size: 9px;
  font-weight: 400;
  color: var(--mid-gray);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .finance-calc-body { grid-template-columns: 1fr; gap: 32px; }
}

/* ══════════════════════════════════════
   ALSO AVAILABLE
   ══════════════════════════════════════ */
.also-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--light-gray);
}

/* ══════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  z-index: 1000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 4px 40px rgba(0,0,0,0.12);
  cursor: zoom-in;
  transition: transform 0.3s ease, max-width 0.3s ease, max-height 0.3s ease;
}

/* Zoomed state */
.lightbox.zoomed .lightbox-img {
  max-width: none;
  max-height: none;
  cursor: grab;
  box-shadow: none;
}

.lightbox.zoomed .lightbox-img.dragging {
  cursor: grabbing;
}

/* Hide nav controls when zoomed, but keep close and zoom buttons fixed */
.lightbox.zoomed .lb-arrow,
.lightbox.zoomed .lb-counter { opacity: 0; pointer-events: none; }

.lightbox.zoomed .lb-close,
.lightbox.zoomed .lb-zoom {
  position: fixed;
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  color: var(--dark-gray);
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}

.lb-close:hover { color: var(--black); }

/* Zoom button */
.lb-zoom {
  position: absolute;
  top: 24px;
  right: 76px;
  cursor: pointer;
  color: var(--dark-gray);
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lb-zoom:hover { color: var(--black); }

.lb-zoom svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: 200;
  cursor: pointer;
  color: var(--mid-gray);
  background: none;
  border: none;
  line-height: 1;
  padding: 12px;
  transition: color 0.2s, opacity 0.2s;
}

.lb-arrow:hover { color: var(--black); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-counter {
  position: absolute;
  bottom: 28px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--mid-gray);
  transition: opacity 0.2s;
}

/* ══════════════════════════════════════
   SELL PAGE
   ══════════════════════════════════════ */
.sell-hero {
  position: relative;
  background: var(--black);
  padding: 120px 60px 100px;
  text-align: center;
  overflow: hidden;
}

.sell-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: saturate(0);
}

.sell-hero-content {
  position: relative;
  z-index: 1;
}

.sell-hero-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.sell-hero-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  font-style: italic;
  color: white;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.sell-hero-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

.how-it-works {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hiw-header {
  text-align: center;
  margin-bottom: 72px;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.hiw-step { text-align: center; }

.hiw-number {
  font-family: 'Cormorant', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 20px;
}

.hiw-step-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
}

.hiw-step-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-gray);
  line-height: 1.8;
  max-width: 280px;
  margin: 0 auto;
}

.sell-form-section {
  background: var(--off-white);
  padding: 100px 60px;
}

.sell-form-inner {
  max-width: 720px;
  margin: 0 auto;
}

.sell-form-header {
  text-align: center;
  margin-bottom: 56px;
}

.sell-form-heading {
  font-family: 'Cormorant', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--black);
  letter-spacing: 0.02em;
}

.sell-form-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-gray);
  margin-top: 12px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; }

.form-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  padding: 14px 16px;
  border: 1px solid var(--light-gray);
  background: white;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--black); }

.form-input::placeholder { color: var(--mid-gray); font-weight: 300; }

.form-select {
  appearance: none;
  -webkit-appearance: none;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.why-sell {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-sell-header {
  text-align: center;
  margin-bottom: 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.why-item-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
}

.why-item-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-gray);
  line-height: 1.8;
}

/* Back to inventory CTA */
.back-cta-section {
  background: var(--off-white);
  padding: 80px 60px;
  text-align: center;
}

.back-cta-heading {
  font-family: 'Cormorant', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--black);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.back-cta-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-gray);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.site-footer {
  background: var(--black);
  padding: 60px 60px 40px;
  color: rgba(255,255,255,0.5);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.8;
}

.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }

.footer-nav a {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy, .footer-location {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.footer-location a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
}

.footer-location a:hover { color: rgba(255,255,255,0.5); }

.footer-instagram {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-instagram:hover { color: rgba(255,255,255,0.7); }
.footer-instagram svg { flex-shrink: 0; }

/* ── Footer Hours ── */
.footer-hours {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-hours-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer-hours-days {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.footer-hours-time {
  font-family: 'Cormorant', serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

.footer-hours-sep {
  color: rgba(255,255,255,0.15);
  font-size: 12px;
}

/* ══════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ══════════════════════════════════════
   RESPONSIVE — TABLET
   ══════════════════════════════════════ */
@media (max-width: 1100px) {
  .inventory-feed,
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser { grid-template-columns: 1fr; gap: 48px; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .sidebar { position: static; }
  .hiw-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE
   ══════════════════════════════════════ */
@media (max-width: 720px) {
  .site-header {
    padding: 0 20px;
    grid-template-columns: 1fr auto 1fr;
  }
  .header-left,
  .header-right { display: none; }
  .mobile-menu-toggle { display: block; }
  .header-right-mobile { display: flex; justify-content: flex-end; }

  .section-new-inventory { padding: 64px 24px 80px; }
  .inventory-feed,
  .inventory-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about-teaser { padding: 64px 24px; }
  .sell-cta-section { padding: 64px 24px; }
  .site-footer { padding: 48px 24px 32px; }
  .hero { min-height: 500px; }

  .page-hero { padding: 56px 24px 40px; }
  .filter-bar { padding: 16px 24px; }
  .inventory-section { padding: 32px 24px 80px; }
  .page-body { padding: 0 24px; }
  .thumb-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid[data-count="1"] { grid-template-columns: repeat(1, 160px); }
  .hero-fullbleed { aspect-ratio: 4/3; }
  .hero-overlay-text { padding: 32px 24px 24px; }

  .sell-hero { padding: 80px 24px 64px; }
  .how-it-works { padding: 64px 24px; }
  .sell-form-section { padding: 64px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .why-sell { padding: 64px 24px; }

  .back-cta-section { padding: 48px 24px; }
  .section-divider { padding: 0 24px; }
  .equipment-list { grid-template-columns: 1fr; }

  .footer-nav { gap: 20px; }
  .meta-bar { flex-direction: column; align-items: flex-start; }

  .footer-hours { gap: 14px; }
  .footer-hours-sep { display: none; }
  .footer-hours-item { flex-direction: column; gap: 3px; }

  .carfax-embed iframe { height: 400px; }
}

@media (max-width: 480px) {
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid[data-count="1"] { grid-template-columns: repeat(1, 140px); }
  .vlb-inner { padding: 56px 48px; }
  .vlb-prev { left: 4px; }
  .vlb-next { right: 4px; }
}
