/* Services Carousel */
.services-slider-wrap {
	padding: 80px 0 60px 0;
	background: var(--bg);
}
.services-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 24px;
}
.services-carousel {
	position: relative;
	margin: 0 auto 32px auto;
}
.services-track-container {
	overflow: hidden;
	cursor: grab;
	user-select: none;
}
.services-track-container:active {
	cursor: grabbing;
}
.services-track {
	display: flex;
	gap: 16px;
	transition: transform 1s cubic-bezier(0.77,0,0.175,1);
}
.service-card {
	flex: 0 0 calc(25% - 12px);
	text-decoration: none;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.service-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
}
.service-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.service-card:hover .service-img-wrap img {
	transform: scale(1.08);
}
.service-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 24px 16px;
	background: linear-gradient(180deg, rgba(35,32,31,0) 0%, rgba(35,32,31,0.85) 100%);
}
.service-overlay h3 {
	margin: 0;
	color: #fff;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.3;
}
.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.95);
	border: 1px solid var(--border);
	border-radius: 50%;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.2s ease;
	box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.carousel-btn:hover {
	background: #fff;
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
	transform: translateY(-50%) scale(1.05);
}
.carousel-prev {
	left: -24px;
}
.carousel-next {
	right: -24px;
}
.carousel-btn svg {
	color: var(--text);
}
.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}
.carousel-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d1d5db;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0;
}
.carousel-dot.active {
	background: var(--accent);
	width: 32px;
	border-radius: 5px;
}
.carousel-dot:hover {
	background: var(--accent);
	opacity: 0.7;
}

@media (max-width: 900px) {
	.service-card {
		flex: 0 0 calc(50% - 8px);
	}
	.carousel-prev {
		left: -16px;
	}
	.carousel-next {
		right: -16px;
	}
	.carousel-btn {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 600px) {
	.service-card {
		flex: 0 0 100%;
	}
	.services-container {
		padding: 0 16px;
	}
	.carousel-prev {
		left: -8px;
	}
	.carousel-next {
		right: -8px;
	}
	.carousel-btn {
		width: 36px;
		height: 36px;
	}
	.carousel-btn svg {
		width: 20px;
		height: 20px;
	}
	.service-overlay h3 {
		font-size: 1rem;
	}
}
.services-slider-item:hover {
	box-shadow: 0 8px 32px rgba(1,96,250,0.18);
	transform: translateY(-4px) scale(1.04);
}
@media (max-width: 900px) {
	.services-slider-item {
		min-width: 120px;
		max-width: 140px;
		padding: 12px 6px 10px 6px;
	}
	.services-slider-item img {
		width: 40px; height: 40px;
	}
}
@media (max-width: 600px) {
	.services-slider-track {
		gap: 18px;
	}
	.services-slider-item {
		min-width: 90px;
		max-width: 110px;
		padding: 8px 2px 6px 2px;
	}
	.services-slider-item img {
		width: 28px; height: 28px;
	}
}
/* Circular Services Carousel */
.services-circle-wrap {
	padding: 80px 0 60px 0;
	background: var(--bg);
}
.services-circle {
	position: relative;
	width: 340px;
	height: 340px;
	margin: 0 auto 32px auto;
	display: flex;
	align-items: center;
	justify-content: center;
}
.services-circle-center {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%,-50%);
	width: 90px; height: 90px;
	background: var(--panel);
	border-radius: 50%;
	box-shadow: var(--shadow);
	z-index: 1;
}
.services-circle-items {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%,-50%);
	width: 100%; height: 100%;
}
.services-circle-item {
	position: absolute;
	left: 50%; top: 50%;
	width: 80px;
	height: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(1,96,250,0.10);
	transition: box-shadow 0.18s, transform 0.18s;
	z-index: 2;
}
.services-circle-item img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 6px;
}
.services-circle-item span {
	font-size: 0.85rem;
	color: var(--text);
	text-align: center;
	font-weight: 500;
}
@media (max-width: 600px) {
	.services-circle {
		width: 220px; height: 220px;
	}
	.services-circle-center {
		width: 54px; height: 54px;
	}
	.services-circle-item {
		width: 48px; height: 48px;
	}
	.services-circle-item img {
		width: 28px; height: 28px;
	}
}

/* Services Section Styles */
.services-wrap {
	padding: 80px 0 60px 0;
	background: #f8fafc;
}
.title-services {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 38px;
	text-align: center;
	letter-spacing: 0.5px;
}
.services-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 36px;
	justify-items: center;
}
.services-item {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 4px 24px rgba(79,70,229,0.08);
	padding: 24px 18px 18px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: box-shadow 0.18s, transform 0.18s;
}
.services-item:hover {
	box-shadow: 0 8px 32px rgba(79,70,229,0.18);
	transform: translateY(-4px) scale(1.03);
}
.services-thumb {
	width: 120px;
	height: 120px;
	border-radius: 16px;
	object-fit: cover;
	box-shadow: 0 2px 12px rgba(0,0,0,0.10);
	margin-bottom: 18px;
	background: #eef2ff;
	display: block;
}
.services-title {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--text);
	text-align: center;
	margin: 0;
	margin-top: 6px;
	letter-spacing: 0.2px;
}
@media (max-width: 900px) {
	.services-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
	.services-wrap {
		padding: 48px 0 32px 0;
	}
}
@media (max-width: 600px) {
	.services-row {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.services-wrap {
		padding: 32px 0 18px 0;
	}
	.services-thumb {
		width: 100px;
		height: 100px;
	}
}
/* Solutions > Logistics: Fleet types selector */
.solution-types-wrap {
	padding: 60px 0 40px 0;
	background: var(--bg);
}
.solution-types-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(260px, 1fr));
	gap: 28px;
	align-items: stretch;
}
.solution-type-card {
	background: #fff;
	border: 1px solid var(--border, #e5e7eb);
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(0,0,0,0.08);
	padding: 14px 14px 18px 14px;
	display: flex;
	flex-direction: column;
	text-align: center;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	overflow: hidden;
}
.solution-type-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}
.solution-type-card.is-active {
	border-color: var(--accent, #4F46E5);
	box-shadow: 0 8px 26px rgba(79,70,229,0.20);
}
.solution-type-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
	border-radius: 12px;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}
.solution-type-thumb img {
	width: 105%;
	height: 105%;
	display: block;
	object-fit: contain;
	transition: transform 0.3s ease;
}
.solution-type-card:hover .solution-type-thumb img {
	transform: scale(1.06);
}
.solution-type-title {
	margin: 12px 0 0 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--text);
	word-break: break-word;
	hyphens: auto;
}
.content-text h3,
.content-text p,
.solution-panel h3,
.solution-panel p {
	word-break: break-word;
	hyphens: auto;
}
.solution-detail-wrap {
	margin-top: 28px;
}
.solution-panel {
	display: none;
}
.solution-panel.active {
	display: block;
}
.solution-panel h3 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 1.35rem;
	font-weight: 700;
}
.solution-panel ul {
	margin: 0;
	padding-left: 18px;
	line-height: 1.7;
}
.solution-panel p { margin: 0; }

/* Enhanced Content Block Styles */
.content-block {
	display: flex;
	gap: 40px;
	align-items: center;
	margin-bottom: 48px;
	padding: 16px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	transition: all 0.3s ease;
}
.content-block:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	transform: translateY(-4px);
}
.content-block:last-child {
	margin-bottom: 0;
}
.content-text {
	flex: 1;
	min-width: 300px;
    text-align: left; /* enforce RU-style left alignment across languages */
}
.content-text h3 {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 16px 0;
	line-height: 1.3;
}
.content-text p {
	font-size: 0.95rem; /* match category-card paragraph size */
	line-height: 1.5; /* tightened to match networking equipment text */
	color: #6b7280; /* same muted gray as category-card p */
	margin: 0 0 12px 0;
}
.content-text p:last-child {
	margin-bottom: 0;
}
.content-image {
	flex: 0 0 auto;
	max-width: 378px;
	width: 100%;
	min-height: 280px;
	display: flex;
	align-items: center;
    text-align: left; /* prevent inherited centering from parent sections */
}
.content-image img {
	width: 100%;
	height: auto;
	max-height: 280px;
	border-radius: 0;
	box-shadow: none;
	transition: transform 0.3s ease;
	object-fit: contain;
}
.content-block:hover .content-image img {
	transform: scale(1.02);
}
/* Alternate layout for variety */
.content-block.reverse {
	flex-direction: row-reverse;
}
/* Стандартные блоки (1 и 3) - без увеличения */
.content-block:not(.reverse) .content-image img {
	transform: scale(1.0);
}
.content-block:not(.reverse):hover .content-image img {
	transform: scale(1.02);
}
/* Увеличение изображения во втором блоке (видеомониторинг) на 10% */
.content-block.reverse .content-image img {
	transform: scale(1.1);
}
.content-block.reverse:hover .content-image img {
	transform: scale(1.12);
}
/* Уменьшение изображения в третьем блоке (тахограф) на 8% — только в панели грузовиков */
.solution-panel[data-panel="trucks"] .content-block:not(.reverse):nth-of-type(3) .content-image img {
	transform: scale(0.92);
}
.solution-panel[data-panel="trucks"] .content-block:not(.reverse):nth-of-type(3):hover .content-image img {
	transform: scale(0.94);
}
/* Уменьшение изображения для блока с датчиком топлива на 10% */
.content-block.fuel-sensor .content-image img {
	transform: scale(0.9);
}
.content-block.fuel-sensor:hover .content-image img {
	transform: scale(0.92);
}
/* Уменьшение изображения для блока с CAN-шиной на 10% */
.content-block.can-bus .content-image img {
	transform: scale(0.9);
}
.content-block.can-bus:hover .content-image img {
	transform: scale(0.92);
}
/* Uniform smaller media sizing for all industry pages */
.industry-page .content-image {max-width:320px; min-height:auto;}
.industry-page .content-image img {max-height:220px;}
/* Ensure solutions sections are left-aligned even if parent section is centered */
.solutions-content { text-align: left !important; }
.solutions-content .content-text { text-align: left !important; }
.solutions-content .content-image { text-align: left !important; }
/* Number badge for ordered content */
.content-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
	color: white;
	font-size: 1.5rem;
	font-weight: 700;
	border-radius: 12px;
	margin-bottom: 16px;
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

@media (max-width: 900px) {
	.content-block {
		flex-direction: column !important;
		gap: 24px;
		padding: 24px;
		margin-bottom: 32px;
	}
	.content-text { min-width: 0; width: 100%; }
	.content-image {
		max-width: 100%;
	}
	.content-text h3 {
		font-size: 1.2rem;
	}
	.solution-types-grid {
		grid-template-columns: repeat(2, minmax(220px, 1fr));
		gap: 20px;
	}
}
@media (max-width: 600px) {
	.solution-types-wrap { padding: 40px 0 24px 0; }
	.solution-types-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}
/* Modal Styles */
.modal-overlay {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0; top: 0; right: 0; bottom: 0;
	width: 100vw; height: 100vh;
	background: rgba(17, 24, 39, 0.45);
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.modal-overlay[style*="display: flex"] {
	display: flex !important;
}
.modal-window {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.18);
	padding: 36px 28px 28px 28px;
	max-width: 420px;
	width: 95vw;
	position: relative;
	animation: modalIn 0.18s cubic-bezier(.4,1.4,.6,1) 1;
}
@keyframes modalIn {
	from { opacity: 0; transform: translateY(40px) scale(0.98); }
	to { opacity: 1; transform: none; }
}
.modal-close {
	position: absolute;
	top: 16px; right: 16px;
	background: none;
	border: none;
	font-size: 2rem;
	color: #6b7280;
	cursor: pointer;
	border-radius: 6px;
	padding: 2px 8px;
	transition: background 0.15s;
}
.modal-close:hover, .modal-close:focus-visible {
	background: #f3f4f6;
	color: #111827;
	outline: 2px solid var(--ring);
}
.modal-window h2 {
	margin-top: 0;
	margin-bottom: 18px;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text);
}
.modal-window .form-row {
	margin-bottom: 16px;
}
.modal-window input,
.modal-window select,
.modal-window textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 7px;
	font-size: 1rem;
	margin-top: 2px;
	margin-bottom: 2px;
	background: #f9fafb;
	color: var(--text);
	transition: border 0.15s;
}
.modal-window input:focus,
.modal-window select:focus,
.modal-window textarea:focus {
	border-color: var(--accent);
	outline: 2px solid var(--ring);
}
.modal-window button[type="submit"] {
	width: 100%;
	padding: 12px 0;
	font-size: 1.1rem;
	font-weight: 600;
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(79,70,229,0.12);
	cursor: pointer;
	transition: background 0.18s;
}
.modal-window button[type="submit"]:hover {
	background: #3730a3;
}
/* Base styles */

:root {
	/* FleetVision logo color scheme */
	--bg: #f8f9fb;
	--panel: #ffffff;
	--text: #23201f; /* dark gray: rgb(35,31,32) */
	--muted: #6d6e71; /* neutral gray: rgb(109,110,113) */
	--accent: #0160fa; /* blue: rgb(1,96,250) */
	--accent2: #2c8cff; /* blue: rgb(44,140,255) */
	--ring: rgba(1,96,250,0.25);
	--border: #e5e7eb;
	--hover: #eaf2ff;
	--shadow: 0 4px 24px rgba(1,96,250,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(120%) blur(8px);
	border-bottom: 1px solid var(--border);
	transform: translateZ(0); /* reduce mobile flicker when scrolling */
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 16px;
}
.site-nav {
	margin-left: auto;
}
.login-btn {
	margin-left: 24px;
	order: 99;
	padding: 7px 16px;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0;
	color: #2563eb;
	background: #ffffff;
	border: 1.5px solid #3b82f6;
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15),
	            inset 0 1px 0 rgba(255, 255, 255, 0.8);
	position: relative;
	overflow: hidden;
}
.login-btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(59, 130, 246, 0.1);
	transform: translate(-50%, -50%);
	transition: width 0.5s ease, height 0.5s ease;
}
.login-btn:hover {
	color: #1d4ed8;
	background: #f8fafc;
	border-color: #2563eb;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25),
	            0 2px 8px rgba(59, 130, 246, 0.15),
	            inset 0 1px 0 rgba(255, 255, 255, 1);
}
.login-btn:hover::before {
	width: 300px;
	height: 300px;
}
.login-btn:focus-visible {
	outline: 3px solid rgba(59, 130, 246, 0.4);
	outline-offset: 2px;
}
.login-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}
@media (max-width: 820px) {
	.login-btn {
		font-size: 0.98rem;
		padding: 10px 18px;
		margin-left: 8px;
		margin-right: 0;
		border-radius: 10px;
		flex-shrink: 0;
	}
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--text);
	font-weight: 600;
}
.brand .logo {
	display: block;
	height: 40px; /* increase size */
	width: auto; /* keep proportions */
	max-height: 44px; /* safety cap relative to header */
}
.brand-text { font-size: 1.05rem; letter-spacing: 0.2px; }
.brand:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }

/* Hamburger toggle (mobile) */
.nav-toggle { display: none; }
.hamburger {
	margin-left: auto;
	width: 38px; height: 34px;
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 6px;
	border-radius: 8px;
	cursor: pointer;
	position: relative;
	z-index: 60;
	transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}
.hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: background 0.2s ease;
}
.hamburger:hover { background: var(--hover); }

/* Desktop nav */
.site-nav { margin-left: auto; }
.menu {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	align-items: center;
	gap: 18px;
}
.menu-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: var(--text);
	padding: 10px 10px;
	border-radius: 8px;
	font-weight: 500;
}
.menu-link:hover { background: var(--hover); }
.menu-link:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }

.dropdown { position: relative; }
.submenu {
	position: absolute;
	left: 0; top: 100%;
	width: 240px;
	padding: 12px 8px 8px 8px;
	margin: 0;
	list-style: none;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.submenu li a {
	display: block;
	padding: 10px 12px;
	color: var(--text);
	text-decoration: none;
	border-radius: 8px;
	font-size: 0.875rem;
}
.submenu li a:hover { background: var(--hover); }

/* Show dropdown on hover - instant open and close */
.dropdown:hover > .submenu {
	opacity: 1; visibility: visible; transform: translateY(0);
}

/* Keep submenu visible when hovering directly over it */
.submenu:hover {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Keep pointer events sane */
.dropdown { --safe-pad: 8px; }
.dropdown:hover > .submenu { pointer-events: auto; }

/* Mobile styles */
@media (max-width: 820px) {
	.site-header { background: #fff; backdrop-filter: none; }
	.hamburger { 
		display: inline-flex;
		width: 38px;
		height: 34px;
	}
	.nav-toggle:checked ~ .hamburger {
		width: 38px;
		height: 34px;
		background: #f3f4f6;
		box-shadow: 0 0 0 2px #e5e7eb;
	}
	.site-nav { width: 100%; order: 3; }
	.menu {
		position: absolute;
		left: 0; right: 0;
		top: 64px;
		background: var(--panel);
		border-top: 1px solid var(--border);
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		padding: 10px;
		transform-origin: top;
		transform: scaleY(0.98);
		opacity: 0; visibility: hidden;
		transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	}
	.menu > li { position: static; }
	.menu-link { padding: 12px 12px; }
	.submenu {
		position: static;
		box-shadow: none;
		border: 1px solid var(--border);
		margin: 4px 0 8px 0;
		opacity: 1; visibility: visible; transform: none;
	}
	/* Toggle open via checkbox */
	.nav-toggle:checked ~ .site-nav .menu {
		opacity: 1; visibility: visible; transform: scaleY(1);
	}
}

/* Mobile container adjustment */
@media (max-width: 768px) {
	.container {
		padding: 0 16px;
	}
}

/***** Language switcher *****/
.menu-item.lang { position: relative; }
.lang-button { cursor: pointer; user-select: none; }
.lang-button .lang-caret {
  width: 0; height: 0; margin-left: 4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text);
  transition: transform 0.18s ease;
}
/* align the dropdown under the switcher at right */
.menu-item.lang .lang-menu { left: auto; right: 0; min-width: 160px; }
.lang-menu a[aria-current="true"] { font-weight: 600; }

/* Hover-based open/close (like other dropdowns) */
.menu-item.lang:hover .lang-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.menu-item.lang:hover .lang-caret {
	transform: rotate(180deg);
}

/* Content demo */
.content { max-width: 1400px; margin: 40px auto; padding: 0 32px; }
.hero h1 { margin: 24px 0 8px; font-size: 2rem; }
.hero p { color: var(--muted); margin: 0; }

/* Shared subtitle style for intro paragraphs */
.subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0;
    max-width: 1200px;
}/* Responsive hero section with image */
.hero-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	padding: 32px 0;
}
.hero-text {
	flex: 1 1 320px;
	min-width: 220px;
}
.hero-text h1 {
	font-size: 2.1rem;
	font-weight: 600;
	margin-bottom: 18px;
	line-height: 1.2;
}
.hero-text p {
	font-size: 1.15rem;
	color: var(--muted);
	line-height: 1.5;
}
.hero-image {
	flex: 1 1 260px;
	min-width: 180px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.hero-image img {
	max-width: 1300px;
	width: 100%;
	height: auto;
	display: block;
}
@media (max-width: 900px) {
	.hero-flex {
		flex-direction: column;
		gap: 24px;
		padding: 24px 0;
	}
	.hero-image {
		width: 100%;
		min-width: 100%;
	}
	.hero-image img {
		width: 100%;
		max-width: 100%;
		height: auto;
		display: block;
	}
}

/* Kogemus (Experience) Section */
.kogemus {
	padding: 60px 0;
	background: #f9fafb;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
}
.kogemus-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}
.kogemus-card {
	text-align: center;
	padding: 20px 10px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	transition: transform .2s ease, box-shadow .2s ease;
}
.kogemus-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.kogemus-card-img {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	display: block;
}
.kogemus-card-title {
	font-size: 2rem;
	font-weight: 700;
	color: #ffffff;
	margin: 12px 0 8px;
	-webkit-text-stroke: 2px #1a1a2e;
	paint-order: stroke fill;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
	letter-spacing: 0.5px;
}
.kogemus-card p {
	font-size: 1rem;
	color: var(--muted);
	margin: 0;
	line-height: 1.4;
}

/* Responsive for kogemus section */
@media (max-width: 1100px) {
	.kogemus-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}
@media (max-width: 600px) {
	.kogemus {
		padding: 40px 0;
	}
	.kogemus .container {
		padding: 0 16px;
	}
	.kogemus-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		justify-items: center;
		margin: 0 auto;
	}
	.kogemus-card {
		padding: 16px 8px;
		width: 100%;
		max-width: 180px;
	}
	.kogemus-card-title {
		font-size: 1.6rem;
	}
}

/* About Section */
.about-wrap {
	padding: 80px 0;
	background: #fff;
}
.about-row {
	display: flex;
	align-items: center;
	gap: 60px;
}
.about-left {
	flex: 1 1 45%;
	min-width: 0;
}
.about-left img {
	width: 80%;
	max-width: 34800px;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.08);
	margin: 0 auto;
	display: block;
}
.about-right {
	flex: 1 1 55%;
	min-width: 0;
}
.title-wrap {
	margin-bottom: 24px;
}
.title {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text);
	margin: 0;
	line-height: 1.2;
}
.about-desc {
	margin-bottom: 32px;
}
.about-desc p {
	font-size: 1.1rem;
	color: var(--muted);
	line-height: 1.6;
	margin: 0 0 16px 0;
}
.about-desc p:last-child {
	margin-bottom: 0;
}
.button-wrap {
	margin-top: 32px;
}
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0;
	color: #2563eb;
	background: #ffffff;
	border: 1.5px solid #3b82f6;
	border-radius: 22px;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15),
	            inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}
.btn-primary::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(59, 130, 246, 0.1);
	transform: translate(-50%, -50%);
	transition: width 0.5s ease, height 0.5s ease;
}
.btn-primary:hover {
	color: #1d4ed8;
	background: #f8fafc;
	border-color: #2563eb;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25),
	            0 2px 8px rgba(59, 130, 246, 0.15),
	            inset 0 1px 0 rgba(255, 255, 255, 1);
}
.btn-primary:hover::before {
	width: 300px;
	height: 300px;
}
.btn-primary:focus-visible {
	outline: 3px solid rgba(59, 130, 246, 0.4);
	outline-offset: 2px;
}

/* Responsive for about section */
@media (max-width: 900px) {
	.about-wrap {
		padding: 60px 0;
	}
	.about-row {
		flex-direction: column;
		gap: 40px;
	}
	.title {
		font-size: 2rem;
	}
	.about-desc p {
		font-size: 1rem;
	}
}
@media (max-width: 600px) {
	.about-wrap {
		padding: 40px 0;
	}
	.about-left img {
		width: 100%;
		max-width: 100%;
	}
	.title {
		font-size: 1.75rem;
	}
	.btn-primary {
		width: 100%;
		text-align: center;
	}
}

/* We Offer You Section */
.we-offer-wrap {
	padding: 80px 0;
	background: var(--bg);
}
.we-offer-wrap .title-wrap {
	text-align: center;
	margin-bottom: 60px;
}
.offer-items {
	display: flex;
	flex-direction: column;
	gap: 60px;
	max-width: 1200px;
	margin: 0 auto;
}
.offer-item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3px;
	align-items: center;
}
.offer-item-reverse {
	direction: rtl;
}
.offer-item-reverse > * {
	direction: ltr;
}
.offer-image {
	width: 100%;
	height: 100%;
	overflow: visible;
}
.offer-image img {
	width: 72%;
	height: auto;
	object-fit: cover;
	display: block;
	margin: 0 auto 0 0;
	transition: transform 0.3s ease;
	border-radius: 16px;
}
.offer-item-reverse .offer-image img {
	margin: 0 0 0 auto;
}
.offer-image:hover img {
	transform: scale(1.05);
}
.offer-content {
	padding: 0;
}
.offer-content p {
	font-size: 1.15rem;
	line-height: 1.8;
	color: #64748b;
	margin: 0;
}

@media (max-width: 900px) {
	.offer-item,
	.offer-item-reverse {
		grid-template-columns: 1fr;
		gap: 30px;
		direction: ltr;
	}
	.offer-image img {
		width: 100%;
		margin: 0 auto;
	}
	.offer-content {
		padding: 10px;
	}
	.offer-content p {
		font-size: 1rem;
	}
}

@media (max-width: 600px) {
	.we-offer-wrap {
		padding: 60px 0;
	}
	.we-offer-wrap .title-wrap {
		margin-bottom: 40px;
	}
	.offer-items {
		gap: 40px;
	}
}

/* Efficiency Section */
.efficiency-wrap {
	padding: 80px 0;
	background: var(--bg);
}
.efficiency-wrap .title-wrap {
	text-align: center;
	margin-bottom: 60px;
}
.efficiency-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 4px;
}
.efficiency-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.efficiency-circle {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 0;
}
.efficiency-circle svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}
.efficiency-circle-bg {
	fill: none;
	stroke: #e5e7eb;
	stroke-width: 4;
}
.efficiency-circle-progress {
	fill: none;
	stroke: var(--accent);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 565.49; /* 2 * PI * 90 (radius) */
	stroke-dashoffset: 565.49;
	transition: stroke-dashoffset 2s ease-out;
}
.efficiency-circle-progress.animated {
	stroke-dashoffset: var(--target-offset);
}
.efficiency-number {
	position: absolute;
	top: 38%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.88rem;
	font-weight: 700;
	color: var(--text);
	line-height: 1;
}
.efficiency-label {
	position: absolute;
	top: 62%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.0rem;
	font-weight: 600;
	color: #6b7280;
	line-height: 1.3;
	text-align: center;
	width: 75%;
	max-width: 200px;
}
@media (max-width: 900px) {
	.efficiency-wrap {
		padding: 60px 0;
	}
	.efficiency-wrap .title-wrap {
		margin-bottom: 50px;
	}
	.efficiency-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 4px;
	}
	.efficiency-number {
		font-size: 2.52rem;
	}
	.efficiency-label {
		font-size: 0.9rem;
		max-width: 180px;
	}
}
@media (max-width: 600px) {
	.efficiency-wrap {
		padding: 40px 0;
	}
	.efficiency-wrap .title-wrap {
		margin-bottom: 40px;
	}
	.efficiency-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 4px;
		padding: 0 4px;
	}
	/* Tighter container padding on mobile for larger circles */
	.efficiency-wrap .container {
		padding: 0 8px;
	}
	.efficiency-number {
		font-size: 1.8rem;
	}
	.efficiency-label {
		font-size: 0.75rem;
		max-width: 140px;
	}
}
/* Reduce container side padding inside efficiency section to maximize circle size */
.efficiency-wrap .container {
	padding: 0 16px;
}

/* Footer */
.site-footer {
	position: relative;
	background: #1a1a1a;
	color: #fff;
	overflow: hidden;
}
.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.45) 100%);
	z-index: 2;
	pointer-events: none;
}
.footer-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.75;
	filter: brightness(0.93); /* darken by 7% */
	z-index: 1;
}
.footer-content {
	position: relative;
	z-index: 3; /* above overlay */
	max-width: 1400px;
	margin: 0 auto;
	padding: 42px 32px 22px; /* reduced ~30% vertically */
}
/* Footer legibility: subtle outline for white text */
.site-footer .footer-content p,
.site-footer .footer-content a,
.site-footer .footer-content li,
.site-footer .footer-bottom,
.site-footer .footer-tagline {
	text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 0 1px rgba(0,0,0,0.35);
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 34px; /* reduced ~30% overall spacing */
	margin-bottom: 34px; /* reduced ~30% */
}
.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.footer-logo {
	width: 180px;
	height: auto;
}
.footer-tagline {
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.8);
	max-width: 280px;
}
.footer-section h4 {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 20px 0;
	color: #fff;
	/* Slight stroke + shadow to keep headings readable on bright areas */
	-webkit-text-stroke: 0.4px rgba(0,0,0,0.35);
	paint-order: stroke fill;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 0 1px rgba(0,0,0,0.35);
}
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: rgba(255,255,255,0.85);
	font-size: 0.9rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s ease;
}
.footer-contact-item:hover {
	color: var(--accent);
}
.footer-contact-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 2px;
}
.footer-quick-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.footer-link {
	color: rgba(255,255,255,0.85);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s ease, padding-left 0.2s ease;
	display: inline-block;
}
.footer-link:hover {
	color: var(--accent);
	padding-left: 8px;
}
.footer-social {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.social-links {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}
.social-link:hover {
	background: var(--accent);
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.social-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
.footer-newsletter {
	margin-top: 20px;
}
.newsletter-form {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.newsletter-input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid rgba(255,255,255,0.2);
	background: rgba(255,255,255,0.1);
	color: #fff;
	border-radius: 8px;
	font-size: 0.9rem;
	backdrop-filter: blur(10px);
	transition: all 0.2s ease;
}
.newsletter-input::placeholder {
	color: rgba(255,255,255,0.5);
}
.newsletter-input:focus {
	outline: none;
	border-color: var(--accent);
	background: rgba(255,255,255,0.15);
}
.newsletter-btn {
	padding: 12px 24px;
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}
.newsletter-btn:hover {
	background: #d9821f;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(230,126,34,0.4);
}
.footer-divider {
	height: 1px;
	background: rgba(255,255,255,0.1);
	margin: 0 0 17px 0; /* reduced ~30% */
}
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.6);
}
.footer-copyright {
	display: flex;
	align-items: center;
	gap: 8px;
}
.footer-links-bottom {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.footer-links-bottom a {
	color: rgba(255,255,255,0.6);
	text-decoration: none;
	transition: color 0.2s ease;
}
.footer-links-bottom a:hover {
	color: var(--accent);
}
.back-to-top {
	position: fixed;
	bottom: 32px;
	right: 32px;
	width: 48px;
	height: 48px;
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 100;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.visible {
	opacity: 1;
	visibility: visible;
}
.back-to-top:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(230,126,34,0.4);
}
@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}
@media (max-width: 600px) {
	.footer-content {
		padding: 28px 16px 17px; /* reduced ~30% vertically */
	}
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 22px; /* reduced ~30% */
	}
	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
	.newsletter-form {
		flex-direction: column;
	}
	.back-to-top {
		bottom: 16px;
		right: 16px;
		width: 40px;
		height: 40px;
	}
}

/* Kogemus: reduce boxes by 5% */
.kogemus .container {
	transform: scale(0.95);
	transform-origin: top center;
}

/* Global navigation dropdown hover/focus behavior */
@media (min-width: 901px) {
	.menu-item.dropdown > .submenu { display: none; }
	.menu-item.dropdown:hover > .submenu,
	.menu-item.dropdown:focus-within > .submenu { display: block; }
}
/* Mobile: JS adds .open class */
.menu-item.dropdown.open > .submenu { display: block; }

/* Industry pages: match RU compact top spacing and hide page title */
.content section:has(.solution-types-grid) {
	padding-top: 13px !important;
	margin-top: 0 !important;
}
.content section:has(.solution-types-grid) h1 {
	display: none !important;
}
/* Hide inline spacer divs often used above grids */
.content section:has(.solution-types-grid) > div[style*="height"] {
	display: none !important;
}
