@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=PT+Sans:wght@400;700&family=Roboto:wght@500;700&display=swap');

:root {
	--color-accent: #B5A1CD;
	--color-text: #333333;
	--color-muted: #747474;
	--color-bg-gray: #f7f7f7;
	--color-border: #e9eaee;
	--max-width: 1400px;
	--header-height: 72px;
}

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

html {
	scroll-behavior: smooth;
}

body.mpantcon-theme {
	display: block;
	margin: 0;
	padding: 0;
	font-family: 'PT Sans', 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background: #fff;
}

body.mpantcon-theme main.page-main {
	display: block;
	padding: 0;
	width: 100%;
	max-width: none;
}

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

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: #9a84b8;
}

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

.container--full {
	max-width: 100%;
	padding: 0;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #5a3378;
	border-bottom: none;
	transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-stuck {
	background: #1a1a1a;
	box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	gap: 1rem;
}

.site-logo img {
	width: 118px;
	height: auto;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	color: #fff;
	font-size: 17px;
	font-weight: 400;
	padding: 0.35rem 0;
	border-top: 3px solid transparent;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
	color: var(--color-accent);
	border-top-color: var(--color-accent);
}

.site-nav__logo {
	display: none;
}

.site-nav__contact {
	display: none;
}

.nav-overlay {
	display: none;
}

.menu-toggle {
	display: none;
	position: relative;
	z-index: 120;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	color: #fff;
	padding: 0;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle__bars {
	margin: 0 auto;
	position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: '';
	position: absolute;
	left: 0;
}

.menu-toggle__bars::before {
	top: -7px;
}

.menu-toggle__bars::after {
	top: 7px;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars {
	background: transparent;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars::before {
	top: 0;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars::after {
	top: 0;
	transform: rotate(-45deg);
}

@media (max-width: 1024px) {
	:root {
		--header-height: 64px;
	}

	.site-header__inner {
		min-height: var(--header-height);
	}

	.site-logo img {
		width: 112px;
	}

	.menu-toggle {
		display: block;
		width: 40px;
		height: 40px;
	}

	body.nav-drawer-open {
		overflow: hidden;
	}

	.nav-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 110;
		background: rgba(10, 8, 14, 0.55);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
	}

	.nav-overlay.is-visible {
		opacity: 1;
		pointer-events: auto;
	}

	.site-nav {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 115;
		width: min(320px, 88vw);
		height: 100%;
		display: flex;
		flex-direction: column;
		background: #5a3378;
		padding: calc(var(--header-height) + 1.5rem) 1.75rem 2rem;
		box-shadow: -12px 0 40px rgba(0, 0, 0, 0.28);
		transform: translateX(105%);
		transition: transform 0.3s ease;
		overflow-y: auto;
	}

	.site-nav.is-open {
		transform: translateX(0);
	}

	.site-nav__logo {
		display: inline-block;
		margin-bottom: 1.75rem;
		flex-shrink: 0;
	}

	.site-nav__logo img {
		width: 120px;
		height: auto;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		flex: 1;
	}

	.site-nav__list a {
		display: block;
		padding: 0.9rem 0;
		border-top: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		font-size: 1.15rem;
		color: #fff;
	}

	.site-nav__list a.is-active,
	.site-nav__list a:hover {
		border-top-color: transparent;
		color: var(--color-accent);
	}

	.site-nav__contact {
		display: block;
		margin-top: 2rem;
		padding-top: 1.5rem;
		border-top: 1px solid rgba(255, 255, 255, 0.16);
	}

	.site-nav__contact-label {
		margin: 0 0 0.85rem;
		font-family: 'Roboto', sans-serif;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--color-accent);
	}

	.site-nav__contact-link {
		display: block;
		margin-bottom: 0.65rem;
		color: #fff;
		font-size: 1.05rem;
		font-weight: 500;
	}

	.site-nav__contact-link:last-child {
		margin-bottom: 0;
	}

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

/* Hero slider */
.hero {
	height: 350px;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.hero .swiper,
.hero .swiper-slide {
	height: 100%;
}

@media (min-width: 901px) {
	.hero {
		height: min(58vh, 580px);
	}

	.hero-slide__text {
		top: 40%;
	}

	.hero + .section-gray--services {
		position: relative;
		z-index: 2;
		padding-top: 0;
	}

	.hero + .section-gray--services .service-card {
		/* Pull whole card (incl. border) onto hero */
		margin-top: -42%;
	}

	.hero + .section-gray--services .service-card__image {
		aspect-ratio: 5 / 3;
	}

	.hero + .section-gray--services .service-card__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.hero-slide {
	position: relative;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
}

.hero-slide__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgb(90 51 120 / 78%) 0%, rgb(90 51 120 / 52%) 50%, rgb(90 51 120 / 42%) 100%),
		linear-gradient(0deg, rgb(26 26 26 / 40%) 0%, transparent 55%);
}

.hero-slide__text {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
	width: min(90%, 720px);
	text-shadow: 0 1px 4px rgb(26 26 26 / 25%);
	pointer-events: none;
}

.hero-slide__text h2 {
	margin: 0 0 0.25rem;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(1.25rem, 3vw, 2.5rem);
	font-weight: 500;
	line-height: 1.2;
}

.hero-slide__text p {
	margin: 0 0 1.35rem;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(2rem, 6vw, 5rem);
	font-weight: 700;
	line-height: 1.05;
}

.hero-slide__text .btn--hero {
	pointer-events: auto;
	text-shadow: none;
}

.hero .swiper-pagination {
	top: 1.15rem;
	right: 1.35rem;
	left: auto;
	bottom: auto;
	width: auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 0.4rem;
	z-index: 4;
}

.hero .swiper-pagination-bullet {
	width: 22px;
	height: 3px;
	margin: 0 !important;
	border-radius: 0;
	background: rgb(255 255 255 / 45%);
	opacity: 1;
	transition: width 0.25s ease, background 0.25s ease;
}

.hero .swiper-pagination-bullet-active {
	width: 36px;
	background: var(--color-accent);
	opacity: 1;
}

@media (min-width: 901px) {
	.hero .swiper-pagination {
		top: 1.5rem;
		right: max(1.5rem, calc((100vw - var(--max-width)) / 2 + 1.5rem));
	}
}

/* Sections */
.section-gray {
	background: var(--color-bg-gray);
	padding: 3.5rem 30px 5rem;
}

.hero + .section-gray--services {
	padding-top: 4.5rem;
}

.section-white {
	padding: 20px 0 5rem;
}

.page-main > *:last-child {
	padding-bottom: 5rem;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.75rem;
	align-items: stretch;
}

.grid-3 > .service-card {
	width: auto;
	max-width: none;
	float: none;
	margin: 0;
	padding: 1.75rem;
	border: 2px solid transparent;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px #fff;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.grid-3 > .service-card:hover {
	border-color: var(--color-accent);
	box-shadow: none;
}

@media (max-width: 900px) {
	.grid-3 {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.hero + .section-gray--services {
		padding-left: 0;
		padding-right: 0;
	}

	.hero + .section-gray--services .container {
		max-width: none;
		padding-left: 16px;
		padding-right: 16px;
	}

	.hero + .section-gray--services .service-card__image {
		border-radius: 12px;
	}

	.grid-3 > .service-card {
		padding: 1.25rem;
	}
}

.service-card h1,
.service-card h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.75rem;
}

.service-card__text {
	color: var(--color-text);
}

.service-card__cta {
	margin: 1.15rem 0 0;
}

.service-card__link {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: #5a3378;
}

.service-card__link:hover {
	color: var(--color-accent);
}

.service-card__image {
	display: block;
	margin: 0 0 1.15rem;
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.25s ease;
}

.service-card__image:hover {
	transform: scale(1.02);
}

.service-card__eyebrow {
	margin: 0 0 0.55rem;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.service-card__eyebrow span {
	margin-right: 0.4rem;
	color: var(--color-muted);
}

/* Page title bar */
.page-title-bar {
	background: var(--color-bg-gray);
	border-bottom: 1px solid var(--color-border);
	padding: 2rem 0 1.5rem;
}

.page-title-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}

.page-title-bar h1 {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-text);
}

.breadcrumbs {
	font-size: 14px;
	color: var(--color-muted);
}

.breadcrumbs a {
	color: var(--color-muted);
}

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

/* Service hero */
.service-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: min(68vh, 560px);
	color: #fff;
	overflow: hidden;
	background: #5a3378;
}

.service-hero__media,
.service-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.service-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
	animation: service-hero-ken 18s ease-out forwards;
}

@keyframes service-hero-ken {
	to {
		transform: scale(1);
	}
}

.service-hero__overlay {
	z-index: 1;
	background:
		linear-gradient(90deg, rgb(90 51 120 / 88%) 0%, rgb(90 51 120 / 55%) 55%, rgb(90 51 120 / 35%) 100%),
		linear-gradient(0deg, rgb(26 26 26 / 45%) 0%, transparent 55%);
}

.service-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}

.service-hero__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 1.25rem;
	font-size: 13px;
	color: rgb(255 255 255 / 70%);
}

.service-hero__crumbs a {
	color: rgb(255 255 255 / 70%);
}

.service-hero__crumbs a:hover {
	color: var(--color-accent);
}

.service-hero__copy {
	max-width: 38rem;
}

.service-hero__title {
	margin: 0 0 0.85rem;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	line-height: 1.15;
	color: #fff;
}

.service-hero__lead {
	margin: 0 0 1.5rem;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 1.55;
	color: rgb(255 255 255 / 88%);
}

.service-hero__cta {
	margin: 0;
}

@media (max-width: 700px) {
	.service-hero {
		min-height: min(62vh, 480px);
	}

	.service-hero__inner {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}
}

/* Service pages */
.service-page {
	background: var(--color-bg-gray);
	padding: 3rem 0 4.5rem;
}

.service-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 2.75rem 3.5rem;
	align-items: start;
}

@media (max-width: 900px) {
	.service-page__layout {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}
}

.service-page__text {
	margin: 0 0 1rem;
	font-size: 17px;
	line-height: 1.65;
	color: var(--color-muted);
}

.service-page__points {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	counter-reset: none;
}

.service-page__points li {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	padding: 0.85rem 0;
	border-top: 1px solid var(--color-border);
	font-size: 16px;
	line-height: 1.45;
	color: var(--color-text);
}

.service-page__points li:last-child {
	border-bottom: 1px solid var(--color-border);
}

.service-page__point-num {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #5a3378;
	padding-top: 0.1rem;
}

.service-page__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin: 2rem 0 0;
}

.service-page__partner-link {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: #5a3378;
}

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

.service-page__brands .brand-grid:has(> :only-child) {
	grid-template-columns: minmax(0, 220px);
}

.service-page__brands .brand-grid:has(> :nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-page__brands .brand-card--logo img {
	aspect-ratio: auto;
	object-fit: contain;
	padding: 1.25rem;
	background: #fff;
}

.service-page__eyebrow {
	margin: 0 0 1rem;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5a3378;
}

.service-page__brands .brand-grid {
	margin-top: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 500px) {
	.service-page__brands .brand-grid {
		grid-template-columns: 1fr;
	}
}

/* Reveal motion */
[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.service-hero__img {
		animation: none;
		transform: none;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Brand grid */
.brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.brand-card {
	display: block;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.brand-card:hover {
	border-color: var(--color-accent);
	transform: translateY(-2px);
}

.brand-card img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* Converters layout */
.converters-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4%;
	align-items: start;
	margin-top: 1rem;
}

@media (max-width: 768px) {
	.converters-layout {
		grid-template-columns: 1fr;
	}
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--color-accent);
	color: #fff !important;
	border: none;
	border-radius: 50px;
	padding: 14px 28px;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
}

.btn:hover {
	background: #9a84b8;
	color: #fff !important;
}

.btn--hero {
	background: #fff;
	color: #5a3378 !important;
}

.btn--hero:hover {
	background: var(--color-accent);
	color: #fff !important;
}

/* Home bands */
.home-band {
	padding: 4rem 0 4.5rem;
}

.home-band--white {
	background: #fff;
}

.home-band--gray {
	background: var(--color-bg-gray);
}

.home-band__eyebrow {
	margin: 0 0 0.55rem;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5a3378;
}

.home-band__title {
	margin: 0 0 0.75rem;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-text);
}

.home-band__lead {
	margin: 0;
	max-width: 38rem;
	font-size: 16px;
	line-height: 1.65;
	color: var(--color-muted);
}

.home-band__header {
	margin-bottom: 2.25rem;
}

.home-band__header--center {
	text-align: center;
}

.home-band__header--center .home-band__lead {
	margin-left: auto;
	margin-right: auto;
}

.home-about__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 2.5rem 3.5rem;
	align-items: start;
}

@media (max-width: 900px) {
	.home-about__layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.home-about__lead {
	margin: 0 0 1.5rem;
	font-size: 17px;
	line-height: 1.65;
	color: var(--color-muted);
}

.home-about__cta {
	margin: 0;
}

.home-about__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.home-about__points li {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	padding: 0.95rem 0;
	border-top: 1px solid var(--color-border);
	font-size: 16px;
	line-height: 1.45;
	color: var(--color-text);
}

.home-about__points li:last-child {
	border-bottom: 1px solid var(--color-border);
}

.home-about__num {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #5a3378;
	padding-top: 0.1rem;
}

.home-apps {
	background: #1a1a1a;
	color: #fff;
	padding: 4.5rem 0 5rem;
}

.home-apps__eyebrow {
	color: var(--color-accent);
}

.home-apps__title {
	color: #fff;
}

.home-apps__lead {
	color: rgb(255 255 255 / 68%);
}

.home-apps__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: rgb(255 255 255 / 10%);
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: 14px;
	overflow: hidden;
}

@media (max-width: 900px) {
	.home-apps__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.home-apps__grid {
		grid-template-columns: 1fr;
	}
}

.home-apps__item {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-height: 13rem;
	padding: 1.75rem 1.5rem 1.6rem;
	background: #1a1a1a;
	overflow: hidden;
}

.home-apps__bg,
.home-apps__shade {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.home-apps__bg {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	transform: scale(1.08);
	transition: opacity 0.45s ease, transform 0.55s ease;
}

.home-apps__shade {
	z-index: 1;
	background:
		linear-gradient(180deg, rgb(26 26 26 / 35%) 0%, rgb(26 26 26 / 82%) 100%),
		linear-gradient(90deg, rgb(90 51 120 / 45%) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.45s ease;
}

.home-apps__item:hover .home-apps__bg,
.home-apps__item:focus-within .home-apps__bg {
	opacity: 1;
	transform: scale(1);
}

.home-apps__item:hover .home-apps__shade,
.home-apps__item:focus-within .home-apps__shade {
	opacity: 1;
}

.home-apps__index {
	position: absolute;
	right: 1rem;
	top: 0.85rem;
	z-index: 2;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1;
	color: rgb(255 255 255 / 6%);
	pointer-events: none;
	transition: color 0.3s ease;
}

.home-apps__item:hover .home-apps__index {
	color: rgb(255 255 255 / 14%);
}

.home-apps__label {
	position: relative;
	z-index: 2;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	font-weight: 500;
	color: #fff;
	padding-bottom: 0.65rem;
}

.home-apps__label::after {
	content: '';
	display: block;
	width: 2rem;
	height: 2px;
	margin-top: 0.65rem;
	background: var(--color-accent);
	transition: width 0.25s ease;
}

.home-apps__item:hover .home-apps__label::after {
	width: 3rem;
}

.home-apps__text {
	position: relative;
	z-index: 2;
	max-width: 22rem;
	font-size: clamp(15px, 1.4vw, 17px);
	line-height: 1.55;
	color: rgb(255 255 255 / 62%);
	transition: color 0.3s ease;
}

.home-apps__item:hover .home-apps__text {
	color: rgb(255 255 255 / 88%);
}

@media (hover: none) {
	.home-apps__bg,
	.home-apps__shade {
		opacity: 0.55;
		transform: none;
	}

	.home-apps__bg {
		opacity: 0.35;
	}
}

.home-partners .brand-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	margin-top: 0;
	gap: 1rem;
}

.home-partners .brand-card {
	flex: 0 1 150px;
	width: 150px;
	max-width: calc(50% - 0.5rem);
}

.home-partners .brand-card--logo img {
	aspect-ratio: auto;
	object-fit: contain;
	padding: 1.25rem;
	min-height: 120px;
}

/* Contact */
.contact-page {
	background: var(--color-bg-gray);
	padding: 2.75rem 0 4rem;
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
	gap: 2rem 2.5rem;
	align-items: start;
}

@media (max-width: 900px) {
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.contact-aside {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.contact-aside__block {
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--color-border);
}

.contact-aside__block:first-child {
	padding-top: 0;
}

.contact-aside__block:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.contact-aside__eyebrow {
	margin: 0 0 0.45rem;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5a3378;
}

.contact-aside__title {
	margin: 0 0 0.65rem;
	font-family: 'Roboto', sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--color-text);
}

.contact-aside__address {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--color-muted);
}

.contact-action {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0 0 0.85rem;
	padding: 0.85rem 1rem;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-action:last-child {
	margin-bottom: 0;
}

.contact-action:hover {
	border-color: var(--color-accent);
	color: inherit;
	transform: translateY(-1px);
}

.contact-action__label {
	font-size: 12px;
	color: var(--color-muted);
}

.contact-action__value {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #5a3378;
}

.contact-person {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	font-size: 15px;
	color: var(--color-muted);
}

.contact-person strong {
	font-family: 'Roboto', sans-serif;
	font-size: 17px;
	font-weight: 500;
	color: var(--color-text);
}

.contact-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.contact-meta li {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr);
	gap: 0.75rem;
	font-size: 13px;
	line-height: 1.45;
	color: var(--color-text);
	word-break: break-word;
}

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

.contact-panel {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	padding: 2rem 2rem 2.25rem;
}

@media (max-width: 600px) {
	.contact-panel {
		padding: 1.35rem 1.15rem 1.5rem;
	}
}

.contact-panel__header {
	margin-bottom: 1.5rem;
}

.contact-panel__title {
	margin: 0 0 0.4rem;
	font-family: 'Roboto', sans-serif;
	font-size: 1.45rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--color-text);
}

.contact-panel__lead {
	margin: 0 0 1rem;
	font-size: 15px;
	color: var(--color-muted);
}

.lang-flags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 13px;
	color: var(--color-muted);
}

.lang-flags__label {
	margin-right: 0.25rem;
}

.lang-flags img {
	display: inline-block;
	vertical-align: middle;
	border-radius: 2px;
}

.contact-form label {
	display: block;
	margin-bottom: 1rem;
	font-size: 14px;
	color: var(--color-muted);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	max-width: 100%;
	margin-top: 0.4rem;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--color-text);
	border-radius: 6px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgb(181 161 205 / 25%);
}

.contact-form textarea {
	min-height: 160px;
	resize: vertical;
}

/* Footer */
.site-footer {
	margin-top: 0;
	color: #e6e6e6;
	background: #1a1a1a;
	border-top: 3px solid var(--color-accent);
}

.footer-main {
	padding: 3.75rem 0 1.75rem;
}

.footer-main__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.1fr;
	gap: 3rem 2.5rem;
	align-items: start;
}

@media (max-width: 900px) {
	.footer-main__grid {
		grid-template-columns: 1fr 1fr;
	}

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

@media (max-width: 640px) {
	.footer-main__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

.footer-brand__logo {
	display: inline-block;
	margin-bottom: 1.25rem;
}

.footer-brand__logo img {
	width: 148px;
	height: auto;
}

.footer-brand__text {
	margin: 0;
	max-width: 36ch;
	color: rgba(230, 230, 230, 0.72);
	font-size: 15px;
	line-height: 1.7;
}

.footer-label {
	margin: 0 0 1rem;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.footer-nav a {
	color: rgba(230, 230, 230, 0.88);
	font-size: 15px;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav a:hover {
	color: var(--color-accent);
	padding-left: 0.35rem;
}

.footer-contact__address {
	margin: 0 0 1.25rem;
	color: rgba(230, 230, 230, 0.72);
	font-size: 15px;
	line-height: 1.65;
}

.footer-contact__link {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-bottom: 1rem;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.footer-contact__link:last-child {
	margin-bottom: 0;
}

.footer-contact__link span {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(230, 230, 230, 0.5);
}

.footer-contact__link strong {
	font-family: 'Roboto', sans-serif;
	font-size: 1.05rem;
	font-weight: 500;
	color: #fff;
	transition: color 0.2s ease;
}

.footer-contact__link:hover {
	transform: translateX(3px);
}

.footer-contact__link:hover strong {
	color: var(--color-accent);
}

.footer-copyright {
	border-top: none;
	background: transparent;
	padding: 0 0 2.5rem;
	font-size: 13px;
	color: rgba(230, 230, 230, 0.45);
}

.footer-copyright__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
}

.footer-copyright a {
	color: var(--color-accent);
}

.footer-copyright a:hover {
	color: #d4c4e3;
}

.footer-copyright__credit {
	display: inline-flex;
	align-items: center;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.footer-copyright__credit:hover {
	opacity: 1;
}

.footer-copyright__credit img {
	display: block;
	width: 80px;
	height: auto;
}

/* Cookie consent */
.cookie-bar {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 200;
	width: min(280px, calc(100vw - 2rem));
	padding: 0.9rem 1rem;
	background: #1a1a1a;
	border: 1px solid rgb(255 255 255 / 12%);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgb(0 0 0 / 28%);
}

.cookie-bar[hidden] {
	display: none;
}

.cookie-bar__text {
	margin: 0 0 0.75rem;
	font-size: 13px;
	line-height: 1.4;
	color: rgb(255 255 255 / 72%);
}

.cookie-bar__actions {
	display: flex;
	gap: 0.45rem;
}

.cookie-bar__btn {
	appearance: none;
	flex: 1;
	border: none;
	border-radius: 6px;
	padding: 0.45rem 0.65rem;
	background: var(--color-accent);
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
}

.cookie-bar__btn:hover {
	background: #9a84b8;
}

.cookie-bar__btn--ghost {
	background: transparent;
	border: 1px solid rgb(255 255 255 / 22%);
	color: #fff;
}

.cookie-bar__btn--ghost:hover {
	border-color: var(--color-accent);
	background: transparent;
	color: var(--color-accent);
}

.page-main {
	min-height: 40vh;
}

.intro-text {
	font-size: 17px;
	margin: 0 0 1rem;
}

/* Catalog (WooCommerce-ready) */
.catalog {
	padding: 2.5rem 0 5rem;
	background: #f7f7f7;
}

.catalog__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	margin-bottom: 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--color-border);
}

.catalog__title {
	margin: 0 0 0.75rem;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--color-text);
}

.catalog__lead {
	margin: 0;
	max-width: 46ch;
	color: var(--color-muted);
	font-size: 17px;
	line-height: 1.6;
}

.catalog__quote {
	flex-shrink: 0;
}

.catalog-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-bottom: 2.5rem;
}

.catalog-cats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	min-width: 88px;
	padding: 0.75rem 0.5rem;
	background: none;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	cursor: pointer;
	color: var(--color-text);
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.catalog-cats__item:hover,
.catalog-cats__item.is-active {
	border-color: var(--color-accent);
	background: rgba(181, 161, 205, 0.12);
	color: #5a3378;
}

.catalog-cats__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-bg-gray);
	border: 1px solid var(--color-border);
	position: relative;
}

.catalog-cats__icon::after {
	content: '';
	position: absolute;
	inset: 11px;
	border-radius: 2px;
	background: #5a3378;
	opacity: 0.55;
}

.catalog-cats__icon--antenna::after {
	border-radius: 50% 50% 2px 2px;
}

.catalog-cats__icon--coax::after {
	height: 4px;
	inset: auto 8px;
	top: 50%;
	margin-top: -2px;
	border-radius: 2px;
}

.catalog-cats__icon--power::after {
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.catalog-cats__label {
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	line-height: 1.25;
}

.catalog__layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
}

.catalog-filters {
	position: sticky;
	top: calc(var(--header-height) + 1rem);
	max-height: calc(100vh - var(--header-height) - 2rem);
	overflow-y: auto;
	align-self: start;
}

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

	.catalog-filters {
		position: static;
		max-height: none;
		overflow: visible;
	}
}

.catalog-filters__group {
	margin-bottom: 1.75rem;
}

.catalog-filters__heading {
	margin: 0 0 0.75rem;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #5a3378;
}

.catalog-filters__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.catalog-filters__option {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 16px;
	color: var(--color-text);
	cursor: pointer;
}

.catalog-filters__option input {
	accent-color: var(--color-accent);
}

.catalog-filters__reset {
	margin-top: 0.5rem;
	padding: 0;
	background: none;
	border: none;
	color: var(--color-accent);
	font: inherit;
	font-size: 15px;
	cursor: pointer;
	text-decoration: underline;
}

.catalog-count {
	margin: 0 0 1.25rem;
	font-size: 16px;
	color: var(--color-muted);
}

.catalog-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	width: 100%;
}

/* Reset WooCommerce ul.products / li.product float layout if those classes appear. */
.woocommerce .catalog-grid,
.woocommerce-page .catalog-grid,
ul.catalog-grid {
	display: grid !important;
	float: none !important;
	clear: both;
}

.woocommerce .catalog-grid::before,
.woocommerce .catalog-grid::after,
.woocommerce-page .catalog-grid::before,
.woocommerce-page .catalog-grid::after {
	display: none !important;
	content: none !important;
}

@media (max-width: 1100px) {
	.catalog-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.catalog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

.catalog-card {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	clear: none !important;
	position: relative;
}

.woocommerce .catalog-card,
.woocommerce-page .catalog-card,
ul.catalog-grid > li.catalog-card {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.catalog-card.is-hidden {
	display: none !important;
}

.catalog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	color: inherit;
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.catalog-card__link:hover {
	border-color: var(--color-accent);
	color: inherit;
	transform: translateY(-2px);
}

.catalog-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	background: #fff;
	padding: 0.75rem;
	overflow: hidden;
	box-sizing: border-box;
}

.catalog-card__media img,
.woocommerce .catalog-card__media img,
.woocommerce ul.products li.product img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: contain;
	object-position: center;
	border-radius: 4px;
}

.catalog-card__sku {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 0.85rem 0.25rem;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #5a3378;
}

.catalog-card__name {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0 0.85rem 1.1rem;
	font-size: 13px;
	line-height: 1.4;
	color: var(--color-muted);
}

.catalog-empty {
	margin: 2rem 0;
	color: var(--color-muted);
}

.catalog-results {
	position: relative;
	min-height: 12rem;
}

.catalog-main.is-loading .catalog-grid {
	opacity: 0.35;
	pointer-events: none;
}

.catalog-loading {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	background: rgb(247 247 247 / 55%);
	pointer-events: none;
}

.catalog-loading[hidden] {
	display: none;
}

.catalog-loading__spinner {
	width: 28px;
	height: 28px;
	border: 2px solid var(--color-border);
	border-top-color: #5a3378;
	border-radius: 50%;
	animation: catalog-spin 0.7s linear infinite;
}

.catalog-loading__label {
	font-size: 13px;
	color: var(--color-muted);
}

@keyframes catalog-spin {
	to {
		transform: rotate(360deg);
	}
}

.catalog-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2.5rem;
}

.catalog-pagination__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background: #fff;
	font-size: 14px;
	line-height: 1;
	color: var(--color-muted);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.catalog-pagination__item:hover:not(:disabled):not(.is-current) {
	border-color: #5a3378;
	color: #5a3378;
}

.catalog-pagination__item.is-current {
	background: #5a3378;
	border-color: #5a3378;
	color: #fff;
	cursor: default;
}

.catalog-pagination__item:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.catalog-pagination__nav {
	font-size: 18px;
}

/* WooCommerce product single */
.product-single {
	padding-top: 1.5rem;
}

.product-single__back {
	margin: 0 0 1.5rem;
	font-size: 14px;
}

.product-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.5rem 3rem;
	align-items: start;
}

@media (max-width: 800px) {
	.product-single__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.product-single__media {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 1.25rem;
}

.product-single__media img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.product-single__cat {
	margin: 0 0 0.65rem;
	font-size: 13px;
	color: var(--color-muted);
}

.product-single__cat a {
	color: #5a3378;
}

.product-single__title {
	margin: 0 0 0.75rem;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.15;
}

.product-single__lead {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	line-height: 1.45;
	color: var(--color-text);
}

.product-single__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.25rem;
	margin-bottom: 1.75rem;
}

.product-single__source-link {
	font-size: 14px;
}

.product-single__meta {
	list-style: none;
	margin: 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--color-border);
	display: grid;
	gap: 0.65rem;
}

.product-single__meta li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 14px;
}

.product-single__meta span {
	color: var(--color-muted);
}

.product-single__specs {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
}

.product-single__specs-title {
	margin: 0 0 1.25rem;
	font-family: 'Roboto', sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
}

.mpantcon-spec-sheet {
	margin: 0;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.mpantcon-spec-sheet img {
	display: block;
	width: 100%;
	height: auto;
}

/* Contact Form 7 */
.contact-form-wrap .wpcf7-form p {
	margin: 0 0 1rem;
}

.contact-form-wrap .wpcf7-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-muted);
}

.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.4rem;
}

.contact-form-wrap .wpcf7-form input[type='text'],
.contact-form-wrap .wpcf7-form input[type='email'],
.contact-form-wrap .wpcf7-form input[type='tel'],
.contact-form-wrap .wpcf7-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--color-text);
	border-radius: 6px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form-wrap .wpcf7-form input[type='text']:focus,
.contact-form-wrap .wpcf7-form input[type='email']:focus,
.contact-form-wrap .wpcf7-form input[type='tel']:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgb(181 161 205 / 25%);
}

.contact-form-wrap .wpcf7-form textarea {
	min-height: 170px;
	resize: vertical;
}

.contact-form-wrap .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.35rem;
	background: var(--color-accent);
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: 14px 28px;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
}

.contact-form-wrap .wpcf7-submit:hover {
	background: #9a84b8;
}

.contact-form-wrap .wpcf7-not-valid-tip {
	font-size: 12px;
	margin-top: 0.35rem;
}

.contact-form-wrap .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border-radius: 6px;
	font-size: 14px;
}
