:root {
  --blue: #0b57d0;
  --blue-dark: #0b2f68;
  --blue-soft: #eaf3ff;
  --turquoise: #12bfae;
  --turquoise-dark: #079587;
  --mint: #e7faf6;
  --sun: #ffd66b;
  --ink: #10243e;
  --ink-soft: #2d4562;
  --muted: #687b91;
  --paper: #f7faff;
  --white: #ffffff;
  --line: #dce7f2;
  --danger: #b53c4d;
  --success: #07806f;
  --radius: 22px;
  --shadow-sm: 0 8px 30px rgba(25, 74, 127, 0.08);
  --shadow: 0 24px 70px rgba(24, 70, 120, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open, body.nav-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--white); color: var(--ink); border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.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;
}

.site-header {
  position: sticky; top: 0; z-index: 30; height: 82px; padding: 0 clamp(20px, 5vw, 74px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  color: var(--ink); background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid rgba(220, 231, 242, 0.8);
  backdrop-filter: blur(16px); box-shadow: 0 5px 24px rgba(30, 68, 111, 0.04);
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  width: 41px; height: 41px; display: grid; place-items: center; border: 0; border-radius: 14px;
  color: var(--white); background: linear-gradient(145deg, var(--blue), #287ff1 58%, var(--turquoise));
  box-shadow: 0 8px 18px rgba(11, 87, 208, 0.22); font: italic 25px/1 Georgia, serif;
}
.brand-copy { display: grid; line-height: 1; gap: 4px; letter-spacing: .14em; }
.brand-copy strong { font-size: 15px; color: var(--blue-dark); }
.brand-copy small { font-size: 8px; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 650; color: var(--ink-soft); transition: color .2s, background .2s; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); background: var(--blue-soft); }
.header-cta {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 11px 18px;
  color: white; background: var(--blue); box-shadow: 0 8px 18px rgba(11, 87, 208, .2);
  font-size: 14px; font-weight: 800; transition: background .2s, transform .2s;
}
.header-cta span { font-weight: 500; opacity: .76; }
.header-cta:hover { background: #0848ae; transform: translateY(-1px); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 12px; background: var(--blue-soft); }
.nav-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--blue-dark); transition: transform .2s, opacity .2s; }

.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .88fr);
  align-items: center; gap: clamp(48px, 7vw, 110px); max-width: 1540px; min-height: 680px; margin: 0 auto;
  padding: clamp(70px, 8vw, 118px) clamp(22px, 7vw, 108px);
  background: linear-gradient(120deg, #f9fcff 0%, #eef7ff 52%, #e7fbf7 100%);
}
.hero-shape { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .65; }
.hero-shape-one { width: 420px; height: 420px; right: -130px; top: -170px; background: rgba(18,191,174,.19); }
.hero-shape-two { width: 310px; height: 310px; left: -190px; bottom: -190px; background: rgba(11,87,208,.14); }
.hero-content { position: relative; z-index: 2; max-width: 730px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .18em; }
.eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 0 5px rgba(18,191,174,.12); }
.eyebrow.dark { color: var(--turquoise-dark); }
h1, h2 { margin: 0; letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 760px; color: var(--blue-dark); font-size: clamp(50px, 6vw, 84px); font-weight: 750; }
h1 em { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-text { max-width: 610px; margin: 28px 0 34px; color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 13px; padding: 0 22px; cursor: pointer;
  font-weight: 800; font-size: 13px; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 13px 28px rgba(11, 87, 208, .22); }
.button-primary:hover { background: #0849b2; box-shadow: 0 16px 32px rgba(11, 87, 208, .28); }
.button-secondary { color: var(--blue-dark); border-color: #b9cfe6; background: rgba(255,255,255,.78); }
.button-secondary:hover { border-color: var(--turquoise); background: var(--white); }
.button-ghost { color: var(--blue-dark); border-color: #b9cfe6; background: white; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 48px 0 0; list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: 9px; min-width: 130px; padding: 9px 12px; border: 1px solid rgba(201,218,234,.75); border-radius: 13px; background: rgba(255,255,255,.72); }
.hero-proof li > div { display: grid; gap: 1px; }
.hero-proof strong { color: var(--blue-dark); font-size: 12px; }
.hero-proof li div span { color: var(--muted); font-size: 9px; }
.proof-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: 9px; color: var(--turquoise-dark); background: var(--mint); font-size: 12px; font-weight: 900; }
.hero-visual { position: relative; z-index: 1; min-width: 0; }
.hero-image-card { position: relative; overflow: hidden; height: clamp(420px, 40vw, 540px); border: 9px solid white; border-radius: 34px; background: #dbe8f4; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,31,66,.2), transparent 45%); }
.hero-image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-status { position: absolute; z-index: 1; top: 17px; left: 17px; display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; color: var(--blue-dark); background: rgba(255,255,255,.93); box-shadow: var(--shadow-sm); font-size: 10px; font-weight: 800; }
.image-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 0 4px rgba(18,191,174,.15); }
.hero-rating { position: absolute; z-index: 2; left: -44px; bottom: 29px; display: flex; align-items: center; gap: 12px; width: 255px; padding: 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.rating-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: none; border-radius: 12px; color: #8a6000; background: var(--sun); }
.hero-rating div { display: grid; }
.hero-rating strong { color: var(--blue-dark); font-size: 11px; }
.hero-rating div span { color: var(--muted); font-size: 9px; }
.hero-stock { position: absolute; z-index: 2; right: -24px; top: 52px; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-radius: 16px; color: white; background: linear-gradient(135deg, var(--blue), #287ff1); box-shadow: 0 18px 35px rgba(11,87,208,.28); }
.hero-stock strong { font-size: 29px; line-height: 1; }
.hero-stock span { font-size: 9px; line-height: 1.2; }

.catalog-section { max-width: 1450px; margin: 0 auto; padding: clamp(80px, 9vw, 130px) clamp(20px, 5vw, 72px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.section-heading h2, .contact-copy h2 { color: var(--blue-dark); font-size: clamp(40px, 5vw, 66px); }
.section-heading > p { max-width: 450px; margin: 0; color: var(--muted); }
.quick-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 15px; }
.quick-filters > span { margin-right: 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quick-filter { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: white; cursor: pointer; font-size: 11px; font-weight: 750; transition: color .2s, border-color .2s, background .2s; }
.quick-filter:hover { color: var(--blue); border-color: #aec9e8; }
.quick-filter.active { color: white; border-color: var(--blue); background: var(--blue); box-shadow: 0 7px 15px rgba(11,87,208,.17); }
.filters { display: grid; grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(145px, 1fr)) auto; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-sm); }
.filters label { position: relative; display: grid; gap: 6px; min-width: 0; }
.field-label { padding-left: 2px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.filters input, .filters select, .sort-label select { width: 100%; height: 48px; border: 1px solid #e0e9f2; border-radius: 11px; color: var(--ink); background: #f6f9fd; padding: 0 13px; outline: none; }
.filters input:focus, .filters select:focus, .sort-label select:focus { border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(18,191,174,.14); background: white; }
.search-field svg { position: absolute; z-index: 1; left: 15px; bottom: 15px; width: 18px; fill: none; stroke: var(--blue); stroke-width: 1.9; }
.search-field input { padding-left: 44px; }
.filter-reset { align-self: end; height: 48px; border: 0; border-radius: 11px; padding: 0 15px; color: var(--blue); background: var(--blue-soft); cursor: pointer; font-weight: 800; font-size: 11px; }
.filter-reset:hover { background: #dcecff; }
.filter-reset span { font-size: 16px; }
.catalog-toolbar { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.catalog-toolbar p { margin: 0; color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.sort-label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.sort-label select { width: auto; height: 39px; padding-right: 34px; background: white; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vehicle-card { min-width: 0; overflow: hidden; border: 1px solid #e0e9f2; border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 28px rgba(25,74,127,.06); transition: transform .25s, box-shadow .25s, border-color .25s; }
.vehicle-card:hover { transform: translateY(-6px); border-color: #c4d8eb; box-shadow: var(--shadow); }
.card-image-button { position: relative; width: 100%; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 0; cursor: pointer; background: #dce9f4; }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.vehicle-card:hover .card-image { transform: scale(1.04); }
.card-badge, .photo-count { position: absolute; top: 14px; border-radius: 999px; padding: 7px 10px; font-size: 9px; font-weight: 850; backdrop-filter: blur(10px); }
.card-badge { left: 14px; color: #056e64; background: rgba(231,250,246,.94); border: 1px solid rgba(18,191,174,.25); }
.photo-count { right: 14px; color: white; background: rgba(11,47,104,.77); }
.card-body { padding: 22px; }
.card-kicker { margin: 0 0 5px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.card-title { margin: 0; color: var(--blue-dark); font-size: 24px; letter-spacing: -.035em; }
.card-version { min-height: 42px; margin: 4px 0 17px; color: var(--muted); font-size: 16px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 23px; }
.card-specs div { padding: 10px 12px; border-radius: 7px; color: var(--ink-soft); background: var(--blue-soft); font-size: 14px; font-weight: 500; }
.card-specs dt { display: none; }
.card-specs dd { margin: 0; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; border-top: 1px solid #e9f0f6; }
.card-footer > div { display: grid; }
.card-footer div > span { color: var(--muted); font-size: 13px; }
.card-price { color: var(--blue-dark); font-size: 22px; letter-spacing: -.025em; }
.card-detail-button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; padding: 0 12px; color: var(--blue); background: var(--blue-soft); cursor: pointer; font-size: 14px; font-weight: 850; transition: color .2s, background .2s; }
.card-detail-button:hover { color: white; background: var(--blue); }
.empty-state { padding: 60px 20px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.text-button { border: 0; color: var(--blue); background: none; cursor: pointer; text-decoration: underline; }

.contact-section { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(50px, 9vw, 130px); padding: clamp(76px, 9vw, 130px) clamp(20px, 7vw, 104px); color: white; background: linear-gradient(125deg, var(--blue-dark) 0%, #0750b6 55%, #08a895 140%); }
.contact-section::before { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; right: -180px; top: -220px; border-radius: 50%; background: rgba(18,191,174,.29); }
.contact-section .eyebrow { color: #7ef2e5; }
.contact-copy h2 { color: white; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: #d4e5fa; font-size: 17px; }
.contact-details { display: grid; gap: 12px; margin-top: 42px; }
.contact-details a, .contact-details div { display: grid; gap: 2px; max-width: 420px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(255,255,255,.06); }
.contact-details span { color: #a9c7ec; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.contact-details strong { font-size: 13px; }
.contact-form { display: grid; gap: 17px; padding: clamp(24px, 4vw, 42px); border: 1px solid rgba(255,255,255,.85); border-radius: 24px; color: var(--ink); background: rgba(255,255,255,.98); box-shadow: 0 35px 70px rgba(0,30,75,.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label:not(.privacy-check) { display: grid; gap: 7px; color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #f7faff; outline: none; }
.contact-form input, .contact-form select { height: 47px; padding: 0 13px; }
.contact-form textarea { resize: vertical; min-height: 110px; padding: 12px 13px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(18,191,174,.14); background: white; }
.contact-form .invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(181,60,77,.11); }
.privacy-check { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 500; }
.privacy-check input { width: 17px; height: 17px; flex: none; margin: 0; accent-color: var(--blue); }
.submit-button { width: 100%; border-radius: 11px; }
.form-note { margin: -6px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.form-status { min-height: 18px; margin: -4px 0 0; color: var(--turquoise-dark); font-size: 11px; text-align: center; }

footer { display: flex; align-items: center; gap: 30px; padding: 30px clamp(20px, 5vw, 72px); color: #a9bfda; background: #071d3d; font-size: 10px; }
.footer-brand { color: white; margin-right: auto; }
.footer-brand .brand-copy strong { color: white; }
.footer-brand .brand-copy small { color: #a9bfda; }
.demo-note { color: #67e6d8; }
.whatsapp-float { position: fixed; z-index: 25; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 17px 0 10px; border: 3px solid white; border-radius: 999px; color: white; background: #15a985; box-shadow: 0 13px 30px rgba(0,73,61,.27); font-size: 11px; font-weight: 850; transition: transform .2s, background .2s; }
.whatsapp-float:hover { transform: translateY(-3px); background: #0e9473; }
.whatsapp-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 16px; }

.vehicle-dialog { width: min(1060px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: var(--paper); box-shadow: 0 35px 100px rgba(0,25,64,.42); }
.vehicle-dialog::backdrop { background: rgba(4,21,47,.72); backdrop-filter: blur(7px); }
.dialog-close { position: fixed; z-index: 3; margin: 15px 0 0 calc(min(1060px, calc(100vw - 28px)) - 59px); width: 42px; height: 42px; border: 0; border-radius: 50%; color: white; background: rgba(8,41,84,.85); cursor: pointer; font-size: 26px; line-height: 1; }
.dialog-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); }
.dialog-gallery { min-width: 0; padding: 16px; background: #eaf2fa; }
.dialog-main-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 15px; background: #d8e5f1; }
.dialog-thumbnails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.dialog-thumbnails button { padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; cursor: pointer; background: transparent; }
.dialog-thumbnails button.active { border-color: var(--turquoise); }
.dialog-thumbnails img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.dialog-info { padding: clamp(30px, 4vw, 52px); }
.dialog-info h2 { color: var(--blue-dark); font-size: clamp(36px, 4vw, 55px); margin-bottom: 6px; }
.dialog-version { margin: 0 0 26px; color: var(--muted); }
.dialog-price { display: block; margin-bottom: 25px; color: var(--blue); font-size: 30px; }
.dialog-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 25px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.dialog-specs div { display: grid; padding: 11px 13px; background: var(--white); }
.dialog-specs dt { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.dialog-specs dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.dialog-description { color: var(--muted); font-size: 13px; }
.equipment-title { margin: 25px 0 10px; color: var(--blue-dark); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.equipment-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 28px; list-style: none; }
.equipment-list li { padding: 6px 9px; border-radius: 7px; color: #056e64; background: var(--mint); font-size: 9px; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.dialog-actions .button { border-radius: 10px; }
.button-dark { color: white; background: var(--blue); }
.button-outline { color: var(--blue); border-color: #b8cee5; background: transparent; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr .8fr; gap: 46px; padding-left: 50px; padding-right: 50px; }
  .hero-rating { left: -20px; }
  .filters { grid-template-columns: 1.4fr 1fr 1fr; }
  .filters label:nth-of-type(4) { grid-column: 1 / 3; }
  .filter-reset { grid-column: 3; }
  .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-main-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 840px) {
  html { scroll-padding-top: 76px; }
  .site-header { height: 72px; padding: 0 18px; }
  .brand-mark { width: 37px; height: 37px; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: block; order: 3; cursor: pointer; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 72px 12px auto; display: grid; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); transform: translateY(-15px); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 15px; border-radius: 10px; }
  .hero { grid-template-columns: 1fr; gap: 56px; padding: 72px 22px 88px; }
  .hero-content { max-width: 680px; }
  .hero-visual { width: min(620px, 92%); justify-self: center; }
  .hero-image-card { height: min(68vw, 470px); }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .header-cta span { display: none; }
  h1 { font-size: clamp(45px, 13vw, 67px); }
  .hero { padding-top: 58px; }
  .hero-text { margin: 22px 0 27px; font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-proof { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-proof li:last-child { grid-column: 1 / -1; }
  .hero-visual { width: 100%; }
  .hero-image-card { height: 320px; border-width: 6px; border-radius: 24px; }
  .hero-rating { left: 10px; bottom: -30px; width: 220px; }
  .hero-stock { right: 8px; top: -26px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .quick-filters { margin-bottom: 18px; }
  .quick-filters > span { width: 100%; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .filters label:nth-of-type(4) { grid-column: auto; }
  .filter-reset { grid-column: 1 / -1; height: 42px; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .sort-label { width: 100%; justify-content: space-between; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-brand { margin-bottom: 8px; }
  .whatsapp-float { right: 14px; bottom: 14px; min-width: 51px; min-height: 51px; padding: 0; justify-content: center; }
  .whatsapp-float > span:last-child { display: none; }
  .vehicle-dialog { max-height: calc(100svh - 12px); width: calc(100% - 12px); border-radius: 16px; }
  .dialog-close { margin: 10px 0 0 calc(100vw - 64px); }
  .dialog-gallery { padding: 8px; }
  .dialog-info { padding: 27px 20px 30px; }
  .dialog-actions { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .header-cta { display: none; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof li:last-child { grid-column: auto; }
  .filters { grid-template-columns: 1fr; }
  .search-field, .filters label:nth-of-type(4), .filter-reset { grid-column: auto; }
}

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

/* Dirección visual aprobada: limpia, fotográfica y centrada en el vehículo */
.brand-mark {
  border-radius: 50%;
  color: var(--blue-dark);
  background: white;
  border: 3px solid var(--blue-dark);
  box-shadow: none;
  font-size: 22px;
  font-weight: 700;
}
.main-nav a { border-radius: 4px; }
.main-nav a:hover, .main-nav a:focus-visible { background: transparent; box-shadow: inset 0 -2px var(--blue); }
.header-cta { background: #0674e7; box-shadow: none; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  max-width: none;
  min-height: 620px;
  padding: 48px clamp(28px, 5vw, 78px);
  color: var(--ink);
  background: #d9e8f5;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("./assets/hero-capo.webp") center center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6,24,52,.16), transparent 58%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(650px, 55vw);
  max-width: none;
  padding: clamp(34px, 4vw, 52px);
  background: rgba(255,255,255,.95);
  box-shadow: 0 12px 40px rgba(4,30,69,.12);
  backdrop-filter: blur(7px);
}
.hero .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #49627e;
  font-size: 10px;
  letter-spacing: .26em;
}
.hero h1 {
  color: #061f46;
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: .98;
}
.hero-text { max-width: 540px; margin: 20px 0 28px; color: #2f4864; font-size: 17px; }
.hero-actions .button { min-height: 48px; border-radius: 999px; padding: 0 27px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 34px -4px -4px;
  padding-top: 25px;
  border-top: 1px solid #d8e3ed;
}
.hero-proof li {
  min-width: 0;
  padding: 4px 10px;
  border: 0;
  border-right: 1px solid #d8e3ed;
  border-radius: 0;
  background: transparent;
}
.hero-proof li:last-child { border-right: 0; }
.hero-proof strong { font-size: 10px; }
.hero-proof li div span { font-size: 8px; }
.proof-icon { width: 30px; height: 30px; border-radius: 50%; color: #063a78; background: #e8f3ff; }
.hero-signature {
  position: absolute;
  z-index: 2;
  top: 49px;
  right: clamp(30px, 5vw, 80px);
  max-width: 260px;
  margin: 0;
  color: white;
  font-size: 9px;
  font-weight: 800;
  line-height: 2;
  letter-spacing: .24em;
  text-align: right;
  text-shadow: 0 2px 12px rgba(1,20,48,.45);
}

.catalog-section { max-width: 1500px; background: white; }
.catalog-section .section-heading h2 { max-width: 850px; }
.quick-filter { border-radius: 999px; }
.filters { border-radius: 10px; box-shadow: none; }
.vehicle-card { border-radius: 7px; box-shadow: none; }
.vehicle-card:hover { transform: translateY(-3px); box-shadow: 0 17px 40px rgba(24,70,120,.12); }
.card-image-button { border-radius: 0; }

@media (max-width: 840px) {
  .hero {
    display: flex;
    align-items: flex-end;
    min-height: 760px;
    padding: 250px 20px 28px;
  }
  .hero-media { background-position: 64% center; }
  .hero::after { background: linear-gradient(0deg, rgba(3,25,56,.62), transparent 60%); }
  .hero-content { width: min(650px, 100%); padding: 34px; }
  .hero-signature { display: none; }
}

@media (max-width: 650px) {
  .hero { min-height: 720px; padding: 215px 14px 14px; }
  .hero-content { padding: 28px 22px; }
  .hero h1 { font-size: clamp(43px, 13vw, 60px); }
  .hero-text { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-proof { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .hero-proof li, .hero-proof li:last-child { grid-column: auto; border-right: 0; }
}

/* Ajuste final: paleta azul y navegación integrada en la fotografía */
:root {
  --blue: #0040c5;
  --blue-dark: #001e50;
  --blue-soft: #e6f0ff;
  --turquoise: #009fe3;
  --turquoise-dark: #0068a8;
  --ink: #001e50;
  --ink-soft: #29496f;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: 88px;
  color: white;
  background: linear-gradient(180deg, rgba(0,22,62,.86), rgba(0,30,80,.42));
  border: 0;
  box-shadow: none;
  backdrop-filter: blur(2px);
}
.site-header .brand-mark { width: 46px; height: 46px; border-width: 4px; color: white; border-color: white; background: transparent; }
.site-header .brand-copy strong { color: white; font-size: 17px; }
.site-header .brand-copy small { color: white; opacity: .84; }
.main-nav { margin: 0 auto; }
.main-nav a { color: white; font-weight: 760; }
.main-nav a:hover, .main-nav a:focus-visible { color: white; box-shadow: inset 0 -2px white; }
.header-search {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.10);
  cursor: pointer;
}
.header-search:hover { background: rgba(255,255,255,.22); }
.header-search svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.header-cta { min-height: 46px; padding: 0 22px; border-radius: 999px; background: #0066e5; }

.hero {
  height: clamp(430px, 34vw, 520px);
  min-height: 0;
  align-items: center;
  padding: 94px clamp(28px, 5vw, 80px) 24px;
  background: #cce5f7;
}
.hero-media { background-image: url("./assets/hero-landcruiser-formentor.webp"); background-position: center center; }
.hero::after {
  background:
    linear-gradient(180deg, rgba(0,22,62,.82) 0%, rgba(0,30,80,.42) 26%, transparent 58%),
    linear-gradient(90deg, rgba(0,30,80,.78) 0%, rgba(0,30,80,.52) 35%, transparent 64%);
}
.hero-content {
  width: min(610px, 48vw);
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.hero .eyebrow { margin-bottom: 12px; color: white; font-size: 9px; font-weight: 850; }
.hero h1 { max-width: 600px; color: white; font-size: clamp(45px, 4.4vw, 67px); line-height: 1; text-shadow: 0 2px 22px rgba(0,20,55,.2); }
.hero-text { max-width: 510px; margin: 14px 0 22px; color: white; font-size: 16px; }
.hero-actions .button { min-height: 46px; padding: 0 25px; }
.hero-actions .button-secondary { color: white; border: 2px solid rgba(255,255,255,.92); background: rgba(0,30,80,.12); }
.hero-actions .button-secondary:hover { background: rgba(255,255,255,.15); }

.catalog-section { padding-top: clamp(58px, 6vw, 86px); }
.section-heading { margin-bottom: 28px; }
.catalog-tabs { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.quick-filters { gap: 26px; margin: 0; }
.quick-filter {
  min-height: 46px;
  padding: 0 2px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #526a87;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
}
.quick-filter:hover { color: var(--blue); border-color: #a9c9f4; }
.quick-filter.active { color: var(--blue); border: 0; border-bottom: 3px solid var(--blue); border-radius: 0; background: transparent; box-shadow: none; }
.filter-toggle { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 0 3px; border: 0; color: var(--blue); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.filter-toggle span { font-size: 17px; }
.filters { margin-top: 15px; }
.filters.filters-collapsed { display: none; }
.vehicle-card { border-radius: 3px; }
.card-detail-button { border-radius: 999px; color: var(--blue); background: white; border: 1px solid var(--blue); }
.card-detail-button:hover { background: var(--blue); }

@media (max-width: 840px) {
  .site-header { position: absolute; height: 74px; background: linear-gradient(180deg, rgba(0,22,62,.92), rgba(0,30,80,.62)); }
  .main-nav { inset: 74px 12px auto; background: white; }
  .main-nav a { color: var(--blue-dark); }
  .main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); box-shadow: inset 0 -2px var(--blue); }
  .header-search { margin-left: auto; }
  .header-cta { margin-left: 0; }
  .hero { min-height: 0; height: 570px; padding: 88px 22px 28px; align-items: flex-end; }
  .hero-media { background-position: 65% center; }
  .hero::after {
    background:
      linear-gradient(0deg, rgba(0,30,80,.84) 0%, rgba(0,30,80,.30) 58%, rgba(0,22,62,.62) 100%),
      linear-gradient(90deg, rgba(0,30,80,.45), transparent 78%);
  }
  .hero-content { width: min(600px, 69vw); padding: 0; background: transparent; }
  .catalog-tabs { align-items: flex-start; flex-direction: column; gap: 4px; }
  .quick-filters { width: 100%; overflow-x: auto; gap: 22px; }
}

@media (max-width: 650px) {
  .site-header { padding: 0 14px; }
  .brand-copy { display: none; }
  .header-search { width: 38px; height: 38px; }
  .header-cta { min-height: 40px; padding: 0 13px; font-size: 10px; }
  .hero { height: 620px; padding: 270px 18px 32px; }
  .hero-media { background-position: 70% center; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(41px, 12vw, 56px); }
  .hero-text { max-width: 430px; font-size: 14px; }
  .hero-actions { display: flex; }
  .hero-actions .button { min-height: 43px; padding: 0 17px; font-size: 11px; }
  .section-heading { margin-bottom: 20px; }
  .catalog-tabs { padding-bottom: 5px; }
}

@media (max-width: 420px) {
  .header-cta { display: none; }
  .hero-actions { display: grid; }
}

/* Logotipo original azul y oro, con su proporción y acento intactos. */
.brand {
  position: relative;
  display: block;
  flex: none;
  width: 238px;
  height: 94px;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 3px;
}
.brand-logo {
  position: absolute;
  width: 300px;
  height: auto;
  max-width: none;
  left: -32px;
  top: -26px;
}
.brand:focus-visible { outline: 3px solid #c99e48; outline-offset: 4px; }
.site-header { height: 112px; gap: 20px; }
.hero { padding-top: 124px; }
@media (max-width: 1100px) {
  .site-header .header-cta { display: none; }
}
@media (max-width: 840px) {
  .site-header { height: 86px; }
  .site-header .brand { width: 170px; height: 68px; }
  .site-header .brand-logo { width: 214px; left: -23px; top: -18px; }
  .main-nav { top: 86px; }
  .hero { padding-top: 100px; }
}
@media (max-width: 650px) {
  .site-header { gap: 12px; }
  .hero { padding-top: 270px; }
  .footer-brand { width: 204px; height: 81px; }
  .footer-brand .brand-logo { width: 257px; left: -27px; top: -22px; }
}

/* Propuesta aprobada: cabecera clara y fotografía luminosa, azul y oro. */
:root { --blue: #082940; --blue-dark: #082940; --blue-soft: #f0f4f7; --gold: #c49a47; }
.site-header {
  position: relative;
  inset: auto;
  height: 112px;
  color: var(--blue-dark);
  background: #fff;
  border-bottom: 1px solid var(--gold);
  backdrop-filter: none;
}
.brand { background: transparent; border-radius: 0; }
.brand-logo { mix-blend-mode: multiply; }
.main-nav a { color: var(--blue-dark); font-weight: 650; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue-dark); box-shadow: inset 0 -2px var(--gold); }
.header-search { color: var(--blue-dark); background: transparent; }
.header-search:hover { background: var(--blue-soft); }
.header-cta { background: var(--blue-dark); }
.header-cta:hover { background: #154662; }
.hero { height: clamp(430px, 34vw, 560px); padding-top: 32px; padding-bottom: 32px; }
.hero::after {
  background: linear-gradient(90deg, rgba(4,25,43,.65) 0%, rgba(4,25,43,.35) 32%, rgba(4,25,43,.08) 53%, transparent 67%);
}
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(45px, 4.4vw, 67px); line-height: 1.04; }
.hero .eyebrow { position: relative; padding-bottom: 14px; letter-spacing: .24em; }
.hero .eyebrow::after { content: ''; position: absolute; left: 0; bottom: 0; width: 54px; height: 2px; background: var(--gold); }
.hero-actions .button-secondary { color: var(--blue-dark); border: 1px solid var(--blue-dark); background: white; }
.hero-actions .button-secondary:hover { color: var(--blue-dark); background: #f4f6f8; }
.button-primary, .button-dark { background: var(--blue-dark); box-shadow: none; }
.button-primary:hover { background: #154662; box-shadow: none; }
.eyebrow.dark { color: #af8437; }
.catalog-tabs { border-bottom: 0; align-items: center; }
.quick-filters { flex-wrap: wrap; gap: 10px; }
.quick-filter { min-height: 38px; padding: 0 23px; border: 1px solid #e4e8eb; border-radius: 999px; background: #f7f8f9; }
.quick-filter.active { border: 1px solid var(--blue-dark); border-radius: 999px; color: white; background: var(--blue-dark); }
.quick-filter:hover { border-color: var(--gold); }
.filter-toggle { padding: 0 18px; border: 1px solid #e4e8eb; border-radius: 999px; background: #f7f8f9; }
footer { color: #627284; background: white; border-top: 1px solid #e4e8eb; }
.demo-note { color: #af8437; }
@media (max-width: 840px) {
  .site-header { height: 86px; background: white; }
  .main-nav { top: 86px; }
  .hero { height: 570px; padding: 28px 22px; }
  .hero::after { background: linear-gradient(0deg, rgba(4,25,43,.78) 0%, rgba(4,25,43,.28) 48%, transparent 80%); }
  .catalog-tabs { align-items: flex-start; }
}
@media (max-width: 650px) {
  .hero { height: 620px; padding: 270px 18px 32px; }
  .hero h1 { font-size: clamp(41px, 12vw, 56px); }
  .quick-filters { gap: 8px; }
  .quick-filter { padding: 0 16px; font-size: 11px; }
}

.manage-link { color: #082940; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }

/* Cómo trabajamos: sección entre el catálogo y el contacto. */
.how-section { background: #f5f7f9; border-top: 1px solid #e4e8eb; border-bottom: 1px solid #e4e8eb; }
.how-inner { max-width: 1500px; margin: 0 auto; padding: clamp(58px, 6vw, 86px) clamp(20px, 5vw, 72px); }
.how-heading { max-width: 790px; margin-bottom: 32px; }
.how-heading h2 { color: var(--blue-dark); font-size: clamp(36px, 4vw, 54px); }
.how-heading > p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 20px 0 0; }
.how-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.how-steps > li { grid-column: span 2; background: white; border: 1px solid #e0e7ec; border-top: 2px solid var(--gold); border-radius: 8px; padding: 27px; }
.how-steps > li:nth-child(n+4) { grid-column: span 3; }
.how-steps h3 { margin: 0 0 12px; color: var(--blue-dark); font-size: 18px; line-height: 1.35; font-weight: 700; }
.how-steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; font-weight: 400; }
.how-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.how-contact > p { margin: 0; color: var(--blue-dark); font-size: 19px; font-weight: 700; }
.how-contact .button { border-radius: 999px; text-align: center; }
@media (max-width: 900px) {
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-steps > li, .how-steps > li:nth-child(n+4) { grid-column: span 1; }
  .how-steps > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .how-steps { grid-template-columns: 1fr; gap: 14px; }
  .how-steps > li { padding: 23px; }
  .how-contact { align-items: stretch; flex-direction: column; gap: 18px; }
  .how-contact .button { padding: 12px 18px; }
}

/* Portada móvil: foto horizontal, sin el recorte del bloque de 620 px. */
@media (max-width: 650px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    background: white;
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: none;
    background-size: cover;
    background-position: 70% center;
  }
  .hero::after { display: none; }
  .hero-content {
    width: 100%;
    padding: 28px 20px 32px;
    color: var(--blue-dark);
    background: white;
  }
  .hero .eyebrow { color: var(--ink-soft); }
  .hero h1 {
    color: var(--blue-dark);
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.05;
    text-shadow: none;
  }
  .hero-text { color: var(--ink-soft); margin: 18px 0 24px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { min-height: 46px; font-size: 13px; }
}
