* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', Arial, sans-serif; color: #333; line-height: 1.6; background: #f8f9fa; }
.top-bar { background: #1a3a5c; color: white; padding: 8px 0; font-size: 14px; }
.top-bar .container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.top-bar a { color: white; text-decoration: none; margin-left: 20px; }
header { background: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
.logo { height: 140px; }
nav ul { list-style: none; display: flex; gap: 25px; }
nav a { text-decoration: none; color: #1a3a5c; font-weight: 600; font-size: 15px; text-transform: uppercase; }
nav a:hover, nav a.current { color: #c0392b; }
.hero { background: linear-gradient(135deg, #1a3a5c 0%, #2c5aa0 100%); color: white; padding: 40px 20px; text-align: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero h2 { font-size: 1.8rem; font-weight: 300; margin-bottom: 20px; }
.container { max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.intro { background: white; padding: 30px; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.intro p { margin-bottom: 15px; }
.filters { background: #e9ecef; padding: 20px; border-radius: 8px; margin-bottom: 30px; display: flex; gap: 20px; flex-wrap: wrap; align-items: end; }
.filter-group { display: flex; flex-direction: column; }
.filter-group label { font-weight: 600; margin-bottom: 5px; font-size: 14px; }
.filter-group select, .filter-group input { padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px; min-width: 150px; }
.inventory { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.vehicle-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.2s; }
.vehicle-card:hover { transform: translateY(-4px); }
.vehicle-card img { width: 100%; height: 200px; object-fit: cover; }
.vehicle-info { padding: 15px; }
.status { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: bold; margin-bottom: 8px; }
.status.active { background: #27ae60; color: white; }
.status.sold { background: #e74c3c; color: white; }
.vehicle-info h3 { color: #1a3a5c; margin-bottom: 8px; font-size: 1.1rem; }
.vehicle-info p { font-size: 14px; margin: 4px 0; color: #555; }
.price { font-size: 1.3rem; font-weight: bold; color: #c0392b; margin-top: 10px; }

/* Listing plans */
.page-title { color: #1a3a5c; margin-bottom: 20px; font-size: 1.8rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 30px; }
.plan { background: white; border-radius: 8px; padding: 22px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-top: 4px solid #2c5aa0; display: flex; flex-direction: column; }
.plan.featured { border-top-color: #c0392b; }
.plan.soon { border-top-color: #999; }
.plan h3 { color: #1a3a5c; font-size: 1.15rem; margin-bottom: 4px; }
.plan .tag { display: inline-block; background: #ffd700; color: #1a3a5c; font-size: 11px; font-weight: bold; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; align-self: flex-start; }
.plan ol { padding-left: 20px; margin: 10px 0 15px; font-size: 14px; color: #555; flex: 1; }
.plan .cost { font-size: 1.4rem; font-weight: bold; color: #c0392b; }
.plan .term { font-size: 13px; color: #666; }

/* Form */
.notice { background: #fff8e1; border-left: 4px solid #ffd700; padding: 18px 20px; border-radius: 4px; margin-bottom: 25px; font-size: 15px; }
.notice p + p { margin-top: 10px; }
.form-card { background: white; border-radius: 8px; padding: 30px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
fieldset { border: none; margin-bottom: 30px; }
legend { font-size: 1.1rem; font-weight: 700; color: white; background: #1a3a5c; width: 100%; padding: 8px 14px; border-radius: 4px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label, .group-label { font-weight: 600; font-size: 14px; margin-bottom: 5px; color: #1a3a5c; }
.req { color: #c0392b; }
.field input, .field select, .field textarea { padding: 9px 12px; border: 1px solid #ccc; border-radius: 4px; font: inherit; font-size: 15px; width: 100%; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #2c5aa0; border-color: #2c5aa0; }
.phone-input { display: flex; }
.phone-input span { padding: 9px 12px; background: #e9ecef; border: 1px solid #ccc; border-right: none; border-radius: 4px 0 0 4px; font-size: 15px; }
.phone-input input { border-radius: 0 4px 4px 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.checks input { width: 17px; height: 17px; accent-color: #1a3a5c; }
.group-label { display: block; }
.dropzone { display: block; margin-top: 4px; border: 2px dashed #2c5aa0; border-radius: 8px; padding: 30px 20px; text-align: center; background: #f4f7fb; color: #1a3a5c; cursor: pointer; }
.dropzone.drag { background: #e3ecf8; }
.dropzone strong { display: block; font-size: 1.1rem; margin-bottom: 8px; }
.dropzone .browse { display: inline-block; margin-top: 8px; background: #1a3a5c; color: white; padding: 8px 18px; border-radius: 4px; font-weight: 600; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dropzone { position: relative; }
.file-list { margin-top: 10px; font-size: 14px; color: #555; }
.submit { background: #c0392b; color: white; border: none; padding: 14px 40px; font-size: 1.05rem; font-weight: 700; border-radius: 4px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; }
.submit:hover { background: #a93226; }

/* Footer */
footer { background: #1a3a5c; color: white; padding: 40px 20px 25px; margin-top: 40px; }
footer a { color: #ffd700; text-decoration: none; }
.footer-cols { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-cols h4 { color: #ffd700; margin-bottom: 10px; text-transform: uppercase; font-size: 15px; letter-spacing: 0.5px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin: 5px 0; }
.footer-cols ul a { color: white; }
.footer-cols ul a:hover { color: #ffd700; }
.phone { font-size: 1.3rem; font-weight: bold; margin: 6px 0; }
.copyright { text-align: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 14px; }

@media (max-width: 768px) {
  .top-bar .container { flex-direction: column; gap: 4px; }
  .top-bar a { margin: 0 8px; }
  .header-container { flex-direction: column; gap: 15px; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
  .filters { flex-direction: column; }
  .form-card { padding: 20px 16px; }
  .hero h1 { font-size: 2rem; }
}

/* About */
.about-new { border-left: 5px solid #c0392b; }
.about-new .tag { display: inline-block; background: #ffd700; color: #1a3a5c; font-size: 12px; font-weight: bold; padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; text-transform: uppercase; }

/* Services & contact */
.cta { margin-top: 10px; font-weight: 600; }
.intro a, .cta a { color: #c0392b; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.svc { background: white; border-radius: 8px; padding: 22px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-top: 4px solid #2c5aa0; text-decoration: none; color: #333; transition: transform 0.2s; }
.svc:hover { transform: translateY(-4px); }
.svc h3 { color: #1a3a5c; margin-bottom: 6px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-grid h3 { color: #1a3a5c; margin-bottom: 8px; }
.big { font-size: 1.5rem; font-weight: bold; }

/* Keep footer at bottom on short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
footer { margin-top: auto; }
body > .container:last-of-type { margin-bottom: 40px; width: 100%; }

/* Service cards */
.services-section { background: white; border-bottom: 1px solid #e3e6ea; }
.services-section .container { padding-top: 40px; padding-bottom: 40px; }
.center { text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.service-card { display: flex; flex-direction: column; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.12); text-decoration: none; color: #333; border-top: 4px solid #c0392b; transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.service-card img { width: 100%; height: 170px; object-fit: cover; }
.service-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { color: #1a3a5c; font-size: 1.2rem; margin-bottom: 6px; }
.service-body p { font-size: 15px; color: #555; flex: 1; }
.service-body .more { margin-top: 12px; color: #c0392b; font-weight: 700; font-size: 14px; }
