/* ============================================================
   RentGo — Vehicle Hire · Design System
   ============================================================ */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --ink-soft: #46566b;
  --line: #e3e9f2;

  --brand: #2451e6;
  --brand-dark: #1a3fc0;
  --accent: #ff8a3d;
  --accent-soft: #fff1e6;

  --green: #16a34a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.14);
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: 72px 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 0.95rem var(--font-body);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(36, 81, 230, 0.35);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: rgba(36, 81, 230, 0.06); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 1000;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 0;
}
/* LOGO SIZE — change "height" below to make the logo bigger or smaller */
.brand-mark img {
  height: 100px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.nav-link:hover { color: var(--ink); text-decoration: none; }
.nav-link.active { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 40px;
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(36, 81, 230, 0.12), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(255, 138, 61, 0.12), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: #c05a12;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 34px; }
.hero-stats {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.5rem; }
.hero-stats span { color: var(--ink-soft); font-size: 0.85rem; }

.hero-art { position: relative; min-height: 340px; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.orb-1 {
  width: 260px; height: 260px;
  background: linear-gradient(135deg, rgba(36, 81, 230, 0.25), rgba(36, 81, 230, 0.05));
  top: 0; right: 8%;
  animation: float 7s ease-in-out infinite;
}
.orb-2 {
  width: 150px; height: 150px;
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.3), rgba(255, 138, 61, 0.08));
  bottom: 20px; left: 0;
  animation: float 9s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-card {
  position: absolute;
  inset: auto 0 24px 0;
  margin: 0 auto;
  width: min(340px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.hero-card-top { font-weight: 700; margin-bottom: 12px; }
.hero-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.hero-card-row:last-of-type { border-bottom: 0; }
.hero-card-note { font-size: 0.8rem; color: var(--green); font-weight: 600; margin-top: 10px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 64px 0 32px;
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(36, 81, 230, 0.12), transparent 60%);
}
.page-hero p { color: var(--ink-soft); max-width: 60ch; }

/* ---------- Search card ---------- */
.search-section { padding-top: 0; margin-top: -20px; }
.search-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
input, select, textarea {
  font: 500 0.95rem var(--font-body);
  color: var(--ink);
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(36, 81, 230, 0.15);
}

/* ---------- Sections & cards ---------- */
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Vehicle cards ---------- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}
.vehicle-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vehicle-media {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #eef2fb, #f9fbff);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.vehicle-media .media-fallback { position: relative; }
.vehicle-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vehicle-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.vehicle-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vehicle-title h3 { margin: 0; }
.vehicle-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: rgba(36, 81, 230, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}
.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.vehicle-meta span {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
}
.vehicle-price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; }
.vehicle-price strong { font-family: var(--font-display); font-size: 1.5rem; }
.vehicle-price span { color: var(--ink-soft); font-size: 0.85rem; }
.vehicle-card .btn { margin-top: 10px; }

/* ---------- Features / steps ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--accent-soft);
  border-radius: 12px;
  margin-bottom: 14px;
}
.feature p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 12px;
}
.steps p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* ---------- Testimonials / CTA ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.quote p { font-size: 0.98rem; }
.quote footer { color: var(--ink-soft); font-size: 0.85rem; font-weight: 600; }

.cta-band {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 48px 40px;
}
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band p { opacity: 0.85; margin-top: 6px; }

/* ---------- Filters ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font: 600 0.9rem var(--font-body);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.filter-sort { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.filter-sort label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.filter-sort select { width: auto; }

/* ---------- Forms / booking ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.extras { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 16px; margin: 0 0 18px; }
.extras legend { font-weight: 700; font-size: 0.9rem; padding: 0 6px; }
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 0.95rem;
}
.check-row input { width: auto; }
.check-row strong { margin-left: auto; color: var(--brand); }
.form-note { color: var(--ink-soft); font-size: 0.85rem; text-align: center; margin: 12px 0 0; }

.summary { position: sticky; top: 96px; }
.summary h2 { font-size: 1.3rem; }
.summary-vehicle {
  font-weight: 700;
  font-family: var(--font-display);
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.summary-lines { margin: 0 0 14px; }
.summary-lines .line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.summary-lines .line span:first-child { color: var(--ink-soft); }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.summary-total strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--brand); }
.summary-perks { list-style: none; margin: 0; padding: 0; color: var(--green); font-weight: 600; font-size: 0.88rem; }
.summary-perks li { padding: 4px 0; }

/* ---------- Contact / FAQ ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.contact-side { display: grid; gap: 18px; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { margin: 4px 0; }
.faq-list { display: grid; gap: 12px; max-width: 760px; }
.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--brand);
  transition: transform 0.2s ease;
}
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1b2d; color: #cbd5e1; margin-top: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 32px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: transparent; }
.site-footer .brand-mark img { height: 54px; }
.site-footer h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer a { color: #cbd5e1; display: block; padding: 4px 0; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-note { font-size: 0.88rem; color: #94a3b8; margin: 10px 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .booking-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-art { display: none; }
  .search-card { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .search-card { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 4%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .site-nav.nav-show { display: flex; }
  .site-nav .nav-link, .site-nav .nav-cta { padding: 14px 0; }
  .site-nav .nav-cta { text-align: center; }
  .hero-stats { gap: 22px; }
  .cta-inner { padding: 36px 24px; }
}
