/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
	--bg-color: #050505;
	--bg-color-alt: #111111;
	--accent-color: #ff5e00;
	--accent-glow: rgba(255, 94, 0, 0.5);
	--text-primary: #ffffff;
	--text-secondary: rgba(255, 255, 255, 0.6);
	--glass-bg: rgba(255, 255, 255, 0.03);
	--glass-border: rgba(255, 255, 255, 0.08);
}

html {
	scroll-behavior: auto !important;
	max-width: 100vw;
	overflow-x: hidden;
}
body {
	font-family: "Montserrat", sans-serif;
	background-color: var(--bg-color);
	color: var(--text-primary);
	overflow-x: hidden;
}

body.dark-theme {
	background-color: var(--bg-color);
}

body.dark-theme::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: radial-gradient(circle at 10% 20%, rgba(255, 94, 0, 0.05) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(255, 94, 0, 0.05) 0%, transparent 40%);
	z-index: -1;
	pointer-events: none;
	animation: bgDrift 20s infinite alternate ease-in-out;
}

@keyframes bgDrift {
	0% {
		transform: scale(1) translate(0, 0);
	}
	100% {
		transform: scale(1.1) translate(-20px, 20px);
	}
}

.text-accent {
	color: var(--accent-color) !important;
}

.bg-black {
	background-color: #000 !important;
}

.section-dark {
	background-color: var(--bg-color-alt);
}

.section-title {
	font-size: 2.5rem;
	position: relative;
	display: inline-block;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-accent {
	background-color: var(--accent-color);
	color: #fff;
	border: none;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-accent:hover {
	background-color: #e65500;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 94, 0, 0.7);
}

.glow-btn {
	animation: glow-pulse 2s infinite alternate;
}

@keyframes glow-pulse {
	from {
		box-shadow: 0 0 10px var(--accent-glow);
	}
	to {
		box-shadow: 0 0 25px var(--accent-color);
	}
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--glass-border);
	border-bottom: 1px solid rgb(248 105 39) !important;
	padding: 15px 0;
	transition: all 0.3s ease;
}

.navbar-nav .nav-link {
	font-weight: 600;
	color: var(--text-primary) !important;
	transition: all 0.2s ease;
	border-bottom: 2px solid transparent;
}

.navbar-nav .nav-item {
	text-align: center;
}

.navbar-nav .nav-item:nth-child(1) {
	width: 90px;
}

.navbar-nav .nav-item:nth-child(2) {
	width: 135px;
}

.navbar-nav .nav-item:nth-child(3) {
	width: 75px;
}

.navbar-nav .nav-item:nth-child(4) {
	width: 105px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--accent-color) !important;
	font-weight: 700;
}

.header-right-block {
	display: flex;
	flex-direction: column;
	position: relative;
}

.header-right-block a:nth-child(2) {
	padding: 7px;
	margin-top: 10px;
	position: absolute;
	right: 0;
	bottom: -45px;
	width: calc(100% - 1rem);
	background: #000;
}
@media (max-width: 1200px) {
	.header-right-block a:nth-child(2) {
		font-size: 13px;
	}
}

@media (max-width: 991.98px) {
	.header-right-block a:nth-child(2) {
		position: relative;
		bottom: 0;
		padding: 15px 10px;
	}
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bg-color);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease;
}
.loader-content {
	position: relative;
	text-align: center;
}
.wheel-spin {
	font-size: 5rem;
	animation: spin 1.5s linear infinite;
	display: inline-block;
}
.wrench-pulse {
	font-size: 3rem;
	position: absolute;
	top: -15px;
	right: -25px;
	animation: tools-fix 1s infinite alternate;
	transform-origin: bottom left;
}
@keyframes spin {
	100% {
		transform: rotate(360deg);
	}
}
@keyframes tools-fix {
	0% {
		transform: rotate(-20deg);
	}
	100% {
		transform: rotate(20deg);
	}
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
	height: 100vh;
	min-height: 600px;
	z-index: 2;
}

.carousel-boxshadow {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 3;
	pointer-events: none;
	box-shadow:
		inset 0px -15px 35px 15px #111111,
		inset 0px -15px 35px 15px #111111,
		inset 0px -15px 35px 15px #111111;
}

.bg-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
	z-index: 1;
}

.carousel-caption {
	z-index: 2;
	bottom: auto;
	padding-top: 150px;
}

/* 3D Canvas */
#canvas-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	pointer-events: none;
	opacity: 0.8;
}

.z-index-2 {
	z-index: 2;
}

/* ==========================================================================
   Glassmorphism (Premium Panels)
   ========================================================================== */
.glass-panel {
	background: var(--glass-bg);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border: 1px solid var(--glass-border);
}

.advantage-card {
	transition:
		transform 0.1s ease-out,
		box-shadow 0.3s ease,
		border-color 0.3s ease;
	transform-style: preserve-3d;
	will-change: transform;
}
.icon-box i {
	transition:
		transform 0.1s ease-out,
		text-shadow 0.3s ease;
	will-change: transform;
	display: inline-block;
}

/* ==========================================================================
   Pricing Customization
   ========================================================================== */
.custom-tabs .nav-link {
	color: var(--text-secondary);
	border-radius: 50px;
	padding: 10px 25px;
	margin: 0 5px;
	font-weight: 600;
}

.custom-tabs .nav-link.active {
	background-color: var(--accent-color);
	color: #fff;
	box-shadow: 0 4px 15px var(--accent-glow);
}

.custom-table tr {
	border-bottom: 1px solid var(--glass-border);
}

.custom-table th {
	color: var(--accent-color);
	font-weight: 600;
	background: transparent;
}

.custom-table td {
	background: transparent;
}

.custom-table tbody tr:hover td {
	background-color: rgba(255, 255, 255, 0.05);
}

.custom-select {
	background-color: rgba(0, 0, 0, 0.3);
	color: var(--text-primary);
	border: 1px solid var(--glass-border);
}

.custom-select:focus {
	background-color: rgba(0, 0, 0, 0.4);
	color: var(--text-primary);
	border-color: var(--accent-color);
	box-shadow: 0 0 0 0.25rem var(--accent-glow);
}

.custom-select option {
	background-color: #111;
	color: #fff;
}

.custom-checkbox .form-check-input {
	background-color: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--glass-border);
}

.custom-checkbox .form-check-input:checked {
	background-color: var(--accent-color);
	border-color: var(--accent-color);
}

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

/* ==========================================================================
   About Us & Cases
   ========================================================================== */
.about-image-wrapper {
	position: relative;
}

.about-img {
	border: 1px solid var(--glass-border);
}

.experience-badge {
	position: absolute;
	bottom: -20px;
	right: -20px;
	padding: 20px 30px;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.case-card {
	transition: transform 0.3s ease;
}

.case-card:hover {
	transform: translateY(-5px);
}

.case-img {
	transition: transform 0.5s ease;
}

.case-card:hover .case-img {
	transform: scale(1.05);
}

/* ==========================================================================
   Animations & Section Dividers
   ========================================================================== */
.section-slant-bottom {
	/* clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%); */
	/* padding-bottom: 8vw !important; */
}
.section-slant-top {
	clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
	margin-top: -4vw;
	padding-top: 8vw !important;
}

.animate-up {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.8s ease,
		transform 0.8s ease;
}

.carousel-item.active .animate-up {
	opacity: 1;
	transform: translateY(0);
}

.delay-1 {
	transition-delay: 0.2s;
}
.delay-2 {
	transition-delay: 0.4s;
}

/* GSAP utilities */
.reveal {
	opacity: 0;
	transform: translateY(40px);
}

.reveal.visible {
	animation: reveal-up 0.8s forwards;
	opacity: 1;
	transform: translateY(0);
}

@keyframes reveal-up {
	0% {
		opacity: 0;
		transform: translateY(40px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   Light Theme Overrides
   ========================================================================== */
body.light-theme {
	--bg-color: #f4f6f9;
	--bg-color-alt: #ffffff;
	--text-primary: #111111;
	--text-secondary: #555555;
	--glass-bg: rgba(0, 0, 0, 0.03);
	--glass-border: rgba(0, 0, 0, 0.08);
}
body.light-theme #preloader {
	background-color: #f4f6f9;
}
body.light-theme #preloader h4 {
	color: #111 !important;
}
body.light-theme .navbar {
	background: rgba(255, 255, 255, 0.9);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
body.light-theme .navbar-nav .nav-link,
body.light-theme .navbar-brand {
	color: #111;
}
body.light-theme .navbar-nav .nav-link:hover {
	color: var(--accent-color);
}
body.light-theme .custom-table th,
body.light-theme .custom-table td {
	color: #111;
}
body.light-theme .custom-table {
	border-color: #ddd;
}
body.light-theme .custom-select,
body.light-theme .custom-checkbox .form-check-input {
	background-color: #fff;
	color: #111;
	border: 1px solid #ccc;
}
body.light-theme .custom-select option {
	background-color: #fff;
	color: #111;
}
body.light-theme .text-white-50,
body.light-theme .text-muted {
	color: #666 !important;
}
body.light-theme .text-white {
	color: #111 !important;
}
body.light-theme .navbar-toggler-icon {
	filter: invert(1);
}
body.light-theme .bg-black {
	background-color: #ffffff !important;
}
body.light-theme .glass-panel p.text-white-50,
body.light-theme .service-card p.text-white-50 {
	color: #555 !important;
}
body.light-theme .table-dark {
	--bs-table-bg: transparent;
	--bs-table-striped-bg: transparent;
	color: #111;
}
body.light-theme .table-hover tbody tr:hover td {
	background-color: rgba(255, 94, 0, 0.1) !important;
	color: #111 !important;
}
body.light-theme .custom-checkbox .form-check-input:checked {
	background-color: var(--accent-color) !important;
	border-color: var(--accent-color) !important;
}
body.light-theme .btn-outline-light {
	color: #111;
	border-color: #111;
}
body.light-theme .btn-outline-light:hover {
	background-color: #111;
	color: #fff !important;
}
body.light-theme .hero-section .text-white,
body.light-theme .hero-section .text-white-50 {
	color: #fff !important;
}
body.light-theme .hero-section p.lead {
	color: rgba(255, 255, 255, 0.9) !important;
}
body.light-theme .contacts-bg-anim {
	background: linear-gradient(-45deg, #ffe5d9, #ffffff, #ffe5d9, #fff6f2) !important;
	background-size: 400% 400%;
}
body.light-theme .bg-var-2 {
	background: linear-gradient(180deg, rgba(255, 94, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%) !important;
}
body.light-theme .case-card.glass-panel {
	background: rgba(255, 255, 255, 0.9) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
body.light-theme .case-card h5 {
	color: #111 !important;
}
body.light-theme .case-card p.text-white-50 {
	color: #555 !important;
}
body.light-theme .btn-sweep {
	color: #111 !important;
	border-color: rgba(0, 0, 0, 0.2) !important;
}
body.light-theme .btn-sweep:hover {
	color: #fff !important;
	background: #111 !important;
	border-color: #111 !important;
}

body.light-theme .hero-section .btn-sweep {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.4) !important;
}
body.light-theme .hero-section .btn-sweep:hover {
	color: #111 !important;
	background: #fff !important;
	border-color: #fff !important;
}

/* ==========================================================================
   Fixed Side Buttons & Navigation
   ========================================================================== */
#themeToggle {
	width: 40px;
	height: 40px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--text-secondary) !important;
	border-radius: 50% !important;
}
#themeToggle:hover {
	background: #fff;
}
#themeToggle i {
	font-size: 1.1rem;
}

@media (max-width: 1200px) {
	#themeToggle {
		position: absolute;
		top: 15px;
		right: 8px;
	}
}

/* Desktop fixed actions (Left side) */
.fixed-actions-bar {
	position: fixed;
	left: 20px;
	bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	z-index: 999;
}
.fixed-action-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: #fff !important;
	text-decoration: none !important;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	position: relative;
}
.fixed-action-btn::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 100%;
	margin-left: 15px;
	background: var(--glass-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--glass-border);
	color: var(--text-primary);
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translateX(-10px);
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.fixed-action-btn:hover::after {
	opacity: 1;
	transform: translateX(0);
}
.fixed-action-btn.phone-btn {
	background: linear-gradient(135deg, #11998e 0%, #38ef7d 50%, #11998e 100%);
	background-size: 300% 300%;
	animation:
		phoneBgAnim 3s ease infinite,
		phonePulse 2.5s infinite;
}
.fixed-action-btn.phone-btn i {
	animation: ringShake 3s infinite ease-in-out;
}
@keyframes phoneBgAnim {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
@keyframes phonePulse {
	0% {
		box-shadow: 0 0 0 0 rgba(56, 239, 125, 0.6);
	}
	70% {
		box-shadow: 0 0 0 20px rgba(56, 239, 125, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(56, 239, 125, 0);
	}
}
@keyframes ringShake {
	0%,
	40%,
	100% {
		transform: rotate(0);
	}
	45%,
	55% {
		transform: rotate(12deg) scale(1.1);
	}
	50% {
		transform: rotate(-12deg) scale(1.1);
	}
}
.fixed-action-btn.booking-btn {
	background: linear-gradient(135deg, #ff512f, #dd2476);
}
.fixed-action-btn:hover {
	transform: scale(1.1);
	color: #fff !important;
}
@media (max-width: 767.98px) {
	.fixed-action-btn:hover {
		transform: scale(1);
		color: #fff !important;
	}
}

/* Scroll to Top (Right side) */
.fixed-scroll-top {
	position: fixed;
	right: 20px;
	bottom: 30px;
	z-index: 998;
}
.scroll-top-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(0, 0, 0, 0.9));
	backdrop-filter: blur(5px);
	border: 1px solid var(--accent-color);
	color: var(--accent-color);
	box-shadow: 0 0 15px rgba(255, 94, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px);
	transition: all 0.3s ease;
	text-decoration: none !important;
}
.scroll-top-btn.visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.scroll-top-btn:hover {
	background: var(--accent-color);
	color: #fff;
	box-shadow: 0 0 25px rgba(255, 94, 0, 0.8);
}

@media (max-width: 767.98px) {
	.fixed-actions-bar {
		left: 0;
		bottom: 0;
		width: 100%;
		flex-direction: row;
		gap: 0;
	}
	.fixed-action-btn {
		width: 50%;
		height: 60px;
		border-radius: 0;
		box-shadow: none;
		font-size: 1.2rem;
	}
	.fixed-action-btn::after {
		display: none;
	}
	.fixed-scroll-top {
		bottom: 80px; /* Above the bottom bar */
	}
	body {
		padding-bottom: 60px;
	}
}

/* ==========================================================================
   Ken Burns Animation
   ========================================================================== */
.ken-burns {
	animation: kenburns 12s ease-in-out infinite alternate;
}
@keyframes kenburns {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.15);
	}
}

/* ==========================================================================
   Advanced Button Animations
   ========================================================================== */
.animated-btn-pro {
	position: relative;
	overflow: hidden;
	z-index: 1;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 15px 35px;
	border-radius: 50px;
	border: none;
	color: #fff;
	text-decoration: none;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-size: 0.9rem;
}
.animated-btn-pro i {
	font-size: 1.1rem;
}

@media (max-width: 1200px) {
	.header-right-block .animated-btn-pro {
		padding: 10px 15px;
	}
}

.carousel-text-shadow h1,
.carousel-text-shadow p {
	text-shadow:
		0 0 5px #000,
		0 0 5px #000,
		0 0 5px #000;
}

/* 1. Pulse Ripple (Позвонить нам) - GREEN THEME */
.btn-pulse {
	background: transparent;
	border: 2px solid rgba(40, 167, 69, 0.6);
	box-shadow: 0 0 10px rgba(40, 167, 69, 0.2);
	color: #28a745 !important;
	background: rgba(0, 0, 0, 0.5);
}
body.light-theme .btn-pulse.btn-pulse-contacts {
	background: rgb(255 255 255 / 50%);
}
.btn-pulse::before,
.btn-pulse::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 50px;
	border: 2px solid #28a745;
	animation: double-pulse 2.5s infinite ease-out;
	z-index: -1;
}
.btn-pulse::after {
	animation-delay: 1.25s;
	border: 1px solid rgba(40, 167, 69, 0.5);
}
.btn-pulse:hover {
	/* background: rgba(40, 167, 69, 0.15); */
	background: rgba(0, 0, 0, 0.75);
	/* color: #fff; */
	color: #28a745 !important;
	transform: translateY(-3px);
	box-shadow: 0 5px 20px rgba(40, 167, 69, 0.5);
	border-color: #28a745;
}
.btn-pulse-scale {
	white-space: nowrap;
}
.btn-pulse-scale:hover {
	transform: translateY(-3px) scale(1.05);
}
.btn-pulse:hover i {
	/* color: #fff; */
	color: #28a745 !important;
}
@keyframes double-pulse {
	0% {
		transform: scale(1);
		opacity: 0.8;
	}
	100% {
		transform: scale(1.3);
		opacity: 0;
	}
}

/* 2. Glitch / Glass Sweep (Мы на карте) */
.btn-sweep {
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(5px);
}
.btn-sweep::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 50%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transform: skewX(-20deg);
	animation: glass-sweep 3s infinite linear;
	z-index: -1;
}
.btn-sweep:hover {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.8);
}
@keyframes glass-sweep {
	0% {
		left: -100%;
	}
	20% {
		left: 200%;
	}
	100% {
		left: 200%;
	}
}

/* 3. Plasma / Liquid Gradient (Запись онлайн) */
.btn-plasma {
	background: linear-gradient(45deg, #ff5e00, #ff1100, #ff5e00, #ffaa00);
	background-size: 300% 300%;
	animation: plasma-flow 4s ease infinite;
	box-shadow: 0 0 20px var(--accent-glow);
	border: 2px solid transparent;
}
.btn-plasma::before {
	content: "";
	position: absolute;
	top: -5px;
	left: -5px;
	right: -5px;
	bottom: -5px;
	z-index: -1;
	background: linear-gradient(45deg, #ff5e00, #ff1100, #ff5e00, #ffaa00);
	background-size: 300% 300%;
	border-radius: 50px;
	filter: blur(10px);
	animation: plasma-flow 4s ease infinite;
	opacity: 0.7;
}
.btn-plasma:hover {
	transform: translateY(-3px) scale(1.05);
	color: #fff;
}
.btn-plasma:hover::before {
	opacity: 1;
	filter: blur(15px);
}
@keyframes plasma-flow {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.review-box {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* ==========================================================================
   Ratings & Contacts Custom Blocks
   ========================================================================== */
.rating-card {
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: 1px solid rgba(255, 255, 255, 0.05);
	animation: float-rating 6s ease-in-out infinite alternate;
}
.rating-card:hover {
	animation-play-state: paused;
	transform: translateY(-15px) scale(1.05) !important;
	border-color: rgba(255, 94, 0, 0.3);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.rating-card-yandex-good {
	position: absolute;
	right: -15px;
	top: -15px;
	height: 80%;
}
.rating-card-yandex-good img {
	height: 100%;
}

@keyframes float-rating {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-8px);
	}
}

@keyframes glow-pulse {
	0% {
		box-shadow:
			0 15px 30px rgba(0, 0, 0, 0.5),
			0 0 15px rgba(255, 94, 0, 0.4);
	}
	50% {
		box-shadow:
			0 15px 30px rgba(0, 0, 0, 0.5),
			0 0 30px rgba(255, 94, 0, 0.8),
			inset 0 0 10px rgba(255, 94, 0, 0.2);
	}
	100% {
		box-shadow:
			0 15px 30px rgba(0, 0, 0, 0.5),
			0 0 15px rgba(255, 94, 0, 0.4);
	}
}

.rating-card.js-hover {
	animation: glow-pulse 1.5s infinite ease-in-out !important;
}

.rating-logo {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
	transform-style: preserve-3d;
}

.yandex-logo span {
	color: #fc3f1d !important;
}
.google-logo i {
	color: #4285f4 !important;
}
.avito-logo span {
	color: #9cfc28 !important;
}

.contacts-bg-anim {
	background: linear-gradient(-45deg, #1f0800, #111111, #3a1100, #000000);
	background-size: 400% 400%;
	animation: gradientFlow 10s ease infinite;
	opacity: 0.95;
}
@keyframes gradientFlow {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* ==========================================================================
   Our Services Custom
   ========================================================================== */
.service-bg {
	background-size: cover;
	background-position: center;
	clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
	transition: transform 0.4s ease;
}

.service-bg-hover {
	transition: all 0.3s !important;
}
.service-card:hover .service-bg-hover {
	margin-right: -100%;
}

.service-overlay {
	background: linear-gradient(90deg, var(--glass-bg) 0%, rgba(0, 0, 0, 0.6) 80%);
	clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.w-60 {
	width: 60%;
}
.service-card {
	transition:
		transform 0.2s ease-out,
		box-shadow 0.3s ease,
		border-color 0.3s ease;
	transform-style: preserve-3d;
	will-change: transform;
}
.service-card h5,
.service-card p {
	text-shadow:
		0 0 5px #000,
		0 0 5px #000,
		0 0 5px #000;
	font-weight: 600;
}

body.light-theme .service-card h5,
body.light-theme .service-card p {
	text-shadow:
		0 0 5px #fff,
		0 0 5px #fff,
		0 0 5px #fff;
}
body.light-theme .glass-panel p.text-white-50,
body.light-theme .service-card p.text-white-50 {
	color: #000 !important;
}
body.light-theme .glass-panel p.text-white-50 {
	color: #fff !important;
}

.service-bg {
	transition: transform 0.2s ease-out;
	will-change: transform;
}

body.light-theme .service-bg {
	opacity: 0.25 !important;
}

.service-badge-btn {
	border: 1px solid var(--accent-color);
	background: rgba(255, 94, 0, 0.1);
	color: var(--accent-color) !important;
	transition: all 0.3s ease;
	display: inline-block;
	box-shadow: 0 4px 10px rgba(255, 94, 0, 0.1);
	transform: rotate(-3deg);
}
.service-card:hover .service-badge-btn {
	background: var(--accent-color);
	color: #fff !important;
	box-shadow: 0 4px 15px rgba(255, 94, 0, 0.4);
	transform: rotate(0deg) scale(1.05);
}
.z-index-10 {
	z-index: 10 !important;
}

/* Advantage Card Hover Effect */
.advantage-card {
	transition:
		background-color 0.3s ease,
		border-color 0.3s ease;
}
.advantage-card:hover {
	background-color: rgba(255, 255, 255, 0.06) !important;
}

.contact-panel-bg {
	background: rgba(0, 0, 0, 0.1);
}
body.light-theme .contact-panel-bg {
	background: rgba(255, 255, 255, 0.4);
}
body.light-theme .contact-panel-bg .icon-box {
	background: #fff !important;
}

/* 3D Premium Logo Styles */
.navbar-brand {
	overflow: visible !important;
}
.logo-3d {
	transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	transform-style: preserve-3d;
	text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.logo-3d:hover,
.logo-3d.auto-hover {
	transform: rotateX(15deg) rotateY(-10deg) scale(1.05);
}
.logo-icon {
	animation: slow-spin 15s linear infinite;
	transform-origin: center center;
}
.rim-spin {
	animation: slow-spin-ccw 20s linear infinite;
	transform-box: fill-box;
	transform-origin: center;
}
.logo-icon,
.logo-num {
	transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	display: inline-block;
}
.logo-3d:hover .logo-icon,
.logo-3d.auto-hover .logo-icon {
	transform: translateZ(20px) rotate(180deg) scale(1.15);
	filter: drop-shadow(0 0 10px var(--accent-glow));
	animation-play-state: paused;
}
.logo-3d:hover .logo-num,
.logo-3d.auto-hover .logo-num {
	transform: translateZ(30px) scale(1.1);
	text-shadow: 0 0 15px var(--accent-glow);
}

.brand-text-grad {
	background: linear-gradient(270deg, #ffffff 0%, #f86927 50%, #ffffff 100%);
	background-size: 300% 300%;
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	animation: textGradientDark 10s ease infinite;
}
body.light-theme .brand-text-grad {
	background: linear-gradient(90deg, #000000 0%, #f86927 50%, #000000 100%);
	background-size: 300% 300%;
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	animation: textGradientLight 10s ease infinite;
}
@keyframes textGradientDark {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
@keyframes textGradientLight {
	0% {
		background-position: 100% 50%;
	}
	50% {
		background-position: 0% 50%;
	}
	100% {
		background-position: 100% 50%;
	}
}

/* Ambient Logo Stars */
.logo-star {
	position: absolute;
	font-size: 0.4rem;
	color: var(--accent-color);
	opacity: 0;
	pointer-events: none;
	transform: translateZ(10px);
}
.logo-star.star-1 {
	top: -5px;
	left: 10%;
	animation: twinkle-star 3s infinite 0.5s;
}
.logo-star.star-2 {
	bottom: -5px;
	right: 20%;
	animation: twinkle-star 4s infinite 1.5s;
	font-size: 0.3rem;
}
.logo-star.star-3 {
	top: 5px;
	right: -15px;
	animation: twinkle-star 3.5s infinite 2.5s;
	font-size: 0.5rem;
}

@keyframes twinkle-star {
	0%,
	100% {
		opacity: 0;
		transform: scale(0.5) translateZ(10px) translateY(0);
	}
	50% {
		opacity: 1;
		transform: scale(1.2) translateZ(15px) translateY(-5px);
		text-shadow: 0 0 5px var(--accent-glow);
	}
}
@keyframes slow-spin {
	100% {
		transform: rotate(360deg);
	}
}
@keyframes slow-spin-ccw {
	100% {
		transform: rotate(-360deg);
	}
}

/* Global Typography Tweaks for Contrast */
.text-white-50,
.text-muted {
	color: rgba(255, 255, 255, 0.7) !important;
}

/* Background Variations for Blocks */
.bg-var-1 {
	background: radial-gradient(circle at top right, rgba(255, 94, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%) !important;
}
.bg-var-2 {
	background: linear-gradient(180deg, rgba(255, 94, 0, 0.08) 0%, rgba(20, 20, 20, 0.8) 50%, rgba(0, 0, 0, 0) 100%) !important;
}
.bg-var-3 {
	background: radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0) 50%) !important;
}
.bg-var-4 {
	background: linear-gradient(145deg, rgba(255, 94, 0, 0.1) 0%, rgba(0, 0, 0, 0) 80%) !important;
}
.bg-var-footer {
	background: radial-gradient(circle at bottom center, rgba(255, 94, 0, 0.25) 0%, var(--bg-color) 70%) !important;
	border-top: 2px solid rgba(255, 94, 0, 0.5) !important;
}
body.light-theme .bg-var-footer {
	background: radial-gradient(circle at bottom center, rgba(255, 94, 0, 0.15) 0%, #ffffff 70%) !important;
	border-top: 2px solid rgba(255, 94, 0, 0.3) !important;
}

.quick-contacts {
	min-height: 440px;
	transform: rotate(-2.25deg);
	/* clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%); */
	width: 120%;
	margin-left: -10%;
	z-index: 5;
}
.quick-contacts .container {
	transform: rotate(2.25deg);
}

.text-shadow-black {
	text-shadow: 0 0 5px #000;
}

.glow-divider {
	height: 3px;
	width: 100%;
	background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
	opacity: 0.6;
	position: relative;
	z-index: 5;
	box-shadow: 0 0 15px var(--accent-glow);
}
.glow-divider.isRotateUp {
	transform: rotate(-2.25deg);
	z-index: 10000;
}
.glow-divider.isRotateDown {
	transform: rotate(-2.25deg);
	z-index: 10000;
}
.glow-divider.isForCases {
	transform: rotate(-2.25deg);
	margin-top: -20px;
	position: absolute;
}
.social-icons a.btn,
.social-icons button.btn {
	width: 45px !important;
	height: 45px !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* ==========================================================================
   Quick Contacts 3D Canvas
   ========================================================================== */
#contacts-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
	opacity: 0.7;
}

/* ==========================================================================
   Map Section
   ========================================================================== */
.yandex-map {
	min-height: 300px;
	filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(120%);
	transition: filter 0.3s ease;
}
body.light-theme .yandex-map {
	filter: none;
}
.cases-carousel-control {
	width: 50px;
	height: 50px;
	background: var(--accent-color);
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
	opacity: 1;
}
.cases-carousel-control.carousel-control-prev {
	left: -25px;
}
.cases-carousel-control.carousel-control-next {
	right: -25px;
}
.cases-carousel-control:hover {
	background: #e65500;
}

/* ==========================================================================
   Hero Separator & Responsive Typography
   ========================================================================== */
.hero-separator {
	width: 120px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
	box-shadow: 0 0 15px var(--accent-glow);
	animation: separatorPulse 2s ease-in-out infinite;
	border-radius: 2px;
}
@keyframes separatorPulse {
	0%,
	100% {
		opacity: 0.5;
		width: 80px;
	}
	50% {
		opacity: 1;
		width: 140px;
	}
}

/* Pricing Table / Buttons Polish */
.custom-table {
	white-space: nowrap !important;
}
.table-responsive {
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;
}
.btn-liquid:hover {
	color: #ffffff !important;
}

.lead {
	text-shadow:
		0 0 5px #000,
		0 0 5px #000,
		0 0 5px #000,
		0 0 5px #000,
		0 0 5px #000;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85) !important;
}

body.light-theme .lead {
	text-shadow:
		0 0 5px #fff,
		0 0 5px #fff,
		0 0 5px #fff,
		0 0 5px #fff,
		0 0 5px #fff;
	color: rgba(0, 0, 0, 1) !important;
}

/* Responsive hero headings */
@media (max-width: 991.98px) {
	.carousel-caption .display-3 {
		font-size: 2.2rem !important;
	}
}
@media (max-width: 575.98px) {
	.carousel-caption .display-3 {
		font-size: 1.6rem !important;
	}
	.carousel-caption .lead {
		font-size: 0.95rem !important;
	}
}

/* ==== Custom Cases Slider ==== */
.cases-slider-wrap {
	position: relative;
	padding: 0 60px;
}
.cases-track-outer {
	overflow: hidden;
}
.cases-track {
	display: flex;
	transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	align-items: stretch;
}
/* Each slide: 1/3 on desktop */
.cases-slide {
	flex: 0 0 33.3333%;
	min-width: 33.3333%;
	padding: 0 10px;
	box-sizing: border-box;
}
/* Each slide: 100% on mobile */
@media (max-width: 767.98px) {
	.cases-slide {
		flex: 0 0 100%;
		min-width: 100%;
	}
	.cases-slider-wrap {
		padding: 0 10px;
	}
}
/* Navigation buttons */
.cases-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid rgba(255, 94, 0, 0.6);
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	transition:
		background 0.3s,
		border-color 0.3s,
		transform 0.3s;
	backdrop-filter: blur(6px);
}
.cases-btn:hover {
	background: var(--accent-color, #ff5e00);
	border-color: var(--accent-color, #ff5e00);
	transform: translateY(-50%) scale(1.1);
}
.cases-btn-prev {
	left: 0;
}
.cases-btn-next {
	right: 0;
}

/* btn-liquid */
.btn-liquid {
	position: relative;
	border: 2px solid transparent;
	background:
		linear-gradient(135deg, #1a1a1a, #2a2a2a) padding-box,
		linear-gradient(135deg, #f86927, #ffd700, #f86927) border-box;
	color: #f86927;
	overflow: hidden;
	transition: all 0.4s ease;
}
.btn-liquid::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #f86927, #ffd700);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: -1;
}
.btn-liquid:hover::before {
	opacity: 1;
}
.btn-liquid:hover {
	color: #fff !important;
	box-shadow: 0 0 30px rgba(248, 105, 39, 0.6);
}
.btn-liquid span,
.btn-liquid {
	z-index: 1;
}
body.light-theme .btn-liquid {
	background:
		linear-gradient(135deg, #fff, #fdf0e6) padding-box,
		linear-gradient(135deg, #f86927, #ffd700, #f86927) border-box;
}

#advantages {
	margin-bottom: -50px;
}
#services {
	margin-top: -50px;
	padding-top: 75px !important;
}

.btn-liquid-div {
	width: 100%;
}

/* ==== Mobile typography fixes ==== */
@media (max-width: 767.98px) {
	/* Centers listed section headings on mobile */
	#advantages .section-title,
	#services .section-title,
	#pricing .section-title,
	#experts .section-title,
	#cases .section-title,
	#about .section-title,
	#about .text-muted,
	#about .btn-liquid-div,
	#map .section-title {
		text-align: center !important;
	}

	/* Centers "Experts" paragraph + CTA */
	#experts p.text-muted,
	#experts ul {
		text-align: center !important;
	}
	#experts ul {
		list-style: none !important;
		padding-left: 0 !important;
	}
	#experts a.btn {
		display: block !important;
		margin: 0 auto !important;
		width: fit-content !important;
	}
}

/* btn-liquid hover — always white text */
.btn-liquid:hover,
.btn-liquid:hover span {
	color: #000 !important;
}

/* Quick Contacts heading — light theme: white text-shadow */
body.light-theme #quick-contacts h2 {
	text-shadow: 0 5px 15px rgba(255, 255, 255, 0.7) !important;
	color: #111 !important;
}

/* ==== Pricing Sub-Tabs (Car type switcher) ==== */
.pricing-sub-tabs {
	gap: 8px;
}
.pricing-sub-tabs .nav-link {
	font-size: 0.8rem;
	font-weight: 600;
	padding: 7px 20px;
	border-radius: 50px;
	letter-spacing: 0.3px;
	color: #aaa;
	background: rgba(255, 255, 255, 0.05);
	border: 1.5px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}
.pricing-sub-tabs .nav-link:hover {
	color: #fff;
	border-color: rgba(56, 189, 248, 0.5);
	background: rgba(56, 189, 248, 0.1);
}
.pricing-sub-tabs .nav-link.active {
	color: #fff;
	background: linear-gradient(135deg, #0ea5e9, #6366f1);
	border-color: transparent;
	box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
}
body.light-theme .pricing-sub-tabs .nav-link {
	color: #555;
	background: rgba(0, 0, 0, 0.04);
	border-color: rgba(0, 0, 0, 0.12);
}
body.light-theme .pricing-sub-tabs .nav-link.active {
	color: #fff;
	background: linear-gradient(135deg, #0ea5e9, #6366f1);
	border-color: transparent;
}

/* ==== Loyalty Card Promo Section ==== */
#loyalty-promo {
	background: #080808;
	border-top: 1px solid rgb(248 105 39);
	border-bottom: 1px solid rgb(248 105 39);
	position: relative;
}

.loyalty-bg-anim-div {
	position: absolute;
	overflow: hidden;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
}

.loyalty-bg-anim {
	position: absolute;
	inset: 0;
	/* background: radial-gradient(circle at 10% 10%, rgba(0, 255, 136, 0.08) 0%, transparent 40%), radial-gradient(circle at 90% 90%, rgba(255, 215, 0, 0.08) 0%, transparent 40%), radial-gradient(circle at 50% 50%, rgba(0, 179, 98, 0.05) 0%, transparent 60%); */
	background: radial-gradient(circle at 10% 10%, rgb(0 150 136 / 25%) 0%, transparent 40%), radial-gradient(circle at 90% 90%, rgb(76 175 80 / 25%) 0%, transparent 40%), radial-gradient(circle at 50% 50%, rgb(139 195 74 / 51%) 0%, transparent 60%);
	animation: loyaltyBgShift 8s ease infinite alternate;
	z-index: 1;
}

@keyframes loyaltyBgShift {
	0% {
		transform: scale(1) translate(0, 0);
		opacity: 0.4;
	}
	50% {
		opacity: 0.7;
	}
	100% {
		transform: scale(1.2) translate(20px, 10px);
		opacity: 0.4;
	}
}

.loyalty-card-3d-wrap {
	perspective: 1500px;
	width: 320px;
	height: calc(320px / 1.586); /* ISO Aspect Ratio */
	cursor: pointer;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8));
	aspect-ratio: 666 / 426;
}

.loyalty-card-3d {
	width: 100%;
	height: 100%;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
	/* Initial Tilt: Top-left further, bottom-right closer */
	transform: rotateX(15deg) rotateY(-25deg);
	animation: cardFloat 5s ease-in-out infinite;
}

@keyframes cardFloat {
	0%,
	100% {
		margin-top: -25px;
	}
	50% {
		margin-top: -50px;
	}
}

.card-front {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #121212 0%, #000 100%);
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: inset 0 0 50px rgba(0, 255, 136, 0.05);
	background-image: url("/assets/images/grass.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: 0 0 15px 2px #f86927;
	border: 2px solid #000;
}

.card-glass {
	position: absolute;
	inset: 0;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
	z-index: 1;
}

.card-content {
	position: relative;
	z-index: 2;
	padding: 22px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.grass-text {
	font-size: 1.6rem;
	font-weight: 900;
	letter-spacing: 5px;
	background: linear-gradient(90deg, #00ff88, #00b362);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.4));
}

.card-chip {
	width: 42px;
	height: 32px;
	background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
	border-radius: 6px;
	margin: 8px 0;
	position: relative;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.card-chip::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(0, 0, 0, 0.15) 3px, rgba(0, 0, 0, 0.15) 6px);
}

.card-number {
	font-family: "Courier New", Courier, monospace;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 2px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	margin-bottom: 5px;
}

.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.card-exp {
	font-weight: bold;
	color: #ffd700;
}

.card-shine {
	position: absolute;
	top: 0;
	left: -100%;
	width: 50%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transform: skewX(-20deg);
	transition: left 0.6s ease;
	z-index: 3;
}

.loyalty-card-3d-wrap:hover .card-shine {
	left: 200%;
}

body.light-theme #loyalty-promo {
	background: #fdfdfd;
}

body.light-theme .grass-text {
	filter: none;
}
@media (max-width: 991.98px) {
	.loyalty-mobile-card {
		z-index: -1;
		opacity: 0.5;
	}
}

.footer-block {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
@media (max-width: 767.98px) {
	.footer-block {
		flex-direction: column;
	}
}

/* .display-2 {
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
} */

@media (max-width: 767.98px) {
	.carousel-caption {
		right: 5% !important;
		left: 5% !important;
	}
}

#wrapMap {
	position: relative;
	cursor: help;
	overflow: hidden;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(204, 204, 204);
	border-image: initial;
	height: 100%;
	width: 100%;
}
.mapTitle {
	position: absolute;
	z-index: 1000;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 5px;
	display: none;
	padding: 5px 20px;
	border-radius: 5px;
	background: rgb(0 0 0 / 51%);
	border-width: 1px;
	border-style: solid;
	border-color: rgb(204, 204, 204);
	border-image: initial;
	color: #fff;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 20px;
	padding: 20px;
}
.mapTitle > div:first-child {
	margin-bottom: 10px;
}
.mapTitle i {
	font-size: 50px;
}

/* ==========================================================================
   Yandex Map Wrapper
   ========================================================================== */
#yandexMap {
	width: 100%;
	height: 100%;
	display: flex;
}
#yandexMap iframe {
	flex: 1;
}

@media (max-width: 991.98px) {
	#yandexMap {
		cursor: pointer;
		position: relative;
	}
	#yandexMap::after {
		content: "Нажмите, чтобы открыть карту";
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		background: rgba(0, 0, 0, 0.45);
		color: #fff;
		font-size: 1rem;
		font-weight: 600;
		letter-spacing: 0.5px;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}
}

#yandexMapModal {
	padding-right: 0 !important;
	padding-left: 0 !important;
}
#yandexMapModal .modal-dialog.modal-map-custom {
	max-width: 100%;
	width: 100%;
	margin: 10px auto;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
}

#yandexMapModal .modal-map-content {
	width: calc(100vw - 20px);
	height: calc(100vh - 20px);
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--glass-border);
	background: #111111;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-map-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-bottom: 1px solid var(--glass-border);
	background: rgba(255, 255, 255, 0.03);
	flex-shrink: 0;
}

.modal-map-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text-primary);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.modal-map-close {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid var(--glass-border);
	color: var(--text-primary);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
	cursor: pointer;
	flex-shrink: 0;
}

.modal-map-close:hover {
	background: var(--accent-color);
	color: #fff;
	transform: rotate(90deg);
	border-color: transparent;
}

.modal-map-body {
	flex: 1;
	overflow: hidden;
	display: flex;
}

.yandex-map-modal-iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/* Smooth open/close animation */
#yandexMapModal.fade .modal-dialog {
	transition:
		transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.35s ease;
	transform: translateY(30px) scale(0.97);
	opacity: 0;
}
#yandexMapModal.show .modal-dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

/* Light theme overrides */
body.light-theme #yandexMapModal .modal-map-content {
	background: #ffffff;
	border-color: rgba(0, 0, 0, 0.1);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
body.light-theme .modal-map-header {
	background: rgba(0, 0, 0, 0.02);
	border-bottom-color: rgba(0, 0, 0, 0.1);
}
body.light-theme .modal-map-title {
	color: #111;
}
body.light-theme .modal-map-close {
	background: rgba(0, 0, 0, 0.06);
	border-color: rgba(0, 0, 0, 0.12);
	color: #111;
}
body.light-theme .modal-map-close:hover {
	background: var(--accent-color);
	color: #fff;
}
