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

:root {
  --emerald-950: #042f23;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-50: #faf9f6;
  --cream-100: #f5f3ed;
  --cream-200: #ebe8df;
  --cream-300: #e0dbd0;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--stone-800);
  background-color: var(--cream-50);
  line-height: 1.6;
  font-size: 15px;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-200);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--stone-900);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.nav-cta) {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--stone-600);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--emerald-700);
  transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--stone-900);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--emerald-800) !important;
  background: var(--emerald-50, #ecfdf5);
  border: 1px solid var(--emerald-200, #a7f3d0);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--emerald-800);
  color: white !important;
  border-color: var(--emerald-800);
}

.nav-cta svg {
  flex-shrink: 0;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle-line {
  width: 22px;
  height: 1.5px;
  background: var(--stone-700);
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream-50);
  padding-top: 68px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(6, 95, 70, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(6, 78, 59, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--stone-900);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--emerald-800);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--stone-600);
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--emerald-800);
  color: white;
  border-color: var(--emerald-800);
}

.btn-primary:hover {
  background: var(--emerald-900);
  border-color: var(--emerald-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--stone-700);
  border-color: var(--stone-300);
}

.btn-ghost:hover {
  border-color: var(--stone-800);
  color: var(--stone-900);
}

.btn-full {
  width: 100%;
}

/* Hero stat cards */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.stat-card {
  background: white;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-card--1 { transform: translateX(8px); }
.stat-card--1:hover { transform: translateX(8px) translateY(-2px); }

.stat-card--2 { transform: translateX(0px); }
.stat-card--2:hover { transform: translateY(-2px); }

.stat-card--3 { transform: translateX(-8px); }
.stat-card--3:hover { transform: translateX(-8px) translateY(-2px); }

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--emerald-800);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--stone-500);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.stat-card svg {
  margin-left: auto;
  opacity: 0.5;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--stone-400);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--stone-300), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Section Shared ── */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--stone-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--stone-500);
  font-weight: 300;
}

/* ── Inventory ── */
.inventory {
  background: var(--cream-50);
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.car-card {
  background: white;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.car-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.car-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-card:hover .car-card-img img {
  transform: scale(1.04);
}

.car-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: white;
  color: var(--stone-800);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.car-card-body {
  padding: 24px;
}

.car-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--stone-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.car-card-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--stone-500);
  margin-bottom: 16px;
  font-weight: 300;
}

.car-specs {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.car-specs li {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--stone-600);
  background: var(--cream-100);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.car-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--emerald-700);
  border-bottom: 1px solid var(--emerald-200);
  padding-bottom: 2px;
  transition: all var(--transition);
}

.car-card-cta:hover {
  color: var(--emerald-900);
  border-color: var(--emerald-900);
  gap: 10px;
}

.inventory-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--stone-500);
  font-weight: 300;
  font-style: italic;
}

/* ── Why Us ── */
.why-us {
  background: var(--stone-50);
  border-top: 1px solid var(--cream-200);
  border-bottom: 1px solid var(--cream-200);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-text .section-eyebrow {
  text-align: left;
}

.why-text .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.why-text .section-desc {
  text-align: left;
  margin-bottom: 0;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature {
  display: flex;
  gap: 18px;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--stone-900);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--stone-500);
  font-weight: 300;
}

/* ── Process ── */
.process {
  background: var(--cream-50);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.step {
  text-align: center;
  padding: 0 32px;
  position: relative;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream-200);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.step-connector {
  display: none;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--stone-900);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--stone-500);
  font-weight: 300;
}

/* ── CTA / Contact ── */
.cta-section {
  background: var(--emerald-900);
  padding: 100px 0;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-section .section-eyebrow {
  color: var(--emerald-400, #6ee7b7);
}

.cta-section .section-title {
  color: white;
  text-align: left;
  margin-bottom: 16px;
}

.cta-section .section-desc {
  color: rgba(255,255,255,0.6);
  text-align: left;
  margin-bottom: 36px;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 300;
  transition: color var(--transition);
}

.cta-contact-item:hover {
  color: white;
}

.cta-contact-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Form */
.cta-right {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--stone-900);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--stone-800);
  background: var(--cream-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald-600);
  background: white;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-400);
}

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

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--emerald-800);
  font-weight: 400;
}

/* ── Map ── */
.map-section {
  border-top: 1px solid var(--cream-200);
}

.map-container {
  aspect-ratio: 21/9;
  filter: saturate(0.6) contrast(1.1);
  transition: filter var(--transition);
}

.map-container:hover {
  filter: saturate(0.8) contrast(1.05);
}

/* ── Footer ── */
.footer {
  background: var(--stone-900);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  max-width: 240px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: white;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-phone,
.footer-email {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-phone:hover,
.footer-email:hover {
  color: white;
}

.footer-address {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Start below-fold reveals hidden initially (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }

  .why-grid {
    gap: 48px;
  }

  .cta-card {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 101;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--cream-50);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    border-left: 1px solid var(--cream-200);
    box-shadow: -8px 0 32px rgba(0,0,0,0.08);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a:not(.nav-cta) {
    font-size: 1rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 60px;
  }

  .hero-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 140px;
  }

  .stat-card--1,
  .stat-card--3 {
    transform: none;
  }

  .stat-card:hover {
    transform: translateY(-2px);
  }

  .hero-scroll-indicator {
    display: none;
  }

  .car-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .why-text .section-eyebrow,
  .why-text .section-title,
  .why-text .section-desc {
    text-align: center;
  }

  .why-text {
    text-align: center;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step {
    padding: 0;
  }

  .cta-card {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-section .section-title,
  .cta-section .section-desc {
    text-align: center;
  }

  .cta-section .section-header {
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .footer-tagline {
    max-width: 300px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-right {
    padding: 24px;
  }

  .stat-card {
    padding: 16px 18px;
  }

  .stat-number {
    font-size: 1.4rem;
  }
}
