/* ============================================================
   Insight Fleet Rentals — landing page styles
   ============================================================ */

:root {
  --brand:        #1d4ed8;
  --brand-hover:  #1a44bd;
  --brand-soft:   #e8f0fe;
  --navy:         #0f2f6b;
  --navy-dark:    #0a2650;
  --ink:          #1f2a44;
  --muted:        #5b6b86;
  --tint:         #eef4fd;
  --tint-2:       #f4f8fe;
  --ring:         #d9e3f4;
  --white:        #ffffff;
  --ok:           #1d4ed8;
  --radius:       14px;
  --radius-sm:    10px;
  --shadow:       0 10px 30px rgba(15, 47, 107, .08);
  --shadow-sm:    0 4px 14px rgba(15, 47, 107, .06);
  --maxw:         1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }

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

.section { padding: 72px 0; }
.section--tint { background: var(--tint-2); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
.section__head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--brand);
  --_fg: #fff;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem;
  background: var(--_bg); color: var(--_fg);
  border: 1.5px solid var(--_bg);
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: .98rem;
  cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost { --_bg: transparent; --_fg: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { --_bg: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.btn--light { --_bg: #fff; --_fg: var(--navy); border-color: #fff; }
.btn--light:hover { --_bg: #eef4fd; border-color: #eef4fd; color: var(--navy); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--ring);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.brand__sub { font-size: .72rem; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--navy); font-weight: 600; font-size: .95rem; transition: color .15s ease; }
.nav a:hover { color: var(--brand); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { color: var(--navy); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.header-phone:hover { color: var(--brand); }
.nav .nav-only { display: none; } /* shown only inside the mobile dropdown */

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

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: .35em; }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 34ch; margin: 0 0 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.6rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--ring); border-radius: var(--radius-sm);
  padding: .55rem .9rem; font-size: .86rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.badge svg { width: 18px; height: 18px; color: var(--brand); }
.hero__art img { width: 100%; height: auto; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--tint); border: 1px solid var(--ring); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; transition: transform .15s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--brand-soft); display: grid; place-items: center; color: var(--brand);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.08rem; margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step { text-align: center; position: relative; padding: 8px 12px; }
.step__num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin: 0 auto 14px; font-size: .95rem;
}
.step__icon { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); }
.step__icon svg { width: 34px; height: 34px; }
.step h3 { font-size: 1.15rem; margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -10px; width: calc(100% - 90px);
  border-top: 2px dashed #b9cdec;
}

/* ---------- Vehicles ---------- */
.vehicles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vehicle {
  background: #fff; border: 1px solid var(--ring); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.vehicle:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vehicle__img { aspect-ratio: 4 / 3; background: #f3f6fb; padding: 18px; display: grid; place-items: center; }
.vehicle__img img { width: 100%; height: 100%; object-fit: contain; }
.vehicle__body { padding: 18px 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ring); }
.vehicle__name { font-size: 1.12rem; font-weight: 800; color: var(--navy); }
.vehicle__meta { font-size: .85rem; color: var(--muted); margin-top: 2px; }

/* ---------- Why choose ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: var(--tint); border: 1px solid var(--ring); border-radius: 20px; padding: 40px; }
.why h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.why__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.why__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.why__check { flex: none; width: 24px; height: 24px; color: var(--brand); margin-top: 1px; }
.why__img img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; max-height: 360px; }

/* ---------- Testimonial ---------- */
.quote { background: var(--tint-2); border: 1px solid var(--ring); border-radius: 18px; padding: 36px 44px; display: flex; align-items: center; gap: 26px; max-width: 960px; margin: 0 auto; }
.quote__mark { font-size: 4.5rem; line-height: .6; color: #a9c2ec; font-family: Georgia, serif; align-self: flex-start; }
.quote__text { font-size: 1.35rem; font-weight: 600; color: var(--navy); margin: 0; }
.quote__by { margin-top: .5rem; color: var(--muted); font-weight: 600; font-size: 1rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--ring); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan--featured { border-color: var(--brand); box-shadow: 0 14px 34px rgba(29,78,216,.16); position: relative; }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .32rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; margin-bottom: .1em; }
.plan__sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.plan__price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: 4px; }
.plan__price .amt { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.plan__price .per { color: var(--muted); font-weight: 600; }
.plan__note { color: var(--muted); font-size: .82rem; margin-bottom: 20px; }
.plan__feats { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.plan__feats li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink); }
.plan__feats svg { flex: none; width: 20px; height: 20px; color: var(--brand); }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 24px; }

/* ---------- Auto card grid (What's Included / Payments) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.included-cta { text-align: center; margin-top: 34px; }
.included-cta p { color: var(--muted); font-size: .95rem; max-width: 620px; margin: 0 auto 18px; }

/* ---------- Eligibility ---------- */
.eligibility { background: #fff; border: 1px solid var(--ring); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-sm); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 34px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--brand); margin-top: 1px; }

/* ---------- Form consent ---------- */
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; line-height: 1.45; }
.consent input { width: auto; flex: none; margin-top: 3px; accent-color: var(--brand); }
.consent a { color: var(--brand); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--ring); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 22px; font-size: 1.05rem; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq__q .icon { flex: none; width: 22px; height: 22px; color: var(--brand); transition: transform .25s ease; }
.faq__item[open] .faq__q .icon { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq__a p { margin: 0; }
.faq__item summary { list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(100deg, var(--navy-dark), var(--brand)); border-radius: 18px; color: #fff; padding: 34px 44px; display: flex; align-items: center; gap: 22px; }
.cta-banner__icon { width: 58px; height: 58px; flex: none; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; }
.cta-banner__icon svg { width: 30px; height: 30px; color: #fff; }
.cta-banner__text { flex: 1; }
.cta-banner h2 { color: #fff; margin: 0 0 .15em; font-size: 1.6rem; }
.cta-banner p { margin: 0; color: rgba(255,255,255,.85); }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--ghost-light { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { --_bg: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact__info h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.contact__info p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.contact__list svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.form { background: #fff; border: 1px solid var(--ring); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--ring); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,78,216,.12); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; }
.form__status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; display: none; }
.form__status.is-ok { display: block; background: #e6f6ec; color: #1a7f43; border: 1px solid #b6e4c6; }
.form__status.is-err { display: block; background: #fdecec; color: #c0392b; border: 1px solid #f3c2bd; }

/* ---------- Legal pages ---------- */
.legal { max-width: 840px; margin: 0 auto; }
.legal__meta { color: var(--muted); font-size: .95rem; margin-bottom: 32px; }
.legal h1 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin-bottom: .3em; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brand); font-weight: 600; }
.legal .callout { background: var(--tint); border: 1px solid var(--ring); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 16px 20px; margin: 18px 0; }
.legal .back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 40px; font-weight: 700; color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 40px 0 26px; margin-top: 0; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(255,255,255,.6); }
.footer-col { max-width: 340px; }
.footer-contact { margin: 14px 0 0; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.7); }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: #fff; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 30px; align-content: start; }
.footer-nav a { color: rgba(255,255,255,.8); font-weight: 600; font-size: .92rem; }
.footer-nav a:hover { color: #fff; }
.site-footer__bottom { padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.6); text-align: center; }
.footer-area { margin: 0 0 8px; color: rgba(255,255,255,.75); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .header-cta .btn, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--ring); padding: 8px 0; box-shadow: var(--shadow);
  }
  .site-header.open .nav a { padding: 14px 24px; border-bottom: 1px solid var(--tint); }
  .site-header.open .nav .nav-only { display: block; }
  .site-header.open .nav .btn { display: inline-flex; margin: 12px 24px; justify-content: center; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { max-width: none; margin-inline: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__art { order: -1; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step:not(:last-child)::after { display: none; }
  .why, .contact { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .eligibility { padding: 28px; }
  .why__img { order: -1; }
  .pricing, .vehicles { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .features { grid-template-columns: 1fr; }
  .quote { flex-direction: column; text-align: center; padding: 28px; gap: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .cta-banner { padding: 28px; }
  .why { padding: 26px; }
  .container { padding-inline: 18px; }
}
