/* =========================================================
   Snowbars Theme — Main CSS
   ========================================================= */

/* ── Variables ─────────────────────────────────────────── */
:root {
	--sbt-primary:       #1565c0;
	--sbt-primary-dark:  #0d2d5e;
	--sbt-primary-light: #e3f2fd;
	--sbt-accent:        #29b6f6;
	--sbt-accent-dark:   #0288d1;
	--sbt-accent-glow:   rgba(41,182,246,.35);
	--sbt-navy:          #1a3868;
	--sbt-text:          #1a1a2e;
	--sbt-muted:         #546e7a;
	--sbt-border:        #cfd8dc;
	--sbt-bg:            #f5f7fa;
	--sbt-white:         #ffffff;
	--sbt-radius:        8px;
	--sbt-radius-lg:     16px;
	--sbt-shadow:        0 2px 12px rgba(0,0,0,.08);
	--sbt-shadow-hover:  0 6px 24px rgba(0,0,0,.14);
	--sbt-header-h:      84px;
	--sbt-transition:    .2s ease;
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUpIn {
	from { opacity: 0; transform: translateY(32px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmerSlide {
	0%   { background-position: -200% center; }
	100% { background-position: 200% center; }
}
@keyframes floatY {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-8px); }
}
@keyframes pulseGlow {
	0%, 100% { box-shadow: 0 0 0 0 var(--sbt-accent-glow); }
	50%       { box-shadow: 0 0 0 10px transparent; }
}
@keyframes mountainPulse {
	0%, 100% { opacity: .6; }
	50%       { opacity: 1; }
}

/* Scroll-reveal utility */
.anim-fade-up {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .6s ease, transform .6s ease;
}
.anim-fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.anim-fade-up:nth-child(2) { transition-delay: .12s; }
.anim-fade-up:nth-child(3) { transition-delay: .24s; }
.anim-fade-up:nth-child(4) { transition-delay: .36s; }
.anim-fade-up:nth-child(5) { transition-delay: .48s; }
.anim-fade-up:nth-child(6) { transition-delay: .60s; }

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--sbt-text);
	background: var(--sbt-bg);
}
a { color: var(--sbt-primary); text-decoration: none; }
a:hover { color: var(--sbt-primary-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
html { overflow-x: hidden; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .5em; line-height: 1.25; color: var(--sbt-text); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.site-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.site-main { flex: 1; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	border-radius: var(--sbt-radius);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background var(--sbt-transition), border-color var(--sbt-transition),
	            color var(--sbt-transition), box-shadow var(--sbt-transition),
	            transform var(--sbt-transition);
	white-space: nowrap;
	text-decoration: none !important;
	position: relative;
	overflow: hidden;
}
.btn-primary {
	background: linear-gradient(135deg, var(--sbt-primary) 0%, #1976d2 100%);
	color: var(--sbt-white);
}
.btn-primary:hover {
	background: linear-gradient(135deg, var(--sbt-primary-dark) 0%, var(--sbt-primary) 100%);
	color: var(--sbt-white);
	box-shadow: 0 6px 20px rgba(21,101,192,.4);
	transform: translateY(-2px);
}
.btn-primary::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.2) 50%, transparent 100%);
	background-size: 200% auto;
	opacity: 0;
	transition: opacity .2s;
}
.btn-primary:hover::after {
	opacity: 1;
	animation: shimmerSlide .8s linear;
}
.btn-accent {
	background: linear-gradient(135deg, var(--sbt-accent) 0%, var(--sbt-accent-dark) 100%);
	color: var(--sbt-white);
	animation: pulseGlow 2.5s ease infinite;
}
.btn-accent:hover {
	background: linear-gradient(135deg, var(--sbt-accent-dark) 0%, var(--sbt-accent) 100%);
	color: var(--sbt-white);
	box-shadow: 0 6px 24px var(--sbt-accent-glow);
	transform: translateY(-2px);
	animation: none;
}
.btn-outline {
	background: transparent;
	border-color: var(--sbt-white);
	color: var(--sbt-white);
}
.btn-outline:hover {
	background: var(--sbt-white);
	color: var(--sbt-primary);
	transform: translateY(-1px);
}
.btn-outline-primary {
	background: transparent;
	border-color: var(--sbt-primary);
	color: var(--sbt-primary);
}
.btn-outline-primary:hover {
	background: var(--sbt-primary);
	color: var(--sbt-white);
	transform: translateY(-1px);
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ── Section ────────────────────────────────────────────── */
.section {
	padding: 80px 0;
}
.section--gray { background: var(--sbt-bg); }
.section--white { background: var(--sbt-white); }
.section--primary {
	background: var(--sbt-primary);
	color: var(--sbt-white);
}
.section-header {
	text-align: center;
	margin-bottom: 56px;
}
.section-pretitle {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sbt-accent-dark);
	margin-bottom: 12px;
	padding: 4px 12px;
	background: rgba(41,182,246,.1);
	border-radius: 20px;
}
.section--primary .section-pretitle { color: rgba(255,255,255,.7); }
.section-title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 700;
	margin-bottom: 16px;
}
.section--primary .section-title { color: var(--sbt-white); }
.section-desc {
	font-size: 17px;
	color: var(--sbt-muted);
	max-width: 600px;
	margin: 0 auto;
}
.section--primary .section-desc { color: rgba(255,255,255,.8); }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(255,255,255,.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--sbt-border);
	box-shadow: 0 1px 8px rgba(0,0,0,.05);
	transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled {
	background: rgba(255,255,255,.99);
	box-shadow: 0 4px 24px rgba(26,56,104,.12);
	border-bottom-color: var(--sbt-accent);
}
.header-inner {
	display: flex;
	align-items: center;
	height: var(--sbt-header-h);
	gap: 24px;
}

/* ── Logo ── */
.site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
	flex-shrink: 0;
	min-width: 0;
}
.site-logo__img {
	display: block;
	max-height: 72px;
	max-width: 220px;
	width: auto;
	height: auto;
	flex-shrink: 0;
}
/* Когда логотип-картинка загружен — текст рядом не нужен (он уже в логотипе) */
.site-logo__img + .site-logo__text { display: none; }
.site-logo__icon {
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, var(--sbt-navy), var(--sbt-accent));
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sbt-white);
	font-size: 22px;
	font-weight: 900;
	font-style: italic;
	flex-shrink: 0;
}
.site-logo__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.site-logo__name {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.3px;
	background: linear-gradient(100deg, var(--sbt-navy) 30%, var(--sbt-accent-dark) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	white-space: nowrap;
}
.site-logo__tagline {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sbt-muted);
	-webkit-text-fill-color: var(--sbt-muted);
	white-space: nowrap;
}

/* ── Navigation ── */
.site-nav { flex: 1; }
.nav-menu {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	display: flex;
	align-items: center;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--sbt-text);
	border-radius: var(--sbt-radius);
	transition: color var(--sbt-transition), background var(--sbt-transition);
	text-decoration: none !important;
	white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
	color: var(--sbt-primary);
	background: var(--sbt-primary-light);
}
.nav-menu li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 0; height: 0;
	margin-left: 5px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: .6;
}
/* Dropdown */
.nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	background: var(--sbt-white);
	border: 1px solid var(--sbt-border);
	border-radius: var(--sbt-radius);
	box-shadow: 0 8px 32px rgba(26,56,104,.14);
	min-width: 220px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .2s, transform .2s, visibility .2s;
	z-index: 300;
	padding: 6px 0;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu .sub-menu li a {
	display: block;
	padding: 9px 18px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--sbt-text);
	transition: background var(--sbt-transition), color var(--sbt-transition);
	text-decoration: none !important;
}
.nav-menu .sub-menu li a:hover { background: var(--sbt-primary-light); color: var(--sbt-primary); }

/* Кнопка подменю — только на мобильном */
.submenu-toggle { display: none; }

/* ── Header actions (right block) ── */
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.header-phone {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--sbt-text);
	text-decoration: none !important;
	white-space: nowrap;
}
.header-phone svg { opacity: .6; flex-shrink: 0; }
.header-phone:hover { color: var(--sbt-primary); }
.btn-ghost {
	background: transparent;
	border: 1.5px solid var(--sbt-border);
	color: var(--sbt-text) !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.btn-ghost:hover {
	border-color: var(--sbt-primary);
	color: var(--sbt-primary) !important;
	background: var(--sbt-primary-light);
}
.btn-ghost svg { flex-shrink: 0; }

/* ── Burger ── */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	border: 1.5px solid var(--sbt-border);
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
	transition: border-color var(--sbt-transition), background var(--sbt-transition);
}
.nav-toggle:hover { border-color: var(--sbt-primary); background: var(--sbt-primary-light); }
.nav-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--sbt-text);
	border-radius: 2px;
	transition: transform .25s, opacity .25s, width .25s;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav overlay ── */
.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.45);
	z-index: 199;
	opacity: 0;
	transition: opacity .3s;
}
.nav-overlay.is-visible { display: block; opacity: 1; }

/* Кнопки в мобильном меню — скрыты на десктопе */
.mobile-nav-footer { display: none; }
.mobile-only-phone  { display: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
	background: linear-gradient(150deg, var(--sbt-navy) 0%, var(--sbt-primary) 55%, #1565c0 100%);
	color: var(--sbt-white);
	padding: 100px 0 110px;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 90% at 85% 40%, rgba(41,182,246,.12) 0%, transparent 65%),
		radial-gradient(ellipse 40% 60% at 10% 70%, rgba(255,255,255,.04) 0%, transparent 60%),
		url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}
/* Mountain silhouette */
.hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 80px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80L0 55L120 20L200 45L300 5L420 38L520 0L640 35L720 15L820 50L940 8L1060 42L1160 18L1280 48L1380 22L1440 40L1440 80Z' fill='rgba(255,255,255,0.07)'/%3E%3Cpath d='M0 80L0 65L180 38L280 58L400 25L540 55L660 28L760 50L880 20L1000 52L1120 30L1240 58L1340 35L1440 55L1440 80Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
	background-size: cover;
	pointer-events: none;
}
.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}
@media (min-width: 1024px) {
	.hero-inner {
		grid-template-columns: 1fr 380px;
	}
}

/* ── Hero visual card (right column) ── */
.hero-visual {
	display: none;
}
@media (min-width: 1024px) {
	.hero-visual {
		display: flex;
		flex-direction: column;
		gap: 16px;
		align-items: flex-end;
	}
}
.hcard {
	background: rgba(255,255,255,.12);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 20px;
	padding: 32px;
	color: var(--sbt-white);
	width: 100%;
}
.hcard__title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	opacity: .7;
	margin-bottom: 24px;
}
.hcard__steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 28px;
}
.hcard__step {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding-bottom: 20px;
	position: relative;
}
.hcard__step:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 15px;
	top: 32px;
	bottom: 0;
	width: 2px;
	background: rgba(255,255,255,.2);
}
.hcard__step-num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(41,182,246,.35);
	border: 2px solid rgba(41,182,246,.7);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	flex-shrink: 0;
	color: var(--sbt-accent);
}
.hcard__step-title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
}
.hcard__step-desc {
	font-size: 13px;
	opacity: .72;
	line-height: 1.5;
}
.hcard__cta {
	display: block;
	text-align: center;
}
.hero-badge {
	display: inline-block;
	background: rgba(41,182,246,.2);
	color: var(--sbt-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 30px;
	border: 1px solid rgba(41,182,246,.4);
	margin-bottom: 24px;
	animation: fadeUpIn .6s ease both;
}
.hero-title { animation: fadeUpIn .7s .1s ease both; }
.hero-subtitle { animation: fadeUpIn .7s .2s ease both; }
.hero-actions { animation: fadeUpIn .7s .3s ease both; }
.hero-stats { animation: fadeUpIn .7s .4s ease both; }
.hero-title {
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--sbt-white);
	margin-bottom: 20px;
}
.hero-title em {
	font-style: normal;
	color: var(--sbt-accent);
	text-shadow: 0 0 40px rgba(41,182,246,.4);
}
.hero-subtitle {
	font-size: 18px;
	line-height: 1.7;
	color: rgba(255,255,255,.85);
	margin-bottom: 40px;
	max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
	display: flex;
	gap: 40px;
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num {
	font-size: 2rem;
	font-weight: 800;
	color: var(--sbt-white);
	line-height: 1;
	margin-bottom: 4px;
}
.hero-stat-label {
	font-size: 13px;
	color: rgba(255,255,255,.7);
}

/* ── Services grid ──────────────────────────────────────── */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.service-card {
	background: var(--sbt-white);
	border: 1px solid var(--sbt-border);
	border-radius: var(--sbt-radius-lg);
	padding: 32px 28px;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}
.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sbt-navy), var(--sbt-accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s ease;
}
.service-card:hover {
	box-shadow: 0 12px 40px rgba(26,56,104,.15);
	transform: translateY(-6px);
	border-color: rgba(41,182,246,.3);
}
.service-card:hover::before {
	transform: scaleX(1);
}
.service-card__icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--sbt-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	margin-bottom: 20px;
	flex-shrink: 0;
	transition: transform .3s ease;
}
.service-card:hover .service-card__icon {
	animation: floatY 2s ease infinite;
}
.service-card__title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
}
.service-card__desc {
	font-size: 14.5px;
	color: var(--sbt-muted);
	flex: 1;
	margin-bottom: 20px;
}
.service-card__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--sbt-primary);
	display: flex;
	align-items: center;
	gap: 4px;
	text-decoration: none !important;
}
.service-card__link:hover { color: var(--sbt-primary-dark); text-decoration: underline !important; }
.service-card__link::after { content: '→'; }

/* ── Steps ──────────────────────────────────────────────── */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}
.step {
	text-align: center;
	position: relative;
}
.step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 28px;
	left: calc(50% + 32px);
	right: calc(-50% + 32px);
	height: 2px;
	background: linear-gradient(90deg, var(--sbt-accent), var(--sbt-border));
}
.step__num {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sbt-navy), var(--sbt-primary));
	color: var(--sbt-white);
	font-size: 22px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	position: relative;
	z-index: 1;
	box-shadow: 0 4px 16px rgba(21,101,192,.35);
	transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover .step__num {
	transform: scale(1.1);
	box-shadow: 0 6px 24px rgba(41,182,246,.45);
}
.step__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step__desc { font-size: 14px; color: var(--sbt-muted); }

/* ── Quick actions (CTA row) ────────────────────────────── */
.quick-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.quick-card {
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: var(--sbt-radius-lg);
	padding: 32px 28px;
	text-align: center;
	transition: background .3s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.quick-card:hover {
	background: rgba(255,255,255,.18);
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(0,0,0,.2);
	border-color: rgba(41,182,246,.5);
}
.quick-card__icon { font-size: 36px; margin-bottom: 14px; }
.quick-card__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--sbt-white);
	margin-bottom: 8px;
}
.quick-card__desc {
	font-size: 14px;
	color: rgba(255,255,255,.75);
	margin-bottom: 20px;
}

/* ── Features / Why us ──────────────────────────────────── */
.features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.feature-item__icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(41,182,246,.15), rgba(21,101,192,.15));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
	transition: transform .3s ease;
}
.feature-item:hover .feature-item__icon { transform: scale(1.1) rotate(-5deg); }
.feature-item__title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.feature-item__desc { font-size: 14px; color: var(--sbt-muted); }
.features-image {
	border-radius: var(--sbt-radius-lg);
	overflow: hidden;
	background: var(--sbt-primary-light);
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 80px;
}
.features-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero {
	background: linear-gradient(135deg, var(--sbt-navy) 0%, var(--sbt-primary) 100%);
	color: var(--sbt-white);
	padding: 56px 0 48px;
	position: relative;
	overflow: hidden;
}
.page-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--sbt-accent), var(--sbt-navy), var(--sbt-accent));
	background-size: 200% auto;
	animation: shimmerSlide 3s linear infinite;
}
.page-hero__title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 800;
	color: var(--sbt-white);
	margin-bottom: 8px;
}
.page-hero__breadcrumb {
	font-size: 14px;
	color: rgba(255,255,255,.7);
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero__breadcrumb a:hover { color: var(--sbt-white); }

/* ── Generic page content ───────────────────────────────── */
.page-body { padding: 64px 0; }
.page-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	align-items: start;
}
.entry-content {
	font-size: 16px;
	line-height: 1.85;
	color: var(--sbt-text);
}

/* Параграфы */
.entry-content p { margin: 0 0 1.25em; }
.entry-content p:last-child { margin-bottom: 0; }

/* Лид-абзац */
.entry-content > p:first-of-type {
	font-size: 1.08rem;
	color: var(--sbt-navy);
	font-weight: 500;
	border-left: 4px solid var(--sbt-accent);
	padding-left: 16px;
	margin-bottom: 1.5em;
}

/* Заголовки */
.entry-content h2 {
	font-size: 1.5rem;
	font-weight: 800;
	margin: 1.8em 0 .6em;
	color: var(--sbt-navy);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--sbt-primary-light);
}
.entry-content h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 1.4em 0 .5em;
	color: var(--sbt-text);
}
.entry-content h4 {
	font-size: 1rem;
	font-weight: 700;
	margin: 1.2em 0 .4em;
	color: var(--sbt-muted);
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: .875rem;
}

/* Нумерованный список — кастомные кружки */
.entry-content ol {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5em;
	counter-reset: sb-ol;
}
.entry-content ol li {
	counter-increment: sb-ol;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 1em;
	padding: 16px 20px;
	background: var(--sbt-white);
	border: 1px solid var(--sbt-border);
	border-radius: var(--sbt-radius);
	transition: box-shadow .2s ease, border-color .2s ease;
}
.entry-content ol li:hover {
	box-shadow: var(--sbt-shadow);
	border-color: rgba(41,182,246,.3);
}
.entry-content ol li::before {
	content: counter(sb-ol);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sbt-navy), var(--sbt-primary));
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 1px;
}

/* Маркированный список */
.entry-content ul {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5em;
}
.entry-content ul li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: .7em;
	padding: 0;
}
.entry-content ul li::before {
	content: '';
	display: block;
	min-width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sbt-accent);
	margin-top: 8px;
	flex-shrink: 0;
}

/* Жирный текст и акцент */
.entry-content strong { color: var(--sbt-navy); font-weight: 700; }
.entry-content em { color: var(--sbt-primary); font-style: normal; font-weight: 600; }
.entry-content a { color: var(--sbt-primary); text-decoration: underline; }
.entry-content a:hover { color: var(--sbt-navy); }

/* Цитата */
.entry-content blockquote {
	border-left: 4px solid var(--sbt-accent);
	margin: 1.5em 0;
	padding: 20px 24px;
	background: linear-gradient(135deg, rgba(41,182,246,.06), rgba(21,101,192,.04));
	border-radius: 0 var(--sbt-radius) var(--sbt-radius) 0;
	font-size: 1.05rem;
	color: var(--sbt-navy);
}
.entry-content blockquote p { margin: 0; }

/* HR */
.entry-content hr {
	border: none;
	border-top: 2px solid var(--sbt-primary-light);
	margin: 2em 0;
}

/* Таблица */
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; border-radius: var(--sbt-radius); overflow: hidden; }
.entry-content th, .entry-content td {
	border: 1px solid var(--sbt-border);
	padding: 12px 16px;
	text-align: left;
	font-size: 15px;
}
.entry-content th {
	background: linear-gradient(135deg, var(--sbt-navy), var(--sbt-primary));
	color: #fff;
	font-weight: 700;
	border-color: transparent;
}
.entry-content tbody tr:nth-child(even) td { background: var(--sbt-primary-light); }
.entry-content tbody tr:hover td { background: rgba(41,182,246,.08); }

/* Page sidebar */
.page-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
	background: var(--sbt-white);
	border: 1px solid var(--sbt-border);
	border-radius: var(--sbt-radius-lg);
	padding: 24px;
}
.sidebar-widget__title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--sbt-text);
}
.sidebar-cta {
	background: linear-gradient(135deg, var(--sbt-navy), var(--sbt-primary));
	color: var(--sbt-white);
	text-align: center;
	position: sticky;
	top: calc(var(--sbt-header-h) + 16px);
}
.sidebar-cta .sidebar-widget__title { color: var(--sbt-white); font-size: 18px; }
.sidebar-cta p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 20px; }
.contact-block { display: flex; flex-direction: column; gap: 12px; }
.contact-block a {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 14px;
	color: var(--sbt-text);
	text-decoration: none !important;
}
.contact-block a:hover { color: var(--sbt-primary); }
.contact-block__icon {
	width: 32px;
	height: 32px;
	background: var(--sbt-primary-light);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	flex-shrink: 0;
}

/* ── Service page layout ────────────────────────────────── */
.svc-hero__inner { max-width: 700px; }
.svc-hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 28px;
}
.svc-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
	align-items: start;
}
.svc-content {
	min-width: 0;
}

/* CTA band */
.svc-cta-band {
	background: linear-gradient(135deg, var(--sbt-primary-dark) 0%, var(--sbt-primary) 100%);
	padding: 56px 0;
	margin-top: 0;
}
.svc-cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.svc-cta-band__title {
	font-size: clamp(1.3rem, 2.5vw, 1.9rem);
	font-weight: 800;
	color: #fff;
	margin-bottom: 8px;
}
.svc-cta-band__sub {
	color: rgba(255,255,255,.8);
	font-size: 15px;
	margin: 0;
}
.svc-cta-band__btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	flex-shrink: 0;
}

/* Sidebar: список услуг */
.svc-sidebar-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.svc-sidebar-links a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: var(--sbt-radius);
	color: var(--sbt-text);
	text-decoration: none;
	font-size: 14px;
	transition: background var(--sbt-transition), color var(--sbt-transition);
}
.svc-sidebar-links a:hover {
	background: var(--sbt-primary-light);
	color: var(--sbt-primary);
}
.svc-sidebar-links svg { color: var(--sbt-primary); flex-shrink: 0; }

@media (max-width: 900px) {
	.svc-layout { grid-template-columns: 1fr; }
	.svc-layout .page-sidebar { order: -1; }
	.svc-cta-band__inner { flex-direction: column; text-align: center; }
	.svc-cta-band__btns { justify-content: center; }
}

/* ── Staff page ─────────────────────────────────────────── */
.staff-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 32px;
	padding: 8px 0 64px;
}
.staff-card {
	background: var(--sbt-white);
	border: 1px solid var(--sbt-border);
	border-radius: var(--sbt-radius-lg);
	overflow: hidden;
	box-shadow: var(--sbt-shadow);
	display: flex;
	flex-direction: column;
	transition: box-shadow var(--sbt-transition), transform var(--sbt-transition);
}
.staff-card:hover {
	box-shadow: var(--sbt-shadow-hover);
	transform: translateY(-3px);
}

/* Фото */
.staff-card__photo {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--sbt-primary-light);
	position: relative;
}
.staff-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}
.staff-card__no-photo {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sbt-primary);
	opacity: .4;
}

/* Имя и должность */
.staff-card__info {
	padding: 20px 24px 0;
}
.staff-card__name {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--sbt-text);
	margin: 0 0 4px;
}
.staff-card__position {
	font-size: 14px;
	color: var(--sbt-primary);
	font-weight: 600;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: .04em;
}

/* Обращение */
.staff-card__message {
	margin: 16px 24px 24px;
	padding: 16px 18px;
	background: var(--sbt-bg);
	border-radius: var(--sbt-radius);
	border-left: 3px solid var(--sbt-accent);
	position: relative;
	flex: 1;
}
.staff-card__quote-icon {
	color: var(--sbt-accent);
	opacity: .5;
	width: 20px;
	height: 20px;
	margin-bottom: 8px;
	display: block;
}
.staff-card__message-text {
	font-size: 14px;
	line-height: 1.7;
	color: var(--sbt-muted);
}
.staff-card__message-text p { margin: 0 0 .75em; }
.staff-card__message-text p:last-child { margin: 0; }

@media (max-width: 640px) {
	.staff-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Cities grid (contacts) ─────────────────────────────── */
.cities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}
.city-card {
	background: var(--sbt-white);
	border: 1px solid var(--sbt-border);
	border-radius: var(--sbt-radius-lg);
	padding: 24px;
	box-shadow: var(--sbt-shadow);
	transition: box-shadow var(--sbt-transition), transform var(--sbt-transition);
}
.city-card:hover {
	box-shadow: var(--sbt-shadow-hover);
	transform: translateY(-2px);
}
.city-card__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.city-card__pin { color: var(--sbt-primary); flex-shrink: 0; }
.city-card__name {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--sbt-text);
	margin: 0;
}
.city-card__address {
	font-size: 14px;
	color: var(--sbt-muted);
	margin: 0 0 14px;
	padding-left: 30px;
}
.city-card__phones {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 30px;
}
.city-card__phone {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sbt-text);
	text-decoration: none;
	transition: color var(--sbt-transition);
}
.city-card__phone svg { color: var(--sbt-accent); flex-shrink: 0; }
.city-card__phone:hover { color: var(--sbt-primary); }

@media (max-width: 640px) {
	.cities-grid { grid-template-columns: 1fr; }
}

/* ── Contacts page ──────────────────────────────────────── */
.contacts-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 48px;
	align-items: start;
}
.contacts-info { display: flex; flex-direction: column; gap: 28px; }
.contacts-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contacts-info-item__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--sbt-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}
.contacts-info-item__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--sbt-muted);
	margin-bottom: 4px;
}
.contacts-info-item__value {
	font-size: 16px;
	font-weight: 600;
	color: var(--sbt-text);
}
.contacts-info-item__value a { color: var(--sbt-text); text-decoration: none !important; }
.contacts-info-item__value a:hover { color: var(--sbt-primary); }
.contacts-map-wrap {
	border-radius: var(--sbt-radius-lg);
	overflow: hidden;
	border: 1px solid var(--sbt-border);
}
.contacts-map-wrap iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: none;
}
.contacts-map-placeholder {
	width: 100%;
	height: 400px;
	background: var(--sbt-primary-light);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: var(--sbt-muted);
	font-size: 48px;
}
.contacts-map-placeholder span { font-size: 15px; font-size: 15px; }

/* ── Vacancies ──────────────────────────────────────────── */
.vacancy-list { display: flex; flex-direction: column; gap: 20px; }
.vacancy-item {
	background: var(--sbt-white);
	border: 1px solid var(--sbt-border);
	border-radius: var(--sbt-radius-lg);
	padding: 28px 32px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	transition: box-shadow var(--sbt-transition);
}
.vacancy-item:hover { box-shadow: var(--sbt-shadow); }
.vacancy-item__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.vacancy-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 30px;
	background: var(--sbt-primary-light);
	color: var(--sbt-primary);
}
.vacancy-item__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.vacancy-item__desc { font-size: 14px; color: var(--sbt-muted); }
.vacancy-item__side { flex-shrink: 0; }

/* ── Vacancy apply form ─────────────────────────────────── */
.vacancy-form-wrap {
	background: #f8f9fa;
	border: 1px solid var(--sbt-border);
	border-radius: var(--sbt-radius-lg);
	padding: 24px;
	margin-top: -12px;
}
.vacancy-form__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
@media (max-width: 600px) {
	.vacancy-form__fields { grid-template-columns: 1fr; }
}
.vacancy-form__field { display: flex; flex-direction: column; gap: 6px; }
.vacancy-form__field label { font-size: 13px; font-weight: 600; color: var(--sbt-text); }
.vacancy-form__field input,
.vacancy-form__field textarea {
	padding: 10px 14px;
	border: 1.5px solid var(--sbt-border);
	border-radius: var(--sbt-radius);
	font-size: 15px;
	font-family: inherit;
	background: #fff;
	transition: border-color .2s;
	width: 100%;
	box-sizing: border-box;
}
.vacancy-form__field input:focus,
.vacancy-form__field textarea:focus {
	outline: none;
	border-color: var(--sbt-primary);
}
.vacancy-form__field textarea { resize: vertical; }

/* ── Documents ──────────────────────────────────────────── */
.doc-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
.doc-item {
	background: var(--sbt-white);
	border: 1px solid var(--sbt-border);
	border-radius: var(--sbt-radius-lg);
	padding: 20px 24px;
	display: flex;
	gap: 16px;
	align-items: center;
	transition: box-shadow var(--sbt-transition), border-color var(--sbt-transition);
	text-decoration: none !important;
	color: var(--sbt-text);
}
.doc-item:hover {
	box-shadow: var(--sbt-shadow);
	border-color: var(--sbt-primary);
	color: var(--sbt-primary);
}
.doc-item__icon {
	width: 44px;
	height: 44px;
	background: var(--sbt-primary-light);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}
.doc-item__name { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.doc-item__meta { font-size: 12px; color: var(--sbt-muted); }

/* ── Service page ───────────────────────────────────────── */
.service-page-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
	margin-bottom: 56px;
}
.service-features-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.service-features-list li {
	display: flex;
	gap: 10px;
	font-size: 15px;
	align-items: flex-start;
}
.service-features-list li::before {
	content: '✓';
	color: var(--sbt-primary);
	font-weight: 800;
	flex-shrink: 0;
}
.service-page-image {
	border-radius: var(--sbt-radius-lg);
	background: linear-gradient(135deg, var(--sbt-primary-light), #bbdefb);
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 80px;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
	background: linear-gradient(180deg, var(--sbt-navy) 0%, #0d1420 100%);
	color: rgba(255,255,255,.75);
	margin-top: auto;
	border-top: 3px solid var(--sbt-accent);
}
.footer-top { padding: 64px 0 48px; }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
}
.footer-col__title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--sbt-white);
	margin-bottom: 20px;
}
.footer-brand { }
.footer-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	text-decoration: none !important;
}
.footer-logo__icon {
	width: 36px;
	height: 36px;
	background: var(--sbt-primary);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sbt-white);
	font-size: 18px;
	font-weight: 800;
	font-style: italic;
}
.footer-logo__text {
	font-size: 18px;
	font-weight: 800;
	color: var(--sbt-white);
	letter-spacing: -.5px;
}
.footer-tagline { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255,255,255,.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: var(--sbt-white);
	text-decoration: none !important;
	transition: background var(--sbt-transition);
}
.social-link:hover { background: var(--sbt-accent); color: var(--sbt-white); transform: translateY(-2px); }
.social-link { transition: background var(--sbt-transition), transform var(--sbt-transition); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
	font-size: 14px;
	color: rgba(255,255,255,.65);
	text-decoration: none !important;
	transition: color var(--sbt-transition);
}
.footer-nav a:hover { color: var(--sbt-white); }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
}
.footer-contact-item__icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: rgba(255,255,255,.65); text-decoration: none !important; }
.footer-contact-item a:hover { color: var(--sbt-white); }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding: 20px 0;
}
.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none !important; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── Shortcode page (courier/calc/tracking) ─────────────── */
.shortcode-page-wrap { padding: 64px 0; }
.shortcode-inner { background: var(--sbt-white); border-radius: var(--sbt-radius-lg); padding: 40px; box-shadow: var(--sbt-shadow); }

/* ── 404 ─────────────────────────────────────────────────── */
.error-404-wrap {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 80px 24px;
}
.error-404-num {
	font-size: 10rem;
	font-weight: 900;
	color: var(--sbt-primary-light);
	line-height: 1;
	margin-bottom: 8px;
}
.error-404-title { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.error-404-desc { font-size: 16px; color: var(--sbt-muted); margin-bottom: 32px; }

/* ── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.mb-0 { margin-bottom: 0 !important; }
.sr-only {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.steps-grid { grid-template-columns: repeat(2, 1fr); }
	.steps-grid .step:nth-child(2)::after { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.features-grid { grid-template-columns: 1fr; }
	.features-image { min-height: 220px; }
	.service-page-grid { grid-template-columns: 1fr; }
	.service-page-image { min-height: 220px; }
	.page-layout { grid-template-columns: 1fr; }
	.page-layout .page-sidebar { display: none; } /* hide sidebar on mobile */
}
@media (max-width: 900px) {
	.contacts-grid { grid-template-columns: 1fr; }
	.doc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.header-phone { display: none; }
}
@media (max-width: 768px) {
	.nav-toggle { display: flex; }
	.site-nav, .header-actions { display: none; }
	html.nav-open { overflow-y: hidden; }

	/* Хедер на мобильном — только логотип + бургер */
	.header-inner { gap: 12px; }
	.site-logo {
		flex: 0 1 auto;
		min-width: 0;
		max-width: calc(100vw - 80px);
	}
	.site-logo__img {
		max-height: 52px !important;
		max-width: 160px !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain;
	}
	/* Скрываем текст рядом с логотипом принудительно */
	.site-logo__text { display: none !important; }

	/* Открытое мобильное меню — ниже хедера, слайд справа */
	.site-nav.is-open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		right: 0;
		height: calc(100vh - var(--sbt-header-h));
		height: calc(100dvh - var(--sbt-header-h));
		width: min(300px, 88vw);
		background: var(--sbt-white);
		overflow-y: auto;
		z-index: 10;
		padding: 0;
		box-shadow: -6px 0 32px rgba(26,56,104,.18);
		animation: slideInRight .25s ease;
	}
	@keyframes slideInRight {
		from { transform: translateX(100%); }
		to   { transform: translateX(0); }
	}

	.site-nav.is-open .nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px 0;
		flex: 1;
	}
	.site-nav.is-open .nav-menu > li > a {
		padding: 13px 24px;
		font-size: 15px;
		border-radius: 0;
		border-bottom: 1px solid rgba(0,0,0,.05);
	}
	/* Стрелка через ::after скрыта на мобильном — используем кнопку .submenu-toggle */
	.nav-menu li.menu-item-has-children > a::after {
		display: none;
	}

	/* Кнопка-стрелка для открытия подменю */
	.submenu-toggle {
		display: flex;
		position: absolute;
		right: 0;
		top: 0;
		width: 52px;
		height: 48px;
		background: none;
		border: none;
		cursor: pointer;
		align-items: center;
		justify-content: center;
		color: var(--sbt-muted);
		transition: color var(--sbt-transition), transform var(--sbt-transition);
		padding: 0;
		z-index: 1;
	}
	.submenu-toggle:hover { color: var(--sbt-primary); }
	.menu-item-has-children { position: relative; }
	.menu-item-has-children > a { padding-right: 52px !important; }

	/* Стрелка поворачивается при открытии */
	.menu-item-has-children.submenu-open > .submenu-toggle {
		transform: rotate(180deg);
		color: var(--sbt-primary);
	}

	/* Подменю скрыто по умолчанию, показывается по классу */
	.site-nav.is-open .sub-menu {
		position: static;
		opacity: 0;
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
		transition: opacity .2s, max-height .25s ease, visibility .2s;
		transform: none;
		box-shadow: none;
		border: none;
		background: var(--sbt-bg);
		padding: 4px 0 4px 16px;
		min-width: 0;
	}
	/* Открытое подменю */
	.site-nav.is-open .menu-item-has-children.submenu-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		max-height: 600px;
	}

	.site-nav.is-open .sub-menu li a {
		padding: 10px 24px;
		font-size: 14px;
		border-bottom: 1px solid rgba(0,0,0,.04);
	}

	/* Нижний блок мобильного меню — телефон + кнопки */
	.site-nav.is-open .mobile-nav-footer {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 20px 20px 32px;
		border-top: 1px solid var(--sbt-border);
		margin-top: auto;
	}
	.site-nav.is-open .mobile-nav-footer .mobile-only-phone {
		display: flex;
		font-size: 16px;
		font-weight: 700;
		color: var(--sbt-text);
		text-decoration: none;
	}
	.site-nav.is-open .mobile-nav-footer .btn {
		text-align: center;
		justify-content: center;
		width: 100%;
	}

	.hero { padding: 60px 0 50px; }
	.hero-stats { gap: 24px; flex-wrap: wrap; }
	.section { padding: 56px 0; }
	.quick-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-top { padding: 40px 0 32px; }
	.vacancy-item { flex-direction: column; }
	.shortcode-inner { padding: 24px; }
}
@media (max-width: 480px) {
	.services-grid { grid-template-columns: 1fr; }
	.steps-grid { grid-template-columns: 1fr; }
	.step::after { display: none; }
	.hero-actions { flex-direction: column; }
	.hero-actions .btn { text-align: center; justify-content: center; }
	.error-404-num { font-size: 6rem; }
}
