/* ===== Z1 AutoCorp — Shared Theme ===== */
:root {
  --onyx: #0A0A0A;
  --onyx-2: #111114;
  --panel: #16161a;
  --gold: #C9A84C;
  --gold-soft: #E0BC5C;
  --gold-12: rgba(201, 168, 76, 0.12);
  --gold-25: rgba(201, 168, 76, 0.25);
  --gold-40: rgba(201, 168, 76, 0.40);
  --text: #E6E6E6;
  --muted: #9a9a9a;
  --up: #2ecc71;
  --down: #ff4d4d;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Manrope', sans-serif;
  --font-display: 'Space Grotesk', 'Manrope', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--onyx);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: .25s; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Header / Nav ── */
header.z1-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-25);
}
.z1-nav {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.z1-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; height: 100%; }
.z1-logo img { height: 38px; width: 38px; object-fit: cover; border-radius: 6px; border: 1px solid var(--gold-25); }
.z1-logo .wordmark {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; letter-spacing: 3px;
  color: #fff; text-transform: uppercase; line-height: 1.05;
  white-space: nowrap;
}
.z1-logo .wordmark b { color: var(--gold); font-weight: 700; }
.z1-logo .wordmark .sub {
  display: block; font-size: 8.5px; letter-spacing: 4px; color: var(--muted);
  font-weight: 500; margin-top: 3px;
}
.z1-menu { display: flex; gap: 22px; align-items: center; }
.z1-menu a {
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.72);
  text-transform: uppercase; letter-spacing: 1.2px; white-space: nowrap;
}
.z1-menu a:hover, .z1-menu a.active { color: var(--gold); }
.z1-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.z1-burger span { width: 24px; height: 2px; background: var(--gold); display: block; }

/* More dropdown */
.z1-more { position: relative; }
.z1-more-d {
  display: none; position: absolute; top: 30px; right: 0; min-width: 190px;
  background: rgba(12,12,14,.98); backdrop-filter: blur(12px);
  border: 1px solid var(--gold-25); border-radius: 8px; padding: 8px 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.6); z-index: 1001;
}
.z1-more-d.open { display: block; }
.z1-more-d a { display: block; padding: 10px 18px; }
.z1-more-d a:hover { background: rgba(201,168,76,.1); }

/* ── Ticker ── */
.z1-ticker {
  position: fixed; top: 72px; left: 0; width: 100%; height: 34px; z-index: 999;
  background: #08080a; border-bottom: 1px solid var(--gold-12);
  display: flex; align-items: center; overflow: hidden;
}
.z1-ticker-label {
  flex-shrink: 0; background: var(--gold); color: #000;
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: 1px; padding: 0 14px; height: 100%;
  display: flex; align-items: center; z-index: 2;
}
.z1-ticker-track {
  display: flex; white-space: nowrap; will-change: transform;
  animation: z1ticker 55s linear infinite;
}
.z1-ticker-track:hover { animation-play-state: paused; }
.z1-ti { display: inline-flex; align-items: center; gap: 8px; margin: 0 26px;
  font-size: 11.5px; font-weight: 600; color: #c9c9c9; }
.z1-ti .up { color: var(--up); } .z1-ti .down { color: var(--down); }
@keyframes z1ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* spacer so content clears fixed header+ticker */
.z1-topspace { height: 106px; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 4px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.2px; cursor: pointer; border: none; transition: .25s;
}
.btn-primary { background: var(--gold); color: #000; }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold-40); }
.btn-ghost:hover { background: var(--gold); color: #000; }

/* ── Sections ── */
.z1-section { max-width: 1200px; margin: 0 auto; padding: 90px 24px; }
.z1-section.alt { background: rgba(201,168,76,.02); max-width: 100%; }
.z1-section.alt .inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 600;
}
.section-head { font-family: var(--font-serif); font-size: 40px; color: #fff; margin-bottom: 24px; line-height: 1.15; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 720px; margin-bottom: 40px; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-frame {
  width: 100%; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--gold-25); box-shadow: 0 24px 50px rgba(0,0,0,.55);
  background: var(--onyx-2);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.info-text h3 { font-family: var(--font-serif); font-size: 28px; color: var(--gold); margin-bottom: 18px; }
.info-text p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }

/* ── Cards ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.z1-card {
  background: var(--panel); border: 1px solid var(--gold-12); border-radius: 10px;
  padding: 28px; transition: .25s;
}
.z1-card:hover { border-color: var(--gold-40); transform: translateY(-4px); }
.z1-card h4 { font-family: var(--font-display); color: var(--gold); font-size: 17px; margin-bottom: 12px; letter-spacing: .5px; }
.z1-card p { color: var(--muted); font-size: 14px; }

/* ── Footer ── */
.z1-footer {
  border-top: 1px solid var(--gold-12); background: #060607;
  padding: 50px 24px 30px;
}
.z1-footer .inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.z1-footer .col h5 { font-family: var(--font-display); color: var(--gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.z1-footer .col a { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.z1-footer .col a:hover { color: var(--gold); }
.z1-footer .copy { max-width: 1200px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid var(--gold-12); color: #5a5a5a; font-size: 12px; }

/* ── Page hero (subpages) ── */
.page-hero {
  position: relative; padding: 80px 24px; text-align: center;
  border-bottom: 1px solid var(--gold-12);
  background: radial-gradient(circle at 50% 0%, rgba(201,168,76,.08), transparent 60%);
}
.page-hero h1 { font-family: var(--font-serif); font-size: 52px; color: var(--gold); margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 17px; }

/* ── Mobile ── */
@media (max-width: 920px) {
  .z1-menu {
    position: fixed; top: 72px; right: 0; width: 270px;
    background: rgba(10,10,10,.97); backdrop-filter: blur(12px);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 0; border-left: 1px solid var(--gold-25);
    transform: translateX(100%); transition: transform .3s; height: calc(100vh - 72px);
  }
  .z1-menu.open { transform: translateX(0); }
  .z1-menu a { padding: 14px 24px; width: 100%; border-bottom: 1px solid rgba(255,255,255,.04); }
  .z1-burger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .section-head { font-size: 32px; }
  .page-hero h1 { font-size: 38px; }
}
