:root {
	--brand: #2c2559;
	--brand-dark: #1b173b;
	--brand-soft: #eeeafa;
	--accent: #d11a19;
	--accent-dark: #a81212;
	--ink: #201f2d;
	--muted: #676579;
	--line: #e8e6ef;
	--paper: #ffffff;
	--surface: #f7f6fb;
	--success: #16a765;
	--shadow: 0 18px 50px rgba(44, 37, 89, 0.12);
	--radius: 22px;
	--container: 1180px;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color-scheme: light;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 9999;
	transform: translateY(-160%);
	padding: 10px 14px;
	border-radius: 10px;
	background: #fff;
	color: var(--brand);
	font-weight: 800;
}

.skip-link:focus {
	transform: none;
}

.preloader {
	position: fixed;
	inset: 0;
	z-index: 9998;
	display: grid;
	place-items: center;
	background: linear-gradient(145deg, var(--brand-dark), var(--brand));
	transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.preloader__logo {
	width: min(68vw, 340px);
	filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.22));
	animation: preloaderSpin 1s cubic-bezier(.2, .8, .3, 1) both;
}

@keyframes preloaderSpin {
	0% { transform: scale(0.28) rotate(-540deg); opacity: 0; }
	75% { transform: scale(1.08) rotate(12deg); opacity: 1; }
	100% { transform: scale(1) rotate(0); opacity: 1; }
}

.topbar {
	background: var(--brand-dark);
	color: #fff;
	font-size: 0.9rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 42px;
}

.topbar__items {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

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

.topbar__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 5px rgba(209, 26, 25, 0.18);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(44, 37, 89, 0.08);
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 12px 35px rgba(44, 37, 89, 0.1);
}

.header__inner {
	display: grid;
	grid-template-columns: 210px 1fr auto;
	align-items: center;
	gap: 22px;
	min-height: 88px;
}

.brand-logo img {
	width: 205px;
	max-height: 74px;
	height: auto;
	object-fit: contain;
}

.main-nav > ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav li {
	position: relative;
}

.main-nav a,
.nav-submenu-button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 12px 13px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-weight: 750;
	cursor: pointer;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.nav-submenu-button:hover {
	color: var(--accent);
}

.nav-caret {
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.submenu {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	z-index: 20;
	width: 280px;
	margin: 0;
	padding: 10px;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition: 0.22s ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.submenu a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 0.94rem;
}

.submenu a:hover {
	background: var(--brand-soft);
}

.header-phone {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px 16px;
	border-radius: 16px;
	background: var(--brand);
	color: #fff;
	box-shadow: 0 10px 24px rgba(44, 37, 89, 0.2);
}

.header-phone__icon {
	display: grid;
	place-items: center;
	width: 39px;
	height: 39px;
	border-radius: 50%;
	background: var(--accent);
	font-size: 1.15rem;
}

.header-phone small,
.header-phone strong {
	display: block;
}

.header-phone small {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.72rem;
	line-height: 1.2;
}

.header-phone strong {
	font-size: 1.08rem;
	line-height: 1.35;
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 13px;
	background: var(--brand);
	color: #fff;
	cursor: pointer;
}

.hero {
	position: relative;
	min-height: min(760px, calc(100vh - 130px));
	display: grid;
	align-items: center;
	isolation: isolate;
	overflow: hidden;
	background: var(--brand-dark);
	color: #fff;
}

.hero__image,
.hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero__image {
	z-index: -3;
	object-fit: cover;
	object-position: center;
}

.hero__overlay {
	z-index: -2;
	background: linear-gradient(90deg, rgba(21, 17, 54, 0.96) 0%, rgba(44, 37, 89, 0.86) 38%, rgba(44, 37, 89, 0.22) 72%, rgba(20, 18, 36, 0.1) 100%);
}

.hero__content {
	max-width: 700px;
	padding-block: 95px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 18px;
	color: var(--accent);
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 0.84rem;
}

.hero .eyebrow {
	color: #ff6b6b;
}

.eyebrow::before {
	content: "";
	width: 32px;
	height: 3px;
	border-radius: 99px;
	background: currentColor;
}

.hero h1 {
	max-width: 780px;
	margin: 0 0 22px;
	font-size: clamp(2.75rem, 7vw, 5.85rem);
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.hero h1 span {
	color: #ff5655;
}

.hero__lead {
	max-width: 650px;
	margin: 0 0 28px;
	color: rgba(255, 255, 255, 0.85);
	font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero__chips {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.hero__chips li {
	padding: 8px 13px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 0.88rem;
	font-weight: 750;
}

.button-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 13px 22px;
	border: 2px solid transparent;
	border-radius: 14px;
	font-weight: 850;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--accent {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 13px 28px rgba(209, 26, 25, 0.34);
}

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

.btn--brand {
	background: var(--brand);
	color: #fff;
	box-shadow: 0 13px 28px rgba(44, 37, 89, 0.25);
}

.btn--light {
	border-color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	backdrop-filter: blur(7px);
}

.btn--outline {
	border-color: var(--brand);
	color: var(--brand);
	background: transparent;
}

.btn--pulse {
	animation: buttonPulse 1.8s ease-in-out infinite;
}

@keyframes buttonPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.055); }
}

.trust-strip {
	position: relative;
	z-index: 3;
	margin-top: -38px;
}

.trust-strip__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 15px;
	min-height: 112px;
	padding: 24px 28px;
	border-right: 1px solid var(--line);
}

.trust-item:last-child {
	border-right: 0;
}

.trust-item__icon {
	display: grid;
	place-items: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--brand-soft);
	color: var(--brand);
	font-size: 1.35rem;
}

.trust-item__icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.trust-item strong,
.trust-item span {
	display: block;
}

.trust-item span {
	color: var(--muted);
	font-size: 0.9rem;
}

.section {
	padding-block: 90px;
}

.section--soft {
	background: var(--surface);
}

.section--dark {
	background: linear-gradient(145deg, var(--brand-dark), var(--brand));
	color: #fff;
}

.section-heading {
	max-width: 740px;
	margin: 0 auto 42px;
	text-align: center;
}

.section-heading h2,
.page-hero h1,
.content h1,
.content h2,
.content h3 {
	text-wrap: balance;
}

.section-heading h2 {
	margin: 0 0 14px;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.section-heading p {
	margin: 0;
	color: var(--muted);
}

.section--dark .section-heading p {
	color: rgba(255, 255, 255, 0.75);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 8px 30px rgba(44, 37, 89, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
	transform: translateY(-7px);
	border-color: rgba(209, 26, 25, 0.32);
	box-shadow: var(--shadow);
}

.service-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 22px;
	border-radius: 16px;
	background: var(--brand-soft);
	color: var(--brand);
	font-size: 1.55rem;
}

.service-card h3 {
	margin: 0 0 10px;
	font-size: 1.3rem;
	line-height: 1.25;
}

.service-card p {
	margin: 0 0 20px;
	color: var(--muted);
}

.text-link {
	margin-top: auto;
	color: var(--accent);
	font-weight: 850;
}

.split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(36px, 7vw, 86px);
}

.split--reverse .split__media {
	order: 2;
}

.split__media {
	position: relative;
}

.split__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: var(--shadow);
}

.split__badge {
	position: absolute;
	right: -18px;
	bottom: 22px;
	max-width: 190px;
	padding: 18px;
	border-radius: 18px;
	background: var(--accent);
	color: #fff;
	box-shadow: 0 18px 35px rgba(209, 26, 25, 0.3);
	font-weight: 800;
}

.split__content h2 {
	margin: 0 0 16px;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.07;
	letter-spacing: -0.04em;
}

.split__content p {
	color: var(--muted);
}

.check-list {
	display: grid;
	gap: 12px;
	margin: 24px 0 30px;
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 32px;
	font-weight: 700;
}

.check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 950;
}

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	counter-reset: step;
}

.step {
	counter-increment: step;
	padding: 24px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.step::before {
	content: "0" counter(step);
	display: inline-block;
	margin-bottom: 18px;
	color: #ff6b6b;
	font-size: 2rem;
	font-weight: 950;
}

.step h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
}

.step p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
}

.faq-list {
	display: grid;
	gap: 12px;
	max-width: 880px;
	margin-inline: auto;
}

.faq-list details {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(44, 37, 89, 0.04);
}

.faq-list summary {
	position: relative;
	padding: 20px 56px 20px 22px;
	font-weight: 820;
	cursor: pointer;
	list-style: none;
}

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

.faq-list summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--brand-soft);
	color: var(--brand);
	font-size: 1.25rem;
}

.faq-list details[open] summary::after {
	content: "−";
}

.faq-answer {
	padding: 0 22px 22px;
	color: var(--muted);
}

.cta-panel {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 30px;
	padding: clamp(30px, 6vw, 56px);
	border-radius: 28px;
	background: linear-gradient(135deg, var(--brand), var(--brand-dark));
	color: #fff;
	box-shadow: var(--shadow);
}

.cta-panel h2 {
	margin: 0 0 8px;
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.08;
}

.cta-panel p {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
}

.page-hero {
	position: relative;
	padding: 105px 0 80px;
	overflow: hidden;
	background: linear-gradient(140deg, var(--brand-dark), var(--brand));
	color: #fff;
}

.page-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -170px;
	width: 460px;
	height: 460px;
	border: 70px solid rgba(255, 255, 255, 0.05);
	border-radius: 50%;
}

.breadcrumb {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
}

.page-hero h1 {
	max-width: 900px;
	margin: 0 0 16px;
	font-size: clamp(2.4rem, 6vw, 5rem);
	line-height: 1;
	letter-spacing: -0.05em;
}

.page-hero p {
	max-width: 760px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.08rem;
}

.content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 46px;
	align-items: start;
}

.content {
	min-width: 0;
}

.content h2 {
	margin: 2.4rem 0 0.8rem;
	font-size: clamp(1.65rem, 3vw, 2.35rem);
	line-height: 1.16;
	letter-spacing: -0.03em;
}

.content h3 {
	margin: 1.8rem 0 0.7rem;
	font-size: 1.3rem;
	line-height: 1.25;
}

.content p,
.content li {
	color: #4f4d5f;
}

.content img {
	width: 100%;
	margin: 28px 0;
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.content > img {
	aspect-ratio: 16 / 10;
	max-height: 470px;
	object-fit: cover;
}

.content blockquote,
.note-box {
	margin: 28px 0;
	padding: 22px 24px;
	border-left: 5px solid var(--accent);
	border-radius: 0 16px 16px 0;
	background: var(--brand-soft);
	color: var(--brand-dark);
	font-weight: 700;
}

.sidebar {
	position: sticky;
	top: 120px;
	display: grid;
	gap: 18px;
}

.sidebar-card {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(44, 37, 89, 0.07);
}

.sidebar-card--accent {
	background: var(--accent);
	color: #fff;
}

.sidebar-card h3 {
	margin: 0 0 12px;
}

.sidebar-card p {
	margin: 0 0 18px;
	color: var(--muted);
}

.sidebar-card--accent p {
	color: rgba(255, 255, 255, 0.8);
}

.sidebar-links {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar-links a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--surface);
	font-weight: 700;
}

.sidebar-links a:hover {
	background: var(--brand-soft);
	color: var(--accent);
}

.blog-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 30px;
}

.blog-search {
	width: min(100%, 480px);
	min-height: 52px;
	padding: 12px 17px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
	color: var(--ink);
	outline: none;
}

.blog-search:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 4px rgba(44, 37, 89, 0.09);
}

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

.blog-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(44, 37, 89, 0.06);
	transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.blog-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.blog-card__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 11px;
	color: var(--accent);
	font-size: 0.8rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.blog-card h2,
.blog-card h3 {
	margin: 0 0 11px;
	font-size: 1.25rem;
	line-height: 1.28;
	letter-spacing: -0.02em;
}

.blog-card p {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 0.94rem;
}

.article-meta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin: 18px 0 30px;
	color: var(--muted);
	font-size: 0.9rem;
}

.article-lead {
	font-size: 1.16rem;
	color: #3d3a4f !important;
}

.share-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.share-row a {
	padding: 9px 13px;
	border-radius: 10px;
	background: var(--brand-soft);
	color: var(--brand);
	font-weight: 800;
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 36px;
}

.contact-cards {
	display: grid;
	gap: 16px;
}

.contact-card {
	padding: 24px;
	border-radius: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
}

.contact-card h3 {
	margin: 0 0 8px;
}

.contact-card p {
	margin: 0;
	color: var(--muted);
}

.contact-form {
	padding: clamp(24px, 5vw, 42px);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.field {
	display: grid;
	gap: 7px;
}

.field--full {
	grid-column: 1 / -1;
}

.field label {
	font-weight: 800;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	outline: none;
}

.field textarea {
	min-height: 130px;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 4px rgba(44, 37, 89, 0.08);
}

.form-note {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 0.85rem;
}

.site-footer {
	margin-top: 80px;
	background: var(--brand-dark);
	color: #fff;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 0.8fr);
	gap: 50px;
	padding-block: 65px;
}

.footer-logo {
	width: 230px;
	max-height: 100px;
	margin-bottom: 18px;
	object-fit: contain;
	object-position: left center;
}

.footer-about p,
.footer-column a,
.footer-column p {
	color: rgba(255, 255, 255, 0.7);
}

.footer-column h2,
.footer-column h3 {
	margin: 0 0 18px;
	font-size: 1.12rem;
}

.footer-column ul {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 66px;
	color: rgba(255, 255, 255, 0.64);
	font-size: 0.88rem;
}

.footer-bottom a {
	color: #fff;
	font-weight: 850;
}

.floating-actions {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 900;
	display: grid;
	gap: 12px;
}

.floating-action {
	position: relative;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
	animation: floatingPulse 2s ease-in-out infinite;
}

.floating-action--phone {
	background: var(--accent);
}

.floating-action--whatsapp {
	background: #25d366;
	animation-delay: 0.5s;
}

.floating-action svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.floating-action span {
	position: absolute;
	right: calc(100% + 11px);
	width: max-content;
	padding: 7px 10px;
	border-radius: 9px;
	background: var(--brand-dark);
	opacity: 0;
	visibility: hidden;
	transform: translateX(8px);
	transition: 0.2s ease;
	font-size: 0.8rem;
	font-weight: 800;
}

.floating-action:hover span,
.floating-action:focus span {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

@keyframes floatingPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

.empty-result {
	display: none;
	padding: 30px;
	border-radius: 16px;
	background: var(--surface);
	text-align: center;
	color: var(--muted);
}

.empty-result.is-visible {
	display: block;
}

@media (max-width: 1060px) {
	.header__inner {
		grid-template-columns: 190px 1fr auto;
	}

	.header-phone {
		display: none;
	}

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

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

@media (max-width: 820px) {
	.topbar__inner {
		justify-content: center;
		text-align: center;
	}

	.topbar__items {
		justify-content: center;
		gap: 10px 18px;
	}

	.topbar__item:last-child {
		display: none;
	}

	.header__inner {
		grid-template-columns: 1fr auto;
		min-height: 76px;
	}

	.brand-logo img {
		width: 175px;
		max-height: 68px;
	}

	.menu-toggle {
		display: grid;
		place-items: center;
	}

	.main-nav {
		position: fixed;
		left: 0;
		right: 0;
		top: 118px;
		max-height: calc(100vh - 118px);
		padding: 18px 16px 30px;
		background: #fff;
		box-shadow: var(--shadow);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: 0.22s ease;
	}

	.main-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.main-nav > ul {
		display: grid;
		align-items: stretch;
		justify-content: stretch;
		gap: 3px;
	}

	.main-nav .has-submenu {
		width: 100%;
	}

	.main-nav a,
	.nav-submenu-button {
		width: 100%;
		justify-content: space-between;
		padding: 13px 12px;
	}

	.main-nav .nav-submenu-button {
		border-radius: 12px;
		background: var(--surface);
		color: var(--ink);
		-webkit-text-fill-color: var(--ink);
	}

	.main-nav .nav-submenu-button[aria-expanded="true"] {
		background: var(--brand);
		color: #fff;
		-webkit-text-fill-color: #fff;
	}

	.main-nav .nav-submenu-button[aria-expanded="true"] .nav-caret {
		transform: translateY(2px) rotate(225deg);
	}

	.submenu {
		position: static;
		width: auto;
		max-height: 0;
		padding: 0 8px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		overflow: hidden;
		background: var(--surface);
		color: var(--ink);
	}

	.main-nav .submenu li {
		display: block;
		width: 100%;
	}

	.main-nav .submenu a,
	.main-nav .submenu a:visited {
		display: flex;
		width: 100%;
		min-height: 44px;
		align-items: center;
		margin: 0;
		border: 1px solid var(--line);
		border-radius: 10px;
		background: #fff;
		color: var(--ink);
		-webkit-text-fill-color: var(--ink);
		font-weight: 750;
		opacity: 1;
		visibility: visible;
	}

	.main-nav .submenu a:hover,
	.main-nav .submenu a:focus-visible {
		background: var(--accent);
		color: #fff;
		-webkit-text-fill-color: #fff;
	}

	.has-submenu.is-open .submenu {
		display: grid;
		gap: 4px;
		max-height: 600px;
		padding-block: 8px;
		opacity: 1;
		visibility: visible;
	}

	.hero {
		min-height: 680px;
	}

	.hero__overlay {
		background: linear-gradient(90deg, rgba(21, 17, 54, 0.96), rgba(44, 37, 89, 0.78));
	}

	.hero__content {
		padding-block: 72px 110px;
	}

	.trust-strip__inner {
		grid-template-columns: 1fr;
	}

	.trust-item {
		min-height: auto;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.trust-item:last-child {
		border-bottom: 0;
	}

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

	.split--reverse .split__media {
		order: initial;
	}

	.sidebar {
		position: static;
	}

	.cta-panel {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.cta-panel .button-row {
		justify-content: center;
	}

	.footer-main {
		grid-template-columns: 1fr 1fr;
	}

	.footer-about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 580px) {
	:root {
		--radius: 18px;
	}

	.topbar {
		font-size: 0.78rem;
	}

	.topbar__inner {
		min-height: 38px;
	}

	.topbar__item:nth-child(2) {
		display: none;
	}

	.main-nav {
		top: 114px;
		max-height: calc(100vh - 114px);
	}

	.hero h1 {
		max-width: 100%;
		font-size: clamp(2.35rem, 12vw, 3.55rem);
		letter-spacing: -0.045em;
	}

	.hero__lead {
		font-size: 1rem;
	}

	.button-row,
	.button-row .btn {
		width: 100%;
	}

	.section {
		padding-block: 68px;
	}

	.service-grid,
	.blog-grid,
	.steps,
	.form-grid,
	.footer-main {
		grid-template-columns: 1fr;
	}

	.footer-about {
		grid-column: auto;
	}

	.split__badge {
		right: 10px;
	}

	.page-hero {
		padding: 78px 0 62px;
	}

	.blog-tools,
	.footer-bottom__inner {
		align-items: stretch;
		flex-direction: column;
	}

	.footer-bottom__inner {
		justify-content: center;
		padding-block: 16px;
		text-align: center;
	}

	.floating-actions {
		right: 12px;
		bottom: 12px;
	}

	.floating-action {
		width: 54px;
		height: 54px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}
