:root {
	--rig-color-red: var(--ast-global-color-0, #e30613);
	--rig-color-red-dark: var(--ast-global-color-1, #b80f1a);
	--rig-color-ink: var(--ast-global-color-2, #171a1f);
	--rig-color-text: var(--ast-global-color-3, #2b2f36);
	--rig-color-white: var(--ast-global-color-4, #ffffff);
	--rig-color-soft: var(--ast-global-color-5, #f6f7f8);
	--rig-color-line: var(--ast-global-color-7, #e5e7eb);
	--rig-shadow-soft: 0 18px 45px rgba(15, 17, 21, 0.08);
	--rig-radius-sm: 8px;
	--rig-container: 1180px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--rig-color-white);
	color: var(--rig-color-text);
}

.rig-container {
	width: min(calc(100% - 40px), var(--rig-container));
	margin-inline: auto;
}

.rig-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: var(--rig-radius-sm);
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.rig-button:hover,
.rig-button:focus-visible {
	text-decoration: none;
	transform: translateY(-1px);
}

.rig-button--primary {
	background: var(--rig-color-red);
	color: var(--rig-color-white);
	box-shadow: 0 10px 22px rgba(227, 6, 19, 0.2);
}

.rig-button--primary:hover,
.rig-button--primary:focus-visible {
	background: var(--rig-color-red-dark);
	color: var(--rig-color-white);
}

.rig-home-main {
	min-height: 0;
}

@media (max-width: 640px) {
	.rig-container {
		width: min(calc(100% - 28px), var(--rig-container));
	}
}

.rig-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 70px 0 0;
	background:
		radial-gradient(circle at 12% 0%, rgba(227, 6, 19, 0.13), transparent 28%),
		radial-gradient(circle at 92% 78%, rgba(227, 6, 19, 0.08), transparent 24%),
		#0f141b;
	color: #fff;
}

.rig-footer::before,
.rig-footer::after {
	position: absolute;
	z-index: -1;
	content: "";
	pointer-events: none;
}

.rig-footer::before {
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	opacity: 0.32;
}

.rig-footer::after {
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--rig-color-red), transparent);
	opacity: 0.88;
}

.rig-footer__inner {
	position: relative;
}

.rig-footer__grid {
	display: grid;
	grid-template-columns: minmax(250px, 1.18fr) minmax(150px, 0.72fr) minmax(220px, 0.9fr) minmax(250px, 1fr);
	gap: clamp(28px, 4vw, 54px);
	padding-bottom: 34px;
}

.rig-footer__brand,
.rig-footer__nav,
.rig-footer__contact,
.rig-footer__company {
	min-width: 0;
}

.rig-footer__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.rig-footer__logo {
	display: block;
	width: auto;
	max-width: 148px;
	max-height: 48px;
}

.rig-footer__brand-name {
	margin: 20px 0 0;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 850;
	line-height: 1.2;
}

.rig-footer__description {
	max-width: 330px;
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.58;
}

.rig-footer__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 340px;
	margin: 20px 0 0;
	padding: 10px 12px;
	border: 1px solid rgba(227, 6, 19, 0.28);
	border-radius: var(--rig-radius-sm);
	background: rgba(227, 6, 19, 0.09);
	color: #fff;
	font-size: 0.84rem;
	font-weight: 760;
	line-height: 1.35;
}

.rig-footer__badge svg,
.rig-footer__social-link svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.rig-footer__heading {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 10px;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.rig-footer__heading::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 34px;
	height: 2px;
	background: var(--rig-color-red);
	content: "";
}

.rig-footer__links,
.rig-footer__social-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rig-footer__links {
	display: grid;
	gap: 9px;
}

.rig-footer a {
	color: rgba(255, 255, 255, 0.76);
	text-decoration: none;
	transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.rig-footer a:hover,
.rig-footer a:focus-visible {
	color: var(--rig-color-red);
	text-decoration: none;
}

.rig-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	font-size: 0.94rem;
	font-weight: 650;
	line-height: 1.25;
}

.rig-footer__address {
	display: grid;
	gap: 5px;
	margin: 0;
	font-style: normal;
}

.rig-footer__label {
	margin-top: 9px;
	color: rgba(255, 255, 255, 0.54);
	font-size: 0.74rem;
	font-weight: 850;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.rig-footer__label:first-child {
	margin-top: 0;
}

.rig-footer__contact-link {
	width: fit-content;
	color: #fff;
	font-size: 0.98rem;
	font-weight: 760;
	line-height: 1.25;
}

.rig-footer__contact-link--phone {
	color: #fff;
	font-size: 1.18rem;
	font-weight: 900;
}

.rig-footer__hours {
	color: #fff;
	font-size: 1.02rem;
	font-weight: 850;
	line-height: 1.25;
}

.rig-footer__muted,
.rig-footer__company p,
.rig-footer__note {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.5;
}

.rig-footer__company p {
	margin: 0 0 7px;
}

.rig-footer__company-name {
	color: #fff !important;
	font-weight: 850 !important;
}

.rig-footer__note {
	margin-top: 14px !important;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rig-footer__social {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rig-footer__social-label {
	color: rgba(255, 255, 255, 0.54);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.rig-footer__social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rig-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 42px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--rig-radius-sm);
	background: rgba(255, 255, 255, 0.04);
	color: #fff !important;
	font-size: 0.9rem;
	font-weight: 760;
}

.rig-footer__social-link:hover,
.rig-footer__social-link:focus-visible {
	border-color: rgba(227, 6, 19, 0.42);
	background: rgba(227, 6, 19, 0.12);
	color: #fff !important;
}

.rig-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rig-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.82rem;
	font-weight: 560;
	line-height: 1.4;
}

.rig-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 14px;
}

.rig-footer__legal a {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.3;
}

@media (max-width: 1080px) {
	.rig-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rig-footer {
		padding-top: 52px;
	}

	.rig-footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
		padding-bottom: 28px;
	}

	.rig-footer__brand {
		order: 1;
	}

	.rig-footer__contact {
		order: 2;
	}

	.rig-footer__nav {
		order: 3;
	}

	.rig-footer__company {
		order: 4;
	}

	.rig-footer__description {
		max-width: none;
		font-size: 0.92rem;
	}

	.rig-footer__badge {
		max-width: none;
	}

	.rig-footer__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 16px;
	}

	.rig-footer__links a {
		min-height: 34px;
	}

	.rig-footer__contact-link {
		min-height: 36px;
		font-size: 1.04rem;
	}

	.rig-footer__contact-link--phone {
		font-size: 1.28rem;
	}

	.rig-footer__social {
		align-items: flex-start;
		flex-direction: column;
	}

	.rig-footer__social-link {
		min-height: 44px;
	}

	.rig-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.rig-footer__legal {
		justify-content: flex-start;
	}
}
