:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --line: #e1e5e9;
  --surface: #fff;
  --canvas: #fbfcfd;
  --soft: #f6f8fa;
  --green: #8cff01;
  --cyan: #0aaef0;
  --orange: #ff7a1a;
  --danger: #d02419;
  --blue-soft: #eaf4ff;
  --shadow: 0 16px 38px rgb(25 39 65 / 8%);
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--canvas); color: var(--ink); font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; }
body.search-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgb(10 174 240 / 45%); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.topbar { position: sticky; z-index: 30; top: 0; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(28px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid rgb(225 229 233 / 85%); background: rgb(255 255 255 / 95%); backdrop-filter: blur(16px); }
.brand, .account-chip, .review-pill { min-height: 44px; text-decoration: none; }
.brand { display: inline-flex; min-width: 44px; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.review-pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; background: white; box-shadow: var(--shadow); font-size: 12px; font-weight: 800; }
.review-pill span { width: 8px; height: 8px; border-radius: 50%; background: #2864c7; }
.account-chip { display: flex; min-width: 44px; align-items: center; justify-content: flex-end; gap: 12px; }
.account-copy { display: grid; text-align: right; }
.account-copy strong { max-width: 220px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.account-copy span { color: var(--muted); font-size: 10px; }
.initials { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #0e1b0c; color: white; font-size: 12px; font-weight: 800; }
.shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 118px; }
[data-dashboard-content]:not([hidden]) { display: flex; flex-direction: column; }
.desktop-search-wrap { position: relative; z-index: 20; order: 1; margin-bottom: 28px; }
.hero { order: 2; }
.advisor-strip { order: 3; }
[data-processes-section] { order: 4; }
[data-flow-section] { order: 5; }
[data-service-icons-section] { order: 6; }
[data-services-section] { order: 7; }
[data-compliance-strip] { order: 8; }
[data-vehicles-section] { order: 9; }
[data-nearby-section] { order: 10; }
[data-recommended-section] { order: 11; }
[data-brands-section] { order: 12; }
[data-benefits-section] { order: 13; }
.partial-notice { order: 14; }
.desktop-search { display: flex; min-height: 58px; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 0 22px; background: white; box-shadow: var(--shadow); }
.desktop-search span { color: #0e1b0c; font-size: 30px; line-height: 1; transform: rotate(-20deg); }
.desktop-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 700; }
.desktop-search input::placeholder { color: #667085; opacity: 1; }
.vehicle-search-results { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 22px 54px rgb(16 26 13 / 16%); }
.vehicle-search-results.is-desktop { position: absolute; z-index: 25; top: calc(100% + 8px); right: 0; left: 0; max-height: min(520px, 70vh); overflow-y: auto; }
.vehicle-search-list { display: grid; }
.vehicle-search-result { display: grid; min-height: 96px; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding: 10px 14px; text-decoration: none; }
.vehicle-search-result:hover, .vehicle-search-result:focus-visible { background: #f6f9f5; }
.vehicle-search-result img { width: 112px; height: 76px; border-radius: 12px; background: var(--soft); object-fit: contain; }
.vehicle-search-copy, .vehicle-search-price { display: grid; min-width: 0; gap: 4px; }
.vehicle-search-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.vehicle-search-copy small, .vehicle-search-copy span, .vehicle-search-price small { color: var(--muted); font-size: 10px; }
.vehicle-search-price { justify-items: end; text-align: right; }
.vehicle-search-price strong { font-size: 13px; white-space: nowrap; }
.vehicle-search-state { margin: 0; padding: 24px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.vehicle-search-state.is-loading { color: var(--ink); font-weight: 700; }
.vehicle-search-all { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 14px; color: #155a77; font-size: 12px; font-weight: 800; text-align: center; text-underline-offset: 3px; }
.section { margin-top: 34px; scroll-margin-top: 92px; }
.section.centered .section-head { justify-content: center; text-align: center; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 4px 18px; }
.section-head h2 { margin: 0; font-size: clamp(25px, 3vw, 35px); letter-spacing: -.045em; line-height: 1.08; }
.section-head p { max-width: 760px; margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.section-action { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 14px; padding: 10px 18px; background: var(--cyan); color: #05283b; font-size: 15px; font-weight: 800; text-decoration: none; }
.eyebrow { margin: 0; color: inherit; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero { position: relative; display: grid; min-height: 338px; overflow: hidden; border-radius: 30px; background: #030503; color: white; box-shadow: 0 22px 54px rgb(16 26 13 / 18%); }
.hero::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #030503 0%, #030503 45%, rgb(3 5 3 / 82%) 55%, transparent 76%); content: ""; }
.hero-art { position: absolute; z-index: 0; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; display: flex; width: 58%; flex-direction: column; align-items: flex-start; padding: 32px 46px 30px; }
.active-pill { display: inline-flex; min-height: 30px; align-items: center; border-radius: 9px; padding: 6px 12px; background: var(--green); color: #081304; font-size: 12px; font-weight: 700; }
.hero h1 { max-width: 580px; margin: 14px 0 9px; font-size: clamp(29px, 3.3vw, 43px); line-height: 1.05; letter-spacing: -.055em; }
.hero-summary { max-width: 600px; margin: 0; color: rgb(255 255 255 / 78%); font-size: 13px; line-height: 1.65; }
.hero-process-links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 17px; }
.hero-process-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--green); font-size: 11px; font-weight: 800; text-underline-offset: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 17px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 13px; padding: 10px 17px; font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover, .section-action:hover { filter: brightness(.96); }
.button.green, .button.hero-primary, .button.hero-secondary { background: var(--green); color: #071204; }
.button.cyan { background: var(--cyan); color: #05283b; }
.button.dark { background: var(--ink); color: white; }
.button.ghost { border-color: var(--line); background: white; color: var(--ink); }
.loading-card { min-height: 338px; padding: 35px 46px; border-radius: 30px; background: #101710; }
.skeleton { overflow: hidden; border-radius: 10px; background: linear-gradient(90deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 20%), rgb(255 255 255 / 8%)); background-size: 220% 100%; animation: shimmer 1.3s linear infinite; }
.skeleton.kicker { width: 130px; height: 28px; }
.skeleton.title { width: min(520px, 80%); height: 72px; margin-top: 20px; }
.skeleton.copy { width: min(600px, 90%); height: 16px; margin-top: 15px; }
.skeleton.cta { width: 190px; height: 44px; margin-top: 76px; }
@keyframes shimmer { to { background-position: -220% 0; } }
.error-card { display: grid; min-height: 338px; place-items: center; border: 1px solid #f0d3cf; border-radius: 30px; padding: 32px; background: white; text-align: center; box-shadow: var(--shadow); }
.error-card h1 { margin: 14px 0 8px; font-size: clamp(25px, 4vw, 38px); }
.error-card p { max-width: 520px; margin: 0 auto 22px; color: var(--muted); line-height: 1.6; }
.advisor-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; border: 1px solid var(--line); border-radius: 18px; padding: 13px 16px; background: white; box-shadow: var(--shadow); }
.advisor-strip strong, .advisor-strip span { display: block; }
.advisor-strip strong { font-size: 13px; }
.advisor-strip span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.allies-section { border: 1px solid var(--line); border-radius: 28px; padding: 30px; background: white; box-shadow: var(--shadow); }
.allies-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ally-card { display: grid; min-width: 0; min-height: 112px; margin: 0; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fbfbfb; }
.ally-card a { display: grid; width: 100%; height: 100%; min-height: 112px; place-items: center; }
.ally-card img { width: 82%; height: 78px; object-fit: contain; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.benefit-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: white; text-align: left; box-shadow: var(--shadow); }
.benefit-media { overflow: hidden; aspect-ratio: 4 / 3; background: #101710; }
.benefit-media img { width: 100%; height: 100%; object-fit: cover; }
.benefit-body { display: flex; min-height: 224px; flex: 1; flex-direction: column; padding: 18px; }
.benefit-partner { color: #5f665d; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.benefit-card h3 { margin: 12px 0 0; font-size: 19px; letter-spacing: -.025em; line-height: 1.2; }
.benefit-card p { margin: 9px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.benefit-card .benefit-action { width: 100%; margin-top: auto; background: var(--green); color: #071204; }
.allies-action { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin-top: 22px; color: #155a77; font-size: 12px; font-weight: 800; text-underline-offset: 4px; }
.flow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.flow-card { position: relative; display: flex; min-height: 270px; overflow: hidden; align-items: flex-end; border: 1px solid var(--line); border-radius: 28px; padding: 18px; background-position: center; background-size: cover; text-align: left; text-decoration: none; box-shadow: var(--shadow); }
.flow-card[data-action="search_vehicle"] { background-image: url("../img/dashboard/FONDOS/card-comprar.png"); }
.flow-card[data-action="sell_vehicle"] { background-image: url("../img/dashboard/FONDOS/card-vender.png"); }
.flow-card::after { position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgb(255 255 255 / 94%)); content: ""; }
.flow-copy { position: relative; z-index: 1; }
.flow-card h3 { margin: 0; font-size: 18px; }
.flow-card p { margin: 4px 0 0; color: #4e5b70; font-size: 11px; }
.service-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.service-icons a { display: flex; min-width: 0; min-height: 220px; flex-direction: column; justify-content: flex-end; border: 1px solid #cfd5cf; border-radius: 24px; padding: 15px; background: #fdfffc; text-decoration: none; box-shadow: var(--shadow); }
.service-icons img { width: 100%; height: 130px; object-fit: contain; }
.service-icons strong { font-size: 18px; }
.service-icons span { margin-top: 6px; color: var(--muted); font-size: 11px; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.process-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.process-art { position: relative; height: 168px; overflow: hidden; background: var(--soft); }
.process-art img { width: 100%; height: 100%; object-fit: cover; }
.process-art[data-process-type="soat"] img { object-fit: contain; }
.process-status { position: absolute; bottom: 10px; left: 12px; min-height: 30px; border: 1px solid #b9d8ff; border-radius: 999px; padding: 7px 10px; background: #f0f7ff; color: #1858ad; font-size: 10px; font-weight: 800; }
.process-card[data-severity="warning"] .process-status { border-color: #ffd19f; background: #fff7e9; color: #9a4c00; }
.process-card[data-severity="danger"] .process-status { border-color: #ffc2bc; background: #fff0ef; color: #ae251d; }
.process-body { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.process-card h3 { margin: 0; font-size: 16px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.process-summary { min-height: 38px; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.steps { display: grid; gap: 8px; margin: 12px 0 14px; padding: 0; list-style: none; }
.step { display: grid; min-height: 36px; grid-template-columns: 10px minmax(0, 1fr); align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 7px 9px; background: var(--soft); color: #526075; font-size: 10px; line-height: 1.3; }
.step-icon { width: 8px; height: 8px; border-radius: 50%; background: #c6ccd4; }
.step[data-state="done"] .step-icon { background: var(--green); }
.step[data-state="active"] .step-icon { background: var(--orange); }
.process-actions { margin-top: auto; }
.process-actions .button { width: 100%; }
.availability-pill, .chip { display: inline-flex; min-height: 26px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; background: var(--soft); color: #5b677b; font-size: 9px; font-weight: 800; }
.availability-pill { align-self: flex-start; margin: 7px 14px 12px; }
.compliance-strip, .vehicle-spotlight { position: relative; overflow: hidden; margin-top: 30px; border-radius: 20px; padding: 25px 38px; background: #030503 url("../img/dashboard/FONDOS/destacado.png") center / cover; color: white; }
.compliance-strip strong { display: block; color: var(--green); font-size: 25px; }
.compliance-strip span { display: block; margin-top: 7px; font-size: 13px; font-weight: 700; line-height: 1.45; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-card, .favorite-card, .inventory-card, .utility-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.service-card { display: flex; min-height: 300px; flex-direction: column; }
.service-card > a, .favorite-card > a, .inventory-card > a { display: flex; min-height: 100%; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.service-art { position: relative; height: 160px; background: var(--soft); }
.service-art img { width: 100%; height: 100%; object-fit: contain; }
.service-art .chip { position: absolute; bottom: 9px; left: 11px; color: #195eb6; }
.service-copy { display: flex; flex: 1; flex-direction: column; padding: 13px; }
.service-copy h3, .favorite-card h3, .inventory-card h3, .utility-card h3 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.service-copy p, .favorite-card p, .inventory-card p, .utility-card p { margin: 6px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.vehicle-spotlight { display: grid; min-height: 160px; grid-template-columns: 155px minmax(0, 1fr); align-items: center; gap: 20px; }
.vehicle-spotlight img { width: 138px; height: 110px; object-fit: contain; filter: drop-shadow(0 10px 12px rgb(0 0 0 / 35%)); }
.vehicle-spotlight h2 { margin: 0; font-size: 23px; }
.vehicle-spotlight p { margin: 6px 0 16px; font-size: 11px; font-weight: 700; }
.spotlight-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.spotlight-actions a:not(.button) { min-height: 44px; padding: 12px 8px; color: var(--green); font-size: 11px; font-weight: 800; }
.favorite-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.inventory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.inventory-head-actions { display: flex; align-items: center; gap: 10px; }
.inventory-carousel-controls { display: none; align-items: center; gap: 8px; }
.inventory-carousel-controls button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; padding: 0; background: white; box-shadow: 0 8px 22px rgb(15 25 19 / 8%); cursor: pointer; }
.inventory-carousel-controls button:disabled { opacity: .38; cursor: default; }
.inventory-carousel-controls button:focus-visible { outline: 3px solid rgb(16 176 229 / 28%); outline-offset: 2px; }
.inventory-carousel-controls img { width: 20px; height: 20px; }
.inventory-carousel-controls span { min-width: 42px; color: var(--muted); font-size: 10px; font-weight: 800; text-align: center; }
.favorite-card, .inventory-card { display: flex; min-height: 280px; flex-direction: column; }
.favorite-art, .inventory-art { position: relative; height: 165px; background: var(--soft); }
.favorite-art img, .inventory-art img { width: 100%; height: 100%; object-fit: contain; }
.favorite-art .chip, .inventory-art .chip { position: absolute; bottom: 10px; left: 12px; background: white; color: #244e97; }
.favorite-copy, .inventory-copy { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.inventory-reason { min-height: auto !important; margin-top: 0 !important; color: #24618a !important; font-weight: 700; }
.category-rail { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 20px; }
.category-card { min-width: 145px; border: 1px solid var(--line); border-radius: 18px; padding: 14px 17px; background: white; box-shadow: var(--shadow); }
.category-card strong, .category-card span { display: block; }
.category-card strong { font-size: 14px; }
.category-card span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.brand-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.brand-card { display: flex; min-width: 0; min-height: 132px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 18px; padding: 10px; background: white; font-size: 10px; font-weight: 800; text-decoration: none; box-shadow: var(--shadow); }
.brand-card img { width: 76px; height: 76px; object-fit: contain; }
.resolver-card { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 14px; border: 1px solid var(--line); border-radius: 24px; padding: 14px; background: white; box-shadow: var(--shadow); }
.resolver-art { display: flex; min-height: 330px; flex-direction: column; justify-content: space-between; border-radius: 20px; padding: 20px; background: #c8efff url("../img/dashboard/FONDOS/card-horizontal-azul.png") center / cover; }
.resolver-art strong { max-width: 210px; font-size: 25px; line-height: 1.05; }
.resolver-details { min-width: 0; padding: 8px 4px; }
.resolver-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.next-steps { display: grid; gap: 8px; margin: 0 0 14px; padding: 12px; border-radius: 18px; background: var(--soft); list-style: none; }
.next-step { display: grid; min-height: 52px; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; padding: 7px 10px; background: white; }
.next-step-number { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--blue-soft); color: #2461bd; font-size: 10px; font-weight: 800; }
.next-step strong, .next-step span { display: block; font-size: 10px; }
.next-step span { margin-top: 3px; color: var(--muted); }
.resolver-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.vehicle-grid { display: grid; gap: 14px; }
.vehicle-card { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 18px; border: 1px solid var(--line); border-radius: 22px; padding: 14px; background: white; box-shadow: var(--shadow); }
.vehicle-panel { display: flex; min-height: 205px; align-items: flex-start; justify-content: flex-start; border-radius: 18px; padding: 14px; background: #c8efff url("../img/dashboard/FONDOS/card-horizontal-azul.png") center / cover; }
.vehicle-detail h3 { margin: 3px 0 6px; font-size: 22px; }
.vehicle-detail > p { margin: 0 0 10px; color: var(--muted); font-size: 11px; }
.compliance { display: grid; gap: 9px; }
.compliance-line { display: flex; min-height: 55px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; background: var(--soft); font-size: 11px; }
.compliance-line strong, .compliance-line span { display: block; }
.compliance-line small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.compliance-status { color: #16833b; font-weight: 800; }
.compliance-line.expired .compliance-status { color: var(--danger); }
.vehicle-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.vehicle-mini-grid, .utility-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.utility-card { min-height: 108px; padding: 14px; }
.utility-card a { display: block; text-decoration: none; }
.partial-notice { margin-top: 24px; border: 1px solid #eadfc1; border-radius: 16px; padding: 14px 17px; background: #fffaf0; color: #725b20; font-size: 12px; line-height: 1.5; }
.bottom-nav { position: fixed; z-index: 35; right: 12px; bottom: 10px; left: 12px; display: none; min-height: 67px; align-items: stretch; justify-content: space-around; gap: 2px; border: 1px solid rgb(216 222 214 / 96%); border-radius: 23px; padding: 6px; background: rgb(255 255 255 / 96%); box-shadow: 0 18px 50px rgb(16 25 13 / 20%); backdrop-filter: blur(18px); }
.nav-item { display: flex; min-width: 0; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 17px; padding: 5px 2px; background: transparent; color: #687168; font-size: 9px; font-weight: 700; text-decoration: none; cursor: pointer; }
.nav-item[aria-current="page"] { background: #eff3ed; color: var(--ink); }
.nav-icon { font-size: 17px; line-height: 1; }
.search-scrim { position: fixed; z-index: 50; inset: 0; border: 0; background: rgb(12 16 11 / 50%); }
.search-sheet { position: fixed; z-index: 51; right: 0; bottom: 0; left: 0; border-radius: 28px 28px 0 0; padding: 22px 18px max(28px, env(safe-area-inset-bottom)); background: white; box-shadow: 0 -22px 60px rgb(14 20 12 / 24%); }
.search-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.search-sheet h2 { margin: 0; font-size: 20px; }
.icon-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.search-input { width: 100%; min-height: 48px; margin-top: 16px; border: 1px solid #d9ded7; border-radius: 15px; padding: 12px 15px; }
.search-sheet .vehicle-search-results { max-height: min(52vh, 460px); margin-top: 10px; overflow-y: auto; border-radius: 16px; box-shadow: none; }
.search-chips { display: flex; overflow-x: auto; gap: 8px; margin-top: 13px; padding-bottom: 3px; scrollbar-width: none; }
.search-chips a { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; border-radius: 999px; padding: 9px 12px; background: #f0f3ee; font-size: 11px; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
  .process-grid, .services-grid, .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .topbar { min-height: 64px; padding: 10px 16px; }
  .topbar-actions { gap: 8px; }
  .review-pill, .account-copy { display: none; }
  .initials { width: 40px; height: 40px; }
  .shell { width: min(100% - 24px, 1240px); padding-top: 12px; }
  .desktop-search-wrap { display: none; }
  .vehicle-search-result { min-height: 88px; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 9px; }
  .vehicle-search-result img { width: 84px; height: 68px; }
  .vehicle-search-price { grid-column: 2; grid-row: 2; justify-items: start; margin-top: -20px; text-align: left; }
  .vehicle-search-price small { display: none; }
  .hero { min-height: 365px; border-radius: 26px; }
  .hero-art { top: auto; right: -115px; bottom: 0; width: 420px; height: 215px; opacity: .72; }
  .hero::before { background: linear-gradient(180deg, #030503 0%, #030503 61%, rgb(3 5 3 / 70%) 78%, transparent); }
  .hero-content { width: 100%; padding: 20px 19px; }
  .hero h1 { max-width: 100%; margin-top: 11px; font-size: clamp(25px, 7.5vw, 31px); }
  .hero-summary { max-width: 100%; font-size: 11px; line-height: 1.45; }
  .hero-process-links { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 14px; margin-top: 4px; scrollbar-width: none; }
  .hero-process-links a { min-height: 44px; flex: 0 0 auto; font-size: 9px; }
  .hero-actions { width: 100%; gap: 8px; padding-top: 8px; }
  .hero-actions .button { min-height: 44px; flex: 1 1 130px; padding: 9px 10px; }
  .loading-card, .error-card { min-height: 365px; border-radius: 26px; }
  .advisor-strip { align-items: stretch; flex-direction: column; }
  .advisor-strip .button { width: 100%; }
  .section { margin-top: 28px; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 25px; }
  .section-head p { font-size: 11px; }
  .section-action { padding: 9px 12px; font-size: 12px; }
  .inventory-section .section-head { flex-direction: column; gap: 12px; }
  .inventory-head-actions { width: 100%; justify-content: space-between; }
  .inventory-carousel-controls { display: flex; }
  .rail { display: grid; width: 100%; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr); overflow: visible; gap: 12px; padding: 0; }
  .rail > * { min-width: 0; }
  .inventory-grid.rail { grid-auto-columns: minmax(82vw, 1fr); grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 2px 8px; scroll-behavior: smooth; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .inventory-grid.rail::-webkit-scrollbar { display: none; }
  .inventory-grid.rail > * { scroll-snap-align: start; }
  .allies-section { margin-right: -2px; margin-left: -2px; border-radius: 24px; padding: 24px 14px; }
  .allies-rail { grid-auto-columns: minmax(72vw, 1fr); grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .allies-rail::-webkit-scrollbar { display: none; }
  .ally-card { min-height: 106px; scroll-snap-align: start; }
  .benefit-grid { grid-auto-columns: minmax(82vw, 1fr); grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .benefit-grid::-webkit-scrollbar { display: none; }
  .benefit-card { scroll-snap-align: start; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-card { min-height: 220px; }
  .service-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-icons a { min-height: 180px; border-radius: 20px; padding: 12px; }
  .service-icons img { height: 100px; }
  .service-icons strong { font-size: 15px; }
  .process-card { min-width: 0; }
  .compliance-strip, .vehicle-spotlight { padding: 21px; }
  .compliance-strip strong { font-size: 21px; }
  .vehicle-spotlight { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
  .vehicle-spotlight img { width: 95px; height: 90px; }
  .vehicle-spotlight h2 { font-size: 18px; }
  .brand-card { min-width: 0; }
  .resolver-card { grid-template-columns: 1fr; }
  .resolver-art { min-height: 190px; }
  .vehicle-card { grid-template-columns: 1fr; }
  .vehicle-panel { min-height: 130px; }
  .vehicle-mini-grid, .utility-grid { grid-template-columns: 1fr; }
  .bottom-nav { display: flex; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .skeleton { animation: none; } }
