:root {
  --bg: #f4f4f2;
  --ink: #111318;
  --muted: #666a70;
  --line: #dedfdc;
  --panel: #ffffff;
  --accent: #c7232f;
  --accent-dark: #9c1822;
  --dark: #111318;
  --dark-2: #1a1d23;
  --max: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, .96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; line-height: .82; color: #fff; }
.brand-main { font-family: Oswald, sans-serif; font-size: 28px; font-weight: 700; letter-spacing: .12em; }
.brand-sub { font-size: 9px; font-weight: 800; letter-spacing: .34em; margin-top: 7px; color: #d6d7da; }
.logo-brand { display: flex; align-items: center; }
.site-logo { width: 230px; height: auto; max-height: 54px; object-fit: contain; }
.footer-logo { width: 220px; height: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #eef0f3; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: #fff; }
.nav-call { padding: 11px 15px; border-radius: 999px; background: var(--accent); color: #fff !important; }
.menu-toggle { display: none; border: 0; background: transparent; color: white; font-size: 28px; }

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(199,35,47,.32), transparent 32%),
    linear-gradient(120deg, #0d0f13 0%, #14171d 55%, #20242d 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%; bottom: -28%;
  width: 62%; height: 70%;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  transform: rotate(-12deg);
  box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.018);
}
.hero-content { position: relative; z-index: 2; padding: 96px 0 84px; color: #fff; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: #d8d9dd; margin-bottom: 18px; }
.eyebrow.dark { color: #7b7f87; }
.hero h1 { margin: 0; max-width: 760px; font-family: Oswald, sans-serif; font-size: clamp(62px, 9vw, 108px); line-height: .91; letter-spacing: -.03em; text-transform: uppercase; }
.hero h1 span { color: #fff; text-shadow: 0 0 1px #fff; }
.hero p { max-width: 620px; font-size: 19px; line-height: 1.65; color: #d8d9dd; margin: 28px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 24px; font-size: 13px; color: #aeb2b9; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 800; font-size: 14px; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.04); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-light { background: #fff; color: var(--dark); }
.btn-outline-dark { border: 1px solid #b9bcc2; color: var(--dark); background: transparent; }

.quick-bar { background: #fff; border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-grid a { padding: 20px 24px; border-right: 1px solid var(--line); }
.quick-grid a:last-child { border-right: 0; }
.quick-grid span { display: block; font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .14em; color: #8b8f96; margin-bottom: 5px; }
.quick-grid strong { font-size: 14px; }

.section { padding: 88px 0; }
.section-heading { margin-bottom: 34px; }
.split-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.split-heading > p { max-width: 430px; color: var(--muted); line-height: 1.6; }
h2 { font-family: Oswald, sans-serif; margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1; text-transform: uppercase; letter-spacing: -.02em; }

.inventory-section { background: #f4f4f2; }
.inventory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vehicle-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(15,18,22,.05); }
.vehicle-photo { aspect-ratio: 4/3; background: linear-gradient(145deg, #d9dadd, #b9bcc2); overflow: hidden; position: relative; }
.vehicle-photo img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-photo.no-photo::after { content: "HARDY MOTORS"; position: absolute; inset: 0; display: grid; place-items: center; font-family: Oswald, sans-serif; font-weight: 700; letter-spacing: .14em; color: rgba(17,19,24,.35); }
.vehicle-body { padding: 22px; }
.vehicle-year { font-size: 11px; color: #858990; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.vehicle-title { font-size: 21px; font-weight: 800; margin: 4px 0 12px; }
.vehicle-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.vehicle-price { font-family: Oswald, sans-serif; font-size: 29px; font-weight: 700; margin-bottom: 16px; }
.vehicle-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.vehicle-actions .btn { min-height: 44px; padding: 0 12px; }
.inventory-empty { background: #fff; border: 1px dashed #c9cbd0; border-radius: var(--radius); padding: 50px 24px; text-align: center; }
.inventory-empty h3 { margin: 24px 0 8px; font-size: 26px; }
.inventory-empty p { color: var(--muted); margin: 0 0 20px; }
.inventory-placeholder-logo { display: block; width: min(100%, 620px); height: auto; margin: 0 auto; border-radius: 14px; box-shadow: 0 10px 28px rgba(15,18,22,.10); }

.financing { background: var(--dark); color: #fff; }
.financing-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; }
.financing p { max-width: 620px; color: #c5c8cd; font-size: 18px; line-height: 1.7; }
.financing-card { background: var(--dark-2); border: 1px solid rgba(255,255,255,.1); padding: 30px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 13px; }
.financing-card h3 { margin: 0 0 4px; }
.financing-card > a:not(.btn) { color: #e2e4e7; font-weight: 700; }
.financing-card .btn { margin-top: 10px; }

.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: center; }
.about-mark { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 28px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.about-logo { width: min(82%, 520px); height: auto; object-fit: contain; }
.about-copy p { font-size: 17px; color: #575c63; line-height: 1.75; }
.text-link { display: inline-block; margin-top: 8px; color: var(--accent); font-weight: 800; }

.contact { background: #f4f4f2; }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: start; }
.contact-lead { font-size: 18px; font-weight: 700; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin-top: 34px; }
.contact-list span { display: block; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; color: #898d94; font-weight: 800; margin-bottom: 7px; }
.contact-list a { font-weight: 700; line-height: 1.5; }
.contact-card { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(15,18,22,.05); }
.contact-card h3 { font-size: 27px; margin-top: 0; }
.contact-card p { color: var(--muted); line-height: 1.65; }
.contact-buttons { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; margin-top: 22px; }

.site-footer { background: #000; color: #c7cad0; padding: 42px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.footer-brand { margin-bottom: 16px; }
.site-footer p { font-size: 12px; margin: 6px 0; }
.footer-right { text-align: right; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #111318; padding: 18px; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-call { margin-top: 10px; text-align: center; }
  .hero { min-height: 560px; }
  .hero-content { padding: 75px 0 65px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid a { border-right: 0; border-bottom: 1px solid var(--line); }
  .split-heading { display: block; }
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
  .financing-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-mark { min-height: 300px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, var(--max)); }
  .site-logo { width: 205px; max-height: 48px; }
  .footer-logo { width: 200px; }
  .section { padding: 66px 0; }
  .hero { min-height: 0; }
  .hero-content { padding: 58px 0 50px; }
  .eyebrow { margin-bottom: 13px; }
  .hero h1 { font-size: clamp(46px, 15vw, 66px); line-height: .94; }
  .hero p { font-size: 16px; line-height: 1.55; margin: 20px 0 22px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; min-height: 52px; }
  .hero-actions .btn-secondary { background: #fff; color: var(--dark); border-color: #fff; }
  .hero-note { margin-top: 18px; line-height: 1.5; }
  .quick-grid strong { line-height: 1.45; }
  .inventory-grid { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-buttons { grid-template-columns: 1fr; }
  .footer-grid { display: block; }
  .footer-right { text-align: left; margin-top: 24px; }
  .about-mark span { font-size: 112px; }
}
