.serviceCard {
  cursor: pointer;
  text-align: left;
}

.languageSwitch {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  flex: 0 0 auto;
  font-size: 12px;
  gap: 2px;
  padding: 3px;
}

.languageSwitch a,
.languageSwitch span {
  border-radius: 999px;
  min-width: 35px;
  padding: 6px 8px;
  text-align: center;
}

.languageSwitch span[aria-current="page"] {
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.languageSwitch a {
  color: var(--muted);
  font-weight: 750;
}

.languageSwitch a:hover,
.languageSwitch a:focus-visible {
  color: var(--blue);
}

.serviceCard:focus-visible {
  outline: 3px solid #0aa6d866;
  outline-offset: 4px;
}

.serviceAction {
  bottom: 27px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  left: 28px;
  position: absolute;
}

.serviceAction span {
  margin-left: 4px;
}

.dialogOpen {
  overflow: hidden;
}

.vehicleDialog {
  background: transparent;
  border-radius: 6px 24px;
  box-shadow: 0 34px 100px #071c2c66;
  color: var(--ink);
  margin: auto;
  max-height: calc(100dvh - 32px);
  max-width: none;
  overflow: auto;
  padding: 0;
  width: min(1040px, calc(100% - 32px));
}

.vehicleDialog::backdrop {
  backdrop-filter: blur(6px);
  background: #071c2cbf;
  -webkit-backdrop-filter: blur(6px);
}

.dialogPanel {
  background: var(--paper);
  padding: 34px;
}

.dialogHeader {
  background: linear-gradient(115deg, #071d30, #0c4c71);
  border-radius: 4px 18px;
  color: #fff;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin: -34px -34px 28px;
  padding: 30px 34px;
}

.dialogEyebrow {
  color: #82d7f2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 8px;
}

.dialogHeader h2 {
  font-size: 34px;
  letter-spacing: -.03em;
  margin: 0;
}

.dialogHeader > div > p:last-child {
  color: #c5dbe8;
  font-size: 14px;
  line-height: 1.7;
  margin: 10px 0 0;
  max-width: 680px;
}

.dialogClose {
  background: #ffffff17;
  border: 1px solid #ffffff3d;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 30px;
  height: 42px;
  line-height: 1;
  width: 42px;
}

.dialogClose:hover,
.dialogClose:focus-visible {
  background: #ffffff2e;
  outline: none;
}

.dialogVehicleGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.dialogVehicleCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px 4px;
  overflow: hidden;
}

.dialogVehicleImage {
  background: linear-gradient(145deg, #edf4f8, #fff);
  display: grid;
  height: 145px;
  padding: 28px 14px 10px;
  place-items: center;
  position: relative;
}

.dialogVehicleImage::after {
  background: #0a22361f;
  border-radius: 50%;
  bottom: 21px;
  content: "";
  filter: blur(7px);
  height: 8px;
  left: 20px;
  position: absolute;
  right: 20px;
}

.dialogVehicleImage img {
  max-height: 92px;
  max-width: 210px;
  position: relative;
  z-index: 1;
}

.dialogVehicleImage span {
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  left: 12px;
  padding: 5px 9px;
  position: absolute;
  top: 12px;
  z-index: 2;
}

.dialogVehicleBody {
  padding: 18px;
}

.dialogVehicleBody h3 {
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
  min-height: 44px;
}

.dialogVehicleBody > p {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 17px;
}

.dialogPrice {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: flex;
  padding-top: 14px;
}

.dialogPrice small {
  color: var(--muted);
  font-size: 10px;
  margin-right: auto;
}

.dialogPrice strong {
  color: #e87900;
  font-size: 24px;
}

.dialogPrice span {
  color: #8b6438;
  font-size: 11px;
  margin-left: 3px;
}

.dialogNotice {
  background: #fff8eb;
  border-left: 4px solid var(--orange);
  display: grid;
  gap: 18px;
  grid-template-columns: 92px 1fr;
  margin-top: 18px;
  padding: 17px 20px;
}

.dialogNotice strong {
  color: #9f5800;
}

.dialogNotice p {
  color: #725a3b;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.dialogFooter {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-top: 22px;
}

.dialogFooter p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.dialogFooter a {
  background: var(--orange);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 850;
  padding: 13px 20px;
  white-space: nowrap;
}

.dialogFooter a span {
  margin-right: 7px;
}

@media (max-width: 1020px) {
  .dialogVehicleGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .languageSwitch {
    margin-left: auto;
  }

  .languageSwitch a,
  .languageSwitch span {
    min-width: 31px;
    padding: 5px 6px;
  }

  .vehicleDialog {
    max-height: calc(100dvh - 20px);
    width: calc(100% - 20px);
  }

  .dialogPanel {
    padding: 20px;
  }

  .dialogHeader {
    margin: -20px -20px 20px;
    padding: 24px 20px;
  }

  .dialogHeader h2 {
    font-size: 27px;
  }

  .dialogVehicleGrid {
    grid-template-columns: 1fr;
  }

  .dialogVehicleCard {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .dialogVehicleImage {
    height: auto;
    min-height: 150px;
  }

  .dialogVehicleBody h3 {
    min-height: 0;
  }

  .dialogNotice {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .dialogFooter {
    align-items: stretch;
    flex-direction: column;
  }

  .dialogFooter a {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .dialogVehicleCard {
    grid-template-columns: 1fr;
  }

  .dialogVehicleImage {
    min-height: 130px;
  }

  .dialogClose {
    font-size: 26px;
    height: 36px;
    width: 36px;
  }
}
