/* ============================================================
   SPCARRENTAL.online — shared stylesheet
   Theme: deep navy + amber/orange accent, clean automotive feel
   ============================================================ */

:root {
  --navy-900: #071328;
  --navy-800: #0c1e3a;
  --navy-700: #12294d;
  --navy-600: #1a3563;
  --amber-500: #ff8a1e;
  --amber-400: #ffa347;
  --amber-100: #fff1e0;
  --cream: #f7f5f0;
  --ink: #10131a;
  --muted: #6b7280;
  --line: #e6e2d8;
  --white: #ffffff;
  --radius: 8px;
  --shadow-sm: 0 1px 4px rgba(7, 19, 40, 0.08);
  --shadow-md: 0 1px 4px rgba(7, 19, 40, 0.08);
  --shadow-lg: 0 2px 8px rgba(7, 19, 40, 0.1);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--muted); }

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

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--navy-900); color: var(--white); }
.section--navy p { color: #b9c2d4; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--cream { background: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber-500);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--amber-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--amber-400); }
.btn-outline { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-outline:hover { border-color: var(--amber-500); color: var(--amber-500); }
.btn-outline-dark { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline-dark:hover { background: var(--navy-800); color: var(--white); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Top info bar */
.topbar {
  background: var(--navy-900);
  color: #cfd7e6;
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #cfd7e6; }
.topbar .topbar-call { color: var(--amber-400); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }

/* Header / nav */
header.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  color: var(--navy-900);
}
.logo .logo-mark {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-400);
  flex-shrink: 0;
}
.logo .logo-mark svg { width: 22px; height: 22px; }
.logo small { display:block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-800);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--amber-500); color: var(--amber-500); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-call {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--navy-900); font-size: 15px;
}
.nav-call svg { width: 18px; height: 18px; color: var(--amber-500); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy-900); }

/* Hero */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: 64px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #e7ecf6;
}
.hero-badge svg { width: 14px; height: 14px; color: var(--amber-400); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 20px; }
.hero h1 span { color: var(--amber-400); }
.hero p.lead { font-size: 17.5px; color: #c4cbdb; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust .stat b { display: block; font-size: 24px; color: var(--white); }
.hero-trust .stat span { font-size: 12.5px; color: #9aa5bd; text-transform: uppercase; letter-spacing: .04em; }

/* Quote / search card */
.quote-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.quote-card h3 { font-size: 19px; margin-bottom: 4px; }
.quote-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--navy-700);
}
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fbfaf7;
  color: var(--ink);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  background: var(--white);
}
.quote-card .btn { margin-top: 6px; }
.quote-card .fine {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* Floating call button (mobile) */
.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: var(--amber-500);
  color: var(--navy-900);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.floating-call svg { width: 26px; height: 26px; }

/* Trust strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 26px 24px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.trust-item svg { width: 20px; height: 20px; color: var(--amber-500); flex-shrink: 0; }

/* Cards grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--line);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--amber-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--amber-500);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--navy-900); }
.card p { margin-bottom: 0; font-size: 14.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step .num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--amber-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; color: var(--navy-900); margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* Vehicle categories */
.fleet-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fleet-card .fleet-img {
  height: 150px;
  background: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
}
.fleet-card .fleet-img svg { width: 64px; height: 64px; }
.fleet-card .fleet-body { padding: 20px 22px 24px; }
.fleet-card h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 6px; }
.fleet-card .from { font-size: 13px; color: var(--amber-500); font-weight: 800; margin-bottom: 10px; }

/* Locations */
.loc-pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.loc-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy-800);
  display: flex; align-items: center; gap: 10px;
}
.loc-pill svg { width: 18px; height: 18px; color: var(--amber-500); flex-shrink: 0; }

/* Testimonials */
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.testi-stars { color: var(--amber-500); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p.quote { color: var(--ink); font-size: 15px; margin-bottom: 18px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-800); color: var(--amber-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.testi-who b { display: block; font-size: 14px; color: var(--navy-900); }
.testi-who span { font-size: 12.5px; color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-band p { color: #c4cbdb; margin-bottom: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* FAQ accordion */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy-900);
}
.faq-q svg { width: 18px; height: 18px; color: var(--amber-500); flex-shrink: 0; transition: transform .2s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 14.5px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 400px; }

/* Contact page */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-item .icon-sm {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-400); flex-shrink: 0;
}
.contact-info-item .icon-sm svg { width: 20px; height: 20px; }
.contact-info-item b { display: block; color: var(--white); font-size: 14.5px; margin-bottom: 2px; }
.contact-info-item span, .contact-info-item a { font-size: 14px; color: #b9c2d4; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-field.full { grid-column: 1 / -1; }

/* Legal pages */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 22px; color: var(--navy-900); margin-top: 34px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 15px; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 1em; }
.legal-content .updated { font-size: 13.5px; color: var(--amber-500); font-weight: 700; margin-bottom: 30px; }
.disclaimer-box {
  background: var(--amber-100);
  border: 1px solid #ffd9ad;
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 14px;
  color: #6b4600;
  margin: 26px 0;
}
.disclaimer-box b { color: #4a3000; }

/* Page header (inner pages) */
.page-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 48px 0 44px;
  text-align: center;
}
.page-header .eyebrow { justify-content: center; }
.page-header h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.page-header p { color: #c4cbdb; max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: #9aa5bd; margin-top: 10px; }
.breadcrumb a { color: var(--amber-400); font-weight: 700; }

/* Footer */
footer.site-footer { background: var(--navy-900); color: #b9c2d4; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-grid h4 { color: var(--white); font-size: 14.5px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 14px; color: #b9c2d4; }
.footer-grid ul a:hover { color: var(--amber-400); }
.footer-about p { font-size: 14px; color: #9aa5bd; margin-bottom: 18px; }
.footer-call { display: inline-flex; align-items: center; gap: 8px; color: var(--amber-400); font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px;
  color: #8a93a8;
}
.footer-bottom a { color: #8a93a8; }
.footer-bottom a:hover { color: var(--amber-400); }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }

/* Scroll reveal (kept minimal — no motion) */
[data-reveal] { opacity: 1; }

/* Mobile nav open state */
@media (max-width: 980px) {
  .nav-links--open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .loc-pill-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-3, .grid-4, .grid-2, .steps, .loc-pill-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 26px; }
  .topbar .container { justify-content: center; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-call { display: flex; }
  .nav-call span.call-text { display: none; }
}
