/* KatalogosQR Mini Sites — front end */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
	--kqr-ink: #16181c;
	--kqr-ink-2: #4a4f57;
	--kqr-ink-3: #868c95;
	--kqr-line: #eceef1;
	--kqr-soft: #f5f6f8;
	--kqr-ease: cubic-bezier(.22, .8, .2, 1);
	--kqr-nav-h: 74px;
}

html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; }
/* iPhone: the page itself must never pan or bounce, only the pages inside it. */
body.kqr-body { position: fixed; inset: 0; width: 100%; }
body.kqr-body {
	font-family: var(--kqr-font);
	color: var(--kqr-ink);
	background: #e9ebef;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	overflow: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.kqr-i { width: 1em; height: 1em; flex: none; }

/* ---------- stage / phone frame ---------- */
.kqr-stage {
	position: relative;
	min-height: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	padding: 24px;
}
.kqr-backdrop {
	position: fixed;
	inset: -60px;
	background-size: cover;
	background-position: center;
	filter: blur(50px) saturate(1.2);
	opacity: .45;
	pointer-events: none;
}
.kqr {
	position: relative;
	width: min(100%, 420px);
	height: min(100%, 880px);
	background: #fff;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: 0 30px 80px -20px rgba(15, 20, 30, .35), 0 0 0 1px rgba(15, 20, 30, .05);
	isolation: isolate;
}
@media (max-width: 520px), (max-height: 640px) {
	.kqr-stage { padding: 0; }
	.kqr { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
	.kqr-backdrop { display: none; }
}

/* ---------- pages: horizontal slide (carousel) ---------- */
.kqr-pages {
	position: absolute;
	inset: 0;
	display: flex;
	transform: translate3d(0, 0, 0);
	transition-property: transform;
	transition-duration: 520ms;
	transition-timing-function: cubic-bezier(.22, .8, .2, 1);
	will-change: transform;
	touch-action: pan-y;
}
/* Pages whose content fits the screen don't scroll at all (Safari otherwise grabs the swipe). */
.kqr-scroll.is-fit { overflow: visible; touch-action: none; }
.kqr-pg-quote { touch-action: none; }
.kqr-pages.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.kqr-pages img { -webkit-user-drag: none; user-select: none; }
.kqr-pg {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	background: #fff;
	overflow: hidden;
}

.kqr-scroll {
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	padding-bottom: calc(var(--kqr-nav-h) + 24px + env(safe-area-inset-bottom));
	scrollbar-width: thin;
	scrollbar-color: #d5d8dd transparent;
	touch-action: pan-y;
}
.kqr-inner { padding: 0 24px; }

/* reveal on page enter */
.kqr-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .7s var(--kqr-ease), transform .7s var(--kqr-ease);
	transition-delay: calc(var(--i, 0) * 60ms + 60ms);
}
.kqr-pg.is-shown .kqr-reveal { opacity: 1; transform: none; }

/* ---------- 1. card ---------- */
.kqr-cover {
	position: relative;
	height: 180px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--kqr-accent), color-mix(in srgb, var(--kqr-accent) 55%, #fff));
}
.kqr-cover.is-empty { height: 130px; }
.kqr-cover img,
.kqr-cover video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.kqr-cover img { opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04); }
.kqr-cover img.is-on { opacity: 1; animation: kqr-kb 10s ease-in-out infinite alternate; }
.kqr-cover video { z-index: 1; opacity: 0; transition: opacity .6s ease; }
.kqr-cover.video-on video { opacity: 1; }
.kqr-cover::after { z-index: 1;
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 60px;
	background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .12));
}
@keyframes kqr-kb { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }

.kqr-lang {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	padding: 7px 12px;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-decoration: none;
	color: #fff;
	background: rgba(10, 12, 15, .45);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.kqr-head {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 0 22px;
	margin-top: -58px;
}
.kqr-logo {
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: #fff;
	border: 5px solid #fff;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35);
	overflow: hidden;
	display: grid;
	place-items: center;
}
.kqr-logo {
	/* Safari: keeps the circle clipping while the pages slide (transformed parent). */
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	transform: translateZ(0);
}
.kqr-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.kqr-logo.is-contain img { object-fit: contain; padding: 9%; border-radius: 0; }
.kqr-logo.is-initials { background: var(--kqr-accent); color: #fff; font-size: 44px; font-weight: 800; }
.kqr-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
}
.kqr-more-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--kqr-accent);
	font-size: 22px;
	box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--kqr-accent) 70%, transparent);
	transition: transform .3s var(--kqr-ease);
}
.kqr-more:hover .kqr-more-btn,
.kqr-more:focus-visible .kqr-more-btn { transform: rotate(90deg) scale(1.05); }
.kqr-more-btn { position: relative; }
.kqr-more-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--kqr-accent);
	animation: kqr-ping 2.4s var(--kqr-ease) infinite;
}
@keyframes kqr-ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.kqr-more-txt { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kqr-ink-3); }

.kqr-ident { padding: 12px 24px 2px; }
.kqr-ident h1 { margin: 0; font-size: 27px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.kqr-title { margin: 6px 0 0; font-size: 15px; color: var(--kqr-ink-2); font-weight: 500; }
.kqr-company { margin: 6px 0 0; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--kqr-ink-3); font-weight: 600; }
.kqr-about { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--kqr-ink-2); }
.kqr-about p { margin: 0 0 8px; }

.kqr-rows { list-style: none; margin: 10px 0 0; padding: 0 14px; }
.kqr-rows li { display: flex; align-items: center; border-radius: 14px; }
.kqr-rows a {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 7px 10px;
	text-decoration: none;
	border-radius: 14px;
	transition: background .2s;
}
.kqr-rows a:hover { background: var(--kqr-soft); }
.kqr-row-ic {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	font-size: 18px;
	color: var(--kqr-accent);
	background: color-mix(in srgb, var(--kqr-accent) 9%, #fff);
	flex: none;
}
.kqr-row-tx { font-size: 14.5px; line-height: 1.35; color: var(--kqr-ink-2); overflow-wrap: anywhere; }
.kqr-copy {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	font-size: 16px;
	color: #a2a8b0;
	flex: none;
	transition: background .2s, color .2s;
}
.kqr-copy:hover { background: var(--kqr-soft); color: var(--kqr-ink); }
.kqr-copy.is-done { color: #1a9c55; }

.kqr-actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; padding: 16px 24px 4px; }
.kqr-actions .kqr-btn { padding: 0 12px; white-space: nowrap; font-size: 14px; }
.kqr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 50px;
	padding: 0 18px;
	border-radius: 99px;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .2s var(--kqr-ease), box-shadow .2s, background .2s;
}
.kqr-btn .kqr-i { font-size: 18px; }
.kqr-btn:active { transform: scale(.97); }
.kqr-btn-main {
	color: #fff;
	background: var(--kqr-accent);
	box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--kqr-accent) 80%, transparent);
}
.kqr-btn-ghost { background: #fff; color: var(--kqr-ink); box-shadow: 0 0 0 1px var(--kqr-line), 0 6px 18px -10px rgba(0, 0, 0, .25); }
.kqr-btn-block { display: flex; width: 100%; margin-top: 22px; }

.kqr-reach { padding: 22px 20px 0; text-align: center; }
.kqr-reach h2 { margin: 0 0 16px; font-size: 16px; font-weight: 800; }
.kqr-reach-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.kqr-round { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; width: 58px; }
.kqr-round span {
	--c: #111;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 22px;
	color: #fff;
	background: var(--c);
	box-shadow: 0 0 0 0 transparent, 0 8px 22px -4px var(--c);
	transition: transform .25s var(--kqr-ease), box-shadow .25s;
	animation: kqr-glow 3s ease-in-out infinite;
}
.kqr-round:hover span { transform: translateY(-3px); }
.kqr-round em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--kqr-ink-3); }
.kqr-round-call span { --c: #ff7a1a; }
.kqr-round-sms span { --c: #f5c400; }
.kqr-round-viber span { --c: #7360f2; }
.kqr-round-whatsapp span { --c: #25d366; }
.kqr-round-mail span { --c: #1e7bff; }
.kqr-round:nth-child(2) span { animation-delay: .4s; }
.kqr-round:nth-child(3) span { animation-delay: .8s; }
.kqr-round:nth-child(4) span { animation-delay: 1.2s; }
.kqr-round:nth-child(5) span { animation-delay: 1.6s; }
@keyframes kqr-glow { 0%, 100% { box-shadow: 0 8px 22px -6px var(--c); } 50% { box-shadow: 0 8px 30px 0 var(--c); } }

/* ---------- quote page ---------- */
.kqr-pg-quote { background: #111; color: #fff; }
.kqr-bg { position: absolute; inset: 0; overflow: hidden; }
.kqr-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.kqr-pg-quote.is-shown .kqr-bg img { animation: kqr-kb2 16s ease-out forwards; }
@keyframes kqr-kb2 { from { transform: scale(1.02); } to { transform: scale(1.18) translate(1.5%, -2%); } }
.kqr-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .7) 100%);
}
.kqr-quote {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 34px calc(var(--kqr-nav-h) + 30px);
}
.kqr-quote blockquote {
	margin: 0;
	font-size: clamp(21px, 6vw, 26px);
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: -.01em;
	text-wrap: balance;
	text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}
.kqr-quote-center .kqr-quote { text-align: center; align-items: center; }
.kqr-qm { font-size: 64px; line-height: .6; font-weight: 800; font-family: Georgia, serif; opacity: .9; height: 30px; }
.kqr-qm-end { margin-top: 18px; }
.kqr-quote-center blockquote { margin-top: 18px; }
.kqr-quote-left .kqr-quote { justify-content: flex-end; padding-bottom: calc(var(--kqr-nav-h) + 60px); }
.kqr-quote-left blockquote { border-left: 3px solid #fff; padding: 4px 0 4px 18px; }

/* ---------- content pages ---------- */
.kqr-crumb {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 22px 0 0 -4px;
	padding: 6px 10px 6px 4px;
	border-radius: 99px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--kqr-ink-3);
}
.kqr-crumb:hover { background: var(--kqr-soft); color: var(--kqr-ink); }
.kqr-crumb .kqr-i { font-size: 15px; }
.kqr-h { margin: 14px 0 18px; font-size: 25px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.kqr-h-sm { font-size: 19px; margin-top: 28px; }
.kqr-figure { margin: 0 0 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kqr-soft); }
.kqr-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease-out; }
.kqr-pg.is-shown .kqr-figure img { transform: scale(1.06); }
.kqr-text { font-size: 15px; line-height: 1.65; color: var(--kqr-ink-2); }
.kqr-text p { margin: 0 0 12px; }
.kqr-list { list-style: none; margin: 6px 0 0; padding: 0; }
.kqr-list li {
	position: relative;
	padding: 9px 0 9px 22px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--kqr-ink-2);
	border-bottom: 1px solid var(--kqr-line);
}
.kqr-list li:last-child { border-bottom: 0; }
.kqr-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 16px;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--kqr-accent);
}

.kqr-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kqr-gthumb { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--kqr-soft); }
.kqr-gthumb:first-child:nth-last-child(odd) { grid-column: span 2; aspect-ratio: 16 / 10; }
.kqr-gthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--kqr-ease); }
.kqr-gthumb:hover img { transform: scale(1.05); }

.kqr-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; margin-bottom: 18px; }
.kqr-video iframe, .kqr-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kqr-map { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--kqr-soft); }
.kqr-map iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
/* The map is a picture: the page keeps scrolling / sliding over it; a tap opens Google Maps. */
.kqr-map-tap { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-end; padding: 10px; text-decoration: none; }
.kqr-map-tap span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .94); color: var(--kqr-ink); font-size: 12.5px; font-weight: 700; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .3); }
.kqr-addr { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--kqr-ink-2); margin: 16px 0; line-height: 1.45; }
.kqr-addr .kqr-i { color: var(--kqr-accent); font-size: 19px; margin-top: 1px; }

.kqr-status {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 14px;
	border-radius: 99px;
	font-size: 13.5px;
	font-weight: 700;
	background: var(--kqr-soft);
	margin-bottom: 14px;
}
.kqr-status i { width: 9px; height: 9px; border-radius: 50%; background: #a2a8b0; }
.kqr-status.is-open { background: #e6f7ee; color: #12783f; }
.kqr-status.is-open i { background: #1fbf63; box-shadow: 0 0 0 4px rgba(31, 191, 99, .2); }
.kqr-status.is-closed { background: #fdecec; color: #b42323; }
.kqr-status.is-closed i { background: #e04343; }
.kqr-hours { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.kqr-hours th, .kqr-hours td { padding: 11px 0; font-size: 14.5px; border-bottom: 1px solid var(--kqr-line); text-align: left; }
.kqr-hours th { font-weight: 600; color: var(--kqr-ink-2); }
.kqr-hours td { text-align: right; color: var(--kqr-ink-2); }
.kqr-hours tr.is-today th, .kqr-hours tr.is-today td { color: var(--kqr-ink); font-weight: 800; }
.kqr-muted { color: var(--kqr-ink-3); }

/* ---------- last page ---------- */
.kqr-connect-top { background: var(--kqr-soft); padding-bottom: 24px; }
.kqr-social { display: flex; flex-wrap: wrap; gap: 12px; }
.kqr-soc {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 22px;
	transition: transform .25s var(--kqr-ease);
}
.kqr-soc:hover { transform: translateY(-3px); }
.kqr-soc-facebook { background: #1877f2; }
.kqr-soc-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.kqr-soc-tiktok { background: #111; }
.kqr-soc-youtube { background: #ff0000; }
.kqr-soc-linkedin { background: #0a66c2; }
.kqr-soc-x { background: #000; }
.kqr-soc-tripadvisor { background: #34e0a1; color: #000; }
.kqr-soc-gmaps { background: #fff; color: #4285f4; box-shadow: 0 0 0 1px var(--kqr-line); }
.kqr-delivery { display: flex; flex-wrap: wrap; gap: 10px; }
.kqr-dl {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 99px;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	color: #fff;
}
.kqr-dl .kqr-i { font-size: 17px; }
.kqr-dl-efood { background: #ed1c24; }
.kqr-dl-wolt { background: #00c2e8; }
.kqr-dl-box { background: #ffd600; color: #111; }

.kqr-form-wrap { padding-top: 4px; }
.kqr-form-wrap .kqr-h { font-size: 21px; margin-top: 26px; }
.kqr-form { display: grid; gap: 12px; }
.kqr-form label > span:first-child { display: block; font-size: 12px; font-weight: 700; color: var(--kqr-ink-3); margin: 0 0 6px 4px; }
.kqr-form input, .kqr-form textarea, .kqr-form select {
	width: 100%;
	font: inherit;
	font-size: 16px;
	color: var(--kqr-ink);
	background: #fff;
	border: 1.5px solid #e2e5e9;
	border-radius: 14px;
	padding: 12px 14px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
	appearance: none;
}
.kqr-form textarea { resize: vertical; min-height: 84px; }
.kqr-form input:focus, .kqr-form textarea:focus, .kqr-form select:focus {
	border-color: var(--kqr-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--kqr-accent) 14%, transparent);
}
.kqr-phone-in { display: flex; gap: 8px; }
.kqr-phone-in select { width: 112px; flex: none; padding-right: 8px; font-size: 15px; }
.kqr-hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }
.kqr-form-msg { margin: 0; min-height: 0; font-size: 14px; font-weight: 600; }
.kqr-form-msg.is-ok { color: #12783f; }
.kqr-form-msg.is-err { color: #b42323; }
.kqr-form .kqr-btn-block { margin-top: 4px; }
.kqr-form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }

/* ---------- nav ---------- */
.kqr-nav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	height: calc(var(--kqr-nav-h) + env(safe-area-inset-bottom));
	padding: 14px 16px calc(12px + env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--kqr-ink);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .92) 45%);
	transition: color .4s, background .4s;
	pointer-events: none;
}
.kqr-nav > * { pointer-events: auto; }
.kqr-nav[data-tone="dark"] { color: #fff; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .25) 60%); }
.kqr-nav-b { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; }
.kqr-nav-b:hover { background: rgba(127, 127, 127, .14); }
.kqr-nav-spacer { pointer-events: none; }
.kqr-nav-mid { display: flex; align-items: center; gap: 6px; }
.kqr-nav-arrow {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 17px;
	background: var(--kqr-ink);
	color: #fff;
	transition: opacity .3s, transform .2s;
}
.kqr-nav[data-tone="dark"] .kqr-nav-arrow { background: #fff; color: #111; }
.kqr-nav-arrow:active { transform: scale(.9); }
.kqr-nav-arrow[disabled] { opacity: 0; pointer-events: none; }
.kqr-dots { display: flex; align-items: center; gap: 6px; padding: 0 6px; }
.kqr-dots button {
	width: 7px;
	height: 7px;
	border-radius: 99px;
	background: currentColor;
	opacity: .25;
	transition: width .35s var(--kqr-ease), opacity .35s;
}
.kqr-dots button.is-on { width: 20px; opacity: 1; }

.kqr-eq { display: flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.kqr-eq i { display: block; width: 3px; height: 40%; background: currentColor; border-radius: 2px; }
.kqr-eq i:nth-child(2) { height: 85%; }
.kqr-eq i:nth-child(3) { height: 60%; }
.kqr-eq i:nth-child(4) { height: 100%; }
.kqr-music.is-on .kqr-eq i { animation: kqr-eq .9s ease-in-out infinite alternate; }
.kqr-music.is-on .kqr-eq i:nth-child(2) { animation-delay: -.3s; }
.kqr-music.is-on .kqr-eq i:nth-child(3) { animation-delay: -.6s; }
.kqr-music.is-on .kqr-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes kqr-eq { from { height: 20%; } to { height: 100%; } }

/* ---------- share sheet ---------- */
.kqr-sheet { position: absolute; inset: 0; z-index: 40; }
.kqr-sheet[hidden], .kqr-lb[hidden] { display: none; }
.kqr-sheet-bg { position: absolute; inset: 0; background: rgba(10, 12, 15, .5); animation: kqr-fade .3s ease; }
.kqr-sheet-box {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: 92%;
	overflow-y: auto;
	background: #fff;
	border-radius: 26px 26px 0 0;
	padding: 26px 22px calc(22px + env(safe-area-inset-bottom));
	text-align: center;
	animation: kqr-up .45s var(--kqr-ease);
}
.kqr-sheet.is-closing .kqr-sheet-box { animation: kqr-down .3s ease forwards; }
.kqr-sheet.is-closing .kqr-sheet-bg { animation: kqr-fade .3s ease reverse forwards; }
@keyframes kqr-up { from { transform: translateY(100%); } }
@keyframes kqr-down { to { transform: translateY(100%); } }
@keyframes kqr-fade { from { opacity: 0; } }
.kqr-x {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 18px;
	background: var(--kqr-soft);
}
.kqr-qr { width: 184px; height: 184px; margin: 4px auto 0; padding: 10px; border-radius: 18px; box-shadow: 0 0 0 1px var(--kqr-line); }
.kqr-qr svg, .kqr-qr img { width: 100%; height: 100%; }
.kqr-qr-cap { margin: 10px 0 18px; font-size: 13px; color: var(--kqr-ink-3); font-weight: 600; }
.kqr-share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 6px; }
.kqr-share-grid a { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--kqr-ink-2); text-decoration: none; cursor: pointer; }
.kqr-sh { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 23px; color: #fff; }
.kqr-sh-wa { background: #25d366; }
.kqr-sh-vb { background: #7360f2; }
.kqr-sh-ms { background: linear-gradient(45deg, #0a7cff, #a033ff, #ff5280); }
.kqr-sh-fb { background: #1877f2; }
.kqr-sh-sms { background: #f5c400; }
.kqr-sh-em { background: #1e7bff; }
.kqr-sheet-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
.kqr-sheet-actions.has-native { grid-template-columns: 1fr 1fr; }

/* ---------- lightbox ---------- */
.kqr-lb { position: absolute; inset: 0; z-index: 45; background: rgba(5, 6, 8, .94); display: flex; align-items: center; justify-content: center; animation: kqr-fade .25s ease; }
.kqr-lb img { max-width: 100%; max-height: 82%; object-fit: contain; }
.kqr-lb .kqr-x { background: rgba(255, 255, 255, .12); color: #fff; z-index: 2; }
.kqr-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; background: rgba(255, 255, 255, .12); z-index: 2; }
.kqr-lb-nav[data-lb="-1"] { left: 10px; }
.kqr-lb-nav[data-lb="1"] { right: 10px; }

/* ---------- toast ---------- */
.kqr-toast {
	position: absolute;
	left: 50%;
	bottom: calc(var(--kqr-nav-h) + 14px);
	z-index: 50;
	transform: translate(-50%, 20px);
	max-width: calc(100% - 40px);
	padding: 12px 18px;
	border-radius: 16px;
	background: #16181c;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s, transform .3s var(--kqr-ease);
}
.kqr-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.kqr-toast a { color: #fff; text-decoration: underline; display: block; margin-top: 4px; }

/* focus */
.kqr :focus-visible { outline: 3px solid color-mix(in srgb, var(--kqr-accent) 60%, #fff); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.kqr-pages, .kqr-reveal { transition-duration: .01s !important; transition-delay: 0s !important; }
	.kqr-pg-quote.is-shown .kqr-bg img, .kqr-round span, .kqr-more-btn::before { animation: none !important; }
}

/* save-contact instructions (same texts as the digital cards) */
.kqr-save-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--kqr-ink-2); padding-top: 0; }
.kqr-save-note[hidden] { display: none; }
.kqr-save-note a { color: var(--kqr-accent); font-weight: 700; }
.kqr-admin-hint { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #fff4e5; color: #8a4b00; font-size: 13.5px; line-height: 1.45; }

/* map page: Apple Maps first, Google Maps second */
.kqr-dir-title { margin: 22px 0 10px; font-size: 13px; font-weight: 700; color: var(--kqr-ink-3); text-transform: uppercase; letter-spacing: .06em; }
.kqr-dir { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kqr-dir:has(> :only-child) { grid-template-columns: 1fr; }
.kqr-dir .kqr-btn { padding: 0 10px; white-space: nowrap; font-size: 14px; }
