@font-face {
  font-family: 'SaborFont';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ieVl2ZhZI2eCN5jzbjEETS9weq8-19K7DQ.woff2') format('woff2');
}

@font-face {
  font-family: 'SaborFont';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/ieVl2ZhZI2eCN5jzbjEETS9weq8-19K7DQ.woff2') format('woff2');
}

@font-face {
  font-family: 'SaborFont';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ieVl2ZhZI2eCN5jzbjEETS9weq8-19a7DRs5.woff2') format('woff2');
}

@font-face {
  font-family: 'SaborFont';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/ieVl2ZhZI2eCN5jzbjEETS9weq8-19a7DRs5.woff2') format('woff2');
}

:root {
  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #5b5b5b;
  --line: #d8d8d8;
  --sidebar: #d6ceba;
  --footer: #343946;
  --footer-line: rgba(255,255,255,0.1);
  --white: #ffffff;
  --green: #77bf69;
  --orange: #eb8015;
  --container: 1180px;
  --header-height: 68px;
  --font: 'SaborFont', Arial, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.35;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: absolute;
  left: 10px;
  top: -40px;
  background: #000;
  color: #fff;
  padding: 8px 10px;
  z-index: 1000;
}

.skip-link:focus { top: 10px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.header-row {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
}

.brand img {
  width: 64px;
  height: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid #2f2f2f;
  padding: 12px 16px;
  min-width: 214px;
}

.menu-toggle span:not(.menu-toggle__text) {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 15px;
  color: #777;
}

.site-nav a.is-current,
.site-nav a:hover {
  color: #171717;
}

.page-main {
  padding: 22px 0 0;
  background: #fff;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 18px;
  align-items: start;
}

.content-column,
.sidebar-column {
  min-width: 0;
}

.contact-intro {
  text-align: center;
  margin-bottom: 26px;
}

.contact-intro__phone {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
}

.contact-intro__messengers {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.contact-intro__messengers img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.contact-intro__logo {
  margin: 0 auto 8px;
  width: 180px;
}

.contact-intro__company {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
}

.contact-intro__phones,
.contact-intro__address {
  color: #2f2f2f;
  font-size: 15px;
}

.contact-intro__phones { margin-bottom: 8px; }

.cars-list {
  display: grid;
  gap: 22px;
}

.car-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 24px;
  align-items: start;
  padding: 0 0 16px;
}

.car-row__info h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  clear: both;
}

.car-row__info p {
  margin: 0 0 8px;
  max-width: 520px;
  color: #3d3d3d;
  font-size: 15px;
}

.car-row__image {
  margin: 0;
}

.car-row__image img {
  width: 100%;
  max-width: 560px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-size: 15px;
}

.price-table td {
  border: 1px solid var(--line);
  padding: 3px 7px;
  vertical-align: middle;
}

.price-table td:last-child {
  width: 140px;
  text-align: right;
}

.price-table tr:first-child td:last-child,
.price-table td strong {
  font-weight: 700;
}

.sidebar-box {
  background: var(--sidebar);
  padding: 22px 14px;
  margin-bottom: 0;
}

.sidebar-box + .sidebar-box {
  padding-top: 18px;
}

.sidebar-box h2 {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.15;
  color: var(--orange);
}

.sidebar-box p {
  margin: 0 0 22px;
  font-size: 15px;
  color: #2e2e2e;
}

.sidebar-box ol {
  margin: 0;
  padding-left: 20px;
}

.sidebar-box li {
  margin-bottom: 16px;
  font-size: 15px;
}

.text-page h1 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
}

.text-page h2 {
  margin: 28px 0 12px;
  font-size: 20px;
  line-height: 1.25;
}

.text-page p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.45;
}

.text-link {
  color: #2b5dab;
}

.site-footer {
  margin-top: 28px;
  background: var(--footer);
  color: #fff;
  padding: 36px 0 30px;
}

.footer-top {
  display: block;
  width: 28px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 28px;
  line-height: 1;
  color: rgba(255,255,255,0.8);
}

.footer-divider {
  height: 1px;
  background: var(--footer-line);
  margin-bottom: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.footer-logo-wrap img {
  width: 200px;
}

.footer-col {
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
}

.footer-label {
  margin-bottom: 2px;
}

.footer-whatsapp {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
}

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

  .sidebar-column {
    order: 2;
  }

  .sidebar-box { margin-bottom: 16px; }

  .car-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .car-row__image img {
    max-width: 560px;
  }
}

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

  .sidebar-column {
    order: 2;
  }

  .sidebar-box { margin-bottom: 16px; }

  .car-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .car-row__image img {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  .header-row {
    position: relative;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 10px 0;
    min-height: auto;
  }

  .brand img {
    width: 72px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 42px;
    min-width: 46px;
    padding: 0;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    justify-self: end;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #444;
  }

  .site-nav {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    padding: 8px 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li + li {
    border-top: 1px solid #efefef;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 2px;
    font-size: 17px;
    color: #444;
  }

  .site-nav a.is-current {
    color: #111;
    font-weight: 700;
  }

  .page-main {
    padding-top: 18px;
  }

  .contact-intro__phone {
    font-size: 20px;
  }

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

  .footer-logo-wrap img {
    margin: 0 auto;
  }
}
