/* =========================================================
   EASY CAR SALES LTD — Stylesheet
   ========================================================= */

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #0f1626;
  --ink-soft: #3a4256;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #0b1d3a;
  --primary-2: #112a55;
  --accent: #d4a24c;
  --accent-2: #b88533;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 22, 38, .06), 0 2px 6px rgba(15, 22, 38, .04);
  --shadow: 0 8px 24px rgba(15, 22, 38, .08);
  --shadow-lg: 0 20px 50px rgba(15, 22, 38, .15);
  --container: 1240px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* =========================================================
   Top bar
   ========================================================= */
.topbar {
  background: var(--primary);
  color: #d8def0;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar .meta { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #d8def0; }
.topbar a:hover { color: var(--accent); }
.topbar .icon { display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 22px;
  box-shadow: var(--shadow-sm);
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

nav.primary {
  display: flex;
  gap: 6px;
  align-items: center;
}
nav.primary a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.15s ease;
}
nav.primary a:hover, nav.primary a.active {
  background: rgba(11, 29, 58, 0.06);
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s;
}
.nav-cta:hover { background: var(--accent-2); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  margin: 4px 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn-ghost:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-block { width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b1d3a 0%, #112a55 100%);
  color: #fff;
  overflow: hidden;
  padding: 80px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(at 80% 20%, rgba(212, 162, 76, 0.18) 0%, transparent 50%),
    radial-gradient(at 20% 80%, rgba(17, 42, 85, 0.6) 0%, transparent 50%);
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=2000&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
}
.hero .accent { color: var(--accent); }
.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero search card */
.hero-search {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.hero-search h3 {
  margin-bottom: 6px;
  font-size: 20px;
}
.hero-search .sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.search-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.field select, .field input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s;
}
.field select:focus, .field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 29, 58, 0.08);
}

/* =========================================================
   Section
   ========================================================= */
section { padding: 80px 0; }
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
}

/* =========================================================
   Vehicle Grid & Cards
   ========================================================= */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.vehicle-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.vehicle-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(180deg, #eef1f7 0%, #d8dde8 100%);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500'%3E%3Cg fill='%230b1d3a' opacity='0.12' transform='translate(160,180)'%3E%3Cpath d='M0 90 C 0 70, 30 50, 80 40 L 140 20 C 180 8, 240 8, 280 20 L 340 40 C 400 50, 480 70, 480 90 L 480 130 C 480 145, 470 155, 455 155 L 425 155 C 425 130, 400 115, 375 115 C 350 115, 325 130, 325 155 L 155 155 C 155 130, 130 115, 105 115 C 80 115, 55 130, 55 155 L 25 155 C 10 155, 0 145, 0 130 Z'/%3E%3Ccircle cx='105' cy='155' r='28' opacity='0.5'/%3E%3Ccircle cx='375' cy='155' r='28' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}
.vehicle-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.vehicle-card:hover .vehicle-card-media img { transform: scale(1.05); }
.vehicle-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.vehicle-badge.featured { background: var(--accent); }
.vehicle-badge.electric { background: #16a34a; }
.vehicle-badge.hybrid { background: #0891b2; }

.vehicle-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.vehicle-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.25;
}
.vehicle-trim {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vehicle-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vehicle-meta svg { color: var(--muted); flex-shrink: 0; }
.vehicle-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}
.vehicle-price {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.vehicle-price small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.vehicle-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vehicle-link:hover { color: var(--primary); }

/* =========================================================
   Features / why choose us
   ========================================================= */
.features {
  background: #fff;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.feature {
  text-align: center;
  padding: 28px 20px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow);
}
.feature h3 { margin-bottom: 8px; font-size: 19px; }
.feature p { font-size: 14px; margin-bottom: 0; }

/* =========================================================
   Inventory page
   ========================================================= */
.inventory-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 48px 0 80px;
}
.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.filters h3 {
  font-size: 17px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.filter-group {
  margin-bottom: 22px;
}
.filter-group h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-soft);
}
.filter-option input { accent-color: var(--accent); cursor: pointer; }
.filter-option:hover { color: var(--primary); }
.filter-option .count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.range-inputs { display: flex; gap: 8px; align-items: center; }
.range-inputs input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
}
.filter-clear {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.filter-clear:hover { background: var(--bg); color: var(--primary); }

.inventory-results {
  min-width: 0;
}
.inventory-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.results-count strong { color: var(--primary); }
.sort-control { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.sort-control select {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--primary);
  cursor: pointer;
}

/* =========================================================
   Vehicle detail page
   ========================================================= */
.detail-page { padding: 40px 0 80px; }
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb .sep { margin: 0 8px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.gallery-main {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #eef1f7 0%, #d8dde8 100%);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500'%3E%3Cg fill='%230b1d3a' opacity='0.12' transform='translate(160,180)'%3E%3Cpath d='M0 90 C 0 70, 30 50, 80 40 L 140 20 C 180 8, 240 8, 280 20 L 340 40 C 400 50, 480 70, 480 90 L 480 130 C 480 145, 470 155, 455 155 L 425 155 C 425 130, 400 115, 375 115 C 350 115, 325 130, 325 155 L 155 155 C 155 130, 130 115, 105 115 C 80 115, 55 130, 55 155 L 25 155 C 10 155, 0 145, 0 130 Z'/%3E%3Ccircle cx='105' cy='155' r='28' opacity='0.5'/%3E%3Ccircle cx='375' cy='155' r='28' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  margin-bottom: 12px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-thumb {
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #e5e7eb;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.detail-summary h1 {
  font-size: 26px;
  margin-bottom: 4px;
}
.detail-summary .sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.detail-price small {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.finance-line {
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 8px;
  margin: 18px 0 24px;
  font-size: 13px;
  color: var(--ink-soft);
}
.finance-line strong { color: var(--primary); font-weight: 600; }
.detail-cta { display: flex; flex-direction: column; gap: 10px; }
.dealer-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.dealer-trust div { display: flex; align-items: center; gap: 8px; }

.detail-section { margin-top: 50px; }
.detail-section h2 {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-grid div {
  background: #fff;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-grid .label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.spec-grid .value { color: var(--primary); font-weight: 600; font-size: 15px; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px 24px;
  list-style: none;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================================
   CTA strip
   ========================================================= */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(at 50% 50%, rgba(212, 162, 76, 0.2), transparent 70%);
}
.cta-strip .container { position: relative; z-index: 2; }
.cta-strip h2 { color: #fff; margin-bottom: 14px; }
.cta-strip p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; font-size: 17px; }

/* =========================================================
   Footer
   ========================================================= */
footer {
  background: var(--primary);
  color: #c5cce0;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-col p, .footer-col li, .footer-col a { font-size: 14px; color: #c5cce0; line-height: 1.7; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a:hover { color: var(--accent); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-mark { background: rgba(255, 255, 255, 0.08); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: rgba(255, 255, 255, 0.5); }

.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-info div { display: flex; gap: 10px; align-items: flex-start; }
.contact-info svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   About / Contact / Finance pages
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto; font-size: 17px; }

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.content-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}
.contact-info-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-block h3 { font-size: 20px; margin-bottom: 8px; }
.contact-info-block .info-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-block .info-row:last-of-type { border-bottom: none; }
.info-row svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.info-row .label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.info-row .value { color: var(--primary); font-weight: 500; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full { grid-column: 1 / -1; }
.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 29, 58, 0.08);
}
.contact-form .field-block { margin-bottom: 14px; }

.finance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.finance-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.2s;
}
.finance-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.finance-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.finance-card h3 { margin-bottom: 8px; font-size: 20px; }
.finance-card p { font-size: 14px; }

.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-result {
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}
.calc-result .num {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin: 6px 0;
}
.calc-result .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }

/* =========================================================
   Empty state
   ========================================================= */
.empty {
  text-align: center;
  padding: 80px 24px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .inventory-page { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  section { padding: 60px 0; }
  .hero { padding: 56px 0 80px; }
  .nav-inner { padding: 14px 0; }
  nav.primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow); border-top: 1px solid var(--line); }
  nav.primary.open { display: flex; }
  nav.primary a { width: 100%; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .search-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .meta { display: none; }
  .topbar .container { justify-content: center; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 28px; }
}
