/**
 * GIREMRUS — Homepage (mockup pixel-perfect desktop)
 */

.giremrus-home-enterprise {
	--girem-home-brand: #4933d1;
	--girem-home-brand-rgb: 73, 51, 209;
	--girem-home-dark: #000000;
	--girem-home-dark-2: #111520;
	--girem-home-dark-3: #161b26;
	--girem-home-text: #1f2937;
	--girem-home-muted: #6b7280;
	--girem-home-border: #e5e7eb;
	--girem-home-alt: #f8fafc;
	--girem-home-btn-gradient: linear-gradient(90deg, #3b27b8 0%, #4933d1 50%, #5b3df5 100%);
	--girem-home-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--girem-home-shell: 1320px;
	--girem-home-eyebrow: #4933d1;
	font-family: var(--girem-home-font);
	color: var(--girem-home-text);
	background: #fff;
}

.giremrus-home-enterprise .giremrus-code-page-wrap {
	background: #000;
}

.giremrus-home-enterprise .main-page-wrapper,
.giremrus-home-enterprise .website-wrapper {
	background: #fff;
}

/* Header layout fallback (if header-code.css fails to load) */
.giremrus-home-enterprise .girem-code-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
}

@media (min-width: 1024px) {
	.giremrus-home-enterprise .girem-code-header__nav,
	.giremrus-home-enterprise .girem-code-header__actions {
		display: flex;
	}

	.giremrus-home-enterprise .girem-code-header__burger {
		display: none;
	}
}

.girem-home { box-sizing: border-box; }
.girem-home *, .girem-home *::before, .girem-home *::after { box-sizing: border-box; }

.girem-home__shell {
	width: min(var(--girem-home-shell), calc(100% - 40px));
	margin-inline: auto;
}

.girem-home__shell--wide {
	width: min(1320px, calc(100% - 40px));
}

.girem-home__section { padding-block: 80px; }

.girem-home__section--directions {
	background: #fff;
	padding-block: 80px;
	margin-top: 0;
}

/* Eyebrow */
.girem-home__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--girem-home-eyebrow);
}

.girem-home__eyebrow-num {
	display: inline;
	min-width: auto;
	height: auto;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--girem-home-eyebrow);
	font-size: 11px;
	font-weight: 700;
}

.girem-home__eyebrow-label {
	color: var(--girem-home-eyebrow);
}

.girem-home__h2--light {
	color: #fff;
}

.girem-home__section--supply .girem-home__supply-intro .girem-home__h2,
.girem-home__section--process .girem-home__h2 {
	color: #fff;
}

.girem-home__section--supply {
	background: var(--girem-home-dark);
	padding-block: 96px 112px;
}

.girem-home__supply-layout {
	display: grid;
	grid-template-columns: minmax(260px, 30%) minmax(0, 1fr);
	gap: 32px 40px;
	align-items: start;
}

.girem-home__supply-intro .girem-home__h2 {
	margin-bottom: 14px;
	font-size: clamp(30px, 2.8vw, 38px);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.girem-home__supply-lead {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.62);
	max-width: 300px;
}

.girem-home__supply-intro .girem-home__btn--primary {
	min-height: 44px;
	padding: 0 20px;
	font-size: 13px;
	border-radius: 8px;
	box-shadow: none;
}

.girem-home__btn--arrow span {
	margin-left: 6px;
}

.girem-home__supply-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	min-width: 0;
}

@media (min-width: 1200px) {
	.girem-home__supply-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.girem-home__supply-card {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 0;
	min-height: 160px;
	border-radius: 16px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.girem-home__supply-card:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}

.girem-home__supply-card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	padding: 8px;
	border-right: 1px solid #e5e7eb;
	overflow: hidden;
}

.girem-home__supply-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.girem-home__supply-card-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 14px 14px 12px 14px;
	min-height: 148px;
	min-width: 0;
	overflow: hidden;
}

.girem-home__supply-card-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--girem-home-text);
	word-break: break-word;
	hyphens: auto;
	overflow-wrap: break-word;
}

.girem-home__supply-card-desc {
	font-size: 12px;
	line-height: 1.5;
	color: #6b7280;
	flex: 1;
}

.girem-home__supply-card-more {
	margin-top: auto;
	font-size: 12px;
	font-weight: 600;
	color: var(--girem-home-brand);
}

/* Section 05 — Applications */
.girem-home__section--applications {
	background: var(--girem-home-alt);
	padding-block: 96px 112px;
}

.girem-home__section--applications .girem-home__h2 {
	margin-bottom: 28px;
	font-size: clamp(30px, 2.8vw, 38px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--girem-home-text);
}

.girem-home__applications-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.girem-home__application-card {
	position: relative;
	min-height: 380px;
	border-radius: 16px;
	overflow: hidden;
	background-color: #1e293b;
	background-image: var(--girem-application-bg, linear-gradient(165deg, #334155 0%, #0f172a 55%, #020617 100%));
	background-size: cover;
	background-position: center;
}

.girem-home__application-card--zhkh:not([style*="--girem-application-bg"]) {
	background-image: linear-gradient(165deg, #475569 0%, #1e293b 100%);
}

.girem-home__application-card--energy:not([style*="--girem-application-bg"]) {
	background-image: linear-gradient(165deg, #3b4f6b 0%, #111827 100%);
}

.girem-home__application-card--oilgas:not([style*="--girem-application-bg"]) {
	background-image: linear-gradient(165deg, #4a5568 0%, #1a202c 100%);
}

.girem-home__application-card--food:not([style*="--girem-application-bg"]) {
	background-image: linear-gradient(165deg, #52525b 0%, #18181b 100%);
}

.girem-home__application-card--manufacturing:not([style*="--girem-application-bg"]) {
	background-image: linear-gradient(165deg, #374151 0%, #111827 100%);
}

.girem-home__application-card--water:not([style*="--girem-application-bg"]) {
	background-image: linear-gradient(165deg, #334155 0%, #0c4a6e 100%);
}

.girem-home__application-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 12, 20, 0.05) 35%, rgba(8, 12, 20, 0.55) 70%, rgba(8, 12, 20, 0.88) 100%);
}

.girem-home__application-card-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	min-height: 380px;
	padding: 0 16px 22px;
	color: #fff;
}

.girem-home__application-icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 28px;
	height: 28px;
	margin-bottom: 10px;
	color: #fff;
	opacity: 0.95;
}

.girem-home__application-icon svg {
	width: 22px;
	height: 22px;
}

.girem-home__application-title {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.girem-home__application-desc {
	margin: 0;
	font-size: 11px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
}

/* Section 06 — Process */
.girem-home__section--process {
	background: var(--girem-home-dark);
	padding-block: 96px 112px;
}

.girem-home__section--process .girem-home__h2 {
	margin-bottom: 40px;
	font-size: clamp(30px, 2.8vw, 38px);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.girem-home__process {
	position: relative;
	padding-top: 4px;
}

.girem-home__process-track {
	position: absolute;
	top: 17px;
	left: 10%;
	right: 10%;
	height: 0;
	border-top: 1px dashed rgba(91, 86, 241, 0.45);
	background: none;
}

.girem-home__process-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.girem-home__process-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0;
}

.girem-home__process-num {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 28px;
	border-radius: 50%;
	background: var(--girem-home-brand);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 0 0 4px var(--girem-home-dark);
}

.girem-home__process-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 14px;
	color: var(--girem-home-brand);
}

.girem-home__process-icon svg {
	width: 40px;
	height: 40px;
}

.girem-home__process-title {
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.girem-home__process-desc {
	font-size: 11px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.55);
	max-width: 170px;
}

.girem-home__h1 {
	margin: 0 0 20px;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
}

.girem-home__h1-sub {
	display: block;
	margin-top: 4px;
}

.girem-home__h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--girem-home-text);
}

.girem-home__h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--girem-home-text);
}

.girem-home__body {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--girem-home-muted);
}

.girem-home__small {
	font-size: 13px;
	line-height: 1.5;
	color: var(--girem-home-muted);
}

.girem-home__caption {
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--girem-home-muted);
}

/* Homepage — dark header integrated with hero (mockup) */
.giremrus-home-enterprise .girem-block-header__bar {
	background: #000;
	border-bottom: none;
}

.giremrus-home-enterprise .girem-block-header.is-scrolled .girem-block-header__bar {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.giremrus-home-enterprise .girem-block-header__nav-link {
	color: #f3f4f6;
}

.giremrus-home-enterprise .girem-block-header__nav-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.giremrus-home-enterprise .girem-block-header__nav-link--catalog {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.14);
}

.giremrus-home-enterprise .girem-block-header__nav-link--catalog:hover {
	background: rgba(255, 255, 255, 0.12);
}

.giremrus-home-enterprise .girem-block-header__phone {
	color: #fff;
}

.giremrus-home-enterprise .girem-block-header__hours {
	color: #9ca3af;
}

.giremrus-home-enterprise .girem-block-header__cta {
	background: linear-gradient(180deg, #4933d1 0%, #3b27b8 100%);
	box-shadow: 0 8px 24px rgba(73, 51, 209, 0.35);
}

.giremrus-home-enterprise .girem-block-header__cta:hover {
	background: linear-gradient(180deg, #3b27b8 0%, #2d20a8 100%);
}

.giremrus-home-enterprise .girem-block-header__burger {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.04);
}

.giremrus-home-enterprise .girem-block-header__burger span {
	background: #fff;
}

.giremrus-home-enterprise .giremrus-code-page-wrap {
	background: #000;
}

.giremrus-home-enterprise .girem-home__hero {
	margin-top: -1px;
	padding: 8px 0 52px;
}

/* Hero — mockup layout */
.girem-home__hero {
	position: relative;
	background: #000;
	padding: 20px 0 56px;
	overflow: hidden;
}

.girem-home__hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 68% 90% at 82% 46%, rgba(37, 99, 235, 0.5) 0%, rgba(59, 130, 246, 0.22) 38%, transparent 68%),
		radial-gradient(ellipse 36% 55% at 72% 58%, rgba(96, 165, 250, 0.28) 0%, transparent 70%),
		#000;
}

.girem-home__hero-inner {
	position: relative;
	z-index: 1;
	width: min(1320px, calc(100% - 48px));
	margin-inline: auto;
	overflow: visible;
}

.girem-home__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 700px) minmax(0, 1fr);
	gap: 0;
	align-items: center;
	min-height: 440px;
}

.girem-home__hero-content {
	position: relative;
	z-index: 2;
	max-width: 660px;
	padding-right: 24px;
}

.girem-home__hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 14px;
	padding: 6px 14px;
	border: 1px solid var(--girem-color-brand-border);
	border-radius: 999px;
	background: var(--girem-color-brand-soft);
	color: #cfd6ff;
	font-size: 13px;
	font-weight: 600;
}

.girem-home__hero .girem-home__h1 {
	margin: 0 0 16px;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: #fff;
	text-wrap: balance;
}

.girem-home__h1-line {
	display: block;
}

.girem-home__h1-line--accent {
	color: var(--girem-color-brand);
}

.girem-home__h1-line + .girem-home__h1-line {
	margin-top: 2px;
}

.girem-home__hero-lead {
	margin-bottom: 20px;
	max-width: 560px;
}

.girem-home__hero-lead p {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: #c8cdd7;
}

.girem-home__hero-lead p:last-child {
	margin-bottom: 0;
}

.girem-home__hero-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	max-width: 420px;
	margin-top: 4px;
}

.girem-home__hero .girem-home__btn--hero-primary {
	min-height: 54px;
	padding: 0 22px;
	font-size: 15px;
	font-weight: 600;
	background: linear-gradient(180deg, #5b3df5 0%, #4933d1 52%, #3b27b8 100%);
	border: none;
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba(73, 51, 209, 0.38), 0 2px 6px rgba(73, 51, 209, 0.22);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.girem-home__hero .girem-home__btn--hero-primary:hover {
	background: linear-gradient(90deg, #3b27b8 0%, #4933d1 48%, #5b3df5 100%);
	box-shadow: 0 14px 36px rgba(73, 51, 209, 0.45), 0 4px 12px rgba(73, 51, 209, 0.3);
	transform: translateY(-2px);
	color: #fff;
}

.girem-home__hero .girem-home__btn--ghost {
	min-height: 56px;
	padding: 0 24px;
	font-size: 15px;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
	transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.girem-home__hero .girem-home__btn--ghost:hover {
	border-color: rgba(255, 255, 255, 0.62);
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-1px);
	color: #fff;
}

.girem-home__hero-visual {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 520px;
	margin-right: 0;
	overflow: visible;
}

/* Gradient fade on left edge — blends visual into dark hero background */
.girem-home__hero-visual::after {
	content: "";
	position: absolute;
	top: 0;
	left: -1px;
	bottom: 0;
	width: 120px;
	background: linear-gradient(to right, #000 0%, transparent 100%);
	z-index: 2;
	pointer-events: none;
}

.girem-home__hero-visual::before {
	content: "";
	position: absolute;
	top: 50%;
	right: -5%;
	width: 100%;
	height: 100%;
	transform: translateY(-50%);
	background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.5) 0%, rgba(37, 99, 235, 0.18) 42%, transparent 70%);
	filter: blur(26px);
	pointer-events: none;
	z-index: 0;
}

.girem-home__hero-visual img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: clamp(420px, 38vw, 560px);
	max-width: none;
	object-fit: cover;
	object-position: center center;
	border-radius: 16px;
	filter: drop-shadow(0 24px 48px rgba(37, 99, 235, 0.32));
}

@media (min-width: 1280px) {
	.girem-home__hero-visual {
		margin-right: 0;
	}

	.girem-home__hero-visual img {
		height: clamp(480px, 36vw, 600px);
	}
}

.girem-home__hero-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 44px 0 0;
	padding: 24px 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.girem-home__hero-trust li {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 0 32px;
	font-size: 14px;
	line-height: 1.35;
	color: #e5e7eb;
	text-align: left;
}

.girem-home__hero-trust li:first-child {
	padding-left: 0;
}

.girem-home__hero-trust li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 1px;
	height: 32px;
	background: rgba(255, 255, 255, 0.16);
	transform: translateY(-50%);
}

.girem-home__hero-trust-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	color: #7c6cf0;
	box-shadow: none;
}

.girem-home__hero-trust-icon svg {
	width: 22px;
	height: 22px;
}

.girem-home__hero-trust-label {
	display: block;
	max-width: 11em;
}

/* Buttons */
.girem-home__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.girem-home__btn--primary {
	background: var(--girem-home-brand);
	color: #fff;
	border-color: var(--girem-home-brand);
	box-shadow: 0 4px 14px rgba(88, 80, 236, 0.35);
}

.girem-home__btn--primary:hover {
	background: #4338ca;
	border-color: #4338ca;
	color: #fff;
}

.girem-home__btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.38);
	min-height: 50px;
	padding: 0 22px;
}

.girem-home__btn--ghost:hover {
	border-color: rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
}

/* Directions — «Основные направления» */
.girem-home__section-head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 44px;
}

.girem-home__section--directions .girem-home__h2 {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: #1a1c1e;
}

.girem-home__catalog-link {
	font-size: 14px;
	font-weight: 600;
	color: #4933d1;
	text-decoration: none;
	white-space: nowrap;
}

.girem-home__catalog-link:hover {
	text-decoration: underline;
}

.girem-home__grid--directions {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
}

.girem-home__card--direction {
	display: flex;
	flex-direction: column;
	min-height: 0;
	border: 1px solid #eceef2;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: box-shadow 0.15s ease;
}

.girem-home__card--direction:hover {
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.girem-home__card--direction .girem-home__card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	height: 172px;
	padding: 20px 16px 12px;
	background: #fff;
	aspect-ratio: auto;
	overflow: visible;
}

.girem-home__card--direction .girem-home__card-media img {
	display: block;
	width: auto;
	max-width: 92%;
	height: auto;
	max-height: 118px;
	margin: 0;
	padding: 0;
	object-fit: contain;
	object-position: center center;
}

.girem-home__card--direction .girem-home__card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
	padding: 4px 20px 22px;
	text-align: left;
}

.girem-home__card--direction .girem-home__card-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: #1a1c1e;
}

.girem-home__card--direction .girem-home__card-desc {
	font-size: 13px;
	line-height: 1.55;
	color: #6b7280;
}

.girem-home__card--direction .girem-home__card-more {
	margin-top: auto;
	padding-top: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #4933d1;
}

/* Directions — isolate media from generic .girem-home__card rules (all viewports) */
.girem-home__section--directions .girem-home__card--direction .girem-home__card-media {
	aspect-ratio: auto;
}

.girem-home__section--directions .girem-home__card--direction .girem-home__card-media img {
	width: auto;
	height: auto;
	max-width: 92%;
	padding: 0;
}

.girem-home__grid {
	display: grid;
	gap: 16px;
}

.girem-home__grid--directions {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.girem-home__card:not(.girem-home__card--direction) {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--girem-home-border);
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.girem-home__card:not(.girem-home__card--direction):hover {
	border-color: rgba(var(--girem-home-brand-rgb), 0.35);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.girem-home__card:not(.girem-home__card--direction) .girem-home__card-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f6f7fa;
	overflow: hidden;
}

.girem-home__card:not(.girem-home__card--direction) .girem-home__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px 12px;
}

.girem-home__card:not(.girem-home__card--direction) .girem-home__card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 18px;
	flex: 1;
}

.girem-home__card:not(.girem-home__card--direction) .girem-home__card-more {
	margin-top: auto;
	padding-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--girem-home-brand);
}

/* Why bar */
.girem-home__why-bar {
	background: var(--girem-home-alt);
	padding: 0 0 80px;
}

.girem-home__why-bar-inner {
	display: grid;
	grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)) 1.15fr;
	gap: 0;
	align-items: stretch;
	background: var(--girem-home-dark-3);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	overflow: hidden;
}

.girem-home__why-bar-intro,
.girem-home__why-bar-stat,
.girem-home__why-bar-brands {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 18px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
}

.girem-home__why-bar-brands { border-right: 0; }

.girem-home__why-bar-intro {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
}

.girem-home__why-bar-icon,
.girem-home__why-bar-stat-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--girem-home-brand);
}

.girem-home__why-bar-icon svg,
.girem-home__why-bar-stat-icon svg {
	width: 22px;
	height: 22px;
}

.girem-home__why-bar-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.girem-home__why-bar-lead {
	margin: 0;
	font-size: 11px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.62);
}

.girem-home__why-bar-stat-value {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.girem-home__why-bar-stat-value--text {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.girem-home__why-bar-stat-label {
	font-size: 11px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.62);
}

/* Brief */
.girem-home__section--brief {
	background: var(--girem-home-alt);
	padding-block: 56px;
}

.girem-home__section-head {
	max-width: 640px;
	margin: 0 auto 32px;
	text-align: center;
}

.girem-home__brief-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 24px;
	align-items: start;
}

.girem-home__brief-aside {
	padding: 28px;
	border: 1px solid var(--girem-home-border);
	border-radius: 10px;
	background: #fff;
}

.girem-home__brief-aside .girem-home__h3 {
	margin-bottom: 16px;
	font-size: 17px;
}

.girem-home__brief-benefits {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.girem-home__brief-benefits li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.5;
	color: var(--girem-home-text);
}

.girem-home__why-mark {
	flex-shrink: 0;
	color: var(--girem-home-brand);
	font-weight: 700;
}

.girem-home__section--brief .girem-b2b-demo__demo-form--enterprise-home {
	background: #fff;
	border: 1px solid var(--girem-home-border);
	border-radius: 10px;
	padding: 32px;
}

.girem-home__section--brief .girem-b2b-demo__demo-form-head { display: none; }

.girem-home__section--brief .girem-b2b-demo__demo-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.girem-home__section--brief .girem-b2b-demo__demo-form-wide { grid-column: 1 / -1; }

.girem-home__section--brief label span {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
}

.girem-home__section--brief input[type="text"],
.girem-home__section--brief input[type="tel"],
.girem-home__section--brief input[type="email"],
.girem-home__section--brief textarea {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--girem-home-border);
	border-radius: 8px;
	font-family: inherit;
	font-size: 15px;
	background: #fff;
}

.girem-home__section--brief textarea {
	min-height: 100px;
	padding: 12px 14px;
	resize: vertical;
}

.girem-home__section--brief .girem-b2b-demo__button--submit {
	width: 100%;
	min-height: 48px;
	margin-top: 16px;
	border: none;
	border-radius: 8px;
	background: var(--girem-home-brand);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.girem-home__section--brief .girem-b2b-demo__form-disclaimer {
	margin-top: 12px;
	font-size: 12px;
	color: var(--girem-home-muted);
	text-align: center;
}

/* Footer */
.girem-home-footer {
	padding: 56px 0 0;
	background: var(--girem-home-dark);
	color: rgba(255, 255, 255, 0.75);
}

.girem-home-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)) 0.95fr;
	gap: 32px 24px;
	padding-bottom: 32px;
}

.girem-home-footer__logo img {
	display: block;
	height: 52px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}

.girem-home-footer__tagline {
	margin: 14px 0 16px;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.55);
	max-width: 260px;
}

.girem-home-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.girem-home-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.girem-home-footer__social-link svg {
	width: 16px;
	height: 16px;
}

.girem-home-footer__social-link:hover {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
}

.girem-home-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.girem-home-footer__credit {
	margin: 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
}

.girem-home-footer__copy--bar {
	margin: 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
}

.girem-home-footer__title {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.girem-home-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.girem-home-footer__list a,
.girem-home-footer__list span {
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
}

.girem-home-footer__list a:hover {
	color: #fff;
}

.girem-home-footer__cta {
	width: 100%;
	margin-top: 16px;
	min-height: 42px !important;
	font-size: 13px !important;
	padding: 0 16px !important;
}

.girem-home-footer__company-name {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}

.girem-home-footer__requisite {
	margin: 0 0 6px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.girem-home-footer__requisite a {
	color: inherit;
	text-decoration: none;
}

.girem-home-footer__legal-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.girem-home-footer__legal-list a {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
}

.girem-home-footer__legal-list a:hover {
	color: #fff;
}

.girem-home-footer__copy {
	margin: 16px 0 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
	.girem-home__grid--directions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.girem-home__applications-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.girem-home__process-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px 20px;
	}

	.girem-home__process-track {
		display: none;
	}

	.girem-home-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.girem-home__why-bar-inner {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.girem-home__why-bar-intro {
		grid-column: 1 / -1;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.girem-home__why-bar-brands {
		grid-column: 1 / -1;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
}

@media (max-width: 1100px) and (min-width: 901px) {
	.girem-home__hero-grid {
		grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
	}

	.girem-home__hero-content {
		max-width: 460px;
	}

	.girem-home__hero .girem-home__h1 {
		font-size: 48px;
	}
}

@media (max-width: 900px) {
	.girem-home__hero {
		padding: 56px 0 48px;
	}

	.girem-home__hero-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.girem-home__hero-visual {
		order: 1;
		justify-content: center;
		min-height: 220px;
		max-height: 300px;
		overflow: hidden;
		border-radius: 14px;
		margin-right: 0;
	}

	.girem-home__hero-visual::before {
		right: 50%;
		width: 90%;
		transform: translate(50%, -50%);
	}

	.girem-home__hero-visual img {
		width: 100%;
		height: 100%;
		min-width: 0;
		max-width: 100%;
		margin-right: 0;
		object-fit: cover;
		object-position: center top;
	}

	.girem-home__hero .girem-home__h1 {
		font-size: 40px;
	}

	.girem-home__hero-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 0;
		margin-top: 32px;
		padding-top: 24px;
	}

	.girem-home__hero-trust li {
		padding: 0 16px;
	}

	.girem-home__hero-trust li:nth-child(odd):not(:last-child)::after {
		display: block;
	}

	.girem-home__hero-trust li:nth-child(2n)::after,
	.girem-home__hero-trust li:last-child::after {
		display: none;
	}

	.girem-home__section--directions,
	.girem-home__section--applications,
	.girem-home__section--process {
		padding-block: 64px;
	}

	.girem-home__grid--directions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.girem-home__applications-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.girem-home__process-steps {
		grid-template-columns: 1fr 1fr;
	}

	.girem-home__brief-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.girem-home__grid--directions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.girem-home-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.girem-home__why-bar-inner {
		grid-template-columns: 1fr 1fr;
	}

	.girem-home__section--brief .girem-b2b-demo__demo-form-grid {
		grid-template-columns: 1fr;
	}

	.girem-home__hero-trust {
		grid-template-columns: 1fr;
	}

	.girem-home__hero-trust li::after {
		display: none !important;
	}
}

@media (max-width: 640px) {
	.girem-home__hero-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.girem-home__section--directions .girem-home__grid--directions,
	.girem-home__applications-grid,
	.girem-home__process-steps,
	.girem-home-footer__grid,
	.girem-home__why-bar-inner {
		grid-template-columns: 1fr;
	}

	.girem-home__application-card,
	.girem-home__application-card-inner {
		min-height: 260px;
	}

	.girem-home__section-head-row {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ------------------------------------------------------------------
   Directions — pixel-perfect overrides (mockup ref, CSS only)
   Scope: .girem-home__section--directions only
   ------------------------------------------------------------------ */
@media (min-width: 1201px) {
	.girem-home__section--directions .girem-home__shell {
		width: min(1320px, calc(100% - 48px));
	}

	.girem-home__section--directions .girem-home__section-head-row {
		align-items: baseline;
		margin-bottom: 40px;
	}

	.girem-home__section--directions .girem-home__h2 {
		margin: 0;
		font-size: 32px;
		font-weight: 700;
		line-height: 1.15;
		letter-spacing: -0.025em;
		color: #111827;
	}

	.girem-home__section--directions .girem-home__catalog-link {
		font-size: 14px;
		font-weight: 600;
		line-height: 1.4;
		color: #4b44f2;
	}

	.girem-home__section--directions .girem-home__grid--directions {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 16px;
	}

	.girem-home__section--directions .girem-home__card.girem-home__card--direction {
		display: flex;
		flex-direction: column;
		height: 328px;
		min-height: 328px;
		max-height: 328px;
		border: none;
		border-radius: 10px;
		background: #f3f4f6;
		box-shadow: none;
		overflow: hidden;
		transition: box-shadow 0.15s ease;
	}

	.girem-home__section--directions .girem-home__card.girem-home__card--direction:hover {
		border-color: transparent;
		box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
		transform: none;
	}

	.girem-home__section--directions .girem-home__card--direction .girem-home__card-media {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 156px;
		height: 156px;
		min-height: 156px;
		max-height: 156px;
		padding: 18px 14px 10px;
		background: #f3f4f6;
		aspect-ratio: auto;
		overflow: visible;
	}

	.girem-home__section--directions .girem-home__card--direction .girem-home__card-media img {
		display: block;
		width: auto;
		max-width: 100%;
		height: auto;
		max-height: 118px;
		margin: 0;
		padding: 0;
		object-fit: contain;
		object-position: center center;
	}

	.girem-home__section--directions .girem-home__card--direction .girem-home__card-body {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		gap: 6px;
		padding: 0 18px 18px;
		text-align: left;
	}

	.girem-home__section--directions .girem-home__card--direction .girem-home__card-title {
		font-size: 14px;
		font-weight: 700;
		line-height: 1.35;
		color: #111827;
	}

	.girem-home__section--directions .girem-home__card--direction .girem-home__card-desc {
		font-size: 12px;
		font-weight: 400;
		line-height: 1.5;
		color: #6b7280;
	}

	.girem-home__section--directions .girem-home__card--direction .girem-home__card-more {
		margin-top: auto;
		padding-top: 8px;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.4;
		color: #4b44f2;
	}
}

/* ------------------------------------------------------------------
   Why Features — "Почему предприятия выбирают ГИРЭМ" — dark section
   ------------------------------------------------------------------ */
.girem-home__section--why-features {
	background: #0d1117;
	padding-block: 0;
	overflow: visible;
}

.girem-home__why-features-outer {
	overflow: hidden;
}

/* Dark-mode text overrides */
.girem-home__section--why-features .girem-home__why-features-intro .girem-home__h2 {
	color: #fff;
}

.girem-home__section--why-features .girem-home__why-features-lead {
	color: rgba(255, 255, 255, 0.68);
}

.girem-home__section--why-features .girem-home__btn--primary {
	background: var(--girem-home-brand);
	color: #fff;
}

/* Feature cards on dark background */
.girem-home__section--why-features .girem-home__why-feature-item {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.10);
}

.girem-home__section--why-features .girem-home__why-feature-item:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(73, 51, 209, 0.5);
	box-shadow: 0 4px 16px rgba(73, 51, 209, 0.15);
}

.girem-home__section--why-features .girem-home__why-feature-title {
	color: #fff;
}

.girem-home__section--why-features .girem-home__why-feature-desc {
	color: rgba(255, 255, 255, 0.62);
}

.girem-home__why-features-outer {
	position: relative;
	padding-block: 96px 112px;
}

/* Decorative photo — pinned to right edge */
.girem-home__why-features-photo {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 380px;
	pointer-events: none;
	overflow: hidden;
}

.girem-home__why-features-photo::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 120px;
	background: linear-gradient(to right, #0d1117 0%, transparent 100%);
	z-index: 1;
	pointer-events: none;
}

.girem-home__why-features-photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	opacity: 0.92;
}

@media (min-width: 1280px) {
	.girem-home__why-features-photo {
		display: block;
		width: 420px;
	}
	.girem-home__why-features-outer {
		padding-right: 440px;
	}
}

.girem-home__why-features-layout {
	display: grid;
	grid-template-columns: minmax(260px, 28%) minmax(0, 1fr);
	gap: 40px 56px;
	align-items: center;
}

.girem-home__why-features-intro .girem-home__h2 {
	margin-bottom: 16px;
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.girem-home__why-features-lead {
	margin-bottom: 28px !important;
	font-size: 15px;
	line-height: 1.65;
	color: var(--girem-home-muted);
}

.girem-home__why-features-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.girem-home__why-feature-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 16px 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--girem-home-border);
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.girem-home__why-feature-item:hover {
	border-color: rgba(73, 51, 209, 0.3);
	box-shadow: 0 4px 16px rgba(73, 51, 209, 0.08);
}

.girem-home__why-feature-icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 32px;
	height: 32px;
	margin-bottom: 4px;
	color: var(--girem-home-brand);
}

.girem-home__why-feature-icon svg {
	width: 24px;
	height: 24px;
}

.girem-home__why-feature-title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--girem-home-text);
}

.girem-home__why-feature-desc {
	font-size: 12px;
	line-height: 1.55;
	color: var(--girem-home-muted);
}

/* ------------------------------------------------------------------
   Partner Features — "Надёжный партнёр для вашего бизнеса"
   ------------------------------------------------------------------ */
.girem-home__section--partner {
	background: var(--girem-home-dark-3);
	padding-block: 80px;
}

.girem-home__partner-title {
	margin-bottom: 40px;
	font-size: clamp(28px, 2.6vw, 36px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff;
}

.girem-home__partner-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}

.girem-home__partner-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 28px 24px;
	background: rgba(255, 255, 255, 0.03);
	transition: background 0.15s ease;
}

.girem-home__partner-card:hover {
	background: rgba(255, 255, 255, 0.06);
}

.girem-home__partner-card-icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
	color: var(--girem-home-brand);
}

.girem-home__partner-card-icon svg {
	width: 24px;
	height: 24px;
}

.girem-home__partner-card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.girem-home__partner-card-desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.62);
}

/* ------------------------------------------------------------------
   Brands section — carousel
   ------------------------------------------------------------------ */
.girem-home__section--brands {
	background: var(--girem-home-alt);
	padding-block: 72px 80px;
}

.girem-home__brands-head {
	margin-bottom: 36px;
}

.girem-home__brands-head .girem-home__h2 {
	margin-bottom: 8px;
	font-size: clamp(24px, 2.2vw, 32px);
}

.girem-home__brands-lead {
	margin: 0;
	font-size: 15px;
	color: var(--girem-home-muted);
}

.girem-home__brands-carousel {
	position: relative;
}

.girem-home__brands-scroll-wrap {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding-bottom: 0;
}

.girem-home__brands-scroll-wrap::-webkit-scrollbar {
	display: none;
}

.girem-home__brands-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.girem-home__brands-nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff;
	cursor: pointer;
	color: #374151;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	flex-shrink: 0;
}

.girem-home__brands-nav-btn:hover {
	background: var(--girem-home-brand);
	border-color: var(--girem-home-brand);
	color: #fff;
}

.girem-home__brands-nav-btn svg {
	width: 16px;
	height: 16px;
}

.girem-home__brands-dots {
	display: flex;
	gap: 8px;
}

.girem-home__brands-dot {
	width: 8px;
	height: 8px;
	min-height: 0;
	border-radius: 50%;
	background: #d1d5db;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.15s, transform 0.15s;
}

.girem-home__brands-dot.is-active {
	background: var(--girem-home-brand);
	transform: scale(1.2);
}

.girem-home__brands-strip {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	width: max-content;
	align-items: center;
	padding: 8px 0;
}

/* Chip — logo-only card, как в макете */
.girem-home__brand-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 184px;
	height: 72px;
	padding: 14px 20px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
	flex-shrink: 0;
	scroll-snap-align: start;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.girem-home__brand-chip:hover {
	border-color: #4933d1;
	box-shadow: 0 6px 20px rgba(73, 51, 209, 0.14);
	transform: translateY(-3px);
}

.girem-home__brand-logo {
	/* Wordmark logos vary widely in aspect ratio (2.2:1 to 5.5:1); a generous
	   width cap keeps visual weight consistent instead of letting wide marks
	   (Schneider Electric, Grundfos) shrink far below square ones (ABB, EKF). */
	max-height: 36px;
	width: auto;
	max-width: 148px;
	object-fit: contain;
}

.girem-home__brand-chip-name {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1;
}

/* Brand carousel — mobile (SITE v1.1 polish): the desktop 184x72px chip and
   its 40px nav buttons were never re-tuned for narrow viewports, so on phones
   the strip just showed fewer full-size chips per screen rather than an
   actually mobile-sized carousel — no cropping, but disproportionate/cramped. */
@media (max-width: 600px) {
	.girem-home__brand-chip {
		width: 136px;
		height: 60px;
		padding: 10px 14px;
	}

	.girem-home__brand-logo {
		max-height: 28px;
		max-width: 104px;
	}

	.girem-home__brand-chip-name {
		font-size: 15px;
	}

	.girem-home__brands-strip {
		gap: 10px;
	}

	.girem-home__brands-nav-btn {
		width: 36px;
		height: 36px;
	}

	.girem-home__brands-nav-btn svg {
		width: 14px;
		height: 14px;
	}
}

/* Tags / Searches */
.girem-home__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.girem-home__tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border: 1px solid var(--girem-home-border);
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	color: var(--girem-home-text);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.girem-home__tag:hover {
	border-color: var(--girem-home-brand);
	color: var(--girem-home-brand);
}

/* Trust list */
.girem-home__trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.girem-home__trust-item {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid var(--girem-home-border);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	color: var(--girem-home-text);
}

/* Section headings for non-special sections */
.girem-home__section--trust .girem-home__h2,
.girem-home__section--popular .girem-home__h2,
.girem-home__section--brand-strip .girem-home__h2 {
	margin-bottom: 32px;
}

.girem-home__section--alt {
	background: var(--girem-home-alt);
}

/* Popular grid */
.girem-home__grid--popular {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Eyebrow color token */
:root {
	--girem-home-eyebrow: rgba(73, 51, 209, 0.75);
}

.girem-home__section--supply .girem-home__eyebrow,
.girem-home__section--supply .girem-home__eyebrow-num,
.girem-home__section--supply .girem-home__eyebrow-label {
	color: rgba(165, 160, 255, 0.82);
}

.girem-home__section--process .girem-home__eyebrow,
.girem-home__section--process .girem-home__eyebrow-num,
.girem-home__section--process .girem-home__eyebrow-label {
	color: rgba(165, 160, 255, 0.82);
}

/* Responsive for new sections */
@media (max-width: 1100px) {
	.girem-home__why-features-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.girem-home__why-features-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.girem-home__partner-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.girem-home__section--why-features {
		padding-block: 64px;
	}

	.girem-home__section--partner {
		padding-block: 64px;
	}
}

@media (max-width: 600px) {
	.girem-home__partner-grid {
		grid-template-columns: 1fr;
	}

	.girem-home__why-features-grid {
		grid-template-columns: 1fr;
	}

	.girem-home__grid--popular {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ─── Projects section ──────────────────────────────────────── */
.girem-home__section--projects {
	background: #fff;
	padding-block: 80px 88px;
}

.girem-home__section-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.girem-home__section-head--row .girem-home__h2 {
	margin-bottom: 0;
}

.girem-home__link-arrow {
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 600;
	color: #4933d1;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.18s;
}

.girem-home__link-arrow:hover {
	color: #3730a3;
}

.girem-home__projects-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.girem-home__project-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 2px 12px rgba(15,23,42,0.05);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.girem-home__project-card:hover {
	box-shadow: 0 8px 28px rgba(15,23,42,0.1);
	transform: translateY(-2px);
}


.girem-home__project-card-visual {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.girem-home__project-card-visual svg {
	width: 56%;
	height: 56%;
	color: rgba(199, 210, 254, 0.55);
	transition: transform 0.4s ease;
}

.girem-home__project-card-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.girem-home__project-card:hover .girem-home__project-card-visual svg,
.girem-home__project-card:hover .girem-home__project-card-visual img {
	transform: scale(1.05);
}

.girem-home__project-card-cat {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(0,0,0,0.55);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 6px;
}

.girem-home__project-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
	gap: 8px;
}

.girem-home__project-card-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
}

.girem-home__project-card-city {
	margin: 0;
	font-size: 12px;
	color: #9ca3af;
}

.girem-home__project-card-desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #6b7280;
	flex: 1;
}

.girem-home__project-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid #f3f4f6;
	margin-top: auto;
}

.girem-home__project-card-contact {
	font-size: 12px;
	color: #6b7280;
}

.girem-home__project-card-link {
	font-size: 13px;
	font-weight: 600;
	color: var(--girem-home-brand);
	text-decoration: none;
	white-space: nowrap;
}

.girem-home__project-card-link:hover {
	text-decoration: underline;
}

.girem-home__section-lead {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #6b7280;
	max-width: 60ch;
}

.girem-home__project-card-equipment {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.girem-home__project-card-equipment li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: #374151;
}

.girem-home__project-card-eq-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: var(--girem-home-brand);
}

.girem-home__project-card-eq-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.girem-home__project-card-result {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	border-top: 1px dashed #e5e7eb;
	padding-top: 10px;
}

.girem-home__project-card-result li {
	position: relative;
	padding-left: 18px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #111827;
	font-weight: 500;
}

.girem-home__project-card-result li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #16a34a;
	font-weight: 700;
}

.girem-home__project-card-brands {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}

.girem-home__project-card-brand-logo {
	height: 16px;
	width: auto;
	max-width: 76px;
	object-fit: contain;
	filter: grayscale(1) opacity(0.7);
}

.girem-home__project-card-brand-chip {
	font-size: 10.5px;
	font-weight: 600;
	color: #6b7280;
	background: #f3f4f6;
	border-radius: 999px;
	padding: 3px 9px;
}

/* ─── Testimonials section ──────────────────────────────────── */
.girem-home__section--testimonials {
	background: #f8f9fb;
	padding-block: 80px 88px;
}

.girem-home__testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.girem-home__testimonial-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	padding: 28px 24px 24px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.girem-home__testimonial-stars {
	display: flex;
	gap: 2px;
	margin-bottom: 14px;
	color: #f59e0b;
	font-size: 18px;
}

.girem-home__testimonial-text {
	font-size: 14px;
	line-height: 1.65;
	color: #374151;
	flex: 1;
	margin: 0 0 20px;
}

.girem-home__testimonial-author {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 16px;
	border-top: 1px solid #f3f4f6;
}

.girem-home__testimonial-name {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
}

.girem-home__testimonial-company {
	font-size: 12px;
	color: #6b7280;
}

.girem-home__testimonial-date {
	font-size: 11px;
	color: #9ca3af;
	margin-top: 2px;
}

@media (max-width: 1024px) {
	.girem-home__projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.girem-home__testimonials-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.girem-home__projects-grid {
		grid-template-columns: 1fr;
	}
	.girem-home__testimonials-grid {
		grid-template-columns: 1fr;
	}
	.girem-home__section-head--row {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ===================================================================
   НОВЫЕ СЕКЦИИ - Stats, FAQ, Scroll animations
   =================================================================== */

/* Section 02 - Stats strip */
.girem-home__section--stats {
	background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
	padding-block: 48px;
	overflow: hidden;
	position: relative;
}
.girem-home__stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	position: relative;
}
.girem-home__stat-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.girem-home__stat-item:last-child { border-right: none; }
.girem-home__stat-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(73, 51, 209, 0.18);
	color: #a5b4fc;
}
.girem-home__stat-icon svg { width: 22px; height: 22px; }
.girem-home__stat-body { display: flex; flex-direction: column; gap: 2px; }
.girem-home__stat-value {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	letter-spacing: -0.02em;
}
.girem-home__stat-suffix { font-size: 20px; font-weight: 700; color: #a5b4fc; }
.girem-home__stat-label { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,0.55); font-weight: 500; }

@media (max-width: 900px) {
	.girem-home__stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.girem-home__stat-item:nth-child(2n) { border-right: none; }
}

/* Section 10 - FAQ */
.girem-home__section--faq {
	background: #f8fafc;
	padding-block: 96px;
}
.girem-home__faq-layout {
	display: grid;
	grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
	gap: 48px 64px;
	align-items: start;
}
.girem-home__faq-intro { position: sticky; top: 96px; }
.girem-home__faq-intro .girem-home__caption {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--girem-home-brand);
	margin-bottom: 12px;
}
.girem-home__faq-intro .girem-home__h2 { margin-bottom: 16px; font-size: clamp(26px, 2.4vw, 34px); color: #111827; }
.girem-home__faq-intro .girem-home__body { margin-bottom: 28px; font-size: 15px; line-height: 1.65; }
.girem-home__faq-cta { min-height: 48px; padding: 0 24px; font-size: 14px; }
.girem-home__faq-list {
	display: flex;
	flex-direction: column;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}
.girem-home__faq-item { border-bottom: 1px solid #e5e7eb; }
.girem-home__faq-item:last-child { border-bottom: none; }
.girem-home__faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	color: #111827;
	text-align: left;
	transition: background 0.15s ease;
}
.girem-home__faq-q:hover { background: #f8fafc; }
.girem-home__faq-q[aria-expanded="true"] { color: var(--girem-home-brand); background: #f8fafc; }
.girem-home__faq-chevron {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #6b7280;
}
.girem-home__faq-chevron svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.girem-home__faq-q[aria-expanded="true"] .girem-home__faq-chevron {
	background: rgba(73,51,209,0.1);
	color: var(--girem-home-brand);
}
.girem-home__faq-q[aria-expanded="true"] .girem-home__faq-chevron svg { transform: rotate(180deg); }
.girem-home__faq-a { padding: 0 24px 20px; }
.girem-home__faq-a p { margin: 0; font-size: 14px; line-height: 1.7; color: #6b7280; }
@media (max-width: 900px) {
	.girem-home__faq-layout { grid-template-columns: 1fr; gap: 32px; }
	.girem-home__faq-intro { position: static; }
}

/* Scroll-reveal */
.girem-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.girem-reveal.is-visible { opacity: 1; transform: none; }
.girem-reveal--delay-1 { transition-delay: 0.08s; }
.girem-reveal--delay-2 { transition-delay: 0.16s; }
.girem-reveal--delay-3 { transition-delay: 0.24s; }
.girem-reveal--delay-4 { transition-delay: 0.32s; }
.girem-reveal--delay-5 { transition-delay: 0.40s; }

/* Projects improvements */
.girem-home__section--projects { padding-block: 80px; }
.girem-home__section-head--row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 40px;
}
.girem-home__link-arrow { white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--girem-home-brand); text-decoration: none; }
.girem-home__link-arrow:hover { text-decoration: underline; }

/* Testimonials */
.girem-home__section--testimonials { background: #f8fafc; padding-block: 80px; }
.girem-home__testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.girem-home__testimonial-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 24px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 12px rgba(15,23,42,0.04);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.girem-home__testimonial-card:hover { box-shadow: 0 8px 28px rgba(15,23,42,0.08); transform: translateY(-2px); }
.girem-home__testimonial-eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--girem-home-brand); }
.girem-home__testimonial-text { margin: 0; font-size: 14px; line-height: 1.7; color: #374151; flex: 1; font-style: normal; }
.girem-home__testimonial-author { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid #f3f4f6; }
.girem-home__testimonial-name { font-size: 14px; font-weight: 700; color: #111827; }
.girem-home__testimonial-company { font-size: 12px; color: #6b7280; }
.girem-home__testimonial-date { font-size: 12px; color: #9ca3af; }
@media (max-width: 900px) { .girem-home__testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .girem-home__testimonials-grid { grid-template-columns: 1fr; } }

/* Section-head helpers */
.girem-home__section-head--center {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 48px;
}
.girem-home__section-head--center .girem-home__caption {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--girem-home-brand);
}
.girem-home__section-head--center .girem-home__h2 { margin-bottom: 12px; font-size: clamp(26px, 2.4vw, 36px); }

/* Why features */
.girem-home__why-features-layout {
	display: grid;
	grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
	gap: 48px 64px;
	align-items: start;
	padding-block: 80px;
}
.girem-home__why-features-intro { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 20px; }
.girem-home__why-features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.girem-home__why-feature-item { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: 14px; transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.girem-home__why-feature-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; background: rgba(73,51,209,0.15); color: #a5b4fc; }
.girem-home__why-feature-icon svg { width: 20px; height: 20px; }
.girem-home__why-feature-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; }
.girem-home__why-feature-desc { display: block; font-size: 12px; line-height: 1.6; }
@media (max-width: 900px) {
	.girem-home__why-features-layout { grid-template-columns: 1fr; gap: 32px; padding-right: 0; }
	.girem-home__why-features-intro { position: static; }
	.girem-home__why-features-photo { display: none; }
}


/* =========================================================
   Section 08 — Commercial Trust (guarantees, regions, industries)
   ========================================================= */

.girem-home__section--commercial-trust {
	background: #f8faff;
	border-top: 1px solid #e8edf8;
	border-bottom: 1px solid #e8edf8;
}

/* Guarantees 4-column grid */
.girem-home__trust-guarantees {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 48px;
}
@media (max-width: 1100px) { .girem-home__trust-guarantees { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .girem-home__trust-guarantees { grid-template-columns: 1fr; } }

.girem-home__trust-guarantee-card {
	background: #fff;
	border: 1px solid #e5eaf5;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: box-shadow 0.2s, border-color 0.2s;
}
.girem-home__trust-guarantee-card:hover {
	box-shadow: 0 6px 24px rgba(73,51,209,.1);
	border-color: #c7d2fe;
}
.girem-home__trust-guarantee-icon svg {
	width: 32px;
	height: 32px;
}
.girem-home__trust-guarantee-title {
	font-size: .9375rem;
	font-weight: 700;
	color: #111827;
}
.girem-home__trust-guarantee-text {
	margin: 0;
	font-size: .875rem;
	color: #6b7280;
	line-height: 1.55;
}

/* Split row: regions + industries */
.girem-home__trust-split {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 32px;
	align-items: start;
}
@media (max-width: 800px) { .girem-home__trust-split { grid-template-columns: 1fr; } }

.girem-home__trust-split-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.125rem;
	font-weight: 700;
	color: #111827;
	margin: 0 0 8px;
}
.girem-home__trust-split-title svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}
.girem-home__trust-split-sub {
	margin: 0 0 16px;
	font-size: .875rem;
	color: #6b7280;
	line-height: 1.55;
}

/* Region chips */
.girem-home__trust-regions-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.girem-home__trust-region-chip {
	background: #eef2ff;
	color: #4933d1;
	font-size: .8125rem;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 6px;
	border: 1px solid #c7d2fe;
	white-space: nowrap;
}

/* Industries list */
.girem-home__trust-industries-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.girem-home__trust-industries-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: .9375rem;
	color: #374151;
	font-weight: 500;
}
.girem-home__trust-industries-list li span {
	font-size: 1.25rem;
	flex-shrink: 0;
}
