.max-w-30-px {
  max-width: 30px;
}

.max-h-35-px {
  height: 35px;
}
.max-h-76-px {
  height: 76px;
}

.header-top-bg::before {
  width: 23.5% !important;
}

.clip-path::before {
  height: 104% !important;
  clip-path: polygon(3% 0%, 100% -1%, 100% 100%, 0% 100%) !important;
}

.hover-scale-11:hover {
  transform: scale(1.1);
}

/* ДЕСКТОП: скрыт текст, но с плавной анимацией появления */
@media (min-width: 992px) {
  .header-four-right .language {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    transform: translateX(-4px);
    margin-left: 0;
    transition:
      max-width 0.4s ease,
      opacity 0.4s ease,
      transform 0.4s ease,
      margin-left 0.4s ease;
  }

  .header-four-right .group-item:hover .language,
  .header-four-right .group-item:focus-within .language {
    max-width: 120px;
    opacity: 1;
    transform: translateX(0);
    margin-left: 4px;
  }
}

@media (max-width: 991.98px) {
  .header-four-right .language {
    display: inline;
    max-width: none;
    opacity: 1;
    transform: none;
    overflow: visible;
    margin-left: 4px;
  }
}

.account-text-style {
  font-size: 1rem;
  line-height: 1.5rem;
  padding-left: 15px;
  font-weight: 600;
}

/* Табы контактов: стиль underline */
.contacts-tabs {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08); /* лёгкая линия, можно подправить */
}

.contacts-tabs .nav-link {
  border: none;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding-left: 0;
  margin-right: 1.5rem;
  padding-right: 0;
}

.contacts-tabs .nav-link,
.contacts-tabs .nav-link:hover,
.contacts-tabs .nav-link:focus {
  border-color: transparent;
}

.contacts-tabs .nav-link.active {
  color: var(--main-600);
  border-bottom: 2px solid var(--main-600);
  background: transparent;
}

.contacts-tabs .nav-link:hover {
  color: var(--main-600);
}

/* Контейнер слайдера, где нужны равные карточки */
.feature-eq-slider .swiper-wrapper {
  align-items: stretch; /* выравниваем слайды по высоте */
}

.feature-eq-slider .swiper-slide {
  height: auto;
}

/* Карточка, которая должна растягиваться на всю высоту */
.feature-eq-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Чтобы абзац не давал лишний отступ снизу */
.feature-eq-card p:last-child {
  margin-bottom: 0;
}

/* Секция сервисов с равной высотой карточек */
.service-eq-slider .swiper-wrapper {
  align-items: stretch; /* растягиваем слайды по высоте максимального */
}

.service-eq-slider .swiper-slide {
  height: auto;
}

/* Карточка сервиса заполняет всю высоту слайда */
.service-eq-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Чтобы текст не создавал лишний отступ снизу */
.service-eq-card .service-four-paragraph:last-child,
.service-eq-card p:last-child {
  margin-bottom: 0;
}

.text-primary-sample {
  color: #df1118;
}

.text-second-sample {
  font-size: 70px;
  background: linear-gradient(to right, #fd5530 0%, #fd5530 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.text-second-sample-two {
  padding-top: 4px;
  padding-left: 4px;
  font-size: 33px;
  background: linear-gradient(to right, #fd5530 0%, #fd5530 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.text-second-sample-three {
  font-size: 51px;
  background: linear-gradient(to right, #de1219 0%, #de1219 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.bg-icon-white {
  background-color: #fff;
  border-radius: 100px;
  height: 40px;
  width: 40px;
}

.text-second-sample-soft {
  font-size: 150px;
  background: linear-gradient(
    to right,
    rgba(253, 85, 48, 0.15) 0%,
    rgba(253, 85, 48, 0.15) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.w-60 {
  width: 60%;
}

.right-minus {
  height: 244px;
  border: 10px solid #fff;
  width: 307px;
}

.w-and-h {
  width: 90%;
  min-height: 470px;
}

.about-four-shape-sample-1 {
  inset-block-start: 20px;
  inset-inline-end: -43px;
}

@media (max-width: 1200px) {
  .right-minus {
    height: auto;
    border: 10px solid #fff;
    width: 70%;
  }
}

@media (max-width: 992px) {
  .right-minus {
    height: auto;
    border: 10px solid #fff;
    width: 50%;
  }
}

@media (min-width: 1920px) and (max-width: 4000px) {
  .tw-mx-auto-2k {
    margin-inline: auto;
  }
}

.tw-mx-auto-2k {
  margin-inline-start: auto;
}

/* Карточка счётчика тянется на всю высоту колонки */
.counter-eq-row .counter-eq-card {
  height: 100%;
}

/* Чтоб не было лишнего отступа снизу */
.counter-eq-row .counter-eq-card p:last-child {
  margin-bottom: 0;
}

.header-top-bg::before {
  height: 110% !important;
}

/* ===== iOS fix: реальная высота экрана + safe area ===== */

:root {
  /* fallback, потом перепишем из JS */
  --vh: 1vh;
}

/* Правый offcanvas */
.offcanvas-sidebar {
  /* вместо tw-max-h-screen делаем привязку к реальной высоте */
  max-height: calc(var(--vh, 1vh) * 100);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
}

/* Мобильное меню */
.mobile-menu {
  /* вместо tw-h-screen */
  height: calc(var(--vh, 1vh) * 100);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
}

/* Когда меню / offcanvas открыт — блокируем фон (чтоб не прокручивался под ними) */
.body-locked {
  overflow: hidden;
  touch-action: none;
}

.w-53 {
  width: 53%;
}

/* ===== Флот: карточки-цифры ===== */

/* Ряд: колонки тянут карточку по высоте */

/* Прячем слайдер до инициализации */

.fleet-features-grid > [class*="col-"] {
  display: flex;
}

/* Сама карточка */
.fleet-feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 2.5rem 2rem;
  border-radius: 24px;
  background-color: #fff;

  /* мягкая тень, не перебор */
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Ховер — чуть “поднять” */
.fleet-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08);
}

/* Кнопка с иконкой по центру */
.fleet-feature-icon-btn {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: none;

  background-color: var(--main-600);
  color: #fff;

  box-shadow: 0 16px 40px rgba(253, 85, 48, 0.35);

  font-size: 32px;
  margin-bottom: 1.75rem;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

/* Ховер по кнопке */
.fleet-feature-card:hover .fleet-feature-icon-btn {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(253, 85, 48, 0.45);
  background-color: var(--main-two-600);
}

/* Число покрупнее */
.fleet-feature-card h5 {
  font-size: 2rem;
  font-weight: 700;
}

/* Текст без лишнего хвоста */
.fleet-feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* На маленьких — карточки чуть поплотнее */
@media (max-width: 575.98px) {
  .fleet-feature-card {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }

  .fleet-feature-icon-btn {
    width: 56px;
    height: 56px;
    font-size: 28px;
    margin-bottom: 1.25rem;
  }

  .fleet-feature-card h5 {
    font-size: 1.75rem;
  }
}

/* Равная высота карточек в слайдере features */
.features-slider .swiper-wrapper {
  align-items: stretch; /* растягиваем слайды по высоте друг друга */
}

.features-slider .swiper-slide {
  height: auto; /* пусть высота берётся от содержимого */
}

.features-slider .features-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* номер, иконка, заголовок распределяем по высоте */
}

.features-item h5 {
  font-size: 17px;
}

.par-size {
  font-size: 17px;
  width: max-content;
}

@media (max-width: 1024px) {
  .features-item h5 {
    font-size: 17px;
    width: 100%;
  }

  .par-size {
    font-size: 17px;
    width: 100%;
  }
}

.p-l {
  padding-left: 12px;
}

/* Равная высота карточек в блоке отзывов */
.testimonials-two-slider .swiper-wrapper {
  align-items: stretch; /* все слайды одной высоты */
}

.testimonials-two-slider .swiper-slide {
  height: auto;
  display: flex; /* тянем внутренний .text-center по высоте */
}

/* Внутренний контейнер в слайде — колонка */
.testimonials-two-slider .swiper-slide > .text-center {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Белая карточка заполняет всю доступную высоту */
.testimonials-two-slider .testimonials-two__content {
  flex: 1 1 auto;
}

/* Чтобы абзац не давал лишний отступ снизу */
.testimonials-two-slider .testimonials-two__content p:last-child {
  margin-bottom: 0;
}

.tw-text-sample {
  font-size: 0.7rem;
}

.brand-four-thumb img {
  filter: none !important;
}

.heading-size {
  font-size: 55px;
}

@media (max-width: 770px) {
  .call-to-action-img-wrapper {
    display: none;
  }
}

.button--stroke {
  background-color: #ffc300;
  border: 1px solid #ffc300;
}

.button--stroke::after {
  border: none !important;
}

/* ===== Локация / map section ===== */

#map {
  padding-bottom: 100px;
}

/* Левая текстовая часть — компактнее */
#map .col-xl-6:first-child > div {
  max-width: 540px;
}

/* Метка "Локация" */
#map .splitTextStyleTwo {
  font-size: 18px !important;
  line-height: 1.2;
}

/* Главный заголовок */
#map h1 {
  max-width: 540px;
  font-size: clamp(2rem, 2.45vw, 2.75rem);
  line-height: 1.08;
  margin-bottom: 20px !important;
}

/* Абзац под заголовком */
#map .tw-mb-12 > p {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.65;
}

/* Отступ после верхнего текстового блока */
#map .tw-mb-12 {
  margin-bottom: 34px !important;
}

/* Один пункт списка */
#map .d-flex.gap-3 {
  align-items: flex-start;
  gap: 14px !important;
  margin-bottom: 16px !important;
}

/* Контейнер иконки */
#map .chooseus-four-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Белый круг внутри */
#map .chooseus-four-icon .bg-icon-white {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: #fff;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Внешнее красное кольцо */
#map .chooseus-four-icon .bg-icon-white::after,
#map .chooseus-four-icon span::after {
  width: 55px;
  height: 55px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Убираем глобальный сдвиг .text-second-sample-two только в этом блоке */
#map .chooseus-four-icon .text-second-sample-two {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 24px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Сама иконка */
#map .chooseus-four-icon i {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 24px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Заголовки пунктов */
#map .service-four-title {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 6px !important;
}

/* Текст пунктов */
#map .d-flex.gap-3 p {
  max-width: 480px;
  font-size: 14.5px;
  line-height: 1.55;
}

/* Правая картинка — больше и визуально главнее */
#map .chooseus-four-thumb {
  max-width: 680px;
  margin-left: auto;
  margin-right: -40px;
}

#map .chooseus-four-thumb img {
  width: 100%;
  height: 680px;
  object-fit: cover;
}

/* Кнопка play */
#map .play-button {
  width: 72px !important;
  height: 72px !important;
  font-size: 26px;
}

/* На широких экранах даём картинке ещё больше места */
@media (min-width: 1400px) {
  #map .chooseus-four-thumb {
    max-width: 720px;
    margin-right: -70px;
  }

  #map .chooseus-four-thumb img {
    height: 720px;
  }
}

/* Планшеты */
@media (max-width: 991.98px) {
  #map {
    padding-top: 70px;
    padding-bottom: 80px;
  }

  #map .col-xl-6:first-child > div {
    max-width: 100%;
  }

  #map h1 {
    max-width: 100%;
    font-size: 38px;
  }

  #map .tw-mb-12 > p,
  #map .d-flex.gap-3 p {
    max-width: 100%;
  }

  #map .chooseus-four-thumb {
    max-width: 100%;
    margin-top: 34px;
    margin-left: 0;
    margin-right: 0;
  }

  #map .chooseus-four-thumb img {
    height: 520px;
  }
}

/* Мобилки */
@media (max-width: 575.98px) {
  #map {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  #map .splitTextStyleTwo {
    font-size: 16px !important;
  }

  #map h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  #map .tw-mb-12 {
    margin-bottom: 28px !important;
  }

  #map .tw-mb-12 > p {
    font-size: 15px;
    line-height: 1.6;
  }

  #map .d-flex.gap-3 {
    gap: 12px !important;
    margin-bottom: 15px !important;
  }

  #map .chooseus-four-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  #map .chooseus-four-icon .bg-icon-white {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  #map .chooseus-four-icon .bg-icon-white::after,
  #map .chooseus-four-icon span::after {
    width: 54px;
    height: 54px;
  }

  #map .chooseus-four-icon .text-second-sample-two,
  #map .chooseus-four-icon i {
    font-size: 22px;
  }

  #map .service-four-title {
    font-size: 17px;
    margin-bottom: 5px !important;
  }

  #map .d-flex.gap-3 p {
    font-size: 14px;
    line-height: 1.5;
  }

  #map .chooseus-four-thumb img {
    height: 420px;
    border-radius: 18px;
  }

  #map .play-button {
    width: 58px !important;
    height: 58px !important;
    font-size: 21px;
  }
}
