/* =========================================================================
   СпецАВТО — современная тема
   ========================================================================= */

:root {
	--ink: #0f172a;
	--ink-soft: #1e293b;
	--muted: #5b6779;
	--muted-2: #7c8798;
	--line: #e3e9f2;
	--bg: #f6f9fd;
	--bg-soft: #eef4fb;
	--white: #ffffff;
	--brand: #0284c7;
	--brand-dark: #0369a1;
	--brand-light: #e0f2fe;
	--accent: #f97316;
	--accent-dark: #ea580c;
	--accent-light: #fff1e6;
	--success: #16a34a;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
	--shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
	--shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
	--container: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.nav-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

[hidden] {
	display: none !important;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -80px;
	z-index: 2000;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: 8px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 12px;
	color: #fff;
}

:focus-visible {
	outline: 3px solid rgba(2, 132, 199, 0.65);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	line-height: 1.18;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ink);
}

h1 {
	font-size: clamp(2rem, 4.2vw, 3.25rem);
}

h2 {
	font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

h3 {
	font-size: 1.15rem;
}

p {
	margin: 0;
}

a {
	color: var(--brand-dark);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

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

ul,
ol {
	margin: 0;
	padding: 0;
}

/* -------------------------------------------------------------------------
   Кнопки
   ---------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
	white-space: nowrap;
}

.btn svg {
	flex: 0 0 auto;
}

.btn-call {
	background: linear-gradient(135deg, #fb923c 0%, var(--accent) 55%, var(--accent-dark) 100%);
	color: #fff;
	box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

.btn-call:hover,
.btn-call:focus {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(249, 115, 22, 0.38);
}

.btn-primary {
	background: var(--brand);
	color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--brand-dark);
	color: #fff;
}

.btn-outline {
	background: transparent;
	border-color: #c9d4e3;
	color: var(--ink);
}

.btn-outline:hover,
.btn-outline:focus {
	border-color: var(--brand);
	color: var(--brand-dark);
	background: #fff;
}

.btn-ghost {
	background: transparent;
	border-color: rgba(15, 23, 42, 0.18);
	color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus {
	background: #fff;
	border-color: rgba(15, 23, 42, 0.3);
	color: var(--ink);
}

.btn-link {
	background: transparent;
	border: 0;
	color: var(--brand-dark);
	padding: 12px 10px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.btn-link:hover {
	color: var(--accent-dark);
}

.btn-lg {
	padding: 15px 24px;
	font-size: 1rem;
	border-radius: 14px;
}

.btn-block {
	width: 100%;
}

.link-button {
	display: inline;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	text-decoration: none;
}

.link-button:hover {
	color: var(--accent);
}

/* -------------------------------------------------------------------------
   Шапка
   ---------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 950;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid rgba(227, 233, 242, 0.9);
	transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	background: rgba(255, 255, 255, 0.98);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 84px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	flex: 0 0 auto;
}

.brand:hover {
	color: var(--ink);
}

.brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(140deg, var(--brand) 0%, #0ea5e9 100%);
	color: #fff;
	box-shadow: 0 8px 18px rgba(2, 132, 199, 0.25);
}

.brand__text {
	display: flex;
	flex-direction: column;
	font-size: 1.35rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand__name {
	white-space: nowrap;
}

.brand__text strong {
	color: var(--brand);
	font-weight: 900;
}

.brand__text small {
	margin-top: 5px;
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--muted-2);
	text-transform: uppercase;
}

.primary-nav {
	margin-left: auto;
}

.primary-nav > ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.primary-nav > ul > li > a {
	display: inline-flex;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--ink-soft);
	white-space: nowrap;
}

.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a.is-active {
	background: var(--brand-light);
	color: var(--brand-dark);
}

.primary-nav__mobile {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: 8px;
}

.header-phone {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	color: var(--ink);
}

.header-phone__label {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted-2);
}

.header-phone__number {
	font-size: 1.05rem;
	font-weight: 800;
	white-space: nowrap;
}

.header-phone:hover .header-phone__number {
	color: var(--brand-dark);
}

.header-call {
	padding: 11px 18px;
}

.nav-toggle {
	display: none;
	position: relative;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
}

.nav-toggle span {
	position: absolute;
	left: 12px;
	right: 12px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span:nth-child(1) {
	top: 16px;
}

.nav-toggle span:nth-child(2) {
	top: 22px;
}

.nav-toggle span:nth-child(3) {
	top: 28px;
}

body.nav-open .nav-toggle span:nth-child(1) {
	top: 22px;
	transform: rotate(45deg);
}

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

body.nav-open .nav-toggle span:nth-child(3) {
	top: 22px;
	transform: rotate(-45deg);
}

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */
.hero {
	position: relative;
	padding: 64px 0 56px;
	background:
		radial-gradient(900px 460px at 88% 8%, rgba(14, 165, 233, 0.26), transparent 62%),
		radial-gradient(760px 420px at 4% 92%, rgba(249, 115, 22, 0.17), transparent 64%),
		linear-gradient(135deg, #081426 0%, #0b1c33 52%, #0e2a45 100%);
	overflow: hidden;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px;
	align-items: center;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #bae6fd;
	font-size: 0.82rem;
	font-weight: 700;
}

.hero h1 {
	margin-top: 18px;
	max-width: 15ch;
	color: #fff;
}

.hero__lead {
	margin-top: 18px;
	max-width: 56ch;
	font-size: 1.06rem;
	color: rgba(255, 255, 255, 0.74);
}

.hero__facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 26px 0 0;
	list-style: none;
}

.hero__facts li {
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
}

.hero__facts strong {
	display: block;
	font-size: 1.02rem;
	font-weight: 800;
	color: #fff;
}

.hero__facts span {
	display: block;
	margin-top: 3px;
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.58);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.hero__actions .btn-ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.36);
}

.hero__actions .btn-ghost:hover,
.hero__actions .btn-ghost:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.hero__note {
	margin-top: 14px;
	font-size: 0.86rem;
	color: rgba(255, 255, 255, 0.55);
}

.hero__media {
	position: relative;
}

.hero__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.hero__media-card {
	position: absolute;
	left: -18px;
	bottom: 22px;
	max-width: 240px;
	padding: 14px 16px;
	background: rgba(8, 18, 32, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
}

.hero__media-card strong {
	display: block;
	font-size: 0.9rem;
	color: #fff;
}

.hero__media-card span {
	display: block;
	margin-top: 3px;
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.64);
}

/* -------------------------------------------------------------------------
   Секции
   ---------------------------------------------------------------------- */
.section {
	padding: 72px 0;
}

.section--services {
	background: #fff;
}

.section--works {
	background: linear-gradient(180deg, #f2f7fd 0%, var(--bg) 100%);
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}

.section-head--compact {
	margin-bottom: 22px;
}

.section-kicker {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-dark);
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--brand-dark);
	white-space: nowrap;
}

.section-link:hover {
	gap: 10px;
	color: var(--accent-dark);
}

/* -------------------------------------------------------------------------
   Карточки услуг
   ---------------------------------------------------------------------- */
.service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.service-card {
	display: flex;
	flex-direction: column;
	padding: 26px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	color: var(--ink);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
	transform: translateY(-3px);
	border-color: rgba(2, 132, 199, 0.35);
	box-shadow: var(--shadow);
	color: var(--ink);
}

.service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--brand-light);
	color: var(--brand-dark);
	margin-bottom: 18px;
}

.service-card h3 {
	font-size: 1.08rem;
}

.service-card p {
	margin-top: 9px;
	font-size: 0.9rem;
	color: var(--muted);
}

.service-card__more {
	margin-top: auto;
	padding-top: 18px;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--brand-dark);
}

/* -------------------------------------------------------------------------
   Карточки работ
   ---------------------------------------------------------------------- */
.work-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.work-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.work-card__media {
	display: block;
	position: relative;
	background: var(--bg-soft);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.work-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.work-card:hover .work-card__img {
	transform: scale(1.04);
}

.work-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-weight: 900;
	letter-spacing: 0.08em;
	color: var(--brand-dark);
	background: var(--brand-light);
}

.work-card__date {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
	pointer-events: none;
}

.work-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 20px 20px;
}

.work-card__title {
	font-size: 1.02rem;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.work-card__title a {
	color: var(--ink);
}

.work-card__title a:hover {
	color: var(--brand-dark);
}

.work-card__excerpt {
	margin-top: 8px;
	font-size: 0.86rem;
	color: var(--muted);
}

.work-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 16px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--brand-dark);
}

.work-card__link svg {
	transition: transform 0.2s ease;
}

.work-card:hover .work-card__link svg {
	transform: translateX(3px);
}

/* -------------------------------------------------------------------------
   О компании
   ---------------------------------------------------------------------- */
.section--about {
	background: #fff;
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: 46px;
	align-items: start;
}

.about-copy .content {
	margin-top: 20px;
}

.about-aside {
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 106px;
}

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

.about-fact {
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--bg);
}

.about-fact strong {
	display: block;
	font-size: 1.15rem;
	color: var(--brand-dark);
}

.about-fact span {
	display: block;
	margin-top: 3px;
	font-size: 0.76rem;
	color: var(--muted);
}

.about-call {
	padding: 22px;
	border-radius: var(--radius);
	background: linear-gradient(150deg, #0b1c33 0%, #123a5c 100%);
	color: #fff;
	box-shadow: var(--shadow);
}

.about-call__label {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fdba74;
}

.about-call p {
	margin: 10px 0 18px;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.78);
}

/* -------------------------------------------------------------------------
   CTA
   ---------------------------------------------------------------------- */
.cta {
	padding: 24px 0 80px;
}

.cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 44px;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(600px 260px at 92% 0%, rgba(14, 165, 233, 0.22), transparent 60%),
		linear-gradient(135deg, #0b1c33 0%, #112f4d 60%, #0c2238 100%);
	color: #fff;
	box-shadow: var(--shadow-lg);
}

.cta__kicker {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fdba74;
}

.cta__text h2 {
	margin-top: 10px;
	max-width: 26ch;
	color: #fff;
}

.cta__text p {
	margin-top: 12px;
	max-width: 58ch;
	font-size: 0.94rem;
	color: rgba(255, 255, 255, 0.75);
}

.cta__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 0 0 auto;
}

.cta .btn-ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.cta .btn-ghost:hover,
.cta .btn-ghost:focus {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* -------------------------------------------------------------------------
   Внутренние страницы
   ---------------------------------------------------------------------- */
.page-hero {
	padding: 40px 0 42px;
	background:
		radial-gradient(700px 300px at 92% 0%, rgba(14, 165, 233, 0.2), transparent 62%),
		linear-gradient(135deg, #0b1c33 0%, #11304f 100%);
	color: #fff;
}

.page-hero h1 {
	margin-top: 10px;
	max-width: 24ch;
	color: #fff;
}

.page-hero .section-kicker {
	color: #fdba74;
}

.archive-intro {
	max-width: 70ch;
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.96rem;
}

.archive-intro p {
	color: inherit;
}

.archive-intro a {
	color: #bae6fd;
}

.archive-count {
	margin-top: 12px;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.6);
}

.entry-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.65);
}

.entry-meta a {
	color: #bae6fd;
}

.entry-meta__sep {
	opacity: 0.6;
}

.breadcrumbs {
	margin-bottom: 18px;
	font-size: 0.78rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.58);
}

.breadcrumbs li + li::before {
	content: "/";
	color: rgba(255, 255, 255, 0.3);
}

.breadcrumbs a {
	color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a:hover {
	color: #fff;
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 38px;
	align-items: start;
}

.layout__aside {
	min-width: 0;
}

/* -------------------------------------------------------------------------
   Контент
   ---------------------------------------------------------------------- */
.entry {
	min-width: 0;
}

.entry__thumb {
	margin: 0 0 26px;
}

.entry__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.content {
	color: var(--ink-soft);
	font-size: 1rem;
}

.content > * + * {
	margin-top: 1rem;
}

.content h2 {
	margin-top: 2.1rem;
	font-size: 1.55rem;
}

.content h3 {
	margin-top: 1.7rem;
	font-size: 1.2rem;
}

.content h4 {
	margin-top: 1.4rem;
	font-size: 1.05rem;
}

.content p,
.content li {
	color: var(--muted);
}

.content p {
	line-height: 1.75;
}

.content a {
	color: var(--brand-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.content a:hover {
	color: var(--accent-dark);
}

.content ul,
.content ol {
	padding-left: 1.35rem;
}

.content ul {
	list-style: disc;
}

.content ol {
	list-style: decimal;
}

.content li {
	margin-bottom: 0.4rem;
}

.content li::marker {
	color: var(--brand);
}

.content strong {
	color: var(--ink);
}

.content img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
}

.content figure {
	margin: 1.4rem 0;
}

.content figcaption {
	margin-top: 8px;
	font-size: 0.8rem;
	color: var(--muted-2);
	text-align: center;
}

.content blockquote {
	margin: 1.6rem 0;
	padding: 18px 22px;
	border-left: 4px solid var(--brand);
	border-radius: 0 12px 12px 0;
	background: var(--bg-soft);
}

.content blockquote p {
	color: var(--ink-soft);
}

.content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}

.content th,
.content td {
	padding: 11px 14px;
	border: 1px solid var(--line);
	text-align: left;
	color: var(--muted);
}

.content th {
	background: var(--bg-soft);
	color: var(--ink);
	font-weight: 700;
}

.content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
	margin: 1.4rem 0;
}

.content .gallery-item {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	background: var(--bg-soft);
}

.content .gallery-item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
	transition: transform 0.3s ease;
}

.content .gallery-item a:hover img {
	transform: scale(1.03);
}

.content .main-button {
	margin: 1.2rem 0;
}

.content .main-button a {
	display: inline-flex;
	padding: 12px 20px;
	border-radius: 12px;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.content .main-button a:hover {
	background: var(--accent-dark);
	color: #fff;
}

.entry__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 0.84rem;
}

.entry__tags > span {
	color: var(--muted-2);
}

.entry__tags a {
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--bg-soft);
	color: var(--ink-soft);
	font-size: 0.8rem;
}

.entry__tags a:hover {
	background: var(--brand-light);
	color: var(--brand-dark);
}

.inline-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 30px;
	padding: 22px 24px;
	border: 1px solid rgba(2, 132, 199, 0.2);
	border-radius: var(--radius);
	background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
}

.inline-cta__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.inline-cta__text strong {
	font-size: 1rem;
}

.inline-cta__text span {
	font-size: 0.86rem;
	color: var(--muted);
}

.related {
	margin-top: 44px;
}

.page-works {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}

.page-works .work-grid {
	gap: 18px;
}

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

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

/* -------------------------------------------------------------------------
   Сайдбар
   ---------------------------------------------------------------------- */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 104px;
}

.side-card {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.side-card--call {
	background: linear-gradient(150deg, #0b1c33 0%, #123a5c 100%);
	border-color: transparent;
	color: #fff;
}

.side-card__kicker {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fdba74;
}

.side-card__phone {
	display: block;
	margin-top: 8px;
	font-size: 1.45rem;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.01em;
}

.side-card__phone:hover {
	color: #fdba74;
}

.side-card--call p {
	margin: 8px 0 16px;
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.74);
}

.side-card__email {
	display: block;
	margin-top: 12px;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.72);
	text-align: center;
}

.side-card__email:hover {
	color: #fff;
}

.side-card__title {
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
}

.side-list {
	margin-top: 14px;
	list-style: none;
}

.side-list li {
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.88rem;
}

.side-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.side-list a {
	color: var(--ink-soft);
	font-weight: 600;
}

.side-list a:hover {
	color: var(--brand-dark);
}

.side-list--categories li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.side-list--categories .count {
	color: var(--muted-2);
	font-size: 0.78rem;
}

.side-list--works li {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.side-list--works a {
	line-height: 1.35;
}

.side-list--works span {
	font-size: 0.74rem;
	color: var(--muted-2);
}

.side-card__all {
	display: inline-block;
	margin-top: 14px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--brand-dark);
}

/* -------------------------------------------------------------------------
   Пагинация
   ---------------------------------------------------------------------- */
.pagination,
.navigation.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
}

.pagination .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink-soft);
	font-size: 0.86rem;
	font-weight: 700;
}

.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover {
	border-color: var(--brand);
	color: var(--brand-dark);
}

.pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.navigation.pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.empty-state {
	padding: 26px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--muted);
}

.link-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	max-width: 760px;
}

.link-cards a {
	display: block;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	color: var(--ink);
	font-weight: 700;
}

.link-cards a:hover {
	border-color: var(--brand);
	color: var(--brand-dark);
}

.page-hero--404 .archive-intro {
	margin-bottom: 22px;
}

.page-hero .hero__actions {
	margin-top: 22px;
}

.page-hero .btn-outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.page-hero .btn-outline:hover,
.page-hero .btn-outline:focus {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.65);
	background: rgba(255, 255, 255, 0.1);
}

/* -------------------------------------------------------------------------
   Страница «Услуги» с фото из работ
   ---------------------------------------------------------------------- */
.services-intro {
	max-width: 72ch;
	margin-bottom: 28px;
}

.service-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 30px;
}

.service-nav__link {
	display: inline-flex;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink-soft);
	font-size: 0.84rem;
	font-weight: 600;
}

.service-nav__link:hover {
	background: var(--brand-light);
	border-color: rgba(2, 132, 199, 0.35);
	color: var(--brand-dark);
}

.service-rows {
	display: flex;
	flex-direction: column;
}

.service-row {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 38px;
	align-items: center;
	padding: 34px 0;
	border-top: 1px solid var(--line);
}

.service-row:last-child {
	border-bottom: 1px solid var(--line);
}

.service-row__media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--bg-soft);
}

.service-row__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.service-row__media:hover .service-row__img {
	transform: scale(1.03);
}

.service-row__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-dark);
	font-weight: 900;
	letter-spacing: 0.08em;
}

.service-row--reverse .service-row__media {
	order: 2;
}

.service-row--reverse .service-row__body {
	order: 1;
}

.service-row__body {
	min-width: 0;
}

.service-row__num {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: var(--accent-dark);
}

.service-row h2 {
	margin-top: 6px;
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.service-row__body > p {
	margin-top: 10px;
	max-width: 60ch;
	font-size: 0.94rem;
	color: var(--muted);
}

.service-row__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 18px;
	margin-top: 14px;
	padding-left: 0;
	list-style: none;
}

.service-row__list li {
	position: relative;
	padding-left: 18px;
	font-size: 0.86rem;
	color: var(--ink-soft);
}

.service-row__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--brand);
}

.service-row__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.service-row__price {
	margin-top: 14px;
	font-size: 0.86rem;
	color: var(--muted);
}

.service-row__price strong {
	color: var(--ink);
}

.service-row__actions .btn-link {
	padding-left: 0;
}

.service-works {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.faq-block {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.faq-block h2 {
	margin-top: 8px;
	margin-bottom: 16px;
}

.faq-item {
	margin-top: 10px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item__icon {
	flex: 0 0 auto;
	color: var(--brand-dark);
	font-size: 1.25rem;
	line-height: 1;
	transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__icon {
	transform: rotate(45deg);
}

.faq-item__answer {
	padding: 0 18px 16px;
}

.faq-item__answer p {
	font-size: 0.9rem;
	color: var(--muted);
}

.side-card__text {
	margin-top: 10px;
	font-size: 0.86rem;
	color: var(--muted);
}

.service-row__example {
	display: inline-block;
	margin-top: 12px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--muted);
}

.service-row__example:hover {
	color: var(--brand-dark);
}

/* -------------------------------------------------------------------------
   Спецтехника на главной
   ---------------------------------------------------------------------- */
.section--equipment {
	background: var(--bg);
}

.equipment-banner {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	background:
		radial-gradient(600px 280px at 95% 0%, rgba(14, 165, 233, 0.22), transparent 60%),
		linear-gradient(135deg, #0b1c33 0%, #123a5c 100%);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	color: #fff;
}

.equipment-banner__media {
	display: block;
	min-height: 380px;
	background: #0b1c33;
}

.equipment-banner__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.equipment-banner:hover .equipment-banner__img {
	transform: scale(1.03);
}

.equipment-banner__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 42px;
}

.equipment-banner h2 {
	margin-top: 10px;
	font-size: clamp(1.5rem, 2.5vw, 2.1rem);
	color: #fff;
}

.equipment-banner h2 a {
	color: #fff;
}

.equipment-banner h2 a:hover {
	color: #fdba74;
}

.equipment-banner p {
	margin-top: 12px;
	max-width: 52ch;
	font-size: 0.94rem;
	color: rgba(255, 255, 255, 0.74);
}

.equipment-banner__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.56);
}

.equipment-banner .tag-pill {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.24);
	color: #fff;
}

.equipment-banner .tag-pill:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ink);
}

.equipment-banner .tag-pill__count {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.equipment-banner .tag-pill:hover .tag-pill__count {
	background: var(--brand-light);
	color: var(--brand-dark);
}

.equipment-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.equipment-banner .btn-ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.32);
}

.equipment-banner .btn-ghost:hover,
.equipment-banner .btn-ghost:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.equipment-banner__category {
	margin-top: 18px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #bae6fd;
}

.equipment-banner__category:hover {
	color: #fff;
}

/* -------------------------------------------------------------------------
   Теги
   ---------------------------------------------------------------------- */
.section--tags {
	background: #fff;
}

.tag-cloud-block {
	margin-top: 34px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}

.tag-cloud-block__title {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 14px;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink-soft);
	font-size: 0.83rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tag-pill:hover {
	background: var(--brand-light);
	border-color: rgba(2, 132, 199, 0.35);
	color: var(--brand-dark);
}

.tag-pill__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--bg-soft);
	color: var(--muted-2);
	font-size: 0.7rem;
	font-weight: 700;
}

.tag-pill:hover .tag-pill__count {
	background: #fff;
	color: var(--brand-dark);
}

/* -------------------------------------------------------------------------
   Контакты
   ---------------------------------------------------------------------- */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.contact-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.contact-card--primary {
	background:
		radial-gradient(420px 200px at 100% 0%, rgba(14, 165, 233, 0.24), transparent 60%),
		linear-gradient(150deg, #0b1c33 0%, #123a5c 100%);
	border-color: transparent;
	box-shadow: var(--shadow);
	color: #fff;
}

.contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--brand-light);
	color: var(--brand-dark);
}

.contact-card--primary .contact-card__icon {
	background: rgba(255, 255, 255, 0.12);
	color: #7dd3fc;
}

.contact-card__label {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-dark);
}

.contact-card--primary .contact-card__label {
	color: #fdba74;
}

.contact-card__phone {
	display: block;
	margin-top: 6px;
	font-size: 1.32rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #fff;
}

.contact-card__phone:hover {
	color: #fdba74;
}

.contact-card__phone--second {
	margin-top: 2px;
	font-size: 1.02rem;
	color: rgba(255, 255, 255, 0.78);
}

.contact-card__value {
	display: block;
	margin-top: 8px;
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--ink);
	overflow-wrap: anywhere;
}

.contact-card__value--address {
	line-height: 1.35;
}

.contact-card p {
	flex: 1 1 auto;
	margin-top: 10px;
	font-size: 0.86rem;
	color: var(--muted);
}

.contact-card--primary p {
	color: rgba(255, 255, 255, 0.72);
}

.contact-card .btn {
	width: 100%;
	margin-top: 20px;
}

.contact-card .btn-outline {
	border-color: #c9d4e3;
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 32px;
	margin-top: 28px;
	align-items: stretch;
}

.contact-map {
	position: relative;
	min-height: 430px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background-color: #e8f2fa;
	background-image:
		linear-gradient(rgba(2, 132, 199, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(2, 132, 199, 0.09) 1px, transparent 1px),
		radial-gradient(circle at 18% 26%, rgba(14, 165, 233, 0.22), transparent 42%),
		radial-gradient(circle at 82% 72%, rgba(249, 115, 22, 0.14), transparent 38%);
	background-size: 34px 34px, 34px 34px, auto, auto;
}

.contact-map::before,
.contact-map::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.contact-map::before {
	left: -10%;
	right: -10%;
	top: 52%;
	height: 26px;
	background: rgba(255, 255, 255, 0.72);
	transform: rotate(-9deg);
	box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.08);
}

.contact-map::after {
	top: -10%;
	bottom: -10%;
	left: 38%;
	width: 18px;
	background: rgba(255, 255, 255, 0.55);
	transform: rotate(14deg);
}

.contact-map__top {
	position: absolute;
	top: 18px;
	left: 18px;
	right: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	z-index: 2;
}

.contact-map__city,
.contact-map__badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	font-size: 0.74rem;
	font-weight: 700;
	box-shadow: var(--shadow-sm);
}

.contact-map__city {
	color: var(--muted);
}

.contact-map__badge {
	background: var(--ink);
	color: #fff;
}

.contact-map__pin {
	position: absolute;
	left: 46%;
	top: 34%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	box-shadow: 0 0 0 10px rgba(249, 115, 22, 0.16), 0 12px 26px rgba(249, 115, 22, 0.32);
}

.contact-map__card {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 2;
	padding: 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid rgba(227, 233, 242, 0.9);
	box-shadow: var(--shadow);
}

.contact-map__label {
	display: block;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-dark);
}

.contact-map__card strong {
	display: block;
	margin-top: 4px;
	font-size: 0.98rem;
	color: var(--ink);
}

.contact-map__card a {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--brand-dark);
}

.contact-info h2 {
	margin-top: 8px;
}

.contact-steps {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 22px;
	list-style: none;
}

.contact-steps li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.contact-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--brand-light);
	color: var(--brand-dark);
	font-size: 0.8rem;
	font-weight: 800;
}

.contact-steps strong {
	display: block;
	font-size: 0.98rem;
}

.contact-steps p {
	margin-top: 3px;
	font-size: 0.86rem;
	color: var(--muted);
}

.contact-note {
	margin-top: 22px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--bg-soft);
}

.contact-note strong {
	display: block;
	font-size: 0.96rem;
}

.contact-note span {
	display: block;
	margin-top: 3px;
	font-size: 0.84rem;
	color: var(--muted);
}

.contact-extra {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

/* -------------------------------------------------------------------------
   Кнопка «Наверх» с круговым прогрессом
   ---------------------------------------------------------------------- */
.mtk-scrollup {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 980;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #0b1c33;
	color: #fff;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
	box-shadow: 0 14px 35px rgba(8, 17, 29, 0.28);
}

.mtk-scrollup.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mtk-scrollup:hover {
	background: #102a45;
	transform: translateY(-2px);
}

body.nav-open .mtk-scrollup {
	opacity: 0;
	visibility: hidden;
}

.mtk-scrollup__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.mtk-scrollup__progress {
	transition: stroke-dashoffset 0.15s linear;
}

.mtk-scrollup__arrow {
	position: relative;
	z-index: 1;
	width: 20px;
	height: 20px;
}

@media (max-width: 767px) {
	.mtk-scrollup {
		right: 14px;
		bottom: 82px;
		width: 48px;
		height: 48px;
	}

	.mtk-scrollup__arrow {
		width: 18px;
		height: 18px;
	}
}

/* -------------------------------------------------------------------------
   Подвал
   ---------------------------------------------------------------------- */
.site-footer {
	padding: 56px 0 26px;
	background: #0a1526;
	color: rgba(255, 255, 255, 0.72);
}

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

.brand--footer {
	color: #fff;
}

.brand--footer:hover {
	color: #fff;
}

.brand--footer .brand__text {
	color: #fff;
}

.brand--footer .brand__text small {
	color: rgba(255, 255, 255, 0.5);
}

.footer-col--brand p {
	margin-top: 16px;
	max-width: 42ch;
	font-size: 0.86rem;
	color: rgba(255, 255, 255, 0.6);
}

.footer-contacts {
	margin-top: 18px;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-contacts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.86rem;
}

.footer-contacts svg {
	flex: 0 0 auto;
	margin-top: 2px;
	color: #7dd3fc;
}

.footer-contacts a,
.footer-contacts span {
	color: rgba(255, 255, 255, 0.8);
}

.footer-contacts a:hover {
	color: #fff;
}

.footer-title {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
}

.footer-links {
	margin-top: 16px;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a,
.footer-links .link-button {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.87rem;
}

.footer-links a:hover,
.footer-links .link-button:hover {
	color: #fff;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 42px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
	margin: 0;
	font-size: inherit;
	color: inherit;
}

.footer-bottom a {
	color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover {
	color: #fff;
}

/* -------------------------------------------------------------------------
   Мобильная панель звонка
   ---------------------------------------------------------------------- */
.mobile-callbar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 990;
	gap: 8px;
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.97);
	border-top: 1px solid var(--line);
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
	backdrop-filter: blur(10px);
}

.mobile-callbar__call,
.mobile-callbar__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 50px;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 800;
}

.mobile-callbar__call {
	flex: 1 1 auto;
	background: linear-gradient(135deg, #fb923c 0%, var(--accent) 55%, var(--accent-dark) 100%);
	color: #fff;
}

.mobile-callbar__call:hover {
	color: #fff;
}

.mobile-callbar__secondary {
	flex: 0 0 100px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
}

/* -------------------------------------------------------------------------
   Cookie
   ---------------------------------------------------------------------- */
.cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1000;
	max-width: 1100px;
	margin: 0 auto;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

.cookie-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cookie-banner__text {
	max-width: 66ch;
	font-size: 0.82rem;
	color: var(--muted);
}

.cookie-banner__text strong {
	display: block;
	color: var(--ink);
	font-size: 0.9rem;
}

.cookie-banner__text p {
	margin-top: 4px;
	font-size: inherit;
	color: inherit;
}

.cookie-banner__text a {
	color: var(--brand-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 0 0 auto;
}

.cookie-banner__actions .btn {
	padding: 10px 14px;
	font-size: 0.82rem;
	border-radius: 10px;
}

.cookie-dialog {
	width: min(560px, calc(100% - 32px));
	max-height: calc(100vh - 40px);
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	color: var(--ink);
}

.cookie-dialog::backdrop {
	background: rgba(8, 15, 30, 0.55);
	backdrop-filter: blur(2px);
}

.cookie-dialog form {
	padding: 26px;
}

.cookie-dialog__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.cookie-dialog h2 {
	font-size: 1.35rem;
}

.cookie-dialog__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	cursor: pointer;
}

.cookie-dialog__intro {
	margin-top: 10px;
	font-size: 0.88rem;
	color: var(--muted);
}

.cookie-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 14px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	cursor: pointer;
}

.cookie-option input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	accent-color: var(--brand);
	flex: 0 0 auto;
}

.cookie-option span {
	display: block;
}

.cookie-option strong {
	display: block;
	font-size: 0.92rem;
}

.cookie-option small {
	display: block;
	margin-top: 3px;
	font-size: 0.8rem;
	color: var(--muted);
}

.cookie-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

/* -------------------------------------------------------------------------
   Служебное
   ---------------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.post-info,
.social-icons,
.navbar-nav {
	list-style: none;
}

/* -------------------------------------------------------------------------
   Адаптив
   ---------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.header-phone {
		display: none;
	}

	.hero__grid {
		gap: 34px;
	}

	.layout {
		grid-template-columns: minmax(0, 1fr) 310px;
		gap: 28px;
	}

	.about-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
		gap: 30px;
	}
}

@media (max-width: 991px) {
	.site-header__inner {
		min-height: 74px;
		gap: 14px;
	}

	.brand__mark {
		width: 40px;
		height: 40px;
	}

	.brand__text {
		font-size: 1.2rem;
	}

	.primary-nav {
		position: fixed;
		top: 74px;
		right: 0;
		bottom: 0;
		width: min(360px, 88vw);
		margin: 0;
		padding: 22px 20px 30px;
		background: #fff;
		border-left: 1px solid var(--line);
		box-shadow: -20px 0 40px rgba(15, 23, 42, 0.12);
		transform: translateX(105%);
		transition: transform 0.25s ease;
		overflow-y: auto;
		z-index: 960;
	}

	body.nav-open .primary-nav {
		transform: translateX(0);
	}

	body.nav-open::before {
		content: "";
		position: fixed;
		inset: 74px 0 0 0;
		background: rgba(8, 15, 30, 0.4);
		z-index: 940;
	}

	.primary-nav > ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.primary-nav > ul > li > a {
		padding: 14px 12px;
		border-bottom: 1px solid var(--line);
		border-radius: 8px;
		font-size: 1rem;
	}

	.primary-nav__mobile {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-top: 20px;
	}

	.primary-nav__email {
		font-size: 0.86rem;
		color: var(--muted);
		text-align: center;
	}

	.site-header__actions {
		margin-left: auto;
		gap: 8px;
	}

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

	.header-call {
		padding: 10px 14px;
		font-size: 0.86rem;
	}

	.hero {
		padding: 44px 0 40px;
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__media {
		order: 2;
		max-width: 560px;
	}

	.hero__media-card {
		left: auto;
		right: 14px;
		bottom: 14px;
	}

	.hero h1 {
		max-width: 20ch;
	}

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

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

	.layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
	}

	.about-grid {
		grid-template-columns: 1fr;
	}

	.about-aside {
		position: static;
	}

	.cta__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 32px;
	}

	.cta__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.equipment-banner {
		grid-template-columns: 1fr;
	}

	.equipment-banner__media {
		min-height: 290px;
	}

	.equipment-banner__content {
		padding: 30px;
	}

	.service-row {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.service-row--reverse .service-row__media,
	.service-row--reverse .service-row__body {
		order: initial;
	}

	.service-row__media {
		aspect-ratio: 16 / 10;
	}

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

	.contact-card--primary {
		grid-column: 1 / -1;
	}

	.contact-layout {
		grid-template-columns: 1fr;
	}

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

	.cookie-banner {
		bottom: 86px;
	}
}

@media (max-width: 767px) {
	body {
		padding-bottom: 70px;
	}

	.mobile-callbar {
		display: flex;
	}

	.site-header__inner {
		min-height: 68px;
	}

	.brand__text small {
		display: none;
	}

	.header-call {
		display: none;
	}

	.primary-nav {
		top: 68px;
	}

	body.nav-open::before {
		inset: 68px 0 0 0;
	}

	.hero {
		padding: 32px 0 36px;
	}

	.hero__lead {
		font-size: 0.98rem;
	}

	.hero__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.hero__facts li {
		padding: 12px;
	}

	.hero__actions .btn {
		width: 100%;
	}

	.section {
		padding: 54px 0;
	}

	.section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 24px;
	}

	.service-grid,
	.work-grid,
	.work-grid--related,
	.work-grid--company {
		grid-template-columns: 1fr;
	}

	.service-card {
		padding: 22px;
	}

	.equipment-banner__media {
		min-height: 220px;
	}

	.equipment-banner__content {
		padding: 24px;
	}

	.equipment-banner__actions .btn {
		width: 100%;
	}

	.service-row {
		padding: 26px 0;
	}

	.service-row__list {
		grid-template-columns: 1fr;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.contact-card--primary {
		grid-column: auto;
	}

	.contact-map {
		min-height: 340px;
	}

	.contact-map__card {
		padding: 14px;
	}

	.contact-info h2 {
		font-size: 1.5rem;
	}

	.entry-meta {
		flex-wrap: wrap;
	}

	.inline-cta {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.related {
		margin-top: 34px;
	}

	.page-hero {
		padding: 32px 0 30px;
	}

	.page-hero h1 {
		max-width: none;
	}

	.content table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.pagination .page-numbers,
	.navigation.pagination .page-numbers {
		min-width: 38px;
		height: 38px;
		padding: 0 10px;
		font-size: 0.8rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.cta {
		padding: 12px 0 58px;
	}

	.cta__inner {
		padding: 26px 22px;
		border-radius: var(--radius);
	}

	.cta__actions .btn {
		width: 100%;
	}

	.link-cards {
		grid-template-columns: 1fr;
	}

	.cookie-banner {
		left: 10px;
		right: 10px;
		bottom: 78px;
		padding: 16px;
	}

	.cookie-banner__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.cookie-banner__actions .btn {
		flex: 1 1 auto;
	}

	.cookie-dialog form {
		padding: 20px;
	}

	.cookie-dialog__actions {
		flex-direction: column;
	}

	.cookie-dialog__actions .btn {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.container {
		padding: 0 14px;
	}

	.hero__facts {
		gap: 8px;
	}

	.hero__facts li {
		padding: 11px 12px;
	}

	.hero__facts strong {
		font-size: 0.95rem;
	}

	.hero__facts span {
		font-size: 0.7rem;
	}

	.btn-lg {
		padding: 13px 18px;
		font-size: 0.92rem;
	}

	.side-card__phone {
		font-size: 1.3rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
