:root{color-scheme:light;--navy:#06182e;--blue:#0c2948;--orange:#f65a08;--muted:#647083;--bg:#f7f7f5;--white:#fff;--border:#e1e5e9}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding:90px}body{margin:0;background:var(--bg);color:var(--navy);font-family:Segoe UI,Arial,sans-serif;font-size:16px}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}header{background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px max(3.6vw,20px);position:sticky;top:0;z-index:10}nav{display:flex;gap:24px;font-weight:650;font-size:15px}nav a:hover,footer a:hover{color:#ff7838}.brand{display:flex;gap:12px;align-items:center;font-size:clamp(11px,1.35vw,18px);font-weight:850;white-space:nowrap}.brand>b{padding:8px 12px;background:var(--orange);color:white;border-radius:11px;font-size:26px;font-style:italic;font-weight:950}.brand small{display:block;font-size:11px;letter-spacing:2px;margin-top:3px;color:#f68b50}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;background:var(--orange);color:#fff;border:0;border-radius:9px;font-weight:750;cursor:pointer;text-align:center;white-space:nowrap;transition:.15s}.btn:hover{background:#dd4800}.outline{background:#102b4870;border:2px solid #fff}.outline-dark{color:var(--navy);background:white;border:1px solid var(--border)}.outline-dark:hover{background:#eee}.hero{background:linear-gradient(90deg,#06182eee 0%,#06182e80 41%,transparent 76%),url('sierra-hero.jpg') center/cover no-repeat;color:#fff;min-height:490px;display:flex;align-items:center;padding:65px max(5vw,24px) 98px}.hero-content{max-width:640px}.eyebrow{font-size:12px;letter-spacing:1.5px;color:var(--orange);font-weight:850}.hero .eyebrow{color:#ffae7e}.hero h1{font-size:clamp(40px,5.2vw,78px);line-height:1.03;letter-spacing:-2.5px;margin:14px 0}.hero h1 em{font-style:normal;color:#ff650f}.hero p{font-size:clamp(18px,2.1vw,23px);line-height:1.45;max-width:520px;color:#e3eaf0}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.hero small{color:#d8e1ec}.shell{width:min(1440px,92%);margin:auto}.tracking{position:relative;margin-top:-43px;background:white;border-radius:15px;box-shadow:0 8px 27px #0a213118;padding:24px;display:grid;grid-template-columns:1.35fr 1fr .9fr auto;gap:16px;align-items:end}.tracking h2{margin:4px 0;font-size:25px}.tracking p{margin:0;color:var(--muted)}label{font-size:14px;font-weight:700;display:grid;gap:7px}input,textarea,select{border:1px solid #d4dae0;padding:13px;border-radius:8px;background:white;color:var(--navy);width:100%;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #f9874e;outline-offset:1px}.feedback{grid-column:1/-1;font-size:14px}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0 46px}.services article{background:#fff0e6;display:flex;padding:21px;gap:16px;border-radius:12px;align-items:center}.services span{font-weight:900;font-size:28px;color:var(--orange)}h3{margin:0 0 5px}.services p,.section-heading p{margin:0;color:var(--muted);line-height:1.5}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:20px}.section-heading h2,.cta h2{font-size:clamp(28px,3vw,42px);margin:6px 0;letter-spacing:-1px}.filter{display:flex;gap:10px;margin:16px 0}.filter input{max-width:420px}.filter select{max-width:220px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.card{background:white;border:1px solid var(--border);border-radius:15px;overflow:hidden;box-shadow:0 3px 12px #06182e0a}.car-photo{height:190px;background:#e8edf0;display:grid;place-items:center;color:#556477;font-weight:600;overflow:hidden}.car-photo img{width:100%;height:100%;object-fit:cover}.card-body{padding:18px}.card-body p{color:var(--muted);margin:8px 0;white-space:pre-wrap}.price{font-size:25px;font-weight:850;color:#e35208;margin:12px 0}.card .btn{width:100%}.tag{display:inline-block;padding:4px 8px;border-radius:6px;color:#244762;background:#e5edf5;font-size:12px;font-weight:800}.empty{grid-column:1/-1;padding:32px;background:white;border:1px dashed var(--border);border-radius:12px;text-align:center;color:var(--muted)}.cta{padding:36px;background:var(--navy);color:#fff;border-radius:15px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:44px 0}.cta p{color:#ced9e4}footer{padding:30px 5%;background:#06182e;color:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}footer p{color:#aebdce;font-size:14px}.tracking-result{background:white;padding:25px;border-radius:12px;margin-top:24px}.tracking-result .resulthead{display:flex;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid var(--border)}.timeline{list-style:none;padding:0}.timeline li{padding:12px 0;border-bottom:1px solid var(--border);display:flex;gap:12px}.timeline li i{color:var(--orange)}.timeline li small{display:block;color:var(--muted)}.timeline .done b{color:#167342}.timeline .current b{color:#e35208}.resultgrid aside{background:#f0f4f8;padding:20px;border-radius:10px}.resultgrid aside small{display:block}.panel-page{max-width:1100px;margin:30px auto;padding:0 20px}.panel-card{padding:24px;background:white;border-radius:14px;border:1px solid var(--border);margin:18px 0}.panel-card h2{margin:0 0 16px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-grid .wide{grid-column:1/-1}.panel-card textarea{min-height:95px}.panel-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-card .btn{margin-top:10px}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{padding:8px 13px;border-radius:7px;border:1px solid var(--border);background:white;cursor:pointer}.actions .danger{color:#ad2424}.panel-table{display:grid;gap:10px}.row{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:14px;border:1px solid var(--border);border-radius:9px}.preview-notice{padding:12px;border-radius:8px;background:#fff3d1;color:#735100;margin-bottom:16px}[hidden]{display:none!important}@media(max-width:850px){header{flex-wrap:wrap;gap:10px}nav{order:3;width:100%;overflow:auto;gap:16px;padding:7px 0}.hero{min-height:500px;background-position:60% center;padding-bottom:90px}.hero h1{max-width:500px}.tracking{grid-template-columns:1fr 1fr}.tracking>div{grid-column:1/-1}.tracking button{grid-column:1/-1}.services{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.section-heading,.cta{align-items:start;flex-direction:column}}@media(max-width:520px){header>.btn{padding:10px 12px}.brand{white-space:normal}.hero{background-position:64% center;min-height:460px}.hero h1{font-size:42px}.tracking{grid-template-columns:1fr}.tracking>*{grid-column:1/-1}.cards,.form-grid{grid-template-columns:1fr}.filter{flex-direction:column}.filter select{max-width:none}.row{flex-direction:column}.cta{padding:24px}.card .car-photo{height:220px}}

.offer-card{border:2px solid var(--orange);box-shadow:0 6px 18px #f65a0822}.offer-tag{background:#f65a08;color:white}.old-price{text-decoration:line-through;color:#778392;font-weight:600}.offer-savings{display:inline-block;color:#166534;background:#dcfce7;padding:6px 9px;border-radius:6px;font-size:14px;font-weight:800;margin:0 0 8px}.offer-note{font-weight:700;color:#bd4100!important}.sold-card{opacity:.8}.sold-card .car-photo img{filter:saturate(.55)}.sold-tag{background:#52606d;color:white}.sold-note{font-weight:700}.filter{flex-wrap:wrap}

.vehicle-video{display:block;width:100%;max-height:260px;object-fit:contain;background:#06182e;border-radius:8px;margin:8px 0 16px}.video-caption{font-weight:750;color:var(--navy)!important}

#save-vehicle{min-width:190px;color:#fff;background:#e95105;opacity:1}#save-vehicle:disabled{background:#a63c0c;cursor:wait;opacity:1}.save-status:empty{display:none}.save-status{padding:10px 12px;border-radius:8px;background:#fff0e6;font-weight:700}.save-status.success{background:#dcfce7;color:#166534;border:1px solid #86efac}

.market-tabs{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}.market-tab{font:700 15px inherit;font-family:inherit;font-weight:750;padding:12px 18px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--navy);cursor:pointer}.market-tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}.car-location{font-size:14px;font-weight:700;color:#516072!important}
/* Autos Directos — catálogo comercial y filtros propios */
.hero{min-height:340px;padding:44px max(5vw,24px) 52px;background-position:center 55%}.hero h1{font-size:clamp(34px,4.25vw,62px);max-width:590px;letter-spacing:-1.8px}.hero p{font-size:19px;max-width:480px}.hero-actions{margin:18px 0}.hero small{font-weight:600}.shell{width:min(1320px,94%)}#venta{padding:36px 0 20px}#interior{height:0}.section-heading h2{font-size:clamp(25px,3vw,39px)}.section-heading p{font-size:16px}.market-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(170px,230px);gap:10px;margin:18px 0}.market-toolbar #filter-toggle{display:none}.market-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:24px;align-items:start}.catalog-filters{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;display:grid;gap:15px;position:sticky;top:86px}.filter-header{display:flex;justify-content:space-between;align-items:center}.filter-header h3{font-size:17px;margin:0}.filter-header button{border:0;background:transparent;color:#e95105;font-weight:700;cursor:pointer;padding:4px}.catalog-filters label{font-size:13px}.catalog-filters input,.catalog-filters select{padding:10px 8px;font-size:14px}.catalog-filters fieldset{border:0;margin:0;padding:0;min-width:0}.catalog-filters legend{font-size:13px;font-weight:700;margin-bottom:6px}.filter-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px}.results-label{color:var(--muted);font-size:14px;font-weight:700;margin:0 0 12px}.market-results .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.market-results .card{border-radius:11px;box-shadow:0 2px 7px #0a21310c}.vehicle-media-button{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer}.car-photo{height:170px}.card-body{padding:14px}.card-body h3{font-size:17px;line-height:1.25;margin:9px 0}.card-body .car-location{margin:4px 0;font-size:13px}.card-specs{font-size:13px;line-height:1.4;min-height:20px}.card-price{display:grid;gap:4px;margin:13px 0}.card-price .price{font-size:24px;margin:0}.card-price .offer-savings{justify-self:start}.card .btn.outline-dark{border-color:#d2dce5}.inventory-empty{padding:45px 20px;display:grid;justify-items:center;gap:10px;min-height:240px}.inventory-empty h3,.inventory-empty p{margin:0}.inventory-empty .btn{margin-top:8px}.tracking{margin-top:26px;box-shadow:none;border:1px solid var(--border)}.services{margin:24px 0}.services article{background:white;border:1px solid var(--border);padding:17px}.services span{font-size:23px}.sell-section{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;border:1px solid var(--border);border-radius:12px;background:#fff;padding:30px;margin:32px 0}.sell-section h2{font-size:32px;margin:8px 0}.sell-section p{color:#475569;max-width:750px;line-height:1.6}.sell-points{display:flex;gap:12px;flex-wrap:wrap;font-weight:650;font-size:14px}.sell-points span{padding:8px 10px;background:#eef2f6;border-radius:6px}.vehicle-dialog{border:0;border-radius:15px;padding:0;width:min(820px,94%);max-height:90vh;overflow:auto;color:var(--navy);box-shadow:0 15px 45px #0005}.vehicle-dialog::backdrop{background:#06182eab}.dialog-top{display:flex;justify-content:flex-end;padding:12px 15px;background:#fff;position:sticky;top:0;z-index:2;border-bottom:1px solid var(--border)}.dialog-top button{padding:8px 13px;background:#eef2f6;border:1px solid var(--border);border-radius:7px;cursor:pointer;font-weight:700}.detail-photo{height:clamp(240px,50vw,450px);background:#edf0f4}.detail-photo img{object-fit:contain}.detail-content{padding:24px}.detail-content h2{font-size:28px;margin:10px 0}.detail-content p{white-space:pre-wrap;line-height:1.6}.vehicle-specs{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:18px 0}.vehicle-specs div{background:#f3f5f7;padding:10px;border-radius:6px}.vehicle-specs dt{font-size:12px;color:var(--muted)}.vehicle-specs dd{margin:3px 0 0;font-weight:700}.detail-content .btn{margin:8px 10px 0 0}.vehicle-dialog .vehicle-video{max-height:400px}.tracking-note{background:#fff1e4;border-radius:8px;padding:12px;font-size:14px;color:#8b4d22}
@media(max-width:1000px){.market-layout{grid-template-columns:220px minmax(0,1fr)}.market-results .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.car-photo{height:190px}}@media(max-width:700px){.hero{min-height:340px;padding:32px 22px 40px}.hero h1{font-size:38px}.market-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px}.market-toolbar #filter-toggle{display:inline-flex}.market-toolbar #sort{grid-column:1/-1}.market-layout{grid-template-columns:1fr;gap:12px}.catalog-filters{display:none;position:static}.catalog-filters.open{display:grid;grid-template-columns:1fr 1fr}.filter-header{grid-column:1/-1}.market-results .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.car-photo{height:145px}.card-body{padding:10px}.card-body h3{font-size:15px}.card-price .price{font-size:20px}.card .btn{padding:10px}.sell-section{grid-template-columns:1fr;padding:22px}.sell-section h2{font-size:26px}.tracking{margin-top:22px}}@media(max-width:390px){.market-results .cards{grid-template-columns:1fr}.car-photo{height:200px}.catalog-filters.open{grid-template-columns:1fr}}
header nav{gap:15px;flex-wrap:wrap;justify-content:center;min-width:0}header nav a{white-space:nowrap}@media(max-width:850px){header nav{flex-wrap:nowrap;justify-content:flex-start}}

.photo-gallery{display:flex;flex-wrap:wrap;gap:8px;padding:12px}.photo-gallery button{padding:0;border:2px solid transparent;background:none;cursor:pointer;border-radius:8px}.photo-gallery button:focus-visible{border-color:#1680da}.photo-gallery img{width:88px;height:65px;object-fit:cover;border-radius:6px}
