/* Auto Hub — кастомные стили поверх Tailwind */

/* Плавная прокрутка по якорям */
html {
	scroll-behavior: smooth;
}

/* Герой-картинки: белый фон сливается с фоном страницы, остаётся только контент */
.hero-bg-img {
	mix-blend-mode: multiply;
}

/* Кнопка героя: радиальный градиент (как на макете) + тень */
.hero-cta-btn {
	display: inline-block;
	padding: 21px 47px;
	background: radial-gradient(ellipse 50% 50% at 50% 50%, #FFCA2A 0%, #F5592A 100%);
	color: #fff;
	font-weight: 500;
	font-size: 20px;
	text-transform: uppercase;
	border: none;
	border-radius: 9999px;
	box-shadow: 0 4px 31px 0 rgba(245, 89, 42, 0.6);
	transition: transform 0.2s, box-shadow 0.2s;
	text-decoration: none;
}
.hero-cta-btn:hover {
	box-shadow: 0 6px 36px 0 rgba(245, 89, 42, 0.65);
}

@media (max-width: 768px) {
	.hero-cta-btn {
		padding: 14px 21px;
		font-size: 14px;
	}
}
/* Таблички навколо машини — початковий стан (зсув вниз + прозорість, GSAP анімує назад) */
.js-car-label {
	transform: translateY(20px);
}

/* Пункты меню в хедере — при ховере радиальный градиент (центр → вправо) */
.header-nav-link {
	color: #fff;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.25s, background 0.25s, -webkit-background-clip 0.25s, background-clip 0.25s;
}

/* FAQ: іконка плюса — при відкритті поворот на 45° (виглядає як ×) */
.faq-icon {
	transition: transform 0.3s ease;
	flex-shrink: 0;
}
.faq-icon-open {
	transform: rotate(45deg);
}

/* Модалка контакту: кастомний чекбокс згоді — як на макеті (біла рамка, темний фон, при виборі — галочка) */
.kontakt-zgoda-label input:checked + .kontakt-zgoda-box {
	background-color: #F76C2A;
	border-color: #F76C2A;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
	background-size: 14px 14px;
	background-position: center;
	background-repeat: no-repeat;
}

/* ——— Секция «Dlaczego warto»: сворачиваемый текст + градиент + стрелка ——— */
.expandable-text-wrap {
	position: relative;
	max-height: 100px;
	overflow: hidden;
	transition: max-height 0.5s ease;
}
.expandable-text-wrap.is-expanded {
	max-height: 3200px;
}
.expandable-text-content {
	padding-bottom: 5rem;
}
.expandable-text-gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 200px;
	background: linear-gradient(to bottom, transparent, #1A1A1A 100%);
	pointer-events: none;
	transition: opacity 0.35s ease;
}
.expandable-text-wrap.is-expanded .expandable-text-gradient {
	opacity: 0;
}

.expandable-text-btn {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}
.expandable-text-wrap.is-expanded .expandable-text-btn {
	bottom: 0.5rem;
}
.expandable-text-chevron {
	transition: transform 0.35s ease;
}
.expandable-text-wrap.is-expanded .expandable-text-chevron {
	transform: rotate(180deg);
}

/* Chrome, Safari */
.no-scrollbar::-webkit-scrollbar {
	display: none;
  }
  
  /* Firefox */
  .no-scrollbar {
	scrollbar-width: none;
  }
  
  /* IE/Edge */
  .no-scrollbar {
	-ms-overflow-style: none;
  }