@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #2563eb;
    --blue2: #1d4ed8;
    --ink: #111b32;
    --muted: #65738b;
    --line: #e3eaf5;
    --bg: #f4f7ff;
    --orange: #ff8a3d;
    --teal: #12b8a6;
    --violet: #7559e8;
    --font: "Plus Jakarta Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); font: 15px/1.65 var(--font); -webkit-font-smoothing: antialiased; background: var(--bg); overflow-x: hidden; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(1240px, calc(100% - 56px)); margin: auto; }

/* Announcement */
.announcement {
    background: linear-gradient(90deg, #172b59, #254fa8 60%, #3478e9);
    color: #e6efff;
    border: 0;
    font-size: 12px;
}
.announcement a { color: #fff; font-weight: 700; }
.bar { min-height: 34px; padding: 6px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Header & Navigation */
.header {
    height: 78px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 28px #152d5510;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 5px 8px #2563eb25); flex-shrink: 0; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand b { font-size: 15px; font-weight: 800; letter-spacing: -.4px; color: #ffd700; white-space: nowrap; }
.brand small { font-size: 8px; letter-spacing: 1.4px; color: #ffffff; margin-top: 3px; font-weight: 700; white-space: nowrap; }

.header nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.header nav a { font-size: 13px; font-weight: 600; color: #ffd700; white-space: nowrap; padding: 6px 8px; border-radius: 8px; transition: .2s; }
.header nav a:hover, .header nav a.active { background: rgba(255, 255, 255, 0.08); color: #ffd700; }

.header-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.heart {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 17px;
    transition: .2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.heart:hover { color: #ffd700; border-color: #ffd700; }
.heart span { font-size: 11px; font-weight: 700; }

.menu-toggle { display: none; flex-shrink: 0; }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid transparent; border-radius: 12px; font-size: 13px; font-weight: 700; transition: .2s; }
.btn:hover { transform: translateY(-1px); }
.primary { background: linear-gradient(135deg, #367df6, #6549dc); color: white; box-shadow: 0 8px 20px #2563eb38; }
.primary:hover { background: linear-gradient(135deg, #2468e8, #193fba); }
.outline { background: white; border-color: #dfe6f0; color: #344054; }
.outline:hover { border-color: #c2d1e8; background: #f8faff; }
.quiet { background: #ffffff80; border-color: #e5ebf4; color: #344054; }
.white { background: white; color: var(--blue2); }
.big { padding: 14px 22px; font-size: 13px; }

/* Eyebrow & Typography Helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: var(--blue2); text-transform: uppercase; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); display: inline-block; }
.eyebrow.light { color: #dbeafe; }
h1 em, h2 em { font-style: normal; background: linear-gradient(95deg, #2563eb, #7559e8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero Showroom */
.hero.hero-showroom { position: relative; isolation: isolate; overflow: hidden; padding: 76px 0 56px; background-image: url("../images/bg-showroom.jpeg"); background-position: center 54%; background-repeat: no-repeat; background-size: cover; }
.hero-showroom .hero-showroom-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,17,32,.9) 0%, rgba(8,17,32,.78) 46%, rgba(8,17,32,.3) 100%); }
.hero-showroom .hero-grid { display: block; min-height: 380px; position: relative; z-index: 1; }
.hero-showroom .hero-copy { max-width: 680px; padding: 12px 0 24px; }
.hero-showroom .eyebrow { color: #e2eaff; }
.hero-showroom .eyebrow i { background: #60a5fa; }
.hero-showroom h1 { color: #fff; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.15; letter-spacing: -1.6px; margin: 14px 0 16px; }
.hero-showroom h1 em { background: linear-gradient(95deg, #93c5fd, #c4b5fd 58%, #fed7aa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-showroom .hero-copy > p { max-width: 580px; color: rgba(255,255,255,.88); font-size: 15px; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-showroom .hero-actions .quiet { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.trust { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.85); margin-left: -8px; }
.avatars span:first-child { margin-left: 0; }
.trust b { display: block; font-size: 13px; color: #fff; }
.trust small { display: block; font-size: 11px; color: rgba(255,255,255,.75); }

/* Quick Search */
.search-wrap { position: relative; z-index: 5; transform: translateY(20px); }
.quick-search { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; align-items: center; padding: 14px; background: rgba(255,255,255,.98); border: 1px solid #e3eafa; border-radius: 20px; box-shadow: 0 22px 55px #193a6c17; }
.quick-search label { padding: 10px 18px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid #edf0f5; }
.quick-search label:last-of-type { border-right: 0; }
.quick-search label small { font-size: 10px; color: #8190a9; letter-spacing: 1.15px; font-weight: 800; }
.quick-search input, .quick-search select { border: 0; outline: 0; background: transparent; color: #344054; font-size: 13px; font-weight: 600; width: 100%; min-width: 0; }
.quick-search input::placeholder { color: #9aa4b5; font-weight: 500; }
.quick-search button { margin-left: 10px; white-space: nowrap; min-height: 50px; padding-inline: 22px; }

/* Sections & Catalog */
.section { padding: 92px 0 76px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.section-head.centered { flex-direction: column; align-items: center; text-align: center; max-width: 660px; margin: 0 auto 42px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -1.4px; margin: 12px 0 10px; }
.section-head p { margin: 0; color: #6b788e; font-size: 14px; line-height: 1.75; }
.text-link { font-size: 13px; font-weight: 800; color: var(--blue2); white-space: nowrap; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.chip { border: 1px solid #e5ebf3; background: white; border-radius: 30px; padding: 9px 16px; color: #657187; font-size: 12px; font-weight: 700; transition: .2s; }
.chip.active, .chip:hover { border-color: #c8d8ff; background: linear-gradient(120deg, #eaf2ff, #f0edff); color: #245bd7; box-shadow: 0 5px 14px #2563eb0d; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding: 18px 0; border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; }
.toolbar > div:first-child { display: flex; flex-direction: column; line-height: 1.5; }
.toolbar b { font-size: 14px; }
.toolbar small { font-size: 12px; color: #8a95a8; }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.toolbar-right label { font-size: 11px; font-weight: 600; color: #65738b; display: flex; align-items: center; gap: 8px; }
.toolbar select, .filter-group select, .filter-group input { border: 1px solid #e3e9f1; border-radius: 10px; background: white; padding: 10px 12px; color: #344054; font-size: 12px; outline-color: #9ec2ff; max-width: 100%; }
.filter-toggle { display: none; }

.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; margin-top: 26px; }
.filters { align-self: start; position: sticky; top: 96px; border: 1px solid #e7edf5; border-radius: 18px; padding: 20px; box-shadow: 0 8px 26px #172e5208; background: #fff; }
.filter-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #edf0f5; }
.filter-title b { font-size: 14px; }
.filter-title button { border: 0; background: none; color: var(--blue); font-size: 12px; font-weight: 700; }
.filter-group { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.filter-group > label { font-size: 12px; font-weight: 700; color: #48556b; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range label { display: flex; flex-direction: column; gap: 4px; }
.price-range small { font-size: 10px; color: #8a95a8; }
.price-range select { padding: 8px 6px; font-size: 11px; }
.apply { width: 100%; margin-top: 20px; }

/* Car Card & Portrait Handling */
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.car-card { min-width: 0; overflow: hidden; border: 1px solid #e7edf5; border-radius: 19px; background: white; transition: .22s; box-shadow: 0 7px 22px #1d355708; cursor: pointer; }
.car-card:hover { transform: translateY(-4px); border-color: #d4e2fa; box-shadow: 0 20px 38px #1d35571a; }

.car-image {
    height: 195px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #f6f8fb, #eef2f7);
}
.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .3s;
}
.car-image.is-portrait img {
    object-fit: cover;
    object-position: center 75%;
    transform: translateY(-25%) scale(1.06);
}
.car-card:hover .car-image.is-portrait img {
    transform: translateY(-25%) scale(1.1);
}
.car-card:hover .car-image img { transform: scale(1.04); }

.car-tag, .car-year { position: absolute; z-index: 2; left: 10px; padding: 4px 8px; border-radius: 6px; background: #fffffff2; border: 1px solid #e7edf5; font-size: 9px; font-weight: 800; color: #5b687e; }
.car-tag { top: 10px; }
.car-year { bottom: 10px; color: #6e7a8e; }
.favorite { position: absolute; z-index: 2; right: 10px; top: 10px; width: 32px; height: 32px; border: 1px solid #e7edf5; border-radius: 10px; background: #fffffff2; color: #6d7890; font-size: 17px; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.favorite.saved { color: #ed5577; background: #fff0f3; border-color: #ffd1dc; }

.car-body { padding: 16px; }
.car-brand { font-size: 10px; letter-spacing: .7px; color: #8b96a8; font-weight: 800; text-transform: uppercase; }
.car-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; margin-top: 4px; }
.car-title { font-size: 14px; line-height: 1.4; margin: 0; font-weight: 800; }
.availability { font-size: 9px; white-space: nowrap; background: #eafaf2; color: #14845a; border-radius: 20px; padding: 3px 7px; font-weight: 700; }
.specs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; color: #7e899b; font-size: 11px; }
.specs span+span:before { content: "•"; margin-right: 5px; color: #c1c9d5; }
.price-row { margin-top: 12px; padding-top: 10px; border-top: 1px solid #f0f2f6; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.price-label { display: block; color: #9aa4b5; font-size: 8px; letter-spacing: .5px; font-weight: 700; }
.price { font-size: 16px; letter-spacing: -.4px; font-weight: 800; color: var(--blue2); }
.detail-open { border: 0; width: 32px; height: 32px; border-radius: 9px; background: #edf4ff; color: var(--blue); font-size: 18px; display: grid; place-items: center; cursor: pointer; }

.catalog-loading, .empty-error { grid-column: 1 / -1; text-align: center; padding: 40px 20px; background: #fff; border-radius: 16px; border: 1px solid var(--line); color: var(--muted); }
.empty { text-align: center; padding: 48px 20px; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.empty span { font-size: 32px; color: var(--blue); display: block; margin-bottom: 8px; }
.empty h3 { margin: 0 0 6px; }
.empty p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.catalog-bottom { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.catalog-bottom small { color: var(--muted); font-size: 12px; }

/* Why / Benefits */
.why { background: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.benefits article { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fbfcff; }
.benefit-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 17px; margin-bottom: 16px; }
.benefit-icon.blue { background: #e0edff; color: #1d4ed8; }
.benefit-icon.purple { background: #ede9fe; color: #6d28d9; }
.benefit-icon.green { background: #dcfce7; color: #15803d; }
.benefits h3 { margin: 0 0 8px; font-size: 17px; }
.benefits p { margin: 0; font-size: 13px; color: var(--muted); }

/* CTA Banner */
.cta-section { padding: 30px 0; }
.cta { background: linear-gradient(125deg, #1e3a8a, #2563eb 60%, #4f46e5); border-radius: 24px; padding: 42px 48px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; position: relative; }
.cta-copy { max-width: 520px; z-index: 1; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.25; margin: 10px 0 12px; }
.cta p { color: #dbeafe; margin: 0 0 22px; font-size: 14px; }
.cta-car { max-width: 280px; width: 100%; height: auto; opacity: .92; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21, 45, 85, 0.08); }
.service-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 16px; background: #eef4ff; color: var(--blue2); margin-bottom: 4px; }
.service-card small { font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.service-card h3 { margin: 0; font-size: 17px; }
.service-card p { margin: 0; font-size: 13px; color: var(--muted); flex: 1; }
.service-card a { margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--blue2); }

/* Process */
.process-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.process-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcff; }
.process-grid b { display: inline-block; font-size: 22px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.process-grid h3 { margin: 0 0 6px; font-size: 16px; }
.process-grid p { margin: 0; font-size: 13px; color: var(--muted); }

/* Forms: Sell, Trade-in, Schedule */
.forms-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
.form-intro h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; margin: 12px 0; }
.form-intro p { color: var(--muted); font-size: 14px; }
.form-intro ul { padding-left: 18px; color: var(--ink); font-size: 13px; display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.form-note { padding: 14px 16px; border-radius: 12px; background: #eef4ff; color: #334155; font-size: 12px; }
.trade-highlight { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); margin-top: 18px; }
.trade-highlight span { width: 38px; height: 38px; border-radius: 10px; background: #fff7ed; color: #ea580c; display: grid; place-items: center; font-weight: 800; }
.trade-highlight b { display: block; font-size: 13px; }
.trade-highlight small { font-size: 12px; color: var(--muted); }
.appointment-perks { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 600; color: #1e293b; }

.lead-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 32px rgba(21, 45, 85, 0.05); }
.lead-form h3 { margin: 0 0 4px; font-size: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: #334155; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid #dfe6f0; border-radius: 10px; padding: 11px 13px; background: #fff; color: var(--ink); font-size: 13px; outline-color: var(--blue); }
.lead-form small { font-size: 11px; color: var(--muted); }
.estimate-box { padding: 14px 16px; border-radius: 12px; background: #f4f7ff; display: flex; flex-direction: column; gap: 4px; }
.estimate-box small { font-size: 10px; font-weight: 800; letter-spacing: .8px; color: var(--blue2); }
.estimate-box strong { font-size: 22px; color: var(--blue2); }
.estimate-box span { font-size: 12px; color: var(--muted); }

/* Financing Calculator Section */
.finance-section { background: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finance-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
.finance-layout > div:first-child h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; margin: 12px 0; }
.finance-layout > div:first-child p { color: var(--muted); font-size: 14px; }
.finance-disclaimer { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }

.finance-calculator {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fbfcff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(21, 45, 85, 0.05);
}
.finance-calculator > label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.finance-calculator > label strong {
    color: var(--blue2);
    font-size: 14px;
}
.finance-calculator input[type="number"],
.finance-calculator select {
    width: 100%;
    border: 1px solid #dfe6f0;
    border-radius: 10px;
    padding: 11px 13px;
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    outline-color: var(--blue);
}
.finance-calculator input[type="range"] {
    width: 100%;
    accent-color: var(--blue);
    cursor: pointer;
    margin: 4px 0;
}
.finance-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
}
.finance-mini > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    color: var(--muted);
}
.finance-mini strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}
.finance-result {
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef4ff, #f3f0ff);
    border: 1px solid #d6e4ff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.finance-result small {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.9px;
    color: var(--blue2);
}
.finance-result strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--blue2);
    line-height: 1.25;
}
.finance-result span {
    font-size: 12px;
    color: #475569;
}

/* Inspection Checklist */
.inspection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.inspection-grid label { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.inspection-grid input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--blue); }
.inspection-footer { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.inspection-footer span { font-size: 13px; font-weight: 700; color: var(--blue2); }

/* About, Reviews, FAQ, Contact Bottom */
.about-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-big-number { grid-column: 1 / -1; padding: 28px; border-radius: 20px; background: linear-gradient(135deg, #172b59, #2563eb); color: #fff; }
.about-big-number strong { display: block; font-size: 40px; line-height: 1; color: #ffd700; margin-bottom: 6px; }
.about-big-number span { display: block; font-size: 18px; font-weight: 800; }
.about-big-number small { font-size: 10px; letter-spacing: 1.4px; color: #dbeafe; }
.about-stat { padding: 18px; border-radius: 16px; background: #f4f7ff; border: 1px solid var(--line); }
.about-stat b { display: block; font-size: 14px; margin-bottom: 4px; }
.about-stat span { font-size: 12px; color: var(--muted); }
.about-copy h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; margin: 12px 0; }
.about-copy p { color: var(--muted); font-size: 14px; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-grid article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 14px; }
.review-grid p { margin: 0; font-size: 13px; color: #334155; flex: 1; }
.review-person { display: flex; align-items: center; gap: 10px; }
.review-person span { width: 34px; height: 34px; border-radius: 50%; background: #e0edff; color: var(--blue2); font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.review-person b { display: block; font-size: 13px; }
.review-person small { font-size: 11px; color: var(--muted); }
.demo-disclaimer { text-align: center; font-size: 11px; color: var(--muted); margin-top: 18px; }

.faq-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 36px; align-items: start; }
.faq-layout h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; margin: 12px 0; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; background: #fbfcff; }
.faq-list summary { font-weight: 700; font-size: 14px; cursor: pointer; }
.faq-list details p { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.contact-bottom { padding: 40px 0 70px; }
.contact-bottom-inner { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-bottom-inner h2 { font-size: clamp(22px, 2.8vw, 32px); margin: 8px 0; }
.contact-bottom-inner p { margin: 0; color: var(--muted); font-size: 14px; }

/* Footer */
footer { background: #111827; color: #cbd5e1; padding: 56px 0 28px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { font-size: 13px; color: #94a3b8; margin-top: 14px; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-col b { color: #fff; margin-bottom: 4px; }
.footer-col a:hover { color: #ffd700; }
.footer-col span { font-size: 12px; color: #94a3b8; }
.contact-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.contact-card span { color: #ffd700; font-size: 18px; }
.contact-card b { color: #fff; font-size: 15px; }
.contact-card p { margin: 0; font-size: 12px; color: #94a3b8; }
.contact-card a { margin-top: 6px; color: #ffd700; font-weight: 700; font-size: 13px; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #94a3b8; }
.policy-links { text-align: center; margin-top: 14px; font-size: 12px; color: #94a3b8; display: flex; justify-content: center; gap: 8px; }

/* Modal Detail & Policy Modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; background: #0f192c99; backdrop-filter: blur(5px); }
.modal-backdrop.open { display: flex; }
.detail-modal, .policy-modal { position: relative; width: min(930px, 100%); max-height: 90vh; overflow: auto; background: white; border-radius: 24px; box-shadow: 0 28px 90px #07143047; }
.policy-modal { width: min(680px, 100%); padding: 32px; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 37px; height: 37px; border: 1px solid #e7edf5; border-radius: 11px; background: white; font-size: 23px; color: #526078; display: grid; place-items: center; cursor: pointer; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; }
.detail-gallery { padding: 25px; background: #f6f8fb; }
.detail-main-image {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    overflow: hidden;
    border-radius: 14px;
    cursor: zoom-in;
}
.detail-main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .3s;
}
.detail-main-image.is-portrait { background-color: #0b1120; }
.detail-main-image.is-portrait::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-bg);
    background-position: center;
    background-size: cover;
    filter: blur(16px) brightness(0.4);
    z-index: 1;
}
.detail-main-image.is-portrait img {
    position: relative;
    z-index: 2;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gallery-thumb { width: 65px; height: 48px; border: 1px solid #e1e8f1; border-radius: 9px; overflow: hidden; background: white; cursor: pointer; padding: 0; }
.gallery-thumb.active { border: 2px solid var(--blue); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-info { padding: 36px 28px 26px; }
.stock { display: inline-block; padding: 5px 9px; background: #eafaf2; border-radius: 20px; color: #14845a; font-size: 10px; font-weight: 800; }
.detail-brand { margin-top: 14px; font-size: 10px; color: #8a95a8; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.detail-info h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.6px; margin: 5px 0; }
.detail-price { font-size: 24px; color: var(--blue2); font-weight: 800; }
.detail-description { font-size: 12px; line-height: 1.75; color: #64748b; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec { padding: 10px; border: 1px solid #e9eef5; border-radius: 10px; background: #fbfcff; }
.spec small { display: block; color: #909bad; font-size: 9px; }
.spec b { font-size: 11px; }
.detail-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.detail-note { font-size: 10px; color: #9aa4b5; line-height: 1.6; }

/* Lightbox Modal (Centered Fullscreen) */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 10, 20, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(8px);
}
.lightbox-modal.open {
    display: flex;
}
.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    cursor: crosshair;
}
.lightbox-content img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 84vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
    user-select: none;
    -webkit-user-select: none;
}
.lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 10002;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10002;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.35); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* Extra Widgets */
.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 15px; border-radius: 11px; background: #172033; color: white; box-shadow: 0 12px 30px #0a142833; font-size: 12px; animation: pop .2s ease; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 15; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #25d366, #079d76); color: white; font-size: 26px; box-shadow: 0 13px 30px #0c9f7045; }
.toast-region:not(:empty)~.whatsapp-float { bottom: 95px; }

@keyframes pop { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
[hidden] { display: none !important; }

/* Responsive Media Queries */
@media (max-width: 1050px) {
    .container { width: min(1240px, calc(100% - 40px)); }
    .catalog-layout { grid-template-columns: 220px minmax(0, 1fr); }
    .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .container { width: calc(100% - 28px); }
    .bar { font-size: 11px; }
    .header { height: 66px; }
    .header-inner { gap: 8px; }
    .brand { gap: 7px; flex-shrink: 1; min-width: 0; }
    .brand img { width: 34px; height: 34px; }
    .brand b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
    .brand small { display: none; }

    .menu-toggle {
        display: inline-flex;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 18px;
        align-items: center;
        justify-content: center;
    }

    .header nav, .header #nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        z-index: 60;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 6px 0 0;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 14px;
        background: #111827;
        box-shadow: 0 18px 40px rgba(20, 40, 70, 0.25);
    }
    .header nav.open, .header #nav.open { display: flex; }
    .header nav a, .header #nav a { display: block; width: 100%; padding: 11px 12px; border-radius: 9px; font-size: 13px; color: #fff; }
    .header nav a:hover, .header nav a.active { background: rgba(255, 255, 255, 0.1); color: #ffd700; }

    .header-actions { gap: 6px; margin-left: auto; flex-shrink: 0; }
    .heart { padding: 7px 9px; font-size: 14px; border-radius: 9px; }
    .header-cta.btn { padding: 8px 10px; font-size: 11px; gap: 4px; border-radius: 9px; white-space: nowrap; }

    .quick-search { grid-template-columns: 1fr; gap: 4px; }
    .quick-search label { border-right: 0; border-bottom: 1px solid #edf0f5; padding: 10px 12px; }
    .quick-search label:last-of-type { border-bottom: 0; }
    .quick-search button { margin-left: 0; margin-top: 6px; width: 100%; }

    .section { padding: 68px 0 56px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .toolbar { flex-direction: column; align-items: flex-start; }
    .toolbar-right { width: 100%; justify-content: space-between; }

    .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .car-image { height: 135px; }
    .car-image.is-portrait img {
        object-fit: cover;
        object-position: center 65%;
        transform: translateY(-18%) scale(1.04);
    }
    .car-card:hover .car-image.is-portrait img {
        transform: translateY(-18%) scale(1.08);
    }
    .car-body { padding: 12px; }
    .car-title { font-size: 12px; }
    .price { font-size: 14px; }

    .catalog-layout { display: block; }
    .filters { display: none; position: static; margin-bottom: 16px; }
    .filters.open { display: block; }
    .filter-toggle { display: inline-flex; }

    .benefits, .service-grid, .process-grid, .review-grid, .inspection-grid, .forms-grid, .finance-layout, .about-layout, .faq-layout, .footer-main {
        grid-template-columns: 1fr;
    }
    .form-row, .finance-mini { grid-template-columns: 1fr; }
    .cta, .contact-bottom-inner { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-gallery { padding: 16px; }
    .detail-main-image { height: 220px; }
    .detail-info { padding: 22px 18px; }

    .lightbox-modal { padding: 12px; }
    .lightbox-content { max-width: 96vw; max-height: 88vh; }
    .lightbox-prev { left: 10px; width: 38px; height: 38px; font-size: 20px; }
    .lightbox-next { right: 10px; width: 38px; height: 38px; font-size: 20px; }
}
