/* ─────────────────────────────────────────────────────────────────────────────
 * AutoNestLane — Theme on top of Bootstrap 5
 * Brand: red #E02020, black #0d0d0d, fonts: Syne (display) + Outfit (body)
 * ──────────────────────────────────────────────────────────────────────────── */

:root {
  --anl-red: #E02020;
  --anl-red-dark: #9a0a0a;
  --anl-black: #0d0d0d;
  --anl-black-soft: #1a0505;
  --anl-bg: #f2f2f3;
  --bs-primary: var(--anl-red);
}

* { box-sizing: border-box; }

body {
  font-family: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--anl-bg);
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .fleet-title, .hero-title, .section-title {
  font-family: 'Syne', 'Outfit', sans-serif;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.brand-accent { color: var(--anl-red); }
.text-brand   { color: var(--anl-red) !important; }
.bg-brand     { background: var(--anl-red) !important; color: #fff; }
.border-brand { border-color: var(--anl-red) !important; }

.btn-brand {
  background: linear-gradient(135deg, var(--anl-red), var(--anl-red-dark));
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(224, 32, 32, .28);
  transition: all .18s ease;
}
.btn-brand:hover, .btn-brand:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(224, 32, 32, .4); }
.btn-brand:disabled { opacity: .6; transform: none; }

/* ── Header ── */
.anl-header { background: var(--anl-black); border-bottom: 2.5px solid var(--anl-red); box-shadow: 0 4px 18px rgba(0,0,0,.5); }
.anl-header .navbar-brand { color: #fff; }
.anl-header .nav-link { color: rgba(255,255,255,.55); font-weight: 600; font-size: 13.5px; padding: .5rem .85rem; border-radius: 7px; }
.anl-header .nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.anl-header .nav-link.active { color: var(--anl-red); background: rgba(224,32,32,.12); }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; background: var(--anl-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: 'Syne',sans-serif; font-weight: 800; font-size: 16px; }
.brand-wrap { line-height: 1; }
.brand-text { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; color: #fff; }
.brand-sub  { font-size: 8.5px; color: rgba(255,255,255,.35); letter-spacing: .14em; text-transform: uppercase; }

/* ── Hero ── */
.hero { background: linear-gradient(160deg, var(--anl-black), var(--anl-black-soft) 50%, var(--anl-black)); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 110%, rgba(224,32,32,.14), transparent); pointer-events: none; }
.hero-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(224,32,32,.7); display: inline-block; margin-bottom: 10px; }
.hero-title { font-size: clamp(28px, 5vw, 46px); color: #fff; margin-bottom: 12px; line-height: 1.1; }
.hero-sub { color: rgba(255,255,255,.45); font-size: 14px; max-width: 620px; margin: 0 auto 22px; line-height: 1.65; }
.hero-stats { display: flex; gap: clamp(16px, 4vw, 40px); justify-content: center; color: #fff; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; flex-wrap: wrap; }
.hero-stats > div { text-align: center; }
.hero-stats b { display: block; font-family: 'Syne',sans-serif; font-size: 24px; }
.hero-stats span { font-size: 10px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .08em; }

/* ── Fleet hero ── */
.fleet-hero { background: linear-gradient(160deg, var(--anl-black), var(--anl-black-soft) 50%, var(--anl-black)); color: #fff; padding: 48px 0 24px; }
.fleet-title { color: #fff; font-size: clamp(24px, 4vw, 38px); }
.mode-tabs { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 4px; display: inline-flex; }
.mode-tab { padding: 10px 22px; background: none; border: none; color: rgba(255,255,255,.5); font-weight: 600; font-size: 13px; border-radius: 9px; transition: .18s; cursor: pointer; font-family: inherit; }
.mode-tab.on { background: var(--anl-red); color: #fff; box-shadow: 0 2px 14px rgba(224,32,32,.4); }

/* ── Page hero ── */
.page-hero { background: linear-gradient(160deg, var(--anl-black), var(--anl-black-soft) 50%, var(--anl-black)); }

/* ── Section ── */
.section-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--anl-red); }
.section-title { font-size: clamp(22px, 3vw, 30px); color: #111; margin-top: 4px; }
.section-line { width: 36px; height: 3px; background: linear-gradient(90deg, var(--anl-red), #ff6868); border-radius: 2px; margin: 6px 0 16px; }

/* ── Car card ── */
.car-card { background: #fff; border: 1.5px solid #e4e4e8; border-radius: 14px; overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s; }
.car-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.1); border-color: #ccc; }
.car-card.is-featured { border-color: var(--anl-red); border-width: 2px; }
.car-card.is-disabled .cover-img { filter: saturate(.4) brightness(.9); }
.car-card .cover-link { background: #f0f0f0; overflow: hidden; display: block; position: relative; }
.car-card .cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.car-card:hover .cover-img { transform: scale(1.04); }
.car-card .cover-gradient { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, transparent 40%, transparent 60%, rgba(0,0,0,.2) 100%); }
.badge-feat { position: absolute; top: 0; right: 0; background: linear-gradient(135deg, var(--anl-red), #8a0000); color: #fff; font-size: 8px; font-weight: 800; padding: 5px 12px 5px 14px; border-bottom-left-radius: 10px; letter-spacing: .08em; text-transform: uppercase; z-index: 3; box-shadow: 0 2px 8px rgba(224,32,32,.4); }
.badge-offer { position: absolute; top: 10px; left: 10px; font-size: 8px; font-weight: 800; padding: 3px 9px; border-radius: 20px; letter-spacing: .07em; text-transform: uppercase; z-index: 3; color: #fff; background: #111; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.badge-status { position: absolute; top: 10px; right: 10px; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; z-index: 4; }
.card-title-wrap { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 800; color: #111; line-height: 1.2; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; background: #f5f5f5; border: 1px solid #ebebeb; border-radius: 6px; font-size: 10px; color: #555; font-weight: 500; white-space: nowrap; }
.pill i { font-size: 10px; }

/* ── Price grid ── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid #f0f0f0; padding-top: 8px; gap: 0; }
.pg-col { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-right: 1px solid #f0f0f0; }
.pg-col:last-child { border-right: none; }
.pg-col.highlight { background: linear-gradient(180deg, #fff8f8, #ffeeee); border-radius: 6px; }
.pg-lbl { font-size: 8.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #bbb; }
.pg-col.highlight .pg-lbl { color: var(--anl-red); }
.pg-val { font-size: 22px; font-weight: 800; color: #111; font-variant-numeric: tabular-nums; line-height: 1; }
.pg-col.highlight .pg-val { color: var(--anl-red); font-size: 24px; }
.pg-unit { font-size: 9px; font-weight: 600; color: #ccc; margin-top: 1px; }
.pg-col.highlight .pg-unit { color: rgba(224,32,32,.7); }

/* ── RTO pricing ── */
.rto-box { border-top: 1.5px solid #f0f0f0; margin-top: 6px; }
.rto-top { display: flex; align-items: center; justify-content: space-between; padding: 9px 0 6px; background: linear-gradient(135deg,#fff8f8,#ffeeee); padding: 9px 12px; border-radius: 8px; }
.rto-lbl { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--anl-red); }
.rto-sub { font-size: 9px; color: #c06060; margin-top: 1px; }
.rto-val { font-size: 18px; font-weight: 800; color: #111; font-variant-numeric: tabular-nums; }
.rto-cells { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 6px; }
.rto-cells > div { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border-right: 1px solid #f0f0f0; font-size: 11px; }
.rto-cells > div:last-child { border-right: none; }
.rto-cells span { font-size: 8.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #bbb; }
.rto-cells b { font-weight: 700; color: #111; font-variant-numeric: tabular-nums; }

/* ── Trust / Why / Offer / CTA cards ── */
.trust-item i { font-size: 24px; color: var(--anl-red); display: block; margin-bottom: 6px; }
.trust-item { background: #fff; border: 1px solid #eee; border-radius: 13px; padding: 18px 10px; transition: .2s; }
.trust-item:hover { border-color: var(--anl-red); box-shadow: 0 4px 14px rgba(224,32,32,.08); transform: translateY(-1px); }
.trust-item b { display: block; font-size: 13px; margin-bottom: 2px; }
.trust-item small { color: #888; font-size: 11px; }

.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 13px; padding: 18px 12px; text-align: center; color: #fff; transition: .2s; }
.why-card:hover { background: rgba(224,32,32,.08); border-color: rgba(224,32,32,.25); }
.why-ico { font-size: 26px; margin-bottom: 8px; }
.why-ttl { font-size: 12.5px; font-weight: 700; }
.why-desc { font-size: 10.5px; color: rgba(255,255,255,.45); line-height: 1.5; }

.offer-card { border-radius: 13px; padding: 18px 18px 12px; color: #fff; position: relative; overflow: hidden; }
.offer-card.theme-dark   { background: linear-gradient(135deg,#081624,#0f2d4c); }
.offer-card.theme-purple { background: linear-gradient(135deg,#3d1a6e,#5e2d9a); }
.offer-card.theme-orange { background: linear-gradient(135deg,#7a3000,#c05200); }
.offer-card.theme-green  { background: linear-gradient(135deg,#0a3d1a,#146b2e); }
.offer-tag { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; background: rgba(255,255,255,.15); display: inline-block; margin-bottom: 10px; }
.offer-icon { font-size: 32px; position: absolute; right: 14px; top: 12px; opacity: .3; }
.offer-title { font-family: 'Syne',sans-serif; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.offer-desc { font-size: 12px; opacity: .75; line-height: 1.5; margin-bottom: 12px; }
.offer-foot { border-top: 1px solid rgba(255,255,255,.1); padding-top: 10px; margin-top: 6px; }
.offer-price { font-size: 13px; font-weight: 800; }
.offer-cta { font-size: 11px; font-weight: 700; color: #fff; opacity: .8; text-decoration: none; }
.offer-cta:hover { opacity: 1; color: #fff; }

.cta-banner { background: linear-gradient(135deg,#fff,#fff5f5); border-top: 3px solid var(--anl-red); }
.cta-title { font-family: 'Syne',sans-serif; font-size: clamp(22px,3vw,32px); font-weight: 800; color: #111; }
.cta-sub { color: #6a7488; margin-bottom: 16px; }

/* ── FAQ ── */
.faq-tab { padding: 7px 14px; border-radius: 20px; background: #fff; border: 1.5px solid #e8e8e8; font-size: 12px; font-weight: 600; color: #555; text-decoration: none; transition: .18s; }
.faq-tab:hover { color: var(--anl-red); border-color: var(--anl-red); background: #fff5f5; }
.faq-tab.active { color: #fff; background: var(--anl-red); border-color: var(--anl-red); }
.accordion-button:not(.collapsed) { color: var(--anl-red); background: #fff5f5; box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(224,32,32,.2); border-color: transparent; }
.faq-bullets { padding-left: 1rem; }
.faq-bullets li::marker { color: var(--anl-red); }

/* ── Contact ── */
.ci-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #f5f5f5; text-decoration: none; color: inherit; }
.ci-row:last-child { border-bottom: none; }
.ci-ico { width: 38px; height: 38px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.ci-lbl { font-size: 10.5px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .06em; }

/* ── About ── */
.stat-num { font-family: 'Syne',sans-serif; font-size: 32px; font-weight: 800; line-height: 1; }
.svc-card { background: #f8f8f8; border: 1px solid #eee; border-radius: 13px; transition: .2s; }
.svc-card:hover { border-color: var(--anl-red); box-shadow: 0 4px 14px rgba(224,32,32,.08); transform: translateY(-1px); }
.svc-ico { font-size: 24px; margin-bottom: 6px; }
.step-card { background: #f8f8f8; border: 1px solid #eee; border-radius: 11px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--anl-red), var(--anl-red-dark)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; box-shadow: 0 2px 8px rgba(224,32,32,.3); }
.why-ck { background: #fff5f5; border: 1px solid #ffd8d8; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #4a0000; font-weight: 600; }
.vm-card { border: 1px solid rgba(255,255,255,.08); }
.vm-card.vm-vis { background: linear-gradient(135deg,var(--anl-black),var(--anl-black-soft)); border-color: rgba(224,32,32,.2); }
.vm-card.vm-mis { background: linear-gradient(135deg,#0a1f0a,#0d3d1a); border-color: rgba(34,197,94,.15); }
.vm-ico { font-size: 28px; }
.vm-ttl { font-family: 'Syne',sans-serif; font-size: 17px; font-weight: 800; color: #fff; margin: 6px 0 8px; }
.cta-box { background: linear-gradient(135deg,#fff,#fff5f5); border: 1px solid #ffd8d8; }

/* ── Car detail ── */
.car-detail-img { max-height: 440px; object-fit: cover; width: 100%; }
.car-detail-title { font-family: 'Syne',sans-serif; font-weight: 800; font-size: clamp(22px,3vw,30px); margin: 4px 0 6px; }
.spec-tile { background: #f8f8f8; border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; text-align: center; }
.spec-tile small { display: block; font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.spec-tile b { font-size: 13px; font-weight: 700; color: #111; }

/* ── Footer ── */
.anl-footer { background: var(--anl-black); border-top: 3px solid var(--anl-red); }
.footer-col-title { font-size: 11px; font-weight: 800; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.link-light-muted { color: rgba(255,255,255,.45); text-decoration: none; display: inline-block; padding: 3px 0; }
.link-light-muted:hover { color: #fff; }

/* ── Sticky WA / Chat FAB ── */
.wa-sticky { position: fixed; bottom: 86px; left: 16px; z-index: 1030; background: #25D366; color: #fff; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(37,211,102,.45); font-size: 24px; text-decoration: none; }
.wa-sticky:hover { color: #fff; transform: scale(1.05); }
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 1030; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg,var(--anl-red),var(--anl-red-dark)); color: #fff; border: none; font-size: 22px; box-shadow: 0 6px 22px rgba(224,32,32,.45); display: flex; align-items: center; justify-content: center; }
.chat-fab:hover { transform: scale(1.08); }
.chat-panel { position: fixed; right: 18px; bottom: 82px; width: 340px; max-height: 520px; background: #fff; border-radius: 16px; box-shadow: 0 18px 56px rgba(0,0,0,.22); z-index: 1030; display: flex; flex-direction: column; overflow: hidden; }
.chat-head { background: linear-gradient(135deg,var(--anl-black),var(--anl-black-soft)); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--anl-red); }
.chat-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; margin-right: 4px; }
.chat-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.55; word-break: break-word; }
.chat-msg.bot  { background: #f5f5f5; color: #111; border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: linear-gradient(135deg,var(--anl-red),var(--anl-red-dark)); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-quick { display: flex; gap: 6px; padding: 8px 10px; overflow-x: auto; border-top: 1px solid #eee; white-space: nowrap; }
.chat-quick::-webkit-scrollbar { display: none; }
.qchip { padding: 5px 10px; border-radius: 20px; border: 1.5px solid #f0d0d0; background: #fff5f5; font-size: 11px; font-weight: 600; color: var(--anl-red); cursor: pointer; flex-shrink: 0; }
.chat-input-row { display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid #eee; }

@media (max-width: 768px) {
  .chat-panel { right: 10px; left: 10px; width: auto; max-height: 70vh; }
  .wa-sticky  { bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Focus ring ── */
:focus-visible { outline: 2px solid var(--anl-red); outline-offset: 2px; }
