/* Brand landing — octane arenda-{brand}/ + Titane overrides */

@import url("brand-page-source.css");
@import url("faq-section-source.css");

body.brand-landing-page.car-index .main {
  padding-top: 0;
}

body.brand-landing-page.car-index .cars-company {
  padding-top: 0;
}

/* Octane brand hero height (inline on source page) */
@media (min-width: 1200px) {
  body.brand-landing-page .slider-car.cars-company__sections .slide {
    height: 752px;
    background-size: cover;
    background-position: center;
  }
}

/* Porsche brand hero — 1920×1281, exact aspect (no top letterbox stripes), full car */
body.brand-landing-page.brand-porsche .slider-car.cars-company__sections .slide {
  height: min(100vh, calc(100vw * 1281 / 1920));
  min-height: 420px;
  max-height: none;
  background-size: 100% auto;
  -webkit-background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: transparent;
}

@media (min-width: 1200px) {
  body.brand-landing-page.brand-porsche .slider-car.cars-company__sections .slide {
    height: min(900px, calc(100vw * 1281 / 1920));
    background-size: 100% auto;
    background-position: center top;
  }
}

@media (max-width: 767px) {
  body.brand-landing-page.brand-porsche .cars-company .slide {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1920 / 1281;
    background-size: 100% auto;
    -webkit-background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: transparent;
  }

  body.brand-landing-page.brand-porsche .cars-company .slide__text {
    position: absolute;
    inset: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 14px 56px;
    box-sizing: border-box;
  }

  body.brand-landing-page.brand-porsche .cars-company .slide > .callback-link,
  body.brand-landing-page.brand-porsche .cars-company .slide .callback-link.callback-top {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  body.brand-landing-page .slide__text_car {
    font-size: clamp(16px, 4.2vw, 20px) !important;
    font-weight: 300 !important;
    max-width: 92%;
    margin-bottom: 8px;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-align: center;
  }

  body.brand-landing-page .cars-company .slide .button.button_theme_slide,
  body.brand-landing-page .callback-link .button.button_theme_slide {
    min-width: min(200px, calc(100% - 48px));
    max-width: 220px;
    width: auto;
    min-height: 40px;
    height: 40px;
    padding: 0 22px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.03em;
    border-radius: 20px;
    border-width: 1.5px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Hero Book CTA — text centered in the pill (all brand landings) */
body.brand-landing-page .cars-company .slide .callback-link .button.button_theme_slide,
body.brand-landing-page .slider-car .callback-link .button.button_theme_slide,
body.brand-landing-page .button.button_theme_slide.callback-link__desktop {
  position: relative;
  left: auto;
  bottom: auto;
  width: auto;
  min-width: 280px;
  max-width: 280px;
  height: 54px;
  min-height: 54px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
}

body.brand-landing-page .slider-car .main-slider-advantage {
  margin-bottom: 0;
}

.brand-first-text {
  max-width: 1470px;
  margin: 0 auto;
  padding: 40px 15px;
  box-sizing: border-box;
}

.brand-first-text .car-description__text {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 18px;
  text-align: left;
}

.brand-first-text .car-description__text:last-child {
  margin-bottom: 0;
}

/* Catalog + feedback — full width like octane */
body.brand-landing-page .cars-company .wrapper.section {
  max-width: 1470px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

body.brand-landing-page .catalog-grid--octane.cars-list {
  width: 100%;
  clear: both;
}

body.brand-landing-page .cars-company .feedback.wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 15px 15px;
  box-sizing: border-box;
  clear: both;
}

body.brand-landing-page .feedback .link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 24px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  border-radius: 21px;
  border: 2px solid;
  text-decoration: none;
  text-transform: none;
  text-align: center;
  box-sizing: border-box;
  flex: 0 1 48%;
  max-width: 48%;
  transition: all 0.3s ease;
}

body.brand-landing-page .feedback .link-button_gray {
  color: #3a3a3a;
  border-color: #3a3a3a;
  background: #fff;
}

body.brand-landing-page .feedback .link-button_dark {
  color: var(--orange, #ff7a22);
  border-color: var(--orange, #ff7a22);
  background: #fff;
}

body.brand-landing-page .feedback .link-button:hover {
  border-color: var(--orange, #ff7a22);
  color: #fff;
  background: var(--orange, #ff7a22);
  box-shadow: 0 1px 2px rgb(0 0 0 / 20%), 0 4px 12px rgb(0 0 0 / 25%);
}

/* Price-banner carousel — owl markup without jQuery Owl */
.banner-with-prices > .owl-carousel:not(.is-initialized) {
  position: relative;
  height: 752px;
  overflow: hidden;
}

.banner-with-prices > .owl-carousel:not(.is-initialized) > .banner {
  height: 100%;
  background-size: cover;
  background-position: center;
}

.banner-with-prices > .owl-carousel:not(.is-initialized) > .banner ~ .banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  pointer-events: none;
}

.banner-with-prices .brand-banner-carousel {
  position: relative;
  height: 752px;
  overflow: hidden;
}

.banner-with-prices .brand-banner-carousel__viewport {
  height: 100%;
  overflow: hidden;
}

.banner-with-prices .brand-banner-carousel__track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.banner-with-prices .brand-banner-carousel .banner {
  flex: 0 0 100%;
  height: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
}

.banner-with-prices .brand-banner-carousel__nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  margin-top: -30px;
  z-index: 2;
  pointer-events: none;
}

.banner-with-prices .brand-banner-carousel__nav button {
  position: absolute;
  width: 33px;
  height: 61px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  font-size: 0;
  color: transparent;
}

.banner-with-prices .brand-banner-carousel__nav button::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  margin: 22px auto;
}

.banner-with-prices .brand-banner-carousel__prev {
  left: 25px;
}

.banner-with-prices .brand-banner-carousel__prev::before {
  transform: rotate(-135deg);
}

.banner-with-prices .brand-banner-carousel__next {
  right: 25px;
}

.banner-with-prices .brand-banner-carousel__next::before {
  transform: rotate(45deg);
}

@media screen and (max-width: 1023px) and (min-width: 800px) {
  .banner-with-prices > .owl-carousel:not(.is-initialized),
  .banner-with-prices .brand-banner-carousel {
    height: 650px;
  }
}

@media (max-width: 799px) {
  .banner-with-prices > .owl-carousel:not(.is-initialized),
  .banner-with-prices .brand-banner-carousel {
    height: 480px;
  }

  .banner-with-prices .brand-banner-carousel__nav {
    display: none;
  }
}

/* Banner blocks — content + price table */
body.brand-landing-page .banner-with-prices > .wrapper {
  max-width: 1470px;
  margin: 0 auto;
  padding: 0 15px 50px;
  box-sizing: border-box;
}

body.brand-landing-page .banner-with-prices .title-open-char {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  text-align: left;
  margin: 30px 0 15px;
  text-transform: none;
}

body.brand-landing-page .banner-with-prices .table-vision {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.brand-landing-page .banner-with-prices .section-price-table {
  width: 100%;
  min-width: 520px;
}

/* Rental services — octane 2×2 grid, image left */
body.brand-landing-page .rental-services > .wrapper,
body.brand-landing-page .wrapper > .rental-services {
  max-width: 1470px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

body.brand-landing-page .rental-services__wrapper {
  margin: 40px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

body.brand-landing-page .rental-services__wrapper.center {
  justify-content: space-around;
}

body.brand-landing-page .rental-services__item {
  max-width: 48%;
  width: 48%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  box-sizing: border-box;
}

body.brand-landing-page a.rental-services__img {
  display: block;
  width: 35%;
  flex-shrink: 0;
}

body.brand-landing-page a.rental-services__img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1);
}

body.brand-landing-page .rental-services__right {
  width: 62%;
  box-sizing: border-box;
}

body.brand-landing-page .rental-services__subtitle {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 10px;
  color: #000;
  display: block;
  text-decoration: none;
  line-height: 1.35;
}

body.brand-landing-page .rental-services__text {
  font-size: 14px;
  line-height: 1.55;
  color: #212529;
}

body.brand-landing-page .rental-services__text ul {
  margin: 10px 0;
  padding-left: 18px;
}

/* FAQ — octane accordion, centered */
body.brand-landing-page .faq-items-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px 40px;
}

body.brand-landing-page .faq-items .tr .name {
  border-color: var(--orange, #ff7a22);
  font-size: 18px;
}

body.brand-landing-page .faq-items .tr .text-preview.active {
  display: block;
  height: auto;
  overflow: visible;
}

body.brand-landing-page .faq-items .tr .text-preview .text {
  text-align: center;
}

body.brand-landing-page .banner-with-prices .button-wrap {
  margin-top: 24px;
  text-align: center;
}

body.brand-landing-page .banner-with-prices .button-wrap .link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 260px;
  padding: 10px 48px;
  font-size: 21px !important;
  line-height: 1.2 !important;
  max-width: none !important;
  width: auto;
  box-sizing: border-box;
  margin-top: 0;
}

/* Octane orange → Titane */
.banner-with-prices .link-button,
.link-button.link-button_dark {
  border-color: var(--orange, #ff7a22) !important;
  color: var(--orange, #ff7a22) !important;
}

.banner-with-prices .link-button:hover,
.link-button.link-button_dark:hover {
  background: var(--orange, #ff7a22) !important;
  color: #fff !important;
}

.rent-footer-form__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Brand page — octane .adges (per-brand background from octane.club) */
body.brand-landing-page .adges {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 115px 0;
  clear: both;
}

body.brand-landing-page .adges.adges--brand-ferrari {
  background-image: url("../assets/home/octane-rent/adges-bn.jpg");
  background-position: right bottom;
}

body.brand-landing-page .adges.adges--brand-lamborghini {
  background-image: url("../assets/home/octane-rent/lamborghini-adges.jpg");
  background-position: center;
}

body.brand-landing-page .adges.adges--brand-bentley {
  background-image: url("../assets/home/octane-rent/bentli2.jpg");
  background-position: right center;
  padding: 20px 0;
}

body.brand-landing-page .adges.adges--brand-aston-martin {
  background-image: url("../assets/home/octane-rent/aston2.jpg");
  background-position: right center;
  padding: 20px 0;
}

body.brand-landing-page .adges.adges--brand-porsche {
  background-image: url("../assets/home/octane-rent/adges-bn.jpg");
  background-position: right bottom;
}

body.brand-landing-page .adges.adges--brand-cadillac {
  background-image: url("../assets/home/octane-rent/cadillac-adges.jpg");
  background-position: center;
  background-size: cover;
  padding: 20px 0;
}

body.brand-landing-page .adges.adges--brand-range-rover {
  background-image: url("../assets/home/octane-rent/range-rover-adges.jpg");
  background-position: center;
  background-size: cover;
  padding: 20px 0;
}

body.brand-landing-page .adges.adges--brand-tesla {
  background-image: url("../assets/home/octane-rent/adges-bn.jpg");
  background-position: right bottom;
}

body.brand-landing-page .adges.adges--brand-audi {
  background-image: url("../assets/audi-rs6/benefits-bg.jpg");
  background-position: right center;
  background-size: cover;
  padding: 20px 0;
}

body.brand-landing-page .adges.adges--brand-mercedes {
  background-image: url("../assets/home/octane-rent/mercedes-adges.jpg");
  background-position: center;
  background-size: cover;
  padding: 20px 0;
}

body.brand-landing-page .adges.adges--brand-bmw {
  background-image: url("../assets/home/octane-rent/bmw-adges.jpg");
  background-position: center;
  background-size: cover;
  padding: 20px 0;
}

body.brand-landing-page .adges.adges--brand-rr {
  background-image: url("../assets/home/premium-avto-voditel.jpg");
  background-position: right center;
}

body.brand-landing-page .adges > .wrapper {
  position: relative;
  z-index: 1;
}

body.brand-landing-page .adges__wrapper {
  max-width: 920px;
}

body.brand-landing-page .adges__item {
  font-size: 18px;
  color: #fff;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 15px;
  padding-left: 60px;
  background-image: url("../assets/home/octane-rent/list-point-star.png") !important;
  background-position: left top -7px;
  background-repeat: no-repeat;
  background-size: 50px;
  min-height: 35px;
}

body.brand-landing-page .adges__item:last-child {
  margin-bottom: 0;
}

@media (max-width: 1250px) {
  body.brand-landing-page .feedback .link-button {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  body.brand-landing-page .adges {
    padding: 65px 0;
    background-position: center !important;
    background-size: cover !important;
  }

  body.brand-landing-page .adges.adges--brand-ferrari {
    background-image: url("../assets/home/octane-rent/adges-bn-mobile.webp");
  }

  body.brand-landing-page .adges.adges--brand-porsche {
    background-image: url("../assets/home/octane-rent/adges-bn-mobile.webp");
  }

  body.brand-landing-page .adges__wrapper {
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  body.brand-landing-page .adges__item {
    font-size: 14px;
    padding-left: 44px;
    background-size: 28px 20px;
    background-position: left top 2px;
    min-height: 28px;
  }

  body.brand-landing-page .brand-first-text {
    padding: 28px 15px;
  }

  body.brand-landing-page .brand-first-text .car-description__text {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  body.brand-landing-page .feedback .link-button {
    flex: 1 1 100%;
    max-width: 100%;
    font-size: 14px;
    min-height: 44px;
  }

  body.brand-landing-page .banner-with-prices > .wrapper {
    padding-bottom: 30px;
  }

  body.brand-landing-page .banner-with-prices .car-desc {
    font-size: 14px;
  }

  body.brand-landing-page .banner-with-prices .title-open-char {
    font-size: 18px;
    margin: 20px 0 12px;
  }

  body.brand-landing-page .short-form__wrapper.form-rent-top {
    padding: 25px 15px 0;
    box-sizing: border-box;
  }

  body.brand-landing-page .short-form__wrapper.form-rent-top .form__input,
  body.brand-landing-page .short-form__wrapper.form-rent-top .select-wrapper,
  body.brand-landing-page .short-form__wrapper.form-rent-top .form__submit {
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 15px;
    display: block;
    box-sizing: border-box;
  }

  body.brand-landing-page .short-form__wrapper.form-rent-top select {
    width: 100%;
    padding: 0 15px;
  }

  body.brand-landing-page .short-form__wrapper.form-rent-top .form__submit {
    margin-bottom: 0;
  }

  body.brand-landing-page .form-rent-top .personal-submit {
    font-size: 12px;
    text-align: center;
    padding: 0 15px 10px;
  }

  body.brand-landing-page .banner-with-prices .button-wrap .link-button {
    font-size: 16px !important;
    line-height: 1.2 !important;
    min-height: 44px;
    min-width: 220px;
    padding: 10px 32px;
    max-width: none !important;
  }

  body.brand-landing-page .faq-items-wrap {
    padding: 0 15px 40px;
    box-sizing: border-box;
  }

  body.brand-landing-page .faq-items .tr .name {
    font-size: 16px;
    padding: 15px 36px;
    line-height: 1.35;
  }

  body.brand-landing-page .faq-items .tr .text-preview .text {
    font-size: 16px;
    padding: 16px 12px;
    text-align: center;
  }
}

@media (max-width: 1150px) {
  body.brand-landing-page .rental-services__item {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 576px) {
  body.brand-landing-page .rental-services__wrapper {
    margin: 15px 0 0;
  }

  body.brand-landing-page .rental-services__item {
    flex-direction: column;
    margin-bottom: 24px;
  }

  body.brand-landing-page a.rental-services__img {
    width: 100%;
    margin-bottom: 12px;
  }

  body.brand-landing-page .rental-services__right {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .banner-with-prices .table-vision .section-price-table {
    display: table;
  }
}
