@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --black:#111214;
  --charcoal:#1c1e21;
  --white:#fff;
  --offwhite:#f5f5f2;
  --line:#dddeda;
  --accent:#d71920;
  --muted:#686b70;
  --max:1180px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:Inter,Arial,sans-serif; color:var(--black); background:#fff; }
a { color:inherit; text-decoration:none; }
.container { width:min(var(--max), calc(100% - 40px)); margin:auto; }
.site-header { position:sticky; top:0; z-index:20; background:rgba(17,18,20,.97); color:#fff; border-bottom:1px solid #303237; }
.nav { min-height:76px; display:flex; align-items:center; gap:28px; }
.brand { display:flex; align-items:center; min-width:125px; }
.brand-logo { display:block; width:80px; height:auto; max-height:62px; object-fit:contain; }

.brand strong,.brand small { display:block; line-height:1; }
.brand strong { font-family:"Barlow Condensed"; font-size:25px; letter-spacing:.5px; }
.brand small { font-size:10px; letter-spacing:3px; margin-top:5px; color:#c9c9c9; }
nav { display:flex; gap:25px; margin-left:auto; }
nav a { font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.6px; color:#e9e9e9; }
nav a:hover { color:#fff; }
.nav-phone { font-weight:700; white-space:nowrap; border-left:1px solid #444; padding-left:25px; }
.menu-toggle { display:none; background:none; border:0; color:#fff; font-size:25px; }

.hero { min-height:600px; position:relative; display:flex; align-items:center; background:
linear-gradient(90deg, rgba(8,9,10,.94) 0%, rgba(8,9,10,.75) 45%, rgba(8,9,10,.3) 100%),
linear-gradient(120deg,#34363a,#121315 55%,#25272a); color:#fff; overflow:hidden; }
.hero:after { content:""; position:absolute; width:620px; height:620px; border:1px solid rgba(255,255,255,.1); border-radius:50%; right:-100px; top:-80px; }
.hero-content { position:relative; z-index:2; padding:80px 0; }
.eyebrow { font-size:12px; font-weight:700; letter-spacing:2px; margin:0 0 15px; }
.hero h1,.section h2,.split-panel h2,.about h2,.cta h2 { font-family:"Barlow Condensed",Arial,sans-serif; text-transform:uppercase; line-height:.98; }
.hero h1 { font-size:clamp(54px,7vw,88px); margin:0 0 20px; letter-spacing:-1px; }
.hero h1 span { color:#fff; }
.hero p { max-width:570px; font-size:18px; line-height:1.65; color:#ddd; }
.hero-actions { display:flex; gap:12px; margin-top:30px; }
.btn { display:inline-flex; justify-content:center; align-items:center; min-height:50px; padding:0 25px; font-size:12px; font-weight:800; letter-spacing:1px; border:2px solid transparent; cursor:pointer; }
.btn-primary { background:var(--accent); color:#fff; }
.btn-primary:hover { filter:brightness(1.08); }
.btn-outline { border-color:#fff; color:#fff; }
.btn-light { background:#fff; color:var(--black); }
.btn-dark { background:var(--black); color:#fff; }

.search-strip { background:var(--offwhite); padding:36px 0; border-bottom:1px solid var(--line); }
.search-strip .container { display:grid; grid-template-columns:280px 1fr; gap:30px; align-items:end; }
.eyebrow.dark { color:#666; }
.search-strip h2 { font-family:"Barlow Condensed"; text-transform:uppercase; margin:0; font-size:36px; }
.search-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr auto; gap:10px; }
input,select { height:50px; padding:0 14px; border:1px solid #ccc; background:#fff; font:inherit; color:#333; }
.search-grid .btn { height:50px; }

.section { padding:90px 0; }
.section-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom:35px; }
.section h2 { font-size:52px; margin:0; }
.text-link { font-size:12px; font-weight:800; letter-spacing:1px; border-bottom:2px solid var(--accent); padding-bottom:6px; }
.inventory-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.vehicle-card { border:1px solid var(--line); background:#fff; transition:.2s; }
.vehicle-card:hover { transform:translateY(-3px); box-shadow:0 12px 30px rgba(0,0,0,.08); }
.vehicle-photo { height:245px; display:grid; place-items:center; color:rgba(255,255,255,.72); font-size:11px; font-weight:700; letter-spacing:1.5px; position:relative; overflow:hidden; }
.vehicle-photo:before { content:""; position:absolute; width:280px; height:120px; border:2px solid rgba(255,255,255,.18); border-radius:50% 50% 10% 10%; bottom:38px; left:50%; transform:translateX(-50%); }
.photo-jeep { background:linear-gradient(135deg,#34383c,#111214); }
.photo-subaru { background:linear-gradient(135deg,#52565b,#1b1d20); }
.photo-mustang { background:linear-gradient(135deg,#45484d,#17191b); }
.vehicle-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.photo-placeholder { width:100%; height:100%; display:grid; place-items:center; background:linear-gradient(135deg,#34383c,#111214); color:rgba(255,255,255,.72); font-size:11px; font-weight:700; letter-spacing:1.5px; }
.vehicle-photo span { position:relative; z-index:2; }
.vehicle-info { padding:22px; }
.vehicle-year { font-size:11px; letter-spacing:1.5px; font-weight:800; color:#777; margin:0 0 7px; }
.vehicle-info h3 { font-family:"Barlow Condensed"; text-transform:uppercase; font-size:29px; margin:0 0 14px; }
.vehicle-meta { display:flex; gap:8px; font-size:11px; color:#777; }
.vehicle-bottom { display:flex; justify-content:space-between; align-items:center; margin-top:23px; padding-top:17px; border-top:1px solid var(--line); font-size:12px; }
.vehicle-bottom a { color:var(--accent); font-weight:800; letter-spacing:.6px; }
.no-results { padding:25px; background:var(--offwhite); text-align:center; margin-top:20px; }

.split-section { display:grid; grid-template-columns:1fr 1fr; }
.split-panel { min-height:430px; padding:75px max(40px, calc((100vw - var(--max))/2)); display:flex; flex-direction:column; justify-content:center; }
.dark-panel { background:var(--charcoal); color:#fff; padding-right:10%; }
.light-panel { background:var(--offwhite); padding-left:10%; }
.split-panel h2 { font-size:56px; margin:0 0 20px; }
.split-panel p:not(.eyebrow) { max-width:450px; line-height:1.7; color:#c7c7c7; margin-bottom:28px; }
.light-panel p:not(.eyebrow) { color:#666; }
.split-panel .btn { align-self:flex-start; }

.about { background:#fff; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:90px; }
.about h2 { font-size:57px; max-width:550px; }
.about p { line-height:1.8; color:#5f6267; font-size:16px; }

.cta { background:var(--accent); color:#fff; padding:58px 0; }
.cta-inner { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.cta h2 { margin:0; font-size:50px; }

footer { background:#111214; color:#fff; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:50px; padding:65px 0; }
.footer-grid h3 { font-family:"Barlow Condensed"; text-transform:uppercase; letter-spacing:1px; font-size:23px; margin-top:0; }
.footer-grid p { color:#aaa; line-height:1.7; font-size:14px; }
.footer-grid a:hover { color:#fff; }
.footer-copy { max-width:300px; }
.footer-bottom { border-top:1px solid #2c2e31; padding:20px 0; color:#777; font-size:11px; }

@media (max-width:900px) {
  nav { display:none; }
  .menu-toggle { display:block; margin-left:auto; }
  .nav-phone { padding-left:0; border:0; }
  .search-strip .container { grid-template-columns:1fr; }
  .search-grid { grid-template-columns:1fr 1fr; }
  .inventory-grid { grid-template-columns:1fr 1fr; }
  .split-section,.about-grid { grid-template-columns:1fr; }
  .dark-panel,.light-panel { padding:65px 30px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:600px) {
  .container { width:min(100% - 28px, var(--max)); }
  .nav { gap:12px; min-height:68px; }
  .brand { min-width:0; }
  .brand-logo { width:100px; max-height:54px; }
  .nav-phone { font-size:12px; }
  .hero { min-height:560px; }
  .hero h1 { font-size:52px; }
  .hero p { font-size:16px; }
  .hero-actions { flex-direction:column; max-width:260px; }
  .search-grid,.inventory-grid { grid-template-columns:1fr; }
  .section { padding:65px 0; }
  .section-heading { align-items:start; flex-direction:column; gap:18px; }
  .section h2,.about h2 { font-size:45px; }
  .split-panel h2 { font-size:47px; }
  .cta-inner { flex-direction:column; align-items:flex-start; }
  .footer-grid { grid-template-columns:1fr; }
}


/* Vehicle details */
.vehicle-photo { border:0; padding:0; width:100%; cursor:pointer; background:transparent; }
.vehicle-summary { margin:12px 0 0; color:#666; font-size:13px; line-height:1.5; }
.details-link { border:0; background:none; color:var(--accent); font:inherit; font-weight:800; letter-spacing:.6px; cursor:pointer; padding:0; }
.vehicle-modal { position:fixed; inset:0; background:rgba(0,0,0,.78); z-index:1000; display:none; padding:30px; overflow:auto; }
.vehicle-modal.show { display:flex; justify-content:center; align-items:flex-start; }
body.modal-open { overflow:hidden; }
.vehicle-modal-panel { position:relative; width:min(1000px,100%); margin:20px auto; background:#fff; box-shadow:0 25px 80px rgba(0,0,0,.35); }
.modal-close { position:absolute; right:12px; top:10px; z-index:3; width:42px; height:42px; border:0; border-radius:50%; background:#111214; color:#fff; font-size:30px; line-height:1; cursor:pointer; }
.modal-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; background:#111214; }
.modal-gallery img { width:100%; height:210px; object-fit:cover; display:block; }
.modal-no-photo { min-height:280px; display:grid; place-items:center; color:#777; font-weight:800; letter-spacing:1px; background:#eee; }
.modal-content { padding:30px; }
.modal-content h2 { margin:0 0 12px; font-family:"Barlow Condensed"; text-transform:uppercase; font-size:42px; line-height:1; }
.modal-description { color:#555; max-width:800px; line-height:1.7; }
.modal-details { display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid var(--line); margin-top:22px; }
.modal-details div { padding:14px 12px; border-bottom:1px solid var(--line); }
.modal-details span { display:block; color:#777; font-size:11px; text-transform:uppercase; letter-spacing:1px; margin-bottom:4px; }
.modal-details strong { font-size:15px; }
.modal-subheading { margin:24px 0 8px; font-size:18px; text-transform:uppercase; }
.modal-features { columns:2; margin:0 0 24px; padding-left:20px; line-height:1.8; color:#444; }
.modal-call { display:inline-block; }
@media (max-width:700px) {
  .vehicle-modal { padding:10px; }
  .modal-gallery { grid-template-columns:1fr 1fr; }
  .modal-gallery img { height:150px; }
  .modal-content h2 { font-size:34px; }
  .modal-details { grid-template-columns:1fr; }
  .modal-features { columns:1; }
}
