/* IFace digital mirrors catalog styles */
:root {
	--bg: #ebebde;
	--bg-soft: #e4e1d5;
	--text: #4f4747;
	--muted: #777764;
	--line: rgba(79, 71, 71, 0.12);
	--accent: #777764;
	--accent-strong: #4f4747;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
	color: var(--text);
	background: radial-gradient(120% 120% at 10% 10%, rgba(255, 255, 255, 0.55), transparent 45%),
		radial-gradient(120% 110% at 90% 0%, rgba(226, 224, 213, 0.55), transparent 42%),
		linear-gradient(180deg, #f4f3ec 0%, #ebe9dd 60%, #e3e0d4 100%);
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}

.page-bg {
	position: fixed;
	inset: 0;
	background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.45), transparent 40%),
		radial-gradient(circle at 80% 5%, rgba(226, 222, 210, 0.55), transparent 40%);
	pointer-events: none;
	z-index: -1;
}

.hero {
	position: relative;
	overflow: hidden;
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.hero::before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	width: 100vw;
	height: 240px;
	background: none;
	filter: none;
	z-index: 1;
}

.hero > .container {
	position: relative;
	z-index: 2;
}

.hero-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.hero-video::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background: none;
}

.hero-video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: none;
	filter: none;
}

.hero-center {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 120px 16px;
}

.hero-logo {
	height: 110px;
	width: auto;
	filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.28));
}

.hero-copy {
	background: linear-gradient(180deg, rgba(235, 233, 221, 0.18), rgba(235, 233, 221, 0));
}

.hero-copy .section-head,
.hero-copy .hero-meta {
	margin-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
	.hero-video video {
		display: none;
	}

	.hero-video {
		background: linear-gradient(135deg, rgba(119, 119, 100, 0.18), rgba(255, 255, 255, 0.08));
	}
}

.logo {
	height: 90px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 8px 14px rgba(79, 71, 71, 0.28));
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	background: rgba(199, 163, 108, 0.14);
	border: 1px solid rgba(199, 163, 108, 0.45);
	color: var(--text);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero-title {
	font-weight: 700;
	font-size: clamp(32px, 4.6vw, 52px);
	line-height: 1.1;
	margin-bottom: 10px;
}

.hero-sub {
	color: var(--muted);
	max-width: 820px;
	font-size: 18px;
}

.hero-meta .meta-item {
	color: var(--muted);
	font-size: 14px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent-strong), var(--accent));
	border: none;
	color: #f6f4ef;
	box-shadow: 0 10px 30px rgba(79, 71, 71, 0.28);
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn-outline-light {
	border-color: rgba(79, 71, 71, 0.28);
	color: var(--text);
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-outline-light:hover {
	background: rgba(79, 71, 71, 0.07);
	color: var(--text);
}

.btn-primary:hover {
	background: linear-gradient(135deg, #5a5252, #918c79);
	filter: none;
	transform: translateY(-1px);
	box-shadow: 0 12px 32px rgba(79, 71, 71, 0.34);
}

.btn-outline-light:hover {
	background: linear-gradient(135deg, rgba(79, 71, 71, 0.12), rgba(119, 119, 100, 0.12));
	transform: translateY(-1px);
	box-shadow: 0 10px 26px rgba(79, 71, 71, 0.16);
}

.section-head {
	margin-bottom: 18px;
}

.section-title {
	font-weight: 700;
	font-size: 28px;
}

.section-sub {
	color: var(--muted);
	max-width: 760px;
	margin: 0;
}

.section-sub.text-center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.product-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(79, 71, 71, 0.12);
}

.product-visual {
	position: relative;
	min-height: 220px;
	background: linear-gradient(135deg, rgba(119, 119, 100, 0.18), rgba(255, 255, 255, 0.08));
	border-bottom: 1px solid var(--line);
	background-size: cover;
	background-position: center;
	cursor: zoom-in;
}

.product-visual::after {
	content: 'Dodaj zdjecie do assets/*';
	position: absolute;
	bottom: 10px;
	right: 12px;
	font-size: 12px;
	color: var(--muted);
	letter-spacing: 0.04em;
}

.product-visual[data-bg]:not([data-bg=''])::after {
	content: '';
}

.product-lightbox-backdrop {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.76);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 200ms ease, visibility 200ms ease;
	z-index: 2000;
}

.product-lightbox-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.product-lightbox-figure {
	position: relative;
	max-width: min(92vw, 1200px);
	max-height: 86vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	transform: translateY(12px) scale(0.98);
	transition: transform 200ms ease;
}

.product-lightbox-backdrop.is-open .product-lightbox-figure {
	transform: translateY(0) scale(1);
}

.product-lightbox-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	background: #111;
}

.product-lightbox-close {
	position: absolute;
	top: 10px;
	right: 10px;
	border: none;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: transform 150ms ease, background 150ms ease;
}

.product-lightbox-close:hover {
	background: rgba(0, 0, 0, 0.7);
	transform: scale(1.05);
}

.product-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-title {
	font-size: 20px;
	margin: 0;
}

.product-text {
	color: var(--muted);
	margin: 0;
}

.product-tags {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.product-tags li {
	padding: 6px 10px;
	background: rgba(79, 71, 71, 0.06);
	border: 1px solid var(--line);
	border-radius: 10px;
	font-size: 12px;
}

.feature-card {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px;
	box-shadow: 0 12px 26px rgba(79, 71, 71, 0.12);
}

.install-section {
	background: linear-gradient(180deg, rgba(119, 119, 100, 0.1), rgba(235, 235, 222, 0.08));
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(79, 71, 71, 0.12);
}

.install-block {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
	color: var(--text);
	display: grid;
	gap: 12px;
}

.install-list {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px;
	display: grid;
	gap: 10px;
	box-shadow: 0 12px 28px rgba(79, 71, 71, 0.1);
}

.install-item {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 10px;
	padding: 10px 8px;
	border-radius: 12px;
	background: rgba(119, 119, 100, 0.06);
}

.install-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(79, 71, 71, 0.18), rgba(119, 119, 100, 0.22));
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 18px;
	box-shadow: 0 8px 18px rgba(79, 71, 71, 0.14);
}

.install-text {
	font-weight: 600;
	color: var(--text);
}

.feature-card h5 {
	margin: 0 0 6px 0;
	font-weight: 700;
}

.feature-card p {
	margin: 0;
	color: var(--muted);
}

.video-frame {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: 0 10px 26px rgba(79, 71, 71, 0.14);
}

.brands-strip {
	background: linear-gradient(180deg, rgba(119, 119, 100, 0.12), rgba(235, 235, 222, 0.1));
	border-block: 1px solid var(--line);
}

.brand-marquee {
	overflow: hidden;
	position: relative;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	min-height: 110px;
	--brand-gap: 28px;
	--track-width: 100%;
}

.brand-track {
	display: flex;
	align-items: center;
	gap: var(--brand-gap);
	padding: 18px 0;
	min-width: max-content;
	position: absolute;
	top: 0;
	left: 0;
	animation: brand-scroll 26s linear infinite;
}

.brand-track:nth-child(2) {
	left: calc(var(--track-width) + var(--brand-gap));
}

.brand-chip {
	padding: 10px 18px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(79, 71, 71, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	height: 72px;
	transform: translateY(0);
}

.brand-track .brand-chip:nth-child(odd) {
	transform: translateY(6px);
}

.brand-track .brand-chip:nth-child(even) {
	transform: translateY(-6px);
}

.brand-chip img {
	max-height: 44px;
	width: auto;
	display: block;
	object-fit: contain;
}

@keyframes brand-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(calc(-1 * (var(--track-width) + var(--brand-gap))));
	}
}

@media (prefers-reduced-motion: reduce) {
	.brand-track {
		animation: none;
	}
}

.contact-card {
	background: linear-gradient(135deg, rgba(119, 119, 100, 0.18), rgba(255, 255, 255, 0.7));
	border: 1px solid rgba(79, 71, 71, 0.3);
	border-radius: 18px;
	padding: 24px;
	box-shadow: 0 16px 38px rgba(79, 71, 71, 0.14);
}

.contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
	color: var(--text);
	text-align: center;
	margin-top: 10px;
}

.contact-list li {
	margin-bottom: 12px;
}

.contact-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 14px;
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: 0 6px 18px rgba(79, 71, 71, 0.12);
	color: inherit;
	text-decoration: none;
	font-weight: 600;
	font-size: 17px;
}

.contact-chip:hover {
	text-decoration: none;
	background: rgba(255, 255, 255, 0.7);
}

.contact-chip i {
	color: var(--accent-strong);
	font-size: 18px;
}

.contact-list a:hover {
	text-decoration: underline;
}

.footer-logo {
	height: 36px;
	width: auto;
	object-fit: contain;
}

footer {
	color: var(--muted);
	border-top: 1px solid var(--line);
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	align-items: center;
	gap: 12px 24px;
}

.info-cta {
	background: linear-gradient(180deg, rgba(119, 119, 100, 0.08), rgba(235, 235, 222, 0.08));
	border-block: 1px solid var(--line);
}

.info-modal .modal-content {
	background: #f8f7f0;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(79, 71, 71, 0.22);
}

.info-modal .modal-header {
	border: none;
	padding: 20px 24px 10px 24px;
}

.info-modal .modal-body {
	padding: 0 24px 18px 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.info-modal .modal-footer {
	border: none;
	padding: 12px 24px 18px 24px;
}

.info-block h5,
.info-grid h6 {
	margin: 0 0 6px 0;
	font-weight: 700;
}

.info-block p,
.info-grid p {
	margin: 0;
	color: var(--muted);
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px 16px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 14px;
}

.footer-nav a {
	letter-spacing: 0.08em;
}

.powered-by {
	font-size: 12px;
}

.powered-logo {
	height: 52px;
	width: auto;
	object-fit: contain;
}

@media (max-width: 768px) {
	.logo {
		height: 68px;
	}

	.footer-grid {
		text-align: center;
		justify-items: center;
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.footer-nav {
		justify-content: center;
		gap: 12px;
	}
}

@media (max-width: 576px) {
	.brand-marquee {
		--brand-gap: 16px;
		min-height: 64px;
	}

	.brand-track {
		padding: 10px 0;
	}

	.brand-chip {
		padding: 8px 12px;
		font-size: 12px;
	}

	.brand-track .brand-chip:nth-child(odd) {
		transform: translateY(6px);
	}

	.brand-track .brand-chip:nth-child(even) {
		transform: translateY(-6px);
	}

	.info-modal .modal-dialog {
		margin: 12px;
	}

	.info-grid {
		grid-template-columns: 1fr;
	}

	.product-visual::after {
		font-size: 11px;
	}
}
