/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid #C0603A; outline-offset: 2px; border-radius: 4px; }

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #C0603A;
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ── Section ── */
.section { padding: 6rem 0; }
.section--dark { background: #1e2d3d; color: #fefcf8; }
.section--sand { background: #fdf8ee; }
.section__header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #C0603A;
  margin-bottom: .75rem;
}
.section__eyebrow--light { color: #f4d7a0; }
.section__title { font-size: clamp(1.75rem, 4vw, 2.75rem); color: #141e2b; }
.section__title--light { color: #fefcf8; }
.section__subtitle { font-size: 1.1rem; color: #5a6b7c; line-height: 1.7; margin-top: 1rem; }
.section__subtitle--light { color: #a0b4c8; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: #C0603A;
  color: #fff;
  border-color: #C0603A;
}
.btn--primary:hover { background: #9e4a2e; border-color: #9e4a2e; box-shadow: 0 8px 24px rgba(192,96,58,.35); }
.btn--ghost {
  background: transparent;
  color: #1e2d3d;
  border-color: #1e2d3d;
}
.btn--ghost:hover { background: #1e2d3d; color: #fefcf8; }
.btn--ghost-light {
  background: transparent;
  color: #fefcf8;
  border-color: rgba(254,252,248,.4);
}
.btn--ghost-light:hover { border-color: #fefcf8; background: rgba(254,252,248,.1); }
.btn--full { width: 100%; justify-content: center; }
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254,252,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192,96,58,.12);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(20,30,43,.08); }
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #141e2b;
}
.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #C0603A;
  color: #fff;
  border-radius: 8px;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.nav__brand-text { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  padding: .5rem .875rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: #1e2d3d;
  transition: background .2s, color .2s;
}
.nav__link:hover { background: rgba(192,96,58,.08); color: #C0603A; }
.nav__link--cta {
  background: #C0603A;
  color: #fff;
  margin-left: .5rem;
}
.nav__link--cta:hover { background: #9e4a2e; color: #fff; }
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #1e2d3d;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: #141e2b;
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.hero__pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20,30,43,.97) 0%, rgba(30,45,61,.92) 50%, rgba(20,30,43,.95) 100%);
}
.hero__pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(192,96,58,.15) 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.hero__cards {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: center;
}
.hero__card { background: rgba(254,252,248,.07); border: 1px solid rgba(254,252,248,.12); border-radius: 20px; padding: 3rem; backdrop-filter: blur(8px); }
.hero__card--main { padding: 3.5rem; }
.hero__card-badge {
  display: inline-block;
  background: rgba(192,96,58,.2);
  color: #f49f82;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .375rem .875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(192,96,58,.3);
}
.hero__headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: #fefcf8;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.hero__subhead {
  font-size: 1.1rem;
  color: #a0b4c8;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Floating Stat Cards */
.hero__stats { display: flex; flex-direction: column; gap: 1rem; }
.stat-card {
  background: rgba(254,252,248,.1);
  border: 1px solid rgba(254,252,248,.15);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform .3s, background .3s;
}
.stat-card:hover { transform: translateX(-4px); background: rgba(254,252,248,.14); }
.stat-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(192,96,58,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f49f82;
}
.stat-card__icon svg { width: 24px; height: 24px; }
.stat-card__value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fefcf8;
  line-height: 1.2;
}
.stat-card__label { font-size: .8125rem; color: #a0b4c8; margin-top: .125rem; }

/* ── Inventory ── */
.inventory__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.car-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(20,30,43,.08);
  transition: transform .3s, box-shadow .3s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,30,43,.1); }
.car-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.car-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car-card:hover .car-card__img-wrap img { transform: scale(1.04); }
.car-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #C0603A;
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .625rem;
  border-radius: 100px;
}
.car-card__tag--popular { background: #1e2d3d; }
.car-card__body { padding: 1.5rem; }
.car-card__name { font-size: 1.25rem; color: #141e2b; margin-bottom: .5rem; }
.car-card__desc { font-size: .9rem; color: #5a6b7c; line-height: 1.65; margin-bottom: 1.25rem; }
.car-card__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: #C0603A;
  transition: gap .2s;
}
.car-card__link:hover { gap: .625rem; }
.car-card__arrow { width: 16px; height: 16px; }
.inventory__note { text-align: center; font-size: .9rem; color: #5a6b7c; }

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: rgba(254,252,248,.06);
  border: 1px solid rgba(254,252,248,.1);
  border-radius: 16px;
  padding: 2rem;
  transition: transform .3s, background .3s;
}
.feature-card:hover { transform: translateY(-4px); background: rgba(254,252,248,.1); }
.feature-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(192,96,58,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #f49f82;
}
.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card__title { font-size: 1.125rem; color: #fefcf8; margin-bottom: .625rem; }
.feature-card__text { font-size: .9rem; color: #a0b4c8; line-height: 1.7; margin: 0; }

/* ── Financing ── */
.financing__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.financing__list { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: .875rem; }
.financing__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
  color: #1e2d3d;
}
.financing__check { width: 20px; height: 20px; flex-shrink: 0; color: #C0603A; }
.financing__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.financing__visual { position: relative; min-height: 360px; }
.financing__visual-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 12px 40px rgba(20,30,43,.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
}
.financing__visual-card:nth-child(1) { top: 0; left: 0; }
.financing__visual-card:nth-child(2) { bottom: 0; right: 0; }
.financing__visual-card--accent { background: #C0603A; }
.financing__visual-card--accent .financing__visual-label { color: rgba(254,252,248,.7); }
.financing__visual-card--accent .financing__visual-value { color: #fff; }
.financing__visual-icon {
  width: 48px;
  height: 48px;
  background: rgba(192,96,58,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #C0603A;
}
.financing__visual-card--accent .financing__visual-icon { background: rgba(254,252,248,.2); color: #fff; }
.financing__visual-icon svg { width: 24px; height: 24px; }
.financing__visual-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #5a6b7c; }
.financing__visual-value { font-family: 'Playfair Display', Georgia, serif; font-size: 1.125rem; font-weight: 700; color: #141e2b; margin-top: .25rem; }

/* ── Testimonials ── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(20,30,43,.07);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(20,30,43,.08); }
.testimonial-card__quote {
  width: 32px;
  height: 32px;
  color: #C0603A;
  opacity: .3;
  margin-bottom: 1rem;
}
.testimonial-card__text {
  font-size: .95rem;
  color: #1e2d3d;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-card__footer { display: flex; flex-direction: column; gap: .125rem; }
.testimonial-card__author { font-size: .875rem; font-weight: 600; color: #141e2b; }
.testimonial-card__location { font-size: .8125rem; color: #5a6b7c; }

/* ── Contact ── */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact__details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact__detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact__detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(192,96,58,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #C0603A;
}
.contact__detail-icon svg { width: 22px; height: 22px; }
.contact__detail strong { display: block; font-size: .9375rem; color: #141e2b; margin-bottom: .25rem; }
.contact__detail p { font-size: .9rem; color: #5a6b7c; margin: 0; line-height: 1.6; }
.contact__detail a { color: #C0603A; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.contact__detail a:hover { color: #9e4a2e; }

/* Form */
.contact__form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(20,30,43,.07);
  box-shadow: 0 8px 32px rgba(20,30,43,.06);
}
.contact__form-group { margin-bottom: 1.25rem; }
.contact__label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: #1e2d3d;
  margin-bottom: .375rem;
  letter-spacing: .02em;
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: .9375rem;
  color: #1e2d3d;
  background: #fefcf8;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: #C0603A;
  box-shadow: 0 0 0 3px rgba(192,96,58,.12);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: #a0b4c8; }
.contact__form textarea { resize: vertical; min-height: 120px; }
.contact__success {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  display: none;
}
.contact__success--show { display: block; background: #dcfce7; color: #166534; }
.contact__success--error { display: block; background: #fee2e2; color: #991b1b; }

/* ── Map ── */
.map-section { padding: 0 0 0; }
.map-section__inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.map-section__inner iframe { border-radius: 0 0 20px 20px; max-width: 100%; }

/* ── Footer ── */
.footer { background: #141e2b; color: #a0b4c8; padding: 3rem 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: .75rem; }
.footer__name { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.125rem; color: #fefcf8; }
.footer__tagline { font-size: .8125rem; color: #5a6b7c; margin: 0; }
.footer__contact { display: flex; flex-direction: column; gap: .25rem; font-size: .875rem; }
.footer__contact a { color: #f4d7a0; transition: color .2s; }
.footer__contact a:hover { color: #fff; }
.footer__legal { font-size: .8125rem; color: #5a6b7c; }

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .2s; }
  .reveal-delay-3 { transition-delay: .3s; }
  .reveal-delay-4 { transition-delay: .4s; }
}
.reveal { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (min-width: 640px) {
  .nav__brand-text { display: inline; }
}
@media (max-width: 1024px) {
  .hero__cards { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: row; flex-wrap: wrap; margin-top: 1rem; }
  .stat-card { flex: 1; min-width: 140px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .financing__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .financing__visual { order: -1; min-height: 240px; }
  .inventory__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding: 5rem 0 3rem; min-height: auto; }
  .hero__card { padding: 2rem; }
  .hero__card--main { padding: 2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .nav__list {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254,252,248,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: .25rem;
    border-bottom: 1px solid rgba(192,96,58,.12);
    box-shadow: 0 12px 32px rgba(20,30,43,.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
  }
  .nav__list.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { width: 100%; padding: .75rem .875rem; }
  .nav__link--cta { margin-left: 0; text-align: center; margin-top: .5rem; }
  .nav__toggle { display: flex; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .inventory__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; }
  .stat-card { flex: none; }
}
