body {
    font-family: 'Montserrat', sans-serif;
}
#logo_head{
	width: 80px; height:60px;
	background: #ffd25d;
}
#hednav {
	max-width: 1200px;
	max-height: 150px;
	height: auto;
}
#hero_back {
  background-image: url(assets/images/bmw_2.jpg);
  background-size: cover;
  background-position: center;
  height: 800px;

}

#hero-main-title{
  max-width: 1000px;	
}

#nav_lu_li{
	color:#ffd25d;
}
#header_nav{
	background: #000111;
}

/* Общие стили для секции */
.services-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #000111;
  justify-items: center; /* Центрирует элементы по горизонтали в их ячейках */
  align-content: center; /* Центрирует контент внутри сетки по вертикали */
}

/* Стили для каждого элемента услуги */
.service-item {
  background: linear-gradient(0deg, #ac8e42 0%, rgba(255, 210, 93, 0) 100%);
  padding: 40px 20px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Размещаем элементы сверху вниз */
  align-items: center; /* Центрируем контент по горизонтали */
  height: 100%;  /* Убедитесь, что высота блока зависит от контента */
  min-height: 400px; /* Оставляем минимальную высоту */
  width: 270px; /* Ограничиваем ширину блока */
  box-sizing: border-box;
}

/* Псевдоэлемент для светящегося эффекта снизу */
.service-item::after {
  content: '';
  position: absolute;
  bottom: -1px;  /* Расстояние от низа */
  left: 50%;  /* Центрируем по горизонтали */
  width: calc(100% + 7%);  /* Ширина на 40px больше ширины блока */
  height: 10px;  /* Высота прямоугольника */
  background: #ffd25d;
  box-shadow: 0 0 30px rgba(255, 210, 93, 1);  /* Эффект свечения */
  transform: translateX(-50%);  /* Смещаем на половину своей ширины для точного выравнивания */
}

/* Заголовок услуги */
.service-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  color: white;
  text-align: center; /* Центрируем текст */
  margin-bottom:auto;
  margin-top: auto;
}

/* Описание услуги */
.service-description {
  flex-grow: 1;
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
  min-height: 60px; /* Одинаковая высота для всех блоков */
  text-align: center; /* Центрируем описание */
}

/* Кнопка "Подробнее" */
.service-btn {
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 1s ease;
  border-width: 2px;
  border-style: solid;
  border-color: transparent; 
  /* margin-top: auto; /* Перемещаем кнопку в нижнюю часть */
}


.service-btn:hover {
  /* background-color: #ffd25d; */
  border: 2px solid white;
  box-shadow: 0 0 50px rgba(255, 210, 93, 0.8);
}
/* Адаптив для секции с услугами */
@media (max-width: 768px) {
  .services-section {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 480px) {
  .services-section {
    grid-template-columns: 1fr;
  }
}


/* Общие стили для секции */
.about-section {
  display: flex;
  justify-content: space-between;  /* Разделяем изображение и текст */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  background-color: #000111; /* Тёмный фон секции */
  margin-bottom:50px;
  margin-top:100px;
}

/* Блок с изображением */
.image-container {
  background-image: url(assets/images/about_section.jpeg);
  position: relative;
  width: 50%; /* Задаем ширину блока с изображением */
  overflow: hidden;  /* Прячем лишнюю часть изображения */
  border-radius:20px;
}

/* Стили для изображения */
.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Заполнение контейнера изображением */
}

/* Текстовый блок */
.text-container {
  width: 45%;  /* Блок с текстом */
  padding: 20px;
  background-color: white; /* Белый фон */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
  border-radius: 8px;
}

/* Заголовок */
.text-container h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

/* Параграфы */
.text-container p {
  font-size: 24px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column; /* Строки, а не колонки, для мобильных устройств */
  }

  .image-container,
  .text-container {
    width: 100%; /* 100% ширина для мобильных */
    transform: none; /* Убираем наклон на мобильных устройствах */
  }
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 2fr); /* 3 одинаковых столбца */
    justify-items: center;
    align-items: center;
    gap: 20px; /* расстояние между блоками */
    text-align: center;
    padding: 50px 0;
	color:white;
	max-width:1200px;
	margin: 0 auto;
}

.stats-item {
    color: white;
}

.stat-number {
    font-size: 124px;
    font-weight: bold;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-text {
    font-size: 38px;
    margin-top: 10px;
    font-weight: normal; 
	margin-bottom:auto;
}
.image-container-2{
	height:300px;
	width:auto;
	background-image: url(assets/images/original_14tz.png);
	background-size: 30%; /* Масштабирует изображение, чтобы оно полностью заполнило контейнер */
    background-position: center; /* Центрирует изображение */
    background-repeat: no-repeat; /* Не повторяет изображение */
}

/* Наши работы */


/* Стиль контейнера секции */
#works {
    width: 100%;
    padding: 20px;
    background-color: #0a0a0a;
}

/* Заголовок */
.category-header h2 {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    font-size: 2rem;
}

/* Стили для вкладок категорий (Запчасти, Клиенты, Сервис) */
.categories {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-header {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.category-tab {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    position: relative;
    transition: all 0.3s ease;
    color: white;
}

.category-tab::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: gray;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* При наведении или активном элементе будет подсвечиваться */
.category-tab:hover::after {
    background-color: yellow;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

/* Активный элемент */
input[type="radio"]:checked ~ .category-content .category-box {
    display: grid;
}

/* Радио кнопки скрыты */
input[type="radio"] {
    display: none;
}

/* Стиль для контента категорий */
.category-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

/* Скрыть все блоки, кроме активного */
.category-box {
    display: none;
}

/* Когда выбран category1 */
#category1:checked ~ .category-content .category-box#category1-box,
#category2:checked ~ .category-content .category-box#category2-box,
#category3:checked ~ .category-content .category-box#category3-box {
    display: grid;
}

/* Стили для блоков с картинками */
/* Основной контейнер */
.works-section {
  /* padding: 30px; */
  /* background-color: #1a1a1a; */
  color: #fff;

}


/* Навигация */
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;

}

.tab {
  background: none;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.tab:hover {
  background-color: #ffcc00;
}

.tab.active {
  background-color: #ffcc00;
  color: #000;
}

/* Сетка изображений */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s;
}

.work-item img:hover {
  transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* Стили Наши работы */
#clientsText {
    width: 100vw;
    height: fit-content;
    color: white;
    font-weight: 600;
    font-size: 48px;
    text-align: center;
	padding:50px;
	margin: 50 auto;
}

#tabs {
    width: 1200px;
    height: auto;
}

#tab1, #tab2, #tab3 {
    /* Этот стиль будет применяться только к каждому из этих табов */
}

/* Стили для классов */
.tab-buttons {
    display: flex;
    justify-content: space-around;
	margin: 0 auto;
	max-width: 1200px;
}

.tab-button {
    background: none;
    border: none;
    font-size: 42px;
    font-weight: 500;
    padding: 40px;
    cursor: pointer;
    position: relative;
    color: #fff;
    outline: none;
}

.tab-button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc((8 / 1920) * 100vw);
    border-radius: calc((5 / 1920) * 100vw);
    background-color: grey;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.tab-button.active::after {
    background-color: #f7db5d;
    box-shadow: 0 0 calc((15 / 1920) * 100vw) #f7db5d, 0 0 calc((20 / 1920) * 100vw) #f7db5d, 0 0 calc((40 / 1920) * 100vw) #f7db5d, 0 0 calc((60 / 1920) * 100vw) #f7db5d;
}

.tab-contents {
    margin-top: calc((40 / 1920) * 100vw);
    min-height: 150px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    width: 1200px;
    height: fit-content;
    gap: 50px;
    align-items: center;
	margin: 0 auto;
}

.image-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: calc((50 / 1920) * 100vw);
    padding: 0 calc((50 / 1920) * 100vw);
}

.image-row img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

/* Стиль для контейнера статистики */
/* #statistic { */
    /* display: flex; */
    /* flex-direction: row; */
    /* justify-content: space-evenly; */
    /* width: 100vw; */
    /* height: calc((400 / 1920) * 100vw); */
    /* margin-top: calc((150 / 1920) * 100vw); */
/* } */

/* Стиль для каждого блока счетчика */
/* .counter-block { */
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* width: 10%; */
    /* height: 100%; */
    /* position: relative; */
/* } */

/* Стиль для числа счетчика */
/* .counter-number { */
    /* margin-left: calc((-25 / 1920) * 100vw); */
    /* color: white; */
    /* font-size: calc((200 / 1920) * 100vw); */
    /* font-weight: 700; */
    /* width: 100%; */
    /* text-align: center; */
/* } */

/* Стиль для метки счетчика (например, "Сервисов", "Клиентов") */
/* .counter-label { */
    /* color: white; */
    /* width: 100vw; */
    /* font-size: calc((32 / 1920) * 100vw); */
    /* font-weight: 200; */
    /* margin-top: 10px; */
    /* text-align: center; */
/* } */


.counter-block{
	
}
.counter-number {
    font-size: 124px;
    font-weight: bold;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
}
	
.counter-label {
    font-size: 38px;
    margin-top: 10px;
    font-weight: normal; 
	margin-bottom:auto;
}
/* Мобильная версия: элементы выстраиваются в одну вертикальную линию */
@media (max-width: 458px) {
    .stats-section {
        grid-template-columns: 1fr; /* Один столбец */
    }
	.counter-number {
    font-size: 104px;
    font-weight: bold;
    letter-spacing: 2px;

}
	
	.counter-label {
    font-size: 24px;
    margin-top: 10px;
    font-weight: normal; 
	margin-bottom:auto;
}
	
	
}


#about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.about-container {
    display: flex;
    justify-content: space-between; /* Размещает элементы по бокам */
    align-items: center; /* Центрирует по вертикали */
    width: 100%;
    flex-wrap: wrap; /* Для мобильных устройств */
}

.garanty-text-container {
    color: #fff;
    font-size: 48px;
    padding: 30px;
    flex: 1; /* Занимает 1 часть пространства */
	margin-bottom:auto;
}

.service-btn2 {
    margin-top: 40px;
    padding: 15px 30px;
    background-color: #f7db5d;
    color: #000;
    font-size: 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
	border-width: 2px;
    border-style: solid;
    border-color: transparent; 
}

.service-btn2:hover {
    background-color: #ebbc24;
}

.image-container2 {
    flex: 1; /* Занимает 1 часть пространства */
    display: flex;
    justify-content: center; /* Центрирует изображение по горизонтали */
}

.about-image {
    max-width: 125%;
    height: auto;
    border-radius: 10px;
    transform: scaleX(-1); /* Отзеркаливает картинку по горизонтали */
}

@media (max-width: 1100px) {
    /* .about-container { */
        /* flex-direction: column; /* Для мобильных устройств элементы будут располагаться вертикально */ */
        /* align-items: center; */
    /* } */

    .image-container2 {
        margin-top: 20px; /* Отступ для изображения */
    }
	
	.about-image {
    max-width: 100%;}
	.garanty-text-container {
    font-size: 38px;}
	.image-container-2 {
	background-size: 90%;

	}
}
@media (max-width: 450px) {
     .about-container { 
    flex-direction: column; /* Для мобильных устройств элементы будут располагаться вертикально */ 
    align-items: center; 
	 }
	.image-container-2 {
	display:none;
	}
  } 
  
#map-section {
  position: relative;
  width: 100%;
  height: 500px; /* Задайте нужную высоту */
}

.map-container {
  width: 100%;
  height: 100%;
  position: absolute;
}

.contact-info {
position: absolute;
    top: 50%;
    /* 1. Ставим левый край элемента ровно по центру экрана */
    left: 50%; 
    /* 2. Сдвигаем элемент:
       - на 600px вправо от центра
       - на -50% по вертикали (центрируем по высоте) 
    */
    transform: translate(-550px, -50%);
    
    background-color: #000;
    color: #fff;
    padding: 40px;
    border-radius: 25px;
    z-index: 1000;
    width: 250px;
}
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-info p {
  margin: 10px 0;
}

.contact-info-main{
	max-width:1200px;
	align-items: center;
}


.nav_li{
	font-weight: 400;
	font-size:18px;
}

/* Стиль для контейнера хедера */
#header_nav {
  width: 100%;
  background-color: #000111; /* Черный фон */
}

/* Основная стилизация для навигации */
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Логотип */
#logo_head {
  color: #ffd25d; /* Желтый цвет */
  font-size: 24px;
  font-weight: 600;
}

/* Список навигации */
.nav-list {
  display: flex;
  gap: 30px; /* Расстояние между пунктами */
  list-style-type: none;
  
}

.nav-item a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
  color: #ffd25d;
}

/* Эффект при наведении на ссылку */
.nav-item a:hover {
  color: #ffd25d;
}

/* Мобильная версия */
@media (max-width: 458px) {
.header-nav { 
 flex-direction: center; 
 align-items: center; 
 justify-content: center;
 } 

  .nav-list {
    /* flex-direction: column; */
    gap: 15px;
	align-items: center;
	font-size:12;
	
  }
  .nav-item a{
    font-size:12px;
  }

  #logo_head {
    display:none;
  }
  
/* адаптив для карты в футере */
#map-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}


  #map {
    width: 100%;            /* Карта занимает всю ширину на мобильных */
    height: 300px;          /* Уменьшаем высоту карты */
  }

  .contact-info {
    width: 100%;            /* Контактная информация занимает всю ширину */
    margin-top: 20px;       /* Отступ сверху, чтобы блок не прилипал к карте */
    padding: 30px;          /* Увеличиваем отступы для лучшего восприятия */
  }
}

.img-border{
	border: 1px solid #f7db5d;
}

/* Наши приемущества */


.inner-circle-ui {
  position: absolute;
  width: 365px; /* Твое требование по размеру */
  height: 365px;
  border-radius: 50%;
  background-color: #050510; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Внутренний бордер (теперь тоже 375px) */
.inner-circle-ui-2 {
  border-radius: 50%;
  border: 25px solid #252525; 
  position: absolute;
  width: 400px;
  height: 400px;
  z-index: -2;
  box-sizing: border-box; /* Чтобы бордер не увеличивал размер элемента */
}

/* Тень ПОВЕРХ бордера (обновленная под 375px) */
.inner-circle-ui::before {
  content: "";
    position: absolute;
    top: -18px;
    left: -18px;
    right: -18px;
    bottom: -18px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    box-shadow: inset 0 0 10px 5px rgba(45, 35, 90, 0.9);
}

/* Тень НАРУЖУ от бордера */
.inner-circle-ui::after {
  content: "";
  position: absolute;
     top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 0 10px 5px rgba(45, 35, 90, 0.9);
}



.label {
  position: relative;
  z-index: 10;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 32px; /* Увеличили шрифт для баланса */
  letter-spacing: 1px;
}
/* новые шрифты */
/* Общий макет */
.main-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000111;
  min-height: 1000px;
  gap: 50px; /* Расстояние между кругом и плитками */
  padding: 40px;
  margin-bottom:50px;
}

/* Левая часть (твой код с правками масштаба) */
.orbit-container {
  position: relative;
  width: 600px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit-svg { position: absolute; 
  width: 100%; 
  height: 100%; 
  overflow: visible !important;
}

.yellow-arc {
  fill: none;
  stroke: #ffd700;
  stroke-width: 8; /* Чуть толще для масштаба 375px */
  stroke-linecap: round;
  /* Длина окружности для r=277: ~1740. Полукруг ~870 */
  stroke-dasharray: 870 1740;
  transform: rotate(-90deg);
  transform-origin: center;
  stroke: #ffd25d;
  /* Параметры: x y blur color */
filter: 
    /* 1. Яркое, плотное свечение у самой линии (эффект неоновой трубки) */
    drop-shadow(0 0 15px rgba(255, 215, 0, 0.9))
    
    /* 2. Широкое, мягкое фиолетовое рассеивание, которое смешивается с аурой центра */
    drop-shadow(0 0 35px rgba(110, 64, 255, 0.5));
}

.dot {
  fill: #ffd25d;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.inner-circle-ui {
  position: absolute;
  width: 375px; height: 375px;
  border-radius: 50%;
  background: #050510;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.inner-circle-ui-2 {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 20px solid #1e1e35;
  box-sizing: border-box;
  z-index: -1;
}

.inner-circle-ui::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%; z-index: 5; pointer-events: none;
  box-shadow:  inset 0 0 10px 5px rgba(45, 35, 90, 0.9);
}

/* Плитки справа */
.right-panel {
  display: flex;
  flex-direction: column;
  gap: 35px; /* Регулируй, чтобы плитки совпали с точками */
}

.info-card {
  width: 470px;
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  
  /* 1. Центрирование текста */
  display: flex;
  align-items: center;     /* Центр по вертикали */
  justify-content: center; /* Центр по горизонтали */
  text-align: center;
  padding: 0 40px;         /* Боковые отступы, чтобы текст не лип к краям */

  /* 2. Шрифт из макета */
  color: #ffffff;
  font-size: 24px;         /* Увеличенный размер для читаемости */
  font-weight: 600;        /* Semibold, как в оригинале */

  
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
}

/* Эффект Ховера как на скрине 2 */
.info-card:hover {
  background: #0066ff; /* Яркий синий из макета */
  box-shadow: 
    0 0 30px rgba(0, 102, 255, 0.5), 
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateX(10px); /* Легкий сдвиг при наведении */
  border-color: #5599ff;
}

.label {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 32px;
  z-index: 10;
}
/* Базовое состояние для всех плиток */
.info-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              background 0.3s ease, 
              box-shadow 0.3s ease;
  will-change: transform;
  z-index: 1;
  box-shadow: inset 0 0 10px 5px rgba(45, 35, 90, 0.9);
  background:#252525;
  
}

/* 1. Верхняя плитка */
.info-card:nth-child(1) {
  transform: translate(-200px, -145px);
}
.info-card:nth-child(1):hover {
  /* Сохраняем позицию и добавляем +20px вправо и масштаб */
  transform: translate(-180px, -145px) scale(1.03);
  z-index: 10;
}

/* 2. Вторая плитка */
.info-card:nth-child(2) {
  transform: translate(0, -40px);
}
.info-card:nth-child(2):hover {
  transform: translate(20px, -40px) scale(1.03);
  z-index: 10;
}

/* 3. Третья плитка */
.info-card:nth-child(3) {
  transform: translate(0, 40px);
}
.info-card:nth-child(3):hover {
  transform: translate(20px, 40px) scale(1.03);
  z-index: 10;
}

/* 4. Нижняя плитка */
.info-card:nth-child(4) {
  transform: translate(-200px, 145px);
}
.info-card:nth-child(4):hover {
  /* Сохраняем позицию и добавляем +20px вправо и масштаб */
  transform: translate(-180px, 145px) scale(1.03);
  z-index: 10;
}

/* Общий стиль для всех плиток при ховере */
.info-card:hover {
  background: #0066ff; /* Синий из макета */
  box-shadow: 0 0 40px rgba(0, 102, 255, 0.6); /* Свечение */
  border-color: rgba(255, 255, 255, 0.4);
}
/* адаптив Наши приемущества */
@media (max-width: 1150px) {
.info-card {
    width: 300px;
    height: 90px;
	font-size: 18px;
}
.orbit-svg {
    position: absolute;
    width: 95%;
    height: 95%;
	transform: translate(-60px, 0px);
}


.inner-circle-ui {
    transform: translate(-60px, 0px);
}

.right-panel {transform: translate(-60px, 0px);}
}
@media (max-width: 760px) {

    .left-panel {
		display:none;
	}
	.right-panel {
		transform:none;
	}
	.info-card {

    width: 250px;
    height: 70px;
	font-size: 14px;
}
.info-card:nth-child(1) {
	transform: none;
}
.info-card:nth-child(2) {
	transform:none;
}
.info-card:nth-child(3) {
	transform:none;
}
.info-card:nth-child(4) {
	transform: none;
}
.info-card:nth-child(1):hover {
	transform: scale(1.05);
}.info-card:nth-child(2):hover {
	transform: scale(1.05);
}.info-card:nth-child(3):hover {
	transform: scale(1.05);
}.info-card:nth-child(4):hover {
	transform: scale(1.05);
}
.main-layout {
min-height: 70vh;}
#clientsText {
	font-size: 26px;
}

}


/* Наши приемущества конец*/

@media (max-width: 450px) {
	.info-card {
    width: 310px;
    height: 70px;
	font-size: 16px;
}

}

/* 1. Сброс фиксированной высоты и общие правки */
#tabs {
    width: 100%;
    height: auto; /* Убираем 1300vw, чтобы контент не обрезался и не тянулся */
    padding-bottom: 50px;
}

/* 2. Адаптив для ПЛАНШЕТОВ (до 1024px) */
@media (max-width: 1024px) {
    .tab-button {
        font-size: 24px; /* Уменьшаем огромный шрифт */
        padding: 20px 40px;
    }


    .tab-content.active {
        gap: 20px;
        padding: 0 20px;
		margin: 0 auto;
    }

    .image-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 картинки в ряд вместо 4 */
        gap: 15px;
        width: 100%;
        padding: 0;
    }

    .image-row img {
        width: 100%; /* Картинка занимает всю ячейку сетки */
        height: auto;
        aspect-ratio: 1 / 1; /* Сохраняем квадратную форму как в оригинале */
    }
	.services-section {
	gap: 75px 25px;
	}
	
}

/* 3. Адаптив для СМАРТФОНОВ (до 600px) */
@media (max-width: 600px) {
    .tab-buttons {
        flex-direction: row; /* Оставляем в ряд, но разрешаем скролл если не влезет */
        justify-content: center;
        gap: 10px;
    }

    .tab-button {
        font-size: 16px; /* Компактный шрифт для мобильных */
        padding: 10px 15px;
        white-space: nowrap;
    }

    .tab-button::after {
        height: 4px; /* Делаем линию под кнопкой тоньше */
    }

    .image-row {
        grid-template-columns: 1fr; /* 1 картинка в ряд (столбиком) */
        gap: 10px;
    }

    #clientsText {
        font-size: 28px; /* Заголовок секции */
        margin: 30px 0;
    }
	  .service-item {width: 270px;}
}

/* Адаптив для ПЛАНШЕТОВ (до 1024px) */
@media (max-width: 1024px) {
    .contact-info {
        /* Прижимаем ближе к центру, чтобы не улетело за край */
        transform: translate(-400px, -50%);
        width: 250px;
        padding: 30px;
    }
}

/* Адаптив для МОБИЛЬНЫХ (до 768px) */
@media (max-width: 768px) {
    #map-section {
        display: flex;
        flex-direction: column; /* Выстраиваем карту и контакты друг под другом */
    }

    #map {
        height: 350px; /* Уменьшаем карту на мобильных */
    }

    .contact-info {
        position: static; /* Отменяем абсолютное позиционирование */
        transform: none;  /* Сбрасываем центрирование */
        width: 100%;      /* Контакты на всю ширину */
        border-radius: 0; /* Убираем скругления для стыка с краями экрана */
        padding: 40px 20px;
        box-sizing: border-box;
        text-align: center;
    }
}
/* Убираем старый желтый квадрат и настраиваем размер логотипа */
.logo {
    display: block;
    text-decoration: none;
}

#logo_svg {
    width: 120px; /* Отрегулируйте ширину под ваш макет */
    height: auto;
    display: block;
	background-color: #f7db5d;

}

/* Убеждаемся, что на мобилках логотип не исчезает полностью, если вы этого не хотите */
@media (max-width: 458px) {
  #logo_svg {
    display: none;
  }
}

/* Основной контейнер Hero */
#hero_back {
  /* Сохраняем ваши настройки фона */
  background-image: url(assets/images/bmw_2.jpg);
  background-size: cover;
  background-position: center;
  height: 800px;
  
  /* Замена flex-классов Tailwind */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

/* Главный заголовок */
#hero-main-title {
  color: white;
  font-size: 48px; /* Примерный эквивалент text-4xl */
  font-weight: 700;
  max-width: 800px; /* Замена w-4/16 (было слишком узко) */
  padding-top: 40px;
  padding-bottom: 56px;
  line-height: 1.2;
}

#hero-main-title .highlight {
  color: #ffd25d; /* Ваш фирменный цвет */
}

/* Подзаголовок */
#hero-sub-title {
  color: #ffd25d; /* */
  font-size: 24px; /* Примерный эквивалент text-xl */
  font-weight: 400;
  max-width: 60%; /* Замена w-3/5 */
  margin-bottom: 40px;
  line-height: 1.5;
}

/* --- АДАПТИВ --- */

/* Планшеты */
@media (max-width: 1024px) {
  #hero-main-title {
    font-size: 36px;
    max-width: 90%;
  }
  
  #hero-sub-title {
    font-size: 20px;
    max-width: 80%;
  }
  .service-title {font-size: 18px;}
  .service-item {width: 230px;}
  
}

/* Смартфоны */
@media (max-width: 600px) {
  #hero_back {
    height: 600px; /* Уменьшаем высоту на мобильных */
  }

  #hero-main-title {
    font-size: 28px;
    padding-top: 20px;
    padding-bottom: 30px;
  }

  #hero-sub-title {
    font-size: 18px;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .service-btn2 {
    font-size: 18px; /* Немного уменьшаем кнопку для мобильных */
    padding: 12px 24px;
  }
  .service-item {
        width: 300px;
    }
}
}

