@font-face {
  font-family: Inter;
  src: url('/fonts/Inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/fonts/Inter-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #171c24;
  --muted: #515966;
  --paper: #f6f7f8;
  --line: #dfe3e8;
  --dark: #101820;
  --orange: #f9a15d;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #2979cc; outline-offset: 4px; }
.wrap { width: min(100% - 96px, 1150px); margin-inline: auto; }
.preview-note { background: #24323e; color: #e3eaf0; font-size: 12px; text-align: center; padding: 9px 12px; }
.site-header { background: var(--dark); color: #f7f8fa; border-bottom: 1px solid #ffffff29; }
.header-inner { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 24px; font-weight: 700; letter-spacing: -.055em; text-decoration: none; }
.brand img { object-fit: contain; }
nav, .hero-actions { display: flex; align-items: center; gap: 26px; }
nav a, .header-contact, .hero-link { text-decoration: none; font-size: 14px; }
nav a { color: #d3d9df; }
nav a[aria-current], nav a:hover, .hero-link:hover { color: var(--orange); }
.header-contact { justify-self: end; border: 1px solid #83919e; border-radius: 4px; padding: 10px 15px; }
.header-contact span, .hero-link span { margin-left: 4px; }
.hero {
  background: var(--dark) url('/catalogo/estrada.jpeg') center 54% / cover no-repeat;
  background-image: linear-gradient(90deg, #101820 0%, #101820f7 24%, #101820a6 49%, #10182008 74%), url('/catalogo/estrada.jpeg');
  color: #fff;
}
.hero-content { min-height: 440px; padding-block: 68px 65px; }
.location { display: flex; align-items: center; gap: 9px; color: #f2cba9; font-size: 13px; margin: 0 0 24px; }
.location span { width: 14px; height: 2px; display: inline-block; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 7vw, 96px); letter-spacing: -.075em; line-height: .96; margin-bottom: 22px; }
.hero-copy { max-width: 325px; line-height: 1.55; color: #e1e7ec; margin-bottom: 25px; }
.primary { display: inline-flex; align-items: center; gap: 19px; text-decoration: none; background: var(--orange); color: #211910; padding: 14px 18px; border-radius: 4px; font-size: 14px; font-weight: 700; }
.primary:hover { background: #ffb97e; }
.catalog { padding-block: 49px 51px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
h2 { margin-bottom: 6px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.055em; line-height: 1.05; }
.section-heading p, .specs, .services p { color: var(--muted); line-height: 1.5; }
.section-heading p { margin: 0; font-size: 14px; }
.filters { border: 1px solid var(--line); padding: 3px; margin: 0; display: flex; background: #fff; border-radius: 5px; }
.filters label { position: relative; cursor: pointer; }
.filters input, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.filters span { display: block; border-radius: 3px; padding: 8px 17px; font-size: 13px; color: var(--muted); }
.filters input:checked + span { background: #23313e; color: #fff; }
.filters input:focus-visible + span { outline: 2px solid #2979cc; outline-offset: 1px; }
.vehicles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vehicle { background: white; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.vehicle > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.vehicle-body { padding: 17px 18px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 8px; }
h3 { grid-column: 1 / -1; margin: 0 0 4px; font-size: 21px; letter-spacing: -.035em; }
.specs { grid-column: 1 / -1; margin-bottom: 13px; font-size: 13px; }
.price { font-weight: 700; letter-spacing: -.05em; font-size: 24px; margin: 0; }
.vehicle button, .close { border: 1px solid #c5cdd6; border-radius: 4px; background: #fff; color: var(--ink); padding: 8px 10px; font-size: 13px; }
.vehicle button:hover, .close:hover { background: #edf2f6; }
.services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); gap: 35px; padding-block: 38px; }
.services h2 { font-size: 28px; }
.services p { margin-bottom: 8px; }
footer { background: var(--dark); color: #d9e1e8; font-size: 13px; padding-block: 24px; }
dialog { padding: 0; border: 0; width: min(580px, 100% - 32px); max-height: calc(100% - 32px); border-radius: 8px; }
dialog::backdrop { background: #101820bb; }
dialog form { position: absolute; top: 12px; right: 12px; }
.detail-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-content { padding: 24px; }
.detail-content p:last-child { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 880px) {
  .wrap { width: calc(100% - 48px); }
  .hero { background-position: 60% center; }
  .vehicles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; padding-block: 11px; }
  nav { grid-row: 2; grid-column: 1 / -1; gap: 20px; }
  .hero { background-position: 57% top; background-image: linear-gradient(0deg, #101820 10%, #101820c9 50%, #10182021 100%), url('/catalogo/estrada.jpeg'); }
  .hero-content { min-height: 0; padding-top: 194px; padding-bottom: 38px; }
  .location { margin-bottom: 13px; }
  .hero-actions { flex-wrap: wrap; gap: 14px; }
  .section-heading { align-items: start; flex-direction: column; }
  .catalog { padding-block: 32px; }
  .vehicles, .services { grid-template-columns: 1fr; }
}
.catalog-feedback { padding: 20px 0; color: var(--muted); }
.detail-description { white-space: pre-wrap; overflow-wrap: anywhere; }
