:root {
  color-scheme: light;
  font-family: Tahoma, Arial, sans-serif;
  color: #242b35;
  background: #f4f5f7;
  line-height: 1.55;
  --blue: #124778;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(961px, calc(100% - 32px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.site-header img { display: block; object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: 3px; }
nav a { padding: 9px 14px; background: #e6e9ed; color: #25354b; font-weight: bold; font-size: .9rem; text-decoration: none; }
nav a:hover, nav a[aria-current] { background: var(--blue); color: white; }
nav .language { color: var(--blue); background: white; box-shadow: inset 0 0 0 1px #b4c5d6; }
nav .language:hover { background: var(--blue); color: white; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #ad4718; outline-offset: 3px; }
main { background: white; padding: 0 22px 22px; border: 1px solid #dde2e8; }
.banner { position: relative; margin-inline: -22px; }
.banner img { display: block; width: 100%; height: auto; }
.banner-title { position: absolute; top: 5.5%; left: 2%; width: 50%; height: 12%; padding-left: 1%; display: flex; align-items: center; color: white; background: #124778; font-size: clamp(.7rem, 3vw, 1.85rem); font-weight: bold; font-style: italic; }
.banner-controls { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 5px; background: #102948; padding: 2px 5px; }
.banner-controls button { border: 0; background: transparent; padding: 7px; cursor: pointer; }
.banner-controls button::after { content: ''; display: block; width: 9px; height: 9px; border: 1px solid white; border-radius: 50%; }
.banner-controls button[aria-pressed=true]::after { background: white; }
h1 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; padding-bottom: 10px; color: var(--blue); border-bottom: 2px solid #dce5ee; }
h2 { font-size: 1.2rem; color: var(--blue); }
.contact { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(220px, 1fr); gap: 15px; }
.inquiry { display: grid; grid-template-columns: minmax(85px, .37fr) minmax(0, 1fr); gap: 15px; align-items: start; padding: 14px; background: #f3f6f8; border: 1px solid #dce5ee; }
.inquiry img, .cards img { display: block; width: 100%; height: auto; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
label { display: block; font-size: .875rem; font-weight: bold; margin-bottom: 9px; }
input, textarea { display: block; width: 100%; padding: 7px; margin-top: 3px; border: 1px solid #8496a7; border-radius: 3px; font: inherit; font-size: 1rem; font-weight: normal; }
textarea { resize: vertical; }
.button { display: inline-block; padding: 8px 13px; background: var(--blue); color: white; text-decoration: none; border: 0; border-radius: 3px; font: inherit; font-weight: bold; cursor: pointer; }
.button:hover { background: #083358; }
.details { background: #e9eff5; border: 1px solid #dce5ee; }
.details h2 { margin: 0; padding: 9px 14px; background: var(--blue); color: white; }
dl { margin: 14px; }
dt { margin-top: 12px; font-weight: bold; }
dd { margin: 0; overflow-wrap: anywhere; }
.cards, .models { display: grid; gap: 12px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards article, .models article { background: #edf2f6; border: 1px solid #dce5ee; }
.cards h3 { margin: 10px 12px; font-size: 1rem; color: var(--blue); }
.models { grid-template-columns: repeat(auto-fit, minmax(106px, 1fr)); text-align: center; }
.models img { display: block; width: 100%; height: 142px; object-fit: contain; background: white; }
.models h2 { margin: 6px; font-size: .95rem; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; padding: 14px; border-bottom: 3px solid var(--blue); }
@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  nav a { padding-inline: 10px; }
  .inquiry { grid-template-columns: 1fr; }
  .inquiry img { display: none; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 20px); }
  main { padding-inline: 12px; }
  .banner { margin-inline: -12px; }
  .contact, .cards { grid-template-columns: 1fr; }
}
