:root {
  --navy: #071c35;
  --navy-2: #0b2b50;
  --blue: #0d65b8;
  --blue-2: #2785d5;
  --ink: #132033;
  --muted: #657387;
  --line: #dfe5ec;
  --surface: #f4f6f9;
  --white: #ffffff;
  --green: #1aa866;
  --shadow-sm: 0 10px 30px rgba(7, 28, 53, .08);
  --shadow-md: 0 24px 70px rgba(7, 28, 53, .16);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--blue); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
  background: rgba(7, 28, 53, .94);
  backdrop-filter: blur(18px);
}
.header-inner { height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 50%;
  font-size: 14px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.7px;
  background: linear-gradient(145deg, #1476c9, #053d75);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.08);
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 16px; letter-spacing: .025em; }
.brand-copy small { margin-top: 5px; font-size: 9px; font-weight: 800; letter-spacing: .31em; opacity: .72; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { position: relative; font-size: 14px; font-weight: 650; color: rgba(255,255,255,.78); }
.desktop-nav a::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; content: ""; transform: scaleX(0); background: var(--blue-2); transition: transform .2s ease; }
.desktop-nav a:hover { color: #fff; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(26,168,102,.24);
  transition: transform .2s ease, filter .2s ease;
}
.header-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.header-cta svg { width: 18px; height: 18px; fill: currentColor; }

.hero { position: relative; overflow: hidden; min-height: 620px; color: #fff; background: linear-gradient(120deg, #06182d 0%, #08294c 52%, #0b3865 100%); }
.hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero-glow-one { top: -300px; right: -160px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(27,126,207,.28), transparent 67%); }
.hero-glow-two { bottom: -420px; left: 16%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(28,106,176,.18), transparent 68%); }
.hero-grid { position: relative; z-index: 2; display: grid; min-height: 620px; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 18px; }
.hero-copy { position: relative; z-index: 4; padding: 74px 0 82px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: #a9d4f7; }
.eyebrow i { width: 19px; height: 2px; border-radius: 2px; background: var(--blue-2); }
.eyebrow.dark { color: var(--blue); }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(42px, 5vw, 69px); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: #58a9e9; font-style: normal; }
.hero-copy > p { max-width: 590px; margin: 25px 0 28px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.65; }
.hero-search { display: flex; width: min(100%, 650px); min-height: 64px; align-items: center; padding: 7px 7px 7px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.hero-search svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: #7a8797; stroke-width: 2; stroke-linecap: round; }
.hero-search input { width: 100%; min-width: 0; padding: 10px 14px; border: 0; outline: 0; color: var(--ink); }
.hero-search input::placeholder { color: #8b96a5; }
.hero-search button { flex: 0 0 auto; height: 50px; padding: 0 22px; border: 0; border-radius: 10px; color: #fff; background: var(--blue); font-size: 14px; font-weight: 800; cursor: pointer; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.hero-highlights span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 700; }
.hero-highlights svg { width: 17px; height: 17px; fill: none; stroke: #5db0ef; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; min-height: 520px; align-self: end; }
.hero-ring { position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.ring-one { right: -65px; bottom: -130px; width: 560px; height: 560px; }
.ring-two { right: 30px; bottom: -38px; width: 390px; height: 390px; }
.car-silhouette { position: absolute; z-index: 2; right: -75px; bottom: 45px; width: 760px; filter: drop-shadow(0 26px 28px rgba(0,0,0,.26)); animation: car-enter .9s cubic-bezier(.2,.8,.2,1) both; }
.car-silhouette svg { width: 100%; }
@keyframes car-enter { from { opacity: 0; transform: translateX(55px); } to { opacity: 1; transform: translateX(0); } }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; background: rgba(8, 35, 63, .68); box-shadow: 0 18px 46px rgba(0,0,0,.18); backdrop-filter: blur(14px); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 13px; }
.floating-card small { margin-top: 4px; color: rgba(255,255,255,.58); font-size: 10px; }
.floating-card-top { top: 58px; right: 30px; }
.floating-card-bottom { right: 58px; bottom: 58px; }
.floating-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #69b4ed; background: rgba(37,133,213,.16); }
.floating-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stock-live { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: rgba(26,168,102,.14); }
.stock-live i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #25d17d; box-shadow: 0 0 0 6px rgba(37,209,125,.12); }
.stock-live i::after { position: absolute; inset: -4px; content: ""; border: 1px solid rgba(37,209,125,.5); border-radius: 50%; animation: pulse 1.7s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.8); } }

.quick-strip { position: relative; z-index: 6; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 35px rgba(7,28,53,.05); }
.quick-strip-inner { display: flex; min-height: 100px; align-items: center; gap: 12px; }
.quick-label { display: grid; min-width: 220px; margin-right: auto; }
.quick-label span { margin-bottom: 4px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.quick-label strong { font-size: 15px; }
.quick-chip { display: inline-flex; height: 46px; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; color: #415066; background: #fff; font-size: 12px; font-weight: 750; cursor: pointer; transition: .2s ease; }
.quick-chip:hover, .quick-chip.active { border-color: #9bc8ec; color: var(--blue); background: #f1f8fd; transform: translateY(-1px); }
.quick-chip > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; color: var(--blue); background: #eaf4fc; font-size: 12px; font-weight: 900; }
.favorites-chip b { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 999px; color: #fff; background: var(--navy); font-size: 10px; }

.inventory-section { padding: 85px 0 105px; background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 0 0 10px; color: var(--navy); font-size: clamp(30px, 3.2vw, 45px); line-height: 1.06; letter-spacing: -.04em; }
.section-heading p { max-width: 690px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-heading.centered { justify-content: center; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered p { margin-inline: auto; }
.sync-status { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #cfe3d8; border-radius: 999px; color: #287b51; background: #edf8f2; font-size: 11px; font-weight: 750; }
.sync-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.sync-status.error { border-color: #efd5d5; color: #aa4545; background: #fff4f4; }
.sync-status.error .sync-dot { background: #cf4b4b; }
.sync-status.demo { border-color: #ded8c6; color: #776527; background: #fff9e8; }
.sync-status.demo .sync-dot { background: #c29b26; }

.inventory-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 98px; padding: 23px; border: 1px solid #e2e7ed; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters-head > div { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.filters-head svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.filters-head button { padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.filter-group { margin-top: 19px; }
.filter-group label { display: block; margin-bottom: 8px; color: #4f5d70; font-size: 11px; font-weight: 800; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.filters input[type="search"], .filters select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: #fff; font-size: 12px; transition: border .2s, box-shadow .2s; }
.filters input[type="search"]:focus, .filters select:focus { border-color: #83b9e3; box-shadow: 0 0 0 3px rgba(13,101,184,.09); }
.filters select { padding: 0 31px 0 11px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #788596 50%), linear-gradient(135deg, #788596 50%, transparent 50%); background-position: calc(100% - 15px) 18px, calc(100% - 11px) 18px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; top: 50%; left: 12px; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: #8793a3; stroke-width: 2; stroke-linecap: round; }
.input-icon input { padding: 0 10px 0 36px; }
.range-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.range-label output { color: var(--blue); font-size: 11px; font-weight: 850; }
.range { width: 100%; accent-color: var(--blue); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; margin-top: 3px; color: #94a0ae; font-size: 9px; }
.check-row { display: flex !important; align-items: center; gap: 9px; margin-top: 22px; color: #4a586b !important; cursor: pointer; }
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.fake-check { display: grid; width: 19px; height: 19px; flex: 0 0 auto; place-items: center; border: 1px solid #c8d0da; border-radius: 6px; background: #fff; }
.fake-check svg { width: 13px; height: 13px; opacity: 0; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.check-row input:checked + .fake-check { border-color: var(--blue); background: var(--blue); }
.check-row input:checked + .fake-check svg { opacity: 1; }
.mobile-filter-apply { display: none; }
.results-area { min-width: 0; }
.results-toolbar { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.results-toolbar > div:first-child { font-size: 13px; }
.results-toolbar > div:first-child strong { color: var(--navy); }
.results-toolbar > div:first-child span { color: var(--muted); }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.toolbar-actions label { color: #7a8696; font-size: 11px; font-weight: 650; }
.toolbar-actions select { height: 39px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 9px; outline: none; color: #435166; background: #fff; font-size: 11px; font-weight: 700; }
.mobile-filter-button { display: none; }
.vehicle-grid, .loading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vehicle-card { overflow: hidden; border: 1px solid #e1e7ed; border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(7,28,53,.055); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.vehicle-card:hover { transform: translateY(-4px); border-color: #cad9e6; box-shadow: 0 22px 50px rgba(7,28,53,.12); }
.vehicle-media { position: relative; overflow: hidden; aspect-ratio: 4 / 2.85; background: #e8edf3; cursor: pointer; }
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.vehicle-card:hover .vehicle-media img { transform: scale(1.035); }
.vehicle-badges { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.vehicle-badge { padding: 6px 9px; border-radius: 7px; color: #fff; background: rgba(7,28,53,.84); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.vehicle-badge.highlight { background: var(--blue); }
.favorite-button { position: absolute; z-index: 3; top: 11px; right: 11px; display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; background: rgba(7,28,53,.48); cursor: pointer; backdrop-filter: blur(8px); transition: .2s ease; }
.favorite-button:hover { transform: scale(1.05); background: rgba(7,28,53,.72); }
.favorite-button.active { border-color: #fff; color: #fff; background: #d74957; }
.favorite-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.favorite-button.active svg { fill: currentColor; }
.photo-count { position: absolute; right: 11px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; color: #fff; background: rgba(7,28,53,.68); font-size: 9px; font-weight: 700; backdrop-filter: blur(7px); }
.photo-count svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.vehicle-content { padding: 18px; }
.vehicle-brand { margin-bottom: 5px; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.vehicle-content h3 { margin: 0; color: var(--navy); font-size: 18px; line-height: 1.2; letter-spacing: -.025em; }
.vehicle-version { min-height: 34px; margin: 5px 0 14px; color: #707d8d; font-size: 11px; line-height: 1.45; }
.vehicle-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 13px 0; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.vehicle-specs span { min-width: 0; color: #5d6b7e; font-size: 9px; font-weight: 650; text-align: center; }
.vehicle-specs span + span { border-left: 1px solid #e6ebf0; }
.vehicle-specs b { display: block; overflow: hidden; margin-top: 3px; color: #27374d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.vehicle-price-label { display: block; margin-top: 15px; color: #8793a2; font-size: 9px; }
.vehicle-price { min-height: 31px; margin-top: 2px; color: var(--navy); font-size: 23px; font-weight: 900; letter-spacing: -.035em; }
.vehicle-price.consult { display: flex; align-items: center; font-size: 16px; }
.vehicle-actions { display: grid; grid-template-columns: 1fr 44px; gap: 8px; margin-top: 14px; }
.details-button { height: 43px; border: 0; border-radius: 10px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 850; cursor: pointer; transition: filter .2s; }
.details-button:hover { filter: brightness(.93); }
.card-whatsapp { display: grid; height: 43px; place-items: center; border: 1px solid #cfe7da; border-radius: 10px; color: var(--green); background: #eff9f4; cursor: pointer; }
.card-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.loading-grid[hidden] { display: none; }
.skeleton-card { overflow: hidden; height: 430px; padding: 0 18px 20px; border: 1px solid #e6eaf0; border-radius: var(--radius); background: #fff; }
.skeleton-card i { display: block; height: 210px; margin: 0 -18px 18px; background: linear-gradient(90deg, #edf0f4 25%, #f7f8fa 50%, #edf0f4 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-card b, .skeleton-card span { display: block; border-radius: 5px; background: #edf0f4; }
.skeleton-card b { width: 65%; height: 20px; }
.skeleton-card span { width: 90%; height: 11px; margin-top: 12px; }
.skeleton-card span:last-child { width: 50%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { padding: 70px 30px; border: 1px dashed #cdd6e0; border-radius: var(--radius); text-align: center; background: rgba(255,255,255,.6); }
.empty-icon { display: grid; width: 60px; height: 60px; margin: 0 auto 18px; place-items: center; border-radius: 50%; color: var(--blue); background: #e8f3fb; font-size: 30px; }
.empty-state h3 { margin: 0; color: var(--navy); }
.empty-state p { margin: 9px 0 20px; color: var(--muted); font-size: 13px; }
.empty-state button, .load-more-wrap button { height: 42px; padding: 0 19px; border: 1px solid var(--blue); border-radius: 9px; color: var(--blue); background: transparent; font-size: 11px; font-weight: 850; cursor: pointer; }
.load-more-wrap { padding-top: 28px; text-align: center; }

.benefits { padding: 95px 0; color: #fff; background: var(--navy); }
.benefits .section-heading h2 { color: #fff; }
.benefits .section-heading p { color: rgba(255,255,255,.61); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 43px; }
.benefit-grid article { padding: 27px; border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); background: rgba(255,255,255,.035); transition: transform .2s, background .2s; }
.benefit-grid article:hover { transform: translateY(-4px); background: rgba(255,255,255,.06); }
.benefit-grid article > span { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 13px; color: #62b2ee; background: rgba(39,133,213,.13); }
.benefit-grid svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit-grid h3 { margin: 19px 0 9px; font-size: 16px; }
.benefit-grid p { margin: 0; color: rgba(255,255,255,.57); font-size: 12px; line-height: 1.7; }

.trade-section { padding: 80px 0; background: #eaf0f6; }
.trade-card { position: relative; display: grid; overflow: hidden; min-height: 360px; grid-template-columns: 1fr 1fr; align-items: center; border-radius: 28px; color: #fff; background: linear-gradient(120deg, #0a3159, #0d65b8); box-shadow: var(--shadow-md); }
.trade-card::before { position: absolute; top: -200px; right: -90px; width: 520px; height: 520px; content: ""; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.trade-copy { position: relative; z-index: 2; padding: 55px 65px; }
.trade-copy h2 { margin: 0 0 13px; font-size: clamp(32px, 4vw, 50px); line-height: 1; letter-spacing: -.04em; }
.trade-copy p { max-width: 520px; margin: 0 0 25px; color: rgba(255,255,255,.71); font-size: 14px; line-height: 1.7; }
.secondary-cta { display: inline-flex; height: 48px; align-items: center; gap: 13px; padding: 0 19px; border: 0; border-radius: 10px; color: var(--navy); background: #fff; font-size: 12px; font-weight: 850; cursor: pointer; }
.secondary-cta span { font-size: 18px; }
.trade-art { position: relative; z-index: 2; align-self: end; padding-right: 25px; }
.trade-art svg { width: 100%; }

.site-footer { color: #fff; background: #041425; }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr 1fr 1fr; gap: 50px; padding: 65px 0 50px; }
.footer-brand p { max-width: 320px; margin: 20px 0 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.7; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-main h3 { margin: 0 0 7px; font-size: 12px; }
.footer-main a, .footer-main span, .footer-link { padding: 0; border: 0; color: rgba(255,255,255,.5); background: transparent; font-size: 11px; text-align: left; }
.footer-main a:hover, .footer-link:hover { color: #fff; cursor: pointer; }
.footer-bottom { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.36); font-size: 9px; }

.floating-whatsapp { position: fixed; z-index: 40; right: 22px; bottom: 22px; display: grid; width: 56px; height: 56px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 12px 30px rgba(26,168,102,.35); cursor: pointer; transition: transform .2s; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.03); }
.floating-whatsapp svg { width: 29px; height: 29px; fill: currentColor; }

.modal { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 26px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,14,26,.78); backdrop-filter: blur(7px); }
.modal-dialog { position: relative; z-index: 2; overflow: auto; width: min(1040px, 100%); max-height: calc(100vh - 52px); border-radius: 22px; background: #fff; box-shadow: 0 34px 100px rgba(0,0,0,.4); }
.modal-close { position: absolute; z-index: 5; top: 12px; right: 12px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; color: var(--navy); background: rgba(255,255,255,.92); font-size: 25px; line-height: 1; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,.13); }
.modal-vehicle-grid { display: grid; grid-template-columns: 1.1fr .9fr; }
.modal-gallery { position: relative; min-height: 520px; background: #e9edf2; }
.modal-main-image { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.modal-thumbs { position: absolute; right: 16px; bottom: 16px; left: 16px; display: flex; gap: 8px; overflow-x: auto; padding: 5px; border-radius: 12px; background: rgba(7,28,53,.62); backdrop-filter: blur(10px); }
.modal-thumb { width: 62px; height: 45px; flex: 0 0 auto; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 7px; background: #fff; cursor: pointer; }
.modal-thumb.active { border-color: #fff; }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-details { padding: 40px 37px; }
.modal-details .vehicle-brand { margin-bottom: 8px; }
.modal-details h2 { margin: 0; color: var(--navy); font-size: 32px; line-height: 1.05; letter-spacing: -.04em; }
.modal-version { margin: 8px 0 22px; color: var(--muted); font-size: 13px; }
.modal-price-block { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal-price-block small { display: block; margin-bottom: 3px; color: #8490a0; font-size: 10px; }
.modal-price-block strong { color: var(--navy); font-size: 30px; letter-spacing: -.035em; }
.modal-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.modal-spec { padding: 11px; border-radius: 10px; background: var(--surface); }
.modal-spec small { display: block; color: #8a96a5; font-size: 9px; }
.modal-spec strong { display: block; overflow: hidden; margin-top: 4px; color: #354359; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.modal-description { margin: 18px 0; color: #5d6b7e; font-size: 12px; line-height: 1.65; }
.modal-options h3 { margin: 0 0 10px; color: var(--navy); font-size: 13px; }
.option-list { display: flex; flex-wrap: wrap; gap: 7px; max-height: 125px; overflow: auto; }
.option-list span { padding: 7px 9px; border: 1px solid #dce5ed; border-radius: 7px; color: #566477; background: #fafbfd; font-size: 9px; }
.modal-actions { display: grid; grid-template-columns: 1fr 48px; gap: 9px; margin-top: 24px; }
.modal-whatsapp { height: 48px; border: 0; border-radius: 10px; color: #fff; background: var(--green); font-size: 12px; font-weight: 850; cursor: pointer; }
.modal-favorite { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: #657387; background: #fff; cursor: pointer; }
.modal-favorite.active { color: #d74957; background: #fff3f4; }
.modal-favorite svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.modal-favorite.active svg { fill: currentColor; }
.privacy-dialog { width: min(640px, 100%); }
.privacy-content { padding: 45px; }
.privacy-content h2 { margin: 0 0 20px; color: var(--navy); font-size: 34px; letter-spacing: -.04em; }
.privacy-content p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.toast { position: fixed; z-index: 200; right: 22px; bottom: 90px; max-width: 320px; padding: 13px 16px; border-radius: 11px; color: #fff; background: var(--navy); font-size: 11px; font-weight: 700; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.mobile-filter-overlay { display: none; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr .85fr; }
  .car-silhouette { right: -180px; width: 700px; }
  .floating-card-top { right: -10px; }
  .floating-card-bottom { right: 0; }
  .quick-label { display: none; }
  .quick-strip-inner { justify-content: center; }
  .vehicle-grid, .loading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .desktop-nav { display: none; }
  .header-inner { height: 69px; }
  .header-cta { margin-left: auto; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 0 45px; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero h1, .hero-copy > p, .hero-search { margin-right: auto; margin-left: auto; }
  .hero-highlights { justify-content: center; }
  .hero-visual { min-height: 330px; }
  .car-silhouette { right: 50%; bottom: 5px; width: min(760px, 130vw); transform: translateX(50%); animation: none; }
  .floating-card-top { top: 5px; right: 4%; }
  .floating-card-bottom { right: auto; bottom: 25px; left: 2%; }
  .quick-strip-inner { overflow-x: auto; justify-content: flex-start; padding: 16px 0; scrollbar-width: none; }
  .quick-strip-inner::-webkit-scrollbar { display: none; }
  .quick-chip { flex: 0 0 auto; }
  .inventory-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    z-index: 120;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 88vh;
    overflow: auto;
    border-radius: 24px 24px 0 0;
    transform: translateY(105%);
    transition: transform .28s ease;
  }
  .filters.mobile-open { transform: translateY(0); }
  .mobile-filter-overlay { position: fixed; z-index: 110; inset: 0; background: rgba(3,14,26,.62); }
  .mobile-filter-overlay.open { display: block; }
  .mobile-filter-apply { display: block; width: 100%; height: 47px; margin-top: 23px; border: 0; border-radius: 10px; color: #fff; background: var(--blue); font-size: 12px; font-weight: 850; }
  .mobile-filter-button { display: inline-flex; height: 39px; align-items: center; gap: 6px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); background: #fff; font-size: 11px; font-weight: 800; }
  .mobile-filter-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .trade-card { grid-template-columns: 1fr; }
  .trade-copy { padding: 48px 42px 20px; text-align: center; }
  .trade-copy .eyebrow { justify-content: center; }
  .trade-copy p { margin-right: auto; margin-left: auto; }
  .trade-art { width: min(520px, 90%); margin: 0 auto; padding: 0; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-main > div:last-child { display: none; }
  .modal-vehicle-grid { grid-template-columns: 1fr; }
  .modal-gallery, .modal-main-image { min-height: 360px; }
}

@media (max-width: 600px) {
  .header-cta { width: 43px; height: 43px; justify-content: center; padding: 0; border-radius: 50%; }
  .header-cta span, .header-cta { font-size: 0; }
  .header-cta svg { width: 21px; height: 21px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 14px; }
  .hero-copy { padding-top: 57px; }
  .hero h1 { font-size: 43px; }
  .hero-copy > p { font-size: 15px; }
  .hero-search { display: grid; grid-template-columns: 24px 1fr; padding: 9px 10px 10px 16px; }
  .hero-search button { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
  .hero-highlights { gap: 13px; }
  .hero-visual { min-height: 260px; }
  .car-silhouette { width: 150vw; }
  .floating-card-top { display: none; }
  .floating-card-bottom { bottom: 10px; }
  .inventory-section { padding: 67px 0 80px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 34px; }
  .sync-status { width: max-content; margin-top: 16px; }
  .results-toolbar { align-items: flex-end; }
  .toolbar-actions { flex-wrap: wrap; justify-content: flex-end; }
  .toolbar-actions label { display: none; }
  .vehicle-grid, .loading-grid { grid-template-columns: 1fr; }
  .vehicle-media { aspect-ratio: 4 / 2.65; }
  .vehicle-content { padding: 19px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefits { padding: 75px 0; }
  .trade-section { padding: 45px 0; }
  .trade-copy { padding: 43px 25px 12px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 50px 0 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: grid; padding: 18px 0; line-height: 1.5; }
  .modal { padding: 0; align-items: end; }
  .modal-dialog { width: 100%; max-height: 94vh; border-radius: 22px 22px 0 0; }
  .modal-gallery, .modal-main-image { min-height: 280px; }
  .modal-details { padding: 30px 23px; }
  .modal-details h2 { font-size: 28px; }
  .privacy-content { padding: 38px 25px; }
  .floating-whatsapp { right: 15px; bottom: 15px; width: 53px; height: 53px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
