/* Hometown Service Center & Sales - shared styles.
   Design inspired by sampleautopro (red/dark palette, Oswald + Inter). */

:root {
  --primary: #d62828;
  --primary-dark: #9b1c1c;
  --dark: #14182a;
  --black: #0a0d14;
  --bg: #fafafa;
  --light: #f3f4f6;
  --border: #e5e7eb;
  --muted: #6b7280;
  --text: #1f2937;
  --gold: #f4b400;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text); line-height: 1.7; overflow-x: hidden; background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, .display { font-family: 'Oswald', 'Inter', sans-serif; letter-spacing: 0.01em; line-height: 1.15; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--primary); color: white; padding: 12px 18px; text-decoration: none; font-weight: 700; }
.skip-link:focus { left: 0; }

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

/* NAV */
.nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,13,20,0.92); backdrop-filter: blur(14px);
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.nav-logo { color: white; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.35rem; text-decoration: none; letter-spacing: 0.06em; display: flex; align-items: center; gap: 10px; }
.nav-logo .dot { color: var(--primary); }
.nav-logo img { height: 44px; width: auto; }
.nav-menu { display: flex; gap: 32px; list-style: none; }
.nav-menu a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; font-size: 0.94rem; transition: color 0.2s; }
.nav-menu a:hover, .nav-menu a.active { color: white; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-phones { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.nav-phone-block { text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px; line-height: 1.2; padding: 2px 0; }
.nav-phone-block .label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f4b400; font-weight: 700; }
.nav-phone-block .num { font-size: 1.02rem; font-weight: 700; color: #ffffff; font-family: 'Oswald', sans-serif; letter-spacing: 0.02em; }
.nav-phone-block:hover .num { color: #f4b400; }
.nav-phone-block:hover .label { color: #ffffff; }
.nav-toggle { display: none; width: 40px; height: 40px; background: transparent; border: 0; color: white; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: white; transition: transform 0.3s, opacity 0.3s; }
body.menu-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 68px 0 0 0; z-index: 99; background: var(--black); padding: 40px 32px; transform: translateX(100%); transition: transform 0.35s ease; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a { color: white; text-decoration: none; padding: 16px 4px; font-size: 1.2rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu .mm-cta { margin-top: 20px; background: var(--primary); text-align: center; border-radius: 4px; border: 0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* HERO (marketing) */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; padding: 100px 32px; color: white; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%); }
.hero-bg .hero-bg-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg .hero-bg-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; text-align: center; }
.hero .eyebrow { display: inline-block; background: var(--primary); color: white; padding: 6px 14px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 24px; border-radius: 2px; }
.hero h1 { font-size: 3.4rem; font-weight: 700; letter-spacing: 0.005em; line-height: 1.1; margin-bottom: 24px; text-transform: uppercase; }
.hero h1 .accent { color: var(--primary); }
.hero .lead { font-size: 1.15rem; max-width: 620px; margin: 0 auto 36px; opacity: 0.9; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: all 0.2s; border: 2px solid transparent; cursor: pointer; font-family: inherit; font-size: 0.95rem; }
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: white; color: var(--dark); border-color: white; }
.btn-dark { background: var(--dark); color: white; border-color: var(--dark); }
.btn-dark:hover { background: var(--black); border-color: var(--black); }
.btn-light { background: white; color: var(--dark); border-color: var(--border); }
.btn-light:hover { background: var(--light); border-color: var(--dark); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* SECTION BASE */
.section { padding: 96px 0; }
.section.dark { background: var(--dark); color: white; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; padding: 0 32px; }
.section-eyebrow { display: inline-block; background: var(--dark); color: var(--primary); padding: 6px 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; border-radius: 2px; }
.section.dark .section-eyebrow { background: var(--primary); color: white; }
.section-header h2 { font-size: 3rem; margin-bottom: 14px; text-transform: uppercase; }
.section-header h2 .accent { color: var(--primary); }
.section-header p { color: var(--muted); font-size: 1.03rem; }
.section.dark .section-header p { color: rgba(255,255,255,0.7); }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 32px; max-width: 1200px; margin: 0 auto; }
.svc-tile { background: white; border: 1px solid var(--border); padding: 32px 28px; border-radius: var(--radius); transition: all 0.25s; }
.svc-tile:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-icon { width: 56px; height: 56px; background: var(--light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.svc-tile h3 { font-size: 1.35rem; margin-bottom: 10px; text-transform: uppercase; }
.svc-tile p { color: var(--muted); font-size: 0.94rem; line-height: 1.6; }

/* LOCATIONS */
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.location-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: all 0.25s; }
.location-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.location-card h3 { font-size: 1.5rem; margin-bottom: 14px; text-transform: uppercase; }
.location-card ul { list-style: none; margin-bottom: 20px; }
.location-card li { padding: 8px 0; border-bottom: 1px solid var(--light); font-size: 0.94rem; color: var(--muted); display: flex; align-items: start; gap: 10px; }
.location-card li:last-child { border-bottom: 0; }
.location-card li .ico { flex-shrink: 0; width: 20px; text-align: center; }
.location-card a { color: var(--primary); text-decoration: none; font-weight: 600; }
.location-card a:hover { color: var(--primary-dark); }
.location-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* INVENTORY GRID */
.inv-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; padding: 0 32px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.inv-filter { padding: 8px 16px; background: white; border: 1px solid var(--border); border-radius: 20px; cursor: pointer; font-size: 0.88rem; font-weight: 500; transition: all 0.2s; }
.inv-filter.active { background: var(--primary); color: white; border-color: var(--primary); }
.inv-filter:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

.inv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.inv-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.inv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.inv-thumb { aspect-ratio: 3/2; background: var(--light); overflow: hidden; position: relative; }
.inv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.inv-thumb .no-photo { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); font-size: 0.9rem; }
.inv-badge { position: absolute; top: 12px; left: 12px; background: var(--dark); color: white; padding: 4px 12px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; border-radius: 2px; }
.inv-badge.sold { background: #6b7280; }
.inv-badge.pending { background: var(--gold); color: var(--dark); }
.inv-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.inv-body h3 { font-size: 1.25rem; margin-bottom: 6px; text-transform: uppercase; }
.inv-price { font-size: 1.5rem; font-family: 'Oswald', sans-serif; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.inv-specs { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; color: var(--muted); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--light); }
.inv-specs .sep { color: var(--border); }

.inv-empty { text-align: center; padding: 80px 32px; color: var(--muted); }

/* VEHICLE DETAIL */
.veh-detail { max-width: 1200px; margin: 0 auto; padding: 40px 32px 80px; }
.veh-breadcrumb { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.veh-breadcrumb a { color: var(--primary); text-decoration: none; }
.veh-breadcrumb a:hover { text-decoration: underline; }
.veh-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.veh-header h1 { font-size: 2.4rem; text-transform: uppercase; line-height: 1.1; }
.veh-price { font-size: 2.4rem; font-family: 'Oswald', sans-serif; font-weight: 700; color: var(--primary); }
.veh-status-row { display: flex; gap: 10px; margin-bottom: 24px; }
.veh-status { padding: 6px 14px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; border-radius: 2px; }
.veh-status.available { background: #10b981; color: white; }
.veh-status.pending { background: var(--gold); color: var(--dark); }
.veh-status.sold { background: #6b7280; color: white; }
.veh-status.location { background: var(--dark); color: white; }

.veh-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.veh-gallery { display: flex; flex-direction: column; gap: 12px; }
.veh-main-photo { aspect-ratio: 3/2; background: var(--light); border-radius: var(--radius); overflow: hidden; }
.veh-main-photo img { width: 100%; height: 100%; object-fit: cover; }
.veh-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.veh-thumb { aspect-ratio: 1; background: var(--light); border-radius: 3px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border 0.2s; }
.veh-thumb.active { border-color: var(--primary); }
.veh-thumb img { width: 100%; height: 100%; object-fit: cover; }

.veh-info h3 { font-size: 1.4rem; margin-bottom: 14px; text-transform: uppercase; }
.veh-specs-list { list-style: none; margin-bottom: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: white; }
.veh-specs-list li { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.veh-specs-list li:last-child { border-bottom: 0; }
.veh-specs-list li .label { color: var(--muted); font-weight: 500; }
.veh-specs-list li .value { font-weight: 600; }
.veh-notes { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; white-space: pre-wrap; margin-bottom: 24px; line-height: 1.75; }
.veh-cta { background: var(--dark); color: white; border-radius: var(--radius); padding: 24px; }
.veh-cta h4 { font-size: 1.2rem; margin-bottom: 12px; text-transform: uppercase; }
.veh-cta p { color: rgba(255,255,255,0.75); margin-bottom: 16px; font-size: 0.94rem; }
.veh-cta .btn { width: 100%; justify-content: center; }

/* FOOTER */
.footer { background: var(--black); color: rgba(255,255,255,0.65); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 32px 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer h4 { font-size: 1rem; text-transform: uppercase; color: white; margin-bottom: 16px; letter-spacing: 0.06em; }
.footer-brand p { max-width: 340px; font-size: 0.9rem; margin: 12px 0 0; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { max-width: 1200px; margin: 20px auto 0; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; }
.footer-legal { display: inline-flex; gap: 10px; align-items: center; }
.footer-legal a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-legal a:hover { color: var(--primary); }
.footer-legal .dot { color: rgba(255,255,255,0.3); }

/* ADMIN */
.admin-shell { min-height: 100vh; background: var(--light); }
.admin-nav { background: var(--black); color: white; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
.admin-nav .brand { font-family: 'Oswald', sans-serif; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; color: white; }
.admin-nav .brand .dot { color: var(--primary); }
.admin-nav .who { font-size: 0.85rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 12px; }
.admin-nav button { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: white; padding: 6px 12px; border-radius: 3px; cursor: pointer; font-size: 0.85rem; }
.admin-nav button:hover { border-color: var(--primary); color: var(--primary); }
.admin-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.admin-header h1 { font-size: 2rem; text-transform: uppercase; }
.admin-table { width: 100%; background: white; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.admin-table th { background: var(--light); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td.actions { text-align: right; white-space: nowrap; }
.admin-table td.actions button { background: transparent; border: 1px solid var(--border); padding: 5px 12px; border-radius: 3px; cursor: pointer; font-size: 0.82rem; margin-left: 6px; }
.admin-table td.actions button.del { color: var(--primary); border-color: var(--primary); }
.admin-table td.actions button:hover { background: var(--light); }
.admin-status-pill { display: inline-block; padding: 3px 10px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; border-radius: 3px; }
.admin-status-pill.available { background: #d1fae5; color: #065f46; }
.admin-status-pill.pending { background: #fef3c7; color: #78350f; }
.admin-status-pill.sold { background: #e5e7eb; color: #374151; }
.admin-status-pill.draft { background: #dbeafe; color: #1e3a8a; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea { padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: 0.95rem; background: white; }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 20px; border-top: 1px solid var(--border); margin-top: 24px; }
.card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

.photo-uploader { border: 2px dashed var(--border); border-radius: 6px; padding: 24px; text-align: center; background: var(--light); }
.photo-uploader.drag { border-color: var(--primary); background: rgba(214,40,40,0.05); }
.photo-uploader input { display: none; }
.photo-uploader label { color: var(--primary); font-weight: 600; cursor: pointer; text-decoration: underline; }
.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.photo-item { aspect-ratio: 3/2; border-radius: 4px; overflow: hidden; position: relative; background: var(--light); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item .rm { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.7); color: white; border: 0; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; line-height: 1; }
.progress { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.progress-bar { height: 100%; background: var(--primary); transition: width 0.3s; }

.alert { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; font-size: 0.92rem; }
.alert.error { background: #fee2e2; color: #7f1d1d; border: 1px solid #fecaca; }
.alert.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert.info { background: #dbeafe; color: #1e3a8a; border: 1px solid #bfdbfe; }

/* LEGAL PAGES */
.legal-nav { background: var(--bg); border-bottom: 1px solid var(--border); padding: 18px 32px; }
.legal-nav-inner { max-width: 900px; margin: 0 auto; }
.legal-nav a { color: var(--text); text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.06em; }
.legal-nav a .dot { color: var(--primary); }
.legal-main { max-width: 900px; margin: 0 auto; padding: 60px 32px 80px; }
.legal-main h1 { font-size: 2.6rem; text-transform: uppercase; margin-bottom: 8px; }
.legal-main .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.legal-main h2 { font-size: 1.4rem; text-transform: uppercase; margin: 32px 0 12px; color: var(--dark); }
.legal-main p, .legal-main ul, .legal-main ol { margin-bottom: 16px; }
.legal-main ul, .legal-main ol { padding-left: 24px; }

/* ABOUT OWNER */
.about-owner { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; padding: 0 32px; }
.about-owner-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--dark); }
.about-owner-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.about-owner-text .role { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; display: block; }
.about-owner-text h3 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 18px; color: white; }
.about-owner-text p { color: rgba(255,255,255,0.82); font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; }
.about-owner-text p:last-child { margin-bottom: 0; }

/* BLOG */
.blog-nav { max-width: 1200px; margin: 0 auto 40px; padding: 0 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.blog-nav a { padding: 8px 16px; background: white; border: 1px solid var(--border); border-radius: 20px; font-size: 0.88rem; font-weight: 500; text-decoration: none; color: var(--text); transition: all 0.2s; }
.blog-nav a:hover { border-color: var(--primary); color: var(--primary); }
.blog-category-section { max-width: 1200px; margin: 0 auto 64px; padding: 0 32px; scroll-margin-top: 90px; }
.blog-category-header { border-bottom: 2px solid var(--primary); padding-bottom: 12px; margin-bottom: 24px; }
.blog-category-header h3 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 4px; }
.blog-category-header p { color: var(--muted); font-size: 0.94rem; }
.blog-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: all 0.25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.blog-thumb { aspect-ratio: 16/9; background: var(--light); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.blog-body h4 { font-size: 1.15rem; margin-bottom: 8px; line-height: 1.3; }
.blog-body p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin-bottom: 16px; }
.blog-body .read-more { margin-top: auto; color: var(--primary); font-size: 0.86rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.blog-empty { color: var(--muted); font-size: 0.95rem; padding: 24px 0; grid-column: 1 / -1; text-align: center; font-style: italic; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav-menu, .nav-phones { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero h1 { font-size: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: 1fr; }
  .about-owner { grid-template-columns: 1fr; gap: 32px; max-width: 500px; }
  .inv-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .veh-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 72px 0; }
  .section-header h2 { font-size: 2.2rem; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { min-height: 70vh; padding: 80px 20px; }
  .hero h1 { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .inv-grid { grid-template-columns: 1fr; }
  .blog-posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .veh-header h1, .veh-price { font-size: 1.8rem; }
  .admin-header { flex-direction: column; align-items: stretch; }
}
