@charset "utf-8";

:root {
	--bg: #050505;
	--bg2: #0c0c0c;
	--panel: #111111;
	--panel-soft: #151515;
	--text: #f4f4f4;
	--muted: #b7b7b7;
	--accent: #f28a1a;
	--accent2: #ff9f31;
	--line: rgba(255, 255, 255, 0.08);
	--line-strong: rgba(255, 255, 255, 0.14);
	--line-accent: rgba(242, 138, 26, 0.28);

	--font-luxury: "Cormorant Garamond", serif;
	--font-ui: "Manrope", sans-serif;
	--font-text: "Inter", sans-serif;

	--site-max: 1280px;
	--gap: 24px;

	--top-contact-height: 34px;
	--site-header-height: 78px;
	--header-offset: calc(var(--top-contact-height) + var(--site-header-height));
}

/* RESET */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	font-family: var(--font-text);
	color: var(--text);
	background:
		linear-gradient(180deg, rgba(242, 138, 26, 0.05) 0, rgba(242, 138, 26, 0) 120px),
		linear-gradient(180deg, #070707 0%, #050505 100%);
}

body.lightbox-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: var(--accent);
}

input,
select,
textarea,
button {
	font: inherit;
}

button,
input[type="submit"] {
	border-radius: 0;
}

/* LAYOUT */
.container,
.section {
	width: min(var(--site-max), calc(100% - 40px));
	margin: 0 auto;
}

main {
	padding: var(--header-offset) 0 56px;
}

main > .page-hero:first-child {
	margin-top: calc(-1 * var(--header-offset));
}

/* TOP CONTACT BAR */
.top-contact-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1200;
	background: rgba(10, 10, 10, 0.26);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.top-contact-bar__inner {
	min-height: var(--top-contact-height);
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	column-gap: 24px;
	padding: 4px 0;
}

.top-contact-bar__phones {
	justify-self: start;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	line-height: 1.15;
}

.top-contact-bar__phone-link {
	display: block;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.15;
}

.top-contact-bar__phone-link:hover {
	text-decoration: underline;
}

.top-contact-bar__hours {
	justify-self: end;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	line-height: 1.15;
}

.top-contact-bar__hours-line {
	display: block;
	white-space: nowrap;
	line-height: 1.15;
}

/* HEADER */
.site-header {
	position: fixed;
	top: var(--top-contact-height);
	left: 0;
	width: 100%;
	z-index: 1190;
	background: rgba(7, 7, 7, 0.18);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.topbar {
	min-height: var(--site-header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0;
	flex-wrap: nowrap;
}

/* LOGO */
.logo {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
}

.logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.logo-image {
	display: block;
	width: clamp(150px, 16vw, 240px);
	height: auto;
	max-height: 60px;
	object-fit: contain;
}

/* NAVIGATION */
.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.site-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 16px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(255, 255, 255, 0.015);
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	font-family: var(--font-ui);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
	color: #ffffff;
	background: rgba(242, 138, 26, 0.06);
	border-color: rgba(242, 138, 26, 0.45);
}

.site-nav a.is-active {
	color: #ffffff;
	background: rgba(242, 138, 26, 0.10);
	border-color: rgba(242, 138, 26, 0.70);
	box-shadow: inset 0 0 0 1px rgba(242, 138, 26, 0.18);
}

/* HAMBURGER */
.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 50px;
	height: 50px;
	margin-left: auto;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.02);
	cursor: pointer;
	flex: 0 0 auto;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #ffffff;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:hover {
	border-color: rgba(242, 138, 26, 0.45);
	background: rgba(242, 138, 26, 0.06);
}

.nav-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* TYPO */
h1,
h2,
h3 {
	margin-top: 0;
	color: #ffffff;
}

h1 {
	font-family: var(--font-luxury);
	font-size: clamp(34px, 4vw, 58px);
	line-height: 1.02;
	margin-bottom: 16px;
}

h2 {
	font-family: var(--font-luxury);
	font-size: clamp(22px, 2vw, 32px);
	line-height: 1.08;
	margin-bottom: 14px;
}

h3 {
	font-family: var(--font-ui);
	font-size: 22px;
	line-height: 1.1;
	margin-bottom: 12px;
	text-transform: uppercase;
}

p {
	line-height: 1.7;
	color: var(--muted);
}

.kicker {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--accent);
	font-family: var(--font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

/* HERO */
.page-hero {
	position: relative;
	min-height: 56vh;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow: hidden;
	background: #000000;
}

.page-hero--home {
	min-height: 78vh;
}

.page-hero__bg,
.page-hero__bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.34) 40%, rgba(0, 0, 0, 0.12) 100%),
		linear-gradient(180deg, rgba(242, 138, 26, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
}

.page-hero__inner {
	position: relative;
	z-index: 2;
	min-height: inherit;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	padding: 104px 0 42px;
}

.page-hero__content {
	width: 100%;
	max-width: 640px;
}

.page-hero__content h1 {
	margin: 0 0 12px;
	font-size: clamp(30px, 4vw, 58px);
	line-height: 0.96;
}

.page-hero__content p {
	max-width: 560px;
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	color: #e0e0e0;
}

.page-hero__inner--home {
	min-height: 78vh;
	justify-content: flex-end;
	padding: 118px 0 24px;
}

.page-hero__inner--home .page-hero__content {
	max-width: 600px;
}

.page-hero__inner--home .hero-actions {
	margin-top: 22px;
}

.page-hero__inner--home .hero-dots {
	margin-top: 18px;
}

/* SECTIONS / GRIDS */
.section {
	margin: 30px auto;
	position: relative;
	z-index: 2;
}

.page-hero:not(.page-hero--home) + .section {
	margin-top: -24px;
	z-index: 5;
}

.page-hero--home + .section {
	margin-top: -18px;
	z-index: 5;
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(242, 138, 26, 0.18);
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap);
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* CARDS */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	padding: 20px;
	background: linear-gradient(180deg, #141414 0%, #101010 100%);
	border: 1px solid var(--line);
}

.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 72px;
	height: 3px;
	background: var(--accent);
}

.card-image-link {
	display: block;
	text-decoration: none;
	color: inherit;
	line-height: 0;
}

.card-image-wrap {
	overflow: hidden;
	margin-bottom: 14px;
	background: #0a0a0a;
	border: 1px solid var(--line);
	aspect-ratio: 4 / 3;
	line-height: 0;
}

.card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.card-image-link:hover .card-image {
	transform: scale(1.03);
}

.card-image-wrap--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
}

.card-image-placeholder {
	color: #8e8e8e;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-family: var(--font-ui);
}

.card-actions {
	margin-top: auto;
	padding-top: 18px;
}

.card-actions .btn-outline,
.card-actions .btn,
.card-actions .btn-secondary {
	width: 100%;
}

.badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
	align-items: flex-start;
	min-height: 38px;
}

.price {
	color: var(--accent);
	font-family: var(--font-ui);
	font-size: 28px;
	font-weight: 900;
	line-height: 1.05;
}

.card--car h2 {
	margin: 0 0 12px;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.12;
}

.card--car h2 a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.card--car h2 a:hover {
	color: var(--accent);
}

.card--car .price {
	margin: 0 0 2px;
	font-size: 24px;
	line-height: 1;
}

.card--car .car-vat-note {
	margin-top: 0;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.25;
	color: #d7d7d7;
}

.card--car .car-vat-note span {
	display: inline-block;
	margin-bottom: 2px;
	color: #ffbf78;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.4px;
}

.meta p {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: #dddddd;
}

.meta p:last-child {
	border-bottom: 0;
}

.badge {
	display: inline-block;
	padding: 7px 12px;
	font-family: var(--font-ui);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	border: 1px solid transparent;
}

.badge-top {
	background: var(--accent);
	color: #111111;
	border-color: var(--accent);
}

.badge-reserved {
	background: rgba(242, 138, 26, 0.1);
	color: #ffbf78;
	border-color: rgba(242, 138, 26, 0.4);
}

.badge-sold {
	background: rgba(181, 59, 50, 0.15);
	color: #ff9a92;
	border-color: rgba(181, 59, 50, 0.35);
}

.is-sold {
	opacity: 0.84;
}

/* BUTTONS */
.btn,
.btn-outline,
input.btn,
button.btn,
input.btn-outline,
button.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 20px;
	font-family: var(--font-ui);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: 0.2s ease;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
}

.btn,
input.btn,
button.btn {
	background: linear-gradient(180deg, var(--accent2), var(--accent));
	color: #111111;
	border: 1px solid var(--accent);
}

.btn:hover,
input.btn:hover,
button.btn:hover {
	filter: brightness(1.04);
}

.btn-outline,
input.btn-outline,
button.btn-outline {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline:hover,
input.btn-outline:hover,
button.btn-outline:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* FORMS */
.form-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.form-box {
	padding: 12px 18px;
	background: rgba(7, 7, 7, 0.78);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(242, 138, 26, 0.35);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

label {
	display: inline-block;
	margin-bottom: 4px;
	color: #f0f0f0;
	font-family: var(--font-ui);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
select,
textarea {
	width: 100%;
	padding: 10px 12px;
	min-height: 44px;
	background: #0c0c0c;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.08);
	outline: none;
	font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--accent);
	box-shadow: inset 0 0 0 1px var(--accent);
}

textarea {
	resize: vertical;
}

/* HERO ELEMENTS */
.hero-slider {
	position: absolute;
	inset: 0;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.hero-slide.is-active {
	opacity: 1;
}

.hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.hero-search {
	width: 100%;
	margin-top: 24px;
	max-width: 980px;
}

.inventory-search {
	width: 100%;
	margin-top: 18px;
	margin-bottom: 34px;
	max-width: 100%;
	align-self: stretch;
}

.hero-dots {
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
}

.hero-dots button {
	width: 14px;
	height: 14px;
	min-height: 14px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	cursor: pointer;
}

.hero-dots button.is-active {
	background: var(--accent);
	border-color: var(--accent);
}

/* INVENTORY */
.inventory-empty {
	padding-top: 30px;
	padding-bottom: 30px;
}

.inventory-pagination {
	margin-top: 34px;
}

#inventoryResults.is-loading {
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

#inventoryFilter.is-loading {
	opacity: 0.9;
}

#model:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* FINANCING */
.financing-list {
	margin: 0;
	padding-left: 22px;
	color: #f0f0f0;
}

.financing-list li {
	margin-bottom: 10px;
	line-height: 1.7;
	color: #f0f0f0;
}

.financing-list li:last-child {
	margin-bottom: 0;
}

.partners-image {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 8px 0 4px;
}

.partners-image img {
	display: block;
	width: min(100%, 1100px);
	height: auto;
	object-fit: contain;
}

/* CONTACT */
.contact-list {
	display: grid;
	gap: 18px;
	margin-top: 10px;
}

.contact-item {
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.contact-item__label {
	margin-bottom: 6px;
	color: var(--accent);
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.contact-item__value {
	color: #f0f0f0;
	line-height: 1.7;
}

.contact-item__value a {
	color: #ffffff;
	text-decoration: none;
}

.contact-item__value a:hover {
	color: var(--accent);
}

.map-embed {
	overflow: hidden;
	border: 1px solid var(--line);
	background: #0a0a0a;
	aspect-ratio: 16 / 10;
}

.map-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.contact-form-full {
	width: 100%;
	max-width: none;
}

.contact-form-full .contact-form-modern,
.contact-form-full form {
	max-width: 860px;
}

.contact-form-full .contact-form-modern {
	margin-top: 22px;
}

.contact-form-full .btn,
.contact-form-full button,
.contact-form-full input[type="submit"] {
	width: auto;
	min-width: 220px;
}

.contact-form-modern {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.contact-form-modern__field {
	display: grid;
	gap: 6px;
}

.contact-form-modern textarea {
	min-height: 160px;
}

.contact-form-modern__actions {
	margin-top: 8px;
}

.form-error {
	color: #ff9a92;
	font-size: 13px;
	line-height: 1.4;
}

/* DETAIL */
.detail-top-grid {
	align-items: start;
}

.detail-gallery-main,
.detail-specs-card {
	height: 100%;
}

.detail-main-image-wrap {
	overflow: hidden;
	border: 1px solid var(--line);
	background: #000000;
	margin-bottom: 14px;
	line-height: 0;
}

.detail-main-image-button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	line-height: 0;
}

.detail-main-image {
	display: block;
	width: 100%;
	height: 460px;
	object-fit: cover;
}

.detail-thumbs-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.detail-thumb {
	display: block;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #000000;
	cursor: pointer;
	overflow: hidden;
	line-height: 0;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-thumb:hover {
	border-color: rgba(242, 138, 26, 0.5);
}

.detail-thumb.is-active {
	border-color: var(--accent);
	box-shadow: inset 0 0 0 1px var(--accent);
}

.detail-thumb img {
	display: block;
	width: 100%;
	height: 110px;
	object-fit: cover;
}

.detail-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.detail-specs__item {
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.02);
}

.detail-specs__label {
	margin-bottom: 4px;
	color: var(--accent);
	font-family: var(--font-ui);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.detail-specs__value {
	color: #f2f2f2;
	line-height: 1.5;
	word-break: break-word;
}

.detail-equipment {
	margin: 0;
	padding-left: 18px;
	columns: 2;
	column-gap: 28px;
}

.detail-equipment li {
	margin-bottom: 8px;
	color: #f0f0f0;
	break-inside: avoid;
}

.detail-price-box {
	margin-bottom: 28px;
	padding: 18px 20px;
	background: linear-gradient(180deg, rgba(242, 138, 26, 0.12) 0%, rgba(242, 138, 26, 0.04) 100%);
	border: 1px solid rgba(242, 138, 26, 0.35);
}

.detail-price-box__label {
	margin-bottom: 10px;
	color: #ffbf78;
	font-family: var(--font-ui);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.9px;
	text-transform: uppercase;
}

.detail-price-box__main {
	color: var(--accent);
	font-family: var(--font-ui);
	font-size: clamp(36px, 4vw, 48px);
	font-weight: 900;
	line-height: 1;
}

.detail-price-box__vat {
	margin-top: 10px;
	color: #ffbf78;
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.detail-price-box__sub {
	margin-top: 4px;
	color: #f0f0f0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.detail-benefits {
	margin: 0;
	padding-left: 18px;
	columns: 2;
	column-gap: 28px;
}

.detail-benefits li {
	margin-bottom: 8px;
	color: #f0f0f0;
	break-inside: avoid;
}

/* LIGHTBOX */
.detail-lightbox {
	position: fixed;
	inset: 0;
	z-index: 4000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.detail-lightbox.is-open {
	display: flex;
}

.detail-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.detail-lightbox__content {
	position: relative;
	z-index: 2;
	max-width: 94vw;
	max-height: 92vh;
}

.detail-lightbox__content img {
	display: block;
	max-width: 94vw;
	max-height: 92vh;
	object-fit: contain;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	background: #000000;
}

.detail-lightbox__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 3;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.35);
	color: #ffffff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.detail-lightbox__close:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.detail-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 58px;
	height: 58px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.35);
	color: #ffffff;
	font-size: 42px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.detail-lightbox__nav:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.detail-lightbox__nav--prev {
	left: 18px;
}

.detail-lightbox__nav--next {
	right: 18px;
}

/* FOOTER */
footer {
	margin-top: 70px;
	padding: 24px 0;
	border-top: 1px solid var(--line-accent);
	background: #080808;
	color: #cfcfcf;
}

/* TABLET */
@media (max-width: 1100px) {
	:root {
		--site-header-height: 70px;
		--header-offset: calc(var(--top-contact-height) + var(--site-header-height));
	}

	.topbar {
		min-height: var(--site-header-height);
		gap: 16px;
	}

	.logo-image {
		width: clamp(125px, 19vw, 180px);
		max-height: 50px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		gap: 10px;
		padding: 14px 20px 18px;
		background: rgba(8, 8, 8, 0.96);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-top: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav a {
		width: 100%;
		justify-content: flex-start;
		padding: 14px 16px;
	}

	.grid-3,
	.form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* MOBILE */
@media (max-width: 800px) {
	:root {
		--top-contact-height: 48px;
		--site-header-height: 64px;
		--header-offset: calc(var(--top-contact-height) + var(--site-header-height));
	}

	.top-contact-bar {
		font-size: 9px;
		letter-spacing: 0.3px;
	}

	.top-contact-bar__inner {
		min-height: var(--top-contact-height);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 4px;
		text-align: center;
		padding: 4px 0;
	}

	.top-contact-bar__phones,
	.top-contact-bar__hours {
		justify-self: auto;
		align-items: center;
		text-align: center;
	}

	.topbar {
		min-height: var(--site-header-height);
		gap: 14px;
	}

	.logo-image {
		width: clamp(105px, 22vw, 145px);
		max-height: 40px;
	}

	.nav-toggle {
		width: 44px;
		height: 44px;
	}

	.nav-toggle span {
		width: 20px;
	}

	.grid-2,
	.grid-3,
	.form-grid,
	.detail-specs {
		grid-template-columns: 1fr;
	}

	.section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.page-hero {
		min-height: auto;
	}

	.page-hero__inner {
		min-height: auto;
		padding: 96px 0 24px;
	}

	.page-hero--home {
		min-height: 72vh;
	}

	.page-hero__inner--home {
		min-height: 72vh;
		padding: 96px 0 28px;
		justify-content: flex-end;
	}

	.page-hero__content h1 {
		font-size: clamp(30px, 9vw, 46px);
	}

	.page-hero__content p {
		font-size: 15px;
	}

	.page-hero:not(.page-hero--home) + .section {
		margin-top: 8px;
	}

	.page-hero--home + .section {
		margin-top: 20px;
	}

	.inventory-search {
		margin-top: 16px;
		margin-bottom: 20px;
	}

	.form-box {
		padding: 14px;
	}

	.contact-form-full .contact-form-modern,
	.contact-form-full form {
		max-width: 100%;
	}

	.contact-form-full .btn,
	.contact-form-full button,
	.contact-form-full input[type="submit"] {
		width: 100%;
		min-width: 0;
	}

	.contact-form-modern__actions .btn {
		width: 100%;
	}

	.detail-main-image {
		height: 300px;
	}

	.detail-thumbs-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.detail-thumb img {
		height: 86px;
	}

	.detail-equipment {
		columns: 1;
	}

	.detail-lightbox {
		padding: 16px;
	}

	.detail-lightbox__nav {
		width: 48px;
		height: 48px;
		font-size: 34px;
	}

	.detail-lightbox__nav--prev {
		left: 10px;
	}

	.detail-lightbox__nav--next {
		right: 10px;
	}

	.detail-price-box {
		padding: 16px;
		margin-bottom: 22px;
	}

	.detail-price-box__main {
		font-size: 34px;
	}

	.detail-price-box__vat {
		margin-top: 8px;
		font-size: 12px;
	}

	.detail-price-box__sub {
		margin-top: 3px;
		font-size: 15px;
	}
	
	.benefits-list {
	grid-template-columns: 1fr;
}

.detail-benefits {
	columns: 1;
}
}

/* SMALL MOBILE */
@media (max-width: 560px) {
	:root {

		--top-contact-height: 44px;
		--site-header-height: 58px;
		--header-offset: calc(var(--top-contact-height) + var(--site-header-height));
	}

	.container,
	.section {
		width: min(var(--site-max), calc(100% - 24px));
	}

	.top-contact-bar {
		font-size: 8px;
	}

	.logo-image {
		width: 108px;
		max-height: 36px;
	}

	.site-nav {
		padding-left: 10px;
		padding-right: 10px;
	}

	.site-nav a {
		font-size: 13px;
	}

	.price {
		font-size: 26px;
	}

	.hero-actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.hero-actions .btn,
	.hero-actions .btn-outline {
		width: 100%;
	}

	.card--car h2 {
		font-size: 20px;
		line-height: 1.15;
	}

	.card--car .price {
		font-size: 22px;
	}

	.card--car .car-vat-note {
		font-size: 13px;
		line-height: 1.25;
	}
	
}

/* COOKIE BANNER */
.slc-cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 99999;
	display: flex;
	justify-content: center;
}

.slc-cookie-banner[hidden] {
	display: none !important;
}

.slc-cookie-banner__box {
	width: 100%;
	max-width: 820px;
	background: rgba(8, 8, 8, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 18px 20px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px 20px;
	align-items: center;
}

.slc-cookie-banner__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
}

.slc-cookie-banner__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #d7d7d7;
	word-break: normal;
	overflow-wrap: break-word;
}

.slc-cookie-banner__text a {
	color: #ff9f31;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.slc-cookie-banner__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}

.slc-cookie-btn {
	appearance: none;
	border: 1px solid transparent;
	padding: 12px 18px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}

.slc-cookie-btn:hover {
	transform: translateY(-1px);
}

.slc-cookie-btn--secondary {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.slc-cookie-btn--secondary:hover {
	border-color: rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.04);
}

.slc-cookie-btn--primary {
	background: #f28a1a;
	border-color: #f28a1a;
	color: #111;
}

.slc-cookie-btn--primary:hover {
	background: #ff9f31;
	border-color: #ff9f31;
}

@media (max-width: 760px) {
	.slc-cookie-banner {
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	}

	.slc-cookie-banner__box {
		grid-template-columns: 1fr;
		padding: 16px;
		border-radius: 16px;
	}

	.slc-cookie-banner__title {
		font-size: 20px;
	}

	.slc-cookie-banner__text {
		font-size: 14px;
		line-height: 1.55;
	}

	.slc-cookie-banner__actions {
		flex-direction: column;
		align-items: stretch;
		justify-content: stretch;
	}

	.slc-cookie-btn {
		width: 100%;
		text-align: center;
	}
}

/* ADMIN FORM PAGE */
.admin-form-page {
	width: min(1400px, calc(100% - 40px));
	margin: 0 auto;
}

.admin-back-link {
	display: inline-block;
	margin-bottom: 14px;
	font-weight: 700;
	text-decoration: none;
}

.admin-form-card {
	padding: 28px 32px;
	overflow: visible;
}

.admin-car-form form {
	width: 100%;
	max-width: 1200px;
}

.admin-car-form table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 12px;
	table-layout: fixed;
}

.admin-car-form tbody {
	width: 100%;
}

.admin-car-form tr {
	width: 100%;
}

.admin-car-form th {
	width: 220px;
	padding: 0 18px 0 0;
	text-align: right;
	vertical-align: top;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
}

.admin-car-form td {
	width: auto;
	padding: 0;
}

.admin-car-form input[type="text"],
.admin-car-form input[type="number"],
.admin-car-form input[type="email"],
.admin-car-form input[type="date"],
.admin-car-form input[type="password"],
.admin-car-form select {
	display: block;
	width: min(100%, 560px);
	min-height: 44px;
	padding: 10px 12px;
	background: #0c0c0c;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-car-form textarea {
	display: block;
	width: min(100%, 760px);
	min-height: 220px;
	padding: 12px;
	background: #0c0c0c;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	resize: vertical;
}

.admin-car-form input[type="checkbox"],
.admin-car-form input[type="radio"] {
	width: auto;
	min-height: 0;
	margin-right: 8px;
}

.admin-car-form .required {
	color: var(--accent);
}

.admin-car-form input:focus,
.admin-car-form select:focus,
.admin-car-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: inset 0 0 0 1px var(--accent);
}

.admin-car-form .error,
.admin-car-form .help,
.admin-car-form small {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #ff9a92;
}

.admin-car-form input[type="submit"],
.admin-car-form button[type="submit"],
.admin-car-form .btn {
	margin-top: 10px;
	min-width: 220px;
}

@media (max-width: 900px) {
	.admin-form-card {
		padding: 20px 16px;
	}

	.admin-car-form table,
	.admin-car-form tbody,
	.admin-car-form tr,
	.admin-car-form th,
	.admin-car-form td {
		display: block;
		width: 100%;
	}

	.admin-car-form th {
		text-align: left;
		padding: 0 0 6px;
		white-space: normal;
	}

	.admin-car-form td {
		padding-bottom: 10px;
	}

	.admin-car-form input[type="text"],
	.admin-car-form input[type="number"],
	.admin-car-form input[type="email"],
	.admin-car-form input[type="date"],
	.admin-car-form input[type="password"],
	.admin-car-form select,
	.admin-car-form textarea {
		width: 100%;
		max-width: 100%;
	}
}