:root { font-family: Arial, Helvetica, sans-serif; color: #111; background: #444; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: #fff; }
.page { width: min(1100px, calc(100% - 40px)); margin: 18px auto 64px; flex: 1 0 auto; }
.site-header { flex: 0 0 auto; background: #fff; }
.header-inner { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.hero { position: relative; margin-top: 32px; }
.hero-image { display: block; width: 100%; height: auto; }
.language-bar { position: absolute; z-index: 20; top: 18px; right: 18px; display: flex; justify-content: flex-end; align-items: center; }
.native-language-select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.language-picker { position: relative; }
.language-trigger { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 9px 14px; border: 2px solid #ed0712; border-radius: 24px; background: #fff; color: #111; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.language-name { flex: 1; }
.language-flag { width: 24px; height: 18px; flex: 0 0 24px; border-radius: 2px; background-position: center; background-repeat: no-repeat; background-size: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.language-menu { display: none; position: absolute; z-index: 100; top: calc(100% + 4px); right: 0; width: 100%; box-sizing: border-box; max-height: 310px; overflow-y: auto; border: 1px solid #ccc; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.language-menu.is-open { display: block; }
.language-menu.is-measuring { display: block; width: max-content; max-height: none; visibility: hidden; }
.language-option { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; background: transparent; color: #111; font: inherit; text-align: left; cursor: pointer; }
.language-option:hover, .language-option:focus, .language-option[aria-selected="true"] { background: #eee; outline: none; }
.toolfinder-title { display: block; width: min(100%, 586px); height: auto; margin-bottom: 14px; }
.intro { padding-bottom: 22px; border-bottom: 3px solid #ed0712; font-size: 14px; line-height: 1.5; }
.intro h1 { margin: 0 0 2px; color: #ed0712; font-size: clamp(28px, 3.25vw, 44px); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; }
.intro h2 { margin: 0 0 12px; font-size: clamp(19px, 2vw, 25px); line-height: 1.15; font-weight: 800; }
.intro-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.intro p { margin: 0 0 20px; }
.search-ways { margin: 0 0 18px; padding-left: 26px; font-size: 20px; line-height: 1.45; font-weight: 800; }
.search-ways li::marker { color: #ed0712; }
.finder { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(500px, 1.35fr); gap: 44px; margin-top: 10px; }
.finder-column { display: flex; flex-direction: column; gap: 20px; }
.finder-column-text { padding-top: 116px; }
.field { display: grid; grid-template-columns: 125px minmax(220px, 1fr); align-items: center; gap: 10px; min-height: 38px; }
.finder-column-text .field { grid-template-columns: 145px minmax(180px, 1fr) 80px; gap: 14px; }
label { font-size: 14px; }
select, input { width: 100%; height: 38px; border: 1px solid #cfcfcf; background: #fff; padding: 0 12px; font: inherit; }
.actions { display: flex; gap: 8px; margin-left: 135px; }
.button { min-width: 80px; height: 36px; padding: 0 18px; border: 0; border-radius: 20px; color: #fff; background: #ed0712; font-weight: 700; cursor: pointer; }
.button:hover { background: #c9000a; }
.button-secondary { background: #555; }
.loading { margin-top: 30px; color: #555; }
.result { margin-top: 30px; overflow-x: auto; font-size: 14px; }
.result table { width: 100%; border-collapse: collapse; }
.result th { padding: 10px; text-align: left; color: #111; background: #fff; }
.result td { padding: 9px 10px; border-bottom: 1px solid #ddd; vertical-align: top; }
.result tr.d1:nth-child(odd) td { background: #f7f7f7; }
.result tr.d1:nth-child(even) td { background: #ededed; }
.result a { color: #d9000b; }
.toggle-container { position: relative; }
.vehicle-row-collapsed { display: none; }
.toggle-overlay { position: relative; min-height: 92px; margin-top: -92px; pointer-events: none; }
.toggle-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(243,243,243,0), rgba(243,243,243,.97) 48%, #f3f3f3 66%); }
.toggle-hint { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; pointer-events: auto; }
.toggle-content { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #f5f5f5; color: #111; cursor: pointer; }
.toggle-content::before { content: ''; display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.toggle-content.is-expanded::before { transform: translateY(3px) rotate(225deg); }
.toggle-container.is-expanded .toggle-overlay { min-height: 48px; margin-top: 0; }
.toggle-container.is-expanded .toggle-gradient { display: none; }
.toggle-container.is-expanded .toggle-hint span { display: none; }
.site-footer { min-height: 92px; margin-top: 60px; color: #fff; background: #444; flex: 0 0 auto; }
.footer-inner { width: min(1100px, calc(100% - 40px)); min-height: 92px; margin: 0 auto; display: flex; justify-content: flex-end; align-items: center; gap: 44px; }
.footer-inner a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.legal-page { min-height: 0; }
.legal-page h1 { margin-top: 40px; }
.legal-page #legal-content { max-width: 800px; font-size: 16px; line-height: 1.6; }
.back-link { display: inline-block; margin-bottom: 28px; color: #d9000b; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
  .intro-columns { grid-template-columns: 1fr; gap: 0; }
  .finder { grid-template-columns: 1fr; }
  .finder-column-text { padding-top: 10px; }
}
@media (max-width: 580px) {
  .hero { width: 100%; margin-top: 0; }
  .language-bar { top: 10px; right: 10px; transform: scale(.88); transform-origin: top right; }
  .page { width: min(100% - 24px, 1100px); margin-top: 20px; }
  .field, .finder-column-text .field { grid-template-columns: 1fr; gap: 6px; }
  .actions { margin-left: 0; }
  .finder-column-text .button { justify-self: start; }
  .footer-inner { justify-content: center; gap: 28px; }
}
