/* Overlay for rental PHP forms/cards on top of Antra theme */

/*
 * Theme tokens (template 1).
 * Default / dark ≈ current fleet look. Light = separate palette.
 * Toggle sets html[data-theme="light"|"dark"] (see site_antra_layout + site.js).
 */
:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --fleet-accent: #ff5f00;
  --fleet-bg: #0f0f10;
  --fleet-card: #1a1a1c;
  --fleet-card-grad: linear-gradient(180deg, #151517 0%, #1c1c1f 38%, #2a2c31 52%, #1a1a1c 68%, #121214 100%);
  --fleet-surface: #161618;
  --fleet-surface-2: #1a1a1c;
  --fleet-chip-bg: #2a2a2e;
  --fleet-chip-bg-active: #222226;
  --fleet-text: #ffffff;
  --fleet-muted: rgba(255, 255, 255, 0.72);
  --fleet-muted-2: rgba(255, 255, 255, 0.55);
  --fleet-muted-3: rgba(255, 255, 255, 0.45);
  --fleet-line: rgba(255, 255, 255, 0.12);
  --fleet-line-soft: rgba(255, 255, 255, 0.06);
  --fleet-ok: #3dd68c;
  --fleet-glow: rgba(210, 215, 225, 0.55);
  --fleet-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --page-bg: #0f0f10;
  --page-fg: rgba(255, 255, 255, 0.78);
  --header-icon-bg: rgba(255, 255, 255, 0.08);
  --header-icon-border: rgba(255, 255, 255, 0.28);
  --header-icon-fg: #ffffff;
  /* heading-primary в Antra = и текст, и фон sticky-хедера — оставляем тёмным */
  --tl-color-heading-primary: #0f0f10;
  --tl-color-text-body: #b8b8bc;
  --tl-color-border-1: #2e2e32;
  --header-bg: #0f0f10;
}

html[data-theme="light"] {
  color-scheme: light;
  --fleet-accent: #ff5f00;
  --fleet-bg: #f3f4f6;
  --fleet-card: #ffffff;
  --fleet-card-grad: linear-gradient(180deg, #ffffff 0%, #f7f8fa 42%, #eef0f3 100%);
  --fleet-surface: #ffffff;
  --fleet-surface-2: #f7f8fa;
  --fleet-chip-bg: #ffffff;
  --fleet-chip-bg-active: #fff7f2;
  --fleet-text: #121214;
  --fleet-muted: rgba(18, 18, 20, 0.68);
  --fleet-muted-2: rgba(18, 18, 20, 0.5);
  --fleet-muted-3: rgba(18, 18, 20, 0.38);
  --fleet-line: rgba(18, 18, 20, 0.12);
  --fleet-line-soft: rgba(18, 18, 20, 0.06);
  --fleet-ok: #1f9d63;
  --fleet-glow: rgba(180, 190, 205, 0.35);
  --fleet-shadow: 0 16px 36px rgba(18, 18, 20, 0.1);
  --page-bg: #f3f4f6;
  --page-fg: #4d4d52;
  --header-icon-bg: rgba(18, 18, 20, 0.04);
  --header-icon-border: rgba(18, 18, 20, 0.14);
  --header-icon-fg: #121214;
  --tl-color-heading-primary: #191919;
  --tl-color-text-body: #4d4d52;
  --tl-color-border-1: #e3e3e8;
  --tl-color-common-white: #ffffff;
  --tl-color-bg-1: #1c1c1d;
  --header-bg: #ffffff;
}

.rental-brand-text {
  display: inline-block;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #fff;
  line-height: 1;
}

/* Размер логотипа из настроек компании (--site-logo-height) */
.header-logo img,
.side-menu-logo img,
.footer-logo img,
.mobile-side-menu .side-menu-head img {
  height: var(--site-logo-height, 40px) !important;
  width: auto !important;
  max-width: min(220px, 55vw);
  object-fit: contain;
}

.header .rental-brand-text,
.side-menu-logo .rental-brand-text,
.footer-logo .rental-brand-text { color: #fff; }

/* Antra: хедер — фон из темы (не серый sticky) */
.inner-page .header,
.inner-page .header .primary-header,
.inner-page .header .primary-header.fixed,
html[data-theme="dark"] .header,
html[data-theme="dark"] .header .primary-header,
html[data-theme="dark"] .header .primary-header.fixed {
  background-color: var(--header-bg, var(--fleet-bg)) !important;
}
html[data-theme="light"] .inner-page .header,
html[data-theme="light"] .inner-page .header .primary-header,
html[data-theme="light"] .inner-page .header .primary-header.fixed,
html[data-theme="light"] .header.is-sticky .primary-header,
html[data-theme="light"] .header .primary-header.fixed {
  background-color: var(--header-bg) !important;
}
body.inner-page {
  background-color: var(--page-bg);
}

.rental-lang-wrap { margin-left: .35rem; }
.rental-lang { position: relative; }
.rental-lang > summary {
  list-style: none;
  cursor: pointer;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--header-icon-bg);
  color: var(--header-icon-fg); font-size: 1rem;
  border: 1px solid var(--header-icon-border);
}
.rental-lang > summary::-webkit-details-marker { display: none; }
.rental-lang__menu {
  position: absolute; right: 0; top: calc(100% + .4rem);
  min-width: 9.5rem; background: var(--fleet-surface); border-radius: .6rem;
  box-shadow: var(--fleet-shadow); padding: .35rem;
  z-index: 50;
  border: 1px solid var(--fleet-line-soft);
}
.rental-lang__menu a {
  display: block; padding: .45rem .7rem; color: var(--fleet-text);
  text-decoration: none; border-radius: .4rem; font-size: .88rem; font-weight: 600;
  white-space: nowrap;
}
.rental-lang__menu a.is-active,
.rental-lang__menu a:hover {
  background: color-mix(in srgb, var(--fleet-accent) 14%, var(--fleet-surface));
  color: var(--fleet-accent);
}

.rental-account-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--header-icon-bg);
  color: var(--header-icon-fg); margin-left: .35rem;
  border: 1px solid var(--header-icon-border);
  text-decoration: none;
}
.rental-account-icon:hover { color: var(--fleet-accent); }

.sidebar-icon .sidebar-trigger {
  color: var(--header-icon-fg, #fff);
  background: var(--header-icon-bg, transparent);
  border: 1px solid var(--header-icon-border, transparent);
  border-radius: 50%;
}
.sidebar-icon .sidebar-trigger path {
  fill: currentColor;
}

.rental-alert {
  margin: 1rem 0 0; padding: 1rem 1.2rem; border-radius: 1rem;
  font-weight: 600; color: #1c1c1d; background: #fff;
  border: 1px solid rgba(28,28,29,.1);
}
.rental-alert--success { border-color: rgba(202,160,92,.45); background: rgba(202,160,92,.1); }
.rental-alert--error { border-color: rgba(180,60,60,.3); background: rgba(180,60,60,.06); color: #a33; }

/* Forms / fleet cards used by PHP pages */
.rental-section { padding: 80px 0 100px; }
.rental-form {
  max-width: 32rem;
  display: grid; gap: 1rem;
}
.rental-form .site-field,
.rental-form .field { display: grid; gap: .35rem; }
.rental-form label { font-weight: 600; color: #1c1c1d; font-size: .9rem; }
.rental-form input,
.rental-form select,
.rental-form textarea {
  width: 100%; border: 1px solid rgba(28,28,29,.15);
  border-radius: .75rem; padding: .75rem 1rem;
  font: inherit; background: #fff; color: #1c1c1d;
}
.rental-form button,
.rental-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; cursor: pointer; text-decoration: none;
  background: #caa05c; color: #fff; font-weight: 600;
  padding: .85rem 1.4rem; border-radius: 999px;
}
.rental-btn--ghost {
  background: transparent; color: #1c1c1d;
  border: 1px solid rgba(28,28,29,.2);
}
.rental-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.rental-card {
  background: #fff; border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 16px 40px rgba(28,28,29,.07);
}
.rental-card__visual {
  aspect-ratio: 16/10; background: #ece8e1; position: relative;
}
.rental-card__visual img,
.rental-card__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.rental-card__plate,
.site-card__plate { display: none !important; }
.rental-card__body { padding: 1.15rem 1.2rem 1.35rem; }
.rental-card__title { margin: 0 0 .35rem; color: #1c1c1d; font-size: 1.2rem; }
.rental-card__meta { margin: 0 0 1rem; color: #59585d; font-size: .92rem; }
.rental-card__row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.rental-price { font-weight: 700; color: #1c1c1d; }
.rental-price small { font-weight: 500; color: #59585d; }
.rental-empty {
  padding: 2rem; text-align: center; color: #59585d;
  background: #fff; border-radius: 1rem;
}
.rental-dl {
  display: grid; gap: .65rem; margin: 0;
}
.rental-dl > div {
  display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid rgba(28,28,29,.08); padding-bottom: .55rem;
}
.rental-dl dt { margin: 0; color: #59585d; }
.rental-dl dd { margin: 0; font-weight: 600; color: #1c1c1d; }

.site-card__visual--photo img.site-card__img,
.site-car__visual--photo img.site-card__img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Compat: старые классы витрины поверх Antra */
.site-wrap { width: min(1280px, calc(100% - 2rem)); margin-inline: auto; }
.site-section { padding: 80px 0 100px; }
.site-section__title { color: #1c1c1d; margin: 0 0 .5rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.site-section__sub, .site-muted { color: #59585d; }
.site-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.site-card { background: #fff; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 16px 40px rgba(28,28,29,.07); }
.site-card__visual { aspect-ratio: 16/10; background: #ece8e1; position: relative; }
.site-card__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-card__body { padding: 1.15rem 1.2rem 1.35rem; }
.site-card__title { margin: 0 0 .35rem; color: #1c1c1d; font-size: 1.2rem; }
.site-card__meta { margin: 0 0 1rem; color: #59585d; font-size: .92rem; }
.site-card__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.site-price { font-weight: 700; color: #1c1c1d; }
.site-price small { font-weight: 500; color: #59585d; }
.site-btn, .site-btn--primary, .site-btn--accent {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; cursor: pointer; text-decoration: none;
  background: #caa05c; color: #fff !important; font-weight: 600;
  padding: .75rem 1.25rem; border-radius: 999px;
}
.site-btn--ghost, .site-btn--ghost-light {
  background: transparent; color: #1c1c1d !important;
  border: 1px solid rgba(28,28,29,.2);
}
.site-btn--sm { padding: .5rem .9rem; font-size: .85rem; }
.site-btn--block { width: 100%; }
.site-form, .site-panel { display: grid; gap: 1rem; background: #fff; padding: 1.25rem; border-radius: 1rem; box-shadow: 0 12px 30px rgba(28,28,29,.06); }
.site-field { display: grid; gap: .35rem; }
.site-field label { font-weight: 600; color: #1c1c1d; }
.site-field input, .site-field select, .site-field textarea {
  width: 100%; border: 1px solid rgba(28,28,29,.15); border-radius: .75rem; padding: .75rem 1rem; font: inherit;
}
.site-form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .site-form-row { grid-template-columns: 1fr; } }
.site-empty { padding: 2rem; text-align: center; color: #59585d; background: #fff; border-radius: 1rem; }
.site-alert { margin: 1rem 0; padding: 1rem 1.2rem; border-radius: 1rem; font-weight: 600; }
.site-alert--error { background: rgba(180,60,60,.06); color: #a33; }
.site-alert--success { background: rgba(202,160,92,.1); color: #1c1c1d; }
.site-dl { display: grid; gap: .65rem; margin: 0; }
.site-dl > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(28,28,29,.08); padding-bottom: .55rem; }
.site-dl dt { margin: 0; color: #59585d; }
.site-dl dd { margin: 0; font-weight: 600; color: #1c1c1d; }
.site-car { display: grid; gap: 2rem; grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .site-car { grid-template-columns: 1fr; } }
.site-car__visual { border-radius: 1.25rem; overflow: hidden; background: #ece8e1; min-height: 280px; display: grid; place-items: center; position: relative; }
.site-car__visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.site-car__visual strong { position: relative; z-index: 1; color: #fff; text-shadow: 0 8px 24px rgba(0,0,0,.45); font-size: 1.5rem; padding: 1rem; }
.antra-pagehero { display: none; } /* заменён на .page-header темы */

@media (max-width: 991px) {
  .header-contact { display: none !important; }
}

/* —— Fleet / Sixt-like layout —— */
.fleet-page {
  background: var(--fleet-bg);
  min-height: 70vh;
  padding-bottom: 4rem;
}
.fleet-page__body {
  padding: 2rem 0 1rem;
}

/* —— Бейдж «Изменить поиск» + выезжающая форма —— */
.rental-search-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-right: .65rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--header-icon-border);
  background: var(--header-icon-bg);
  color: var(--header-icon-fg);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rental-search-badge i { font-size: .9rem; opacity: .9; }
.rental-search-badge:hover,
.rental-search-badge.is-open {
  background: color-mix(in srgb, var(--fleet-accent) 18%, transparent);
  border-color: var(--fleet-accent, #ff5f00);
  color: var(--header-icon-fg);
}
.rental-search-drawer {
  position: relative;
  z-index: 40;
  background: var(--fleet-bg);
  padding: .85rem 0 1.1rem;
  border-bottom: 1px solid var(--fleet-line-soft);
  box-shadow: var(--fleet-shadow);
}
.rental-search-drawer[hidden] {
  display: none !important;
}
.rental-search-drawer .rental-search-wrap {
  margin: 0 auto;
  max-width: 1180px;
}
@media (max-width: 1199px) {
  .rental-search-badge span { display: none; }
  .rental-search-badge { padding: .55rem .7rem; margin-right: .4rem; }
}
@media (max-width: 991px) {
  .rental-search-badge { display: inline-flex; }
}
.fleet-page__title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--fleet-text);
  line-height: 1.15;
}

.fleet-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
  margin: 0 0 2rem;
}
.fleet-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--fleet-chip-bg);
  color: var(--fleet-text) !important;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid var(--fleet-line);
  transition: border-color .2s ease, background .2s ease;
}
.fleet-chip:hover,
.fleet-chip.is-active {
  border-color: var(--fleet-accent);
  background: var(--fleet-chip-bg-active);
}
.fleet-chip--search {
  padding: .35rem .85rem .35rem 1rem;
  min-width: min(240px, 100%);
}
.fleet-chip--search input {
  border: 0;
  background: transparent;
  color: var(--fleet-text);
  font: inherit;
  font-weight: 600;
  width: 100%;
  outline: none;
  min-width: 0;
}
.fleet-chip--search input::placeholder {
  color: var(--fleet-muted-3);
}
.fleet-chip--search i { color: var(--fleet-muted-2); flex-shrink: 0; }

.fleet-empty {
  text-align: center;
  color: var(--fleet-muted-2);
  padding: 3rem 1rem;
}

.fleet-offers-section {
  background: var(--fleet-bg);
}
.fleet-offers-section .section-title,
.fleet-offers-section .section-title span,
.fleet-offers-section .section-heading p,
.fleet-offers-section .sub-heading {
  color: var(--fleet-text) !important;
}
.fleet-offers-section .section-heading p { opacity: .7; }
.fleet-offers-section .project-text span {
  color: color-mix(in srgb, var(--fleet-text) 6%, transparent);
}
.fleet-offers-section .tl-primary-btn {
  background: var(--fleet-accent);
  color: #fff;
  border: 0;
}

.fleet-offers {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fleet-offers--home { margin-top: 2rem; }
@media (max-width: 1100px) {
  .fleet-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .fleet-offers { grid-template-columns: 1fr; }
}

.fleet-offer {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--fleet-card-grad);
  border: 2px solid transparent;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.fleet-offer:hover,
.fleet-offer:focus-within {
  border-color: var(--fleet-accent);
  transform: translateY(-2px);
  box-shadow: var(--fleet-shadow);
}
.fleet-offer--reserved {
  opacity: .92;
}
.fleet-offer--reserved:hover,
.fleet-offer--reserved:focus-within {
  border-color: var(--fleet-line);
}
.fleet-offer__ribbon {
  position: absolute;
  top: 1.35rem;
  right: -2.1rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: .42rem .9rem;
  border: 1.5px solid color-mix(in srgb, var(--fleet-text) 78%, transparent);
  border-radius: .35rem;
  background: color-mix(in srgb, var(--fleet-bg) 28%, transparent);
  color: var(--fleet-text);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  transform: rotate(38deg);
  transform-origin: center;
  pointer-events: none;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.fleet-offer__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 460px;
  padding: 1.2rem 1.2rem 1rem;
  text-decoration: none !important;
  color: inherit;
}
.fleet-offer__head { position: relative; z-index: 2; }
.fleet-offer__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.15;
  color: var(--fleet-text);
  text-transform: uppercase;
}
.fleet-offer__sub {
  margin: .35rem 0 0;
  font-size: .88rem;
  color: var(--fleet-muted);
}
.fleet-offer__specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .85rem;
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  color: color-mix(in srgb, var(--fleet-text) 85%, transparent);
  font-size: .82rem;
  font-weight: 600;
}
.fleet-offer__specs li {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.fleet-offer__specs i { opacity: .85; }
.fleet-offer__badge {
  background: var(--fleet-accent);
  color: #fff !important;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.fleet-offer__trans {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid color-mix(in srgb, var(--fleet-text) 75%, transparent);
  border-radius: .25rem;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1;
}

.fleet-offer__visual {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 210px;
  margin: .25rem -0.4rem 0.5rem;
}
.fleet-offer__visual:has(img)::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  top: 28%;
  bottom: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    var(--fleet-glow) 0%,
    color-mix(in srgb, var(--fleet-glow) 40%, transparent) 42%,
    transparent 72%);
  pointer-events: none;
}
.fleet-offer__visual:has(img)::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 16%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .35), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}
.fleet-offer__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .4));
}

.fleet-offer__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: .5rem;
}
.fleet-offer__perks {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}
.fleet-offer__perk {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: color-mix(in srgb, var(--fleet-text) 80%, transparent);
  font-weight: 500;
}
.fleet-offer__perk i { color: var(--fleet-ok); font-size: .7rem; }
.fleet-offer__pricebox {
  text-align: right;
  flex-shrink: 0;
}
.fleet-offer__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fleet-accent);
  line-height: 1.1;
  white-space: nowrap;
}
.fleet-offer__price small {
  font-size: .85rem;
  font-weight: 600;
  color: var(--fleet-accent);
}
.fleet-offer__total {
  margin-top: .2rem;
  font-size: .82rem;
  color: var(--fleet-muted);
  font-weight: 500;
}

/* —— Форма подбора авто (Sixt-like) —— */
.rental-search-wrap {
  position: relative;
  z-index: 40;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 1.5rem;
}
.rental-search-wrap--overlap {
  width: min(1180px, calc(100% - 2rem));
  margin-top: -3.5rem;
  margin-bottom: 0;
}

/*
 * Главная (тема 1): слайдер + форма подбора целиком в первом экране.
 * Flex: форма занимает свою высоту, слайдер заполняет остаток 100svh.
 */
.home-page {
  --rental-search-overlap: 2rem;
}
.home-page .home-hero-screen {
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 28rem;
  overflow: hidden;
}
.home-page .home-hero-screen .slider-section {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
}
.home-page .home-hero-screen .antra-slider,
.home-page .home-hero-screen .antra-slider .swiper-wrapper,
.home-page .home-hero-screen .antra-slider .swiper-slide,
.home-page .home-hero-screen .antra-slider .slider-item {
  height: 100% !important;
  min-height: 0;
  max-height: none;
}
.home-page .antra-slider .slider-item {
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.home-page .antra-slider .slider-item .slider-content-wrap {
  padding-top: clamp(5.5rem, 12vh, 8.5rem) !important;
  padding-bottom: clamp(1.25rem, 3vh, 2.5rem) !important;
  margin-top: auto;
}
.home-page .antra-slider .slider-item .slider-content-wrap .section-heading {
  margin-bottom: clamp(1rem, 3vh, 2.5rem) !important;
}
.home-page .antra-slider .slider-item .slider-content-wrap .section-heading .section-title {
  font-size: clamp(2.1rem, 5.5vw, 4.5rem) !important;
  line-height: 1.05 !important;
}
.home-page .antra-slider .slider-item .slider-element-wrap {
  bottom: clamp(1rem, 3vh, 2rem) !important;
  right: clamp(1rem, 3vw, 3rem) !important;
}
.home-page .antra-slider .slider-item .slider-element-wrap .slider-thumb {
  height: clamp(140px, 22vh, 240px) !important;
}
.home-page .antra-slider .slider-item .slider-element-wrap .slider-element {
  padding: clamp(1rem, 2vh, 1.75rem) clamp(1rem, 2vw, 1.75rem) !important;
}
.home-page .antra-slider .slider-item .slider-element-wrap .slider-element .element-title {
  font-size: clamp(1.75rem, 4vh, 2.75rem) !important;
}
.home-page .antra-slider .slider-item .slider-element-wrap .slider-element span {
  margin-bottom: clamp(0.75rem, 2vh, 1.5rem) !important;
}
.home-page .home-hero-screen .rental-search-wrap,
.home-page .home-hero-screen .rental-search-wrap--overlap {
  flex: 0 0 auto;
  margin-top: calc(-1 * var(--rental-search-overlap));
  margin-bottom: 1.25rem;
  width: min(1180px, calc(100% - 2rem));
}
.home-page .rental-search {
  padding: 0.85rem 1.1rem 0.9rem;
  gap: 0.75rem 1rem;
}
.rental-search {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 1rem 1.25rem;
  align-items: end;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.1rem 1.25rem 1.15rem;
  box-shadow: 0 18px 50px rgba(28, 28, 29, .14);
  border: 1px solid rgba(28, 28, 29, .06);
}
.rental-search__label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #9f9fa4;
  margin-bottom: .35rem;
}
.rental-search__value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1c1c1d;
  line-height: 1.25;
}
.rental-search__input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(28, 28, 29, .12);
  border-radius: 0;
  padding: .35rem 0 .45rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1c1c1d;
  background: transparent;
  outline: none;
}
.rental-search__input:focus {
  border-bottom-color: #caa05c;
}
.rental-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  background: #caa05c;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  min-width: 11rem;
  transition: background .2s ease, transform .15s ease;
}
.rental-search__btn:hover {
  background: #b88d4a;
}
.rental-search__btn:active {
  transform: scale(.98);
}

/* Sticky clone на body (вне ScrollSmoother) — только ≥992px */
.rental-search.is-stuck {
  position: fixed;
  top: 5.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 2rem));
  z-index: 950;
  margin: 0;
  box-shadow: 0 14px 40px rgba(28, 28, 29, .18);
  animation: rentalSearchIn .28s ease;
}
@keyframes rentalSearchIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 991px) {
  .home-page {
    --rental-search-overlap: 1.25rem;
  }
  .home-page .home-hero-screen {
    min-height: 0;
  }
  .home-page .antra-slider .slider-item .slider-element-wrap {
    display: none !important; /* освобождаем место под форму на узких экранах */
  }
  .rental-search-wrap {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .home-page .home-hero-screen .rental-search-wrap--overlap {
    margin-top: calc(-1 * var(--rental-search-overlap));
    margin-bottom: 1rem;
  }
  .rental-search {
    grid-template-columns: 1fr;
    gap: .85rem;
    border-radius: 1rem;
    padding: 1rem 1.1rem 1.15rem;
  }
  .rental-search__btn {
    width: 100%;
  }
  .rental-search.is-stuck {
    display: none !important; /* sticky только для больших экранов */
  }
}
@media (max-width: 991px) and (max-height: 740px) {
  .home-page .antra-slider .slider-item .bottom-content .antra-desc {
    display: none;
  }
  .home-page .antra-slider .slider-item .slider-content-wrap {
    padding-top: clamp(4.5rem, 10vh, 6rem) !important;
    padding-bottom: 1rem !important;
  }
  .home-page .antra-slider .slider-item .slider-content-wrap .section-heading .section-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
  }
}

/* —— Шаг выбора авто (Sixt detail) —— */
.car-step {
  background: var(--fleet-bg);
  padding: 5.75rem 0 3rem;
}
@media (max-width: 700px) {
  .car-step { padding-top: 4.5rem; }
}
.car-step__grid {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(320px, 1.15fr);
  gap: 0;
  width: min(1280px, calc(100% - 1.5rem));
  margin: 1rem auto 0;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 70vh;
  box-shadow: var(--fleet-shadow);
}
.car-step__visual {
  background: var(--fleet-card-grad);
  color: var(--fleet-text);
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}
.car-step__back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--fleet-muted) !important;
  text-decoration: none !important;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.car-step__back:hover { color: var(--fleet-text) !important; }
.car-step__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.1;
  color: var(--fleet-text);
}
.car-step__sub {
  margin: .45rem 0 0;
  color: var(--fleet-muted);
  font-size: .95rem;
}
.car-step__photo {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 1rem 0;
}
.car-step__photo:has(img)::before {
  content: '';
  position: absolute;
  inset: 20% 8% 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--fleet-glow), transparent 70%);
}
.car-step__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .45));
}
.car-step__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
}
.car-step__thumb {
  width: 3.6rem;
  height: 2.5rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: .45rem;
  overflow: hidden;
  cursor: pointer;
  background: color-mix(in srgb, var(--fleet-text) 8%, transparent);
}
.car-step__thumb.is-active,
.car-step__thumb:hover { border-color: var(--fleet-accent, #ff5f00); }
.car-step__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.car-step__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .86rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--fleet-text) 88%, transparent);
}
.car-step__specs li {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.car-step__badge {
  background: var(--fleet-accent, #ff5f00);
  color: #fff !important;
  border-radius: 999px;
  padding: .25rem .65rem;
  font-size: .75rem;
  font-weight: 700;
}
.car-step__age,
.car-step__place {
  margin: .85rem 0 0;
  font-size: .86rem;
  color: var(--fleet-muted);
  display: flex;
  align-items: center;
  gap: .45rem;
}

.car-step__panel {
  background: var(--fleet-surface);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-left: 1px solid var(--fleet-line-soft);
}
.car-step__form {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.5rem 0;
}
.car-step__dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.car-step__field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--fleet-muted-2);
  margin-bottom: .35rem;
}
.car-step__field input,
.car-step__field textarea {
  width: 100%;
  border: 1px solid var(--fleet-line);
  border-radius: .65rem;
  padding: .7rem .85rem;
  font: inherit;
  background: var(--fleet-surface-2);
  color: var(--fleet-text);
  color-scheme: inherit;
}
.car-step__field input:focus,
.car-step__field textarea:focus {
  outline: none;
  border-color: var(--fleet-accent, #ff5f00);
}
.car-step__field--notes { margin: 1rem 0 1.25rem; }
.car-step__h {
  margin: 0 0 .75rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fleet-text);
}

.car-opts {
  display: grid;
  gap: .65rem;
  margin-bottom: 1.25rem;
}
.car-opt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .85rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: .95rem 1rem;
  border: 2px solid var(--fleet-line);
  border-radius: .85rem;
  background: var(--fleet-chip-bg);
  cursor: pointer;
  font: inherit;
  color: var(--fleet-text);
  transition: border-color .15s ease, background .15s ease;
}
.car-opt:hover {
  border-color: color-mix(in srgb, var(--fleet-text) 22%, transparent);
}
.car-opt.is-selected {
  border-color: var(--fleet-accent, #ff5f00);
  background: var(--fleet-chip-bg-active);
}
.car-opt__radio {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2px solid var(--fleet-muted-2);
  position: relative;
}
.car-opt.is-selected .car-opt__radio {
  border-color: var(--fleet-accent, #ff5f00);
}
.car-opt.is-selected .car-opt__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--fleet-accent, #ff5f00);
}
.car-opt__body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.car-opt__body strong {
  font-size: .95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  color: var(--fleet-text);
}
.car-opt__body small {
  color: var(--fleet-muted-2);
  font-size: .82rem;
}
.car-opt__tag {
  display: inline-block;
  font-style: normal;
  background: var(--fleet-accent, #ff5f00);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .15rem .4rem;
  border-radius: 999px;
}
.car-opt__price {
  font-size: .88rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--fleet-text) 85%, transparent);
  white-space: nowrap;
}

.car-step__bar {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
  background: linear-gradient(180deg, transparent, var(--fleet-surface) 28%);
  border-top: 1px solid var(--fleet-line-soft);
}
.car-step__total {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fleet-text);
  line-height: 1.15;
}
.car-step__daily {
  font-size: .9rem;
  color: var(--fleet-muted);
  font-weight: 600;
  margin-top: .15rem;
}
.car-step__meta {
  font-size: .78rem;
  color: var(--fleet-muted-3);
  margin-top: .2rem;
}
.car-step__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: .95rem 1.5rem;
  border: 0;
  border-radius: .65rem;
  background: var(--fleet-accent, #ff5f00);
  color: #fff !important;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: filter .15s ease, transform .1s ease;
}
.car-step__cta:hover { filter: brightness(1.05); }
.car-step__cta:active { transform: scale(.98); }
.car-step__cta:disabled {
  cursor: not-allowed;
  opacity: .55;
  filter: none;
  transform: none;
}
.car-step__form.is-disabled {
  opacity: .55;
  pointer-events: none;
}
.car-step__reserved {
  margin-bottom: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .04);
}
.car-step__reserved-badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: .35rem;
  background: transparent;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.car-step__reserved p {
  margin: .7rem 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  line-height: 1.4;
}
.car-step__reserved-link {
  display: inline-flex;
  margin-top: .85rem;
  color: #caa05c !important;
  font-weight: 700;
  text-decoration: none !important;
}

@media (max-width: 991px) {
  .car-step__grid {
    grid-template-columns: 1fr;
    width: calc(100% - 1rem);
  }
  .car-step__dates { grid-template-columns: 1fr; }
  .car-step__bar {
    flex-direction: column;
    align-items: stretch;
  }
  .car-step__cta { width: 100%; }
  .car-step__sum { text-align: left; width: 100%; }
}

/* —— Шаг защиты (Sixt packages) —— */
/* Antra header absolute/fixed — не даём ему наезжать на бар шага */
body:has(.protect-step) .header .header-btn,
body:has(.car-step) .header .header-btn {
  display: none !important;
}
body:has(.protect-step) .header .header-contact,
body:has(.car-step) .header .header-contact {
  display: none !important;
}

.protect-step {
  --protect-header-offset: 5.75rem;
  background: var(--fleet-bg, #0f0f10);
  min-height: 70vh;
  padding-top: var(--protect-header-offset);
  padding-bottom: 3rem;
  color: #fff;
}
.protect-top {
  position: sticky;
  top: var(--protect-header-offset);
  z-index: 40;
  background: #141416;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.protect-top__inner {
  width: min(1280px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: .85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.protect-top__lead {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  flex: 1;
}
.protect-top__back {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1rem;
}
.protect-top__back:hover { background: rgba(255, 255, 255, .14); }
.protect-top__title {
  margin: 0;
  font-family: var(--tl-ff-body, inherit);
  font-weight: 800;
  font-size: clamp(.95rem, 2.1vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.25;
  color: #fff;
  max-width: 36rem;
}
.protect-top__actions {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}
.protect-top__total {
  font-size: .95rem;
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
  white-space: nowrap;
}
.protect-top__total strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}
.protect-top__cta {
  border: 0;
  cursor: pointer;
  background: var(--fleet-accent, #ff5f00);
  color: #fff;
  font: inherit;
  font-weight: 800;
  padding: .75rem 1.35rem;
  border-radius: .55rem;
  min-width: 8.5rem;
  position: relative;
  z-index: 1;
}
.protect-top__cta:hover { filter: brightness(1.05); }

.protect-body {
  width: min(1280px, calc(100% - 1.5rem));
  margin: 1.25rem auto 0;
}
.protect-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 1.25rem;
  align-items: start;
}
.protect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.protect-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: #1a1a1c;
  border: 2px solid rgba(255, 255, 255, .1);
  border-radius: 1rem;
  padding: 1.1rem 1rem 1.15rem;
  cursor: pointer;
  font: inherit;
  color: #fff;
  min-height: 420px;
  transition: border-color .15s ease, background .15s ease;
}
.protect-card:hover {
  border-color: rgba(255, 255, 255, .2);
}
.protect-card.is-selected {
  border-color: var(--fleet-accent, #ff5f00);
  background: #1f1f22;
}
.protect-card__radio {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
}
.protect-card.is-selected .protect-card__radio {
  border-color: var(--fleet-accent, #ff5f00);
}
.protect-card.is-selected .protect-card__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--fleet-accent, #ff5f00);
}
.protect-card__stars {
  display: flex;
  gap: .2rem;
  color: var(--fleet-accent, #ff5f00);
  margin-bottom: .65rem;
  font-size: .85rem;
}
.protect-card__title {
  margin: 0 0 .55rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  padding-right: 1.5rem;
  color: #fff;
}
.protect-card__franchise {
  margin: 0 0 .65rem;
  font-size: .82rem;
  font-weight: 700;
}
.protect-card__franchise.is-bad { color: #ff7b72; }
.protect-card__franchise.is-ok { color: #3dd68c; }
.protect-card__discount {
  display: inline-block;
  margin-bottom: .75rem;
  border: 1px solid var(--fleet-accent, #ff5f00);
  color: var(--fleet-accent, #ff5f00);
  border-radius: .4rem;
  padding: .2rem .45rem;
  font-size: .72rem;
  font-weight: 800;
}
.protect-card__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: .55rem;
  flex: 1;
}
.protect-card__list li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: .45rem;
  align-items: start;
  font-size: .82rem;
  line-height: 1.3;
}
.protect-card__list .is-on { color: rgba(255, 255, 255, .9); }
.protect-card__list .is-on i { color: #3dd68c; }
.protect-card__list .is-off { color: rgba(255, 255, 255, .35); }
.protect-card__list .is-off i { color: rgba(255, 255, 255, .25); }
.protect-card__price {
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .95rem;
}
.protect-card__price s {
  display: block;
  color: rgba(255, 255, 255, .35);
  font-size: .8rem;
  margin-bottom: .15rem;
}
.protect-card__price strong {
  font-weight: 800;
  color: #fff;
}

.protect-summary {
  background: #1a1a1c;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem 1.25rem;
  position: sticky;
  top: calc(var(--protect-header-offset, 5.75rem) + 4.5rem);
  align-self: start;
}
.protect-summary h3 {
  margin: 0 0 .85rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.protect-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.protect-summary li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: .5rem;
  font-size: .86rem;
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
}
.protect-summary li i { color: #3dd68c; margin-top: .15rem; }
.protect-summary__note {
  margin: 1rem 0 0;
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.4;
}
.protect-summary__car {
  margin: .85rem 0 0;
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.4;
}
.protect-summary__car strong {
  color: #fff;
  font-size: .92rem;
}

@media (max-width: 1100px) {
  .protect-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .protect-form { grid-template-columns: 1fr; }
  .protect-summary { position: static; }
}
@media (max-width: 700px) {
  .protect-step { --protect-header-offset: 4.5rem; }
  .protect-grid { grid-template-columns: 1fr; }
  .protect-top__inner { flex-direction: column; align-items: stretch; }
  .protect-top__actions { justify-content: space-between; width: 100%; }
  .protect-top__title { font-size: 1rem; }
  .protect-card { min-height: 0; }
}

/* —— Карусель категорий (общая для шаблонов) —— */
.fleet-cats-section {
  background: #fff;
  padding: 1.75rem 0 1.25rem;
}
.home-page .fleet-cats-section {
  margin-top: 0.25rem;
}
.fleet-cats-section--t2 {
  padding: 1.5rem 0 0.5rem;
}
.fleet-cats {
  --fleet-cats-accent: var(--site-primary, var(--tl-color-theme-primary, #caa05c));
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
}
.fleet-cats__viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
}
.fleet-cats__track {
  display: flex;
  align-items: flex-end;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 0.5rem 1.75rem 0.85rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.fleet-cats__track::-webkit-scrollbar {
  display: none;
}
.fleet-cats__item {
  flex: 0 0 auto;
  width: clamp(7.5rem, 12vw, 9.5rem);
  text-align: center;
  text-decoration: none !important;
  color: #1c1c1d;
  scroll-snap-align: start;
  transition: transform .2s ease, opacity .2s ease;
}
.fleet-cats__item:hover {
  transform: translateY(-3px);
}
.fleet-cats__img {
  display: grid;
  place-items: center;
  height: clamp(4.5rem, 8vw, 6rem);
  margin-bottom: 0.65rem;
}
.fleet-cats__img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(20, 24, 32, .18));
}
.fleet-cats__label {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #222;
  line-height: 1.2;
}
.fleet-cats__nav {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--fleet-cats-accent);
  background: #fff;
  color: var(--fleet-cats-accent);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 2;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.fleet-cats__nav:hover {
  background: var(--fleet-cats-accent);
  color: #fff;
}
.fleet-cats__nav:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}
.fleet-cats__nav i {
  font-size: .85rem;
}
@media (max-width: 700px) {
  .fleet-cats {
    grid-template-columns: 1fr;
  }
  .fleet-cats__nav {
    display: none;
  }
  .fleet-cats__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .fleet-cats__track {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

/* —— Google-style reviews carousel —— */
.site-reviews {
  padding: 4rem 0 3.5rem;
  background: #fff;
}
.site-reviews__inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}
.site-reviews__title {
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.75rem;
  letter-spacing: -0.02em;
}
.site-reviews__carousel {
  position: relative;
}
.site-reviews__viewport {
  overflow: hidden;
}
.site-reviews__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.15rem 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.site-reviews__track::-webkit-scrollbar {
  display: none;
}
.site-reviews__card {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  background: #f3f3f3;
  border-radius: 12px;
  padding: 1rem 1.05rem 1.1rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.site-reviews__head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}
.site-reviews__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.site-reviews__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.site-reviews__avatar--letter {
  display: grid;
  place-items: center;
  background: hsl(var(--rev-hue, 210) 45% 38%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}
.site-reviews__g {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-size: 10px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  line-height: 1;
}
.site-reviews__meta {
  min-width: 0;
}
.site-reviews__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a1a;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-reviews__verified {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 8px;
}
.site-reviews__when {
  font-size: 0.78rem;
  color: #70757a;
  margin-top: 0.15rem;
}
.site-reviews__stars {
  color: #fbbc04;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}
.site-reviews__star--off {
  color: #dadce0;
}
.site-reviews__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #202124;
  flex: 1;
}
.site-reviews__more {
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  color: #70757a;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: left;
  align-self: flex-start;
}
.site-reviews__more:hover {
  color: #1a73e8;
  text-decoration: underline;
}
.site-reviews__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #e8eaed;
  color: #3c4043;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.site-reviews__nav:hover {
  background: #dadce0;
}
.site-reviews__nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.site-reviews__nav--prev {
  left: -0.35rem;
}
.site-reviews__nav--next {
  right: -0.35rem;
}
.site-reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.site-reviews__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #c4c7c5;
  cursor: pointer;
}
.site-reviews__dot.is-active {
  width: 9px;
  height: 9px;
  background: #202124;
}
.t2-page .site-reviews {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 767px) {
  .site-reviews__nav {
    display: none;
  }
  .site-reviews__card {
    flex-basis: min(240px, 82vw);
  }
}

/* —— Theme toggle + page chrome (template 1) —— */
.rental-theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-right: .35rem;
  border-radius: 999px;
  border: 1px solid var(--header-icon-border);
  background: var(--header-icon-bg);
  color: var(--header-icon-fg);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rental-theme-toggle:hover {
  border-color: var(--fleet-accent);
  color: var(--fleet-accent);
}
.rental-theme-toggle .rental-theme-toggle__moon { display: none; }
html[data-theme="light"] .rental-theme-toggle .rental-theme-toggle__sun { display: none; }
html[data-theme="light"] .rental-theme-toggle .rental-theme-toggle__moon { display: inline-block; }
html[data-theme="dark"] .rental-theme-toggle .rental-theme-toggle__sun { display: inline-block; }
html[data-theme="dark"] .rental-theme-toggle .rental-theme-toggle__moon { display: none; }

html[data-theme="dark"] body,
html[data-theme="dark"] body.home-page,
html[data-theme="dark"] body.inner-page {
  background-color: var(--page-bg) !important;
  color: var(--page-fg);
}
html[data-theme="dark"] .tl-bg-color,
html[data-theme="dark"] .feature-section,
html[data-theme="dark"] .process-section,
html[data-theme="dark"] .project-section,
html[data-theme="dark"] .newsletter-section {
  background-color: var(--fleet-bg) !important;
}
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .section-heading .sub-heading,
html[data-theme="dark"] .process-content .title,
html[data-theme="dark"] .process-content p,
html[data-theme="dark"] .feature-item .title,
html[data-theme="dark"] .feature-item .title a,
html[data-theme="dark"] .newsletter-wrap .section-title,
html[data-theme="dark"] .newsletter-wrap p {
  color: var(--fleet-text) !important;
}
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .process-desc p,
html[data-theme="dark"] .antra-desc p {
  color: var(--fleet-muted) !important;
}
html[data-theme="dark"] .service-item {
  background: var(--fleet-card);
  color: var(--fleet-text);
}
html[data-theme="dark"] .service-item .title,
html[data-theme="dark"] .service-item .title a,
html[data-theme="dark"] .service-item p {
  color: var(--fleet-text) !important;
}
html[data-theme="dark"] .header,
html[data-theme="dark"] .header.sticky-active,
html[data-theme="dark"] .header.is-sticky,
html[data-theme="dark"] .header .primary-header,
html[data-theme="dark"] .header .primary-header.fixed {
  background-color: var(--header-bg) !important;
  backdrop-filter: none;
}
html[data-theme="dark"] .header-logo .rental-brand-text,
html[data-theme="dark"] .mobile-menu-items a,
html[data-theme="dark"] .header-contact .call-text,
html[data-theme="dark"] .header-contact .call-number {
  color: var(--fleet-text) !important;
}
html[data-theme="dark"] .rental-theme-toggle,
html[data-theme="dark"] .rental-account-icon,
html[data-theme="dark"] .rental-lang summary,
html[data-theme="dark"] .rental-search-badge,
html[data-theme="dark"] .sidebar-icon .sidebar-trigger {
  color: var(--header-icon-fg) !important;
  border-color: var(--header-icon-border);
  background: var(--header-icon-bg);
}
html[data-theme="dark"] .sidebar-icon .sidebar-trigger path {
  fill: currentColor;
}

html[data-theme="light"] body,
html[data-theme="light"] body.home-page,
html[data-theme="light"] body.inner-page {
  background-color: var(--page-bg) !important;
  color: var(--page-fg);
}
html[data-theme="light"] .fleet-page,
html[data-theme="light"] .fleet-offers-section,
html[data-theme="light"] .car-step {
  background: var(--fleet-bg);
}
html[data-theme="light"] .fleet-offer {
  box-shadow: 0 10px 28px rgba(18, 18, 20, 0.06);
}
html[data-theme="light"] .header.sticky-active.is-sticky,
html[data-theme="light"] .header.is-sticky {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}
html[data-theme="light"] .header-logo .rental-brand-text,
html[data-theme="light"] .mobile-menu-items a,
html[data-theme="light"] .header-contact .call-text,
html[data-theme="light"] .header-contact .call-number {
  color: var(--fleet-text) !important;
}
/* Светлый хедер: тёмные иконки (не белые на белом) */
html[data-theme="light"] .rental-theme-toggle,
html[data-theme="light"] .rental-account-icon,
html[data-theme="light"] .rental-lang > summary,
html[data-theme="light"] .rental-search-badge,
html[data-theme="light"] .sidebar-icon .sidebar-trigger {
  color: #121214 !important;
  border-color: rgba(18, 18, 20, 0.16) !important;
  background: rgba(18, 18, 20, 0.05) !important;
}
html[data-theme="light"] .sidebar-icon .sidebar-trigger path {
  fill: currentColor !important;
}

/* Home hero: светлые иконки только поверх тёмного слайдера */
html[data-theme="light"] .home-page .header:not(.is-sticky) .mobile-menu-items > ul > li > a,
html[data-theme="light"] .home-page .header:not(.is-sticky) .rental-brand-text,
html[data-theme="light"] .home-page .header:not(.is-sticky) .header-contact .call-text,
html[data-theme="light"] .home-page .header:not(.is-sticky) .header-contact .call-number {
  color: #fff !important;
}
html[data-theme="light"] .home-page .header:not(.is-sticky) .rental-theme-toggle,
html[data-theme="light"] .home-page .header:not(.is-sticky) .rental-account-icon,
html[data-theme="light"] .home-page .header:not(.is-sticky) .rental-lang > summary,
html[data-theme="light"] .home-page .header:not(.is-sticky) .rental-search-badge,
html[data-theme="light"] .home-page .header:not(.is-sticky) .sidebar-icon .sidebar-trigger {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="light"] .home-page .header:not(.is-sticky) .sidebar-icon .sidebar-trigger path {
  fill: currentColor !important;
}
/* Sticky на главной: снова тёмные иконки на белом хедере */
html[data-theme="light"] .home-page .header .primary-header.fixed .rental-theme-toggle,
html[data-theme="light"] .home-page .header .primary-header.fixed .rental-account-icon,
html[data-theme="light"] .home-page .header .primary-header.fixed .rental-lang > summary,
html[data-theme="light"] .home-page .header .primary-header.fixed .rental-search-badge,
html[data-theme="light"] .home-page .header .primary-header.fixed .sidebar-icon .sidebar-trigger,
html[data-theme="light"] .home-page .header.is-sticky .rental-theme-toggle,
html[data-theme="light"] .home-page .header.is-sticky .rental-account-icon,
html[data-theme="light"] .home-page .header.is-sticky .rental-lang > summary,
html[data-theme="light"] .home-page .header.is-sticky .rental-search-badge,
html[data-theme="light"] .home-page .header.is-sticky .sidebar-icon .sidebar-trigger {
  color: #121214 !important;
  border-color: rgba(18, 18, 20, 0.16) !important;
  background: rgba(18, 18, 20, 0.05) !important;
}
html[data-theme="light"] .home-page .header .primary-header.fixed .sidebar-icon .sidebar-trigger path,
html[data-theme="light"] .home-page .header.is-sticky .sidebar-icon .sidebar-trigger path {
  fill: currentColor !important;
}

/* =========================================================
   Mobile UX — template 1 (клиентский каталог)
   ========================================================= */
@media (max-width: 991px) {
  :root {
    --site-logo-height: min(var(--site-logo-height, 40px), 34px);
  }

  /* —— Header: одна компактная полоса —— */
  .header .primary-header-inner {
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0 !important;
    min-height: 3.25rem;
  }
  .header .primary-header-inner .header-left-wrap {
    flex: 1 1 auto;
    min-width: 0;
    column-gap: 0 !important;
  }
  .header-logo {
    min-width: 0;
  }
  .header-logo img,
  .side-menu-logo img,
  .footer-logo img,
  .mobile-side-menu .side-menu-head img {
    height: min(34px, var(--site-logo-height, 34px)) !important;
    max-width: min(148px, 38vw) !important;
  }
  .header .rental-brand-text {
    font-size: 1.05rem;
  }
  .header-right-wrap {
    flex: 0 0 auto;
    column-gap: 0.3rem !important;
    margin-left: auto;
  }
  .header-btn-wrap,
  .header-contact {
    display: none !important;
  }
  .rental-search-badge,
  .rental-theme-toggle,
  .rental-account-icon,
  .rental-lang > summary {
    width: 2.65rem !important;
    height: 2.65rem !important;
    min-width: 2.65rem;
    margin: 0 !important;
    padding: 0 !important;
  }
  .rental-search-badge span {
    display: none !important;
  }
  .sidebar-icon .sidebar-trigger {
    width: 2.65rem;
    height: 2.65rem;
    display: grid !important;
    place-items: center;
    margin: 0 !important;
  }

  /* —— Fleet page —— */
  .fleet-page {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0));
  }
  .fleet-page__body {
    padding: 4.75rem 0 1.25rem;
  }
  .fleet-page .container,
  .fleet-page .container-2 {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .fleet-page__title {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    margin: 0 0 1rem;
    text-align: left;
    letter-spacing: 0.01em;
    line-height: 1.2;
  }

  .fleet-filters {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin: 0 0 1.15rem;
  }
  .fleet-filters__row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
    margin: 0 -0.15rem;
    padding-inline: 0.15rem;
  }
  .fleet-filters__row::-webkit-scrollbar { display: none; }

  .fleet-chip {
    min-height: 2.75rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.86rem;
    flex: 0 0 auto;
    touch-action: manipulation;
  }
  .fleet-chip--search {
    width: 100%;
    min-width: 0 !important;
    padding: 0.35rem 0.85rem;
    gap: 0.55rem;
  }
  .fleet-chip--search input {
    font-size: 1rem; /* iOS zoom guard */
    min-height: 2.4rem;
  }

  .fleet-offers {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .fleet-offer {
    border-radius: 0.9rem;
  }
  .fleet-offer__link {
    min-height: 0;
    padding: 1rem 1rem 0.95rem;
  }
  .fleet-offer__title {
    font-size: 1.12rem;
  }
  .fleet-offer__sub {
    font-size: 0.84rem;
  }
  .fleet-offer__specs {
    gap: 0.45rem 0.7rem;
    font-size: 0.78rem;
    margin-top: 0.55rem;
  }
  .fleet-offer__visual {
    min-height: 150px;
    margin: 0.15rem 0 0.35rem;
  }
  .fleet-offer__visual img {
    max-height: 160px;
  }
  .fleet-offer__price {
    font-size: 1.28rem;
  }
  .fleet-offer__ribbon {
    top: 1.1rem;
    right: -2.3rem;
    min-width: 8.5rem;
    font-size: 0.62rem;
    padding: 0.35rem 0.7rem;
  }

  /* —— Search drawer: удобный лист —— */
  .rental-search-drawer {
    padding: 0.75rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0));
  }
  .rental-search-drawer .rental-search-wrap {
    width: calc(100% - 1.2rem);
    margin: 0 auto;
  }
  .rental-search {
    border-radius: 1rem;
    padding: 0.95rem 1rem 1.05rem;
    gap: 0.75rem;
  }
  .rental-search__label {
    font-size: 0.68rem;
  }
  .rental-search__value,
  .rental-search__input {
    font-size: 1.02rem;
  }
  .rental-search__btn {
    min-height: 3rem;
    font-size: 1rem;
    border-radius: 0.85rem;
  }

  /* Home hero: не сжимать в 100svh на телефоне */
  .home-page .home-hero-screen {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .home-page .home-hero-screen .slider-section {
    flex: none;
    height: min(48svh, 26rem) !important;
  }
  .home-page .home-hero-screen .rental-search-wrap--overlap {
    margin-top: -1rem;
    width: calc(100% - 1.25rem);
  }

  /* —— Car detail —— */
  .car-step {
    padding: 4.5rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0));
  }
  .car-step__grid {
    width: calc(100% - 0.75rem);
    min-height: 0;
    border-radius: 1rem;
  }
  .car-step__visual {
    padding: 1.1rem 1.1rem 1.25rem;
  }
  .car-step__title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }
  .car-step__photo {
    min-height: 170px;
    margin: 0.65rem 0;
  }
  .car-step__photo img {
    max-height: 200px;
  }
  .car-step__form {
    padding: 1.15rem 1.1rem 0;
  }
  .car-step__bar {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0));
    margin-inline: -1.1rem;
    padding-inline: 1.1rem;
    background: var(--fleet-surface);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.25);
  }
  .car-step__cta {
    min-height: 3.1rem;
    font-size: 1.02rem;
  }
  .car-opt {
    min-height: 3.4rem;
    padding: 0.85rem 0.9rem;
  }

  /* Protect step */
  .protect-step {
    --protect-header-offset: 4.25rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
  }
}

@media (max-width: 700px) {
  .fleet-offer__perk {
    font-size: 0.74rem;
  }
  .fleet-offer__total {
    font-size: 0.78rem;
  }
}

/* Desktop: filters row stays inline */
@media (min-width: 992px) {
  .fleet-filters {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .fleet-filters__row {
    display: contents;
  }
  .fleet-chip--search {
    order: 10;
  }
}
