:root {
  --blue: #0b3b7a;
  --blue2: #0a2f5f;
  --orange: #ff7a18;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #5b667a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 59, 122, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Шапка: контакты сверху + одна строка навигации */
.siteHeader {
  position: relative;
  z-index: 50;
}

.topBar {
  background: rgba(11, 59, 122, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 12px;
  padding: 7px 0;
}

.topBarInner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}

.topBarItem {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.topBarLabel {
  color: var(--muted);
  font-weight: 600;
}

.topBarValue {
  color: var(--blue2);
  font-weight: 700;
}

.topBarItem a.topBarValue:hover {
  text-decoration: underline;
}

.headerBar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.headerMain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  margin: -6px -8px;
  border-radius: 12px;
}

.brand:hover {
  background: rgba(11, 59, 122, 0.05);
}

.brandMark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.brandText {
  font-weight: 800;
  color: var(--blue2);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.geoFlag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.geoFlag svg {
  width: 24px;
  height: 24px;
  display: block;
}

.mainNav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2px;
  flex-wrap: wrap;
  min-width: 0;
}

.navLink {
  font-weight: 800;
  color: var(--blue2);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.navLink:hover {
  background: rgba(11, 59, 122, 0.07);
}

.headerActions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.langSwitcher {
  display: flex;
  background: rgba(245, 247, 251, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}

.langBtn {
  border: 0;
  background: transparent;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
  color: var(--muted);
}

.langBtn.isActive {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
}

@media (max-width: 520px) {
  .topBarInner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .topBarItem {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .headerMain {
    padding: 10px 0 12px;
  }

  .mainNav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 0;
}

.heroBg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.62) 0%, rgba(2, 6, 23, 0.28) 32%, rgba(2, 6, 23, 0.06) 56%, rgba(2, 6, 23, 0.08) 100%);
  z-index: 1;
  pointer-events: none;
}

.heroBannerImg {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  border-radius: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
  display: block;
}

.heroInner {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 0;
  display: flex;
  align-items: center;
}

.heroCopy {
  max-width: 520px;
  padding: 0 6px;
}

.heroTitle {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.heroSub {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  max-width: 520px;
  text-shadow: 0 6px 18px rgba(2, 6, 23, 0.3);
}

.btn {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: var(--blue2);
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
  font-size: 14px;
}

.btnPrimary {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 26px rgba(11, 59, 122, 0.22);
}

.btnBook {
  background: linear-gradient(135deg, var(--orange), #ff8a2a);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 26px rgba(255, 122, 24, 0.26);
}

.btnBook:hover {
  filter: brightness(1.04);
}

.btnGhost {
  background: transparent;
  border-color: rgba(11, 59, 122, 0.22);
}

.heroSide {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.heroCard {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 59, 122, 0.14);
  border-radius: var(--radius);
  padding: 18px;
}

.heroCardTitle {
  font-weight: 1000;
  color: var(--blue2);
  margin-bottom: 8px;
}

.heroCardText {
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 10px;
  font-size: 14px;
}

.heroCardList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.heroCardItem {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  color: var(--blue2);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.15);
}

/* Sections */
.section {
  padding: 40px 0;
}

.sectionAlt {
  background: linear-gradient(180deg, rgba(11, 59, 122, 0.04), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.sectionHeader {
  margin-bottom: 26px;
  padding-left: 16px;
  border-left: 3px solid rgba(255, 122, 24, 0.85);
}

.sectionTitle {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  color: var(--blue2);
  letter-spacing: -0.02em;
}

.sectionSubtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
  max-width: 640px;
}

/* Car grid */
.carsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.carCard {
  background: var(--card);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.carCard:hover {
  border-color: rgba(11, 59, 122, 0.22);
  box-shadow: 0 8px 28px rgba(11, 59, 122, 0.12);
}

.carCard:focus-visible {
  outline: 3px solid rgba(255, 122, 24, 0.55);
  outline-offset: 2px;
}

.carGallery {
  padding: 12px;
  background: linear-gradient(180deg, rgba(11, 59, 122, 0.05), #fff);
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.carMainPhoto img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.carMainPhoto {
  user-select: none;
}

.carThumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x mandatory;
}

.carThumbs::-webkit-scrollbar {
  height: 8px;
}

.carThumbs::-webkit-scrollbar-thumb {
  background: rgba(11, 59, 122, 0.2);
  border-radius: 999px;
}

.carThumb {
  flex: 0 0 auto;
  width: 66px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  object-fit: cover;
  cursor: pointer;
  scroll-snap-align: start;
  opacity: 0.9;
}

.carThumb.is-active {
  opacity: 1;
  border-color: rgba(255, 122, 24, 0.85);
  box-shadow: 0 8px 20px rgba(255, 122, 24, 0.18);
}

.carBody {
  padding: 14px 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.carTitle {
  margin: 0;
  font-size: 17px;
  font-weight: 1000;
  color: var(--blue2);
}

.carSub {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

/* Характеристики авто (сетка как на агрегаторах) */
.carSpecGrid {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

.carSpecRow {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: 8px 12px;
  padding: 9px 11px;
  font-size: 12px;
  align-items: start;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.carSpecRow:last-child {
  border-bottom: 0;
}

.carSpecRow:nth-child(odd) {
  background: rgba(11, 59, 122, 0.045);
}

.carSpecLabel {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.carSpecValue {
  font-weight: 800;
  color: var(--blue2);
  text-align: right;
  line-height: 1.35;
}

.carBody .carSpecGrid {
  margin-top: 2px;
}

.carBody .carSpecRow {
  font-size: 12px;
  padding: 8px 10px;
}

.bookingAside .carSpecGrid--compact {
  margin-top: 10px;
}

.bookingAside .carSpecGrid--compact .carSpecRow {
  font-size: 11px;
  padding: 7px 9px;
}

.carBottom {
  margin-top: auto;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.carBadge {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  max-width: 220px;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordionItem {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.accordionBtn {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 1000;
  color: var(--blue2);
  font-size: 15px;
}

.chev {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 59, 122, 0.04);
  font-weight: 900;
  flex-shrink: 0;
}

.accordionPanel {
  padding: 0 18px 18px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.accordionPanel h3,
.accordionPanel h4 {
  color: var(--blue2);
  margin-top: 1em;
}

.accordionPanel p {
  margin: 0.75em 0 0;
}

.accordionPanel ul,
.accordionPanel ol {
  margin: 0.75em 0 0;
  padding-left: 1.2em;
}

.accordionPanel li {
  margin: 0.4em 0;
}

.accordionPanel ol ol {
  list-style: lower-alpha;
  margin-top: 0.5em;
}

.accordionPanel ol ol li {
  margin: 0.25em 0;
}

.accordionPanel strong {
  color: var(--text);
}

.accordionPanel .accordionMedia {
  margin: 12px 0 0;
  text-align: center;
}

.accordionPanel .accordionInlineImg {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Contacts */
.contactsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contactsLead {
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 16px;
  max-width: 520px;
}

.contactCard {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.contactCardRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contactCardRow:last-child {
  margin-bottom: 0;
}

.contactCardLabel {
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

.contactCardLink {
  color: var(--blue2);
  font-weight: 700;
}

.contactCardText {
  font-weight: 800;
  color: var(--blue2);
}

.contactsActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contactsPanel {
  background: linear-gradient(180deg, rgba(255, 122, 24, 0.06), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(255, 122, 24, 0.2);
  border-radius: var(--radius);
  padding: 20px;
}

.contactsPanelTitle {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--blue2);
}

.contactsPanelText {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.panelBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 12px;
  font-weight: 900;
  color: var(--blue2);
}

/* Подвал: способы оплаты + юридический блок */
.siteFooter {
  margin-top: auto;
}

.payBand {
  background: linear-gradient(180deg, rgba(11, 59, 122, 0.04), rgba(252, 252, 253, 1));
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.15rem 0 1.3rem;
}

.payBandInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.payBandLabel {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.payList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 56rem;
  font-size: 12px;
  font-weight: 600;
  color: rgba(10, 47, 95, 0.9);
  line-height: 1.65;
}

.payList li {
  display: inline;
}

.payList li + li::before {
  content: "·";
  margin: 0 0.45rem;
  color: rgba(91, 102, 122, 0.45);
  font-weight: 400;
}

.footer {
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
}

.footerInner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.footerBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 1000;
  color: var(--blue2);
}

.footerCopy {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footerLinks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue2);
}

.footerLinks a:hover {
  text-decoration: underline;
}

.scrollTopBtn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), #ff8a2a);
  color: #fff;
  font-size: 22px;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(255, 122, 24, 0.3);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.scrollTopBtn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scrollTopBtn:hover {
  filter: brightness(1.04);
}

/* Modals */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
}

/* Для окна "Оформление заявки" — непрозрачный фон */
#bookingOverlay {
  background: rgba(2, 6, 23, 0.48);
}

.modalOverlay[hidden] {
  display: none;
}

.modal {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.modalHeader {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.modalTitle {
  font-weight: 1000;
  color: var(--blue2);
}

.modalBody {
  padding: 16px;
}

.modalHint {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 14px;
}

.modalLinksGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.modalLink {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-weight: 700;
  color: var(--blue2);
}

.modalLink:hover {
  background: rgba(11, 59, 122, 0.06);
}

.iconBtn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(11, 59, 122, 0.04);
  cursor: pointer;
  font-weight: 800;
}

/* Photo lightbox */
.photoModal {
  width: min(980px, 100%);
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  padding: 14px 16px 16px;
}

.photoTop {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 8px;
}

.photoStage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.photoBig {
  max-width: 100%;
  max-height: min(74vh, 650px);
  width: auto;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  object-fit: contain;
  background: rgba(11, 59, 122, 0.04);
}

.photoNav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue2);
  font-weight: 1000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.photoPrev {
  left: 10px;
}

.photoNext {
  right: 10px;
}

.photoCaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.photoNav:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Booking modal */
.bookingModal {
  width: min(880px, 96vw);
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  overflow: visible;
}

.bookingModalTop {
  display: flex;
  justify-content: flex-end;
  padding: 10px 16px 0;
}

.bookingModalBody {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 0;
  max-height: none;
}

.bookingAside {
  background: linear-gradient(180deg, rgba(11, 59, 122, 0.05), rgba(255, 255, 255, 0.9));
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  padding: 16px 18px 24px;
  overflow: visible;
}

.bookingAside img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 12px;
  cursor: pointer;
}

.bookingAside h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--blue2);
}

.bookingAside .asideMeta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 6px;
}

.bookingMain {
  padding: 8px 22px 24px;
  overflow: visible;
}

.bookingTitle {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--blue2);
}

.bookingHint {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.bookingWizardHead {
  margin-bottom: 4px;
}

.bookingProgress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.bookingProgressStep {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  position: relative;
  padding-top: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.bookingProgressStep::before {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 14px);
  right: calc(-50% + 14px);
  height: 2px;
  background: rgba(15, 23, 42, 0.12);
  z-index: 0;
}

.bookingProgressStep:last-child::before {
  display: none;
}

.bookingProgressStep.is-done::before {
  background: rgba(11, 59, 122, 0.35);
}

.bookingProgressNum {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  background: rgba(15, 23, 42, 0.08);
  color: var(--muted);
  border: 2px solid rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 1;
}

.bookingProgressStep.is-active .bookingProgressNum {
  background: var(--blue2);
  color: #fff;
  border-color: var(--blue2);
}

.bookingProgressStep.is-done .bookingProgressNum {
  background: rgba(11, 59, 122, 0.12);
  color: var(--blue2);
  border-color: rgba(11, 59, 122, 0.25);
}

.bookingProgressLabel {
  line-height: 1.25;
  max-width: 100px;
}

.bookingStepPanel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bookingExtrasIntro {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
  color: var(--blue2);
}

.bookingExtrasList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bookingExtraRow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(11, 59, 122, 0.03);
  cursor: pointer;
  font: inherit;
}

.bookingExtraRow input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--blue2);
}

.bookingExtraLabel {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.bookingExtraPrice {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue2);
  white-space: nowrap;
}

.bookingSummaryCard {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(11, 59, 122, 0.06);
  border: 1px solid rgba(11, 59, 122, 0.12);
}

.bookingSummaryTitle {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 12px;
}

.bookingSummaryLines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.bookingSummaryLine {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.bookingSummaryLine span:last-child {
  color: var(--blue2);
  flex-shrink: 0;
}

.bookingSummaryTotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 15px;
  font-weight: 900;
  color: var(--blue2);
}

.bookingSummaryTotal strong {
  font-size: 22px;
  font-weight: 900;
}

.bookingAdvanceNote {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.4;
}

.bookingWizardNav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 4px;
}

.bookingWizardNavSpacer {
  flex: 1;
  min-width: 8px;
}

.bookingForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.formRow.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.formLabel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue2);
}

.formLabel select,
.formLabel input,
.formLabel textarea {
  font: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--text);
}

.formLabel textarea {
  resize: vertical;
  min-height: 80px;
}

.bookingEstimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(11, 59, 122, 0.06);
  border: 1px solid rgba(11, 59, 122, 0.12);
  font-weight: 700;
  color: var(--muted);
  font-size: 14px;
}

.bookingEstimate strong {
  color: var(--blue2);
  font-size: 18px;
}

.bookingActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .bookingModalBody {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .bookingAside {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .formRow.two {
    grid-template-columns: 1fr;
  }

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

  .carsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .carThumb {
    width: 58px;
    height: 44px;
  }

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