/* Deep Fleet — site styles */

:root {
  --ink: #0b1b33;
  --ink-2: #13294b;
  --ink-3: #1d3a66;
  --gold: #c9a45c;
  --gold-dark: #a8853f;
  --text: #1c2433;
  --muted: #5b6577;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(11, 27, 51, 0.35);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: .75em;
}
.accent { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit; font-weight: 600;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d6b46f; box-shadow: 0 10px 24px -10px rgba(201, 164, 92, .8); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: .55em 1.2em; font-size: .92rem; }
.btn-block { width: 100%; }

/* Utility bar */
.utility-bar { background: var(--ink); color: #c8d1e0; font-size: .82rem; }
.utility-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.utility-links { display: flex; gap: 20px; }
.utility-links a { text-decoration: none; }
.utility-links a:hover { color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; }
.logo svg { width: 36px; height: 36px; }
.logo strong { font-weight: 800; }
.logo-light { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--text); font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--gold-dark); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(201, 164, 92, .22), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, var(--ink-3) 100%);
  color: #dfe6f1;
  overflow: hidden;
}
.hero::after {
  /* faint road lines */
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 60px, transparent 60px 120px);
  mask: linear-gradient(transparent, #000);
  -webkit-mask: linear-gradient(transparent, #000);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 80px 0 96px;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.12rem; color: #c3cee0; max-width: 40em; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.hero-points li { position: relative; padding-left: 30px; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b1b33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Booking card */
.booking-card {
  background: #fff; color: var(--text);
  border-radius: 18px; padding: 28px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
}
.booking-card h2 { font-size: 1.4rem; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select {
  font: inherit; color: var(--text);
  padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .25); }

.quote {
  background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; font-size: .94rem;
}
.quote-row { display: flex; justify-content: space-between; gap: 12px; }
.quote-total { font-weight: 700; color: var(--ink); font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.quote-save { color: #1a7f4b; font-weight: 600; font-size: .88rem; margin-top: 4px; }
.form-error { color: #b42318; font-size: .9rem; font-weight: 500; }
.form-success { background: #ecfdf3; color: #05603a; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; font-size: .94rem; }
.fine-print { font-size: .8rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* Trust strip */
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; }
.trust-inner div { display: flex; flex-direction: column; }
.trust-inner strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); }
.trust-inner span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #c3cee0; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }

/* Fleet */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.car-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.car-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.car-card.featured { border: 2px solid var(--gold); grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.car-media {
  background: linear-gradient(180deg, #eef2f7, #dfe5ee);
  display: grid; place-items: center; padding: 28px 20px 18px; min-height: 170px;
}
.car-card.featured .car-media { min-height: 300px; background: linear-gradient(180deg, #e9edf3, #cfd7e3); }
.car-media img { width: 100%; height: 100%; object-fit: cover; }
.car-media svg { width: 92%; }
.car-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.car-card.featured .car-body { padding: 34px; }
.car-class { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.car-body h3 { margin-bottom: 4px; }
.car-card.featured .car-body h3 { font-size: 1.8rem; }
.car-sub { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.car-specs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.car-specs li { font-size: .82rem; background: var(--bg-alt); padding: 4px 10px; border-radius: 999px; }
.car-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-gold { background: var(--ink); color: var(--gold); }
.tag-soon { background: #fff4e5; color: #9a5b00; }
.car-desc { color: var(--muted); font-size: .95rem; }
.car-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: auto 0 16px; padding-top: 6px; }
.car-prices div { text-align: center; background: var(--bg-alt); border-radius: 10px; padding: 8px 4px; }
.car-prices strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.car-prices span { font-size: .75rem; color: var(--muted); }
.car-prices .best { background: var(--ink); }
.car-prices .best strong { color: var(--gold); }
.car-prices .best span { color: #c3cee0; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.tier-featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.tier .badge { position: absolute; top: -12px; left: 30px; background: var(--gold); color: var(--ink); font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.tier-range { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--ink); margin-bottom: .4em; }
.tier p { color: var(--muted); }
.tier ul { padding-left: 18px; margin: 0; color: var(--text); }
.tier li { margin-bottom: 6px; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23c9a45c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list.light li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b1b33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.note { font-size: .88rem; border-left: 3px solid var(--gold); padding-left: 14px; color: #9fb0c8; }

.visual-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.visual-label { font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.visual-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.visual-row span:last-child { color: var(--muted); text-align: right; }
.visual-row.total { border-bottom: 0; font-weight: 700; color: var(--ink); }
.visual-row.total span:last-child { color: var(--gold-dark); }

.rideshare-graphic {
  aspect-ratio: 1 / .8; border-radius: 22px;
  background:
    radial-gradient(400px 260px at 30% 20%, rgba(201, 164, 92, .35), transparent 70%),
    linear-gradient(145deg, #050d1a, #142a4d);
  border: 1px solid rgba(255, 255, 255, .08);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; place-content: center; padding: 40px;
}
.pill {
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(201, 164, 92, .5); color: #fff;
  border-radius: 14px; padding: 22px 16px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; }
.steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--muted); }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gold-dark); }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card h3 { font-size: 1rem; }
.contact-card p { margin: 0; overflow-wrap: anywhere; }
.contact-card small { color: var(--muted); }

/* Footer */
.site-footer { background: #071326; color: #9fb0c8; padding: 64px 0 24px; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-inner h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-inner a:not(.logo) { display: block; text-decoration: none; margin-bottom: 8px; }
.footer-inner a:not(.logo):hover { color: #fff; }
.footer-inner .logo { margin-bottom: 14px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; font-size: .8rem; }
.footer-legal p { margin: 0 0 6px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 72px; gap: 36px; }
  .split, .contact { grid-template-columns: 1fr; gap: 40px; }
  .tiers, .steps { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .car-card.featured { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  #rideshare .split-visual { order: 2; }
}

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .utility-inner span:first-child { display: none; }
  .utility-links { width: 100%; justify-content: space-between; gap: 12px; }
  .tiers, .steps, .contact-cards, .trust-inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .booking-card { padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .rideshare-graphic { padding: 24px; }
}

/* Tesla */
.nav-tesla { position: relative; }
.site-nav a.nav-tesla::after {
  content: "New"; margin-left: 6px; font-size: .65rem; font-weight: 700; letter-spacing: .04em;
  background: #3e8bff; color: #fff; padding: 2px 6px; border-radius: 999px; vertical-align: 2px;
}
.site-nav a[aria-current="page"] { color: var(--gold-dark); }
.tag-fsd { background: #e8f1ff; color: #1d5bd8; }

.hero-tesla {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(62, 139, 255, .28), transparent 60%),
    linear-gradient(160deg, #05080f 0%, #0d1726 55%, #16263f 100%);
}

.tesla-promo {
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(62, 139, 255, .3), transparent 70%),
    linear-gradient(120deg, #05080f, var(--ink-2));
  color: #c3cee0;
}
.tesla-promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 0; }
.tesla-promo h2 { color: #fff; margin-bottom: .35em; }
.tesla-promo .eyebrow { color: #7fb0ff; }
.tesla-promo p:last-child { margin: 0; max-width: 46em; }
.tesla-promo .btn { flex-shrink: 0; }

.fsd-graphic {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #050a14, #0c1628);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 24px 24px 0;
}
.fsd-graphic svg { width: 100%; }
.fsd-hud {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(5, 10, 20, .8); border: 1px solid rgba(62, 139, 255, .5); color: #fff;
  font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: #3e8bff; box-shadow: 0 0 0 4px rgba(62, 139, 255, .25); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature p { color: var(--muted); margin: 0; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .tesla-promo-inner { flex-direction: column; align-items: flex-start; }
  #fsd .split-visual { order: 2; }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
}
